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-sunffb 1.2.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-sunffb'
    752 PACKAGE_TARNAME='xf86-video-sunffb'
    753 PACKAGE_VERSION='1.2.1'
    754 PACKAGE_STRING='xf86-video-sunffb 1.2.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='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 DRIVER_NAME
    811 moduledir
    812 SPARC_FALSE
    813 SPARC_TRUE
    814 HAVE_XEXTPROTO_71_FALSE
    815 HAVE_XEXTPROTO_71_TRUE
    816 XEXT_LIBS
    817 XEXT_CFLAGS
    818 XORG_LIBS
    819 XORG_CFLAGS
    820 PKG_CONFIG
    821 am__fastdepCCAS_FALSE
    822 am__fastdepCCAS_TRUE
    823 CCASDEPMODE
    824 CCASFLAGS
    825 CCAS
    826 LIBTOOL
    827 ac_ct_F77
    828 FFLAGS
    829 F77
    830 CXXCPP
    831 am__fastdepCXX_FALSE
    832 am__fastdepCXX_TRUE
    833 CXXDEPMODE
    834 ac_ct_CXX
    835 CXXFLAGS
    836 CXX
    837 CPP
    838 NMEDIT
    839 DSYMUTIL
    840 RANLIB
    841 AR
    842 ECHO
    843 LN_S
    844 EGREP
    845 GREP
    846 SED
    847 am__fastdepCC_FALSE
    848 am__fastdepCC_TRUE
    849 CCDEPMODE
    850 AMDEPBACKSLASH
    851 AMDEP_FALSE
    852 AMDEP_TRUE
    853 am__quote
    854 am__include
    855 DEPDIR
    856 OBJEXT
    857 EXEEXT
    858 ac_ct_CC
    859 CPPFLAGS
    860 LDFLAGS
    861 CFLAGS
    862 CC
    863 host_os
    864 host_vendor
    865 host_cpu
    866 host
    867 build_os
    868 build_vendor
    869 build_cpu
    870 build
    871 MAINT
    872 MAINTAINER_MODE_FALSE
    873 MAINTAINER_MODE_TRUE
    874 am__untar
    875 am__tar
    876 AMTAR
    877 am__leading_dot
    878 SET_MAKE
    879 AWK
    880 mkdir_p
    881 MKDIR_P
    882 INSTALL_STRIP_PROGRAM
    883 STRIP
    884 install_sh
    885 MAKEINFO
    886 AUTOHEADER
    887 AUTOMAKE
    888 AUTOCONF
    889 ACLOCAL
    890 VERSION
    891 PACKAGE
    892 CYGPATH_W
    893 am__isrc
    894 INSTALL_DATA
    895 INSTALL_SCRIPT
    896 INSTALL_PROGRAM
    897 target_alias
    898 host_alias
    899 build_alias
    900 LIBS
    901 ECHO_T
    902 ECHO_N
    903 ECHO_C
    904 DEFS
    905 mandir
    906 localedir
    907 libdir
    908 psdir
    909 pdfdir
    910 dvidir
    911 htmldir
    912 infodir
    913 docdir
    914 oldincludedir
    915 includedir
    916 localstatedir
    917 sharedstatedir
    918 sysconfdir
    919 datadir
    920 datarootdir
    921 libexecdir
    922 sbindir
    923 bindir
    924 program_transform_name
    925 prefix
    926 exec_prefix
    927 PACKAGE_BUGREPORT
    928 PACKAGE_STRING
    929 PACKAGE_VERSION
    930 PACKAGE_TARNAME
    931 PACKAGE_NAME
    932 PATH_SEPARATOR
    933 SHELL'
    934 ac_subst_files=''
    935 ac_user_opts='
    936 enable_option_checking
    937 enable_maintainer_mode
    938 enable_static
    939 enable_shared
    940 enable_fast_install
    941 enable_dependency_tracking
    942 with_gnu_ld
    943 enable_libtool_lock
    944 with_pic
    945 with_tags
    946 with_xorg_module_dir
    947 with_release_version
    948 '
    949       ac_precious_vars='build_alias
    950 host_alias
    951 target_alias
    952 CC
    953 CFLAGS
    954 LDFLAGS
    955 LIBS
    956 CPPFLAGS
    957 CPP
    958 CXX
    959 CXXFLAGS
    960 CCC
    961 CXXCPP
    962 F77
    963 FFLAGS
    964 CCAS
    965 CCASFLAGS
    966 PKG_CONFIG
    967 XORG_CFLAGS
    968 XORG_LIBS
    969 XEXT_CFLAGS
    970 XEXT_LIBS'
    971 
    972 
    973 # Initialize some variables set by options.
    974 ac_init_help=
    975 ac_init_version=false
    976 ac_unrecognized_opts=
    977 ac_unrecognized_sep=
    978 # The variables have the same names as the options, with
    979 # dashes changed to underlines.
    980 cache_file=/dev/null
    981 exec_prefix=NONE
    982 no_create=
    983 no_recursion=
    984 prefix=NONE
    985 program_prefix=NONE
    986 program_suffix=NONE
    987 program_transform_name=s,x,x,
    988 silent=
    989 site=
    990 srcdir=
    991 verbose=
    992 x_includes=NONE
    993 x_libraries=NONE
    994 
    995 # Installation directory options.
    996 # These are left unexpanded so users can "make install exec_prefix=/foo"
    997 # and all the variables that are supposed to be based on exec_prefix
    998 # by default will actually change.
    999 # Use braces instead of parens because sh, perl, etc. also accept them.
   1000 # (The list follows the same order as the GNU Coding Standards.)
   1001 bindir='${exec_prefix}/bin'
   1002 sbindir='${exec_prefix}/sbin'
   1003 libexecdir='${exec_prefix}/libexec'
   1004 datarootdir='${prefix}/share'
   1005 datadir='${datarootdir}'
   1006 sysconfdir='${prefix}/etc'
   1007 sharedstatedir='${prefix}/com'
   1008 localstatedir='${prefix}/var'
   1009 includedir='${prefix}/include'
   1010 oldincludedir='/usr/include'
   1011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1012 infodir='${datarootdir}/info'
   1013 htmldir='${docdir}'
   1014 dvidir='${docdir}'
   1015 pdfdir='${docdir}'
   1016 psdir='${docdir}'
   1017 libdir='${exec_prefix}/lib'
   1018 localedir='${datarootdir}/locale'
   1019 mandir='${datarootdir}/man'
   1020 
   1021 ac_prev=
   1022 ac_dashdash=
   1023 for ac_option
   1024 do
   1025   # If the previous option needs an argument, assign it.
   1026   if test -n "$ac_prev"; then
   1027     eval $ac_prev=\$ac_option
   1028     ac_prev=
   1029     continue
   1030   fi
   1031 
   1032   case $ac_option in
   1033   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1034   *)	ac_optarg=yes ;;
   1035   esac
   1036 
   1037   # Accept the important Cygnus configure options, so we can diagnose typos.
   1038 
   1039   case $ac_dashdash$ac_option in
   1040   --)
   1041     ac_dashdash=yes ;;
   1042 
   1043   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1044     ac_prev=bindir ;;
   1045   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1046     bindir=$ac_optarg ;;
   1047 
   1048   -build | --build | --buil | --bui | --bu)
   1049     ac_prev=build_alias ;;
   1050   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1051     build_alias=$ac_optarg ;;
   1052 
   1053   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1054   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1055     ac_prev=cache_file ;;
   1056   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1057   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1058     cache_file=$ac_optarg ;;
   1059 
   1060   --config-cache | -C)
   1061     cache_file=config.cache ;;
   1062 
   1063   -datadir | --datadir | --datadi | --datad)
   1064     ac_prev=datadir ;;
   1065   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1066     datadir=$ac_optarg ;;
   1067 
   1068   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1069   | --dataroo | --dataro | --datar)
   1070     ac_prev=datarootdir ;;
   1071   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1072   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1073     datarootdir=$ac_optarg ;;
   1074 
   1075   -disable-* | --disable-*)
   1076     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1077     # Reject names that are not valid shell variable names.
   1078     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1079       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1080    { (exit 1); exit 1; }; }
   1081     ac_useropt_orig=$ac_useropt
   1082     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1083     case $ac_user_opts in
   1084       *"
   1085 "enable_$ac_useropt"
   1086 "*) ;;
   1087       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1088 	 ac_unrecognized_sep=', ';;
   1089     esac
   1090     eval enable_$ac_useropt=no ;;
   1091 
   1092   -docdir | --docdir | --docdi | --doc | --do)
   1093     ac_prev=docdir ;;
   1094   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1095     docdir=$ac_optarg ;;
   1096 
   1097   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1098     ac_prev=dvidir ;;
   1099   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1100     dvidir=$ac_optarg ;;
   1101 
   1102   -enable-* | --enable-*)
   1103     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1104     # Reject names that are not valid shell variable names.
   1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1106       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1107    { (exit 1); exit 1; }; }
   1108     ac_useropt_orig=$ac_useropt
   1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1110     case $ac_user_opts in
   1111       *"
   1112 "enable_$ac_useropt"
   1113 "*) ;;
   1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1115 	 ac_unrecognized_sep=', ';;
   1116     esac
   1117     eval enable_$ac_useropt=\$ac_optarg ;;
   1118 
   1119   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1120   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1121   | --exec | --exe | --ex)
   1122     ac_prev=exec_prefix ;;
   1123   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1124   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1125   | --exec=* | --exe=* | --ex=*)
   1126     exec_prefix=$ac_optarg ;;
   1127 
   1128   -gas | --gas | --ga | --g)
   1129     # Obsolete; use --with-gas.
   1130     with_gas=yes ;;
   1131 
   1132   -help | --help | --hel | --he | -h)
   1133     ac_init_help=long ;;
   1134   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1135     ac_init_help=recursive ;;
   1136   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1137     ac_init_help=short ;;
   1138 
   1139   -host | --host | --hos | --ho)
   1140     ac_prev=host_alias ;;
   1141   -host=* | --host=* | --hos=* | --ho=*)
   1142     host_alias=$ac_optarg ;;
   1143 
   1144   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1145     ac_prev=htmldir ;;
   1146   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1147   | --ht=*)
   1148     htmldir=$ac_optarg ;;
   1149 
   1150   -includedir | --includedir | --includedi | --included | --include \
   1151   | --includ | --inclu | --incl | --inc)
   1152     ac_prev=includedir ;;
   1153   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1154   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1155     includedir=$ac_optarg ;;
   1156 
   1157   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1158     ac_prev=infodir ;;
   1159   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1160     infodir=$ac_optarg ;;
   1161 
   1162   -libdir | --libdir | --libdi | --libd)
   1163     ac_prev=libdir ;;
   1164   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1165     libdir=$ac_optarg ;;
   1166 
   1167   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1168   | --libexe | --libex | --libe)
   1169     ac_prev=libexecdir ;;
   1170   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1171   | --libexe=* | --libex=* | --libe=*)
   1172     libexecdir=$ac_optarg ;;
   1173 
   1174   -localedir | --localedir | --localedi | --localed | --locale)
   1175     ac_prev=localedir ;;
   1176   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1177     localedir=$ac_optarg ;;
   1178 
   1179   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1180   | --localstate | --localstat | --localsta | --localst | --locals)
   1181     ac_prev=localstatedir ;;
   1182   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1183   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1184     localstatedir=$ac_optarg ;;
   1185 
   1186   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1187     ac_prev=mandir ;;
   1188   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1189     mandir=$ac_optarg ;;
   1190 
   1191   -nfp | --nfp | --nf)
   1192     # Obsolete; use --without-fp.
   1193     with_fp=no ;;
   1194 
   1195   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1196   | --no-cr | --no-c | -n)
   1197     no_create=yes ;;
   1198 
   1199   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1200   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1201     no_recursion=yes ;;
   1202 
   1203   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1204   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1205   | --oldin | --oldi | --old | --ol | --o)
   1206     ac_prev=oldincludedir ;;
   1207   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1208   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1209   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1210     oldincludedir=$ac_optarg ;;
   1211 
   1212   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1213     ac_prev=prefix ;;
   1214   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1215     prefix=$ac_optarg ;;
   1216 
   1217   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1218   | --program-pre | --program-pr | --program-p)
   1219     ac_prev=program_prefix ;;
   1220   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1221   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1222     program_prefix=$ac_optarg ;;
   1223 
   1224   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1225   | --program-suf | --program-su | --program-s)
   1226     ac_prev=program_suffix ;;
   1227   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1228   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1229     program_suffix=$ac_optarg ;;
   1230 
   1231   -program-transform-name | --program-transform-name \
   1232   | --program-transform-nam | --program-transform-na \
   1233   | --program-transform-n | --program-transform- \
   1234   | --program-transform | --program-transfor \
   1235   | --program-transfo | --program-transf \
   1236   | --program-trans | --program-tran \
   1237   | --progr-tra | --program-tr | --program-t)
   1238     ac_prev=program_transform_name ;;
   1239   -program-transform-name=* | --program-transform-name=* \
   1240   | --program-transform-nam=* | --program-transform-na=* \
   1241   | --program-transform-n=* | --program-transform-=* \
   1242   | --program-transform=* | --program-transfor=* \
   1243   | --program-transfo=* | --program-transf=* \
   1244   | --program-trans=* | --program-tran=* \
   1245   | --progr-tra=* | --program-tr=* | --program-t=*)
   1246     program_transform_name=$ac_optarg ;;
   1247 
   1248   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1249     ac_prev=pdfdir ;;
   1250   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1251     pdfdir=$ac_optarg ;;
   1252 
   1253   -psdir | --psdir | --psdi | --psd | --ps)
   1254     ac_prev=psdir ;;
   1255   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1256     psdir=$ac_optarg ;;
   1257 
   1258   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1259   | -silent | --silent | --silen | --sile | --sil)
   1260     silent=yes ;;
   1261 
   1262   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1263     ac_prev=sbindir ;;
   1264   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1265   | --sbi=* | --sb=*)
   1266     sbindir=$ac_optarg ;;
   1267 
   1268   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1269   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1270   | --sharedst | --shareds | --shared | --share | --shar \
   1271   | --sha | --sh)
   1272     ac_prev=sharedstatedir ;;
   1273   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1274   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1275   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1276   | --sha=* | --sh=*)
   1277     sharedstatedir=$ac_optarg ;;
   1278 
   1279   -site | --site | --sit)
   1280     ac_prev=site ;;
   1281   -site=* | --site=* | --sit=*)
   1282     site=$ac_optarg ;;
   1283 
   1284   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1285     ac_prev=srcdir ;;
   1286   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1287     srcdir=$ac_optarg ;;
   1288 
   1289   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1290   | --syscon | --sysco | --sysc | --sys | --sy)
   1291     ac_prev=sysconfdir ;;
   1292   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1293   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1294     sysconfdir=$ac_optarg ;;
   1295 
   1296   -target | --target | --targe | --targ | --tar | --ta | --t)
   1297     ac_prev=target_alias ;;
   1298   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1299     target_alias=$ac_optarg ;;
   1300 
   1301   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1302     verbose=yes ;;
   1303 
   1304   -version | --version | --versio | --versi | --vers | -V)
   1305     ac_init_version=: ;;
   1306 
   1307   -with-* | --with-*)
   1308     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1309     # Reject names that are not valid shell variable names.
   1310     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1311       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1312    { (exit 1); exit 1; }; }
   1313     ac_useropt_orig=$ac_useropt
   1314     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1315     case $ac_user_opts in
   1316       *"
   1317 "with_$ac_useropt"
   1318 "*) ;;
   1319       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1320 	 ac_unrecognized_sep=', ';;
   1321     esac
   1322     eval with_$ac_useropt=\$ac_optarg ;;
   1323 
   1324   -without-* | --without-*)
   1325     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1326     # Reject names that are not valid shell variable names.
   1327     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1328       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1329    { (exit 1); exit 1; }; }
   1330     ac_useropt_orig=$ac_useropt
   1331     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1332     case $ac_user_opts in
   1333       *"
   1334 "with_$ac_useropt"
   1335 "*) ;;
   1336       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1337 	 ac_unrecognized_sep=', ';;
   1338     esac
   1339     eval with_$ac_useropt=no ;;
   1340 
   1341   --x)
   1342     # Obsolete; use --with-x.
   1343     with_x=yes ;;
   1344 
   1345   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1346   | --x-incl | --x-inc | --x-in | --x-i)
   1347     ac_prev=x_includes ;;
   1348   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1349   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1350     x_includes=$ac_optarg ;;
   1351 
   1352   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1353   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1354     ac_prev=x_libraries ;;
   1355   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1356   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1357     x_libraries=$ac_optarg ;;
   1358 
   1359   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1360 Try \`$0 --help' for more information." >&2
   1361    { (exit 1); exit 1; }; }
   1362     ;;
   1363 
   1364   *=*)
   1365     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1366     # Reject names that are not valid shell variable names.
   1367     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1368       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1369    { (exit 1); exit 1; }; }
   1370     eval $ac_envvar=\$ac_optarg
   1371     export $ac_envvar ;;
   1372 
   1373   *)
   1374     # FIXME: should be removed in autoconf 3.0.
   1375     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1376     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1377       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1378     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1379     ;;
   1380 
   1381   esac
   1382 done
   1383 
   1384 if test -n "$ac_prev"; then
   1385   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1386   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1387    { (exit 1); exit 1; }; }
   1388 fi
   1389 
   1390 if test -n "$ac_unrecognized_opts"; then
   1391   case $enable_option_checking in
   1392     no) ;;
   1393     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1394    { (exit 1); exit 1; }; } ;;
   1395     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1396   esac
   1397 fi
   1398 
   1399 # Check all directory arguments for consistency.
   1400 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1401 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1402 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1403 		libdir localedir mandir
   1404 do
   1405   eval ac_val=\$$ac_var
   1406   # Remove trailing slashes.
   1407   case $ac_val in
   1408     */ )
   1409       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1410       eval $ac_var=\$ac_val;;
   1411   esac
   1412   # Be sure to have absolute directory names.
   1413   case $ac_val in
   1414     [\\/$]* | ?:[\\/]* )  continue;;
   1415     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1416   esac
   1417   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1418    { (exit 1); exit 1; }; }
   1419 done
   1420 
   1421 # There might be people who depend on the old broken behavior: `$host'
   1422 # used to hold the argument of --host etc.
   1423 # FIXME: To remove some day.
   1424 build=$build_alias
   1425 host=$host_alias
   1426 target=$target_alias
   1427 
   1428 # FIXME: To remove some day.
   1429 if test "x$host_alias" != x; then
   1430   if test "x$build_alias" = x; then
   1431     cross_compiling=maybe
   1432     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1433     If a cross compiler is detected then cross compile mode will be used." >&2
   1434   elif test "x$build_alias" != "x$host_alias"; then
   1435     cross_compiling=yes
   1436   fi
   1437 fi
   1438 
   1439 ac_tool_prefix=
   1440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1441 
   1442 test "$silent" = yes && exec 6>/dev/null
   1443 
   1444 
   1445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1446 ac_ls_di=`ls -di .` &&
   1447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1448   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1449    { (exit 1); exit 1; }; }
   1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1451   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1452    { (exit 1); exit 1; }; }
   1453 
   1454 
   1455 # Find the source files, if location was not specified.
   1456 if test -z "$srcdir"; then
   1457   ac_srcdir_defaulted=yes
   1458   # Try the directory containing this script, then the parent directory.
   1459   ac_confdir=`$as_dirname -- "$as_myself" ||
   1460 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1461 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1462 	 X"$as_myself" : 'X\(//\)$' \| \
   1463 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1464 $as_echo X"$as_myself" |
   1465     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  /^X\(\/\/\)[^/].*/{
   1470 	    s//\1/
   1471 	    q
   1472 	  }
   1473 	  /^X\(\/\/\)$/{
   1474 	    s//\1/
   1475 	    q
   1476 	  }
   1477 	  /^X\(\/\).*/{
   1478 	    s//\1/
   1479 	    q
   1480 	  }
   1481 	  s/.*/./; q'`
   1482   srcdir=$ac_confdir
   1483   if test ! -r "$srcdir/$ac_unique_file"; then
   1484     srcdir=..
   1485   fi
   1486 else
   1487   ac_srcdir_defaulted=no
   1488 fi
   1489 if test ! -r "$srcdir/$ac_unique_file"; then
   1490   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1491   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1492    { (exit 1); exit 1; }; }
   1493 fi
   1494 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1495 ac_abs_confdir=`(
   1496 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1497    { (exit 1); exit 1; }; }
   1498 	pwd)`
   1499 # When building in place, set srcdir=.
   1500 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1501   srcdir=.
   1502 fi
   1503 # Remove unnecessary trailing slashes from srcdir.
   1504 # Double slashes in file names in object file debugging info
   1505 # mess up M-x gdb in Emacs.
   1506 case $srcdir in
   1507 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1508 esac
   1509 for ac_var in $ac_precious_vars; do
   1510   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1511   eval ac_env_${ac_var}_value=\$${ac_var}
   1512   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1513   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1514 done
   1515 
   1516 #
   1517 # Report the --help message.
   1518 #
   1519 if test "$ac_init_help" = "long"; then
   1520   # Omit some internal or obsolete options to make the list less imposing.
   1521   # This message is too long to be a string in the A/UX 3.1 sh.
   1522   cat <<_ACEOF
   1523 \`configure' configures xf86-video-sunffb 1.2.1 to adapt to many kinds of systems.
   1524 
   1525 Usage: $0 [OPTION]... [VAR=VALUE]...
   1526 
   1527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1528 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1529 
   1530 Defaults for the options are specified in brackets.
   1531 
   1532 Configuration:
   1533   -h, --help              display this help and exit
   1534       --help=short        display options specific to this package
   1535       --help=recursive    display the short help of all the included packages
   1536   -V, --version           display version information and exit
   1537   -q, --quiet, --silent   do not print \`checking...' messages
   1538       --cache-file=FILE   cache test results in FILE [disabled]
   1539   -C, --config-cache      alias for \`--cache-file=config.cache'
   1540   -n, --no-create         do not create output files
   1541       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1542 
   1543 Installation directories:
   1544   --prefix=PREFIX         install architecture-independent files in PREFIX
   1545                           [$ac_default_prefix]
   1546   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1547                           [PREFIX]
   1548 
   1549 By default, \`make install' will install all the files in
   1550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1552 for instance \`--prefix=\$HOME'.
   1553 
   1554 For better control, use the options below.
   1555 
   1556 Fine tuning of the installation directories:
   1557   --bindir=DIR            user executables [EPREFIX/bin]
   1558   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1559   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1560   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1561   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1562   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1563   --libdir=DIR            object code libraries [EPREFIX/lib]
   1564   --includedir=DIR        C header files [PREFIX/include]
   1565   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1566   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1567   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1568   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1569   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1570   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1571   --docdir=DIR            documentation root
   1572                           [DATAROOTDIR/doc/xf86-video-sunffb]
   1573   --htmldir=DIR           html documentation [DOCDIR]
   1574   --dvidir=DIR            dvi documentation [DOCDIR]
   1575   --pdfdir=DIR            pdf documentation [DOCDIR]
   1576   --psdir=DIR             ps documentation [DOCDIR]
   1577 _ACEOF
   1578 
   1579   cat <<\_ACEOF
   1580 
   1581 Program names:
   1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1585 
   1586 System types:
   1587   --build=BUILD     configure for building on BUILD [guessed]
   1588   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1589 _ACEOF
   1590 fi
   1591 
   1592 if test -n "$ac_init_help"; then
   1593   case $ac_init_help in
   1594      short | recursive ) echo "Configuration of xf86-video-sunffb 1.2.1:";;
   1595    esac
   1596   cat <<\_ACEOF
   1597 
   1598 Optional Features:
   1599   --disable-option-checking  ignore unrecognized --enable/--with options
   1600   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1601   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1602   --enable-maintainer-mode  enable make rules and dependencies not useful
   1603 			  (and sometimes confusing) to the casual installer
   1604   --enable-static[=PKGS]  build static libraries [default=no]
   1605   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1606   --enable-fast-install[=PKGS]
   1607                           optimize for fast installation [default=yes]
   1608   --disable-dependency-tracking  speeds up one-time build
   1609   --enable-dependency-tracking   do not reject slow dependency extractors
   1610   --disable-libtool-lock  avoid locking (might break parallel builds)
   1611 
   1612 Optional Packages:
   1613   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1614   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1615   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1616   --with-pic              try to use only PIC/non-PIC objects [default=use
   1617                           both]
   1618   --with-tags[=TAGS]      include additional configurations [automatic]
   1619   --with-xorg-module-dir=DIR
   1620                           Default xorg module directory
   1621                           [default=$libdir/xorg/modules]
   1622   --with-release-version=STRING
   1623                           Use release version string in package name
   1624 
   1625 Some influential environment variables:
   1626   CC          C compiler command
   1627   CFLAGS      C compiler flags
   1628   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1629               nonstandard directory <lib dir>
   1630   LIBS        libraries to pass to the linker, e.g. -l<library>
   1631   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1632               you have headers in a nonstandard directory <include dir>
   1633   CPP         C preprocessor
   1634   CXX         C++ compiler command
   1635   CXXFLAGS    C++ compiler flags
   1636   CXXCPP      C++ preprocessor
   1637   F77         Fortran 77 compiler command
   1638   FFLAGS      Fortran 77 compiler flags
   1639   CCAS        assembler compiler command (defaults to CC)
   1640   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1641   PKG_CONFIG  path to pkg-config utility
   1642   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1643   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1644   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1645   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1646 
   1647 Use these variables to override the choices made by `configure' or to help
   1648 it to find libraries and programs with nonstandard names/locations.
   1649 
   1650 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1651 _ACEOF
   1652 ac_status=$?
   1653 fi
   1654 
   1655 if test "$ac_init_help" = "recursive"; then
   1656   # If there are subdirs, report their specific --help.
   1657   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1658     test -d "$ac_dir" ||
   1659       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1660       continue
   1661     ac_builddir=.
   1662 
   1663 case "$ac_dir" in
   1664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1665 *)
   1666   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1667   # A ".." for each directory in $ac_dir_suffix.
   1668   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1669   case $ac_top_builddir_sub in
   1670   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1671   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1672   esac ;;
   1673 esac
   1674 ac_abs_top_builddir=$ac_pwd
   1675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1676 # for backward compatibility:
   1677 ac_top_builddir=$ac_top_build_prefix
   1678 
   1679 case $srcdir in
   1680   .)  # We are building in place.
   1681     ac_srcdir=.
   1682     ac_top_srcdir=$ac_top_builddir_sub
   1683     ac_abs_top_srcdir=$ac_pwd ;;
   1684   [\\/]* | ?:[\\/]* )  # Absolute name.
   1685     ac_srcdir=$srcdir$ac_dir_suffix;
   1686     ac_top_srcdir=$srcdir
   1687     ac_abs_top_srcdir=$srcdir ;;
   1688   *) # Relative name.
   1689     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1690     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1691     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1692 esac
   1693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1694 
   1695     cd "$ac_dir" || { ac_status=$?; continue; }
   1696     # Check for guested configure.
   1697     if test -f "$ac_srcdir/configure.gnu"; then
   1698       echo &&
   1699       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1700     elif test -f "$ac_srcdir/configure"; then
   1701       echo &&
   1702       $SHELL "$ac_srcdir/configure" --help=recursive
   1703     else
   1704       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1705     fi || ac_status=$?
   1706     cd "$ac_pwd" || { ac_status=$?; break; }
   1707   done
   1708 fi
   1709 
   1710 test -n "$ac_init_help" && exit $ac_status
   1711 if $ac_init_version; then
   1712   cat <<\_ACEOF
   1713 xf86-video-sunffb configure 1.2.1
   1714 generated by GNU Autoconf 2.63
   1715 
   1716 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1717 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1718 This configure script is free software; the Free Software Foundation
   1719 gives unlimited permission to copy, distribute and modify it.
   1720 _ACEOF
   1721   exit
   1722 fi
   1723 cat >config.log <<_ACEOF
   1724 This file contains any messages produced by compilers while
   1725 running configure, to aid debugging if configure makes a mistake.
   1726 
   1727 It was created by xf86-video-sunffb $as_me 1.2.1, which was
   1728 generated by GNU Autoconf 2.63.  Invocation command line was
   1729 
   1730   $ $0 $@
   1731 
   1732 _ACEOF
   1733 exec 5>>config.log
   1734 {
   1735 cat <<_ASUNAME
   1736 ## --------- ##
   1737 ## Platform. ##
   1738 ## --------- ##
   1739 
   1740 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1741 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1742 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1743 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1744 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1745 
   1746 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1747 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1748 
   1749 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1750 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1751 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1752 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1753 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1754 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1755 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1756 
   1757 _ASUNAME
   1758 
   1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1760 for as_dir in $PATH
   1761 do
   1762   IFS=$as_save_IFS
   1763   test -z "$as_dir" && as_dir=.
   1764   $as_echo "PATH: $as_dir"
   1765 done
   1766 IFS=$as_save_IFS
   1767 
   1768 } >&5
   1769 
   1770 cat >&5 <<_ACEOF
   1771 
   1772 
   1773 ## ----------- ##
   1774 ## Core tests. ##
   1775 ## ----------- ##
   1776 
   1777 _ACEOF
   1778 
   1779 
   1780 # Keep a trace of the command line.
   1781 # Strip out --no-create and --no-recursion so they do not pile up.
   1782 # Strip out --silent because we don't want to record it for future runs.
   1783 # Also quote any args containing shell meta-characters.
   1784 # Make two passes to allow for proper duplicate-argument suppression.
   1785 ac_configure_args=
   1786 ac_configure_args0=
   1787 ac_configure_args1=
   1788 ac_must_keep_next=false
   1789 for ac_pass in 1 2
   1790 do
   1791   for ac_arg
   1792   do
   1793     case $ac_arg in
   1794     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1795     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1796     | -silent | --silent | --silen | --sile | --sil)
   1797       continue ;;
   1798     *\'*)
   1799       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1800     esac
   1801     case $ac_pass in
   1802     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1803     2)
   1804       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1805       if test $ac_must_keep_next = true; then
   1806 	ac_must_keep_next=false # Got value, back to normal.
   1807       else
   1808 	case $ac_arg in
   1809 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1810 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1811 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1812 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1813 	    case "$ac_configure_args0 " in
   1814 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1815 	    esac
   1816 	    ;;
   1817 	  -* ) ac_must_keep_next=true ;;
   1818 	esac
   1819       fi
   1820       ac_configure_args="$ac_configure_args '$ac_arg'"
   1821       ;;
   1822     esac
   1823   done
   1824 done
   1825 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1826 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1827 
   1828 # When interrupted or exit'd, cleanup temporary files, and complete
   1829 # config.log.  We remove comments because anyway the quotes in there
   1830 # would cause problems or look ugly.
   1831 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1832 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1833 trap 'exit_status=$?
   1834   # Save into config.log some information that might help in debugging.
   1835   {
   1836     echo
   1837 
   1838     cat <<\_ASBOX
   1839 ## ---------------- ##
   1840 ## Cache variables. ##
   1841 ## ---------------- ##
   1842 _ASBOX
   1843     echo
   1844     # The following way of writing the cache mishandles newlines in values,
   1845 (
   1846   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1847     eval ac_val=\$$ac_var
   1848     case $ac_val in #(
   1849     *${as_nl}*)
   1850       case $ac_var in #(
   1851       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1853       esac
   1854       case $ac_var in #(
   1855       _ | IFS | as_nl) ;; #(
   1856       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1857       *) $as_unset $ac_var ;;
   1858       esac ;;
   1859     esac
   1860   done
   1861   (set) 2>&1 |
   1862     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1863     *${as_nl}ac_space=\ *)
   1864       sed -n \
   1865 	"s/'\''/'\''\\\\'\'''\''/g;
   1866 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1867       ;; #(
   1868     *)
   1869       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1870       ;;
   1871     esac |
   1872     sort
   1873 )
   1874     echo
   1875 
   1876     cat <<\_ASBOX
   1877 ## ----------------- ##
   1878 ## Output variables. ##
   1879 ## ----------------- ##
   1880 _ASBOX
   1881     echo
   1882     for ac_var in $ac_subst_vars
   1883     do
   1884       eval ac_val=\$$ac_var
   1885       case $ac_val in
   1886       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1887       esac
   1888       $as_echo "$ac_var='\''$ac_val'\''"
   1889     done | sort
   1890     echo
   1891 
   1892     if test -n "$ac_subst_files"; then
   1893       cat <<\_ASBOX
   1894 ## ------------------- ##
   1895 ## File substitutions. ##
   1896 ## ------------------- ##
   1897 _ASBOX
   1898       echo
   1899       for ac_var in $ac_subst_files
   1900       do
   1901 	eval ac_val=\$$ac_var
   1902 	case $ac_val in
   1903 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1904 	esac
   1905 	$as_echo "$ac_var='\''$ac_val'\''"
   1906       done | sort
   1907       echo
   1908     fi
   1909 
   1910     if test -s confdefs.h; then
   1911       cat <<\_ASBOX
   1912 ## ----------- ##
   1913 ## confdefs.h. ##
   1914 ## ----------- ##
   1915 _ASBOX
   1916       echo
   1917       cat confdefs.h
   1918       echo
   1919     fi
   1920     test "$ac_signal" != 0 &&
   1921       $as_echo "$as_me: caught signal $ac_signal"
   1922     $as_echo "$as_me: exit $exit_status"
   1923   } >&5
   1924   rm -f core *.core core.conftest.* &&
   1925     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1926     exit $exit_status
   1927 ' 0
   1928 for ac_signal in 1 2 13 15; do
   1929   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1930 done
   1931 ac_signal=0
   1932 
   1933 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1934 rm -f -r conftest* confdefs.h
   1935 
   1936 # Predefined preprocessor variables.
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_NAME "$PACKAGE_NAME"
   1940 _ACEOF
   1941 
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1945 _ACEOF
   1946 
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1950 _ACEOF
   1951 
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_STRING "$PACKAGE_STRING"
   1955 _ACEOF
   1956 
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1960 _ACEOF
   1961 
   1962 
   1963 # Let the site file select an alternate cache file if it wants to.
   1964 # Prefer an explicitly selected file to automatically selected ones.
   1965 ac_site_file1=NONE
   1966 ac_site_file2=NONE
   1967 if test -n "$CONFIG_SITE"; then
   1968   ac_site_file1=$CONFIG_SITE
   1969 elif test "x$prefix" != xNONE; then
   1970   ac_site_file1=$prefix/share/config.site
   1971   ac_site_file2=$prefix/etc/config.site
   1972 else
   1973   ac_site_file1=$ac_default_prefix/share/config.site
   1974   ac_site_file2=$ac_default_prefix/etc/config.site
   1975 fi
   1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1977 do
   1978   test "x$ac_site_file" = xNONE && continue
   1979   if test -r "$ac_site_file"; then
   1980     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1982     sed 's/^/| /' "$ac_site_file" >&5
   1983     . "$ac_site_file"
   1984   fi
   1985 done
   1986 
   1987 if test -r "$cache_file"; then
   1988   # Some versions of bash will fail to source /dev/null (special
   1989   # files actually), so we avoid doing that.
   1990   if test -f "$cache_file"; then
   1991     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1992 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1993     case $cache_file in
   1994       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1995       *)                      . "./$cache_file";;
   1996     esac
   1997   fi
   1998 else
   1999   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2000 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2001   >$cache_file
   2002 fi
   2003 
   2004 # Check that the precious variables saved in the cache have kept the same
   2005 # value.
   2006 ac_cache_corrupted=false
   2007 for ac_var in $ac_precious_vars; do
   2008   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2009   eval ac_new_set=\$ac_env_${ac_var}_set
   2010   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2011   eval ac_new_val=\$ac_env_${ac_var}_value
   2012   case $ac_old_set,$ac_new_set in
   2013     set,)
   2014       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2015 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2016       ac_cache_corrupted=: ;;
   2017     ,set)
   2018       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2019 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2020       ac_cache_corrupted=: ;;
   2021     ,);;
   2022     *)
   2023       if test "x$ac_old_val" != "x$ac_new_val"; then
   2024 	# differences in whitespace do not lead to failure.
   2025 	ac_old_val_w=`echo x $ac_old_val`
   2026 	ac_new_val_w=`echo x $ac_new_val`
   2027 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2028 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2029 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2030 	  ac_cache_corrupted=:
   2031 	else
   2032 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2033 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2034 	  eval $ac_var=\$ac_old_val
   2035 	fi
   2036 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2037 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2038 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2039 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2040       fi;;
   2041   esac
   2042   # Pass precious variables to config.status.
   2043   if test "$ac_new_set" = set; then
   2044     case $ac_new_val in
   2045     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2046     *) ac_arg=$ac_var=$ac_new_val ;;
   2047     esac
   2048     case " $ac_configure_args " in
   2049       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2050       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2051     esac
   2052   fi
   2053 done
   2054 if $ac_cache_corrupted; then
   2055   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2057   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2058 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2059   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2060 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2061    { (exit 1); exit 1; }; }
   2062 fi
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 ac_ext=c
   2089 ac_cpp='$CPP $CPPFLAGS'
   2090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2093 
   2094 
   2095 
   2096 
   2097 ac_config_headers="$ac_config_headers config.h"
   2098 
   2099 ac_aux_dir=
   2100 for ac_dir in . "$srcdir"/.; do
   2101   if test -f "$ac_dir/install-sh"; then
   2102     ac_aux_dir=$ac_dir
   2103     ac_install_sh="$ac_aux_dir/install-sh -c"
   2104     break
   2105   elif test -f "$ac_dir/install.sh"; then
   2106     ac_aux_dir=$ac_dir
   2107     ac_install_sh="$ac_aux_dir/install.sh -c"
   2108     break
   2109   elif test -f "$ac_dir/shtool"; then
   2110     ac_aux_dir=$ac_dir
   2111     ac_install_sh="$ac_aux_dir/shtool install -c"
   2112     break
   2113   fi
   2114 done
   2115 if test -z "$ac_aux_dir"; then
   2116   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2117 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2118    { (exit 1); exit 1; }; }
   2119 fi
   2120 
   2121 # These three variables are undocumented and unsupported,
   2122 # and are intended to be withdrawn in a future Autoconf release.
   2123 # They can cause serious problems if a builder's source tree is in a directory
   2124 # whose full name contains unusual characters.
   2125 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2126 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2127 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2128 
   2129 
   2130 
   2131 am__api_version='1.11'
   2132 
   2133 # Find a good install program.  We prefer a C program (faster),
   2134 # so one script is as good as another.  But avoid the broken or
   2135 # incompatible versions:
   2136 # SysV /etc/install, /usr/sbin/install
   2137 # SunOS /usr/etc/install
   2138 # IRIX /sbin/install
   2139 # AIX /bin/install
   2140 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2141 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2142 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2143 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2144 # OS/2's system install, which has a completely different semantic
   2145 # ./install, which can be erroneously created by make from ./install.sh.
   2146 # Reject install programs that cannot install multiple files.
   2147 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2148 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2149 if test -z "$INSTALL"; then
   2150 if test "${ac_cv_path_install+set}" = set; then
   2151   $as_echo_n "(cached) " >&6
   2152 else
   2153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2154 for as_dir in $PATH
   2155 do
   2156   IFS=$as_save_IFS
   2157   test -z "$as_dir" && as_dir=.
   2158   # Account for people who put trailing slashes in PATH elements.
   2159 case $as_dir/ in
   2160   ./ | .// | /cC/* | \
   2161   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2162   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2163   /usr/ucb/* ) ;;
   2164   *)
   2165     # OSF1 and SCO ODT 3.0 have their own names for install.
   2166     # Don't use installbsd from OSF since it installs stuff as root
   2167     # by default.
   2168     for ac_prog in ginstall scoinst install; do
   2169       for ac_exec_ext in '' $ac_executable_extensions; do
   2170 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2171 	  if test $ac_prog = install &&
   2172 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2173 	    # AIX install.  It has an incompatible calling convention.
   2174 	    :
   2175 	  elif test $ac_prog = install &&
   2176 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2177 	    # program-specific install script used by HP pwplus--don't use.
   2178 	    :
   2179 	  else
   2180 	    rm -rf conftest.one conftest.two conftest.dir
   2181 	    echo one > conftest.one
   2182 	    echo two > conftest.two
   2183 	    mkdir conftest.dir
   2184 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2185 	      test -s conftest.one && test -s conftest.two &&
   2186 	      test -s conftest.dir/conftest.one &&
   2187 	      test -s conftest.dir/conftest.two
   2188 	    then
   2189 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2190 	      break 3
   2191 	    fi
   2192 	  fi
   2193 	fi
   2194       done
   2195     done
   2196     ;;
   2197 esac
   2198 
   2199 done
   2200 IFS=$as_save_IFS
   2201 
   2202 rm -rf conftest.one conftest.two conftest.dir
   2203 
   2204 fi
   2205   if test "${ac_cv_path_install+set}" = set; then
   2206     INSTALL=$ac_cv_path_install
   2207   else
   2208     # As a last resort, use the slow shell script.  Don't cache a
   2209     # value for INSTALL within a source directory, because that will
   2210     # break other packages using the cache if that directory is
   2211     # removed, or if the value is a relative name.
   2212     INSTALL=$ac_install_sh
   2213   fi
   2214 fi
   2215 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2216 $as_echo "$INSTALL" >&6; }
   2217 
   2218 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2219 # It thinks the first close brace ends the variable substitution.
   2220 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2221 
   2222 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2223 
   2224 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2225 
   2226 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2227 $as_echo_n "checking whether build environment is sane... " >&6; }
   2228 # Just in case
   2229 sleep 1
   2230 echo timestamp > conftest.file
   2231 # Reject unsafe characters in $srcdir or the absolute working directory
   2232 # name.  Accept space and tab only in the latter.
   2233 am_lf='
   2234 '
   2235 case `pwd` in
   2236   *[\\\"\#\$\&\'\`$am_lf]*)
   2237     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2238 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2239    { (exit 1); exit 1; }; };;
   2240 esac
   2241 case $srcdir in
   2242   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2243     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2244 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2245    { (exit 1); exit 1; }; };;
   2246 esac
   2247 
   2248 # Do `set' in a subshell so we don't clobber the current shell's
   2249 # arguments.  Must try -L first in case configure is actually a
   2250 # symlink; some systems play weird games with the mod time of symlinks
   2251 # (eg FreeBSD returns the mod time of the symlink's containing
   2252 # directory).
   2253 if (
   2254    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2255    if test "$*" = "X"; then
   2256       # -L didn't work.
   2257       set X `ls -t "$srcdir/configure" conftest.file`
   2258    fi
   2259    rm -f conftest.file
   2260    if test "$*" != "X $srcdir/configure conftest.file" \
   2261       && test "$*" != "X conftest.file $srcdir/configure"; then
   2262 
   2263       # If neither matched, then we have a broken ls.  This can happen
   2264       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2265       # broken ls alias from the environment.  This has actually
   2266       # happened.  Such a system could not be considered "sane".
   2267       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2268 alias in your environment" >&5
   2269 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2270 alias in your environment" >&2;}
   2271    { (exit 1); exit 1; }; }
   2272    fi
   2273 
   2274    test "$2" = conftest.file
   2275    )
   2276 then
   2277    # Ok.
   2278    :
   2279 else
   2280    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2281 Check your system clock" >&5
   2282 $as_echo "$as_me: error: newly created file is older than distributed files!
   2283 Check your system clock" >&2;}
   2284    { (exit 1); exit 1; }; }
   2285 fi
   2286 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2287 $as_echo "yes" >&6; }
   2288 test "$program_prefix" != NONE &&
   2289   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2290 # Use a double $ so make ignores it.
   2291 test "$program_suffix" != NONE &&
   2292   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2293 # Double any \ or $.
   2294 # By default was `s,x,x', remove it if useless.
   2295 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2296 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2297 
   2298 # expand $ac_aux_dir to an absolute path
   2299 am_aux_dir=`cd $ac_aux_dir && pwd`
   2300 
   2301 if test x"${MISSING+set}" != xset; then
   2302   case $am_aux_dir in
   2303   *\ * | *\	*)
   2304     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2305   *)
   2306     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2307   esac
   2308 fi
   2309 # Use eval to expand $SHELL
   2310 if eval "$MISSING --run true"; then
   2311   am_missing_run="$MISSING --run "
   2312 else
   2313   am_missing_run=
   2314   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2315 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2316 fi
   2317 
   2318 if test x"${install_sh}" != xset; then
   2319   case $am_aux_dir in
   2320   *\ * | *\	*)
   2321     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2322   *)
   2323     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2324   esac
   2325 fi
   2326 
   2327 # Installed binaries are usually stripped using `strip' when the user
   2328 # run `make install-strip'.  However `strip' might not be the right
   2329 # tool to use in cross-compilation environments, therefore Automake
   2330 # will honor the `STRIP' environment variable to overrule this program.
   2331 if test "$cross_compiling" != no; then
   2332   if test -n "$ac_tool_prefix"; then
   2333   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2334 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
   2338   $as_echo_n "(cached) " >&6
   2339 else
   2340   if test -n "$STRIP"; then
   2341   ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
   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 STRIP=$ac_cv_prog_STRIP
   2361 if test -n "$STRIP"; then
   2362   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2363 $as_echo "$STRIP" >&6; }
   2364 else
   2365   { $as_echo "$as_me:$LINENO: result: no" >&5
   2366 $as_echo "no" >&6; }
   2367 fi
   2368 
   2369 
   2370 fi
   2371 if test -z "$ac_cv_prog_STRIP"; then
   2372   ac_ct_STRIP=$STRIP
   2373   # Extract the first word of "strip", so it can be a program name with args.
   2374 set dummy strip; ac_word=$2
   2375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2376 $as_echo_n "checking for $ac_word... " >&6; }
   2377 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2378   $as_echo_n "(cached) " >&6
   2379 else
   2380   if test -n "$ac_ct_STRIP"; then
   2381   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2382 else
   2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2384 for as_dir in $PATH
   2385 do
   2386   IFS=$as_save_IFS
   2387   test -z "$as_dir" && as_dir=.
   2388   for ac_exec_ext in '' $ac_executable_extensions; do
   2389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2390     ac_cv_prog_ac_ct_STRIP="strip"
   2391     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2392     break 2
   2393   fi
   2394 done
   2395 done
   2396 IFS=$as_save_IFS
   2397 
   2398 fi
   2399 fi
   2400 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2401 if test -n "$ac_ct_STRIP"; then
   2402   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2403 $as_echo "$ac_ct_STRIP" >&6; }
   2404 else
   2405   { $as_echo "$as_me:$LINENO: result: no" >&5
   2406 $as_echo "no" >&6; }
   2407 fi
   2408 
   2409   if test "x$ac_ct_STRIP" = x; then
   2410     STRIP=":"
   2411   else
   2412     case $cross_compiling:$ac_tool_warned in
   2413 yes:)
   2414 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2416 ac_tool_warned=yes ;;
   2417 esac
   2418     STRIP=$ac_ct_STRIP
   2419   fi
   2420 else
   2421   STRIP="$ac_cv_prog_STRIP"
   2422 fi
   2423 
   2424 fi
   2425 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2426 
   2427 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2428 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2429 if test -z "$MKDIR_P"; then
   2430   if test "${ac_cv_path_mkdir+set}" = set; then
   2431   $as_echo_n "(cached) " >&6
   2432 else
   2433   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438   for ac_prog in mkdir gmkdir; do
   2439 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2440 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2441 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2442 	     'mkdir (GNU coreutils) '* | \
   2443 	     'mkdir (coreutils) '* | \
   2444 	     'mkdir (fileutils) '4.1*)
   2445 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2446 	       break 3;;
   2447 	   esac
   2448 	 done
   2449        done
   2450 done
   2451 IFS=$as_save_IFS
   2452 
   2453 fi
   2454 
   2455   if test "${ac_cv_path_mkdir+set}" = set; then
   2456     MKDIR_P="$ac_cv_path_mkdir -p"
   2457   else
   2458     # As a last resort, use the slow shell script.  Don't cache a
   2459     # value for MKDIR_P within a source directory, because that will
   2460     # break other packages using the cache if that directory is
   2461     # removed, or if the value is a relative name.
   2462     test -d ./--version && rmdir ./--version
   2463     MKDIR_P="$ac_install_sh -d"
   2464   fi
   2465 fi
   2466 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2467 $as_echo "$MKDIR_P" >&6; }
   2468 
   2469 mkdir_p="$MKDIR_P"
   2470 case $mkdir_p in
   2471   [\\/$]* | ?:[\\/]*) ;;
   2472   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2473 esac
   2474 
   2475 for ac_prog in gawk mawk nawk awk
   2476 do
   2477   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2478 set dummy $ac_prog; ac_word=$2
   2479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2480 $as_echo_n "checking for $ac_word... " >&6; }
   2481 if test "${ac_cv_prog_AWK+set}" = set; then
   2482   $as_echo_n "(cached) " >&6
   2483 else
   2484   if test -n "$AWK"; then
   2485   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2486 else
   2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2488 for as_dir in $PATH
   2489 do
   2490   IFS=$as_save_IFS
   2491   test -z "$as_dir" && as_dir=.
   2492   for ac_exec_ext in '' $ac_executable_extensions; do
   2493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2494     ac_cv_prog_AWK="$ac_prog"
   2495     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2496     break 2
   2497   fi
   2498 done
   2499 done
   2500 IFS=$as_save_IFS
   2501 
   2502 fi
   2503 fi
   2504 AWK=$ac_cv_prog_AWK
   2505 if test -n "$AWK"; then
   2506   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2507 $as_echo "$AWK" >&6; }
   2508 else
   2509   { $as_echo "$as_me:$LINENO: result: no" >&5
   2510 $as_echo "no" >&6; }
   2511 fi
   2512 
   2513 
   2514   test -n "$AWK" && break
   2515 done
   2516 
   2517 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2518 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2519 set x ${MAKE-make}
   2520 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2521 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2522   $as_echo_n "(cached) " >&6
   2523 else
   2524   cat >conftest.make <<\_ACEOF
   2525 SHELL = /bin/sh
   2526 all:
   2527 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2528 _ACEOF
   2529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2530 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2531   *@@@%%%=?*=@@@%%%*)
   2532     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2533   *)
   2534     eval ac_cv_prog_make_${ac_make}_set=no;;
   2535 esac
   2536 rm -f conftest.make
   2537 fi
   2538 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2539   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2540 $as_echo "yes" >&6; }
   2541   SET_MAKE=
   2542 else
   2543   { $as_echo "$as_me:$LINENO: result: no" >&5
   2544 $as_echo "no" >&6; }
   2545   SET_MAKE="MAKE=${MAKE-make}"
   2546 fi
   2547 
   2548 rm -rf .tst 2>/dev/null
   2549 mkdir .tst 2>/dev/null
   2550 if test -d .tst; then
   2551   am__leading_dot=.
   2552 else
   2553   am__leading_dot=_
   2554 fi
   2555 rmdir .tst 2>/dev/null
   2556 
   2557 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2558   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2559   # is not polluted with repeated "-I."
   2560   am__isrc=' -I$(srcdir)'
   2561   # test to see if srcdir already configured
   2562   if test -f $srcdir/config.status; then
   2563     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2564 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2565    { (exit 1); exit 1; }; }
   2566   fi
   2567 fi
   2568 
   2569 # test whether we have cygpath
   2570 if test -z "$CYGPATH_W"; then
   2571   if (cygpath --version) >/dev/null 2>/dev/null; then
   2572     CYGPATH_W='cygpath -w'
   2573   else
   2574     CYGPATH_W=echo
   2575   fi
   2576 fi
   2577 
   2578 
   2579 # Define the identity of the package.
   2580  PACKAGE='xf86-video-sunffb'
   2581  VERSION='1.2.1'
   2582 
   2583 
   2584 cat >>confdefs.h <<_ACEOF
   2585 #define PACKAGE "$PACKAGE"
   2586 _ACEOF
   2587 
   2588 
   2589 cat >>confdefs.h <<_ACEOF
   2590 #define VERSION "$VERSION"
   2591 _ACEOF
   2592 
   2593 # Some tools Automake needs.
   2594 
   2595 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2596 
   2597 
   2598 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2599 
   2600 
   2601 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2602 
   2603 
   2604 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2605 
   2606 
   2607 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2608 
   2609 # We need awk for the "check" target.  The system "awk" is bad on
   2610 # some platforms.
   2611 # Always define AMTAR for backward compatibility.
   2612 
   2613 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2614 
   2615 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 
   2622 
   2623 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2624 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2625     # Check whether --enable-maintainer-mode was given.
   2626 if test "${enable_maintainer_mode+set}" = set; then
   2627   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2628 else
   2629   USE_MAINTAINER_MODE=no
   2630 fi
   2631 
   2632   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2633 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2634    if test $USE_MAINTAINER_MODE = yes; then
   2635   MAINTAINER_MODE_TRUE=
   2636   MAINTAINER_MODE_FALSE='#'
   2637 else
   2638   MAINTAINER_MODE_TRUE='#'
   2639   MAINTAINER_MODE_FALSE=
   2640 fi
   2641 
   2642   MAINT=$MAINTAINER_MODE_TRUE
   2643 
   2644 
   2645 
   2646 # Checks for programs.
   2647 # Check whether --enable-static was given.
   2648 if test "${enable_static+set}" = set; then
   2649   enableval=$enable_static; p=${PACKAGE-default}
   2650     case $enableval in
   2651     yes) enable_static=yes ;;
   2652     no) enable_static=no ;;
   2653     *)
   2654      enable_static=no
   2655       # Look at the argument we got.  We use all the common list separators.
   2656       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2657       for pkg in $enableval; do
   2658 	IFS="$lt_save_ifs"
   2659 	if test "X$pkg" = "X$p"; then
   2660 	  enable_static=yes
   2661 	fi
   2662       done
   2663       IFS="$lt_save_ifs"
   2664       ;;
   2665     esac
   2666 else
   2667   enable_static=no
   2668 fi
   2669 
   2670 
   2671 
   2672 # Check whether --enable-shared was given.
   2673 if test "${enable_shared+set}" = set; then
   2674   enableval=$enable_shared; p=${PACKAGE-default}
   2675     case $enableval in
   2676     yes) enable_shared=yes ;;
   2677     no) enable_shared=no ;;
   2678     *)
   2679       enable_shared=no
   2680       # Look at the argument we got.  We use all the common list separators.
   2681       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2682       for pkg in $enableval; do
   2683 	IFS="$lt_save_ifs"
   2684 	if test "X$pkg" = "X$p"; then
   2685 	  enable_shared=yes
   2686 	fi
   2687       done
   2688       IFS="$lt_save_ifs"
   2689       ;;
   2690     esac
   2691 else
   2692   enable_shared=yes
   2693 fi
   2694 
   2695 
   2696 # Check whether --enable-fast-install was given.
   2697 if test "${enable_fast_install+set}" = set; then
   2698   enableval=$enable_fast_install; p=${PACKAGE-default}
   2699     case $enableval in
   2700     yes) enable_fast_install=yes ;;
   2701     no) enable_fast_install=no ;;
   2702     *)
   2703       enable_fast_install=no
   2704       # Look at the argument we got.  We use all the common list separators.
   2705       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2706       for pkg in $enableval; do
   2707 	IFS="$lt_save_ifs"
   2708 	if test "X$pkg" = "X$p"; then
   2709 	  enable_fast_install=yes
   2710 	fi
   2711       done
   2712       IFS="$lt_save_ifs"
   2713       ;;
   2714     esac
   2715 else
   2716   enable_fast_install=yes
   2717 fi
   2718 
   2719 
   2720 # Make sure we can run config.sub.
   2721 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2722   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2723 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2724    { (exit 1); exit 1; }; }
   2725 
   2726 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2727 $as_echo_n "checking build system type... " >&6; }
   2728 if test "${ac_cv_build+set}" = set; then
   2729   $as_echo_n "(cached) " >&6
   2730 else
   2731   ac_build_alias=$build_alias
   2732 test "x$ac_build_alias" = x &&
   2733   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2734 test "x$ac_build_alias" = x &&
   2735   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2736 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2737    { (exit 1); exit 1; }; }
   2738 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2739   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2740 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2741    { (exit 1); exit 1; }; }
   2742 
   2743 fi
   2744 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2745 $as_echo "$ac_cv_build" >&6; }
   2746 case $ac_cv_build in
   2747 *-*-*) ;;
   2748 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2749 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2750    { (exit 1); exit 1; }; };;
   2751 esac
   2752 build=$ac_cv_build
   2753 ac_save_IFS=$IFS; IFS='-'
   2754 set x $ac_cv_build
   2755 shift
   2756 build_cpu=$1
   2757 build_vendor=$2
   2758 shift; shift
   2759 # Remember, the first character of IFS is used to create $*,
   2760 # except with old shells:
   2761 build_os=$*
   2762 IFS=$ac_save_IFS
   2763 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2764 
   2765 
   2766 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2767 $as_echo_n "checking host system type... " >&6; }
   2768 if test "${ac_cv_host+set}" = set; then
   2769   $as_echo_n "(cached) " >&6
   2770 else
   2771   if test "x$host_alias" = x; then
   2772   ac_cv_host=$ac_cv_build
   2773 else
   2774   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2775     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2776 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2777    { (exit 1); exit 1; }; }
   2778 fi
   2779 
   2780 fi
   2781 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2782 $as_echo "$ac_cv_host" >&6; }
   2783 case $ac_cv_host in
   2784 *-*-*) ;;
   2785 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2786 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2787    { (exit 1); exit 1; }; };;
   2788 esac
   2789 host=$ac_cv_host
   2790 ac_save_IFS=$IFS; IFS='-'
   2791 set x $ac_cv_host
   2792 shift
   2793 host_cpu=$1
   2794 host_vendor=$2
   2795 shift; shift
   2796 # Remember, the first character of IFS is used to create $*,
   2797 # except with old shells:
   2798 host_os=$*
   2799 IFS=$ac_save_IFS
   2800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2801 
   2802 
   2803 DEPDIR="${am__leading_dot}deps"
   2804 
   2805 ac_config_commands="$ac_config_commands depfiles"
   2806 
   2807 
   2808 am_make=${MAKE-make}
   2809 cat > confinc << 'END'
   2810 am__doit:
   2811 	@echo this is the am__doit target
   2812 .PHONY: am__doit
   2813 END
   2814 # If we don't find an include directive, just comment out the code.
   2815 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2816 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2817 am__include="#"
   2818 am__quote=
   2819 _am_result=none
   2820 # First try GNU make style include.
   2821 echo "include confinc" > confmf
   2822 # Ignore all kinds of additional output from `make'.
   2823 case `$am_make -s -f confmf 2> /dev/null` in #(
   2824 *the\ am__doit\ target*)
   2825   am__include=include
   2826   am__quote=
   2827   _am_result=GNU
   2828   ;;
   2829 esac
   2830 # Now try BSD make style include.
   2831 if test "$am__include" = "#"; then
   2832    echo '.include "confinc"' > confmf
   2833    case `$am_make -s -f confmf 2> /dev/null` in #(
   2834    *the\ am__doit\ target*)
   2835      am__include=.include
   2836      am__quote="\""
   2837      _am_result=BSD
   2838      ;;
   2839    esac
   2840 fi
   2841 
   2842 
   2843 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2844 $as_echo "$_am_result" >&6; }
   2845 rm -f confinc confmf
   2846 
   2847 # Check whether --enable-dependency-tracking was given.
   2848 if test "${enable_dependency_tracking+set}" = set; then
   2849   enableval=$enable_dependency_tracking;
   2850 fi
   2851 
   2852 if test "x$enable_dependency_tracking" != xno; then
   2853   am_depcomp="$ac_aux_dir/depcomp"
   2854   AMDEPBACKSLASH='\'
   2855 fi
   2856  if test "x$enable_dependency_tracking" != xno; then
   2857   AMDEP_TRUE=
   2858   AMDEP_FALSE='#'
   2859 else
   2860   AMDEP_TRUE='#'
   2861   AMDEP_FALSE=
   2862 fi
   2863 
   2864 
   2865 ac_ext=c
   2866 ac_cpp='$CPP $CPPFLAGS'
   2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2870 if test -n "$ac_tool_prefix"; then
   2871   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2872 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2873 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2874 $as_echo_n "checking for $ac_word... " >&6; }
   2875 if test "${ac_cv_prog_CC+set}" = set; then
   2876   $as_echo_n "(cached) " >&6
   2877 else
   2878   if test -n "$CC"; then
   2879   ac_cv_prog_CC="$CC" # Let the user override the test.
   2880 else
   2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2882 for as_dir in $PATH
   2883 do
   2884   IFS=$as_save_IFS
   2885   test -z "$as_dir" && as_dir=.
   2886   for ac_exec_ext in '' $ac_executable_extensions; do
   2887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2888     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2889     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2890     break 2
   2891   fi
   2892 done
   2893 done
   2894 IFS=$as_save_IFS
   2895 
   2896 fi
   2897 fi
   2898 CC=$ac_cv_prog_CC
   2899 if test -n "$CC"; then
   2900   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2901 $as_echo "$CC" >&6; }
   2902 else
   2903   { $as_echo "$as_me:$LINENO: result: no" >&5
   2904 $as_echo "no" >&6; }
   2905 fi
   2906 
   2907 
   2908 fi
   2909 if test -z "$ac_cv_prog_CC"; then
   2910   ac_ct_CC=$CC
   2911   # Extract the first word of "gcc", so it can be a program name with args.
   2912 set dummy gcc; ac_word=$2
   2913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2914 $as_echo_n "checking for $ac_word... " >&6; }
   2915 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2916   $as_echo_n "(cached) " >&6
   2917 else
   2918   if test -n "$ac_ct_CC"; then
   2919   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2920 else
   2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2922 for as_dir in $PATH
   2923 do
   2924   IFS=$as_save_IFS
   2925   test -z "$as_dir" && as_dir=.
   2926   for ac_exec_ext in '' $ac_executable_extensions; do
   2927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2928     ac_cv_prog_ac_ct_CC="gcc"
   2929     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2930     break 2
   2931   fi
   2932 done
   2933 done
   2934 IFS=$as_save_IFS
   2935 
   2936 fi
   2937 fi
   2938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2939 if test -n "$ac_ct_CC"; then
   2940   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2941 $as_echo "$ac_ct_CC" >&6; }
   2942 else
   2943   { $as_echo "$as_me:$LINENO: result: no" >&5
   2944 $as_echo "no" >&6; }
   2945 fi
   2946 
   2947   if test "x$ac_ct_CC" = x; then
   2948     CC=""
   2949   else
   2950     case $cross_compiling:$ac_tool_warned in
   2951 yes:)
   2952 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2954 ac_tool_warned=yes ;;
   2955 esac
   2956     CC=$ac_ct_CC
   2957   fi
   2958 else
   2959   CC="$ac_cv_prog_CC"
   2960 fi
   2961 
   2962 if test -z "$CC"; then
   2963           if test -n "$ac_tool_prefix"; then
   2964     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2965 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2967 $as_echo_n "checking for $ac_word... " >&6; }
   2968 if test "${ac_cv_prog_CC+set}" = set; then
   2969   $as_echo_n "(cached) " >&6
   2970 else
   2971   if test -n "$CC"; then
   2972   ac_cv_prog_CC="$CC" # Let the user override the test.
   2973 else
   2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2975 for as_dir in $PATH
   2976 do
   2977   IFS=$as_save_IFS
   2978   test -z "$as_dir" && as_dir=.
   2979   for ac_exec_ext in '' $ac_executable_extensions; do
   2980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2981     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2982     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2983     break 2
   2984   fi
   2985 done
   2986 done
   2987 IFS=$as_save_IFS
   2988 
   2989 fi
   2990 fi
   2991 CC=$ac_cv_prog_CC
   2992 if test -n "$CC"; then
   2993   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2994 $as_echo "$CC" >&6; }
   2995 else
   2996   { $as_echo "$as_me:$LINENO: result: no" >&5
   2997 $as_echo "no" >&6; }
   2998 fi
   2999 
   3000 
   3001   fi
   3002 fi
   3003 if test -z "$CC"; then
   3004   # Extract the first word of "cc", so it can be a program name with args.
   3005 set dummy cc; ac_word=$2
   3006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3007 $as_echo_n "checking for $ac_word... " >&6; }
   3008 if test "${ac_cv_prog_CC+set}" = set; then
   3009   $as_echo_n "(cached) " >&6
   3010 else
   3011   if test -n "$CC"; then
   3012   ac_cv_prog_CC="$CC" # Let the user override the test.
   3013 else
   3014   ac_prog_rejected=no
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   test -z "$as_dir" && as_dir=.
   3020   for ac_exec_ext in '' $ac_executable_extensions; do
   3021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3022     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3023        ac_prog_rejected=yes
   3024        continue
   3025      fi
   3026     ac_cv_prog_CC="cc"
   3027     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3028     break 2
   3029   fi
   3030 done
   3031 done
   3032 IFS=$as_save_IFS
   3033 
   3034 if test $ac_prog_rejected = yes; then
   3035   # We found a bogon in the path, so make sure we never use it.
   3036   set dummy $ac_cv_prog_CC
   3037   shift
   3038   if test $# != 0; then
   3039     # We chose a different compiler from the bogus one.
   3040     # However, it has the same basename, so the bogon will be chosen
   3041     # first if we set CC to just the basename; use the full file name.
   3042     shift
   3043     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3044   fi
   3045 fi
   3046 fi
   3047 fi
   3048 CC=$ac_cv_prog_CC
   3049 if test -n "$CC"; then
   3050   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3051 $as_echo "$CC" >&6; }
   3052 else
   3053   { $as_echo "$as_me:$LINENO: result: no" >&5
   3054 $as_echo "no" >&6; }
   3055 fi
   3056 
   3057 
   3058 fi
   3059 if test -z "$CC"; then
   3060   if test -n "$ac_tool_prefix"; then
   3061   for ac_prog in cl.exe
   3062   do
   3063     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3066 $as_echo_n "checking for $ac_word... " >&6; }
   3067 if test "${ac_cv_prog_CC+set}" = set; then
   3068   $as_echo_n "(cached) " >&6
   3069 else
   3070   if test -n "$CC"; then
   3071   ac_cv_prog_CC="$CC" # Let the user override the test.
   3072 else
   3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3074 for as_dir in $PATH
   3075 do
   3076   IFS=$as_save_IFS
   3077   test -z "$as_dir" && as_dir=.
   3078   for ac_exec_ext in '' $ac_executable_extensions; do
   3079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3080     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3081     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3082     break 2
   3083   fi
   3084 done
   3085 done
   3086 IFS=$as_save_IFS
   3087 
   3088 fi
   3089 fi
   3090 CC=$ac_cv_prog_CC
   3091 if test -n "$CC"; then
   3092   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3093 $as_echo "$CC" >&6; }
   3094 else
   3095   { $as_echo "$as_me:$LINENO: result: no" >&5
   3096 $as_echo "no" >&6; }
   3097 fi
   3098 
   3099 
   3100     test -n "$CC" && break
   3101   done
   3102 fi
   3103 if test -z "$CC"; then
   3104   ac_ct_CC=$CC
   3105   for ac_prog in cl.exe
   3106 do
   3107   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3108 set dummy $ac_prog; ac_word=$2
   3109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3110 $as_echo_n "checking for $ac_word... " >&6; }
   3111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   if test -n "$ac_ct_CC"; then
   3115   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3116 else
   3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3118 for as_dir in $PATH
   3119 do
   3120   IFS=$as_save_IFS
   3121   test -z "$as_dir" && as_dir=.
   3122   for ac_exec_ext in '' $ac_executable_extensions; do
   3123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3124     ac_cv_prog_ac_ct_CC="$ac_prog"
   3125     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3126     break 2
   3127   fi
   3128 done
   3129 done
   3130 IFS=$as_save_IFS
   3131 
   3132 fi
   3133 fi
   3134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3135 if test -n "$ac_ct_CC"; then
   3136   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3137 $as_echo "$ac_ct_CC" >&6; }
   3138 else
   3139   { $as_echo "$as_me:$LINENO: result: no" >&5
   3140 $as_echo "no" >&6; }
   3141 fi
   3142 
   3143 
   3144   test -n "$ac_ct_CC" && break
   3145 done
   3146 
   3147   if test "x$ac_ct_CC" = x; then
   3148     CC=""
   3149   else
   3150     case $cross_compiling:$ac_tool_warned in
   3151 yes:)
   3152 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3154 ac_tool_warned=yes ;;
   3155 esac
   3156     CC=$ac_ct_CC
   3157   fi
   3158 fi
   3159 
   3160 fi
   3161 
   3162 
   3163 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3165 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3166 See \`config.log' for more details." >&5
   3167 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3168 See \`config.log' for more details." >&2;}
   3169    { (exit 1); exit 1; }; }; }
   3170 
   3171 # Provide some information about the compiler.
   3172 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3173 set X $ac_compile
   3174 ac_compiler=$2
   3175 { (ac_try="$ac_compiler --version >&5"
   3176 case "(($ac_try" in
   3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3178   *) ac_try_echo=$ac_try;;
   3179 esac
   3180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3181 $as_echo "$ac_try_echo") >&5
   3182   (eval "$ac_compiler --version >&5") 2>&5
   3183   ac_status=$?
   3184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3185   (exit $ac_status); }
   3186 { (ac_try="$ac_compiler -v >&5"
   3187 case "(($ac_try" in
   3188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3189   *) ac_try_echo=$ac_try;;
   3190 esac
   3191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3192 $as_echo "$ac_try_echo") >&5
   3193   (eval "$ac_compiler -v >&5") 2>&5
   3194   ac_status=$?
   3195   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3196   (exit $ac_status); }
   3197 { (ac_try="$ac_compiler -V >&5"
   3198 case "(($ac_try" in
   3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3200   *) ac_try_echo=$ac_try;;
   3201 esac
   3202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3203 $as_echo "$ac_try_echo") >&5
   3204   (eval "$ac_compiler -V >&5") 2>&5
   3205   ac_status=$?
   3206   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3207   (exit $ac_status); }
   3208 
   3209 cat >conftest.$ac_ext <<_ACEOF
   3210 /* confdefs.h.  */
   3211 _ACEOF
   3212 cat confdefs.h >>conftest.$ac_ext
   3213 cat >>conftest.$ac_ext <<_ACEOF
   3214 /* end confdefs.h.  */
   3215 
   3216 int
   3217 main ()
   3218 {
   3219 
   3220   ;
   3221   return 0;
   3222 }
   3223 _ACEOF
   3224 ac_clean_files_save=$ac_clean_files
   3225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3226 # Try to create an executable without -o first, disregard a.out.
   3227 # It will help us diagnose broken compilers, and finding out an intuition
   3228 # of exeext.
   3229 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3230 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3231 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3232 
   3233 # The possible output files:
   3234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3235 
   3236 ac_rmfiles=
   3237 for ac_file in $ac_files
   3238 do
   3239   case $ac_file in
   3240     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3241     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3242   esac
   3243 done
   3244 rm -f $ac_rmfiles
   3245 
   3246 if { (ac_try="$ac_link_default"
   3247 case "(($ac_try" in
   3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3249   *) ac_try_echo=$ac_try;;
   3250 esac
   3251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3252 $as_echo "$ac_try_echo") >&5
   3253   (eval "$ac_link_default") 2>&5
   3254   ac_status=$?
   3255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3256   (exit $ac_status); }; then
   3257   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3259 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3260 # so that the user can short-circuit this test for compilers unknown to
   3261 # Autoconf.
   3262 for ac_file in $ac_files ''
   3263 do
   3264   test -f "$ac_file" || continue
   3265   case $ac_file in
   3266     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3267 	;;
   3268     [ab].out )
   3269 	# We found the default executable, but exeext='' is most
   3270 	# certainly right.
   3271 	break;;
   3272     *.* )
   3273         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3274 	then :; else
   3275 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3276 	fi
   3277 	# We set ac_cv_exeext here because the later test for it is not
   3278 	# safe: cross compilers may not add the suffix if given an `-o'
   3279 	# argument, so we may need to know it at that point already.
   3280 	# Even if this section looks crufty: it has the advantage of
   3281 	# actually working.
   3282 	break;;
   3283     * )
   3284 	break;;
   3285   esac
   3286 done
   3287 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3288 
   3289 else
   3290   ac_file=''
   3291 fi
   3292 
   3293 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3294 $as_echo "$ac_file" >&6; }
   3295 if test -z "$ac_file"; then
   3296   $as_echo "$as_me: failed program was:" >&5
   3297 sed 's/^/| /' conftest.$ac_ext >&5
   3298 
   3299 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3301 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3302 See \`config.log' for more details." >&5
   3303 $as_echo "$as_me: error: C compiler cannot create executables
   3304 See \`config.log' for more details." >&2;}
   3305    { (exit 77); exit 77; }; }; }
   3306 fi
   3307 
   3308 ac_exeext=$ac_cv_exeext
   3309 
   3310 # Check that the compiler produces executables we can run.  If not, either
   3311 # the compiler is broken, or we cross compile.
   3312 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3313 $as_echo_n "checking whether the C compiler works... " >&6; }
   3314 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3315 # If not cross compiling, check that we can run a simple program.
   3316 if test "$cross_compiling" != yes; then
   3317   if { ac_try='./$ac_file'
   3318   { (case "(($ac_try" in
   3319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3320   *) ac_try_echo=$ac_try;;
   3321 esac
   3322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3323 $as_echo "$ac_try_echo") >&5
   3324   (eval "$ac_try") 2>&5
   3325   ac_status=$?
   3326   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3327   (exit $ac_status); }; }; then
   3328     cross_compiling=no
   3329   else
   3330     if test "$cross_compiling" = maybe; then
   3331 	cross_compiling=yes
   3332     else
   3333 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3335 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3336 If you meant to cross compile, use \`--host'.
   3337 See \`config.log' for more details." >&5
   3338 $as_echo "$as_me: error: cannot run C compiled programs.
   3339 If you meant to cross compile, use \`--host'.
   3340 See \`config.log' for more details." >&2;}
   3341    { (exit 1); exit 1; }; }; }
   3342     fi
   3343   fi
   3344 fi
   3345 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3346 $as_echo "yes" >&6; }
   3347 
   3348 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3349 ac_clean_files=$ac_clean_files_save
   3350 # Check that the compiler produces executables we can run.  If not, either
   3351 # the compiler is broken, or we cross compile.
   3352 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3353 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3354 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3355 $as_echo "$cross_compiling" >&6; }
   3356 
   3357 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3358 $as_echo_n "checking for suffix of executables... " >&6; }
   3359 if { (ac_try="$ac_link"
   3360 case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3365 $as_echo "$ac_try_echo") >&5
   3366   (eval "$ac_link") 2>&5
   3367   ac_status=$?
   3368   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3369   (exit $ac_status); }; then
   3370   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3371 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3372 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3373 # `rm'.
   3374 for ac_file in conftest.exe conftest conftest.*; do
   3375   test -f "$ac_file" || continue
   3376   case $ac_file in
   3377     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3378     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3379 	  break;;
   3380     * ) break;;
   3381   esac
   3382 done
   3383 else
   3384   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3386 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3387 See \`config.log' for more details." >&5
   3388 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3389 See \`config.log' for more details." >&2;}
   3390    { (exit 1); exit 1; }; }; }
   3391 fi
   3392 
   3393 rm -f conftest$ac_cv_exeext
   3394 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3395 $as_echo "$ac_cv_exeext" >&6; }
   3396 
   3397 rm -f conftest.$ac_ext
   3398 EXEEXT=$ac_cv_exeext
   3399 ac_exeext=$EXEEXT
   3400 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3401 $as_echo_n "checking for suffix of object files... " >&6; }
   3402 if test "${ac_cv_objext+set}" = set; then
   3403   $as_echo_n "(cached) " >&6
   3404 else
   3405   cat >conftest.$ac_ext <<_ACEOF
   3406 /* confdefs.h.  */
   3407 _ACEOF
   3408 cat confdefs.h >>conftest.$ac_ext
   3409 cat >>conftest.$ac_ext <<_ACEOF
   3410 /* end confdefs.h.  */
   3411 
   3412 int
   3413 main ()
   3414 {
   3415 
   3416   ;
   3417   return 0;
   3418 }
   3419 _ACEOF
   3420 rm -f conftest.o conftest.obj
   3421 if { (ac_try="$ac_compile"
   3422 case "(($ac_try" in
   3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3424   *) ac_try_echo=$ac_try;;
   3425 esac
   3426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3427 $as_echo "$ac_try_echo") >&5
   3428   (eval "$ac_compile") 2>&5
   3429   ac_status=$?
   3430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3431   (exit $ac_status); }; then
   3432   for ac_file in conftest.o conftest.obj conftest.*; do
   3433   test -f "$ac_file" || continue;
   3434   case $ac_file in
   3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3436     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3437        break;;
   3438   esac
   3439 done
   3440 else
   3441   $as_echo "$as_me: failed program was:" >&5
   3442 sed 's/^/| /' conftest.$ac_ext >&5
   3443 
   3444 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3446 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3447 See \`config.log' for more details." >&5
   3448 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3449 See \`config.log' for more details." >&2;}
   3450    { (exit 1); exit 1; }; }; }
   3451 fi
   3452 
   3453 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3454 fi
   3455 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3456 $as_echo "$ac_cv_objext" >&6; }
   3457 OBJEXT=$ac_cv_objext
   3458 ac_objext=$OBJEXT
   3459 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3460 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3461 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3462   $as_echo_n "(cached) " >&6
   3463 else
   3464   cat >conftest.$ac_ext <<_ACEOF
   3465 /* confdefs.h.  */
   3466 _ACEOF
   3467 cat confdefs.h >>conftest.$ac_ext
   3468 cat >>conftest.$ac_ext <<_ACEOF
   3469 /* end confdefs.h.  */
   3470 
   3471 int
   3472 main ()
   3473 {
   3474 #ifndef __GNUC__
   3475        choke me
   3476 #endif
   3477 
   3478   ;
   3479   return 0;
   3480 }
   3481 _ACEOF
   3482 rm -f conftest.$ac_objext
   3483 if { (ac_try="$ac_compile"
   3484 case "(($ac_try" in
   3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3486   *) ac_try_echo=$ac_try;;
   3487 esac
   3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3489 $as_echo "$ac_try_echo") >&5
   3490   (eval "$ac_compile") 2>conftest.er1
   3491   ac_status=$?
   3492   grep -v '^ *+' conftest.er1 >conftest.err
   3493   rm -f conftest.er1
   3494   cat conftest.err >&5
   3495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3496   (exit $ac_status); } && {
   3497 	 test -z "$ac_c_werror_flag" ||
   3498 	 test ! -s conftest.err
   3499        } && test -s conftest.$ac_objext; then
   3500   ac_compiler_gnu=yes
   3501 else
   3502   $as_echo "$as_me: failed program was:" >&5
   3503 sed 's/^/| /' conftest.$ac_ext >&5
   3504 
   3505 	ac_compiler_gnu=no
   3506 fi
   3507 
   3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3509 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3510 
   3511 fi
   3512 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3513 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3514 if test $ac_compiler_gnu = yes; then
   3515   GCC=yes
   3516 else
   3517   GCC=
   3518 fi
   3519 ac_test_CFLAGS=${CFLAGS+set}
   3520 ac_save_CFLAGS=$CFLAGS
   3521 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3522 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3523 if test "${ac_cv_prog_cc_g+set}" = set; then
   3524   $as_echo_n "(cached) " >&6
   3525 else
   3526   ac_save_c_werror_flag=$ac_c_werror_flag
   3527    ac_c_werror_flag=yes
   3528    ac_cv_prog_cc_g=no
   3529    CFLAGS="-g"
   3530    cat >conftest.$ac_ext <<_ACEOF
   3531 /* confdefs.h.  */
   3532 _ACEOF
   3533 cat confdefs.h >>conftest.$ac_ext
   3534 cat >>conftest.$ac_ext <<_ACEOF
   3535 /* end confdefs.h.  */
   3536 
   3537 int
   3538 main ()
   3539 {
   3540 
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 rm -f conftest.$ac_objext
   3546 if { (ac_try="$ac_compile"
   3547 case "(($ac_try" in
   3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3549   *) ac_try_echo=$ac_try;;
   3550 esac
   3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3552 $as_echo "$ac_try_echo") >&5
   3553   (eval "$ac_compile") 2>conftest.er1
   3554   ac_status=$?
   3555   grep -v '^ *+' conftest.er1 >conftest.err
   3556   rm -f conftest.er1
   3557   cat conftest.err >&5
   3558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3559   (exit $ac_status); } && {
   3560 	 test -z "$ac_c_werror_flag" ||
   3561 	 test ! -s conftest.err
   3562        } && test -s conftest.$ac_objext; then
   3563   ac_cv_prog_cc_g=yes
   3564 else
   3565   $as_echo "$as_me: failed program was:" >&5
   3566 sed 's/^/| /' conftest.$ac_ext >&5
   3567 
   3568 	CFLAGS=""
   3569       cat >conftest.$ac_ext <<_ACEOF
   3570 /* confdefs.h.  */
   3571 _ACEOF
   3572 cat confdefs.h >>conftest.$ac_ext
   3573 cat >>conftest.$ac_ext <<_ACEOF
   3574 /* end confdefs.h.  */
   3575 
   3576 int
   3577 main ()
   3578 {
   3579 
   3580   ;
   3581   return 0;
   3582 }
   3583 _ACEOF
   3584 rm -f conftest.$ac_objext
   3585 if { (ac_try="$ac_compile"
   3586 case "(($ac_try" in
   3587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3588   *) ac_try_echo=$ac_try;;
   3589 esac
   3590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3591 $as_echo "$ac_try_echo") >&5
   3592   (eval "$ac_compile") 2>conftest.er1
   3593   ac_status=$?
   3594   grep -v '^ *+' conftest.er1 >conftest.err
   3595   rm -f conftest.er1
   3596   cat conftest.err >&5
   3597   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3598   (exit $ac_status); } && {
   3599 	 test -z "$ac_c_werror_flag" ||
   3600 	 test ! -s conftest.err
   3601        } && test -s conftest.$ac_objext; then
   3602   :
   3603 else
   3604   $as_echo "$as_me: failed program was:" >&5
   3605 sed 's/^/| /' conftest.$ac_ext >&5
   3606 
   3607 	ac_c_werror_flag=$ac_save_c_werror_flag
   3608 	 CFLAGS="-g"
   3609 	 cat >conftest.$ac_ext <<_ACEOF
   3610 /* confdefs.h.  */
   3611 _ACEOF
   3612 cat confdefs.h >>conftest.$ac_ext
   3613 cat >>conftest.$ac_ext <<_ACEOF
   3614 /* end confdefs.h.  */
   3615 
   3616 int
   3617 main ()
   3618 {
   3619 
   3620   ;
   3621   return 0;
   3622 }
   3623 _ACEOF
   3624 rm -f conftest.$ac_objext
   3625 if { (ac_try="$ac_compile"
   3626 case "(($ac_try" in
   3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3628   *) ac_try_echo=$ac_try;;
   3629 esac
   3630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3631 $as_echo "$ac_try_echo") >&5
   3632   (eval "$ac_compile") 2>conftest.er1
   3633   ac_status=$?
   3634   grep -v '^ *+' conftest.er1 >conftest.err
   3635   rm -f conftest.er1
   3636   cat conftest.err >&5
   3637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3638   (exit $ac_status); } && {
   3639 	 test -z "$ac_c_werror_flag" ||
   3640 	 test ! -s conftest.err
   3641        } && test -s conftest.$ac_objext; then
   3642   ac_cv_prog_cc_g=yes
   3643 else
   3644   $as_echo "$as_me: failed program was:" >&5
   3645 sed 's/^/| /' conftest.$ac_ext >&5
   3646 
   3647 
   3648 fi
   3649 
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651 fi
   3652 
   3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3654 fi
   3655 
   3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3657    ac_c_werror_flag=$ac_save_c_werror_flag
   3658 fi
   3659 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3660 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3661 if test "$ac_test_CFLAGS" = set; then
   3662   CFLAGS=$ac_save_CFLAGS
   3663 elif test $ac_cv_prog_cc_g = yes; then
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-g -O2"
   3666   else
   3667     CFLAGS="-g"
   3668   fi
   3669 else
   3670   if test "$GCC" = yes; then
   3671     CFLAGS="-O2"
   3672   else
   3673     CFLAGS=
   3674   fi
   3675 fi
   3676 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3678 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3679   $as_echo_n "(cached) " >&6
   3680 else
   3681   ac_cv_prog_cc_c89=no
   3682 ac_save_CC=$CC
   3683 cat >conftest.$ac_ext <<_ACEOF
   3684 /* confdefs.h.  */
   3685 _ACEOF
   3686 cat confdefs.h >>conftest.$ac_ext
   3687 cat >>conftest.$ac_ext <<_ACEOF
   3688 /* end confdefs.h.  */
   3689 #include <stdarg.h>
   3690 #include <stdio.h>
   3691 #include <sys/types.h>
   3692 #include <sys/stat.h>
   3693 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3694 struct buf { int x; };
   3695 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3696 static char *e (p, i)
   3697      char **p;
   3698      int i;
   3699 {
   3700   return p[i];
   3701 }
   3702 static char *f (char * (*g) (char **, int), char **p, ...)
   3703 {
   3704   char *s;
   3705   va_list v;
   3706   va_start (v,p);
   3707   s = g (p, va_arg (v,int));
   3708   va_end (v);
   3709   return s;
   3710 }
   3711 
   3712 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3713    function prototypes and stuff, but not '\xHH' hex character constants.
   3714    These don't provoke an error unfortunately, instead are silently treated
   3715    as 'x'.  The following induces an error, until -std is added to get
   3716    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3717    array size at least.  It's necessary to write '\x00'==0 to get something
   3718    that's true only with -std.  */
   3719 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3720 
   3721 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3722    inside strings and character constants.  */
   3723 #define FOO(x) 'x'
   3724 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3725 
   3726 int test (int i, double x);
   3727 struct s1 {int (*f) (int a);};
   3728 struct s2 {int (*f) (double a);};
   3729 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3730 int argc;
   3731 char **argv;
   3732 int
   3733 main ()
   3734 {
   3735 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3736   ;
   3737   return 0;
   3738 }
   3739 _ACEOF
   3740 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3741 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3742 do
   3743   CC="$ac_save_CC $ac_arg"
   3744   rm -f conftest.$ac_objext
   3745 if { (ac_try="$ac_compile"
   3746 case "(($ac_try" in
   3747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3748   *) ac_try_echo=$ac_try;;
   3749 esac
   3750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3751 $as_echo "$ac_try_echo") >&5
   3752   (eval "$ac_compile") 2>conftest.er1
   3753   ac_status=$?
   3754   grep -v '^ *+' conftest.er1 >conftest.err
   3755   rm -f conftest.er1
   3756   cat conftest.err >&5
   3757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3758   (exit $ac_status); } && {
   3759 	 test -z "$ac_c_werror_flag" ||
   3760 	 test ! -s conftest.err
   3761        } && test -s conftest.$ac_objext; then
   3762   ac_cv_prog_cc_c89=$ac_arg
   3763 else
   3764   $as_echo "$as_me: failed program was:" >&5
   3765 sed 's/^/| /' conftest.$ac_ext >&5
   3766 
   3767 
   3768 fi
   3769 
   3770 rm -f core conftest.err conftest.$ac_objext
   3771   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3772 done
   3773 rm -f conftest.$ac_ext
   3774 CC=$ac_save_CC
   3775 
   3776 fi
   3777 # AC_CACHE_VAL
   3778 case "x$ac_cv_prog_cc_c89" in
   3779   x)
   3780     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3781 $as_echo "none needed" >&6; } ;;
   3782   xno)
   3783     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3784 $as_echo "unsupported" >&6; } ;;
   3785   *)
   3786     CC="$CC $ac_cv_prog_cc_c89"
   3787     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3788 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3789 esac
   3790 
   3791 
   3792 ac_ext=c
   3793 ac_cpp='$CPP $CPPFLAGS'
   3794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3797 
   3798 depcc="$CC"   am_compiler_list=
   3799 
   3800 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3801 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3802 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3803   $as_echo_n "(cached) " >&6
   3804 else
   3805   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3806   # We make a subdir and do the tests there.  Otherwise we can end up
   3807   # making bogus files that we don't know about and never remove.  For
   3808   # instance it was reported that on HP-UX the gcc test will end up
   3809   # making a dummy file named `D' -- because `-MD' means `put the output
   3810   # in D'.
   3811   mkdir conftest.dir
   3812   # Copy depcomp to subdir because otherwise we won't find it if we're
   3813   # using a relative directory.
   3814   cp "$am_depcomp" conftest.dir
   3815   cd conftest.dir
   3816   # We will build objects and dependencies in a subdirectory because
   3817   # it helps to detect inapplicable dependency modes.  For instance
   3818   # both Tru64's cc and ICC support -MD to output dependencies as a
   3819   # side effect of compilation, but ICC will put the dependencies in
   3820   # the current directory while Tru64 will put them in the object
   3821   # directory.
   3822   mkdir sub
   3823 
   3824   am_cv_CC_dependencies_compiler_type=none
   3825   if test "$am_compiler_list" = ""; then
   3826      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3827   fi
   3828   am__universal=false
   3829   case " $depcc " in #(
   3830      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3831      esac
   3832 
   3833   for depmode in $am_compiler_list; do
   3834     # Setup a source with many dependencies, because some compilers
   3835     # like to wrap large dependency lists on column 80 (with \), and
   3836     # we should not choose a depcomp mode which is confused by this.
   3837     #
   3838     # We need to recreate these files for each test, as the compiler may
   3839     # overwrite some of them when testing with obscure command lines.
   3840     # This happens at least with the AIX C compiler.
   3841     : > sub/conftest.c
   3842     for i in 1 2 3 4 5 6; do
   3843       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3844       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3845       # Solaris 8's {/usr,}/bin/sh.
   3846       touch sub/conftst$i.h
   3847     done
   3848     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3849 
   3850     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3851     # mode.  It turns out that the SunPro C++ compiler does not properly
   3852     # handle `-M -o', and we need to detect this.  Also, some Intel
   3853     # versions had trouble with output in subdirs
   3854     am__obj=sub/conftest.${OBJEXT-o}
   3855     am__minus_obj="-o $am__obj"
   3856     case $depmode in
   3857     gcc)
   3858       # This depmode causes a compiler race in universal mode.
   3859       test "$am__universal" = false || continue
   3860       ;;
   3861     nosideeffect)
   3862       # after this tag, mechanisms are not by side-effect, so they'll
   3863       # only be used when explicitly requested
   3864       if test "x$enable_dependency_tracking" = xyes; then
   3865 	continue
   3866       else
   3867 	break
   3868       fi
   3869       ;;
   3870     msvisualcpp | msvcmsys)
   3871       # This compiler won't grok `-c -o', but also, the minuso test has
   3872       # not run yet.  These depmodes are late enough in the game, and
   3873       # so weak that their functioning should not be impacted.
   3874       am__obj=conftest.${OBJEXT-o}
   3875       am__minus_obj=
   3876       ;;
   3877     none) break ;;
   3878     esac
   3879     if depmode=$depmode \
   3880        source=sub/conftest.c object=$am__obj \
   3881        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3882        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3883          >/dev/null 2>conftest.err &&
   3884        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3885        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3886        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3887        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3888       # icc doesn't choke on unknown options, it will just issue warnings
   3889       # or remarks (even with -Werror).  So we grep stderr for any message
   3890       # that says an option was ignored or not supported.
   3891       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3892       #   icc: Command line warning: ignoring option '-M'; no argument required
   3893       # The diagnosis changed in icc 8.0:
   3894       #   icc: Command line remark: option '-MP' not supported
   3895       if (grep 'ignoring option' conftest.err ||
   3896           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3897         am_cv_CC_dependencies_compiler_type=$depmode
   3898         break
   3899       fi
   3900     fi
   3901   done
   3902 
   3903   cd ..
   3904   rm -rf conftest.dir
   3905 else
   3906   am_cv_CC_dependencies_compiler_type=none
   3907 fi
   3908 
   3909 fi
   3910 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3911 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3912 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3913 
   3914  if
   3915   test "x$enable_dependency_tracking" != xno \
   3916   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3917   am__fastdepCC_TRUE=
   3918   am__fastdepCC_FALSE='#'
   3919 else
   3920   am__fastdepCC_TRUE='#'
   3921   am__fastdepCC_FALSE=
   3922 fi
   3923 
   3924 
   3925 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3926 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3927 if test "${lt_cv_path_SED+set}" = set; then
   3928   $as_echo_n "(cached) " >&6
   3929 else
   3930   # Loop through the user's path and test for sed and gsed.
   3931 # Then use that list of sed's as ones to test for truncation.
   3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3933 for as_dir in $PATH
   3934 do
   3935   IFS=$as_save_IFS
   3936   test -z "$as_dir" && as_dir=.
   3937   for lt_ac_prog in sed gsed; do
   3938     for ac_exec_ext in '' $ac_executable_extensions; do
   3939       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3940         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3941       fi
   3942     done
   3943   done
   3944 done
   3945 IFS=$as_save_IFS
   3946 lt_ac_max=0
   3947 lt_ac_count=0
   3948 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3949 # along with /bin/sed that truncates output.
   3950 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3951   test ! -f $lt_ac_sed && continue
   3952   cat /dev/null > conftest.in
   3953   lt_ac_count=0
   3954   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3955   # Check for GNU sed and select it if it is found.
   3956   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3957     lt_cv_path_SED=$lt_ac_sed
   3958     break
   3959   fi
   3960   while true; do
   3961     cat conftest.in conftest.in >conftest.tmp
   3962     mv conftest.tmp conftest.in
   3963     cp conftest.in conftest.nl
   3964     echo >>conftest.nl
   3965     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3966     cmp -s conftest.out conftest.nl || break
   3967     # 10000 chars as input seems more than enough
   3968     test $lt_ac_count -gt 10 && break
   3969     lt_ac_count=`expr $lt_ac_count + 1`
   3970     if test $lt_ac_count -gt $lt_ac_max; then
   3971       lt_ac_max=$lt_ac_count
   3972       lt_cv_path_SED=$lt_ac_sed
   3973     fi
   3974   done
   3975 done
   3976 
   3977 fi
   3978 
   3979 SED=$lt_cv_path_SED
   3980 
   3981 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3982 $as_echo "$SED" >&6; }
   3983 
   3984 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3985 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3986 if test "${ac_cv_path_GREP+set}" = set; then
   3987   $as_echo_n "(cached) " >&6
   3988 else
   3989   if test -z "$GREP"; then
   3990   ac_path_GREP_found=false
   3991   # Loop through the user's path and test for each of PROGNAME-LIST
   3992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3993 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3994 do
   3995   IFS=$as_save_IFS
   3996   test -z "$as_dir" && as_dir=.
   3997   for ac_prog in grep ggrep; do
   3998     for ac_exec_ext in '' $ac_executable_extensions; do
   3999       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4000       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4001 # Check for GNU ac_path_GREP and select it if it is found.
   4002   # Check for GNU $ac_path_GREP
   4003 case `"$ac_path_GREP" --version 2>&1` in
   4004 *GNU*)
   4005   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4006 *)
   4007   ac_count=0
   4008   $as_echo_n 0123456789 >"conftest.in"
   4009   while :
   4010   do
   4011     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4012     mv "conftest.tmp" "conftest.in"
   4013     cp "conftest.in" "conftest.nl"
   4014     $as_echo 'GREP' >> "conftest.nl"
   4015     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4016     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4017     ac_count=`expr $ac_count + 1`
   4018     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4019       # Best one so far, save it but keep looking for a better one
   4020       ac_cv_path_GREP="$ac_path_GREP"
   4021       ac_path_GREP_max=$ac_count
   4022     fi
   4023     # 10*(2^10) chars as input seems more than enough
   4024     test $ac_count -gt 10 && break
   4025   done
   4026   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4027 esac
   4028 
   4029       $ac_path_GREP_found && break 3
   4030     done
   4031   done
   4032 done
   4033 IFS=$as_save_IFS
   4034   if test -z "$ac_cv_path_GREP"; then
   4035     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4036 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4037    { (exit 1); exit 1; }; }
   4038   fi
   4039 else
   4040   ac_cv_path_GREP=$GREP
   4041 fi
   4042 
   4043 fi
   4044 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4045 $as_echo "$ac_cv_path_GREP" >&6; }
   4046  GREP="$ac_cv_path_GREP"
   4047 
   4048 
   4049 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4050 $as_echo_n "checking for egrep... " >&6; }
   4051 if test "${ac_cv_path_EGREP+set}" = set; then
   4052   $as_echo_n "(cached) " >&6
   4053 else
   4054   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4055    then ac_cv_path_EGREP="$GREP -E"
   4056    else
   4057      if test -z "$EGREP"; then
   4058   ac_path_EGREP_found=false
   4059   # Loop through the user's path and test for each of PROGNAME-LIST
   4060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4061 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4062 do
   4063   IFS=$as_save_IFS
   4064   test -z "$as_dir" && as_dir=.
   4065   for ac_prog in egrep; do
   4066     for ac_exec_ext in '' $ac_executable_extensions; do
   4067       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4068       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4069 # Check for GNU ac_path_EGREP and select it if it is found.
   4070   # Check for GNU $ac_path_EGREP
   4071 case `"$ac_path_EGREP" --version 2>&1` in
   4072 *GNU*)
   4073   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4074 *)
   4075   ac_count=0
   4076   $as_echo_n 0123456789 >"conftest.in"
   4077   while :
   4078   do
   4079     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4080     mv "conftest.tmp" "conftest.in"
   4081     cp "conftest.in" "conftest.nl"
   4082     $as_echo 'EGREP' >> "conftest.nl"
   4083     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4084     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4085     ac_count=`expr $ac_count + 1`
   4086     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4087       # Best one so far, save it but keep looking for a better one
   4088       ac_cv_path_EGREP="$ac_path_EGREP"
   4089       ac_path_EGREP_max=$ac_count
   4090     fi
   4091     # 10*(2^10) chars as input seems more than enough
   4092     test $ac_count -gt 10 && break
   4093   done
   4094   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4095 esac
   4096 
   4097       $ac_path_EGREP_found && break 3
   4098     done
   4099   done
   4100 done
   4101 IFS=$as_save_IFS
   4102   if test -z "$ac_cv_path_EGREP"; then
   4103     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4104 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4105    { (exit 1); exit 1; }; }
   4106   fi
   4107 else
   4108   ac_cv_path_EGREP=$EGREP
   4109 fi
   4110 
   4111    fi
   4112 fi
   4113 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4114 $as_echo "$ac_cv_path_EGREP" >&6; }
   4115  EGREP="$ac_cv_path_EGREP"
   4116 
   4117 
   4118 
   4119 # Check whether --with-gnu-ld was given.
   4120 if test "${with_gnu_ld+set}" = set; then
   4121   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4122 else
   4123   with_gnu_ld=no
   4124 fi
   4125 
   4126 ac_prog=ld
   4127 if test "$GCC" = yes; then
   4128   # Check if gcc -print-prog-name=ld gives a path.
   4129   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4130 $as_echo_n "checking for ld used by $CC... " >&6; }
   4131   case $host in
   4132   *-*-mingw*)
   4133     # gcc leaves a trailing carriage return which upsets mingw
   4134     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4135   *)
   4136     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4137   esac
   4138   case $ac_prog in
   4139     # Accept absolute paths.
   4140     [\\/]* | ?:[\\/]*)
   4141       re_direlt='/[^/][^/]*/\.\./'
   4142       # Canonicalize the pathname of ld
   4143       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4144       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4145 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4146       done
   4147       test -z "$LD" && LD="$ac_prog"
   4148       ;;
   4149   "")
   4150     # If it fails, then pretend we aren't using GCC.
   4151     ac_prog=ld
   4152     ;;
   4153   *)
   4154     # If it is relative, then search for the first ld in PATH.
   4155     with_gnu_ld=unknown
   4156     ;;
   4157   esac
   4158 elif test "$with_gnu_ld" = yes; then
   4159   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4160 $as_echo_n "checking for GNU ld... " >&6; }
   4161 else
   4162   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4163 $as_echo_n "checking for non-GNU ld... " >&6; }
   4164 fi
   4165 if test "${lt_cv_path_LD+set}" = set; then
   4166   $as_echo_n "(cached) " >&6
   4167 else
   4168   if test -z "$LD"; then
   4169   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4170   for ac_dir in $PATH; do
   4171     IFS="$lt_save_ifs"
   4172     test -z "$ac_dir" && ac_dir=.
   4173     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4174       lt_cv_path_LD="$ac_dir/$ac_prog"
   4175       # Check to see if the program is GNU ld.  I'd rather use --version,
   4176       # but apparently some variants of GNU ld only accept -v.
   4177       # Break only if it was the GNU/non-GNU ld that we prefer.
   4178       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4179       *GNU* | *'with BFD'*)
   4180 	test "$with_gnu_ld" != no && break
   4181 	;;
   4182       *)
   4183 	test "$with_gnu_ld" != yes && break
   4184 	;;
   4185       esac
   4186     fi
   4187   done
   4188   IFS="$lt_save_ifs"
   4189 else
   4190   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4191 fi
   4192 fi
   4193 
   4194 LD="$lt_cv_path_LD"
   4195 if test -n "$LD"; then
   4196   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4197 $as_echo "$LD" >&6; }
   4198 else
   4199   { $as_echo "$as_me:$LINENO: result: no" >&5
   4200 $as_echo "no" >&6; }
   4201 fi
   4202 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4203 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4204    { (exit 1); exit 1; }; }
   4205 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4206 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4207 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4208   $as_echo_n "(cached) " >&6
   4209 else
   4210   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4211 case `$LD -v 2>&1 </dev/null` in
   4212 *GNU* | *'with BFD'*)
   4213   lt_cv_prog_gnu_ld=yes
   4214   ;;
   4215 *)
   4216   lt_cv_prog_gnu_ld=no
   4217   ;;
   4218 esac
   4219 fi
   4220 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4221 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4222 with_gnu_ld=$lt_cv_prog_gnu_ld
   4223 
   4224 
   4225 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4226 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4227 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4228   $as_echo_n "(cached) " >&6
   4229 else
   4230   lt_cv_ld_reload_flag='-r'
   4231 fi
   4232 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4233 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4234 reload_flag=$lt_cv_ld_reload_flag
   4235 case $reload_flag in
   4236 "" | " "*) ;;
   4237 *) reload_flag=" $reload_flag" ;;
   4238 esac
   4239 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4240 case $host_os in
   4241   darwin*)
   4242     if test "$GCC" = yes; then
   4243       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4244     else
   4245       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4246     fi
   4247     ;;
   4248 esac
   4249 
   4250 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4251 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4252 if test "${lt_cv_path_NM+set}" = set; then
   4253   $as_echo_n "(cached) " >&6
   4254 else
   4255   if test -n "$NM"; then
   4256   # Let the user override the test.
   4257   lt_cv_path_NM="$NM"
   4258 else
   4259   lt_nm_to_check="${ac_tool_prefix}nm"
   4260   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4261     lt_nm_to_check="$lt_nm_to_check nm"
   4262   fi
   4263   for lt_tmp_nm in $lt_nm_to_check; do
   4264     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4265     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4266       IFS="$lt_save_ifs"
   4267       test -z "$ac_dir" && ac_dir=.
   4268       tmp_nm="$ac_dir/$lt_tmp_nm"
   4269       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4270 	# Check to see if the nm accepts a BSD-compat flag.
   4271 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4272 	#   nm: unknown option "B" ignored
   4273 	# Tru64's nm complains that /dev/null is an invalid object file
   4274 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4275 	*/dev/null* | *'Invalid file or object type'*)
   4276 	  lt_cv_path_NM="$tmp_nm -B"
   4277 	  break
   4278 	  ;;
   4279 	*)
   4280 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4281 	  */dev/null*)
   4282 	    lt_cv_path_NM="$tmp_nm -p"
   4283 	    break
   4284 	    ;;
   4285 	  *)
   4286 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4287 	    continue # so that we can try to find one that supports BSD flags
   4288 	    ;;
   4289 	  esac
   4290 	  ;;
   4291 	esac
   4292       fi
   4293     done
   4294     IFS="$lt_save_ifs"
   4295   done
   4296   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4297 fi
   4298 fi
   4299 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4300 $as_echo "$lt_cv_path_NM" >&6; }
   4301 NM="$lt_cv_path_NM"
   4302 
   4303 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4304 $as_echo_n "checking whether ln -s works... " >&6; }
   4305 LN_S=$as_ln_s
   4306 if test "$LN_S" = "ln -s"; then
   4307   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4308 $as_echo "yes" >&6; }
   4309 else
   4310   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4311 $as_echo "no, using $LN_S" >&6; }
   4312 fi
   4313 
   4314 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4315 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4316 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4320 lt_cv_file_magic_test_file=
   4321 lt_cv_deplibs_check_method='unknown'
   4322 # Need to set the preceding variable on all platforms that support
   4323 # interlibrary dependencies.
   4324 # 'none' -- dependencies not supported.
   4325 # `unknown' -- same as none, but documents that we really don't know.
   4326 # 'pass_all' -- all dependencies passed with no checks.
   4327 # 'test_compile' -- check by making test program.
   4328 # 'file_magic [[regex]]' -- check by looking for files in library path
   4329 # which responds to the $file_magic_cmd with a given extended regex.
   4330 # If you have `file' or equivalent on your system and you're not sure
   4331 # whether `pass_all' will *always* work, you probably want this one.
   4332 
   4333 case $host_os in
   4334 aix[4-9]*)
   4335   lt_cv_deplibs_check_method=pass_all
   4336   ;;
   4337 
   4338 beos*)
   4339   lt_cv_deplibs_check_method=pass_all
   4340   ;;
   4341 
   4342 bsdi[45]*)
   4343   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4344   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4345   lt_cv_file_magic_test_file=/shlib/libc.so
   4346   ;;
   4347 
   4348 cygwin*)
   4349   # func_win32_libid is a shell function defined in ltmain.sh
   4350   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4351   lt_cv_file_magic_cmd='func_win32_libid'
   4352   ;;
   4353 
   4354 mingw* | pw32*)
   4355   # Base MSYS/MinGW do not provide the 'file' command needed by
   4356   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4357   # unless we find 'file', for example because we are cross-compiling.
   4358   if ( file / ) >/dev/null 2>&1; then
   4359     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4360     lt_cv_file_magic_cmd='func_win32_libid'
   4361   else
   4362     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4363     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4364   fi
   4365   ;;
   4366 
   4367 darwin* | rhapsody*)
   4368   lt_cv_deplibs_check_method=pass_all
   4369   ;;
   4370 
   4371 freebsd* | dragonfly*)
   4372   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4373     case $host_cpu in
   4374     i*86 )
   4375       # Not sure whether the presence of OpenBSD here was a mistake.
   4376       # Let's accept both of them until this is cleared up.
   4377       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4378       lt_cv_file_magic_cmd=/usr/bin/file
   4379       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4380       ;;
   4381     esac
   4382   else
   4383     lt_cv_deplibs_check_method=pass_all
   4384   fi
   4385   ;;
   4386 
   4387 gnu*)
   4388   lt_cv_deplibs_check_method=pass_all
   4389   ;;
   4390 
   4391 hpux10.20* | hpux11*)
   4392   lt_cv_file_magic_cmd=/usr/bin/file
   4393   case $host_cpu in
   4394   ia64*)
   4395     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4396     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4397     ;;
   4398   hppa*64*)
   4399     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]'
   4400     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4401     ;;
   4402   *)
   4403     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4404     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4405     ;;
   4406   esac
   4407   ;;
   4408 
   4409 interix[3-9]*)
   4410   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4411   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4412   ;;
   4413 
   4414 irix5* | irix6* | nonstopux*)
   4415   case $LD in
   4416   *-32|*"-32 ") libmagic=32-bit;;
   4417   *-n32|*"-n32 ") libmagic=N32;;
   4418   *-64|*"-64 ") libmagic=64-bit;;
   4419   *) libmagic=never-match;;
   4420   esac
   4421   lt_cv_deplibs_check_method=pass_all
   4422   ;;
   4423 
   4424 # This must be Linux ELF.
   4425 linux* | k*bsd*-gnu)
   4426   lt_cv_deplibs_check_method=pass_all
   4427   ;;
   4428 
   4429 netbsd*)
   4430   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4431     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4432   else
   4433     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4434   fi
   4435   ;;
   4436 
   4437 newos6*)
   4438   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4439   lt_cv_file_magic_cmd=/usr/bin/file
   4440   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4441   ;;
   4442 
   4443 nto-qnx*)
   4444   lt_cv_deplibs_check_method=unknown
   4445   ;;
   4446 
   4447 openbsd*)
   4448   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4449     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4450   else
   4451     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4452   fi
   4453   ;;
   4454 
   4455 osf3* | osf4* | osf5*)
   4456   lt_cv_deplibs_check_method=pass_all
   4457   ;;
   4458 
   4459 rdos*)
   4460   lt_cv_deplibs_check_method=pass_all
   4461   ;;
   4462 
   4463 solaris*)
   4464   lt_cv_deplibs_check_method=pass_all
   4465   ;;
   4466 
   4467 sysv4 | sysv4.3*)
   4468   case $host_vendor in
   4469   motorola)
   4470     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]'
   4471     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4472     ;;
   4473   ncr)
   4474     lt_cv_deplibs_check_method=pass_all
   4475     ;;
   4476   sequent)
   4477     lt_cv_file_magic_cmd='/bin/file'
   4478     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4479     ;;
   4480   sni)
   4481     lt_cv_file_magic_cmd='/bin/file'
   4482     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4483     lt_cv_file_magic_test_file=/lib/libc.so
   4484     ;;
   4485   siemens)
   4486     lt_cv_deplibs_check_method=pass_all
   4487     ;;
   4488   pc)
   4489     lt_cv_deplibs_check_method=pass_all
   4490     ;;
   4491   esac
   4492   ;;
   4493 
   4494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4495   lt_cv_deplibs_check_method=pass_all
   4496   ;;
   4497 esac
   4498 
   4499 fi
   4500 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4501 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4502 file_magic_cmd=$lt_cv_file_magic_cmd
   4503 deplibs_check_method=$lt_cv_deplibs_check_method
   4504 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4505 
   4506 
   4507 
   4508 
   4509 # If no C compiler was specified, use CC.
   4510 LTCC=${LTCC-"$CC"}
   4511 
   4512 # If no C compiler flags were specified, use CFLAGS.
   4513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4514 
   4515 # Allow CC to be a program name with arguments.
   4516 compiler=$CC
   4517 
   4518 
   4519 # Check whether --enable-libtool-lock was given.
   4520 if test "${enable_libtool_lock+set}" = set; then
   4521   enableval=$enable_libtool_lock;
   4522 fi
   4523 
   4524 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4525 
   4526 # Some flags need to be propagated to the compiler or linker for good
   4527 # libtool support.
   4528 case $host in
   4529 ia64-*-hpux*)
   4530   # Find out which ABI we are using.
   4531   echo 'int i;' > conftest.$ac_ext
   4532   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4533   (eval $ac_compile) 2>&5
   4534   ac_status=$?
   4535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4536   (exit $ac_status); }; then
   4537     case `/usr/bin/file conftest.$ac_objext` in
   4538     *ELF-32*)
   4539       HPUX_IA64_MODE="32"
   4540       ;;
   4541     *ELF-64*)
   4542       HPUX_IA64_MODE="64"
   4543       ;;
   4544     esac
   4545   fi
   4546   rm -rf conftest*
   4547   ;;
   4548 *-*-irix6*)
   4549   # Find out which ABI we are using.
   4550   echo '#line 4550 "configure"' > conftest.$ac_ext
   4551   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4552   (eval $ac_compile) 2>&5
   4553   ac_status=$?
   4554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4555   (exit $ac_status); }; then
   4556    if test "$lt_cv_prog_gnu_ld" = yes; then
   4557     case `/usr/bin/file conftest.$ac_objext` in
   4558     *32-bit*)
   4559       LD="${LD-ld} -melf32bsmip"
   4560       ;;
   4561     *N32*)
   4562       LD="${LD-ld} -melf32bmipn32"
   4563       ;;
   4564     *64-bit*)
   4565       LD="${LD-ld} -melf64bmip"
   4566       ;;
   4567     esac
   4568    else
   4569     case `/usr/bin/file conftest.$ac_objext` in
   4570     *32-bit*)
   4571       LD="${LD-ld} -32"
   4572       ;;
   4573     *N32*)
   4574       LD="${LD-ld} -n32"
   4575       ;;
   4576     *64-bit*)
   4577       LD="${LD-ld} -64"
   4578       ;;
   4579     esac
   4580    fi
   4581   fi
   4582   rm -rf conftest*
   4583   ;;
   4584 
   4585 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4586 s390*-*linux*|sparc*-*linux*)
   4587   # Find out which ABI we are using.
   4588   echo 'int i;' > conftest.$ac_ext
   4589   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4590   (eval $ac_compile) 2>&5
   4591   ac_status=$?
   4592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4593   (exit $ac_status); }; then
   4594     case `/usr/bin/file conftest.o` in
   4595     *32-bit*)
   4596       case $host in
   4597         x86_64-*kfreebsd*-gnu)
   4598           LD="${LD-ld} -m elf_i386_fbsd"
   4599           ;;
   4600         x86_64-*linux*)
   4601           LD="${LD-ld} -m elf_i386"
   4602           ;;
   4603         ppc64-*linux*|powerpc64-*linux*)
   4604           LD="${LD-ld} -m elf32ppclinux"
   4605           ;;
   4606         s390x-*linux*)
   4607           LD="${LD-ld} -m elf_s390"
   4608           ;;
   4609         sparc64-*linux*)
   4610           LD="${LD-ld} -m elf32_sparc"
   4611           ;;
   4612       esac
   4613       ;;
   4614     *64-bit*)
   4615       libsuff=64
   4616       case $host in
   4617         x86_64-*kfreebsd*-gnu)
   4618           LD="${LD-ld} -m elf_x86_64_fbsd"
   4619           ;;
   4620         x86_64-*linux*)
   4621           LD="${LD-ld} -m elf_x86_64"
   4622           ;;
   4623         ppc*-*linux*|powerpc*-*linux*)
   4624           LD="${LD-ld} -m elf64ppc"
   4625           ;;
   4626         s390*-*linux*)
   4627           LD="${LD-ld} -m elf64_s390"
   4628           ;;
   4629         sparc*-*linux*)
   4630           LD="${LD-ld} -m elf64_sparc"
   4631           ;;
   4632       esac
   4633       ;;
   4634     esac
   4635   fi
   4636   rm -rf conftest*
   4637   ;;
   4638 
   4639 *-*-sco3.2v5*)
   4640   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4641   SAVE_CFLAGS="$CFLAGS"
   4642   CFLAGS="$CFLAGS -belf"
   4643   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4644 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4645 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4646   $as_echo_n "(cached) " >&6
   4647 else
   4648   ac_ext=c
   4649 ac_cpp='$CPP $CPPFLAGS'
   4650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4653 
   4654      cat >conftest.$ac_ext <<_ACEOF
   4655 /* confdefs.h.  */
   4656 _ACEOF
   4657 cat confdefs.h >>conftest.$ac_ext
   4658 cat >>conftest.$ac_ext <<_ACEOF
   4659 /* end confdefs.h.  */
   4660 
   4661 int
   4662 main ()
   4663 {
   4664 
   4665   ;
   4666   return 0;
   4667 }
   4668 _ACEOF
   4669 rm -f conftest.$ac_objext conftest$ac_exeext
   4670 if { (ac_try="$ac_link"
   4671 case "(($ac_try" in
   4672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4673   *) ac_try_echo=$ac_try;;
   4674 esac
   4675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4676 $as_echo "$ac_try_echo") >&5
   4677   (eval "$ac_link") 2>conftest.er1
   4678   ac_status=$?
   4679   grep -v '^ *+' conftest.er1 >conftest.err
   4680   rm -f conftest.er1
   4681   cat conftest.err >&5
   4682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4683   (exit $ac_status); } && {
   4684 	 test -z "$ac_c_werror_flag" ||
   4685 	 test ! -s conftest.err
   4686        } && test -s conftest$ac_exeext && {
   4687 	 test "$cross_compiling" = yes ||
   4688 	 $as_test_x conftest$ac_exeext
   4689        }; then
   4690   lt_cv_cc_needs_belf=yes
   4691 else
   4692   $as_echo "$as_me: failed program was:" >&5
   4693 sed 's/^/| /' conftest.$ac_ext >&5
   4694 
   4695 	lt_cv_cc_needs_belf=no
   4696 fi
   4697 
   4698 rm -rf conftest.dSYM
   4699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4700       conftest$ac_exeext conftest.$ac_ext
   4701      ac_ext=c
   4702 ac_cpp='$CPP $CPPFLAGS'
   4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4706 
   4707 fi
   4708 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4709 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4710   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4711     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4712     CFLAGS="$SAVE_CFLAGS"
   4713   fi
   4714   ;;
   4715 sparc*-*solaris*)
   4716   # Find out which ABI we are using.
   4717   echo 'int i;' > conftest.$ac_ext
   4718   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4719   (eval $ac_compile) 2>&5
   4720   ac_status=$?
   4721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4722   (exit $ac_status); }; then
   4723     case `/usr/bin/file conftest.o` in
   4724     *64-bit*)
   4725       case $lt_cv_prog_gnu_ld in
   4726       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4727       *)
   4728         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4729 	  LD="${LD-ld} -64"
   4730 	fi
   4731 	;;
   4732       esac
   4733       ;;
   4734     esac
   4735   fi
   4736   rm -rf conftest*
   4737   ;;
   4738 
   4739 
   4740 esac
   4741 
   4742 need_locks="$enable_libtool_lock"
   4743 
   4744 
   4745 ac_ext=c
   4746 ac_cpp='$CPP $CPPFLAGS'
   4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4750 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4751 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4752 # On Suns, sometimes $CPP names a directory.
   4753 if test -n "$CPP" && test -d "$CPP"; then
   4754   CPP=
   4755 fi
   4756 if test -z "$CPP"; then
   4757   if test "${ac_cv_prog_CPP+set}" = set; then
   4758   $as_echo_n "(cached) " >&6
   4759 else
   4760       # Double quotes because CPP needs to be expanded
   4761     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4762     do
   4763       ac_preproc_ok=false
   4764 for ac_c_preproc_warn_flag in '' yes
   4765 do
   4766   # Use a header file that comes with gcc, so configuring glibc
   4767   # with a fresh cross-compiler works.
   4768   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4769   # <limits.h> exists even on freestanding compilers.
   4770   # On the NeXT, cc -E runs the code through the compiler's parser,
   4771   # not just through cpp. "Syntax error" is here to catch this case.
   4772   cat >conftest.$ac_ext <<_ACEOF
   4773 /* confdefs.h.  */
   4774 _ACEOF
   4775 cat confdefs.h >>conftest.$ac_ext
   4776 cat >>conftest.$ac_ext <<_ACEOF
   4777 /* end confdefs.h.  */
   4778 #ifdef __STDC__
   4779 # include <limits.h>
   4780 #else
   4781 # include <assert.h>
   4782 #endif
   4783 		     Syntax error
   4784 _ACEOF
   4785 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4786 case "(($ac_try" in
   4787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4788   *) ac_try_echo=$ac_try;;
   4789 esac
   4790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4791 $as_echo "$ac_try_echo") >&5
   4792   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4793   ac_status=$?
   4794   grep -v '^ *+' conftest.er1 >conftest.err
   4795   rm -f conftest.er1
   4796   cat conftest.err >&5
   4797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4798   (exit $ac_status); } >/dev/null && {
   4799 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4800 	 test ! -s conftest.err
   4801        }; then
   4802   :
   4803 else
   4804   $as_echo "$as_me: failed program was:" >&5
   4805 sed 's/^/| /' conftest.$ac_ext >&5
   4806 
   4807   # Broken: fails on valid input.
   4808 continue
   4809 fi
   4810 
   4811 rm -f conftest.err conftest.$ac_ext
   4812 
   4813   # OK, works on sane cases.  Now check whether nonexistent headers
   4814   # can be detected and how.
   4815   cat >conftest.$ac_ext <<_ACEOF
   4816 /* confdefs.h.  */
   4817 _ACEOF
   4818 cat confdefs.h >>conftest.$ac_ext
   4819 cat >>conftest.$ac_ext <<_ACEOF
   4820 /* end confdefs.h.  */
   4821 #include <ac_nonexistent.h>
   4822 _ACEOF
   4823 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4824 case "(($ac_try" in
   4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4826   *) ac_try_echo=$ac_try;;
   4827 esac
   4828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4829 $as_echo "$ac_try_echo") >&5
   4830   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4831   ac_status=$?
   4832   grep -v '^ *+' conftest.er1 >conftest.err
   4833   rm -f conftest.er1
   4834   cat conftest.err >&5
   4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4836   (exit $ac_status); } >/dev/null && {
   4837 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4838 	 test ! -s conftest.err
   4839        }; then
   4840   # Broken: success on invalid input.
   4841 continue
   4842 else
   4843   $as_echo "$as_me: failed program was:" >&5
   4844 sed 's/^/| /' conftest.$ac_ext >&5
   4845 
   4846   # Passes both tests.
   4847 ac_preproc_ok=:
   4848 break
   4849 fi
   4850 
   4851 rm -f conftest.err conftest.$ac_ext
   4852 
   4853 done
   4854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4855 rm -f conftest.err conftest.$ac_ext
   4856 if $ac_preproc_ok; then
   4857   break
   4858 fi
   4859 
   4860     done
   4861     ac_cv_prog_CPP=$CPP
   4862 
   4863 fi
   4864   CPP=$ac_cv_prog_CPP
   4865 else
   4866   ac_cv_prog_CPP=$CPP
   4867 fi
   4868 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4869 $as_echo "$CPP" >&6; }
   4870 ac_preproc_ok=false
   4871 for ac_c_preproc_warn_flag in '' yes
   4872 do
   4873   # Use a header file that comes with gcc, so configuring glibc
   4874   # with a fresh cross-compiler works.
   4875   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4876   # <limits.h> exists even on freestanding compilers.
   4877   # On the NeXT, cc -E runs the code through the compiler's parser,
   4878   # not just through cpp. "Syntax error" is here to catch this case.
   4879   cat >conftest.$ac_ext <<_ACEOF
   4880 /* confdefs.h.  */
   4881 _ACEOF
   4882 cat confdefs.h >>conftest.$ac_ext
   4883 cat >>conftest.$ac_ext <<_ACEOF
   4884 /* end confdefs.h.  */
   4885 #ifdef __STDC__
   4886 # include <limits.h>
   4887 #else
   4888 # include <assert.h>
   4889 #endif
   4890 		     Syntax error
   4891 _ACEOF
   4892 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4893 case "(($ac_try" in
   4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4895   *) ac_try_echo=$ac_try;;
   4896 esac
   4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4898 $as_echo "$ac_try_echo") >&5
   4899   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4900   ac_status=$?
   4901   grep -v '^ *+' conftest.er1 >conftest.err
   4902   rm -f conftest.er1
   4903   cat conftest.err >&5
   4904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4905   (exit $ac_status); } >/dev/null && {
   4906 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4907 	 test ! -s conftest.err
   4908        }; then
   4909   :
   4910 else
   4911   $as_echo "$as_me: failed program was:" >&5
   4912 sed 's/^/| /' conftest.$ac_ext >&5
   4913 
   4914   # Broken: fails on valid input.
   4915 continue
   4916 fi
   4917 
   4918 rm -f conftest.err conftest.$ac_ext
   4919 
   4920   # OK, works on sane cases.  Now check whether nonexistent headers
   4921   # can be detected and how.
   4922   cat >conftest.$ac_ext <<_ACEOF
   4923 /* confdefs.h.  */
   4924 _ACEOF
   4925 cat confdefs.h >>conftest.$ac_ext
   4926 cat >>conftest.$ac_ext <<_ACEOF
   4927 /* end confdefs.h.  */
   4928 #include <ac_nonexistent.h>
   4929 _ACEOF
   4930 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4931 case "(($ac_try" in
   4932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4933   *) ac_try_echo=$ac_try;;
   4934 esac
   4935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4936 $as_echo "$ac_try_echo") >&5
   4937   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4938   ac_status=$?
   4939   grep -v '^ *+' conftest.er1 >conftest.err
   4940   rm -f conftest.er1
   4941   cat conftest.err >&5
   4942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4943   (exit $ac_status); } >/dev/null && {
   4944 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4945 	 test ! -s conftest.err
   4946        }; then
   4947   # Broken: success on invalid input.
   4948 continue
   4949 else
   4950   $as_echo "$as_me: failed program was:" >&5
   4951 sed 's/^/| /' conftest.$ac_ext >&5
   4952 
   4953   # Passes both tests.
   4954 ac_preproc_ok=:
   4955 break
   4956 fi
   4957 
   4958 rm -f conftest.err conftest.$ac_ext
   4959 
   4960 done
   4961 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4962 rm -f conftest.err conftest.$ac_ext
   4963 if $ac_preproc_ok; then
   4964   :
   4965 else
   4966   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4968 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4969 See \`config.log' for more details." >&5
   4970 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4971 See \`config.log' for more details." >&2;}
   4972    { (exit 1); exit 1; }; }; }
   4973 fi
   4974 
   4975 ac_ext=c
   4976 ac_cpp='$CPP $CPPFLAGS'
   4977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4980 
   4981 
   4982 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4983 $as_echo_n "checking for ANSI C header files... " >&6; }
   4984 if test "${ac_cv_header_stdc+set}" = set; then
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   cat >conftest.$ac_ext <<_ACEOF
   4988 /* confdefs.h.  */
   4989 _ACEOF
   4990 cat confdefs.h >>conftest.$ac_ext
   4991 cat >>conftest.$ac_ext <<_ACEOF
   4992 /* end confdefs.h.  */
   4993 #include <stdlib.h>
   4994 #include <stdarg.h>
   4995 #include <string.h>
   4996 #include <float.h>
   4997 
   4998 int
   4999 main ()
   5000 {
   5001 
   5002   ;
   5003   return 0;
   5004 }
   5005 _ACEOF
   5006 rm -f conftest.$ac_objext
   5007 if { (ac_try="$ac_compile"
   5008 case "(($ac_try" in
   5009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5010   *) ac_try_echo=$ac_try;;
   5011 esac
   5012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5013 $as_echo "$ac_try_echo") >&5
   5014   (eval "$ac_compile") 2>conftest.er1
   5015   ac_status=$?
   5016   grep -v '^ *+' conftest.er1 >conftest.err
   5017   rm -f conftest.er1
   5018   cat conftest.err >&5
   5019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5020   (exit $ac_status); } && {
   5021 	 test -z "$ac_c_werror_flag" ||
   5022 	 test ! -s conftest.err
   5023        } && test -s conftest.$ac_objext; then
   5024   ac_cv_header_stdc=yes
   5025 else
   5026   $as_echo "$as_me: failed program was:" >&5
   5027 sed 's/^/| /' conftest.$ac_ext >&5
   5028 
   5029 	ac_cv_header_stdc=no
   5030 fi
   5031 
   5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5033 
   5034 if test $ac_cv_header_stdc = yes; then
   5035   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5036   cat >conftest.$ac_ext <<_ACEOF
   5037 /* confdefs.h.  */
   5038 _ACEOF
   5039 cat confdefs.h >>conftest.$ac_ext
   5040 cat >>conftest.$ac_ext <<_ACEOF
   5041 /* end confdefs.h.  */
   5042 #include <string.h>
   5043 
   5044 _ACEOF
   5045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5046   $EGREP "memchr" >/dev/null 2>&1; then
   5047   :
   5048 else
   5049   ac_cv_header_stdc=no
   5050 fi
   5051 rm -f conftest*
   5052 
   5053 fi
   5054 
   5055 if test $ac_cv_header_stdc = yes; then
   5056   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5057   cat >conftest.$ac_ext <<_ACEOF
   5058 /* confdefs.h.  */
   5059 _ACEOF
   5060 cat confdefs.h >>conftest.$ac_ext
   5061 cat >>conftest.$ac_ext <<_ACEOF
   5062 /* end confdefs.h.  */
   5063 #include <stdlib.h>
   5064 
   5065 _ACEOF
   5066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5067   $EGREP "free" >/dev/null 2>&1; then
   5068   :
   5069 else
   5070   ac_cv_header_stdc=no
   5071 fi
   5072 rm -f conftest*
   5073 
   5074 fi
   5075 
   5076 if test $ac_cv_header_stdc = yes; then
   5077   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5078   if test "$cross_compiling" = yes; then
   5079   :
   5080 else
   5081   cat >conftest.$ac_ext <<_ACEOF
   5082 /* confdefs.h.  */
   5083 _ACEOF
   5084 cat confdefs.h >>conftest.$ac_ext
   5085 cat >>conftest.$ac_ext <<_ACEOF
   5086 /* end confdefs.h.  */
   5087 #include <ctype.h>
   5088 #include <stdlib.h>
   5089 #if ((' ' & 0x0FF) == 0x020)
   5090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5092 #else
   5093 # define ISLOWER(c) \
   5094 		   (('a' <= (c) && (c) <= 'i') \
   5095 		     || ('j' <= (c) && (c) <= 'r') \
   5096 		     || ('s' <= (c) && (c) <= 'z'))
   5097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5098 #endif
   5099 
   5100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5101 int
   5102 main ()
   5103 {
   5104   int i;
   5105   for (i = 0; i < 256; i++)
   5106     if (XOR (islower (i), ISLOWER (i))
   5107 	|| toupper (i) != TOUPPER (i))
   5108       return 2;
   5109   return 0;
   5110 }
   5111 _ACEOF
   5112 rm -f conftest$ac_exeext
   5113 if { (ac_try="$ac_link"
   5114 case "(($ac_try" in
   5115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5116   *) ac_try_echo=$ac_try;;
   5117 esac
   5118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5119 $as_echo "$ac_try_echo") >&5
   5120   (eval "$ac_link") 2>&5
   5121   ac_status=$?
   5122   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5123   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5124   { (case "(($ac_try" in
   5125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5126   *) ac_try_echo=$ac_try;;
   5127 esac
   5128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5129 $as_echo "$ac_try_echo") >&5
   5130   (eval "$ac_try") 2>&5
   5131   ac_status=$?
   5132   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5133   (exit $ac_status); }; }; then
   5134   :
   5135 else
   5136   $as_echo "$as_me: program exited with status $ac_status" >&5
   5137 $as_echo "$as_me: failed program was:" >&5
   5138 sed 's/^/| /' conftest.$ac_ext >&5
   5139 
   5140 ( exit $ac_status )
   5141 ac_cv_header_stdc=no
   5142 fi
   5143 rm -rf conftest.dSYM
   5144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5145 fi
   5146 
   5147 
   5148 fi
   5149 fi
   5150 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5151 $as_echo "$ac_cv_header_stdc" >&6; }
   5152 if test $ac_cv_header_stdc = yes; then
   5153 
   5154 cat >>confdefs.h <<\_ACEOF
   5155 #define STDC_HEADERS 1
   5156 _ACEOF
   5157 
   5158 fi
   5159 
   5160 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5171 		  inttypes.h stdint.h unistd.h
   5172 do
   5173 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5174 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5175 $as_echo_n "checking for $ac_header... " >&6; }
   5176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5177   $as_echo_n "(cached) " >&6
   5178 else
   5179   cat >conftest.$ac_ext <<_ACEOF
   5180 /* confdefs.h.  */
   5181 _ACEOF
   5182 cat confdefs.h >>conftest.$ac_ext
   5183 cat >>conftest.$ac_ext <<_ACEOF
   5184 /* end confdefs.h.  */
   5185 $ac_includes_default
   5186 
   5187 #include <$ac_header>
   5188 _ACEOF
   5189 rm -f conftest.$ac_objext
   5190 if { (ac_try="$ac_compile"
   5191 case "(($ac_try" in
   5192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5193   *) ac_try_echo=$ac_try;;
   5194 esac
   5195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5196 $as_echo "$ac_try_echo") >&5
   5197   (eval "$ac_compile") 2>conftest.er1
   5198   ac_status=$?
   5199   grep -v '^ *+' conftest.er1 >conftest.err
   5200   rm -f conftest.er1
   5201   cat conftest.err >&5
   5202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5203   (exit $ac_status); } && {
   5204 	 test -z "$ac_c_werror_flag" ||
   5205 	 test ! -s conftest.err
   5206        } && test -s conftest.$ac_objext; then
   5207   eval "$as_ac_Header=yes"
   5208 else
   5209   $as_echo "$as_me: failed program was:" >&5
   5210 sed 's/^/| /' conftest.$ac_ext >&5
   5211 
   5212 	eval "$as_ac_Header=no"
   5213 fi
   5214 
   5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5216 fi
   5217 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5218 		 $as_echo "$as_val"'`
   5219 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5220 $as_echo "$ac_res" >&6; }
   5221 as_val=`eval 'as_val=${'$as_ac_Header'}
   5222 		 $as_echo "$as_val"'`
   5223    if test "x$as_val" = x""yes; then
   5224   cat >>confdefs.h <<_ACEOF
   5225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5226 _ACEOF
   5227 
   5228 fi
   5229 
   5230 done
   5231 
   5232 
   5233 
   5234 for ac_header in dlfcn.h
   5235 do
   5236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5238   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5239 $as_echo_n "checking for $ac_header... " >&6; }
   5240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5241   $as_echo_n "(cached) " >&6
   5242 fi
   5243 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5244 		 $as_echo "$as_val"'`
   5245 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5246 $as_echo "$ac_res" >&6; }
   5247 else
   5248   # Is the header compilable?
   5249 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5250 $as_echo_n "checking $ac_header usability... " >&6; }
   5251 cat >conftest.$ac_ext <<_ACEOF
   5252 /* confdefs.h.  */
   5253 _ACEOF
   5254 cat confdefs.h >>conftest.$ac_ext
   5255 cat >>conftest.$ac_ext <<_ACEOF
   5256 /* end confdefs.h.  */
   5257 $ac_includes_default
   5258 #include <$ac_header>
   5259 _ACEOF
   5260 rm -f conftest.$ac_objext
   5261 if { (ac_try="$ac_compile"
   5262 case "(($ac_try" in
   5263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5264   *) ac_try_echo=$ac_try;;
   5265 esac
   5266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5267 $as_echo "$ac_try_echo") >&5
   5268   (eval "$ac_compile") 2>conftest.er1
   5269   ac_status=$?
   5270   grep -v '^ *+' conftest.er1 >conftest.err
   5271   rm -f conftest.er1
   5272   cat conftest.err >&5
   5273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5274   (exit $ac_status); } && {
   5275 	 test -z "$ac_c_werror_flag" ||
   5276 	 test ! -s conftest.err
   5277        } && test -s conftest.$ac_objext; then
   5278   ac_header_compiler=yes
   5279 else
   5280   $as_echo "$as_me: failed program was:" >&5
   5281 sed 's/^/| /' conftest.$ac_ext >&5
   5282 
   5283 	ac_header_compiler=no
   5284 fi
   5285 
   5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5287 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5288 $as_echo "$ac_header_compiler" >&6; }
   5289 
   5290 # Is the header present?
   5291 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5292 $as_echo_n "checking $ac_header presence... " >&6; }
   5293 cat >conftest.$ac_ext <<_ACEOF
   5294 /* confdefs.h.  */
   5295 _ACEOF
   5296 cat confdefs.h >>conftest.$ac_ext
   5297 cat >>conftest.$ac_ext <<_ACEOF
   5298 /* end confdefs.h.  */
   5299 #include <$ac_header>
   5300 _ACEOF
   5301 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5302 case "(($ac_try" in
   5303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5304   *) ac_try_echo=$ac_try;;
   5305 esac
   5306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5307 $as_echo "$ac_try_echo") >&5
   5308   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5309   ac_status=$?
   5310   grep -v '^ *+' conftest.er1 >conftest.err
   5311   rm -f conftest.er1
   5312   cat conftest.err >&5
   5313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5314   (exit $ac_status); } >/dev/null && {
   5315 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5316 	 test ! -s conftest.err
   5317        }; then
   5318   ac_header_preproc=yes
   5319 else
   5320   $as_echo "$as_me: failed program was:" >&5
   5321 sed 's/^/| /' conftest.$ac_ext >&5
   5322 
   5323   ac_header_preproc=no
   5324 fi
   5325 
   5326 rm -f conftest.err conftest.$ac_ext
   5327 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5328 $as_echo "$ac_header_preproc" >&6; }
   5329 
   5330 # So?  What about this header?
   5331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5332   yes:no: )
   5333     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5334 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5335     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5336 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5337     ac_header_preproc=yes
   5338     ;;
   5339   no:yes:* )
   5340     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5341 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5342     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5343 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5344     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5345 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5346     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5347 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5348     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5349 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5350     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5351 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5352     ( cat <<\_ASBOX
   5353 ## ---------------------------------------------------------------------- ##
   5354 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5355 ## ---------------------------------------------------------------------- ##
   5356 _ASBOX
   5357      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5358     ;;
   5359 esac
   5360 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5361 $as_echo_n "checking for $ac_header... " >&6; }
   5362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   eval "$as_ac_Header=\$ac_header_preproc"
   5366 fi
   5367 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5368 		 $as_echo "$as_val"'`
   5369 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5370 $as_echo "$ac_res" >&6; }
   5371 
   5372 fi
   5373 as_val=`eval 'as_val=${'$as_ac_Header'}
   5374 		 $as_echo "$as_val"'`
   5375    if test "x$as_val" = x""yes; then
   5376   cat >>confdefs.h <<_ACEOF
   5377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5378 _ACEOF
   5379 
   5380 fi
   5381 
   5382 done
   5383 
   5384 ac_ext=cpp
   5385 ac_cpp='$CXXCPP $CPPFLAGS'
   5386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5389 if test -z "$CXX"; then
   5390   if test -n "$CCC"; then
   5391     CXX=$CCC
   5392   else
   5393     if test -n "$ac_tool_prefix"; then
   5394   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5395   do
   5396     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5399 $as_echo_n "checking for $ac_word... " >&6; }
   5400 if test "${ac_cv_prog_CXX+set}" = set; then
   5401   $as_echo_n "(cached) " >&6
   5402 else
   5403   if test -n "$CXX"; then
   5404   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5405 else
   5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5407 for as_dir in $PATH
   5408 do
   5409   IFS=$as_save_IFS
   5410   test -z "$as_dir" && as_dir=.
   5411   for ac_exec_ext in '' $ac_executable_extensions; do
   5412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5413     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5414     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5415     break 2
   5416   fi
   5417 done
   5418 done
   5419 IFS=$as_save_IFS
   5420 
   5421 fi
   5422 fi
   5423 CXX=$ac_cv_prog_CXX
   5424 if test -n "$CXX"; then
   5425   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5426 $as_echo "$CXX" >&6; }
   5427 else
   5428   { $as_echo "$as_me:$LINENO: result: no" >&5
   5429 $as_echo "no" >&6; }
   5430 fi
   5431 
   5432 
   5433     test -n "$CXX" && break
   5434   done
   5435 fi
   5436 if test -z "$CXX"; then
   5437   ac_ct_CXX=$CXX
   5438   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5439 do
   5440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5441 set dummy $ac_prog; ac_word=$2
   5442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5443 $as_echo_n "checking for $ac_word... " >&6; }
   5444 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5445   $as_echo_n "(cached) " >&6
   5446 else
   5447   if test -n "$ac_ct_CXX"; then
   5448   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5449 else
   5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5451 for as_dir in $PATH
   5452 do
   5453   IFS=$as_save_IFS
   5454   test -z "$as_dir" && as_dir=.
   5455   for ac_exec_ext in '' $ac_executable_extensions; do
   5456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5457     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5458     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5459     break 2
   5460   fi
   5461 done
   5462 done
   5463 IFS=$as_save_IFS
   5464 
   5465 fi
   5466 fi
   5467 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5468 if test -n "$ac_ct_CXX"; then
   5469   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5470 $as_echo "$ac_ct_CXX" >&6; }
   5471 else
   5472   { $as_echo "$as_me:$LINENO: result: no" >&5
   5473 $as_echo "no" >&6; }
   5474 fi
   5475 
   5476 
   5477   test -n "$ac_ct_CXX" && break
   5478 done
   5479 
   5480   if test "x$ac_ct_CXX" = x; then
   5481     CXX="g++"
   5482   else
   5483     case $cross_compiling:$ac_tool_warned in
   5484 yes:)
   5485 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5487 ac_tool_warned=yes ;;
   5488 esac
   5489     CXX=$ac_ct_CXX
   5490   fi
   5491 fi
   5492 
   5493   fi
   5494 fi
   5495 # Provide some information about the compiler.
   5496 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5497 set X $ac_compile
   5498 ac_compiler=$2
   5499 { (ac_try="$ac_compiler --version >&5"
   5500 case "(($ac_try" in
   5501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5502   *) ac_try_echo=$ac_try;;
   5503 esac
   5504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5505 $as_echo "$ac_try_echo") >&5
   5506   (eval "$ac_compiler --version >&5") 2>&5
   5507   ac_status=$?
   5508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5509   (exit $ac_status); }
   5510 { (ac_try="$ac_compiler -v >&5"
   5511 case "(($ac_try" in
   5512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5513   *) ac_try_echo=$ac_try;;
   5514 esac
   5515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5516 $as_echo "$ac_try_echo") >&5
   5517   (eval "$ac_compiler -v >&5") 2>&5
   5518   ac_status=$?
   5519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5520   (exit $ac_status); }
   5521 { (ac_try="$ac_compiler -V >&5"
   5522 case "(($ac_try" in
   5523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5524   *) ac_try_echo=$ac_try;;
   5525 esac
   5526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5527 $as_echo "$ac_try_echo") >&5
   5528   (eval "$ac_compiler -V >&5") 2>&5
   5529   ac_status=$?
   5530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5531   (exit $ac_status); }
   5532 
   5533 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5534 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5535 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat >conftest.$ac_ext <<_ACEOF
   5539 /* confdefs.h.  */
   5540 _ACEOF
   5541 cat confdefs.h >>conftest.$ac_ext
   5542 cat >>conftest.$ac_ext <<_ACEOF
   5543 /* end confdefs.h.  */
   5544 
   5545 int
   5546 main ()
   5547 {
   5548 #ifndef __GNUC__
   5549        choke me
   5550 #endif
   5551 
   5552   ;
   5553   return 0;
   5554 }
   5555 _ACEOF
   5556 rm -f conftest.$ac_objext
   5557 if { (ac_try="$ac_compile"
   5558 case "(($ac_try" in
   5559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5560   *) ac_try_echo=$ac_try;;
   5561 esac
   5562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5563 $as_echo "$ac_try_echo") >&5
   5564   (eval "$ac_compile") 2>conftest.er1
   5565   ac_status=$?
   5566   grep -v '^ *+' conftest.er1 >conftest.err
   5567   rm -f conftest.er1
   5568   cat conftest.err >&5
   5569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5570   (exit $ac_status); } && {
   5571 	 test -z "$ac_cxx_werror_flag" ||
   5572 	 test ! -s conftest.err
   5573        } && test -s conftest.$ac_objext; then
   5574   ac_compiler_gnu=yes
   5575 else
   5576   $as_echo "$as_me: failed program was:" >&5
   5577 sed 's/^/| /' conftest.$ac_ext >&5
   5578 
   5579 	ac_compiler_gnu=no
   5580 fi
   5581 
   5582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5584 
   5585 fi
   5586 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5588 if test $ac_compiler_gnu = yes; then
   5589   GXX=yes
   5590 else
   5591   GXX=
   5592 fi
   5593 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5594 ac_save_CXXFLAGS=$CXXFLAGS
   5595 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5597 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5598   $as_echo_n "(cached) " >&6
   5599 else
   5600   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5601    ac_cxx_werror_flag=yes
   5602    ac_cv_prog_cxx_g=no
   5603    CXXFLAGS="-g"
   5604    cat >conftest.$ac_ext <<_ACEOF
   5605 /* confdefs.h.  */
   5606 _ACEOF
   5607 cat confdefs.h >>conftest.$ac_ext
   5608 cat >>conftest.$ac_ext <<_ACEOF
   5609 /* end confdefs.h.  */
   5610 
   5611 int
   5612 main ()
   5613 {
   5614 
   5615   ;
   5616   return 0;
   5617 }
   5618 _ACEOF
   5619 rm -f conftest.$ac_objext
   5620 if { (ac_try="$ac_compile"
   5621 case "(($ac_try" in
   5622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5623   *) ac_try_echo=$ac_try;;
   5624 esac
   5625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5626 $as_echo "$ac_try_echo") >&5
   5627   (eval "$ac_compile") 2>conftest.er1
   5628   ac_status=$?
   5629   grep -v '^ *+' conftest.er1 >conftest.err
   5630   rm -f conftest.er1
   5631   cat conftest.err >&5
   5632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5633   (exit $ac_status); } && {
   5634 	 test -z "$ac_cxx_werror_flag" ||
   5635 	 test ! -s conftest.err
   5636        } && test -s conftest.$ac_objext; then
   5637   ac_cv_prog_cxx_g=yes
   5638 else
   5639   $as_echo "$as_me: failed program was:" >&5
   5640 sed 's/^/| /' conftest.$ac_ext >&5
   5641 
   5642 	CXXFLAGS=""
   5643       cat >conftest.$ac_ext <<_ACEOF
   5644 /* confdefs.h.  */
   5645 _ACEOF
   5646 cat confdefs.h >>conftest.$ac_ext
   5647 cat >>conftest.$ac_ext <<_ACEOF
   5648 /* end confdefs.h.  */
   5649 
   5650 int
   5651 main ()
   5652 {
   5653 
   5654   ;
   5655   return 0;
   5656 }
   5657 _ACEOF
   5658 rm -f conftest.$ac_objext
   5659 if { (ac_try="$ac_compile"
   5660 case "(($ac_try" in
   5661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5662   *) ac_try_echo=$ac_try;;
   5663 esac
   5664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5665 $as_echo "$ac_try_echo") >&5
   5666   (eval "$ac_compile") 2>conftest.er1
   5667   ac_status=$?
   5668   grep -v '^ *+' conftest.er1 >conftest.err
   5669   rm -f conftest.er1
   5670   cat conftest.err >&5
   5671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5672   (exit $ac_status); } && {
   5673 	 test -z "$ac_cxx_werror_flag" ||
   5674 	 test ! -s conftest.err
   5675        } && test -s conftest.$ac_objext; then
   5676   :
   5677 else
   5678   $as_echo "$as_me: failed program was:" >&5
   5679 sed 's/^/| /' conftest.$ac_ext >&5
   5680 
   5681 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5682 	 CXXFLAGS="-g"
   5683 	 cat >conftest.$ac_ext <<_ACEOF
   5684 /* confdefs.h.  */
   5685 _ACEOF
   5686 cat confdefs.h >>conftest.$ac_ext
   5687 cat >>conftest.$ac_ext <<_ACEOF
   5688 /* end confdefs.h.  */
   5689 
   5690 int
   5691 main ()
   5692 {
   5693 
   5694   ;
   5695   return 0;
   5696 }
   5697 _ACEOF
   5698 rm -f conftest.$ac_objext
   5699 if { (ac_try="$ac_compile"
   5700 case "(($ac_try" in
   5701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5702   *) ac_try_echo=$ac_try;;
   5703 esac
   5704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5705 $as_echo "$ac_try_echo") >&5
   5706   (eval "$ac_compile") 2>conftest.er1
   5707   ac_status=$?
   5708   grep -v '^ *+' conftest.er1 >conftest.err
   5709   rm -f conftest.er1
   5710   cat conftest.err >&5
   5711   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5712   (exit $ac_status); } && {
   5713 	 test -z "$ac_cxx_werror_flag" ||
   5714 	 test ! -s conftest.err
   5715        } && test -s conftest.$ac_objext; then
   5716   ac_cv_prog_cxx_g=yes
   5717 else
   5718   $as_echo "$as_me: failed program was:" >&5
   5719 sed 's/^/| /' conftest.$ac_ext >&5
   5720 
   5721 
   5722 fi
   5723 
   5724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5725 fi
   5726 
   5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5728 fi
   5729 
   5730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5731    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5732 fi
   5733 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5734 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5735 if test "$ac_test_CXXFLAGS" = set; then
   5736   CXXFLAGS=$ac_save_CXXFLAGS
   5737 elif test $ac_cv_prog_cxx_g = yes; then
   5738   if test "$GXX" = yes; then
   5739     CXXFLAGS="-g -O2"
   5740   else
   5741     CXXFLAGS="-g"
   5742   fi
   5743 else
   5744   if test "$GXX" = yes; then
   5745     CXXFLAGS="-O2"
   5746   else
   5747     CXXFLAGS=
   5748   fi
   5749 fi
   5750 ac_ext=cpp
   5751 ac_cpp='$CXXCPP $CPPFLAGS'
   5752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5755 
   5756 depcc="$CXX"  am_compiler_list=
   5757 
   5758 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5759 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5760 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5761   $as_echo_n "(cached) " >&6
   5762 else
   5763   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5764   # We make a subdir and do the tests there.  Otherwise we can end up
   5765   # making bogus files that we don't know about and never remove.  For
   5766   # instance it was reported that on HP-UX the gcc test will end up
   5767   # making a dummy file named `D' -- because `-MD' means `put the output
   5768   # in D'.
   5769   mkdir conftest.dir
   5770   # Copy depcomp to subdir because otherwise we won't find it if we're
   5771   # using a relative directory.
   5772   cp "$am_depcomp" conftest.dir
   5773   cd conftest.dir
   5774   # We will build objects and dependencies in a subdirectory because
   5775   # it helps to detect inapplicable dependency modes.  For instance
   5776   # both Tru64's cc and ICC support -MD to output dependencies as a
   5777   # side effect of compilation, but ICC will put the dependencies in
   5778   # the current directory while Tru64 will put them in the object
   5779   # directory.
   5780   mkdir sub
   5781 
   5782   am_cv_CXX_dependencies_compiler_type=none
   5783   if test "$am_compiler_list" = ""; then
   5784      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5785   fi
   5786   am__universal=false
   5787   case " $depcc " in #(
   5788      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5789      esac
   5790 
   5791   for depmode in $am_compiler_list; do
   5792     # Setup a source with many dependencies, because some compilers
   5793     # like to wrap large dependency lists on column 80 (with \), and
   5794     # we should not choose a depcomp mode which is confused by this.
   5795     #
   5796     # We need to recreate these files for each test, as the compiler may
   5797     # overwrite some of them when testing with obscure command lines.
   5798     # This happens at least with the AIX C compiler.
   5799     : > sub/conftest.c
   5800     for i in 1 2 3 4 5 6; do
   5801       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5802       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5803       # Solaris 8's {/usr,}/bin/sh.
   5804       touch sub/conftst$i.h
   5805     done
   5806     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5807 
   5808     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5809     # mode.  It turns out that the SunPro C++ compiler does not properly
   5810     # handle `-M -o', and we need to detect this.  Also, some Intel
   5811     # versions had trouble with output in subdirs
   5812     am__obj=sub/conftest.${OBJEXT-o}
   5813     am__minus_obj="-o $am__obj"
   5814     case $depmode in
   5815     gcc)
   5816       # This depmode causes a compiler race in universal mode.
   5817       test "$am__universal" = false || continue
   5818       ;;
   5819     nosideeffect)
   5820       # after this tag, mechanisms are not by side-effect, so they'll
   5821       # only be used when explicitly requested
   5822       if test "x$enable_dependency_tracking" = xyes; then
   5823 	continue
   5824       else
   5825 	break
   5826       fi
   5827       ;;
   5828     msvisualcpp | msvcmsys)
   5829       # This compiler won't grok `-c -o', but also, the minuso test has
   5830       # not run yet.  These depmodes are late enough in the game, and
   5831       # so weak that their functioning should not be impacted.
   5832       am__obj=conftest.${OBJEXT-o}
   5833       am__minus_obj=
   5834       ;;
   5835     none) break ;;
   5836     esac
   5837     if depmode=$depmode \
   5838        source=sub/conftest.c object=$am__obj \
   5839        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5840        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5841          >/dev/null 2>conftest.err &&
   5842        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5843        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5844        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5845        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5846       # icc doesn't choke on unknown options, it will just issue warnings
   5847       # or remarks (even with -Werror).  So we grep stderr for any message
   5848       # that says an option was ignored or not supported.
   5849       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5850       #   icc: Command line warning: ignoring option '-M'; no argument required
   5851       # The diagnosis changed in icc 8.0:
   5852       #   icc: Command line remark: option '-MP' not supported
   5853       if (grep 'ignoring option' conftest.err ||
   5854           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5855         am_cv_CXX_dependencies_compiler_type=$depmode
   5856         break
   5857       fi
   5858     fi
   5859   done
   5860 
   5861   cd ..
   5862   rm -rf conftest.dir
   5863 else
   5864   am_cv_CXX_dependencies_compiler_type=none
   5865 fi
   5866 
   5867 fi
   5868 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5869 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5870 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5871 
   5872  if
   5873   test "x$enable_dependency_tracking" != xno \
   5874   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5875   am__fastdepCXX_TRUE=
   5876   am__fastdepCXX_FALSE='#'
   5877 else
   5878   am__fastdepCXX_TRUE='#'
   5879   am__fastdepCXX_FALSE=
   5880 fi
   5881 
   5882 
   5883 
   5884 
   5885 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5886     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5887     (test "X$CXX" != "Xg++"))) ; then
   5888   ac_ext=cpp
   5889 ac_cpp='$CXXCPP $CPPFLAGS'
   5890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5893 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5894 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5895 if test -z "$CXXCPP"; then
   5896   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5897   $as_echo_n "(cached) " >&6
   5898 else
   5899       # Double quotes because CXXCPP needs to be expanded
   5900     for CXXCPP in "$CXX -E" "/lib/cpp"
   5901     do
   5902       ac_preproc_ok=false
   5903 for ac_cxx_preproc_warn_flag in '' yes
   5904 do
   5905   # Use a header file that comes with gcc, so configuring glibc
   5906   # with a fresh cross-compiler works.
   5907   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5908   # <limits.h> exists even on freestanding compilers.
   5909   # On the NeXT, cc -E runs the code through the compiler's parser,
   5910   # not just through cpp. "Syntax error" is here to catch this case.
   5911   cat >conftest.$ac_ext <<_ACEOF
   5912 /* confdefs.h.  */
   5913 _ACEOF
   5914 cat confdefs.h >>conftest.$ac_ext
   5915 cat >>conftest.$ac_ext <<_ACEOF
   5916 /* end confdefs.h.  */
   5917 #ifdef __STDC__
   5918 # include <limits.h>
   5919 #else
   5920 # include <assert.h>
   5921 #endif
   5922 		     Syntax error
   5923 _ACEOF
   5924 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5925 case "(($ac_try" in
   5926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5927   *) ac_try_echo=$ac_try;;
   5928 esac
   5929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5930 $as_echo "$ac_try_echo") >&5
   5931   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5932   ac_status=$?
   5933   grep -v '^ *+' conftest.er1 >conftest.err
   5934   rm -f conftest.er1
   5935   cat conftest.err >&5
   5936   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5937   (exit $ac_status); } >/dev/null && {
   5938 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5939 	 test ! -s conftest.err
   5940        }; then
   5941   :
   5942 else
   5943   $as_echo "$as_me: failed program was:" >&5
   5944 sed 's/^/| /' conftest.$ac_ext >&5
   5945 
   5946   # Broken: fails on valid input.
   5947 continue
   5948 fi
   5949 
   5950 rm -f conftest.err conftest.$ac_ext
   5951 
   5952   # OK, works on sane cases.  Now check whether nonexistent headers
   5953   # can be detected and how.
   5954   cat >conftest.$ac_ext <<_ACEOF
   5955 /* confdefs.h.  */
   5956 _ACEOF
   5957 cat confdefs.h >>conftest.$ac_ext
   5958 cat >>conftest.$ac_ext <<_ACEOF
   5959 /* end confdefs.h.  */
   5960 #include <ac_nonexistent.h>
   5961 _ACEOF
   5962 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5963 case "(($ac_try" in
   5964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5965   *) ac_try_echo=$ac_try;;
   5966 esac
   5967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5968 $as_echo "$ac_try_echo") >&5
   5969   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5970   ac_status=$?
   5971   grep -v '^ *+' conftest.er1 >conftest.err
   5972   rm -f conftest.er1
   5973   cat conftest.err >&5
   5974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5975   (exit $ac_status); } >/dev/null && {
   5976 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5977 	 test ! -s conftest.err
   5978        }; then
   5979   # Broken: success on invalid input.
   5980 continue
   5981 else
   5982   $as_echo "$as_me: failed program was:" >&5
   5983 sed 's/^/| /' conftest.$ac_ext >&5
   5984 
   5985   # Passes both tests.
   5986 ac_preproc_ok=:
   5987 break
   5988 fi
   5989 
   5990 rm -f conftest.err conftest.$ac_ext
   5991 
   5992 done
   5993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5994 rm -f conftest.err conftest.$ac_ext
   5995 if $ac_preproc_ok; then
   5996   break
   5997 fi
   5998 
   5999     done
   6000     ac_cv_prog_CXXCPP=$CXXCPP
   6001 
   6002 fi
   6003   CXXCPP=$ac_cv_prog_CXXCPP
   6004 else
   6005   ac_cv_prog_CXXCPP=$CXXCPP
   6006 fi
   6007 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6008 $as_echo "$CXXCPP" >&6; }
   6009 ac_preproc_ok=false
   6010 for ac_cxx_preproc_warn_flag in '' yes
   6011 do
   6012   # Use a header file that comes with gcc, so configuring glibc
   6013   # with a fresh cross-compiler works.
   6014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6015   # <limits.h> exists even on freestanding compilers.
   6016   # On the NeXT, cc -E runs the code through the compiler's parser,
   6017   # not just through cpp. "Syntax error" is here to catch this case.
   6018   cat >conftest.$ac_ext <<_ACEOF
   6019 /* confdefs.h.  */
   6020 _ACEOF
   6021 cat confdefs.h >>conftest.$ac_ext
   6022 cat >>conftest.$ac_ext <<_ACEOF
   6023 /* end confdefs.h.  */
   6024 #ifdef __STDC__
   6025 # include <limits.h>
   6026 #else
   6027 # include <assert.h>
   6028 #endif
   6029 		     Syntax error
   6030 _ACEOF
   6031 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6032 case "(($ac_try" in
   6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6034   *) ac_try_echo=$ac_try;;
   6035 esac
   6036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6037 $as_echo "$ac_try_echo") >&5
   6038   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6039   ac_status=$?
   6040   grep -v '^ *+' conftest.er1 >conftest.err
   6041   rm -f conftest.er1
   6042   cat conftest.err >&5
   6043   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6044   (exit $ac_status); } >/dev/null && {
   6045 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6046 	 test ! -s conftest.err
   6047        }; then
   6048   :
   6049 else
   6050   $as_echo "$as_me: failed program was:" >&5
   6051 sed 's/^/| /' conftest.$ac_ext >&5
   6052 
   6053   # Broken: fails on valid input.
   6054 continue
   6055 fi
   6056 
   6057 rm -f conftest.err conftest.$ac_ext
   6058 
   6059   # OK, works on sane cases.  Now check whether nonexistent headers
   6060   # can be detected and how.
   6061   cat >conftest.$ac_ext <<_ACEOF
   6062 /* confdefs.h.  */
   6063 _ACEOF
   6064 cat confdefs.h >>conftest.$ac_ext
   6065 cat >>conftest.$ac_ext <<_ACEOF
   6066 /* end confdefs.h.  */
   6067 #include <ac_nonexistent.h>
   6068 _ACEOF
   6069 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6070 case "(($ac_try" in
   6071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6072   *) ac_try_echo=$ac_try;;
   6073 esac
   6074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6075 $as_echo "$ac_try_echo") >&5
   6076   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6077   ac_status=$?
   6078   grep -v '^ *+' conftest.er1 >conftest.err
   6079   rm -f conftest.er1
   6080   cat conftest.err >&5
   6081   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6082   (exit $ac_status); } >/dev/null && {
   6083 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6084 	 test ! -s conftest.err
   6085        }; then
   6086   # Broken: success on invalid input.
   6087 continue
   6088 else
   6089   $as_echo "$as_me: failed program was:" >&5
   6090 sed 's/^/| /' conftest.$ac_ext >&5
   6091 
   6092   # Passes both tests.
   6093 ac_preproc_ok=:
   6094 break
   6095 fi
   6096 
   6097 rm -f conftest.err conftest.$ac_ext
   6098 
   6099 done
   6100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6101 rm -f conftest.err conftest.$ac_ext
   6102 if $ac_preproc_ok; then
   6103   :
   6104 else
   6105   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6107 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6108 See \`config.log' for more details." >&5
   6109 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6110 See \`config.log' for more details." >&2;}
   6111    { (exit 1); exit 1; }; }; }
   6112 fi
   6113 
   6114 ac_ext=cpp
   6115 ac_cpp='$CXXCPP $CPPFLAGS'
   6116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6119 
   6120 fi
   6121 
   6122 
   6123 ac_ext=f
   6124 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6125 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6126 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6127 if test -n "$ac_tool_prefix"; then
   6128   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
   6129   do
   6130     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6133 $as_echo_n "checking for $ac_word... " >&6; }
   6134 if test "${ac_cv_prog_F77+set}" = set; then
   6135   $as_echo_n "(cached) " >&6
   6136 else
   6137   if test -n "$F77"; then
   6138   ac_cv_prog_F77="$F77" # Let the user override the test.
   6139 else
   6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6141 for as_dir in $PATH
   6142 do
   6143   IFS=$as_save_IFS
   6144   test -z "$as_dir" && as_dir=.
   6145   for ac_exec_ext in '' $ac_executable_extensions; do
   6146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6147     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6148     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6149     break 2
   6150   fi
   6151 done
   6152 done
   6153 IFS=$as_save_IFS
   6154 
   6155 fi
   6156 fi
   6157 F77=$ac_cv_prog_F77
   6158 if test -n "$F77"; then
   6159   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6160 $as_echo "$F77" >&6; }
   6161 else
   6162   { $as_echo "$as_me:$LINENO: result: no" >&5
   6163 $as_echo "no" >&6; }
   6164 fi
   6165 
   6166 
   6167     test -n "$F77" && break
   6168   done
   6169 fi
   6170 if test -z "$F77"; then
   6171   ac_ct_F77=$F77
   6172   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
   6173 do
   6174   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6175 set dummy $ac_prog; ac_word=$2
   6176 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6177 $as_echo_n "checking for $ac_word... " >&6; }
   6178 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6179   $as_echo_n "(cached) " >&6
   6180 else
   6181   if test -n "$ac_ct_F77"; then
   6182   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6183 else
   6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6185 for as_dir in $PATH
   6186 do
   6187   IFS=$as_save_IFS
   6188   test -z "$as_dir" && as_dir=.
   6189   for ac_exec_ext in '' $ac_executable_extensions; do
   6190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6191     ac_cv_prog_ac_ct_F77="$ac_prog"
   6192     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6193     break 2
   6194   fi
   6195 done
   6196 done
   6197 IFS=$as_save_IFS
   6198 
   6199 fi
   6200 fi
   6201 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6202 if test -n "$ac_ct_F77"; then
   6203   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6204 $as_echo "$ac_ct_F77" >&6; }
   6205 else
   6206   { $as_echo "$as_me:$LINENO: result: no" >&5
   6207 $as_echo "no" >&6; }
   6208 fi
   6209 
   6210 
   6211   test -n "$ac_ct_F77" && break
   6212 done
   6213 
   6214   if test "x$ac_ct_F77" = x; then
   6215     F77=""
   6216   else
   6217     case $cross_compiling:$ac_tool_warned in
   6218 yes:)
   6219 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6221 ac_tool_warned=yes ;;
   6222 esac
   6223     F77=$ac_ct_F77
   6224   fi
   6225 fi
   6226 
   6227 
   6228 # Provide some information about the compiler.
   6229 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6230 set X $ac_compile
   6231 ac_compiler=$2
   6232 { (ac_try="$ac_compiler --version >&5"
   6233 case "(($ac_try" in
   6234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6235   *) ac_try_echo=$ac_try;;
   6236 esac
   6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6238 $as_echo "$ac_try_echo") >&5
   6239   (eval "$ac_compiler --version >&5") 2>&5
   6240   ac_status=$?
   6241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6242   (exit $ac_status); }
   6243 { (ac_try="$ac_compiler -v >&5"
   6244 case "(($ac_try" in
   6245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6246   *) ac_try_echo=$ac_try;;
   6247 esac
   6248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6249 $as_echo "$ac_try_echo") >&5
   6250   (eval "$ac_compiler -v >&5") 2>&5
   6251   ac_status=$?
   6252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6253   (exit $ac_status); }
   6254 { (ac_try="$ac_compiler -V >&5"
   6255 case "(($ac_try" in
   6256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6257   *) ac_try_echo=$ac_try;;
   6258 esac
   6259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6260 $as_echo "$ac_try_echo") >&5
   6261   (eval "$ac_compiler -V >&5") 2>&5
   6262   ac_status=$?
   6263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6264   (exit $ac_status); }
   6265 rm -f a.out
   6266 
   6267 # If we don't use `.F' as extension, the preprocessor is not run on the
   6268 # input file.  (Note that this only needs to work for GNU compilers.)
   6269 ac_save_ext=$ac_ext
   6270 ac_ext=F
   6271 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6272 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6273 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6274   $as_echo_n "(cached) " >&6
   6275 else
   6276   cat >conftest.$ac_ext <<_ACEOF
   6277       program main
   6278 #ifndef __GNUC__
   6279        choke me
   6280 #endif
   6281 
   6282       end
   6283 _ACEOF
   6284 rm -f conftest.$ac_objext
   6285 if { (ac_try="$ac_compile"
   6286 case "(($ac_try" in
   6287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6288   *) ac_try_echo=$ac_try;;
   6289 esac
   6290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6291 $as_echo "$ac_try_echo") >&5
   6292   (eval "$ac_compile") 2>conftest.er1
   6293   ac_status=$?
   6294   grep -v '^ *+' conftest.er1 >conftest.err
   6295   rm -f conftest.er1
   6296   cat conftest.err >&5
   6297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6298   (exit $ac_status); } && {
   6299 	 test -z "$ac_f77_werror_flag" ||
   6300 	 test ! -s conftest.err
   6301        } && test -s conftest.$ac_objext; then
   6302   ac_compiler_gnu=yes
   6303 else
   6304   $as_echo "$as_me: failed program was:" >&5
   6305 sed 's/^/| /' conftest.$ac_ext >&5
   6306 
   6307 	ac_compiler_gnu=no
   6308 fi
   6309 
   6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6311 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6312 
   6313 fi
   6314 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6315 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6316 ac_ext=$ac_save_ext
   6317 ac_test_FFLAGS=${FFLAGS+set}
   6318 ac_save_FFLAGS=$FFLAGS
   6319 FFLAGS=
   6320 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6321 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6322 if test "${ac_cv_prog_f77_g+set}" = set; then
   6323   $as_echo_n "(cached) " >&6
   6324 else
   6325   FFLAGS=-g
   6326 cat >conftest.$ac_ext <<_ACEOF
   6327       program main
   6328 
   6329       end
   6330 _ACEOF
   6331 rm -f conftest.$ac_objext
   6332 if { (ac_try="$ac_compile"
   6333 case "(($ac_try" in
   6334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6335   *) ac_try_echo=$ac_try;;
   6336 esac
   6337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6338 $as_echo "$ac_try_echo") >&5
   6339   (eval "$ac_compile") 2>conftest.er1
   6340   ac_status=$?
   6341   grep -v '^ *+' conftest.er1 >conftest.err
   6342   rm -f conftest.er1
   6343   cat conftest.err >&5
   6344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6345   (exit $ac_status); } && {
   6346 	 test -z "$ac_f77_werror_flag" ||
   6347 	 test ! -s conftest.err
   6348        } && test -s conftest.$ac_objext; then
   6349   ac_cv_prog_f77_g=yes
   6350 else
   6351   $as_echo "$as_me: failed program was:" >&5
   6352 sed 's/^/| /' conftest.$ac_ext >&5
   6353 
   6354 	ac_cv_prog_f77_g=no
   6355 fi
   6356 
   6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6358 
   6359 fi
   6360 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6361 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6362 if test "$ac_test_FFLAGS" = set; then
   6363   FFLAGS=$ac_save_FFLAGS
   6364 elif test $ac_cv_prog_f77_g = yes; then
   6365   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6366     FFLAGS="-g -O2"
   6367   else
   6368     FFLAGS="-g"
   6369   fi
   6370 else
   6371   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6372     FFLAGS="-O2"
   6373   else
   6374     FFLAGS=
   6375   fi
   6376 fi
   6377 
   6378 if test $ac_compiler_gnu = yes; then
   6379   G77=yes
   6380 else
   6381   G77=
   6382 fi
   6383 ac_ext=c
   6384 ac_cpp='$CPP $CPPFLAGS'
   6385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6388 
   6389 
   6390 
   6391 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6392 # find the maximum length of command line arguments
   6393 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6394 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6395 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6396   $as_echo_n "(cached) " >&6
   6397 else
   6398     i=0
   6399   teststring="ABCD"
   6400 
   6401   case $build_os in
   6402   msdosdjgpp*)
   6403     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6404     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6405     # during glob expansion).  Even if it were fixed, the result of this
   6406     # check would be larger than it should be.
   6407     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6408     ;;
   6409 
   6410   gnu*)
   6411     # Under GNU Hurd, this test is not required because there is
   6412     # no limit to the length of command line arguments.
   6413     # Libtool will interpret -1 as no limit whatsoever
   6414     lt_cv_sys_max_cmd_len=-1;
   6415     ;;
   6416 
   6417   cygwin* | mingw*)
   6418     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6419     # about 5 minutes as the teststring grows exponentially.
   6420     # Worse, since 9x/ME are not pre-emptively multitasking,
   6421     # you end up with a "frozen" computer, even though with patience
   6422     # the test eventually succeeds (with a max line length of 256k).
   6423     # Instead, let's just punt: use the minimum linelength reported by
   6424     # all of the supported platforms: 8192 (on NT/2K/XP).
   6425     lt_cv_sys_max_cmd_len=8192;
   6426     ;;
   6427 
   6428   amigaos*)
   6429     # On AmigaOS with pdksh, this test takes hours, literally.
   6430     # So we just punt and use a minimum line length of 8192.
   6431     lt_cv_sys_max_cmd_len=8192;
   6432     ;;
   6433 
   6434   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6435     # This has been around since 386BSD, at least.  Likely further.
   6436     if test -x /sbin/sysctl; then
   6437       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6438     elif test -x /usr/sbin/sysctl; then
   6439       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6440     else
   6441       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6442     fi
   6443     # And add a safety zone
   6444     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6445     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6446     ;;
   6447 
   6448   interix*)
   6449     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6450     lt_cv_sys_max_cmd_len=196608
   6451     ;;
   6452 
   6453   osf*)
   6454     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6455     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6456     # nice to cause kernel panics so lets avoid the loop below.
   6457     # First set a reasonable default.
   6458     lt_cv_sys_max_cmd_len=16384
   6459     #
   6460     if test -x /sbin/sysconfig; then
   6461       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6462         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6463       esac
   6464     fi
   6465     ;;
   6466   sco3.2v5*)
   6467     lt_cv_sys_max_cmd_len=102400
   6468     ;;
   6469   sysv5* | sco5v6* | sysv4.2uw2*)
   6470     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6471     if test -n "$kargmax"; then
   6472       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6473     else
   6474       lt_cv_sys_max_cmd_len=32768
   6475     fi
   6476     ;;
   6477   *)
   6478     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6479     if test -n "$lt_cv_sys_max_cmd_len"; then
   6480       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6481       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6482     else
   6483       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6484       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6485 	       = "XX$teststring") >/dev/null 2>&1 &&
   6486 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6487 	      lt_cv_sys_max_cmd_len=$new_result &&
   6488 	      test $i != 17 # 1/2 MB should be enough
   6489       do
   6490         i=`expr $i + 1`
   6491         teststring=$teststring$teststring
   6492       done
   6493       teststring=
   6494       # Add a significant safety factor because C++ compilers can tack on massive
   6495       # amounts of additional arguments before passing them to the linker.
   6496       # It appears as though 1/2 is a usable value.
   6497       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6498     fi
   6499     ;;
   6500   esac
   6501 
   6502 fi
   6503 
   6504 if test -n $lt_cv_sys_max_cmd_len ; then
   6505   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6506 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6507 else
   6508   { $as_echo "$as_me:$LINENO: result: none" >&5
   6509 $as_echo "none" >&6; }
   6510 fi
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6517 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6518 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6519 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522 
   6523 # These are sane defaults that work on at least a few old systems.
   6524 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6525 
   6526 # Character class describing NM global symbol codes.
   6527 symcode='[BCDEGRST]'
   6528 
   6529 # Regexp to match symbols that can be accessed directly from C.
   6530 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6531 
   6532 # Transform an extracted symbol line into a proper C declaration
   6533 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6534 
   6535 # Transform an extracted symbol line into symbol name and symbol address
   6536 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'"
   6537 
   6538 # Define system-specific variables.
   6539 case $host_os in
   6540 aix*)
   6541   symcode='[BCDT]'
   6542   ;;
   6543 cygwin* | mingw* | pw32*)
   6544   symcode='[ABCDGISTW]'
   6545   ;;
   6546 hpux*) # Its linker distinguishes data from code symbols
   6547   if test "$host_cpu" = ia64; then
   6548     symcode='[ABCDEGRST]'
   6549   fi
   6550   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6551   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'"
   6552   ;;
   6553 linux* | k*bsd*-gnu)
   6554   if test "$host_cpu" = ia64; then
   6555     symcode='[ABCDGIRSTW]'
   6556     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6557     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'"
   6558   fi
   6559   ;;
   6560 irix* | nonstopux*)
   6561   symcode='[BCDEGRST]'
   6562   ;;
   6563 osf*)
   6564   symcode='[BCDEGQRST]'
   6565   ;;
   6566 solaris*)
   6567   symcode='[BDRT]'
   6568   ;;
   6569 sco3.2v5*)
   6570   symcode='[DT]'
   6571   ;;
   6572 sysv4.2uw2*)
   6573   symcode='[DT]'
   6574   ;;
   6575 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6576   symcode='[ABDT]'
   6577   ;;
   6578 sysv4)
   6579   symcode='[DFNSTU]'
   6580   ;;
   6581 esac
   6582 
   6583 # Handle CRLF in mingw tool chain
   6584 opt_cr=
   6585 case $build_os in
   6586 mingw*)
   6587   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6588   ;;
   6589 esac
   6590 
   6591 # If we're using GNU nm, then use its standard symbol codes.
   6592 case `$NM -V 2>&1` in
   6593 *GNU* | *'with BFD'*)
   6594   symcode='[ABCDGIRSTW]' ;;
   6595 esac
   6596 
   6597 # Try without a prefix undercore, then with it.
   6598 for ac_symprfx in "" "_"; do
   6599 
   6600   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6601   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6602 
   6603   # Write the raw and C identifiers.
   6604   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6605 
   6606   # Check to see that the pipe works correctly.
   6607   pipe_works=no
   6608 
   6609   rm -f conftest*
   6610   cat > conftest.$ac_ext <<EOF
   6611 #ifdef __cplusplus
   6612 extern "C" {
   6613 #endif
   6614 char nm_test_var;
   6615 void nm_test_func(){}
   6616 #ifdef __cplusplus
   6617 }
   6618 #endif
   6619 int main(){nm_test_var='a';nm_test_func();return(0);}
   6620 EOF
   6621 
   6622   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6623   (eval $ac_compile) 2>&5
   6624   ac_status=$?
   6625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6626   (exit $ac_status); }; then
   6627     # Now try to grab the symbols.
   6628     nlist=conftest.nm
   6629     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6630   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6631   ac_status=$?
   6632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6633   (exit $ac_status); } && test -s "$nlist"; then
   6634       # Try sorting and uniquifying the output.
   6635       if sort "$nlist" | uniq > "$nlist"T; then
   6636 	mv -f "$nlist"T "$nlist"
   6637       else
   6638 	rm -f "$nlist"T
   6639       fi
   6640 
   6641       # Make sure that we snagged all the symbols we need.
   6642       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6643 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6644 	  cat <<EOF > conftest.$ac_ext
   6645 #ifdef __cplusplus
   6646 extern "C" {
   6647 #endif
   6648 
   6649 EOF
   6650 	  # Now generate the symbol file.
   6651 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6652 
   6653 	  cat <<EOF >> conftest.$ac_ext
   6654 #if defined (__STDC__) && __STDC__
   6655 # define lt_ptr_t void *
   6656 #else
   6657 # define lt_ptr_t char *
   6658 # define const
   6659 #endif
   6660 
   6661 /* The mapping between symbol names and symbols. */
   6662 const struct {
   6663   const char *name;
   6664   lt_ptr_t address;
   6665 }
   6666 lt_preloaded_symbols[] =
   6667 {
   6668 EOF
   6669 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6670 	  cat <<\EOF >> conftest.$ac_ext
   6671   {0, (lt_ptr_t) 0}
   6672 };
   6673 
   6674 #ifdef __cplusplus
   6675 }
   6676 #endif
   6677 EOF
   6678 	  # Now try linking the two files.
   6679 	  mv conftest.$ac_objext conftstm.$ac_objext
   6680 	  lt_save_LIBS="$LIBS"
   6681 	  lt_save_CFLAGS="$CFLAGS"
   6682 	  LIBS="conftstm.$ac_objext"
   6683 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6684 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6685   (eval $ac_link) 2>&5
   6686   ac_status=$?
   6687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6688   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6689 	    pipe_works=yes
   6690 	  fi
   6691 	  LIBS="$lt_save_LIBS"
   6692 	  CFLAGS="$lt_save_CFLAGS"
   6693 	else
   6694 	  echo "cannot find nm_test_func in $nlist" >&5
   6695 	fi
   6696       else
   6697 	echo "cannot find nm_test_var in $nlist" >&5
   6698       fi
   6699     else
   6700       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6701     fi
   6702   else
   6703     echo "$progname: failed program was:" >&5
   6704     cat conftest.$ac_ext >&5
   6705   fi
   6706   rm -rf conftest* conftst*
   6707 
   6708   # Do not use the global_symbol_pipe unless it works.
   6709   if test "$pipe_works" = yes; then
   6710     break
   6711   else
   6712     lt_cv_sys_global_symbol_pipe=
   6713   fi
   6714 done
   6715 
   6716 fi
   6717 
   6718 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6719   lt_cv_sys_global_symbol_to_cdecl=
   6720 fi
   6721 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6722   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6723 $as_echo "failed" >&6; }
   6724 else
   6725   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6726 $as_echo "ok" >&6; }
   6727 fi
   6728 
   6729 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6730 $as_echo_n "checking for objdir... " >&6; }
   6731 if test "${lt_cv_objdir+set}" = set; then
   6732   $as_echo_n "(cached) " >&6
   6733 else
   6734   rm -f .libs 2>/dev/null
   6735 mkdir .libs 2>/dev/null
   6736 if test -d .libs; then
   6737   lt_cv_objdir=.libs
   6738 else
   6739   # MS-DOS does not allow filenames that begin with a dot.
   6740   lt_cv_objdir=_libs
   6741 fi
   6742 rmdir .libs 2>/dev/null
   6743 fi
   6744 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6745 $as_echo "$lt_cv_objdir" >&6; }
   6746 objdir=$lt_cv_objdir
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 case $host_os in
   6753 aix3*)
   6754   # AIX sometimes has problems with the GCC collect2 program.  For some
   6755   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6756   # vanish in a puff of smoke.
   6757   if test "X${COLLECT_NAMES+set}" != Xset; then
   6758     COLLECT_NAMES=
   6759     export COLLECT_NAMES
   6760   fi
   6761   ;;
   6762 esac
   6763 
   6764 # Sed substitution that helps us do robust quoting.  It backslashifies
   6765 # metacharacters that are still active within double-quoted strings.
   6766 Xsed='sed -e 1s/^X//'
   6767 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6768 
   6769 # Same as above, but do not quote variable references.
   6770 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6771 
   6772 # Sed substitution to delay expansion of an escaped shell variable in a
   6773 # double_quote_subst'ed string.
   6774 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6775 
   6776 # Sed substitution to avoid accidental globbing in evaled expressions
   6777 no_glob_subst='s/\*/\\\*/g'
   6778 
   6779 # Constants:
   6780 rm="rm -f"
   6781 
   6782 # Global variables:
   6783 default_ofile=libtool
   6784 can_build_shared=yes
   6785 
   6786 # All known linkers require a `.a' archive for static linking (except MSVC,
   6787 # which needs '.lib').
   6788 libext=a
   6789 ltmain="$ac_aux_dir/ltmain.sh"
   6790 ofile="$default_ofile"
   6791 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6792 
   6793 if test -n "$ac_tool_prefix"; then
   6794   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6795 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6797 $as_echo_n "checking for $ac_word... " >&6; }
   6798 if test "${ac_cv_prog_AR+set}" = set; then
   6799   $as_echo_n "(cached) " >&6
   6800 else
   6801   if test -n "$AR"; then
   6802   ac_cv_prog_AR="$AR" # Let the user override the test.
   6803 else
   6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6805 for as_dir in $PATH
   6806 do
   6807   IFS=$as_save_IFS
   6808   test -z "$as_dir" && as_dir=.
   6809   for ac_exec_ext in '' $ac_executable_extensions; do
   6810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6811     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6812     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6813     break 2
   6814   fi
   6815 done
   6816 done
   6817 IFS=$as_save_IFS
   6818 
   6819 fi
   6820 fi
   6821 AR=$ac_cv_prog_AR
   6822 if test -n "$AR"; then
   6823   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6824 $as_echo "$AR" >&6; }
   6825 else
   6826   { $as_echo "$as_me:$LINENO: result: no" >&5
   6827 $as_echo "no" >&6; }
   6828 fi
   6829 
   6830 
   6831 fi
   6832 if test -z "$ac_cv_prog_AR"; then
   6833   ac_ct_AR=$AR
   6834   # Extract the first word of "ar", so it can be a program name with args.
   6835 set dummy ar; ac_word=$2
   6836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6837 $as_echo_n "checking for $ac_word... " >&6; }
   6838 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6839   $as_echo_n "(cached) " >&6
   6840 else
   6841   if test -n "$ac_ct_AR"; then
   6842   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6843 else
   6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6845 for as_dir in $PATH
   6846 do
   6847   IFS=$as_save_IFS
   6848   test -z "$as_dir" && as_dir=.
   6849   for ac_exec_ext in '' $ac_executable_extensions; do
   6850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6851     ac_cv_prog_ac_ct_AR="ar"
   6852     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6853     break 2
   6854   fi
   6855 done
   6856 done
   6857 IFS=$as_save_IFS
   6858 
   6859 fi
   6860 fi
   6861 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6862 if test -n "$ac_ct_AR"; then
   6863   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6864 $as_echo "$ac_ct_AR" >&6; }
   6865 else
   6866   { $as_echo "$as_me:$LINENO: result: no" >&5
   6867 $as_echo "no" >&6; }
   6868 fi
   6869 
   6870   if test "x$ac_ct_AR" = x; then
   6871     AR="false"
   6872   else
   6873     case $cross_compiling:$ac_tool_warned in
   6874 yes:)
   6875 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6877 ac_tool_warned=yes ;;
   6878 esac
   6879     AR=$ac_ct_AR
   6880   fi
   6881 else
   6882   AR="$ac_cv_prog_AR"
   6883 fi
   6884 
   6885 if test -n "$ac_tool_prefix"; then
   6886   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6887 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6889 $as_echo_n "checking for $ac_word... " >&6; }
   6890 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   if test -n "$RANLIB"; then
   6894   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6895 else
   6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6897 for as_dir in $PATH
   6898 do
   6899   IFS=$as_save_IFS
   6900   test -z "$as_dir" && as_dir=.
   6901   for ac_exec_ext in '' $ac_executable_extensions; do
   6902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6903     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6905     break 2
   6906   fi
   6907 done
   6908 done
   6909 IFS=$as_save_IFS
   6910 
   6911 fi
   6912 fi
   6913 RANLIB=$ac_cv_prog_RANLIB
   6914 if test -n "$RANLIB"; then
   6915   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6916 $as_echo "$RANLIB" >&6; }
   6917 else
   6918   { $as_echo "$as_me:$LINENO: result: no" >&5
   6919 $as_echo "no" >&6; }
   6920 fi
   6921 
   6922 
   6923 fi
   6924 if test -z "$ac_cv_prog_RANLIB"; then
   6925   ac_ct_RANLIB=$RANLIB
   6926   # Extract the first word of "ranlib", so it can be a program name with args.
   6927 set dummy ranlib; ac_word=$2
   6928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6929 $as_echo_n "checking for $ac_word... " >&6; }
   6930 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   if test -n "$ac_ct_RANLIB"; then
   6934   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6935 else
   6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6937 for as_dir in $PATH
   6938 do
   6939   IFS=$as_save_IFS
   6940   test -z "$as_dir" && as_dir=.
   6941   for ac_exec_ext in '' $ac_executable_extensions; do
   6942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6943     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6944     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6945     break 2
   6946   fi
   6947 done
   6948 done
   6949 IFS=$as_save_IFS
   6950 
   6951 fi
   6952 fi
   6953 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6954 if test -n "$ac_ct_RANLIB"; then
   6955   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6956 $as_echo "$ac_ct_RANLIB" >&6; }
   6957 else
   6958   { $as_echo "$as_me:$LINENO: result: no" >&5
   6959 $as_echo "no" >&6; }
   6960 fi
   6961 
   6962   if test "x$ac_ct_RANLIB" = x; then
   6963     RANLIB=":"
   6964   else
   6965     case $cross_compiling:$ac_tool_warned in
   6966 yes:)
   6967 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6969 ac_tool_warned=yes ;;
   6970 esac
   6971     RANLIB=$ac_ct_RANLIB
   6972   fi
   6973 else
   6974   RANLIB="$ac_cv_prog_RANLIB"
   6975 fi
   6976 
   6977 if test -n "$ac_tool_prefix"; then
   6978   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6979 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6981 $as_echo_n "checking for $ac_word... " >&6; }
   6982 if test "${ac_cv_prog_STRIP+set}" = set; then
   6983   $as_echo_n "(cached) " >&6
   6984 else
   6985   if test -n "$STRIP"; then
   6986   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6987 else
   6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6989 for as_dir in $PATH
   6990 do
   6991   IFS=$as_save_IFS
   6992   test -z "$as_dir" && as_dir=.
   6993   for ac_exec_ext in '' $ac_executable_extensions; do
   6994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6995     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6996     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6997     break 2
   6998   fi
   6999 done
   7000 done
   7001 IFS=$as_save_IFS
   7002 
   7003 fi
   7004 fi
   7005 STRIP=$ac_cv_prog_STRIP
   7006 if test -n "$STRIP"; then
   7007   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7008 $as_echo "$STRIP" >&6; }
   7009 else
   7010   { $as_echo "$as_me:$LINENO: result: no" >&5
   7011 $as_echo "no" >&6; }
   7012 fi
   7013 
   7014 
   7015 fi
   7016 if test -z "$ac_cv_prog_STRIP"; then
   7017   ac_ct_STRIP=$STRIP
   7018   # Extract the first word of "strip", so it can be a program name with args.
   7019 set dummy strip; ac_word=$2
   7020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7021 $as_echo_n "checking for $ac_word... " >&6; }
   7022 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   if test -n "$ac_ct_STRIP"; then
   7026   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7027 else
   7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7029 for as_dir in $PATH
   7030 do
   7031   IFS=$as_save_IFS
   7032   test -z "$as_dir" && as_dir=.
   7033   for ac_exec_ext in '' $ac_executable_extensions; do
   7034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7035     ac_cv_prog_ac_ct_STRIP="strip"
   7036     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7037     break 2
   7038   fi
   7039 done
   7040 done
   7041 IFS=$as_save_IFS
   7042 
   7043 fi
   7044 fi
   7045 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7046 if test -n "$ac_ct_STRIP"; then
   7047   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7048 $as_echo "$ac_ct_STRIP" >&6; }
   7049 else
   7050   { $as_echo "$as_me:$LINENO: result: no" >&5
   7051 $as_echo "no" >&6; }
   7052 fi
   7053 
   7054   if test "x$ac_ct_STRIP" = x; then
   7055     STRIP=":"
   7056   else
   7057     case $cross_compiling:$ac_tool_warned in
   7058 yes:)
   7059 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7061 ac_tool_warned=yes ;;
   7062 esac
   7063     STRIP=$ac_ct_STRIP
   7064   fi
   7065 else
   7066   STRIP="$ac_cv_prog_STRIP"
   7067 fi
   7068 
   7069 
   7070 old_CC="$CC"
   7071 old_CFLAGS="$CFLAGS"
   7072 
   7073 # Set sane defaults for various variables
   7074 test -z "$AR" && AR=ar
   7075 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7076 test -z "$AS" && AS=as
   7077 test -z "$CC" && CC=cc
   7078 test -z "$LTCC" && LTCC=$CC
   7079 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7080 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7081 test -z "$LD" && LD=ld
   7082 test -z "$LN_S" && LN_S="ln -s"
   7083 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7084 test -z "$NM" && NM=nm
   7085 test -z "$SED" && SED=sed
   7086 test -z "$OBJDUMP" && OBJDUMP=objdump
   7087 test -z "$RANLIB" && RANLIB=:
   7088 test -z "$STRIP" && STRIP=:
   7089 test -z "$ac_objext" && ac_objext=o
   7090 
   7091 # Determine commands to create old-style static archives.
   7092 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7093 old_postinstall_cmds='chmod 644 $oldlib'
   7094 old_postuninstall_cmds=
   7095 
   7096 if test -n "$RANLIB"; then
   7097   case $host_os in
   7098   openbsd*)
   7099     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7100     ;;
   7101   *)
   7102     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7103     ;;
   7104   esac
   7105   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7106 fi
   7107 
   7108 for cc_temp in $compiler""; do
   7109   case $cc_temp in
   7110     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7111     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7112     \-*) ;;
   7113     *) break;;
   7114   esac
   7115 done
   7116 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7117 
   7118 
   7119 # Only perform the check for file, if the check method requires it
   7120 case $deplibs_check_method in
   7121 file_magic*)
   7122   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7123     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7124 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7125 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7126   $as_echo_n "(cached) " >&6
   7127 else
   7128   case $MAGIC_CMD in
   7129 [\\/*] |  ?:[\\/]*)
   7130   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7131   ;;
   7132 *)
   7133   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7134   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7135   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7136   for ac_dir in $ac_dummy; do
   7137     IFS="$lt_save_ifs"
   7138     test -z "$ac_dir" && ac_dir=.
   7139     if test -f $ac_dir/${ac_tool_prefix}file; then
   7140       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7141       if test -n "$file_magic_test_file"; then
   7142 	case $deplibs_check_method in
   7143 	"file_magic "*)
   7144 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7145 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7146 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7147 	    $EGREP "$file_magic_regex" > /dev/null; then
   7148 	    :
   7149 	  else
   7150 	    cat <<EOF 1>&2
   7151 
   7152 *** Warning: the command libtool uses to detect shared libraries,
   7153 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7154 *** The result is that libtool may fail to recognize shared libraries
   7155 *** as such.  This will affect the creation of libtool libraries that
   7156 *** depend on shared libraries, but programs linked with such libtool
   7157 *** libraries will work regardless of this problem.  Nevertheless, you
   7158 *** may want to report the problem to your system manager and/or to
   7159 *** bug-libtool@gnu.org
   7160 
   7161 EOF
   7162 	  fi ;;
   7163 	esac
   7164       fi
   7165       break
   7166     fi
   7167   done
   7168   IFS="$lt_save_ifs"
   7169   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7170   ;;
   7171 esac
   7172 fi
   7173 
   7174 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7175 if test -n "$MAGIC_CMD"; then
   7176   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7177 $as_echo "$MAGIC_CMD" >&6; }
   7178 else
   7179   { $as_echo "$as_me:$LINENO: result: no" >&5
   7180 $as_echo "no" >&6; }
   7181 fi
   7182 
   7183 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7184   if test -n "$ac_tool_prefix"; then
   7185     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7186 $as_echo_n "checking for file... " >&6; }
   7187 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   case $MAGIC_CMD in
   7191 [\\/*] |  ?:[\\/]*)
   7192   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7193   ;;
   7194 *)
   7195   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7197   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7198   for ac_dir in $ac_dummy; do
   7199     IFS="$lt_save_ifs"
   7200     test -z "$ac_dir" && ac_dir=.
   7201     if test -f $ac_dir/file; then
   7202       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7203       if test -n "$file_magic_test_file"; then
   7204 	case $deplibs_check_method in
   7205 	"file_magic "*)
   7206 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7207 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7208 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7209 	    $EGREP "$file_magic_regex" > /dev/null; then
   7210 	    :
   7211 	  else
   7212 	    cat <<EOF 1>&2
   7213 
   7214 *** Warning: the command libtool uses to detect shared libraries,
   7215 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7216 *** The result is that libtool may fail to recognize shared libraries
   7217 *** as such.  This will affect the creation of libtool libraries that
   7218 *** depend on shared libraries, but programs linked with such libtool
   7219 *** libraries will work regardless of this problem.  Nevertheless, you
   7220 *** may want to report the problem to your system manager and/or to
   7221 *** bug-libtool@gnu.org
   7222 
   7223 EOF
   7224 	  fi ;;
   7225 	esac
   7226       fi
   7227       break
   7228     fi
   7229   done
   7230   IFS="$lt_save_ifs"
   7231   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7232   ;;
   7233 esac
   7234 fi
   7235 
   7236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7237 if test -n "$MAGIC_CMD"; then
   7238   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7239 $as_echo "$MAGIC_CMD" >&6; }
   7240 else
   7241   { $as_echo "$as_me:$LINENO: result: no" >&5
   7242 $as_echo "no" >&6; }
   7243 fi
   7244 
   7245   else
   7246     MAGIC_CMD=:
   7247   fi
   7248 fi
   7249 
   7250   fi
   7251   ;;
   7252 esac
   7253 
   7254 
   7255   case $host_os in
   7256     rhapsody* | darwin*)
   7257     if test -n "$ac_tool_prefix"; then
   7258   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7259 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7261 $as_echo_n "checking for $ac_word... " >&6; }
   7262 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   if test -n "$DSYMUTIL"; then
   7266   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7267 else
   7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7269 for as_dir in $PATH
   7270 do
   7271   IFS=$as_save_IFS
   7272   test -z "$as_dir" && as_dir=.
   7273   for ac_exec_ext in '' $ac_executable_extensions; do
   7274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7275     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7277     break 2
   7278   fi
   7279 done
   7280 done
   7281 IFS=$as_save_IFS
   7282 
   7283 fi
   7284 fi
   7285 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7286 if test -n "$DSYMUTIL"; then
   7287   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7288 $as_echo "$DSYMUTIL" >&6; }
   7289 else
   7290   { $as_echo "$as_me:$LINENO: result: no" >&5
   7291 $as_echo "no" >&6; }
   7292 fi
   7293 
   7294 
   7295 fi
   7296 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7297   ac_ct_DSYMUTIL=$DSYMUTIL
   7298   # Extract the first word of "dsymutil", so it can be a program name with args.
   7299 set dummy dsymutil; ac_word=$2
   7300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7301 $as_echo_n "checking for $ac_word... " >&6; }
   7302 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7303   $as_echo_n "(cached) " >&6
   7304 else
   7305   if test -n "$ac_ct_DSYMUTIL"; then
   7306   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7307 else
   7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7309 for as_dir in $PATH
   7310 do
   7311   IFS=$as_save_IFS
   7312   test -z "$as_dir" && as_dir=.
   7313   for ac_exec_ext in '' $ac_executable_extensions; do
   7314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7315     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7316     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7317     break 2
   7318   fi
   7319 done
   7320 done
   7321 IFS=$as_save_IFS
   7322 
   7323 fi
   7324 fi
   7325 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7326 if test -n "$ac_ct_DSYMUTIL"; then
   7327   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7328 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7329 else
   7330   { $as_echo "$as_me:$LINENO: result: no" >&5
   7331 $as_echo "no" >&6; }
   7332 fi
   7333 
   7334   if test "x$ac_ct_DSYMUTIL" = x; then
   7335     DSYMUTIL=":"
   7336   else
   7337     case $cross_compiling:$ac_tool_warned in
   7338 yes:)
   7339 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7341 ac_tool_warned=yes ;;
   7342 esac
   7343     DSYMUTIL=$ac_ct_DSYMUTIL
   7344   fi
   7345 else
   7346   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7347 fi
   7348 
   7349     if test -n "$ac_tool_prefix"; then
   7350   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7351 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7353 $as_echo_n "checking for $ac_word... " >&6; }
   7354 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7355   $as_echo_n "(cached) " >&6
   7356 else
   7357   if test -n "$NMEDIT"; then
   7358   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7359 else
   7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7361 for as_dir in $PATH
   7362 do
   7363   IFS=$as_save_IFS
   7364   test -z "$as_dir" && as_dir=.
   7365   for ac_exec_ext in '' $ac_executable_extensions; do
   7366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7367     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7368     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7369     break 2
   7370   fi
   7371 done
   7372 done
   7373 IFS=$as_save_IFS
   7374 
   7375 fi
   7376 fi
   7377 NMEDIT=$ac_cv_prog_NMEDIT
   7378 if test -n "$NMEDIT"; then
   7379   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7380 $as_echo "$NMEDIT" >&6; }
   7381 else
   7382   { $as_echo "$as_me:$LINENO: result: no" >&5
   7383 $as_echo "no" >&6; }
   7384 fi
   7385 
   7386 
   7387 fi
   7388 if test -z "$ac_cv_prog_NMEDIT"; then
   7389   ac_ct_NMEDIT=$NMEDIT
   7390   # Extract the first word of "nmedit", so it can be a program name with args.
   7391 set dummy nmedit; ac_word=$2
   7392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7393 $as_echo_n "checking for $ac_word... " >&6; }
   7394 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7395   $as_echo_n "(cached) " >&6
   7396 else
   7397   if test -n "$ac_ct_NMEDIT"; then
   7398   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7399 else
   7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7401 for as_dir in $PATH
   7402 do
   7403   IFS=$as_save_IFS
   7404   test -z "$as_dir" && as_dir=.
   7405   for ac_exec_ext in '' $ac_executable_extensions; do
   7406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7407     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7408     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7409     break 2
   7410   fi
   7411 done
   7412 done
   7413 IFS=$as_save_IFS
   7414 
   7415 fi
   7416 fi
   7417 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7418 if test -n "$ac_ct_NMEDIT"; then
   7419   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7420 $as_echo "$ac_ct_NMEDIT" >&6; }
   7421 else
   7422   { $as_echo "$as_me:$LINENO: result: no" >&5
   7423 $as_echo "no" >&6; }
   7424 fi
   7425 
   7426   if test "x$ac_ct_NMEDIT" = x; then
   7427     NMEDIT=":"
   7428   else
   7429     case $cross_compiling:$ac_tool_warned in
   7430 yes:)
   7431 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7433 ac_tool_warned=yes ;;
   7434 esac
   7435     NMEDIT=$ac_ct_NMEDIT
   7436   fi
   7437 else
   7438   NMEDIT="$ac_cv_prog_NMEDIT"
   7439 fi
   7440 
   7441 
   7442     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7443 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7444 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7445   $as_echo_n "(cached) " >&6
   7446 else
   7447   lt_cv_apple_cc_single_mod=no
   7448       if test -z "${LT_MULTI_MODULE}"; then
   7449    # By default we will add the -single_module flag. You can override
   7450    # by either setting the environment variable LT_MULTI_MODULE
   7451    # non-empty at configure time, or by adding -multi_module to the
   7452    # link flags.
   7453    echo "int foo(void){return 1;}" > conftest.c
   7454    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7455      -dynamiclib ${wl}-single_module conftest.c
   7456    if test -f libconftest.dylib; then
   7457      lt_cv_apple_cc_single_mod=yes
   7458      rm -rf libconftest.dylib*
   7459    fi
   7460    rm conftest.c
   7461       fi
   7462 fi
   7463 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7464 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7465     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7466 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7467 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   lt_cv_ld_exported_symbols_list=no
   7471       save_LDFLAGS=$LDFLAGS
   7472       echo "_main" > conftest.sym
   7473       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7474       cat >conftest.$ac_ext <<_ACEOF
   7475 /* confdefs.h.  */
   7476 _ACEOF
   7477 cat confdefs.h >>conftest.$ac_ext
   7478 cat >>conftest.$ac_ext <<_ACEOF
   7479 /* end confdefs.h.  */
   7480 
   7481 int
   7482 main ()
   7483 {
   7484 
   7485   ;
   7486   return 0;
   7487 }
   7488 _ACEOF
   7489 rm -f conftest.$ac_objext conftest$ac_exeext
   7490 if { (ac_try="$ac_link"
   7491 case "(($ac_try" in
   7492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7493   *) ac_try_echo=$ac_try;;
   7494 esac
   7495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7496 $as_echo "$ac_try_echo") >&5
   7497   (eval "$ac_link") 2>conftest.er1
   7498   ac_status=$?
   7499   grep -v '^ *+' conftest.er1 >conftest.err
   7500   rm -f conftest.er1
   7501   cat conftest.err >&5
   7502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7503   (exit $ac_status); } && {
   7504 	 test -z "$ac_c_werror_flag" ||
   7505 	 test ! -s conftest.err
   7506        } && test -s conftest$ac_exeext && {
   7507 	 test "$cross_compiling" = yes ||
   7508 	 $as_test_x conftest$ac_exeext
   7509        }; then
   7510   lt_cv_ld_exported_symbols_list=yes
   7511 else
   7512   $as_echo "$as_me: failed program was:" >&5
   7513 sed 's/^/| /' conftest.$ac_ext >&5
   7514 
   7515 	lt_cv_ld_exported_symbols_list=no
   7516 fi
   7517 
   7518 rm -rf conftest.dSYM
   7519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7520       conftest$ac_exeext conftest.$ac_ext
   7521    LDFLAGS="$save_LDFLAGS"
   7522 
   7523 fi
   7524 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7525 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7526     case $host_os in
   7527     rhapsody* | darwin1.[0123])
   7528       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7529     darwin1.*)
   7530      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7531     darwin*)
   7532       # if running on 10.5 or later, the deployment target defaults
   7533       # to the OS version, if on x86, and 10.4, the deployment
   7534       # target defaults to 10.4. Don't you love it?
   7535       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7536    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7537      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7538    10.[012]*)
   7539      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7540    10.*)
   7541      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7542       esac
   7543     ;;
   7544   esac
   7545     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7546       _lt_dar_single_mod='$single_module'
   7547     fi
   7548     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7549       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7550     else
   7551       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7552     fi
   7553     if test "$DSYMUTIL" != ":"; then
   7554       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7555     else
   7556       _lt_dsymutil=
   7557     fi
   7558     ;;
   7559   esac
   7560 
   7561 
   7562 enable_dlopen=no
   7563 enable_win32_dll=no
   7564 
   7565 # Check whether --enable-libtool-lock was given.
   7566 if test "${enable_libtool_lock+set}" = set; then
   7567   enableval=$enable_libtool_lock;
   7568 fi
   7569 
   7570 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7571 
   7572 
   7573 # Check whether --with-pic was given.
   7574 if test "${with_pic+set}" = set; then
   7575   withval=$with_pic; pic_mode="$withval"
   7576 else
   7577   pic_mode=default
   7578 fi
   7579 
   7580 test -z "$pic_mode" && pic_mode=default
   7581 
   7582 # Use C for the default configuration in the libtool script
   7583 tagname=
   7584 lt_save_CC="$CC"
   7585 ac_ext=c
   7586 ac_cpp='$CPP $CPPFLAGS'
   7587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7590 
   7591 
   7592 # Source file extension for C test sources.
   7593 ac_ext=c
   7594 
   7595 # Object file extension for compiled C test sources.
   7596 objext=o
   7597 objext=$objext
   7598 
   7599 # Code to be used in simple compile tests
   7600 lt_simple_compile_test_code="int some_variable = 0;"
   7601 
   7602 # Code to be used in simple link tests
   7603 lt_simple_link_test_code='int main(){return(0);}'
   7604 
   7605 
   7606 # If no C compiler was specified, use CC.
   7607 LTCC=${LTCC-"$CC"}
   7608 
   7609 # If no C compiler flags were specified, use CFLAGS.
   7610 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7611 
   7612 # Allow CC to be a program name with arguments.
   7613 compiler=$CC
   7614 
   7615 
   7616 # save warnings/boilerplate of simple test code
   7617 ac_outfile=conftest.$ac_objext
   7618 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7619 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7620 _lt_compiler_boilerplate=`cat conftest.err`
   7621 $rm conftest*
   7622 
   7623 ac_outfile=conftest.$ac_objext
   7624 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7625 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7626 _lt_linker_boilerplate=`cat conftest.err`
   7627 $rm -r conftest*
   7628 
   7629 
   7630 
   7631 lt_prog_compiler_no_builtin_flag=
   7632 
   7633 if test "$GCC" = yes; then
   7634   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7635 
   7636 
   7637 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7638 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7639 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7640   $as_echo_n "(cached) " >&6
   7641 else
   7642   lt_cv_prog_compiler_rtti_exceptions=no
   7643   ac_outfile=conftest.$ac_objext
   7644    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7645    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7646    # Insert the option either (1) after the last *FLAGS variable, or
   7647    # (2) before a word containing "conftest.", or (3) at the end.
   7648    # Note that $ac_compile itself does not contain backslashes and begins
   7649    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7650    # The option is referenced via a variable to avoid confusing sed.
   7651    lt_compile=`echo "$ac_compile" | $SED \
   7652    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7653    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7654    -e 's:$: $lt_compiler_flag:'`
   7655    (eval echo "\"\$as_me:7655: $lt_compile\"" >&5)
   7656    (eval "$lt_compile" 2>conftest.err)
   7657    ac_status=$?
   7658    cat conftest.err >&5
   7659    echo "$as_me:7659: \$? = $ac_status" >&5
   7660    if (exit $ac_status) && test -s "$ac_outfile"; then
   7661      # The compiler can only warn and ignore the option if not recognized
   7662      # So say no if there are warnings other than the usual output.
   7663      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7664      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7665      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7666        lt_cv_prog_compiler_rtti_exceptions=yes
   7667      fi
   7668    fi
   7669    $rm conftest*
   7670 
   7671 fi
   7672 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7673 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7674 
   7675 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7676     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7677 else
   7678     :
   7679 fi
   7680 
   7681 fi
   7682 
   7683 lt_prog_compiler_wl=
   7684 lt_prog_compiler_pic=
   7685 lt_prog_compiler_static=
   7686 
   7687 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7688 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7689 
   7690   if test "$GCC" = yes; then
   7691     lt_prog_compiler_wl='-Wl,'
   7692     lt_prog_compiler_static='-static'
   7693 
   7694     case $host_os in
   7695       aix*)
   7696       # All AIX code is PIC.
   7697       if test "$host_cpu" = ia64; then
   7698 	# AIX 5 now supports IA64 processor
   7699 	lt_prog_compiler_static='-Bstatic'
   7700       fi
   7701       ;;
   7702 
   7703     amigaos*)
   7704       # FIXME: we need at least 68020 code to build shared libraries, but
   7705       # adding the `-m68020' flag to GCC prevents building anything better,
   7706       # like `-m68040'.
   7707       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7708       ;;
   7709 
   7710     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7711       # PIC is the default for these OSes.
   7712       ;;
   7713 
   7714     mingw* | cygwin* | pw32* | os2*)
   7715       # This hack is so that the source file can tell whether it is being
   7716       # built for inclusion in a dll (and should export symbols for example).
   7717       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7718       # (--disable-auto-import) libraries
   7719       lt_prog_compiler_pic='-DDLL_EXPORT'
   7720       ;;
   7721 
   7722     darwin* | rhapsody*)
   7723       # PIC is the default on this platform
   7724       # Common symbols not allowed in MH_DYLIB files
   7725       lt_prog_compiler_pic='-fno-common'
   7726       ;;
   7727 
   7728     interix[3-9]*)
   7729       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7730       # Instead, we relocate shared libraries at runtime.
   7731       ;;
   7732 
   7733     msdosdjgpp*)
   7734       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7735       # on systems that don't support them.
   7736       lt_prog_compiler_can_build_shared=no
   7737       enable_shared=no
   7738       ;;
   7739 
   7740     sysv4*MP*)
   7741       if test -d /usr/nec; then
   7742 	lt_prog_compiler_pic=-Kconform_pic
   7743       fi
   7744       ;;
   7745 
   7746     hpux*)
   7747       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7748       # not for PA HP-UX.
   7749       case $host_cpu in
   7750       hppa*64*|ia64*)
   7751 	# +Z the default
   7752 	;;
   7753       *)
   7754 	lt_prog_compiler_pic='-fPIC'
   7755 	;;
   7756       esac
   7757       ;;
   7758 
   7759     *)
   7760       lt_prog_compiler_pic='-fPIC'
   7761       ;;
   7762     esac
   7763   else
   7764     # PORTME Check for flag to pass linker flags through the system compiler.
   7765     case $host_os in
   7766     aix*)
   7767       lt_prog_compiler_wl='-Wl,'
   7768       if test "$host_cpu" = ia64; then
   7769 	# AIX 5 now supports IA64 processor
   7770 	lt_prog_compiler_static='-Bstatic'
   7771       else
   7772 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7773       fi
   7774       ;;
   7775       darwin*)
   7776         # PIC is the default on this platform
   7777         # Common symbols not allowed in MH_DYLIB files
   7778        case $cc_basename in
   7779          xlc*)
   7780          lt_prog_compiler_pic='-qnocommon'
   7781          lt_prog_compiler_wl='-Wl,'
   7782          ;;
   7783        esac
   7784        ;;
   7785 
   7786     mingw* | cygwin* | pw32* | os2*)
   7787       # This hack is so that the source file can tell whether it is being
   7788       # built for inclusion in a dll (and should export symbols for example).
   7789       lt_prog_compiler_pic='-DDLL_EXPORT'
   7790       ;;
   7791 
   7792     hpux9* | hpux10* | hpux11*)
   7793       lt_prog_compiler_wl='-Wl,'
   7794       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7795       # not for PA HP-UX.
   7796       case $host_cpu in
   7797       hppa*64*|ia64*)
   7798 	# +Z the default
   7799 	;;
   7800       *)
   7801 	lt_prog_compiler_pic='+Z'
   7802 	;;
   7803       esac
   7804       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7805       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7806       ;;
   7807 
   7808     irix5* | irix6* | nonstopux*)
   7809       lt_prog_compiler_wl='-Wl,'
   7810       # PIC (with -KPIC) is the default.
   7811       lt_prog_compiler_static='-non_shared'
   7812       ;;
   7813 
   7814     newsos6)
   7815       lt_prog_compiler_pic='-KPIC'
   7816       lt_prog_compiler_static='-Bstatic'
   7817       ;;
   7818 
   7819     linux* | k*bsd*-gnu)
   7820       case $cc_basename in
   7821       icc* | ecc*)
   7822 	lt_prog_compiler_wl='-Wl,'
   7823 	lt_prog_compiler_pic='-KPIC'
   7824 	lt_prog_compiler_static='-static'
   7825         ;;
   7826       pgcc* | pgf77* | pgf90* | pgf95*)
   7827         # Portland Group compilers (*not* the Pentium gcc compiler,
   7828 	# which looks to be a dead project)
   7829 	lt_prog_compiler_wl='-Wl,'
   7830 	lt_prog_compiler_pic='-fpic'
   7831 	lt_prog_compiler_static='-Bstatic'
   7832         ;;
   7833       ccc*)
   7834         lt_prog_compiler_wl='-Wl,'
   7835         # All Alpha code is PIC.
   7836         lt_prog_compiler_static='-non_shared'
   7837         ;;
   7838       *)
   7839         case `$CC -V 2>&1 | sed 5q` in
   7840 	*Sun\ C*)
   7841 	  # Sun C 5.9
   7842 	  lt_prog_compiler_pic='-KPIC'
   7843 	  lt_prog_compiler_static='-Bstatic'
   7844 	  lt_prog_compiler_wl='-Wl,'
   7845 	  ;;
   7846 	*Sun\ F*)
   7847 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7848 	  lt_prog_compiler_pic='-KPIC'
   7849 	  lt_prog_compiler_static='-Bstatic'
   7850 	  lt_prog_compiler_wl=''
   7851 	  ;;
   7852 	esac
   7853 	;;
   7854       esac
   7855       ;;
   7856 
   7857     osf3* | osf4* | osf5*)
   7858       lt_prog_compiler_wl='-Wl,'
   7859       # All OSF/1 code is PIC.
   7860       lt_prog_compiler_static='-non_shared'
   7861       ;;
   7862 
   7863     rdos*)
   7864       lt_prog_compiler_static='-non_shared'
   7865       ;;
   7866 
   7867     solaris*)
   7868       lt_prog_compiler_pic='-KPIC'
   7869       lt_prog_compiler_static='-Bstatic'
   7870       case $cc_basename in
   7871       f77* | f90* | f95*)
   7872 	lt_prog_compiler_wl='-Qoption ld ';;
   7873       *)
   7874 	lt_prog_compiler_wl='-Wl,';;
   7875       esac
   7876       ;;
   7877 
   7878     sunos4*)
   7879       lt_prog_compiler_wl='-Qoption ld '
   7880       lt_prog_compiler_pic='-PIC'
   7881       lt_prog_compiler_static='-Bstatic'
   7882       ;;
   7883 
   7884     sysv4 | sysv4.2uw2* | sysv4.3*)
   7885       lt_prog_compiler_wl='-Wl,'
   7886       lt_prog_compiler_pic='-KPIC'
   7887       lt_prog_compiler_static='-Bstatic'
   7888       ;;
   7889 
   7890     sysv4*MP*)
   7891       if test -d /usr/nec ;then
   7892 	lt_prog_compiler_pic='-Kconform_pic'
   7893 	lt_prog_compiler_static='-Bstatic'
   7894       fi
   7895       ;;
   7896 
   7897     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7898       lt_prog_compiler_wl='-Wl,'
   7899       lt_prog_compiler_pic='-KPIC'
   7900       lt_prog_compiler_static='-Bstatic'
   7901       ;;
   7902 
   7903     unicos*)
   7904       lt_prog_compiler_wl='-Wl,'
   7905       lt_prog_compiler_can_build_shared=no
   7906       ;;
   7907 
   7908     uts4*)
   7909       lt_prog_compiler_pic='-pic'
   7910       lt_prog_compiler_static='-Bstatic'
   7911       ;;
   7912 
   7913     *)
   7914       lt_prog_compiler_can_build_shared=no
   7915       ;;
   7916     esac
   7917   fi
   7918 
   7919 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7920 $as_echo "$lt_prog_compiler_pic" >&6; }
   7921 
   7922 #
   7923 # Check to make sure the PIC flag actually works.
   7924 #
   7925 if test -n "$lt_prog_compiler_pic"; then
   7926 
   7927 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7928 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7929 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7930   $as_echo_n "(cached) " >&6
   7931 else
   7932   lt_cv_prog_compiler_pic_works=no
   7933   ac_outfile=conftest.$ac_objext
   7934    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7935    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7936    # Insert the option either (1) after the last *FLAGS variable, or
   7937    # (2) before a word containing "conftest.", or (3) at the end.
   7938    # Note that $ac_compile itself does not contain backslashes and begins
   7939    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7940    # The option is referenced via a variable to avoid confusing sed.
   7941    lt_compile=`echo "$ac_compile" | $SED \
   7942    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7943    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7944    -e 's:$: $lt_compiler_flag:'`
   7945    (eval echo "\"\$as_me:7945: $lt_compile\"" >&5)
   7946    (eval "$lt_compile" 2>conftest.err)
   7947    ac_status=$?
   7948    cat conftest.err >&5
   7949    echo "$as_me:7949: \$? = $ac_status" >&5
   7950    if (exit $ac_status) && test -s "$ac_outfile"; then
   7951      # The compiler can only warn and ignore the option if not recognized
   7952      # So say no if there are warnings other than the usual output.
   7953      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7954      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7955      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7956        lt_cv_prog_compiler_pic_works=yes
   7957      fi
   7958    fi
   7959    $rm conftest*
   7960 
   7961 fi
   7962 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7963 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7964 
   7965 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7966     case $lt_prog_compiler_pic in
   7967      "" | " "*) ;;
   7968      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7969      esac
   7970 else
   7971     lt_prog_compiler_pic=
   7972      lt_prog_compiler_can_build_shared=no
   7973 fi
   7974 
   7975 fi
   7976 case $host_os in
   7977   # For platforms which do not support PIC, -DPIC is meaningless:
   7978   *djgpp*)
   7979     lt_prog_compiler_pic=
   7980     ;;
   7981   *)
   7982     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7983     ;;
   7984 esac
   7985 
   7986 #
   7987 # Check to make sure the static flag actually works.
   7988 #
   7989 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7990 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7991 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7992 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7993   $as_echo_n "(cached) " >&6
   7994 else
   7995   lt_cv_prog_compiler_static_works=no
   7996    save_LDFLAGS="$LDFLAGS"
   7997    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7998    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7999    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8000      # The linker can only warn and ignore the option if not recognized
   8001      # So say no if there are warnings
   8002      if test -s conftest.err; then
   8003        # Append any errors to the config.log.
   8004        cat conftest.err 1>&5
   8005        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8006        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8007        if diff conftest.exp conftest.er2 >/dev/null; then
   8008          lt_cv_prog_compiler_static_works=yes
   8009        fi
   8010      else
   8011        lt_cv_prog_compiler_static_works=yes
   8012      fi
   8013    fi
   8014    $rm -r conftest*
   8015    LDFLAGS="$save_LDFLAGS"
   8016 
   8017 fi
   8018 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8019 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8020 
   8021 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8022     :
   8023 else
   8024     lt_prog_compiler_static=
   8025 fi
   8026 
   8027 
   8028 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8029 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8030 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8031   $as_echo_n "(cached) " >&6
   8032 else
   8033   lt_cv_prog_compiler_c_o=no
   8034    $rm -r conftest 2>/dev/null
   8035    mkdir conftest
   8036    cd conftest
   8037    mkdir out
   8038    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8039 
   8040    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8041    # Insert the option either (1) after the last *FLAGS variable, or
   8042    # (2) before a word containing "conftest.", or (3) at the end.
   8043    # Note that $ac_compile itself does not contain backslashes and begins
   8044    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8045    lt_compile=`echo "$ac_compile" | $SED \
   8046    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8047    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8048    -e 's:$: $lt_compiler_flag:'`
   8049    (eval echo "\"\$as_me:8049: $lt_compile\"" >&5)
   8050    (eval "$lt_compile" 2>out/conftest.err)
   8051    ac_status=$?
   8052    cat out/conftest.err >&5
   8053    echo "$as_me:8053: \$? = $ac_status" >&5
   8054    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8055    then
   8056      # The compiler can only warn and ignore the option if not recognized
   8057      # So say no if there are warnings
   8058      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8059      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8060      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8061        lt_cv_prog_compiler_c_o=yes
   8062      fi
   8063    fi
   8064    chmod u+w . 2>&5
   8065    $rm conftest*
   8066    # SGI C++ compiler will create directory out/ii_files/ for
   8067    # template instantiation
   8068    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8069    $rm out/* && rmdir out
   8070    cd ..
   8071    rmdir conftest
   8072    $rm conftest*
   8073 
   8074 fi
   8075 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8076 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8077 
   8078 
   8079 hard_links="nottested"
   8080 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8081   # do not overwrite the value of need_locks provided by the user
   8082   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8083 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8084   hard_links=yes
   8085   $rm conftest*
   8086   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8087   touch conftest.a
   8088   ln conftest.a conftest.b 2>&5 || hard_links=no
   8089   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8090   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8091 $as_echo "$hard_links" >&6; }
   8092   if test "$hard_links" = no; then
   8093     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8094 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8095     need_locks=warn
   8096   fi
   8097 else
   8098   need_locks=no
   8099 fi
   8100 
   8101 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8103 
   8104   runpath_var=
   8105   allow_undefined_flag=
   8106   enable_shared_with_static_runtimes=no
   8107   archive_cmds=
   8108   archive_expsym_cmds=
   8109   old_archive_From_new_cmds=
   8110   old_archive_from_expsyms_cmds=
   8111   export_dynamic_flag_spec=
   8112   whole_archive_flag_spec=
   8113   thread_safe_flag_spec=
   8114   hardcode_libdir_flag_spec=
   8115   hardcode_libdir_flag_spec_ld=
   8116   hardcode_libdir_separator=
   8117   hardcode_direct=no
   8118   hardcode_minus_L=no
   8119   hardcode_shlibpath_var=unsupported
   8120   link_all_deplibs=unknown
   8121   hardcode_automatic=no
   8122   module_cmds=
   8123   module_expsym_cmds=
   8124   always_export_symbols=no
   8125   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8126   # include_expsyms should be a list of space-separated symbols to be *always*
   8127   # included in the symbol list
   8128   include_expsyms=
   8129   # exclude_expsyms can be an extended regexp of symbols to exclude
   8130   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8131   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8132   # as well as any symbol that contains `d'.
   8133   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8134   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8135   # platforms (ab)use it in PIC code, but their linkers get confused if
   8136   # the symbol is explicitly referenced.  Since portable code cannot
   8137   # rely on this symbol name, it's probably fine to never include it in
   8138   # preloaded symbol tables.
   8139   # Exclude shared library initialization/finalization symbols.
   8140   extract_expsyms_cmds=
   8141   # Just being paranoid about ensuring that cc_basename is set.
   8142   for cc_temp in $compiler""; do
   8143   case $cc_temp in
   8144     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8145     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8146     \-*) ;;
   8147     *) break;;
   8148   esac
   8149 done
   8150 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8151 
   8152   case $host_os in
   8153   cygwin* | mingw* | pw32*)
   8154     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8155     # When not using gcc, we currently assume that we are using
   8156     # Microsoft Visual C++.
   8157     if test "$GCC" != yes; then
   8158       with_gnu_ld=no
   8159     fi
   8160     ;;
   8161   interix*)
   8162     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8163     with_gnu_ld=yes
   8164     ;;
   8165   openbsd*)
   8166     with_gnu_ld=no
   8167     ;;
   8168   esac
   8169 
   8170   ld_shlibs=yes
   8171   if test "$with_gnu_ld" = yes; then
   8172     # If archive_cmds runs LD, not CC, wlarc should be empty
   8173     wlarc='${wl}'
   8174 
   8175     # Set some defaults for GNU ld with shared library support. These
   8176     # are reset later if shared libraries are not supported. Putting them
   8177     # here allows them to be overridden if necessary.
   8178     runpath_var=LD_RUN_PATH
   8179     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8180     export_dynamic_flag_spec='${wl}--export-dynamic'
   8181     # ancient GNU ld didn't support --whole-archive et. al.
   8182     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8183 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8184       else
   8185   	whole_archive_flag_spec=
   8186     fi
   8187     supports_anon_versioning=no
   8188     case `$LD -v 2>/dev/null` in
   8189       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8190       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8191       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8192       *\ 2.11.*) ;; # other 2.11 versions
   8193       *) supports_anon_versioning=yes ;;
   8194     esac
   8195 
   8196     # See if GNU ld supports shared libraries.
   8197     case $host_os in
   8198     aix[3-9]*)
   8199       # On AIX/PPC, the GNU linker is very broken
   8200       if test "$host_cpu" != ia64; then
   8201 	ld_shlibs=no
   8202 	cat <<EOF 1>&2
   8203 
   8204 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8205 *** to be unable to reliably create shared libraries on AIX.
   8206 *** Therefore, libtool is disabling shared libraries support.  If you
   8207 *** really care for shared libraries, you may want to modify your PATH
   8208 *** so that a non-GNU linker is found, and then restart.
   8209 
   8210 EOF
   8211       fi
   8212       ;;
   8213 
   8214     amigaos*)
   8215       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)'
   8216       hardcode_libdir_flag_spec='-L$libdir'
   8217       hardcode_minus_L=yes
   8218 
   8219       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8220       # that the semantics of dynamic libraries on AmigaOS, at least up
   8221       # to version 4, is to share data among multiple programs linked
   8222       # with the same dynamic library.  Since this doesn't match the
   8223       # behavior of shared libraries on other platforms, we can't use
   8224       # them.
   8225       ld_shlibs=no
   8226       ;;
   8227 
   8228     beos*)
   8229       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8230 	allow_undefined_flag=unsupported
   8231 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8232 	# support --undefined.  This deserves some investigation.  FIXME
   8233 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8234       else
   8235 	ld_shlibs=no
   8236       fi
   8237       ;;
   8238 
   8239     cygwin* | mingw* | pw32*)
   8240       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8241       # as there is no search path for DLLs.
   8242       hardcode_libdir_flag_spec='-L$libdir'
   8243       allow_undefined_flag=unsupported
   8244       always_export_symbols=no
   8245       enable_shared_with_static_runtimes=yes
   8246       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8247 
   8248       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8249         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8250 	# If the export-symbols file already is a .def file (1st line
   8251 	# is EXPORTS), use it as is; otherwise, prepend...
   8252 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8253 	  cp $export_symbols $output_objdir/$soname.def;
   8254 	else
   8255 	  echo EXPORTS > $output_objdir/$soname.def;
   8256 	  cat $export_symbols >> $output_objdir/$soname.def;
   8257 	fi~
   8258 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8259       else
   8260 	ld_shlibs=no
   8261       fi
   8262       ;;
   8263 
   8264     interix[3-9]*)
   8265       hardcode_direct=no
   8266       hardcode_shlibpath_var=no
   8267       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8268       export_dynamic_flag_spec='${wl}-E'
   8269       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8270       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8271       # default) and relocated if they conflict, which is a slow very memory
   8272       # consuming and fragmenting process.  To avoid this, we pick a random,
   8273       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8274       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8275       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8276       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'
   8277       ;;
   8278 
   8279     gnu* | linux* | k*bsd*-gnu)
   8280       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8281 	tmp_addflag=
   8282 	case $cc_basename,$host_cpu in
   8283 	pgcc*)				# Portland Group C compiler
   8284 	  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'
   8285 	  tmp_addflag=' $pic_flag'
   8286 	  ;;
   8287 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8288 	  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'
   8289 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8290 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8291 	  tmp_addflag=' -i_dynamic' ;;
   8292 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8293 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8294 	ifc* | ifort*)			# Intel Fortran compiler
   8295 	  tmp_addflag=' -nofor_main' ;;
   8296 	esac
   8297 	case `$CC -V 2>&1 | sed 5q` in
   8298 	*Sun\ C*)			# Sun C 5.9
   8299 	  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'
   8300 	  tmp_sharedflag='-G' ;;
   8301 	*Sun\ F*)			# Sun Fortran 8.3
   8302 	  tmp_sharedflag='-G' ;;
   8303 	*)
   8304 	  tmp_sharedflag='-shared' ;;
   8305 	esac
   8306 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8307 
   8308 	if test $supports_anon_versioning = yes; then
   8309 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8310   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8311   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8312 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8313 	fi
   8314       else
   8315 	ld_shlibs=no
   8316       fi
   8317       ;;
   8318 
   8319     netbsd*)
   8320       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8321 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8322 	wlarc=
   8323       else
   8324 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8325 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8326       fi
   8327       ;;
   8328 
   8329     solaris*)
   8330       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8331 	ld_shlibs=no
   8332 	cat <<EOF 1>&2
   8333 
   8334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8335 *** create shared libraries on Solaris systems.  Therefore, libtool
   8336 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8337 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8338 *** your PATH or compiler configuration so that the native linker is
   8339 *** used, and then restart.
   8340 
   8341 EOF
   8342       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8343 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8344 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8345       else
   8346 	ld_shlibs=no
   8347       fi
   8348       ;;
   8349 
   8350     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8351       case `$LD -v 2>&1` in
   8352         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8353 	ld_shlibs=no
   8354 	cat <<_LT_EOF 1>&2
   8355 
   8356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8357 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8358 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8359 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8360 *** your PATH or compiler configuration so that the native linker is
   8361 *** used, and then restart.
   8362 
   8363 _LT_EOF
   8364 	;;
   8365 	*)
   8366 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8367 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8368 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8369 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8370 	  else
   8371 	    ld_shlibs=no
   8372 	  fi
   8373 	;;
   8374       esac
   8375       ;;
   8376 
   8377     sunos4*)
   8378       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8379       wlarc=
   8380       hardcode_direct=yes
   8381       hardcode_shlibpath_var=no
   8382       ;;
   8383 
   8384     *)
   8385       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8386 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8387 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8388       else
   8389 	ld_shlibs=no
   8390       fi
   8391       ;;
   8392     esac
   8393 
   8394     if test "$ld_shlibs" = no; then
   8395       runpath_var=
   8396       hardcode_libdir_flag_spec=
   8397       export_dynamic_flag_spec=
   8398       whole_archive_flag_spec=
   8399     fi
   8400   else
   8401     # PORTME fill in a description of your system's linker (not GNU ld)
   8402     case $host_os in
   8403     aix3*)
   8404       allow_undefined_flag=unsupported
   8405       always_export_symbols=yes
   8406       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'
   8407       # Note: this linker hardcodes the directories in LIBPATH if there
   8408       # are no directories specified by -L.
   8409       hardcode_minus_L=yes
   8410       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8411 	# Neither direct hardcoding nor static linking is supported with a
   8412 	# broken collect2.
   8413 	hardcode_direct=unsupported
   8414       fi
   8415       ;;
   8416 
   8417     aix[4-9]*)
   8418       if test "$host_cpu" = ia64; then
   8419 	# On IA64, the linker does run time linking by default, so we don't
   8420 	# have to do anything special.
   8421 	aix_use_runtimelinking=no
   8422 	exp_sym_flag='-Bexport'
   8423 	no_entry_flag=""
   8424       else
   8425 	# If we're using GNU nm, then we don't want the "-C" option.
   8426 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8427 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8428 	  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'
   8429 	else
   8430 	  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'
   8431 	fi
   8432 	aix_use_runtimelinking=no
   8433 
   8434 	# Test if we are trying to use run time linking or normal
   8435 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8436 	# need to do runtime linking.
   8437 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8438 	  for ld_flag in $LDFLAGS; do
   8439   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8440   	    aix_use_runtimelinking=yes
   8441   	    break
   8442   	  fi
   8443 	  done
   8444 	  ;;
   8445 	esac
   8446 
   8447 	exp_sym_flag='-bexport'
   8448 	no_entry_flag='-bnoentry'
   8449       fi
   8450 
   8451       # When large executables or shared objects are built, AIX ld can
   8452       # have problems creating the table of contents.  If linking a library
   8453       # or program results in "error TOC overflow" add -mminimal-toc to
   8454       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8455       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8456 
   8457       archive_cmds=''
   8458       hardcode_direct=yes
   8459       hardcode_libdir_separator=':'
   8460       link_all_deplibs=yes
   8461 
   8462       if test "$GCC" = yes; then
   8463 	case $host_os in aix4.[012]|aix4.[012].*)
   8464 	# We only want to do this on AIX 4.2 and lower, the check
   8465 	# below for broken collect2 doesn't work under 4.3+
   8466 	  collect2name=`${CC} -print-prog-name=collect2`
   8467 	  if test -f "$collect2name" && \
   8468   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8469 	  then
   8470   	  # We have reworked collect2
   8471   	  :
   8472 	  else
   8473   	  # We have old collect2
   8474   	  hardcode_direct=unsupported
   8475   	  # It fails to find uninstalled libraries when the uninstalled
   8476   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8477   	  # to unsupported forces relinking
   8478   	  hardcode_minus_L=yes
   8479   	  hardcode_libdir_flag_spec='-L$libdir'
   8480   	  hardcode_libdir_separator=
   8481 	  fi
   8482 	  ;;
   8483 	esac
   8484 	shared_flag='-shared'
   8485 	if test "$aix_use_runtimelinking" = yes; then
   8486 	  shared_flag="$shared_flag "'${wl}-G'
   8487 	fi
   8488       else
   8489 	# not using gcc
   8490 	if test "$host_cpu" = ia64; then
   8491   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8492   	# chokes on -Wl,-G. The following line is correct:
   8493 	  shared_flag='-G'
   8494 	else
   8495 	  if test "$aix_use_runtimelinking" = yes; then
   8496 	    shared_flag='${wl}-G'
   8497 	  else
   8498 	    shared_flag='${wl}-bM:SRE'
   8499 	  fi
   8500 	fi
   8501       fi
   8502 
   8503       # It seems that -bexpall does not export symbols beginning with
   8504       # underscore (_), so it is better to generate a list of symbols to export.
   8505       always_export_symbols=yes
   8506       if test "$aix_use_runtimelinking" = yes; then
   8507 	# Warning - without using the other runtime loading flags (-brtl),
   8508 	# -berok will link without error, but may produce a broken library.
   8509 	allow_undefined_flag='-berok'
   8510        # Determine the default libpath from the value encoded in an empty executable.
   8511        cat >conftest.$ac_ext <<_ACEOF
   8512 /* confdefs.h.  */
   8513 _ACEOF
   8514 cat confdefs.h >>conftest.$ac_ext
   8515 cat >>conftest.$ac_ext <<_ACEOF
   8516 /* end confdefs.h.  */
   8517 
   8518 int
   8519 main ()
   8520 {
   8521 
   8522   ;
   8523   return 0;
   8524 }
   8525 _ACEOF
   8526 rm -f conftest.$ac_objext conftest$ac_exeext
   8527 if { (ac_try="$ac_link"
   8528 case "(($ac_try" in
   8529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8530   *) ac_try_echo=$ac_try;;
   8531 esac
   8532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8533 $as_echo "$ac_try_echo") >&5
   8534   (eval "$ac_link") 2>conftest.er1
   8535   ac_status=$?
   8536   grep -v '^ *+' conftest.er1 >conftest.err
   8537   rm -f conftest.er1
   8538   cat conftest.err >&5
   8539   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8540   (exit $ac_status); } && {
   8541 	 test -z "$ac_c_werror_flag" ||
   8542 	 test ! -s conftest.err
   8543        } && test -s conftest$ac_exeext && {
   8544 	 test "$cross_compiling" = yes ||
   8545 	 $as_test_x conftest$ac_exeext
   8546        }; then
   8547 
   8548 lt_aix_libpath_sed='
   8549     /Import File Strings/,/^$/ {
   8550 	/^0/ {
   8551 	    s/^0  *\(.*\)$/\1/
   8552 	    p
   8553 	}
   8554     }'
   8555 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8556 # Check for a 64-bit object if we didn't find anything.
   8557 if test -z "$aix_libpath"; then
   8558   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8559 fi
   8560 else
   8561   $as_echo "$as_me: failed program was:" >&5
   8562 sed 's/^/| /' conftest.$ac_ext >&5
   8563 
   8564 
   8565 fi
   8566 
   8567 rm -rf conftest.dSYM
   8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8569       conftest$ac_exeext conftest.$ac_ext
   8570 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8571 
   8572        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8573 	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"
   8574        else
   8575 	if test "$host_cpu" = ia64; then
   8576 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8577 	  allow_undefined_flag="-z nodefs"
   8578 	  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"
   8579 	else
   8580 	 # Determine the default libpath from the value encoded in an empty executable.
   8581 	 cat >conftest.$ac_ext <<_ACEOF
   8582 /* confdefs.h.  */
   8583 _ACEOF
   8584 cat confdefs.h >>conftest.$ac_ext
   8585 cat >>conftest.$ac_ext <<_ACEOF
   8586 /* end confdefs.h.  */
   8587 
   8588 int
   8589 main ()
   8590 {
   8591 
   8592   ;
   8593   return 0;
   8594 }
   8595 _ACEOF
   8596 rm -f conftest.$ac_objext conftest$ac_exeext
   8597 if { (ac_try="$ac_link"
   8598 case "(($ac_try" in
   8599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8600   *) ac_try_echo=$ac_try;;
   8601 esac
   8602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8603 $as_echo "$ac_try_echo") >&5
   8604   (eval "$ac_link") 2>conftest.er1
   8605   ac_status=$?
   8606   grep -v '^ *+' conftest.er1 >conftest.err
   8607   rm -f conftest.er1
   8608   cat conftest.err >&5
   8609   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8610   (exit $ac_status); } && {
   8611 	 test -z "$ac_c_werror_flag" ||
   8612 	 test ! -s conftest.err
   8613        } && test -s conftest$ac_exeext && {
   8614 	 test "$cross_compiling" = yes ||
   8615 	 $as_test_x conftest$ac_exeext
   8616        }; then
   8617 
   8618 lt_aix_libpath_sed='
   8619     /Import File Strings/,/^$/ {
   8620 	/^0/ {
   8621 	    s/^0  *\(.*\)$/\1/
   8622 	    p
   8623 	}
   8624     }'
   8625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8626 # Check for a 64-bit object if we didn't find anything.
   8627 if test -z "$aix_libpath"; then
   8628   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8629 fi
   8630 else
   8631   $as_echo "$as_me: failed program was:" >&5
   8632 sed 's/^/| /' conftest.$ac_ext >&5
   8633 
   8634 
   8635 fi
   8636 
   8637 rm -rf conftest.dSYM
   8638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8639       conftest$ac_exeext conftest.$ac_ext
   8640 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8641 
   8642 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8643 	  # Warning - without using the other run time loading flags,
   8644 	  # -berok will link without error, but may produce a broken library.
   8645 	  no_undefined_flag=' ${wl}-bernotok'
   8646 	  allow_undefined_flag=' ${wl}-berok'
   8647 	  # Exported symbols can be pulled into shared objects from archives
   8648 	  whole_archive_flag_spec='$convenience'
   8649 	  archive_cmds_need_lc=yes
   8650 	  # This is similar to how AIX traditionally builds its shared libraries.
   8651 	  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'
   8652 	fi
   8653       fi
   8654       ;;
   8655 
   8656     amigaos*)
   8657       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)'
   8658       hardcode_libdir_flag_spec='-L$libdir'
   8659       hardcode_minus_L=yes
   8660       # see comment about different semantics on the GNU ld section
   8661       ld_shlibs=no
   8662       ;;
   8663 
   8664     bsdi[45]*)
   8665       export_dynamic_flag_spec=-rdynamic
   8666       ;;
   8667 
   8668     cygwin* | mingw* | pw32*)
   8669       # When not using gcc, we currently assume that we are using
   8670       # Microsoft Visual C++.
   8671       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8672       # no search path for DLLs.
   8673       hardcode_libdir_flag_spec=' '
   8674       allow_undefined_flag=unsupported
   8675       # Tell ltmain to make .lib files, not .a files.
   8676       libext=lib
   8677       # Tell ltmain to make .dll files, not .so files.
   8678       shrext_cmds=".dll"
   8679       # FIXME: Setting linknames here is a bad hack.
   8680       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8681       # The linker will automatically build a .lib file if we build a DLL.
   8682       old_archive_From_new_cmds='true'
   8683       # FIXME: Should let the user specify the lib program.
   8684       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8685       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8686       enable_shared_with_static_runtimes=yes
   8687       ;;
   8688 
   8689     darwin* | rhapsody*)
   8690       case $host_os in
   8691         rhapsody* | darwin1.[012])
   8692          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8693          ;;
   8694        *) # Darwin 1.3 on
   8695          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8696            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8697          else
   8698            case ${MACOSX_DEPLOYMENT_TARGET} in
   8699              10.[012])
   8700                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8701                ;;
   8702              10.*)
   8703                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8704                ;;
   8705            esac
   8706          fi
   8707          ;;
   8708       esac
   8709       archive_cmds_need_lc=no
   8710       hardcode_direct=no
   8711       hardcode_automatic=yes
   8712       hardcode_shlibpath_var=unsupported
   8713       whole_archive_flag_spec=''
   8714       link_all_deplibs=yes
   8715     if test "$GCC" = yes ; then
   8716     	output_verbose_link_cmd='echo'
   8717         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8718         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8719         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}"
   8720         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}"
   8721     else
   8722       case $cc_basename in
   8723         xlc*)
   8724          output_verbose_link_cmd='echo'
   8725          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8726          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8727           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8728          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}'
   8729           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}'
   8730           ;;
   8731        *)
   8732          ld_shlibs=no
   8733           ;;
   8734       esac
   8735     fi
   8736       ;;
   8737 
   8738     dgux*)
   8739       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8740       hardcode_libdir_flag_spec='-L$libdir'
   8741       hardcode_shlibpath_var=no
   8742       ;;
   8743 
   8744     freebsd1*)
   8745       ld_shlibs=no
   8746       ;;
   8747 
   8748     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8749     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8750     # does not break anything, and helps significantly (at the cost of a little
   8751     # extra space).
   8752     freebsd2.2*)
   8753       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8754       hardcode_libdir_flag_spec='-R$libdir'
   8755       hardcode_direct=yes
   8756       hardcode_shlibpath_var=no
   8757       ;;
   8758 
   8759     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8760     freebsd2*)
   8761       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8762       hardcode_direct=yes
   8763       hardcode_minus_L=yes
   8764       hardcode_shlibpath_var=no
   8765       ;;
   8766 
   8767     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8768     freebsd* | dragonfly*)
   8769       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8770       hardcode_libdir_flag_spec='-R$libdir'
   8771       hardcode_direct=yes
   8772       hardcode_shlibpath_var=no
   8773       ;;
   8774 
   8775     hpux9*)
   8776       if test "$GCC" = yes; then
   8777 	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'
   8778       else
   8779 	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'
   8780       fi
   8781       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8782       hardcode_libdir_separator=:
   8783       hardcode_direct=yes
   8784 
   8785       # hardcode_minus_L: Not really in the search PATH,
   8786       # but as the default location of the library.
   8787       hardcode_minus_L=yes
   8788       export_dynamic_flag_spec='${wl}-E'
   8789       ;;
   8790 
   8791     hpux10*)
   8792       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8793 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8794       else
   8795 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8796       fi
   8797       if test "$with_gnu_ld" = no; then
   8798 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8799 	hardcode_libdir_separator=:
   8800 
   8801 	hardcode_direct=yes
   8802 	export_dynamic_flag_spec='${wl}-E'
   8803 
   8804 	# hardcode_minus_L: Not really in the search PATH,
   8805 	# but as the default location of the library.
   8806 	hardcode_minus_L=yes
   8807       fi
   8808       ;;
   8809 
   8810     hpux11*)
   8811       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8812 	case $host_cpu in
   8813 	hppa*64*)
   8814 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8815 	  ;;
   8816 	ia64*)
   8817 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8818 	  ;;
   8819 	*)
   8820 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8821 	  ;;
   8822 	esac
   8823       else
   8824 	case $host_cpu in
   8825 	hppa*64*)
   8826 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8827 	  ;;
   8828 	ia64*)
   8829 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8830 	  ;;
   8831 	*)
   8832 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8833 	  ;;
   8834 	esac
   8835       fi
   8836       if test "$with_gnu_ld" = no; then
   8837 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8838 	hardcode_libdir_separator=:
   8839 
   8840 	case $host_cpu in
   8841 	hppa*64*|ia64*)
   8842 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8843 	  hardcode_direct=no
   8844 	  hardcode_shlibpath_var=no
   8845 	  ;;
   8846 	*)
   8847 	  hardcode_direct=yes
   8848 	  export_dynamic_flag_spec='${wl}-E'
   8849 
   8850 	  # hardcode_minus_L: Not really in the search PATH,
   8851 	  # but as the default location of the library.
   8852 	  hardcode_minus_L=yes
   8853 	  ;;
   8854 	esac
   8855       fi
   8856       ;;
   8857 
   8858     irix5* | irix6* | nonstopux*)
   8859       if test "$GCC" = yes; then
   8860 	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'
   8861       else
   8862 	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'
   8863 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8864       fi
   8865       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8866       hardcode_libdir_separator=:
   8867       link_all_deplibs=yes
   8868       ;;
   8869 
   8870     netbsd*)
   8871       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8872 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8873       else
   8874 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8875       fi
   8876       hardcode_libdir_flag_spec='-R$libdir'
   8877       hardcode_direct=yes
   8878       hardcode_shlibpath_var=no
   8879       ;;
   8880 
   8881     newsos6)
   8882       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8883       hardcode_direct=yes
   8884       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8885       hardcode_libdir_separator=:
   8886       hardcode_shlibpath_var=no
   8887       ;;
   8888 
   8889     openbsd*)
   8890       if test -f /usr/libexec/ld.so; then
   8891 	hardcode_direct=yes
   8892 	hardcode_shlibpath_var=no
   8893 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8894 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8895 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8896 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8897 	  export_dynamic_flag_spec='${wl}-E'
   8898 	else
   8899 	  case $host_os in
   8900 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8901 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8902 	     hardcode_libdir_flag_spec='-R$libdir'
   8903 	     ;;
   8904 	   *)
   8905 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8906 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8907 	     ;;
   8908 	  esac
   8909         fi
   8910       else
   8911 	ld_shlibs=no
   8912       fi
   8913       ;;
   8914 
   8915     os2*)
   8916       hardcode_libdir_flag_spec='-L$libdir'
   8917       hardcode_minus_L=yes
   8918       allow_undefined_flag=unsupported
   8919       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'
   8920       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8921       ;;
   8922 
   8923     osf3*)
   8924       if test "$GCC" = yes; then
   8925 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8926 	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'
   8927       else
   8928 	allow_undefined_flag=' -expect_unresolved \*'
   8929 	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'
   8930       fi
   8931       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8932       hardcode_libdir_separator=:
   8933       ;;
   8934 
   8935     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8936       if test "$GCC" = yes; then
   8937 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8938 	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'
   8939 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8940       else
   8941 	allow_undefined_flag=' -expect_unresolved \*'
   8942 	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'
   8943 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8944 	$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'
   8945 
   8946 	# Both c and cxx compiler support -rpath directly
   8947 	hardcode_libdir_flag_spec='-rpath $libdir'
   8948       fi
   8949       hardcode_libdir_separator=:
   8950       ;;
   8951 
   8952     solaris*)
   8953       no_undefined_flag=' -z text'
   8954       if test "$GCC" = yes; then
   8955 	wlarc='${wl}'
   8956 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8957 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8958 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8959       else
   8960 	wlarc=''
   8961 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8962 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8963   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8964       fi
   8965       hardcode_libdir_flag_spec='-R$libdir'
   8966       hardcode_shlibpath_var=no
   8967       case $host_os in
   8968       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8969       *)
   8970 	# The compiler driver will combine and reorder linker options,
   8971 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8972 	# but is careful enough not to reorder.
   8973  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8974 	if test "$GCC" = yes; then
   8975 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8976 	else
   8977 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8978 	fi
   8979 	;;
   8980       esac
   8981       link_all_deplibs=yes
   8982       ;;
   8983 
   8984     sunos4*)
   8985       if test "x$host_vendor" = xsequent; then
   8986 	# Use $CC to link under sequent, because it throws in some extra .o
   8987 	# files that make .init and .fini sections work.
   8988 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8989       else
   8990 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8991       fi
   8992       hardcode_libdir_flag_spec='-L$libdir'
   8993       hardcode_direct=yes
   8994       hardcode_minus_L=yes
   8995       hardcode_shlibpath_var=no
   8996       ;;
   8997 
   8998     sysv4)
   8999       case $host_vendor in
   9000 	sni)
   9001 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9002 	  hardcode_direct=yes # is this really true???
   9003 	;;
   9004 	siemens)
   9005 	  ## LD is ld it makes a PLAMLIB
   9006 	  ## CC just makes a GrossModule.
   9007 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9008 	  reload_cmds='$CC -r -o $output$reload_objs'
   9009 	  hardcode_direct=no
   9010         ;;
   9011 	motorola)
   9012 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9013 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9014 	;;
   9015       esac
   9016       runpath_var='LD_RUN_PATH'
   9017       hardcode_shlibpath_var=no
   9018       ;;
   9019 
   9020     sysv4.3*)
   9021       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9022       hardcode_shlibpath_var=no
   9023       export_dynamic_flag_spec='-Bexport'
   9024       ;;
   9025 
   9026     sysv4*MP*)
   9027       if test -d /usr/nec; then
   9028 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9029 	hardcode_shlibpath_var=no
   9030 	runpath_var=LD_RUN_PATH
   9031 	hardcode_runpath_var=yes
   9032 	ld_shlibs=yes
   9033       fi
   9034       ;;
   9035 
   9036     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9037       no_undefined_flag='${wl}-z,text'
   9038       archive_cmds_need_lc=no
   9039       hardcode_shlibpath_var=no
   9040       runpath_var='LD_RUN_PATH'
   9041 
   9042       if test "$GCC" = yes; then
   9043 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9044 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9045       else
   9046 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9047 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9048       fi
   9049       ;;
   9050 
   9051     sysv5* | sco3.2v5* | sco5v6*)
   9052       # Note: We can NOT use -z defs as we might desire, because we do not
   9053       # link with -lc, and that would cause any symbols used from libc to
   9054       # always be unresolved, which means just about no library would
   9055       # ever link correctly.  If we're not using GNU ld we use -z text
   9056       # though, which does catch some bad symbols but isn't as heavy-handed
   9057       # as -z defs.
   9058       no_undefined_flag='${wl}-z,text'
   9059       allow_undefined_flag='${wl}-z,nodefs'
   9060       archive_cmds_need_lc=no
   9061       hardcode_shlibpath_var=no
   9062       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9063       hardcode_libdir_separator=':'
   9064       link_all_deplibs=yes
   9065       export_dynamic_flag_spec='${wl}-Bexport'
   9066       runpath_var='LD_RUN_PATH'
   9067 
   9068       if test "$GCC" = yes; then
   9069 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071       else
   9072 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9073 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9074       fi
   9075       ;;
   9076 
   9077     uts4*)
   9078       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9079       hardcode_libdir_flag_spec='-L$libdir'
   9080       hardcode_shlibpath_var=no
   9081       ;;
   9082 
   9083     *)
   9084       ld_shlibs=no
   9085       ;;
   9086     esac
   9087   fi
   9088 
   9089 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9090 $as_echo "$ld_shlibs" >&6; }
   9091 test "$ld_shlibs" = no && can_build_shared=no
   9092 
   9093 #
   9094 # Do we need to explicitly link libc?
   9095 #
   9096 case "x$archive_cmds_need_lc" in
   9097 x|xyes)
   9098   # Assume -lc should be added
   9099   archive_cmds_need_lc=yes
   9100 
   9101   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9102     case $archive_cmds in
   9103     *'~'*)
   9104       # FIXME: we may have to deal with multi-command sequences.
   9105       ;;
   9106     '$CC '*)
   9107       # Test whether the compiler implicitly links with -lc since on some
   9108       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9109       # to ld, don't add -lc before -lgcc.
   9110       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9112       $rm conftest*
   9113       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9114 
   9115       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9116   (eval $ac_compile) 2>&5
   9117   ac_status=$?
   9118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9119   (exit $ac_status); } 2>conftest.err; then
   9120         soname=conftest
   9121         lib=conftest
   9122         libobjs=conftest.$ac_objext
   9123         deplibs=
   9124         wl=$lt_prog_compiler_wl
   9125 	pic_flag=$lt_prog_compiler_pic
   9126         compiler_flags=-v
   9127         linker_flags=-v
   9128         verstring=
   9129         output_objdir=.
   9130         libname=conftest
   9131         lt_save_allow_undefined_flag=$allow_undefined_flag
   9132         allow_undefined_flag=
   9133         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9134   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9135   ac_status=$?
   9136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9137   (exit $ac_status); }
   9138         then
   9139 	  archive_cmds_need_lc=no
   9140         else
   9141 	  archive_cmds_need_lc=yes
   9142         fi
   9143         allow_undefined_flag=$lt_save_allow_undefined_flag
   9144       else
   9145         cat conftest.err 1>&5
   9146       fi
   9147       $rm conftest*
   9148       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9149 $as_echo "$archive_cmds_need_lc" >&6; }
   9150       ;;
   9151     esac
   9152   fi
   9153   ;;
   9154 esac
   9155 
   9156 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9158 library_names_spec=
   9159 libname_spec='lib$name'
   9160 soname_spec=
   9161 shrext_cmds=".so"
   9162 postinstall_cmds=
   9163 postuninstall_cmds=
   9164 finish_cmds=
   9165 finish_eval=
   9166 shlibpath_var=
   9167 shlibpath_overrides_runpath=unknown
   9168 version_type=none
   9169 dynamic_linker="$host_os ld.so"
   9170 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9171 
   9172 if test "$GCC" = yes; then
   9173   case $host_os in
   9174     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9175     *) lt_awk_arg="/^libraries:/" ;;
   9176   esac
   9177   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9178   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9179     # if the path contains ";" then we assume it to be the separator
   9180     # otherwise default to the standard path separator (i.e. ":") - it is
   9181     # assumed that no part of a normal pathname contains ";" but that should
   9182     # okay in the real world where ";" in dirpaths is itself problematic.
   9183     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9184   else
   9185     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9186   fi
   9187   # Ok, now we have the path, separated by spaces, we can step through it
   9188   # and add multilib dir if necessary.
   9189   lt_tmp_lt_search_path_spec=
   9190   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9191   for lt_sys_path in $lt_search_path_spec; do
   9192     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9193       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9194     else
   9195       test -d "$lt_sys_path" && \
   9196 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9197     fi
   9198   done
   9199   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9200 BEGIN {RS=" "; FS="/|\n";} {
   9201   lt_foo="";
   9202   lt_count=0;
   9203   for (lt_i = NF; lt_i > 0; lt_i--) {
   9204     if ($lt_i != "" && $lt_i != ".") {
   9205       if ($lt_i == "..") {
   9206         lt_count++;
   9207       } else {
   9208         if (lt_count == 0) {
   9209           lt_foo="/" $lt_i lt_foo;
   9210         } else {
   9211           lt_count--;
   9212         }
   9213       }
   9214     }
   9215   }
   9216   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9217   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9218 }'`
   9219   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9220 else
   9221   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9222 fi
   9223 need_lib_prefix=unknown
   9224 hardcode_into_libs=no
   9225 
   9226 # when you set need_version to no, make sure it does not cause -set_version
   9227 # flags to be left without arguments
   9228 need_version=unknown
   9229 
   9230 case $host_os in
   9231 aix3*)
   9232   version_type=linux
   9233   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9234   shlibpath_var=LIBPATH
   9235 
   9236   # AIX 3 has no versioning support, so we append a major version to the name.
   9237   soname_spec='${libname}${release}${shared_ext}$major'
   9238   ;;
   9239 
   9240 aix[4-9]*)
   9241   version_type=linux
   9242   need_lib_prefix=no
   9243   need_version=no
   9244   hardcode_into_libs=yes
   9245   if test "$host_cpu" = ia64; then
   9246     # AIX 5 supports IA64
   9247     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9248     shlibpath_var=LD_LIBRARY_PATH
   9249   else
   9250     # With GCC up to 2.95.x, collect2 would create an import file
   9251     # for dependence libraries.  The import file would start with
   9252     # the line `#! .'.  This would cause the generated library to
   9253     # depend on `.', always an invalid library.  This was fixed in
   9254     # development snapshots of GCC prior to 3.0.
   9255     case $host_os in
   9256       aix4 | aix4.[01] | aix4.[01].*)
   9257       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9258 	   echo ' yes '
   9259 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9260 	:
   9261       else
   9262 	can_build_shared=no
   9263       fi
   9264       ;;
   9265     esac
   9266     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9267     # soname into executable. Probably we can add versioning support to
   9268     # collect2, so additional links can be useful in future.
   9269     if test "$aix_use_runtimelinking" = yes; then
   9270       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9271       # instead of lib<name>.a to let people know that these are not
   9272       # typical AIX shared libraries.
   9273       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9274     else
   9275       # We preserve .a as extension for shared libraries through AIX4.2
   9276       # and later when we are not doing run time linking.
   9277       library_names_spec='${libname}${release}.a $libname.a'
   9278       soname_spec='${libname}${release}${shared_ext}$major'
   9279     fi
   9280     shlibpath_var=LIBPATH
   9281   fi
   9282   ;;
   9283 
   9284 amigaos*)
   9285   library_names_spec='$libname.ixlibrary $libname.a'
   9286   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9287   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'
   9288   ;;
   9289 
   9290 beos*)
   9291   library_names_spec='${libname}${shared_ext}'
   9292   dynamic_linker="$host_os ld.so"
   9293   shlibpath_var=LIBRARY_PATH
   9294   ;;
   9295 
   9296 bsdi[45]*)
   9297   version_type=linux
   9298   need_version=no
   9299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9300   soname_spec='${libname}${release}${shared_ext}$major'
   9301   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9302   shlibpath_var=LD_LIBRARY_PATH
   9303   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9304   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9305   # the default ld.so.conf also contains /usr/contrib/lib and
   9306   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9307   # libtool to hard-code these into programs
   9308   ;;
   9309 
   9310 cygwin* | mingw* | pw32*)
   9311   version_type=windows
   9312   shrext_cmds=".dll"
   9313   need_version=no
   9314   need_lib_prefix=no
   9315 
   9316   case $GCC,$host_os in
   9317   yes,cygwin* | yes,mingw* | yes,pw32*)
   9318     library_names_spec='$libname.dll.a'
   9319     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9320     postinstall_cmds='base_file=`basename \${file}`~
   9321       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9322       dldir=$destdir/`dirname \$dlpath`~
   9323       test -d \$dldir || mkdir -p \$dldir~
   9324       $install_prog $dir/$dlname \$dldir/$dlname~
   9325       chmod a+x \$dldir/$dlname'
   9326     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9327       dlpath=$dir/\$dldll~
   9328        $rm \$dlpath'
   9329     shlibpath_overrides_runpath=yes
   9330 
   9331     case $host_os in
   9332     cygwin*)
   9333       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9334       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9335       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9336       ;;
   9337     mingw*)
   9338       # MinGW DLLs use traditional 'lib' prefix
   9339       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9340       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9341       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9342         # It is most probably a Windows format PATH printed by
   9343         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9344         # path with ; separators, and with drive letters. We can handle the
   9345         # drive letters (cygwin fileutils understands them), so leave them,
   9346         # especially as we might pass files found there to a mingw objdump,
   9347         # which wouldn't understand a cygwinified path. Ahh.
   9348         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9349       else
   9350         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9351       fi
   9352       ;;
   9353     pw32*)
   9354       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9355       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9356       ;;
   9357     esac
   9358     ;;
   9359 
   9360   *)
   9361     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9362     ;;
   9363   esac
   9364   dynamic_linker='Win32 ld.exe'
   9365   # FIXME: first we should search . and the directory the executable is in
   9366   shlibpath_var=PATH
   9367   ;;
   9368 
   9369 darwin* | rhapsody*)
   9370   dynamic_linker="$host_os dyld"
   9371   version_type=darwin
   9372   need_lib_prefix=no
   9373   need_version=no
   9374   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9375   soname_spec='${libname}${release}${major}$shared_ext'
   9376   shlibpath_overrides_runpath=yes
   9377   shlibpath_var=DYLD_LIBRARY_PATH
   9378   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9379 
   9380   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9381   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9382   ;;
   9383 
   9384 dgux*)
   9385   version_type=linux
   9386   need_lib_prefix=no
   9387   need_version=no
   9388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9389   soname_spec='${libname}${release}${shared_ext}$major'
   9390   shlibpath_var=LD_LIBRARY_PATH
   9391   ;;
   9392 
   9393 freebsd1*)
   9394   dynamic_linker=no
   9395   ;;
   9396 
   9397 freebsd* | dragonfly*)
   9398   # DragonFly does not have aout.  When/if they implement a new
   9399   # versioning mechanism, adjust this.
   9400   if test -x /usr/bin/objformat; then
   9401     objformat=`/usr/bin/objformat`
   9402   else
   9403     case $host_os in
   9404     freebsd[123]*) objformat=aout ;;
   9405     *) objformat=elf ;;
   9406     esac
   9407   fi
   9408   version_type=freebsd-$objformat
   9409   case $version_type in
   9410     freebsd-elf*)
   9411       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9412       need_version=no
   9413       need_lib_prefix=no
   9414       ;;
   9415     freebsd-*)
   9416       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9417       need_version=yes
   9418       ;;
   9419   esac
   9420   shlibpath_var=LD_LIBRARY_PATH
   9421   case $host_os in
   9422   freebsd2*)
   9423     shlibpath_overrides_runpath=yes
   9424     ;;
   9425   freebsd3.[01]* | freebsdelf3.[01]*)
   9426     shlibpath_overrides_runpath=yes
   9427     hardcode_into_libs=yes
   9428     ;;
   9429   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9430   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9431     shlibpath_overrides_runpath=no
   9432     hardcode_into_libs=yes
   9433     ;;
   9434   *) # from 4.6 on, and DragonFly
   9435     shlibpath_overrides_runpath=yes
   9436     hardcode_into_libs=yes
   9437     ;;
   9438   esac
   9439   ;;
   9440 
   9441 gnu*)
   9442   version_type=linux
   9443   need_lib_prefix=no
   9444   need_version=no
   9445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9446   soname_spec='${libname}${release}${shared_ext}$major'
   9447   shlibpath_var=LD_LIBRARY_PATH
   9448   hardcode_into_libs=yes
   9449   ;;
   9450 
   9451 hpux9* | hpux10* | hpux11*)
   9452   # Give a soname corresponding to the major version so that dld.sl refuses to
   9453   # link against other versions.
   9454   version_type=sunos
   9455   need_lib_prefix=no
   9456   need_version=no
   9457   case $host_cpu in
   9458   ia64*)
   9459     shrext_cmds='.so'
   9460     hardcode_into_libs=yes
   9461     dynamic_linker="$host_os dld.so"
   9462     shlibpath_var=LD_LIBRARY_PATH
   9463     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9465     soname_spec='${libname}${release}${shared_ext}$major'
   9466     if test "X$HPUX_IA64_MODE" = X32; then
   9467       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9468     else
   9469       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9470     fi
   9471     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9472     ;;
   9473    hppa*64*)
   9474      shrext_cmds='.sl'
   9475      hardcode_into_libs=yes
   9476      dynamic_linker="$host_os dld.sl"
   9477      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9478      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9479      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9480      soname_spec='${libname}${release}${shared_ext}$major'
   9481      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9482      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9483      ;;
   9484    *)
   9485     shrext_cmds='.sl'
   9486     dynamic_linker="$host_os dld.sl"
   9487     shlibpath_var=SHLIB_PATH
   9488     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9490     soname_spec='${libname}${release}${shared_ext}$major'
   9491     ;;
   9492   esac
   9493   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9494   postinstall_cmds='chmod 555 $lib'
   9495   ;;
   9496 
   9497 interix[3-9]*)
   9498   version_type=linux
   9499   need_lib_prefix=no
   9500   need_version=no
   9501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9502   soname_spec='${libname}${release}${shared_ext}$major'
   9503   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9504   shlibpath_var=LD_LIBRARY_PATH
   9505   shlibpath_overrides_runpath=no
   9506   hardcode_into_libs=yes
   9507   ;;
   9508 
   9509 irix5* | irix6* | nonstopux*)
   9510   case $host_os in
   9511     nonstopux*) version_type=nonstopux ;;
   9512     *)
   9513 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9514 		version_type=linux
   9515 	else
   9516 		version_type=irix
   9517 	fi ;;
   9518   esac
   9519   need_lib_prefix=no
   9520   need_version=no
   9521   soname_spec='${libname}${release}${shared_ext}$major'
   9522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9523   case $host_os in
   9524   irix5* | nonstopux*)
   9525     libsuff= shlibsuff=
   9526     ;;
   9527   *)
   9528     case $LD in # libtool.m4 will add one of these switches to LD
   9529     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9530       libsuff= shlibsuff= libmagic=32-bit;;
   9531     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9532       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9533     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9534       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9535     *) libsuff= shlibsuff= libmagic=never-match;;
   9536     esac
   9537     ;;
   9538   esac
   9539   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9540   shlibpath_overrides_runpath=no
   9541   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9542   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9543   hardcode_into_libs=yes
   9544   ;;
   9545 
   9546 # No shared lib support for Linux oldld, aout, or coff.
   9547 linux*oldld* | linux*aout* | linux*coff*)
   9548   dynamic_linker=no
   9549   ;;
   9550 
   9551 # This must be Linux ELF.
   9552 linux* | k*bsd*-gnu)
   9553   version_type=linux
   9554   need_lib_prefix=no
   9555   need_version=no
   9556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9557   soname_spec='${libname}${release}${shared_ext}$major'
   9558   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9559   shlibpath_var=LD_LIBRARY_PATH
   9560   shlibpath_overrides_runpath=no
   9561   # This implies no fast_install, which is unacceptable.
   9562   # Some rework will be needed to allow for fast_install
   9563   # before this can be enabled.
   9564   hardcode_into_libs=yes
   9565   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9566   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9567 
   9568   # Append ld.so.conf contents to the search path
   9569   if test -f /etc/ld.so.conf; then
   9570     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' ' '`
   9571     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9572   fi
   9573 
   9574   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9575   # powerpc, because MkLinux only supported shared libraries with the
   9576   # GNU dynamic linker.  Since this was broken with cross compilers,
   9577   # most powerpc-linux boxes support dynamic linking these days and
   9578   # people can always --disable-shared, the test was removed, and we
   9579   # assume the GNU/Linux dynamic linker is in use.
   9580   dynamic_linker='GNU/Linux ld.so'
   9581   ;;
   9582 
   9583 netbsd*)
   9584   version_type=sunos
   9585   need_lib_prefix=no
   9586   need_version=no
   9587   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9588     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9589     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9590     dynamic_linker='NetBSD (a.out) ld.so'
   9591   else
   9592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9593     soname_spec='${libname}${release}${shared_ext}$major'
   9594     dynamic_linker='NetBSD ld.elf_so'
   9595   fi
   9596   shlibpath_var=LD_LIBRARY_PATH
   9597   shlibpath_overrides_runpath=yes
   9598   hardcode_into_libs=yes
   9599   ;;
   9600 
   9601 newsos6)
   9602   version_type=linux
   9603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9604   shlibpath_var=LD_LIBRARY_PATH
   9605   shlibpath_overrides_runpath=yes
   9606   ;;
   9607 
   9608 nto-qnx*)
   9609   version_type=linux
   9610   need_lib_prefix=no
   9611   need_version=no
   9612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9613   soname_spec='${libname}${release}${shared_ext}$major'
   9614   shlibpath_var=LD_LIBRARY_PATH
   9615   shlibpath_overrides_runpath=yes
   9616   ;;
   9617 
   9618 openbsd*)
   9619   version_type=sunos
   9620   sys_lib_dlsearch_path_spec="/usr/lib"
   9621   need_lib_prefix=no
   9622   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9623   case $host_os in
   9624     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9625     *)                         need_version=no  ;;
   9626   esac
   9627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9628   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9629   shlibpath_var=LD_LIBRARY_PATH
   9630   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9631     case $host_os in
   9632       openbsd2.[89] | openbsd2.[89].*)
   9633 	shlibpath_overrides_runpath=no
   9634 	;;
   9635       *)
   9636 	shlibpath_overrides_runpath=yes
   9637 	;;
   9638       esac
   9639   else
   9640     shlibpath_overrides_runpath=yes
   9641   fi
   9642   ;;
   9643 
   9644 os2*)
   9645   libname_spec='$name'
   9646   shrext_cmds=".dll"
   9647   need_lib_prefix=no
   9648   library_names_spec='$libname${shared_ext} $libname.a'
   9649   dynamic_linker='OS/2 ld.exe'
   9650   shlibpath_var=LIBPATH
   9651   ;;
   9652 
   9653 osf3* | osf4* | osf5*)
   9654   version_type=osf
   9655   need_lib_prefix=no
   9656   need_version=no
   9657   soname_spec='${libname}${release}${shared_ext}$major'
   9658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9659   shlibpath_var=LD_LIBRARY_PATH
   9660   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9661   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9662   ;;
   9663 
   9664 rdos*)
   9665   dynamic_linker=no
   9666   ;;
   9667 
   9668 solaris*)
   9669   version_type=linux
   9670   need_lib_prefix=no
   9671   need_version=no
   9672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9673   soname_spec='${libname}${release}${shared_ext}$major'
   9674   shlibpath_var=LD_LIBRARY_PATH
   9675   shlibpath_overrides_runpath=yes
   9676   hardcode_into_libs=yes
   9677   # ldd complains unless libraries are executable
   9678   postinstall_cmds='chmod +x $lib'
   9679   ;;
   9680 
   9681 sunos4*)
   9682   version_type=sunos
   9683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9684   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9685   shlibpath_var=LD_LIBRARY_PATH
   9686   shlibpath_overrides_runpath=yes
   9687   if test "$with_gnu_ld" = yes; then
   9688     need_lib_prefix=no
   9689   fi
   9690   need_version=yes
   9691   ;;
   9692 
   9693 sysv4 | sysv4.3*)
   9694   version_type=linux
   9695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9696   soname_spec='${libname}${release}${shared_ext}$major'
   9697   shlibpath_var=LD_LIBRARY_PATH
   9698   case $host_vendor in
   9699     sni)
   9700       shlibpath_overrides_runpath=no
   9701       need_lib_prefix=no
   9702       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9703       runpath_var=LD_RUN_PATH
   9704       ;;
   9705     siemens)
   9706       need_lib_prefix=no
   9707       ;;
   9708     motorola)
   9709       need_lib_prefix=no
   9710       need_version=no
   9711       shlibpath_overrides_runpath=no
   9712       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9713       ;;
   9714   esac
   9715   ;;
   9716 
   9717 sysv4*MP*)
   9718   if test -d /usr/nec ;then
   9719     version_type=linux
   9720     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9721     soname_spec='$libname${shared_ext}.$major'
   9722     shlibpath_var=LD_LIBRARY_PATH
   9723   fi
   9724   ;;
   9725 
   9726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9727   version_type=freebsd-elf
   9728   need_lib_prefix=no
   9729   need_version=no
   9730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9731   soname_spec='${libname}${release}${shared_ext}$major'
   9732   shlibpath_var=LD_LIBRARY_PATH
   9733   hardcode_into_libs=yes
   9734   if test "$with_gnu_ld" = yes; then
   9735     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9736     shlibpath_overrides_runpath=no
   9737   else
   9738     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9739     shlibpath_overrides_runpath=yes
   9740     case $host_os in
   9741       sco3.2v5*)
   9742         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9743 	;;
   9744     esac
   9745   fi
   9746   sys_lib_dlsearch_path_spec='/usr/lib'
   9747   ;;
   9748 
   9749 uts4*)
   9750   version_type=linux
   9751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9752   soname_spec='${libname}${release}${shared_ext}$major'
   9753   shlibpath_var=LD_LIBRARY_PATH
   9754   ;;
   9755 
   9756 *)
   9757   dynamic_linker=no
   9758   ;;
   9759 esac
   9760 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9761 $as_echo "$dynamic_linker" >&6; }
   9762 test "$dynamic_linker" = no && can_build_shared=no
   9763 
   9764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9768 fi
   9769 
   9770 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9771 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9772   $as_echo_n "(cached) " >&6
   9773 else
   9774   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9775 fi
   9776 
   9777 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9778 
   9779 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9780 if test "$GCC" = yes; then
   9781   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9782 fi
   9783 
   9784 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9786 hardcode_action=
   9787 if test -n "$hardcode_libdir_flag_spec" || \
   9788    test -n "$runpath_var" || \
   9789    test "X$hardcode_automatic" = "Xyes" ; then
   9790 
   9791   # We can hardcode non-existant directories.
   9792   if test "$hardcode_direct" != no &&
   9793      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9794      # have to relink, otherwise we might link with an installed library
   9795      # when we should be linking with a yet-to-be-installed one
   9796      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9797      test "$hardcode_minus_L" != no; then
   9798     # Linking always hardcodes the temporary library directory.
   9799     hardcode_action=relink
   9800   else
   9801     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9802     hardcode_action=immediate
   9803   fi
   9804 else
   9805   # We cannot hardcode anything, or else we can only hardcode existing
   9806   # directories.
   9807   hardcode_action=unsupported
   9808 fi
   9809 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9810 $as_echo "$hardcode_action" >&6; }
   9811 
   9812 if test "$hardcode_action" = relink; then
   9813   # Fast installation is not supported
   9814   enable_fast_install=no
   9815 elif test "$shlibpath_overrides_runpath" = yes ||
   9816      test "$enable_shared" = no; then
   9817   # Fast installation is not necessary
   9818   enable_fast_install=needless
   9819 fi
   9820 
   9821 striplib=
   9822 old_striplib=
   9823 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9824 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9825 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9826   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9827   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9828   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9829 $as_echo "yes" >&6; }
   9830 else
   9831 # FIXME - insert some real tests, host_os isn't really good enough
   9832   case $host_os in
   9833    darwin*)
   9834        if test -n "$STRIP" ; then
   9835          striplib="$STRIP -x"
   9836          old_striplib="$STRIP -S"
   9837          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9838 $as_echo "yes" >&6; }
   9839        else
   9840   { $as_echo "$as_me:$LINENO: result: no" >&5
   9841 $as_echo "no" >&6; }
   9842 fi
   9843        ;;
   9844    *)
   9845   { $as_echo "$as_me:$LINENO: result: no" >&5
   9846 $as_echo "no" >&6; }
   9847     ;;
   9848   esac
   9849 fi
   9850 
   9851 if test "x$enable_dlopen" != xyes; then
   9852   enable_dlopen=unknown
   9853   enable_dlopen_self=unknown
   9854   enable_dlopen_self_static=unknown
   9855 else
   9856   lt_cv_dlopen=no
   9857   lt_cv_dlopen_libs=
   9858 
   9859   case $host_os in
   9860   beos*)
   9861     lt_cv_dlopen="load_add_on"
   9862     lt_cv_dlopen_libs=
   9863     lt_cv_dlopen_self=yes
   9864     ;;
   9865 
   9866   mingw* | pw32*)
   9867     lt_cv_dlopen="LoadLibrary"
   9868     lt_cv_dlopen_libs=
   9869    ;;
   9870 
   9871   cygwin*)
   9872     lt_cv_dlopen="dlopen"
   9873     lt_cv_dlopen_libs=
   9874    ;;
   9875 
   9876   darwin*)
   9877   # if libdl is installed we need to link against it
   9878     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9879 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9881   $as_echo_n "(cached) " >&6
   9882 else
   9883   ac_check_lib_save_LIBS=$LIBS
   9884 LIBS="-ldl  $LIBS"
   9885 cat >conftest.$ac_ext <<_ACEOF
   9886 /* confdefs.h.  */
   9887 _ACEOF
   9888 cat confdefs.h >>conftest.$ac_ext
   9889 cat >>conftest.$ac_ext <<_ACEOF
   9890 /* end confdefs.h.  */
   9891 
   9892 /* Override any GCC internal prototype to avoid an error.
   9893    Use char because int might match the return type of a GCC
   9894    builtin and then its argument prototype would still apply.  */
   9895 #ifdef __cplusplus
   9896 extern "C"
   9897 #endif
   9898 char dlopen ();
   9899 int
   9900 main ()
   9901 {
   9902 return dlopen ();
   9903   ;
   9904   return 0;
   9905 }
   9906 _ACEOF
   9907 rm -f conftest.$ac_objext conftest$ac_exeext
   9908 if { (ac_try="$ac_link"
   9909 case "(($ac_try" in
   9910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9911   *) ac_try_echo=$ac_try;;
   9912 esac
   9913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9914 $as_echo "$ac_try_echo") >&5
   9915   (eval "$ac_link") 2>conftest.er1
   9916   ac_status=$?
   9917   grep -v '^ *+' conftest.er1 >conftest.err
   9918   rm -f conftest.er1
   9919   cat conftest.err >&5
   9920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9921   (exit $ac_status); } && {
   9922 	 test -z "$ac_c_werror_flag" ||
   9923 	 test ! -s conftest.err
   9924        } && test -s conftest$ac_exeext && {
   9925 	 test "$cross_compiling" = yes ||
   9926 	 $as_test_x conftest$ac_exeext
   9927        }; then
   9928   ac_cv_lib_dl_dlopen=yes
   9929 else
   9930   $as_echo "$as_me: failed program was:" >&5
   9931 sed 's/^/| /' conftest.$ac_ext >&5
   9932 
   9933 	ac_cv_lib_dl_dlopen=no
   9934 fi
   9935 
   9936 rm -rf conftest.dSYM
   9937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9938       conftest$ac_exeext conftest.$ac_ext
   9939 LIBS=$ac_check_lib_save_LIBS
   9940 fi
   9941 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9943 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9944   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9945 else
   9946 
   9947     lt_cv_dlopen="dyld"
   9948     lt_cv_dlopen_libs=
   9949     lt_cv_dlopen_self=yes
   9950 
   9951 fi
   9952 
   9953    ;;
   9954 
   9955   *)
   9956     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9957 $as_echo_n "checking for shl_load... " >&6; }
   9958 if test "${ac_cv_func_shl_load+set}" = set; then
   9959   $as_echo_n "(cached) " >&6
   9960 else
   9961   cat >conftest.$ac_ext <<_ACEOF
   9962 /* confdefs.h.  */
   9963 _ACEOF
   9964 cat confdefs.h >>conftest.$ac_ext
   9965 cat >>conftest.$ac_ext <<_ACEOF
   9966 /* end confdefs.h.  */
   9967 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9969 #define shl_load innocuous_shl_load
   9970 
   9971 /* System header to define __stub macros and hopefully few prototypes,
   9972     which can conflict with char shl_load (); below.
   9973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9974     <limits.h> exists even on freestanding compilers.  */
   9975 
   9976 #ifdef __STDC__
   9977 # include <limits.h>
   9978 #else
   9979 # include <assert.h>
   9980 #endif
   9981 
   9982 #undef shl_load
   9983 
   9984 /* Override any GCC internal prototype to avoid an error.
   9985    Use char because int might match the return type of a GCC
   9986    builtin and then its argument prototype would still apply.  */
   9987 #ifdef __cplusplus
   9988 extern "C"
   9989 #endif
   9990 char shl_load ();
   9991 /* The GNU C library defines this for functions which it implements
   9992     to always fail with ENOSYS.  Some functions are actually named
   9993     something starting with __ and the normal name is an alias.  */
   9994 #if defined __stub_shl_load || defined __stub___shl_load
   9995 choke me
   9996 #endif
   9997 
   9998 int
   9999 main ()
   10000 {
   10001 return shl_load ();
   10002   ;
   10003   return 0;
   10004 }
   10005 _ACEOF
   10006 rm -f conftest.$ac_objext conftest$ac_exeext
   10007 if { (ac_try="$ac_link"
   10008 case "(($ac_try" in
   10009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10010   *) ac_try_echo=$ac_try;;
   10011 esac
   10012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10013 $as_echo "$ac_try_echo") >&5
   10014   (eval "$ac_link") 2>conftest.er1
   10015   ac_status=$?
   10016   grep -v '^ *+' conftest.er1 >conftest.err
   10017   rm -f conftest.er1
   10018   cat conftest.err >&5
   10019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10020   (exit $ac_status); } && {
   10021 	 test -z "$ac_c_werror_flag" ||
   10022 	 test ! -s conftest.err
   10023        } && test -s conftest$ac_exeext && {
   10024 	 test "$cross_compiling" = yes ||
   10025 	 $as_test_x conftest$ac_exeext
   10026        }; then
   10027   ac_cv_func_shl_load=yes
   10028 else
   10029   $as_echo "$as_me: failed program was:" >&5
   10030 sed 's/^/| /' conftest.$ac_ext >&5
   10031 
   10032 	ac_cv_func_shl_load=no
   10033 fi
   10034 
   10035 rm -rf conftest.dSYM
   10036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10037       conftest$ac_exeext conftest.$ac_ext
   10038 fi
   10039 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10040 $as_echo "$ac_cv_func_shl_load" >&6; }
   10041 if test "x$ac_cv_func_shl_load" = x""yes; then
   10042   lt_cv_dlopen="shl_load"
   10043 else
   10044   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10045 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10046 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   ac_check_lib_save_LIBS=$LIBS
   10050 LIBS="-ldld  $LIBS"
   10051 cat >conftest.$ac_ext <<_ACEOF
   10052 /* confdefs.h.  */
   10053 _ACEOF
   10054 cat confdefs.h >>conftest.$ac_ext
   10055 cat >>conftest.$ac_ext <<_ACEOF
   10056 /* end confdefs.h.  */
   10057 
   10058 /* Override any GCC internal prototype to avoid an error.
   10059    Use char because int might match the return type of a GCC
   10060    builtin and then its argument prototype would still apply.  */
   10061 #ifdef __cplusplus
   10062 extern "C"
   10063 #endif
   10064 char shl_load ();
   10065 int
   10066 main ()
   10067 {
   10068 return shl_load ();
   10069   ;
   10070   return 0;
   10071 }
   10072 _ACEOF
   10073 rm -f conftest.$ac_objext conftest$ac_exeext
   10074 if { (ac_try="$ac_link"
   10075 case "(($ac_try" in
   10076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10077   *) ac_try_echo=$ac_try;;
   10078 esac
   10079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10080 $as_echo "$ac_try_echo") >&5
   10081   (eval "$ac_link") 2>conftest.er1
   10082   ac_status=$?
   10083   grep -v '^ *+' conftest.er1 >conftest.err
   10084   rm -f conftest.er1
   10085   cat conftest.err >&5
   10086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10087   (exit $ac_status); } && {
   10088 	 test -z "$ac_c_werror_flag" ||
   10089 	 test ! -s conftest.err
   10090        } && test -s conftest$ac_exeext && {
   10091 	 test "$cross_compiling" = yes ||
   10092 	 $as_test_x conftest$ac_exeext
   10093        }; then
   10094   ac_cv_lib_dld_shl_load=yes
   10095 else
   10096   $as_echo "$as_me: failed program was:" >&5
   10097 sed 's/^/| /' conftest.$ac_ext >&5
   10098 
   10099 	ac_cv_lib_dld_shl_load=no
   10100 fi
   10101 
   10102 rm -rf conftest.dSYM
   10103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10104       conftest$ac_exeext conftest.$ac_ext
   10105 LIBS=$ac_check_lib_save_LIBS
   10106 fi
   10107 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10108 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10109 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10110   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10111 else
   10112   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10113 $as_echo_n "checking for dlopen... " >&6; }
   10114 if test "${ac_cv_func_dlopen+set}" = set; then
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   cat >conftest.$ac_ext <<_ACEOF
   10118 /* confdefs.h.  */
   10119 _ACEOF
   10120 cat confdefs.h >>conftest.$ac_ext
   10121 cat >>conftest.$ac_ext <<_ACEOF
   10122 /* end confdefs.h.  */
   10123 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10125 #define dlopen innocuous_dlopen
   10126 
   10127 /* System header to define __stub macros and hopefully few prototypes,
   10128     which can conflict with char dlopen (); below.
   10129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10130     <limits.h> exists even on freestanding compilers.  */
   10131 
   10132 #ifdef __STDC__
   10133 # include <limits.h>
   10134 #else
   10135 # include <assert.h>
   10136 #endif
   10137 
   10138 #undef dlopen
   10139 
   10140 /* Override any GCC internal prototype to avoid an error.
   10141    Use char because int might match the return type of a GCC
   10142    builtin and then its argument prototype would still apply.  */
   10143 #ifdef __cplusplus
   10144 extern "C"
   10145 #endif
   10146 char dlopen ();
   10147 /* The GNU C library defines this for functions which it implements
   10148     to always fail with ENOSYS.  Some functions are actually named
   10149     something starting with __ and the normal name is an alias.  */
   10150 #if defined __stub_dlopen || defined __stub___dlopen
   10151 choke me
   10152 #endif
   10153 
   10154 int
   10155 main ()
   10156 {
   10157 return dlopen ();
   10158   ;
   10159   return 0;
   10160 }
   10161 _ACEOF
   10162 rm -f conftest.$ac_objext conftest$ac_exeext
   10163 if { (ac_try="$ac_link"
   10164 case "(($ac_try" in
   10165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10166   *) ac_try_echo=$ac_try;;
   10167 esac
   10168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10169 $as_echo "$ac_try_echo") >&5
   10170   (eval "$ac_link") 2>conftest.er1
   10171   ac_status=$?
   10172   grep -v '^ *+' conftest.er1 >conftest.err
   10173   rm -f conftest.er1
   10174   cat conftest.err >&5
   10175   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10176   (exit $ac_status); } && {
   10177 	 test -z "$ac_c_werror_flag" ||
   10178 	 test ! -s conftest.err
   10179        } && test -s conftest$ac_exeext && {
   10180 	 test "$cross_compiling" = yes ||
   10181 	 $as_test_x conftest$ac_exeext
   10182        }; then
   10183   ac_cv_func_dlopen=yes
   10184 else
   10185   $as_echo "$as_me: failed program was:" >&5
   10186 sed 's/^/| /' conftest.$ac_ext >&5
   10187 
   10188 	ac_cv_func_dlopen=no
   10189 fi
   10190 
   10191 rm -rf conftest.dSYM
   10192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10193       conftest$ac_exeext conftest.$ac_ext
   10194 fi
   10195 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10196 $as_echo "$ac_cv_func_dlopen" >&6; }
   10197 if test "x$ac_cv_func_dlopen" = x""yes; then
   10198   lt_cv_dlopen="dlopen"
   10199 else
   10200   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10201 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10202 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10203   $as_echo_n "(cached) " >&6
   10204 else
   10205   ac_check_lib_save_LIBS=$LIBS
   10206 LIBS="-ldl  $LIBS"
   10207 cat >conftest.$ac_ext <<_ACEOF
   10208 /* confdefs.h.  */
   10209 _ACEOF
   10210 cat confdefs.h >>conftest.$ac_ext
   10211 cat >>conftest.$ac_ext <<_ACEOF
   10212 /* end confdefs.h.  */
   10213 
   10214 /* Override any GCC internal prototype to avoid an error.
   10215    Use char because int might match the return type of a GCC
   10216    builtin and then its argument prototype would still apply.  */
   10217 #ifdef __cplusplus
   10218 extern "C"
   10219 #endif
   10220 char dlopen ();
   10221 int
   10222 main ()
   10223 {
   10224 return dlopen ();
   10225   ;
   10226   return 0;
   10227 }
   10228 _ACEOF
   10229 rm -f conftest.$ac_objext conftest$ac_exeext
   10230 if { (ac_try="$ac_link"
   10231 case "(($ac_try" in
   10232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10233   *) ac_try_echo=$ac_try;;
   10234 esac
   10235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10236 $as_echo "$ac_try_echo") >&5
   10237   (eval "$ac_link") 2>conftest.er1
   10238   ac_status=$?
   10239   grep -v '^ *+' conftest.er1 >conftest.err
   10240   rm -f conftest.er1
   10241   cat conftest.err >&5
   10242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10243   (exit $ac_status); } && {
   10244 	 test -z "$ac_c_werror_flag" ||
   10245 	 test ! -s conftest.err
   10246        } && test -s conftest$ac_exeext && {
   10247 	 test "$cross_compiling" = yes ||
   10248 	 $as_test_x conftest$ac_exeext
   10249        }; then
   10250   ac_cv_lib_dl_dlopen=yes
   10251 else
   10252   $as_echo "$as_me: failed program was:" >&5
   10253 sed 's/^/| /' conftest.$ac_ext >&5
   10254 
   10255 	ac_cv_lib_dl_dlopen=no
   10256 fi
   10257 
   10258 rm -rf conftest.dSYM
   10259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10260       conftest$ac_exeext conftest.$ac_ext
   10261 LIBS=$ac_check_lib_save_LIBS
   10262 fi
   10263 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10265 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10266   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10267 else
   10268   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10269 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10270 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10271   $as_echo_n "(cached) " >&6
   10272 else
   10273   ac_check_lib_save_LIBS=$LIBS
   10274 LIBS="-lsvld  $LIBS"
   10275 cat >conftest.$ac_ext <<_ACEOF
   10276 /* confdefs.h.  */
   10277 _ACEOF
   10278 cat confdefs.h >>conftest.$ac_ext
   10279 cat >>conftest.$ac_ext <<_ACEOF
   10280 /* end confdefs.h.  */
   10281 
   10282 /* Override any GCC internal prototype to avoid an error.
   10283    Use char because int might match the return type of a GCC
   10284    builtin and then its argument prototype would still apply.  */
   10285 #ifdef __cplusplus
   10286 extern "C"
   10287 #endif
   10288 char dlopen ();
   10289 int
   10290 main ()
   10291 {
   10292 return dlopen ();
   10293   ;
   10294   return 0;
   10295 }
   10296 _ACEOF
   10297 rm -f conftest.$ac_objext conftest$ac_exeext
   10298 if { (ac_try="$ac_link"
   10299 case "(($ac_try" in
   10300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10301   *) ac_try_echo=$ac_try;;
   10302 esac
   10303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10304 $as_echo "$ac_try_echo") >&5
   10305   (eval "$ac_link") 2>conftest.er1
   10306   ac_status=$?
   10307   grep -v '^ *+' conftest.er1 >conftest.err
   10308   rm -f conftest.er1
   10309   cat conftest.err >&5
   10310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10311   (exit $ac_status); } && {
   10312 	 test -z "$ac_c_werror_flag" ||
   10313 	 test ! -s conftest.err
   10314        } && test -s conftest$ac_exeext && {
   10315 	 test "$cross_compiling" = yes ||
   10316 	 $as_test_x conftest$ac_exeext
   10317        }; then
   10318   ac_cv_lib_svld_dlopen=yes
   10319 else
   10320   $as_echo "$as_me: failed program was:" >&5
   10321 sed 's/^/| /' conftest.$ac_ext >&5
   10322 
   10323 	ac_cv_lib_svld_dlopen=no
   10324 fi
   10325 
   10326 rm -rf conftest.dSYM
   10327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10328       conftest$ac_exeext conftest.$ac_ext
   10329 LIBS=$ac_check_lib_save_LIBS
   10330 fi
   10331 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10332 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10333 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10334   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10335 else
   10336   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10337 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10338 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10339   $as_echo_n "(cached) " >&6
   10340 else
   10341   ac_check_lib_save_LIBS=$LIBS
   10342 LIBS="-ldld  $LIBS"
   10343 cat >conftest.$ac_ext <<_ACEOF
   10344 /* confdefs.h.  */
   10345 _ACEOF
   10346 cat confdefs.h >>conftest.$ac_ext
   10347 cat >>conftest.$ac_ext <<_ACEOF
   10348 /* end confdefs.h.  */
   10349 
   10350 /* Override any GCC internal prototype to avoid an error.
   10351    Use char because int might match the return type of a GCC
   10352    builtin and then its argument prototype would still apply.  */
   10353 #ifdef __cplusplus
   10354 extern "C"
   10355 #endif
   10356 char dld_link ();
   10357 int
   10358 main ()
   10359 {
   10360 return dld_link ();
   10361   ;
   10362   return 0;
   10363 }
   10364 _ACEOF
   10365 rm -f conftest.$ac_objext conftest$ac_exeext
   10366 if { (ac_try="$ac_link"
   10367 case "(($ac_try" in
   10368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10369   *) ac_try_echo=$ac_try;;
   10370 esac
   10371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10372 $as_echo "$ac_try_echo") >&5
   10373   (eval "$ac_link") 2>conftest.er1
   10374   ac_status=$?
   10375   grep -v '^ *+' conftest.er1 >conftest.err
   10376   rm -f conftest.er1
   10377   cat conftest.err >&5
   10378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10379   (exit $ac_status); } && {
   10380 	 test -z "$ac_c_werror_flag" ||
   10381 	 test ! -s conftest.err
   10382        } && test -s conftest$ac_exeext && {
   10383 	 test "$cross_compiling" = yes ||
   10384 	 $as_test_x conftest$ac_exeext
   10385        }; then
   10386   ac_cv_lib_dld_dld_link=yes
   10387 else
   10388   $as_echo "$as_me: failed program was:" >&5
   10389 sed 's/^/| /' conftest.$ac_ext >&5
   10390 
   10391 	ac_cv_lib_dld_dld_link=no
   10392 fi
   10393 
   10394 rm -rf conftest.dSYM
   10395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10396       conftest$ac_exeext conftest.$ac_ext
   10397 LIBS=$ac_check_lib_save_LIBS
   10398 fi
   10399 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10400 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10401 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10402   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10403 fi
   10404 
   10405 
   10406 fi
   10407 
   10408 
   10409 fi
   10410 
   10411 
   10412 fi
   10413 
   10414 
   10415 fi
   10416 
   10417 
   10418 fi
   10419 
   10420     ;;
   10421   esac
   10422 
   10423   if test "x$lt_cv_dlopen" != xno; then
   10424     enable_dlopen=yes
   10425   else
   10426     enable_dlopen=no
   10427   fi
   10428 
   10429   case $lt_cv_dlopen in
   10430   dlopen)
   10431     save_CPPFLAGS="$CPPFLAGS"
   10432     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10433 
   10434     save_LDFLAGS="$LDFLAGS"
   10435     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10436 
   10437     save_LIBS="$LIBS"
   10438     LIBS="$lt_cv_dlopen_libs $LIBS"
   10439 
   10440     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10441 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10442 if test "${lt_cv_dlopen_self+set}" = set; then
   10443   $as_echo_n "(cached) " >&6
   10444 else
   10445   	  if test "$cross_compiling" = yes; then :
   10446   lt_cv_dlopen_self=cross
   10447 else
   10448   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10449   lt_status=$lt_dlunknown
   10450   cat > conftest.$ac_ext <<EOF
   10451 #line 10451 "configure"
   10452 #include "confdefs.h"
   10453 
   10454 #if HAVE_DLFCN_H
   10455 #include <dlfcn.h>
   10456 #endif
   10457 
   10458 #include <stdio.h>
   10459 
   10460 #ifdef RTLD_GLOBAL
   10461 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10462 #else
   10463 #  ifdef DL_GLOBAL
   10464 #    define LT_DLGLOBAL		DL_GLOBAL
   10465 #  else
   10466 #    define LT_DLGLOBAL		0
   10467 #  endif
   10468 #endif
   10469 
   10470 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10471    find out it does not work in some platform. */
   10472 #ifndef LT_DLLAZY_OR_NOW
   10473 #  ifdef RTLD_LAZY
   10474 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10475 #  else
   10476 #    ifdef DL_LAZY
   10477 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10478 #    else
   10479 #      ifdef RTLD_NOW
   10480 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10481 #      else
   10482 #        ifdef DL_NOW
   10483 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10484 #        else
   10485 #          define LT_DLLAZY_OR_NOW	0
   10486 #        endif
   10487 #      endif
   10488 #    endif
   10489 #  endif
   10490 #endif
   10491 
   10492 #ifdef __cplusplus
   10493 extern "C" void exit (int);
   10494 #endif
   10495 
   10496 void fnord() { int i=42;}
   10497 int main ()
   10498 {
   10499   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10500   int status = $lt_dlunknown;
   10501 
   10502   if (self)
   10503     {
   10504       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10505       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10506       /* dlclose (self); */
   10507     }
   10508   else
   10509     puts (dlerror ());
   10510 
   10511     exit (status);
   10512 }
   10513 EOF
   10514   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10515   (eval $ac_link) 2>&5
   10516   ac_status=$?
   10517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10518   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10519     (./conftest; exit; ) >&5 2>/dev/null
   10520     lt_status=$?
   10521     case x$lt_status in
   10522       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10523       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10524       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10525     esac
   10526   else :
   10527     # compilation failed
   10528     lt_cv_dlopen_self=no
   10529   fi
   10530 fi
   10531 rm -fr conftest*
   10532 
   10533 
   10534 fi
   10535 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10536 $as_echo "$lt_cv_dlopen_self" >&6; }
   10537 
   10538     if test "x$lt_cv_dlopen_self" = xyes; then
   10539       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10540       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10541 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10542 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10543   $as_echo_n "(cached) " >&6
   10544 else
   10545   	  if test "$cross_compiling" = yes; then :
   10546   lt_cv_dlopen_self_static=cross
   10547 else
   10548   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10549   lt_status=$lt_dlunknown
   10550   cat > conftest.$ac_ext <<EOF
   10551 #line 10551 "configure"
   10552 #include "confdefs.h"
   10553 
   10554 #if HAVE_DLFCN_H
   10555 #include <dlfcn.h>
   10556 #endif
   10557 
   10558 #include <stdio.h>
   10559 
   10560 #ifdef RTLD_GLOBAL
   10561 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10562 #else
   10563 #  ifdef DL_GLOBAL
   10564 #    define LT_DLGLOBAL		DL_GLOBAL
   10565 #  else
   10566 #    define LT_DLGLOBAL		0
   10567 #  endif
   10568 #endif
   10569 
   10570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10571    find out it does not work in some platform. */
   10572 #ifndef LT_DLLAZY_OR_NOW
   10573 #  ifdef RTLD_LAZY
   10574 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10575 #  else
   10576 #    ifdef DL_LAZY
   10577 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10578 #    else
   10579 #      ifdef RTLD_NOW
   10580 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10581 #      else
   10582 #        ifdef DL_NOW
   10583 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10584 #        else
   10585 #          define LT_DLLAZY_OR_NOW	0
   10586 #        endif
   10587 #      endif
   10588 #    endif
   10589 #  endif
   10590 #endif
   10591 
   10592 #ifdef __cplusplus
   10593 extern "C" void exit (int);
   10594 #endif
   10595 
   10596 void fnord() { int i=42;}
   10597 int main ()
   10598 {
   10599   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10600   int status = $lt_dlunknown;
   10601 
   10602   if (self)
   10603     {
   10604       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10605       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10606       /* dlclose (self); */
   10607     }
   10608   else
   10609     puts (dlerror ());
   10610 
   10611     exit (status);
   10612 }
   10613 EOF
   10614   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10615   (eval $ac_link) 2>&5
   10616   ac_status=$?
   10617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10618   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10619     (./conftest; exit; ) >&5 2>/dev/null
   10620     lt_status=$?
   10621     case x$lt_status in
   10622       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10623       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10624       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10625     esac
   10626   else :
   10627     # compilation failed
   10628     lt_cv_dlopen_self_static=no
   10629   fi
   10630 fi
   10631 rm -fr conftest*
   10632 
   10633 
   10634 fi
   10635 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10636 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10637     fi
   10638 
   10639     CPPFLAGS="$save_CPPFLAGS"
   10640     LDFLAGS="$save_LDFLAGS"
   10641     LIBS="$save_LIBS"
   10642     ;;
   10643   esac
   10644 
   10645   case $lt_cv_dlopen_self in
   10646   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10647   *) enable_dlopen_self=unknown ;;
   10648   esac
   10649 
   10650   case $lt_cv_dlopen_self_static in
   10651   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10652   *) enable_dlopen_self_static=unknown ;;
   10653   esac
   10654 fi
   10655 
   10656 
   10657 # Report which library types will actually be built
   10658 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10659 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10660 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10661 $as_echo "$can_build_shared" >&6; }
   10662 
   10663 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10664 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10665 test "$can_build_shared" = "no" && enable_shared=no
   10666 
   10667 # On AIX, shared libraries and static libraries use the same namespace, and
   10668 # are all built from PIC.
   10669 case $host_os in
   10670 aix3*)
   10671   test "$enable_shared" = yes && enable_static=no
   10672   if test -n "$RANLIB"; then
   10673     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10674     postinstall_cmds='$RANLIB $lib'
   10675   fi
   10676   ;;
   10677 
   10678 aix[4-9]*)
   10679   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10680     test "$enable_shared" = yes && enable_static=no
   10681   fi
   10682     ;;
   10683 esac
   10684 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10685 $as_echo "$enable_shared" >&6; }
   10686 
   10687 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10688 $as_echo_n "checking whether to build static libraries... " >&6; }
   10689 # Make sure either enable_shared or enable_static is yes.
   10690 test "$enable_shared" = yes || enable_static=yes
   10691 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10692 $as_echo "$enable_static" >&6; }
   10693 
   10694 # The else clause should only fire when bootstrapping the
   10695 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10696 # with your package, and you will get complaints that there are
   10697 # no rules to generate ltmain.sh.
   10698 if test -f "$ltmain"; then
   10699   # See if we are running on zsh, and set the options which allow our commands through
   10700   # without removal of \ escapes.
   10701   if test -n "${ZSH_VERSION+set}" ; then
   10702     setopt NO_GLOB_SUBST
   10703   fi
   10704   # Now quote all the things that may contain metacharacters while being
   10705   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10706   # variables and quote the copies for generation of the libtool script.
   10707   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10708     SED SHELL STRIP \
   10709     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10710     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10711     deplibs_check_method reload_flag reload_cmds need_locks \
   10712     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10713     lt_cv_sys_global_symbol_to_c_name_address \
   10714     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10715     old_postinstall_cmds old_postuninstall_cmds \
   10716     compiler \
   10717     CC \
   10718     LD \
   10719     lt_prog_compiler_wl \
   10720     lt_prog_compiler_pic \
   10721     lt_prog_compiler_static \
   10722     lt_prog_compiler_no_builtin_flag \
   10723     export_dynamic_flag_spec \
   10724     thread_safe_flag_spec \
   10725     whole_archive_flag_spec \
   10726     enable_shared_with_static_runtimes \
   10727     old_archive_cmds \
   10728     old_archive_from_new_cmds \
   10729     predep_objects \
   10730     postdep_objects \
   10731     predeps \
   10732     postdeps \
   10733     compiler_lib_search_path \
   10734     compiler_lib_search_dirs \
   10735     archive_cmds \
   10736     archive_expsym_cmds \
   10737     postinstall_cmds \
   10738     postuninstall_cmds \
   10739     old_archive_from_expsyms_cmds \
   10740     allow_undefined_flag \
   10741     no_undefined_flag \
   10742     export_symbols_cmds \
   10743     hardcode_libdir_flag_spec \
   10744     hardcode_libdir_flag_spec_ld \
   10745     hardcode_libdir_separator \
   10746     hardcode_automatic \
   10747     module_cmds \
   10748     module_expsym_cmds \
   10749     lt_cv_prog_compiler_c_o \
   10750     fix_srcfile_path \
   10751     exclude_expsyms \
   10752     include_expsyms; do
   10753 
   10754     case $var in
   10755     old_archive_cmds | \
   10756     old_archive_from_new_cmds | \
   10757     archive_cmds | \
   10758     archive_expsym_cmds | \
   10759     module_cmds | \
   10760     module_expsym_cmds | \
   10761     old_archive_from_expsyms_cmds | \
   10762     export_symbols_cmds | \
   10763     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10764     postinstall_cmds | postuninstall_cmds | \
   10765     old_postinstall_cmds | old_postuninstall_cmds | \
   10766     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10767       # Double-quote double-evaled strings.
   10768       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10769       ;;
   10770     *)
   10771       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10772       ;;
   10773     esac
   10774   done
   10775 
   10776   case $lt_echo in
   10777   *'\$0 --fallback-echo"')
   10778     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10779     ;;
   10780   esac
   10781 
   10782 cfgfile="${ofile}T"
   10783   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10784   $rm -f "$cfgfile"
   10785   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10786 $as_echo "$as_me: creating $ofile" >&6;}
   10787 
   10788   cat <<__EOF__ >> "$cfgfile"
   10789 #! $SHELL
   10790 
   10791 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10792 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10793 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10794 #
   10795 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10796 # Free Software Foundation, Inc.
   10797 #
   10798 # This file is part of GNU Libtool:
   10799 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10800 #
   10801 # This program is free software; you can redistribute it and/or modify
   10802 # it under the terms of the GNU General Public License as published by
   10803 # the Free Software Foundation; either version 2 of the License, or
   10804 # (at your option) any later version.
   10805 #
   10806 # This program is distributed in the hope that it will be useful, but
   10807 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10808 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10809 # General Public License for more details.
   10810 #
   10811 # You should have received a copy of the GNU General Public License
   10812 # along with this program; if not, write to the Free Software
   10813 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10814 #
   10815 # As a special exception to the GNU General Public License, if you
   10816 # distribute this file as part of a program that contains a
   10817 # configuration script generated by Autoconf, you may include it under
   10818 # the same distribution terms that you use for the rest of that program.
   10819 
   10820 # A sed program that does not truncate output.
   10821 SED=$lt_SED
   10822 
   10823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10824 Xsed="$SED -e 1s/^X//"
   10825 
   10826 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10827 # if CDPATH is set.
   10828 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10829 
   10830 # The names of the tagged configurations supported by this script.
   10831 available_tags=
   10832 
   10833 # ### BEGIN LIBTOOL CONFIG
   10834 
   10835 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10836 
   10837 # Shell to use when invoking shell scripts.
   10838 SHELL=$lt_SHELL
   10839 
   10840 # Whether or not to build shared libraries.
   10841 build_libtool_libs=$enable_shared
   10842 
   10843 # Whether or not to build static libraries.
   10844 build_old_libs=$enable_static
   10845 
   10846 # Whether or not to add -lc for building shared libraries.
   10847 build_libtool_need_lc=$archive_cmds_need_lc
   10848 
   10849 # Whether or not to disallow shared libs when runtime libs are static
   10850 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10851 
   10852 # Whether or not to optimize for fast installation.
   10853 fast_install=$enable_fast_install
   10854 
   10855 # The host system.
   10856 host_alias=$host_alias
   10857 host=$host
   10858 host_os=$host_os
   10859 
   10860 # The build system.
   10861 build_alias=$build_alias
   10862 build=$build
   10863 build_os=$build_os
   10864 
   10865 # An echo program that does not interpret backslashes.
   10866 echo=$lt_echo
   10867 
   10868 # The archiver.
   10869 AR=$lt_AR
   10870 AR_FLAGS=$lt_AR_FLAGS
   10871 
   10872 # A C compiler.
   10873 LTCC=$lt_LTCC
   10874 
   10875 # LTCC compiler flags.
   10876 LTCFLAGS=$lt_LTCFLAGS
   10877 
   10878 # A language-specific compiler.
   10879 CC=$lt_compiler
   10880 
   10881 # Is the compiler the GNU C compiler?
   10882 with_gcc=$GCC
   10883 
   10884 # An ERE matcher.
   10885 EGREP=$lt_EGREP
   10886 
   10887 # The linker used to build libraries.
   10888 LD=$lt_LD
   10889 
   10890 # Whether we need hard or soft links.
   10891 LN_S=$lt_LN_S
   10892 
   10893 # A BSD-compatible nm program.
   10894 NM=$lt_NM
   10895 
   10896 # A symbol stripping program
   10897 STRIP=$lt_STRIP
   10898 
   10899 # Used to examine libraries when file_magic_cmd begins "file"
   10900 MAGIC_CMD=$MAGIC_CMD
   10901 
   10902 # Used on cygwin: DLL creation program.
   10903 DLLTOOL="$DLLTOOL"
   10904 
   10905 # Used on cygwin: object dumper.
   10906 OBJDUMP="$OBJDUMP"
   10907 
   10908 # Used on cygwin: assembler.
   10909 AS="$AS"
   10910 
   10911 # The name of the directory that contains temporary libtool files.
   10912 objdir=$objdir
   10913 
   10914 # How to create reloadable object files.
   10915 reload_flag=$lt_reload_flag
   10916 reload_cmds=$lt_reload_cmds
   10917 
   10918 # How to pass a linker flag through the compiler.
   10919 wl=$lt_lt_prog_compiler_wl
   10920 
   10921 # Object file suffix (normally "o").
   10922 objext="$ac_objext"
   10923 
   10924 # Old archive suffix (normally "a").
   10925 libext="$libext"
   10926 
   10927 # Shared library suffix (normally ".so").
   10928 shrext_cmds='$shrext_cmds'
   10929 
   10930 # Executable file suffix (normally "").
   10931 exeext="$exeext"
   10932 
   10933 # Additional compiler flags for building library objects.
   10934 pic_flag=$lt_lt_prog_compiler_pic
   10935 pic_mode=$pic_mode
   10936 
   10937 # What is the maximum length of a command?
   10938 max_cmd_len=$lt_cv_sys_max_cmd_len
   10939 
   10940 # Does compiler simultaneously support -c and -o options?
   10941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10942 
   10943 # Must we lock files when doing compilation?
   10944 need_locks=$lt_need_locks
   10945 
   10946 # Do we need the lib prefix for modules?
   10947 need_lib_prefix=$need_lib_prefix
   10948 
   10949 # Do we need a version for libraries?
   10950 need_version=$need_version
   10951 
   10952 # Whether dlopen is supported.
   10953 dlopen_support=$enable_dlopen
   10954 
   10955 # Whether dlopen of programs is supported.
   10956 dlopen_self=$enable_dlopen_self
   10957 
   10958 # Whether dlopen of statically linked programs is supported.
   10959 dlopen_self_static=$enable_dlopen_self_static
   10960 
   10961 # Compiler flag to prevent dynamic linking.
   10962 link_static_flag=$lt_lt_prog_compiler_static
   10963 
   10964 # Compiler flag to turn off builtin functions.
   10965 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10966 
   10967 # Compiler flag to allow reflexive dlopens.
   10968 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10969 
   10970 # Compiler flag to generate shared objects directly from archives.
   10971 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10972 
   10973 # Compiler flag to generate thread-safe objects.
   10974 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10975 
   10976 # Library versioning type.
   10977 version_type=$version_type
   10978 
   10979 # Format of library name prefix.
   10980 libname_spec=$lt_libname_spec
   10981 
   10982 # List of archive names.  First name is the real one, the rest are links.
   10983 # The last name is the one that the linker finds with -lNAME.
   10984 library_names_spec=$lt_library_names_spec
   10985 
   10986 # The coded name of the library, if different from the real name.
   10987 soname_spec=$lt_soname_spec
   10988 
   10989 # Commands used to build and install an old-style archive.
   10990 RANLIB=$lt_RANLIB
   10991 old_archive_cmds=$lt_old_archive_cmds
   10992 old_postinstall_cmds=$lt_old_postinstall_cmds
   10993 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10994 
   10995 # Create an old-style archive from a shared archive.
   10996 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10997 
   10998 # Create a temporary old-style archive to link instead of a shared archive.
   10999 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11000 
   11001 # Commands used to build and install a shared archive.
   11002 archive_cmds=$lt_archive_cmds
   11003 archive_expsym_cmds=$lt_archive_expsym_cmds
   11004 postinstall_cmds=$lt_postinstall_cmds
   11005 postuninstall_cmds=$lt_postuninstall_cmds
   11006 
   11007 # Commands used to build a loadable module (assumed same as above if empty)
   11008 module_cmds=$lt_module_cmds
   11009 module_expsym_cmds=$lt_module_expsym_cmds
   11010 
   11011 # Commands to strip libraries.
   11012 old_striplib=$lt_old_striplib
   11013 striplib=$lt_striplib
   11014 
   11015 # Dependencies to place before the objects being linked to create a
   11016 # shared library.
   11017 predep_objects=$lt_predep_objects
   11018 
   11019 # Dependencies to place after the objects being linked to create a
   11020 # shared library.
   11021 postdep_objects=$lt_postdep_objects
   11022 
   11023 # Dependencies to place before the objects being linked to create a
   11024 # shared library.
   11025 predeps=$lt_predeps
   11026 
   11027 # Dependencies to place after the objects being linked to create a
   11028 # shared library.
   11029 postdeps=$lt_postdeps
   11030 
   11031 # The directories searched by this compiler when creating a shared
   11032 # library
   11033 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11034 
   11035 # The library search path used internally by the compiler when linking
   11036 # a shared library.
   11037 compiler_lib_search_path=$lt_compiler_lib_search_path
   11038 
   11039 # Method to check whether dependent libraries are shared objects.
   11040 deplibs_check_method=$lt_deplibs_check_method
   11041 
   11042 # Command to use when deplibs_check_method == file_magic.
   11043 file_magic_cmd=$lt_file_magic_cmd
   11044 
   11045 # Flag that allows shared libraries with undefined symbols to be built.
   11046 allow_undefined_flag=$lt_allow_undefined_flag
   11047 
   11048 # Flag that forces no undefined symbols.
   11049 no_undefined_flag=$lt_no_undefined_flag
   11050 
   11051 # Commands used to finish a libtool library installation in a directory.
   11052 finish_cmds=$lt_finish_cmds
   11053 
   11054 # Same as above, but a single script fragment to be evaled but not shown.
   11055 finish_eval=$lt_finish_eval
   11056 
   11057 # Take the output of nm and produce a listing of raw symbols and C names.
   11058 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11059 
   11060 # Transform the output of nm in a proper C declaration
   11061 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11062 
   11063 # Transform the output of nm in a C name address pair
   11064 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11065 
   11066 # This is the shared library runtime path variable.
   11067 runpath_var=$runpath_var
   11068 
   11069 # This is the shared library path variable.
   11070 shlibpath_var=$shlibpath_var
   11071 
   11072 # Is shlibpath searched before the hard-coded library search path?
   11073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11074 
   11075 # How to hardcode a shared library path into an executable.
   11076 hardcode_action=$hardcode_action
   11077 
   11078 # Whether we should hardcode library paths into libraries.
   11079 hardcode_into_libs=$hardcode_into_libs
   11080 
   11081 # Flag to hardcode \$libdir into a binary during linking.
   11082 # This must work even if \$libdir does not exist.
   11083 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11084 
   11085 # If ld is used when linking, flag to hardcode \$libdir into
   11086 # a binary during linking. This must work even if \$libdir does
   11087 # not exist.
   11088 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11089 
   11090 # Whether we need a single -rpath flag with a separated argument.
   11091 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11092 
   11093 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11094 # resulting binary.
   11095 hardcode_direct=$hardcode_direct
   11096 
   11097 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11098 # resulting binary.
   11099 hardcode_minus_L=$hardcode_minus_L
   11100 
   11101 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11102 # the resulting binary.
   11103 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11104 
   11105 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11106 # and all subsequent libraries and executables linked against it.
   11107 hardcode_automatic=$hardcode_automatic
   11108 
   11109 # Variables whose values should be saved in libtool wrapper scripts and
   11110 # restored at relink time.
   11111 variables_saved_for_relink="$variables_saved_for_relink"
   11112 
   11113 # Whether libtool must link a program against all its dependency libraries.
   11114 link_all_deplibs=$link_all_deplibs
   11115 
   11116 # Compile-time system search path for libraries
   11117 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11118 
   11119 # Run-time system search path for libraries
   11120 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11121 
   11122 # Fix the shell variable \$srcfile for the compiler.
   11123 fix_srcfile_path=$lt_fix_srcfile_path
   11124 
   11125 # Set to yes if exported symbols are required.
   11126 always_export_symbols=$always_export_symbols
   11127 
   11128 # The commands to list exported symbols.
   11129 export_symbols_cmds=$lt_export_symbols_cmds
   11130 
   11131 # The commands to extract the exported symbol list from a shared archive.
   11132 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11133 
   11134 # Symbols that should not be listed in the preloaded symbols.
   11135 exclude_expsyms=$lt_exclude_expsyms
   11136 
   11137 # Symbols that must always be exported.
   11138 include_expsyms=$lt_include_expsyms
   11139 
   11140 # ### END LIBTOOL CONFIG
   11141 
   11142 __EOF__
   11143 
   11144 
   11145   case $host_os in
   11146   aix3*)
   11147     cat <<\EOF >> "$cfgfile"
   11148 
   11149 # AIX sometimes has problems with the GCC collect2 program.  For some
   11150 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11151 # vanish in a puff of smoke.
   11152 if test "X${COLLECT_NAMES+set}" != Xset; then
   11153   COLLECT_NAMES=
   11154   export COLLECT_NAMES
   11155 fi
   11156 EOF
   11157     ;;
   11158   esac
   11159 
   11160   # We use sed instead of cat because bash on DJGPP gets confused if
   11161   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11162   # text mode, it properly converts lines to CR/LF.  This bash problem
   11163   # is reportedly fixed, but why not run on old versions too?
   11164   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11165 
   11166   mv -f "$cfgfile" "$ofile" || \
   11167     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11168   chmod +x "$ofile"
   11169 
   11170 else
   11171   # If there is no Makefile yet, we rely on a make rule to execute
   11172   # `config.status --recheck' to rerun these tests and create the
   11173   # libtool script then.
   11174   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11175   if test -f "$ltmain_in"; then
   11176     test -f Makefile && make "$ltmain"
   11177   fi
   11178 fi
   11179 
   11180 
   11181 ac_ext=c
   11182 ac_cpp='$CPP $CPPFLAGS'
   11183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11186 
   11187 CC="$lt_save_CC"
   11188 
   11189 
   11190 # Check whether --with-tags was given.
   11191 if test "${with_tags+set}" = set; then
   11192   withval=$with_tags; tagnames="$withval"
   11193 fi
   11194 
   11195 
   11196 if test -f "$ltmain" && test -n "$tagnames"; then
   11197   if test ! -f "${ofile}"; then
   11198     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11199 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11200   fi
   11201 
   11202   if test -z "$LTCC"; then
   11203     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11204     if test -z "$LTCC"; then
   11205       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11206 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11207     else
   11208       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11209 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11210     fi
   11211   fi
   11212   if test -z "$LTCFLAGS"; then
   11213     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11214   fi
   11215 
   11216   # Extract list of available tagged configurations in $ofile.
   11217   # Note that this assumes the entire list is on one line.
   11218   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11219 
   11220   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11221   for tagname in $tagnames; do
   11222     IFS="$lt_save_ifs"
   11223     # Check whether tagname contains only valid characters
   11224     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11225     "") ;;
   11226     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11227 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11228    { (exit 1); exit 1; }; }
   11229 	;;
   11230     esac
   11231 
   11232     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11233     then
   11234       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11235 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11236    { (exit 1); exit 1; }; }
   11237     fi
   11238 
   11239     # Update the list of available tags.
   11240     if test -n "$tagname"; then
   11241       echo appending configuration tag \"$tagname\" to $ofile
   11242 
   11243       case $tagname in
   11244       CXX)
   11245 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11246 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11247 	    (test "X$CXX" != "Xg++"))) ; then
   11248 	  ac_ext=cpp
   11249 ac_cpp='$CXXCPP $CPPFLAGS'
   11250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11253 
   11254 
   11255 
   11256 
   11257 archive_cmds_need_lc_CXX=no
   11258 allow_undefined_flag_CXX=
   11259 always_export_symbols_CXX=no
   11260 archive_expsym_cmds_CXX=
   11261 export_dynamic_flag_spec_CXX=
   11262 hardcode_direct_CXX=no
   11263 hardcode_libdir_flag_spec_CXX=
   11264 hardcode_libdir_flag_spec_ld_CXX=
   11265 hardcode_libdir_separator_CXX=
   11266 hardcode_minus_L_CXX=no
   11267 hardcode_shlibpath_var_CXX=unsupported
   11268 hardcode_automatic_CXX=no
   11269 module_cmds_CXX=
   11270 module_expsym_cmds_CXX=
   11271 link_all_deplibs_CXX=unknown
   11272 old_archive_cmds_CXX=$old_archive_cmds
   11273 no_undefined_flag_CXX=
   11274 whole_archive_flag_spec_CXX=
   11275 enable_shared_with_static_runtimes_CXX=no
   11276 
   11277 # Dependencies to place before and after the object being linked:
   11278 predep_objects_CXX=
   11279 postdep_objects_CXX=
   11280 predeps_CXX=
   11281 postdeps_CXX=
   11282 compiler_lib_search_path_CXX=
   11283 compiler_lib_search_dirs_CXX=
   11284 
   11285 # Source file extension for C++ test sources.
   11286 ac_ext=cpp
   11287 
   11288 # Object file extension for compiled C++ test sources.
   11289 objext=o
   11290 objext_CXX=$objext
   11291 
   11292 # Code to be used in simple compile tests
   11293 lt_simple_compile_test_code="int some_variable = 0;"
   11294 
   11295 # Code to be used in simple link tests
   11296 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11297 
   11298 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11299 
   11300 # If no C compiler was specified, use CC.
   11301 LTCC=${LTCC-"$CC"}
   11302 
   11303 # If no C compiler flags were specified, use CFLAGS.
   11304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11305 
   11306 # Allow CC to be a program name with arguments.
   11307 compiler=$CC
   11308 
   11309 
   11310 # save warnings/boilerplate of simple test code
   11311 ac_outfile=conftest.$ac_objext
   11312 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11313 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11314 _lt_compiler_boilerplate=`cat conftest.err`
   11315 $rm conftest*
   11316 
   11317 ac_outfile=conftest.$ac_objext
   11318 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11319 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11320 _lt_linker_boilerplate=`cat conftest.err`
   11321 $rm -r conftest*
   11322 
   11323 
   11324 # Allow CC to be a program name with arguments.
   11325 lt_save_CC=$CC
   11326 lt_save_LD=$LD
   11327 lt_save_GCC=$GCC
   11328 GCC=$GXX
   11329 lt_save_with_gnu_ld=$with_gnu_ld
   11330 lt_save_path_LD=$lt_cv_path_LD
   11331 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11332   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11333 else
   11334   $as_unset lt_cv_prog_gnu_ld
   11335 fi
   11336 if test -n "${lt_cv_path_LDCXX+set}"; then
   11337   lt_cv_path_LD=$lt_cv_path_LDCXX
   11338 else
   11339   $as_unset lt_cv_path_LD
   11340 fi
   11341 test -z "${LDCXX+set}" || LD=$LDCXX
   11342 CC=${CXX-"c++"}
   11343 compiler=$CC
   11344 compiler_CXX=$CC
   11345 for cc_temp in $compiler""; do
   11346   case $cc_temp in
   11347     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11348     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11349     \-*) ;;
   11350     *) break;;
   11351   esac
   11352 done
   11353 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11354 
   11355 
   11356 # We don't want -fno-exception wen compiling C++ code, so set the
   11357 # no_builtin_flag separately
   11358 if test "$GXX" = yes; then
   11359   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11360 else
   11361   lt_prog_compiler_no_builtin_flag_CXX=
   11362 fi
   11363 
   11364 if test "$GXX" = yes; then
   11365   # Set up default GNU C++ configuration
   11366 
   11367 
   11368 # Check whether --with-gnu-ld was given.
   11369 if test "${with_gnu_ld+set}" = set; then
   11370   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11371 else
   11372   with_gnu_ld=no
   11373 fi
   11374 
   11375 ac_prog=ld
   11376 if test "$GCC" = yes; then
   11377   # Check if gcc -print-prog-name=ld gives a path.
   11378   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11379 $as_echo_n "checking for ld used by $CC... " >&6; }
   11380   case $host in
   11381   *-*-mingw*)
   11382     # gcc leaves a trailing carriage return which upsets mingw
   11383     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11384   *)
   11385     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11386   esac
   11387   case $ac_prog in
   11388     # Accept absolute paths.
   11389     [\\/]* | ?:[\\/]*)
   11390       re_direlt='/[^/][^/]*/\.\./'
   11391       # Canonicalize the pathname of ld
   11392       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11393       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11394 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11395       done
   11396       test -z "$LD" && LD="$ac_prog"
   11397       ;;
   11398   "")
   11399     # If it fails, then pretend we aren't using GCC.
   11400     ac_prog=ld
   11401     ;;
   11402   *)
   11403     # If it is relative, then search for the first ld in PATH.
   11404     with_gnu_ld=unknown
   11405     ;;
   11406   esac
   11407 elif test "$with_gnu_ld" = yes; then
   11408   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11409 $as_echo_n "checking for GNU ld... " >&6; }
   11410 else
   11411   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11412 $as_echo_n "checking for non-GNU ld... " >&6; }
   11413 fi
   11414 if test "${lt_cv_path_LD+set}" = set; then
   11415   $as_echo_n "(cached) " >&6
   11416 else
   11417   if test -z "$LD"; then
   11418   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11419   for ac_dir in $PATH; do
   11420     IFS="$lt_save_ifs"
   11421     test -z "$ac_dir" && ac_dir=.
   11422     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11423       lt_cv_path_LD="$ac_dir/$ac_prog"
   11424       # Check to see if the program is GNU ld.  I'd rather use --version,
   11425       # but apparently some variants of GNU ld only accept -v.
   11426       # Break only if it was the GNU/non-GNU ld that we prefer.
   11427       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11428       *GNU* | *'with BFD'*)
   11429 	test "$with_gnu_ld" != no && break
   11430 	;;
   11431       *)
   11432 	test "$with_gnu_ld" != yes && break
   11433 	;;
   11434       esac
   11435     fi
   11436   done
   11437   IFS="$lt_save_ifs"
   11438 else
   11439   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11440 fi
   11441 fi
   11442 
   11443 LD="$lt_cv_path_LD"
   11444 if test -n "$LD"; then
   11445   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11446 $as_echo "$LD" >&6; }
   11447 else
   11448   { $as_echo "$as_me:$LINENO: result: no" >&5
   11449 $as_echo "no" >&6; }
   11450 fi
   11451 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11452 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11453    { (exit 1); exit 1; }; }
   11454 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11455 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11456 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11457   $as_echo_n "(cached) " >&6
   11458 else
   11459   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11460 case `$LD -v 2>&1 </dev/null` in
   11461 *GNU* | *'with BFD'*)
   11462   lt_cv_prog_gnu_ld=yes
   11463   ;;
   11464 *)
   11465   lt_cv_prog_gnu_ld=no
   11466   ;;
   11467 esac
   11468 fi
   11469 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11470 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11471 with_gnu_ld=$lt_cv_prog_gnu_ld
   11472 
   11473 
   11474 
   11475   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11476   # archiving commands below assume that GNU ld is being used.
   11477   if test "$with_gnu_ld" = yes; then
   11478     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11479     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'
   11480 
   11481     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11482     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11483 
   11484     # If archive_cmds runs LD, not CC, wlarc should be empty
   11485     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11486     #     investigate it a little bit more. (MM)
   11487     wlarc='${wl}'
   11488 
   11489     # ancient GNU ld didn't support --whole-archive et. al.
   11490     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11491 	grep 'no-whole-archive' > /dev/null; then
   11492       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11493     else
   11494       whole_archive_flag_spec_CXX=
   11495     fi
   11496   else
   11497     with_gnu_ld=no
   11498     wlarc=
   11499 
   11500     # A generic and very simple default shared library creation
   11501     # command for GNU C++ for the case where it uses the native
   11502     # linker, instead of GNU ld.  If possible, this setting should
   11503     # overridden to take advantage of the native linker features on
   11504     # the platform it is being used on.
   11505     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11506   fi
   11507 
   11508   # Commands to make compiler produce verbose output that lists
   11509   # what "hidden" libraries, object files and flags are used when
   11510   # linking a shared library.
   11511   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11512 
   11513 else
   11514   GXX=no
   11515   with_gnu_ld=no
   11516   wlarc=
   11517 fi
   11518 
   11519 # PORTME: fill in a description of your system's C++ link characteristics
   11520 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11521 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11522 ld_shlibs_CXX=yes
   11523 case $host_os in
   11524   aix3*)
   11525     # FIXME: insert proper C++ library support
   11526     ld_shlibs_CXX=no
   11527     ;;
   11528   aix[4-9]*)
   11529     if test "$host_cpu" = ia64; then
   11530       # On IA64, the linker does run time linking by default, so we don't
   11531       # have to do anything special.
   11532       aix_use_runtimelinking=no
   11533       exp_sym_flag='-Bexport'
   11534       no_entry_flag=""
   11535     else
   11536       aix_use_runtimelinking=no
   11537 
   11538       # Test if we are trying to use run time linking or normal
   11539       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11540       # need to do runtime linking.
   11541       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11542 	for ld_flag in $LDFLAGS; do
   11543 	  case $ld_flag in
   11544 	  *-brtl*)
   11545 	    aix_use_runtimelinking=yes
   11546 	    break
   11547 	    ;;
   11548 	  esac
   11549 	done
   11550 	;;
   11551       esac
   11552 
   11553       exp_sym_flag='-bexport'
   11554       no_entry_flag='-bnoentry'
   11555     fi
   11556 
   11557     # When large executables or shared objects are built, AIX ld can
   11558     # have problems creating the table of contents.  If linking a library
   11559     # or program results in "error TOC overflow" add -mminimal-toc to
   11560     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11561     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11562 
   11563     archive_cmds_CXX=''
   11564     hardcode_direct_CXX=yes
   11565     hardcode_libdir_separator_CXX=':'
   11566     link_all_deplibs_CXX=yes
   11567 
   11568     if test "$GXX" = yes; then
   11569       case $host_os in aix4.[012]|aix4.[012].*)
   11570       # We only want to do this on AIX 4.2 and lower, the check
   11571       # below for broken collect2 doesn't work under 4.3+
   11572 	collect2name=`${CC} -print-prog-name=collect2`
   11573 	if test -f "$collect2name" && \
   11574 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11575 	then
   11576 	  # We have reworked collect2
   11577 	  :
   11578 	else
   11579 	  # We have old collect2
   11580 	  hardcode_direct_CXX=unsupported
   11581 	  # It fails to find uninstalled libraries when the uninstalled
   11582 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11583 	  # to unsupported forces relinking
   11584 	  hardcode_minus_L_CXX=yes
   11585 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11586 	  hardcode_libdir_separator_CXX=
   11587 	fi
   11588 	;;
   11589       esac
   11590       shared_flag='-shared'
   11591       if test "$aix_use_runtimelinking" = yes; then
   11592 	shared_flag="$shared_flag "'${wl}-G'
   11593       fi
   11594     else
   11595       # not using gcc
   11596       if test "$host_cpu" = ia64; then
   11597 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11598 	# chokes on -Wl,-G. The following line is correct:
   11599 	shared_flag='-G'
   11600       else
   11601 	if test "$aix_use_runtimelinking" = yes; then
   11602 	  shared_flag='${wl}-G'
   11603 	else
   11604 	  shared_flag='${wl}-bM:SRE'
   11605 	fi
   11606       fi
   11607     fi
   11608 
   11609     # It seems that -bexpall does not export symbols beginning with
   11610     # underscore (_), so it is better to generate a list of symbols to export.
   11611     always_export_symbols_CXX=yes
   11612     if test "$aix_use_runtimelinking" = yes; then
   11613       # Warning - without using the other runtime loading flags (-brtl),
   11614       # -berok will link without error, but may produce a broken library.
   11615       allow_undefined_flag_CXX='-berok'
   11616       # Determine the default libpath from the value encoded in an empty executable.
   11617       cat >conftest.$ac_ext <<_ACEOF
   11618 /* confdefs.h.  */
   11619 _ACEOF
   11620 cat confdefs.h >>conftest.$ac_ext
   11621 cat >>conftest.$ac_ext <<_ACEOF
   11622 /* end confdefs.h.  */
   11623 
   11624 int
   11625 main ()
   11626 {
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 rm -f conftest.$ac_objext conftest$ac_exeext
   11633 if { (ac_try="$ac_link"
   11634 case "(($ac_try" in
   11635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11636   *) ac_try_echo=$ac_try;;
   11637 esac
   11638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11639 $as_echo "$ac_try_echo") >&5
   11640   (eval "$ac_link") 2>conftest.er1
   11641   ac_status=$?
   11642   grep -v '^ *+' conftest.er1 >conftest.err
   11643   rm -f conftest.er1
   11644   cat conftest.err >&5
   11645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11646   (exit $ac_status); } && {
   11647 	 test -z "$ac_cxx_werror_flag" ||
   11648 	 test ! -s conftest.err
   11649        } && test -s conftest$ac_exeext && {
   11650 	 test "$cross_compiling" = yes ||
   11651 	 $as_test_x conftest$ac_exeext
   11652        }; then
   11653 
   11654 lt_aix_libpath_sed='
   11655     /Import File Strings/,/^$/ {
   11656 	/^0/ {
   11657 	    s/^0  *\(.*\)$/\1/
   11658 	    p
   11659 	}
   11660     }'
   11661 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11662 # Check for a 64-bit object if we didn't find anything.
   11663 if test -z "$aix_libpath"; then
   11664   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11665 fi
   11666 else
   11667   $as_echo "$as_me: failed program was:" >&5
   11668 sed 's/^/| /' conftest.$ac_ext >&5
   11669 
   11670 
   11671 fi
   11672 
   11673 rm -rf conftest.dSYM
   11674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11675       conftest$ac_exeext conftest.$ac_ext
   11676 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11677 
   11678       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11679 
   11680       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"
   11681      else
   11682       if test "$host_cpu" = ia64; then
   11683 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11684 	allow_undefined_flag_CXX="-z nodefs"
   11685 	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"
   11686       else
   11687 	# Determine the default libpath from the value encoded in an empty executable.
   11688 	cat >conftest.$ac_ext <<_ACEOF
   11689 /* confdefs.h.  */
   11690 _ACEOF
   11691 cat confdefs.h >>conftest.$ac_ext
   11692 cat >>conftest.$ac_ext <<_ACEOF
   11693 /* end confdefs.h.  */
   11694 
   11695 int
   11696 main ()
   11697 {
   11698 
   11699   ;
   11700   return 0;
   11701 }
   11702 _ACEOF
   11703 rm -f conftest.$ac_objext conftest$ac_exeext
   11704 if { (ac_try="$ac_link"
   11705 case "(($ac_try" in
   11706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11707   *) ac_try_echo=$ac_try;;
   11708 esac
   11709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11710 $as_echo "$ac_try_echo") >&5
   11711   (eval "$ac_link") 2>conftest.er1
   11712   ac_status=$?
   11713   grep -v '^ *+' conftest.er1 >conftest.err
   11714   rm -f conftest.er1
   11715   cat conftest.err >&5
   11716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11717   (exit $ac_status); } && {
   11718 	 test -z "$ac_cxx_werror_flag" ||
   11719 	 test ! -s conftest.err
   11720        } && test -s conftest$ac_exeext && {
   11721 	 test "$cross_compiling" = yes ||
   11722 	 $as_test_x conftest$ac_exeext
   11723        }; then
   11724 
   11725 lt_aix_libpath_sed='
   11726     /Import File Strings/,/^$/ {
   11727 	/^0/ {
   11728 	    s/^0  *\(.*\)$/\1/
   11729 	    p
   11730 	}
   11731     }'
   11732 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11733 # Check for a 64-bit object if we didn't find anything.
   11734 if test -z "$aix_libpath"; then
   11735   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11736 fi
   11737 else
   11738   $as_echo "$as_me: failed program was:" >&5
   11739 sed 's/^/| /' conftest.$ac_ext >&5
   11740 
   11741 
   11742 fi
   11743 
   11744 rm -rf conftest.dSYM
   11745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11746       conftest$ac_exeext conftest.$ac_ext
   11747 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11748 
   11749 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11750 	# Warning - without using the other run time loading flags,
   11751 	# -berok will link without error, but may produce a broken library.
   11752 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11753 	allow_undefined_flag_CXX=' ${wl}-berok'
   11754 	# Exported symbols can be pulled into shared objects from archives
   11755 	whole_archive_flag_spec_CXX='$convenience'
   11756 	archive_cmds_need_lc_CXX=yes
   11757 	# This is similar to how AIX traditionally builds its shared libraries.
   11758 	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'
   11759       fi
   11760     fi
   11761     ;;
   11762 
   11763   beos*)
   11764     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11765       allow_undefined_flag_CXX=unsupported
   11766       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11767       # support --undefined.  This deserves some investigation.  FIXME
   11768       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11769     else
   11770       ld_shlibs_CXX=no
   11771     fi
   11772     ;;
   11773 
   11774   chorus*)
   11775     case $cc_basename in
   11776       *)
   11777 	# FIXME: insert proper C++ library support
   11778 	ld_shlibs_CXX=no
   11779 	;;
   11780     esac
   11781     ;;
   11782 
   11783   cygwin* | mingw* | pw32*)
   11784     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11785     # as there is no search path for DLLs.
   11786     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11787     allow_undefined_flag_CXX=unsupported
   11788     always_export_symbols_CXX=no
   11789     enable_shared_with_static_runtimes_CXX=yes
   11790 
   11791     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11792       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'
   11793       # If the export-symbols file already is a .def file (1st line
   11794       # is EXPORTS), use it as is; otherwise, prepend...
   11795       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11796 	cp $export_symbols $output_objdir/$soname.def;
   11797       else
   11798 	echo EXPORTS > $output_objdir/$soname.def;
   11799 	cat $export_symbols >> $output_objdir/$soname.def;
   11800       fi~
   11801       $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'
   11802     else
   11803       ld_shlibs_CXX=no
   11804     fi
   11805   ;;
   11806       darwin* | rhapsody*)
   11807       archive_cmds_need_lc_CXX=no
   11808       hardcode_direct_CXX=no
   11809       hardcode_automatic_CXX=yes
   11810       hardcode_shlibpath_var_CXX=unsupported
   11811       whole_archive_flag_spec_CXX=''
   11812       link_all_deplibs_CXX=yes
   11813       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11814       if test "$GXX" = yes ; then
   11815       output_verbose_link_cmd='echo'
   11816       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}"
   11817       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11818       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}"
   11819       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}"
   11820       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11821         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}"
   11822         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}"
   11823       fi
   11824       else
   11825       case $cc_basename in
   11826         xlc*)
   11827          output_verbose_link_cmd='echo'
   11828           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'
   11829           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11830           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11831           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}'
   11832           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}'
   11833           ;;
   11834        *)
   11835          ld_shlibs_CXX=no
   11836           ;;
   11837       esac
   11838       fi
   11839         ;;
   11840 
   11841   dgux*)
   11842     case $cc_basename in
   11843       ec++*)
   11844 	# FIXME: insert proper C++ library support
   11845 	ld_shlibs_CXX=no
   11846 	;;
   11847       ghcx*)
   11848 	# Green Hills C++ Compiler
   11849 	# FIXME: insert proper C++ library support
   11850 	ld_shlibs_CXX=no
   11851 	;;
   11852       *)
   11853 	# FIXME: insert proper C++ library support
   11854 	ld_shlibs_CXX=no
   11855 	;;
   11856     esac
   11857     ;;
   11858   freebsd[12]*)
   11859     # C++ shared libraries reported to be fairly broken before switch to ELF
   11860     ld_shlibs_CXX=no
   11861     ;;
   11862   freebsd-elf*)
   11863     archive_cmds_need_lc_CXX=no
   11864     ;;
   11865   freebsd* | dragonfly*)
   11866     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11867     # conventions
   11868     ld_shlibs_CXX=yes
   11869     ;;
   11870   gnu*)
   11871     ;;
   11872   hpux9*)
   11873     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11874     hardcode_libdir_separator_CXX=:
   11875     export_dynamic_flag_spec_CXX='${wl}-E'
   11876     hardcode_direct_CXX=yes
   11877     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11878 				# but as the default
   11879 				# location of the library.
   11880 
   11881     case $cc_basename in
   11882     CC*)
   11883       # FIXME: insert proper C++ library support
   11884       ld_shlibs_CXX=no
   11885       ;;
   11886     aCC*)
   11887       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'
   11888       # Commands to make compiler produce verbose output that lists
   11889       # what "hidden" libraries, object files and flags are used when
   11890       # linking a shared library.
   11891       #
   11892       # There doesn't appear to be a way to prevent this compiler from
   11893       # explicitly linking system object files so we need to strip them
   11894       # from the output so that they don't get included in the library
   11895       # dependencies.
   11896       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'
   11897       ;;
   11898     *)
   11899       if test "$GXX" = yes; then
   11900         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'
   11901       else
   11902         # FIXME: insert proper C++ library support
   11903         ld_shlibs_CXX=no
   11904       fi
   11905       ;;
   11906     esac
   11907     ;;
   11908   hpux10*|hpux11*)
   11909     if test $with_gnu_ld = no; then
   11910       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11911       hardcode_libdir_separator_CXX=:
   11912 
   11913       case $host_cpu in
   11914       hppa*64*|ia64*) ;;
   11915       *)
   11916 	export_dynamic_flag_spec_CXX='${wl}-E'
   11917         ;;
   11918       esac
   11919     fi
   11920     case $host_cpu in
   11921     hppa*64*|ia64*)
   11922       hardcode_direct_CXX=no
   11923       hardcode_shlibpath_var_CXX=no
   11924       ;;
   11925     *)
   11926       hardcode_direct_CXX=yes
   11927       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11928 					      # but as the default
   11929 					      # location of the library.
   11930       ;;
   11931     esac
   11932 
   11933     case $cc_basename in
   11934       CC*)
   11935 	# FIXME: insert proper C++ library support
   11936 	ld_shlibs_CXX=no
   11937 	;;
   11938       aCC*)
   11939 	case $host_cpu in
   11940 	hppa*64*)
   11941 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11942 	  ;;
   11943 	ia64*)
   11944 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11945 	  ;;
   11946 	*)
   11947 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11948 	  ;;
   11949 	esac
   11950 	# Commands to make compiler produce verbose output that lists
   11951 	# what "hidden" libraries, object files and flags are used when
   11952 	# linking a shared library.
   11953 	#
   11954 	# There doesn't appear to be a way to prevent this compiler from
   11955 	# explicitly linking system object files so we need to strip them
   11956 	# from the output so that they don't get included in the library
   11957 	# dependencies.
   11958 	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'
   11959 	;;
   11960       *)
   11961 	if test "$GXX" = yes; then
   11962 	  if test $with_gnu_ld = no; then
   11963 	    case $host_cpu in
   11964 	    hppa*64*)
   11965 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11966 	      ;;
   11967 	    ia64*)
   11968 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11969 	      ;;
   11970 	    *)
   11971 	      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'
   11972 	      ;;
   11973 	    esac
   11974 	  fi
   11975 	else
   11976 	  # FIXME: insert proper C++ library support
   11977 	  ld_shlibs_CXX=no
   11978 	fi
   11979 	;;
   11980     esac
   11981     ;;
   11982   interix[3-9]*)
   11983     hardcode_direct_CXX=no
   11984     hardcode_shlibpath_var_CXX=no
   11985     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11986     export_dynamic_flag_spec_CXX='${wl}-E'
   11987     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11988     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11989     # default) and relocated if they conflict, which is a slow very memory
   11990     # consuming and fragmenting process.  To avoid this, we pick a random,
   11991     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11992     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11993     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'
   11994     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'
   11995     ;;
   11996   irix5* | irix6*)
   11997     case $cc_basename in
   11998       CC*)
   11999 	# SGI C++
   12000 	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'
   12001 
   12002 	# Archives containing C++ object files must be created using
   12003 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12004 	# necessary to make sure instantiated templates are included
   12005 	# in the archive.
   12006 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12007 	;;
   12008       *)
   12009 	if test "$GXX" = yes; then
   12010 	  if test "$with_gnu_ld" = no; then
   12011 	    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'
   12012 	  else
   12013 	    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'
   12014 	  fi
   12015 	fi
   12016 	link_all_deplibs_CXX=yes
   12017 	;;
   12018     esac
   12019     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12020     hardcode_libdir_separator_CXX=:
   12021     ;;
   12022   linux* | k*bsd*-gnu)
   12023     case $cc_basename in
   12024       KCC*)
   12025 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12026 
   12027 	# KCC will only create a shared library if the output file
   12028 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12029 	# to its proper name (with version) after linking.
   12030 	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'
   12031 	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'
   12032 	# Commands to make compiler produce verbose output that lists
   12033 	# what "hidden" libraries, object files and flags are used when
   12034 	# linking a shared library.
   12035 	#
   12036 	# There doesn't appear to be a way to prevent this compiler from
   12037 	# explicitly linking system object files so we need to strip them
   12038 	# from the output so that they don't get included in the library
   12039 	# dependencies.
   12040 	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'
   12041 
   12042 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12043 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12044 
   12045 	# Archives containing C++ object files must be created using
   12046 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12047 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12048 	;;
   12049       icpc*)
   12050 	# Intel C++
   12051 	with_gnu_ld=yes
   12052 	# version 8.0 and above of icpc choke on multiply defined symbols
   12053 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12054 	# earlier do not add the objects themselves.
   12055 	case `$CC -V 2>&1` in
   12056 	*"Version 7."*)
   12057   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12058   	  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'
   12059 	  ;;
   12060 	*)  # Version 8.0 or newer
   12061 	  tmp_idyn=
   12062 	  case $host_cpu in
   12063 	    ia64*) tmp_idyn=' -i_dynamic';;
   12064 	  esac
   12065   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12066 	  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'
   12067 	  ;;
   12068 	esac
   12069 	archive_cmds_need_lc_CXX=no
   12070 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12071 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12072 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12073 	;;
   12074       pgCC* | pgcpp*)
   12075         # Portland Group C++ compiler
   12076 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12077   	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'
   12078 
   12079 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12080 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12081 	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'
   12082         ;;
   12083       cxx*)
   12084 	# Compaq C++
   12085 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12086 	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'
   12087 
   12088 	runpath_var=LD_RUN_PATH
   12089 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12090 	hardcode_libdir_separator_CXX=:
   12091 
   12092 	# Commands to make compiler produce verbose output that lists
   12093 	# what "hidden" libraries, object files and flags are used when
   12094 	# linking a shared library.
   12095 	#
   12096 	# There doesn't appear to be a way to prevent this compiler from
   12097 	# explicitly linking system object files so we need to strip them
   12098 	# from the output so that they don't get included in the library
   12099 	# dependencies.
   12100 	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'
   12101 	;;
   12102       *)
   12103 	case `$CC -V 2>&1 | sed 5q` in
   12104 	*Sun\ C*)
   12105 	  # Sun C++ 5.9
   12106 	  no_undefined_flag_CXX=' -zdefs'
   12107 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12108 	  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'
   12109 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12110 	  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'
   12111 
   12112 	  # Not sure whether something based on
   12113 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12114 	  # would be better.
   12115 	  output_verbose_link_cmd='echo'
   12116 
   12117 	  # Archives containing C++ object files must be created using
   12118 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12119 	  # necessary to make sure instantiated templates are included
   12120 	  # in the archive.
   12121 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12122 	  ;;
   12123 	esac
   12124 	;;
   12125     esac
   12126     ;;
   12127   lynxos*)
   12128     # FIXME: insert proper C++ library support
   12129     ld_shlibs_CXX=no
   12130     ;;
   12131   m88k*)
   12132     # FIXME: insert proper C++ library support
   12133     ld_shlibs_CXX=no
   12134     ;;
   12135   mvs*)
   12136     case $cc_basename in
   12137       cxx*)
   12138 	# FIXME: insert proper C++ library support
   12139 	ld_shlibs_CXX=no
   12140 	;;
   12141       *)
   12142 	# FIXME: insert proper C++ library support
   12143 	ld_shlibs_CXX=no
   12144 	;;
   12145     esac
   12146     ;;
   12147   netbsd*)
   12148     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12149       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12150       wlarc=
   12151       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12152       hardcode_direct_CXX=yes
   12153       hardcode_shlibpath_var_CXX=no
   12154     fi
   12155     # Workaround some broken pre-1.5 toolchains
   12156     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12157     ;;
   12158   openbsd2*)
   12159     # C++ shared libraries are fairly broken
   12160     ld_shlibs_CXX=no
   12161     ;;
   12162   openbsd*)
   12163     if test -f /usr/libexec/ld.so; then
   12164       hardcode_direct_CXX=yes
   12165       hardcode_shlibpath_var_CXX=no
   12166       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12167       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12168       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12169 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12170 	export_dynamic_flag_spec_CXX='${wl}-E'
   12171 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12172       fi
   12173       output_verbose_link_cmd='echo'
   12174     else
   12175       ld_shlibs_CXX=no
   12176     fi
   12177     ;;
   12178   osf3*)
   12179     case $cc_basename in
   12180       KCC*)
   12181 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12182 
   12183 	# KCC will only create a shared library if the output file
   12184 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12185 	# to its proper name (with version) after linking.
   12186 	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'
   12187 
   12188 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12189 	hardcode_libdir_separator_CXX=:
   12190 
   12191 	# Archives containing C++ object files must be created using
   12192 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12193 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12194 
   12195 	;;
   12196       RCC*)
   12197 	# Rational C++ 2.4.1
   12198 	# FIXME: insert proper C++ library support
   12199 	ld_shlibs_CXX=no
   12200 	;;
   12201       cxx*)
   12202 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12203 	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'
   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 	#
   12212 	# There doesn't appear to be a way to prevent this compiler from
   12213 	# explicitly linking system object files so we need to strip them
   12214 	# from the output so that they don't get included in the library
   12215 	# dependencies.
   12216 	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'
   12217 	;;
   12218       *)
   12219 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12220 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12221 	  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'
   12222 
   12223 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12224 	  hardcode_libdir_separator_CXX=:
   12225 
   12226 	  # Commands to make compiler produce verbose output that lists
   12227 	  # what "hidden" libraries, object files and flags are used when
   12228 	  # linking a shared library.
   12229 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12230 
   12231 	else
   12232 	  # FIXME: insert proper C++ library support
   12233 	  ld_shlibs_CXX=no
   12234 	fi
   12235 	;;
   12236     esac
   12237     ;;
   12238   osf4* | osf5*)
   12239     case $cc_basename in
   12240       KCC*)
   12241 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12242 
   12243 	# KCC will only create a shared library if the output file
   12244 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12245 	# to its proper name (with version) after linking.
   12246 	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'
   12247 
   12248 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12249 	hardcode_libdir_separator_CXX=:
   12250 
   12251 	# Archives containing C++ object files must be created using
   12252 	# the KAI C++ compiler.
   12253 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12254 	;;
   12255       RCC*)
   12256 	# Rational C++ 2.4.1
   12257 	# FIXME: insert proper C++ library support
   12258 	ld_shlibs_CXX=no
   12259 	;;
   12260       cxx*)
   12261 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12262 	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'
   12263 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12264 	  echo "-hidden">> $lib.exp~
   12265 	  $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~
   12266 	  $rm $lib.exp'
   12267 
   12268 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12269 	hardcode_libdir_separator_CXX=:
   12270 
   12271 	# Commands to make compiler produce verbose output that lists
   12272 	# what "hidden" libraries, object files and flags are used when
   12273 	# linking a shared library.
   12274 	#
   12275 	# There doesn't appear to be a way to prevent this compiler from
   12276 	# explicitly linking system object files so we need to strip them
   12277 	# from the output so that they don't get included in the library
   12278 	# dependencies.
   12279 	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'
   12280 	;;
   12281       *)
   12282 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12283 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12284 	 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'
   12285 
   12286 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12287 	  hardcode_libdir_separator_CXX=:
   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 
   12294 	else
   12295 	  # FIXME: insert proper C++ library support
   12296 	  ld_shlibs_CXX=no
   12297 	fi
   12298 	;;
   12299     esac
   12300     ;;
   12301   psos*)
   12302     # FIXME: insert proper C++ library support
   12303     ld_shlibs_CXX=no
   12304     ;;
   12305   sunos4*)
   12306     case $cc_basename in
   12307       CC*)
   12308 	# Sun C++ 4.x
   12309 	# FIXME: insert proper C++ library support
   12310 	ld_shlibs_CXX=no
   12311 	;;
   12312       lcc*)
   12313 	# Lucid
   12314 	# FIXME: insert proper C++ library support
   12315 	ld_shlibs_CXX=no
   12316 	;;
   12317       *)
   12318 	# FIXME: insert proper C++ library support
   12319 	ld_shlibs_CXX=no
   12320 	;;
   12321     esac
   12322     ;;
   12323   solaris*)
   12324     case $cc_basename in
   12325       CC*)
   12326 	# Sun C++ 4.2, 5.x and Centerline C++
   12327         archive_cmds_need_lc_CXX=yes
   12328 	no_undefined_flag_CXX=' -zdefs'
   12329 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12330 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12331 	$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'
   12332 
   12333 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12334 	hardcode_shlibpath_var_CXX=no
   12335 	case $host_os in
   12336 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12337 	  *)
   12338 	    # The compiler driver will combine and reorder linker options,
   12339 	    # but understands `-z linker_flag'.
   12340 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12341 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12342 	    ;;
   12343 	esac
   12344 	link_all_deplibs_CXX=yes
   12345 
   12346 	output_verbose_link_cmd='echo'
   12347 
   12348 	# Archives containing C++ object files must be created using
   12349 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12350 	# necessary to make sure instantiated templates are included
   12351 	# in the archive.
   12352 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12353 	;;
   12354       gcx*)
   12355 	# Green Hills C++ Compiler
   12356 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12357 
   12358 	# The C++ compiler must be used to create the archive.
   12359 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12360 	;;
   12361       *)
   12362 	# GNU C++ compiler with Solaris linker
   12363 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12364 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12365 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12366 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12367 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12368 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12369 
   12370 	    # Commands to make compiler produce verbose output that lists
   12371 	    # what "hidden" libraries, object files and flags are used when
   12372 	    # linking a shared library.
   12373 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12374 	  else
   12375 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12376 	    # platform.
   12377 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12378 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12379 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12380 
   12381 	    # Commands to make compiler produce verbose output that lists
   12382 	    # what "hidden" libraries, object files and flags are used when
   12383 	    # linking a shared library.
   12384 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12385 	  fi
   12386 
   12387 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12388 	  case $host_os in
   12389 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12390 	  *)
   12391 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12392 	    ;;
   12393 	  esac
   12394 	fi
   12395 	;;
   12396     esac
   12397     ;;
   12398   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12399     no_undefined_flag_CXX='${wl}-z,text'
   12400     archive_cmds_need_lc_CXX=no
   12401     hardcode_shlibpath_var_CXX=no
   12402     runpath_var='LD_RUN_PATH'
   12403 
   12404     case $cc_basename in
   12405       CC*)
   12406 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12407 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12408 	;;
   12409       *)
   12410 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12411 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12412 	;;
   12413     esac
   12414     ;;
   12415   sysv5* | sco3.2v5* | sco5v6*)
   12416     # Note: We can NOT use -z defs as we might desire, because we do not
   12417     # link with -lc, and that would cause any symbols used from libc to
   12418     # always be unresolved, which means just about no library would
   12419     # ever link correctly.  If we're not using GNU ld we use -z text
   12420     # though, which does catch some bad symbols but isn't as heavy-handed
   12421     # as -z defs.
   12422     # For security reasons, it is highly recommended that you always
   12423     # use absolute paths for naming shared libraries, and exclude the
   12424     # DT_RUNPATH tag from executables and libraries.  But doing so
   12425     # requires that you compile everything twice, which is a pain.
   12426     # So that behaviour is only enabled if SCOABSPATH is set to a
   12427     # non-empty value in the environment.  Most likely only useful for
   12428     # creating official distributions of packages.
   12429     # This is a hack until libtool officially supports absolute path
   12430     # names for shared libraries.
   12431     no_undefined_flag_CXX='${wl}-z,text'
   12432     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12433     archive_cmds_need_lc_CXX=no
   12434     hardcode_shlibpath_var_CXX=no
   12435     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12436     hardcode_libdir_separator_CXX=':'
   12437     link_all_deplibs_CXX=yes
   12438     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12439     runpath_var='LD_RUN_PATH'
   12440 
   12441     case $cc_basename in
   12442       CC*)
   12443 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12444 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12445 	;;
   12446       *)
   12447 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12448 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12449 	;;
   12450     esac
   12451     ;;
   12452   tandem*)
   12453     case $cc_basename in
   12454       NCC*)
   12455 	# NonStop-UX NCC 3.20
   12456 	# FIXME: insert proper C++ library support
   12457 	ld_shlibs_CXX=no
   12458 	;;
   12459       *)
   12460 	# FIXME: insert proper C++ library support
   12461 	ld_shlibs_CXX=no
   12462 	;;
   12463     esac
   12464     ;;
   12465   vxworks*)
   12466     # FIXME: insert proper C++ library support
   12467     ld_shlibs_CXX=no
   12468     ;;
   12469   *)
   12470     # FIXME: insert proper C++ library support
   12471     ld_shlibs_CXX=no
   12472     ;;
   12473 esac
   12474 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12475 $as_echo "$ld_shlibs_CXX" >&6; }
   12476 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12477 
   12478 GCC_CXX="$GXX"
   12479 LD_CXX="$LD"
   12480 
   12481 cat > conftest.$ac_ext <<EOF
   12482 class Foo
   12483 {
   12484 public:
   12485   Foo (void) { a = 0; }
   12486 private:
   12487   int a;
   12488 };
   12489 EOF
   12490 
   12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12492   (eval $ac_compile) 2>&5
   12493   ac_status=$?
   12494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12495   (exit $ac_status); }; then
   12496   # Parse the compiler output and extract the necessary
   12497   # objects, libraries and library flags.
   12498 
   12499   # Sentinel used to keep track of whether or not we are before
   12500   # the conftest object file.
   12501   pre_test_object_deps_done=no
   12502 
   12503   # The `*' in the case matches for architectures that use `case' in
   12504   # $output_verbose_cmd can trigger glob expansion during the loop
   12505   # eval without this substitution.
   12506   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12507 
   12508   for p in `eval $output_verbose_link_cmd`; do
   12509     case $p in
   12510 
   12511     -L* | -R* | -l*)
   12512        # Some compilers place space between "-{L,R}" and the path.
   12513        # Remove the space.
   12514        if test $p = "-L" \
   12515 	  || test $p = "-R"; then
   12516 	 prev=$p
   12517 	 continue
   12518        else
   12519 	 prev=
   12520        fi
   12521 
   12522        if test "$pre_test_object_deps_done" = no; then
   12523 	 case $p in
   12524 	 -L* | -R*)
   12525 	   # Internal compiler library paths should come after those
   12526 	   # provided the user.  The postdeps already come after the
   12527 	   # user supplied libs so there is no need to process them.
   12528 	   if test -z "$compiler_lib_search_path_CXX"; then
   12529 	     compiler_lib_search_path_CXX="${prev}${p}"
   12530 	   else
   12531 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12532 	   fi
   12533 	   ;;
   12534 	 # The "-l" case would never come before the object being
   12535 	 # linked, so don't bother handling this case.
   12536 	 esac
   12537        else
   12538 	 if test -z "$postdeps_CXX"; then
   12539 	   postdeps_CXX="${prev}${p}"
   12540 	 else
   12541 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12542 	 fi
   12543        fi
   12544        ;;
   12545 
   12546     *.$objext)
   12547        # This assumes that the test object file only shows up
   12548        # once in the compiler output.
   12549        if test "$p" = "conftest.$objext"; then
   12550 	 pre_test_object_deps_done=yes
   12551 	 continue
   12552        fi
   12553 
   12554        if test "$pre_test_object_deps_done" = no; then
   12555 	 if test -z "$predep_objects_CXX"; then
   12556 	   predep_objects_CXX="$p"
   12557 	 else
   12558 	   predep_objects_CXX="$predep_objects_CXX $p"
   12559 	 fi
   12560        else
   12561 	 if test -z "$postdep_objects_CXX"; then
   12562 	   postdep_objects_CXX="$p"
   12563 	 else
   12564 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12565 	 fi
   12566        fi
   12567        ;;
   12568 
   12569     *) ;; # Ignore the rest.
   12570 
   12571     esac
   12572   done
   12573 
   12574   # Clean up.
   12575   rm -f a.out a.exe
   12576 else
   12577   echo "libtool.m4: error: problem compiling CXX test program"
   12578 fi
   12579 
   12580 $rm -f confest.$objext
   12581 
   12582 compiler_lib_search_dirs_CXX=
   12583 if test -n "$compiler_lib_search_path_CXX"; then
   12584   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12585 fi
   12586 
   12587 # PORTME: override above test on systems where it is broken
   12588 case $host_os in
   12589 interix[3-9]*)
   12590   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12591   # hack all around it, let's just trust "g++" to DTRT.
   12592   predep_objects_CXX=
   12593   postdep_objects_CXX=
   12594   postdeps_CXX=
   12595   ;;
   12596 
   12597 linux*)
   12598   case `$CC -V 2>&1 | sed 5q` in
   12599   *Sun\ C*)
   12600     # Sun C++ 5.9
   12601     #
   12602     # The more standards-conforming stlport4 library is
   12603     # incompatible with the Cstd library. Avoid specifying
   12604     # it if it's in CXXFLAGS. Ignore libCrun as
   12605     # -library=stlport4 depends on it.
   12606     case " $CXX $CXXFLAGS " in
   12607     *" -library=stlport4 "*)
   12608       solaris_use_stlport4=yes
   12609       ;;
   12610     esac
   12611     if test "$solaris_use_stlport4" != yes; then
   12612       postdeps_CXX='-library=Cstd -library=Crun'
   12613     fi
   12614     ;;
   12615   esac
   12616   ;;
   12617 
   12618 solaris*)
   12619   case $cc_basename in
   12620   CC*)
   12621     # The more standards-conforming stlport4 library is
   12622     # incompatible with the Cstd library. Avoid specifying
   12623     # it if it's in CXXFLAGS. Ignore libCrun as
   12624     # -library=stlport4 depends on it.
   12625     case " $CXX $CXXFLAGS " in
   12626     *" -library=stlport4 "*)
   12627       solaris_use_stlport4=yes
   12628       ;;
   12629     esac
   12630 
   12631     # Adding this requires a known-good setup of shared libraries for
   12632     # Sun compiler versions before 5.6, else PIC objects from an old
   12633     # archive will be linked into the output, leading to subtle bugs.
   12634     if test "$solaris_use_stlport4" != yes; then
   12635       postdeps_CXX='-library=Cstd -library=Crun'
   12636     fi
   12637     ;;
   12638   esac
   12639   ;;
   12640 esac
   12641 
   12642 case " $postdeps_CXX " in
   12643 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12644 esac
   12645 
   12646 lt_prog_compiler_wl_CXX=
   12647 lt_prog_compiler_pic_CXX=
   12648 lt_prog_compiler_static_CXX=
   12649 
   12650 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12651 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12652 
   12653   # C++ specific cases for pic, static, wl, etc.
   12654   if test "$GXX" = yes; then
   12655     lt_prog_compiler_wl_CXX='-Wl,'
   12656     lt_prog_compiler_static_CXX='-static'
   12657 
   12658     case $host_os in
   12659     aix*)
   12660       # All AIX code is PIC.
   12661       if test "$host_cpu" = ia64; then
   12662 	# AIX 5 now supports IA64 processor
   12663 	lt_prog_compiler_static_CXX='-Bstatic'
   12664       fi
   12665       ;;
   12666     amigaos*)
   12667       # FIXME: we need at least 68020 code to build shared libraries, but
   12668       # adding the `-m68020' flag to GCC prevents building anything better,
   12669       # like `-m68040'.
   12670       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12671       ;;
   12672     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12673       # PIC is the default for these OSes.
   12674       ;;
   12675     mingw* | cygwin* | os2* | pw32*)
   12676       # This hack is so that the source file can tell whether it is being
   12677       # built for inclusion in a dll (and should export symbols for example).
   12678       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12679       # (--disable-auto-import) libraries
   12680       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12681       ;;
   12682     darwin* | rhapsody*)
   12683       # PIC is the default on this platform
   12684       # Common symbols not allowed in MH_DYLIB files
   12685       lt_prog_compiler_pic_CXX='-fno-common'
   12686       ;;
   12687     *djgpp*)
   12688       # DJGPP does not support shared libraries at all
   12689       lt_prog_compiler_pic_CXX=
   12690       ;;
   12691     interix[3-9]*)
   12692       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12693       # Instead, we relocate shared libraries at runtime.
   12694       ;;
   12695     sysv4*MP*)
   12696       if test -d /usr/nec; then
   12697 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12698       fi
   12699       ;;
   12700     hpux*)
   12701       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12702       # not for PA HP-UX.
   12703       case $host_cpu in
   12704       hppa*64*|ia64*)
   12705 	;;
   12706       *)
   12707 	lt_prog_compiler_pic_CXX='-fPIC'
   12708 	;;
   12709       esac
   12710       ;;
   12711     *)
   12712       lt_prog_compiler_pic_CXX='-fPIC'
   12713       ;;
   12714     esac
   12715   else
   12716     case $host_os in
   12717       aix[4-9]*)
   12718 	# All AIX code is PIC.
   12719 	if test "$host_cpu" = ia64; then
   12720 	  # AIX 5 now supports IA64 processor
   12721 	  lt_prog_compiler_static_CXX='-Bstatic'
   12722 	else
   12723 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12724 	fi
   12725 	;;
   12726       chorus*)
   12727 	case $cc_basename in
   12728 	cxch68*)
   12729 	  # Green Hills C++ Compiler
   12730 	  # _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"
   12731 	  ;;
   12732 	esac
   12733 	;;
   12734        darwin*)
   12735          # PIC is the default on this platform
   12736          # Common symbols not allowed in MH_DYLIB files
   12737          case $cc_basename in
   12738            xlc*)
   12739            lt_prog_compiler_pic_CXX='-qnocommon'
   12740            lt_prog_compiler_wl_CXX='-Wl,'
   12741            ;;
   12742          esac
   12743        ;;
   12744       dgux*)
   12745 	case $cc_basename in
   12746 	  ec++*)
   12747 	    lt_prog_compiler_pic_CXX='-KPIC'
   12748 	    ;;
   12749 	  ghcx*)
   12750 	    # Green Hills C++ Compiler
   12751 	    lt_prog_compiler_pic_CXX='-pic'
   12752 	    ;;
   12753 	  *)
   12754 	    ;;
   12755 	esac
   12756 	;;
   12757       freebsd* | dragonfly*)
   12758 	# FreeBSD uses GNU C++
   12759 	;;
   12760       hpux9* | hpux10* | hpux11*)
   12761 	case $cc_basename in
   12762 	  CC*)
   12763 	    lt_prog_compiler_wl_CXX='-Wl,'
   12764 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12765 	    if test "$host_cpu" != ia64; then
   12766 	      lt_prog_compiler_pic_CXX='+Z'
   12767 	    fi
   12768 	    ;;
   12769 	  aCC*)
   12770 	    lt_prog_compiler_wl_CXX='-Wl,'
   12771 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12772 	    case $host_cpu in
   12773 	    hppa*64*|ia64*)
   12774 	      # +Z the default
   12775 	      ;;
   12776 	    *)
   12777 	      lt_prog_compiler_pic_CXX='+Z'
   12778 	      ;;
   12779 	    esac
   12780 	    ;;
   12781 	  *)
   12782 	    ;;
   12783 	esac
   12784 	;;
   12785       interix*)
   12786 	# This is c89, which is MS Visual C++ (no shared libs)
   12787 	# Anyone wants to do a port?
   12788 	;;
   12789       irix5* | irix6* | nonstopux*)
   12790 	case $cc_basename in
   12791 	  CC*)
   12792 	    lt_prog_compiler_wl_CXX='-Wl,'
   12793 	    lt_prog_compiler_static_CXX='-non_shared'
   12794 	    # CC pic flag -KPIC is the default.
   12795 	    ;;
   12796 	  *)
   12797 	    ;;
   12798 	esac
   12799 	;;
   12800       linux* | k*bsd*-gnu)
   12801 	case $cc_basename in
   12802 	  KCC*)
   12803 	    # KAI C++ Compiler
   12804 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12805 	    lt_prog_compiler_pic_CXX='-fPIC'
   12806 	    ;;
   12807 	  icpc* | ecpc*)
   12808 	    # Intel C++
   12809 	    lt_prog_compiler_wl_CXX='-Wl,'
   12810 	    lt_prog_compiler_pic_CXX='-KPIC'
   12811 	    lt_prog_compiler_static_CXX='-static'
   12812 	    ;;
   12813 	  pgCC* | pgcpp*)
   12814 	    # Portland Group C++ compiler.
   12815 	    lt_prog_compiler_wl_CXX='-Wl,'
   12816 	    lt_prog_compiler_pic_CXX='-fpic'
   12817 	    lt_prog_compiler_static_CXX='-Bstatic'
   12818 	    ;;
   12819 	  cxx*)
   12820 	    # Compaq C++
   12821 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12822 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12823 	    lt_prog_compiler_pic_CXX=
   12824 	    lt_prog_compiler_static_CXX='-non_shared'
   12825 	    ;;
   12826 	  *)
   12827 	    case `$CC -V 2>&1 | sed 5q` in
   12828 	    *Sun\ C*)
   12829 	      # Sun C++ 5.9
   12830 	      lt_prog_compiler_pic_CXX='-KPIC'
   12831 	      lt_prog_compiler_static_CXX='-Bstatic'
   12832 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12833 	      ;;
   12834 	    esac
   12835 	    ;;
   12836 	esac
   12837 	;;
   12838       lynxos*)
   12839 	;;
   12840       m88k*)
   12841 	;;
   12842       mvs*)
   12843 	case $cc_basename in
   12844 	  cxx*)
   12845 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12846 	    ;;
   12847 	  *)
   12848 	    ;;
   12849 	esac
   12850 	;;
   12851       netbsd*)
   12852 	;;
   12853       osf3* | osf4* | osf5*)
   12854 	case $cc_basename in
   12855 	  KCC*)
   12856 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12857 	    ;;
   12858 	  RCC*)
   12859 	    # Rational C++ 2.4.1
   12860 	    lt_prog_compiler_pic_CXX='-pic'
   12861 	    ;;
   12862 	  cxx*)
   12863 	    # Digital/Compaq C++
   12864 	    lt_prog_compiler_wl_CXX='-Wl,'
   12865 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12866 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12867 	    lt_prog_compiler_pic_CXX=
   12868 	    lt_prog_compiler_static_CXX='-non_shared'
   12869 	    ;;
   12870 	  *)
   12871 	    ;;
   12872 	esac
   12873 	;;
   12874       psos*)
   12875 	;;
   12876       solaris*)
   12877 	case $cc_basename in
   12878 	  CC*)
   12879 	    # Sun C++ 4.2, 5.x and Centerline C++
   12880 	    lt_prog_compiler_pic_CXX='-KPIC'
   12881 	    lt_prog_compiler_static_CXX='-Bstatic'
   12882 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12883 	    ;;
   12884 	  gcx*)
   12885 	    # Green Hills C++ Compiler
   12886 	    lt_prog_compiler_pic_CXX='-PIC'
   12887 	    ;;
   12888 	  *)
   12889 	    ;;
   12890 	esac
   12891 	;;
   12892       sunos4*)
   12893 	case $cc_basename in
   12894 	  CC*)
   12895 	    # Sun C++ 4.x
   12896 	    lt_prog_compiler_pic_CXX='-pic'
   12897 	    lt_prog_compiler_static_CXX='-Bstatic'
   12898 	    ;;
   12899 	  lcc*)
   12900 	    # Lucid
   12901 	    lt_prog_compiler_pic_CXX='-pic'
   12902 	    ;;
   12903 	  *)
   12904 	    ;;
   12905 	esac
   12906 	;;
   12907       tandem*)
   12908 	case $cc_basename in
   12909 	  NCC*)
   12910 	    # NonStop-UX NCC 3.20
   12911 	    lt_prog_compiler_pic_CXX='-KPIC'
   12912 	    ;;
   12913 	  *)
   12914 	    ;;
   12915 	esac
   12916 	;;
   12917       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12918 	case $cc_basename in
   12919 	  CC*)
   12920 	    lt_prog_compiler_wl_CXX='-Wl,'
   12921 	    lt_prog_compiler_pic_CXX='-KPIC'
   12922 	    lt_prog_compiler_static_CXX='-Bstatic'
   12923 	    ;;
   12924 	esac
   12925 	;;
   12926       vxworks*)
   12927 	;;
   12928       *)
   12929 	lt_prog_compiler_can_build_shared_CXX=no
   12930 	;;
   12931     esac
   12932   fi
   12933 
   12934 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12935 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12936 
   12937 #
   12938 # Check to make sure the PIC flag actually works.
   12939 #
   12940 if test -n "$lt_prog_compiler_pic_CXX"; then
   12941 
   12942 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12943 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12944 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12945   $as_echo_n "(cached) " >&6
   12946 else
   12947   lt_cv_prog_compiler_pic_works_CXX=no
   12948   ac_outfile=conftest.$ac_objext
   12949    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12950    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12951    # Insert the option either (1) after the last *FLAGS variable, or
   12952    # (2) before a word containing "conftest.", or (3) at the end.
   12953    # Note that $ac_compile itself does not contain backslashes and begins
   12954    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12955    # The option is referenced via a variable to avoid confusing sed.
   12956    lt_compile=`echo "$ac_compile" | $SED \
   12957    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12958    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12959    -e 's:$: $lt_compiler_flag:'`
   12960    (eval echo "\"\$as_me:12960: $lt_compile\"" >&5)
   12961    (eval "$lt_compile" 2>conftest.err)
   12962    ac_status=$?
   12963    cat conftest.err >&5
   12964    echo "$as_me:12964: \$? = $ac_status" >&5
   12965    if (exit $ac_status) && test -s "$ac_outfile"; then
   12966      # The compiler can only warn and ignore the option if not recognized
   12967      # So say no if there are warnings other than the usual output.
   12968      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12969      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12970      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12971        lt_cv_prog_compiler_pic_works_CXX=yes
   12972      fi
   12973    fi
   12974    $rm conftest*
   12975 
   12976 fi
   12977 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12978 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12979 
   12980 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12981     case $lt_prog_compiler_pic_CXX in
   12982      "" | " "*) ;;
   12983      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12984      esac
   12985 else
   12986     lt_prog_compiler_pic_CXX=
   12987      lt_prog_compiler_can_build_shared_CXX=no
   12988 fi
   12989 
   12990 fi
   12991 case $host_os in
   12992   # For platforms which do not support PIC, -DPIC is meaningless:
   12993   *djgpp*)
   12994     lt_prog_compiler_pic_CXX=
   12995     ;;
   12996   *)
   12997     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12998     ;;
   12999 esac
   13000 
   13001 #
   13002 # Check to make sure the static flag actually works.
   13003 #
   13004 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13005 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13006 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13007 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13008   $as_echo_n "(cached) " >&6
   13009 else
   13010   lt_cv_prog_compiler_static_works_CXX=no
   13011    save_LDFLAGS="$LDFLAGS"
   13012    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13013    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13014    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13015      # The linker can only warn and ignore the option if not recognized
   13016      # So say no if there are warnings
   13017      if test -s conftest.err; then
   13018        # Append any errors to the config.log.
   13019        cat conftest.err 1>&5
   13020        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13021        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13022        if diff conftest.exp conftest.er2 >/dev/null; then
   13023          lt_cv_prog_compiler_static_works_CXX=yes
   13024        fi
   13025      else
   13026        lt_cv_prog_compiler_static_works_CXX=yes
   13027      fi
   13028    fi
   13029    $rm -r conftest*
   13030    LDFLAGS="$save_LDFLAGS"
   13031 
   13032 fi
   13033 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13034 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13035 
   13036 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13037     :
   13038 else
   13039     lt_prog_compiler_static_CXX=
   13040 fi
   13041 
   13042 
   13043 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13045 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13046   $as_echo_n "(cached) " >&6
   13047 else
   13048   lt_cv_prog_compiler_c_o_CXX=no
   13049    $rm -r conftest 2>/dev/null
   13050    mkdir conftest
   13051    cd conftest
   13052    mkdir out
   13053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13054 
   13055    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13056    # Insert the option either (1) after the last *FLAGS variable, or
   13057    # (2) before a word containing "conftest.", or (3) at the end.
   13058    # Note that $ac_compile itself does not contain backslashes and begins
   13059    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13060    lt_compile=`echo "$ac_compile" | $SED \
   13061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13063    -e 's:$: $lt_compiler_flag:'`
   13064    (eval echo "\"\$as_me:13064: $lt_compile\"" >&5)
   13065    (eval "$lt_compile" 2>out/conftest.err)
   13066    ac_status=$?
   13067    cat out/conftest.err >&5
   13068    echo "$as_me:13068: \$? = $ac_status" >&5
   13069    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13070    then
   13071      # The compiler can only warn and ignore the option if not recognized
   13072      # So say no if there are warnings
   13073      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13074      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13075      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13076        lt_cv_prog_compiler_c_o_CXX=yes
   13077      fi
   13078    fi
   13079    chmod u+w . 2>&5
   13080    $rm conftest*
   13081    # SGI C++ compiler will create directory out/ii_files/ for
   13082    # template instantiation
   13083    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13084    $rm out/* && rmdir out
   13085    cd ..
   13086    rmdir conftest
   13087    $rm conftest*
   13088 
   13089 fi
   13090 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13091 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13092 
   13093 
   13094 hard_links="nottested"
   13095 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13096   # do not overwrite the value of need_locks provided by the user
   13097   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13098 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13099   hard_links=yes
   13100   $rm conftest*
   13101   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13102   touch conftest.a
   13103   ln conftest.a conftest.b 2>&5 || hard_links=no
   13104   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13105   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13106 $as_echo "$hard_links" >&6; }
   13107   if test "$hard_links" = no; then
   13108     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13109 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13110     need_locks=warn
   13111   fi
   13112 else
   13113   need_locks=no
   13114 fi
   13115 
   13116 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13117 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13118 
   13119   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13120   case $host_os in
   13121   aix[4-9]*)
   13122     # If we're using GNU nm, then we don't want the "-C" option.
   13123     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13124     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13125       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'
   13126     else
   13127       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'
   13128     fi
   13129     ;;
   13130   pw32*)
   13131     export_symbols_cmds_CXX="$ltdll_cmds"
   13132   ;;
   13133   cygwin* | mingw*)
   13134     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'
   13135   ;;
   13136   *)
   13137     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13138   ;;
   13139   esac
   13140   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13141 
   13142 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13143 $as_echo "$ld_shlibs_CXX" >&6; }
   13144 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13145 
   13146 #
   13147 # Do we need to explicitly link libc?
   13148 #
   13149 case "x$archive_cmds_need_lc_CXX" in
   13150 x|xyes)
   13151   # Assume -lc should be added
   13152   archive_cmds_need_lc_CXX=yes
   13153 
   13154   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13155     case $archive_cmds_CXX in
   13156     *'~'*)
   13157       # FIXME: we may have to deal with multi-command sequences.
   13158       ;;
   13159     '$CC '*)
   13160       # Test whether the compiler implicitly links with -lc since on some
   13161       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13162       # to ld, don't add -lc before -lgcc.
   13163       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13164 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13165       $rm conftest*
   13166       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13167 
   13168       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13169   (eval $ac_compile) 2>&5
   13170   ac_status=$?
   13171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13172   (exit $ac_status); } 2>conftest.err; then
   13173         soname=conftest
   13174         lib=conftest
   13175         libobjs=conftest.$ac_objext
   13176         deplibs=
   13177         wl=$lt_prog_compiler_wl_CXX
   13178 	pic_flag=$lt_prog_compiler_pic_CXX
   13179         compiler_flags=-v
   13180         linker_flags=-v
   13181         verstring=
   13182         output_objdir=.
   13183         libname=conftest
   13184         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13185         allow_undefined_flag_CXX=
   13186         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13187   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13188   ac_status=$?
   13189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13190   (exit $ac_status); }
   13191         then
   13192 	  archive_cmds_need_lc_CXX=no
   13193         else
   13194 	  archive_cmds_need_lc_CXX=yes
   13195         fi
   13196         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13197       else
   13198         cat conftest.err 1>&5
   13199       fi
   13200       $rm conftest*
   13201       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13202 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13203       ;;
   13204     esac
   13205   fi
   13206   ;;
   13207 esac
   13208 
   13209 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13210 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13211 library_names_spec=
   13212 libname_spec='lib$name'
   13213 soname_spec=
   13214 shrext_cmds=".so"
   13215 postinstall_cmds=
   13216 postuninstall_cmds=
   13217 finish_cmds=
   13218 finish_eval=
   13219 shlibpath_var=
   13220 shlibpath_overrides_runpath=unknown
   13221 version_type=none
   13222 dynamic_linker="$host_os ld.so"
   13223 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13224 
   13225 need_lib_prefix=unknown
   13226 hardcode_into_libs=no
   13227 
   13228 # when you set need_version to no, make sure it does not cause -set_version
   13229 # flags to be left without arguments
   13230 need_version=unknown
   13231 
   13232 case $host_os in
   13233 aix3*)
   13234   version_type=linux
   13235   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13236   shlibpath_var=LIBPATH
   13237 
   13238   # AIX 3 has no versioning support, so we append a major version to the name.
   13239   soname_spec='${libname}${release}${shared_ext}$major'
   13240   ;;
   13241 
   13242 aix[4-9]*)
   13243   version_type=linux
   13244   need_lib_prefix=no
   13245   need_version=no
   13246   hardcode_into_libs=yes
   13247   if test "$host_cpu" = ia64; then
   13248     # AIX 5 supports IA64
   13249     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13250     shlibpath_var=LD_LIBRARY_PATH
   13251   else
   13252     # With GCC up to 2.95.x, collect2 would create an import file
   13253     # for dependence libraries.  The import file would start with
   13254     # the line `#! .'.  This would cause the generated library to
   13255     # depend on `.', always an invalid library.  This was fixed in
   13256     # development snapshots of GCC prior to 3.0.
   13257     case $host_os in
   13258       aix4 | aix4.[01] | aix4.[01].*)
   13259       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13260 	   echo ' yes '
   13261 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13262 	:
   13263       else
   13264 	can_build_shared=no
   13265       fi
   13266       ;;
   13267     esac
   13268     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13269     # soname into executable. Probably we can add versioning support to
   13270     # collect2, so additional links can be useful in future.
   13271     if test "$aix_use_runtimelinking" = yes; then
   13272       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13273       # instead of lib<name>.a to let people know that these are not
   13274       # typical AIX shared libraries.
   13275       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13276     else
   13277       # We preserve .a as extension for shared libraries through AIX4.2
   13278       # and later when we are not doing run time linking.
   13279       library_names_spec='${libname}${release}.a $libname.a'
   13280       soname_spec='${libname}${release}${shared_ext}$major'
   13281     fi
   13282     shlibpath_var=LIBPATH
   13283   fi
   13284   ;;
   13285 
   13286 amigaos*)
   13287   library_names_spec='$libname.ixlibrary $libname.a'
   13288   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13289   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'
   13290   ;;
   13291 
   13292 beos*)
   13293   library_names_spec='${libname}${shared_ext}'
   13294   dynamic_linker="$host_os ld.so"
   13295   shlibpath_var=LIBRARY_PATH
   13296   ;;
   13297 
   13298 bsdi[45]*)
   13299   version_type=linux
   13300   need_version=no
   13301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13302   soname_spec='${libname}${release}${shared_ext}$major'
   13303   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13304   shlibpath_var=LD_LIBRARY_PATH
   13305   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13306   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13307   # the default ld.so.conf also contains /usr/contrib/lib and
   13308   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13309   # libtool to hard-code these into programs
   13310   ;;
   13311 
   13312 cygwin* | mingw* | pw32*)
   13313   version_type=windows
   13314   shrext_cmds=".dll"
   13315   need_version=no
   13316   need_lib_prefix=no
   13317 
   13318   case $GCC,$host_os in
   13319   yes,cygwin* | yes,mingw* | yes,pw32*)
   13320     library_names_spec='$libname.dll.a'
   13321     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13322     postinstall_cmds='base_file=`basename \${file}`~
   13323       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13324       dldir=$destdir/`dirname \$dlpath`~
   13325       test -d \$dldir || mkdir -p \$dldir~
   13326       $install_prog $dir/$dlname \$dldir/$dlname~
   13327       chmod a+x \$dldir/$dlname'
   13328     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13329       dlpath=$dir/\$dldll~
   13330        $rm \$dlpath'
   13331     shlibpath_overrides_runpath=yes
   13332 
   13333     case $host_os in
   13334     cygwin*)
   13335       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13336       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13337       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13338       ;;
   13339     mingw*)
   13340       # MinGW DLLs use traditional 'lib' prefix
   13341       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13342       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13343       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13344         # It is most probably a Windows format PATH printed by
   13345         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13346         # path with ; separators, and with drive letters. We can handle the
   13347         # drive letters (cygwin fileutils understands them), so leave them,
   13348         # especially as we might pass files found there to a mingw objdump,
   13349         # which wouldn't understand a cygwinified path. Ahh.
   13350         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13351       else
   13352         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13353       fi
   13354       ;;
   13355     pw32*)
   13356       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13357       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13358       ;;
   13359     esac
   13360     ;;
   13361 
   13362   *)
   13363     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13364     ;;
   13365   esac
   13366   dynamic_linker='Win32 ld.exe'
   13367   # FIXME: first we should search . and the directory the executable is in
   13368   shlibpath_var=PATH
   13369   ;;
   13370 
   13371 darwin* | rhapsody*)
   13372   dynamic_linker="$host_os dyld"
   13373   version_type=darwin
   13374   need_lib_prefix=no
   13375   need_version=no
   13376   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13377   soname_spec='${libname}${release}${major}$shared_ext'
   13378   shlibpath_overrides_runpath=yes
   13379   shlibpath_var=DYLD_LIBRARY_PATH
   13380   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13381 
   13382   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13383   ;;
   13384 
   13385 dgux*)
   13386   version_type=linux
   13387   need_lib_prefix=no
   13388   need_version=no
   13389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13390   soname_spec='${libname}${release}${shared_ext}$major'
   13391   shlibpath_var=LD_LIBRARY_PATH
   13392   ;;
   13393 
   13394 freebsd1*)
   13395   dynamic_linker=no
   13396   ;;
   13397 
   13398 freebsd* | dragonfly*)
   13399   # DragonFly does not have aout.  When/if they implement a new
   13400   # versioning mechanism, adjust this.
   13401   if test -x /usr/bin/objformat; then
   13402     objformat=`/usr/bin/objformat`
   13403   else
   13404     case $host_os in
   13405     freebsd[123]*) objformat=aout ;;
   13406     *) objformat=elf ;;
   13407     esac
   13408   fi
   13409   version_type=freebsd-$objformat
   13410   case $version_type in
   13411     freebsd-elf*)
   13412       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13413       need_version=no
   13414       need_lib_prefix=no
   13415       ;;
   13416     freebsd-*)
   13417       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13418       need_version=yes
   13419       ;;
   13420   esac
   13421   shlibpath_var=LD_LIBRARY_PATH
   13422   case $host_os in
   13423   freebsd2*)
   13424     shlibpath_overrides_runpath=yes
   13425     ;;
   13426   freebsd3.[01]* | freebsdelf3.[01]*)
   13427     shlibpath_overrides_runpath=yes
   13428     hardcode_into_libs=yes
   13429     ;;
   13430   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13431   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13432     shlibpath_overrides_runpath=no
   13433     hardcode_into_libs=yes
   13434     ;;
   13435   *) # from 4.6 on, and DragonFly
   13436     shlibpath_overrides_runpath=yes
   13437     hardcode_into_libs=yes
   13438     ;;
   13439   esac
   13440   ;;
   13441 
   13442 gnu*)
   13443   version_type=linux
   13444   need_lib_prefix=no
   13445   need_version=no
   13446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13447   soname_spec='${libname}${release}${shared_ext}$major'
   13448   shlibpath_var=LD_LIBRARY_PATH
   13449   hardcode_into_libs=yes
   13450   ;;
   13451 
   13452 hpux9* | hpux10* | hpux11*)
   13453   # Give a soname corresponding to the major version so that dld.sl refuses to
   13454   # link against other versions.
   13455   version_type=sunos
   13456   need_lib_prefix=no
   13457   need_version=no
   13458   case $host_cpu in
   13459   ia64*)
   13460     shrext_cmds='.so'
   13461     hardcode_into_libs=yes
   13462     dynamic_linker="$host_os dld.so"
   13463     shlibpath_var=LD_LIBRARY_PATH
   13464     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13465     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13466     soname_spec='${libname}${release}${shared_ext}$major'
   13467     if test "X$HPUX_IA64_MODE" = X32; then
   13468       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13469     else
   13470       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13471     fi
   13472     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13473     ;;
   13474    hppa*64*)
   13475      shrext_cmds='.sl'
   13476      hardcode_into_libs=yes
   13477      dynamic_linker="$host_os dld.sl"
   13478      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13479      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13480      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13481      soname_spec='${libname}${release}${shared_ext}$major'
   13482      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13483      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13484      ;;
   13485    *)
   13486     shrext_cmds='.sl'
   13487     dynamic_linker="$host_os dld.sl"
   13488     shlibpath_var=SHLIB_PATH
   13489     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13491     soname_spec='${libname}${release}${shared_ext}$major'
   13492     ;;
   13493   esac
   13494   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13495   postinstall_cmds='chmod 555 $lib'
   13496   ;;
   13497 
   13498 interix[3-9]*)
   13499   version_type=linux
   13500   need_lib_prefix=no
   13501   need_version=no
   13502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13503   soname_spec='${libname}${release}${shared_ext}$major'
   13504   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13505   shlibpath_var=LD_LIBRARY_PATH
   13506   shlibpath_overrides_runpath=no
   13507   hardcode_into_libs=yes
   13508   ;;
   13509 
   13510 irix5* | irix6* | nonstopux*)
   13511   case $host_os in
   13512     nonstopux*) version_type=nonstopux ;;
   13513     *)
   13514 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13515 		version_type=linux
   13516 	else
   13517 		version_type=irix
   13518 	fi ;;
   13519   esac
   13520   need_lib_prefix=no
   13521   need_version=no
   13522   soname_spec='${libname}${release}${shared_ext}$major'
   13523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13524   case $host_os in
   13525   irix5* | nonstopux*)
   13526     libsuff= shlibsuff=
   13527     ;;
   13528   *)
   13529     case $LD in # libtool.m4 will add one of these switches to LD
   13530     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13531       libsuff= shlibsuff= libmagic=32-bit;;
   13532     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13533       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13534     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13535       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13536     *) libsuff= shlibsuff= libmagic=never-match;;
   13537     esac
   13538     ;;
   13539   esac
   13540   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13541   shlibpath_overrides_runpath=no
   13542   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13543   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13544   hardcode_into_libs=yes
   13545   ;;
   13546 
   13547 # No shared lib support for Linux oldld, aout, or coff.
   13548 linux*oldld* | linux*aout* | linux*coff*)
   13549   dynamic_linker=no
   13550   ;;
   13551 
   13552 # This must be Linux ELF.
   13553 linux* | k*bsd*-gnu)
   13554   version_type=linux
   13555   need_lib_prefix=no
   13556   need_version=no
   13557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13558   soname_spec='${libname}${release}${shared_ext}$major'
   13559   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13560   shlibpath_var=LD_LIBRARY_PATH
   13561   shlibpath_overrides_runpath=no
   13562   # This implies no fast_install, which is unacceptable.
   13563   # Some rework will be needed to allow for fast_install
   13564   # before this can be enabled.
   13565   hardcode_into_libs=yes
   13566   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13567   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13568 
   13569   # Append ld.so.conf contents to the search path
   13570   if test -f /etc/ld.so.conf; then
   13571     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' ' '`
   13572     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13573   fi
   13574 
   13575   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13576   # powerpc, because MkLinux only supported shared libraries with the
   13577   # GNU dynamic linker.  Since this was broken with cross compilers,
   13578   # most powerpc-linux boxes support dynamic linking these days and
   13579   # people can always --disable-shared, the test was removed, and we
   13580   # assume the GNU/Linux dynamic linker is in use.
   13581   dynamic_linker='GNU/Linux ld.so'
   13582   ;;
   13583 
   13584 netbsd*)
   13585   version_type=sunos
   13586   need_lib_prefix=no
   13587   need_version=no
   13588   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13590     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13591     dynamic_linker='NetBSD (a.out) ld.so'
   13592   else
   13593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13594     soname_spec='${libname}${release}${shared_ext}$major'
   13595     dynamic_linker='NetBSD ld.elf_so'
   13596   fi
   13597   shlibpath_var=LD_LIBRARY_PATH
   13598   shlibpath_overrides_runpath=yes
   13599   hardcode_into_libs=yes
   13600   ;;
   13601 
   13602 newsos6)
   13603   version_type=linux
   13604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13605   shlibpath_var=LD_LIBRARY_PATH
   13606   shlibpath_overrides_runpath=yes
   13607   ;;
   13608 
   13609 nto-qnx*)
   13610   version_type=linux
   13611   need_lib_prefix=no
   13612   need_version=no
   13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13614   soname_spec='${libname}${release}${shared_ext}$major'
   13615   shlibpath_var=LD_LIBRARY_PATH
   13616   shlibpath_overrides_runpath=yes
   13617   ;;
   13618 
   13619 openbsd*)
   13620   version_type=sunos
   13621   sys_lib_dlsearch_path_spec="/usr/lib"
   13622   need_lib_prefix=no
   13623   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13624   case $host_os in
   13625     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13626     *)                         need_version=no  ;;
   13627   esac
   13628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13629   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13630   shlibpath_var=LD_LIBRARY_PATH
   13631   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13632     case $host_os in
   13633       openbsd2.[89] | openbsd2.[89].*)
   13634 	shlibpath_overrides_runpath=no
   13635 	;;
   13636       *)
   13637 	shlibpath_overrides_runpath=yes
   13638 	;;
   13639       esac
   13640   else
   13641     shlibpath_overrides_runpath=yes
   13642   fi
   13643   ;;
   13644 
   13645 os2*)
   13646   libname_spec='$name'
   13647   shrext_cmds=".dll"
   13648   need_lib_prefix=no
   13649   library_names_spec='$libname${shared_ext} $libname.a'
   13650   dynamic_linker='OS/2 ld.exe'
   13651   shlibpath_var=LIBPATH
   13652   ;;
   13653 
   13654 osf3* | osf4* | osf5*)
   13655   version_type=osf
   13656   need_lib_prefix=no
   13657   need_version=no
   13658   soname_spec='${libname}${release}${shared_ext}$major'
   13659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13660   shlibpath_var=LD_LIBRARY_PATH
   13661   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13662   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13663   ;;
   13664 
   13665 rdos*)
   13666   dynamic_linker=no
   13667   ;;
   13668 
   13669 solaris*)
   13670   version_type=linux
   13671   need_lib_prefix=no
   13672   need_version=no
   13673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13674   soname_spec='${libname}${release}${shared_ext}$major'
   13675   shlibpath_var=LD_LIBRARY_PATH
   13676   shlibpath_overrides_runpath=yes
   13677   hardcode_into_libs=yes
   13678   # ldd complains unless libraries are executable
   13679   postinstall_cmds='chmod +x $lib'
   13680   ;;
   13681 
   13682 sunos4*)
   13683   version_type=sunos
   13684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13685   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13686   shlibpath_var=LD_LIBRARY_PATH
   13687   shlibpath_overrides_runpath=yes
   13688   if test "$with_gnu_ld" = yes; then
   13689     need_lib_prefix=no
   13690   fi
   13691   need_version=yes
   13692   ;;
   13693 
   13694 sysv4 | sysv4.3*)
   13695   version_type=linux
   13696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13697   soname_spec='${libname}${release}${shared_ext}$major'
   13698   shlibpath_var=LD_LIBRARY_PATH
   13699   case $host_vendor in
   13700     sni)
   13701       shlibpath_overrides_runpath=no
   13702       need_lib_prefix=no
   13703       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13704       runpath_var=LD_RUN_PATH
   13705       ;;
   13706     siemens)
   13707       need_lib_prefix=no
   13708       ;;
   13709     motorola)
   13710       need_lib_prefix=no
   13711       need_version=no
   13712       shlibpath_overrides_runpath=no
   13713       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13714       ;;
   13715   esac
   13716   ;;
   13717 
   13718 sysv4*MP*)
   13719   if test -d /usr/nec ;then
   13720     version_type=linux
   13721     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13722     soname_spec='$libname${shared_ext}.$major'
   13723     shlibpath_var=LD_LIBRARY_PATH
   13724   fi
   13725   ;;
   13726 
   13727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13728   version_type=freebsd-elf
   13729   need_lib_prefix=no
   13730   need_version=no
   13731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13732   soname_spec='${libname}${release}${shared_ext}$major'
   13733   shlibpath_var=LD_LIBRARY_PATH
   13734   hardcode_into_libs=yes
   13735   if test "$with_gnu_ld" = yes; then
   13736     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13737     shlibpath_overrides_runpath=no
   13738   else
   13739     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13740     shlibpath_overrides_runpath=yes
   13741     case $host_os in
   13742       sco3.2v5*)
   13743         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13744 	;;
   13745     esac
   13746   fi
   13747   sys_lib_dlsearch_path_spec='/usr/lib'
   13748   ;;
   13749 
   13750 uts4*)
   13751   version_type=linux
   13752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13753   soname_spec='${libname}${release}${shared_ext}$major'
   13754   shlibpath_var=LD_LIBRARY_PATH
   13755   ;;
   13756 
   13757 *)
   13758   dynamic_linker=no
   13759   ;;
   13760 esac
   13761 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13762 $as_echo "$dynamic_linker" >&6; }
   13763 test "$dynamic_linker" = no && can_build_shared=no
   13764 
   13765 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13766   $as_echo_n "(cached) " >&6
   13767 else
   13768   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13769 fi
   13770 
   13771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13772 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13776 fi
   13777 
   13778 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13779 
   13780 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13781 if test "$GCC" = yes; then
   13782   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13783 fi
   13784 
   13785 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13786 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13787 hardcode_action_CXX=
   13788 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13789    test -n "$runpath_var_CXX" || \
   13790    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13791 
   13792   # We can hardcode non-existant directories.
   13793   if test "$hardcode_direct_CXX" != no &&
   13794      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13795      # have to relink, otherwise we might link with an installed library
   13796      # when we should be linking with a yet-to-be-installed one
   13797      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13798      test "$hardcode_minus_L_CXX" != no; then
   13799     # Linking always hardcodes the temporary library directory.
   13800     hardcode_action_CXX=relink
   13801   else
   13802     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13803     hardcode_action_CXX=immediate
   13804   fi
   13805 else
   13806   # We cannot hardcode anything, or else we can only hardcode existing
   13807   # directories.
   13808   hardcode_action_CXX=unsupported
   13809 fi
   13810 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13811 $as_echo "$hardcode_action_CXX" >&6; }
   13812 
   13813 if test "$hardcode_action_CXX" = relink; then
   13814   # Fast installation is not supported
   13815   enable_fast_install=no
   13816 elif test "$shlibpath_overrides_runpath" = yes ||
   13817      test "$enable_shared" = no; then
   13818   # Fast installation is not necessary
   13819   enable_fast_install=needless
   13820 fi
   13821 
   13822 
   13823 # The else clause should only fire when bootstrapping the
   13824 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13825 # with your package, and you will get complaints that there are
   13826 # no rules to generate ltmain.sh.
   13827 if test -f "$ltmain"; then
   13828   # See if we are running on zsh, and set the options which allow our commands through
   13829   # without removal of \ escapes.
   13830   if test -n "${ZSH_VERSION+set}" ; then
   13831     setopt NO_GLOB_SUBST
   13832   fi
   13833   # Now quote all the things that may contain metacharacters while being
   13834   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13835   # variables and quote the copies for generation of the libtool script.
   13836   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13837     SED SHELL STRIP \
   13838     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13839     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13840     deplibs_check_method reload_flag reload_cmds need_locks \
   13841     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13842     lt_cv_sys_global_symbol_to_c_name_address \
   13843     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13844     old_postinstall_cmds old_postuninstall_cmds \
   13845     compiler_CXX \
   13846     CC_CXX \
   13847     LD_CXX \
   13848     lt_prog_compiler_wl_CXX \
   13849     lt_prog_compiler_pic_CXX \
   13850     lt_prog_compiler_static_CXX \
   13851     lt_prog_compiler_no_builtin_flag_CXX \
   13852     export_dynamic_flag_spec_CXX \
   13853     thread_safe_flag_spec_CXX \
   13854     whole_archive_flag_spec_CXX \
   13855     enable_shared_with_static_runtimes_CXX \
   13856     old_archive_cmds_CXX \
   13857     old_archive_from_new_cmds_CXX \
   13858     predep_objects_CXX \
   13859     postdep_objects_CXX \
   13860     predeps_CXX \
   13861     postdeps_CXX \
   13862     compiler_lib_search_path_CXX \
   13863     compiler_lib_search_dirs_CXX \
   13864     archive_cmds_CXX \
   13865     archive_expsym_cmds_CXX \
   13866     postinstall_cmds_CXX \
   13867     postuninstall_cmds_CXX \
   13868     old_archive_from_expsyms_cmds_CXX \
   13869     allow_undefined_flag_CXX \
   13870     no_undefined_flag_CXX \
   13871     export_symbols_cmds_CXX \
   13872     hardcode_libdir_flag_spec_CXX \
   13873     hardcode_libdir_flag_spec_ld_CXX \
   13874     hardcode_libdir_separator_CXX \
   13875     hardcode_automatic_CXX \
   13876     module_cmds_CXX \
   13877     module_expsym_cmds_CXX \
   13878     lt_cv_prog_compiler_c_o_CXX \
   13879     fix_srcfile_path_CXX \
   13880     exclude_expsyms_CXX \
   13881     include_expsyms_CXX; do
   13882 
   13883     case $var in
   13884     old_archive_cmds_CXX | \
   13885     old_archive_from_new_cmds_CXX | \
   13886     archive_cmds_CXX | \
   13887     archive_expsym_cmds_CXX | \
   13888     module_cmds_CXX | \
   13889     module_expsym_cmds_CXX | \
   13890     old_archive_from_expsyms_cmds_CXX | \
   13891     export_symbols_cmds_CXX | \
   13892     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13893     postinstall_cmds | postuninstall_cmds | \
   13894     old_postinstall_cmds | old_postuninstall_cmds | \
   13895     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13896       # Double-quote double-evaled strings.
   13897       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13898       ;;
   13899     *)
   13900       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13901       ;;
   13902     esac
   13903   done
   13904 
   13905   case $lt_echo in
   13906   *'\$0 --fallback-echo"')
   13907     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13908     ;;
   13909   esac
   13910 
   13911 cfgfile="$ofile"
   13912 
   13913   cat <<__EOF__ >> "$cfgfile"
   13914 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13915 
   13916 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13917 
   13918 # Shell to use when invoking shell scripts.
   13919 SHELL=$lt_SHELL
   13920 
   13921 # Whether or not to build shared libraries.
   13922 build_libtool_libs=$enable_shared
   13923 
   13924 # Whether or not to build static libraries.
   13925 build_old_libs=$enable_static
   13926 
   13927 # Whether or not to add -lc for building shared libraries.
   13928 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13929 
   13930 # Whether or not to disallow shared libs when runtime libs are static
   13931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13932 
   13933 # Whether or not to optimize for fast installation.
   13934 fast_install=$enable_fast_install
   13935 
   13936 # The host system.
   13937 host_alias=$host_alias
   13938 host=$host
   13939 host_os=$host_os
   13940 
   13941 # The build system.
   13942 build_alias=$build_alias
   13943 build=$build
   13944 build_os=$build_os
   13945 
   13946 # An echo program that does not interpret backslashes.
   13947 echo=$lt_echo
   13948 
   13949 # The archiver.
   13950 AR=$lt_AR
   13951 AR_FLAGS=$lt_AR_FLAGS
   13952 
   13953 # A C compiler.
   13954 LTCC=$lt_LTCC
   13955 
   13956 # LTCC compiler flags.
   13957 LTCFLAGS=$lt_LTCFLAGS
   13958 
   13959 # A language-specific compiler.
   13960 CC=$lt_compiler_CXX
   13961 
   13962 # Is the compiler the GNU C compiler?
   13963 with_gcc=$GCC_CXX
   13964 
   13965 # An ERE matcher.
   13966 EGREP=$lt_EGREP
   13967 
   13968 # The linker used to build libraries.
   13969 LD=$lt_LD_CXX
   13970 
   13971 # Whether we need hard or soft links.
   13972 LN_S=$lt_LN_S
   13973 
   13974 # A BSD-compatible nm program.
   13975 NM=$lt_NM
   13976 
   13977 # A symbol stripping program
   13978 STRIP=$lt_STRIP
   13979 
   13980 # Used to examine libraries when file_magic_cmd begins "file"
   13981 MAGIC_CMD=$MAGIC_CMD
   13982 
   13983 # Used on cygwin: DLL creation program.
   13984 DLLTOOL="$DLLTOOL"
   13985 
   13986 # Used on cygwin: object dumper.
   13987 OBJDUMP="$OBJDUMP"
   13988 
   13989 # Used on cygwin: assembler.
   13990 AS="$AS"
   13991 
   13992 # The name of the directory that contains temporary libtool files.
   13993 objdir=$objdir
   13994 
   13995 # How to create reloadable object files.
   13996 reload_flag=$lt_reload_flag
   13997 reload_cmds=$lt_reload_cmds
   13998 
   13999 # How to pass a linker flag through the compiler.
   14000 wl=$lt_lt_prog_compiler_wl_CXX
   14001 
   14002 # Object file suffix (normally "o").
   14003 objext="$ac_objext"
   14004 
   14005 # Old archive suffix (normally "a").
   14006 libext="$libext"
   14007 
   14008 # Shared library suffix (normally ".so").
   14009 shrext_cmds='$shrext_cmds'
   14010 
   14011 # Executable file suffix (normally "").
   14012 exeext="$exeext"
   14013 
   14014 # Additional compiler flags for building library objects.
   14015 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14016 pic_mode=$pic_mode
   14017 
   14018 # What is the maximum length of a command?
   14019 max_cmd_len=$lt_cv_sys_max_cmd_len
   14020 
   14021 # Does compiler simultaneously support -c and -o options?
   14022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14023 
   14024 # Must we lock files when doing compilation?
   14025 need_locks=$lt_need_locks
   14026 
   14027 # Do we need the lib prefix for modules?
   14028 need_lib_prefix=$need_lib_prefix
   14029 
   14030 # Do we need a version for libraries?
   14031 need_version=$need_version
   14032 
   14033 # Whether dlopen is supported.
   14034 dlopen_support=$enable_dlopen
   14035 
   14036 # Whether dlopen of programs is supported.
   14037 dlopen_self=$enable_dlopen_self
   14038 
   14039 # Whether dlopen of statically linked programs is supported.
   14040 dlopen_self_static=$enable_dlopen_self_static
   14041 
   14042 # Compiler flag to prevent dynamic linking.
   14043 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14044 
   14045 # Compiler flag to turn off builtin functions.
   14046 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14047 
   14048 # Compiler flag to allow reflexive dlopens.
   14049 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14050 
   14051 # Compiler flag to generate shared objects directly from archives.
   14052 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14053 
   14054 # Compiler flag to generate thread-safe objects.
   14055 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14056 
   14057 # Library versioning type.
   14058 version_type=$version_type
   14059 
   14060 # Format of library name prefix.
   14061 libname_spec=$lt_libname_spec
   14062 
   14063 # List of archive names.  First name is the real one, the rest are links.
   14064 # The last name is the one that the linker finds with -lNAME.
   14065 library_names_spec=$lt_library_names_spec
   14066 
   14067 # The coded name of the library, if different from the real name.
   14068 soname_spec=$lt_soname_spec
   14069 
   14070 # Commands used to build and install an old-style archive.
   14071 RANLIB=$lt_RANLIB
   14072 old_archive_cmds=$lt_old_archive_cmds_CXX
   14073 old_postinstall_cmds=$lt_old_postinstall_cmds
   14074 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14075 
   14076 # Create an old-style archive from a shared archive.
   14077 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14078 
   14079 # Create a temporary old-style archive to link instead of a shared archive.
   14080 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14081 
   14082 # Commands used to build and install a shared archive.
   14083 archive_cmds=$lt_archive_cmds_CXX
   14084 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14085 postinstall_cmds=$lt_postinstall_cmds
   14086 postuninstall_cmds=$lt_postuninstall_cmds
   14087 
   14088 # Commands used to build a loadable module (assumed same as above if empty)
   14089 module_cmds=$lt_module_cmds_CXX
   14090 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14091 
   14092 # Commands to strip libraries.
   14093 old_striplib=$lt_old_striplib
   14094 striplib=$lt_striplib
   14095 
   14096 # Dependencies to place before the objects being linked to create a
   14097 # shared library.
   14098 predep_objects=$lt_predep_objects_CXX
   14099 
   14100 # Dependencies to place after the objects being linked to create a
   14101 # shared library.
   14102 postdep_objects=$lt_postdep_objects_CXX
   14103 
   14104 # Dependencies to place before the objects being linked to create a
   14105 # shared library.
   14106 predeps=$lt_predeps_CXX
   14107 
   14108 # Dependencies to place after the objects being linked to create a
   14109 # shared library.
   14110 postdeps=$lt_postdeps_CXX
   14111 
   14112 # The directories searched by this compiler when creating a shared
   14113 # library
   14114 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14115 
   14116 # The library search path used internally by the compiler when linking
   14117 # a shared library.
   14118 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14119 
   14120 # Method to check whether dependent libraries are shared objects.
   14121 deplibs_check_method=$lt_deplibs_check_method
   14122 
   14123 # Command to use when deplibs_check_method == file_magic.
   14124 file_magic_cmd=$lt_file_magic_cmd
   14125 
   14126 # Flag that allows shared libraries with undefined symbols to be built.
   14127 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14128 
   14129 # Flag that forces no undefined symbols.
   14130 no_undefined_flag=$lt_no_undefined_flag_CXX
   14131 
   14132 # Commands used to finish a libtool library installation in a directory.
   14133 finish_cmds=$lt_finish_cmds
   14134 
   14135 # Same as above, but a single script fragment to be evaled but not shown.
   14136 finish_eval=$lt_finish_eval
   14137 
   14138 # Take the output of nm and produce a listing of raw symbols and C names.
   14139 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14140 
   14141 # Transform the output of nm in a proper C declaration
   14142 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14143 
   14144 # Transform the output of nm in a C name address pair
   14145 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14146 
   14147 # This is the shared library runtime path variable.
   14148 runpath_var=$runpath_var
   14149 
   14150 # This is the shared library path variable.
   14151 shlibpath_var=$shlibpath_var
   14152 
   14153 # Is shlibpath searched before the hard-coded library search path?
   14154 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14155 
   14156 # How to hardcode a shared library path into an executable.
   14157 hardcode_action=$hardcode_action_CXX
   14158 
   14159 # Whether we should hardcode library paths into libraries.
   14160 hardcode_into_libs=$hardcode_into_libs
   14161 
   14162 # Flag to hardcode \$libdir into a binary during linking.
   14163 # This must work even if \$libdir does not exist.
   14164 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14165 
   14166 # If ld is used when linking, flag to hardcode \$libdir into
   14167 # a binary during linking. This must work even if \$libdir does
   14168 # not exist.
   14169 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14170 
   14171 # Whether we need a single -rpath flag with a separated argument.
   14172 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14173 
   14174 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14175 # resulting binary.
   14176 hardcode_direct=$hardcode_direct_CXX
   14177 
   14178 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14179 # resulting binary.
   14180 hardcode_minus_L=$hardcode_minus_L_CXX
   14181 
   14182 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14183 # the resulting binary.
   14184 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14185 
   14186 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14187 # and all subsequent libraries and executables linked against it.
   14188 hardcode_automatic=$hardcode_automatic_CXX
   14189 
   14190 # Variables whose values should be saved in libtool wrapper scripts and
   14191 # restored at relink time.
   14192 variables_saved_for_relink="$variables_saved_for_relink"
   14193 
   14194 # Whether libtool must link a program against all its dependency libraries.
   14195 link_all_deplibs=$link_all_deplibs_CXX
   14196 
   14197 # Compile-time system search path for libraries
   14198 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14199 
   14200 # Run-time system search path for libraries
   14201 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14202 
   14203 # Fix the shell variable \$srcfile for the compiler.
   14204 fix_srcfile_path=$lt_fix_srcfile_path
   14205 
   14206 # Set to yes if exported symbols are required.
   14207 always_export_symbols=$always_export_symbols_CXX
   14208 
   14209 # The commands to list exported symbols.
   14210 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14211 
   14212 # The commands to extract the exported symbol list from a shared archive.
   14213 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14214 
   14215 # Symbols that should not be listed in the preloaded symbols.
   14216 exclude_expsyms=$lt_exclude_expsyms_CXX
   14217 
   14218 # Symbols that must always be exported.
   14219 include_expsyms=$lt_include_expsyms_CXX
   14220 
   14221 # ### END LIBTOOL TAG CONFIG: $tagname
   14222 
   14223 __EOF__
   14224 
   14225 
   14226 else
   14227   # If there is no Makefile yet, we rely on a make rule to execute
   14228   # `config.status --recheck' to rerun these tests and create the
   14229   # libtool script then.
   14230   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14231   if test -f "$ltmain_in"; then
   14232     test -f Makefile && make "$ltmain"
   14233   fi
   14234 fi
   14235 
   14236 
   14237 ac_ext=c
   14238 ac_cpp='$CPP $CPPFLAGS'
   14239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14242 
   14243 CC=$lt_save_CC
   14244 LDCXX=$LD
   14245 LD=$lt_save_LD
   14246 GCC=$lt_save_GCC
   14247 with_gnu_ldcxx=$with_gnu_ld
   14248 with_gnu_ld=$lt_save_with_gnu_ld
   14249 lt_cv_path_LDCXX=$lt_cv_path_LD
   14250 lt_cv_path_LD=$lt_save_path_LD
   14251 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14252 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14253 
   14254 	else
   14255 	  tagname=""
   14256 	fi
   14257 	;;
   14258 
   14259       F77)
   14260 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14261 
   14262 ac_ext=f
   14263 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14264 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14265 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14266 
   14267 
   14268 archive_cmds_need_lc_F77=no
   14269 allow_undefined_flag_F77=
   14270 always_export_symbols_F77=no
   14271 archive_expsym_cmds_F77=
   14272 export_dynamic_flag_spec_F77=
   14273 hardcode_direct_F77=no
   14274 hardcode_libdir_flag_spec_F77=
   14275 hardcode_libdir_flag_spec_ld_F77=
   14276 hardcode_libdir_separator_F77=
   14277 hardcode_minus_L_F77=no
   14278 hardcode_automatic_F77=no
   14279 module_cmds_F77=
   14280 module_expsym_cmds_F77=
   14281 link_all_deplibs_F77=unknown
   14282 old_archive_cmds_F77=$old_archive_cmds
   14283 no_undefined_flag_F77=
   14284 whole_archive_flag_spec_F77=
   14285 enable_shared_with_static_runtimes_F77=no
   14286 
   14287 # Source file extension for f77 test sources.
   14288 ac_ext=f
   14289 
   14290 # Object file extension for compiled f77 test sources.
   14291 objext=o
   14292 objext_F77=$objext
   14293 
   14294 # Code to be used in simple compile tests
   14295 lt_simple_compile_test_code="\
   14296       subroutine t
   14297       return
   14298       end
   14299 "
   14300 
   14301 # Code to be used in simple link tests
   14302 lt_simple_link_test_code="\
   14303       program t
   14304       end
   14305 "
   14306 
   14307 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14308 
   14309 # If no C compiler was specified, use CC.
   14310 LTCC=${LTCC-"$CC"}
   14311 
   14312 # If no C compiler flags were specified, use CFLAGS.
   14313 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14314 
   14315 # Allow CC to be a program name with arguments.
   14316 compiler=$CC
   14317 
   14318 
   14319 # save warnings/boilerplate of simple test code
   14320 ac_outfile=conftest.$ac_objext
   14321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14323 _lt_compiler_boilerplate=`cat conftest.err`
   14324 $rm conftest*
   14325 
   14326 ac_outfile=conftest.$ac_objext
   14327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14329 _lt_linker_boilerplate=`cat conftest.err`
   14330 $rm -r conftest*
   14331 
   14332 
   14333 # Allow CC to be a program name with arguments.
   14334 lt_save_CC="$CC"
   14335 CC=${F77-"f77"}
   14336 compiler=$CC
   14337 compiler_F77=$CC
   14338 for cc_temp in $compiler""; do
   14339   case $cc_temp in
   14340     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14341     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14342     \-*) ;;
   14343     *) break;;
   14344   esac
   14345 done
   14346 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14347 
   14348 
   14349 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14350 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14351 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14352 $as_echo "$can_build_shared" >&6; }
   14353 
   14354 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14355 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14356 test "$can_build_shared" = "no" && enable_shared=no
   14357 
   14358 # On AIX, shared libraries and static libraries use the same namespace, and
   14359 # are all built from PIC.
   14360 case $host_os in
   14361 aix3*)
   14362   test "$enable_shared" = yes && enable_static=no
   14363   if test -n "$RANLIB"; then
   14364     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14365     postinstall_cmds='$RANLIB $lib'
   14366   fi
   14367   ;;
   14368 aix[4-9]*)
   14369   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14370     test "$enable_shared" = yes && enable_static=no
   14371   fi
   14372   ;;
   14373 esac
   14374 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14375 $as_echo "$enable_shared" >&6; }
   14376 
   14377 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14378 $as_echo_n "checking whether to build static libraries... " >&6; }
   14379 # Make sure either enable_shared or enable_static is yes.
   14380 test "$enable_shared" = yes || enable_static=yes
   14381 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14382 $as_echo "$enable_static" >&6; }
   14383 
   14384 GCC_F77="$G77"
   14385 LD_F77="$LD"
   14386 
   14387 lt_prog_compiler_wl_F77=
   14388 lt_prog_compiler_pic_F77=
   14389 lt_prog_compiler_static_F77=
   14390 
   14391 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14392 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14393 
   14394   if test "$GCC" = yes; then
   14395     lt_prog_compiler_wl_F77='-Wl,'
   14396     lt_prog_compiler_static_F77='-static'
   14397 
   14398     case $host_os in
   14399       aix*)
   14400       # All AIX code is PIC.
   14401       if test "$host_cpu" = ia64; then
   14402 	# AIX 5 now supports IA64 processor
   14403 	lt_prog_compiler_static_F77='-Bstatic'
   14404       fi
   14405       ;;
   14406 
   14407     amigaos*)
   14408       # FIXME: we need at least 68020 code to build shared libraries, but
   14409       # adding the `-m68020' flag to GCC prevents building anything better,
   14410       # like `-m68040'.
   14411       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14412       ;;
   14413 
   14414     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14415       # PIC is the default for these OSes.
   14416       ;;
   14417 
   14418     mingw* | cygwin* | pw32* | os2*)
   14419       # This hack is so that the source file can tell whether it is being
   14420       # built for inclusion in a dll (and should export symbols for example).
   14421       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14422       # (--disable-auto-import) libraries
   14423       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14424       ;;
   14425 
   14426     darwin* | rhapsody*)
   14427       # PIC is the default on this platform
   14428       # Common symbols not allowed in MH_DYLIB files
   14429       lt_prog_compiler_pic_F77='-fno-common'
   14430       ;;
   14431 
   14432     interix[3-9]*)
   14433       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14434       # Instead, we relocate shared libraries at runtime.
   14435       ;;
   14436 
   14437     msdosdjgpp*)
   14438       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14439       # on systems that don't support them.
   14440       lt_prog_compiler_can_build_shared_F77=no
   14441       enable_shared=no
   14442       ;;
   14443 
   14444     sysv4*MP*)
   14445       if test -d /usr/nec; then
   14446 	lt_prog_compiler_pic_F77=-Kconform_pic
   14447       fi
   14448       ;;
   14449 
   14450     hpux*)
   14451       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14452       # not for PA HP-UX.
   14453       case $host_cpu in
   14454       hppa*64*|ia64*)
   14455 	# +Z the default
   14456 	;;
   14457       *)
   14458 	lt_prog_compiler_pic_F77='-fPIC'
   14459 	;;
   14460       esac
   14461       ;;
   14462 
   14463     *)
   14464       lt_prog_compiler_pic_F77='-fPIC'
   14465       ;;
   14466     esac
   14467   else
   14468     # PORTME Check for flag to pass linker flags through the system compiler.
   14469     case $host_os in
   14470     aix*)
   14471       lt_prog_compiler_wl_F77='-Wl,'
   14472       if test "$host_cpu" = ia64; then
   14473 	# AIX 5 now supports IA64 processor
   14474 	lt_prog_compiler_static_F77='-Bstatic'
   14475       else
   14476 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14477       fi
   14478       ;;
   14479       darwin*)
   14480         # PIC is the default on this platform
   14481         # Common symbols not allowed in MH_DYLIB files
   14482        case $cc_basename in
   14483          xlc*)
   14484          lt_prog_compiler_pic_F77='-qnocommon'
   14485          lt_prog_compiler_wl_F77='-Wl,'
   14486          ;;
   14487        esac
   14488        ;;
   14489 
   14490     mingw* | cygwin* | pw32* | os2*)
   14491       # This hack is so that the source file can tell whether it is being
   14492       # built for inclusion in a dll (and should export symbols for example).
   14493       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14494       ;;
   14495 
   14496     hpux9* | hpux10* | hpux11*)
   14497       lt_prog_compiler_wl_F77='-Wl,'
   14498       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14499       # not for PA HP-UX.
   14500       case $host_cpu in
   14501       hppa*64*|ia64*)
   14502 	# +Z the default
   14503 	;;
   14504       *)
   14505 	lt_prog_compiler_pic_F77='+Z'
   14506 	;;
   14507       esac
   14508       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14509       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14510       ;;
   14511 
   14512     irix5* | irix6* | nonstopux*)
   14513       lt_prog_compiler_wl_F77='-Wl,'
   14514       # PIC (with -KPIC) is the default.
   14515       lt_prog_compiler_static_F77='-non_shared'
   14516       ;;
   14517 
   14518     newsos6)
   14519       lt_prog_compiler_pic_F77='-KPIC'
   14520       lt_prog_compiler_static_F77='-Bstatic'
   14521       ;;
   14522 
   14523     linux* | k*bsd*-gnu)
   14524       case $cc_basename in
   14525       icc* | ecc*)
   14526 	lt_prog_compiler_wl_F77='-Wl,'
   14527 	lt_prog_compiler_pic_F77='-KPIC'
   14528 	lt_prog_compiler_static_F77='-static'
   14529         ;;
   14530       pgcc* | pgf77* | pgf90* | pgf95*)
   14531         # Portland Group compilers (*not* the Pentium gcc compiler,
   14532 	# which looks to be a dead project)
   14533 	lt_prog_compiler_wl_F77='-Wl,'
   14534 	lt_prog_compiler_pic_F77='-fpic'
   14535 	lt_prog_compiler_static_F77='-Bstatic'
   14536         ;;
   14537       ccc*)
   14538         lt_prog_compiler_wl_F77='-Wl,'
   14539         # All Alpha code is PIC.
   14540         lt_prog_compiler_static_F77='-non_shared'
   14541         ;;
   14542       *)
   14543         case `$CC -V 2>&1 | sed 5q` in
   14544 	*Sun\ C*)
   14545 	  # Sun C 5.9
   14546 	  lt_prog_compiler_pic_F77='-KPIC'
   14547 	  lt_prog_compiler_static_F77='-Bstatic'
   14548 	  lt_prog_compiler_wl_F77='-Wl,'
   14549 	  ;;
   14550 	*Sun\ F*)
   14551 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14552 	  lt_prog_compiler_pic_F77='-KPIC'
   14553 	  lt_prog_compiler_static_F77='-Bstatic'
   14554 	  lt_prog_compiler_wl_F77=''
   14555 	  ;;
   14556 	esac
   14557 	;;
   14558       esac
   14559       ;;
   14560 
   14561     osf3* | osf4* | osf5*)
   14562       lt_prog_compiler_wl_F77='-Wl,'
   14563       # All OSF/1 code is PIC.
   14564       lt_prog_compiler_static_F77='-non_shared'
   14565       ;;
   14566 
   14567     rdos*)
   14568       lt_prog_compiler_static_F77='-non_shared'
   14569       ;;
   14570 
   14571     solaris*)
   14572       lt_prog_compiler_pic_F77='-KPIC'
   14573       lt_prog_compiler_static_F77='-Bstatic'
   14574       case $cc_basename in
   14575       f77* | f90* | f95*)
   14576 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14577       *)
   14578 	lt_prog_compiler_wl_F77='-Wl,';;
   14579       esac
   14580       ;;
   14581 
   14582     sunos4*)
   14583       lt_prog_compiler_wl_F77='-Qoption ld '
   14584       lt_prog_compiler_pic_F77='-PIC'
   14585       lt_prog_compiler_static_F77='-Bstatic'
   14586       ;;
   14587 
   14588     sysv4 | sysv4.2uw2* | sysv4.3*)
   14589       lt_prog_compiler_wl_F77='-Wl,'
   14590       lt_prog_compiler_pic_F77='-KPIC'
   14591       lt_prog_compiler_static_F77='-Bstatic'
   14592       ;;
   14593 
   14594     sysv4*MP*)
   14595       if test -d /usr/nec ;then
   14596 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14597 	lt_prog_compiler_static_F77='-Bstatic'
   14598       fi
   14599       ;;
   14600 
   14601     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14602       lt_prog_compiler_wl_F77='-Wl,'
   14603       lt_prog_compiler_pic_F77='-KPIC'
   14604       lt_prog_compiler_static_F77='-Bstatic'
   14605       ;;
   14606 
   14607     unicos*)
   14608       lt_prog_compiler_wl_F77='-Wl,'
   14609       lt_prog_compiler_can_build_shared_F77=no
   14610       ;;
   14611 
   14612     uts4*)
   14613       lt_prog_compiler_pic_F77='-pic'
   14614       lt_prog_compiler_static_F77='-Bstatic'
   14615       ;;
   14616 
   14617     *)
   14618       lt_prog_compiler_can_build_shared_F77=no
   14619       ;;
   14620     esac
   14621   fi
   14622 
   14623 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14624 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14625 
   14626 #
   14627 # Check to make sure the PIC flag actually works.
   14628 #
   14629 if test -n "$lt_prog_compiler_pic_F77"; then
   14630 
   14631 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14632 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14633 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14634   $as_echo_n "(cached) " >&6
   14635 else
   14636   lt_cv_prog_compiler_pic_works_F77=no
   14637   ac_outfile=conftest.$ac_objext
   14638    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14639    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14640    # Insert the option either (1) after the last *FLAGS variable, or
   14641    # (2) before a word containing "conftest.", or (3) at the end.
   14642    # Note that $ac_compile itself does not contain backslashes and begins
   14643    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14644    # The option is referenced via a variable to avoid confusing sed.
   14645    lt_compile=`echo "$ac_compile" | $SED \
   14646    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14647    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14648    -e 's:$: $lt_compiler_flag:'`
   14649    (eval echo "\"\$as_me:14649: $lt_compile\"" >&5)
   14650    (eval "$lt_compile" 2>conftest.err)
   14651    ac_status=$?
   14652    cat conftest.err >&5
   14653    echo "$as_me:14653: \$? = $ac_status" >&5
   14654    if (exit $ac_status) && test -s "$ac_outfile"; then
   14655      # The compiler can only warn and ignore the option if not recognized
   14656      # So say no if there are warnings other than the usual output.
   14657      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14658      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14659      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14660        lt_cv_prog_compiler_pic_works_F77=yes
   14661      fi
   14662    fi
   14663    $rm conftest*
   14664 
   14665 fi
   14666 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14667 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14668 
   14669 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14670     case $lt_prog_compiler_pic_F77 in
   14671      "" | " "*) ;;
   14672      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14673      esac
   14674 else
   14675     lt_prog_compiler_pic_F77=
   14676      lt_prog_compiler_can_build_shared_F77=no
   14677 fi
   14678 
   14679 fi
   14680 case $host_os in
   14681   # For platforms which do not support PIC, -DPIC is meaningless:
   14682   *djgpp*)
   14683     lt_prog_compiler_pic_F77=
   14684     ;;
   14685   *)
   14686     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14687     ;;
   14688 esac
   14689 
   14690 #
   14691 # Check to make sure the static flag actually works.
   14692 #
   14693 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14694 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14695 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14696 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14697   $as_echo_n "(cached) " >&6
   14698 else
   14699   lt_cv_prog_compiler_static_works_F77=no
   14700    save_LDFLAGS="$LDFLAGS"
   14701    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14702    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14703    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14704      # The linker can only warn and ignore the option if not recognized
   14705      # So say no if there are warnings
   14706      if test -s conftest.err; then
   14707        # Append any errors to the config.log.
   14708        cat conftest.err 1>&5
   14709        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14710        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14711        if diff conftest.exp conftest.er2 >/dev/null; then
   14712          lt_cv_prog_compiler_static_works_F77=yes
   14713        fi
   14714      else
   14715        lt_cv_prog_compiler_static_works_F77=yes
   14716      fi
   14717    fi
   14718    $rm -r conftest*
   14719    LDFLAGS="$save_LDFLAGS"
   14720 
   14721 fi
   14722 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14723 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14724 
   14725 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14726     :
   14727 else
   14728     lt_prog_compiler_static_F77=
   14729 fi
   14730 
   14731 
   14732 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14734 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14735   $as_echo_n "(cached) " >&6
   14736 else
   14737   lt_cv_prog_compiler_c_o_F77=no
   14738    $rm -r conftest 2>/dev/null
   14739    mkdir conftest
   14740    cd conftest
   14741    mkdir out
   14742    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14743 
   14744    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14745    # Insert the option either (1) after the last *FLAGS variable, or
   14746    # (2) before a word containing "conftest.", or (3) at the end.
   14747    # Note that $ac_compile itself does not contain backslashes and begins
   14748    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14749    lt_compile=`echo "$ac_compile" | $SED \
   14750    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14751    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14752    -e 's:$: $lt_compiler_flag:'`
   14753    (eval echo "\"\$as_me:14753: $lt_compile\"" >&5)
   14754    (eval "$lt_compile" 2>out/conftest.err)
   14755    ac_status=$?
   14756    cat out/conftest.err >&5
   14757    echo "$as_me:14757: \$? = $ac_status" >&5
   14758    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14759    then
   14760      # The compiler can only warn and ignore the option if not recognized
   14761      # So say no if there are warnings
   14762      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14763      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14764      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14765        lt_cv_prog_compiler_c_o_F77=yes
   14766      fi
   14767    fi
   14768    chmod u+w . 2>&5
   14769    $rm conftest*
   14770    # SGI C++ compiler will create directory out/ii_files/ for
   14771    # template instantiation
   14772    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14773    $rm out/* && rmdir out
   14774    cd ..
   14775    rmdir conftest
   14776    $rm conftest*
   14777 
   14778 fi
   14779 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14780 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14781 
   14782 
   14783 hard_links="nottested"
   14784 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14785   # do not overwrite the value of need_locks provided by the user
   14786   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14787 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14788   hard_links=yes
   14789   $rm conftest*
   14790   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14791   touch conftest.a
   14792   ln conftest.a conftest.b 2>&5 || hard_links=no
   14793   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14794   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14795 $as_echo "$hard_links" >&6; }
   14796   if test "$hard_links" = no; then
   14797     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14798 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14799     need_locks=warn
   14800   fi
   14801 else
   14802   need_locks=no
   14803 fi
   14804 
   14805 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14807 
   14808   runpath_var=
   14809   allow_undefined_flag_F77=
   14810   enable_shared_with_static_runtimes_F77=no
   14811   archive_cmds_F77=
   14812   archive_expsym_cmds_F77=
   14813   old_archive_From_new_cmds_F77=
   14814   old_archive_from_expsyms_cmds_F77=
   14815   export_dynamic_flag_spec_F77=
   14816   whole_archive_flag_spec_F77=
   14817   thread_safe_flag_spec_F77=
   14818   hardcode_libdir_flag_spec_F77=
   14819   hardcode_libdir_flag_spec_ld_F77=
   14820   hardcode_libdir_separator_F77=
   14821   hardcode_direct_F77=no
   14822   hardcode_minus_L_F77=no
   14823   hardcode_shlibpath_var_F77=unsupported
   14824   link_all_deplibs_F77=unknown
   14825   hardcode_automatic_F77=no
   14826   module_cmds_F77=
   14827   module_expsym_cmds_F77=
   14828   always_export_symbols_F77=no
   14829   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14830   # include_expsyms should be a list of space-separated symbols to be *always*
   14831   # included in the symbol list
   14832   include_expsyms_F77=
   14833   # exclude_expsyms can be an extended regexp of symbols to exclude
   14834   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14835   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14836   # as well as any symbol that contains `d'.
   14837   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14838   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14839   # platforms (ab)use it in PIC code, but their linkers get confused if
   14840   # the symbol is explicitly referenced.  Since portable code cannot
   14841   # rely on this symbol name, it's probably fine to never include it in
   14842   # preloaded symbol tables.
   14843   # Exclude shared library initialization/finalization symbols.
   14844   extract_expsyms_cmds=
   14845   # Just being paranoid about ensuring that cc_basename is set.
   14846   for cc_temp in $compiler""; do
   14847   case $cc_temp in
   14848     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14849     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14850     \-*) ;;
   14851     *) break;;
   14852   esac
   14853 done
   14854 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14855 
   14856   case $host_os in
   14857   cygwin* | mingw* | pw32*)
   14858     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14859     # When not using gcc, we currently assume that we are using
   14860     # Microsoft Visual C++.
   14861     if test "$GCC" != yes; then
   14862       with_gnu_ld=no
   14863     fi
   14864     ;;
   14865   interix*)
   14866     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14867     with_gnu_ld=yes
   14868     ;;
   14869   openbsd*)
   14870     with_gnu_ld=no
   14871     ;;
   14872   esac
   14873 
   14874   ld_shlibs_F77=yes
   14875   if test "$with_gnu_ld" = yes; then
   14876     # If archive_cmds runs LD, not CC, wlarc should be empty
   14877     wlarc='${wl}'
   14878 
   14879     # Set some defaults for GNU ld with shared library support. These
   14880     # are reset later if shared libraries are not supported. Putting them
   14881     # here allows them to be overridden if necessary.
   14882     runpath_var=LD_RUN_PATH
   14883     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14884     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14885     # ancient GNU ld didn't support --whole-archive et. al.
   14886     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14887 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14888       else
   14889   	whole_archive_flag_spec_F77=
   14890     fi
   14891     supports_anon_versioning=no
   14892     case `$LD -v 2>/dev/null` in
   14893       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14894       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14895       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14896       *\ 2.11.*) ;; # other 2.11 versions
   14897       *) supports_anon_versioning=yes ;;
   14898     esac
   14899 
   14900     # See if GNU ld supports shared libraries.
   14901     case $host_os in
   14902     aix[3-9]*)
   14903       # On AIX/PPC, the GNU linker is very broken
   14904       if test "$host_cpu" != ia64; then
   14905 	ld_shlibs_F77=no
   14906 	cat <<EOF 1>&2
   14907 
   14908 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14909 *** to be unable to reliably create shared libraries on AIX.
   14910 *** Therefore, libtool is disabling shared libraries support.  If you
   14911 *** really care for shared libraries, you may want to modify your PATH
   14912 *** so that a non-GNU linker is found, and then restart.
   14913 
   14914 EOF
   14915       fi
   14916       ;;
   14917 
   14918     amigaos*)
   14919       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)'
   14920       hardcode_libdir_flag_spec_F77='-L$libdir'
   14921       hardcode_minus_L_F77=yes
   14922 
   14923       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14924       # that the semantics of dynamic libraries on AmigaOS, at least up
   14925       # to version 4, is to share data among multiple programs linked
   14926       # with the same dynamic library.  Since this doesn't match the
   14927       # behavior of shared libraries on other platforms, we can't use
   14928       # them.
   14929       ld_shlibs_F77=no
   14930       ;;
   14931 
   14932     beos*)
   14933       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14934 	allow_undefined_flag_F77=unsupported
   14935 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14936 	# support --undefined.  This deserves some investigation.  FIXME
   14937 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14938       else
   14939 	ld_shlibs_F77=no
   14940       fi
   14941       ;;
   14942 
   14943     cygwin* | mingw* | pw32*)
   14944       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14945       # as there is no search path for DLLs.
   14946       hardcode_libdir_flag_spec_F77='-L$libdir'
   14947       allow_undefined_flag_F77=unsupported
   14948       always_export_symbols_F77=no
   14949       enable_shared_with_static_runtimes_F77=yes
   14950       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14951 
   14952       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14953         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14954 	# If the export-symbols file already is a .def file (1st line
   14955 	# is EXPORTS), use it as is; otherwise, prepend...
   14956 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14957 	  cp $export_symbols $output_objdir/$soname.def;
   14958 	else
   14959 	  echo EXPORTS > $output_objdir/$soname.def;
   14960 	  cat $export_symbols >> $output_objdir/$soname.def;
   14961 	fi~
   14962 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14963       else
   14964 	ld_shlibs_F77=no
   14965       fi
   14966       ;;
   14967 
   14968     interix[3-9]*)
   14969       hardcode_direct_F77=no
   14970       hardcode_shlibpath_var_F77=no
   14971       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14972       export_dynamic_flag_spec_F77='${wl}-E'
   14973       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14974       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14975       # default) and relocated if they conflict, which is a slow very memory
   14976       # consuming and fragmenting process.  To avoid this, we pick a random,
   14977       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14978       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14979       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'
   14980       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'
   14981       ;;
   14982 
   14983     gnu* | linux* | k*bsd*-gnu)
   14984       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14985 	tmp_addflag=
   14986 	case $cc_basename,$host_cpu in
   14987 	pgcc*)				# Portland Group C compiler
   14988 	  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'
   14989 	  tmp_addflag=' $pic_flag'
   14990 	  ;;
   14991 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14992 	  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'
   14993 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14994 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14995 	  tmp_addflag=' -i_dynamic' ;;
   14996 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14997 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14998 	ifc* | ifort*)			# Intel Fortran compiler
   14999 	  tmp_addflag=' -nofor_main' ;;
   15000 	esac
   15001 	case `$CC -V 2>&1 | sed 5q` in
   15002 	*Sun\ C*)			# Sun C 5.9
   15003 	  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'
   15004 	  tmp_sharedflag='-G' ;;
   15005 	*Sun\ F*)			# Sun Fortran 8.3
   15006 	  tmp_sharedflag='-G' ;;
   15007 	*)
   15008 	  tmp_sharedflag='-shared' ;;
   15009 	esac
   15010 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15011 
   15012 	if test $supports_anon_versioning = yes; then
   15013 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15014   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15015   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15016 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15017 	fi
   15018       else
   15019 	ld_shlibs_F77=no
   15020       fi
   15021       ;;
   15022 
   15023     netbsd*)
   15024       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15025 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15026 	wlarc=
   15027       else
   15028 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15029 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15030       fi
   15031       ;;
   15032 
   15033     solaris*)
   15034       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15035 	ld_shlibs_F77=no
   15036 	cat <<EOF 1>&2
   15037 
   15038 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15039 *** create shared libraries on Solaris systems.  Therefore, libtool
   15040 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15041 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15042 *** your PATH or compiler configuration so that the native linker is
   15043 *** used, and then restart.
   15044 
   15045 EOF
   15046       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15047 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15048 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15049       else
   15050 	ld_shlibs_F77=no
   15051       fi
   15052       ;;
   15053 
   15054     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15055       case `$LD -v 2>&1` in
   15056         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15057 	ld_shlibs_F77=no
   15058 	cat <<_LT_EOF 1>&2
   15059 
   15060 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15061 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15062 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15063 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15064 *** your PATH or compiler configuration so that the native linker is
   15065 *** used, and then restart.
   15066 
   15067 _LT_EOF
   15068 	;;
   15069 	*)
   15070 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15071 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15072 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15073 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15074 	  else
   15075 	    ld_shlibs_F77=no
   15076 	  fi
   15077 	;;
   15078       esac
   15079       ;;
   15080 
   15081     sunos4*)
   15082       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15083       wlarc=
   15084       hardcode_direct_F77=yes
   15085       hardcode_shlibpath_var_F77=no
   15086       ;;
   15087 
   15088     *)
   15089       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15090 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15091 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15092       else
   15093 	ld_shlibs_F77=no
   15094       fi
   15095       ;;
   15096     esac
   15097 
   15098     if test "$ld_shlibs_F77" = no; then
   15099       runpath_var=
   15100       hardcode_libdir_flag_spec_F77=
   15101       export_dynamic_flag_spec_F77=
   15102       whole_archive_flag_spec_F77=
   15103     fi
   15104   else
   15105     # PORTME fill in a description of your system's linker (not GNU ld)
   15106     case $host_os in
   15107     aix3*)
   15108       allow_undefined_flag_F77=unsupported
   15109       always_export_symbols_F77=yes
   15110       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'
   15111       # Note: this linker hardcodes the directories in LIBPATH if there
   15112       # are no directories specified by -L.
   15113       hardcode_minus_L_F77=yes
   15114       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15115 	# Neither direct hardcoding nor static linking is supported with a
   15116 	# broken collect2.
   15117 	hardcode_direct_F77=unsupported
   15118       fi
   15119       ;;
   15120 
   15121     aix[4-9]*)
   15122       if test "$host_cpu" = ia64; then
   15123 	# On IA64, the linker does run time linking by default, so we don't
   15124 	# have to do anything special.
   15125 	aix_use_runtimelinking=no
   15126 	exp_sym_flag='-Bexport'
   15127 	no_entry_flag=""
   15128       else
   15129 	# If we're using GNU nm, then we don't want the "-C" option.
   15130 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15131 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15132 	  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'
   15133 	else
   15134 	  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'
   15135 	fi
   15136 	aix_use_runtimelinking=no
   15137 
   15138 	# Test if we are trying to use run time linking or normal
   15139 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15140 	# need to do runtime linking.
   15141 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15142 	  for ld_flag in $LDFLAGS; do
   15143   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15144   	    aix_use_runtimelinking=yes
   15145   	    break
   15146   	  fi
   15147 	  done
   15148 	  ;;
   15149 	esac
   15150 
   15151 	exp_sym_flag='-bexport'
   15152 	no_entry_flag='-bnoentry'
   15153       fi
   15154 
   15155       # When large executables or shared objects are built, AIX ld can
   15156       # have problems creating the table of contents.  If linking a library
   15157       # or program results in "error TOC overflow" add -mminimal-toc to
   15158       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15159       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15160 
   15161       archive_cmds_F77=''
   15162       hardcode_direct_F77=yes
   15163       hardcode_libdir_separator_F77=':'
   15164       link_all_deplibs_F77=yes
   15165 
   15166       if test "$GCC" = yes; then
   15167 	case $host_os in aix4.[012]|aix4.[012].*)
   15168 	# We only want to do this on AIX 4.2 and lower, the check
   15169 	# below for broken collect2 doesn't work under 4.3+
   15170 	  collect2name=`${CC} -print-prog-name=collect2`
   15171 	  if test -f "$collect2name" && \
   15172   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15173 	  then
   15174   	  # We have reworked collect2
   15175   	  :
   15176 	  else
   15177   	  # We have old collect2
   15178   	  hardcode_direct_F77=unsupported
   15179   	  # It fails to find uninstalled libraries when the uninstalled
   15180   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15181   	  # to unsupported forces relinking
   15182   	  hardcode_minus_L_F77=yes
   15183   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15184   	  hardcode_libdir_separator_F77=
   15185 	  fi
   15186 	  ;;
   15187 	esac
   15188 	shared_flag='-shared'
   15189 	if test "$aix_use_runtimelinking" = yes; then
   15190 	  shared_flag="$shared_flag "'${wl}-G'
   15191 	fi
   15192       else
   15193 	# not using gcc
   15194 	if test "$host_cpu" = ia64; then
   15195   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15196   	# chokes on -Wl,-G. The following line is correct:
   15197 	  shared_flag='-G'
   15198 	else
   15199 	  if test "$aix_use_runtimelinking" = yes; then
   15200 	    shared_flag='${wl}-G'
   15201 	  else
   15202 	    shared_flag='${wl}-bM:SRE'
   15203 	  fi
   15204 	fi
   15205       fi
   15206 
   15207       # It seems that -bexpall does not export symbols beginning with
   15208       # underscore (_), so it is better to generate a list of symbols to export.
   15209       always_export_symbols_F77=yes
   15210       if test "$aix_use_runtimelinking" = yes; then
   15211 	# Warning - without using the other runtime loading flags (-brtl),
   15212 	# -berok will link without error, but may produce a broken library.
   15213 	allow_undefined_flag_F77='-berok'
   15214        # Determine the default libpath from the value encoded in an empty executable.
   15215        cat >conftest.$ac_ext <<_ACEOF
   15216       program main
   15217 
   15218       end
   15219 _ACEOF
   15220 rm -f conftest.$ac_objext conftest$ac_exeext
   15221 if { (ac_try="$ac_link"
   15222 case "(($ac_try" in
   15223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15224   *) ac_try_echo=$ac_try;;
   15225 esac
   15226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15227 $as_echo "$ac_try_echo") >&5
   15228   (eval "$ac_link") 2>conftest.er1
   15229   ac_status=$?
   15230   grep -v '^ *+' conftest.er1 >conftest.err
   15231   rm -f conftest.er1
   15232   cat conftest.err >&5
   15233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15234   (exit $ac_status); } && {
   15235 	 test -z "$ac_f77_werror_flag" ||
   15236 	 test ! -s conftest.err
   15237        } && test -s conftest$ac_exeext && {
   15238 	 test "$cross_compiling" = yes ||
   15239 	 $as_test_x conftest$ac_exeext
   15240        }; then
   15241 
   15242 lt_aix_libpath_sed='
   15243     /Import File Strings/,/^$/ {
   15244 	/^0/ {
   15245 	    s/^0  *\(.*\)$/\1/
   15246 	    p
   15247 	}
   15248     }'
   15249 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15250 # Check for a 64-bit object if we didn't find anything.
   15251 if test -z "$aix_libpath"; then
   15252   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15253 fi
   15254 else
   15255   $as_echo "$as_me: failed program was:" >&5
   15256 sed 's/^/| /' conftest.$ac_ext >&5
   15257 
   15258 
   15259 fi
   15260 
   15261 rm -rf conftest.dSYM
   15262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15263       conftest$ac_exeext conftest.$ac_ext
   15264 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15265 
   15266        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15267 	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"
   15268        else
   15269 	if test "$host_cpu" = ia64; then
   15270 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15271 	  allow_undefined_flag_F77="-z nodefs"
   15272 	  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"
   15273 	else
   15274 	 # Determine the default libpath from the value encoded in an empty executable.
   15275 	 cat >conftest.$ac_ext <<_ACEOF
   15276       program main
   15277 
   15278       end
   15279 _ACEOF
   15280 rm -f conftest.$ac_objext conftest$ac_exeext
   15281 if { (ac_try="$ac_link"
   15282 case "(($ac_try" in
   15283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15284   *) ac_try_echo=$ac_try;;
   15285 esac
   15286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15287 $as_echo "$ac_try_echo") >&5
   15288   (eval "$ac_link") 2>conftest.er1
   15289   ac_status=$?
   15290   grep -v '^ *+' conftest.er1 >conftest.err
   15291   rm -f conftest.er1
   15292   cat conftest.err >&5
   15293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15294   (exit $ac_status); } && {
   15295 	 test -z "$ac_f77_werror_flag" ||
   15296 	 test ! -s conftest.err
   15297        } && test -s conftest$ac_exeext && {
   15298 	 test "$cross_compiling" = yes ||
   15299 	 $as_test_x conftest$ac_exeext
   15300        }; then
   15301 
   15302 lt_aix_libpath_sed='
   15303     /Import File Strings/,/^$/ {
   15304 	/^0/ {
   15305 	    s/^0  *\(.*\)$/\1/
   15306 	    p
   15307 	}
   15308     }'
   15309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15310 # Check for a 64-bit object if we didn't find anything.
   15311 if test -z "$aix_libpath"; then
   15312   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15313 fi
   15314 else
   15315   $as_echo "$as_me: failed program was:" >&5
   15316 sed 's/^/| /' conftest.$ac_ext >&5
   15317 
   15318 
   15319 fi
   15320 
   15321 rm -rf conftest.dSYM
   15322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15323       conftest$ac_exeext conftest.$ac_ext
   15324 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15325 
   15326 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15327 	  # Warning - without using the other run time loading flags,
   15328 	  # -berok will link without error, but may produce a broken library.
   15329 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15330 	  allow_undefined_flag_F77=' ${wl}-berok'
   15331 	  # Exported symbols can be pulled into shared objects from archives
   15332 	  whole_archive_flag_spec_F77='$convenience'
   15333 	  archive_cmds_need_lc_F77=yes
   15334 	  # This is similar to how AIX traditionally builds its shared libraries.
   15335 	  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'
   15336 	fi
   15337       fi
   15338       ;;
   15339 
   15340     amigaos*)
   15341       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)'
   15342       hardcode_libdir_flag_spec_F77='-L$libdir'
   15343       hardcode_minus_L_F77=yes
   15344       # see comment about different semantics on the GNU ld section
   15345       ld_shlibs_F77=no
   15346       ;;
   15347 
   15348     bsdi[45]*)
   15349       export_dynamic_flag_spec_F77=-rdynamic
   15350       ;;
   15351 
   15352     cygwin* | mingw* | pw32*)
   15353       # When not using gcc, we currently assume that we are using
   15354       # Microsoft Visual C++.
   15355       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15356       # no search path for DLLs.
   15357       hardcode_libdir_flag_spec_F77=' '
   15358       allow_undefined_flag_F77=unsupported
   15359       # Tell ltmain to make .lib files, not .a files.
   15360       libext=lib
   15361       # Tell ltmain to make .dll files, not .so files.
   15362       shrext_cmds=".dll"
   15363       # FIXME: Setting linknames here is a bad hack.
   15364       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15365       # The linker will automatically build a .lib file if we build a DLL.
   15366       old_archive_From_new_cmds_F77='true'
   15367       # FIXME: Should let the user specify the lib program.
   15368       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15369       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15370       enable_shared_with_static_runtimes_F77=yes
   15371       ;;
   15372 
   15373     darwin* | rhapsody*)
   15374       case $host_os in
   15375         rhapsody* | darwin1.[012])
   15376          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15377          ;;
   15378        *) # Darwin 1.3 on
   15379          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15380            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15381          else
   15382            case ${MACOSX_DEPLOYMENT_TARGET} in
   15383              10.[012])
   15384                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15385                ;;
   15386              10.*)
   15387                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15388                ;;
   15389            esac
   15390          fi
   15391          ;;
   15392       esac
   15393       archive_cmds_need_lc_F77=no
   15394       hardcode_direct_F77=no
   15395       hardcode_automatic_F77=yes
   15396       hardcode_shlibpath_var_F77=unsupported
   15397       whole_archive_flag_spec_F77=''
   15398       link_all_deplibs_F77=yes
   15399     if test "$GCC" = yes ; then
   15400     	output_verbose_link_cmd='echo'
   15401         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}"
   15402         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15403         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}"
   15404         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}"
   15405     else
   15406       case $cc_basename in
   15407         xlc*)
   15408          output_verbose_link_cmd='echo'
   15409          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15410          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15411           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15412          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}'
   15413           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}'
   15414           ;;
   15415        *)
   15416          ld_shlibs_F77=no
   15417           ;;
   15418       esac
   15419     fi
   15420       ;;
   15421 
   15422     dgux*)
   15423       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15424       hardcode_libdir_flag_spec_F77='-L$libdir'
   15425       hardcode_shlibpath_var_F77=no
   15426       ;;
   15427 
   15428     freebsd1*)
   15429       ld_shlibs_F77=no
   15430       ;;
   15431 
   15432     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15433     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15434     # does not break anything, and helps significantly (at the cost of a little
   15435     # extra space).
   15436     freebsd2.2*)
   15437       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15438       hardcode_libdir_flag_spec_F77='-R$libdir'
   15439       hardcode_direct_F77=yes
   15440       hardcode_shlibpath_var_F77=no
   15441       ;;
   15442 
   15443     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15444     freebsd2*)
   15445       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15446       hardcode_direct_F77=yes
   15447       hardcode_minus_L_F77=yes
   15448       hardcode_shlibpath_var_F77=no
   15449       ;;
   15450 
   15451     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15452     freebsd* | dragonfly*)
   15453       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15454       hardcode_libdir_flag_spec_F77='-R$libdir'
   15455       hardcode_direct_F77=yes
   15456       hardcode_shlibpath_var_F77=no
   15457       ;;
   15458 
   15459     hpux9*)
   15460       if test "$GCC" = yes; then
   15461 	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'
   15462       else
   15463 	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'
   15464       fi
   15465       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15466       hardcode_libdir_separator_F77=:
   15467       hardcode_direct_F77=yes
   15468 
   15469       # hardcode_minus_L: Not really in the search PATH,
   15470       # but as the default location of the library.
   15471       hardcode_minus_L_F77=yes
   15472       export_dynamic_flag_spec_F77='${wl}-E'
   15473       ;;
   15474 
   15475     hpux10*)
   15476       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15477 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15478       else
   15479 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15480       fi
   15481       if test "$with_gnu_ld" = no; then
   15482 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15483 	hardcode_libdir_separator_F77=:
   15484 
   15485 	hardcode_direct_F77=yes
   15486 	export_dynamic_flag_spec_F77='${wl}-E'
   15487 
   15488 	# hardcode_minus_L: Not really in the search PATH,
   15489 	# but as the default location of the library.
   15490 	hardcode_minus_L_F77=yes
   15491       fi
   15492       ;;
   15493 
   15494     hpux11*)
   15495       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15496 	case $host_cpu in
   15497 	hppa*64*)
   15498 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15499 	  ;;
   15500 	ia64*)
   15501 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	*)
   15504 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15505 	  ;;
   15506 	esac
   15507       else
   15508 	case $host_cpu in
   15509 	hppa*64*)
   15510 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15511 	  ;;
   15512 	ia64*)
   15513 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15514 	  ;;
   15515 	*)
   15516 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15517 	  ;;
   15518 	esac
   15519       fi
   15520       if test "$with_gnu_ld" = no; then
   15521 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15522 	hardcode_libdir_separator_F77=:
   15523 
   15524 	case $host_cpu in
   15525 	hppa*64*|ia64*)
   15526 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15527 	  hardcode_direct_F77=no
   15528 	  hardcode_shlibpath_var_F77=no
   15529 	  ;;
   15530 	*)
   15531 	  hardcode_direct_F77=yes
   15532 	  export_dynamic_flag_spec_F77='${wl}-E'
   15533 
   15534 	  # hardcode_minus_L: Not really in the search PATH,
   15535 	  # but as the default location of the library.
   15536 	  hardcode_minus_L_F77=yes
   15537 	  ;;
   15538 	esac
   15539       fi
   15540       ;;
   15541 
   15542     irix5* | irix6* | nonstopux*)
   15543       if test "$GCC" = yes; then
   15544 	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'
   15545       else
   15546 	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'
   15547 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15548       fi
   15549       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15550       hardcode_libdir_separator_F77=:
   15551       link_all_deplibs_F77=yes
   15552       ;;
   15553 
   15554     netbsd*)
   15555       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15556 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15557       else
   15558 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15559       fi
   15560       hardcode_libdir_flag_spec_F77='-R$libdir'
   15561       hardcode_direct_F77=yes
   15562       hardcode_shlibpath_var_F77=no
   15563       ;;
   15564 
   15565     newsos6)
   15566       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15567       hardcode_direct_F77=yes
   15568       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15569       hardcode_libdir_separator_F77=:
   15570       hardcode_shlibpath_var_F77=no
   15571       ;;
   15572 
   15573     openbsd*)
   15574       if test -f /usr/libexec/ld.so; then
   15575 	hardcode_direct_F77=yes
   15576 	hardcode_shlibpath_var_F77=no
   15577 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15578 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15579 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15580 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15581 	  export_dynamic_flag_spec_F77='${wl}-E'
   15582 	else
   15583 	  case $host_os in
   15584 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15585 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15586 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15587 	     ;;
   15588 	   *)
   15589 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15590 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15591 	     ;;
   15592 	  esac
   15593         fi
   15594       else
   15595 	ld_shlibs_F77=no
   15596       fi
   15597       ;;
   15598 
   15599     os2*)
   15600       hardcode_libdir_flag_spec_F77='-L$libdir'
   15601       hardcode_minus_L_F77=yes
   15602       allow_undefined_flag_F77=unsupported
   15603       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'
   15604       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15605       ;;
   15606 
   15607     osf3*)
   15608       if test "$GCC" = yes; then
   15609 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15610 	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'
   15611       else
   15612 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15613 	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'
   15614       fi
   15615       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15616       hardcode_libdir_separator_F77=:
   15617       ;;
   15618 
   15619     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15620       if test "$GCC" = yes; then
   15621 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15622 	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'
   15623 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15624       else
   15625 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15626 	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'
   15627 	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~
   15628 	$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'
   15629 
   15630 	# Both c and cxx compiler support -rpath directly
   15631 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15632       fi
   15633       hardcode_libdir_separator_F77=:
   15634       ;;
   15635 
   15636     solaris*)
   15637       no_undefined_flag_F77=' -z text'
   15638       if test "$GCC" = yes; then
   15639 	wlarc='${wl}'
   15640 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15641 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15642 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15643       else
   15644 	wlarc=''
   15645 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15646 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15647   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15648       fi
   15649       hardcode_libdir_flag_spec_F77='-R$libdir'
   15650       hardcode_shlibpath_var_F77=no
   15651       case $host_os in
   15652       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15653       *)
   15654 	# The compiler driver will combine and reorder linker options,
   15655 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15656 	# but is careful enough not to reorder.
   15657  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15658 	if test "$GCC" = yes; then
   15659 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15660 	else
   15661 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15662 	fi
   15663 	;;
   15664       esac
   15665       link_all_deplibs_F77=yes
   15666       ;;
   15667 
   15668     sunos4*)
   15669       if test "x$host_vendor" = xsequent; then
   15670 	# Use $CC to link under sequent, because it throws in some extra .o
   15671 	# files that make .init and .fini sections work.
   15672 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15673       else
   15674 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15675       fi
   15676       hardcode_libdir_flag_spec_F77='-L$libdir'
   15677       hardcode_direct_F77=yes
   15678       hardcode_minus_L_F77=yes
   15679       hardcode_shlibpath_var_F77=no
   15680       ;;
   15681 
   15682     sysv4)
   15683       case $host_vendor in
   15684 	sni)
   15685 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15686 	  hardcode_direct_F77=yes # is this really true???
   15687 	;;
   15688 	siemens)
   15689 	  ## LD is ld it makes a PLAMLIB
   15690 	  ## CC just makes a GrossModule.
   15691 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15692 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15693 	  hardcode_direct_F77=no
   15694         ;;
   15695 	motorola)
   15696 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15697 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15698 	;;
   15699       esac
   15700       runpath_var='LD_RUN_PATH'
   15701       hardcode_shlibpath_var_F77=no
   15702       ;;
   15703 
   15704     sysv4.3*)
   15705       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15706       hardcode_shlibpath_var_F77=no
   15707       export_dynamic_flag_spec_F77='-Bexport'
   15708       ;;
   15709 
   15710     sysv4*MP*)
   15711       if test -d /usr/nec; then
   15712 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15713 	hardcode_shlibpath_var_F77=no
   15714 	runpath_var=LD_RUN_PATH
   15715 	hardcode_runpath_var=yes
   15716 	ld_shlibs_F77=yes
   15717       fi
   15718       ;;
   15719 
   15720     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15721       no_undefined_flag_F77='${wl}-z,text'
   15722       archive_cmds_need_lc_F77=no
   15723       hardcode_shlibpath_var_F77=no
   15724       runpath_var='LD_RUN_PATH'
   15725 
   15726       if test "$GCC" = yes; then
   15727 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15728 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15729       else
   15730 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15731 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15732       fi
   15733       ;;
   15734 
   15735     sysv5* | sco3.2v5* | sco5v6*)
   15736       # Note: We can NOT use -z defs as we might desire, because we do not
   15737       # link with -lc, and that would cause any symbols used from libc to
   15738       # always be unresolved, which means just about no library would
   15739       # ever link correctly.  If we're not using GNU ld we use -z text
   15740       # though, which does catch some bad symbols but isn't as heavy-handed
   15741       # as -z defs.
   15742       no_undefined_flag_F77='${wl}-z,text'
   15743       allow_undefined_flag_F77='${wl}-z,nodefs'
   15744       archive_cmds_need_lc_F77=no
   15745       hardcode_shlibpath_var_F77=no
   15746       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15747       hardcode_libdir_separator_F77=':'
   15748       link_all_deplibs_F77=yes
   15749       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15750       runpath_var='LD_RUN_PATH'
   15751 
   15752       if test "$GCC" = yes; then
   15753 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15754 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15755       else
   15756 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15757 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15758       fi
   15759       ;;
   15760 
   15761     uts4*)
   15762       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15763       hardcode_libdir_flag_spec_F77='-L$libdir'
   15764       hardcode_shlibpath_var_F77=no
   15765       ;;
   15766 
   15767     *)
   15768       ld_shlibs_F77=no
   15769       ;;
   15770     esac
   15771   fi
   15772 
   15773 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15774 $as_echo "$ld_shlibs_F77" >&6; }
   15775 test "$ld_shlibs_F77" = no && can_build_shared=no
   15776 
   15777 #
   15778 # Do we need to explicitly link libc?
   15779 #
   15780 case "x$archive_cmds_need_lc_F77" in
   15781 x|xyes)
   15782   # Assume -lc should be added
   15783   archive_cmds_need_lc_F77=yes
   15784 
   15785   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15786     case $archive_cmds_F77 in
   15787     *'~'*)
   15788       # FIXME: we may have to deal with multi-command sequences.
   15789       ;;
   15790     '$CC '*)
   15791       # Test whether the compiler implicitly links with -lc since on some
   15792       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15793       # to ld, don't add -lc before -lgcc.
   15794       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15795 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15796       $rm conftest*
   15797       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15798 
   15799       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15800   (eval $ac_compile) 2>&5
   15801   ac_status=$?
   15802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15803   (exit $ac_status); } 2>conftest.err; then
   15804         soname=conftest
   15805         lib=conftest
   15806         libobjs=conftest.$ac_objext
   15807         deplibs=
   15808         wl=$lt_prog_compiler_wl_F77
   15809 	pic_flag=$lt_prog_compiler_pic_F77
   15810         compiler_flags=-v
   15811         linker_flags=-v
   15812         verstring=
   15813         output_objdir=.
   15814         libname=conftest
   15815         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15816         allow_undefined_flag_F77=
   15817         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15818   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15819   ac_status=$?
   15820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15821   (exit $ac_status); }
   15822         then
   15823 	  archive_cmds_need_lc_F77=no
   15824         else
   15825 	  archive_cmds_need_lc_F77=yes
   15826         fi
   15827         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15828       else
   15829         cat conftest.err 1>&5
   15830       fi
   15831       $rm conftest*
   15832       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15833 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15834       ;;
   15835     esac
   15836   fi
   15837   ;;
   15838 esac
   15839 
   15840 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15841 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15842 library_names_spec=
   15843 libname_spec='lib$name'
   15844 soname_spec=
   15845 shrext_cmds=".so"
   15846 postinstall_cmds=
   15847 postuninstall_cmds=
   15848 finish_cmds=
   15849 finish_eval=
   15850 shlibpath_var=
   15851 shlibpath_overrides_runpath=unknown
   15852 version_type=none
   15853 dynamic_linker="$host_os ld.so"
   15854 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15855 
   15856 need_lib_prefix=unknown
   15857 hardcode_into_libs=no
   15858 
   15859 # when you set need_version to no, make sure it does not cause -set_version
   15860 # flags to be left without arguments
   15861 need_version=unknown
   15862 
   15863 case $host_os in
   15864 aix3*)
   15865   version_type=linux
   15866   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15867   shlibpath_var=LIBPATH
   15868 
   15869   # AIX 3 has no versioning support, so we append a major version to the name.
   15870   soname_spec='${libname}${release}${shared_ext}$major'
   15871   ;;
   15872 
   15873 aix[4-9]*)
   15874   version_type=linux
   15875   need_lib_prefix=no
   15876   need_version=no
   15877   hardcode_into_libs=yes
   15878   if test "$host_cpu" = ia64; then
   15879     # AIX 5 supports IA64
   15880     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15881     shlibpath_var=LD_LIBRARY_PATH
   15882   else
   15883     # With GCC up to 2.95.x, collect2 would create an import file
   15884     # for dependence libraries.  The import file would start with
   15885     # the line `#! .'.  This would cause the generated library to
   15886     # depend on `.', always an invalid library.  This was fixed in
   15887     # development snapshots of GCC prior to 3.0.
   15888     case $host_os in
   15889       aix4 | aix4.[01] | aix4.[01].*)
   15890       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15891 	   echo ' yes '
   15892 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15893 	:
   15894       else
   15895 	can_build_shared=no
   15896       fi
   15897       ;;
   15898     esac
   15899     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15900     # soname into executable. Probably we can add versioning support to
   15901     # collect2, so additional links can be useful in future.
   15902     if test "$aix_use_runtimelinking" = yes; then
   15903       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15904       # instead of lib<name>.a to let people know that these are not
   15905       # typical AIX shared libraries.
   15906       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15907     else
   15908       # We preserve .a as extension for shared libraries through AIX4.2
   15909       # and later when we are not doing run time linking.
   15910       library_names_spec='${libname}${release}.a $libname.a'
   15911       soname_spec='${libname}${release}${shared_ext}$major'
   15912     fi
   15913     shlibpath_var=LIBPATH
   15914   fi
   15915   ;;
   15916 
   15917 amigaos*)
   15918   library_names_spec='$libname.ixlibrary $libname.a'
   15919   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15920   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'
   15921   ;;
   15922 
   15923 beos*)
   15924   library_names_spec='${libname}${shared_ext}'
   15925   dynamic_linker="$host_os ld.so"
   15926   shlibpath_var=LIBRARY_PATH
   15927   ;;
   15928 
   15929 bsdi[45]*)
   15930   version_type=linux
   15931   need_version=no
   15932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15933   soname_spec='${libname}${release}${shared_ext}$major'
   15934   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15935   shlibpath_var=LD_LIBRARY_PATH
   15936   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15937   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15938   # the default ld.so.conf also contains /usr/contrib/lib and
   15939   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15940   # libtool to hard-code these into programs
   15941   ;;
   15942 
   15943 cygwin* | mingw* | pw32*)
   15944   version_type=windows
   15945   shrext_cmds=".dll"
   15946   need_version=no
   15947   need_lib_prefix=no
   15948 
   15949   case $GCC,$host_os in
   15950   yes,cygwin* | yes,mingw* | yes,pw32*)
   15951     library_names_spec='$libname.dll.a'
   15952     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15953     postinstall_cmds='base_file=`basename \${file}`~
   15954       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15955       dldir=$destdir/`dirname \$dlpath`~
   15956       test -d \$dldir || mkdir -p \$dldir~
   15957       $install_prog $dir/$dlname \$dldir/$dlname~
   15958       chmod a+x \$dldir/$dlname'
   15959     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15960       dlpath=$dir/\$dldll~
   15961        $rm \$dlpath'
   15962     shlibpath_overrides_runpath=yes
   15963 
   15964     case $host_os in
   15965     cygwin*)
   15966       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15967       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15968       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15969       ;;
   15970     mingw*)
   15971       # MinGW DLLs use traditional 'lib' prefix
   15972       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15973       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15974       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15975         # It is most probably a Windows format PATH printed by
   15976         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15977         # path with ; separators, and with drive letters. We can handle the
   15978         # drive letters (cygwin fileutils understands them), so leave them,
   15979         # especially as we might pass files found there to a mingw objdump,
   15980         # which wouldn't understand a cygwinified path. Ahh.
   15981         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15982       else
   15983         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15984       fi
   15985       ;;
   15986     pw32*)
   15987       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15988       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15989       ;;
   15990     esac
   15991     ;;
   15992 
   15993   *)
   15994     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15995     ;;
   15996   esac
   15997   dynamic_linker='Win32 ld.exe'
   15998   # FIXME: first we should search . and the directory the executable is in
   15999   shlibpath_var=PATH
   16000   ;;
   16001 
   16002 darwin* | rhapsody*)
   16003   dynamic_linker="$host_os dyld"
   16004   version_type=darwin
   16005   need_lib_prefix=no
   16006   need_version=no
   16007   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16008   soname_spec='${libname}${release}${major}$shared_ext'
   16009   shlibpath_overrides_runpath=yes
   16010   shlibpath_var=DYLD_LIBRARY_PATH
   16011   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16012 
   16013   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16014   ;;
   16015 
   16016 dgux*)
   16017   version_type=linux
   16018   need_lib_prefix=no
   16019   need_version=no
   16020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16021   soname_spec='${libname}${release}${shared_ext}$major'
   16022   shlibpath_var=LD_LIBRARY_PATH
   16023   ;;
   16024 
   16025 freebsd1*)
   16026   dynamic_linker=no
   16027   ;;
   16028 
   16029 freebsd* | dragonfly*)
   16030   # DragonFly does not have aout.  When/if they implement a new
   16031   # versioning mechanism, adjust this.
   16032   if test -x /usr/bin/objformat; then
   16033     objformat=`/usr/bin/objformat`
   16034   else
   16035     case $host_os in
   16036     freebsd[123]*) objformat=aout ;;
   16037     *) objformat=elf ;;
   16038     esac
   16039   fi
   16040   version_type=freebsd-$objformat
   16041   case $version_type in
   16042     freebsd-elf*)
   16043       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16044       need_version=no
   16045       need_lib_prefix=no
   16046       ;;
   16047     freebsd-*)
   16048       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16049       need_version=yes
   16050       ;;
   16051   esac
   16052   shlibpath_var=LD_LIBRARY_PATH
   16053   case $host_os in
   16054   freebsd2*)
   16055     shlibpath_overrides_runpath=yes
   16056     ;;
   16057   freebsd3.[01]* | freebsdelf3.[01]*)
   16058     shlibpath_overrides_runpath=yes
   16059     hardcode_into_libs=yes
   16060     ;;
   16061   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16062   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16063     shlibpath_overrides_runpath=no
   16064     hardcode_into_libs=yes
   16065     ;;
   16066   *) # from 4.6 on, and DragonFly
   16067     shlibpath_overrides_runpath=yes
   16068     hardcode_into_libs=yes
   16069     ;;
   16070   esac
   16071   ;;
   16072 
   16073 gnu*)
   16074   version_type=linux
   16075   need_lib_prefix=no
   16076   need_version=no
   16077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16078   soname_spec='${libname}${release}${shared_ext}$major'
   16079   shlibpath_var=LD_LIBRARY_PATH
   16080   hardcode_into_libs=yes
   16081   ;;
   16082 
   16083 hpux9* | hpux10* | hpux11*)
   16084   # Give a soname corresponding to the major version so that dld.sl refuses to
   16085   # link against other versions.
   16086   version_type=sunos
   16087   need_lib_prefix=no
   16088   need_version=no
   16089   case $host_cpu in
   16090   ia64*)
   16091     shrext_cmds='.so'
   16092     hardcode_into_libs=yes
   16093     dynamic_linker="$host_os dld.so"
   16094     shlibpath_var=LD_LIBRARY_PATH
   16095     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16096     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16097     soname_spec='${libname}${release}${shared_ext}$major'
   16098     if test "X$HPUX_IA64_MODE" = X32; then
   16099       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16100     else
   16101       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16102     fi
   16103     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16104     ;;
   16105    hppa*64*)
   16106      shrext_cmds='.sl'
   16107      hardcode_into_libs=yes
   16108      dynamic_linker="$host_os dld.sl"
   16109      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16110      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16111      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16112      soname_spec='${libname}${release}${shared_ext}$major'
   16113      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16114      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16115      ;;
   16116    *)
   16117     shrext_cmds='.sl'
   16118     dynamic_linker="$host_os dld.sl"
   16119     shlibpath_var=SHLIB_PATH
   16120     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16121     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16122     soname_spec='${libname}${release}${shared_ext}$major'
   16123     ;;
   16124   esac
   16125   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16126   postinstall_cmds='chmod 555 $lib'
   16127   ;;
   16128 
   16129 interix[3-9]*)
   16130   version_type=linux
   16131   need_lib_prefix=no
   16132   need_version=no
   16133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16134   soname_spec='${libname}${release}${shared_ext}$major'
   16135   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16136   shlibpath_var=LD_LIBRARY_PATH
   16137   shlibpath_overrides_runpath=no
   16138   hardcode_into_libs=yes
   16139   ;;
   16140 
   16141 irix5* | irix6* | nonstopux*)
   16142   case $host_os in
   16143     nonstopux*) version_type=nonstopux ;;
   16144     *)
   16145 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16146 		version_type=linux
   16147 	else
   16148 		version_type=irix
   16149 	fi ;;
   16150   esac
   16151   need_lib_prefix=no
   16152   need_version=no
   16153   soname_spec='${libname}${release}${shared_ext}$major'
   16154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16155   case $host_os in
   16156   irix5* | nonstopux*)
   16157     libsuff= shlibsuff=
   16158     ;;
   16159   *)
   16160     case $LD in # libtool.m4 will add one of these switches to LD
   16161     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16162       libsuff= shlibsuff= libmagic=32-bit;;
   16163     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16164       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16165     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16166       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16167     *) libsuff= shlibsuff= libmagic=never-match;;
   16168     esac
   16169     ;;
   16170   esac
   16171   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16172   shlibpath_overrides_runpath=no
   16173   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16174   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16175   hardcode_into_libs=yes
   16176   ;;
   16177 
   16178 # No shared lib support for Linux oldld, aout, or coff.
   16179 linux*oldld* | linux*aout* | linux*coff*)
   16180   dynamic_linker=no
   16181   ;;
   16182 
   16183 # This must be Linux ELF.
   16184 linux* | k*bsd*-gnu)
   16185   version_type=linux
   16186   need_lib_prefix=no
   16187   need_version=no
   16188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16189   soname_spec='${libname}${release}${shared_ext}$major'
   16190   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16191   shlibpath_var=LD_LIBRARY_PATH
   16192   shlibpath_overrides_runpath=no
   16193   # This implies no fast_install, which is unacceptable.
   16194   # Some rework will be needed to allow for fast_install
   16195   # before this can be enabled.
   16196   hardcode_into_libs=yes
   16197   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16198   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16199 
   16200   # Append ld.so.conf contents to the search path
   16201   if test -f /etc/ld.so.conf; then
   16202     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' ' '`
   16203     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16204   fi
   16205 
   16206   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16207   # powerpc, because MkLinux only supported shared libraries with the
   16208   # GNU dynamic linker.  Since this was broken with cross compilers,
   16209   # most powerpc-linux boxes support dynamic linking these days and
   16210   # people can always --disable-shared, the test was removed, and we
   16211   # assume the GNU/Linux dynamic linker is in use.
   16212   dynamic_linker='GNU/Linux ld.so'
   16213   ;;
   16214 
   16215 netbsd*)
   16216   version_type=sunos
   16217   need_lib_prefix=no
   16218   need_version=no
   16219   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16221     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16222     dynamic_linker='NetBSD (a.out) ld.so'
   16223   else
   16224     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16225     soname_spec='${libname}${release}${shared_ext}$major'
   16226     dynamic_linker='NetBSD ld.elf_so'
   16227   fi
   16228   shlibpath_var=LD_LIBRARY_PATH
   16229   shlibpath_overrides_runpath=yes
   16230   hardcode_into_libs=yes
   16231   ;;
   16232 
   16233 newsos6)
   16234   version_type=linux
   16235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16236   shlibpath_var=LD_LIBRARY_PATH
   16237   shlibpath_overrides_runpath=yes
   16238   ;;
   16239 
   16240 nto-qnx*)
   16241   version_type=linux
   16242   need_lib_prefix=no
   16243   need_version=no
   16244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16245   soname_spec='${libname}${release}${shared_ext}$major'
   16246   shlibpath_var=LD_LIBRARY_PATH
   16247   shlibpath_overrides_runpath=yes
   16248   ;;
   16249 
   16250 openbsd*)
   16251   version_type=sunos
   16252   sys_lib_dlsearch_path_spec="/usr/lib"
   16253   need_lib_prefix=no
   16254   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16255   case $host_os in
   16256     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16257     *)                         need_version=no  ;;
   16258   esac
   16259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16260   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16261   shlibpath_var=LD_LIBRARY_PATH
   16262   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16263     case $host_os in
   16264       openbsd2.[89] | openbsd2.[89].*)
   16265 	shlibpath_overrides_runpath=no
   16266 	;;
   16267       *)
   16268 	shlibpath_overrides_runpath=yes
   16269 	;;
   16270       esac
   16271   else
   16272     shlibpath_overrides_runpath=yes
   16273   fi
   16274   ;;
   16275 
   16276 os2*)
   16277   libname_spec='$name'
   16278   shrext_cmds=".dll"
   16279   need_lib_prefix=no
   16280   library_names_spec='$libname${shared_ext} $libname.a'
   16281   dynamic_linker='OS/2 ld.exe'
   16282   shlibpath_var=LIBPATH
   16283   ;;
   16284 
   16285 osf3* | osf4* | osf5*)
   16286   version_type=osf
   16287   need_lib_prefix=no
   16288   need_version=no
   16289   soname_spec='${libname}${release}${shared_ext}$major'
   16290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16291   shlibpath_var=LD_LIBRARY_PATH
   16292   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16293   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16294   ;;
   16295 
   16296 rdos*)
   16297   dynamic_linker=no
   16298   ;;
   16299 
   16300 solaris*)
   16301   version_type=linux
   16302   need_lib_prefix=no
   16303   need_version=no
   16304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16305   soname_spec='${libname}${release}${shared_ext}$major'
   16306   shlibpath_var=LD_LIBRARY_PATH
   16307   shlibpath_overrides_runpath=yes
   16308   hardcode_into_libs=yes
   16309   # ldd complains unless libraries are executable
   16310   postinstall_cmds='chmod +x $lib'
   16311   ;;
   16312 
   16313 sunos4*)
   16314   version_type=sunos
   16315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16316   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16317   shlibpath_var=LD_LIBRARY_PATH
   16318   shlibpath_overrides_runpath=yes
   16319   if test "$with_gnu_ld" = yes; then
   16320     need_lib_prefix=no
   16321   fi
   16322   need_version=yes
   16323   ;;
   16324 
   16325 sysv4 | sysv4.3*)
   16326   version_type=linux
   16327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16328   soname_spec='${libname}${release}${shared_ext}$major'
   16329   shlibpath_var=LD_LIBRARY_PATH
   16330   case $host_vendor in
   16331     sni)
   16332       shlibpath_overrides_runpath=no
   16333       need_lib_prefix=no
   16334       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16335       runpath_var=LD_RUN_PATH
   16336       ;;
   16337     siemens)
   16338       need_lib_prefix=no
   16339       ;;
   16340     motorola)
   16341       need_lib_prefix=no
   16342       need_version=no
   16343       shlibpath_overrides_runpath=no
   16344       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16345       ;;
   16346   esac
   16347   ;;
   16348 
   16349 sysv4*MP*)
   16350   if test -d /usr/nec ;then
   16351     version_type=linux
   16352     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16353     soname_spec='$libname${shared_ext}.$major'
   16354     shlibpath_var=LD_LIBRARY_PATH
   16355   fi
   16356   ;;
   16357 
   16358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16359   version_type=freebsd-elf
   16360   need_lib_prefix=no
   16361   need_version=no
   16362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16363   soname_spec='${libname}${release}${shared_ext}$major'
   16364   shlibpath_var=LD_LIBRARY_PATH
   16365   hardcode_into_libs=yes
   16366   if test "$with_gnu_ld" = yes; then
   16367     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16368     shlibpath_overrides_runpath=no
   16369   else
   16370     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16371     shlibpath_overrides_runpath=yes
   16372     case $host_os in
   16373       sco3.2v5*)
   16374         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16375 	;;
   16376     esac
   16377   fi
   16378   sys_lib_dlsearch_path_spec='/usr/lib'
   16379   ;;
   16380 
   16381 uts4*)
   16382   version_type=linux
   16383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16384   soname_spec='${libname}${release}${shared_ext}$major'
   16385   shlibpath_var=LD_LIBRARY_PATH
   16386   ;;
   16387 
   16388 *)
   16389   dynamic_linker=no
   16390   ;;
   16391 esac
   16392 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16393 $as_echo "$dynamic_linker" >&6; }
   16394 test "$dynamic_linker" = no && can_build_shared=no
   16395 
   16396 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16397   $as_echo_n "(cached) " >&6
   16398 else
   16399   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16400 fi
   16401 
   16402 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16404   $as_echo_n "(cached) " >&6
   16405 else
   16406   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16407 fi
   16408 
   16409 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16410 
   16411 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16412 if test "$GCC" = yes; then
   16413   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16414 fi
   16415 
   16416 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16417 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16418 hardcode_action_F77=
   16419 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16420    test -n "$runpath_var_F77" || \
   16421    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16422 
   16423   # We can hardcode non-existant directories.
   16424   if test "$hardcode_direct_F77" != no &&
   16425      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16426      # have to relink, otherwise we might link with an installed library
   16427      # when we should be linking with a yet-to-be-installed one
   16428      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16429      test "$hardcode_minus_L_F77" != no; then
   16430     # Linking always hardcodes the temporary library directory.
   16431     hardcode_action_F77=relink
   16432   else
   16433     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16434     hardcode_action_F77=immediate
   16435   fi
   16436 else
   16437   # We cannot hardcode anything, or else we can only hardcode existing
   16438   # directories.
   16439   hardcode_action_F77=unsupported
   16440 fi
   16441 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16442 $as_echo "$hardcode_action_F77" >&6; }
   16443 
   16444 if test "$hardcode_action_F77" = relink; then
   16445   # Fast installation is not supported
   16446   enable_fast_install=no
   16447 elif test "$shlibpath_overrides_runpath" = yes ||
   16448      test "$enable_shared" = no; then
   16449   # Fast installation is not necessary
   16450   enable_fast_install=needless
   16451 fi
   16452 
   16453 
   16454 # The else clause should only fire when bootstrapping the
   16455 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16456 # with your package, and you will get complaints that there are
   16457 # no rules to generate ltmain.sh.
   16458 if test -f "$ltmain"; then
   16459   # See if we are running on zsh, and set the options which allow our commands through
   16460   # without removal of \ escapes.
   16461   if test -n "${ZSH_VERSION+set}" ; then
   16462     setopt NO_GLOB_SUBST
   16463   fi
   16464   # Now quote all the things that may contain metacharacters while being
   16465   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16466   # variables and quote the copies for generation of the libtool script.
   16467   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16468     SED SHELL STRIP \
   16469     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16470     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16471     deplibs_check_method reload_flag reload_cmds need_locks \
   16472     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16473     lt_cv_sys_global_symbol_to_c_name_address \
   16474     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16475     old_postinstall_cmds old_postuninstall_cmds \
   16476     compiler_F77 \
   16477     CC_F77 \
   16478     LD_F77 \
   16479     lt_prog_compiler_wl_F77 \
   16480     lt_prog_compiler_pic_F77 \
   16481     lt_prog_compiler_static_F77 \
   16482     lt_prog_compiler_no_builtin_flag_F77 \
   16483     export_dynamic_flag_spec_F77 \
   16484     thread_safe_flag_spec_F77 \
   16485     whole_archive_flag_spec_F77 \
   16486     enable_shared_with_static_runtimes_F77 \
   16487     old_archive_cmds_F77 \
   16488     old_archive_from_new_cmds_F77 \
   16489     predep_objects_F77 \
   16490     postdep_objects_F77 \
   16491     predeps_F77 \
   16492     postdeps_F77 \
   16493     compiler_lib_search_path_F77 \
   16494     compiler_lib_search_dirs_F77 \
   16495     archive_cmds_F77 \
   16496     archive_expsym_cmds_F77 \
   16497     postinstall_cmds_F77 \
   16498     postuninstall_cmds_F77 \
   16499     old_archive_from_expsyms_cmds_F77 \
   16500     allow_undefined_flag_F77 \
   16501     no_undefined_flag_F77 \
   16502     export_symbols_cmds_F77 \
   16503     hardcode_libdir_flag_spec_F77 \
   16504     hardcode_libdir_flag_spec_ld_F77 \
   16505     hardcode_libdir_separator_F77 \
   16506     hardcode_automatic_F77 \
   16507     module_cmds_F77 \
   16508     module_expsym_cmds_F77 \
   16509     lt_cv_prog_compiler_c_o_F77 \
   16510     fix_srcfile_path_F77 \
   16511     exclude_expsyms_F77 \
   16512     include_expsyms_F77; do
   16513 
   16514     case $var in
   16515     old_archive_cmds_F77 | \
   16516     old_archive_from_new_cmds_F77 | \
   16517     archive_cmds_F77 | \
   16518     archive_expsym_cmds_F77 | \
   16519     module_cmds_F77 | \
   16520     module_expsym_cmds_F77 | \
   16521     old_archive_from_expsyms_cmds_F77 | \
   16522     export_symbols_cmds_F77 | \
   16523     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16524     postinstall_cmds | postuninstall_cmds | \
   16525     old_postinstall_cmds | old_postuninstall_cmds | \
   16526     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16527       # Double-quote double-evaled strings.
   16528       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16529       ;;
   16530     *)
   16531       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16532       ;;
   16533     esac
   16534   done
   16535 
   16536   case $lt_echo in
   16537   *'\$0 --fallback-echo"')
   16538     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16539     ;;
   16540   esac
   16541 
   16542 cfgfile="$ofile"
   16543 
   16544   cat <<__EOF__ >> "$cfgfile"
   16545 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16546 
   16547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16548 
   16549 # Shell to use when invoking shell scripts.
   16550 SHELL=$lt_SHELL
   16551 
   16552 # Whether or not to build shared libraries.
   16553 build_libtool_libs=$enable_shared
   16554 
   16555 # Whether or not to build static libraries.
   16556 build_old_libs=$enable_static
   16557 
   16558 # Whether or not to add -lc for building shared libraries.
   16559 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16560 
   16561 # Whether or not to disallow shared libs when runtime libs are static
   16562 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16563 
   16564 # Whether or not to optimize for fast installation.
   16565 fast_install=$enable_fast_install
   16566 
   16567 # The host system.
   16568 host_alias=$host_alias
   16569 host=$host
   16570 host_os=$host_os
   16571 
   16572 # The build system.
   16573 build_alias=$build_alias
   16574 build=$build
   16575 build_os=$build_os
   16576 
   16577 # An echo program that does not interpret backslashes.
   16578 echo=$lt_echo
   16579 
   16580 # The archiver.
   16581 AR=$lt_AR
   16582 AR_FLAGS=$lt_AR_FLAGS
   16583 
   16584 # A C compiler.
   16585 LTCC=$lt_LTCC
   16586 
   16587 # LTCC compiler flags.
   16588 LTCFLAGS=$lt_LTCFLAGS
   16589 
   16590 # A language-specific compiler.
   16591 CC=$lt_compiler_F77
   16592 
   16593 # Is the compiler the GNU C compiler?
   16594 with_gcc=$GCC_F77
   16595 
   16596 # An ERE matcher.
   16597 EGREP=$lt_EGREP
   16598 
   16599 # The linker used to build libraries.
   16600 LD=$lt_LD_F77
   16601 
   16602 # Whether we need hard or soft links.
   16603 LN_S=$lt_LN_S
   16604 
   16605 # A BSD-compatible nm program.
   16606 NM=$lt_NM
   16607 
   16608 # A symbol stripping program
   16609 STRIP=$lt_STRIP
   16610 
   16611 # Used to examine libraries when file_magic_cmd begins "file"
   16612 MAGIC_CMD=$MAGIC_CMD
   16613 
   16614 # Used on cygwin: DLL creation program.
   16615 DLLTOOL="$DLLTOOL"
   16616 
   16617 # Used on cygwin: object dumper.
   16618 OBJDUMP="$OBJDUMP"
   16619 
   16620 # Used on cygwin: assembler.
   16621 AS="$AS"
   16622 
   16623 # The name of the directory that contains temporary libtool files.
   16624 objdir=$objdir
   16625 
   16626 # How to create reloadable object files.
   16627 reload_flag=$lt_reload_flag
   16628 reload_cmds=$lt_reload_cmds
   16629 
   16630 # How to pass a linker flag through the compiler.
   16631 wl=$lt_lt_prog_compiler_wl_F77
   16632 
   16633 # Object file suffix (normally "o").
   16634 objext="$ac_objext"
   16635 
   16636 # Old archive suffix (normally "a").
   16637 libext="$libext"
   16638 
   16639 # Shared library suffix (normally ".so").
   16640 shrext_cmds='$shrext_cmds'
   16641 
   16642 # Executable file suffix (normally "").
   16643 exeext="$exeext"
   16644 
   16645 # Additional compiler flags for building library objects.
   16646 pic_flag=$lt_lt_prog_compiler_pic_F77
   16647 pic_mode=$pic_mode
   16648 
   16649 # What is the maximum length of a command?
   16650 max_cmd_len=$lt_cv_sys_max_cmd_len
   16651 
   16652 # Does compiler simultaneously support -c and -o options?
   16653 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16654 
   16655 # Must we lock files when doing compilation?
   16656 need_locks=$lt_need_locks
   16657 
   16658 # Do we need the lib prefix for modules?
   16659 need_lib_prefix=$need_lib_prefix
   16660 
   16661 # Do we need a version for libraries?
   16662 need_version=$need_version
   16663 
   16664 # Whether dlopen is supported.
   16665 dlopen_support=$enable_dlopen
   16666 
   16667 # Whether dlopen of programs is supported.
   16668 dlopen_self=$enable_dlopen_self
   16669 
   16670 # Whether dlopen of statically linked programs is supported.
   16671 dlopen_self_static=$enable_dlopen_self_static
   16672 
   16673 # Compiler flag to prevent dynamic linking.
   16674 link_static_flag=$lt_lt_prog_compiler_static_F77
   16675 
   16676 # Compiler flag to turn off builtin functions.
   16677 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16678 
   16679 # Compiler flag to allow reflexive dlopens.
   16680 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16681 
   16682 # Compiler flag to generate shared objects directly from archives.
   16683 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16684 
   16685 # Compiler flag to generate thread-safe objects.
   16686 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16687 
   16688 # Library versioning type.
   16689 version_type=$version_type
   16690 
   16691 # Format of library name prefix.
   16692 libname_spec=$lt_libname_spec
   16693 
   16694 # List of archive names.  First name is the real one, the rest are links.
   16695 # The last name is the one that the linker finds with -lNAME.
   16696 library_names_spec=$lt_library_names_spec
   16697 
   16698 # The coded name of the library, if different from the real name.
   16699 soname_spec=$lt_soname_spec
   16700 
   16701 # Commands used to build and install an old-style archive.
   16702 RANLIB=$lt_RANLIB
   16703 old_archive_cmds=$lt_old_archive_cmds_F77
   16704 old_postinstall_cmds=$lt_old_postinstall_cmds
   16705 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16706 
   16707 # Create an old-style archive from a shared archive.
   16708 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16709 
   16710 # Create a temporary old-style archive to link instead of a shared archive.
   16711 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16712 
   16713 # Commands used to build and install a shared archive.
   16714 archive_cmds=$lt_archive_cmds_F77
   16715 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16716 postinstall_cmds=$lt_postinstall_cmds
   16717 postuninstall_cmds=$lt_postuninstall_cmds
   16718 
   16719 # Commands used to build a loadable module (assumed same as above if empty)
   16720 module_cmds=$lt_module_cmds_F77
   16721 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16722 
   16723 # Commands to strip libraries.
   16724 old_striplib=$lt_old_striplib
   16725 striplib=$lt_striplib
   16726 
   16727 # Dependencies to place before the objects being linked to create a
   16728 # shared library.
   16729 predep_objects=$lt_predep_objects_F77
   16730 
   16731 # Dependencies to place after the objects being linked to create a
   16732 # shared library.
   16733 postdep_objects=$lt_postdep_objects_F77
   16734 
   16735 # Dependencies to place before the objects being linked to create a
   16736 # shared library.
   16737 predeps=$lt_predeps_F77
   16738 
   16739 # Dependencies to place after the objects being linked to create a
   16740 # shared library.
   16741 postdeps=$lt_postdeps_F77
   16742 
   16743 # The directories searched by this compiler when creating a shared
   16744 # library
   16745 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16746 
   16747 # The library search path used internally by the compiler when linking
   16748 # a shared library.
   16749 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16750 
   16751 # Method to check whether dependent libraries are shared objects.
   16752 deplibs_check_method=$lt_deplibs_check_method
   16753 
   16754 # Command to use when deplibs_check_method == file_magic.
   16755 file_magic_cmd=$lt_file_magic_cmd
   16756 
   16757 # Flag that allows shared libraries with undefined symbols to be built.
   16758 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16759 
   16760 # Flag that forces no undefined symbols.
   16761 no_undefined_flag=$lt_no_undefined_flag_F77
   16762 
   16763 # Commands used to finish a libtool library installation in a directory.
   16764 finish_cmds=$lt_finish_cmds
   16765 
   16766 # Same as above, but a single script fragment to be evaled but not shown.
   16767 finish_eval=$lt_finish_eval
   16768 
   16769 # Take the output of nm and produce a listing of raw symbols and C names.
   16770 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16771 
   16772 # Transform the output of nm in a proper C declaration
   16773 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16774 
   16775 # Transform the output of nm in a C name address pair
   16776 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16777 
   16778 # This is the shared library runtime path variable.
   16779 runpath_var=$runpath_var
   16780 
   16781 # This is the shared library path variable.
   16782 shlibpath_var=$shlibpath_var
   16783 
   16784 # Is shlibpath searched before the hard-coded library search path?
   16785 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16786 
   16787 # How to hardcode a shared library path into an executable.
   16788 hardcode_action=$hardcode_action_F77
   16789 
   16790 # Whether we should hardcode library paths into libraries.
   16791 hardcode_into_libs=$hardcode_into_libs
   16792 
   16793 # Flag to hardcode \$libdir into a binary during linking.
   16794 # This must work even if \$libdir does not exist.
   16795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16796 
   16797 # If ld is used when linking, flag to hardcode \$libdir into
   16798 # a binary during linking. This must work even if \$libdir does
   16799 # not exist.
   16800 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16801 
   16802 # Whether we need a single -rpath flag with a separated argument.
   16803 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16804 
   16805 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16806 # resulting binary.
   16807 hardcode_direct=$hardcode_direct_F77
   16808 
   16809 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16810 # resulting binary.
   16811 hardcode_minus_L=$hardcode_minus_L_F77
   16812 
   16813 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16814 # the resulting binary.
   16815 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16816 
   16817 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16818 # and all subsequent libraries and executables linked against it.
   16819 hardcode_automatic=$hardcode_automatic_F77
   16820 
   16821 # Variables whose values should be saved in libtool wrapper scripts and
   16822 # restored at relink time.
   16823 variables_saved_for_relink="$variables_saved_for_relink"
   16824 
   16825 # Whether libtool must link a program against all its dependency libraries.
   16826 link_all_deplibs=$link_all_deplibs_F77
   16827 
   16828 # Compile-time system search path for libraries
   16829 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16830 
   16831 # Run-time system search path for libraries
   16832 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16833 
   16834 # Fix the shell variable \$srcfile for the compiler.
   16835 fix_srcfile_path=$lt_fix_srcfile_path
   16836 
   16837 # Set to yes if exported symbols are required.
   16838 always_export_symbols=$always_export_symbols_F77
   16839 
   16840 # The commands to list exported symbols.
   16841 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16842 
   16843 # The commands to extract the exported symbol list from a shared archive.
   16844 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16845 
   16846 # Symbols that should not be listed in the preloaded symbols.
   16847 exclude_expsyms=$lt_exclude_expsyms_F77
   16848 
   16849 # Symbols that must always be exported.
   16850 include_expsyms=$lt_include_expsyms_F77
   16851 
   16852 # ### END LIBTOOL TAG CONFIG: $tagname
   16853 
   16854 __EOF__
   16855 
   16856 
   16857 else
   16858   # If there is no Makefile yet, we rely on a make rule to execute
   16859   # `config.status --recheck' to rerun these tests and create the
   16860   # libtool script then.
   16861   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16862   if test -f "$ltmain_in"; then
   16863     test -f Makefile && make "$ltmain"
   16864   fi
   16865 fi
   16866 
   16867 
   16868 ac_ext=c
   16869 ac_cpp='$CPP $CPPFLAGS'
   16870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16873 
   16874 CC="$lt_save_CC"
   16875 
   16876 	else
   16877 	  tagname=""
   16878 	fi
   16879 	;;
   16880 
   16881       GCJ)
   16882 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16883 
   16884 
   16885 # Source file extension for Java test sources.
   16886 ac_ext=java
   16887 
   16888 # Object file extension for compiled Java test sources.
   16889 objext=o
   16890 objext_GCJ=$objext
   16891 
   16892 # Code to be used in simple compile tests
   16893 lt_simple_compile_test_code="class foo {}"
   16894 
   16895 # Code to be used in simple link tests
   16896 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16897 
   16898 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16899 
   16900 # If no C compiler was specified, use CC.
   16901 LTCC=${LTCC-"$CC"}
   16902 
   16903 # If no C compiler flags were specified, use CFLAGS.
   16904 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16905 
   16906 # Allow CC to be a program name with arguments.
   16907 compiler=$CC
   16908 
   16909 
   16910 # save warnings/boilerplate of simple test code
   16911 ac_outfile=conftest.$ac_objext
   16912 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16913 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16914 _lt_compiler_boilerplate=`cat conftest.err`
   16915 $rm conftest*
   16916 
   16917 ac_outfile=conftest.$ac_objext
   16918 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16919 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16920 _lt_linker_boilerplate=`cat conftest.err`
   16921 $rm -r conftest*
   16922 
   16923 
   16924 # Allow CC to be a program name with arguments.
   16925 lt_save_CC="$CC"
   16926 CC=${GCJ-"gcj"}
   16927 compiler=$CC
   16928 compiler_GCJ=$CC
   16929 for cc_temp in $compiler""; do
   16930   case $cc_temp in
   16931     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16932     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16933     \-*) ;;
   16934     *) break;;
   16935   esac
   16936 done
   16937 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16938 
   16939 
   16940 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16941 archive_cmds_need_lc_GCJ=no
   16942 
   16943 old_archive_cmds_GCJ=$old_archive_cmds
   16944 
   16945 
   16946 lt_prog_compiler_no_builtin_flag_GCJ=
   16947 
   16948 if test "$GCC" = yes; then
   16949   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16950 
   16951 
   16952 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16953 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16954 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16955   $as_echo_n "(cached) " >&6
   16956 else
   16957   lt_cv_prog_compiler_rtti_exceptions=no
   16958   ac_outfile=conftest.$ac_objext
   16959    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16960    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16961    # Insert the option either (1) after the last *FLAGS variable, or
   16962    # (2) before a word containing "conftest.", or (3) at the end.
   16963    # Note that $ac_compile itself does not contain backslashes and begins
   16964    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16965    # The option is referenced via a variable to avoid confusing sed.
   16966    lt_compile=`echo "$ac_compile" | $SED \
   16967    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16968    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16969    -e 's:$: $lt_compiler_flag:'`
   16970    (eval echo "\"\$as_me:16970: $lt_compile\"" >&5)
   16971    (eval "$lt_compile" 2>conftest.err)
   16972    ac_status=$?
   16973    cat conftest.err >&5
   16974    echo "$as_me:16974: \$? = $ac_status" >&5
   16975    if (exit $ac_status) && test -s "$ac_outfile"; then
   16976      # The compiler can only warn and ignore the option if not recognized
   16977      # So say no if there are warnings other than the usual output.
   16978      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16979      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16980      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16981        lt_cv_prog_compiler_rtti_exceptions=yes
   16982      fi
   16983    fi
   16984    $rm conftest*
   16985 
   16986 fi
   16987 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16988 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16989 
   16990 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16991     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16992 else
   16993     :
   16994 fi
   16995 
   16996 fi
   16997 
   16998 lt_prog_compiler_wl_GCJ=
   16999 lt_prog_compiler_pic_GCJ=
   17000 lt_prog_compiler_static_GCJ=
   17001 
   17002 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17003 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17004 
   17005   if test "$GCC" = yes; then
   17006     lt_prog_compiler_wl_GCJ='-Wl,'
   17007     lt_prog_compiler_static_GCJ='-static'
   17008 
   17009     case $host_os in
   17010       aix*)
   17011       # All AIX code is PIC.
   17012       if test "$host_cpu" = ia64; then
   17013 	# AIX 5 now supports IA64 processor
   17014 	lt_prog_compiler_static_GCJ='-Bstatic'
   17015       fi
   17016       ;;
   17017 
   17018     amigaos*)
   17019       # FIXME: we need at least 68020 code to build shared libraries, but
   17020       # adding the `-m68020' flag to GCC prevents building anything better,
   17021       # like `-m68040'.
   17022       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17023       ;;
   17024 
   17025     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17026       # PIC is the default for these OSes.
   17027       ;;
   17028 
   17029     mingw* | cygwin* | pw32* | os2*)
   17030       # This hack is so that the source file can tell whether it is being
   17031       # built for inclusion in a dll (and should export symbols for example).
   17032       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17033       # (--disable-auto-import) libraries
   17034 
   17035       ;;
   17036 
   17037     darwin* | rhapsody*)
   17038       # PIC is the default on this platform
   17039       # Common symbols not allowed in MH_DYLIB files
   17040       lt_prog_compiler_pic_GCJ='-fno-common'
   17041       ;;
   17042 
   17043     interix[3-9]*)
   17044       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17045       # Instead, we relocate shared libraries at runtime.
   17046       ;;
   17047 
   17048     msdosdjgpp*)
   17049       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17050       # on systems that don't support them.
   17051       lt_prog_compiler_can_build_shared_GCJ=no
   17052       enable_shared=no
   17053       ;;
   17054 
   17055     sysv4*MP*)
   17056       if test -d /usr/nec; then
   17057 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17058       fi
   17059       ;;
   17060 
   17061     hpux*)
   17062       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17063       # not for PA HP-UX.
   17064       case $host_cpu in
   17065       hppa*64*|ia64*)
   17066 	# +Z the default
   17067 	;;
   17068       *)
   17069 	lt_prog_compiler_pic_GCJ='-fPIC'
   17070 	;;
   17071       esac
   17072       ;;
   17073 
   17074     *)
   17075       lt_prog_compiler_pic_GCJ='-fPIC'
   17076       ;;
   17077     esac
   17078   else
   17079     # PORTME Check for flag to pass linker flags through the system compiler.
   17080     case $host_os in
   17081     aix*)
   17082       lt_prog_compiler_wl_GCJ='-Wl,'
   17083       if test "$host_cpu" = ia64; then
   17084 	# AIX 5 now supports IA64 processor
   17085 	lt_prog_compiler_static_GCJ='-Bstatic'
   17086       else
   17087 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17088       fi
   17089       ;;
   17090       darwin*)
   17091         # PIC is the default on this platform
   17092         # Common symbols not allowed in MH_DYLIB files
   17093        case $cc_basename in
   17094          xlc*)
   17095          lt_prog_compiler_pic_GCJ='-qnocommon'
   17096          lt_prog_compiler_wl_GCJ='-Wl,'
   17097          ;;
   17098        esac
   17099        ;;
   17100 
   17101     mingw* | cygwin* | pw32* | os2*)
   17102       # This hack is so that the source file can tell whether it is being
   17103       # built for inclusion in a dll (and should export symbols for example).
   17104 
   17105       ;;
   17106 
   17107     hpux9* | hpux10* | hpux11*)
   17108       lt_prog_compiler_wl_GCJ='-Wl,'
   17109       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17110       # not for PA HP-UX.
   17111       case $host_cpu in
   17112       hppa*64*|ia64*)
   17113 	# +Z the default
   17114 	;;
   17115       *)
   17116 	lt_prog_compiler_pic_GCJ='+Z'
   17117 	;;
   17118       esac
   17119       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17120       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17121       ;;
   17122 
   17123     irix5* | irix6* | nonstopux*)
   17124       lt_prog_compiler_wl_GCJ='-Wl,'
   17125       # PIC (with -KPIC) is the default.
   17126       lt_prog_compiler_static_GCJ='-non_shared'
   17127       ;;
   17128 
   17129     newsos6)
   17130       lt_prog_compiler_pic_GCJ='-KPIC'
   17131       lt_prog_compiler_static_GCJ='-Bstatic'
   17132       ;;
   17133 
   17134     linux* | k*bsd*-gnu)
   17135       case $cc_basename in
   17136       icc* | ecc*)
   17137 	lt_prog_compiler_wl_GCJ='-Wl,'
   17138 	lt_prog_compiler_pic_GCJ='-KPIC'
   17139 	lt_prog_compiler_static_GCJ='-static'
   17140         ;;
   17141       pgcc* | pgf77* | pgf90* | pgf95*)
   17142         # Portland Group compilers (*not* the Pentium gcc compiler,
   17143 	# which looks to be a dead project)
   17144 	lt_prog_compiler_wl_GCJ='-Wl,'
   17145 	lt_prog_compiler_pic_GCJ='-fpic'
   17146 	lt_prog_compiler_static_GCJ='-Bstatic'
   17147         ;;
   17148       ccc*)
   17149         lt_prog_compiler_wl_GCJ='-Wl,'
   17150         # All Alpha code is PIC.
   17151         lt_prog_compiler_static_GCJ='-non_shared'
   17152         ;;
   17153       *)
   17154         case `$CC -V 2>&1 | sed 5q` in
   17155 	*Sun\ C*)
   17156 	  # Sun C 5.9
   17157 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17158 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17159 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17160 	  ;;
   17161 	*Sun\ F*)
   17162 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17163 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17164 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17165 	  lt_prog_compiler_wl_GCJ=''
   17166 	  ;;
   17167 	esac
   17168 	;;
   17169       esac
   17170       ;;
   17171 
   17172     osf3* | osf4* | osf5*)
   17173       lt_prog_compiler_wl_GCJ='-Wl,'
   17174       # All OSF/1 code is PIC.
   17175       lt_prog_compiler_static_GCJ='-non_shared'
   17176       ;;
   17177 
   17178     rdos*)
   17179       lt_prog_compiler_static_GCJ='-non_shared'
   17180       ;;
   17181 
   17182     solaris*)
   17183       lt_prog_compiler_pic_GCJ='-KPIC'
   17184       lt_prog_compiler_static_GCJ='-Bstatic'
   17185       case $cc_basename in
   17186       f77* | f90* | f95*)
   17187 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17188       *)
   17189 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17190       esac
   17191       ;;
   17192 
   17193     sunos4*)
   17194       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17195       lt_prog_compiler_pic_GCJ='-PIC'
   17196       lt_prog_compiler_static_GCJ='-Bstatic'
   17197       ;;
   17198 
   17199     sysv4 | sysv4.2uw2* | sysv4.3*)
   17200       lt_prog_compiler_wl_GCJ='-Wl,'
   17201       lt_prog_compiler_pic_GCJ='-KPIC'
   17202       lt_prog_compiler_static_GCJ='-Bstatic'
   17203       ;;
   17204 
   17205     sysv4*MP*)
   17206       if test -d /usr/nec ;then
   17207 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17208 	lt_prog_compiler_static_GCJ='-Bstatic'
   17209       fi
   17210       ;;
   17211 
   17212     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17213       lt_prog_compiler_wl_GCJ='-Wl,'
   17214       lt_prog_compiler_pic_GCJ='-KPIC'
   17215       lt_prog_compiler_static_GCJ='-Bstatic'
   17216       ;;
   17217 
   17218     unicos*)
   17219       lt_prog_compiler_wl_GCJ='-Wl,'
   17220       lt_prog_compiler_can_build_shared_GCJ=no
   17221       ;;
   17222 
   17223     uts4*)
   17224       lt_prog_compiler_pic_GCJ='-pic'
   17225       lt_prog_compiler_static_GCJ='-Bstatic'
   17226       ;;
   17227 
   17228     *)
   17229       lt_prog_compiler_can_build_shared_GCJ=no
   17230       ;;
   17231     esac
   17232   fi
   17233 
   17234 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17235 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17236 
   17237 #
   17238 # Check to make sure the PIC flag actually works.
   17239 #
   17240 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17241 
   17242 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17243 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17244 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17245   $as_echo_n "(cached) " >&6
   17246 else
   17247   lt_cv_prog_compiler_pic_works_GCJ=no
   17248   ac_outfile=conftest.$ac_objext
   17249    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17250    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17251    # Insert the option either (1) after the last *FLAGS variable, or
   17252    # (2) before a word containing "conftest.", or (3) at the end.
   17253    # Note that $ac_compile itself does not contain backslashes and begins
   17254    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17255    # The option is referenced via a variable to avoid confusing sed.
   17256    lt_compile=`echo "$ac_compile" | $SED \
   17257    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17258    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17259    -e 's:$: $lt_compiler_flag:'`
   17260    (eval echo "\"\$as_me:17260: $lt_compile\"" >&5)
   17261    (eval "$lt_compile" 2>conftest.err)
   17262    ac_status=$?
   17263    cat conftest.err >&5
   17264    echo "$as_me:17264: \$? = $ac_status" >&5
   17265    if (exit $ac_status) && test -s "$ac_outfile"; then
   17266      # The compiler can only warn and ignore the option if not recognized
   17267      # So say no if there are warnings other than the usual output.
   17268      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17269      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17270      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17271        lt_cv_prog_compiler_pic_works_GCJ=yes
   17272      fi
   17273    fi
   17274    $rm conftest*
   17275 
   17276 fi
   17277 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17278 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17279 
   17280 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17281     case $lt_prog_compiler_pic_GCJ in
   17282      "" | " "*) ;;
   17283      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17284      esac
   17285 else
   17286     lt_prog_compiler_pic_GCJ=
   17287      lt_prog_compiler_can_build_shared_GCJ=no
   17288 fi
   17289 
   17290 fi
   17291 case $host_os in
   17292   # For platforms which do not support PIC, -DPIC is meaningless:
   17293   *djgpp*)
   17294     lt_prog_compiler_pic_GCJ=
   17295     ;;
   17296   *)
   17297     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17298     ;;
   17299 esac
   17300 
   17301 #
   17302 # Check to make sure the static flag actually works.
   17303 #
   17304 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17305 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17306 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17307 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17308   $as_echo_n "(cached) " >&6
   17309 else
   17310   lt_cv_prog_compiler_static_works_GCJ=no
   17311    save_LDFLAGS="$LDFLAGS"
   17312    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17313    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17314    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17315      # The linker can only warn and ignore the option if not recognized
   17316      # So say no if there are warnings
   17317      if test -s conftest.err; then
   17318        # Append any errors to the config.log.
   17319        cat conftest.err 1>&5
   17320        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17321        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17322        if diff conftest.exp conftest.er2 >/dev/null; then
   17323          lt_cv_prog_compiler_static_works_GCJ=yes
   17324        fi
   17325      else
   17326        lt_cv_prog_compiler_static_works_GCJ=yes
   17327      fi
   17328    fi
   17329    $rm -r conftest*
   17330    LDFLAGS="$save_LDFLAGS"
   17331 
   17332 fi
   17333 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17334 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17335 
   17336 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17337     :
   17338 else
   17339     lt_prog_compiler_static_GCJ=
   17340 fi
   17341 
   17342 
   17343 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17345 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17346   $as_echo_n "(cached) " >&6
   17347 else
   17348   lt_cv_prog_compiler_c_o_GCJ=no
   17349    $rm -r conftest 2>/dev/null
   17350    mkdir conftest
   17351    cd conftest
   17352    mkdir out
   17353    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17354 
   17355    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17356    # Insert the option either (1) after the last *FLAGS variable, or
   17357    # (2) before a word containing "conftest.", or (3) at the end.
   17358    # Note that $ac_compile itself does not contain backslashes and begins
   17359    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17360    lt_compile=`echo "$ac_compile" | $SED \
   17361    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17362    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17363    -e 's:$: $lt_compiler_flag:'`
   17364    (eval echo "\"\$as_me:17364: $lt_compile\"" >&5)
   17365    (eval "$lt_compile" 2>out/conftest.err)
   17366    ac_status=$?
   17367    cat out/conftest.err >&5
   17368    echo "$as_me:17368: \$? = $ac_status" >&5
   17369    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17370    then
   17371      # The compiler can only warn and ignore the option if not recognized
   17372      # So say no if there are warnings
   17373      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17374      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17375      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17376        lt_cv_prog_compiler_c_o_GCJ=yes
   17377      fi
   17378    fi
   17379    chmod u+w . 2>&5
   17380    $rm conftest*
   17381    # SGI C++ compiler will create directory out/ii_files/ for
   17382    # template instantiation
   17383    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17384    $rm out/* && rmdir out
   17385    cd ..
   17386    rmdir conftest
   17387    $rm conftest*
   17388 
   17389 fi
   17390 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17391 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17392 
   17393 
   17394 hard_links="nottested"
   17395 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17396   # do not overwrite the value of need_locks provided by the user
   17397   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17398 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17399   hard_links=yes
   17400   $rm conftest*
   17401   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17402   touch conftest.a
   17403   ln conftest.a conftest.b 2>&5 || hard_links=no
   17404   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17405   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17406 $as_echo "$hard_links" >&6; }
   17407   if test "$hard_links" = no; then
   17408     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17409 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17410     need_locks=warn
   17411   fi
   17412 else
   17413   need_locks=no
   17414 fi
   17415 
   17416 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17417 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17418 
   17419   runpath_var=
   17420   allow_undefined_flag_GCJ=
   17421   enable_shared_with_static_runtimes_GCJ=no
   17422   archive_cmds_GCJ=
   17423   archive_expsym_cmds_GCJ=
   17424   old_archive_From_new_cmds_GCJ=
   17425   old_archive_from_expsyms_cmds_GCJ=
   17426   export_dynamic_flag_spec_GCJ=
   17427   whole_archive_flag_spec_GCJ=
   17428   thread_safe_flag_spec_GCJ=
   17429   hardcode_libdir_flag_spec_GCJ=
   17430   hardcode_libdir_flag_spec_ld_GCJ=
   17431   hardcode_libdir_separator_GCJ=
   17432   hardcode_direct_GCJ=no
   17433   hardcode_minus_L_GCJ=no
   17434   hardcode_shlibpath_var_GCJ=unsupported
   17435   link_all_deplibs_GCJ=unknown
   17436   hardcode_automatic_GCJ=no
   17437   module_cmds_GCJ=
   17438   module_expsym_cmds_GCJ=
   17439   always_export_symbols_GCJ=no
   17440   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17441   # include_expsyms should be a list of space-separated symbols to be *always*
   17442   # included in the symbol list
   17443   include_expsyms_GCJ=
   17444   # exclude_expsyms can be an extended regexp of symbols to exclude
   17445   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17446   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17447   # as well as any symbol that contains `d'.
   17448   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17449   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17450   # platforms (ab)use it in PIC code, but their linkers get confused if
   17451   # the symbol is explicitly referenced.  Since portable code cannot
   17452   # rely on this symbol name, it's probably fine to never include it in
   17453   # preloaded symbol tables.
   17454   # Exclude shared library initialization/finalization symbols.
   17455   extract_expsyms_cmds=
   17456   # Just being paranoid about ensuring that cc_basename is set.
   17457   for cc_temp in $compiler""; do
   17458   case $cc_temp in
   17459     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17460     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17461     \-*) ;;
   17462     *) break;;
   17463   esac
   17464 done
   17465 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17466 
   17467   case $host_os in
   17468   cygwin* | mingw* | pw32*)
   17469     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17470     # When not using gcc, we currently assume that we are using
   17471     # Microsoft Visual C++.
   17472     if test "$GCC" != yes; then
   17473       with_gnu_ld=no
   17474     fi
   17475     ;;
   17476   interix*)
   17477     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17478     with_gnu_ld=yes
   17479     ;;
   17480   openbsd*)
   17481     with_gnu_ld=no
   17482     ;;
   17483   esac
   17484 
   17485   ld_shlibs_GCJ=yes
   17486   if test "$with_gnu_ld" = yes; then
   17487     # If archive_cmds runs LD, not CC, wlarc should be empty
   17488     wlarc='${wl}'
   17489 
   17490     # Set some defaults for GNU ld with shared library support. These
   17491     # are reset later if shared libraries are not supported. Putting them
   17492     # here allows them to be overridden if necessary.
   17493     runpath_var=LD_RUN_PATH
   17494     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17495     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17496     # ancient GNU ld didn't support --whole-archive et. al.
   17497     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17498 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17499       else
   17500   	whole_archive_flag_spec_GCJ=
   17501     fi
   17502     supports_anon_versioning=no
   17503     case `$LD -v 2>/dev/null` in
   17504       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17505       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17506       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17507       *\ 2.11.*) ;; # other 2.11 versions
   17508       *) supports_anon_versioning=yes ;;
   17509     esac
   17510 
   17511     # See if GNU ld supports shared libraries.
   17512     case $host_os in
   17513     aix[3-9]*)
   17514       # On AIX/PPC, the GNU linker is very broken
   17515       if test "$host_cpu" != ia64; then
   17516 	ld_shlibs_GCJ=no
   17517 	cat <<EOF 1>&2
   17518 
   17519 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17520 *** to be unable to reliably create shared libraries on AIX.
   17521 *** Therefore, libtool is disabling shared libraries support.  If you
   17522 *** really care for shared libraries, you may want to modify your PATH
   17523 *** so that a non-GNU linker is found, and then restart.
   17524 
   17525 EOF
   17526       fi
   17527       ;;
   17528 
   17529     amigaos*)
   17530       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)'
   17531       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17532       hardcode_minus_L_GCJ=yes
   17533 
   17534       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17535       # that the semantics of dynamic libraries on AmigaOS, at least up
   17536       # to version 4, is to share data among multiple programs linked
   17537       # with the same dynamic library.  Since this doesn't match the
   17538       # behavior of shared libraries on other platforms, we can't use
   17539       # them.
   17540       ld_shlibs_GCJ=no
   17541       ;;
   17542 
   17543     beos*)
   17544       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17545 	allow_undefined_flag_GCJ=unsupported
   17546 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17547 	# support --undefined.  This deserves some investigation.  FIXME
   17548 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17549       else
   17550 	ld_shlibs_GCJ=no
   17551       fi
   17552       ;;
   17553 
   17554     cygwin* | mingw* | pw32*)
   17555       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17556       # as there is no search path for DLLs.
   17557       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17558       allow_undefined_flag_GCJ=unsupported
   17559       always_export_symbols_GCJ=no
   17560       enable_shared_with_static_runtimes_GCJ=yes
   17561       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17562 
   17563       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17564         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17565 	# If the export-symbols file already is a .def file (1st line
   17566 	# is EXPORTS), use it as is; otherwise, prepend...
   17567 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17568 	  cp $export_symbols $output_objdir/$soname.def;
   17569 	else
   17570 	  echo EXPORTS > $output_objdir/$soname.def;
   17571 	  cat $export_symbols >> $output_objdir/$soname.def;
   17572 	fi~
   17573 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17574       else
   17575 	ld_shlibs_GCJ=no
   17576       fi
   17577       ;;
   17578 
   17579     interix[3-9]*)
   17580       hardcode_direct_GCJ=no
   17581       hardcode_shlibpath_var_GCJ=no
   17582       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17583       export_dynamic_flag_spec_GCJ='${wl}-E'
   17584       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17585       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17586       # default) and relocated if they conflict, which is a slow very memory
   17587       # consuming and fragmenting process.  To avoid this, we pick a random,
   17588       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17589       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17590       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'
   17591       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'
   17592       ;;
   17593 
   17594     gnu* | linux* | k*bsd*-gnu)
   17595       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17596 	tmp_addflag=
   17597 	case $cc_basename,$host_cpu in
   17598 	pgcc*)				# Portland Group C compiler
   17599 	  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'
   17600 	  tmp_addflag=' $pic_flag'
   17601 	  ;;
   17602 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17603 	  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'
   17604 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17605 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17606 	  tmp_addflag=' -i_dynamic' ;;
   17607 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17608 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17609 	ifc* | ifort*)			# Intel Fortran compiler
   17610 	  tmp_addflag=' -nofor_main' ;;
   17611 	esac
   17612 	case `$CC -V 2>&1 | sed 5q` in
   17613 	*Sun\ C*)			# Sun C 5.9
   17614 	  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'
   17615 	  tmp_sharedflag='-G' ;;
   17616 	*Sun\ F*)			# Sun Fortran 8.3
   17617 	  tmp_sharedflag='-G' ;;
   17618 	*)
   17619 	  tmp_sharedflag='-shared' ;;
   17620 	esac
   17621 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17622 
   17623 	if test $supports_anon_versioning = yes; then
   17624 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17625   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17626   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17627 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17628 	fi
   17629       else
   17630 	ld_shlibs_GCJ=no
   17631       fi
   17632       ;;
   17633 
   17634     netbsd*)
   17635       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17636 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17637 	wlarc=
   17638       else
   17639 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17640 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17641       fi
   17642       ;;
   17643 
   17644     solaris*)
   17645       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17646 	ld_shlibs_GCJ=no
   17647 	cat <<EOF 1>&2
   17648 
   17649 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17650 *** create shared libraries on Solaris systems.  Therefore, libtool
   17651 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17652 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17653 *** your PATH or compiler configuration so that the native linker is
   17654 *** used, and then restart.
   17655 
   17656 EOF
   17657       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17658 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17659 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17660       else
   17661 	ld_shlibs_GCJ=no
   17662       fi
   17663       ;;
   17664 
   17665     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17666       case `$LD -v 2>&1` in
   17667         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17668 	ld_shlibs_GCJ=no
   17669 	cat <<_LT_EOF 1>&2
   17670 
   17671 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17672 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17673 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17674 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17675 *** your PATH or compiler configuration so that the native linker is
   17676 *** used, and then restart.
   17677 
   17678 _LT_EOF
   17679 	;;
   17680 	*)
   17681 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17682 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17683 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17684 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17685 	  else
   17686 	    ld_shlibs_GCJ=no
   17687 	  fi
   17688 	;;
   17689       esac
   17690       ;;
   17691 
   17692     sunos4*)
   17693       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17694       wlarc=
   17695       hardcode_direct_GCJ=yes
   17696       hardcode_shlibpath_var_GCJ=no
   17697       ;;
   17698 
   17699     *)
   17700       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17701 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17702 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17703       else
   17704 	ld_shlibs_GCJ=no
   17705       fi
   17706       ;;
   17707     esac
   17708 
   17709     if test "$ld_shlibs_GCJ" = no; then
   17710       runpath_var=
   17711       hardcode_libdir_flag_spec_GCJ=
   17712       export_dynamic_flag_spec_GCJ=
   17713       whole_archive_flag_spec_GCJ=
   17714     fi
   17715   else
   17716     # PORTME fill in a description of your system's linker (not GNU ld)
   17717     case $host_os in
   17718     aix3*)
   17719       allow_undefined_flag_GCJ=unsupported
   17720       always_export_symbols_GCJ=yes
   17721       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'
   17722       # Note: this linker hardcodes the directories in LIBPATH if there
   17723       # are no directories specified by -L.
   17724       hardcode_minus_L_GCJ=yes
   17725       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17726 	# Neither direct hardcoding nor static linking is supported with a
   17727 	# broken collect2.
   17728 	hardcode_direct_GCJ=unsupported
   17729       fi
   17730       ;;
   17731 
   17732     aix[4-9]*)
   17733       if test "$host_cpu" = ia64; then
   17734 	# On IA64, the linker does run time linking by default, so we don't
   17735 	# have to do anything special.
   17736 	aix_use_runtimelinking=no
   17737 	exp_sym_flag='-Bexport'
   17738 	no_entry_flag=""
   17739       else
   17740 	# If we're using GNU nm, then we don't want the "-C" option.
   17741 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17742 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17743 	  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'
   17744 	else
   17745 	  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'
   17746 	fi
   17747 	aix_use_runtimelinking=no
   17748 
   17749 	# Test if we are trying to use run time linking or normal
   17750 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17751 	# need to do runtime linking.
   17752 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17753 	  for ld_flag in $LDFLAGS; do
   17754   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17755   	    aix_use_runtimelinking=yes
   17756   	    break
   17757   	  fi
   17758 	  done
   17759 	  ;;
   17760 	esac
   17761 
   17762 	exp_sym_flag='-bexport'
   17763 	no_entry_flag='-bnoentry'
   17764       fi
   17765 
   17766       # When large executables or shared objects are built, AIX ld can
   17767       # have problems creating the table of contents.  If linking a library
   17768       # or program results in "error TOC overflow" add -mminimal-toc to
   17769       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17770       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17771 
   17772       archive_cmds_GCJ=''
   17773       hardcode_direct_GCJ=yes
   17774       hardcode_libdir_separator_GCJ=':'
   17775       link_all_deplibs_GCJ=yes
   17776 
   17777       if test "$GCC" = yes; then
   17778 	case $host_os in aix4.[012]|aix4.[012].*)
   17779 	# We only want to do this on AIX 4.2 and lower, the check
   17780 	# below for broken collect2 doesn't work under 4.3+
   17781 	  collect2name=`${CC} -print-prog-name=collect2`
   17782 	  if test -f "$collect2name" && \
   17783   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17784 	  then
   17785   	  # We have reworked collect2
   17786   	  :
   17787 	  else
   17788   	  # We have old collect2
   17789   	  hardcode_direct_GCJ=unsupported
   17790   	  # It fails to find uninstalled libraries when the uninstalled
   17791   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17792   	  # to unsupported forces relinking
   17793   	  hardcode_minus_L_GCJ=yes
   17794   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17795   	  hardcode_libdir_separator_GCJ=
   17796 	  fi
   17797 	  ;;
   17798 	esac
   17799 	shared_flag='-shared'
   17800 	if test "$aix_use_runtimelinking" = yes; then
   17801 	  shared_flag="$shared_flag "'${wl}-G'
   17802 	fi
   17803       else
   17804 	# not using gcc
   17805 	if test "$host_cpu" = ia64; then
   17806   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17807   	# chokes on -Wl,-G. The following line is correct:
   17808 	  shared_flag='-G'
   17809 	else
   17810 	  if test "$aix_use_runtimelinking" = yes; then
   17811 	    shared_flag='${wl}-G'
   17812 	  else
   17813 	    shared_flag='${wl}-bM:SRE'
   17814 	  fi
   17815 	fi
   17816       fi
   17817 
   17818       # It seems that -bexpall does not export symbols beginning with
   17819       # underscore (_), so it is better to generate a list of symbols to export.
   17820       always_export_symbols_GCJ=yes
   17821       if test "$aix_use_runtimelinking" = yes; then
   17822 	# Warning - without using the other runtime loading flags (-brtl),
   17823 	# -berok will link without error, but may produce a broken library.
   17824 	allow_undefined_flag_GCJ='-berok'
   17825        # Determine the default libpath from the value encoded in an empty executable.
   17826        cat >conftest.$ac_ext <<_ACEOF
   17827 /* confdefs.h.  */
   17828 _ACEOF
   17829 cat confdefs.h >>conftest.$ac_ext
   17830 cat >>conftest.$ac_ext <<_ACEOF
   17831 /* end confdefs.h.  */
   17832 
   17833 int
   17834 main ()
   17835 {
   17836 
   17837   ;
   17838   return 0;
   17839 }
   17840 _ACEOF
   17841 rm -f conftest.$ac_objext conftest$ac_exeext
   17842 if { (ac_try="$ac_link"
   17843 case "(($ac_try" in
   17844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17845   *) ac_try_echo=$ac_try;;
   17846 esac
   17847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17848 $as_echo "$ac_try_echo") >&5
   17849   (eval "$ac_link") 2>conftest.er1
   17850   ac_status=$?
   17851   grep -v '^ *+' conftest.er1 >conftest.err
   17852   rm -f conftest.er1
   17853   cat conftest.err >&5
   17854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17855   (exit $ac_status); } && {
   17856 	 test -z "$ac_c_werror_flag" ||
   17857 	 test ! -s conftest.err
   17858        } && test -s conftest$ac_exeext && {
   17859 	 test "$cross_compiling" = yes ||
   17860 	 $as_test_x conftest$ac_exeext
   17861        }; then
   17862 
   17863 lt_aix_libpath_sed='
   17864     /Import File Strings/,/^$/ {
   17865 	/^0/ {
   17866 	    s/^0  *\(.*\)$/\1/
   17867 	    p
   17868 	}
   17869     }'
   17870 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17871 # Check for a 64-bit object if we didn't find anything.
   17872 if test -z "$aix_libpath"; then
   17873   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17874 fi
   17875 else
   17876   $as_echo "$as_me: failed program was:" >&5
   17877 sed 's/^/| /' conftest.$ac_ext >&5
   17878 
   17879 
   17880 fi
   17881 
   17882 rm -rf conftest.dSYM
   17883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17884       conftest$ac_exeext conftest.$ac_ext
   17885 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17886 
   17887        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17888 	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"
   17889        else
   17890 	if test "$host_cpu" = ia64; then
   17891 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17892 	  allow_undefined_flag_GCJ="-z nodefs"
   17893 	  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"
   17894 	else
   17895 	 # Determine the default libpath from the value encoded in an empty executable.
   17896 	 cat >conftest.$ac_ext <<_ACEOF
   17897 /* confdefs.h.  */
   17898 _ACEOF
   17899 cat confdefs.h >>conftest.$ac_ext
   17900 cat >>conftest.$ac_ext <<_ACEOF
   17901 /* end confdefs.h.  */
   17902 
   17903 int
   17904 main ()
   17905 {
   17906 
   17907   ;
   17908   return 0;
   17909 }
   17910 _ACEOF
   17911 rm -f conftest.$ac_objext conftest$ac_exeext
   17912 if { (ac_try="$ac_link"
   17913 case "(($ac_try" in
   17914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17915   *) ac_try_echo=$ac_try;;
   17916 esac
   17917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17918 $as_echo "$ac_try_echo") >&5
   17919   (eval "$ac_link") 2>conftest.er1
   17920   ac_status=$?
   17921   grep -v '^ *+' conftest.er1 >conftest.err
   17922   rm -f conftest.er1
   17923   cat conftest.err >&5
   17924   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17925   (exit $ac_status); } && {
   17926 	 test -z "$ac_c_werror_flag" ||
   17927 	 test ! -s conftest.err
   17928        } && test -s conftest$ac_exeext && {
   17929 	 test "$cross_compiling" = yes ||
   17930 	 $as_test_x conftest$ac_exeext
   17931        }; then
   17932 
   17933 lt_aix_libpath_sed='
   17934     /Import File Strings/,/^$/ {
   17935 	/^0/ {
   17936 	    s/^0  *\(.*\)$/\1/
   17937 	    p
   17938 	}
   17939     }'
   17940 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17941 # Check for a 64-bit object if we didn't find anything.
   17942 if test -z "$aix_libpath"; then
   17943   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17944 fi
   17945 else
   17946   $as_echo "$as_me: failed program was:" >&5
   17947 sed 's/^/| /' conftest.$ac_ext >&5
   17948 
   17949 
   17950 fi
   17951 
   17952 rm -rf conftest.dSYM
   17953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17954       conftest$ac_exeext conftest.$ac_ext
   17955 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17956 
   17957 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17958 	  # Warning - without using the other run time loading flags,
   17959 	  # -berok will link without error, but may produce a broken library.
   17960 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17961 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17962 	  # Exported symbols can be pulled into shared objects from archives
   17963 	  whole_archive_flag_spec_GCJ='$convenience'
   17964 	  archive_cmds_need_lc_GCJ=yes
   17965 	  # This is similar to how AIX traditionally builds its shared libraries.
   17966 	  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'
   17967 	fi
   17968       fi
   17969       ;;
   17970 
   17971     amigaos*)
   17972       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)'
   17973       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17974       hardcode_minus_L_GCJ=yes
   17975       # see comment about different semantics on the GNU ld section
   17976       ld_shlibs_GCJ=no
   17977       ;;
   17978 
   17979     bsdi[45]*)
   17980       export_dynamic_flag_spec_GCJ=-rdynamic
   17981       ;;
   17982 
   17983     cygwin* | mingw* | pw32*)
   17984       # When not using gcc, we currently assume that we are using
   17985       # Microsoft Visual C++.
   17986       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17987       # no search path for DLLs.
   17988       hardcode_libdir_flag_spec_GCJ=' '
   17989       allow_undefined_flag_GCJ=unsupported
   17990       # Tell ltmain to make .lib files, not .a files.
   17991       libext=lib
   17992       # Tell ltmain to make .dll files, not .so files.
   17993       shrext_cmds=".dll"
   17994       # FIXME: Setting linknames here is a bad hack.
   17995       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17996       # The linker will automatically build a .lib file if we build a DLL.
   17997       old_archive_From_new_cmds_GCJ='true'
   17998       # FIXME: Should let the user specify the lib program.
   17999       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18000       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18001       enable_shared_with_static_runtimes_GCJ=yes
   18002       ;;
   18003 
   18004     darwin* | rhapsody*)
   18005       case $host_os in
   18006         rhapsody* | darwin1.[012])
   18007          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18008          ;;
   18009        *) # Darwin 1.3 on
   18010          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18011            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18012          else
   18013            case ${MACOSX_DEPLOYMENT_TARGET} in
   18014              10.[012])
   18015                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18016                ;;
   18017              10.*)
   18018                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18019                ;;
   18020            esac
   18021          fi
   18022          ;;
   18023       esac
   18024       archive_cmds_need_lc_GCJ=no
   18025       hardcode_direct_GCJ=no
   18026       hardcode_automatic_GCJ=yes
   18027       hardcode_shlibpath_var_GCJ=unsupported
   18028       whole_archive_flag_spec_GCJ=''
   18029       link_all_deplibs_GCJ=yes
   18030     if test "$GCC" = yes ; then
   18031     	output_verbose_link_cmd='echo'
   18032         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}"
   18033         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18034         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}"
   18035         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}"
   18036     else
   18037       case $cc_basename in
   18038         xlc*)
   18039          output_verbose_link_cmd='echo'
   18040          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18041          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18042           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18043          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}'
   18044           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}'
   18045           ;;
   18046        *)
   18047          ld_shlibs_GCJ=no
   18048           ;;
   18049       esac
   18050     fi
   18051       ;;
   18052 
   18053     dgux*)
   18054       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18055       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18056       hardcode_shlibpath_var_GCJ=no
   18057       ;;
   18058 
   18059     freebsd1*)
   18060       ld_shlibs_GCJ=no
   18061       ;;
   18062 
   18063     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18064     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18065     # does not break anything, and helps significantly (at the cost of a little
   18066     # extra space).
   18067     freebsd2.2*)
   18068       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18069       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18070       hardcode_direct_GCJ=yes
   18071       hardcode_shlibpath_var_GCJ=no
   18072       ;;
   18073 
   18074     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18075     freebsd2*)
   18076       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18077       hardcode_direct_GCJ=yes
   18078       hardcode_minus_L_GCJ=yes
   18079       hardcode_shlibpath_var_GCJ=no
   18080       ;;
   18081 
   18082     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18083     freebsd* | dragonfly*)
   18084       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18085       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18086       hardcode_direct_GCJ=yes
   18087       hardcode_shlibpath_var_GCJ=no
   18088       ;;
   18089 
   18090     hpux9*)
   18091       if test "$GCC" = yes; then
   18092 	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'
   18093       else
   18094 	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'
   18095       fi
   18096       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18097       hardcode_libdir_separator_GCJ=:
   18098       hardcode_direct_GCJ=yes
   18099 
   18100       # hardcode_minus_L: Not really in the search PATH,
   18101       # but as the default location of the library.
   18102       hardcode_minus_L_GCJ=yes
   18103       export_dynamic_flag_spec_GCJ='${wl}-E'
   18104       ;;
   18105 
   18106     hpux10*)
   18107       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18108 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18109       else
   18110 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18111       fi
   18112       if test "$with_gnu_ld" = no; then
   18113 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18114 	hardcode_libdir_separator_GCJ=:
   18115 
   18116 	hardcode_direct_GCJ=yes
   18117 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18118 
   18119 	# hardcode_minus_L: Not really in the search PATH,
   18120 	# but as the default location of the library.
   18121 	hardcode_minus_L_GCJ=yes
   18122       fi
   18123       ;;
   18124 
   18125     hpux11*)
   18126       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18127 	case $host_cpu in
   18128 	hppa*64*)
   18129 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18130 	  ;;
   18131 	ia64*)
   18132 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18133 	  ;;
   18134 	*)
   18135 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18136 	  ;;
   18137 	esac
   18138       else
   18139 	case $host_cpu in
   18140 	hppa*64*)
   18141 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18142 	  ;;
   18143 	ia64*)
   18144 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18145 	  ;;
   18146 	*)
   18147 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18148 	  ;;
   18149 	esac
   18150       fi
   18151       if test "$with_gnu_ld" = no; then
   18152 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18153 	hardcode_libdir_separator_GCJ=:
   18154 
   18155 	case $host_cpu in
   18156 	hppa*64*|ia64*)
   18157 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18158 	  hardcode_direct_GCJ=no
   18159 	  hardcode_shlibpath_var_GCJ=no
   18160 	  ;;
   18161 	*)
   18162 	  hardcode_direct_GCJ=yes
   18163 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18164 
   18165 	  # hardcode_minus_L: Not really in the search PATH,
   18166 	  # but as the default location of the library.
   18167 	  hardcode_minus_L_GCJ=yes
   18168 	  ;;
   18169 	esac
   18170       fi
   18171       ;;
   18172 
   18173     irix5* | irix6* | nonstopux*)
   18174       if test "$GCC" = yes; then
   18175 	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'
   18176       else
   18177 	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'
   18178 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18179       fi
   18180       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18181       hardcode_libdir_separator_GCJ=:
   18182       link_all_deplibs_GCJ=yes
   18183       ;;
   18184 
   18185     netbsd*)
   18186       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18187 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18188       else
   18189 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18190       fi
   18191       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18192       hardcode_direct_GCJ=yes
   18193       hardcode_shlibpath_var_GCJ=no
   18194       ;;
   18195 
   18196     newsos6)
   18197       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18198       hardcode_direct_GCJ=yes
   18199       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18200       hardcode_libdir_separator_GCJ=:
   18201       hardcode_shlibpath_var_GCJ=no
   18202       ;;
   18203 
   18204     openbsd*)
   18205       if test -f /usr/libexec/ld.so; then
   18206 	hardcode_direct_GCJ=yes
   18207 	hardcode_shlibpath_var_GCJ=no
   18208 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18209 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18210 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18211 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18212 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18213 	else
   18214 	  case $host_os in
   18215 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18216 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18217 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18218 	     ;;
   18219 	   *)
   18220 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18221 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18222 	     ;;
   18223 	  esac
   18224         fi
   18225       else
   18226 	ld_shlibs_GCJ=no
   18227       fi
   18228       ;;
   18229 
   18230     os2*)
   18231       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18232       hardcode_minus_L_GCJ=yes
   18233       allow_undefined_flag_GCJ=unsupported
   18234       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'
   18235       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18236       ;;
   18237 
   18238     osf3*)
   18239       if test "$GCC" = yes; then
   18240 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18241 	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'
   18242       else
   18243 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18244 	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'
   18245       fi
   18246       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18247       hardcode_libdir_separator_GCJ=:
   18248       ;;
   18249 
   18250     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18251       if test "$GCC" = yes; then
   18252 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18253 	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'
   18254 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18255       else
   18256 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18257 	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'
   18258 	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~
   18259 	$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'
   18260 
   18261 	# Both c and cxx compiler support -rpath directly
   18262 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18263       fi
   18264       hardcode_libdir_separator_GCJ=:
   18265       ;;
   18266 
   18267     solaris*)
   18268       no_undefined_flag_GCJ=' -z text'
   18269       if test "$GCC" = yes; then
   18270 	wlarc='${wl}'
   18271 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18272 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18273 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18274       else
   18275 	wlarc=''
   18276 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18277 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18278   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18279       fi
   18280       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18281       hardcode_shlibpath_var_GCJ=no
   18282       case $host_os in
   18283       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18284       *)
   18285 	# The compiler driver will combine and reorder linker options,
   18286 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18287 	# but is careful enough not to reorder.
   18288  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18289 	if test "$GCC" = yes; then
   18290 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18291 	else
   18292 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18293 	fi
   18294 	;;
   18295       esac
   18296       link_all_deplibs_GCJ=yes
   18297       ;;
   18298 
   18299     sunos4*)
   18300       if test "x$host_vendor" = xsequent; then
   18301 	# Use $CC to link under sequent, because it throws in some extra .o
   18302 	# files that make .init and .fini sections work.
   18303 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18304       else
   18305 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18306       fi
   18307       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18308       hardcode_direct_GCJ=yes
   18309       hardcode_minus_L_GCJ=yes
   18310       hardcode_shlibpath_var_GCJ=no
   18311       ;;
   18312 
   18313     sysv4)
   18314       case $host_vendor in
   18315 	sni)
   18316 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18317 	  hardcode_direct_GCJ=yes # is this really true???
   18318 	;;
   18319 	siemens)
   18320 	  ## LD is ld it makes a PLAMLIB
   18321 	  ## CC just makes a GrossModule.
   18322 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18323 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18324 	  hardcode_direct_GCJ=no
   18325         ;;
   18326 	motorola)
   18327 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18328 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18329 	;;
   18330       esac
   18331       runpath_var='LD_RUN_PATH'
   18332       hardcode_shlibpath_var_GCJ=no
   18333       ;;
   18334 
   18335     sysv4.3*)
   18336       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18337       hardcode_shlibpath_var_GCJ=no
   18338       export_dynamic_flag_spec_GCJ='-Bexport'
   18339       ;;
   18340 
   18341     sysv4*MP*)
   18342       if test -d /usr/nec; then
   18343 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18344 	hardcode_shlibpath_var_GCJ=no
   18345 	runpath_var=LD_RUN_PATH
   18346 	hardcode_runpath_var=yes
   18347 	ld_shlibs_GCJ=yes
   18348       fi
   18349       ;;
   18350 
   18351     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18352       no_undefined_flag_GCJ='${wl}-z,text'
   18353       archive_cmds_need_lc_GCJ=no
   18354       hardcode_shlibpath_var_GCJ=no
   18355       runpath_var='LD_RUN_PATH'
   18356 
   18357       if test "$GCC" = yes; then
   18358 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18359 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18360       else
   18361 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18362 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18363       fi
   18364       ;;
   18365 
   18366     sysv5* | sco3.2v5* | sco5v6*)
   18367       # Note: We can NOT use -z defs as we might desire, because we do not
   18368       # link with -lc, and that would cause any symbols used from libc to
   18369       # always be unresolved, which means just about no library would
   18370       # ever link correctly.  If we're not using GNU ld we use -z text
   18371       # though, which does catch some bad symbols but isn't as heavy-handed
   18372       # as -z defs.
   18373       no_undefined_flag_GCJ='${wl}-z,text'
   18374       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18375       archive_cmds_need_lc_GCJ=no
   18376       hardcode_shlibpath_var_GCJ=no
   18377       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18378       hardcode_libdir_separator_GCJ=':'
   18379       link_all_deplibs_GCJ=yes
   18380       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18381       runpath_var='LD_RUN_PATH'
   18382 
   18383       if test "$GCC" = yes; then
   18384 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18385 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18386       else
   18387 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18388 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18389       fi
   18390       ;;
   18391 
   18392     uts4*)
   18393       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18394       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18395       hardcode_shlibpath_var_GCJ=no
   18396       ;;
   18397 
   18398     *)
   18399       ld_shlibs_GCJ=no
   18400       ;;
   18401     esac
   18402   fi
   18403 
   18404 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18405 $as_echo "$ld_shlibs_GCJ" >&6; }
   18406 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18407 
   18408 #
   18409 # Do we need to explicitly link libc?
   18410 #
   18411 case "x$archive_cmds_need_lc_GCJ" in
   18412 x|xyes)
   18413   # Assume -lc should be added
   18414   archive_cmds_need_lc_GCJ=yes
   18415 
   18416   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18417     case $archive_cmds_GCJ in
   18418     *'~'*)
   18419       # FIXME: we may have to deal with multi-command sequences.
   18420       ;;
   18421     '$CC '*)
   18422       # Test whether the compiler implicitly links with -lc since on some
   18423       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18424       # to ld, don't add -lc before -lgcc.
   18425       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18426 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18427       $rm conftest*
   18428       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18429 
   18430       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18431   (eval $ac_compile) 2>&5
   18432   ac_status=$?
   18433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18434   (exit $ac_status); } 2>conftest.err; then
   18435         soname=conftest
   18436         lib=conftest
   18437         libobjs=conftest.$ac_objext
   18438         deplibs=
   18439         wl=$lt_prog_compiler_wl_GCJ
   18440 	pic_flag=$lt_prog_compiler_pic_GCJ
   18441         compiler_flags=-v
   18442         linker_flags=-v
   18443         verstring=
   18444         output_objdir=.
   18445         libname=conftest
   18446         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18447         allow_undefined_flag_GCJ=
   18448         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18449   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18450   ac_status=$?
   18451   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18452   (exit $ac_status); }
   18453         then
   18454 	  archive_cmds_need_lc_GCJ=no
   18455         else
   18456 	  archive_cmds_need_lc_GCJ=yes
   18457         fi
   18458         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18459       else
   18460         cat conftest.err 1>&5
   18461       fi
   18462       $rm conftest*
   18463       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18464 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18465       ;;
   18466     esac
   18467   fi
   18468   ;;
   18469 esac
   18470 
   18471 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18473 library_names_spec=
   18474 libname_spec='lib$name'
   18475 soname_spec=
   18476 shrext_cmds=".so"
   18477 postinstall_cmds=
   18478 postuninstall_cmds=
   18479 finish_cmds=
   18480 finish_eval=
   18481 shlibpath_var=
   18482 shlibpath_overrides_runpath=unknown
   18483 version_type=none
   18484 dynamic_linker="$host_os ld.so"
   18485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18486 
   18487 need_lib_prefix=unknown
   18488 hardcode_into_libs=no
   18489 
   18490 # when you set need_version to no, make sure it does not cause -set_version
   18491 # flags to be left without arguments
   18492 need_version=unknown
   18493 
   18494 case $host_os in
   18495 aix3*)
   18496   version_type=linux
   18497   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18498   shlibpath_var=LIBPATH
   18499 
   18500   # AIX 3 has no versioning support, so we append a major version to the name.
   18501   soname_spec='${libname}${release}${shared_ext}$major'
   18502   ;;
   18503 
   18504 aix[4-9]*)
   18505   version_type=linux
   18506   need_lib_prefix=no
   18507   need_version=no
   18508   hardcode_into_libs=yes
   18509   if test "$host_cpu" = ia64; then
   18510     # AIX 5 supports IA64
   18511     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18512     shlibpath_var=LD_LIBRARY_PATH
   18513   else
   18514     # With GCC up to 2.95.x, collect2 would create an import file
   18515     # for dependence libraries.  The import file would start with
   18516     # the line `#! .'.  This would cause the generated library to
   18517     # depend on `.', always an invalid library.  This was fixed in
   18518     # development snapshots of GCC prior to 3.0.
   18519     case $host_os in
   18520       aix4 | aix4.[01] | aix4.[01].*)
   18521       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18522 	   echo ' yes '
   18523 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18524 	:
   18525       else
   18526 	can_build_shared=no
   18527       fi
   18528       ;;
   18529     esac
   18530     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18531     # soname into executable. Probably we can add versioning support to
   18532     # collect2, so additional links can be useful in future.
   18533     if test "$aix_use_runtimelinking" = yes; then
   18534       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18535       # instead of lib<name>.a to let people know that these are not
   18536       # typical AIX shared libraries.
   18537       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18538     else
   18539       # We preserve .a as extension for shared libraries through AIX4.2
   18540       # and later when we are not doing run time linking.
   18541       library_names_spec='${libname}${release}.a $libname.a'
   18542       soname_spec='${libname}${release}${shared_ext}$major'
   18543     fi
   18544     shlibpath_var=LIBPATH
   18545   fi
   18546   ;;
   18547 
   18548 amigaos*)
   18549   library_names_spec='$libname.ixlibrary $libname.a'
   18550   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18551   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'
   18552   ;;
   18553 
   18554 beos*)
   18555   library_names_spec='${libname}${shared_ext}'
   18556   dynamic_linker="$host_os ld.so"
   18557   shlibpath_var=LIBRARY_PATH
   18558   ;;
   18559 
   18560 bsdi[45]*)
   18561   version_type=linux
   18562   need_version=no
   18563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18564   soname_spec='${libname}${release}${shared_ext}$major'
   18565   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18566   shlibpath_var=LD_LIBRARY_PATH
   18567   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18568   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18569   # the default ld.so.conf also contains /usr/contrib/lib and
   18570   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18571   # libtool to hard-code these into programs
   18572   ;;
   18573 
   18574 cygwin* | mingw* | pw32*)
   18575   version_type=windows
   18576   shrext_cmds=".dll"
   18577   need_version=no
   18578   need_lib_prefix=no
   18579 
   18580   case $GCC,$host_os in
   18581   yes,cygwin* | yes,mingw* | yes,pw32*)
   18582     library_names_spec='$libname.dll.a'
   18583     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18584     postinstall_cmds='base_file=`basename \${file}`~
   18585       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18586       dldir=$destdir/`dirname \$dlpath`~
   18587       test -d \$dldir || mkdir -p \$dldir~
   18588       $install_prog $dir/$dlname \$dldir/$dlname~
   18589       chmod a+x \$dldir/$dlname'
   18590     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18591       dlpath=$dir/\$dldll~
   18592        $rm \$dlpath'
   18593     shlibpath_overrides_runpath=yes
   18594 
   18595     case $host_os in
   18596     cygwin*)
   18597       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18598       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18599       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18600       ;;
   18601     mingw*)
   18602       # MinGW DLLs use traditional 'lib' prefix
   18603       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18604       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18605       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18606         # It is most probably a Windows format PATH printed by
   18607         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18608         # path with ; separators, and with drive letters. We can handle the
   18609         # drive letters (cygwin fileutils understands them), so leave them,
   18610         # especially as we might pass files found there to a mingw objdump,
   18611         # which wouldn't understand a cygwinified path. Ahh.
   18612         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18613       else
   18614         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18615       fi
   18616       ;;
   18617     pw32*)
   18618       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18619       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18620       ;;
   18621     esac
   18622     ;;
   18623 
   18624   *)
   18625     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18626     ;;
   18627   esac
   18628   dynamic_linker='Win32 ld.exe'
   18629   # FIXME: first we should search . and the directory the executable is in
   18630   shlibpath_var=PATH
   18631   ;;
   18632 
   18633 darwin* | rhapsody*)
   18634   dynamic_linker="$host_os dyld"
   18635   version_type=darwin
   18636   need_lib_prefix=no
   18637   need_version=no
   18638   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18639   soname_spec='${libname}${release}${major}$shared_ext'
   18640   shlibpath_overrides_runpath=yes
   18641   shlibpath_var=DYLD_LIBRARY_PATH
   18642   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18643 
   18644   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18645   ;;
   18646 
   18647 dgux*)
   18648   version_type=linux
   18649   need_lib_prefix=no
   18650   need_version=no
   18651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18652   soname_spec='${libname}${release}${shared_ext}$major'
   18653   shlibpath_var=LD_LIBRARY_PATH
   18654   ;;
   18655 
   18656 freebsd1*)
   18657   dynamic_linker=no
   18658   ;;
   18659 
   18660 freebsd* | dragonfly*)
   18661   # DragonFly does not have aout.  When/if they implement a new
   18662   # versioning mechanism, adjust this.
   18663   if test -x /usr/bin/objformat; then
   18664     objformat=`/usr/bin/objformat`
   18665   else
   18666     case $host_os in
   18667     freebsd[123]*) objformat=aout ;;
   18668     *) objformat=elf ;;
   18669     esac
   18670   fi
   18671   version_type=freebsd-$objformat
   18672   case $version_type in
   18673     freebsd-elf*)
   18674       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18675       need_version=no
   18676       need_lib_prefix=no
   18677       ;;
   18678     freebsd-*)
   18679       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18680       need_version=yes
   18681       ;;
   18682   esac
   18683   shlibpath_var=LD_LIBRARY_PATH
   18684   case $host_os in
   18685   freebsd2*)
   18686     shlibpath_overrides_runpath=yes
   18687     ;;
   18688   freebsd3.[01]* | freebsdelf3.[01]*)
   18689     shlibpath_overrides_runpath=yes
   18690     hardcode_into_libs=yes
   18691     ;;
   18692   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18693   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18694     shlibpath_overrides_runpath=no
   18695     hardcode_into_libs=yes
   18696     ;;
   18697   *) # from 4.6 on, and DragonFly
   18698     shlibpath_overrides_runpath=yes
   18699     hardcode_into_libs=yes
   18700     ;;
   18701   esac
   18702   ;;
   18703 
   18704 gnu*)
   18705   version_type=linux
   18706   need_lib_prefix=no
   18707   need_version=no
   18708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18709   soname_spec='${libname}${release}${shared_ext}$major'
   18710   shlibpath_var=LD_LIBRARY_PATH
   18711   hardcode_into_libs=yes
   18712   ;;
   18713 
   18714 hpux9* | hpux10* | hpux11*)
   18715   # Give a soname corresponding to the major version so that dld.sl refuses to
   18716   # link against other versions.
   18717   version_type=sunos
   18718   need_lib_prefix=no
   18719   need_version=no
   18720   case $host_cpu in
   18721   ia64*)
   18722     shrext_cmds='.so'
   18723     hardcode_into_libs=yes
   18724     dynamic_linker="$host_os dld.so"
   18725     shlibpath_var=LD_LIBRARY_PATH
   18726     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18727     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18728     soname_spec='${libname}${release}${shared_ext}$major'
   18729     if test "X$HPUX_IA64_MODE" = X32; then
   18730       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18731     else
   18732       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18733     fi
   18734     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18735     ;;
   18736    hppa*64*)
   18737      shrext_cmds='.sl'
   18738      hardcode_into_libs=yes
   18739      dynamic_linker="$host_os dld.sl"
   18740      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18741      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18742      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18743      soname_spec='${libname}${release}${shared_ext}$major'
   18744      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18745      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18746      ;;
   18747    *)
   18748     shrext_cmds='.sl'
   18749     dynamic_linker="$host_os dld.sl"
   18750     shlibpath_var=SHLIB_PATH
   18751     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18752     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18753     soname_spec='${libname}${release}${shared_ext}$major'
   18754     ;;
   18755   esac
   18756   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18757   postinstall_cmds='chmod 555 $lib'
   18758   ;;
   18759 
   18760 interix[3-9]*)
   18761   version_type=linux
   18762   need_lib_prefix=no
   18763   need_version=no
   18764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18765   soname_spec='${libname}${release}${shared_ext}$major'
   18766   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18767   shlibpath_var=LD_LIBRARY_PATH
   18768   shlibpath_overrides_runpath=no
   18769   hardcode_into_libs=yes
   18770   ;;
   18771 
   18772 irix5* | irix6* | nonstopux*)
   18773   case $host_os in
   18774     nonstopux*) version_type=nonstopux ;;
   18775     *)
   18776 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18777 		version_type=linux
   18778 	else
   18779 		version_type=irix
   18780 	fi ;;
   18781   esac
   18782   need_lib_prefix=no
   18783   need_version=no
   18784   soname_spec='${libname}${release}${shared_ext}$major'
   18785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18786   case $host_os in
   18787   irix5* | nonstopux*)
   18788     libsuff= shlibsuff=
   18789     ;;
   18790   *)
   18791     case $LD in # libtool.m4 will add one of these switches to LD
   18792     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18793       libsuff= shlibsuff= libmagic=32-bit;;
   18794     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18795       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18796     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18797       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18798     *) libsuff= shlibsuff= libmagic=never-match;;
   18799     esac
   18800     ;;
   18801   esac
   18802   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18803   shlibpath_overrides_runpath=no
   18804   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18805   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18806   hardcode_into_libs=yes
   18807   ;;
   18808 
   18809 # No shared lib support for Linux oldld, aout, or coff.
   18810 linux*oldld* | linux*aout* | linux*coff*)
   18811   dynamic_linker=no
   18812   ;;
   18813 
   18814 # This must be Linux ELF.
   18815 linux* | k*bsd*-gnu)
   18816   version_type=linux
   18817   need_lib_prefix=no
   18818   need_version=no
   18819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18820   soname_spec='${libname}${release}${shared_ext}$major'
   18821   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18822   shlibpath_var=LD_LIBRARY_PATH
   18823   shlibpath_overrides_runpath=no
   18824   # This implies no fast_install, which is unacceptable.
   18825   # Some rework will be needed to allow for fast_install
   18826   # before this can be enabled.
   18827   hardcode_into_libs=yes
   18828   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18829   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18830 
   18831   # Append ld.so.conf contents to the search path
   18832   if test -f /etc/ld.so.conf; then
   18833     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' ' '`
   18834     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18835   fi
   18836 
   18837   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18838   # powerpc, because MkLinux only supported shared libraries with the
   18839   # GNU dynamic linker.  Since this was broken with cross compilers,
   18840   # most powerpc-linux boxes support dynamic linking these days and
   18841   # people can always --disable-shared, the test was removed, and we
   18842   # assume the GNU/Linux dynamic linker is in use.
   18843   dynamic_linker='GNU/Linux ld.so'
   18844   ;;
   18845 
   18846 netbsd*)
   18847   version_type=sunos
   18848   need_lib_prefix=no
   18849   need_version=no
   18850   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18852     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18853     dynamic_linker='NetBSD (a.out) ld.so'
   18854   else
   18855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18856     soname_spec='${libname}${release}${shared_ext}$major'
   18857     dynamic_linker='NetBSD ld.elf_so'
   18858   fi
   18859   shlibpath_var=LD_LIBRARY_PATH
   18860   shlibpath_overrides_runpath=yes
   18861   hardcode_into_libs=yes
   18862   ;;
   18863 
   18864 newsos6)
   18865   version_type=linux
   18866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18867   shlibpath_var=LD_LIBRARY_PATH
   18868   shlibpath_overrides_runpath=yes
   18869   ;;
   18870 
   18871 nto-qnx*)
   18872   version_type=linux
   18873   need_lib_prefix=no
   18874   need_version=no
   18875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18876   soname_spec='${libname}${release}${shared_ext}$major'
   18877   shlibpath_var=LD_LIBRARY_PATH
   18878   shlibpath_overrides_runpath=yes
   18879   ;;
   18880 
   18881 openbsd*)
   18882   version_type=sunos
   18883   sys_lib_dlsearch_path_spec="/usr/lib"
   18884   need_lib_prefix=no
   18885   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18886   case $host_os in
   18887     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18888     *)                         need_version=no  ;;
   18889   esac
   18890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18891   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18892   shlibpath_var=LD_LIBRARY_PATH
   18893   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18894     case $host_os in
   18895       openbsd2.[89] | openbsd2.[89].*)
   18896 	shlibpath_overrides_runpath=no
   18897 	;;
   18898       *)
   18899 	shlibpath_overrides_runpath=yes
   18900 	;;
   18901       esac
   18902   else
   18903     shlibpath_overrides_runpath=yes
   18904   fi
   18905   ;;
   18906 
   18907 os2*)
   18908   libname_spec='$name'
   18909   shrext_cmds=".dll"
   18910   need_lib_prefix=no
   18911   library_names_spec='$libname${shared_ext} $libname.a'
   18912   dynamic_linker='OS/2 ld.exe'
   18913   shlibpath_var=LIBPATH
   18914   ;;
   18915 
   18916 osf3* | osf4* | osf5*)
   18917   version_type=osf
   18918   need_lib_prefix=no
   18919   need_version=no
   18920   soname_spec='${libname}${release}${shared_ext}$major'
   18921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18922   shlibpath_var=LD_LIBRARY_PATH
   18923   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18924   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18925   ;;
   18926 
   18927 rdos*)
   18928   dynamic_linker=no
   18929   ;;
   18930 
   18931 solaris*)
   18932   version_type=linux
   18933   need_lib_prefix=no
   18934   need_version=no
   18935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18936   soname_spec='${libname}${release}${shared_ext}$major'
   18937   shlibpath_var=LD_LIBRARY_PATH
   18938   shlibpath_overrides_runpath=yes
   18939   hardcode_into_libs=yes
   18940   # ldd complains unless libraries are executable
   18941   postinstall_cmds='chmod +x $lib'
   18942   ;;
   18943 
   18944 sunos4*)
   18945   version_type=sunos
   18946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18947   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18948   shlibpath_var=LD_LIBRARY_PATH
   18949   shlibpath_overrides_runpath=yes
   18950   if test "$with_gnu_ld" = yes; then
   18951     need_lib_prefix=no
   18952   fi
   18953   need_version=yes
   18954   ;;
   18955 
   18956 sysv4 | sysv4.3*)
   18957   version_type=linux
   18958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18959   soname_spec='${libname}${release}${shared_ext}$major'
   18960   shlibpath_var=LD_LIBRARY_PATH
   18961   case $host_vendor in
   18962     sni)
   18963       shlibpath_overrides_runpath=no
   18964       need_lib_prefix=no
   18965       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18966       runpath_var=LD_RUN_PATH
   18967       ;;
   18968     siemens)
   18969       need_lib_prefix=no
   18970       ;;
   18971     motorola)
   18972       need_lib_prefix=no
   18973       need_version=no
   18974       shlibpath_overrides_runpath=no
   18975       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18976       ;;
   18977   esac
   18978   ;;
   18979 
   18980 sysv4*MP*)
   18981   if test -d /usr/nec ;then
   18982     version_type=linux
   18983     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18984     soname_spec='$libname${shared_ext}.$major'
   18985     shlibpath_var=LD_LIBRARY_PATH
   18986   fi
   18987   ;;
   18988 
   18989 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18990   version_type=freebsd-elf
   18991   need_lib_prefix=no
   18992   need_version=no
   18993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18994   soname_spec='${libname}${release}${shared_ext}$major'
   18995   shlibpath_var=LD_LIBRARY_PATH
   18996   hardcode_into_libs=yes
   18997   if test "$with_gnu_ld" = yes; then
   18998     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18999     shlibpath_overrides_runpath=no
   19000   else
   19001     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19002     shlibpath_overrides_runpath=yes
   19003     case $host_os in
   19004       sco3.2v5*)
   19005         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19006 	;;
   19007     esac
   19008   fi
   19009   sys_lib_dlsearch_path_spec='/usr/lib'
   19010   ;;
   19011 
   19012 uts4*)
   19013   version_type=linux
   19014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19015   soname_spec='${libname}${release}${shared_ext}$major'
   19016   shlibpath_var=LD_LIBRARY_PATH
   19017   ;;
   19018 
   19019 *)
   19020   dynamic_linker=no
   19021   ;;
   19022 esac
   19023 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19024 $as_echo "$dynamic_linker" >&6; }
   19025 test "$dynamic_linker" = no && can_build_shared=no
   19026 
   19027 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19028   $as_echo_n "(cached) " >&6
   19029 else
   19030   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19031 fi
   19032 
   19033 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19034 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19035   $as_echo_n "(cached) " >&6
   19036 else
   19037   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19038 fi
   19039 
   19040 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19041 
   19042 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19043 if test "$GCC" = yes; then
   19044   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19045 fi
   19046 
   19047 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19048 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19049 hardcode_action_GCJ=
   19050 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19051    test -n "$runpath_var_GCJ" || \
   19052    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19053 
   19054   # We can hardcode non-existant directories.
   19055   if test "$hardcode_direct_GCJ" != no &&
   19056      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19057      # have to relink, otherwise we might link with an installed library
   19058      # when we should be linking with a yet-to-be-installed one
   19059      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19060      test "$hardcode_minus_L_GCJ" != no; then
   19061     # Linking always hardcodes the temporary library directory.
   19062     hardcode_action_GCJ=relink
   19063   else
   19064     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19065     hardcode_action_GCJ=immediate
   19066   fi
   19067 else
   19068   # We cannot hardcode anything, or else we can only hardcode existing
   19069   # directories.
   19070   hardcode_action_GCJ=unsupported
   19071 fi
   19072 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19073 $as_echo "$hardcode_action_GCJ" >&6; }
   19074 
   19075 if test "$hardcode_action_GCJ" = relink; then
   19076   # Fast installation is not supported
   19077   enable_fast_install=no
   19078 elif test "$shlibpath_overrides_runpath" = yes ||
   19079      test "$enable_shared" = no; then
   19080   # Fast installation is not necessary
   19081   enable_fast_install=needless
   19082 fi
   19083 
   19084 
   19085 # The else clause should only fire when bootstrapping the
   19086 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19087 # with your package, and you will get complaints that there are
   19088 # no rules to generate ltmain.sh.
   19089 if test -f "$ltmain"; then
   19090   # See if we are running on zsh, and set the options which allow our commands through
   19091   # without removal of \ escapes.
   19092   if test -n "${ZSH_VERSION+set}" ; then
   19093     setopt NO_GLOB_SUBST
   19094   fi
   19095   # Now quote all the things that may contain metacharacters while being
   19096   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19097   # variables and quote the copies for generation of the libtool script.
   19098   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19099     SED SHELL STRIP \
   19100     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19101     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19102     deplibs_check_method reload_flag reload_cmds need_locks \
   19103     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19104     lt_cv_sys_global_symbol_to_c_name_address \
   19105     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19106     old_postinstall_cmds old_postuninstall_cmds \
   19107     compiler_GCJ \
   19108     CC_GCJ \
   19109     LD_GCJ \
   19110     lt_prog_compiler_wl_GCJ \
   19111     lt_prog_compiler_pic_GCJ \
   19112     lt_prog_compiler_static_GCJ \
   19113     lt_prog_compiler_no_builtin_flag_GCJ \
   19114     export_dynamic_flag_spec_GCJ \
   19115     thread_safe_flag_spec_GCJ \
   19116     whole_archive_flag_spec_GCJ \
   19117     enable_shared_with_static_runtimes_GCJ \
   19118     old_archive_cmds_GCJ \
   19119     old_archive_from_new_cmds_GCJ \
   19120     predep_objects_GCJ \
   19121     postdep_objects_GCJ \
   19122     predeps_GCJ \
   19123     postdeps_GCJ \
   19124     compiler_lib_search_path_GCJ \
   19125     compiler_lib_search_dirs_GCJ \
   19126     archive_cmds_GCJ \
   19127     archive_expsym_cmds_GCJ \
   19128     postinstall_cmds_GCJ \
   19129     postuninstall_cmds_GCJ \
   19130     old_archive_from_expsyms_cmds_GCJ \
   19131     allow_undefined_flag_GCJ \
   19132     no_undefined_flag_GCJ \
   19133     export_symbols_cmds_GCJ \
   19134     hardcode_libdir_flag_spec_GCJ \
   19135     hardcode_libdir_flag_spec_ld_GCJ \
   19136     hardcode_libdir_separator_GCJ \
   19137     hardcode_automatic_GCJ \
   19138     module_cmds_GCJ \
   19139     module_expsym_cmds_GCJ \
   19140     lt_cv_prog_compiler_c_o_GCJ \
   19141     fix_srcfile_path_GCJ \
   19142     exclude_expsyms_GCJ \
   19143     include_expsyms_GCJ; do
   19144 
   19145     case $var in
   19146     old_archive_cmds_GCJ | \
   19147     old_archive_from_new_cmds_GCJ | \
   19148     archive_cmds_GCJ | \
   19149     archive_expsym_cmds_GCJ | \
   19150     module_cmds_GCJ | \
   19151     module_expsym_cmds_GCJ | \
   19152     old_archive_from_expsyms_cmds_GCJ | \
   19153     export_symbols_cmds_GCJ | \
   19154     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19155     postinstall_cmds | postuninstall_cmds | \
   19156     old_postinstall_cmds | old_postuninstall_cmds | \
   19157     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19158       # Double-quote double-evaled strings.
   19159       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19160       ;;
   19161     *)
   19162       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19163       ;;
   19164     esac
   19165   done
   19166 
   19167   case $lt_echo in
   19168   *'\$0 --fallback-echo"')
   19169     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19170     ;;
   19171   esac
   19172 
   19173 cfgfile="$ofile"
   19174 
   19175   cat <<__EOF__ >> "$cfgfile"
   19176 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19177 
   19178 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19179 
   19180 # Shell to use when invoking shell scripts.
   19181 SHELL=$lt_SHELL
   19182 
   19183 # Whether or not to build shared libraries.
   19184 build_libtool_libs=$enable_shared
   19185 
   19186 # Whether or not to build static libraries.
   19187 build_old_libs=$enable_static
   19188 
   19189 # Whether or not to add -lc for building shared libraries.
   19190 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19191 
   19192 # Whether or not to disallow shared libs when runtime libs are static
   19193 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19194 
   19195 # Whether or not to optimize for fast installation.
   19196 fast_install=$enable_fast_install
   19197 
   19198 # The host system.
   19199 host_alias=$host_alias
   19200 host=$host
   19201 host_os=$host_os
   19202 
   19203 # The build system.
   19204 build_alias=$build_alias
   19205 build=$build
   19206 build_os=$build_os
   19207 
   19208 # An echo program that does not interpret backslashes.
   19209 echo=$lt_echo
   19210 
   19211 # The archiver.
   19212 AR=$lt_AR
   19213 AR_FLAGS=$lt_AR_FLAGS
   19214 
   19215 # A C compiler.
   19216 LTCC=$lt_LTCC
   19217 
   19218 # LTCC compiler flags.
   19219 LTCFLAGS=$lt_LTCFLAGS
   19220 
   19221 # A language-specific compiler.
   19222 CC=$lt_compiler_GCJ
   19223 
   19224 # Is the compiler the GNU C compiler?
   19225 with_gcc=$GCC_GCJ
   19226 
   19227 # An ERE matcher.
   19228 EGREP=$lt_EGREP
   19229 
   19230 # The linker used to build libraries.
   19231 LD=$lt_LD_GCJ
   19232 
   19233 # Whether we need hard or soft links.
   19234 LN_S=$lt_LN_S
   19235 
   19236 # A BSD-compatible nm program.
   19237 NM=$lt_NM
   19238 
   19239 # A symbol stripping program
   19240 STRIP=$lt_STRIP
   19241 
   19242 # Used to examine libraries when file_magic_cmd begins "file"
   19243 MAGIC_CMD=$MAGIC_CMD
   19244 
   19245 # Used on cygwin: DLL creation program.
   19246 DLLTOOL="$DLLTOOL"
   19247 
   19248 # Used on cygwin: object dumper.
   19249 OBJDUMP="$OBJDUMP"
   19250 
   19251 # Used on cygwin: assembler.
   19252 AS="$AS"
   19253 
   19254 # The name of the directory that contains temporary libtool files.
   19255 objdir=$objdir
   19256 
   19257 # How to create reloadable object files.
   19258 reload_flag=$lt_reload_flag
   19259 reload_cmds=$lt_reload_cmds
   19260 
   19261 # How to pass a linker flag through the compiler.
   19262 wl=$lt_lt_prog_compiler_wl_GCJ
   19263 
   19264 # Object file suffix (normally "o").
   19265 objext="$ac_objext"
   19266 
   19267 # Old archive suffix (normally "a").
   19268 libext="$libext"
   19269 
   19270 # Shared library suffix (normally ".so").
   19271 shrext_cmds='$shrext_cmds'
   19272 
   19273 # Executable file suffix (normally "").
   19274 exeext="$exeext"
   19275 
   19276 # Additional compiler flags for building library objects.
   19277 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19278 pic_mode=$pic_mode
   19279 
   19280 # What is the maximum length of a command?
   19281 max_cmd_len=$lt_cv_sys_max_cmd_len
   19282 
   19283 # Does compiler simultaneously support -c and -o options?
   19284 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19285 
   19286 # Must we lock files when doing compilation?
   19287 need_locks=$lt_need_locks
   19288 
   19289 # Do we need the lib prefix for modules?
   19290 need_lib_prefix=$need_lib_prefix
   19291 
   19292 # Do we need a version for libraries?
   19293 need_version=$need_version
   19294 
   19295 # Whether dlopen is supported.
   19296 dlopen_support=$enable_dlopen
   19297 
   19298 # Whether dlopen of programs is supported.
   19299 dlopen_self=$enable_dlopen_self
   19300 
   19301 # Whether dlopen of statically linked programs is supported.
   19302 dlopen_self_static=$enable_dlopen_self_static
   19303 
   19304 # Compiler flag to prevent dynamic linking.
   19305 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19306 
   19307 # Compiler flag to turn off builtin functions.
   19308 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19309 
   19310 # Compiler flag to allow reflexive dlopens.
   19311 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19312 
   19313 # Compiler flag to generate shared objects directly from archives.
   19314 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19315 
   19316 # Compiler flag to generate thread-safe objects.
   19317 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19318 
   19319 # Library versioning type.
   19320 version_type=$version_type
   19321 
   19322 # Format of library name prefix.
   19323 libname_spec=$lt_libname_spec
   19324 
   19325 # List of archive names.  First name is the real one, the rest are links.
   19326 # The last name is the one that the linker finds with -lNAME.
   19327 library_names_spec=$lt_library_names_spec
   19328 
   19329 # The coded name of the library, if different from the real name.
   19330 soname_spec=$lt_soname_spec
   19331 
   19332 # Commands used to build and install an old-style archive.
   19333 RANLIB=$lt_RANLIB
   19334 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19335 old_postinstall_cmds=$lt_old_postinstall_cmds
   19336 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19337 
   19338 # Create an old-style archive from a shared archive.
   19339 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19340 
   19341 # Create a temporary old-style archive to link instead of a shared archive.
   19342 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19343 
   19344 # Commands used to build and install a shared archive.
   19345 archive_cmds=$lt_archive_cmds_GCJ
   19346 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19347 postinstall_cmds=$lt_postinstall_cmds
   19348 postuninstall_cmds=$lt_postuninstall_cmds
   19349 
   19350 # Commands used to build a loadable module (assumed same as above if empty)
   19351 module_cmds=$lt_module_cmds_GCJ
   19352 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19353 
   19354 # Commands to strip libraries.
   19355 old_striplib=$lt_old_striplib
   19356 striplib=$lt_striplib
   19357 
   19358 # Dependencies to place before the objects being linked to create a
   19359 # shared library.
   19360 predep_objects=$lt_predep_objects_GCJ
   19361 
   19362 # Dependencies to place after the objects being linked to create a
   19363 # shared library.
   19364 postdep_objects=$lt_postdep_objects_GCJ
   19365 
   19366 # Dependencies to place before the objects being linked to create a
   19367 # shared library.
   19368 predeps=$lt_predeps_GCJ
   19369 
   19370 # Dependencies to place after the objects being linked to create a
   19371 # shared library.
   19372 postdeps=$lt_postdeps_GCJ
   19373 
   19374 # The directories searched by this compiler when creating a shared
   19375 # library
   19376 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19377 
   19378 # The library search path used internally by the compiler when linking
   19379 # a shared library.
   19380 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19381 
   19382 # Method to check whether dependent libraries are shared objects.
   19383 deplibs_check_method=$lt_deplibs_check_method
   19384 
   19385 # Command to use when deplibs_check_method == file_magic.
   19386 file_magic_cmd=$lt_file_magic_cmd
   19387 
   19388 # Flag that allows shared libraries with undefined symbols to be built.
   19389 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19390 
   19391 # Flag that forces no undefined symbols.
   19392 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19393 
   19394 # Commands used to finish a libtool library installation in a directory.
   19395 finish_cmds=$lt_finish_cmds
   19396 
   19397 # Same as above, but a single script fragment to be evaled but not shown.
   19398 finish_eval=$lt_finish_eval
   19399 
   19400 # Take the output of nm and produce a listing of raw symbols and C names.
   19401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19402 
   19403 # Transform the output of nm in a proper C declaration
   19404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19405 
   19406 # Transform the output of nm in a C name address pair
   19407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19408 
   19409 # This is the shared library runtime path variable.
   19410 runpath_var=$runpath_var
   19411 
   19412 # This is the shared library path variable.
   19413 shlibpath_var=$shlibpath_var
   19414 
   19415 # Is shlibpath searched before the hard-coded library search path?
   19416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19417 
   19418 # How to hardcode a shared library path into an executable.
   19419 hardcode_action=$hardcode_action_GCJ
   19420 
   19421 # Whether we should hardcode library paths into libraries.
   19422 hardcode_into_libs=$hardcode_into_libs
   19423 
   19424 # Flag to hardcode \$libdir into a binary during linking.
   19425 # This must work even if \$libdir does not exist.
   19426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19427 
   19428 # If ld is used when linking, flag to hardcode \$libdir into
   19429 # a binary during linking. This must work even if \$libdir does
   19430 # not exist.
   19431 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19432 
   19433 # Whether we need a single -rpath flag with a separated argument.
   19434 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19435 
   19436 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19437 # resulting binary.
   19438 hardcode_direct=$hardcode_direct_GCJ
   19439 
   19440 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19441 # resulting binary.
   19442 hardcode_minus_L=$hardcode_minus_L_GCJ
   19443 
   19444 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19445 # the resulting binary.
   19446 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19447 
   19448 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19449 # and all subsequent libraries and executables linked against it.
   19450 hardcode_automatic=$hardcode_automatic_GCJ
   19451 
   19452 # Variables whose values should be saved in libtool wrapper scripts and
   19453 # restored at relink time.
   19454 variables_saved_for_relink="$variables_saved_for_relink"
   19455 
   19456 # Whether libtool must link a program against all its dependency libraries.
   19457 link_all_deplibs=$link_all_deplibs_GCJ
   19458 
   19459 # Compile-time system search path for libraries
   19460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19461 
   19462 # Run-time system search path for libraries
   19463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19464 
   19465 # Fix the shell variable \$srcfile for the compiler.
   19466 fix_srcfile_path=$lt_fix_srcfile_path
   19467 
   19468 # Set to yes if exported symbols are required.
   19469 always_export_symbols=$always_export_symbols_GCJ
   19470 
   19471 # The commands to list exported symbols.
   19472 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19473 
   19474 # The commands to extract the exported symbol list from a shared archive.
   19475 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19476 
   19477 # Symbols that should not be listed in the preloaded symbols.
   19478 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19479 
   19480 # Symbols that must always be exported.
   19481 include_expsyms=$lt_include_expsyms_GCJ
   19482 
   19483 # ### END LIBTOOL TAG CONFIG: $tagname
   19484 
   19485 __EOF__
   19486 
   19487 
   19488 else
   19489   # If there is no Makefile yet, we rely on a make rule to execute
   19490   # `config.status --recheck' to rerun these tests and create the
   19491   # libtool script then.
   19492   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19493   if test -f "$ltmain_in"; then
   19494     test -f Makefile && make "$ltmain"
   19495   fi
   19496 fi
   19497 
   19498 
   19499 ac_ext=c
   19500 ac_cpp='$CPP $CPPFLAGS'
   19501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19504 
   19505 CC="$lt_save_CC"
   19506 
   19507 	else
   19508 	  tagname=""
   19509 	fi
   19510 	;;
   19511 
   19512       RC)
   19513 
   19514 
   19515 # Source file extension for RC test sources.
   19516 ac_ext=rc
   19517 
   19518 # Object file extension for compiled RC test sources.
   19519 objext=o
   19520 objext_RC=$objext
   19521 
   19522 # Code to be used in simple compile tests
   19523 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19524 
   19525 # Code to be used in simple link tests
   19526 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19527 
   19528 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19529 
   19530 # If no C compiler was specified, use CC.
   19531 LTCC=${LTCC-"$CC"}
   19532 
   19533 # If no C compiler flags were specified, use CFLAGS.
   19534 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19535 
   19536 # Allow CC to be a program name with arguments.
   19537 compiler=$CC
   19538 
   19539 
   19540 # save warnings/boilerplate of simple test code
   19541 ac_outfile=conftest.$ac_objext
   19542 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19543 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19544 _lt_compiler_boilerplate=`cat conftest.err`
   19545 $rm conftest*
   19546 
   19547 ac_outfile=conftest.$ac_objext
   19548 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19549 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19550 _lt_linker_boilerplate=`cat conftest.err`
   19551 $rm -r conftest*
   19552 
   19553 
   19554 # Allow CC to be a program name with arguments.
   19555 lt_save_CC="$CC"
   19556 CC=${RC-"windres"}
   19557 compiler=$CC
   19558 compiler_RC=$CC
   19559 for cc_temp in $compiler""; do
   19560   case $cc_temp in
   19561     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19562     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19563     \-*) ;;
   19564     *) break;;
   19565   esac
   19566 done
   19567 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19568 
   19569 lt_cv_prog_compiler_c_o_RC=yes
   19570 
   19571 # The else clause should only fire when bootstrapping the
   19572 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19573 # with your package, and you will get complaints that there are
   19574 # no rules to generate ltmain.sh.
   19575 if test -f "$ltmain"; then
   19576   # See if we are running on zsh, and set the options which allow our commands through
   19577   # without removal of \ escapes.
   19578   if test -n "${ZSH_VERSION+set}" ; then
   19579     setopt NO_GLOB_SUBST
   19580   fi
   19581   # Now quote all the things that may contain metacharacters while being
   19582   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19583   # variables and quote the copies for generation of the libtool script.
   19584   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19585     SED SHELL STRIP \
   19586     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19587     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19588     deplibs_check_method reload_flag reload_cmds need_locks \
   19589     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19590     lt_cv_sys_global_symbol_to_c_name_address \
   19591     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19592     old_postinstall_cmds old_postuninstall_cmds \
   19593     compiler_RC \
   19594     CC_RC \
   19595     LD_RC \
   19596     lt_prog_compiler_wl_RC \
   19597     lt_prog_compiler_pic_RC \
   19598     lt_prog_compiler_static_RC \
   19599     lt_prog_compiler_no_builtin_flag_RC \
   19600     export_dynamic_flag_spec_RC \
   19601     thread_safe_flag_spec_RC \
   19602     whole_archive_flag_spec_RC \
   19603     enable_shared_with_static_runtimes_RC \
   19604     old_archive_cmds_RC \
   19605     old_archive_from_new_cmds_RC \
   19606     predep_objects_RC \
   19607     postdep_objects_RC \
   19608     predeps_RC \
   19609     postdeps_RC \
   19610     compiler_lib_search_path_RC \
   19611     compiler_lib_search_dirs_RC \
   19612     archive_cmds_RC \
   19613     archive_expsym_cmds_RC \
   19614     postinstall_cmds_RC \
   19615     postuninstall_cmds_RC \
   19616     old_archive_from_expsyms_cmds_RC \
   19617     allow_undefined_flag_RC \
   19618     no_undefined_flag_RC \
   19619     export_symbols_cmds_RC \
   19620     hardcode_libdir_flag_spec_RC \
   19621     hardcode_libdir_flag_spec_ld_RC \
   19622     hardcode_libdir_separator_RC \
   19623     hardcode_automatic_RC \
   19624     module_cmds_RC \
   19625     module_expsym_cmds_RC \
   19626     lt_cv_prog_compiler_c_o_RC \
   19627     fix_srcfile_path_RC \
   19628     exclude_expsyms_RC \
   19629     include_expsyms_RC; do
   19630 
   19631     case $var in
   19632     old_archive_cmds_RC | \
   19633     old_archive_from_new_cmds_RC | \
   19634     archive_cmds_RC | \
   19635     archive_expsym_cmds_RC | \
   19636     module_cmds_RC | \
   19637     module_expsym_cmds_RC | \
   19638     old_archive_from_expsyms_cmds_RC | \
   19639     export_symbols_cmds_RC | \
   19640     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19641     postinstall_cmds | postuninstall_cmds | \
   19642     old_postinstall_cmds | old_postuninstall_cmds | \
   19643     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19644       # Double-quote double-evaled strings.
   19645       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19646       ;;
   19647     *)
   19648       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19649       ;;
   19650     esac
   19651   done
   19652 
   19653   case $lt_echo in
   19654   *'\$0 --fallback-echo"')
   19655     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19656     ;;
   19657   esac
   19658 
   19659 cfgfile="$ofile"
   19660 
   19661   cat <<__EOF__ >> "$cfgfile"
   19662 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19663 
   19664 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19665 
   19666 # Shell to use when invoking shell scripts.
   19667 SHELL=$lt_SHELL
   19668 
   19669 # Whether or not to build shared libraries.
   19670 build_libtool_libs=$enable_shared
   19671 
   19672 # Whether or not to build static libraries.
   19673 build_old_libs=$enable_static
   19674 
   19675 # Whether or not to add -lc for building shared libraries.
   19676 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19677 
   19678 # Whether or not to disallow shared libs when runtime libs are static
   19679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19680 
   19681 # Whether or not to optimize for fast installation.
   19682 fast_install=$enable_fast_install
   19683 
   19684 # The host system.
   19685 host_alias=$host_alias
   19686 host=$host
   19687 host_os=$host_os
   19688 
   19689 # The build system.
   19690 build_alias=$build_alias
   19691 build=$build
   19692 build_os=$build_os
   19693 
   19694 # An echo program that does not interpret backslashes.
   19695 echo=$lt_echo
   19696 
   19697 # The archiver.
   19698 AR=$lt_AR
   19699 AR_FLAGS=$lt_AR_FLAGS
   19700 
   19701 # A C compiler.
   19702 LTCC=$lt_LTCC
   19703 
   19704 # LTCC compiler flags.
   19705 LTCFLAGS=$lt_LTCFLAGS
   19706 
   19707 # A language-specific compiler.
   19708 CC=$lt_compiler_RC
   19709 
   19710 # Is the compiler the GNU C compiler?
   19711 with_gcc=$GCC_RC
   19712 
   19713 # An ERE matcher.
   19714 EGREP=$lt_EGREP
   19715 
   19716 # The linker used to build libraries.
   19717 LD=$lt_LD_RC
   19718 
   19719 # Whether we need hard or soft links.
   19720 LN_S=$lt_LN_S
   19721 
   19722 # A BSD-compatible nm program.
   19723 NM=$lt_NM
   19724 
   19725 # A symbol stripping program
   19726 STRIP=$lt_STRIP
   19727 
   19728 # Used to examine libraries when file_magic_cmd begins "file"
   19729 MAGIC_CMD=$MAGIC_CMD
   19730 
   19731 # Used on cygwin: DLL creation program.
   19732 DLLTOOL="$DLLTOOL"
   19733 
   19734 # Used on cygwin: object dumper.
   19735 OBJDUMP="$OBJDUMP"
   19736 
   19737 # Used on cygwin: assembler.
   19738 AS="$AS"
   19739 
   19740 # The name of the directory that contains temporary libtool files.
   19741 objdir=$objdir
   19742 
   19743 # How to create reloadable object files.
   19744 reload_flag=$lt_reload_flag
   19745 reload_cmds=$lt_reload_cmds
   19746 
   19747 # How to pass a linker flag through the compiler.
   19748 wl=$lt_lt_prog_compiler_wl_RC
   19749 
   19750 # Object file suffix (normally "o").
   19751 objext="$ac_objext"
   19752 
   19753 # Old archive suffix (normally "a").
   19754 libext="$libext"
   19755 
   19756 # Shared library suffix (normally ".so").
   19757 shrext_cmds='$shrext_cmds'
   19758 
   19759 # Executable file suffix (normally "").
   19760 exeext="$exeext"
   19761 
   19762 # Additional compiler flags for building library objects.
   19763 pic_flag=$lt_lt_prog_compiler_pic_RC
   19764 pic_mode=$pic_mode
   19765 
   19766 # What is the maximum length of a command?
   19767 max_cmd_len=$lt_cv_sys_max_cmd_len
   19768 
   19769 # Does compiler simultaneously support -c and -o options?
   19770 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19771 
   19772 # Must we lock files when doing compilation?
   19773 need_locks=$lt_need_locks
   19774 
   19775 # Do we need the lib prefix for modules?
   19776 need_lib_prefix=$need_lib_prefix
   19777 
   19778 # Do we need a version for libraries?
   19779 need_version=$need_version
   19780 
   19781 # Whether dlopen is supported.
   19782 dlopen_support=$enable_dlopen
   19783 
   19784 # Whether dlopen of programs is supported.
   19785 dlopen_self=$enable_dlopen_self
   19786 
   19787 # Whether dlopen of statically linked programs is supported.
   19788 dlopen_self_static=$enable_dlopen_self_static
   19789 
   19790 # Compiler flag to prevent dynamic linking.
   19791 link_static_flag=$lt_lt_prog_compiler_static_RC
   19792 
   19793 # Compiler flag to turn off builtin functions.
   19794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19795 
   19796 # Compiler flag to allow reflexive dlopens.
   19797 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19798 
   19799 # Compiler flag to generate shared objects directly from archives.
   19800 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19801 
   19802 # Compiler flag to generate thread-safe objects.
   19803 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19804 
   19805 # Library versioning type.
   19806 version_type=$version_type
   19807 
   19808 # Format of library name prefix.
   19809 libname_spec=$lt_libname_spec
   19810 
   19811 # List of archive names.  First name is the real one, the rest are links.
   19812 # The last name is the one that the linker finds with -lNAME.
   19813 library_names_spec=$lt_library_names_spec
   19814 
   19815 # The coded name of the library, if different from the real name.
   19816 soname_spec=$lt_soname_spec
   19817 
   19818 # Commands used to build and install an old-style archive.
   19819 RANLIB=$lt_RANLIB
   19820 old_archive_cmds=$lt_old_archive_cmds_RC
   19821 old_postinstall_cmds=$lt_old_postinstall_cmds
   19822 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19823 
   19824 # Create an old-style archive from a shared archive.
   19825 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19826 
   19827 # Create a temporary old-style archive to link instead of a shared archive.
   19828 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19829 
   19830 # Commands used to build and install a shared archive.
   19831 archive_cmds=$lt_archive_cmds_RC
   19832 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19833 postinstall_cmds=$lt_postinstall_cmds
   19834 postuninstall_cmds=$lt_postuninstall_cmds
   19835 
   19836 # Commands used to build a loadable module (assumed same as above if empty)
   19837 module_cmds=$lt_module_cmds_RC
   19838 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19839 
   19840 # Commands to strip libraries.
   19841 old_striplib=$lt_old_striplib
   19842 striplib=$lt_striplib
   19843 
   19844 # Dependencies to place before the objects being linked to create a
   19845 # shared library.
   19846 predep_objects=$lt_predep_objects_RC
   19847 
   19848 # Dependencies to place after the objects being linked to create a
   19849 # shared library.
   19850 postdep_objects=$lt_postdep_objects_RC
   19851 
   19852 # Dependencies to place before the objects being linked to create a
   19853 # shared library.
   19854 predeps=$lt_predeps_RC
   19855 
   19856 # Dependencies to place after the objects being linked to create a
   19857 # shared library.
   19858 postdeps=$lt_postdeps_RC
   19859 
   19860 # The directories searched by this compiler when creating a shared
   19861 # library
   19862 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19863 
   19864 # The library search path used internally by the compiler when linking
   19865 # a shared library.
   19866 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19867 
   19868 # Method to check whether dependent libraries are shared objects.
   19869 deplibs_check_method=$lt_deplibs_check_method
   19870 
   19871 # Command to use when deplibs_check_method == file_magic.
   19872 file_magic_cmd=$lt_file_magic_cmd
   19873 
   19874 # Flag that allows shared libraries with undefined symbols to be built.
   19875 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19876 
   19877 # Flag that forces no undefined symbols.
   19878 no_undefined_flag=$lt_no_undefined_flag_RC
   19879 
   19880 # Commands used to finish a libtool library installation in a directory.
   19881 finish_cmds=$lt_finish_cmds
   19882 
   19883 # Same as above, but a single script fragment to be evaled but not shown.
   19884 finish_eval=$lt_finish_eval
   19885 
   19886 # Take the output of nm and produce a listing of raw symbols and C names.
   19887 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19888 
   19889 # Transform the output of nm in a proper C declaration
   19890 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19891 
   19892 # Transform the output of nm in a C name address pair
   19893 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19894 
   19895 # This is the shared library runtime path variable.
   19896 runpath_var=$runpath_var
   19897 
   19898 # This is the shared library path variable.
   19899 shlibpath_var=$shlibpath_var
   19900 
   19901 # Is shlibpath searched before the hard-coded library search path?
   19902 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19903 
   19904 # How to hardcode a shared library path into an executable.
   19905 hardcode_action=$hardcode_action_RC
   19906 
   19907 # Whether we should hardcode library paths into libraries.
   19908 hardcode_into_libs=$hardcode_into_libs
   19909 
   19910 # Flag to hardcode \$libdir into a binary during linking.
   19911 # This must work even if \$libdir does not exist.
   19912 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19913 
   19914 # If ld is used when linking, flag to hardcode \$libdir into
   19915 # a binary during linking. This must work even if \$libdir does
   19916 # not exist.
   19917 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19918 
   19919 # Whether we need a single -rpath flag with a separated argument.
   19920 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19921 
   19922 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19923 # resulting binary.
   19924 hardcode_direct=$hardcode_direct_RC
   19925 
   19926 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19927 # resulting binary.
   19928 hardcode_minus_L=$hardcode_minus_L_RC
   19929 
   19930 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19931 # the resulting binary.
   19932 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19933 
   19934 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19935 # and all subsequent libraries and executables linked against it.
   19936 hardcode_automatic=$hardcode_automatic_RC
   19937 
   19938 # Variables whose values should be saved in libtool wrapper scripts and
   19939 # restored at relink time.
   19940 variables_saved_for_relink="$variables_saved_for_relink"
   19941 
   19942 # Whether libtool must link a program against all its dependency libraries.
   19943 link_all_deplibs=$link_all_deplibs_RC
   19944 
   19945 # Compile-time system search path for libraries
   19946 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19947 
   19948 # Run-time system search path for libraries
   19949 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19950 
   19951 # Fix the shell variable \$srcfile for the compiler.
   19952 fix_srcfile_path=$lt_fix_srcfile_path
   19953 
   19954 # Set to yes if exported symbols are required.
   19955 always_export_symbols=$always_export_symbols_RC
   19956 
   19957 # The commands to list exported symbols.
   19958 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19959 
   19960 # The commands to extract the exported symbol list from a shared archive.
   19961 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19962 
   19963 # Symbols that should not be listed in the preloaded symbols.
   19964 exclude_expsyms=$lt_exclude_expsyms_RC
   19965 
   19966 # Symbols that must always be exported.
   19967 include_expsyms=$lt_include_expsyms_RC
   19968 
   19969 # ### END LIBTOOL TAG CONFIG: $tagname
   19970 
   19971 __EOF__
   19972 
   19973 
   19974 else
   19975   # If there is no Makefile yet, we rely on a make rule to execute
   19976   # `config.status --recheck' to rerun these tests and create the
   19977   # libtool script then.
   19978   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19979   if test -f "$ltmain_in"; then
   19980     test -f Makefile && make "$ltmain"
   19981   fi
   19982 fi
   19983 
   19984 
   19985 ac_ext=c
   19986 ac_cpp='$CPP $CPPFLAGS'
   19987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19990 
   19991 CC="$lt_save_CC"
   19992 
   19993 	;;
   19994 
   19995       *)
   19996 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19997 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19998    { (exit 1); exit 1; }; }
   19999 	;;
   20000       esac
   20001 
   20002       # Append the new tag name to the list of available tags.
   20003       if test -n "$tagname" ; then
   20004       available_tags="$available_tags $tagname"
   20005     fi
   20006     fi
   20007   done
   20008   IFS="$lt_save_ifs"
   20009 
   20010   # Now substitute the updated list of available tags.
   20011   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20012     mv "${ofile}T" "$ofile"
   20013     chmod +x "$ofile"
   20014   else
   20015     rm -f "${ofile}T"
   20016     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20017 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20018    { (exit 1); exit 1; }; }
   20019   fi
   20020 fi
   20021 
   20022 
   20023 
   20024 # This can be used to rebuild libtool when needed
   20025 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20026 
   20027 # Always use our own libtool.
   20028 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20029 
   20030 # Prevent multiple expansion
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 case $host_cpu in
   20052     sparc*)
   20053         CCASFLAGS="-x assembler-with-cpp -Wa,-Av9a"
   20054         SPARC=yes
   20055 esac
   20056 # By default we simply use the C compiler to build assembly code.
   20057 
   20058 test "${CCAS+set}" = set || CCAS=$CC
   20059 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   20060 
   20061 
   20062 
   20063 depcc="$CCAS"   am_compiler_list=
   20064 
   20065 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20066 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20067 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
   20068   $as_echo_n "(cached) " >&6
   20069 else
   20070   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20071   # We make a subdir and do the tests there.  Otherwise we can end up
   20072   # making bogus files that we don't know about and never remove.  For
   20073   # instance it was reported that on HP-UX the gcc test will end up
   20074   # making a dummy file named `D' -- because `-MD' means `put the output
   20075   # in D'.
   20076   mkdir conftest.dir
   20077   # Copy depcomp to subdir because otherwise we won't find it if we're
   20078   # using a relative directory.
   20079   cp "$am_depcomp" conftest.dir
   20080   cd conftest.dir
   20081   # We will build objects and dependencies in a subdirectory because
   20082   # it helps to detect inapplicable dependency modes.  For instance
   20083   # both Tru64's cc and ICC support -MD to output dependencies as a
   20084   # side effect of compilation, but ICC will put the dependencies in
   20085   # the current directory while Tru64 will put them in the object
   20086   # directory.
   20087   mkdir sub
   20088 
   20089   am_cv_CCAS_dependencies_compiler_type=none
   20090   if test "$am_compiler_list" = ""; then
   20091      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20092   fi
   20093   am__universal=false
   20094 
   20095 
   20096   for depmode in $am_compiler_list; do
   20097     # Setup a source with many dependencies, because some compilers
   20098     # like to wrap large dependency lists on column 80 (with \), and
   20099     # we should not choose a depcomp mode which is confused by this.
   20100     #
   20101     # We need to recreate these files for each test, as the compiler may
   20102     # overwrite some of them when testing with obscure command lines.
   20103     # This happens at least with the AIX C compiler.
   20104     : > sub/conftest.c
   20105     for i in 1 2 3 4 5 6; do
   20106       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20107       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20108       # Solaris 8's {/usr,}/bin/sh.
   20109       touch sub/conftst$i.h
   20110     done
   20111     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20112 
   20113     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20114     # mode.  It turns out that the SunPro C++ compiler does not properly
   20115     # handle `-M -o', and we need to detect this.  Also, some Intel
   20116     # versions had trouble with output in subdirs
   20117     am__obj=sub/conftest.${OBJEXT-o}
   20118     am__minus_obj="-o $am__obj"
   20119     case $depmode in
   20120     gcc)
   20121       # This depmode causes a compiler race in universal mode.
   20122       test "$am__universal" = false || continue
   20123       ;;
   20124     nosideeffect)
   20125       # after this tag, mechanisms are not by side-effect, so they'll
   20126       # only be used when explicitly requested
   20127       if test "x$enable_dependency_tracking" = xyes; then
   20128 	continue
   20129       else
   20130 	break
   20131       fi
   20132       ;;
   20133     msvisualcpp | msvcmsys)
   20134       # This compiler won't grok `-c -o', but also, the minuso test has
   20135       # not run yet.  These depmodes are late enough in the game, and
   20136       # so weak that their functioning should not be impacted.
   20137       am__obj=conftest.${OBJEXT-o}
   20138       am__minus_obj=
   20139       ;;
   20140     none) break ;;
   20141     esac
   20142     if depmode=$depmode \
   20143        source=sub/conftest.c object=$am__obj \
   20144        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20145        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20146          >/dev/null 2>conftest.err &&
   20147        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20148        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20149        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20150        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20151       # icc doesn't choke on unknown options, it will just issue warnings
   20152       # or remarks (even with -Werror).  So we grep stderr for any message
   20153       # that says an option was ignored or not supported.
   20154       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20155       #   icc: Command line warning: ignoring option '-M'; no argument required
   20156       # The diagnosis changed in icc 8.0:
   20157       #   icc: Command line remark: option '-MP' not supported
   20158       if (grep 'ignoring option' conftest.err ||
   20159           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20160         am_cv_CCAS_dependencies_compiler_type=$depmode
   20161         break
   20162       fi
   20163     fi
   20164   done
   20165 
   20166   cd ..
   20167   rm -rf conftest.dir
   20168 else
   20169   am_cv_CCAS_dependencies_compiler_type=none
   20170 fi
   20171 
   20172 fi
   20173 { $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   20174 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   20175 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   20176 
   20177  if
   20178   test "x$enable_dependency_tracking" != xno \
   20179   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   20180   am__fastdepCCAS_TRUE=
   20181   am__fastdepCCAS_FALSE='#'
   20182 else
   20183   am__fastdepCCAS_TRUE='#'
   20184   am__fastdepCCAS_FALSE=
   20185 fi
   20186 
   20187 
   20188 ac_ext=c
   20189 ac_cpp='$CPP $CPPFLAGS'
   20190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20193 if test -n "$ac_tool_prefix"; then
   20194   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20195 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20196 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20197 $as_echo_n "checking for $ac_word... " >&6; }
   20198 if test "${ac_cv_prog_CC+set}" = set; then
   20199   $as_echo_n "(cached) " >&6
   20200 else
   20201   if test -n "$CC"; then
   20202   ac_cv_prog_CC="$CC" # Let the user override the test.
   20203 else
   20204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20205 for as_dir in $PATH
   20206 do
   20207   IFS=$as_save_IFS
   20208   test -z "$as_dir" && as_dir=.
   20209   for ac_exec_ext in '' $ac_executable_extensions; do
   20210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20211     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20213     break 2
   20214   fi
   20215 done
   20216 done
   20217 IFS=$as_save_IFS
   20218 
   20219 fi
   20220 fi
   20221 CC=$ac_cv_prog_CC
   20222 if test -n "$CC"; then
   20223   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20224 $as_echo "$CC" >&6; }
   20225 else
   20226   { $as_echo "$as_me:$LINENO: result: no" >&5
   20227 $as_echo "no" >&6; }
   20228 fi
   20229 
   20230 
   20231 fi
   20232 if test -z "$ac_cv_prog_CC"; then
   20233   ac_ct_CC=$CC
   20234   # Extract the first word of "gcc", so it can be a program name with args.
   20235 set dummy gcc; ac_word=$2
   20236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20237 $as_echo_n "checking for $ac_word... " >&6; }
   20238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20239   $as_echo_n "(cached) " >&6
   20240 else
   20241   if test -n "$ac_ct_CC"; then
   20242   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20243 else
   20244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20245 for as_dir in $PATH
   20246 do
   20247   IFS=$as_save_IFS
   20248   test -z "$as_dir" && as_dir=.
   20249   for ac_exec_ext in '' $ac_executable_extensions; do
   20250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20251     ac_cv_prog_ac_ct_CC="gcc"
   20252     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20253     break 2
   20254   fi
   20255 done
   20256 done
   20257 IFS=$as_save_IFS
   20258 
   20259 fi
   20260 fi
   20261 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20262 if test -n "$ac_ct_CC"; then
   20263   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20264 $as_echo "$ac_ct_CC" >&6; }
   20265 else
   20266   { $as_echo "$as_me:$LINENO: result: no" >&5
   20267 $as_echo "no" >&6; }
   20268 fi
   20269 
   20270   if test "x$ac_ct_CC" = x; then
   20271     CC=""
   20272   else
   20273     case $cross_compiling:$ac_tool_warned in
   20274 yes:)
   20275 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20277 ac_tool_warned=yes ;;
   20278 esac
   20279     CC=$ac_ct_CC
   20280   fi
   20281 else
   20282   CC="$ac_cv_prog_CC"
   20283 fi
   20284 
   20285 if test -z "$CC"; then
   20286           if test -n "$ac_tool_prefix"; then
   20287     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20288 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20289 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20290 $as_echo_n "checking for $ac_word... " >&6; }
   20291 if test "${ac_cv_prog_CC+set}" = set; then
   20292   $as_echo_n "(cached) " >&6
   20293 else
   20294   if test -n "$CC"; then
   20295   ac_cv_prog_CC="$CC" # Let the user override the test.
   20296 else
   20297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20298 for as_dir in $PATH
   20299 do
   20300   IFS=$as_save_IFS
   20301   test -z "$as_dir" && as_dir=.
   20302   for ac_exec_ext in '' $ac_executable_extensions; do
   20303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20304     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20305     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20306     break 2
   20307   fi
   20308 done
   20309 done
   20310 IFS=$as_save_IFS
   20311 
   20312 fi
   20313 fi
   20314 CC=$ac_cv_prog_CC
   20315 if test -n "$CC"; then
   20316   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20317 $as_echo "$CC" >&6; }
   20318 else
   20319   { $as_echo "$as_me:$LINENO: result: no" >&5
   20320 $as_echo "no" >&6; }
   20321 fi
   20322 
   20323 
   20324   fi
   20325 fi
   20326 if test -z "$CC"; then
   20327   # Extract the first word of "cc", so it can be a program name with args.
   20328 set dummy cc; ac_word=$2
   20329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20330 $as_echo_n "checking for $ac_word... " >&6; }
   20331 if test "${ac_cv_prog_CC+set}" = set; then
   20332   $as_echo_n "(cached) " >&6
   20333 else
   20334   if test -n "$CC"; then
   20335   ac_cv_prog_CC="$CC" # Let the user override the test.
   20336 else
   20337   ac_prog_rejected=no
   20338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20339 for as_dir in $PATH
   20340 do
   20341   IFS=$as_save_IFS
   20342   test -z "$as_dir" && as_dir=.
   20343   for ac_exec_ext in '' $ac_executable_extensions; do
   20344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20345     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20346        ac_prog_rejected=yes
   20347        continue
   20348      fi
   20349     ac_cv_prog_CC="cc"
   20350     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20351     break 2
   20352   fi
   20353 done
   20354 done
   20355 IFS=$as_save_IFS
   20356 
   20357 if test $ac_prog_rejected = yes; then
   20358   # We found a bogon in the path, so make sure we never use it.
   20359   set dummy $ac_cv_prog_CC
   20360   shift
   20361   if test $# != 0; then
   20362     # We chose a different compiler from the bogus one.
   20363     # However, it has the same basename, so the bogon will be chosen
   20364     # first if we set CC to just the basename; use the full file name.
   20365     shift
   20366     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20367   fi
   20368 fi
   20369 fi
   20370 fi
   20371 CC=$ac_cv_prog_CC
   20372 if test -n "$CC"; then
   20373   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20374 $as_echo "$CC" >&6; }
   20375 else
   20376   { $as_echo "$as_me:$LINENO: result: no" >&5
   20377 $as_echo "no" >&6; }
   20378 fi
   20379 
   20380 
   20381 fi
   20382 if test -z "$CC"; then
   20383   if test -n "$ac_tool_prefix"; then
   20384   for ac_prog in cl.exe
   20385   do
   20386     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20388 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20389 $as_echo_n "checking for $ac_word... " >&6; }
   20390 if test "${ac_cv_prog_CC+set}" = set; then
   20391   $as_echo_n "(cached) " >&6
   20392 else
   20393   if test -n "$CC"; then
   20394   ac_cv_prog_CC="$CC" # Let the user override the test.
   20395 else
   20396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20397 for as_dir in $PATH
   20398 do
   20399   IFS=$as_save_IFS
   20400   test -z "$as_dir" && as_dir=.
   20401   for ac_exec_ext in '' $ac_executable_extensions; do
   20402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20403     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20404     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20405     break 2
   20406   fi
   20407 done
   20408 done
   20409 IFS=$as_save_IFS
   20410 
   20411 fi
   20412 fi
   20413 CC=$ac_cv_prog_CC
   20414 if test -n "$CC"; then
   20415   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20416 $as_echo "$CC" >&6; }
   20417 else
   20418   { $as_echo "$as_me:$LINENO: result: no" >&5
   20419 $as_echo "no" >&6; }
   20420 fi
   20421 
   20422 
   20423     test -n "$CC" && break
   20424   done
   20425 fi
   20426 if test -z "$CC"; then
   20427   ac_ct_CC=$CC
   20428   for ac_prog in cl.exe
   20429 do
   20430   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20431 set dummy $ac_prog; ac_word=$2
   20432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20433 $as_echo_n "checking for $ac_word... " >&6; }
   20434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20435   $as_echo_n "(cached) " >&6
   20436 else
   20437   if test -n "$ac_ct_CC"; then
   20438   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20439 else
   20440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20441 for as_dir in $PATH
   20442 do
   20443   IFS=$as_save_IFS
   20444   test -z "$as_dir" && as_dir=.
   20445   for ac_exec_ext in '' $ac_executable_extensions; do
   20446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20447     ac_cv_prog_ac_ct_CC="$ac_prog"
   20448     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20449     break 2
   20450   fi
   20451 done
   20452 done
   20453 IFS=$as_save_IFS
   20454 
   20455 fi
   20456 fi
   20457 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20458 if test -n "$ac_ct_CC"; then
   20459   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20460 $as_echo "$ac_ct_CC" >&6; }
   20461 else
   20462   { $as_echo "$as_me:$LINENO: result: no" >&5
   20463 $as_echo "no" >&6; }
   20464 fi
   20465 
   20466 
   20467   test -n "$ac_ct_CC" && break
   20468 done
   20469 
   20470   if test "x$ac_ct_CC" = x; then
   20471     CC=""
   20472   else
   20473     case $cross_compiling:$ac_tool_warned in
   20474 yes:)
   20475 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20477 ac_tool_warned=yes ;;
   20478 esac
   20479     CC=$ac_ct_CC
   20480   fi
   20481 fi
   20482 
   20483 fi
   20484 
   20485 
   20486 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20488 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20489 See \`config.log' for more details." >&5
   20490 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20491 See \`config.log' for more details." >&2;}
   20492    { (exit 1); exit 1; }; }; }
   20493 
   20494 # Provide some information about the compiler.
   20495 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20496 set X $ac_compile
   20497 ac_compiler=$2
   20498 { (ac_try="$ac_compiler --version >&5"
   20499 case "(($ac_try" in
   20500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20501   *) ac_try_echo=$ac_try;;
   20502 esac
   20503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20504 $as_echo "$ac_try_echo") >&5
   20505   (eval "$ac_compiler --version >&5") 2>&5
   20506   ac_status=$?
   20507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20508   (exit $ac_status); }
   20509 { (ac_try="$ac_compiler -v >&5"
   20510 case "(($ac_try" in
   20511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20512   *) ac_try_echo=$ac_try;;
   20513 esac
   20514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20515 $as_echo "$ac_try_echo") >&5
   20516   (eval "$ac_compiler -v >&5") 2>&5
   20517   ac_status=$?
   20518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20519   (exit $ac_status); }
   20520 { (ac_try="$ac_compiler -V >&5"
   20521 case "(($ac_try" in
   20522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20523   *) ac_try_echo=$ac_try;;
   20524 esac
   20525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20526 $as_echo "$ac_try_echo") >&5
   20527   (eval "$ac_compiler -V >&5") 2>&5
   20528   ac_status=$?
   20529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20530   (exit $ac_status); }
   20531 
   20532 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20534 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20535   $as_echo_n "(cached) " >&6
   20536 else
   20537   cat >conftest.$ac_ext <<_ACEOF
   20538 /* confdefs.h.  */
   20539 _ACEOF
   20540 cat confdefs.h >>conftest.$ac_ext
   20541 cat >>conftest.$ac_ext <<_ACEOF
   20542 /* end confdefs.h.  */
   20543 
   20544 int
   20545 main ()
   20546 {
   20547 #ifndef __GNUC__
   20548        choke me
   20549 #endif
   20550 
   20551   ;
   20552   return 0;
   20553 }
   20554 _ACEOF
   20555 rm -f conftest.$ac_objext
   20556 if { (ac_try="$ac_compile"
   20557 case "(($ac_try" in
   20558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20559   *) ac_try_echo=$ac_try;;
   20560 esac
   20561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20562 $as_echo "$ac_try_echo") >&5
   20563   (eval "$ac_compile") 2>conftest.er1
   20564   ac_status=$?
   20565   grep -v '^ *+' conftest.er1 >conftest.err
   20566   rm -f conftest.er1
   20567   cat conftest.err >&5
   20568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20569   (exit $ac_status); } && {
   20570 	 test -z "$ac_c_werror_flag" ||
   20571 	 test ! -s conftest.err
   20572        } && test -s conftest.$ac_objext; then
   20573   ac_compiler_gnu=yes
   20574 else
   20575   $as_echo "$as_me: failed program was:" >&5
   20576 sed 's/^/| /' conftest.$ac_ext >&5
   20577 
   20578 	ac_compiler_gnu=no
   20579 fi
   20580 
   20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20582 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20583 
   20584 fi
   20585 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20586 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20587 if test $ac_compiler_gnu = yes; then
   20588   GCC=yes
   20589 else
   20590   GCC=
   20591 fi
   20592 ac_test_CFLAGS=${CFLAGS+set}
   20593 ac_save_CFLAGS=$CFLAGS
   20594 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20595 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20596 if test "${ac_cv_prog_cc_g+set}" = set; then
   20597   $as_echo_n "(cached) " >&6
   20598 else
   20599   ac_save_c_werror_flag=$ac_c_werror_flag
   20600    ac_c_werror_flag=yes
   20601    ac_cv_prog_cc_g=no
   20602    CFLAGS="-g"
   20603    cat >conftest.$ac_ext <<_ACEOF
   20604 /* confdefs.h.  */
   20605 _ACEOF
   20606 cat confdefs.h >>conftest.$ac_ext
   20607 cat >>conftest.$ac_ext <<_ACEOF
   20608 /* end confdefs.h.  */
   20609 
   20610 int
   20611 main ()
   20612 {
   20613 
   20614   ;
   20615   return 0;
   20616 }
   20617 _ACEOF
   20618 rm -f conftest.$ac_objext
   20619 if { (ac_try="$ac_compile"
   20620 case "(($ac_try" in
   20621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20622   *) ac_try_echo=$ac_try;;
   20623 esac
   20624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20625 $as_echo "$ac_try_echo") >&5
   20626   (eval "$ac_compile") 2>conftest.er1
   20627   ac_status=$?
   20628   grep -v '^ *+' conftest.er1 >conftest.err
   20629   rm -f conftest.er1
   20630   cat conftest.err >&5
   20631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20632   (exit $ac_status); } && {
   20633 	 test -z "$ac_c_werror_flag" ||
   20634 	 test ! -s conftest.err
   20635        } && test -s conftest.$ac_objext; then
   20636   ac_cv_prog_cc_g=yes
   20637 else
   20638   $as_echo "$as_me: failed program was:" >&5
   20639 sed 's/^/| /' conftest.$ac_ext >&5
   20640 
   20641 	CFLAGS=""
   20642       cat >conftest.$ac_ext <<_ACEOF
   20643 /* confdefs.h.  */
   20644 _ACEOF
   20645 cat confdefs.h >>conftest.$ac_ext
   20646 cat >>conftest.$ac_ext <<_ACEOF
   20647 /* end confdefs.h.  */
   20648 
   20649 int
   20650 main ()
   20651 {
   20652 
   20653   ;
   20654   return 0;
   20655 }
   20656 _ACEOF
   20657 rm -f conftest.$ac_objext
   20658 if { (ac_try="$ac_compile"
   20659 case "(($ac_try" in
   20660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20661   *) ac_try_echo=$ac_try;;
   20662 esac
   20663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20664 $as_echo "$ac_try_echo") >&5
   20665   (eval "$ac_compile") 2>conftest.er1
   20666   ac_status=$?
   20667   grep -v '^ *+' conftest.er1 >conftest.err
   20668   rm -f conftest.er1
   20669   cat conftest.err >&5
   20670   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20671   (exit $ac_status); } && {
   20672 	 test -z "$ac_c_werror_flag" ||
   20673 	 test ! -s conftest.err
   20674        } && test -s conftest.$ac_objext; then
   20675   :
   20676 else
   20677   $as_echo "$as_me: failed program was:" >&5
   20678 sed 's/^/| /' conftest.$ac_ext >&5
   20679 
   20680 	ac_c_werror_flag=$ac_save_c_werror_flag
   20681 	 CFLAGS="-g"
   20682 	 cat >conftest.$ac_ext <<_ACEOF
   20683 /* confdefs.h.  */
   20684 _ACEOF
   20685 cat confdefs.h >>conftest.$ac_ext
   20686 cat >>conftest.$ac_ext <<_ACEOF
   20687 /* end confdefs.h.  */
   20688 
   20689 int
   20690 main ()
   20691 {
   20692 
   20693   ;
   20694   return 0;
   20695 }
   20696 _ACEOF
   20697 rm -f conftest.$ac_objext
   20698 if { (ac_try="$ac_compile"
   20699 case "(($ac_try" in
   20700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20701   *) ac_try_echo=$ac_try;;
   20702 esac
   20703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20704 $as_echo "$ac_try_echo") >&5
   20705   (eval "$ac_compile") 2>conftest.er1
   20706   ac_status=$?
   20707   grep -v '^ *+' conftest.er1 >conftest.err
   20708   rm -f conftest.er1
   20709   cat conftest.err >&5
   20710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20711   (exit $ac_status); } && {
   20712 	 test -z "$ac_c_werror_flag" ||
   20713 	 test ! -s conftest.err
   20714        } && test -s conftest.$ac_objext; then
   20715   ac_cv_prog_cc_g=yes
   20716 else
   20717   $as_echo "$as_me: failed program was:" >&5
   20718 sed 's/^/| /' conftest.$ac_ext >&5
   20719 
   20720 
   20721 fi
   20722 
   20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20724 fi
   20725 
   20726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20727 fi
   20728 
   20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20730    ac_c_werror_flag=$ac_save_c_werror_flag
   20731 fi
   20732 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20733 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20734 if test "$ac_test_CFLAGS" = set; then
   20735   CFLAGS=$ac_save_CFLAGS
   20736 elif test $ac_cv_prog_cc_g = yes; then
   20737   if test "$GCC" = yes; then
   20738     CFLAGS="-g -O2"
   20739   else
   20740     CFLAGS="-g"
   20741   fi
   20742 else
   20743   if test "$GCC" = yes; then
   20744     CFLAGS="-O2"
   20745   else
   20746     CFLAGS=
   20747   fi
   20748 fi
   20749 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20750 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20751 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20752   $as_echo_n "(cached) " >&6
   20753 else
   20754   ac_cv_prog_cc_c89=no
   20755 ac_save_CC=$CC
   20756 cat >conftest.$ac_ext <<_ACEOF
   20757 /* confdefs.h.  */
   20758 _ACEOF
   20759 cat confdefs.h >>conftest.$ac_ext
   20760 cat >>conftest.$ac_ext <<_ACEOF
   20761 /* end confdefs.h.  */
   20762 #include <stdarg.h>
   20763 #include <stdio.h>
   20764 #include <sys/types.h>
   20765 #include <sys/stat.h>
   20766 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20767 struct buf { int x; };
   20768 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20769 static char *e (p, i)
   20770      char **p;
   20771      int i;
   20772 {
   20773   return p[i];
   20774 }
   20775 static char *f (char * (*g) (char **, int), char **p, ...)
   20776 {
   20777   char *s;
   20778   va_list v;
   20779   va_start (v,p);
   20780   s = g (p, va_arg (v,int));
   20781   va_end (v);
   20782   return s;
   20783 }
   20784 
   20785 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20786    function prototypes and stuff, but not '\xHH' hex character constants.
   20787    These don't provoke an error unfortunately, instead are silently treated
   20788    as 'x'.  The following induces an error, until -std is added to get
   20789    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20790    array size at least.  It's necessary to write '\x00'==0 to get something
   20791    that's true only with -std.  */
   20792 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20793 
   20794 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20795    inside strings and character constants.  */
   20796 #define FOO(x) 'x'
   20797 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20798 
   20799 int test (int i, double x);
   20800 struct s1 {int (*f) (int a);};
   20801 struct s2 {int (*f) (double a);};
   20802 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20803 int argc;
   20804 char **argv;
   20805 int
   20806 main ()
   20807 {
   20808 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20809   ;
   20810   return 0;
   20811 }
   20812 _ACEOF
   20813 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20814 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20815 do
   20816   CC="$ac_save_CC $ac_arg"
   20817   rm -f conftest.$ac_objext
   20818 if { (ac_try="$ac_compile"
   20819 case "(($ac_try" in
   20820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20821   *) ac_try_echo=$ac_try;;
   20822 esac
   20823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20824 $as_echo "$ac_try_echo") >&5
   20825   (eval "$ac_compile") 2>conftest.er1
   20826   ac_status=$?
   20827   grep -v '^ *+' conftest.er1 >conftest.err
   20828   rm -f conftest.er1
   20829   cat conftest.err >&5
   20830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20831   (exit $ac_status); } && {
   20832 	 test -z "$ac_c_werror_flag" ||
   20833 	 test ! -s conftest.err
   20834        } && test -s conftest.$ac_objext; then
   20835   ac_cv_prog_cc_c89=$ac_arg
   20836 else
   20837   $as_echo "$as_me: failed program was:" >&5
   20838 sed 's/^/| /' conftest.$ac_ext >&5
   20839 
   20840 
   20841 fi
   20842 
   20843 rm -f core conftest.err conftest.$ac_objext
   20844   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20845 done
   20846 rm -f conftest.$ac_ext
   20847 CC=$ac_save_CC
   20848 
   20849 fi
   20850 # AC_CACHE_VAL
   20851 case "x$ac_cv_prog_cc_c89" in
   20852   x)
   20853     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20854 $as_echo "none needed" >&6; } ;;
   20855   xno)
   20856     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20857 $as_echo "unsupported" >&6; } ;;
   20858   *)
   20859     CC="$CC $ac_cv_prog_cc_c89"
   20860     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20861 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20862 esac
   20863 
   20864 
   20865 ac_ext=c
   20866 ac_cpp='$CPP $CPPFLAGS'
   20867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20870 
   20871 depcc="$CC"   am_compiler_list=
   20872 
   20873 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20874 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20875 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20876   $as_echo_n "(cached) " >&6
   20877 else
   20878   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20879   # We make a subdir and do the tests there.  Otherwise we can end up
   20880   # making bogus files that we don't know about and never remove.  For
   20881   # instance it was reported that on HP-UX the gcc test will end up
   20882   # making a dummy file named `D' -- because `-MD' means `put the output
   20883   # in D'.
   20884   mkdir conftest.dir
   20885   # Copy depcomp to subdir because otherwise we won't find it if we're
   20886   # using a relative directory.
   20887   cp "$am_depcomp" conftest.dir
   20888   cd conftest.dir
   20889   # We will build objects and dependencies in a subdirectory because
   20890   # it helps to detect inapplicable dependency modes.  For instance
   20891   # both Tru64's cc and ICC support -MD to output dependencies as a
   20892   # side effect of compilation, but ICC will put the dependencies in
   20893   # the current directory while Tru64 will put them in the object
   20894   # directory.
   20895   mkdir sub
   20896 
   20897   am_cv_CC_dependencies_compiler_type=none
   20898   if test "$am_compiler_list" = ""; then
   20899      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20900   fi
   20901   am__universal=false
   20902   case " $depcc " in #(
   20903      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20904      esac
   20905 
   20906   for depmode in $am_compiler_list; do
   20907     # Setup a source with many dependencies, because some compilers
   20908     # like to wrap large dependency lists on column 80 (with \), and
   20909     # we should not choose a depcomp mode which is confused by this.
   20910     #
   20911     # We need to recreate these files for each test, as the compiler may
   20912     # overwrite some of them when testing with obscure command lines.
   20913     # This happens at least with the AIX C compiler.
   20914     : > sub/conftest.c
   20915     for i in 1 2 3 4 5 6; do
   20916       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20917       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20918       # Solaris 8's {/usr,}/bin/sh.
   20919       touch sub/conftst$i.h
   20920     done
   20921     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20922 
   20923     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20924     # mode.  It turns out that the SunPro C++ compiler does not properly
   20925     # handle `-M -o', and we need to detect this.  Also, some Intel
   20926     # versions had trouble with output in subdirs
   20927     am__obj=sub/conftest.${OBJEXT-o}
   20928     am__minus_obj="-o $am__obj"
   20929     case $depmode in
   20930     gcc)
   20931       # This depmode causes a compiler race in universal mode.
   20932       test "$am__universal" = false || continue
   20933       ;;
   20934     nosideeffect)
   20935       # after this tag, mechanisms are not by side-effect, so they'll
   20936       # only be used when explicitly requested
   20937       if test "x$enable_dependency_tracking" = xyes; then
   20938 	continue
   20939       else
   20940 	break
   20941       fi
   20942       ;;
   20943     msvisualcpp | msvcmsys)
   20944       # This compiler won't grok `-c -o', but also, the minuso test has
   20945       # not run yet.  These depmodes are late enough in the game, and
   20946       # so weak that their functioning should not be impacted.
   20947       am__obj=conftest.${OBJEXT-o}
   20948       am__minus_obj=
   20949       ;;
   20950     none) break ;;
   20951     esac
   20952     if depmode=$depmode \
   20953        source=sub/conftest.c object=$am__obj \
   20954        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20955        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20956          >/dev/null 2>conftest.err &&
   20957        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20958        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20959        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20960        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20961       # icc doesn't choke on unknown options, it will just issue warnings
   20962       # or remarks (even with -Werror).  So we grep stderr for any message
   20963       # that says an option was ignored or not supported.
   20964       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20965       #   icc: Command line warning: ignoring option '-M'; no argument required
   20966       # The diagnosis changed in icc 8.0:
   20967       #   icc: Command line remark: option '-MP' not supported
   20968       if (grep 'ignoring option' conftest.err ||
   20969           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20970         am_cv_CC_dependencies_compiler_type=$depmode
   20971         break
   20972       fi
   20973     fi
   20974   done
   20975 
   20976   cd ..
   20977   rm -rf conftest.dir
   20978 else
   20979   am_cv_CC_dependencies_compiler_type=none
   20980 fi
   20981 
   20982 fi
   20983 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20984 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20985 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20986 
   20987  if
   20988   test "x$enable_dependency_tracking" != xno \
   20989   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20990   am__fastdepCC_TRUE=
   20991   am__fastdepCC_FALSE='#'
   20992 else
   20993   am__fastdepCC_TRUE='#'
   20994   am__fastdepCC_FALSE=
   20995 fi
   20996 
   20997 
   20998 
   20999 
   21000 
   21001 
   21002 
   21003 # Check whether --with-xorg-module-dir was given.
   21004 if test "${with_xorg_module_dir+set}" = set; then
   21005   withval=$with_xorg_module_dir; moduledir="$withval"
   21006 else
   21007   moduledir="$libdir/xorg/modules"
   21008 fi
   21009 
   21010 
   21011 # Checks for extensions
   21012 
   21013 	SAVE_CFLAGS="$CFLAGS"
   21014 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21015 	cat >conftest.$ac_ext <<_ACEOF
   21016 /* confdefs.h.  */
   21017 _ACEOF
   21018 cat confdefs.h >>conftest.$ac_ext
   21019 cat >>conftest.$ac_ext <<_ACEOF
   21020 /* end confdefs.h.  */
   21021 
   21022 #include "xorg-server.h"
   21023 #if !defined RANDR
   21024 #error RANDR not defined
   21025 #endif
   21026 
   21027 int
   21028 main ()
   21029 {
   21030 
   21031   ;
   21032   return 0;
   21033 }
   21034 _ACEOF
   21035 rm -f conftest.$ac_objext
   21036 if { (ac_try="$ac_compile"
   21037 case "(($ac_try" in
   21038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21039   *) ac_try_echo=$ac_try;;
   21040 esac
   21041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21042 $as_echo "$ac_try_echo") >&5
   21043   (eval "$ac_compile") 2>conftest.er1
   21044   ac_status=$?
   21045   grep -v '^ *+' conftest.er1 >conftest.err
   21046   rm -f conftest.er1
   21047   cat conftest.err >&5
   21048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21049   (exit $ac_status); } && {
   21050 	 test -z "$ac_c_werror_flag" ||
   21051 	 test ! -s conftest.err
   21052        } && test -s conftest.$ac_objext; then
   21053   _EXT_CHECK=yes
   21054 else
   21055   $as_echo "$as_me: failed program was:" >&5
   21056 sed 's/^/| /' conftest.$ac_ext >&5
   21057 
   21058 	_EXT_CHECK=no
   21059 fi
   21060 
   21061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21062 	CFLAGS="$SAVE_CFLAGS"
   21063 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   21064 $as_echo_n "checking if RANDR is defined... " >&6; }
   21065 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21066 $as_echo "$_EXT_CHECK" >&6; }
   21067 	if test "$_EXT_CHECK" != no; then
   21068 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   21069 	fi
   21070 
   21071 
   21072 	SAVE_CFLAGS="$CFLAGS"
   21073 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21074 	cat >conftest.$ac_ext <<_ACEOF
   21075 /* confdefs.h.  */
   21076 _ACEOF
   21077 cat confdefs.h >>conftest.$ac_ext
   21078 cat >>conftest.$ac_ext <<_ACEOF
   21079 /* end confdefs.h.  */
   21080 
   21081 #include "xorg-server.h"
   21082 #if !defined RENDER
   21083 #error RENDER not defined
   21084 #endif
   21085 
   21086 int
   21087 main ()
   21088 {
   21089 
   21090   ;
   21091   return 0;
   21092 }
   21093 _ACEOF
   21094 rm -f conftest.$ac_objext
   21095 if { (ac_try="$ac_compile"
   21096 case "(($ac_try" in
   21097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21098   *) ac_try_echo=$ac_try;;
   21099 esac
   21100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21101 $as_echo "$ac_try_echo") >&5
   21102   (eval "$ac_compile") 2>conftest.er1
   21103   ac_status=$?
   21104   grep -v '^ *+' conftest.er1 >conftest.err
   21105   rm -f conftest.er1
   21106   cat conftest.err >&5
   21107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21108   (exit $ac_status); } && {
   21109 	 test -z "$ac_c_werror_flag" ||
   21110 	 test ! -s conftest.err
   21111        } && test -s conftest.$ac_objext; then
   21112   _EXT_CHECK=yes
   21113 else
   21114   $as_echo "$as_me: failed program was:" >&5
   21115 sed 's/^/| /' conftest.$ac_ext >&5
   21116 
   21117 	_EXT_CHECK=no
   21118 fi
   21119 
   21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21121 	CFLAGS="$SAVE_CFLAGS"
   21122 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   21123 $as_echo_n "checking if RENDER is defined... " >&6; }
   21124 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21125 $as_echo "$_EXT_CHECK" >&6; }
   21126 	if test "$_EXT_CHECK" != no; then
   21127 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   21128 	fi
   21129 
   21130 
   21131 	SAVE_CFLAGS="$CFLAGS"
   21132 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21133 	cat >conftest.$ac_ext <<_ACEOF
   21134 /* confdefs.h.  */
   21135 _ACEOF
   21136 cat confdefs.h >>conftest.$ac_ext
   21137 cat >>conftest.$ac_ext <<_ACEOF
   21138 /* end confdefs.h.  */
   21139 
   21140 #include "xorg-server.h"
   21141 #if !defined DPMSExtension
   21142 #error DPMSExtension not defined
   21143 #endif
   21144 
   21145 int
   21146 main ()
   21147 {
   21148 
   21149   ;
   21150   return 0;
   21151 }
   21152 _ACEOF
   21153 rm -f conftest.$ac_objext
   21154 if { (ac_try="$ac_compile"
   21155 case "(($ac_try" in
   21156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21157   *) ac_try_echo=$ac_try;;
   21158 esac
   21159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21160 $as_echo "$ac_try_echo") >&5
   21161   (eval "$ac_compile") 2>conftest.er1
   21162   ac_status=$?
   21163   grep -v '^ *+' conftest.er1 >conftest.err
   21164   rm -f conftest.er1
   21165   cat conftest.err >&5
   21166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21167   (exit $ac_status); } && {
   21168 	 test -z "$ac_c_werror_flag" ||
   21169 	 test ! -s conftest.err
   21170        } && test -s conftest.$ac_objext; then
   21171   _EXT_CHECK=yes
   21172 else
   21173   $as_echo "$as_me: failed program was:" >&5
   21174 sed 's/^/| /' conftest.$ac_ext >&5
   21175 
   21176 	_EXT_CHECK=no
   21177 fi
   21178 
   21179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21180 	CFLAGS="$SAVE_CFLAGS"
   21181 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21182 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21183 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21184 $as_echo "$_EXT_CHECK" >&6; }
   21185 	if test "$_EXT_CHECK" != no; then
   21186 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21187 	fi
   21188 
   21189 
   21190 # Checks for pkg-config packages
   21191 
   21192 
   21193 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21194 	if test -n "$ac_tool_prefix"; then
   21195   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21196 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21197 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21198 $as_echo_n "checking for $ac_word... " >&6; }
   21199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21200   $as_echo_n "(cached) " >&6
   21201 else
   21202   case $PKG_CONFIG in
   21203   [\\/]* | ?:[\\/]*)
   21204   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21205   ;;
   21206   *)
   21207   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21208 for as_dir in $PATH
   21209 do
   21210   IFS=$as_save_IFS
   21211   test -z "$as_dir" && as_dir=.
   21212   for ac_exec_ext in '' $ac_executable_extensions; do
   21213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21214     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21215     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21216     break 2
   21217   fi
   21218 done
   21219 done
   21220 IFS=$as_save_IFS
   21221 
   21222   ;;
   21223 esac
   21224 fi
   21225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21226 if test -n "$PKG_CONFIG"; then
   21227   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21228 $as_echo "$PKG_CONFIG" >&6; }
   21229 else
   21230   { $as_echo "$as_me:$LINENO: result: no" >&5
   21231 $as_echo "no" >&6; }
   21232 fi
   21233 
   21234 
   21235 fi
   21236 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21237   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21238   # Extract the first word of "pkg-config", so it can be a program name with args.
   21239 set dummy pkg-config; ac_word=$2
   21240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21241 $as_echo_n "checking for $ac_word... " >&6; }
   21242 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21243   $as_echo_n "(cached) " >&6
   21244 else
   21245   case $ac_pt_PKG_CONFIG in
   21246   [\\/]* | ?:[\\/]*)
   21247   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21248   ;;
   21249   *)
   21250   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21251 for as_dir in $PATH
   21252 do
   21253   IFS=$as_save_IFS
   21254   test -z "$as_dir" && as_dir=.
   21255   for ac_exec_ext in '' $ac_executable_extensions; do
   21256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21257     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21258     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21259     break 2
   21260   fi
   21261 done
   21262 done
   21263 IFS=$as_save_IFS
   21264 
   21265   ;;
   21266 esac
   21267 fi
   21268 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21269 if test -n "$ac_pt_PKG_CONFIG"; then
   21270   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21271 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21272 else
   21273   { $as_echo "$as_me:$LINENO: result: no" >&5
   21274 $as_echo "no" >&6; }
   21275 fi
   21276 
   21277   if test "x$ac_pt_PKG_CONFIG" = x; then
   21278     PKG_CONFIG=""
   21279   else
   21280     case $cross_compiling:$ac_tool_warned in
   21281 yes:)
   21282 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21284 ac_tool_warned=yes ;;
   21285 esac
   21286     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21287   fi
   21288 else
   21289   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21290 fi
   21291 
   21292 fi
   21293 if test -n "$PKG_CONFIG"; then
   21294 	_pkg_min_version=0.9.0
   21295 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21296 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21297 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21298 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21299 $as_echo "yes" >&6; }
   21300 	else
   21301 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21302 $as_echo "no" >&6; }
   21303 		PKG_CONFIG=""
   21304 	fi
   21305 
   21306 fi
   21307 
   21308 pkg_failed=no
   21309 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21310 $as_echo_n "checking for XORG... " >&6; }
   21311 
   21312 if test -n "$XORG_CFLAGS"; then
   21313     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21314  elif test -n "$PKG_CONFIG"; then
   21315     if test -n "$PKG_CONFIG" && \
   21316     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21317   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21318   ac_status=$?
   21319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21320   (exit $ac_status); }; then
   21321   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21322 else
   21323   pkg_failed=yes
   21324 fi
   21325  else
   21326     pkg_failed=untried
   21327 fi
   21328 if test -n "$XORG_LIBS"; then
   21329     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21330  elif test -n "$PKG_CONFIG"; then
   21331     if test -n "$PKG_CONFIG" && \
   21332     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21333   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21334   ac_status=$?
   21335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21336   (exit $ac_status); }; then
   21337   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21338 else
   21339   pkg_failed=yes
   21340 fi
   21341  else
   21342     pkg_failed=untried
   21343 fi
   21344 
   21345 
   21346 
   21347 if test $pkg_failed = yes; then
   21348 
   21349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21350         _pkg_short_errors_supported=yes
   21351 else
   21352         _pkg_short_errors_supported=no
   21353 fi
   21354         if test $_pkg_short_errors_supported = yes; then
   21355 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21356         else
   21357 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21358         fi
   21359 	# Put the nasty error message in config.log where it belongs
   21360 	echo "$XORG_PKG_ERRORS" >&5
   21361 
   21362 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21363 
   21364 $XORG_PKG_ERRORS
   21365 
   21366 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21367 installed software in a non-standard prefix.
   21368 
   21369 Alternatively, you may set the environment variables XORG_CFLAGS
   21370 and XORG_LIBS to avoid the need to call pkg-config.
   21371 See the pkg-config man page for more details.
   21372 " >&5
   21373 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21374 
   21375 $XORG_PKG_ERRORS
   21376 
   21377 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21378 installed software in a non-standard prefix.
   21379 
   21380 Alternatively, you may set the environment variables XORG_CFLAGS
   21381 and XORG_LIBS to avoid the need to call pkg-config.
   21382 See the pkg-config man page for more details.
   21383 " >&2;}
   21384    { (exit 1); exit 1; }; }
   21385 elif test $pkg_failed = untried; then
   21386 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21388 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21389 is in your PATH or set the PKG_CONFIG environment variable to the full
   21390 path to pkg-config.
   21391 
   21392 Alternatively, you may set the environment variables XORG_CFLAGS
   21393 and XORG_LIBS to avoid the need to call pkg-config.
   21394 See the pkg-config man page for more details.
   21395 
   21396 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21397 See \`config.log' for more details." >&5
   21398 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21399 is in your PATH or set the PKG_CONFIG environment variable to the full
   21400 path to pkg-config.
   21401 
   21402 Alternatively, you may set the environment variables XORG_CFLAGS
   21403 and XORG_LIBS to avoid the need to call pkg-config.
   21404 See the pkg-config man page for more details.
   21405 
   21406 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21407 See \`config.log' for more details." >&2;}
   21408    { (exit 1); exit 1; }; }; }
   21409 else
   21410 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21411 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21412         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21413 $as_echo "yes" >&6; }
   21414 	:
   21415 fi
   21416 
   21417 pkg_failed=no
   21418 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21419 $as_echo_n "checking for XEXT... " >&6; }
   21420 
   21421 if test -n "$XEXT_CFLAGS"; then
   21422     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21423  elif test -n "$PKG_CONFIG"; then
   21424     if test -n "$PKG_CONFIG" && \
   21425     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21426   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21427   ac_status=$?
   21428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21429   (exit $ac_status); }; then
   21430   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21431 else
   21432   pkg_failed=yes
   21433 fi
   21434  else
   21435     pkg_failed=untried
   21436 fi
   21437 if test -n "$XEXT_LIBS"; then
   21438     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21439  elif test -n "$PKG_CONFIG"; then
   21440     if test -n "$PKG_CONFIG" && \
   21441     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21442   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21443   ac_status=$?
   21444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21445   (exit $ac_status); }; then
   21446   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21447 else
   21448   pkg_failed=yes
   21449 fi
   21450  else
   21451     pkg_failed=untried
   21452 fi
   21453 
   21454 
   21455 
   21456 if test $pkg_failed = yes; then
   21457 
   21458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21459         _pkg_short_errors_supported=yes
   21460 else
   21461         _pkg_short_errors_supported=no
   21462 fi
   21463         if test $_pkg_short_errors_supported = yes; then
   21464 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21465         else
   21466 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21467         fi
   21468 	# Put the nasty error message in config.log where it belongs
   21469 	echo "$XEXT_PKG_ERRORS" >&5
   21470 
   21471 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21472 $as_echo "no" >&6; }
   21473                 HAVE_XEXTPROTO_71="no"
   21474 elif test $pkg_failed = untried; then
   21475 	HAVE_XEXTPROTO_71="no"
   21476 else
   21477 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21478 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21479         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21480 $as_echo "yes" >&6; }
   21481 	HAVE_XEXTPROTO_71="yes";
   21482 cat >>confdefs.h <<\_ACEOF
   21483 #define HAVE_XEXTPROTO_71 1
   21484 _ACEOF
   21485 
   21486 fi
   21487  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21488   HAVE_XEXTPROTO_71_TRUE=
   21489   HAVE_XEXTPROTO_71_FALSE='#'
   21490 else
   21491   HAVE_XEXTPROTO_71_TRUE='#'
   21492   HAVE_XEXTPROTO_71_FALSE=
   21493 fi
   21494 
   21495 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21496 
   21497 # Checks for libraries.
   21498 
   21499 # Checks for header files.
   21500 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21501 $as_echo_n "checking for ANSI C header files... " >&6; }
   21502 if test "${ac_cv_header_stdc+set}" = set; then
   21503   $as_echo_n "(cached) " >&6
   21504 else
   21505   cat >conftest.$ac_ext <<_ACEOF
   21506 /* confdefs.h.  */
   21507 _ACEOF
   21508 cat confdefs.h >>conftest.$ac_ext
   21509 cat >>conftest.$ac_ext <<_ACEOF
   21510 /* end confdefs.h.  */
   21511 #include <stdlib.h>
   21512 #include <stdarg.h>
   21513 #include <string.h>
   21514 #include <float.h>
   21515 
   21516 int
   21517 main ()
   21518 {
   21519 
   21520   ;
   21521   return 0;
   21522 }
   21523 _ACEOF
   21524 rm -f conftest.$ac_objext
   21525 if { (ac_try="$ac_compile"
   21526 case "(($ac_try" in
   21527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21528   *) ac_try_echo=$ac_try;;
   21529 esac
   21530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21531 $as_echo "$ac_try_echo") >&5
   21532   (eval "$ac_compile") 2>conftest.er1
   21533   ac_status=$?
   21534   grep -v '^ *+' conftest.er1 >conftest.err
   21535   rm -f conftest.er1
   21536   cat conftest.err >&5
   21537   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21538   (exit $ac_status); } && {
   21539 	 test -z "$ac_c_werror_flag" ||
   21540 	 test ! -s conftest.err
   21541        } && test -s conftest.$ac_objext; then
   21542   ac_cv_header_stdc=yes
   21543 else
   21544   $as_echo "$as_me: failed program was:" >&5
   21545 sed 's/^/| /' conftest.$ac_ext >&5
   21546 
   21547 	ac_cv_header_stdc=no
   21548 fi
   21549 
   21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21551 
   21552 if test $ac_cv_header_stdc = yes; then
   21553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21554   cat >conftest.$ac_ext <<_ACEOF
   21555 /* confdefs.h.  */
   21556 _ACEOF
   21557 cat confdefs.h >>conftest.$ac_ext
   21558 cat >>conftest.$ac_ext <<_ACEOF
   21559 /* end confdefs.h.  */
   21560 #include <string.h>
   21561 
   21562 _ACEOF
   21563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21564   $EGREP "memchr" >/dev/null 2>&1; then
   21565   :
   21566 else
   21567   ac_cv_header_stdc=no
   21568 fi
   21569 rm -f conftest*
   21570 
   21571 fi
   21572 
   21573 if test $ac_cv_header_stdc = yes; then
   21574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21575   cat >conftest.$ac_ext <<_ACEOF
   21576 /* confdefs.h.  */
   21577 _ACEOF
   21578 cat confdefs.h >>conftest.$ac_ext
   21579 cat >>conftest.$ac_ext <<_ACEOF
   21580 /* end confdefs.h.  */
   21581 #include <stdlib.h>
   21582 
   21583 _ACEOF
   21584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21585   $EGREP "free" >/dev/null 2>&1; then
   21586   :
   21587 else
   21588   ac_cv_header_stdc=no
   21589 fi
   21590 rm -f conftest*
   21591 
   21592 fi
   21593 
   21594 if test $ac_cv_header_stdc = yes; then
   21595   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21596   if test "$cross_compiling" = yes; then
   21597   :
   21598 else
   21599   cat >conftest.$ac_ext <<_ACEOF
   21600 /* confdefs.h.  */
   21601 _ACEOF
   21602 cat confdefs.h >>conftest.$ac_ext
   21603 cat >>conftest.$ac_ext <<_ACEOF
   21604 /* end confdefs.h.  */
   21605 #include <ctype.h>
   21606 #include <stdlib.h>
   21607 #if ((' ' & 0x0FF) == 0x020)
   21608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21610 #else
   21611 # define ISLOWER(c) \
   21612 		   (('a' <= (c) && (c) <= 'i') \
   21613 		     || ('j' <= (c) && (c) <= 'r') \
   21614 		     || ('s' <= (c) && (c) <= 'z'))
   21615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21616 #endif
   21617 
   21618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21619 int
   21620 main ()
   21621 {
   21622   int i;
   21623   for (i = 0; i < 256; i++)
   21624     if (XOR (islower (i), ISLOWER (i))
   21625 	|| toupper (i) != TOUPPER (i))
   21626       return 2;
   21627   return 0;
   21628 }
   21629 _ACEOF
   21630 rm -f conftest$ac_exeext
   21631 if { (ac_try="$ac_link"
   21632 case "(($ac_try" in
   21633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21634   *) ac_try_echo=$ac_try;;
   21635 esac
   21636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21637 $as_echo "$ac_try_echo") >&5
   21638   (eval "$ac_link") 2>&5
   21639   ac_status=$?
   21640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21641   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21642   { (case "(($ac_try" in
   21643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21644   *) ac_try_echo=$ac_try;;
   21645 esac
   21646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21647 $as_echo "$ac_try_echo") >&5
   21648   (eval "$ac_try") 2>&5
   21649   ac_status=$?
   21650   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21651   (exit $ac_status); }; }; then
   21652   :
   21653 else
   21654   $as_echo "$as_me: program exited with status $ac_status" >&5
   21655 $as_echo "$as_me: failed program was:" >&5
   21656 sed 's/^/| /' conftest.$ac_ext >&5
   21657 
   21658 ( exit $ac_status )
   21659 ac_cv_header_stdc=no
   21660 fi
   21661 rm -rf conftest.dSYM
   21662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21663 fi
   21664 
   21665 
   21666 fi
   21667 fi
   21668 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21669 $as_echo "$ac_cv_header_stdc" >&6; }
   21670 if test $ac_cv_header_stdc = yes; then
   21671 
   21672 cat >>confdefs.h <<\_ACEOF
   21673 #define STDC_HEADERS 1
   21674 _ACEOF
   21675 
   21676 fi
   21677 
   21678 
   21679  if test x$SPARC = xyes; then
   21680   SPARC_TRUE=
   21681   SPARC_FALSE='#'
   21682 else
   21683   SPARC_TRUE='#'
   21684   SPARC_FALSE=
   21685 fi
   21686 
   21687 
   21688 
   21689 
   21690 
   21691 DRIVER_NAME=sunffb
   21692 
   21693 
   21694 
   21695 
   21696 
   21697 if test x$APP_MAN_SUFFIX = x    ; then
   21698     APP_MAN_SUFFIX=1
   21699 fi
   21700 if test x$APP_MAN_DIR = x    ; then
   21701     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21702 fi
   21703 
   21704 if test x$LIB_MAN_SUFFIX = x    ; then
   21705     LIB_MAN_SUFFIX=3
   21706 fi
   21707 if test x$LIB_MAN_DIR = x    ; then
   21708     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21709 fi
   21710 
   21711 if test x$FILE_MAN_SUFFIX = x    ; then
   21712     case $host_os in
   21713 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21714 	*)		FILE_MAN_SUFFIX=5  ;;
   21715     esac
   21716 fi
   21717 if test x$FILE_MAN_DIR = x    ; then
   21718     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21719 fi
   21720 
   21721 if test x$MISC_MAN_SUFFIX = x    ; then
   21722     case $host_os in
   21723 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21724 	*)		MISC_MAN_SUFFIX=7  ;;
   21725     esac
   21726 fi
   21727 if test x$MISC_MAN_DIR = x    ; then
   21728     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21729 fi
   21730 
   21731 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21732     case $host_os in
   21733 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21734 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21735     esac
   21736 fi
   21737 if test x$DRIVER_MAN_DIR = x    ; then
   21738     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21739 fi
   21740 
   21741 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21742     case $host_os in
   21743 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21744 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21745     esac
   21746 fi
   21747 if test x$ADMIN_MAN_DIR = x    ; then
   21748     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21749 fi
   21750 
   21751 
   21752 
   21753 
   21754 
   21755 
   21756 
   21757 
   21758 
   21759 
   21760 
   21761 
   21762 
   21763 
   21764 
   21765 
   21766 
   21767 # Check whether --with-release-version was given.
   21768 if test "${with_release_version+set}" = set; then
   21769   withval=$with_release_version; RELEASE_VERSION="$withval"
   21770 else
   21771   RELEASE_VERSION=""
   21772 fi
   21773 
   21774 	if test "x$RELEASE_VERSION" != "x"; then
   21775 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21776 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21777 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21778 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21779 	fi
   21780 
   21781 cat >>confdefs.h <<_ACEOF
   21782 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21783 _ACEOF
   21784 
   21785 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21786 	if test "x$PVM" = "x"; then
   21787 		PVM="0"
   21788 	fi
   21789 
   21790 cat >>confdefs.h <<_ACEOF
   21791 #define PACKAGE_VERSION_MINOR $PVM
   21792 _ACEOF
   21793 
   21794 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21795 	if test "x$PVP" = "x"; then
   21796 		PVP="0"
   21797 	fi
   21798 
   21799 cat >>confdefs.h <<_ACEOF
   21800 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21801 _ACEOF
   21802 
   21803 
   21804 
   21805 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21806 
   21807 cat >confcache <<\_ACEOF
   21808 # This file is a shell script that caches the results of configure
   21809 # tests run on this system so they can be shared between configure
   21810 # scripts and configure runs, see configure's option --config-cache.
   21811 # It is not useful on other systems.  If it contains results you don't
   21812 # want to keep, you may remove or edit it.
   21813 #
   21814 # config.status only pays attention to the cache file if you give it
   21815 # the --recheck option to rerun configure.
   21816 #
   21817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21819 # following values.
   21820 
   21821 _ACEOF
   21822 
   21823 # The following way of writing the cache mishandles newlines in values,
   21824 # but we know of no workaround that is simple, portable, and efficient.
   21825 # So, we kill variables containing newlines.
   21826 # Ultrix sh set writes to stderr and can't be redirected directly,
   21827 # and sets the high bit in the cache file unless we assign to the vars.
   21828 (
   21829   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21830     eval ac_val=\$$ac_var
   21831     case $ac_val in #(
   21832     *${as_nl}*)
   21833       case $ac_var in #(
   21834       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21836       esac
   21837       case $ac_var in #(
   21838       _ | IFS | as_nl) ;; #(
   21839       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21840       *) $as_unset $ac_var ;;
   21841       esac ;;
   21842     esac
   21843   done
   21844 
   21845   (set) 2>&1 |
   21846     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21847     *${as_nl}ac_space=\ *)
   21848       # `set' does not quote correctly, so add quotes (double-quote
   21849       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21850       sed -n \
   21851 	"s/'/'\\\\''/g;
   21852 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21853       ;; #(
   21854     *)
   21855       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21856       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21857       ;;
   21858     esac |
   21859     sort
   21860 ) |
   21861   sed '
   21862      /^ac_cv_env_/b end
   21863      t clear
   21864      :clear
   21865      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21866      t end
   21867      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21868      :end' >>confcache
   21869 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21870   if test -w "$cache_file"; then
   21871     test "x$cache_file" != "x/dev/null" &&
   21872       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21873 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21874     cat confcache >$cache_file
   21875   else
   21876     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21877 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21878   fi
   21879 fi
   21880 rm -f confcache
   21881 
   21882 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21883 # Let make expand exec_prefix.
   21884 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21885 
   21886 DEFS=-DHAVE_CONFIG_H
   21887 
   21888 ac_libobjs=
   21889 ac_ltlibobjs=
   21890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21891   # 1. Remove the extension, and $U if already installed.
   21892   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21893   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21894   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21895   #    will be set to the directory where LIBOBJS objects are built.
   21896   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21897   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21898 done
   21899 LIBOBJS=$ac_libobjs
   21900 
   21901 LTLIBOBJS=$ac_ltlibobjs
   21902 
   21903 
   21904  if test -n "$EXEEXT"; then
   21905   am__EXEEXT_TRUE=
   21906   am__EXEEXT_FALSE='#'
   21907 else
   21908   am__EXEEXT_TRUE='#'
   21909   am__EXEEXT_FALSE=
   21910 fi
   21911 
   21912 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21913   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21914 Usually this means the macro was only invoked conditionally." >&5
   21915 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21916 Usually this means the macro was only invoked conditionally." >&2;}
   21917    { (exit 1); exit 1; }; }
   21918 fi
   21919 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21920   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21921 Usually this means the macro was only invoked conditionally." >&5
   21922 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21923 Usually this means the macro was only invoked conditionally." >&2;}
   21924    { (exit 1); exit 1; }; }
   21925 fi
   21926 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21927   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21928 Usually this means the macro was only invoked conditionally." >&5
   21929 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21930 Usually this means the macro was only invoked conditionally." >&2;}
   21931    { (exit 1); exit 1; }; }
   21932 fi
   21933 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21934   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21935 Usually this means the macro was only invoked conditionally." >&5
   21936 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21937 Usually this means the macro was only invoked conditionally." >&2;}
   21938    { (exit 1); exit 1; }; }
   21939 fi
   21940 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   21941   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
   21942 Usually this means the macro was only invoked conditionally." >&5
   21943 $as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
   21944 Usually this means the macro was only invoked conditionally." >&2;}
   21945    { (exit 1); exit 1; }; }
   21946 fi
   21947 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21948   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21949 Usually this means the macro was only invoked conditionally." >&5
   21950 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21951 Usually this means the macro was only invoked conditionally." >&2;}
   21952    { (exit 1); exit 1; }; }
   21953 fi
   21954 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   21955   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   21956 Usually this means the macro was only invoked conditionally." >&5
   21957 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   21958 Usually this means the macro was only invoked conditionally." >&2;}
   21959    { (exit 1); exit 1; }; }
   21960 fi
   21961 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
   21962   { { $as_echo "$as_me:$LINENO: error: conditional \"SPARC\" was never defined.
   21963 Usually this means the macro was only invoked conditionally." >&5
   21964 $as_echo "$as_me: error: conditional \"SPARC\" was never defined.
   21965 Usually this means the macro was only invoked conditionally." >&2;}
   21966    { (exit 1); exit 1; }; }
   21967 fi
   21968 
   21969 : ${CONFIG_STATUS=./config.status}
   21970 ac_write_fail=0
   21971 ac_clean_files_save=$ac_clean_files
   21972 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21973 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21974 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21975 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21976 #! $SHELL
   21977 # Generated by $as_me.
   21978 # Run this file to recreate the current configuration.
   21979 # Compiler output produced by configure, useful for debugging
   21980 # configure, is in config.log if it exists.
   21981 
   21982 debug=false
   21983 ac_cs_recheck=false
   21984 ac_cs_silent=false
   21985 SHELL=\${CONFIG_SHELL-$SHELL}
   21986 _ACEOF
   21987 
   21988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21989 ## --------------------- ##
   21990 ## M4sh Initialization.  ##
   21991 ## --------------------- ##
   21992 
   21993 # Be more Bourne compatible
   21994 DUALCASE=1; export DUALCASE # for MKS sh
   21995 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21996   emulate sh
   21997   NULLCMD=:
   21998   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21999   # is contrary to our usage.  Disable this feature.
   22000   alias -g '${1+"$@"}'='"$@"'
   22001   setopt NO_GLOB_SUBST
   22002 else
   22003   case `(set -o) 2>/dev/null` in
   22004   *posix*) set -o posix ;;
   22005 esac
   22006 
   22007 fi
   22008 
   22009 
   22010 
   22011 
   22012 # PATH needs CR
   22013 # Avoid depending upon Character Ranges.
   22014 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22015 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22016 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22017 as_cr_digits='0123456789'
   22018 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22019 
   22020 as_nl='
   22021 '
   22022 export as_nl
   22023 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22024 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22025 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22026 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22027 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22028   as_echo='printf %s\n'
   22029   as_echo_n='printf %s'
   22030 else
   22031   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22032     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22033     as_echo_n='/usr/ucb/echo -n'
   22034   else
   22035     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22036     as_echo_n_body='eval
   22037       arg=$1;
   22038       case $arg in
   22039       *"$as_nl"*)
   22040 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22041 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22042       esac;
   22043       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22044     '
   22045     export as_echo_n_body
   22046     as_echo_n='sh -c $as_echo_n_body as_echo'
   22047   fi
   22048   export as_echo_body
   22049   as_echo='sh -c $as_echo_body as_echo'
   22050 fi
   22051 
   22052 # The user is always right.
   22053 if test "${PATH_SEPARATOR+set}" != set; then
   22054   PATH_SEPARATOR=:
   22055   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22056     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22057       PATH_SEPARATOR=';'
   22058   }
   22059 fi
   22060 
   22061 # Support unset when possible.
   22062 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22063   as_unset=unset
   22064 else
   22065   as_unset=false
   22066 fi
   22067 
   22068 
   22069 # IFS
   22070 # We need space, tab and new line, in precisely that order.  Quoting is
   22071 # there to prevent editors from complaining about space-tab.
   22072 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22073 # splitting by setting IFS to empty value.)
   22074 IFS=" ""	$as_nl"
   22075 
   22076 # Find who we are.  Look in the path if we contain no directory separator.
   22077 case $0 in
   22078   *[\\/]* ) as_myself=$0 ;;
   22079   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22080 for as_dir in $PATH
   22081 do
   22082   IFS=$as_save_IFS
   22083   test -z "$as_dir" && as_dir=.
   22084   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22085 done
   22086 IFS=$as_save_IFS
   22087 
   22088      ;;
   22089 esac
   22090 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22091 # in which case we are not to be found in the path.
   22092 if test "x$as_myself" = x; then
   22093   as_myself=$0
   22094 fi
   22095 if test ! -f "$as_myself"; then
   22096   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22097   { (exit 1); exit 1; }
   22098 fi
   22099 
   22100 # Work around bugs in pre-3.0 UWIN ksh.
   22101 for as_var in ENV MAIL MAILPATH
   22102 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22103 done
   22104 PS1='$ '
   22105 PS2='> '
   22106 PS4='+ '
   22107 
   22108 # NLS nuisances.
   22109 LC_ALL=C
   22110 export LC_ALL
   22111 LANGUAGE=C
   22112 export LANGUAGE
   22113 
   22114 # Required to use basename.
   22115 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22116    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22117   as_expr=expr
   22118 else
   22119   as_expr=false
   22120 fi
   22121 
   22122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22123   as_basename=basename
   22124 else
   22125   as_basename=false
   22126 fi
   22127 
   22128 
   22129 # Name of the executable.
   22130 as_me=`$as_basename -- "$0" ||
   22131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22132 	 X"$0" : 'X\(//\)$' \| \
   22133 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22134 $as_echo X/"$0" |
   22135     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22136 	    s//\1/
   22137 	    q
   22138 	  }
   22139 	  /^X\/\(\/\/\)$/{
   22140 	    s//\1/
   22141 	    q
   22142 	  }
   22143 	  /^X\/\(\/\).*/{
   22144 	    s//\1/
   22145 	    q
   22146 	  }
   22147 	  s/.*/./; q'`
   22148 
   22149 # CDPATH.
   22150 $as_unset CDPATH
   22151 
   22152 
   22153 
   22154   as_lineno_1=$LINENO
   22155   as_lineno_2=$LINENO
   22156   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22157   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22158 
   22159   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22160   # uniformly replaced by the line number.  The first 'sed' inserts a
   22161   # line-number line after each line using $LINENO; the second 'sed'
   22162   # does the real work.  The second script uses 'N' to pair each
   22163   # line-number line with the line containing $LINENO, and appends
   22164   # trailing '-' during substitution so that $LINENO is not a special
   22165   # case at line end.
   22166   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22167   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22168   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22169   sed -n '
   22170     p
   22171     /[$]LINENO/=
   22172   ' <$as_myself |
   22173     sed '
   22174       s/[$]LINENO.*/&-/
   22175       t lineno
   22176       b
   22177       :lineno
   22178       N
   22179       :loop
   22180       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22181       t loop
   22182       s/-\n.*//
   22183     ' >$as_me.lineno &&
   22184   chmod +x "$as_me.lineno" ||
   22185     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22186    { (exit 1); exit 1; }; }
   22187 
   22188   # Don't try to exec as it changes $[0], causing all sort of problems
   22189   # (the dirname of $[0] is not the place where we might find the
   22190   # original and so on.  Autoconf is especially sensitive to this).
   22191   . "./$as_me.lineno"
   22192   # Exit status is that of the last command.
   22193   exit
   22194 }
   22195 
   22196 
   22197 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22198   as_dirname=dirname
   22199 else
   22200   as_dirname=false
   22201 fi
   22202 
   22203 ECHO_C= ECHO_N= ECHO_T=
   22204 case `echo -n x` in
   22205 -n*)
   22206   case `echo 'x\c'` in
   22207   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22208   *)   ECHO_C='\c';;
   22209   esac;;
   22210 *)
   22211   ECHO_N='-n';;
   22212 esac
   22213 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22214    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22215   as_expr=expr
   22216 else
   22217   as_expr=false
   22218 fi
   22219 
   22220 rm -f conf$$ conf$$.exe conf$$.file
   22221 if test -d conf$$.dir; then
   22222   rm -f conf$$.dir/conf$$.file
   22223 else
   22224   rm -f conf$$.dir
   22225   mkdir conf$$.dir 2>/dev/null
   22226 fi
   22227 if (echo >conf$$.file) 2>/dev/null; then
   22228   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22229     as_ln_s='ln -s'
   22230     # ... but there are two gotchas:
   22231     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22232     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22233     # In both cases, we have to default to `cp -p'.
   22234     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22235       as_ln_s='cp -p'
   22236   elif ln conf$$.file conf$$ 2>/dev/null; then
   22237     as_ln_s=ln
   22238   else
   22239     as_ln_s='cp -p'
   22240   fi
   22241 else
   22242   as_ln_s='cp -p'
   22243 fi
   22244 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22245 rmdir conf$$.dir 2>/dev/null
   22246 
   22247 if mkdir -p . 2>/dev/null; then
   22248   as_mkdir_p=:
   22249 else
   22250   test -d ./-p && rmdir ./-p
   22251   as_mkdir_p=false
   22252 fi
   22253 
   22254 if test -x / >/dev/null 2>&1; then
   22255   as_test_x='test -x'
   22256 else
   22257   if ls -dL / >/dev/null 2>&1; then
   22258     as_ls_L_option=L
   22259   else
   22260     as_ls_L_option=
   22261   fi
   22262   as_test_x='
   22263     eval sh -c '\''
   22264       if test -d "$1"; then
   22265 	test -d "$1/.";
   22266       else
   22267 	case $1 in
   22268 	-*)set "./$1";;
   22269 	esac;
   22270 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22271 	???[sx]*):;;*)false;;esac;fi
   22272     '\'' sh
   22273   '
   22274 fi
   22275 as_executable_p=$as_test_x
   22276 
   22277 # Sed expression to map a string onto a valid CPP name.
   22278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22279 
   22280 # Sed expression to map a string onto a valid variable name.
   22281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22282 
   22283 
   22284 exec 6>&1
   22285 
   22286 # Save the log message, to keep $[0] and so on meaningful, and to
   22287 # report actual input values of CONFIG_FILES etc. instead of their
   22288 # values after options handling.
   22289 ac_log="
   22290 This file was extended by xf86-video-sunffb $as_me 1.2.1, which was
   22291 generated by GNU Autoconf 2.63.  Invocation command line was
   22292 
   22293   CONFIG_FILES    = $CONFIG_FILES
   22294   CONFIG_HEADERS  = $CONFIG_HEADERS
   22295   CONFIG_LINKS    = $CONFIG_LINKS
   22296   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22297   $ $0 $@
   22298 
   22299 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22300 "
   22301 
   22302 _ACEOF
   22303 
   22304 case $ac_config_files in *"
   22305 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22306 esac
   22307 
   22308 case $ac_config_headers in *"
   22309 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22310 esac
   22311 
   22312 
   22313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22314 # Files that config.status was made for.
   22315 config_files="$ac_config_files"
   22316 config_headers="$ac_config_headers"
   22317 config_commands="$ac_config_commands"
   22318 
   22319 _ACEOF
   22320 
   22321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22322 ac_cs_usage="\
   22323 \`$as_me' instantiates files from templates according to the
   22324 current configuration.
   22325 
   22326 Usage: $0 [OPTION]... [FILE]...
   22327 
   22328   -h, --help       print this help, then exit
   22329   -V, --version    print version number and configuration settings, then exit
   22330   -q, --quiet, --silent
   22331                    do not print progress messages
   22332   -d, --debug      don't remove temporary files
   22333       --recheck    update $as_me by reconfiguring in the same conditions
   22334       --file=FILE[:TEMPLATE]
   22335                    instantiate the configuration file FILE
   22336       --header=FILE[:TEMPLATE]
   22337                    instantiate the configuration header FILE
   22338 
   22339 Configuration files:
   22340 $config_files
   22341 
   22342 Configuration headers:
   22343 $config_headers
   22344 
   22345 Configuration commands:
   22346 $config_commands
   22347 
   22348 Report bugs to <bug-autoconf (at] gnu.org>."
   22349 
   22350 _ACEOF
   22351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22352 ac_cs_version="\\
   22353 xf86-video-sunffb config.status 1.2.1
   22354 configured by $0, generated by GNU Autoconf 2.63,
   22355   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22356 
   22357 Copyright (C) 2008 Free Software Foundation, Inc.
   22358 This config.status script is free software; the Free Software Foundation
   22359 gives unlimited permission to copy, distribute and modify it."
   22360 
   22361 ac_pwd='$ac_pwd'
   22362 srcdir='$srcdir'
   22363 INSTALL='$INSTALL'
   22364 MKDIR_P='$MKDIR_P'
   22365 AWK='$AWK'
   22366 test -n "\$AWK" || AWK=awk
   22367 _ACEOF
   22368 
   22369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22370 # The default lists apply if the user does not specify any file.
   22371 ac_need_defaults=:
   22372 while test $# != 0
   22373 do
   22374   case $1 in
   22375   --*=*)
   22376     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22377     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22378     ac_shift=:
   22379     ;;
   22380   *)
   22381     ac_option=$1
   22382     ac_optarg=$2
   22383     ac_shift=shift
   22384     ;;
   22385   esac
   22386 
   22387   case $ac_option in
   22388   # Handling of the options.
   22389   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22390     ac_cs_recheck=: ;;
   22391   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22392     $as_echo "$ac_cs_version"; exit ;;
   22393   --debug | --debu | --deb | --de | --d | -d )
   22394     debug=: ;;
   22395   --file | --fil | --fi | --f )
   22396     $ac_shift
   22397     case $ac_optarg in
   22398     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22399     esac
   22400     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22401     ac_need_defaults=false;;
   22402   --header | --heade | --head | --hea )
   22403     $ac_shift
   22404     case $ac_optarg in
   22405     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22406     esac
   22407     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22408     ac_need_defaults=false;;
   22409   --he | --h)
   22410     # Conflict between --help and --header
   22411     { $as_echo "$as_me: error: ambiguous option: $1
   22412 Try \`$0 --help' for more information." >&2
   22413    { (exit 1); exit 1; }; };;
   22414   --help | --hel | -h )
   22415     $as_echo "$ac_cs_usage"; exit ;;
   22416   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22417   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22418     ac_cs_silent=: ;;
   22419 
   22420   # This is an error.
   22421   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22422 Try \`$0 --help' for more information." >&2
   22423    { (exit 1); exit 1; }; } ;;
   22424 
   22425   *) ac_config_targets="$ac_config_targets $1"
   22426      ac_need_defaults=false ;;
   22427 
   22428   esac
   22429   shift
   22430 done
   22431 
   22432 ac_configure_extra_args=
   22433 
   22434 if $ac_cs_silent; then
   22435   exec 6>/dev/null
   22436   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22437 fi
   22438 
   22439 _ACEOF
   22440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22441 if \$ac_cs_recheck; then
   22442   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22443   shift
   22444   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22445   CONFIG_SHELL='$SHELL'
   22446   export CONFIG_SHELL
   22447   exec "\$@"
   22448 fi
   22449 
   22450 _ACEOF
   22451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22452 exec 5>>config.log
   22453 {
   22454   echo
   22455   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22456 ## Running $as_me. ##
   22457 _ASBOX
   22458   $as_echo "$ac_log"
   22459 } >&5
   22460 
   22461 _ACEOF
   22462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22463 #
   22464 # INIT-COMMANDS
   22465 #
   22466 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22467 
   22468 _ACEOF
   22469 
   22470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22471 
   22472 # Handling of arguments.
   22473 for ac_config_target in $ac_config_targets
   22474 do
   22475   case $ac_config_target in
   22476     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22477     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22478     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22479     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22480     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22481 
   22482   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22483 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22484    { (exit 1); exit 1; }; };;
   22485   esac
   22486 done
   22487 
   22488 
   22489 # If the user did not use the arguments to specify the items to instantiate,
   22490 # then the envvar interface is used.  Set only those that are not.
   22491 # We use the long form for the default assignment because of an extremely
   22492 # bizarre bug on SunOS 4.1.3.
   22493 if $ac_need_defaults; then
   22494   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22495   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22496   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22497 fi
   22498 
   22499 # Have a temporary directory for convenience.  Make it in the build tree
   22500 # simply because there is no reason against having it here, and in addition,
   22501 # creating and moving files from /tmp can sometimes cause problems.
   22502 # Hook for its removal unless debugging.
   22503 # Note that there is a small window in which the directory will not be cleaned:
   22504 # after its creation but before its name has been assigned to `$tmp'.
   22505 $debug ||
   22506 {
   22507   tmp=
   22508   trap 'exit_status=$?
   22509   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22510 ' 0
   22511   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22512 }
   22513 # Create a (secure) tmp directory for tmp files.
   22514 
   22515 {
   22516   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22517   test -n "$tmp" && test -d "$tmp"
   22518 }  ||
   22519 {
   22520   tmp=./conf$$-$RANDOM
   22521   (umask 077 && mkdir "$tmp")
   22522 } ||
   22523 {
   22524    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22525    { (exit 1); exit 1; }
   22526 }
   22527 
   22528 # Set up the scripts for CONFIG_FILES section.
   22529 # No need to generate them if there are no CONFIG_FILES.
   22530 # This happens for instance with `./config.status config.h'.
   22531 if test -n "$CONFIG_FILES"; then
   22532 
   22533 
   22534 ac_cr='
'
   22536 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22537 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22538   ac_cs_awk_cr='\\r'
   22539 else
   22540   ac_cs_awk_cr=$ac_cr
   22541 fi
   22542 
   22543 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22544 _ACEOF
   22545 
   22546 
   22547 {
   22548   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22549   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22550   echo "_ACEOF"
   22551 } >conf$$subs.sh ||
   22552   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22553 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22554    { (exit 1); exit 1; }; }
   22555 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22556 ac_delim='%!_!# '
   22557 for ac_last_try in false false false false false :; do
   22558   . ./conf$$subs.sh ||
   22559     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22560 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22561    { (exit 1); exit 1; }; }
   22562 
   22563   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22564   if test $ac_delim_n = $ac_delim_num; then
   22565     break
   22566   elif $ac_last_try; then
   22567     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22568 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22569    { (exit 1); exit 1; }; }
   22570   else
   22571     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22572   fi
   22573 done
   22574 rm -f conf$$subs.sh
   22575 
   22576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22577 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22578 _ACEOF
   22579 sed -n '
   22580 h
   22581 s/^/S["/; s/!.*/"]=/
   22582 p
   22583 g
   22584 s/^[^!]*!//
   22585 :repl
   22586 t repl
   22587 s/'"$ac_delim"'$//
   22588 t delim
   22589 :nl
   22590 h
   22591 s/\(.\{148\}\).*/\1/
   22592 t more1
   22593 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22594 p
   22595 n
   22596 b repl
   22597 :more1
   22598 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22599 p
   22600 g
   22601 s/.\{148\}//
   22602 t nl
   22603 :delim
   22604 h
   22605 s/\(.\{148\}\).*/\1/
   22606 t more2
   22607 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22608 p
   22609 b
   22610 :more2
   22611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22612 p
   22613 g
   22614 s/.\{148\}//
   22615 t delim
   22616 ' <conf$$subs.awk | sed '
   22617 /^[^""]/{
   22618   N
   22619   s/\n//
   22620 }
   22621 ' >>$CONFIG_STATUS || ac_write_fail=1
   22622 rm -f conf$$subs.awk
   22623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22624 _ACAWK
   22625 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22626   for (key in S) S_is_set[key] = 1
   22627   FS = ""
   22628 
   22629 }
   22630 {
   22631   line = $ 0
   22632   nfields = split(line, field, "@")
   22633   substed = 0
   22634   len = length(field[1])
   22635   for (i = 2; i < nfields; i++) {
   22636     key = field[i]
   22637     keylen = length(key)
   22638     if (S_is_set[key]) {
   22639       value = S[key]
   22640       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22641       len += length(value) + length(field[++i])
   22642       substed = 1
   22643     } else
   22644       len += 1 + keylen
   22645   }
   22646 
   22647   print line
   22648 }
   22649 
   22650 _ACAWK
   22651 _ACEOF
   22652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22653 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22654   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22655 else
   22656   cat
   22657 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22658   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22659 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22660    { (exit 1); exit 1; }; }
   22661 _ACEOF
   22662 
   22663 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22664 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22665 # trailing colons and then remove the whole line if VPATH becomes empty
   22666 # (actually we leave an empty line to preserve line numbers).
   22667 if test "x$srcdir" = x.; then
   22668   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22669 s/:*\$(srcdir):*/:/
   22670 s/:*\${srcdir}:*/:/
   22671 s/:*@srcdir@:*/:/
   22672 s/^\([^=]*=[	 ]*\):*/\1/
   22673 s/:*$//
   22674 s/^[^=]*=[	 ]*$//
   22675 }'
   22676 fi
   22677 
   22678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22679 fi # test -n "$CONFIG_FILES"
   22680 
   22681 # Set up the scripts for CONFIG_HEADERS section.
   22682 # No need to generate them if there are no CONFIG_HEADERS.
   22683 # This happens for instance with `./config.status Makefile'.
   22684 if test -n "$CONFIG_HEADERS"; then
   22685 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22686 BEGIN {
   22687 _ACEOF
   22688 
   22689 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22690 # here-document in config.status, that substitutes the proper values into
   22691 # config.h.in to produce config.h.
   22692 
   22693 # Create a delimiter string that does not exist in confdefs.h, to ease
   22694 # handling of long lines.
   22695 ac_delim='%!_!# '
   22696 for ac_last_try in false false :; do
   22697   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22698   if test -z "$ac_t"; then
   22699     break
   22700   elif $ac_last_try; then
   22701     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22702 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22703    { (exit 1); exit 1; }; }
   22704   else
   22705     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22706   fi
   22707 done
   22708 
   22709 # For the awk script, D is an array of macro values keyed by name,
   22710 # likewise P contains macro parameters if any.  Preserve backslash
   22711 # newline sequences.
   22712 
   22713 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22714 sed -n '
   22715 s/.\{148\}/&'"$ac_delim"'/g
   22716 t rset
   22717 :rset
   22718 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22719 t def
   22720 d
   22721 :def
   22722 s/\\$//
   22723 t bsnl
   22724 s/["\\]/\\&/g
   22725 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22726 D["\1"]=" \3"/p
   22727 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22728 d
   22729 :bsnl
   22730 s/["\\]/\\&/g
   22731 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22732 D["\1"]=" \3\\\\\\n"\\/p
   22733 t cont
   22734 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22735 t cont
   22736 d
   22737 :cont
   22738 n
   22739 s/.\{148\}/&'"$ac_delim"'/g
   22740 t clear
   22741 :clear
   22742 s/\\$//
   22743 t bsnlc
   22744 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22745 d
   22746 :bsnlc
   22747 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22748 b cont
   22749 ' <confdefs.h | sed '
   22750 s/'"$ac_delim"'/"\\\
   22751 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22752 
   22753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22754   for (key in D) D_is_set[key] = 1
   22755   FS = ""
   22756 }
   22757 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22758   line = \$ 0
   22759   split(line, arg, " ")
   22760   if (arg[1] == "#") {
   22761     defundef = arg[2]
   22762     mac1 = arg[3]
   22763   } else {
   22764     defundef = substr(arg[1], 2)
   22765     mac1 = arg[2]
   22766   }
   22767   split(mac1, mac2, "(") #)
   22768   macro = mac2[1]
   22769   prefix = substr(line, 1, index(line, defundef) - 1)
   22770   if (D_is_set[macro]) {
   22771     # Preserve the white space surrounding the "#".
   22772     print prefix "define", macro P[macro] D[macro]
   22773     next
   22774   } else {
   22775     # Replace #undef with comments.  This is necessary, for example,
   22776     # in the case of _POSIX_SOURCE, which is predefined and required
   22777     # on some systems where configure will not decide to define it.
   22778     if (defundef == "undef") {
   22779       print "/*", prefix defundef, macro, "*/"
   22780       next
   22781     }
   22782   }
   22783 }
   22784 { print }
   22785 _ACAWK
   22786 _ACEOF
   22787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22788   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22789 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22790    { (exit 1); exit 1; }; }
   22791 fi # test -n "$CONFIG_HEADERS"
   22792 
   22793 
   22794 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22795 shift
   22796 for ac_tag
   22797 do
   22798   case $ac_tag in
   22799   :[FHLC]) ac_mode=$ac_tag; continue;;
   22800   esac
   22801   case $ac_mode$ac_tag in
   22802   :[FHL]*:*);;
   22803   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22804 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22805    { (exit 1); exit 1; }; };;
   22806   :[FH]-) ac_tag=-:-;;
   22807   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22808   esac
   22809   ac_save_IFS=$IFS
   22810   IFS=:
   22811   set x $ac_tag
   22812   IFS=$ac_save_IFS
   22813   shift
   22814   ac_file=$1
   22815   shift
   22816 
   22817   case $ac_mode in
   22818   :L) ac_source=$1;;
   22819   :[FH])
   22820     ac_file_inputs=
   22821     for ac_f
   22822     do
   22823       case $ac_f in
   22824       -) ac_f="$tmp/stdin";;
   22825       *) # Look for the file first in the build tree, then in the source tree
   22826 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22827 	 # because $ac_f cannot contain `:'.
   22828 	 test -f "$ac_f" ||
   22829 	   case $ac_f in
   22830 	   [\\/$]*) false;;
   22831 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22832 	   esac ||
   22833 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22834 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22835    { (exit 1); exit 1; }; };;
   22836       esac
   22837       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22838       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22839     done
   22840 
   22841     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22842     # use $as_me), people would be surprised to read:
   22843     #    /* config.h.  Generated by config.status.  */
   22844     configure_input='Generated from '`
   22845 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22846 	`' by configure.'
   22847     if test x"$ac_file" != x-; then
   22848       configure_input="$ac_file.  $configure_input"
   22849       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22850 $as_echo "$as_me: creating $ac_file" >&6;}
   22851     fi
   22852     # Neutralize special characters interpreted by sed in replacement strings.
   22853     case $configure_input in #(
   22854     *\&* | *\|* | *\\* )
   22855        ac_sed_conf_input=`$as_echo "$configure_input" |
   22856        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22857     *) ac_sed_conf_input=$configure_input;;
   22858     esac
   22859 
   22860     case $ac_tag in
   22861     *:-:* | *:-) cat >"$tmp/stdin" \
   22862       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22863 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22864    { (exit 1); exit 1; }; } ;;
   22865     esac
   22866     ;;
   22867   esac
   22868 
   22869   ac_dir=`$as_dirname -- "$ac_file" ||
   22870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22871 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22872 	 X"$ac_file" : 'X\(//\)$' \| \
   22873 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22874 $as_echo X"$ac_file" |
   22875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22876 	    s//\1/
   22877 	    q
   22878 	  }
   22879 	  /^X\(\/\/\)[^/].*/{
   22880 	    s//\1/
   22881 	    q
   22882 	  }
   22883 	  /^X\(\/\/\)$/{
   22884 	    s//\1/
   22885 	    q
   22886 	  }
   22887 	  /^X\(\/\).*/{
   22888 	    s//\1/
   22889 	    q
   22890 	  }
   22891 	  s/.*/./; q'`
   22892   { as_dir="$ac_dir"
   22893   case $as_dir in #(
   22894   -*) as_dir=./$as_dir;;
   22895   esac
   22896   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22897     as_dirs=
   22898     while :; do
   22899       case $as_dir in #(
   22900       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22901       *) as_qdir=$as_dir;;
   22902       esac
   22903       as_dirs="'$as_qdir' $as_dirs"
   22904       as_dir=`$as_dirname -- "$as_dir" ||
   22905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22906 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22907 	 X"$as_dir" : 'X\(//\)$' \| \
   22908 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22909 $as_echo X"$as_dir" |
   22910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22911 	    s//\1/
   22912 	    q
   22913 	  }
   22914 	  /^X\(\/\/\)[^/].*/{
   22915 	    s//\1/
   22916 	    q
   22917 	  }
   22918 	  /^X\(\/\/\)$/{
   22919 	    s//\1/
   22920 	    q
   22921 	  }
   22922 	  /^X\(\/\).*/{
   22923 	    s//\1/
   22924 	    q
   22925 	  }
   22926 	  s/.*/./; q'`
   22927       test -d "$as_dir" && break
   22928     done
   22929     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22930   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22931 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22932    { (exit 1); exit 1; }; }; }
   22933   ac_builddir=.
   22934 
   22935 case "$ac_dir" in
   22936 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22937 *)
   22938   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22939   # A ".." for each directory in $ac_dir_suffix.
   22940   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22941   case $ac_top_builddir_sub in
   22942   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22943   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22944   esac ;;
   22945 esac
   22946 ac_abs_top_builddir=$ac_pwd
   22947 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22948 # for backward compatibility:
   22949 ac_top_builddir=$ac_top_build_prefix
   22950 
   22951 case $srcdir in
   22952   .)  # We are building in place.
   22953     ac_srcdir=.
   22954     ac_top_srcdir=$ac_top_builddir_sub
   22955     ac_abs_top_srcdir=$ac_pwd ;;
   22956   [\\/]* | ?:[\\/]* )  # Absolute name.
   22957     ac_srcdir=$srcdir$ac_dir_suffix;
   22958     ac_top_srcdir=$srcdir
   22959     ac_abs_top_srcdir=$srcdir ;;
   22960   *) # Relative name.
   22961     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22962     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22963     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22964 esac
   22965 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22966 
   22967 
   22968   case $ac_mode in
   22969   :F)
   22970   #
   22971   # CONFIG_FILE
   22972   #
   22973 
   22974   case $INSTALL in
   22975   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22976   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22977   esac
   22978   ac_MKDIR_P=$MKDIR_P
   22979   case $MKDIR_P in
   22980   [\\/$]* | ?:[\\/]* ) ;;
   22981   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22982   esac
   22983 _ACEOF
   22984 
   22985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22986 # If the template does not know about datarootdir, expand it.
   22987 # FIXME: This hack should be removed a few years after 2.60.
   22988 ac_datarootdir_hack=; ac_datarootdir_seen=
   22989 
   22990 ac_sed_dataroot='
   22991 /datarootdir/ {
   22992   p
   22993   q
   22994 }
   22995 /@datadir@/p
   22996 /@docdir@/p
   22997 /@infodir@/p
   22998 /@localedir@/p
   22999 /@mandir@/p
   23000 '
   23001 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23002 *datarootdir*) ac_datarootdir_seen=yes;;
   23003 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23004   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23005 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23006 _ACEOF
   23007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23008   ac_datarootdir_hack='
   23009   s&@datadir@&$datadir&g
   23010   s&@docdir@&$docdir&g
   23011   s&@infodir@&$infodir&g
   23012   s&@localedir@&$localedir&g
   23013   s&@mandir@&$mandir&g
   23014     s&\\\${datarootdir}&$datarootdir&g' ;;
   23015 esac
   23016 _ACEOF
   23017 
   23018 # Neutralize VPATH when `$srcdir' = `.'.
   23019 # Shell code in configure.ac might set extrasub.
   23020 # FIXME: do we really want to maintain this feature?
   23021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23022 ac_sed_extra="$ac_vpsub
   23023 $extrasub
   23024 _ACEOF
   23025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23026 :t
   23027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23028 s|@configure_input@|$ac_sed_conf_input|;t t
   23029 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23030 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23031 s&@srcdir@&$ac_srcdir&;t t
   23032 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23033 s&@top_srcdir@&$ac_top_srcdir&;t t
   23034 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23035 s&@builddir@&$ac_builddir&;t t
   23036 s&@abs_builddir@&$ac_abs_builddir&;t t
   23037 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23038 s&@INSTALL@&$ac_INSTALL&;t t
   23039 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23040 $ac_datarootdir_hack
   23041 "
   23042 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23043   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23044 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23045    { (exit 1); exit 1; }; }
   23046 
   23047 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23048   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23049   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23050   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23051 which seems to be undefined.  Please make sure it is defined." >&5
   23052 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23053 which seems to be undefined.  Please make sure it is defined." >&2;}
   23054 
   23055   rm -f "$tmp/stdin"
   23056   case $ac_file in
   23057   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23058   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23059   esac \
   23060   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23061 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23062    { (exit 1); exit 1; }; }
   23063  ;;
   23064   :H)
   23065   #
   23066   # CONFIG_HEADER
   23067   #
   23068   if test x"$ac_file" != x-; then
   23069     {
   23070       $as_echo "/* $configure_input  */" \
   23071       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23072     } >"$tmp/config.h" \
   23073       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23074 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23075    { (exit 1); exit 1; }; }
   23076     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23077       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23079     else
   23080       rm -f "$ac_file"
   23081       mv "$tmp/config.h" "$ac_file" \
   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     fi
   23086   else
   23087     $as_echo "/* $configure_input  */" \
   23088       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23089       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23090 $as_echo "$as_me: error: could not create -" >&2;}
   23091    { (exit 1); exit 1; }; }
   23092   fi
   23093 # Compute "$ac_file"'s index in $config_headers.
   23094 _am_arg="$ac_file"
   23095 _am_stamp_count=1
   23096 for _am_header in $config_headers :; do
   23097   case $_am_header in
   23098     $_am_arg | $_am_arg:* )
   23099       break ;;
   23100     * )
   23101       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23102   esac
   23103 done
   23104 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23105 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23106 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23107 	 X"$_am_arg" : 'X\(//\)$' \| \
   23108 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23109 $as_echo X"$_am_arg" |
   23110     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23111 	    s//\1/
   23112 	    q
   23113 	  }
   23114 	  /^X\(\/\/\)[^/].*/{
   23115 	    s//\1/
   23116 	    q
   23117 	  }
   23118 	  /^X\(\/\/\)$/{
   23119 	    s//\1/
   23120 	    q
   23121 	  }
   23122 	  /^X\(\/\).*/{
   23123 	    s//\1/
   23124 	    q
   23125 	  }
   23126 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23127  ;;
   23128 
   23129   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23130 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23131  ;;
   23132   esac
   23133 
   23134 
   23135   case $ac_file$ac_mode in
   23136     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23137   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23138   # are listed without --file.  Let's play safe and only enable the eval
   23139   # if we detect the quoting.
   23140   case $CONFIG_FILES in
   23141   *\'*) eval set x "$CONFIG_FILES" ;;
   23142   *)   set x $CONFIG_FILES ;;
   23143   esac
   23144   shift
   23145   for mf
   23146   do
   23147     # Strip MF so we end up with the name of the file.
   23148     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23149     # Check whether this is an Automake generated Makefile or not.
   23150     # We used to match only the files named `Makefile.in', but
   23151     # some people rename them; so instead we look at the file content.
   23152     # Grep'ing the first line is not enough: some people post-process
   23153     # each Makefile.in and add a new line on top of each file to say so.
   23154     # Grep'ing the whole file is not good either: AIX grep has a line
   23155     # limit of 2048, but all sed's we know have understand at least 4000.
   23156     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23157       dirpart=`$as_dirname -- "$mf" ||
   23158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23159 	 X"$mf" : 'X\(//\)[^/]' \| \
   23160 	 X"$mf" : 'X\(//\)$' \| \
   23161 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23162 $as_echo X"$mf" |
   23163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23164 	    s//\1/
   23165 	    q
   23166 	  }
   23167 	  /^X\(\/\/\)[^/].*/{
   23168 	    s//\1/
   23169 	    q
   23170 	  }
   23171 	  /^X\(\/\/\)$/{
   23172 	    s//\1/
   23173 	    q
   23174 	  }
   23175 	  /^X\(\/\).*/{
   23176 	    s//\1/
   23177 	    q
   23178 	  }
   23179 	  s/.*/./; q'`
   23180     else
   23181       continue
   23182     fi
   23183     # Extract the definition of DEPDIR, am__include, and am__quote
   23184     # from the Makefile without running `make'.
   23185     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23186     test -z "$DEPDIR" && continue
   23187     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23188     test -z "am__include" && continue
   23189     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23190     # When using ansi2knr, U may be empty or an underscore; expand it
   23191     U=`sed -n 's/^U = //p' < "$mf"`
   23192     # Find all dependency output files, they are included files with
   23193     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23194     # simplest approach to changing $(DEPDIR) to its actual value in the
   23195     # expansion.
   23196     for file in `sed -n "
   23197       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23198 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23199       # Make sure the directory exists.
   23200       test -f "$dirpart/$file" && continue
   23201       fdir=`$as_dirname -- "$file" ||
   23202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23203 	 X"$file" : 'X\(//\)[^/]' \| \
   23204 	 X"$file" : 'X\(//\)$' \| \
   23205 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23206 $as_echo X"$file" |
   23207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23208 	    s//\1/
   23209 	    q
   23210 	  }
   23211 	  /^X\(\/\/\)[^/].*/{
   23212 	    s//\1/
   23213 	    q
   23214 	  }
   23215 	  /^X\(\/\/\)$/{
   23216 	    s//\1/
   23217 	    q
   23218 	  }
   23219 	  /^X\(\/\).*/{
   23220 	    s//\1/
   23221 	    q
   23222 	  }
   23223 	  s/.*/./; q'`
   23224       { as_dir=$dirpart/$fdir
   23225   case $as_dir in #(
   23226   -*) as_dir=./$as_dir;;
   23227   esac
   23228   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23229     as_dirs=
   23230     while :; do
   23231       case $as_dir in #(
   23232       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23233       *) as_qdir=$as_dir;;
   23234       esac
   23235       as_dirs="'$as_qdir' $as_dirs"
   23236       as_dir=`$as_dirname -- "$as_dir" ||
   23237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23238 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23239 	 X"$as_dir" : 'X\(//\)$' \| \
   23240 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23241 $as_echo X"$as_dir" |
   23242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23243 	    s//\1/
   23244 	    q
   23245 	  }
   23246 	  /^X\(\/\/\)[^/].*/{
   23247 	    s//\1/
   23248 	    q
   23249 	  }
   23250 	  /^X\(\/\/\)$/{
   23251 	    s//\1/
   23252 	    q
   23253 	  }
   23254 	  /^X\(\/\).*/{
   23255 	    s//\1/
   23256 	    q
   23257 	  }
   23258 	  s/.*/./; q'`
   23259       test -d "$as_dir" && break
   23260     done
   23261     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23262   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23263 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23264    { (exit 1); exit 1; }; }; }
   23265       # echo "creating $dirpart/$file"
   23266       echo '# dummy' > "$dirpart/$file"
   23267     done
   23268   done
   23269 }
   23270  ;;
   23271 
   23272   esac
   23273 done # for ac_tag
   23274 
   23275 
   23276 { (exit 0); exit 0; }
   23277 _ACEOF
   23278 chmod +x $CONFIG_STATUS
   23279 ac_clean_files=$ac_clean_files_save
   23280 
   23281 test $ac_write_fail = 0 ||
   23282   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23283 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23284    { (exit 1); exit 1; }; }
   23285 
   23286 
   23287 # configure is writing to config.log, and then calls config.status.
   23288 # config.status does its own redirection, appending to config.log.
   23289 # Unfortunately, on DOS this fails, as config.log is still kept open
   23290 # by configure, so config.status won't be able to write to it; its
   23291 # output is simply discarded.  So we exec the FD to /dev/null,
   23292 # effectively closing config.log, so it can be properly (re)opened and
   23293 # appended to by config.status.  When coming back to configure, we
   23294 # need to make the FD available again.
   23295 if test "$no_create" != yes; then
   23296   ac_cs_success=:
   23297   ac_config_status_args=
   23298   test "$silent" = yes &&
   23299     ac_config_status_args="$ac_config_status_args --quiet"
   23300   exec 5>/dev/null
   23301   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23302   exec 5>>config.log
   23303   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23304   # would make configure fail if this is the last instruction.
   23305   $ac_cs_success || { (exit 1); exit 1; }
   23306 fi
   23307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23308   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23310 fi
   23311 
   23312