tools/picctldisplaytest/configure
changeset 2 2f55e5dd591d
equal deleted inserted replaced
1:f08135942074 2:2f55e5dd591d
       
     1 #! /bin/sh
       
     2 # Guess values for system-dependent variables and create Makefiles.
       
     3 # Generated by GNU Autoconf 2.60.
       
     4 #
       
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
     7 # This configure script is free software; the Free Software Foundation
       
     8 # gives unlimited permission to copy, distribute and modify it.
       
     9 ## --------------------- ##
       
    10 ## M4sh Initialization.  ##
       
    11 ## --------------------- ##
       
    12 
       
    13 # Be Bourne compatible
       
    14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
    15   emulate sh
       
    16   NULLCMD=:
       
    17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
    18   # is contrary to our usage.  Disable this feature.
       
    19   alias -g '${1+"$@"}'='"$@"'
       
    20   setopt NO_GLOB_SUBST
       
    21 else
       
    22   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
       
    23 fi
       
    24 BIN_SH=xpg4; export BIN_SH # for Tru64
       
    25 DUALCASE=1; export DUALCASE # for MKS sh
       
    26 
       
    27 
       
    28 # PATH needs CR
       
    29 # Avoid depending upon Character Ranges.
       
    30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
    31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
    32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
    33 as_cr_digits='0123456789'
       
    34 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
    35 
       
    36 # The user is always right.
       
    37 if test "${PATH_SEPARATOR+set}" != set; then
       
    38   echo "#! /bin/sh" >conf$$.sh
       
    39   echo  "exit 0"   >>conf$$.sh
       
    40   chmod +x conf$$.sh
       
    41   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
    42     PATH_SEPARATOR=';'
       
    43   else
       
    44     PATH_SEPARATOR=:
       
    45   fi
       
    46   rm -f conf$$.sh
       
    47 fi
       
    48 
       
    49 # Support unset when possible.
       
    50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
    51   as_unset=unset
       
    52 else
       
    53   as_unset=false
       
    54 fi
       
    55 
       
    56 
       
    57 # IFS
       
    58 # We need space, tab and new line, in precisely that order.  Quoting is
       
    59 # there to prevent editors from complaining about space-tab.
       
    60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
    61 # splitting by setting IFS to empty value.)
       
    62 as_nl='
       
    63 '
       
    64 IFS=" ""	$as_nl"
       
    65 
       
    66 # Find who we are.  Look in the path if we contain no directory separator.
       
    67 case $0 in
       
    68   *[\\/]* ) as_myself=$0 ;;
       
    69   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
    70 for as_dir in $PATH
       
    71 do
       
    72   IFS=$as_save_IFS
       
    73   test -z "$as_dir" && as_dir=.
       
    74   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
    75 done
       
    76 IFS=$as_save_IFS
       
    77 
       
    78      ;;
       
    79 esac
       
    80 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
    81 # in which case we are not to be found in the path.
       
    82 if test "x$as_myself" = x; then
       
    83   as_myself=$0
       
    84 fi
       
    85 if test ! -f "$as_myself"; then
       
    86   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
    87   { (exit 1); exit 1; }
       
    88 fi
       
    89 
       
    90 # Work around bugs in pre-3.0 UWIN ksh.
       
    91 for as_var in ENV MAIL MAILPATH
       
    92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
    93 done
       
    94 PS1='$ '
       
    95 PS2='> '
       
    96 PS4='+ '
       
    97 
       
    98 # NLS nuisances.
       
    99 for as_var in \
       
   100   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
   101   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
   102   LC_TELEPHONE LC_TIME
       
   103 do
       
   104   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
   105     eval $as_var=C; export $as_var
       
   106   else
       
   107     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   108   fi
       
   109 done
       
   110 
       
   111 # Required to use basename.
       
   112 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   113    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   114   as_expr=expr
       
   115 else
       
   116   as_expr=false
       
   117 fi
       
   118 
       
   119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
   120   as_basename=basename
       
   121 else
       
   122   as_basename=false
       
   123 fi
       
   124 
       
   125 
       
   126 # Name of the executable.
       
   127 as_me=`$as_basename -- "$0" ||
       
   128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
   129 	 X"$0" : 'X\(//\)$' \| \
       
   130 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
   131 echo X/"$0" |
       
   132     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
   133 	    s//\1/
       
   134 	    q
       
   135 	  }
       
   136 	  /^X\/\(\/\/\)$/{
       
   137 	    s//\1/
       
   138 	    q
       
   139 	  }
       
   140 	  /^X\/\(\/\).*/{
       
   141 	    s//\1/
       
   142 	    q
       
   143 	  }
       
   144 	  s/.*/./; q'`
       
   145 
       
   146 # CDPATH.
       
   147 $as_unset CDPATH
       
   148 
       
   149 
       
   150 if test "x$CONFIG_SHELL" = x; then
       
   151   if (eval ":") 2>/dev/null; then
       
   152   as_have_required=yes
       
   153 else
       
   154   as_have_required=no
       
   155 fi
       
   156 
       
   157   if test $as_have_required = yes && 	 (eval ":
       
   158 (as_func_return () {
       
   159   (exit \$1)
       
   160 }
       
   161 as_func_success () {
       
   162   as_func_return 0
       
   163 }
       
   164 as_func_failure () {
       
   165   as_func_return 1
       
   166 }
       
   167 as_func_ret_success () {
       
   168   return 0
       
   169 }
       
   170 as_func_ret_failure () {
       
   171   return 1
       
   172 }
       
   173 
       
   174 exitcode=0
       
   175 if as_func_success; then
       
   176   :
       
   177 else
       
   178   exitcode=1
       
   179   echo as_func_success failed.
       
   180 fi
       
   181 
       
   182 if as_func_failure; then
       
   183   exitcode=1
       
   184   echo as_func_failure succeeded.
       
   185 fi
       
   186 
       
   187 if as_func_ret_success; then
       
   188   :
       
   189 else
       
   190   exitcode=1
       
   191   echo as_func_ret_success failed.
       
   192 fi
       
   193 
       
   194 if as_func_ret_failure; then
       
   195   exitcode=1
       
   196   echo as_func_ret_failure succeeded.
       
   197 fi
       
   198 
       
   199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   200   :
       
   201 else
       
   202   exitcode=1
       
   203   echo positional parameters were not saved.
       
   204 fi
       
   205 
       
   206 test \$exitcode = 0) || { (exit 1); exit 1; }
       
   207 
       
   208 (
       
   209   as_lineno_1=\$LINENO
       
   210   as_lineno_2=\$LINENO
       
   211   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
       
   212   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
       
   213 ") 2> /dev/null; then
       
   214   :
       
   215 else
       
   216   as_candidate_shells=
       
   217     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
   218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
       
   219 do
       
   220   IFS=$as_save_IFS
       
   221   test -z "$as_dir" && as_dir=.
       
   222   case $as_dir in
       
   223 	 /*)
       
   224 	   for as_base in sh bash ksh sh5; do
       
   225 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
       
   226 	   done;;
       
   227        esac
       
   228 done
       
   229 IFS=$as_save_IFS
       
   230 
       
   231 
       
   232       for as_shell in $as_candidate_shells $SHELL; do
       
   233 	 # Try only shells that exist, to save several forks.
       
   234 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
       
   235 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
       
   236 # Be Bourne compatible
       
   237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   238   emulate sh
       
   239   NULLCMD=:
       
   240   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   241   # is contrary to our usage.  Disable this feature.
       
   242   alias -g '${1+"$@"}'='"$@"'
       
   243   setopt NO_GLOB_SUBST
       
   244 else
       
   245   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
       
   246 fi
       
   247 BIN_SH=xpg4; export BIN_SH # for Tru64
       
   248 DUALCASE=1; export DUALCASE # for MKS sh
       
   249 
       
   250 :
       
   251 _ASEOF
       
   252 }; then
       
   253   CONFIG_SHELL=$as_shell
       
   254 	       as_have_required=yes
       
   255 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
       
   256 # Be Bourne compatible
       
   257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
   258   emulate sh
       
   259   NULLCMD=:
       
   260   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
   261   # is contrary to our usage.  Disable this feature.
       
   262   alias -g '${1+"$@"}'='"$@"'
       
   263   setopt NO_GLOB_SUBST
       
   264 else
       
   265   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
       
   266 fi
       
   267 BIN_SH=xpg4; export BIN_SH # for Tru64
       
   268 DUALCASE=1; export DUALCASE # for MKS sh
       
   269 
       
   270 :
       
   271 (as_func_return () {
       
   272   (exit $1)
       
   273 }
       
   274 as_func_success () {
       
   275   as_func_return 0
       
   276 }
       
   277 as_func_failure () {
       
   278   as_func_return 1
       
   279 }
       
   280 as_func_ret_success () {
       
   281   return 0
       
   282 }
       
   283 as_func_ret_failure () {
       
   284   return 1
       
   285 }
       
   286 
       
   287 exitcode=0
       
   288 if as_func_success; then
       
   289   :
       
   290 else
       
   291   exitcode=1
       
   292   echo as_func_success failed.
       
   293 fi
       
   294 
       
   295 if as_func_failure; then
       
   296   exitcode=1
       
   297   echo as_func_failure succeeded.
       
   298 fi
       
   299 
       
   300 if as_func_ret_success; then
       
   301   :
       
   302 else
       
   303   exitcode=1
       
   304   echo as_func_ret_success failed.
       
   305 fi
       
   306 
       
   307 if as_func_ret_failure; then
       
   308   exitcode=1
       
   309   echo as_func_ret_failure succeeded.
       
   310 fi
       
   311 
       
   312 if ( set x; as_func_ret_success y && test x = "$1" ); then
       
   313   :
       
   314 else
       
   315   exitcode=1
       
   316   echo positional parameters were not saved.
       
   317 fi
       
   318 
       
   319 test $exitcode = 0) || { (exit 1); exit 1; }
       
   320 
       
   321 (
       
   322   as_lineno_1=$LINENO
       
   323   as_lineno_2=$LINENO
       
   324   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   325   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
       
   326 
       
   327 _ASEOF
       
   328 }; then
       
   329   break
       
   330 fi
       
   331 
       
   332 fi
       
   333 
       
   334       done
       
   335 
       
   336       if test "x$CONFIG_SHELL" != x; then
       
   337   for as_var in BASH_ENV ENV
       
   338         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
   339         done
       
   340         export CONFIG_SHELL
       
   341         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
       
   342 fi
       
   343 
       
   344 
       
   345     if test $as_have_required = no; then
       
   346   echo This script requires a shell more modern than all the
       
   347       echo shells that I found on your system.  Please install a
       
   348       echo modern shell, or manually run the script under such a
       
   349       echo shell if you do have one.
       
   350       { (exit 1); exit 1; }
       
   351 fi
       
   352 
       
   353 
       
   354 fi
       
   355 
       
   356 fi
       
   357 
       
   358 
       
   359 
       
   360 (eval "as_func_return () {
       
   361   (exit \$1)
       
   362 }
       
   363 as_func_success () {
       
   364   as_func_return 0
       
   365 }
       
   366 as_func_failure () {
       
   367   as_func_return 1
       
   368 }
       
   369 as_func_ret_success () {
       
   370   return 0
       
   371 }
       
   372 as_func_ret_failure () {
       
   373   return 1
       
   374 }
       
   375 
       
   376 exitcode=0
       
   377 if as_func_success; then
       
   378   :
       
   379 else
       
   380   exitcode=1
       
   381   echo as_func_success failed.
       
   382 fi
       
   383 
       
   384 if as_func_failure; then
       
   385   exitcode=1
       
   386   echo as_func_failure succeeded.
       
   387 fi
       
   388 
       
   389 if as_func_ret_success; then
       
   390   :
       
   391 else
       
   392   exitcode=1
       
   393   echo as_func_ret_success failed.
       
   394 fi
       
   395 
       
   396 if as_func_ret_failure; then
       
   397   exitcode=1
       
   398   echo as_func_ret_failure succeeded.
       
   399 fi
       
   400 
       
   401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
       
   402   :
       
   403 else
       
   404   exitcode=1
       
   405   echo positional parameters were not saved.
       
   406 fi
       
   407 
       
   408 test \$exitcode = 0") || {
       
   409   echo No shell found that supports shell functions.
       
   410   echo Please tell autoconf@gnu.org about your system,
       
   411   echo including any error possibly output before this
       
   412   echo message
       
   413 }
       
   414 
       
   415 
       
   416 
       
   417   as_lineno_1=$LINENO
       
   418   as_lineno_2=$LINENO
       
   419   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
   420   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
   421 
       
   422   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
   423   # uniformly replaced by the line number.  The first 'sed' inserts a
       
   424   # line-number line after each line using $LINENO; the second 'sed'
       
   425   # does the real work.  The second script uses 'N' to pair each
       
   426   # line-number line with the line containing $LINENO, and appends
       
   427   # trailing '-' during substitution so that $LINENO is not a special
       
   428   # case at line end.
       
   429   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
   430   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
   431   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
   432   sed -n '
       
   433     p
       
   434     /[$]LINENO/=
       
   435   ' <$as_myself |
       
   436     sed '
       
   437       s/[$]LINENO.*/&-/
       
   438       t lineno
       
   439       b
       
   440       :lineno
       
   441       N
       
   442       :loop
       
   443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
   444       t loop
       
   445       s/-\n.*//
       
   446     ' >$as_me.lineno &&
       
   447   chmod +x "$as_me.lineno" ||
       
   448     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
   449    { (exit 1); exit 1; }; }
       
   450 
       
   451   # Don't try to exec as it changes $[0], causing all sort of problems
       
   452   # (the dirname of $[0] is not the place where we might find the
       
   453   # original and so on.  Autoconf is especially sensitive to this).
       
   454   . "./$as_me.lineno"
       
   455   # Exit status is that of the last command.
       
   456   exit
       
   457 }
       
   458 
       
   459 
       
   460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
   461   as_dirname=dirname
       
   462 else
       
   463   as_dirname=false
       
   464 fi
       
   465 
       
   466 ECHO_C= ECHO_N= ECHO_T=
       
   467 case `echo -n x` in
       
   468 -n*)
       
   469   case `echo 'x\c'` in
       
   470   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
   471   *)   ECHO_C='\c';;
       
   472   esac;;
       
   473 *)
       
   474   ECHO_N='-n';;
       
   475 esac
       
   476 
       
   477 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
   478    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
   479   as_expr=expr
       
   480 else
       
   481   as_expr=false
       
   482 fi
       
   483 
       
   484 rm -f conf$$ conf$$.exe conf$$.file
       
   485 if test -d conf$$.dir; then
       
   486   rm -f conf$$.dir/conf$$.file
       
   487 else
       
   488   rm -f conf$$.dir
       
   489   mkdir conf$$.dir
       
   490 fi
       
   491 echo >conf$$.file
       
   492 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
   493   as_ln_s='ln -s'
       
   494   # ... but there are two gotchas:
       
   495   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
   496   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
   497   # In both cases, we have to default to `cp -p'.
       
   498   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
   499     as_ln_s='cp -p'
       
   500 elif ln conf$$.file conf$$ 2>/dev/null; then
       
   501   as_ln_s=ln
       
   502 else
       
   503   as_ln_s='cp -p'
       
   504 fi
       
   505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
   506 rmdir conf$$.dir 2>/dev/null
       
   507 
       
   508 if mkdir -p . 2>/dev/null; then
       
   509   as_mkdir_p=:
       
   510 else
       
   511   test -d ./-p && rmdir ./-p
       
   512   as_mkdir_p=false
       
   513 fi
       
   514 
       
   515 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
       
   516 # systems may use methods other than mode bits to determine executability.
       
   517 cat >conf$$.file <<_ASEOF
       
   518 #! /bin/sh
       
   519 exit 0
       
   520 _ASEOF
       
   521 chmod +x conf$$.file
       
   522 if test -x conf$$.file >/dev/null 2>&1; then
       
   523   as_executable_p="test -x"
       
   524 else
       
   525   as_executable_p=:
       
   526 fi
       
   527 rm -f conf$$.file
       
   528 
       
   529 # Sed expression to map a string onto a valid CPP name.
       
   530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
   531 
       
   532 # Sed expression to map a string onto a valid variable name.
       
   533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
   534 
       
   535 
       
   536 
       
   537 
       
   538 # Check that we are running under the correct shell.
       
   539 SHELL=${CONFIG_SHELL-/bin/sh}
       
   540 
       
   541 case X$ECHO in
       
   542 X*--fallback-echo)
       
   543   # Remove one level of quotation (which was required for Make).
       
   544   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
       
   545   ;;
       
   546 esac
       
   547 
       
   548 echo=${ECHO-echo}
       
   549 if test "X$1" = X--no-reexec; then
       
   550   # Discard the --no-reexec flag, and continue.
       
   551   shift
       
   552 elif test "X$1" = X--fallback-echo; then
       
   553   # Avoid inline document here, it may be left over
       
   554   :
       
   555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
       
   556   # Yippee, $echo works!
       
   557   :
       
   558 else
       
   559   # Restart under the correct shell.
       
   560   exec $SHELL "$0" --no-reexec ${1+"$@"}
       
   561 fi
       
   562 
       
   563 if test "X$1" = X--fallback-echo; then
       
   564   # used as fallback echo
       
   565   shift
       
   566   cat <<EOF
       
   567 $*
       
   568 EOF
       
   569   exit 0
       
   570 fi
       
   571 
       
   572 # The HP-UX ksh and POSIX shell print the target directory to stdout
       
   573 # if CDPATH is set.
       
   574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
   575 
       
   576 if test -z "$ECHO"; then
       
   577 if test "X${echo_test_string+set}" != Xset; then
       
   578 # find a string as large as possible, as long as the shell can cope with it
       
   579   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
       
   580     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
       
   581     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
       
   582        echo_test_string=`eval $cmd` &&
       
   583        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
       
   584     then
       
   585       break
       
   586     fi
       
   587   done
       
   588 fi
       
   589 
       
   590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
       
   591    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
       
   592    test "X$echo_testing_string" = "X$echo_test_string"; then
       
   593   :
       
   594 else
       
   595   # The Solaris, AIX, and Digital Unix default echo programs unquote
       
   596   # backslashes.  This makes it impossible to quote backslashes using
       
   597   #   echo "$something" | sed 's/\\/\\\\/g'
       
   598   #
       
   599   # So, first we look for a working echo in the user's PATH.
       
   600 
       
   601   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
   602   for dir in $PATH /usr/ucb; do
       
   603     IFS="$lt_save_ifs"
       
   604     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
       
   605        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
       
   606        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
       
   607        test "X$echo_testing_string" = "X$echo_test_string"; then
       
   608       echo="$dir/echo"
       
   609       break
       
   610     fi
       
   611   done
       
   612   IFS="$lt_save_ifs"
       
   613 
       
   614   if test "X$echo" = Xecho; then
       
   615     # We didn't find a better echo, so look for alternatives.
       
   616     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
       
   617        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
       
   618        test "X$echo_testing_string" = "X$echo_test_string"; then
       
   619       # This shell has a builtin print -r that does the trick.
       
   620       echo='print -r'
       
   621     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
       
   622 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
       
   623       # If we have ksh, try running configure again with it.
       
   624       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
       
   625       export ORIGINAL_CONFIG_SHELL
       
   626       CONFIG_SHELL=/bin/ksh
       
   627       export CONFIG_SHELL
       
   628       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
       
   629     else
       
   630       # Try using printf.
       
   631       echo='printf %s\n'
       
   632       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
       
   633 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
       
   634 	 test "X$echo_testing_string" = "X$echo_test_string"; then
       
   635 	# Cool, printf works
       
   636 	:
       
   637       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
       
   638 	   test "X$echo_testing_string" = 'X\t' &&
       
   639 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
       
   640 	   test "X$echo_testing_string" = "X$echo_test_string"; then
       
   641 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
       
   642 	export CONFIG_SHELL
       
   643 	SHELL="$CONFIG_SHELL"
       
   644 	export SHELL
       
   645 	echo="$CONFIG_SHELL $0 --fallback-echo"
       
   646       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
       
   647 	   test "X$echo_testing_string" = 'X\t' &&
       
   648 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
       
   649 	   test "X$echo_testing_string" = "X$echo_test_string"; then
       
   650 	echo="$CONFIG_SHELL $0 --fallback-echo"
       
   651       else
       
   652 	# maybe with a smaller string...
       
   653 	prev=:
       
   654 
       
   655 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
       
   656 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
       
   657 	  then
       
   658 	    break
       
   659 	  fi
       
   660 	  prev="$cmd"
       
   661 	done
       
   662 
       
   663 	if test "$prev" != 'sed 50q "$0"'; then
       
   664 	  echo_test_string=`eval $prev`
       
   665 	  export echo_test_string
       
   666 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
       
   667 	else
       
   668 	  # Oops.  We lost completely, so just stick with echo.
       
   669 	  echo=echo
       
   670 	fi
       
   671       fi
       
   672     fi
       
   673   fi
       
   674 fi
       
   675 fi
       
   676 
       
   677 # Copy echo and quote the copy suitably for passing to libtool from
       
   678 # the Makefile, instead of quoting the original, which is used later.
       
   679 ECHO=$echo
       
   680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
       
   681    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
       
   682 fi
       
   683 
       
   684 
       
   685 
       
   686 
       
   687 tagnames=${tagnames+${tagnames},}CXX
       
   688 
       
   689 tagnames=${tagnames+${tagnames},}F77
       
   690 
       
   691 exec 7<&0 </dev/null 6>&1
       
   692 
       
   693 # Name of the host.
       
   694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
       
   695 # so uname gets run too.
       
   696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
       
   697 
       
   698 #
       
   699 # Initializations.
       
   700 #
       
   701 ac_default_prefix=/usr/local
       
   702 ac_clean_files=
       
   703 ac_config_libobj_dir=.
       
   704 LIBOBJS=
       
   705 cross_compiling=no
       
   706 subdirs=
       
   707 MFLAGS=
       
   708 MAKEFLAGS=
       
   709 SHELL=${CONFIG_SHELL-/bin/sh}
       
   710 
       
   711 # Identity of this package.
       
   712 PACKAGE_NAME=
       
   713 PACKAGE_TARNAME=
       
   714 PACKAGE_VERSION=
       
   715 PACKAGE_STRING=
       
   716 PACKAGE_BUGREPORT=
       
   717 
       
   718 ac_unique_file="configure.in"
       
   719 # Factoring default headers for most tests.
       
   720 ac_includes_default="\
       
   721 #include <stdio.h>
       
   722 #if HAVE_SYS_TYPES_H
       
   723 # include <sys/types.h>
       
   724 #endif
       
   725 #if HAVE_SYS_STAT_H
       
   726 # include <sys/stat.h>
       
   727 #endif
       
   728 #if STDC_HEADERS
       
   729 # include <stdlib.h>
       
   730 # include <stddef.h>
       
   731 #else
       
   732 # if HAVE_STDLIB_H
       
   733 #  include <stdlib.h>
       
   734 # endif
       
   735 #endif
       
   736 #if HAVE_STRING_H
       
   737 # if !STDC_HEADERS && HAVE_MEMORY_H
       
   738 #  include <memory.h>
       
   739 # endif
       
   740 # include <string.h>
       
   741 #endif
       
   742 #if HAVE_STRINGS_H
       
   743 # include <strings.h>
       
   744 #endif
       
   745 #if HAVE_INTTYPES_H
       
   746 # include <inttypes.h>
       
   747 #endif
       
   748 #if HAVE_STDINT_H
       
   749 # include <stdint.h>
       
   750 #endif
       
   751 #if HAVE_UNISTD_H
       
   752 # include <unistd.h>
       
   753 #endif"
       
   754 
       
   755 ac_subst_vars='SHELL
       
   756 PATH_SEPARATOR
       
   757 PACKAGE_NAME
       
   758 PACKAGE_TARNAME
       
   759 PACKAGE_VERSION
       
   760 PACKAGE_STRING
       
   761 PACKAGE_BUGREPORT
       
   762 exec_prefix
       
   763 prefix
       
   764 program_transform_name
       
   765 bindir
       
   766 sbindir
       
   767 libexecdir
       
   768 datarootdir
       
   769 datadir
       
   770 sysconfdir
       
   771 sharedstatedir
       
   772 localstatedir
       
   773 includedir
       
   774 oldincludedir
       
   775 docdir
       
   776 infodir
       
   777 htmldir
       
   778 dvidir
       
   779 pdfdir
       
   780 psdir
       
   781 libdir
       
   782 localedir
       
   783 mandir
       
   784 DEFS
       
   785 ECHO_C
       
   786 ECHO_N
       
   787 ECHO_T
       
   788 LIBS
       
   789 build_alias
       
   790 host_alias
       
   791 target_alias
       
   792 INSTALL_PROGRAM
       
   793 INSTALL_SCRIPT
       
   794 INSTALL_DATA
       
   795 CYGPATH_W
       
   796 PACKAGE
       
   797 VERSION
       
   798 ACLOCAL
       
   799 AUTOCONF
       
   800 AUTOMAKE
       
   801 AUTOHEADER
       
   802 MAKEINFO
       
   803 install_sh
       
   804 STRIP
       
   805 INSTALL_STRIP_PROGRAM
       
   806 mkdir_p
       
   807 AWK
       
   808 SET_MAKE
       
   809 am__leading_dot
       
   810 AMTAR
       
   811 am__tar
       
   812 am__untar
       
   813 CXX
       
   814 CXXFLAGS
       
   815 LDFLAGS
       
   816 CPPFLAGS
       
   817 ac_ct_CXX
       
   818 EXEEXT
       
   819 OBJEXT
       
   820 DEPDIR
       
   821 am__include
       
   822 am__quote
       
   823 AMDEP_TRUE
       
   824 AMDEP_FALSE
       
   825 AMDEPBACKSLASH
       
   826 CXXDEPMODE
       
   827 am__fastdepCXX_TRUE
       
   828 am__fastdepCXX_FALSE
       
   829 build
       
   830 build_cpu
       
   831 build_vendor
       
   832 build_os
       
   833 host
       
   834 host_cpu
       
   835 host_vendor
       
   836 host_os
       
   837 CC
       
   838 CFLAGS
       
   839 ac_ct_CC
       
   840 CCDEPMODE
       
   841 am__fastdepCC_TRUE
       
   842 am__fastdepCC_FALSE
       
   843 GREP
       
   844 EGREP
       
   845 LN_S
       
   846 ECHO
       
   847 AR
       
   848 RANLIB
       
   849 CPP
       
   850 CXXCPP
       
   851 F77
       
   852 FFLAGS
       
   853 ac_ct_F77
       
   854 LIBTOOL
       
   855 LIBOBJS
       
   856 LTLIBOBJS'
       
   857 ac_subst_files=''
       
   858       ac_precious_vars='build_alias
       
   859 host_alias
       
   860 target_alias
       
   861 CXX
       
   862 CXXFLAGS
       
   863 LDFLAGS
       
   864 CPPFLAGS
       
   865 CCC
       
   866 CC
       
   867 CFLAGS
       
   868 CPP
       
   869 CXXCPP
       
   870 F77
       
   871 FFLAGS'
       
   872 
       
   873 
       
   874 # Initialize some variables set by options.
       
   875 ac_init_help=
       
   876 ac_init_version=false
       
   877 # The variables have the same names as the options, with
       
   878 # dashes changed to underlines.
       
   879 cache_file=/dev/null
       
   880 exec_prefix=NONE
       
   881 no_create=
       
   882 no_recursion=
       
   883 prefix=NONE
       
   884 program_prefix=NONE
       
   885 program_suffix=NONE
       
   886 program_transform_name=s,x,x,
       
   887 silent=
       
   888 site=
       
   889 srcdir=
       
   890 verbose=
       
   891 x_includes=NONE
       
   892 x_libraries=NONE
       
   893 
       
   894 # Installation directory options.
       
   895 # These are left unexpanded so users can "make install exec_prefix=/foo"
       
   896 # and all the variables that are supposed to be based on exec_prefix
       
   897 # by default will actually change.
       
   898 # Use braces instead of parens because sh, perl, etc. also accept them.
       
   899 # (The list follows the same order as the GNU Coding Standards.)
       
   900 bindir='${exec_prefix}/bin'
       
   901 sbindir='${exec_prefix}/sbin'
       
   902 libexecdir='${exec_prefix}/libexec'
       
   903 datarootdir='${prefix}/share'
       
   904 datadir='${datarootdir}'
       
   905 sysconfdir='${prefix}/etc'
       
   906 sharedstatedir='${prefix}/com'
       
   907 localstatedir='${prefix}/var'
       
   908 includedir='${prefix}/include'
       
   909 oldincludedir='/usr/include'
       
   910 docdir='${datarootdir}/doc/${PACKAGE}'
       
   911 infodir='${datarootdir}/info'
       
   912 htmldir='${docdir}'
       
   913 dvidir='${docdir}'
       
   914 pdfdir='${docdir}'
       
   915 psdir='${docdir}'
       
   916 libdir='${exec_prefix}/lib'
       
   917 localedir='${datarootdir}/locale'
       
   918 mandir='${datarootdir}/man'
       
   919 
       
   920 ac_prev=
       
   921 ac_dashdash=
       
   922 for ac_option
       
   923 do
       
   924   # If the previous option needs an argument, assign it.
       
   925   if test -n "$ac_prev"; then
       
   926     eval $ac_prev=\$ac_option
       
   927     ac_prev=
       
   928     continue
       
   929   fi
       
   930 
       
   931   case $ac_option in
       
   932   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
       
   933   *)	ac_optarg=yes ;;
       
   934   esac
       
   935 
       
   936   # Accept the important Cygnus configure options, so we can diagnose typos.
       
   937 
       
   938   case $ac_dashdash$ac_option in
       
   939   --)
       
   940     ac_dashdash=yes ;;
       
   941 
       
   942   -bindir | --bindir | --bindi | --bind | --bin | --bi)
       
   943     ac_prev=bindir ;;
       
   944   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       
   945     bindir=$ac_optarg ;;
       
   946 
       
   947   -build | --build | --buil | --bui | --bu)
       
   948     ac_prev=build_alias ;;
       
   949   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       
   950     build_alias=$ac_optarg ;;
       
   951 
       
   952   -cache-file | --cache-file | --cache-fil | --cache-fi \
       
   953   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       
   954     ac_prev=cache_file ;;
       
   955   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       
   956   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       
   957     cache_file=$ac_optarg ;;
       
   958 
       
   959   --config-cache | -C)
       
   960     cache_file=config.cache ;;
       
   961 
       
   962   -datadir | --datadir | --datadi | --datad)
       
   963     ac_prev=datadir ;;
       
   964   -datadir=* | --datadir=* | --datadi=* | --datad=*)
       
   965     datadir=$ac_optarg ;;
       
   966 
       
   967   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
       
   968   | --dataroo | --dataro | --datar)
       
   969     ac_prev=datarootdir ;;
       
   970   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
       
   971   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
       
   972     datarootdir=$ac_optarg ;;
       
   973 
       
   974   -disable-* | --disable-*)
       
   975     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
       
   976     # Reject names that are not valid shell variable names.
       
   977     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
   978       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
   979    { (exit 1); exit 1; }; }
       
   980     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
       
   981     eval enable_$ac_feature=no ;;
       
   982 
       
   983   -docdir | --docdir | --docdi | --doc | --do)
       
   984     ac_prev=docdir ;;
       
   985   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
       
   986     docdir=$ac_optarg ;;
       
   987 
       
   988   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
       
   989     ac_prev=dvidir ;;
       
   990   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
       
   991     dvidir=$ac_optarg ;;
       
   992 
       
   993   -enable-* | --enable-*)
       
   994     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
       
   995     # Reject names that are not valid shell variable names.
       
   996     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
   997       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
   998    { (exit 1); exit 1; }; }
       
   999     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
       
  1000     eval enable_$ac_feature=\$ac_optarg ;;
       
  1001 
       
  1002   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       
  1003   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       
  1004   | --exec | --exe | --ex)
       
  1005     ac_prev=exec_prefix ;;
       
  1006   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       
  1007   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       
  1008   | --exec=* | --exe=* | --ex=*)
       
  1009     exec_prefix=$ac_optarg ;;
       
  1010 
       
  1011   -gas | --gas | --ga | --g)
       
  1012     # Obsolete; use --with-gas.
       
  1013     with_gas=yes ;;
       
  1014 
       
  1015   -help | --help | --hel | --he | -h)
       
  1016     ac_init_help=long ;;
       
  1017   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       
  1018     ac_init_help=recursive ;;
       
  1019   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       
  1020     ac_init_help=short ;;
       
  1021 
       
  1022   -host | --host | --hos | --ho)
       
  1023     ac_prev=host_alias ;;
       
  1024   -host=* | --host=* | --hos=* | --ho=*)
       
  1025     host_alias=$ac_optarg ;;
       
  1026 
       
  1027   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
       
  1028     ac_prev=htmldir ;;
       
  1029   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
       
  1030   | --ht=*)
       
  1031     htmldir=$ac_optarg ;;
       
  1032 
       
  1033   -includedir | --includedir | --includedi | --included | --include \
       
  1034   | --includ | --inclu | --incl | --inc)
       
  1035     ac_prev=includedir ;;
       
  1036   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       
  1037   | --includ=* | --inclu=* | --incl=* | --inc=*)
       
  1038     includedir=$ac_optarg ;;
       
  1039 
       
  1040   -infodir | --infodir | --infodi | --infod | --info | --inf)
       
  1041     ac_prev=infodir ;;
       
  1042   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       
  1043     infodir=$ac_optarg ;;
       
  1044 
       
  1045   -libdir | --libdir | --libdi | --libd)
       
  1046     ac_prev=libdir ;;
       
  1047   -libdir=* | --libdir=* | --libdi=* | --libd=*)
       
  1048     libdir=$ac_optarg ;;
       
  1049 
       
  1050   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       
  1051   | --libexe | --libex | --libe)
       
  1052     ac_prev=libexecdir ;;
       
  1053   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       
  1054   | --libexe=* | --libex=* | --libe=*)
       
  1055     libexecdir=$ac_optarg ;;
       
  1056 
       
  1057   -localedir | --localedir | --localedi | --localed | --locale)
       
  1058     ac_prev=localedir ;;
       
  1059   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
       
  1060     localedir=$ac_optarg ;;
       
  1061 
       
  1062   -localstatedir | --localstatedir | --localstatedi | --localstated \
       
  1063   | --localstate | --localstat | --localsta | --localst | --locals)
       
  1064     ac_prev=localstatedir ;;
       
  1065   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       
  1066   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
       
  1067     localstatedir=$ac_optarg ;;
       
  1068 
       
  1069   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       
  1070     ac_prev=mandir ;;
       
  1071   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       
  1072     mandir=$ac_optarg ;;
       
  1073 
       
  1074   -nfp | --nfp | --nf)
       
  1075     # Obsolete; use --without-fp.
       
  1076     with_fp=no ;;
       
  1077 
       
  1078   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       
  1079   | --no-cr | --no-c | -n)
       
  1080     no_create=yes ;;
       
  1081 
       
  1082   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       
  1083   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       
  1084     no_recursion=yes ;;
       
  1085 
       
  1086   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       
  1087   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       
  1088   | --oldin | --oldi | --old | --ol | --o)
       
  1089     ac_prev=oldincludedir ;;
       
  1090   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       
  1091   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       
  1092   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       
  1093     oldincludedir=$ac_optarg ;;
       
  1094 
       
  1095   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       
  1096     ac_prev=prefix ;;
       
  1097   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       
  1098     prefix=$ac_optarg ;;
       
  1099 
       
  1100   -program-prefix | --program-prefix | --program-prefi | --program-pref \
       
  1101   | --program-pre | --program-pr | --program-p)
       
  1102     ac_prev=program_prefix ;;
       
  1103   -program-prefix=* | --program-prefix=* | --program-prefi=* \
       
  1104   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       
  1105     program_prefix=$ac_optarg ;;
       
  1106 
       
  1107   -program-suffix | --program-suffix | --program-suffi | --program-suff \
       
  1108   | --program-suf | --program-su | --program-s)
       
  1109     ac_prev=program_suffix ;;
       
  1110   -program-suffix=* | --program-suffix=* | --program-suffi=* \
       
  1111   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       
  1112     program_suffix=$ac_optarg ;;
       
  1113 
       
  1114   -program-transform-name | --program-transform-name \
       
  1115   | --program-transform-nam | --program-transform-na \
       
  1116   | --program-transform-n | --program-transform- \
       
  1117   | --program-transform | --program-transfor \
       
  1118   | --program-transfo | --program-transf \
       
  1119   | --program-trans | --program-tran \
       
  1120   | --progr-tra | --program-tr | --program-t)
       
  1121     ac_prev=program_transform_name ;;
       
  1122   -program-transform-name=* | --program-transform-name=* \
       
  1123   | --program-transform-nam=* | --program-transform-na=* \
       
  1124   | --program-transform-n=* | --program-transform-=* \
       
  1125   | --program-transform=* | --program-transfor=* \
       
  1126   | --program-transfo=* | --program-transf=* \
       
  1127   | --program-trans=* | --program-tran=* \
       
  1128   | --progr-tra=* | --program-tr=* | --program-t=*)
       
  1129     program_transform_name=$ac_optarg ;;
       
  1130 
       
  1131   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
       
  1132     ac_prev=pdfdir ;;
       
  1133   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
       
  1134     pdfdir=$ac_optarg ;;
       
  1135 
       
  1136   -psdir | --psdir | --psdi | --psd | --ps)
       
  1137     ac_prev=psdir ;;
       
  1138   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
       
  1139     psdir=$ac_optarg ;;
       
  1140 
       
  1141   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1142   | -silent | --silent | --silen | --sile | --sil)
       
  1143     silent=yes ;;
       
  1144 
       
  1145   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       
  1146     ac_prev=sbindir ;;
       
  1147   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       
  1148   | --sbi=* | --sb=*)
       
  1149     sbindir=$ac_optarg ;;
       
  1150 
       
  1151   -sharedstatedir | --sharedstatedir | --sharedstatedi \
       
  1152   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       
  1153   | --sharedst | --shareds | --shared | --share | --shar \
       
  1154   | --sha | --sh)
       
  1155     ac_prev=sharedstatedir ;;
       
  1156   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       
  1157   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       
  1158   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       
  1159   | --sha=* | --sh=*)
       
  1160     sharedstatedir=$ac_optarg ;;
       
  1161 
       
  1162   -site | --site | --sit)
       
  1163     ac_prev=site ;;
       
  1164   -site=* | --site=* | --sit=*)
       
  1165     site=$ac_optarg ;;
       
  1166 
       
  1167   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       
  1168     ac_prev=srcdir ;;
       
  1169   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       
  1170     srcdir=$ac_optarg ;;
       
  1171 
       
  1172   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       
  1173   | --syscon | --sysco | --sysc | --sys | --sy)
       
  1174     ac_prev=sysconfdir ;;
       
  1175   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       
  1176   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       
  1177     sysconfdir=$ac_optarg ;;
       
  1178 
       
  1179   -target | --target | --targe | --targ | --tar | --ta | --t)
       
  1180     ac_prev=target_alias ;;
       
  1181   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       
  1182     target_alias=$ac_optarg ;;
       
  1183 
       
  1184   -v | -verbose | --verbose | --verbos | --verbo | --verb)
       
  1185     verbose=yes ;;
       
  1186 
       
  1187   -version | --version | --versio | --versi | --vers | -V)
       
  1188     ac_init_version=: ;;
       
  1189 
       
  1190   -with-* | --with-*)
       
  1191     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
       
  1192     # Reject names that are not valid shell variable names.
       
  1193     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1194       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1195    { (exit 1); exit 1; }; }
       
  1196     ac_package=`echo $ac_package| sed 's/-/_/g'`
       
  1197     eval with_$ac_package=\$ac_optarg ;;
       
  1198 
       
  1199   -without-* | --without-*)
       
  1200     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
       
  1201     # Reject names that are not valid shell variable names.
       
  1202     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1203       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1204    { (exit 1); exit 1; }; }
       
  1205     ac_package=`echo $ac_package | sed 's/-/_/g'`
       
  1206     eval with_$ac_package=no ;;
       
  1207 
       
  1208   --x)
       
  1209     # Obsolete; use --with-x.
       
  1210     with_x=yes ;;
       
  1211 
       
  1212   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       
  1213   | --x-incl | --x-inc | --x-in | --x-i)
       
  1214     ac_prev=x_includes ;;
       
  1215   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       
  1216   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       
  1217     x_includes=$ac_optarg ;;
       
  1218 
       
  1219   -x-libraries | --x-libraries | --x-librarie | --x-librari \
       
  1220   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       
  1221     ac_prev=x_libraries ;;
       
  1222   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       
  1223   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       
  1224     x_libraries=$ac_optarg ;;
       
  1225 
       
  1226   -*) { echo "$as_me: error: unrecognized option: $ac_option
       
  1227 Try \`$0 --help' for more information." >&2
       
  1228    { (exit 1); exit 1; }; }
       
  1229     ;;
       
  1230 
       
  1231   *=*)
       
  1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
       
  1233     # Reject names that are not valid shell variable names.
       
  1234     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       
  1235       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
       
  1236    { (exit 1); exit 1; }; }
       
  1237     eval $ac_envvar=\$ac_optarg
       
  1238     export $ac_envvar ;;
       
  1239 
       
  1240   *)
       
  1241     # FIXME: should be removed in autoconf 3.0.
       
  1242     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
       
  1243     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1244       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       
  1245     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
       
  1246     ;;
       
  1247 
       
  1248   esac
       
  1249 done
       
  1250 
       
  1251 if test -n "$ac_prev"; then
       
  1252   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
       
  1253   { echo "$as_me: error: missing argument to $ac_option" >&2
       
  1254    { (exit 1); exit 1; }; }
       
  1255 fi
       
  1256 
       
  1257 # Be sure to have absolute directory names.
       
  1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
       
  1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
       
  1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
       
  1261 		libdir localedir mandir
       
  1262 do
       
  1263   eval ac_val=\$$ac_var
       
  1264   case $ac_val in
       
  1265     [\\/$]* | ?:[\\/]* )  continue;;
       
  1266     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
       
  1267   esac
       
  1268   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
       
  1269    { (exit 1); exit 1; }; }
       
  1270 done
       
  1271 
       
  1272 # There might be people who depend on the old broken behavior: `$host'
       
  1273 # used to hold the argument of --host etc.
       
  1274 # FIXME: To remove some day.
       
  1275 build=$build_alias
       
  1276 host=$host_alias
       
  1277 target=$target_alias
       
  1278 
       
  1279 # FIXME: To remove some day.
       
  1280 if test "x$host_alias" != x; then
       
  1281   if test "x$build_alias" = x; then
       
  1282     cross_compiling=maybe
       
  1283     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
       
  1284     If a cross compiler is detected then cross compile mode will be used." >&2
       
  1285   elif test "x$build_alias" != "x$host_alias"; then
       
  1286     cross_compiling=yes
       
  1287   fi
       
  1288 fi
       
  1289 
       
  1290 ac_tool_prefix=
       
  1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
       
  1292 
       
  1293 test "$silent" = yes && exec 6>/dev/null
       
  1294 
       
  1295 
       
  1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
       
  1297 ac_ls_di=`ls -di .` &&
       
  1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
       
  1299   { echo "$as_me: error: Working directory cannot be determined" >&2
       
  1300    { (exit 1); exit 1; }; }
       
  1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
       
  1302   { echo "$as_me: error: pwd does not report name of working directory" >&2
       
  1303    { (exit 1); exit 1; }; }
       
  1304 
       
  1305 
       
  1306 # Find the source files, if location was not specified.
       
  1307 if test -z "$srcdir"; then
       
  1308   ac_srcdir_defaulted=yes
       
  1309   # Try the directory containing this script, then the parent directory.
       
  1310   ac_confdir=`$as_dirname -- "$0" ||
       
  1311 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  1312 	 X"$0" : 'X\(//\)[^/]' \| \
       
  1313 	 X"$0" : 'X\(//\)$' \| \
       
  1314 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
  1315 echo X"$0" |
       
  1316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  1317 	    s//\1/
       
  1318 	    q
       
  1319 	  }
       
  1320 	  /^X\(\/\/\)[^/].*/{
       
  1321 	    s//\1/
       
  1322 	    q
       
  1323 	  }
       
  1324 	  /^X\(\/\/\)$/{
       
  1325 	    s//\1/
       
  1326 	    q
       
  1327 	  }
       
  1328 	  /^X\(\/\).*/{
       
  1329 	    s//\1/
       
  1330 	    q
       
  1331 	  }
       
  1332 	  s/.*/./; q'`
       
  1333   srcdir=$ac_confdir
       
  1334   if test ! -r "$srcdir/$ac_unique_file"; then
       
  1335     srcdir=..
       
  1336   fi
       
  1337 else
       
  1338   ac_srcdir_defaulted=no
       
  1339 fi
       
  1340 if test ! -r "$srcdir/$ac_unique_file"; then
       
  1341   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
       
  1342   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
       
  1343    { (exit 1); exit 1; }; }
       
  1344 fi
       
  1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
       
  1346 ac_abs_confdir=`(
       
  1347 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
       
  1348    { (exit 1); exit 1; }; }
       
  1349 	pwd)`
       
  1350 # When building in place, set srcdir=.
       
  1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
       
  1352   srcdir=.
       
  1353 fi
       
  1354 # Remove unnecessary trailing slashes from srcdir.
       
  1355 # Double slashes in file names in object file debugging info
       
  1356 # mess up M-x gdb in Emacs.
       
  1357 case $srcdir in
       
  1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
       
  1359 esac
       
  1360 for ac_var in $ac_precious_vars; do
       
  1361   eval ac_env_${ac_var}_set=\${${ac_var}+set}
       
  1362   eval ac_env_${ac_var}_value=\$${ac_var}
       
  1363   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
       
  1364   eval ac_cv_env_${ac_var}_value=\$${ac_var}
       
  1365 done
       
  1366 
       
  1367 #
       
  1368 # Report the --help message.
       
  1369 #
       
  1370 if test "$ac_init_help" = "long"; then
       
  1371   # Omit some internal or obsolete options to make the list less imposing.
       
  1372   # This message is too long to be a string in the A/UX 3.1 sh.
       
  1373   cat <<_ACEOF
       
  1374 \`configure' configures this package to adapt to many kinds of systems.
       
  1375 
       
  1376 Usage: $0 [OPTION]... [VAR=VALUE]...
       
  1377 
       
  1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
       
  1379 VAR=VALUE.  See below for descriptions of some of the useful variables.
       
  1380 
       
  1381 Defaults for the options are specified in brackets.
       
  1382 
       
  1383 Configuration:
       
  1384   -h, --help              display this help and exit
       
  1385       --help=short        display options specific to this package
       
  1386       --help=recursive    display the short help of all the included packages
       
  1387   -V, --version           display version information and exit
       
  1388   -q, --quiet, --silent   do not print \`checking...' messages
       
  1389       --cache-file=FILE   cache test results in FILE [disabled]
       
  1390   -C, --config-cache      alias for \`--cache-file=config.cache'
       
  1391   -n, --no-create         do not create output files
       
  1392       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
       
  1393 
       
  1394 Installation directories:
       
  1395   --prefix=PREFIX         install architecture-independent files in PREFIX
       
  1396 			  [$ac_default_prefix]
       
  1397   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       
  1398 			  [PREFIX]
       
  1399 
       
  1400 By default, \`make install' will install all the files in
       
  1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
       
  1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
       
  1403 for instance \`--prefix=\$HOME'.
       
  1404 
       
  1405 For better control, use the options below.
       
  1406 
       
  1407 Fine tuning of the installation directories:
       
  1408   --bindir=DIR           user executables [EPREFIX/bin]
       
  1409   --sbindir=DIR          system admin executables [EPREFIX/sbin]
       
  1410   --libexecdir=DIR       program executables [EPREFIX/libexec]
       
  1411   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
       
  1412   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
       
  1413   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
       
  1414   --libdir=DIR           object code libraries [EPREFIX/lib]
       
  1415   --includedir=DIR       C header files [PREFIX/include]
       
  1416   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
       
  1417   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
       
  1418   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
       
  1419   --infodir=DIR          info documentation [DATAROOTDIR/info]
       
  1420   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
       
  1421   --mandir=DIR           man documentation [DATAROOTDIR/man]
       
  1422   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
       
  1423   --htmldir=DIR          html documentation [DOCDIR]
       
  1424   --dvidir=DIR           dvi documentation [DOCDIR]
       
  1425   --pdfdir=DIR           pdf documentation [DOCDIR]
       
  1426   --psdir=DIR            ps documentation [DOCDIR]
       
  1427 _ACEOF
       
  1428 
       
  1429   cat <<\_ACEOF
       
  1430 
       
  1431 Program names:
       
  1432   --program-prefix=PREFIX            prepend PREFIX to installed program names
       
  1433   --program-suffix=SUFFIX            append SUFFIX to installed program names
       
  1434   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
       
  1435 
       
  1436 System types:
       
  1437   --build=BUILD     configure for building on BUILD [guessed]
       
  1438   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
       
  1439 _ACEOF
       
  1440 fi
       
  1441 
       
  1442 if test -n "$ac_init_help"; then
       
  1443 
       
  1444   cat <<\_ACEOF
       
  1445 
       
  1446 Optional Features:
       
  1447   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       
  1448   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       
  1449   --disable-dependency-tracking  speeds up one-time build
       
  1450   --enable-dependency-tracking   do not reject slow dependency extractors
       
  1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
       
  1452   --enable-static[=PKGS]  build static libraries [default=yes]
       
  1453   --enable-fast-install[=PKGS]
       
  1454                           optimize for fast installation [default=yes]
       
  1455   --disable-libtool-lock  avoid locking (might break parallel builds)
       
  1456 
       
  1457 Optional Packages:
       
  1458   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       
  1459   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       
  1460   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
       
  1461   --with-pic              try to use only PIC/non-PIC objects [default=use
       
  1462                           both]
       
  1463   --with-tags[=TAGS]      include additional configurations [automatic]
       
  1464 
       
  1465 Some influential environment variables:
       
  1466   CXX         C++ compiler command
       
  1467   CXXFLAGS    C++ compiler flags
       
  1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
       
  1469               nonstandard directory <lib dir>
       
  1470   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
       
  1471               you have headers in a nonstandard directory <include dir>
       
  1472   CC          C compiler command
       
  1473   CFLAGS      C compiler flags
       
  1474   CPP         C preprocessor
       
  1475   CXXCPP      C++ preprocessor
       
  1476   F77         Fortran 77 compiler command
       
  1477   FFLAGS      Fortran 77 compiler flags
       
  1478 
       
  1479 Use these variables to override the choices made by `configure' or to help
       
  1480 it to find libraries and programs with nonstandard names/locations.
       
  1481 
       
  1482 _ACEOF
       
  1483 ac_status=$?
       
  1484 fi
       
  1485 
       
  1486 if test "$ac_init_help" = "recursive"; then
       
  1487   # If there are subdirs, report their specific --help.
       
  1488   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
       
  1489     test -d "$ac_dir" || continue
       
  1490     ac_builddir=.
       
  1491 
       
  1492 case "$ac_dir" in
       
  1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1494 *)
       
  1495   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
  1496   # A ".." for each directory in $ac_dir_suffix.
       
  1497   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
  1498   case $ac_top_builddir_sub in
       
  1499   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1500   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  1501   esac ;;
       
  1502 esac
       
  1503 ac_abs_top_builddir=$ac_pwd
       
  1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  1505 # for backward compatibility:
       
  1506 ac_top_builddir=$ac_top_build_prefix
       
  1507 
       
  1508 case $srcdir in
       
  1509   .)  # We are building in place.
       
  1510     ac_srcdir=.
       
  1511     ac_top_srcdir=$ac_top_builddir_sub
       
  1512     ac_abs_top_srcdir=$ac_pwd ;;
       
  1513   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  1514     ac_srcdir=$srcdir$ac_dir_suffix;
       
  1515     ac_top_srcdir=$srcdir
       
  1516     ac_abs_top_srcdir=$srcdir ;;
       
  1517   *) # Relative name.
       
  1518     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  1519     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  1520     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  1521 esac
       
  1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  1523 
       
  1524     cd "$ac_dir" || { ac_status=$?; continue; }
       
  1525     # Check for guested configure.
       
  1526     if test -f "$ac_srcdir/configure.gnu"; then
       
  1527       echo &&
       
  1528       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
       
  1529     elif test -f "$ac_srcdir/configure"; then
       
  1530       echo &&
       
  1531       $SHELL "$ac_srcdir/configure" --help=recursive
       
  1532     else
       
  1533       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
       
  1534     fi || ac_status=$?
       
  1535     cd "$ac_pwd" || { ac_status=$?; break; }
       
  1536   done
       
  1537 fi
       
  1538 
       
  1539 test -n "$ac_init_help" && exit $ac_status
       
  1540 if $ac_init_version; then
       
  1541   cat <<\_ACEOF
       
  1542 configure
       
  1543 generated by GNU Autoconf 2.60
       
  1544 
       
  1545 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
  1546 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
  1547 This configure script is free software; the Free Software Foundation
       
  1548 gives unlimited permission to copy, distribute and modify it.
       
  1549 _ACEOF
       
  1550   exit
       
  1551 fi
       
  1552 cat >config.log <<_ACEOF
       
  1553 This file contains any messages produced by compilers while
       
  1554 running configure, to aid debugging if configure makes a mistake.
       
  1555 
       
  1556 It was created by $as_me, which was
       
  1557 generated by GNU Autoconf 2.60.  Invocation command line was
       
  1558 
       
  1559   $ $0 $@
       
  1560 
       
  1561 _ACEOF
       
  1562 exec 5>>config.log
       
  1563 {
       
  1564 cat <<_ASUNAME
       
  1565 ## --------- ##
       
  1566 ## Platform. ##
       
  1567 ## --------- ##
       
  1568 
       
  1569 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  1570 uname -m = `(uname -m) 2>/dev/null || echo unknown`
       
  1571 uname -r = `(uname -r) 2>/dev/null || echo unknown`
       
  1572 uname -s = `(uname -s) 2>/dev/null || echo unknown`
       
  1573 uname -v = `(uname -v) 2>/dev/null || echo unknown`
       
  1574 
       
  1575 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
       
  1576 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
       
  1577 
       
  1578 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
       
  1579 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
       
  1580 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
       
  1581 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
       
  1582 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
       
  1583 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
       
  1584 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
       
  1585 
       
  1586 _ASUNAME
       
  1587 
       
  1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1589 for as_dir in $PATH
       
  1590 do
       
  1591   IFS=$as_save_IFS
       
  1592   test -z "$as_dir" && as_dir=.
       
  1593   echo "PATH: $as_dir"
       
  1594 done
       
  1595 IFS=$as_save_IFS
       
  1596 
       
  1597 } >&5
       
  1598 
       
  1599 cat >&5 <<_ACEOF
       
  1600 
       
  1601 
       
  1602 ## ----------- ##
       
  1603 ## Core tests. ##
       
  1604 ## ----------- ##
       
  1605 
       
  1606 _ACEOF
       
  1607 
       
  1608 
       
  1609 # Keep a trace of the command line.
       
  1610 # Strip out --no-create and --no-recursion so they do not pile up.
       
  1611 # Strip out --silent because we don't want to record it for future runs.
       
  1612 # Also quote any args containing shell meta-characters.
       
  1613 # Make two passes to allow for proper duplicate-argument suppression.
       
  1614 ac_configure_args=
       
  1615 ac_configure_args0=
       
  1616 ac_configure_args1=
       
  1617 ac_must_keep_next=false
       
  1618 for ac_pass in 1 2
       
  1619 do
       
  1620   for ac_arg
       
  1621   do
       
  1622     case $ac_arg in
       
  1623     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
       
  1624     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1625     | -silent | --silent | --silen | --sile | --sil)
       
  1626       continue ;;
       
  1627     *\'*)
       
  1628       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1629     esac
       
  1630     case $ac_pass in
       
  1631     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
       
  1632     2)
       
  1633       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
       
  1634       if test $ac_must_keep_next = true; then
       
  1635 	ac_must_keep_next=false # Got value, back to normal.
       
  1636       else
       
  1637 	case $ac_arg in
       
  1638 	  *=* | --config-cache | -C | -disable-* | --disable-* \
       
  1639 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
       
  1640 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
       
  1641 	  | -with-* | --with-* | -without-* | --without-* | --x)
       
  1642 	    case "$ac_configure_args0 " in
       
  1643 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
       
  1644 	    esac
       
  1645 	    ;;
       
  1646 	  -* ) ac_must_keep_next=true ;;
       
  1647 	esac
       
  1648       fi
       
  1649       ac_configure_args="$ac_configure_args '$ac_arg'"
       
  1650       ;;
       
  1651     esac
       
  1652   done
       
  1653 done
       
  1654 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
       
  1655 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
       
  1656 
       
  1657 # When interrupted or exit'd, cleanup temporary files, and complete
       
  1658 # config.log.  We remove comments because anyway the quotes in there
       
  1659 # would cause problems or look ugly.
       
  1660 # WARNING: Use '\'' to represent an apostrophe within the trap.
       
  1661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
       
  1662 trap 'exit_status=$?
       
  1663   # Save into config.log some information that might help in debugging.
       
  1664   {
       
  1665     echo
       
  1666 
       
  1667     cat <<\_ASBOX
       
  1668 ## ---------------- ##
       
  1669 ## Cache variables. ##
       
  1670 ## ---------------- ##
       
  1671 _ASBOX
       
  1672     echo
       
  1673     # The following way of writing the cache mishandles newlines in values,
       
  1674 (
       
  1675   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
       
  1676     eval ac_val=\$$ac_var
       
  1677     case $ac_val in #(
       
  1678     *${as_nl}*)
       
  1679       case $ac_var in #(
       
  1680       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
  1681 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
  1682       esac
       
  1683       case $ac_var in #(
       
  1684       _ | IFS | as_nl) ;; #(
       
  1685       *) $as_unset $ac_var ;;
       
  1686       esac ;;
       
  1687     esac
       
  1688   done
       
  1689   (set) 2>&1 |
       
  1690     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
       
  1691     *${as_nl}ac_space=\ *)
       
  1692       sed -n \
       
  1693 	"s/'\''/'\''\\\\'\'''\''/g;
       
  1694 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
       
  1695       ;; #(
       
  1696     *)
       
  1697       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  1698       ;;
       
  1699     esac |
       
  1700     sort
       
  1701 )
       
  1702     echo
       
  1703 
       
  1704     cat <<\_ASBOX
       
  1705 ## ----------------- ##
       
  1706 ## Output variables. ##
       
  1707 ## ----------------- ##
       
  1708 _ASBOX
       
  1709     echo
       
  1710     for ac_var in $ac_subst_vars
       
  1711     do
       
  1712       eval ac_val=\$$ac_var
       
  1713       case $ac_val in
       
  1714       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1715       esac
       
  1716       echo "$ac_var='\''$ac_val'\''"
       
  1717     done | sort
       
  1718     echo
       
  1719 
       
  1720     if test -n "$ac_subst_files"; then
       
  1721       cat <<\_ASBOX
       
  1722 ## ------------------- ##
       
  1723 ## File substitutions. ##
       
  1724 ## ------------------- ##
       
  1725 _ASBOX
       
  1726       echo
       
  1727       for ac_var in $ac_subst_files
       
  1728       do
       
  1729 	eval ac_val=\$$ac_var
       
  1730 	case $ac_val in
       
  1731 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1732 	esac
       
  1733 	echo "$ac_var='\''$ac_val'\''"
       
  1734       done | sort
       
  1735       echo
       
  1736     fi
       
  1737 
       
  1738     if test -s confdefs.h; then
       
  1739       cat <<\_ASBOX
       
  1740 ## ----------- ##
       
  1741 ## confdefs.h. ##
       
  1742 ## ----------- ##
       
  1743 _ASBOX
       
  1744       echo
       
  1745       cat confdefs.h
       
  1746       echo
       
  1747     fi
       
  1748     test "$ac_signal" != 0 &&
       
  1749       echo "$as_me: caught signal $ac_signal"
       
  1750     echo "$as_me: exit $exit_status"
       
  1751   } >&5
       
  1752   rm -f core *.core core.conftest.* &&
       
  1753     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
       
  1754     exit $exit_status
       
  1755 ' 0
       
  1756 for ac_signal in 1 2 13 15; do
       
  1757   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
       
  1758 done
       
  1759 ac_signal=0
       
  1760 
       
  1761 # confdefs.h avoids OS command line length limits that DEFS can exceed.
       
  1762 rm -f -r conftest* confdefs.h
       
  1763 
       
  1764 # Predefined preprocessor variables.
       
  1765 
       
  1766 cat >>confdefs.h <<_ACEOF
       
  1767 #define PACKAGE_NAME "$PACKAGE_NAME"
       
  1768 _ACEOF
       
  1769 
       
  1770 
       
  1771 cat >>confdefs.h <<_ACEOF
       
  1772 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
       
  1773 _ACEOF
       
  1774 
       
  1775 
       
  1776 cat >>confdefs.h <<_ACEOF
       
  1777 #define PACKAGE_VERSION "$PACKAGE_VERSION"
       
  1778 _ACEOF
       
  1779 
       
  1780 
       
  1781 cat >>confdefs.h <<_ACEOF
       
  1782 #define PACKAGE_STRING "$PACKAGE_STRING"
       
  1783 _ACEOF
       
  1784 
       
  1785 
       
  1786 cat >>confdefs.h <<_ACEOF
       
  1787 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
       
  1788 _ACEOF
       
  1789 
       
  1790 
       
  1791 # Let the site file select an alternate cache file if it wants to.
       
  1792 # Prefer explicitly selected file to automatically selected ones.
       
  1793 if test -n "$CONFIG_SITE"; then
       
  1794   set x "$CONFIG_SITE"
       
  1795 elif test "x$prefix" != xNONE; then
       
  1796   set x "$prefix/share/config.site" "$prefix/etc/config.site"
       
  1797 else
       
  1798   set x "$ac_default_prefix/share/config.site" \
       
  1799 	"$ac_default_prefix/etc/config.site"
       
  1800 fi
       
  1801 shift
       
  1802 for ac_site_file
       
  1803 do
       
  1804   if test -r "$ac_site_file"; then
       
  1805     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
       
  1806 echo "$as_me: loading site script $ac_site_file" >&6;}
       
  1807     sed 's/^/| /' "$ac_site_file" >&5
       
  1808     . "$ac_site_file"
       
  1809   fi
       
  1810 done
       
  1811 
       
  1812 if test -r "$cache_file"; then
       
  1813   # Some versions of bash will fail to source /dev/null (special
       
  1814   # files actually), so we avoid doing that.
       
  1815   if test -f "$cache_file"; then
       
  1816     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
       
  1817 echo "$as_me: loading cache $cache_file" >&6;}
       
  1818     case $cache_file in
       
  1819       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       
  1820       *)                      . "./$cache_file";;
       
  1821     esac
       
  1822   fi
       
  1823 else
       
  1824   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
       
  1825 echo "$as_me: creating cache $cache_file" >&6;}
       
  1826   >$cache_file
       
  1827 fi
       
  1828 
       
  1829 # Check that the precious variables saved in the cache have kept the same
       
  1830 # value.
       
  1831 ac_cache_corrupted=false
       
  1832 for ac_var in $ac_precious_vars; do
       
  1833   eval ac_old_set=\$ac_cv_env_${ac_var}_set
       
  1834   eval ac_new_set=\$ac_env_${ac_var}_set
       
  1835   eval ac_old_val=\$ac_cv_env_${ac_var}_value
       
  1836   eval ac_new_val=\$ac_env_${ac_var}_value
       
  1837   case $ac_old_set,$ac_new_set in
       
  1838     set,)
       
  1839       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
       
  1840 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       
  1841       ac_cache_corrupted=: ;;
       
  1842     ,set)
       
  1843       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
       
  1844 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       
  1845       ac_cache_corrupted=: ;;
       
  1846     ,);;
       
  1847     *)
       
  1848       if test "x$ac_old_val" != "x$ac_new_val"; then
       
  1849 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
       
  1850 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
       
  1851 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
       
  1852 echo "$as_me:   former value:  $ac_old_val" >&2;}
       
  1853 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
       
  1854 echo "$as_me:   current value: $ac_new_val" >&2;}
       
  1855 	ac_cache_corrupted=:
       
  1856       fi;;
       
  1857   esac
       
  1858   # Pass precious variables to config.status.
       
  1859   if test "$ac_new_set" = set; then
       
  1860     case $ac_new_val in
       
  1861     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1862     *) ac_arg=$ac_var=$ac_new_val ;;
       
  1863     esac
       
  1864     case " $ac_configure_args " in
       
  1865       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
       
  1866       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
       
  1867     esac
       
  1868   fi
       
  1869 done
       
  1870 if $ac_cache_corrupted; then
       
  1871   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
       
  1872 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
       
  1873   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
       
  1874 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
       
  1875    { (exit 1); exit 1; }; }
       
  1876 fi
       
  1877 
       
  1878 
       
  1879 
       
  1880 
       
  1881 
       
  1882 
       
  1883 
       
  1884 
       
  1885 
       
  1886 
       
  1887 
       
  1888 
       
  1889 
       
  1890 
       
  1891 
       
  1892 
       
  1893 
       
  1894 ac_ext=c
       
  1895 ac_cpp='$CPP $CPPFLAGS'
       
  1896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  1897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  1898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  1899 
       
  1900 
       
  1901 
       
  1902 ac_config_headers="$ac_config_headers config.h"
       
  1903 
       
  1904 am__api_version="1.9"
       
  1905 ac_aux_dir=
       
  1906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
       
  1907   if test -f "$ac_dir/install-sh"; then
       
  1908     ac_aux_dir=$ac_dir
       
  1909     ac_install_sh="$ac_aux_dir/install-sh -c"
       
  1910     break
       
  1911   elif test -f "$ac_dir/install.sh"; then
       
  1912     ac_aux_dir=$ac_dir
       
  1913     ac_install_sh="$ac_aux_dir/install.sh -c"
       
  1914     break
       
  1915   elif test -f "$ac_dir/shtool"; then
       
  1916     ac_aux_dir=$ac_dir
       
  1917     ac_install_sh="$ac_aux_dir/shtool install -c"
       
  1918     break
       
  1919   fi
       
  1920 done
       
  1921 if test -z "$ac_aux_dir"; then
       
  1922   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
       
  1923 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
       
  1924    { (exit 1); exit 1; }; }
       
  1925 fi
       
  1926 
       
  1927 # These three variables are undocumented and unsupported,
       
  1928 # and are intended to be withdrawn in a future Autoconf release.
       
  1929 # They can cause serious problems if a builder's source tree is in a directory
       
  1930 # whose full name contains unusual characters.
       
  1931 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
       
  1932 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
       
  1933 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
       
  1934 
       
  1935 
       
  1936 # Find a good install program.  We prefer a C program (faster),
       
  1937 # so one script is as good as another.  But avoid the broken or
       
  1938 # incompatible versions:
       
  1939 # SysV /etc/install, /usr/sbin/install
       
  1940 # SunOS /usr/etc/install
       
  1941 # IRIX /sbin/install
       
  1942 # AIX /bin/install
       
  1943 # AmigaOS /C/install, which installs bootblocks on floppy discs
       
  1944 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       
  1945 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
       
  1946 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       
  1947 # OS/2's system install, which has a completely different semantic
       
  1948 # ./install, which can be erroneously created by make from ./install.sh.
       
  1949 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
       
  1950 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
       
  1951 if test -z "$INSTALL"; then
       
  1952 if test "${ac_cv_path_install+set}" = set; then
       
  1953   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  1954 else
       
  1955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1956 for as_dir in $PATH
       
  1957 do
       
  1958   IFS=$as_save_IFS
       
  1959   test -z "$as_dir" && as_dir=.
       
  1960   # Account for people who put trailing slashes in PATH elements.
       
  1961 case $as_dir/ in
       
  1962   ./ | .// | /cC/* | \
       
  1963   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
       
  1964   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
       
  1965   /usr/ucb/* ) ;;
       
  1966   *)
       
  1967     # OSF1 and SCO ODT 3.0 have their own names for install.
       
  1968     # Don't use installbsd from OSF since it installs stuff as root
       
  1969     # by default.
       
  1970     for ac_prog in ginstall scoinst install; do
       
  1971       for ac_exec_ext in '' $ac_executable_extensions; do
       
  1972 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
       
  1973 	  if test $ac_prog = install &&
       
  1974 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  1975 	    # AIX install.  It has an incompatible calling convention.
       
  1976 	    :
       
  1977 	  elif test $ac_prog = install &&
       
  1978 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  1979 	    # program-specific install script used by HP pwplus--don't use.
       
  1980 	    :
       
  1981 	  else
       
  1982 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
       
  1983 	    break 3
       
  1984 	  fi
       
  1985 	fi
       
  1986       done
       
  1987     done
       
  1988     ;;
       
  1989 esac
       
  1990 done
       
  1991 IFS=$as_save_IFS
       
  1992 
       
  1993 
       
  1994 fi
       
  1995   if test "${ac_cv_path_install+set}" = set; then
       
  1996     INSTALL=$ac_cv_path_install
       
  1997   else
       
  1998     # As a last resort, use the slow shell script.  Don't cache a
       
  1999     # value for INSTALL within a source directory, because that will
       
  2000     # break other packages using the cache if that directory is
       
  2001     # removed, or if the value is a relative name.
       
  2002     INSTALL=$ac_install_sh
       
  2003   fi
       
  2004 fi
       
  2005 { echo "$as_me:$LINENO: result: $INSTALL" >&5
       
  2006 echo "${ECHO_T}$INSTALL" >&6; }
       
  2007 
       
  2008 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       
  2009 # It thinks the first close brace ends the variable substitution.
       
  2010 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       
  2011 
       
  2012 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
       
  2013 
       
  2014 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       
  2015 
       
  2016 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
       
  2017 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
       
  2018 # Just in case
       
  2019 sleep 1
       
  2020 echo timestamp > conftest.file
       
  2021 # Do `set' in a subshell so we don't clobber the current shell's
       
  2022 # arguments.  Must try -L first in case configure is actually a
       
  2023 # symlink; some systems play weird games with the mod time of symlinks
       
  2024 # (eg FreeBSD returns the mod time of the symlink's containing
       
  2025 # directory).
       
  2026 if (
       
  2027    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
       
  2028    if test "$*" = "X"; then
       
  2029       # -L didn't work.
       
  2030       set X `ls -t $srcdir/configure conftest.file`
       
  2031    fi
       
  2032    rm -f conftest.file
       
  2033    if test "$*" != "X $srcdir/configure conftest.file" \
       
  2034       && test "$*" != "X conftest.file $srcdir/configure"; then
       
  2035 
       
  2036       # If neither matched, then we have a broken ls.  This can happen
       
  2037       # if, for instance, CONFIG_SHELL is bash and it inherits a
       
  2038       # broken ls alias from the environment.  This has actually
       
  2039       # happened.  Such a system could not be considered "sane".
       
  2040       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
       
  2041 alias in your environment" >&5
       
  2042 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
       
  2043 alias in your environment" >&2;}
       
  2044    { (exit 1); exit 1; }; }
       
  2045    fi
       
  2046 
       
  2047    test "$2" = conftest.file
       
  2048    )
       
  2049 then
       
  2050    # Ok.
       
  2051    :
       
  2052 else
       
  2053    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
       
  2054 Check your system clock" >&5
       
  2055 echo "$as_me: error: newly created file is older than distributed files!
       
  2056 Check your system clock" >&2;}
       
  2057    { (exit 1); exit 1; }; }
       
  2058 fi
       
  2059 { echo "$as_me:$LINENO: result: yes" >&5
       
  2060 echo "${ECHO_T}yes" >&6; }
       
  2061 test "$program_prefix" != NONE &&
       
  2062   program_transform_name="s&^&$program_prefix&;$program_transform_name"
       
  2063 # Use a double $ so make ignores it.
       
  2064 test "$program_suffix" != NONE &&
       
  2065   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
       
  2066 # Double any \ or $.  echo might interpret backslashes.
       
  2067 # By default was `s,x,x', remove it if useless.
       
  2068 cat <<\_ACEOF >conftest.sed
       
  2069 s/[\\$]/&&/g;s/;s,x,x,$//
       
  2070 _ACEOF
       
  2071 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
       
  2072 rm -f conftest.sed
       
  2073 
       
  2074 # expand $ac_aux_dir to an absolute path
       
  2075 am_aux_dir=`cd $ac_aux_dir && pwd`
       
  2076 
       
  2077 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
       
  2078 # Use eval to expand $SHELL
       
  2079 if eval "$MISSING --run true"; then
       
  2080   am_missing_run="$MISSING --run "
       
  2081 else
       
  2082   am_missing_run=
       
  2083   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
       
  2084 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
       
  2085 fi
       
  2086 
       
  2087 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
       
  2088   # We used to keeping the `.' as first argument, in order to
       
  2089   # allow $(mkdir_p) to be used without argument.  As in
       
  2090   #   $(mkdir_p) $(somedir)
       
  2091   # where $(somedir) is conditionally defined.  However this is wrong
       
  2092   # for two reasons:
       
  2093   #  1. if the package is installed by a user who cannot write `.'
       
  2094   #     make install will fail,
       
  2095   #  2. the above comment should most certainly read
       
  2096   #     $(mkdir_p) $(DESTDIR)$(somedir)
       
  2097   #     so it does not work when $(somedir) is undefined and
       
  2098   #     $(DESTDIR) is not.
       
  2099   #  To support the latter case, we have to write
       
  2100   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
       
  2101   #  so the `.' trick is pointless.
       
  2102   mkdir_p='mkdir -p --'
       
  2103 else
       
  2104   # On NextStep and OpenStep, the `mkdir' command does not
       
  2105   # recognize any option.  It will interpret all options as
       
  2106   # directories to create, and then abort because `.' already
       
  2107   # exists.
       
  2108   for d in ./-p ./--version;
       
  2109   do
       
  2110     test -d $d && rmdir $d
       
  2111   done
       
  2112   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
       
  2113   if test -f "$ac_aux_dir/mkinstalldirs"; then
       
  2114     mkdir_p='$(mkinstalldirs)'
       
  2115   else
       
  2116     mkdir_p='$(install_sh) -d'
       
  2117   fi
       
  2118 fi
       
  2119 
       
  2120 for ac_prog in gawk mawk nawk awk
       
  2121 do
       
  2122   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2123 set dummy $ac_prog; ac_word=$2
       
  2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2126 if test "${ac_cv_prog_AWK+set}" = set; then
       
  2127   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2128 else
       
  2129   if test -n "$AWK"; then
       
  2130   ac_cv_prog_AWK="$AWK" # Let the user override the test.
       
  2131 else
       
  2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2133 for as_dir in $PATH
       
  2134 do
       
  2135   IFS=$as_save_IFS
       
  2136   test -z "$as_dir" && as_dir=.
       
  2137   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2139     ac_cv_prog_AWK="$ac_prog"
       
  2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2141     break 2
       
  2142   fi
       
  2143 done
       
  2144 done
       
  2145 IFS=$as_save_IFS
       
  2146 
       
  2147 fi
       
  2148 fi
       
  2149 AWK=$ac_cv_prog_AWK
       
  2150 if test -n "$AWK"; then
       
  2151   { echo "$as_me:$LINENO: result: $AWK" >&5
       
  2152 echo "${ECHO_T}$AWK" >&6; }
       
  2153 else
       
  2154   { echo "$as_me:$LINENO: result: no" >&5
       
  2155 echo "${ECHO_T}no" >&6; }
       
  2156 fi
       
  2157 
       
  2158 
       
  2159   test -n "$AWK" && break
       
  2160 done
       
  2161 
       
  2162 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
       
  2163 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
       
  2164 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
       
  2165 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
       
  2166   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2167 else
       
  2168   cat >conftest.make <<\_ACEOF
       
  2169 SHELL = /bin/sh
       
  2170 all:
       
  2171 	@echo '@@@%%%=$(MAKE)=@@@%%%'
       
  2172 _ACEOF
       
  2173 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       
  2174 case `${MAKE-make} -f conftest.make 2>/dev/null` in
       
  2175   *@@@%%%=?*=@@@%%%*)
       
  2176     eval ac_cv_prog_make_${ac_make}_set=yes;;
       
  2177   *)
       
  2178     eval ac_cv_prog_make_${ac_make}_set=no;;
       
  2179 esac
       
  2180 rm -f conftest.make
       
  2181 fi
       
  2182 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
       
  2183   { echo "$as_me:$LINENO: result: yes" >&5
       
  2184 echo "${ECHO_T}yes" >&6; }
       
  2185   SET_MAKE=
       
  2186 else
       
  2187   { echo "$as_me:$LINENO: result: no" >&5
       
  2188 echo "${ECHO_T}no" >&6; }
       
  2189   SET_MAKE="MAKE=${MAKE-make}"
       
  2190 fi
       
  2191 
       
  2192 rm -rf .tst 2>/dev/null
       
  2193 mkdir .tst 2>/dev/null
       
  2194 if test -d .tst; then
       
  2195   am__leading_dot=.
       
  2196 else
       
  2197   am__leading_dot=_
       
  2198 fi
       
  2199 rmdir .tst 2>/dev/null
       
  2200 
       
  2201 # test to see if srcdir already configured
       
  2202 if test "`cd $srcdir && pwd`" != "`pwd`" &&
       
  2203    test -f $srcdir/config.status; then
       
  2204   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
       
  2205 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
       
  2206    { (exit 1); exit 1; }; }
       
  2207 fi
       
  2208 
       
  2209 # test whether we have cygpath
       
  2210 if test -z "$CYGPATH_W"; then
       
  2211   if (cygpath --version) >/dev/null 2>/dev/null; then
       
  2212     CYGPATH_W='cygpath -w'
       
  2213   else
       
  2214     CYGPATH_W=echo
       
  2215   fi
       
  2216 fi
       
  2217 
       
  2218 
       
  2219 # Define the identity of the package.
       
  2220  PACKAGE=picctldisplaytest
       
  2221  VERSION=0.1
       
  2222 
       
  2223 
       
  2224 cat >>confdefs.h <<_ACEOF
       
  2225 #define PACKAGE "$PACKAGE"
       
  2226 _ACEOF
       
  2227 
       
  2228 
       
  2229 cat >>confdefs.h <<_ACEOF
       
  2230 #define VERSION "$VERSION"
       
  2231 _ACEOF
       
  2232 
       
  2233 # Some tools Automake needs.
       
  2234 
       
  2235 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
       
  2236 
       
  2237 
       
  2238 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
       
  2239 
       
  2240 
       
  2241 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
       
  2242 
       
  2243 
       
  2244 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
       
  2245 
       
  2246 
       
  2247 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
       
  2248 
       
  2249 install_sh=${install_sh-"$am_aux_dir/install-sh"}
       
  2250 
       
  2251 # Installed binaries are usually stripped using `strip' when the user
       
  2252 # run `make install-strip'.  However `strip' might not be the right
       
  2253 # tool to use in cross-compilation environments, therefore Automake
       
  2254 # will honor the `STRIP' environment variable to overrule this program.
       
  2255 if test "$cross_compiling" != no; then
       
  2256   if test -n "$ac_tool_prefix"; then
       
  2257   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
       
  2258 set dummy ${ac_tool_prefix}strip; ac_word=$2
       
  2259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2261 if test "${ac_cv_prog_STRIP+set}" = set; then
       
  2262   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2263 else
       
  2264   if test -n "$STRIP"; then
       
  2265   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
       
  2266 else
       
  2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2268 for as_dir in $PATH
       
  2269 do
       
  2270   IFS=$as_save_IFS
       
  2271   test -z "$as_dir" && as_dir=.
       
  2272   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2274     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
       
  2275     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2276     break 2
       
  2277   fi
       
  2278 done
       
  2279 done
       
  2280 IFS=$as_save_IFS
       
  2281 
       
  2282 fi
       
  2283 fi
       
  2284 STRIP=$ac_cv_prog_STRIP
       
  2285 if test -n "$STRIP"; then
       
  2286   { echo "$as_me:$LINENO: result: $STRIP" >&5
       
  2287 echo "${ECHO_T}$STRIP" >&6; }
       
  2288 else
       
  2289   { echo "$as_me:$LINENO: result: no" >&5
       
  2290 echo "${ECHO_T}no" >&6; }
       
  2291 fi
       
  2292 
       
  2293 
       
  2294 fi
       
  2295 if test -z "$ac_cv_prog_STRIP"; then
       
  2296   ac_ct_STRIP=$STRIP
       
  2297   # Extract the first word of "strip", so it can be a program name with args.
       
  2298 set dummy strip; ac_word=$2
       
  2299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2301 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
       
  2302   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2303 else
       
  2304   if test -n "$ac_ct_STRIP"; then
       
  2305   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
       
  2306 else
       
  2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2308 for as_dir in $PATH
       
  2309 do
       
  2310   IFS=$as_save_IFS
       
  2311   test -z "$as_dir" && as_dir=.
       
  2312   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2314     ac_cv_prog_ac_ct_STRIP="strip"
       
  2315     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2316     break 2
       
  2317   fi
       
  2318 done
       
  2319 done
       
  2320 IFS=$as_save_IFS
       
  2321 
       
  2322 fi
       
  2323 fi
       
  2324 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
       
  2325 if test -n "$ac_ct_STRIP"; then
       
  2326   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
       
  2327 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
       
  2328 else
       
  2329   { echo "$as_me:$LINENO: result: no" >&5
       
  2330 echo "${ECHO_T}no" >&6; }
       
  2331 fi
       
  2332 
       
  2333   if test "x$ac_ct_STRIP" = x; then
       
  2334     STRIP=":"
       
  2335   else
       
  2336     case $cross_compiling:$ac_tool_warned in
       
  2337 yes:)
       
  2338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2339 whose name does not start with the host triplet.  If you think this
       
  2340 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2342 whose name does not start with the host triplet.  If you think this
       
  2343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2344 ac_tool_warned=yes ;;
       
  2345 esac
       
  2346     STRIP=$ac_ct_STRIP
       
  2347   fi
       
  2348 else
       
  2349   STRIP="$ac_cv_prog_STRIP"
       
  2350 fi
       
  2351 
       
  2352 fi
       
  2353 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
       
  2354 
       
  2355 # We need awk for the "check" target.  The system "awk" is bad on
       
  2356 # some platforms.
       
  2357 # Always define AMTAR for backward compatibility.
       
  2358 
       
  2359 AMTAR=${AMTAR-"${am_missing_run}tar"}
       
  2360 
       
  2361 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
       
  2362 
       
  2363 
       
  2364 
       
  2365 
       
  2366 
       
  2367 
       
  2368 ac_ext=cpp
       
  2369 ac_cpp='$CXXCPP $CPPFLAGS'
       
  2370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  2373 
       
  2374 ac_ext=cpp
       
  2375 ac_cpp='$CXXCPP $CPPFLAGS'
       
  2376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  2379 if test -z "$CXX"; then
       
  2380   if test -n "$CCC"; then
       
  2381     CXX=$CCC
       
  2382   else
       
  2383     if test -n "$ac_tool_prefix"; then
       
  2384   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  2385   do
       
  2386     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  2387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2390 if test "${ac_cv_prog_CXX+set}" = set; then
       
  2391   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2392 else
       
  2393   if test -n "$CXX"; then
       
  2394   ac_cv_prog_CXX="$CXX" # Let the user override the test.
       
  2395 else
       
  2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2397 for as_dir in $PATH
       
  2398 do
       
  2399   IFS=$as_save_IFS
       
  2400   test -z "$as_dir" && as_dir=.
       
  2401   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2403     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
       
  2404     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2405     break 2
       
  2406   fi
       
  2407 done
       
  2408 done
       
  2409 IFS=$as_save_IFS
       
  2410 
       
  2411 fi
       
  2412 fi
       
  2413 CXX=$ac_cv_prog_CXX
       
  2414 if test -n "$CXX"; then
       
  2415   { echo "$as_me:$LINENO: result: $CXX" >&5
       
  2416 echo "${ECHO_T}$CXX" >&6; }
       
  2417 else
       
  2418   { echo "$as_me:$LINENO: result: no" >&5
       
  2419 echo "${ECHO_T}no" >&6; }
       
  2420 fi
       
  2421 
       
  2422 
       
  2423     test -n "$CXX" && break
       
  2424   done
       
  2425 fi
       
  2426 if test -z "$CXX"; then
       
  2427   ac_ct_CXX=$CXX
       
  2428   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  2429 do
       
  2430   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2431 set dummy $ac_prog; ac_word=$2
       
  2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2434 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
       
  2435   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2436 else
       
  2437   if test -n "$ac_ct_CXX"; then
       
  2438   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
       
  2439 else
       
  2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2441 for as_dir in $PATH
       
  2442 do
       
  2443   IFS=$as_save_IFS
       
  2444   test -z "$as_dir" && as_dir=.
       
  2445   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2447     ac_cv_prog_ac_ct_CXX="$ac_prog"
       
  2448     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2449     break 2
       
  2450   fi
       
  2451 done
       
  2452 done
       
  2453 IFS=$as_save_IFS
       
  2454 
       
  2455 fi
       
  2456 fi
       
  2457 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
       
  2458 if test -n "$ac_ct_CXX"; then
       
  2459   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
       
  2460 echo "${ECHO_T}$ac_ct_CXX" >&6; }
       
  2461 else
       
  2462   { echo "$as_me:$LINENO: result: no" >&5
       
  2463 echo "${ECHO_T}no" >&6; }
       
  2464 fi
       
  2465 
       
  2466 
       
  2467   test -n "$ac_ct_CXX" && break
       
  2468 done
       
  2469 
       
  2470   if test "x$ac_ct_CXX" = x; then
       
  2471     CXX="g++"
       
  2472   else
       
  2473     case $cross_compiling:$ac_tool_warned in
       
  2474 yes:)
       
  2475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2476 whose name does not start with the host triplet.  If you think this
       
  2477 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2479 whose name does not start with the host triplet.  If you think this
       
  2480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2481 ac_tool_warned=yes ;;
       
  2482 esac
       
  2483     CXX=$ac_ct_CXX
       
  2484   fi
       
  2485 fi
       
  2486 
       
  2487   fi
       
  2488 fi
       
  2489 # Provide some information about the compiler.
       
  2490 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
       
  2491 ac_compiler=`set X $ac_compile; echo $2`
       
  2492 { (ac_try="$ac_compiler --version >&5"
       
  2493 case "(($ac_try" in
       
  2494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2495   *) ac_try_echo=$ac_try;;
       
  2496 esac
       
  2497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2498   (eval "$ac_compiler --version >&5") 2>&5
       
  2499   ac_status=$?
       
  2500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2501   (exit $ac_status); }
       
  2502 { (ac_try="$ac_compiler -v >&5"
       
  2503 case "(($ac_try" in
       
  2504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2505   *) ac_try_echo=$ac_try;;
       
  2506 esac
       
  2507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2508   (eval "$ac_compiler -v >&5") 2>&5
       
  2509   ac_status=$?
       
  2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2511   (exit $ac_status); }
       
  2512 { (ac_try="$ac_compiler -V >&5"
       
  2513 case "(($ac_try" in
       
  2514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2515   *) ac_try_echo=$ac_try;;
       
  2516 esac
       
  2517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2518   (eval "$ac_compiler -V >&5") 2>&5
       
  2519   ac_status=$?
       
  2520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2521   (exit $ac_status); }
       
  2522 
       
  2523 cat >conftest.$ac_ext <<_ACEOF
       
  2524 /* confdefs.h.  */
       
  2525 _ACEOF
       
  2526 cat confdefs.h >>conftest.$ac_ext
       
  2527 cat >>conftest.$ac_ext <<_ACEOF
       
  2528 /* end confdefs.h.  */
       
  2529 
       
  2530 int
       
  2531 main ()
       
  2532 {
       
  2533 
       
  2534   ;
       
  2535   return 0;
       
  2536 }
       
  2537 _ACEOF
       
  2538 ac_clean_files_save=$ac_clean_files
       
  2539 ac_clean_files="$ac_clean_files a.out a.exe b.out"
       
  2540 # Try to create an executable without -o first, disregard a.out.
       
  2541 # It will help us diagnose broken compilers, and finding out an intuition
       
  2542 # of exeext.
       
  2543 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
       
  2544 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
       
  2545 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
       
  2546 #
       
  2547 # List of possible output files, starting from the most likely.
       
  2548 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
       
  2549 # only as a last resort.  b.out is created by i960 compilers.
       
  2550 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
       
  2551 #
       
  2552 # The IRIX 6 linker writes into existing files which may not be
       
  2553 # executable, retaining their permissions.  Remove them first so a
       
  2554 # subsequent execution test works.
       
  2555 ac_rmfiles=
       
  2556 for ac_file in $ac_files
       
  2557 do
       
  2558   case $ac_file in
       
  2559     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2560     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
       
  2561   esac
       
  2562 done
       
  2563 rm -f $ac_rmfiles
       
  2564 
       
  2565 if { (ac_try="$ac_link_default"
       
  2566 case "(($ac_try" in
       
  2567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2568   *) ac_try_echo=$ac_try;;
       
  2569 esac
       
  2570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2571   (eval "$ac_link_default") 2>&5
       
  2572   ac_status=$?
       
  2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2574   (exit $ac_status); }; then
       
  2575   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
       
  2576 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
       
  2577 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
       
  2578 # so that the user can short-circuit this test for compilers unknown to
       
  2579 # Autoconf.
       
  2580 for ac_file in $ac_files
       
  2581 do
       
  2582   test -f "$ac_file" || continue
       
  2583   case $ac_file in
       
  2584     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
       
  2585 	;;
       
  2586     [ab].out )
       
  2587 	# We found the default executable, but exeext='' is most
       
  2588 	# certainly right.
       
  2589 	break;;
       
  2590     *.* )
       
  2591         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
       
  2592 	then :; else
       
  2593 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2594 	fi
       
  2595 	# We set ac_cv_exeext here because the later test for it is not
       
  2596 	# safe: cross compilers may not add the suffix if given an `-o'
       
  2597 	# argument, so we may need to know it at that point already.
       
  2598 	# Even if this section looks crufty: it has the advantage of
       
  2599 	# actually working.
       
  2600 	break;;
       
  2601     * )
       
  2602 	break;;
       
  2603   esac
       
  2604 done
       
  2605 test "$ac_cv_exeext" = no && ac_cv_exeext=
       
  2606 
       
  2607 else
       
  2608   echo "$as_me: failed program was:" >&5
       
  2609 sed 's/^/| /' conftest.$ac_ext >&5
       
  2610 
       
  2611 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
       
  2612 See \`config.log' for more details." >&5
       
  2613 echo "$as_me: error: C++ compiler cannot create executables
       
  2614 See \`config.log' for more details." >&2;}
       
  2615    { (exit 77); exit 77; }; }
       
  2616 fi
       
  2617 
       
  2618 ac_exeext=$ac_cv_exeext
       
  2619 { echo "$as_me:$LINENO: result: $ac_file" >&5
       
  2620 echo "${ECHO_T}$ac_file" >&6; }
       
  2621 
       
  2622 # Check that the compiler produces executables we can run.  If not, either
       
  2623 # the compiler is broken, or we cross compile.
       
  2624 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
       
  2625 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
       
  2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
       
  2627 # If not cross compiling, check that we can run a simple program.
       
  2628 if test "$cross_compiling" != yes; then
       
  2629   if { ac_try='./$ac_file'
       
  2630   { (case "(($ac_try" in
       
  2631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2632   *) ac_try_echo=$ac_try;;
       
  2633 esac
       
  2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2635   (eval "$ac_try") 2>&5
       
  2636   ac_status=$?
       
  2637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2638   (exit $ac_status); }; }; then
       
  2639     cross_compiling=no
       
  2640   else
       
  2641     if test "$cross_compiling" = maybe; then
       
  2642 	cross_compiling=yes
       
  2643     else
       
  2644 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
       
  2645 If you meant to cross compile, use \`--host'.
       
  2646 See \`config.log' for more details." >&5
       
  2647 echo "$as_me: error: cannot run C++ compiled programs.
       
  2648 If you meant to cross compile, use \`--host'.
       
  2649 See \`config.log' for more details." >&2;}
       
  2650    { (exit 1); exit 1; }; }
       
  2651     fi
       
  2652   fi
       
  2653 fi
       
  2654 { echo "$as_me:$LINENO: result: yes" >&5
       
  2655 echo "${ECHO_T}yes" >&6; }
       
  2656 
       
  2657 rm -f a.out a.exe conftest$ac_cv_exeext b.out
       
  2658 ac_clean_files=$ac_clean_files_save
       
  2659 # Check that the compiler produces executables we can run.  If not, either
       
  2660 # the compiler is broken, or we cross compile.
       
  2661 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
       
  2662 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
       
  2663 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
       
  2664 echo "${ECHO_T}$cross_compiling" >&6; }
       
  2665 
       
  2666 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
       
  2667 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
       
  2668 if { (ac_try="$ac_link"
       
  2669 case "(($ac_try" in
       
  2670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2671   *) ac_try_echo=$ac_try;;
       
  2672 esac
       
  2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2674   (eval "$ac_link") 2>&5
       
  2675   ac_status=$?
       
  2676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2677   (exit $ac_status); }; then
       
  2678   # If both `conftest.exe' and `conftest' are `present' (well, observable)
       
  2679 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
       
  2680 # work properly (i.e., refer to `conftest.exe'), while it won't with
       
  2681 # `rm'.
       
  2682 for ac_file in conftest.exe conftest conftest.*; do
       
  2683   test -f "$ac_file" || continue
       
  2684   case $ac_file in
       
  2685     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2686     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2687 	  break;;
       
  2688     * ) break;;
       
  2689   esac
       
  2690 done
       
  2691 else
       
  2692   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
       
  2693 See \`config.log' for more details." >&5
       
  2694 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
       
  2695 See \`config.log' for more details." >&2;}
       
  2696    { (exit 1); exit 1; }; }
       
  2697 fi
       
  2698 
       
  2699 rm -f conftest$ac_cv_exeext
       
  2700 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
       
  2701 echo "${ECHO_T}$ac_cv_exeext" >&6; }
       
  2702 
       
  2703 rm -f conftest.$ac_ext
       
  2704 EXEEXT=$ac_cv_exeext
       
  2705 ac_exeext=$EXEEXT
       
  2706 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
       
  2707 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
       
  2708 if test "${ac_cv_objext+set}" = set; then
       
  2709   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2710 else
       
  2711   cat >conftest.$ac_ext <<_ACEOF
       
  2712 /* confdefs.h.  */
       
  2713 _ACEOF
       
  2714 cat confdefs.h >>conftest.$ac_ext
       
  2715 cat >>conftest.$ac_ext <<_ACEOF
       
  2716 /* end confdefs.h.  */
       
  2717 
       
  2718 int
       
  2719 main ()
       
  2720 {
       
  2721 
       
  2722   ;
       
  2723   return 0;
       
  2724 }
       
  2725 _ACEOF
       
  2726 rm -f conftest.o conftest.obj
       
  2727 if { (ac_try="$ac_compile"
       
  2728 case "(($ac_try" in
       
  2729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2730   *) ac_try_echo=$ac_try;;
       
  2731 esac
       
  2732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2733   (eval "$ac_compile") 2>&5
       
  2734   ac_status=$?
       
  2735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2736   (exit $ac_status); }; then
       
  2737   for ac_file in conftest.o conftest.obj conftest.*; do
       
  2738   test -f "$ac_file" || continue;
       
  2739   case $ac_file in
       
  2740     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
       
  2741     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       
  2742        break;;
       
  2743   esac
       
  2744 done
       
  2745 else
       
  2746   echo "$as_me: failed program was:" >&5
       
  2747 sed 's/^/| /' conftest.$ac_ext >&5
       
  2748 
       
  2749 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
       
  2750 See \`config.log' for more details." >&5
       
  2751 echo "$as_me: error: cannot compute suffix of object files: cannot compile
       
  2752 See \`config.log' for more details." >&2;}
       
  2753    { (exit 1); exit 1; }; }
       
  2754 fi
       
  2755 
       
  2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
       
  2757 fi
       
  2758 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
       
  2759 echo "${ECHO_T}$ac_cv_objext" >&6; }
       
  2760 OBJEXT=$ac_cv_objext
       
  2761 ac_objext=$OBJEXT
       
  2762 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
       
  2763 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
       
  2764 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
       
  2765   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2766 else
       
  2767   cat >conftest.$ac_ext <<_ACEOF
       
  2768 /* confdefs.h.  */
       
  2769 _ACEOF
       
  2770 cat confdefs.h >>conftest.$ac_ext
       
  2771 cat >>conftest.$ac_ext <<_ACEOF
       
  2772 /* end confdefs.h.  */
       
  2773 
       
  2774 int
       
  2775 main ()
       
  2776 {
       
  2777 #ifndef __GNUC__
       
  2778        choke me
       
  2779 #endif
       
  2780 
       
  2781   ;
       
  2782   return 0;
       
  2783 }
       
  2784 _ACEOF
       
  2785 rm -f conftest.$ac_objext
       
  2786 if { (ac_try="$ac_compile"
       
  2787 case "(($ac_try" in
       
  2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2789   *) ac_try_echo=$ac_try;;
       
  2790 esac
       
  2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2792   (eval "$ac_compile") 2>conftest.er1
       
  2793   ac_status=$?
       
  2794   grep -v '^ *+' conftest.er1 >conftest.err
       
  2795   rm -f conftest.er1
       
  2796   cat conftest.err >&5
       
  2797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2798   (exit $ac_status); } &&
       
  2799 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2800   { (case "(($ac_try" in
       
  2801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2802   *) ac_try_echo=$ac_try;;
       
  2803 esac
       
  2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2805   (eval "$ac_try") 2>&5
       
  2806   ac_status=$?
       
  2807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2808   (exit $ac_status); }; } &&
       
  2809 	 { ac_try='test -s conftest.$ac_objext'
       
  2810   { (case "(($ac_try" in
       
  2811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2812   *) ac_try_echo=$ac_try;;
       
  2813 esac
       
  2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2815   (eval "$ac_try") 2>&5
       
  2816   ac_status=$?
       
  2817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2818   (exit $ac_status); }; }; then
       
  2819   ac_compiler_gnu=yes
       
  2820 else
       
  2821   echo "$as_me: failed program was:" >&5
       
  2822 sed 's/^/| /' conftest.$ac_ext >&5
       
  2823 
       
  2824 	ac_compiler_gnu=no
       
  2825 fi
       
  2826 
       
  2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2828 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
       
  2829 
       
  2830 fi
       
  2831 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
       
  2832 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
       
  2833 GXX=`test $ac_compiler_gnu = yes && echo yes`
       
  2834 ac_test_CXXFLAGS=${CXXFLAGS+set}
       
  2835 ac_save_CXXFLAGS=$CXXFLAGS
       
  2836 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
       
  2837 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
       
  2838 if test "${ac_cv_prog_cxx_g+set}" = set; then
       
  2839   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2840 else
       
  2841   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
       
  2842    ac_cxx_werror_flag=yes
       
  2843    ac_cv_prog_cxx_g=no
       
  2844    CXXFLAGS="-g"
       
  2845    cat >conftest.$ac_ext <<_ACEOF
       
  2846 /* confdefs.h.  */
       
  2847 _ACEOF
       
  2848 cat confdefs.h >>conftest.$ac_ext
       
  2849 cat >>conftest.$ac_ext <<_ACEOF
       
  2850 /* end confdefs.h.  */
       
  2851 
       
  2852 int
       
  2853 main ()
       
  2854 {
       
  2855 
       
  2856   ;
       
  2857   return 0;
       
  2858 }
       
  2859 _ACEOF
       
  2860 rm -f conftest.$ac_objext
       
  2861 if { (ac_try="$ac_compile"
       
  2862 case "(($ac_try" in
       
  2863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2864   *) ac_try_echo=$ac_try;;
       
  2865 esac
       
  2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2867   (eval "$ac_compile") 2>conftest.er1
       
  2868   ac_status=$?
       
  2869   grep -v '^ *+' conftest.er1 >conftest.err
       
  2870   rm -f conftest.er1
       
  2871   cat conftest.err >&5
       
  2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2873   (exit $ac_status); } &&
       
  2874 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2875   { (case "(($ac_try" in
       
  2876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2877   *) ac_try_echo=$ac_try;;
       
  2878 esac
       
  2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2880   (eval "$ac_try") 2>&5
       
  2881   ac_status=$?
       
  2882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2883   (exit $ac_status); }; } &&
       
  2884 	 { ac_try='test -s conftest.$ac_objext'
       
  2885   { (case "(($ac_try" in
       
  2886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2887   *) ac_try_echo=$ac_try;;
       
  2888 esac
       
  2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2890   (eval "$ac_try") 2>&5
       
  2891   ac_status=$?
       
  2892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2893   (exit $ac_status); }; }; then
       
  2894   ac_cv_prog_cxx_g=yes
       
  2895 else
       
  2896   echo "$as_me: failed program was:" >&5
       
  2897 sed 's/^/| /' conftest.$ac_ext >&5
       
  2898 
       
  2899 	CXXFLAGS=""
       
  2900       cat >conftest.$ac_ext <<_ACEOF
       
  2901 /* confdefs.h.  */
       
  2902 _ACEOF
       
  2903 cat confdefs.h >>conftest.$ac_ext
       
  2904 cat >>conftest.$ac_ext <<_ACEOF
       
  2905 /* end confdefs.h.  */
       
  2906 
       
  2907 int
       
  2908 main ()
       
  2909 {
       
  2910 
       
  2911   ;
       
  2912   return 0;
       
  2913 }
       
  2914 _ACEOF
       
  2915 rm -f conftest.$ac_objext
       
  2916 if { (ac_try="$ac_compile"
       
  2917 case "(($ac_try" in
       
  2918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2919   *) ac_try_echo=$ac_try;;
       
  2920 esac
       
  2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2922   (eval "$ac_compile") 2>conftest.er1
       
  2923   ac_status=$?
       
  2924   grep -v '^ *+' conftest.er1 >conftest.err
       
  2925   rm -f conftest.er1
       
  2926   cat conftest.err >&5
       
  2927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2928   (exit $ac_status); } &&
       
  2929 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2930   { (case "(($ac_try" in
       
  2931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2932   *) ac_try_echo=$ac_try;;
       
  2933 esac
       
  2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2935   (eval "$ac_try") 2>&5
       
  2936   ac_status=$?
       
  2937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2938   (exit $ac_status); }; } &&
       
  2939 	 { ac_try='test -s conftest.$ac_objext'
       
  2940   { (case "(($ac_try" in
       
  2941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2942   *) ac_try_echo=$ac_try;;
       
  2943 esac
       
  2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2945   (eval "$ac_try") 2>&5
       
  2946   ac_status=$?
       
  2947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2948   (exit $ac_status); }; }; then
       
  2949   :
       
  2950 else
       
  2951   echo "$as_me: failed program was:" >&5
       
  2952 sed 's/^/| /' conftest.$ac_ext >&5
       
  2953 
       
  2954 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  2955 	 CXXFLAGS="-g"
       
  2956 	 cat >conftest.$ac_ext <<_ACEOF
       
  2957 /* confdefs.h.  */
       
  2958 _ACEOF
       
  2959 cat confdefs.h >>conftest.$ac_ext
       
  2960 cat >>conftest.$ac_ext <<_ACEOF
       
  2961 /* end confdefs.h.  */
       
  2962 
       
  2963 int
       
  2964 main ()
       
  2965 {
       
  2966 
       
  2967   ;
       
  2968   return 0;
       
  2969 }
       
  2970 _ACEOF
       
  2971 rm -f conftest.$ac_objext
       
  2972 if { (ac_try="$ac_compile"
       
  2973 case "(($ac_try" in
       
  2974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2975   *) ac_try_echo=$ac_try;;
       
  2976 esac
       
  2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2978   (eval "$ac_compile") 2>conftest.er1
       
  2979   ac_status=$?
       
  2980   grep -v '^ *+' conftest.er1 >conftest.err
       
  2981   rm -f conftest.er1
       
  2982   cat conftest.err >&5
       
  2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2984   (exit $ac_status); } &&
       
  2985 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2986   { (case "(($ac_try" in
       
  2987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2988   *) ac_try_echo=$ac_try;;
       
  2989 esac
       
  2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2991   (eval "$ac_try") 2>&5
       
  2992   ac_status=$?
       
  2993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2994   (exit $ac_status); }; } &&
       
  2995 	 { ac_try='test -s conftest.$ac_objext'
       
  2996   { (case "(($ac_try" in
       
  2997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2998   *) ac_try_echo=$ac_try;;
       
  2999 esac
       
  3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3001   (eval "$ac_try") 2>&5
       
  3002   ac_status=$?
       
  3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3004   (exit $ac_status); }; }; then
       
  3005   ac_cv_prog_cxx_g=yes
       
  3006 else
       
  3007   echo "$as_me: failed program was:" >&5
       
  3008 sed 's/^/| /' conftest.$ac_ext >&5
       
  3009 
       
  3010 
       
  3011 fi
       
  3012 
       
  3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3014 fi
       
  3015 
       
  3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3017 fi
       
  3018 
       
  3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3020    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  3021 fi
       
  3022 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
       
  3023 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
       
  3024 if test "$ac_test_CXXFLAGS" = set; then
       
  3025   CXXFLAGS=$ac_save_CXXFLAGS
       
  3026 elif test $ac_cv_prog_cxx_g = yes; then
       
  3027   if test "$GXX" = yes; then
       
  3028     CXXFLAGS="-g -O2"
       
  3029   else
       
  3030     CXXFLAGS="-g"
       
  3031   fi
       
  3032 else
       
  3033   if test "$GXX" = yes; then
       
  3034     CXXFLAGS="-O2"
       
  3035   else
       
  3036     CXXFLAGS=
       
  3037   fi
       
  3038 fi
       
  3039 ac_ext=cpp
       
  3040 ac_cpp='$CXXCPP $CPPFLAGS'
       
  3041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  3044 DEPDIR="${am__leading_dot}deps"
       
  3045 
       
  3046 ac_config_commands="$ac_config_commands depfiles"
       
  3047 
       
  3048 
       
  3049 am_make=${MAKE-make}
       
  3050 cat > confinc << 'END'
       
  3051 am__doit:
       
  3052 	@echo done
       
  3053 .PHONY: am__doit
       
  3054 END
       
  3055 # If we don't find an include directive, just comment out the code.
       
  3056 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
       
  3057 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
       
  3058 am__include="#"
       
  3059 am__quote=
       
  3060 _am_result=none
       
  3061 # First try GNU make style include.
       
  3062 echo "include confinc" > confmf
       
  3063 # We grep out `Entering directory' and `Leaving directory'
       
  3064 # messages which can occur if `w' ends up in MAKEFLAGS.
       
  3065 # In particular we don't look at `^make:' because GNU make might
       
  3066 # be invoked under some other name (usually "gmake"), in which
       
  3067 # case it prints its new name instead of `make'.
       
  3068 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
       
  3069    am__include=include
       
  3070    am__quote=
       
  3071    _am_result=GNU
       
  3072 fi
       
  3073 # Now try BSD make style include.
       
  3074 if test "$am__include" = "#"; then
       
  3075    echo '.include "confinc"' > confmf
       
  3076    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
       
  3077       am__include=.include
       
  3078       am__quote="\""
       
  3079       _am_result=BSD
       
  3080    fi
       
  3081 fi
       
  3082 
       
  3083 
       
  3084 { echo "$as_me:$LINENO: result: $_am_result" >&5
       
  3085 echo "${ECHO_T}$_am_result" >&6; }
       
  3086 rm -f confinc confmf
       
  3087 
       
  3088 # Check whether --enable-dependency-tracking was given.
       
  3089 if test "${enable_dependency_tracking+set}" = set; then
       
  3090   enableval=$enable_dependency_tracking;
       
  3091 fi
       
  3092 
       
  3093 if test "x$enable_dependency_tracking" != xno; then
       
  3094   am_depcomp="$ac_aux_dir/depcomp"
       
  3095   AMDEPBACKSLASH='\'
       
  3096 fi
       
  3097 
       
  3098 
       
  3099 if test "x$enable_dependency_tracking" != xno; then
       
  3100   AMDEP_TRUE=
       
  3101   AMDEP_FALSE='#'
       
  3102 else
       
  3103   AMDEP_TRUE='#'
       
  3104   AMDEP_FALSE=
       
  3105 fi
       
  3106 
       
  3107 
       
  3108 
       
  3109 
       
  3110 depcc="$CXX"  am_compiler_list=
       
  3111 
       
  3112 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
       
  3113 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
       
  3114 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
       
  3115   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3116 else
       
  3117   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
       
  3118   # We make a subdir and do the tests there.  Otherwise we can end up
       
  3119   # making bogus files that we don't know about and never remove.  For
       
  3120   # instance it was reported that on HP-UX the gcc test will end up
       
  3121   # making a dummy file named `D' -- because `-MD' means `put the output
       
  3122   # in D'.
       
  3123   mkdir conftest.dir
       
  3124   # Copy depcomp to subdir because otherwise we won't find it if we're
       
  3125   # using a relative directory.
       
  3126   cp "$am_depcomp" conftest.dir
       
  3127   cd conftest.dir
       
  3128   # We will build objects and dependencies in a subdirectory because
       
  3129   # it helps to detect inapplicable dependency modes.  For instance
       
  3130   # both Tru64's cc and ICC support -MD to output dependencies as a
       
  3131   # side effect of compilation, but ICC will put the dependencies in
       
  3132   # the current directory while Tru64 will put them in the object
       
  3133   # directory.
       
  3134   mkdir sub
       
  3135 
       
  3136   am_cv_CXX_dependencies_compiler_type=none
       
  3137   if test "$am_compiler_list" = ""; then
       
  3138      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
       
  3139   fi
       
  3140   for depmode in $am_compiler_list; do
       
  3141     # Setup a source with many dependencies, because some compilers
       
  3142     # like to wrap large dependency lists on column 80 (with \), and
       
  3143     # we should not choose a depcomp mode which is confused by this.
       
  3144     #
       
  3145     # We need to recreate these files for each test, as the compiler may
       
  3146     # overwrite some of them when testing with obscure command lines.
       
  3147     # This happens at least with the AIX C compiler.
       
  3148     : > sub/conftest.c
       
  3149     for i in 1 2 3 4 5 6; do
       
  3150       echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
  3151       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
  3152       # Solaris 8's {/usr,}/bin/sh.
       
  3153       touch sub/conftst$i.h
       
  3154     done
       
  3155     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
  3156 
       
  3157     case $depmode in
       
  3158     nosideeffect)
       
  3159       # after this tag, mechanisms are not by side-effect, so they'll
       
  3160       # only be used when explicitly requested
       
  3161       if test "x$enable_dependency_tracking" = xyes; then
       
  3162 	continue
       
  3163       else
       
  3164 	break
       
  3165       fi
       
  3166       ;;
       
  3167     none) break ;;
       
  3168     esac
       
  3169     # We check with `-c' and `-o' for the sake of the "dashmstdout"
       
  3170     # mode.  It turns out that the SunPro C++ compiler does not properly
       
  3171     # handle `-M -o', and we need to detect this.
       
  3172     if depmode=$depmode \
       
  3173        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
       
  3174        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       
  3175        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
       
  3176          >/dev/null 2>conftest.err &&
       
  3177        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       
  3178        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
       
  3179        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
       
  3180       # icc doesn't choke on unknown options, it will just issue warnings
       
  3181       # or remarks (even with -Werror).  So we grep stderr for any message
       
  3182       # that says an option was ignored or not supported.
       
  3183       # When given -MP, icc 7.0 and 7.1 complain thusly:
       
  3184       #   icc: Command line warning: ignoring option '-M'; no argument required
       
  3185       # The diagnosis changed in icc 8.0:
       
  3186       #   icc: Command line remark: option '-MP' not supported
       
  3187       if (grep 'ignoring option' conftest.err ||
       
  3188           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
       
  3189         am_cv_CXX_dependencies_compiler_type=$depmode
       
  3190         break
       
  3191       fi
       
  3192     fi
       
  3193   done
       
  3194 
       
  3195   cd ..
       
  3196   rm -rf conftest.dir
       
  3197 else
       
  3198   am_cv_CXX_dependencies_compiler_type=none
       
  3199 fi
       
  3200 
       
  3201 fi
       
  3202 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
       
  3203 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
       
  3204 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
       
  3205 
       
  3206 
       
  3207 
       
  3208 if
       
  3209   test "x$enable_dependency_tracking" != xno \
       
  3210   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
       
  3211   am__fastdepCXX_TRUE=
       
  3212   am__fastdepCXX_FALSE='#'
       
  3213 else
       
  3214   am__fastdepCXX_TRUE='#'
       
  3215   am__fastdepCXX_FALSE=
       
  3216 fi
       
  3217 
       
  3218 
       
  3219 # Check whether --enable-shared was given.
       
  3220 if test "${enable_shared+set}" = set; then
       
  3221   enableval=$enable_shared; p=${PACKAGE-default}
       
  3222     case $enableval in
       
  3223     yes) enable_shared=yes ;;
       
  3224     no) enable_shared=no ;;
       
  3225     *)
       
  3226       enable_shared=no
       
  3227       # Look at the argument we got.  We use all the common list separators.
       
  3228       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  3229       for pkg in $enableval; do
       
  3230 	IFS="$lt_save_ifs"
       
  3231 	if test "X$pkg" = "X$p"; then
       
  3232 	  enable_shared=yes
       
  3233 	fi
       
  3234       done
       
  3235       IFS="$lt_save_ifs"
       
  3236       ;;
       
  3237     esac
       
  3238 else
       
  3239   enable_shared=yes
       
  3240 fi
       
  3241 
       
  3242 
       
  3243 # Check whether --enable-static was given.
       
  3244 if test "${enable_static+set}" = set; then
       
  3245   enableval=$enable_static; p=${PACKAGE-default}
       
  3246     case $enableval in
       
  3247     yes) enable_static=yes ;;
       
  3248     no) enable_static=no ;;
       
  3249     *)
       
  3250      enable_static=no
       
  3251       # Look at the argument we got.  We use all the common list separators.
       
  3252       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  3253       for pkg in $enableval; do
       
  3254 	IFS="$lt_save_ifs"
       
  3255 	if test "X$pkg" = "X$p"; then
       
  3256 	  enable_static=yes
       
  3257 	fi
       
  3258       done
       
  3259       IFS="$lt_save_ifs"
       
  3260       ;;
       
  3261     esac
       
  3262 else
       
  3263   enable_static=yes
       
  3264 fi
       
  3265 
       
  3266 
       
  3267 # Check whether --enable-fast-install was given.
       
  3268 if test "${enable_fast_install+set}" = set; then
       
  3269   enableval=$enable_fast_install; p=${PACKAGE-default}
       
  3270     case $enableval in
       
  3271     yes) enable_fast_install=yes ;;
       
  3272     no) enable_fast_install=no ;;
       
  3273     *)
       
  3274       enable_fast_install=no
       
  3275       # Look at the argument we got.  We use all the common list separators.
       
  3276       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  3277       for pkg in $enableval; do
       
  3278 	IFS="$lt_save_ifs"
       
  3279 	if test "X$pkg" = "X$p"; then
       
  3280 	  enable_fast_install=yes
       
  3281 	fi
       
  3282       done
       
  3283       IFS="$lt_save_ifs"
       
  3284       ;;
       
  3285     esac
       
  3286 else
       
  3287   enable_fast_install=yes
       
  3288 fi
       
  3289 
       
  3290 
       
  3291 # Make sure we can run config.sub.
       
  3292 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
       
  3293   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
       
  3294 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
       
  3295    { (exit 1); exit 1; }; }
       
  3296 
       
  3297 { echo "$as_me:$LINENO: checking build system type" >&5
       
  3298 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
       
  3299 if test "${ac_cv_build+set}" = set; then
       
  3300   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3301 else
       
  3302   ac_build_alias=$build_alias
       
  3303 test "x$ac_build_alias" = x &&
       
  3304   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
       
  3305 test "x$ac_build_alias" = x &&
       
  3306   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
       
  3307 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
       
  3308    { (exit 1); exit 1; }; }
       
  3309 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
       
  3310   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
       
  3311 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
       
  3312    { (exit 1); exit 1; }; }
       
  3313 
       
  3314 fi
       
  3315 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
       
  3316 echo "${ECHO_T}$ac_cv_build" >&6; }
       
  3317 case $ac_cv_build in
       
  3318 *-*-*) ;;
       
  3319 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
       
  3320 echo "$as_me: error: invalid value of canonical build" >&2;}
       
  3321    { (exit 1); exit 1; }; };;
       
  3322 esac
       
  3323 build=$ac_cv_build
       
  3324 ac_save_IFS=$IFS; IFS='-'
       
  3325 set x $ac_cv_build
       
  3326 shift
       
  3327 build_cpu=$1
       
  3328 build_vendor=$2
       
  3329 shift; shift
       
  3330 # Remember, the first character of IFS is used to create $*,
       
  3331 # except with old shells:
       
  3332 build_os=$*
       
  3333 IFS=$ac_save_IFS
       
  3334 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
       
  3335 
       
  3336 
       
  3337 { echo "$as_me:$LINENO: checking host system type" >&5
       
  3338 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
       
  3339 if test "${ac_cv_host+set}" = set; then
       
  3340   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3341 else
       
  3342   if test "x$host_alias" = x; then
       
  3343   ac_cv_host=$ac_cv_build
       
  3344 else
       
  3345   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
       
  3346     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
       
  3347 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
       
  3348    { (exit 1); exit 1; }; }
       
  3349 fi
       
  3350 
       
  3351 fi
       
  3352 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
       
  3353 echo "${ECHO_T}$ac_cv_host" >&6; }
       
  3354 case $ac_cv_host in
       
  3355 *-*-*) ;;
       
  3356 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
       
  3357 echo "$as_me: error: invalid value of canonical host" >&2;}
       
  3358    { (exit 1); exit 1; }; };;
       
  3359 esac
       
  3360 host=$ac_cv_host
       
  3361 ac_save_IFS=$IFS; IFS='-'
       
  3362 set x $ac_cv_host
       
  3363 shift
       
  3364 host_cpu=$1
       
  3365 host_vendor=$2
       
  3366 shift; shift
       
  3367 # Remember, the first character of IFS is used to create $*,
       
  3368 # except with old shells:
       
  3369 host_os=$*
       
  3370 IFS=$ac_save_IFS
       
  3371 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
       
  3372 
       
  3373 
       
  3374 ac_ext=c
       
  3375 ac_cpp='$CPP $CPPFLAGS'
       
  3376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3379 if test -n "$ac_tool_prefix"; then
       
  3380   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
       
  3381 set dummy ${ac_tool_prefix}gcc; ac_word=$2
       
  3382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3384 if test "${ac_cv_prog_CC+set}" = set; then
       
  3385   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3386 else
       
  3387   if test -n "$CC"; then
       
  3388   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3389 else
       
  3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3391 for as_dir in $PATH
       
  3392 do
       
  3393   IFS=$as_save_IFS
       
  3394   test -z "$as_dir" && as_dir=.
       
  3395   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3397     ac_cv_prog_CC="${ac_tool_prefix}gcc"
       
  3398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3399     break 2
       
  3400   fi
       
  3401 done
       
  3402 done
       
  3403 IFS=$as_save_IFS
       
  3404 
       
  3405 fi
       
  3406 fi
       
  3407 CC=$ac_cv_prog_CC
       
  3408 if test -n "$CC"; then
       
  3409   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3410 echo "${ECHO_T}$CC" >&6; }
       
  3411 else
       
  3412   { echo "$as_me:$LINENO: result: no" >&5
       
  3413 echo "${ECHO_T}no" >&6; }
       
  3414 fi
       
  3415 
       
  3416 
       
  3417 fi
       
  3418 if test -z "$ac_cv_prog_CC"; then
       
  3419   ac_ct_CC=$CC
       
  3420   # Extract the first word of "gcc", so it can be a program name with args.
       
  3421 set dummy gcc; ac_word=$2
       
  3422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  3425   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3426 else
       
  3427   if test -n "$ac_ct_CC"; then
       
  3428   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  3429 else
       
  3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3431 for as_dir in $PATH
       
  3432 do
       
  3433   IFS=$as_save_IFS
       
  3434   test -z "$as_dir" && as_dir=.
       
  3435   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3437     ac_cv_prog_ac_ct_CC="gcc"
       
  3438     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3439     break 2
       
  3440   fi
       
  3441 done
       
  3442 done
       
  3443 IFS=$as_save_IFS
       
  3444 
       
  3445 fi
       
  3446 fi
       
  3447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  3448 if test -n "$ac_ct_CC"; then
       
  3449   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  3450 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  3451 else
       
  3452   { echo "$as_me:$LINENO: result: no" >&5
       
  3453 echo "${ECHO_T}no" >&6; }
       
  3454 fi
       
  3455 
       
  3456   if test "x$ac_ct_CC" = x; then
       
  3457     CC=""
       
  3458   else
       
  3459     case $cross_compiling:$ac_tool_warned in
       
  3460 yes:)
       
  3461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  3462 whose name does not start with the host triplet.  If you think this
       
  3463 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  3464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  3465 whose name does not start with the host triplet.  If you think this
       
  3466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  3467 ac_tool_warned=yes ;;
       
  3468 esac
       
  3469     CC=$ac_ct_CC
       
  3470   fi
       
  3471 else
       
  3472   CC="$ac_cv_prog_CC"
       
  3473 fi
       
  3474 
       
  3475 if test -z "$CC"; then
       
  3476           if test -n "$ac_tool_prefix"; then
       
  3477     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
       
  3478 set dummy ${ac_tool_prefix}cc; ac_word=$2
       
  3479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3481 if test "${ac_cv_prog_CC+set}" = set; then
       
  3482   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3483 else
       
  3484   if test -n "$CC"; then
       
  3485   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3486 else
       
  3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3488 for as_dir in $PATH
       
  3489 do
       
  3490   IFS=$as_save_IFS
       
  3491   test -z "$as_dir" && as_dir=.
       
  3492   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3494     ac_cv_prog_CC="${ac_tool_prefix}cc"
       
  3495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3496     break 2
       
  3497   fi
       
  3498 done
       
  3499 done
       
  3500 IFS=$as_save_IFS
       
  3501 
       
  3502 fi
       
  3503 fi
       
  3504 CC=$ac_cv_prog_CC
       
  3505 if test -n "$CC"; then
       
  3506   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3507 echo "${ECHO_T}$CC" >&6; }
       
  3508 else
       
  3509   { echo "$as_me:$LINENO: result: no" >&5
       
  3510 echo "${ECHO_T}no" >&6; }
       
  3511 fi
       
  3512 
       
  3513 
       
  3514   fi
       
  3515 fi
       
  3516 if test -z "$CC"; then
       
  3517   # Extract the first word of "cc", so it can be a program name with args.
       
  3518 set dummy cc; ac_word=$2
       
  3519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3521 if test "${ac_cv_prog_CC+set}" = set; then
       
  3522   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3523 else
       
  3524   if test -n "$CC"; then
       
  3525   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3526 else
       
  3527   ac_prog_rejected=no
       
  3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3529 for as_dir in $PATH
       
  3530 do
       
  3531   IFS=$as_save_IFS
       
  3532   test -z "$as_dir" && as_dir=.
       
  3533   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3535     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       
  3536        ac_prog_rejected=yes
       
  3537        continue
       
  3538      fi
       
  3539     ac_cv_prog_CC="cc"
       
  3540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3541     break 2
       
  3542   fi
       
  3543 done
       
  3544 done
       
  3545 IFS=$as_save_IFS
       
  3546 
       
  3547 if test $ac_prog_rejected = yes; then
       
  3548   # We found a bogon in the path, so make sure we never use it.
       
  3549   set dummy $ac_cv_prog_CC
       
  3550   shift
       
  3551   if test $# != 0; then
       
  3552     # We chose a different compiler from the bogus one.
       
  3553     # However, it has the same basename, so the bogon will be chosen
       
  3554     # first if we set CC to just the basename; use the full file name.
       
  3555     shift
       
  3556     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
       
  3557   fi
       
  3558 fi
       
  3559 fi
       
  3560 fi
       
  3561 CC=$ac_cv_prog_CC
       
  3562 if test -n "$CC"; then
       
  3563   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3564 echo "${ECHO_T}$CC" >&6; }
       
  3565 else
       
  3566   { echo "$as_me:$LINENO: result: no" >&5
       
  3567 echo "${ECHO_T}no" >&6; }
       
  3568 fi
       
  3569 
       
  3570 
       
  3571 fi
       
  3572 if test -z "$CC"; then
       
  3573   if test -n "$ac_tool_prefix"; then
       
  3574   for ac_prog in cl.exe
       
  3575   do
       
  3576     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  3577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3580 if test "${ac_cv_prog_CC+set}" = set; then
       
  3581   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3582 else
       
  3583   if test -n "$CC"; then
       
  3584   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3585 else
       
  3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3587 for as_dir in $PATH
       
  3588 do
       
  3589   IFS=$as_save_IFS
       
  3590   test -z "$as_dir" && as_dir=.
       
  3591   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3593     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  3594     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3595     break 2
       
  3596   fi
       
  3597 done
       
  3598 done
       
  3599 IFS=$as_save_IFS
       
  3600 
       
  3601 fi
       
  3602 fi
       
  3603 CC=$ac_cv_prog_CC
       
  3604 if test -n "$CC"; then
       
  3605   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3606 echo "${ECHO_T}$CC" >&6; }
       
  3607 else
       
  3608   { echo "$as_me:$LINENO: result: no" >&5
       
  3609 echo "${ECHO_T}no" >&6; }
       
  3610 fi
       
  3611 
       
  3612 
       
  3613     test -n "$CC" && break
       
  3614   done
       
  3615 fi
       
  3616 if test -z "$CC"; then
       
  3617   ac_ct_CC=$CC
       
  3618   for ac_prog in cl.exe
       
  3619 do
       
  3620   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  3621 set dummy $ac_prog; ac_word=$2
       
  3622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  3625   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3626 else
       
  3627   if test -n "$ac_ct_CC"; then
       
  3628   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  3629 else
       
  3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3631 for as_dir in $PATH
       
  3632 do
       
  3633   IFS=$as_save_IFS
       
  3634   test -z "$as_dir" && as_dir=.
       
  3635   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3637     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  3638     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3639     break 2
       
  3640   fi
       
  3641 done
       
  3642 done
       
  3643 IFS=$as_save_IFS
       
  3644 
       
  3645 fi
       
  3646 fi
       
  3647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  3648 if test -n "$ac_ct_CC"; then
       
  3649   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  3650 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  3651 else
       
  3652   { echo "$as_me:$LINENO: result: no" >&5
       
  3653 echo "${ECHO_T}no" >&6; }
       
  3654 fi
       
  3655 
       
  3656 
       
  3657   test -n "$ac_ct_CC" && break
       
  3658 done
       
  3659 
       
  3660   if test "x$ac_ct_CC" = x; then
       
  3661     CC=""
       
  3662   else
       
  3663     case $cross_compiling:$ac_tool_warned in
       
  3664 yes:)
       
  3665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  3666 whose name does not start with the host triplet.  If you think this
       
  3667 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  3668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  3669 whose name does not start with the host triplet.  If you think this
       
  3670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  3671 ac_tool_warned=yes ;;
       
  3672 esac
       
  3673     CC=$ac_ct_CC
       
  3674   fi
       
  3675 fi
       
  3676 
       
  3677 fi
       
  3678 
       
  3679 
       
  3680 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
       
  3681 See \`config.log' for more details." >&5
       
  3682 echo "$as_me: error: no acceptable C compiler found in \$PATH
       
  3683 See \`config.log' for more details." >&2;}
       
  3684    { (exit 1); exit 1; }; }
       
  3685 
       
  3686 # Provide some information about the compiler.
       
  3687 echo "$as_me:$LINENO: checking for C compiler version" >&5
       
  3688 ac_compiler=`set X $ac_compile; echo $2`
       
  3689 { (ac_try="$ac_compiler --version >&5"
       
  3690 case "(($ac_try" in
       
  3691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3692   *) ac_try_echo=$ac_try;;
       
  3693 esac
       
  3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3695   (eval "$ac_compiler --version >&5") 2>&5
       
  3696   ac_status=$?
       
  3697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3698   (exit $ac_status); }
       
  3699 { (ac_try="$ac_compiler -v >&5"
       
  3700 case "(($ac_try" in
       
  3701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3702   *) ac_try_echo=$ac_try;;
       
  3703 esac
       
  3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3705   (eval "$ac_compiler -v >&5") 2>&5
       
  3706   ac_status=$?
       
  3707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3708   (exit $ac_status); }
       
  3709 { (ac_try="$ac_compiler -V >&5"
       
  3710 case "(($ac_try" in
       
  3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3712   *) ac_try_echo=$ac_try;;
       
  3713 esac
       
  3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3715   (eval "$ac_compiler -V >&5") 2>&5
       
  3716   ac_status=$?
       
  3717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3718   (exit $ac_status); }
       
  3719 
       
  3720 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
       
  3721 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
       
  3722 if test "${ac_cv_c_compiler_gnu+set}" = set; then
       
  3723   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3724 else
       
  3725   cat >conftest.$ac_ext <<_ACEOF
       
  3726 /* confdefs.h.  */
       
  3727 _ACEOF
       
  3728 cat confdefs.h >>conftest.$ac_ext
       
  3729 cat >>conftest.$ac_ext <<_ACEOF
       
  3730 /* end confdefs.h.  */
       
  3731 
       
  3732 int
       
  3733 main ()
       
  3734 {
       
  3735 #ifndef __GNUC__
       
  3736        choke me
       
  3737 #endif
       
  3738 
       
  3739   ;
       
  3740   return 0;
       
  3741 }
       
  3742 _ACEOF
       
  3743 rm -f conftest.$ac_objext
       
  3744 if { (ac_try="$ac_compile"
       
  3745 case "(($ac_try" in
       
  3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3747   *) ac_try_echo=$ac_try;;
       
  3748 esac
       
  3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3750   (eval "$ac_compile") 2>conftest.er1
       
  3751   ac_status=$?
       
  3752   grep -v '^ *+' conftest.er1 >conftest.err
       
  3753   rm -f conftest.er1
       
  3754   cat conftest.err >&5
       
  3755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3756   (exit $ac_status); } &&
       
  3757 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3758   { (case "(($ac_try" in
       
  3759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3760   *) ac_try_echo=$ac_try;;
       
  3761 esac
       
  3762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3763   (eval "$ac_try") 2>&5
       
  3764   ac_status=$?
       
  3765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3766   (exit $ac_status); }; } &&
       
  3767 	 { ac_try='test -s conftest.$ac_objext'
       
  3768   { (case "(($ac_try" in
       
  3769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3770   *) ac_try_echo=$ac_try;;
       
  3771 esac
       
  3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3773   (eval "$ac_try") 2>&5
       
  3774   ac_status=$?
       
  3775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3776   (exit $ac_status); }; }; then
       
  3777   ac_compiler_gnu=yes
       
  3778 else
       
  3779   echo "$as_me: failed program was:" >&5
       
  3780 sed 's/^/| /' conftest.$ac_ext >&5
       
  3781 
       
  3782 	ac_compiler_gnu=no
       
  3783 fi
       
  3784 
       
  3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3786 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  3787 
       
  3788 fi
       
  3789 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
       
  3790 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
       
  3791 GCC=`test $ac_compiler_gnu = yes && echo yes`
       
  3792 ac_test_CFLAGS=${CFLAGS+set}
       
  3793 ac_save_CFLAGS=$CFLAGS
       
  3794 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
       
  3795 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
       
  3796 if test "${ac_cv_prog_cc_g+set}" = set; then
       
  3797   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3798 else
       
  3799   ac_save_c_werror_flag=$ac_c_werror_flag
       
  3800    ac_c_werror_flag=yes
       
  3801    ac_cv_prog_cc_g=no
       
  3802    CFLAGS="-g"
       
  3803    cat >conftest.$ac_ext <<_ACEOF
       
  3804 /* confdefs.h.  */
       
  3805 _ACEOF
       
  3806 cat confdefs.h >>conftest.$ac_ext
       
  3807 cat >>conftest.$ac_ext <<_ACEOF
       
  3808 /* end confdefs.h.  */
       
  3809 
       
  3810 int
       
  3811 main ()
       
  3812 {
       
  3813 
       
  3814   ;
       
  3815   return 0;
       
  3816 }
       
  3817 _ACEOF
       
  3818 rm -f conftest.$ac_objext
       
  3819 if { (ac_try="$ac_compile"
       
  3820 case "(($ac_try" in
       
  3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3822   *) ac_try_echo=$ac_try;;
       
  3823 esac
       
  3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3825   (eval "$ac_compile") 2>conftest.er1
       
  3826   ac_status=$?
       
  3827   grep -v '^ *+' conftest.er1 >conftest.err
       
  3828   rm -f conftest.er1
       
  3829   cat conftest.err >&5
       
  3830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3831   (exit $ac_status); } &&
       
  3832 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3833   { (case "(($ac_try" in
       
  3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3835   *) ac_try_echo=$ac_try;;
       
  3836 esac
       
  3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3838   (eval "$ac_try") 2>&5
       
  3839   ac_status=$?
       
  3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3841   (exit $ac_status); }; } &&
       
  3842 	 { ac_try='test -s conftest.$ac_objext'
       
  3843   { (case "(($ac_try" in
       
  3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3845   *) ac_try_echo=$ac_try;;
       
  3846 esac
       
  3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3848   (eval "$ac_try") 2>&5
       
  3849   ac_status=$?
       
  3850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3851   (exit $ac_status); }; }; then
       
  3852   ac_cv_prog_cc_g=yes
       
  3853 else
       
  3854   echo "$as_me: failed program was:" >&5
       
  3855 sed 's/^/| /' conftest.$ac_ext >&5
       
  3856 
       
  3857 	CFLAGS=""
       
  3858       cat >conftest.$ac_ext <<_ACEOF
       
  3859 /* confdefs.h.  */
       
  3860 _ACEOF
       
  3861 cat confdefs.h >>conftest.$ac_ext
       
  3862 cat >>conftest.$ac_ext <<_ACEOF
       
  3863 /* end confdefs.h.  */
       
  3864 
       
  3865 int
       
  3866 main ()
       
  3867 {
       
  3868 
       
  3869   ;
       
  3870   return 0;
       
  3871 }
       
  3872 _ACEOF
       
  3873 rm -f conftest.$ac_objext
       
  3874 if { (ac_try="$ac_compile"
       
  3875 case "(($ac_try" in
       
  3876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3877   *) ac_try_echo=$ac_try;;
       
  3878 esac
       
  3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3880   (eval "$ac_compile") 2>conftest.er1
       
  3881   ac_status=$?
       
  3882   grep -v '^ *+' conftest.er1 >conftest.err
       
  3883   rm -f conftest.er1
       
  3884   cat conftest.err >&5
       
  3885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3886   (exit $ac_status); } &&
       
  3887 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3888   { (case "(($ac_try" in
       
  3889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3890   *) ac_try_echo=$ac_try;;
       
  3891 esac
       
  3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3893   (eval "$ac_try") 2>&5
       
  3894   ac_status=$?
       
  3895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3896   (exit $ac_status); }; } &&
       
  3897 	 { ac_try='test -s conftest.$ac_objext'
       
  3898   { (case "(($ac_try" in
       
  3899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3900   *) ac_try_echo=$ac_try;;
       
  3901 esac
       
  3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3903   (eval "$ac_try") 2>&5
       
  3904   ac_status=$?
       
  3905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3906   (exit $ac_status); }; }; then
       
  3907   :
       
  3908 else
       
  3909   echo "$as_me: failed program was:" >&5
       
  3910 sed 's/^/| /' conftest.$ac_ext >&5
       
  3911 
       
  3912 	ac_c_werror_flag=$ac_save_c_werror_flag
       
  3913 	 CFLAGS="-g"
       
  3914 	 cat >conftest.$ac_ext <<_ACEOF
       
  3915 /* confdefs.h.  */
       
  3916 _ACEOF
       
  3917 cat confdefs.h >>conftest.$ac_ext
       
  3918 cat >>conftest.$ac_ext <<_ACEOF
       
  3919 /* end confdefs.h.  */
       
  3920 
       
  3921 int
       
  3922 main ()
       
  3923 {
       
  3924 
       
  3925   ;
       
  3926   return 0;
       
  3927 }
       
  3928 _ACEOF
       
  3929 rm -f conftest.$ac_objext
       
  3930 if { (ac_try="$ac_compile"
       
  3931 case "(($ac_try" in
       
  3932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3933   *) ac_try_echo=$ac_try;;
       
  3934 esac
       
  3935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3936   (eval "$ac_compile") 2>conftest.er1
       
  3937   ac_status=$?
       
  3938   grep -v '^ *+' conftest.er1 >conftest.err
       
  3939   rm -f conftest.er1
       
  3940   cat conftest.err >&5
       
  3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3942   (exit $ac_status); } &&
       
  3943 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3944   { (case "(($ac_try" in
       
  3945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3946   *) ac_try_echo=$ac_try;;
       
  3947 esac
       
  3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3949   (eval "$ac_try") 2>&5
       
  3950   ac_status=$?
       
  3951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3952   (exit $ac_status); }; } &&
       
  3953 	 { ac_try='test -s conftest.$ac_objext'
       
  3954   { (case "(($ac_try" in
       
  3955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3956   *) ac_try_echo=$ac_try;;
       
  3957 esac
       
  3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3959   (eval "$ac_try") 2>&5
       
  3960   ac_status=$?
       
  3961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3962   (exit $ac_status); }; }; then
       
  3963   ac_cv_prog_cc_g=yes
       
  3964 else
       
  3965   echo "$as_me: failed program was:" >&5
       
  3966 sed 's/^/| /' conftest.$ac_ext >&5
       
  3967 
       
  3968 
       
  3969 fi
       
  3970 
       
  3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3972 fi
       
  3973 
       
  3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3975 fi
       
  3976 
       
  3977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3978    ac_c_werror_flag=$ac_save_c_werror_flag
       
  3979 fi
       
  3980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
       
  3981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
       
  3982 if test "$ac_test_CFLAGS" = set; then
       
  3983   CFLAGS=$ac_save_CFLAGS
       
  3984 elif test $ac_cv_prog_cc_g = yes; then
       
  3985   if test "$GCC" = yes; then
       
  3986     CFLAGS="-g -O2"
       
  3987   else
       
  3988     CFLAGS="-g"
       
  3989   fi
       
  3990 else
       
  3991   if test "$GCC" = yes; then
       
  3992     CFLAGS="-O2"
       
  3993   else
       
  3994     CFLAGS=
       
  3995   fi
       
  3996 fi
       
  3997 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
       
  3998 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
       
  3999 if test "${ac_cv_prog_cc_c89+set}" = set; then
       
  4000   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4001 else
       
  4002   ac_cv_prog_cc_c89=no
       
  4003 ac_save_CC=$CC
       
  4004 cat >conftest.$ac_ext <<_ACEOF
       
  4005 /* confdefs.h.  */
       
  4006 _ACEOF
       
  4007 cat confdefs.h >>conftest.$ac_ext
       
  4008 cat >>conftest.$ac_ext <<_ACEOF
       
  4009 /* end confdefs.h.  */
       
  4010 #include <stdarg.h>
       
  4011 #include <stdio.h>
       
  4012 #include <sys/types.h>
       
  4013 #include <sys/stat.h>
       
  4014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  4015 struct buf { int x; };
       
  4016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  4017 static char *e (p, i)
       
  4018      char **p;
       
  4019      int i;
       
  4020 {
       
  4021   return p[i];
       
  4022 }
       
  4023 static char *f (char * (*g) (char **, int), char **p, ...)
       
  4024 {
       
  4025   char *s;
       
  4026   va_list v;
       
  4027   va_start (v,p);
       
  4028   s = g (p, va_arg (v,int));
       
  4029   va_end (v);
       
  4030   return s;
       
  4031 }
       
  4032 
       
  4033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  4034    function prototypes and stuff, but not '\xHH' hex character constants.
       
  4035    These don't provoke an error unfortunately, instead are silently treated
       
  4036    as 'x'.  The following induces an error, until -std is added to get
       
  4037    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  4038    array size at least.  It's necessary to write '\x00'==0 to get something
       
  4039    that's true only with -std.  */
       
  4040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  4041 
       
  4042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  4043    inside strings and character constants.  */
       
  4044 #define FOO(x) 'x'
       
  4045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  4046 
       
  4047 int test (int i, double x);
       
  4048 struct s1 {int (*f) (int a);};
       
  4049 struct s2 {int (*f) (double a);};
       
  4050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  4051 int argc;
       
  4052 char **argv;
       
  4053 int
       
  4054 main ()
       
  4055 {
       
  4056 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  4057   ;
       
  4058   return 0;
       
  4059 }
       
  4060 _ACEOF
       
  4061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  4062 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  4063 do
       
  4064   CC="$ac_save_CC $ac_arg"
       
  4065   rm -f conftest.$ac_objext
       
  4066 if { (ac_try="$ac_compile"
       
  4067 case "(($ac_try" in
       
  4068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4069   *) ac_try_echo=$ac_try;;
       
  4070 esac
       
  4071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4072   (eval "$ac_compile") 2>conftest.er1
       
  4073   ac_status=$?
       
  4074   grep -v '^ *+' conftest.er1 >conftest.err
       
  4075   rm -f conftest.er1
       
  4076   cat conftest.err >&5
       
  4077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4078   (exit $ac_status); } &&
       
  4079 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  4080   { (case "(($ac_try" in
       
  4081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4082   *) ac_try_echo=$ac_try;;
       
  4083 esac
       
  4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4085   (eval "$ac_try") 2>&5
       
  4086   ac_status=$?
       
  4087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4088   (exit $ac_status); }; } &&
       
  4089 	 { ac_try='test -s conftest.$ac_objext'
       
  4090   { (case "(($ac_try" in
       
  4091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4092   *) ac_try_echo=$ac_try;;
       
  4093 esac
       
  4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4095   (eval "$ac_try") 2>&5
       
  4096   ac_status=$?
       
  4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4098   (exit $ac_status); }; }; then
       
  4099   ac_cv_prog_cc_c89=$ac_arg
       
  4100 else
       
  4101   echo "$as_me: failed program was:" >&5
       
  4102 sed 's/^/| /' conftest.$ac_ext >&5
       
  4103 
       
  4104 
       
  4105 fi
       
  4106 
       
  4107 rm -f core conftest.err conftest.$ac_objext
       
  4108   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  4109 done
       
  4110 rm -f conftest.$ac_ext
       
  4111 CC=$ac_save_CC
       
  4112 
       
  4113 fi
       
  4114 # AC_CACHE_VAL
       
  4115 case "x$ac_cv_prog_cc_c89" in
       
  4116   x)
       
  4117     { echo "$as_me:$LINENO: result: none needed" >&5
       
  4118 echo "${ECHO_T}none needed" >&6; } ;;
       
  4119   xno)
       
  4120     { echo "$as_me:$LINENO: result: unsupported" >&5
       
  4121 echo "${ECHO_T}unsupported" >&6; } ;;
       
  4122   *)
       
  4123     CC="$CC $ac_cv_prog_cc_c89"
       
  4124     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
       
  4125 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
       
  4126 esac
       
  4127 
       
  4128 
       
  4129 ac_ext=cpp
       
  4130 ac_cpp='$CXXCPP $CPPFLAGS'
       
  4131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  4134 
       
  4135 depcc="$CC"   am_compiler_list=
       
  4136 
       
  4137 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
       
  4138 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
       
  4139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
       
  4140   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4141 else
       
  4142   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
       
  4143   # We make a subdir and do the tests there.  Otherwise we can end up
       
  4144   # making bogus files that we don't know about and never remove.  For
       
  4145   # instance it was reported that on HP-UX the gcc test will end up
       
  4146   # making a dummy file named `D' -- because `-MD' means `put the output
       
  4147   # in D'.
       
  4148   mkdir conftest.dir
       
  4149   # Copy depcomp to subdir because otherwise we won't find it if we're
       
  4150   # using a relative directory.
       
  4151   cp "$am_depcomp" conftest.dir
       
  4152   cd conftest.dir
       
  4153   # We will build objects and dependencies in a subdirectory because
       
  4154   # it helps to detect inapplicable dependency modes.  For instance
       
  4155   # both Tru64's cc and ICC support -MD to output dependencies as a
       
  4156   # side effect of compilation, but ICC will put the dependencies in
       
  4157   # the current directory while Tru64 will put them in the object
       
  4158   # directory.
       
  4159   mkdir sub
       
  4160 
       
  4161   am_cv_CC_dependencies_compiler_type=none
       
  4162   if test "$am_compiler_list" = ""; then
       
  4163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
       
  4164   fi
       
  4165   for depmode in $am_compiler_list; do
       
  4166     # Setup a source with many dependencies, because some compilers
       
  4167     # like to wrap large dependency lists on column 80 (with \), and
       
  4168     # we should not choose a depcomp mode which is confused by this.
       
  4169     #
       
  4170     # We need to recreate these files for each test, as the compiler may
       
  4171     # overwrite some of them when testing with obscure command lines.
       
  4172     # This happens at least with the AIX C compiler.
       
  4173     : > sub/conftest.c
       
  4174     for i in 1 2 3 4 5 6; do
       
  4175       echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
  4176       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
  4177       # Solaris 8's {/usr,}/bin/sh.
       
  4178       touch sub/conftst$i.h
       
  4179     done
       
  4180     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
  4181 
       
  4182     case $depmode in
       
  4183     nosideeffect)
       
  4184       # after this tag, mechanisms are not by side-effect, so they'll
       
  4185       # only be used when explicitly requested
       
  4186       if test "x$enable_dependency_tracking" = xyes; then
       
  4187 	continue
       
  4188       else
       
  4189 	break
       
  4190       fi
       
  4191       ;;
       
  4192     none) break ;;
       
  4193     esac
       
  4194     # We check with `-c' and `-o' for the sake of the "dashmstdout"
       
  4195     # mode.  It turns out that the SunPro C++ compiler does not properly
       
  4196     # handle `-M -o', and we need to detect this.
       
  4197     if depmode=$depmode \
       
  4198        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
       
  4199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       
  4200        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
       
  4201          >/dev/null 2>conftest.err &&
       
  4202        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       
  4203        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
       
  4204        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
       
  4205       # icc doesn't choke on unknown options, it will just issue warnings
       
  4206       # or remarks (even with -Werror).  So we grep stderr for any message
       
  4207       # that says an option was ignored or not supported.
       
  4208       # When given -MP, icc 7.0 and 7.1 complain thusly:
       
  4209       #   icc: Command line warning: ignoring option '-M'; no argument required
       
  4210       # The diagnosis changed in icc 8.0:
       
  4211       #   icc: Command line remark: option '-MP' not supported
       
  4212       if (grep 'ignoring option' conftest.err ||
       
  4213           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
       
  4214         am_cv_CC_dependencies_compiler_type=$depmode
       
  4215         break
       
  4216       fi
       
  4217     fi
       
  4218   done
       
  4219 
       
  4220   cd ..
       
  4221   rm -rf conftest.dir
       
  4222 else
       
  4223   am_cv_CC_dependencies_compiler_type=none
       
  4224 fi
       
  4225 
       
  4226 fi
       
  4227 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
       
  4228 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
       
  4229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
       
  4230 
       
  4231 
       
  4232 
       
  4233 if
       
  4234   test "x$enable_dependency_tracking" != xno \
       
  4235   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
       
  4236   am__fastdepCC_TRUE=
       
  4237   am__fastdepCC_FALSE='#'
       
  4238 else
       
  4239   am__fastdepCC_TRUE='#'
       
  4240   am__fastdepCC_FALSE=
       
  4241 fi
       
  4242 
       
  4243 
       
  4244 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
       
  4245 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
       
  4246 if test "${lt_cv_path_SED+set}" = set; then
       
  4247   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4248 else
       
  4249   # Loop through the user's path and test for sed and gsed.
       
  4250 # Then use that list of sed's as ones to test for truncation.
       
  4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4252 for as_dir in $PATH
       
  4253 do
       
  4254   IFS=$as_save_IFS
       
  4255   test -z "$as_dir" && as_dir=.
       
  4256   for lt_ac_prog in sed gsed; do
       
  4257     for ac_exec_ext in '' $ac_executable_extensions; do
       
  4258       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
       
  4259         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
       
  4260       fi
       
  4261     done
       
  4262   done
       
  4263 done
       
  4264 lt_ac_max=0
       
  4265 lt_ac_count=0
       
  4266 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
       
  4267 # along with /bin/sed that truncates output.
       
  4268 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
       
  4269   test ! -f $lt_ac_sed && continue
       
  4270   cat /dev/null > conftest.in
       
  4271   lt_ac_count=0
       
  4272   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
       
  4273   # Check for GNU sed and select it if it is found.
       
  4274   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
       
  4275     lt_cv_path_SED=$lt_ac_sed
       
  4276     break
       
  4277   fi
       
  4278   while true; do
       
  4279     cat conftest.in conftest.in >conftest.tmp
       
  4280     mv conftest.tmp conftest.in
       
  4281     cp conftest.in conftest.nl
       
  4282     echo >>conftest.nl
       
  4283     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
       
  4284     cmp -s conftest.out conftest.nl || break
       
  4285     # 10000 chars as input seems more than enough
       
  4286     test $lt_ac_count -gt 10 && break
       
  4287     lt_ac_count=`expr $lt_ac_count + 1`
       
  4288     if test $lt_ac_count -gt $lt_ac_max; then
       
  4289       lt_ac_max=$lt_ac_count
       
  4290       lt_cv_path_SED=$lt_ac_sed
       
  4291     fi
       
  4292   done
       
  4293 done
       
  4294 
       
  4295 fi
       
  4296 
       
  4297 SED=$lt_cv_path_SED
       
  4298 { echo "$as_me:$LINENO: result: $SED" >&5
       
  4299 echo "${ECHO_T}$SED" >&6; }
       
  4300 
       
  4301 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
       
  4302 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
       
  4303 if test "${ac_cv_path_GREP+set}" = set; then
       
  4304   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4305 else
       
  4306   # Extract the first word of "grep ggrep" to use in msg output
       
  4307 if test -z "$GREP"; then
       
  4308 set dummy grep ggrep; ac_prog_name=$2
       
  4309 if test "${ac_cv_path_GREP+set}" = set; then
       
  4310   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4311 else
       
  4312   ac_path_GREP_found=false
       
  4313 # Loop through the user's path and test for each of PROGNAME-LIST
       
  4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  4316 do
       
  4317   IFS=$as_save_IFS
       
  4318   test -z "$as_dir" && as_dir=.
       
  4319   for ac_prog in grep ggrep; do
       
  4320   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4321     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
       
  4322     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
       
  4323     # Check for GNU ac_path_GREP and select it if it is found.
       
  4324   # Check for GNU $ac_path_GREP
       
  4325 case `"$ac_path_GREP" --version 2>&1` in
       
  4326 *GNU*)
       
  4327   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
       
  4328 *)
       
  4329   ac_count=0
       
  4330   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  4331   while :
       
  4332   do
       
  4333     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  4334     mv "conftest.tmp" "conftest.in"
       
  4335     cp "conftest.in" "conftest.nl"
       
  4336     echo 'GREP' >> "conftest.nl"
       
  4337     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  4338     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  4339     ac_count=`expr $ac_count + 1`
       
  4340     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       
  4341       # Best one so far, save it but keep looking for a better one
       
  4342       ac_cv_path_GREP="$ac_path_GREP"
       
  4343       ac_path_GREP_max=$ac_count
       
  4344     fi
       
  4345     # 10*(2^10) chars as input seems more than enough
       
  4346     test $ac_count -gt 10 && break
       
  4347   done
       
  4348   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  4349 esac
       
  4350 
       
  4351 
       
  4352     $ac_path_GREP_found && break 3
       
  4353   done
       
  4354 done
       
  4355 
       
  4356 done
       
  4357 IFS=$as_save_IFS
       
  4358 
       
  4359 
       
  4360 fi
       
  4361 
       
  4362 GREP="$ac_cv_path_GREP"
       
  4363 if test -z "$GREP"; then
       
  4364   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  4365 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  4366    { (exit 1); exit 1; }; }
       
  4367 fi
       
  4368 
       
  4369 else
       
  4370   ac_cv_path_GREP=$GREP
       
  4371 fi
       
  4372 
       
  4373 
       
  4374 fi
       
  4375 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
       
  4376 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
       
  4377  GREP="$ac_cv_path_GREP"
       
  4378 
       
  4379 
       
  4380 { echo "$as_me:$LINENO: checking for egrep" >&5
       
  4381 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
       
  4382 if test "${ac_cv_path_EGREP+set}" = set; then
       
  4383   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4384 else
       
  4385   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
       
  4386    then ac_cv_path_EGREP="$GREP -E"
       
  4387    else
       
  4388      # Extract the first word of "egrep" to use in msg output
       
  4389 if test -z "$EGREP"; then
       
  4390 set dummy egrep; ac_prog_name=$2
       
  4391 if test "${ac_cv_path_EGREP+set}" = set; then
       
  4392   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4393 else
       
  4394   ac_path_EGREP_found=false
       
  4395 # Loop through the user's path and test for each of PROGNAME-LIST
       
  4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  4398 do
       
  4399   IFS=$as_save_IFS
       
  4400   test -z "$as_dir" && as_dir=.
       
  4401   for ac_prog in egrep; do
       
  4402   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4403     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  4404     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
       
  4405     # Check for GNU ac_path_EGREP and select it if it is found.
       
  4406   # Check for GNU $ac_path_EGREP
       
  4407 case `"$ac_path_EGREP" --version 2>&1` in
       
  4408 *GNU*)
       
  4409   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
       
  4410 *)
       
  4411   ac_count=0
       
  4412   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  4413   while :
       
  4414   do
       
  4415     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  4416     mv "conftest.tmp" "conftest.in"
       
  4417     cp "conftest.in" "conftest.nl"
       
  4418     echo 'EGREP' >> "conftest.nl"
       
  4419     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  4420     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  4421     ac_count=`expr $ac_count + 1`
       
  4422     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       
  4423       # Best one so far, save it but keep looking for a better one
       
  4424       ac_cv_path_EGREP="$ac_path_EGREP"
       
  4425       ac_path_EGREP_max=$ac_count
       
  4426     fi
       
  4427     # 10*(2^10) chars as input seems more than enough
       
  4428     test $ac_count -gt 10 && break
       
  4429   done
       
  4430   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  4431 esac
       
  4432 
       
  4433 
       
  4434     $ac_path_EGREP_found && break 3
       
  4435   done
       
  4436 done
       
  4437 
       
  4438 done
       
  4439 IFS=$as_save_IFS
       
  4440 
       
  4441 
       
  4442 fi
       
  4443 
       
  4444 EGREP="$ac_cv_path_EGREP"
       
  4445 if test -z "$EGREP"; then
       
  4446   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  4447 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  4448    { (exit 1); exit 1; }; }
       
  4449 fi
       
  4450 
       
  4451 else
       
  4452   ac_cv_path_EGREP=$EGREP
       
  4453 fi
       
  4454 
       
  4455 
       
  4456    fi
       
  4457 fi
       
  4458 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
       
  4459 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
       
  4460  EGREP="$ac_cv_path_EGREP"
       
  4461 
       
  4462 
       
  4463 
       
  4464 # Check whether --with-gnu-ld was given.
       
  4465 if test "${with_gnu_ld+set}" = set; then
       
  4466   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
       
  4467 else
       
  4468   with_gnu_ld=no
       
  4469 fi
       
  4470 
       
  4471 ac_prog=ld
       
  4472 if test "$GCC" = yes; then
       
  4473   # Check if gcc -print-prog-name=ld gives a path.
       
  4474   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
       
  4475 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
       
  4476   case $host in
       
  4477   *-*-mingw*)
       
  4478     # gcc leaves a trailing carriage return which upsets mingw
       
  4479     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
       
  4480   *)
       
  4481     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
       
  4482   esac
       
  4483   case $ac_prog in
       
  4484     # Accept absolute paths.
       
  4485     [\\/]* | ?:[\\/]*)
       
  4486       re_direlt='/[^/][^/]*/\.\./'
       
  4487       # Canonicalize the pathname of ld
       
  4488       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
       
  4489       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
       
  4490 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
       
  4491       done
       
  4492       test -z "$LD" && LD="$ac_prog"
       
  4493       ;;
       
  4494   "")
       
  4495     # If it fails, then pretend we aren't using GCC.
       
  4496     ac_prog=ld
       
  4497     ;;
       
  4498   *)
       
  4499     # If it is relative, then search for the first ld in PATH.
       
  4500     with_gnu_ld=unknown
       
  4501     ;;
       
  4502   esac
       
  4503 elif test "$with_gnu_ld" = yes; then
       
  4504   { echo "$as_me:$LINENO: checking for GNU ld" >&5
       
  4505 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
       
  4506 else
       
  4507   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
       
  4508 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
       
  4509 fi
       
  4510 if test "${lt_cv_path_LD+set}" = set; then
       
  4511   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4512 else
       
  4513   if test -z "$LD"; then
       
  4514   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  4515   for ac_dir in $PATH; do
       
  4516     IFS="$lt_save_ifs"
       
  4517     test -z "$ac_dir" && ac_dir=.
       
  4518     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       
  4519       lt_cv_path_LD="$ac_dir/$ac_prog"
       
  4520       # Check to see if the program is GNU ld.  I'd rather use --version,
       
  4521       # but apparently some variants of GNU ld only accept -v.
       
  4522       # Break only if it was the GNU/non-GNU ld that we prefer.
       
  4523       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       
  4524       *GNU* | *'with BFD'*)
       
  4525 	test "$with_gnu_ld" != no && break
       
  4526 	;;
       
  4527       *)
       
  4528 	test "$with_gnu_ld" != yes && break
       
  4529 	;;
       
  4530       esac
       
  4531     fi
       
  4532   done
       
  4533   IFS="$lt_save_ifs"
       
  4534 else
       
  4535   lt_cv_path_LD="$LD" # Let the user override the test with a path.
       
  4536 fi
       
  4537 fi
       
  4538 
       
  4539 LD="$lt_cv_path_LD"
       
  4540 if test -n "$LD"; then
       
  4541   { echo "$as_me:$LINENO: result: $LD" >&5
       
  4542 echo "${ECHO_T}$LD" >&6; }
       
  4543 else
       
  4544   { echo "$as_me:$LINENO: result: no" >&5
       
  4545 echo "${ECHO_T}no" >&6; }
       
  4546 fi
       
  4547 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
       
  4548 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
       
  4549    { (exit 1); exit 1; }; }
       
  4550 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
       
  4551 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
       
  4552 if test "${lt_cv_prog_gnu_ld+set}" = set; then
       
  4553   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4554 else
       
  4555   # I'd rather use --version here, but apparently some GNU lds only accept -v.
       
  4556 case `$LD -v 2>&1 </dev/null` in
       
  4557 *GNU* | *'with BFD'*)
       
  4558   lt_cv_prog_gnu_ld=yes
       
  4559   ;;
       
  4560 *)
       
  4561   lt_cv_prog_gnu_ld=no
       
  4562   ;;
       
  4563 esac
       
  4564 fi
       
  4565 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
       
  4566 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
       
  4567 with_gnu_ld=$lt_cv_prog_gnu_ld
       
  4568 
       
  4569 
       
  4570 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
       
  4571 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
       
  4572 if test "${lt_cv_ld_reload_flag+set}" = set; then
       
  4573   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4574 else
       
  4575   lt_cv_ld_reload_flag='-r'
       
  4576 fi
       
  4577 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
       
  4578 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
       
  4579 reload_flag=$lt_cv_ld_reload_flag
       
  4580 case $reload_flag in
       
  4581 "" | " "*) ;;
       
  4582 *) reload_flag=" $reload_flag" ;;
       
  4583 esac
       
  4584 reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  4585 case $host_os in
       
  4586   darwin*)
       
  4587     if test "$GCC" = yes; then
       
  4588       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
       
  4589     else
       
  4590       reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  4591     fi
       
  4592     ;;
       
  4593 esac
       
  4594 
       
  4595 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
       
  4596 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
       
  4597 if test "${lt_cv_path_NM+set}" = set; then
       
  4598   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4599 else
       
  4600   if test -n "$NM"; then
       
  4601   # Let the user override the test.
       
  4602   lt_cv_path_NM="$NM"
       
  4603 else
       
  4604   lt_nm_to_check="${ac_tool_prefix}nm"
       
  4605   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
       
  4606     lt_nm_to_check="$lt_nm_to_check nm"
       
  4607   fi
       
  4608   for lt_tmp_nm in $lt_nm_to_check; do
       
  4609     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  4610     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
       
  4611       IFS="$lt_save_ifs"
       
  4612       test -z "$ac_dir" && ac_dir=.
       
  4613       tmp_nm="$ac_dir/$lt_tmp_nm"
       
  4614       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
       
  4615 	# Check to see if the nm accepts a BSD-compat flag.
       
  4616 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
       
  4617 	#   nm: unknown option "B" ignored
       
  4618 	# Tru64's nm complains that /dev/null is an invalid object file
       
  4619 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
       
  4620 	*/dev/null* | *'Invalid file or object type'*)
       
  4621 	  lt_cv_path_NM="$tmp_nm -B"
       
  4622 	  break
       
  4623 	  ;;
       
  4624 	*)
       
  4625 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
       
  4626 	  */dev/null*)
       
  4627 	    lt_cv_path_NM="$tmp_nm -p"
       
  4628 	    break
       
  4629 	    ;;
       
  4630 	  *)
       
  4631 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
       
  4632 	    continue # so that we can try to find one that supports BSD flags
       
  4633 	    ;;
       
  4634 	  esac
       
  4635 	  ;;
       
  4636 	esac
       
  4637       fi
       
  4638     done
       
  4639     IFS="$lt_save_ifs"
       
  4640   done
       
  4641   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
       
  4642 fi
       
  4643 fi
       
  4644 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
       
  4645 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
       
  4646 NM="$lt_cv_path_NM"
       
  4647 
       
  4648 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
       
  4649 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
       
  4650 LN_S=$as_ln_s
       
  4651 if test "$LN_S" = "ln -s"; then
       
  4652   { echo "$as_me:$LINENO: result: yes" >&5
       
  4653 echo "${ECHO_T}yes" >&6; }
       
  4654 else
       
  4655   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
       
  4656 echo "${ECHO_T}no, using $LN_S" >&6; }
       
  4657 fi
       
  4658 
       
  4659 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
       
  4660 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
       
  4661 if test "${lt_cv_deplibs_check_method+set}" = set; then
       
  4662   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4663 else
       
  4664   lt_cv_file_magic_cmd='$MAGIC_CMD'
       
  4665 lt_cv_file_magic_test_file=
       
  4666 lt_cv_deplibs_check_method='unknown'
       
  4667 # Need to set the preceding variable on all platforms that support
       
  4668 # interlibrary dependencies.
       
  4669 # 'none' -- dependencies not supported.
       
  4670 # `unknown' -- same as none, but documents that we really don't know.
       
  4671 # 'pass_all' -- all dependencies passed with no checks.
       
  4672 # 'test_compile' -- check by making test program.
       
  4673 # 'file_magic [[regex]]' -- check by looking for files in library path
       
  4674 # which responds to the $file_magic_cmd with a given extended regex.
       
  4675 # If you have `file' or equivalent on your system and you're not sure
       
  4676 # whether `pass_all' will *always* work, you probably want this one.
       
  4677 
       
  4678 case $host_os in
       
  4679 aix4* | aix5*)
       
  4680   lt_cv_deplibs_check_method=pass_all
       
  4681   ;;
       
  4682 
       
  4683 beos*)
       
  4684   lt_cv_deplibs_check_method=pass_all
       
  4685   ;;
       
  4686 
       
  4687 bsdi[45]*)
       
  4688   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
       
  4689   lt_cv_file_magic_cmd='/usr/bin/file -L'
       
  4690   lt_cv_file_magic_test_file=/shlib/libc.so
       
  4691   ;;
       
  4692 
       
  4693 cygwin*)
       
  4694   # func_win32_libid is a shell function defined in ltmain.sh
       
  4695   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
       
  4696   lt_cv_file_magic_cmd='func_win32_libid'
       
  4697   ;;
       
  4698 
       
  4699 mingw* | pw32*)
       
  4700   # Base MSYS/MinGW do not provide the 'file' command needed by
       
  4701   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
       
  4702   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
       
  4703   lt_cv_file_magic_cmd='$OBJDUMP -f'
       
  4704   ;;
       
  4705 
       
  4706 darwin* | rhapsody*)
       
  4707   lt_cv_deplibs_check_method=pass_all
       
  4708   ;;
       
  4709 
       
  4710 freebsd* | kfreebsd*-gnu | dragonfly*)
       
  4711   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       
  4712     case $host_cpu in
       
  4713     i*86 )
       
  4714       # Not sure whether the presence of OpenBSD here was a mistake.
       
  4715       # Let's accept both of them until this is cleared up.
       
  4716       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
       
  4717       lt_cv_file_magic_cmd=/usr/bin/file
       
  4718       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       
  4719       ;;
       
  4720     esac
       
  4721   else
       
  4722     lt_cv_deplibs_check_method=pass_all
       
  4723   fi
       
  4724   ;;
       
  4725 
       
  4726 gnu*)
       
  4727   lt_cv_deplibs_check_method=pass_all
       
  4728   ;;
       
  4729 
       
  4730 hpux10.20* | hpux11*)
       
  4731   lt_cv_file_magic_cmd=/usr/bin/file
       
  4732   case $host_cpu in
       
  4733   ia64*)
       
  4734     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
       
  4735     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
       
  4736     ;;
       
  4737   hppa*64*)
       
  4738     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]'
       
  4739     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
       
  4740     ;;
       
  4741   *)
       
  4742     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
       
  4743     lt_cv_file_magic_test_file=/usr/lib/libc.sl
       
  4744     ;;
       
  4745   esac
       
  4746   ;;
       
  4747 
       
  4748 interix3*)
       
  4749   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
       
  4750   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
       
  4751   ;;
       
  4752 
       
  4753 irix5* | irix6* | nonstopux*)
       
  4754   case $LD in
       
  4755   *-32|*"-32 ") libmagic=32-bit;;
       
  4756   *-n32|*"-n32 ") libmagic=N32;;
       
  4757   *-64|*"-64 ") libmagic=64-bit;;
       
  4758   *) libmagic=never-match;;
       
  4759   esac
       
  4760   lt_cv_deplibs_check_method=pass_all
       
  4761   ;;
       
  4762 
       
  4763 # This must be Linux ELF.
       
  4764 linux*)
       
  4765   lt_cv_deplibs_check_method=pass_all
       
  4766   ;;
       
  4767 
       
  4768 netbsd*)
       
  4769   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       
  4770     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  4771   else
       
  4772     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
       
  4773   fi
       
  4774   ;;
       
  4775 
       
  4776 newos6*)
       
  4777   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
       
  4778   lt_cv_file_magic_cmd=/usr/bin/file
       
  4779   lt_cv_file_magic_test_file=/usr/lib/libnls.so
       
  4780   ;;
       
  4781 
       
  4782 nto-qnx*)
       
  4783   lt_cv_deplibs_check_method=unknown
       
  4784   ;;
       
  4785 
       
  4786 openbsd*)
       
  4787   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  4788     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
       
  4789   else
       
  4790     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  4791   fi
       
  4792   ;;
       
  4793 
       
  4794 osf3* | osf4* | osf5*)
       
  4795   lt_cv_deplibs_check_method=pass_all
       
  4796   ;;
       
  4797 
       
  4798 solaris*)
       
  4799   lt_cv_deplibs_check_method=pass_all
       
  4800   ;;
       
  4801 
       
  4802 sysv4 | sysv4.3*)
       
  4803   case $host_vendor in
       
  4804   motorola)
       
  4805     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]'
       
  4806     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
       
  4807     ;;
       
  4808   ncr)
       
  4809     lt_cv_deplibs_check_method=pass_all
       
  4810     ;;
       
  4811   sequent)
       
  4812     lt_cv_file_magic_cmd='/bin/file'
       
  4813     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
       
  4814     ;;
       
  4815   sni)
       
  4816     lt_cv_file_magic_cmd='/bin/file'
       
  4817     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
       
  4818     lt_cv_file_magic_test_file=/lib/libc.so
       
  4819     ;;
       
  4820   siemens)
       
  4821     lt_cv_deplibs_check_method=pass_all
       
  4822     ;;
       
  4823   pc)
       
  4824     lt_cv_deplibs_check_method=pass_all
       
  4825     ;;
       
  4826   esac
       
  4827   ;;
       
  4828 
       
  4829 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
  4830   lt_cv_deplibs_check_method=pass_all
       
  4831   ;;
       
  4832 esac
       
  4833 
       
  4834 fi
       
  4835 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
       
  4836 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
       
  4837 file_magic_cmd=$lt_cv_file_magic_cmd
       
  4838 deplibs_check_method=$lt_cv_deplibs_check_method
       
  4839 test -z "$deplibs_check_method" && deplibs_check_method=unknown
       
  4840 
       
  4841 
       
  4842 
       
  4843 
       
  4844 # If no C compiler was specified, use CC.
       
  4845 LTCC=${LTCC-"$CC"}
       
  4846 
       
  4847 # If no C compiler flags were specified, use CFLAGS.
       
  4848 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
  4849 
       
  4850 # Allow CC to be a program name with arguments.
       
  4851 compiler=$CC
       
  4852 
       
  4853 
       
  4854 # Check whether --enable-libtool-lock was given.
       
  4855 if test "${enable_libtool_lock+set}" = set; then
       
  4856   enableval=$enable_libtool_lock;
       
  4857 fi
       
  4858 
       
  4859 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
       
  4860 
       
  4861 # Some flags need to be propagated to the compiler or linker for good
       
  4862 # libtool support.
       
  4863 case $host in
       
  4864 ia64-*-hpux*)
       
  4865   # Find out which ABI we are using.
       
  4866   echo 'int i;' > conftest.$ac_ext
       
  4867   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  4868   (eval $ac_compile) 2>&5
       
  4869   ac_status=$?
       
  4870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4871   (exit $ac_status); }; then
       
  4872     case `/usr/bin/file conftest.$ac_objext` in
       
  4873     *ELF-32*)
       
  4874       HPUX_IA64_MODE="32"
       
  4875       ;;
       
  4876     *ELF-64*)
       
  4877       HPUX_IA64_MODE="64"
       
  4878       ;;
       
  4879     esac
       
  4880   fi
       
  4881   rm -rf conftest*
       
  4882   ;;
       
  4883 *-*-irix6*)
       
  4884   # Find out which ABI we are using.
       
  4885   echo '#line 4885 "configure"' > conftest.$ac_ext
       
  4886   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  4887   (eval $ac_compile) 2>&5
       
  4888   ac_status=$?
       
  4889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4890   (exit $ac_status); }; then
       
  4891    if test "$lt_cv_prog_gnu_ld" = yes; then
       
  4892     case `/usr/bin/file conftest.$ac_objext` in
       
  4893     *32-bit*)
       
  4894       LD="${LD-ld} -melf32bsmip"
       
  4895       ;;
       
  4896     *N32*)
       
  4897       LD="${LD-ld} -melf32bmipn32"
       
  4898       ;;
       
  4899     *64-bit*)
       
  4900       LD="${LD-ld} -melf64bmip"
       
  4901       ;;
       
  4902     esac
       
  4903    else
       
  4904     case `/usr/bin/file conftest.$ac_objext` in
       
  4905     *32-bit*)
       
  4906       LD="${LD-ld} -32"
       
  4907       ;;
       
  4908     *N32*)
       
  4909       LD="${LD-ld} -n32"
       
  4910       ;;
       
  4911     *64-bit*)
       
  4912       LD="${LD-ld} -64"
       
  4913       ;;
       
  4914     esac
       
  4915    fi
       
  4916   fi
       
  4917   rm -rf conftest*
       
  4918   ;;
       
  4919 
       
  4920 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
       
  4921   # Find out which ABI we are using.
       
  4922   echo 'int i;' > conftest.$ac_ext
       
  4923   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  4924   (eval $ac_compile) 2>&5
       
  4925   ac_status=$?
       
  4926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4927   (exit $ac_status); }; then
       
  4928     case `/usr/bin/file conftest.o` in
       
  4929     *32-bit*)
       
  4930       case $host in
       
  4931         x86_64-*linux*)
       
  4932           LD="${LD-ld} -m elf_i386"
       
  4933           ;;
       
  4934         ppc64-*linux*|powerpc64-*linux*)
       
  4935           LD="${LD-ld} -m elf32ppclinux"
       
  4936           ;;
       
  4937         s390x-*linux*)
       
  4938           LD="${LD-ld} -m elf_s390"
       
  4939           ;;
       
  4940         sparc64-*linux*)
       
  4941           LD="${LD-ld} -m elf32_sparc"
       
  4942           ;;
       
  4943       esac
       
  4944       ;;
       
  4945     *64-bit*)
       
  4946       case $host in
       
  4947         x86_64-*linux*)
       
  4948           LD="${LD-ld} -m elf_x86_64"
       
  4949           ;;
       
  4950         ppc*-*linux*|powerpc*-*linux*)
       
  4951           LD="${LD-ld} -m elf64ppc"
       
  4952           ;;
       
  4953         s390*-*linux*)
       
  4954           LD="${LD-ld} -m elf64_s390"
       
  4955           ;;
       
  4956         sparc*-*linux*)
       
  4957           LD="${LD-ld} -m elf64_sparc"
       
  4958           ;;
       
  4959       esac
       
  4960       ;;
       
  4961     esac
       
  4962   fi
       
  4963   rm -rf conftest*
       
  4964   ;;
       
  4965 
       
  4966 *-*-sco3.2v5*)
       
  4967   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
       
  4968   SAVE_CFLAGS="$CFLAGS"
       
  4969   CFLAGS="$CFLAGS -belf"
       
  4970   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
       
  4971 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
       
  4972 if test "${lt_cv_cc_needs_belf+set}" = set; then
       
  4973   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4974 else
       
  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      cat >conftest.$ac_ext <<_ACEOF
       
  4982 /* confdefs.h.  */
       
  4983 _ACEOF
       
  4984 cat confdefs.h >>conftest.$ac_ext
       
  4985 cat >>conftest.$ac_ext <<_ACEOF
       
  4986 /* end confdefs.h.  */
       
  4987 
       
  4988 int
       
  4989 main ()
       
  4990 {
       
  4991 
       
  4992   ;
       
  4993   return 0;
       
  4994 }
       
  4995 _ACEOF
       
  4996 rm -f conftest.$ac_objext conftest$ac_exeext
       
  4997 if { (ac_try="$ac_link"
       
  4998 case "(($ac_try" in
       
  4999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5000   *) ac_try_echo=$ac_try;;
       
  5001 esac
       
  5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5003   (eval "$ac_link") 2>conftest.er1
       
  5004   ac_status=$?
       
  5005   grep -v '^ *+' conftest.er1 >conftest.err
       
  5006   rm -f conftest.er1
       
  5007   cat conftest.err >&5
       
  5008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5009   (exit $ac_status); } &&
       
  5010 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5011   { (case "(($ac_try" in
       
  5012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5013   *) ac_try_echo=$ac_try;;
       
  5014 esac
       
  5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5016   (eval "$ac_try") 2>&5
       
  5017   ac_status=$?
       
  5018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5019   (exit $ac_status); }; } &&
       
  5020 	 { ac_try='test -s conftest$ac_exeext'
       
  5021   { (case "(($ac_try" in
       
  5022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5023   *) ac_try_echo=$ac_try;;
       
  5024 esac
       
  5025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5026   (eval "$ac_try") 2>&5
       
  5027   ac_status=$?
       
  5028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5029   (exit $ac_status); }; }; then
       
  5030   lt_cv_cc_needs_belf=yes
       
  5031 else
       
  5032   echo "$as_me: failed program was:" >&5
       
  5033 sed 's/^/| /' conftest.$ac_ext >&5
       
  5034 
       
  5035 	lt_cv_cc_needs_belf=no
       
  5036 fi
       
  5037 
       
  5038 rm -f core conftest.err conftest.$ac_objext \
       
  5039       conftest$ac_exeext conftest.$ac_ext
       
  5040      ac_ext=c
       
  5041 ac_cpp='$CPP $CPPFLAGS'
       
  5042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5045 
       
  5046 fi
       
  5047 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
       
  5048 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
       
  5049   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
       
  5050     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
       
  5051     CFLAGS="$SAVE_CFLAGS"
       
  5052   fi
       
  5053   ;;
       
  5054 sparc*-*solaris*)
       
  5055   # Find out which ABI we are using.
       
  5056   echo 'int i;' > conftest.$ac_ext
       
  5057   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  5058   (eval $ac_compile) 2>&5
       
  5059   ac_status=$?
       
  5060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5061   (exit $ac_status); }; then
       
  5062     case `/usr/bin/file conftest.o` in
       
  5063     *64-bit*)
       
  5064       case $lt_cv_prog_gnu_ld in
       
  5065       yes*) LD="${LD-ld} -m elf64_sparc" ;;
       
  5066       *)    LD="${LD-ld} -64" ;;
       
  5067       esac
       
  5068       ;;
       
  5069     esac
       
  5070   fi
       
  5071   rm -rf conftest*
       
  5072   ;;
       
  5073 
       
  5074 
       
  5075 esac
       
  5076 
       
  5077 need_locks="$enable_libtool_lock"
       
  5078 
       
  5079 
       
  5080 ac_ext=c
       
  5081 ac_cpp='$CPP $CPPFLAGS'
       
  5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5085 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
       
  5086 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
       
  5087 # On Suns, sometimes $CPP names a directory.
       
  5088 if test -n "$CPP" && test -d "$CPP"; then
       
  5089   CPP=
       
  5090 fi
       
  5091 if test -z "$CPP"; then
       
  5092   if test "${ac_cv_prog_CPP+set}" = set; then
       
  5093   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5094 else
       
  5095       # Double quotes because CPP needs to be expanded
       
  5096     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
       
  5097     do
       
  5098       ac_preproc_ok=false
       
  5099 for ac_c_preproc_warn_flag in '' yes
       
  5100 do
       
  5101   # Use a header file that comes with gcc, so configuring glibc
       
  5102   # with a fresh cross-compiler works.
       
  5103   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5104   # <limits.h> exists even on freestanding compilers.
       
  5105   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5106   # not just through cpp. "Syntax error" is here to catch this case.
       
  5107   cat >conftest.$ac_ext <<_ACEOF
       
  5108 /* confdefs.h.  */
       
  5109 _ACEOF
       
  5110 cat confdefs.h >>conftest.$ac_ext
       
  5111 cat >>conftest.$ac_ext <<_ACEOF
       
  5112 /* end confdefs.h.  */
       
  5113 #ifdef __STDC__
       
  5114 # include <limits.h>
       
  5115 #else
       
  5116 # include <assert.h>
       
  5117 #endif
       
  5118 		     Syntax error
       
  5119 _ACEOF
       
  5120 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5121 case "(($ac_try" in
       
  5122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5123   *) ac_try_echo=$ac_try;;
       
  5124 esac
       
  5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5126   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5127   ac_status=$?
       
  5128   grep -v '^ *+' conftest.er1 >conftest.err
       
  5129   rm -f conftest.er1
       
  5130   cat conftest.err >&5
       
  5131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5132   (exit $ac_status); } >/dev/null; then
       
  5133   if test -s conftest.err; then
       
  5134     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5135     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5136   else
       
  5137     ac_cpp_err=
       
  5138   fi
       
  5139 else
       
  5140   ac_cpp_err=yes
       
  5141 fi
       
  5142 if test -z "$ac_cpp_err"; then
       
  5143   :
       
  5144 else
       
  5145   echo "$as_me: failed program was:" >&5
       
  5146 sed 's/^/| /' conftest.$ac_ext >&5
       
  5147 
       
  5148   # Broken: fails on valid input.
       
  5149 continue
       
  5150 fi
       
  5151 
       
  5152 rm -f conftest.err conftest.$ac_ext
       
  5153 
       
  5154   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5155   # can be detected and how.
       
  5156   cat >conftest.$ac_ext <<_ACEOF
       
  5157 /* confdefs.h.  */
       
  5158 _ACEOF
       
  5159 cat confdefs.h >>conftest.$ac_ext
       
  5160 cat >>conftest.$ac_ext <<_ACEOF
       
  5161 /* end confdefs.h.  */
       
  5162 #include <ac_nonexistent.h>
       
  5163 _ACEOF
       
  5164 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5165 case "(($ac_try" in
       
  5166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5167   *) ac_try_echo=$ac_try;;
       
  5168 esac
       
  5169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5170   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5171   ac_status=$?
       
  5172   grep -v '^ *+' conftest.er1 >conftest.err
       
  5173   rm -f conftest.er1
       
  5174   cat conftest.err >&5
       
  5175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5176   (exit $ac_status); } >/dev/null; then
       
  5177   if test -s conftest.err; then
       
  5178     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5179     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5180   else
       
  5181     ac_cpp_err=
       
  5182   fi
       
  5183 else
       
  5184   ac_cpp_err=yes
       
  5185 fi
       
  5186 if test -z "$ac_cpp_err"; then
       
  5187   # Broken: success on invalid input.
       
  5188 continue
       
  5189 else
       
  5190   echo "$as_me: failed program was:" >&5
       
  5191 sed 's/^/| /' conftest.$ac_ext >&5
       
  5192 
       
  5193   # Passes both tests.
       
  5194 ac_preproc_ok=:
       
  5195 break
       
  5196 fi
       
  5197 
       
  5198 rm -f conftest.err conftest.$ac_ext
       
  5199 
       
  5200 done
       
  5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  5202 rm -f conftest.err conftest.$ac_ext
       
  5203 if $ac_preproc_ok; then
       
  5204   break
       
  5205 fi
       
  5206 
       
  5207     done
       
  5208     ac_cv_prog_CPP=$CPP
       
  5209 
       
  5210 fi
       
  5211   CPP=$ac_cv_prog_CPP
       
  5212 else
       
  5213   ac_cv_prog_CPP=$CPP
       
  5214 fi
       
  5215 { echo "$as_me:$LINENO: result: $CPP" >&5
       
  5216 echo "${ECHO_T}$CPP" >&6; }
       
  5217 ac_preproc_ok=false
       
  5218 for ac_c_preproc_warn_flag in '' yes
       
  5219 do
       
  5220   # Use a header file that comes with gcc, so configuring glibc
       
  5221   # with a fresh cross-compiler works.
       
  5222   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5223   # <limits.h> exists even on freestanding compilers.
       
  5224   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5225   # not just through cpp. "Syntax error" is here to catch this case.
       
  5226   cat >conftest.$ac_ext <<_ACEOF
       
  5227 /* confdefs.h.  */
       
  5228 _ACEOF
       
  5229 cat confdefs.h >>conftest.$ac_ext
       
  5230 cat >>conftest.$ac_ext <<_ACEOF
       
  5231 /* end confdefs.h.  */
       
  5232 #ifdef __STDC__
       
  5233 # include <limits.h>
       
  5234 #else
       
  5235 # include <assert.h>
       
  5236 #endif
       
  5237 		     Syntax error
       
  5238 _ACEOF
       
  5239 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5240 case "(($ac_try" in
       
  5241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5242   *) ac_try_echo=$ac_try;;
       
  5243 esac
       
  5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5246   ac_status=$?
       
  5247   grep -v '^ *+' conftest.er1 >conftest.err
       
  5248   rm -f conftest.er1
       
  5249   cat conftest.err >&5
       
  5250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5251   (exit $ac_status); } >/dev/null; then
       
  5252   if test -s conftest.err; then
       
  5253     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5254     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5255   else
       
  5256     ac_cpp_err=
       
  5257   fi
       
  5258 else
       
  5259   ac_cpp_err=yes
       
  5260 fi
       
  5261 if test -z "$ac_cpp_err"; then
       
  5262   :
       
  5263 else
       
  5264   echo "$as_me: failed program was:" >&5
       
  5265 sed 's/^/| /' conftest.$ac_ext >&5
       
  5266 
       
  5267   # Broken: fails on valid input.
       
  5268 continue
       
  5269 fi
       
  5270 
       
  5271 rm -f conftest.err conftest.$ac_ext
       
  5272 
       
  5273   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5274   # can be detected and how.
       
  5275   cat >conftest.$ac_ext <<_ACEOF
       
  5276 /* confdefs.h.  */
       
  5277 _ACEOF
       
  5278 cat confdefs.h >>conftest.$ac_ext
       
  5279 cat >>conftest.$ac_ext <<_ACEOF
       
  5280 /* end confdefs.h.  */
       
  5281 #include <ac_nonexistent.h>
       
  5282 _ACEOF
       
  5283 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5284 case "(($ac_try" in
       
  5285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5286   *) ac_try_echo=$ac_try;;
       
  5287 esac
       
  5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5289   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5290   ac_status=$?
       
  5291   grep -v '^ *+' conftest.er1 >conftest.err
       
  5292   rm -f conftest.er1
       
  5293   cat conftest.err >&5
       
  5294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5295   (exit $ac_status); } >/dev/null; then
       
  5296   if test -s conftest.err; then
       
  5297     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5298     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5299   else
       
  5300     ac_cpp_err=
       
  5301   fi
       
  5302 else
       
  5303   ac_cpp_err=yes
       
  5304 fi
       
  5305 if test -z "$ac_cpp_err"; then
       
  5306   # Broken: success on invalid input.
       
  5307 continue
       
  5308 else
       
  5309   echo "$as_me: failed program was:" >&5
       
  5310 sed 's/^/| /' conftest.$ac_ext >&5
       
  5311 
       
  5312   # Passes both tests.
       
  5313 ac_preproc_ok=:
       
  5314 break
       
  5315 fi
       
  5316 
       
  5317 rm -f conftest.err conftest.$ac_ext
       
  5318 
       
  5319 done
       
  5320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  5321 rm -f conftest.err conftest.$ac_ext
       
  5322 if $ac_preproc_ok; then
       
  5323   :
       
  5324 else
       
  5325   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
       
  5326 See \`config.log' for more details." >&5
       
  5327 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
       
  5328 See \`config.log' for more details." >&2;}
       
  5329    { (exit 1); exit 1; }; }
       
  5330 fi
       
  5331 
       
  5332 ac_ext=c
       
  5333 ac_cpp='$CPP $CPPFLAGS'
       
  5334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5337 
       
  5338 
       
  5339 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
       
  5340 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
       
  5341 if test "${ac_cv_header_stdc+set}" = set; then
       
  5342   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5343 else
       
  5344   cat >conftest.$ac_ext <<_ACEOF
       
  5345 /* confdefs.h.  */
       
  5346 _ACEOF
       
  5347 cat confdefs.h >>conftest.$ac_ext
       
  5348 cat >>conftest.$ac_ext <<_ACEOF
       
  5349 /* end confdefs.h.  */
       
  5350 #include <stdlib.h>
       
  5351 #include <stdarg.h>
       
  5352 #include <string.h>
       
  5353 #include <float.h>
       
  5354 
       
  5355 int
       
  5356 main ()
       
  5357 {
       
  5358 
       
  5359   ;
       
  5360   return 0;
       
  5361 }
       
  5362 _ACEOF
       
  5363 rm -f conftest.$ac_objext
       
  5364 if { (ac_try="$ac_compile"
       
  5365 case "(($ac_try" in
       
  5366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5367   *) ac_try_echo=$ac_try;;
       
  5368 esac
       
  5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5370   (eval "$ac_compile") 2>conftest.er1
       
  5371   ac_status=$?
       
  5372   grep -v '^ *+' conftest.er1 >conftest.err
       
  5373   rm -f conftest.er1
       
  5374   cat conftest.err >&5
       
  5375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5376   (exit $ac_status); } &&
       
  5377 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5378   { (case "(($ac_try" in
       
  5379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5380   *) ac_try_echo=$ac_try;;
       
  5381 esac
       
  5382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5383   (eval "$ac_try") 2>&5
       
  5384   ac_status=$?
       
  5385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5386   (exit $ac_status); }; } &&
       
  5387 	 { ac_try='test -s conftest.$ac_objext'
       
  5388   { (case "(($ac_try" in
       
  5389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5390   *) ac_try_echo=$ac_try;;
       
  5391 esac
       
  5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5393   (eval "$ac_try") 2>&5
       
  5394   ac_status=$?
       
  5395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5396   (exit $ac_status); }; }; then
       
  5397   ac_cv_header_stdc=yes
       
  5398 else
       
  5399   echo "$as_me: failed program was:" >&5
       
  5400 sed 's/^/| /' conftest.$ac_ext >&5
       
  5401 
       
  5402 	ac_cv_header_stdc=no
       
  5403 fi
       
  5404 
       
  5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5406 
       
  5407 if test $ac_cv_header_stdc = yes; then
       
  5408   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       
  5409   cat >conftest.$ac_ext <<_ACEOF
       
  5410 /* confdefs.h.  */
       
  5411 _ACEOF
       
  5412 cat confdefs.h >>conftest.$ac_ext
       
  5413 cat >>conftest.$ac_ext <<_ACEOF
       
  5414 /* end confdefs.h.  */
       
  5415 #include <string.h>
       
  5416 
       
  5417 _ACEOF
       
  5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5419   $EGREP "memchr" >/dev/null 2>&1; then
       
  5420   :
       
  5421 else
       
  5422   ac_cv_header_stdc=no
       
  5423 fi
       
  5424 rm -f conftest*
       
  5425 
       
  5426 fi
       
  5427 
       
  5428 if test $ac_cv_header_stdc = yes; then
       
  5429   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       
  5430   cat >conftest.$ac_ext <<_ACEOF
       
  5431 /* confdefs.h.  */
       
  5432 _ACEOF
       
  5433 cat confdefs.h >>conftest.$ac_ext
       
  5434 cat >>conftest.$ac_ext <<_ACEOF
       
  5435 /* end confdefs.h.  */
       
  5436 #include <stdlib.h>
       
  5437 
       
  5438 _ACEOF
       
  5439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5440   $EGREP "free" >/dev/null 2>&1; then
       
  5441   :
       
  5442 else
       
  5443   ac_cv_header_stdc=no
       
  5444 fi
       
  5445 rm -f conftest*
       
  5446 
       
  5447 fi
       
  5448 
       
  5449 if test $ac_cv_header_stdc = yes; then
       
  5450   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
       
  5451   if test "$cross_compiling" = yes; then
       
  5452   :
       
  5453 else
       
  5454   cat >conftest.$ac_ext <<_ACEOF
       
  5455 /* confdefs.h.  */
       
  5456 _ACEOF
       
  5457 cat confdefs.h >>conftest.$ac_ext
       
  5458 cat >>conftest.$ac_ext <<_ACEOF
       
  5459 /* end confdefs.h.  */
       
  5460 #include <ctype.h>
       
  5461 #include <stdlib.h>
       
  5462 #if ((' ' & 0x0FF) == 0x020)
       
  5463 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       
  5464 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
       
  5465 #else
       
  5466 # define ISLOWER(c) \
       
  5467 		   (('a' <= (c) && (c) <= 'i') \
       
  5468 		     || ('j' <= (c) && (c) <= 'r') \
       
  5469 		     || ('s' <= (c) && (c) <= 'z'))
       
  5470 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
       
  5471 #endif
       
  5472 
       
  5473 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
       
  5474 int
       
  5475 main ()
       
  5476 {
       
  5477   int i;
       
  5478   for (i = 0; i < 256; i++)
       
  5479     if (XOR (islower (i), ISLOWER (i))
       
  5480 	|| toupper (i) != TOUPPER (i))
       
  5481       return 2;
       
  5482   return 0;
       
  5483 }
       
  5484 _ACEOF
       
  5485 rm -f conftest$ac_exeext
       
  5486 if { (ac_try="$ac_link"
       
  5487 case "(($ac_try" in
       
  5488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5489   *) ac_try_echo=$ac_try;;
       
  5490 esac
       
  5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5492   (eval "$ac_link") 2>&5
       
  5493   ac_status=$?
       
  5494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5495   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  5496   { (case "(($ac_try" in
       
  5497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5498   *) ac_try_echo=$ac_try;;
       
  5499 esac
       
  5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5501   (eval "$ac_try") 2>&5
       
  5502   ac_status=$?
       
  5503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5504   (exit $ac_status); }; }; then
       
  5505   :
       
  5506 else
       
  5507   echo "$as_me: program exited with status $ac_status" >&5
       
  5508 echo "$as_me: failed program was:" >&5
       
  5509 sed 's/^/| /' conftest.$ac_ext >&5
       
  5510 
       
  5511 ( exit $ac_status )
       
  5512 ac_cv_header_stdc=no
       
  5513 fi
       
  5514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  5515 fi
       
  5516 
       
  5517 
       
  5518 fi
       
  5519 fi
       
  5520 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
       
  5521 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
       
  5522 if test $ac_cv_header_stdc = yes; then
       
  5523 
       
  5524 cat >>confdefs.h <<\_ACEOF
       
  5525 #define STDC_HEADERS 1
       
  5526 _ACEOF
       
  5527 
       
  5528 fi
       
  5529 
       
  5530 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
       
  5531 
       
  5532 
       
  5533 
       
  5534 
       
  5535 
       
  5536 
       
  5537 
       
  5538 
       
  5539 
       
  5540 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
       
  5541 		  inttypes.h stdint.h unistd.h
       
  5542 do
       
  5543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5544 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5547   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5548 else
       
  5549   cat >conftest.$ac_ext <<_ACEOF
       
  5550 /* confdefs.h.  */
       
  5551 _ACEOF
       
  5552 cat confdefs.h >>conftest.$ac_ext
       
  5553 cat >>conftest.$ac_ext <<_ACEOF
       
  5554 /* end confdefs.h.  */
       
  5555 $ac_includes_default
       
  5556 
       
  5557 #include <$ac_header>
       
  5558 _ACEOF
       
  5559 rm -f conftest.$ac_objext
       
  5560 if { (ac_try="$ac_compile"
       
  5561 case "(($ac_try" in
       
  5562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5563   *) ac_try_echo=$ac_try;;
       
  5564 esac
       
  5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5566   (eval "$ac_compile") 2>conftest.er1
       
  5567   ac_status=$?
       
  5568   grep -v '^ *+' conftest.er1 >conftest.err
       
  5569   rm -f conftest.er1
       
  5570   cat conftest.err >&5
       
  5571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5572   (exit $ac_status); } &&
       
  5573 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5574   { (case "(($ac_try" in
       
  5575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5576   *) ac_try_echo=$ac_try;;
       
  5577 esac
       
  5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5579   (eval "$ac_try") 2>&5
       
  5580   ac_status=$?
       
  5581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5582   (exit $ac_status); }; } &&
       
  5583 	 { ac_try='test -s conftest.$ac_objext'
       
  5584   { (case "(($ac_try" in
       
  5585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5586   *) ac_try_echo=$ac_try;;
       
  5587 esac
       
  5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5589   (eval "$ac_try") 2>&5
       
  5590   ac_status=$?
       
  5591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5592   (exit $ac_status); }; }; then
       
  5593   eval "$as_ac_Header=yes"
       
  5594 else
       
  5595   echo "$as_me: failed program was:" >&5
       
  5596 sed 's/^/| /' conftest.$ac_ext >&5
       
  5597 
       
  5598 	eval "$as_ac_Header=no"
       
  5599 fi
       
  5600 
       
  5601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5602 fi
       
  5603 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5604 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5605 echo "${ECHO_T}$ac_res" >&6; }
       
  5606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5607   cat >>confdefs.h <<_ACEOF
       
  5608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5609 _ACEOF
       
  5610 
       
  5611 fi
       
  5612 
       
  5613 done
       
  5614 
       
  5615 
       
  5616 
       
  5617 for ac_header in dlfcn.h
       
  5618 do
       
  5619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5621   { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5624   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5625 fi
       
  5626 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5627 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5628 echo "${ECHO_T}$ac_res" >&6; }
       
  5629 else
       
  5630   # Is the header compilable?
       
  5631 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
       
  5632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
       
  5633 cat >conftest.$ac_ext <<_ACEOF
       
  5634 /* confdefs.h.  */
       
  5635 _ACEOF
       
  5636 cat confdefs.h >>conftest.$ac_ext
       
  5637 cat >>conftest.$ac_ext <<_ACEOF
       
  5638 /* end confdefs.h.  */
       
  5639 $ac_includes_default
       
  5640 #include <$ac_header>
       
  5641 _ACEOF
       
  5642 rm -f conftest.$ac_objext
       
  5643 if { (ac_try="$ac_compile"
       
  5644 case "(($ac_try" in
       
  5645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5646   *) ac_try_echo=$ac_try;;
       
  5647 esac
       
  5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5649   (eval "$ac_compile") 2>conftest.er1
       
  5650   ac_status=$?
       
  5651   grep -v '^ *+' conftest.er1 >conftest.err
       
  5652   rm -f conftest.er1
       
  5653   cat conftest.err >&5
       
  5654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5655   (exit $ac_status); } &&
       
  5656 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5657   { (case "(($ac_try" in
       
  5658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5659   *) ac_try_echo=$ac_try;;
       
  5660 esac
       
  5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5662   (eval "$ac_try") 2>&5
       
  5663   ac_status=$?
       
  5664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5665   (exit $ac_status); }; } &&
       
  5666 	 { ac_try='test -s conftest.$ac_objext'
       
  5667   { (case "(($ac_try" in
       
  5668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5669   *) ac_try_echo=$ac_try;;
       
  5670 esac
       
  5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5672   (eval "$ac_try") 2>&5
       
  5673   ac_status=$?
       
  5674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5675   (exit $ac_status); }; }; then
       
  5676   ac_header_compiler=yes
       
  5677 else
       
  5678   echo "$as_me: failed program was:" >&5
       
  5679 sed 's/^/| /' conftest.$ac_ext >&5
       
  5680 
       
  5681 	ac_header_compiler=no
       
  5682 fi
       
  5683 
       
  5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
  5686 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
  5687 
       
  5688 # Is the header present?
       
  5689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
       
  5690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
       
  5691 cat >conftest.$ac_ext <<_ACEOF
       
  5692 /* confdefs.h.  */
       
  5693 _ACEOF
       
  5694 cat confdefs.h >>conftest.$ac_ext
       
  5695 cat >>conftest.$ac_ext <<_ACEOF
       
  5696 /* end confdefs.h.  */
       
  5697 #include <$ac_header>
       
  5698 _ACEOF
       
  5699 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5700 case "(($ac_try" in
       
  5701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5702   *) ac_try_echo=$ac_try;;
       
  5703 esac
       
  5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5705   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5706   ac_status=$?
       
  5707   grep -v '^ *+' conftest.er1 >conftest.err
       
  5708   rm -f conftest.er1
       
  5709   cat conftest.err >&5
       
  5710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5711   (exit $ac_status); } >/dev/null; then
       
  5712   if test -s conftest.err; then
       
  5713     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5714     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5715   else
       
  5716     ac_cpp_err=
       
  5717   fi
       
  5718 else
       
  5719   ac_cpp_err=yes
       
  5720 fi
       
  5721 if test -z "$ac_cpp_err"; then
       
  5722   ac_header_preproc=yes
       
  5723 else
       
  5724   echo "$as_me: failed program was:" >&5
       
  5725 sed 's/^/| /' conftest.$ac_ext >&5
       
  5726 
       
  5727   ac_header_preproc=no
       
  5728 fi
       
  5729 
       
  5730 rm -f conftest.err conftest.$ac_ext
       
  5731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
  5732 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
  5733 
       
  5734 # So?  What about this header?
       
  5735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
  5736   yes:no: )
       
  5737     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
       
  5738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  5739     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
       
  5740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
       
  5741     ac_header_preproc=yes
       
  5742     ;;
       
  5743   no:yes:* )
       
  5744     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
       
  5745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
       
  5746     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
       
  5747 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
       
  5748     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
       
  5749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
       
  5750     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
       
  5751 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  5752     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
       
  5753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
       
  5754     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
       
  5755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
       
  5756 
       
  5757     ;;
       
  5758 esac
       
  5759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5762   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5763 else
       
  5764   eval "$as_ac_Header=\$ac_header_preproc"
       
  5765 fi
       
  5766 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5767 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5768 echo "${ECHO_T}$ac_res" >&6; }
       
  5769 
       
  5770 fi
       
  5771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5772   cat >>confdefs.h <<_ACEOF
       
  5773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5774 _ACEOF
       
  5775 
       
  5776 fi
       
  5777 
       
  5778 done
       
  5779 
       
  5780 
       
  5781 
       
  5782 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
       
  5783     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
       
  5784     (test "X$CXX" != "Xg++"))) ; then
       
  5785   ac_ext=cpp
       
  5786 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5790 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
       
  5791 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
       
  5792 if test -z "$CXXCPP"; then
       
  5793   if test "${ac_cv_prog_CXXCPP+set}" = set; then
       
  5794   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5795 else
       
  5796       # Double quotes because CXXCPP needs to be expanded
       
  5797     for CXXCPP in "$CXX -E" "/lib/cpp"
       
  5798     do
       
  5799       ac_preproc_ok=false
       
  5800 for ac_cxx_preproc_warn_flag in '' yes
       
  5801 do
       
  5802   # Use a header file that comes with gcc, so configuring glibc
       
  5803   # with a fresh cross-compiler works.
       
  5804   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5805   # <limits.h> exists even on freestanding compilers.
       
  5806   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5807   # not just through cpp. "Syntax error" is here to catch this case.
       
  5808   cat >conftest.$ac_ext <<_ACEOF
       
  5809 /* confdefs.h.  */
       
  5810 _ACEOF
       
  5811 cat confdefs.h >>conftest.$ac_ext
       
  5812 cat >>conftest.$ac_ext <<_ACEOF
       
  5813 /* end confdefs.h.  */
       
  5814 #ifdef __STDC__
       
  5815 # include <limits.h>
       
  5816 #else
       
  5817 # include <assert.h>
       
  5818 #endif
       
  5819 		     Syntax error
       
  5820 _ACEOF
       
  5821 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5822 case "(($ac_try" in
       
  5823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5824   *) ac_try_echo=$ac_try;;
       
  5825 esac
       
  5826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5827   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5828   ac_status=$?
       
  5829   grep -v '^ *+' conftest.er1 >conftest.err
       
  5830   rm -f conftest.er1
       
  5831   cat conftest.err >&5
       
  5832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5833   (exit $ac_status); } >/dev/null; then
       
  5834   if test -s conftest.err; then
       
  5835     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  5836     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  5837   else
       
  5838     ac_cpp_err=
       
  5839   fi
       
  5840 else
       
  5841   ac_cpp_err=yes
       
  5842 fi
       
  5843 if test -z "$ac_cpp_err"; then
       
  5844   :
       
  5845 else
       
  5846   echo "$as_me: failed program was:" >&5
       
  5847 sed 's/^/| /' conftest.$ac_ext >&5
       
  5848 
       
  5849   # Broken: fails on valid input.
       
  5850 continue
       
  5851 fi
       
  5852 
       
  5853 rm -f conftest.err conftest.$ac_ext
       
  5854 
       
  5855   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5856   # can be detected and how.
       
  5857   cat >conftest.$ac_ext <<_ACEOF
       
  5858 /* confdefs.h.  */
       
  5859 _ACEOF
       
  5860 cat confdefs.h >>conftest.$ac_ext
       
  5861 cat >>conftest.$ac_ext <<_ACEOF
       
  5862 /* end confdefs.h.  */
       
  5863 #include <ac_nonexistent.h>
       
  5864 _ACEOF
       
  5865 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5866 case "(($ac_try" in
       
  5867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5868   *) ac_try_echo=$ac_try;;
       
  5869 esac
       
  5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5871   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5872   ac_status=$?
       
  5873   grep -v '^ *+' conftest.er1 >conftest.err
       
  5874   rm -f conftest.er1
       
  5875   cat conftest.err >&5
       
  5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5877   (exit $ac_status); } >/dev/null; then
       
  5878   if test -s conftest.err; then
       
  5879     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  5880     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  5881   else
       
  5882     ac_cpp_err=
       
  5883   fi
       
  5884 else
       
  5885   ac_cpp_err=yes
       
  5886 fi
       
  5887 if test -z "$ac_cpp_err"; then
       
  5888   # Broken: success on invalid input.
       
  5889 continue
       
  5890 else
       
  5891   echo "$as_me: failed program was:" >&5
       
  5892 sed 's/^/| /' conftest.$ac_ext >&5
       
  5893 
       
  5894   # Passes both tests.
       
  5895 ac_preproc_ok=:
       
  5896 break
       
  5897 fi
       
  5898 
       
  5899 rm -f conftest.err conftest.$ac_ext
       
  5900 
       
  5901 done
       
  5902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  5903 rm -f conftest.err conftest.$ac_ext
       
  5904 if $ac_preproc_ok; then
       
  5905   break
       
  5906 fi
       
  5907 
       
  5908     done
       
  5909     ac_cv_prog_CXXCPP=$CXXCPP
       
  5910 
       
  5911 fi
       
  5912   CXXCPP=$ac_cv_prog_CXXCPP
       
  5913 else
       
  5914   ac_cv_prog_CXXCPP=$CXXCPP
       
  5915 fi
       
  5916 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
       
  5917 echo "${ECHO_T}$CXXCPP" >&6; }
       
  5918 ac_preproc_ok=false
       
  5919 for ac_cxx_preproc_warn_flag in '' yes
       
  5920 do
       
  5921   # Use a header file that comes with gcc, so configuring glibc
       
  5922   # with a fresh cross-compiler works.
       
  5923   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  5924   # <limits.h> exists even on freestanding compilers.
       
  5925   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  5926   # not just through cpp. "Syntax error" is here to catch this case.
       
  5927   cat >conftest.$ac_ext <<_ACEOF
       
  5928 /* confdefs.h.  */
       
  5929 _ACEOF
       
  5930 cat confdefs.h >>conftest.$ac_ext
       
  5931 cat >>conftest.$ac_ext <<_ACEOF
       
  5932 /* end confdefs.h.  */
       
  5933 #ifdef __STDC__
       
  5934 # include <limits.h>
       
  5935 #else
       
  5936 # include <assert.h>
       
  5937 #endif
       
  5938 		     Syntax error
       
  5939 _ACEOF
       
  5940 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5941 case "(($ac_try" in
       
  5942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5943   *) ac_try_echo=$ac_try;;
       
  5944 esac
       
  5945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5946   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5947   ac_status=$?
       
  5948   grep -v '^ *+' conftest.er1 >conftest.err
       
  5949   rm -f conftest.er1
       
  5950   cat conftest.err >&5
       
  5951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5952   (exit $ac_status); } >/dev/null; then
       
  5953   if test -s conftest.err; then
       
  5954     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  5955     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  5956   else
       
  5957     ac_cpp_err=
       
  5958   fi
       
  5959 else
       
  5960   ac_cpp_err=yes
       
  5961 fi
       
  5962 if test -z "$ac_cpp_err"; then
       
  5963   :
       
  5964 else
       
  5965   echo "$as_me: failed program was:" >&5
       
  5966 sed 's/^/| /' conftest.$ac_ext >&5
       
  5967 
       
  5968   # Broken: fails on valid input.
       
  5969 continue
       
  5970 fi
       
  5971 
       
  5972 rm -f conftest.err conftest.$ac_ext
       
  5973 
       
  5974   # OK, works on sane cases.  Now check whether nonexistent headers
       
  5975   # can be detected and how.
       
  5976   cat >conftest.$ac_ext <<_ACEOF
       
  5977 /* confdefs.h.  */
       
  5978 _ACEOF
       
  5979 cat confdefs.h >>conftest.$ac_ext
       
  5980 cat >>conftest.$ac_ext <<_ACEOF
       
  5981 /* end confdefs.h.  */
       
  5982 #include <ac_nonexistent.h>
       
  5983 _ACEOF
       
  5984 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5985 case "(($ac_try" in
       
  5986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5987   *) ac_try_echo=$ac_try;;
       
  5988 esac
       
  5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5990   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5991   ac_status=$?
       
  5992   grep -v '^ *+' conftest.er1 >conftest.err
       
  5993   rm -f conftest.er1
       
  5994   cat conftest.err >&5
       
  5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5996   (exit $ac_status); } >/dev/null; then
       
  5997   if test -s conftest.err; then
       
  5998     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  5999     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  6000   else
       
  6001     ac_cpp_err=
       
  6002   fi
       
  6003 else
       
  6004   ac_cpp_err=yes
       
  6005 fi
       
  6006 if test -z "$ac_cpp_err"; then
       
  6007   # Broken: success on invalid input.
       
  6008 continue
       
  6009 else
       
  6010   echo "$as_me: failed program was:" >&5
       
  6011 sed 's/^/| /' conftest.$ac_ext >&5
       
  6012 
       
  6013   # Passes both tests.
       
  6014 ac_preproc_ok=:
       
  6015 break
       
  6016 fi
       
  6017 
       
  6018 rm -f conftest.err conftest.$ac_ext
       
  6019 
       
  6020 done
       
  6021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  6022 rm -f conftest.err conftest.$ac_ext
       
  6023 if $ac_preproc_ok; then
       
  6024   :
       
  6025 else
       
  6026   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
       
  6027 See \`config.log' for more details." >&5
       
  6028 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
       
  6029 See \`config.log' for more details." >&2;}
       
  6030    { (exit 1); exit 1; }; }
       
  6031 fi
       
  6032 
       
  6033 ac_ext=cpp
       
  6034 ac_cpp='$CXXCPP $CPPFLAGS'
       
  6035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  6036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  6038 
       
  6039 fi
       
  6040 
       
  6041 
       
  6042 ac_ext=f
       
  6043 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
       
  6044 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6045 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
       
  6046 if test -n "$ac_tool_prefix"; then
       
  6047   for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
       
  6048   do
       
  6049     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  6050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  6051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6053 if test "${ac_cv_prog_F77+set}" = set; then
       
  6054   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6055 else
       
  6056   if test -n "$F77"; then
       
  6057   ac_cv_prog_F77="$F77" # Let the user override the test.
       
  6058 else
       
  6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6060 for as_dir in $PATH
       
  6061 do
       
  6062   IFS=$as_save_IFS
       
  6063   test -z "$as_dir" && as_dir=.
       
  6064   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6066     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
       
  6067     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6068     break 2
       
  6069   fi
       
  6070 done
       
  6071 done
       
  6072 IFS=$as_save_IFS
       
  6073 
       
  6074 fi
       
  6075 fi
       
  6076 F77=$ac_cv_prog_F77
       
  6077 if test -n "$F77"; then
       
  6078   { echo "$as_me:$LINENO: result: $F77" >&5
       
  6079 echo "${ECHO_T}$F77" >&6; }
       
  6080 else
       
  6081   { echo "$as_me:$LINENO: result: no" >&5
       
  6082 echo "${ECHO_T}no" >&6; }
       
  6083 fi
       
  6084 
       
  6085 
       
  6086     test -n "$F77" && break
       
  6087   done
       
  6088 fi
       
  6089 if test -z "$F77"; then
       
  6090   ac_ct_F77=$F77
       
  6091   for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
       
  6092 do
       
  6093   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  6094 set dummy $ac_prog; ac_word=$2
       
  6095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6097 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
       
  6098   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6099 else
       
  6100   if test -n "$ac_ct_F77"; then
       
  6101   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
       
  6102 else
       
  6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6104 for as_dir in $PATH
       
  6105 do
       
  6106   IFS=$as_save_IFS
       
  6107   test -z "$as_dir" && as_dir=.
       
  6108   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6110     ac_cv_prog_ac_ct_F77="$ac_prog"
       
  6111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6112     break 2
       
  6113   fi
       
  6114 done
       
  6115 done
       
  6116 IFS=$as_save_IFS
       
  6117 
       
  6118 fi
       
  6119 fi
       
  6120 ac_ct_F77=$ac_cv_prog_ac_ct_F77
       
  6121 if test -n "$ac_ct_F77"; then
       
  6122   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
       
  6123 echo "${ECHO_T}$ac_ct_F77" >&6; }
       
  6124 else
       
  6125   { echo "$as_me:$LINENO: result: no" >&5
       
  6126 echo "${ECHO_T}no" >&6; }
       
  6127 fi
       
  6128 
       
  6129 
       
  6130   test -n "$ac_ct_F77" && break
       
  6131 done
       
  6132 
       
  6133   if test "x$ac_ct_F77" = x; then
       
  6134     F77=""
       
  6135   else
       
  6136     case $cross_compiling:$ac_tool_warned in
       
  6137 yes:)
       
  6138 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  6139 whose name does not start with the host triplet.  If you think this
       
  6140 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  6141 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  6142 whose name does not start with the host triplet.  If you think this
       
  6143 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  6144 ac_tool_warned=yes ;;
       
  6145 esac
       
  6146     F77=$ac_ct_F77
       
  6147   fi
       
  6148 fi
       
  6149 
       
  6150 
       
  6151 # Provide some information about the compiler.
       
  6152 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
       
  6153 ac_compiler=`set X $ac_compile; echo $2`
       
  6154 { (ac_try="$ac_compiler --version >&5"
       
  6155 case "(($ac_try" in
       
  6156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6157   *) ac_try_echo=$ac_try;;
       
  6158 esac
       
  6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6160   (eval "$ac_compiler --version >&5") 2>&5
       
  6161   ac_status=$?
       
  6162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6163   (exit $ac_status); }
       
  6164 { (ac_try="$ac_compiler -v >&5"
       
  6165 case "(($ac_try" in
       
  6166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6167   *) ac_try_echo=$ac_try;;
       
  6168 esac
       
  6169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6170   (eval "$ac_compiler -v >&5") 2>&5
       
  6171   ac_status=$?
       
  6172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6173   (exit $ac_status); }
       
  6174 { (ac_try="$ac_compiler -V >&5"
       
  6175 case "(($ac_try" in
       
  6176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6177   *) ac_try_echo=$ac_try;;
       
  6178 esac
       
  6179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6180   (eval "$ac_compiler -V >&5") 2>&5
       
  6181   ac_status=$?
       
  6182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6183   (exit $ac_status); }
       
  6184 rm -f a.out
       
  6185 
       
  6186 # If we don't use `.F' as extension, the preprocessor is not run on the
       
  6187 # input file.  (Note that this only needs to work for GNU compilers.)
       
  6188 ac_save_ext=$ac_ext
       
  6189 ac_ext=F
       
  6190 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
       
  6191 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
       
  6192 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
       
  6193   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6194 else
       
  6195   cat >conftest.$ac_ext <<_ACEOF
       
  6196       program main
       
  6197 #ifndef __GNUC__
       
  6198        choke me
       
  6199 #endif
       
  6200 
       
  6201       end
       
  6202 _ACEOF
       
  6203 rm -f conftest.$ac_objext
       
  6204 if { (ac_try="$ac_compile"
       
  6205 case "(($ac_try" in
       
  6206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6207   *) ac_try_echo=$ac_try;;
       
  6208 esac
       
  6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6210   (eval "$ac_compile") 2>conftest.er1
       
  6211   ac_status=$?
       
  6212   grep -v '^ *+' conftest.er1 >conftest.err
       
  6213   rm -f conftest.er1
       
  6214   cat conftest.err >&5
       
  6215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6216   (exit $ac_status); } &&
       
  6217 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
  6218   { (case "(($ac_try" in
       
  6219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6220   *) ac_try_echo=$ac_try;;
       
  6221 esac
       
  6222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6223   (eval "$ac_try") 2>&5
       
  6224   ac_status=$?
       
  6225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6226   (exit $ac_status); }; } &&
       
  6227 	 { ac_try='test -s conftest.$ac_objext'
       
  6228   { (case "(($ac_try" in
       
  6229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6230   *) ac_try_echo=$ac_try;;
       
  6231 esac
       
  6232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6233   (eval "$ac_try") 2>&5
       
  6234   ac_status=$?
       
  6235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6236   (exit $ac_status); }; }; then
       
  6237   ac_compiler_gnu=yes
       
  6238 else
       
  6239   echo "$as_me: failed program was:" >&5
       
  6240 sed 's/^/| /' conftest.$ac_ext >&5
       
  6241 
       
  6242 	ac_compiler_gnu=no
       
  6243 fi
       
  6244 
       
  6245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6246 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
       
  6247 
       
  6248 fi
       
  6249 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
       
  6250 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
       
  6251 ac_ext=$ac_save_ext
       
  6252 ac_test_FFLAGS=${FFLAGS+set}
       
  6253 ac_save_FFLAGS=$FFLAGS
       
  6254 FFLAGS=
       
  6255 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
       
  6256 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
       
  6257 if test "${ac_cv_prog_f77_g+set}" = set; then
       
  6258   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6259 else
       
  6260   FFLAGS=-g
       
  6261 cat >conftest.$ac_ext <<_ACEOF
       
  6262       program main
       
  6263 
       
  6264       end
       
  6265 _ACEOF
       
  6266 rm -f conftest.$ac_objext
       
  6267 if { (ac_try="$ac_compile"
       
  6268 case "(($ac_try" in
       
  6269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6270   *) ac_try_echo=$ac_try;;
       
  6271 esac
       
  6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6273   (eval "$ac_compile") 2>conftest.er1
       
  6274   ac_status=$?
       
  6275   grep -v '^ *+' conftest.er1 >conftest.err
       
  6276   rm -f conftest.er1
       
  6277   cat conftest.err >&5
       
  6278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6279   (exit $ac_status); } &&
       
  6280 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
  6281   { (case "(($ac_try" in
       
  6282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6283   *) ac_try_echo=$ac_try;;
       
  6284 esac
       
  6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6286   (eval "$ac_try") 2>&5
       
  6287   ac_status=$?
       
  6288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6289   (exit $ac_status); }; } &&
       
  6290 	 { ac_try='test -s conftest.$ac_objext'
       
  6291   { (case "(($ac_try" in
       
  6292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6293   *) ac_try_echo=$ac_try;;
       
  6294 esac
       
  6295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6296   (eval "$ac_try") 2>&5
       
  6297   ac_status=$?
       
  6298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6299   (exit $ac_status); }; }; then
       
  6300   ac_cv_prog_f77_g=yes
       
  6301 else
       
  6302   echo "$as_me: failed program was:" >&5
       
  6303 sed 's/^/| /' conftest.$ac_ext >&5
       
  6304 
       
  6305 	ac_cv_prog_f77_g=no
       
  6306 fi
       
  6307 
       
  6308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6309 
       
  6310 fi
       
  6311 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
       
  6312 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
       
  6313 if test "$ac_test_FFLAGS" = set; then
       
  6314   FFLAGS=$ac_save_FFLAGS
       
  6315 elif test $ac_cv_prog_f77_g = yes; then
       
  6316   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
       
  6317     FFLAGS="-g -O2"
       
  6318   else
       
  6319     FFLAGS="-g"
       
  6320   fi
       
  6321 else
       
  6322   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
       
  6323     FFLAGS="-O2"
       
  6324   else
       
  6325     FFLAGS=
       
  6326   fi
       
  6327 fi
       
  6328 
       
  6329 G77=`test $ac_compiler_gnu = yes && echo yes`
       
  6330 ac_ext=cpp
       
  6331 ac_cpp='$CXXCPP $CPPFLAGS'
       
  6332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  6333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  6335 
       
  6336 
       
  6337 
       
  6338 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
       
  6339 
       
  6340 # find the maximum length of command line arguments
       
  6341 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
       
  6342 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
       
  6343 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
       
  6344   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6345 else
       
  6346     i=0
       
  6347   teststring="ABCD"
       
  6348 
       
  6349   case $build_os in
       
  6350   msdosdjgpp*)
       
  6351     # On DJGPP, this test can blow up pretty badly due to problems in libc
       
  6352     # (any single argument exceeding 2000 bytes causes a buffer overrun
       
  6353     # during glob expansion).  Even if it were fixed, the result of this
       
  6354     # check would be larger than it should be.
       
  6355     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
       
  6356     ;;
       
  6357 
       
  6358   gnu*)
       
  6359     # Under GNU Hurd, this test is not required because there is
       
  6360     # no limit to the length of command line arguments.
       
  6361     # Libtool will interpret -1 as no limit whatsoever
       
  6362     lt_cv_sys_max_cmd_len=-1;
       
  6363     ;;
       
  6364 
       
  6365   cygwin* | mingw*)
       
  6366     # On Win9x/ME, this test blows up -- it succeeds, but takes
       
  6367     # about 5 minutes as the teststring grows exponentially.
       
  6368     # Worse, since 9x/ME are not pre-emptively multitasking,
       
  6369     # you end up with a "frozen" computer, even though with patience
       
  6370     # the test eventually succeeds (with a max line length of 256k).
       
  6371     # Instead, let's just punt: use the minimum linelength reported by
       
  6372     # all of the supported platforms: 8192 (on NT/2K/XP).
       
  6373     lt_cv_sys_max_cmd_len=8192;
       
  6374     ;;
       
  6375 
       
  6376   amigaos*)
       
  6377     # On AmigaOS with pdksh, this test takes hours, literally.
       
  6378     # So we just punt and use a minimum line length of 8192.
       
  6379     lt_cv_sys_max_cmd_len=8192;
       
  6380     ;;
       
  6381 
       
  6382   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
       
  6383     # This has been around since 386BSD, at least.  Likely further.
       
  6384     if test -x /sbin/sysctl; then
       
  6385       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
       
  6386     elif test -x /usr/sbin/sysctl; then
       
  6387       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
       
  6388     else
       
  6389       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
       
  6390     fi
       
  6391     # And add a safety zone
       
  6392     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       
  6393     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
       
  6394     ;;
       
  6395 
       
  6396   interix*)
       
  6397     # We know the value 262144 and hardcode it with a safety zone (like BSD)
       
  6398     lt_cv_sys_max_cmd_len=196608
       
  6399     ;;
       
  6400 
       
  6401   osf*)
       
  6402     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
       
  6403     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
       
  6404     # nice to cause kernel panics so lets avoid the loop below.
       
  6405     # First set a reasonable default.
       
  6406     lt_cv_sys_max_cmd_len=16384
       
  6407     #
       
  6408     if test -x /sbin/sysconfig; then
       
  6409       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
       
  6410         *1*) lt_cv_sys_max_cmd_len=-1 ;;
       
  6411       esac
       
  6412     fi
       
  6413     ;;
       
  6414   sco3.2v5*)
       
  6415     lt_cv_sys_max_cmd_len=102400
       
  6416     ;;
       
  6417   sysv5* | sco5v6* | sysv4.2uw2*)
       
  6418     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
       
  6419     if test -n "$kargmax"; then
       
  6420       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
       
  6421     else
       
  6422       lt_cv_sys_max_cmd_len=32768
       
  6423     fi
       
  6424     ;;
       
  6425   *)
       
  6426     # If test is not a shell built-in, we'll probably end up computing a
       
  6427     # maximum length that is only half of the actual maximum length, but
       
  6428     # we can't tell.
       
  6429     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
       
  6430     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
       
  6431 	       = "XX$teststring") >/dev/null 2>&1 &&
       
  6432 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
       
  6433 	    lt_cv_sys_max_cmd_len=$new_result &&
       
  6434 	    test $i != 17 # 1/2 MB should be enough
       
  6435     do
       
  6436       i=`expr $i + 1`
       
  6437       teststring=$teststring$teststring
       
  6438     done
       
  6439     teststring=
       
  6440     # Add a significant safety factor because C++ compilers can tack on massive
       
  6441     # amounts of additional arguments before passing them to the linker.
       
  6442     # It appears as though 1/2 is a usable value.
       
  6443     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
       
  6444     ;;
       
  6445   esac
       
  6446 
       
  6447 fi
       
  6448 
       
  6449 if test -n $lt_cv_sys_max_cmd_len ; then
       
  6450   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
       
  6451 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
       
  6452 else
       
  6453   { echo "$as_me:$LINENO: result: none" >&5
       
  6454 echo "${ECHO_T}none" >&6; }
       
  6455 fi
       
  6456 
       
  6457 
       
  6458 
       
  6459 
       
  6460 # Check for command to grab the raw symbol name followed by C symbol from nm.
       
  6461 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
       
  6462 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
       
  6463 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
       
  6464   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6465 else
       
  6466 
       
  6467 # These are sane defaults that work on at least a few old systems.
       
  6468 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
       
  6469 
       
  6470 # Character class describing NM global symbol codes.
       
  6471 symcode='[BCDEGRST]'
       
  6472 
       
  6473 # Regexp to match symbols that can be accessed directly from C.
       
  6474 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
       
  6475 
       
  6476 # Transform an extracted symbol line into a proper C declaration
       
  6477 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
       
  6478 
       
  6479 # Transform an extracted symbol line into symbol name and symbol address
       
  6480 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
       
  6481 
       
  6482 # Define system-specific variables.
       
  6483 case $host_os in
       
  6484 aix*)
       
  6485   symcode='[BCDT]'
       
  6486   ;;
       
  6487 cygwin* | mingw* | pw32*)
       
  6488   symcode='[ABCDGISTW]'
       
  6489   ;;
       
  6490 hpux*) # Its linker distinguishes data from code symbols
       
  6491   if test "$host_cpu" = ia64; then
       
  6492     symcode='[ABCDEGRST]'
       
  6493   fi
       
  6494   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
       
  6495   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'"
       
  6496   ;;
       
  6497 linux*)
       
  6498   if test "$host_cpu" = ia64; then
       
  6499     symcode='[ABCDGIRSTW]'
       
  6500     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
       
  6501     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'"
       
  6502   fi
       
  6503   ;;
       
  6504 irix* | nonstopux*)
       
  6505   symcode='[BCDEGRST]'
       
  6506   ;;
       
  6507 osf*)
       
  6508   symcode='[BCDEGQRST]'
       
  6509   ;;
       
  6510 solaris*)
       
  6511   symcode='[BDRT]'
       
  6512   ;;
       
  6513 sco3.2v5*)
       
  6514   symcode='[DT]'
       
  6515   ;;
       
  6516 sysv4.2uw2*)
       
  6517   symcode='[DT]'
       
  6518   ;;
       
  6519 sysv5* | sco5v6* | unixware* | OpenUNIX*)
       
  6520   symcode='[ABDT]'
       
  6521   ;;
       
  6522 sysv4)
       
  6523   symcode='[DFNSTU]'
       
  6524   ;;
       
  6525 esac
       
  6526 
       
  6527 # Handle CRLF in mingw tool chain
       
  6528 opt_cr=
       
  6529 case $build_os in
       
  6530 mingw*)
       
  6531   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
       
  6532   ;;
       
  6533 esac
       
  6534 
       
  6535 # If we're using GNU nm, then use its standard symbol codes.
       
  6536 case `$NM -V 2>&1` in
       
  6537 *GNU* | *'with BFD'*)
       
  6538   symcode='[ABCDGIRSTW]' ;;
       
  6539 esac
       
  6540 
       
  6541 # Try without a prefix undercore, then with it.
       
  6542 for ac_symprfx in "" "_"; do
       
  6543 
       
  6544   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
       
  6545   symxfrm="\\1 $ac_symprfx\\2 \\2"
       
  6546 
       
  6547   # Write the raw and C identifiers.
       
  6548   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
       
  6549 
       
  6550   # Check to see that the pipe works correctly.
       
  6551   pipe_works=no
       
  6552 
       
  6553   rm -f conftest*
       
  6554   cat > conftest.$ac_ext <<EOF
       
  6555 #ifdef __cplusplus
       
  6556 extern "C" {
       
  6557 #endif
       
  6558 char nm_test_var;
       
  6559 void nm_test_func(){}
       
  6560 #ifdef __cplusplus
       
  6561 }
       
  6562 #endif
       
  6563 int main(){nm_test_var='a';nm_test_func();return(0);}
       
  6564 EOF
       
  6565 
       
  6566   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  6567   (eval $ac_compile) 2>&5
       
  6568   ac_status=$?
       
  6569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6570   (exit $ac_status); }; then
       
  6571     # Now try to grab the symbols.
       
  6572     nlist=conftest.nm
       
  6573     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
       
  6574   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
       
  6575   ac_status=$?
       
  6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6577   (exit $ac_status); } && test -s "$nlist"; then
       
  6578       # Try sorting and uniquifying the output.
       
  6579       if sort "$nlist" | uniq > "$nlist"T; then
       
  6580 	mv -f "$nlist"T "$nlist"
       
  6581       else
       
  6582 	rm -f "$nlist"T
       
  6583       fi
       
  6584 
       
  6585       # Make sure that we snagged all the symbols we need.
       
  6586       if grep ' nm_test_var$' "$nlist" >/dev/null; then
       
  6587 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
       
  6588 	  cat <<EOF > conftest.$ac_ext
       
  6589 #ifdef __cplusplus
       
  6590 extern "C" {
       
  6591 #endif
       
  6592 
       
  6593 EOF
       
  6594 	  # Now generate the symbol file.
       
  6595 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
       
  6596 
       
  6597 	  cat <<EOF >> conftest.$ac_ext
       
  6598 #if defined (__STDC__) && __STDC__
       
  6599 # define lt_ptr_t void *
       
  6600 #else
       
  6601 # define lt_ptr_t char *
       
  6602 # define const
       
  6603 #endif
       
  6604 
       
  6605 /* The mapping between symbol names and symbols. */
       
  6606 const struct {
       
  6607   const char *name;
       
  6608   lt_ptr_t address;
       
  6609 }
       
  6610 lt_preloaded_symbols[] =
       
  6611 {
       
  6612 EOF
       
  6613 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
       
  6614 	  cat <<\EOF >> conftest.$ac_ext
       
  6615   {0, (lt_ptr_t) 0}
       
  6616 };
       
  6617 
       
  6618 #ifdef __cplusplus
       
  6619 }
       
  6620 #endif
       
  6621 EOF
       
  6622 	  # Now try linking the two files.
       
  6623 	  mv conftest.$ac_objext conftstm.$ac_objext
       
  6624 	  lt_save_LIBS="$LIBS"
       
  6625 	  lt_save_CFLAGS="$CFLAGS"
       
  6626 	  LIBS="conftstm.$ac_objext"
       
  6627 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
       
  6628 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
  6629   (eval $ac_link) 2>&5
       
  6630   ac_status=$?
       
  6631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6632   (exit $ac_status); } && test -s conftest${ac_exeext}; then
       
  6633 	    pipe_works=yes
       
  6634 	  fi
       
  6635 	  LIBS="$lt_save_LIBS"
       
  6636 	  CFLAGS="$lt_save_CFLAGS"
       
  6637 	else
       
  6638 	  echo "cannot find nm_test_func in $nlist" >&5
       
  6639 	fi
       
  6640       else
       
  6641 	echo "cannot find nm_test_var in $nlist" >&5
       
  6642       fi
       
  6643     else
       
  6644       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
       
  6645     fi
       
  6646   else
       
  6647     echo "$progname: failed program was:" >&5
       
  6648     cat conftest.$ac_ext >&5
       
  6649   fi
       
  6650   rm -f conftest* conftst*
       
  6651 
       
  6652   # Do not use the global_symbol_pipe unless it works.
       
  6653   if test "$pipe_works" = yes; then
       
  6654     break
       
  6655   else
       
  6656     lt_cv_sys_global_symbol_pipe=
       
  6657   fi
       
  6658 done
       
  6659 
       
  6660 fi
       
  6661 
       
  6662 if test -z "$lt_cv_sys_global_symbol_pipe"; then
       
  6663   lt_cv_sys_global_symbol_to_cdecl=
       
  6664 fi
       
  6665 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
       
  6666   { echo "$as_me:$LINENO: result: failed" >&5
       
  6667 echo "${ECHO_T}failed" >&6; }
       
  6668 else
       
  6669   { echo "$as_me:$LINENO: result: ok" >&5
       
  6670 echo "${ECHO_T}ok" >&6; }
       
  6671 fi
       
  6672 
       
  6673 { echo "$as_me:$LINENO: checking for objdir" >&5
       
  6674 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
       
  6675 if test "${lt_cv_objdir+set}" = set; then
       
  6676   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6677 else
       
  6678   rm -f .libs 2>/dev/null
       
  6679 mkdir .libs 2>/dev/null
       
  6680 if test -d .libs; then
       
  6681   lt_cv_objdir=.libs
       
  6682 else
       
  6683   # MS-DOS does not allow filenames that begin with a dot.
       
  6684   lt_cv_objdir=_libs
       
  6685 fi
       
  6686 rmdir .libs 2>/dev/null
       
  6687 fi
       
  6688 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
       
  6689 echo "${ECHO_T}$lt_cv_objdir" >&6; }
       
  6690 objdir=$lt_cv_objdir
       
  6691 
       
  6692 
       
  6693 
       
  6694 
       
  6695 
       
  6696 case $host_os in
       
  6697 aix3*)
       
  6698   # AIX sometimes has problems with the GCC collect2 program.  For some
       
  6699   # reason, if we set the COLLECT_NAMES environment variable, the problems
       
  6700   # vanish in a puff of smoke.
       
  6701   if test "X${COLLECT_NAMES+set}" != Xset; then
       
  6702     COLLECT_NAMES=
       
  6703     export COLLECT_NAMES
       
  6704   fi
       
  6705   ;;
       
  6706 esac
       
  6707 
       
  6708 # Sed substitution that helps us do robust quoting.  It backslashifies
       
  6709 # metacharacters that are still active within double-quoted strings.
       
  6710 Xsed='sed -e 1s/^X//'
       
  6711 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
       
  6712 
       
  6713 # Same as above, but do not quote variable references.
       
  6714 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
       
  6715 
       
  6716 # Sed substitution to delay expansion of an escaped shell variable in a
       
  6717 # double_quote_subst'ed string.
       
  6718 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
       
  6719 
       
  6720 # Sed substitution to avoid accidental globbing in evaled expressions
       
  6721 no_glob_subst='s/\*/\\\*/g'
       
  6722 
       
  6723 # Constants:
       
  6724 rm="rm -f"
       
  6725 
       
  6726 # Global variables:
       
  6727 default_ofile=libtool
       
  6728 can_build_shared=yes
       
  6729 
       
  6730 # All known linkers require a `.a' archive for static linking (except MSVC,
       
  6731 # which needs '.lib').
       
  6732 libext=a
       
  6733 ltmain="$ac_aux_dir/ltmain.sh"
       
  6734 ofile="$default_ofile"
       
  6735 with_gnu_ld="$lt_cv_prog_gnu_ld"
       
  6736 
       
  6737 if test -n "$ac_tool_prefix"; then
       
  6738   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
       
  6739 set dummy ${ac_tool_prefix}ar; ac_word=$2
       
  6740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6742 if test "${ac_cv_prog_AR+set}" = set; then
       
  6743   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6744 else
       
  6745   if test -n "$AR"; then
       
  6746   ac_cv_prog_AR="$AR" # Let the user override the test.
       
  6747 else
       
  6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6749 for as_dir in $PATH
       
  6750 do
       
  6751   IFS=$as_save_IFS
       
  6752   test -z "$as_dir" && as_dir=.
       
  6753   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6755     ac_cv_prog_AR="${ac_tool_prefix}ar"
       
  6756     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6757     break 2
       
  6758   fi
       
  6759 done
       
  6760 done
       
  6761 IFS=$as_save_IFS
       
  6762 
       
  6763 fi
       
  6764 fi
       
  6765 AR=$ac_cv_prog_AR
       
  6766 if test -n "$AR"; then
       
  6767   { echo "$as_me:$LINENO: result: $AR" >&5
       
  6768 echo "${ECHO_T}$AR" >&6; }
       
  6769 else
       
  6770   { echo "$as_me:$LINENO: result: no" >&5
       
  6771 echo "${ECHO_T}no" >&6; }
       
  6772 fi
       
  6773 
       
  6774 
       
  6775 fi
       
  6776 if test -z "$ac_cv_prog_AR"; then
       
  6777   ac_ct_AR=$AR
       
  6778   # Extract the first word of "ar", so it can be a program name with args.
       
  6779 set dummy ar; ac_word=$2
       
  6780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6782 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
       
  6783   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6784 else
       
  6785   if test -n "$ac_ct_AR"; then
       
  6786   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
       
  6787 else
       
  6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6789 for as_dir in $PATH
       
  6790 do
       
  6791   IFS=$as_save_IFS
       
  6792   test -z "$as_dir" && as_dir=.
       
  6793   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6795     ac_cv_prog_ac_ct_AR="ar"
       
  6796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6797     break 2
       
  6798   fi
       
  6799 done
       
  6800 done
       
  6801 IFS=$as_save_IFS
       
  6802 
       
  6803 fi
       
  6804 fi
       
  6805 ac_ct_AR=$ac_cv_prog_ac_ct_AR
       
  6806 if test -n "$ac_ct_AR"; then
       
  6807   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
       
  6808 echo "${ECHO_T}$ac_ct_AR" >&6; }
       
  6809 else
       
  6810   { echo "$as_me:$LINENO: result: no" >&5
       
  6811 echo "${ECHO_T}no" >&6; }
       
  6812 fi
       
  6813 
       
  6814   if test "x$ac_ct_AR" = x; then
       
  6815     AR="false"
       
  6816   else
       
  6817     case $cross_compiling:$ac_tool_warned in
       
  6818 yes:)
       
  6819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  6820 whose name does not start with the host triplet.  If you think this
       
  6821 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  6822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  6823 whose name does not start with the host triplet.  If you think this
       
  6824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  6825 ac_tool_warned=yes ;;
       
  6826 esac
       
  6827     AR=$ac_ct_AR
       
  6828   fi
       
  6829 else
       
  6830   AR="$ac_cv_prog_AR"
       
  6831 fi
       
  6832 
       
  6833 if test -n "$ac_tool_prefix"; then
       
  6834   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
       
  6835 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
       
  6836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6838 if test "${ac_cv_prog_RANLIB+set}" = set; then
       
  6839   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6840 else
       
  6841   if test -n "$RANLIB"; then
       
  6842   ac_cv_prog_RANLIB="$RANLIB" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6851     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
       
  6852     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 RANLIB=$ac_cv_prog_RANLIB
       
  6862 if test -n "$RANLIB"; then
       
  6863   { echo "$as_me:$LINENO: result: $RANLIB" >&5
       
  6864 echo "${ECHO_T}$RANLIB" >&6; }
       
  6865 else
       
  6866   { echo "$as_me:$LINENO: result: no" >&5
       
  6867 echo "${ECHO_T}no" >&6; }
       
  6868 fi
       
  6869 
       
  6870 
       
  6871 fi
       
  6872 if test -z "$ac_cv_prog_RANLIB"; then
       
  6873   ac_ct_RANLIB=$RANLIB
       
  6874   # Extract the first word of "ranlib", so it can be a program name with args.
       
  6875 set dummy ranlib; ac_word=$2
       
  6876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6878 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
       
  6879   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6880 else
       
  6881   if test -n "$ac_ct_RANLIB"; then
       
  6882   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
       
  6883 else
       
  6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6885 for as_dir in $PATH
       
  6886 do
       
  6887   IFS=$as_save_IFS
       
  6888   test -z "$as_dir" && as_dir=.
       
  6889   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6890   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6891     ac_cv_prog_ac_ct_RANLIB="ranlib"
       
  6892     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6893     break 2
       
  6894   fi
       
  6895 done
       
  6896 done
       
  6897 IFS=$as_save_IFS
       
  6898 
       
  6899 fi
       
  6900 fi
       
  6901 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
       
  6902 if test -n "$ac_ct_RANLIB"; then
       
  6903   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
       
  6904 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
       
  6905 else
       
  6906   { echo "$as_me:$LINENO: result: no" >&5
       
  6907 echo "${ECHO_T}no" >&6; }
       
  6908 fi
       
  6909 
       
  6910   if test "x$ac_ct_RANLIB" = x; then
       
  6911     RANLIB=":"
       
  6912   else
       
  6913     case $cross_compiling:$ac_tool_warned in
       
  6914 yes:)
       
  6915 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  6916 whose name does not start with the host triplet.  If you think this
       
  6917 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  6918 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  6919 whose name does not start with the host triplet.  If you think this
       
  6920 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  6921 ac_tool_warned=yes ;;
       
  6922 esac
       
  6923     RANLIB=$ac_ct_RANLIB
       
  6924   fi
       
  6925 else
       
  6926   RANLIB="$ac_cv_prog_RANLIB"
       
  6927 fi
       
  6928 
       
  6929 if test -n "$ac_tool_prefix"; then
       
  6930   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
       
  6931 set dummy ${ac_tool_prefix}strip; ac_word=$2
       
  6932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6934 if test "${ac_cv_prog_STRIP+set}" = set; then
       
  6935   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6936 else
       
  6937   if test -n "$STRIP"; then
       
  6938   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
       
  6939 else
       
  6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6941 for as_dir in $PATH
       
  6942 do
       
  6943   IFS=$as_save_IFS
       
  6944   test -z "$as_dir" && as_dir=.
       
  6945   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6947     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
       
  6948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6949     break 2
       
  6950   fi
       
  6951 done
       
  6952 done
       
  6953 IFS=$as_save_IFS
       
  6954 
       
  6955 fi
       
  6956 fi
       
  6957 STRIP=$ac_cv_prog_STRIP
       
  6958 if test -n "$STRIP"; then
       
  6959   { echo "$as_me:$LINENO: result: $STRIP" >&5
       
  6960 echo "${ECHO_T}$STRIP" >&6; }
       
  6961 else
       
  6962   { echo "$as_me:$LINENO: result: no" >&5
       
  6963 echo "${ECHO_T}no" >&6; }
       
  6964 fi
       
  6965 
       
  6966 
       
  6967 fi
       
  6968 if test -z "$ac_cv_prog_STRIP"; then
       
  6969   ac_ct_STRIP=$STRIP
       
  6970   # Extract the first word of "strip", so it can be a program name with args.
       
  6971 set dummy strip; ac_word=$2
       
  6972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6974 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
       
  6975   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6976 else
       
  6977   if test -n "$ac_ct_STRIP"; then
       
  6978   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
       
  6979 else
       
  6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6981 for as_dir in $PATH
       
  6982 do
       
  6983   IFS=$as_save_IFS
       
  6984   test -z "$as_dir" && as_dir=.
       
  6985   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6987     ac_cv_prog_ac_ct_STRIP="strip"
       
  6988     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6989     break 2
       
  6990   fi
       
  6991 done
       
  6992 done
       
  6993 IFS=$as_save_IFS
       
  6994 
       
  6995 fi
       
  6996 fi
       
  6997 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
       
  6998 if test -n "$ac_ct_STRIP"; then
       
  6999   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
       
  7000 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
       
  7001 else
       
  7002   { echo "$as_me:$LINENO: result: no" >&5
       
  7003 echo "${ECHO_T}no" >&6; }
       
  7004 fi
       
  7005 
       
  7006   if test "x$ac_ct_STRIP" = x; then
       
  7007     STRIP=":"
       
  7008   else
       
  7009     case $cross_compiling:$ac_tool_warned in
       
  7010 yes:)
       
  7011 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  7012 whose name does not start with the host triplet.  If you think this
       
  7013 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  7014 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  7015 whose name does not start with the host triplet.  If you think this
       
  7016 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  7017 ac_tool_warned=yes ;;
       
  7018 esac
       
  7019     STRIP=$ac_ct_STRIP
       
  7020   fi
       
  7021 else
       
  7022   STRIP="$ac_cv_prog_STRIP"
       
  7023 fi
       
  7024 
       
  7025 
       
  7026 old_CC="$CC"
       
  7027 old_CFLAGS="$CFLAGS"
       
  7028 
       
  7029 # Set sane defaults for various variables
       
  7030 test -z "$AR" && AR=ar
       
  7031 test -z "$AR_FLAGS" && AR_FLAGS=cru
       
  7032 test -z "$AS" && AS=as
       
  7033 test -z "$CC" && CC=cc
       
  7034 test -z "$LTCC" && LTCC=$CC
       
  7035 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
       
  7036 test -z "$DLLTOOL" && DLLTOOL=dlltool
       
  7037 test -z "$LD" && LD=ld
       
  7038 test -z "$LN_S" && LN_S="ln -s"
       
  7039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
       
  7040 test -z "$NM" && NM=nm
       
  7041 test -z "$SED" && SED=sed
       
  7042 test -z "$OBJDUMP" && OBJDUMP=objdump
       
  7043 test -z "$RANLIB" && RANLIB=:
       
  7044 test -z "$STRIP" && STRIP=:
       
  7045 test -z "$ac_objext" && ac_objext=o
       
  7046 
       
  7047 # Determine commands to create old-style static archives.
       
  7048 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
       
  7049 old_postinstall_cmds='chmod 644 $oldlib'
       
  7050 old_postuninstall_cmds=
       
  7051 
       
  7052 if test -n "$RANLIB"; then
       
  7053   case $host_os in
       
  7054   openbsd*)
       
  7055     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
       
  7056     ;;
       
  7057   *)
       
  7058     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
       
  7059     ;;
       
  7060   esac
       
  7061   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
       
  7062 fi
       
  7063 
       
  7064 for cc_temp in $compiler""; do
       
  7065   case $cc_temp in
       
  7066     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
  7067     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
  7068     \-*) ;;
       
  7069     *) break;;
       
  7070   esac
       
  7071 done
       
  7072 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
  7073 
       
  7074 
       
  7075 # Only perform the check for file, if the check method requires it
       
  7076 case $deplibs_check_method in
       
  7077 file_magic*)
       
  7078   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
       
  7079     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
       
  7080 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
       
  7081 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
       
  7082   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7083 else
       
  7084   case $MAGIC_CMD in
       
  7085 [\\/*] |  ?:[\\/]*)
       
  7086   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
       
  7087   ;;
       
  7088 *)
       
  7089   lt_save_MAGIC_CMD="$MAGIC_CMD"
       
  7090   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  7091   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
       
  7092   for ac_dir in $ac_dummy; do
       
  7093     IFS="$lt_save_ifs"
       
  7094     test -z "$ac_dir" && ac_dir=.
       
  7095     if test -f $ac_dir/${ac_tool_prefix}file; then
       
  7096       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
       
  7097       if test -n "$file_magic_test_file"; then
       
  7098 	case $deplibs_check_method in
       
  7099 	"file_magic "*)
       
  7100 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
       
  7101 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7102 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
       
  7103 	    $EGREP "$file_magic_regex" > /dev/null; then
       
  7104 	    :
       
  7105 	  else
       
  7106 	    cat <<EOF 1>&2
       
  7107 
       
  7108 *** Warning: the command libtool uses to detect shared libraries,
       
  7109 *** $file_magic_cmd, produces output that libtool cannot recognize.
       
  7110 *** The result is that libtool may fail to recognize shared libraries
       
  7111 *** as such.  This will affect the creation of libtool libraries that
       
  7112 *** depend on shared libraries, but programs linked with such libtool
       
  7113 *** libraries will work regardless of this problem.  Nevertheless, you
       
  7114 *** may want to report the problem to your system manager and/or to
       
  7115 *** bug-libtool@gnu.org
       
  7116 
       
  7117 EOF
       
  7118 	  fi ;;
       
  7119 	esac
       
  7120       fi
       
  7121       break
       
  7122     fi
       
  7123   done
       
  7124   IFS="$lt_save_ifs"
       
  7125   MAGIC_CMD="$lt_save_MAGIC_CMD"
       
  7126   ;;
       
  7127 esac
       
  7128 fi
       
  7129 
       
  7130 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7131 if test -n "$MAGIC_CMD"; then
       
  7132   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
       
  7133 echo "${ECHO_T}$MAGIC_CMD" >&6; }
       
  7134 else
       
  7135   { echo "$as_me:$LINENO: result: no" >&5
       
  7136 echo "${ECHO_T}no" >&6; }
       
  7137 fi
       
  7138 
       
  7139 if test -z "$lt_cv_path_MAGIC_CMD"; then
       
  7140   if test -n "$ac_tool_prefix"; then
       
  7141     { echo "$as_me:$LINENO: checking for file" >&5
       
  7142 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
       
  7143 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
       
  7144   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7145 else
       
  7146   case $MAGIC_CMD in
       
  7147 [\\/*] |  ?:[\\/]*)
       
  7148   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
       
  7149   ;;
       
  7150 *)
       
  7151   lt_save_MAGIC_CMD="$MAGIC_CMD"
       
  7152   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  7153   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
       
  7154   for ac_dir in $ac_dummy; do
       
  7155     IFS="$lt_save_ifs"
       
  7156     test -z "$ac_dir" && ac_dir=.
       
  7157     if test -f $ac_dir/file; then
       
  7158       lt_cv_path_MAGIC_CMD="$ac_dir/file"
       
  7159       if test -n "$file_magic_test_file"; then
       
  7160 	case $deplibs_check_method in
       
  7161 	"file_magic "*)
       
  7162 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
       
  7163 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7164 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
       
  7165 	    $EGREP "$file_magic_regex" > /dev/null; then
       
  7166 	    :
       
  7167 	  else
       
  7168 	    cat <<EOF 1>&2
       
  7169 
       
  7170 *** Warning: the command libtool uses to detect shared libraries,
       
  7171 *** $file_magic_cmd, produces output that libtool cannot recognize.
       
  7172 *** The result is that libtool may fail to recognize shared libraries
       
  7173 *** as such.  This will affect the creation of libtool libraries that
       
  7174 *** depend on shared libraries, but programs linked with such libtool
       
  7175 *** libraries will work regardless of this problem.  Nevertheless, you
       
  7176 *** may want to report the problem to your system manager and/or to
       
  7177 *** bug-libtool@gnu.org
       
  7178 
       
  7179 EOF
       
  7180 	  fi ;;
       
  7181 	esac
       
  7182       fi
       
  7183       break
       
  7184     fi
       
  7185   done
       
  7186   IFS="$lt_save_ifs"
       
  7187   MAGIC_CMD="$lt_save_MAGIC_CMD"
       
  7188   ;;
       
  7189 esac
       
  7190 fi
       
  7191 
       
  7192 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7193 if test -n "$MAGIC_CMD"; then
       
  7194   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
       
  7195 echo "${ECHO_T}$MAGIC_CMD" >&6; }
       
  7196 else
       
  7197   { echo "$as_me:$LINENO: result: no" >&5
       
  7198 echo "${ECHO_T}no" >&6; }
       
  7199 fi
       
  7200 
       
  7201   else
       
  7202     MAGIC_CMD=:
       
  7203   fi
       
  7204 fi
       
  7205 
       
  7206   fi
       
  7207   ;;
       
  7208 esac
       
  7209 
       
  7210 enable_dlopen=no
       
  7211 enable_win32_dll=no
       
  7212 
       
  7213 # Check whether --enable-libtool-lock was given.
       
  7214 if test "${enable_libtool_lock+set}" = set; then
       
  7215   enableval=$enable_libtool_lock;
       
  7216 fi
       
  7217 
       
  7218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
       
  7219 
       
  7220 
       
  7221 # Check whether --with-pic was given.
       
  7222 if test "${with_pic+set}" = set; then
       
  7223   withval=$with_pic; pic_mode="$withval"
       
  7224 else
       
  7225   pic_mode=default
       
  7226 fi
       
  7227 
       
  7228 test -z "$pic_mode" && pic_mode=default
       
  7229 
       
  7230 # Use C for the default configuration in the libtool script
       
  7231 tagname=
       
  7232 lt_save_CC="$CC"
       
  7233 ac_ext=c
       
  7234 ac_cpp='$CPP $CPPFLAGS'
       
  7235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  7236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  7237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  7238 
       
  7239 
       
  7240 # Source file extension for C test sources.
       
  7241 ac_ext=c
       
  7242 
       
  7243 # Object file extension for compiled C test sources.
       
  7244 objext=o
       
  7245 objext=$objext
       
  7246 
       
  7247 # Code to be used in simple compile tests
       
  7248 lt_simple_compile_test_code="int some_variable = 0;\n"
       
  7249 
       
  7250 # Code to be used in simple link tests
       
  7251 lt_simple_link_test_code='int main(){return(0);}\n'
       
  7252 
       
  7253 
       
  7254 # If no C compiler was specified, use CC.
       
  7255 LTCC=${LTCC-"$CC"}
       
  7256 
       
  7257 # If no C compiler flags were specified, use CFLAGS.
       
  7258 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
  7259 
       
  7260 # Allow CC to be a program name with arguments.
       
  7261 compiler=$CC
       
  7262 
       
  7263 
       
  7264 # save warnings/boilerplate of simple test code
       
  7265 ac_outfile=conftest.$ac_objext
       
  7266 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
  7267 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
  7268 _lt_compiler_boilerplate=`cat conftest.err`
       
  7269 $rm conftest*
       
  7270 
       
  7271 ac_outfile=conftest.$ac_objext
       
  7272 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
  7273 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
  7274 _lt_linker_boilerplate=`cat conftest.err`
       
  7275 $rm conftest*
       
  7276 
       
  7277 
       
  7278 
       
  7279 lt_prog_compiler_no_builtin_flag=
       
  7280 
       
  7281 if test "$GCC" = yes; then
       
  7282   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
       
  7283 
       
  7284 
       
  7285 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
       
  7286 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
       
  7287 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
       
  7288   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7289 else
       
  7290   lt_cv_prog_compiler_rtti_exceptions=no
       
  7291   ac_outfile=conftest.$ac_objext
       
  7292    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7293    lt_compiler_flag="-fno-rtti -fno-exceptions"
       
  7294    # Insert the option either (1) after the last *FLAGS variable, or
       
  7295    # (2) before a word containing "conftest.", or (3) at the end.
       
  7296    # Note that $ac_compile itself does not contain backslashes and begins
       
  7297    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7298    # The option is referenced via a variable to avoid confusing sed.
       
  7299    lt_compile=`echo "$ac_compile" | $SED \
       
  7300    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7301    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7302    -e 's:$: $lt_compiler_flag:'`
       
  7303    (eval echo "\"\$as_me:7303: $lt_compile\"" >&5)
       
  7304    (eval "$lt_compile" 2>conftest.err)
       
  7305    ac_status=$?
       
  7306    cat conftest.err >&5
       
  7307    echo "$as_me:7307: \$? = $ac_status" >&5
       
  7308    if (exit $ac_status) && test -s "$ac_outfile"; then
       
  7309      # The compiler can only warn and ignore the option if not recognized
       
  7310      # So say no if there are warnings other than the usual output.
       
  7311      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
  7312      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7313      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
  7314        lt_cv_prog_compiler_rtti_exceptions=yes
       
  7315      fi
       
  7316    fi
       
  7317    $rm conftest*
       
  7318 
       
  7319 fi
       
  7320 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
       
  7321 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
       
  7322 
       
  7323 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       
  7324     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
       
  7325 else
       
  7326     :
       
  7327 fi
       
  7328 
       
  7329 fi
       
  7330 
       
  7331 lt_prog_compiler_wl=
       
  7332 lt_prog_compiler_pic=
       
  7333 lt_prog_compiler_static=
       
  7334 
       
  7335 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
  7336 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
  7337 
       
  7338   if test "$GCC" = yes; then
       
  7339     lt_prog_compiler_wl='-Wl,'
       
  7340     lt_prog_compiler_static='-static'
       
  7341 
       
  7342     case $host_os in
       
  7343       aix*)
       
  7344       # All AIX code is PIC.
       
  7345       if test "$host_cpu" = ia64; then
       
  7346 	# AIX 5 now supports IA64 processor
       
  7347 	lt_prog_compiler_static='-Bstatic'
       
  7348       fi
       
  7349       ;;
       
  7350 
       
  7351     amigaos*)
       
  7352       # FIXME: we need at least 68020 code to build shared libraries, but
       
  7353       # adding the `-m68020' flag to GCC prevents building anything better,
       
  7354       # like `-m68040'.
       
  7355       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
       
  7356       ;;
       
  7357 
       
  7358     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
  7359       # PIC is the default for these OSes.
       
  7360       ;;
       
  7361 
       
  7362     mingw* | pw32* | os2*)
       
  7363       # This hack is so that the source file can tell whether it is being
       
  7364       # built for inclusion in a dll (and should export symbols for example).
       
  7365       lt_prog_compiler_pic='-DDLL_EXPORT'
       
  7366       ;;
       
  7367 
       
  7368     darwin* | rhapsody*)
       
  7369       # PIC is the default on this platform
       
  7370       # Common symbols not allowed in MH_DYLIB files
       
  7371       lt_prog_compiler_pic='-fno-common'
       
  7372       ;;
       
  7373 
       
  7374     interix3*)
       
  7375       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
  7376       # Instead, we relocate shared libraries at runtime.
       
  7377       ;;
       
  7378 
       
  7379     msdosdjgpp*)
       
  7380       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
  7381       # on systems that don't support them.
       
  7382       lt_prog_compiler_can_build_shared=no
       
  7383       enable_shared=no
       
  7384       ;;
       
  7385 
       
  7386     sysv4*MP*)
       
  7387       if test -d /usr/nec; then
       
  7388 	lt_prog_compiler_pic=-Kconform_pic
       
  7389       fi
       
  7390       ;;
       
  7391 
       
  7392     hpux*)
       
  7393       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
  7394       # not for PA HP-UX.
       
  7395       case $host_cpu in
       
  7396       hppa*64*|ia64*)
       
  7397 	# +Z the default
       
  7398 	;;
       
  7399       *)
       
  7400 	lt_prog_compiler_pic='-fPIC'
       
  7401 	;;
       
  7402       esac
       
  7403       ;;
       
  7404 
       
  7405     *)
       
  7406       lt_prog_compiler_pic='-fPIC'
       
  7407       ;;
       
  7408     esac
       
  7409   else
       
  7410     # PORTME Check for flag to pass linker flags through the system compiler.
       
  7411     case $host_os in
       
  7412     aix*)
       
  7413       lt_prog_compiler_wl='-Wl,'
       
  7414       if test "$host_cpu" = ia64; then
       
  7415 	# AIX 5 now supports IA64 processor
       
  7416 	lt_prog_compiler_static='-Bstatic'
       
  7417       else
       
  7418 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
       
  7419       fi
       
  7420       ;;
       
  7421       darwin*)
       
  7422         # PIC is the default on this platform
       
  7423         # Common symbols not allowed in MH_DYLIB files
       
  7424        case $cc_basename in
       
  7425          xlc*)
       
  7426          lt_prog_compiler_pic='-qnocommon'
       
  7427          lt_prog_compiler_wl='-Wl,'
       
  7428          ;;
       
  7429        esac
       
  7430        ;;
       
  7431 
       
  7432     mingw* | pw32* | os2*)
       
  7433       # This hack is so that the source file can tell whether it is being
       
  7434       # built for inclusion in a dll (and should export symbols for example).
       
  7435       lt_prog_compiler_pic='-DDLL_EXPORT'
       
  7436       ;;
       
  7437 
       
  7438     hpux9* | hpux10* | hpux11*)
       
  7439       lt_prog_compiler_wl='-Wl,'
       
  7440       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
  7441       # not for PA HP-UX.
       
  7442       case $host_cpu in
       
  7443       hppa*64*|ia64*)
       
  7444 	# +Z the default
       
  7445 	;;
       
  7446       *)
       
  7447 	lt_prog_compiler_pic='+Z'
       
  7448 	;;
       
  7449       esac
       
  7450       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
  7451       lt_prog_compiler_static='${wl}-a ${wl}archive'
       
  7452       ;;
       
  7453 
       
  7454     irix5* | irix6* | nonstopux*)
       
  7455       lt_prog_compiler_wl='-Wl,'
       
  7456       # PIC (with -KPIC) is the default.
       
  7457       lt_prog_compiler_static='-non_shared'
       
  7458       ;;
       
  7459 
       
  7460     newsos6)
       
  7461       lt_prog_compiler_pic='-KPIC'
       
  7462       lt_prog_compiler_static='-Bstatic'
       
  7463       ;;
       
  7464 
       
  7465     linux*)
       
  7466       case $cc_basename in
       
  7467       icc* | ecc*)
       
  7468 	lt_prog_compiler_wl='-Wl,'
       
  7469 	lt_prog_compiler_pic='-KPIC'
       
  7470 	lt_prog_compiler_static='-static'
       
  7471         ;;
       
  7472       pgcc* | pgf77* | pgf90* | pgf95*)
       
  7473         # Portland Group compilers (*not* the Pentium gcc compiler,
       
  7474 	# which looks to be a dead project)
       
  7475 	lt_prog_compiler_wl='-Wl,'
       
  7476 	lt_prog_compiler_pic='-fpic'
       
  7477 	lt_prog_compiler_static='-Bstatic'
       
  7478         ;;
       
  7479       ccc*)
       
  7480         lt_prog_compiler_wl='-Wl,'
       
  7481         # All Alpha code is PIC.
       
  7482         lt_prog_compiler_static='-non_shared'
       
  7483         ;;
       
  7484       esac
       
  7485       ;;
       
  7486 
       
  7487     osf3* | osf4* | osf5*)
       
  7488       lt_prog_compiler_wl='-Wl,'
       
  7489       # All OSF/1 code is PIC.
       
  7490       lt_prog_compiler_static='-non_shared'
       
  7491       ;;
       
  7492 
       
  7493     solaris*)
       
  7494       lt_prog_compiler_pic='-KPIC'
       
  7495       lt_prog_compiler_static='-Bstatic'
       
  7496       case $cc_basename in
       
  7497       f77* | f90* | f95*)
       
  7498 	lt_prog_compiler_wl='-Qoption ld ';;
       
  7499       *)
       
  7500 	lt_prog_compiler_wl='-Wl,';;
       
  7501       esac
       
  7502       ;;
       
  7503 
       
  7504     sunos4*)
       
  7505       lt_prog_compiler_wl='-Qoption ld '
       
  7506       lt_prog_compiler_pic='-PIC'
       
  7507       lt_prog_compiler_static='-Bstatic'
       
  7508       ;;
       
  7509 
       
  7510     sysv4 | sysv4.2uw2* | sysv4.3*)
       
  7511       lt_prog_compiler_wl='-Wl,'
       
  7512       lt_prog_compiler_pic='-KPIC'
       
  7513       lt_prog_compiler_static='-Bstatic'
       
  7514       ;;
       
  7515 
       
  7516     sysv4*MP*)
       
  7517       if test -d /usr/nec ;then
       
  7518 	lt_prog_compiler_pic='-Kconform_pic'
       
  7519 	lt_prog_compiler_static='-Bstatic'
       
  7520       fi
       
  7521       ;;
       
  7522 
       
  7523     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
  7524       lt_prog_compiler_wl='-Wl,'
       
  7525       lt_prog_compiler_pic='-KPIC'
       
  7526       lt_prog_compiler_static='-Bstatic'
       
  7527       ;;
       
  7528 
       
  7529     unicos*)
       
  7530       lt_prog_compiler_wl='-Wl,'
       
  7531       lt_prog_compiler_can_build_shared=no
       
  7532       ;;
       
  7533 
       
  7534     uts4*)
       
  7535       lt_prog_compiler_pic='-pic'
       
  7536       lt_prog_compiler_static='-Bstatic'
       
  7537       ;;
       
  7538 
       
  7539     *)
       
  7540       lt_prog_compiler_can_build_shared=no
       
  7541       ;;
       
  7542     esac
       
  7543   fi
       
  7544 
       
  7545 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
       
  7546 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
       
  7547 
       
  7548 #
       
  7549 # Check to make sure the PIC flag actually works.
       
  7550 #
       
  7551 if test -n "$lt_prog_compiler_pic"; then
       
  7552 
       
  7553 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
       
  7554 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
       
  7555 if test "${lt_prog_compiler_pic_works+set}" = set; then
       
  7556   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7557 else
       
  7558   lt_prog_compiler_pic_works=no
       
  7559   ac_outfile=conftest.$ac_objext
       
  7560    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7561    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
       
  7562    # Insert the option either (1) after the last *FLAGS variable, or
       
  7563    # (2) before a word containing "conftest.", or (3) at the end.
       
  7564    # Note that $ac_compile itself does not contain backslashes and begins
       
  7565    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7566    # The option is referenced via a variable to avoid confusing sed.
       
  7567    lt_compile=`echo "$ac_compile" | $SED \
       
  7568    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7569    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7570    -e 's:$: $lt_compiler_flag:'`
       
  7571    (eval echo "\"\$as_me:7571: $lt_compile\"" >&5)
       
  7572    (eval "$lt_compile" 2>conftest.err)
       
  7573    ac_status=$?
       
  7574    cat conftest.err >&5
       
  7575    echo "$as_me:7575: \$? = $ac_status" >&5
       
  7576    if (exit $ac_status) && test -s "$ac_outfile"; then
       
  7577      # The compiler can only warn and ignore the option if not recognized
       
  7578      # So say no if there are warnings other than the usual output.
       
  7579      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
  7580      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7581      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
  7582        lt_prog_compiler_pic_works=yes
       
  7583      fi
       
  7584    fi
       
  7585    $rm conftest*
       
  7586 
       
  7587 fi
       
  7588 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
       
  7589 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
       
  7590 
       
  7591 if test x"$lt_prog_compiler_pic_works" = xyes; then
       
  7592     case $lt_prog_compiler_pic in
       
  7593      "" | " "*) ;;
       
  7594      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
       
  7595      esac
       
  7596 else
       
  7597     lt_prog_compiler_pic=
       
  7598      lt_prog_compiler_can_build_shared=no
       
  7599 fi
       
  7600 
       
  7601 fi
       
  7602 case $host_os in
       
  7603   # For platforms which do not support PIC, -DPIC is meaningless:
       
  7604   *djgpp*)
       
  7605     lt_prog_compiler_pic=
       
  7606     ;;
       
  7607   *)
       
  7608     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
       
  7609     ;;
       
  7610 esac
       
  7611 
       
  7612 #
       
  7613 # Check to make sure the static flag actually works.
       
  7614 #
       
  7615 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
       
  7616 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
  7617 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
  7618 if test "${lt_prog_compiler_static_works+set}" = set; then
       
  7619   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7620 else
       
  7621   lt_prog_compiler_static_works=no
       
  7622    save_LDFLAGS="$LDFLAGS"
       
  7623    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
  7624    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
  7625    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
  7626      # The linker can only warn and ignore the option if not recognized
       
  7627      # So say no if there are warnings
       
  7628      if test -s conftest.err; then
       
  7629        # Append any errors to the config.log.
       
  7630        cat conftest.err 1>&5
       
  7631        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
  7632        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7633        if diff conftest.exp conftest.er2 >/dev/null; then
       
  7634          lt_prog_compiler_static_works=yes
       
  7635        fi
       
  7636      else
       
  7637        lt_prog_compiler_static_works=yes
       
  7638      fi
       
  7639    fi
       
  7640    $rm conftest*
       
  7641    LDFLAGS="$save_LDFLAGS"
       
  7642 
       
  7643 fi
       
  7644 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
       
  7645 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
       
  7646 
       
  7647 if test x"$lt_prog_compiler_static_works" = xyes; then
       
  7648     :
       
  7649 else
       
  7650     lt_prog_compiler_static=
       
  7651 fi
       
  7652 
       
  7653 
       
  7654 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
  7655 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
  7656 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
       
  7657   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7658 else
       
  7659   lt_cv_prog_compiler_c_o=no
       
  7660    $rm -r conftest 2>/dev/null
       
  7661    mkdir conftest
       
  7662    cd conftest
       
  7663    mkdir out
       
  7664    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7665 
       
  7666    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
  7667    # Insert the option either (1) after the last *FLAGS variable, or
       
  7668    # (2) before a word containing "conftest.", or (3) at the end.
       
  7669    # Note that $ac_compile itself does not contain backslashes and begins
       
  7670    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7671    lt_compile=`echo "$ac_compile" | $SED \
       
  7672    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7673    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7674    -e 's:$: $lt_compiler_flag:'`
       
  7675    (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
       
  7676    (eval "$lt_compile" 2>out/conftest.err)
       
  7677    ac_status=$?
       
  7678    cat out/conftest.err >&5
       
  7679    echo "$as_me:7679: \$? = $ac_status" >&5
       
  7680    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
  7681    then
       
  7682      # The compiler can only warn and ignore the option if not recognized
       
  7683      # So say no if there are warnings
       
  7684      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
  7685      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
  7686      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
  7687        lt_cv_prog_compiler_c_o=yes
       
  7688      fi
       
  7689    fi
       
  7690    chmod u+w . 2>&5
       
  7691    $rm conftest*
       
  7692    # SGI C++ compiler will create directory out/ii_files/ for
       
  7693    # template instantiation
       
  7694    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
  7695    $rm out/* && rmdir out
       
  7696    cd ..
       
  7697    rmdir conftest
       
  7698    $rm conftest*
       
  7699 
       
  7700 fi
       
  7701 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
       
  7702 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
       
  7703 
       
  7704 
       
  7705 hard_links="nottested"
       
  7706 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
       
  7707   # do not overwrite the value of need_locks provided by the user
       
  7708   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
  7709 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
  7710   hard_links=yes
       
  7711   $rm conftest*
       
  7712   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
  7713   touch conftest.a
       
  7714   ln conftest.a conftest.b 2>&5 || hard_links=no
       
  7715   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
  7716   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
  7717 echo "${ECHO_T}$hard_links" >&6; }
       
  7718   if test "$hard_links" = no; then
       
  7719     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
  7720 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
  7721     need_locks=warn
       
  7722   fi
       
  7723 else
       
  7724   need_locks=no
       
  7725 fi
       
  7726 
       
  7727 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
  7728 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
  7729 
       
  7730   runpath_var=
       
  7731   allow_undefined_flag=
       
  7732   enable_shared_with_static_runtimes=no
       
  7733   archive_cmds=
       
  7734   archive_expsym_cmds=
       
  7735   old_archive_From_new_cmds=
       
  7736   old_archive_from_expsyms_cmds=
       
  7737   export_dynamic_flag_spec=
       
  7738   whole_archive_flag_spec=
       
  7739   thread_safe_flag_spec=
       
  7740   hardcode_libdir_flag_spec=
       
  7741   hardcode_libdir_flag_spec_ld=
       
  7742   hardcode_libdir_separator=
       
  7743   hardcode_direct=no
       
  7744   hardcode_minus_L=no
       
  7745   hardcode_shlibpath_var=unsupported
       
  7746   link_all_deplibs=unknown
       
  7747   hardcode_automatic=no
       
  7748   module_cmds=
       
  7749   module_expsym_cmds=
       
  7750   always_export_symbols=no
       
  7751   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
  7752   # include_expsyms should be a list of space-separated symbols to be *always*
       
  7753   # included in the symbol list
       
  7754   include_expsyms=
       
  7755   # exclude_expsyms can be an extended regexp of symbols to exclude
       
  7756   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
  7757   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
  7758   # as well as any symbol that contains `d'.
       
  7759   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
       
  7760   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
  7761   # platforms (ab)use it in PIC code, but their linkers get confused if
       
  7762   # the symbol is explicitly referenced.  Since portable code cannot
       
  7763   # rely on this symbol name, it's probably fine to never include it in
       
  7764   # preloaded symbol tables.
       
  7765   extract_expsyms_cmds=
       
  7766   # Just being paranoid about ensuring that cc_basename is set.
       
  7767   for cc_temp in $compiler""; do
       
  7768   case $cc_temp in
       
  7769     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
  7770     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
  7771     \-*) ;;
       
  7772     *) break;;
       
  7773   esac
       
  7774 done
       
  7775 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
  7776 
       
  7777   case $host_os in
       
  7778   cygwin* | mingw* | pw32*)
       
  7779     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
  7780     # When not using gcc, we currently assume that we are using
       
  7781     # Microsoft Visual C++.
       
  7782     if test "$GCC" != yes; then
       
  7783       with_gnu_ld=no
       
  7784     fi
       
  7785     ;;
       
  7786   interix*)
       
  7787     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
  7788     with_gnu_ld=yes
       
  7789     ;;
       
  7790   openbsd*)
       
  7791     with_gnu_ld=no
       
  7792     ;;
       
  7793   esac
       
  7794 
       
  7795   ld_shlibs=yes
       
  7796   if test "$with_gnu_ld" = yes; then
       
  7797     # If archive_cmds runs LD, not CC, wlarc should be empty
       
  7798     wlarc='${wl}'
       
  7799 
       
  7800     # Set some defaults for GNU ld with shared library support. These
       
  7801     # are reset later if shared libraries are not supported. Putting them
       
  7802     # here allows them to be overridden if necessary.
       
  7803     runpath_var=LD_RUN_PATH
       
  7804     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
       
  7805     export_dynamic_flag_spec='${wl}--export-dynamic'
       
  7806     # ancient GNU ld didn't support --whole-archive et. al.
       
  7807     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
  7808 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
  7809       else
       
  7810   	whole_archive_flag_spec=
       
  7811     fi
       
  7812     supports_anon_versioning=no
       
  7813     case `$LD -v 2>/dev/null` in
       
  7814       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
  7815       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
  7816       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
  7817       *\ 2.11.*) ;; # other 2.11 versions
       
  7818       *) supports_anon_versioning=yes ;;
       
  7819     esac
       
  7820 
       
  7821     # See if GNU ld supports shared libraries.
       
  7822     case $host_os in
       
  7823     aix3* | aix4* | aix5*)
       
  7824       # On AIX/PPC, the GNU linker is very broken
       
  7825       if test "$host_cpu" != ia64; then
       
  7826 	ld_shlibs=no
       
  7827 	cat <<EOF 1>&2
       
  7828 
       
  7829 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
  7830 *** to be unable to reliably create shared libraries on AIX.
       
  7831 *** Therefore, libtool is disabling shared libraries support.  If you
       
  7832 *** really care for shared libraries, you may want to modify your PATH
       
  7833 *** so that a non-GNU linker is found, and then restart.
       
  7834 
       
  7835 EOF
       
  7836       fi
       
  7837       ;;
       
  7838 
       
  7839     amigaos*)
       
  7840       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)'
       
  7841       hardcode_libdir_flag_spec='-L$libdir'
       
  7842       hardcode_minus_L=yes
       
  7843 
       
  7844       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
  7845       # that the semantics of dynamic libraries on AmigaOS, at least up
       
  7846       # to version 4, is to share data among multiple programs linked
       
  7847       # with the same dynamic library.  Since this doesn't match the
       
  7848       # behavior of shared libraries on other platforms, we can't use
       
  7849       # them.
       
  7850       ld_shlibs=no
       
  7851       ;;
       
  7852 
       
  7853     beos*)
       
  7854       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  7855 	allow_undefined_flag=unsupported
       
  7856 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
  7857 	# support --undefined.  This deserves some investigation.  FIXME
       
  7858 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  7859       else
       
  7860 	ld_shlibs=no
       
  7861       fi
       
  7862       ;;
       
  7863 
       
  7864     cygwin* | mingw* | pw32*)
       
  7865       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
       
  7866       # as there is no search path for DLLs.
       
  7867       hardcode_libdir_flag_spec='-L$libdir'
       
  7868       allow_undefined_flag=unsupported
       
  7869       always_export_symbols=no
       
  7870       enable_shared_with_static_runtimes=yes
       
  7871       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
  7872 
       
  7873       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
  7874         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
  7875 	# If the export-symbols file already is a .def file (1st line
       
  7876 	# is EXPORTS), use it as is; otherwise, prepend...
       
  7877 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
  7878 	  cp $export_symbols $output_objdir/$soname.def;
       
  7879 	else
       
  7880 	  echo EXPORTS > $output_objdir/$soname.def;
       
  7881 	  cat $export_symbols >> $output_objdir/$soname.def;
       
  7882 	fi~
       
  7883 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
  7884       else
       
  7885 	ld_shlibs=no
       
  7886       fi
       
  7887       ;;
       
  7888 
       
  7889     interix3*)
       
  7890       hardcode_direct=no
       
  7891       hardcode_shlibpath_var=no
       
  7892       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  7893       export_dynamic_flag_spec='${wl}-E'
       
  7894       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
  7895       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
  7896       # default) and relocated if they conflict, which is a slow very memory
       
  7897       # consuming and fragmenting process.  To avoid this, we pick a random,
       
  7898       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
  7899       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
  7900       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       
  7901       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'
       
  7902       ;;
       
  7903 
       
  7904     linux*)
       
  7905       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  7906 	tmp_addflag=
       
  7907 	case $cc_basename,$host_cpu in
       
  7908 	pgcc*)				# Portland Group C compiler
       
  7909 	  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'
       
  7910 	  tmp_addflag=' $pic_flag'
       
  7911 	  ;;
       
  7912 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
  7913 	  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'
       
  7914 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
  7915 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
  7916 	  tmp_addflag=' -i_dynamic' ;;
       
  7917 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
  7918 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
  7919 	ifc* | ifort*)			# Intel Fortran compiler
       
  7920 	  tmp_addflag=' -nofor_main' ;;
       
  7921 	esac
       
  7922 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  7923 
       
  7924 	if test $supports_anon_versioning = yes; then
       
  7925 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
  7926   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
  7927   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
  7928 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
  7929 	fi
       
  7930       else
       
  7931 	ld_shlibs=no
       
  7932       fi
       
  7933       ;;
       
  7934 
       
  7935     netbsd*)
       
  7936       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  7937 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
  7938 	wlarc=
       
  7939       else
       
  7940 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  7941 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  7942       fi
       
  7943       ;;
       
  7944 
       
  7945     solaris*)
       
  7946       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
  7947 	ld_shlibs=no
       
  7948 	cat <<EOF 1>&2
       
  7949 
       
  7950 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
  7951 *** create shared libraries on Solaris systems.  Therefore, libtool
       
  7952 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
  7953 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
  7954 *** your PATH or compiler configuration so that the native linker is
       
  7955 *** used, and then restart.
       
  7956 
       
  7957 EOF
       
  7958       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  7959 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  7960 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  7961       else
       
  7962 	ld_shlibs=no
       
  7963       fi
       
  7964       ;;
       
  7965 
       
  7966     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
  7967       case `$LD -v 2>&1` in
       
  7968         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
  7969 	ld_shlibs=no
       
  7970 	cat <<_LT_EOF 1>&2
       
  7971 
       
  7972 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
  7973 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
  7974 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
  7975 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
  7976 *** your PATH or compiler configuration so that the native linker is
       
  7977 *** used, and then restart.
       
  7978 
       
  7979 _LT_EOF
       
  7980 	;;
       
  7981 	*)
       
  7982 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  7983 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
  7984 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
  7985 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
  7986 	  else
       
  7987 	    ld_shlibs=no
       
  7988 	  fi
       
  7989 	;;
       
  7990       esac
       
  7991       ;;
       
  7992 
       
  7993     sunos4*)
       
  7994       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  7995       wlarc=
       
  7996       hardcode_direct=yes
       
  7997       hardcode_shlibpath_var=no
       
  7998       ;;
       
  7999 
       
  8000     *)
       
  8001       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8002 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8003 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  8004       else
       
  8005 	ld_shlibs=no
       
  8006       fi
       
  8007       ;;
       
  8008     esac
       
  8009 
       
  8010     if test "$ld_shlibs" = no; then
       
  8011       runpath_var=
       
  8012       hardcode_libdir_flag_spec=
       
  8013       export_dynamic_flag_spec=
       
  8014       whole_archive_flag_spec=
       
  8015     fi
       
  8016   else
       
  8017     # PORTME fill in a description of your system's linker (not GNU ld)
       
  8018     case $host_os in
       
  8019     aix3*)
       
  8020       allow_undefined_flag=unsupported
       
  8021       always_export_symbols=yes
       
  8022       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'
       
  8023       # Note: this linker hardcodes the directories in LIBPATH if there
       
  8024       # are no directories specified by -L.
       
  8025       hardcode_minus_L=yes
       
  8026       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
  8027 	# Neither direct hardcoding nor static linking is supported with a
       
  8028 	# broken collect2.
       
  8029 	hardcode_direct=unsupported
       
  8030       fi
       
  8031       ;;
       
  8032 
       
  8033     aix4* | aix5*)
       
  8034       if test "$host_cpu" = ia64; then
       
  8035 	# On IA64, the linker does run time linking by default, so we don't
       
  8036 	# have to do anything special.
       
  8037 	aix_use_runtimelinking=no
       
  8038 	exp_sym_flag='-Bexport'
       
  8039 	no_entry_flag=""
       
  8040       else
       
  8041 	# If we're using GNU nm, then we don't want the "-C" option.
       
  8042 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
  8043 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
  8044 	  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'
       
  8045 	else
       
  8046 	  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'
       
  8047 	fi
       
  8048 	aix_use_runtimelinking=no
       
  8049 
       
  8050 	# Test if we are trying to use run time linking or normal
       
  8051 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
  8052 	# need to do runtime linking.
       
  8053 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
  8054 	  for ld_flag in $LDFLAGS; do
       
  8055   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
  8056   	    aix_use_runtimelinking=yes
       
  8057   	    break
       
  8058   	  fi
       
  8059 	  done
       
  8060 	  ;;
       
  8061 	esac
       
  8062 
       
  8063 	exp_sym_flag='-bexport'
       
  8064 	no_entry_flag='-bnoentry'
       
  8065       fi
       
  8066 
       
  8067       # When large executables or shared objects are built, AIX ld can
       
  8068       # have problems creating the table of contents.  If linking a library
       
  8069       # or program results in "error TOC overflow" add -mminimal-toc to
       
  8070       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
  8071       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
  8072 
       
  8073       archive_cmds=''
       
  8074       hardcode_direct=yes
       
  8075       hardcode_libdir_separator=':'
       
  8076       link_all_deplibs=yes
       
  8077 
       
  8078       if test "$GCC" = yes; then
       
  8079 	case $host_os in aix4.[012]|aix4.[012].*)
       
  8080 	# We only want to do this on AIX 4.2 and lower, the check
       
  8081 	# below for broken collect2 doesn't work under 4.3+
       
  8082 	  collect2name=`${CC} -print-prog-name=collect2`
       
  8083 	  if test -f "$collect2name" && \
       
  8084   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
  8085 	  then
       
  8086   	  # We have reworked collect2
       
  8087   	  hardcode_direct=yes
       
  8088 	  else
       
  8089   	  # We have old collect2
       
  8090   	  hardcode_direct=unsupported
       
  8091   	  # It fails to find uninstalled libraries when the uninstalled
       
  8092   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
  8093   	  # to unsupported forces relinking
       
  8094   	  hardcode_minus_L=yes
       
  8095   	  hardcode_libdir_flag_spec='-L$libdir'
       
  8096   	  hardcode_libdir_separator=
       
  8097 	  fi
       
  8098 	  ;;
       
  8099 	esac
       
  8100 	shared_flag='-shared'
       
  8101 	if test "$aix_use_runtimelinking" = yes; then
       
  8102 	  shared_flag="$shared_flag "'${wl}-G'
       
  8103 	fi
       
  8104       else
       
  8105 	# not using gcc
       
  8106 	if test "$host_cpu" = ia64; then
       
  8107   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
  8108   	# chokes on -Wl,-G. The following line is correct:
       
  8109 	  shared_flag='-G'
       
  8110 	else
       
  8111 	  if test "$aix_use_runtimelinking" = yes; then
       
  8112 	    shared_flag='${wl}-G'
       
  8113 	  else
       
  8114 	    shared_flag='${wl}-bM:SRE'
       
  8115 	  fi
       
  8116 	fi
       
  8117       fi
       
  8118 
       
  8119       # It seems that -bexpall does not export symbols beginning with
       
  8120       # underscore (_), so it is better to generate a list of symbols to export.
       
  8121       always_export_symbols=yes
       
  8122       if test "$aix_use_runtimelinking" = yes; then
       
  8123 	# Warning - without using the other runtime loading flags (-brtl),
       
  8124 	# -berok will link without error, but may produce a broken library.
       
  8125 	allow_undefined_flag='-berok'
       
  8126        # Determine the default libpath from the value encoded in an empty executable.
       
  8127        cat >conftest.$ac_ext <<_ACEOF
       
  8128 /* confdefs.h.  */
       
  8129 _ACEOF
       
  8130 cat confdefs.h >>conftest.$ac_ext
       
  8131 cat >>conftest.$ac_ext <<_ACEOF
       
  8132 /* end confdefs.h.  */
       
  8133 
       
  8134 int
       
  8135 main ()
       
  8136 {
       
  8137 
       
  8138   ;
       
  8139   return 0;
       
  8140 }
       
  8141 _ACEOF
       
  8142 rm -f conftest.$ac_objext conftest$ac_exeext
       
  8143 if { (ac_try="$ac_link"
       
  8144 case "(($ac_try" in
       
  8145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8146   *) ac_try_echo=$ac_try;;
       
  8147 esac
       
  8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8149   (eval "$ac_link") 2>conftest.er1
       
  8150   ac_status=$?
       
  8151   grep -v '^ *+' conftest.er1 >conftest.err
       
  8152   rm -f conftest.er1
       
  8153   cat conftest.err >&5
       
  8154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8155   (exit $ac_status); } &&
       
  8156 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  8157   { (case "(($ac_try" in
       
  8158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8159   *) ac_try_echo=$ac_try;;
       
  8160 esac
       
  8161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8162   (eval "$ac_try") 2>&5
       
  8163   ac_status=$?
       
  8164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8165   (exit $ac_status); }; } &&
       
  8166 	 { ac_try='test -s conftest$ac_exeext'
       
  8167   { (case "(($ac_try" in
       
  8168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8169   *) ac_try_echo=$ac_try;;
       
  8170 esac
       
  8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8172   (eval "$ac_try") 2>&5
       
  8173   ac_status=$?
       
  8174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8175   (exit $ac_status); }; }; then
       
  8176 
       
  8177 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8178 }'`
       
  8179 # Check for a 64-bit object if we didn't find anything.
       
  8180 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8181 }'`; fi
       
  8182 else
       
  8183   echo "$as_me: failed program was:" >&5
       
  8184 sed 's/^/| /' conftest.$ac_ext >&5
       
  8185 
       
  8186 
       
  8187 fi
       
  8188 
       
  8189 rm -f core conftest.err conftest.$ac_objext \
       
  8190       conftest$ac_exeext conftest.$ac_ext
       
  8191 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
  8192 
       
  8193        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
       
  8194 	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"
       
  8195        else
       
  8196 	if test "$host_cpu" = ia64; then
       
  8197 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
       
  8198 	  allow_undefined_flag="-z nodefs"
       
  8199 	  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"
       
  8200 	else
       
  8201 	 # Determine the default libpath from the value encoded in an empty executable.
       
  8202 	 cat >conftest.$ac_ext <<_ACEOF
       
  8203 /* confdefs.h.  */
       
  8204 _ACEOF
       
  8205 cat confdefs.h >>conftest.$ac_ext
       
  8206 cat >>conftest.$ac_ext <<_ACEOF
       
  8207 /* end confdefs.h.  */
       
  8208 
       
  8209 int
       
  8210 main ()
       
  8211 {
       
  8212 
       
  8213   ;
       
  8214   return 0;
       
  8215 }
       
  8216 _ACEOF
       
  8217 rm -f conftest.$ac_objext conftest$ac_exeext
       
  8218 if { (ac_try="$ac_link"
       
  8219 case "(($ac_try" in
       
  8220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8221   *) ac_try_echo=$ac_try;;
       
  8222 esac
       
  8223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8224   (eval "$ac_link") 2>conftest.er1
       
  8225   ac_status=$?
       
  8226   grep -v '^ *+' conftest.er1 >conftest.err
       
  8227   rm -f conftest.er1
       
  8228   cat conftest.err >&5
       
  8229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8230   (exit $ac_status); } &&
       
  8231 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  8232   { (case "(($ac_try" in
       
  8233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8234   *) ac_try_echo=$ac_try;;
       
  8235 esac
       
  8236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8237   (eval "$ac_try") 2>&5
       
  8238   ac_status=$?
       
  8239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8240   (exit $ac_status); }; } &&
       
  8241 	 { ac_try='test -s conftest$ac_exeext'
       
  8242   { (case "(($ac_try" in
       
  8243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8244   *) ac_try_echo=$ac_try;;
       
  8245 esac
       
  8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8247   (eval "$ac_try") 2>&5
       
  8248   ac_status=$?
       
  8249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8250   (exit $ac_status); }; }; then
       
  8251 
       
  8252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8253 }'`
       
  8254 # Check for a 64-bit object if we didn't find anything.
       
  8255 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8256 }'`; fi
       
  8257 else
       
  8258   echo "$as_me: failed program was:" >&5
       
  8259 sed 's/^/| /' conftest.$ac_ext >&5
       
  8260 
       
  8261 
       
  8262 fi
       
  8263 
       
  8264 rm -f core conftest.err conftest.$ac_objext \
       
  8265       conftest$ac_exeext conftest.$ac_ext
       
  8266 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
  8267 
       
  8268 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
       
  8269 	  # Warning - without using the other run time loading flags,
       
  8270 	  # -berok will link without error, but may produce a broken library.
       
  8271 	  no_undefined_flag=' ${wl}-bernotok'
       
  8272 	  allow_undefined_flag=' ${wl}-berok'
       
  8273 	  # Exported symbols can be pulled into shared objects from archives
       
  8274 	  whole_archive_flag_spec='$convenience'
       
  8275 	  archive_cmds_need_lc=yes
       
  8276 	  # This is similar to how AIX traditionally builds its shared libraries.
       
  8277 	  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'
       
  8278 	fi
       
  8279       fi
       
  8280       ;;
       
  8281 
       
  8282     amigaos*)
       
  8283       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)'
       
  8284       hardcode_libdir_flag_spec='-L$libdir'
       
  8285       hardcode_minus_L=yes
       
  8286       # see comment about different semantics on the GNU ld section
       
  8287       ld_shlibs=no
       
  8288       ;;
       
  8289 
       
  8290     bsdi[45]*)
       
  8291       export_dynamic_flag_spec=-rdynamic
       
  8292       ;;
       
  8293 
       
  8294     cygwin* | mingw* | pw32*)
       
  8295       # When not using gcc, we currently assume that we are using
       
  8296       # Microsoft Visual C++.
       
  8297       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
  8298       # no search path for DLLs.
       
  8299       hardcode_libdir_flag_spec=' '
       
  8300       allow_undefined_flag=unsupported
       
  8301       # Tell ltmain to make .lib files, not .a files.
       
  8302       libext=lib
       
  8303       # Tell ltmain to make .dll files, not .so files.
       
  8304       shrext_cmds=".dll"
       
  8305       # FIXME: Setting linknames here is a bad hack.
       
  8306       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
  8307       # The linker will automatically build a .lib file if we build a DLL.
       
  8308       old_archive_From_new_cmds='true'
       
  8309       # FIXME: Should let the user specify the lib program.
       
  8310       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
  8311       fix_srcfile_path='`cygpath -w "$srcfile"`'
       
  8312       enable_shared_with_static_runtimes=yes
       
  8313       ;;
       
  8314 
       
  8315     darwin* | rhapsody*)
       
  8316       case $host_os in
       
  8317         rhapsody* | darwin1.[012])
       
  8318          allow_undefined_flag='${wl}-undefined ${wl}suppress'
       
  8319          ;;
       
  8320        *) # Darwin 1.3 on
       
  8321          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
  8322            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
  8323          else
       
  8324            case ${MACOSX_DEPLOYMENT_TARGET} in
       
  8325              10.[012])
       
  8326                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
  8327                ;;
       
  8328              10.*)
       
  8329                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
       
  8330                ;;
       
  8331            esac
       
  8332          fi
       
  8333          ;;
       
  8334       esac
       
  8335       archive_cmds_need_lc=no
       
  8336       hardcode_direct=no
       
  8337       hardcode_automatic=yes
       
  8338       hardcode_shlibpath_var=unsupported
       
  8339       whole_archive_flag_spec=''
       
  8340       link_all_deplibs=yes
       
  8341     if test "$GCC" = yes ; then
       
  8342     	output_verbose_link_cmd='echo'
       
  8343         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
  8344       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
  8345       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
  8346       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
  8347       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}'
       
  8348     else
       
  8349       case $cc_basename in
       
  8350         xlc*)
       
  8351          output_verbose_link_cmd='echo'
       
  8352          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
  8353          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
  8354           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
  8355          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
  8356           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}'
       
  8357           ;;
       
  8358        *)
       
  8359          ld_shlibs=no
       
  8360           ;;
       
  8361       esac
       
  8362     fi
       
  8363       ;;
       
  8364 
       
  8365     dgux*)
       
  8366       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8367       hardcode_libdir_flag_spec='-L$libdir'
       
  8368       hardcode_shlibpath_var=no
       
  8369       ;;
       
  8370 
       
  8371     freebsd1*)
       
  8372       ld_shlibs=no
       
  8373       ;;
       
  8374 
       
  8375     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
  8376     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
  8377     # does not break anything, and helps significantly (at the cost of a little
       
  8378     # extra space).
       
  8379     freebsd2.2*)
       
  8380       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
  8381       hardcode_libdir_flag_spec='-R$libdir'
       
  8382       hardcode_direct=yes
       
  8383       hardcode_shlibpath_var=no
       
  8384       ;;
       
  8385 
       
  8386     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
  8387     freebsd2*)
       
  8388       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  8389       hardcode_direct=yes
       
  8390       hardcode_minus_L=yes
       
  8391       hardcode_shlibpath_var=no
       
  8392       ;;
       
  8393 
       
  8394     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
  8395     freebsd* | kfreebsd*-gnu | dragonfly*)
       
  8396       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
  8397       hardcode_libdir_flag_spec='-R$libdir'
       
  8398       hardcode_direct=yes
       
  8399       hardcode_shlibpath_var=no
       
  8400       ;;
       
  8401 
       
  8402     hpux9*)
       
  8403       if test "$GCC" = yes; then
       
  8404 	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'
       
  8405       else
       
  8406 	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'
       
  8407       fi
       
  8408       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8409       hardcode_libdir_separator=:
       
  8410       hardcode_direct=yes
       
  8411 
       
  8412       # hardcode_minus_L: Not really in the search PATH,
       
  8413       # but as the default location of the library.
       
  8414       hardcode_minus_L=yes
       
  8415       export_dynamic_flag_spec='${wl}-E'
       
  8416       ;;
       
  8417 
       
  8418     hpux10*)
       
  8419       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
  8420 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8421       else
       
  8422 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
  8423       fi
       
  8424       if test "$with_gnu_ld" = no; then
       
  8425 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8426 	hardcode_libdir_separator=:
       
  8427 
       
  8428 	hardcode_direct=yes
       
  8429 	export_dynamic_flag_spec='${wl}-E'
       
  8430 
       
  8431 	# hardcode_minus_L: Not really in the search PATH,
       
  8432 	# but as the default location of the library.
       
  8433 	hardcode_minus_L=yes
       
  8434       fi
       
  8435       ;;
       
  8436 
       
  8437     hpux11*)
       
  8438       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
  8439 	case $host_cpu in
       
  8440 	hppa*64*)
       
  8441 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8442 	  ;;
       
  8443 	ia64*)
       
  8444 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
  8445 	  ;;
       
  8446 	*)
       
  8447 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8448 	  ;;
       
  8449 	esac
       
  8450       else
       
  8451 	case $host_cpu in
       
  8452 	hppa*64*)
       
  8453 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8454 	  ;;
       
  8455 	ia64*)
       
  8456 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
  8457 	  ;;
       
  8458 	*)
       
  8459 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8460 	  ;;
       
  8461 	esac
       
  8462       fi
       
  8463       if test "$with_gnu_ld" = no; then
       
  8464 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8465 	hardcode_libdir_separator=:
       
  8466 
       
  8467 	case $host_cpu in
       
  8468 	hppa*64*|ia64*)
       
  8469 	  hardcode_libdir_flag_spec_ld='+b $libdir'
       
  8470 	  hardcode_direct=no
       
  8471 	  hardcode_shlibpath_var=no
       
  8472 	  ;;
       
  8473 	*)
       
  8474 	  hardcode_direct=yes
       
  8475 	  export_dynamic_flag_spec='${wl}-E'
       
  8476 
       
  8477 	  # hardcode_minus_L: Not really in the search PATH,
       
  8478 	  # but as the default location of the library.
       
  8479 	  hardcode_minus_L=yes
       
  8480 	  ;;
       
  8481 	esac
       
  8482       fi
       
  8483       ;;
       
  8484 
       
  8485     irix5* | irix6* | nonstopux*)
       
  8486       if test "$GCC" = yes; then
       
  8487 	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'
       
  8488       else
       
  8489 	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'
       
  8490 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
       
  8491       fi
       
  8492       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8493       hardcode_libdir_separator=:
       
  8494       link_all_deplibs=yes
       
  8495       ;;
       
  8496 
       
  8497     netbsd*)
       
  8498       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  8499 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
  8500       else
       
  8501 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
  8502       fi
       
  8503       hardcode_libdir_flag_spec='-R$libdir'
       
  8504       hardcode_direct=yes
       
  8505       hardcode_shlibpath_var=no
       
  8506       ;;
       
  8507 
       
  8508     newsos6)
       
  8509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8510       hardcode_direct=yes
       
  8511       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8512       hardcode_libdir_separator=:
       
  8513       hardcode_shlibpath_var=no
       
  8514       ;;
       
  8515 
       
  8516     openbsd*)
       
  8517       hardcode_direct=yes
       
  8518       hardcode_shlibpath_var=no
       
  8519       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  8520 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
  8521 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
  8522 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  8523 	export_dynamic_flag_spec='${wl}-E'
       
  8524       else
       
  8525        case $host_os in
       
  8526 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
  8527 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  8528 	   hardcode_libdir_flag_spec='-R$libdir'
       
  8529 	   ;;
       
  8530 	 *)
       
  8531 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
  8532 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  8533 	   ;;
       
  8534        esac
       
  8535       fi
       
  8536       ;;
       
  8537 
       
  8538     os2*)
       
  8539       hardcode_libdir_flag_spec='-L$libdir'
       
  8540       hardcode_minus_L=yes
       
  8541       allow_undefined_flag=unsupported
       
  8542       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'
       
  8543       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
  8544       ;;
       
  8545 
       
  8546     osf3*)
       
  8547       if test "$GCC" = yes; then
       
  8548 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
       
  8549 	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'
       
  8550       else
       
  8551 	allow_undefined_flag=' -expect_unresolved \*'
       
  8552 	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'
       
  8553       fi
       
  8554       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8555       hardcode_libdir_separator=:
       
  8556       ;;
       
  8557 
       
  8558     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
  8559       if test "$GCC" = yes; then
       
  8560 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
       
  8561 	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'
       
  8562 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8563       else
       
  8564 	allow_undefined_flag=' -expect_unresolved \*'
       
  8565 	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'
       
  8566 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
       
  8567 	$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'
       
  8568 
       
  8569 	# Both c and cxx compiler support -rpath directly
       
  8570 	hardcode_libdir_flag_spec='-rpath $libdir'
       
  8571       fi
       
  8572       hardcode_libdir_separator=:
       
  8573       ;;
       
  8574 
       
  8575     solaris*)
       
  8576       no_undefined_flag=' -z text'
       
  8577       if test "$GCC" = yes; then
       
  8578 	wlarc='${wl}'
       
  8579 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8580 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
  8581 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
  8582       else
       
  8583 	wlarc=''
       
  8584 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8585 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
  8586   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
  8587       fi
       
  8588       hardcode_libdir_flag_spec='-R$libdir'
       
  8589       hardcode_shlibpath_var=no
       
  8590       case $host_os in
       
  8591       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
  8592       *)
       
  8593  	# The compiler driver will combine linker options so we
       
  8594  	# cannot just pass the convience library names through
       
  8595  	# without $wl, iff we do not link with $LD.
       
  8596  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
  8597  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
  8598  	case $wlarc in
       
  8599  	'')
       
  8600  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
       
  8601  	*)
       
  8602  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
       
  8603  	esac ;;
       
  8604       esac
       
  8605       link_all_deplibs=yes
       
  8606       ;;
       
  8607 
       
  8608     sunos4*)
       
  8609       if test "x$host_vendor" = xsequent; then
       
  8610 	# Use $CC to link under sequent, because it throws in some extra .o
       
  8611 	# files that make .init and .fini sections work.
       
  8612 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8613       else
       
  8614 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
  8615       fi
       
  8616       hardcode_libdir_flag_spec='-L$libdir'
       
  8617       hardcode_direct=yes
       
  8618       hardcode_minus_L=yes
       
  8619       hardcode_shlibpath_var=no
       
  8620       ;;
       
  8621 
       
  8622     sysv4)
       
  8623       case $host_vendor in
       
  8624 	sni)
       
  8625 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8626 	  hardcode_direct=yes # is this really true???
       
  8627 	;;
       
  8628 	siemens)
       
  8629 	  ## LD is ld it makes a PLAMLIB
       
  8630 	  ## CC just makes a GrossModule.
       
  8631 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
  8632 	  reload_cmds='$CC -r -o $output$reload_objs'
       
  8633 	  hardcode_direct=no
       
  8634         ;;
       
  8635 	motorola)
       
  8636 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8637 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
       
  8638 	;;
       
  8639       esac
       
  8640       runpath_var='LD_RUN_PATH'
       
  8641       hardcode_shlibpath_var=no
       
  8642       ;;
       
  8643 
       
  8644     sysv4.3*)
       
  8645       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8646       hardcode_shlibpath_var=no
       
  8647       export_dynamic_flag_spec='-Bexport'
       
  8648       ;;
       
  8649 
       
  8650     sysv4*MP*)
       
  8651       if test -d /usr/nec; then
       
  8652 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8653 	hardcode_shlibpath_var=no
       
  8654 	runpath_var=LD_RUN_PATH
       
  8655 	hardcode_runpath_var=yes
       
  8656 	ld_shlibs=yes
       
  8657       fi
       
  8658       ;;
       
  8659 
       
  8660     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
  8661       no_undefined_flag='${wl}-z,text'
       
  8662       archive_cmds_need_lc=no
       
  8663       hardcode_shlibpath_var=no
       
  8664       runpath_var='LD_RUN_PATH'
       
  8665 
       
  8666       if test "$GCC" = yes; then
       
  8667 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8668 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8669       else
       
  8670 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8671 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8672       fi
       
  8673       ;;
       
  8674 
       
  8675     sysv5* | sco3.2v5* | sco5v6*)
       
  8676       # Note: We can NOT use -z defs as we might desire, because we do not
       
  8677       # link with -lc, and that would cause any symbols used from libc to
       
  8678       # always be unresolved, which means just about no library would
       
  8679       # ever link correctly.  If we're not using GNU ld we use -z text
       
  8680       # though, which does catch some bad symbols but isn't as heavy-handed
       
  8681       # as -z defs.
       
  8682       no_undefined_flag='${wl}-z,text'
       
  8683       allow_undefined_flag='${wl}-z,nodefs'
       
  8684       archive_cmds_need_lc=no
       
  8685       hardcode_shlibpath_var=no
       
  8686       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
  8687       hardcode_libdir_separator=':'
       
  8688       link_all_deplibs=yes
       
  8689       export_dynamic_flag_spec='${wl}-Bexport'
       
  8690       runpath_var='LD_RUN_PATH'
       
  8691 
       
  8692       if test "$GCC" = yes; then
       
  8693 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8694 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8695       else
       
  8696 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8697 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8698       fi
       
  8699       ;;
       
  8700 
       
  8701     uts4*)
       
  8702       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8703       hardcode_libdir_flag_spec='-L$libdir'
       
  8704       hardcode_shlibpath_var=no
       
  8705       ;;
       
  8706 
       
  8707     *)
       
  8708       ld_shlibs=no
       
  8709       ;;
       
  8710     esac
       
  8711   fi
       
  8712 
       
  8713 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
       
  8714 echo "${ECHO_T}$ld_shlibs" >&6; }
       
  8715 test "$ld_shlibs" = no && can_build_shared=no
       
  8716 
       
  8717 #
       
  8718 # Do we need to explicitly link libc?
       
  8719 #
       
  8720 case "x$archive_cmds_need_lc" in
       
  8721 x|xyes)
       
  8722   # Assume -lc should be added
       
  8723   archive_cmds_need_lc=yes
       
  8724 
       
  8725   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
  8726     case $archive_cmds in
       
  8727     *'~'*)
       
  8728       # FIXME: we may have to deal with multi-command sequences.
       
  8729       ;;
       
  8730     '$CC '*)
       
  8731       # Test whether the compiler implicitly links with -lc since on some
       
  8732       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
  8733       # to ld, don't add -lc before -lgcc.
       
  8734       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
  8735 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
  8736       $rm conftest*
       
  8737       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  8738 
       
  8739       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  8740   (eval $ac_compile) 2>&5
       
  8741   ac_status=$?
       
  8742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8743   (exit $ac_status); } 2>conftest.err; then
       
  8744         soname=conftest
       
  8745         lib=conftest
       
  8746         libobjs=conftest.$ac_objext
       
  8747         deplibs=
       
  8748         wl=$lt_prog_compiler_wl
       
  8749 	pic_flag=$lt_prog_compiler_pic
       
  8750         compiler_flags=-v
       
  8751         linker_flags=-v
       
  8752         verstring=
       
  8753         output_objdir=.
       
  8754         libname=conftest
       
  8755         lt_save_allow_undefined_flag=$allow_undefined_flag
       
  8756         allow_undefined_flag=
       
  8757         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
  8758   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
  8759   ac_status=$?
       
  8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8761   (exit $ac_status); }
       
  8762         then
       
  8763 	  archive_cmds_need_lc=no
       
  8764         else
       
  8765 	  archive_cmds_need_lc=yes
       
  8766         fi
       
  8767         allow_undefined_flag=$lt_save_allow_undefined_flag
       
  8768       else
       
  8769         cat conftest.err 1>&5
       
  8770       fi
       
  8771       $rm conftest*
       
  8772       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
       
  8773 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
       
  8774       ;;
       
  8775     esac
       
  8776   fi
       
  8777   ;;
       
  8778 esac
       
  8779 
       
  8780 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
  8781 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
  8782 library_names_spec=
       
  8783 libname_spec='lib$name'
       
  8784 soname_spec=
       
  8785 shrext_cmds=".so"
       
  8786 postinstall_cmds=
       
  8787 postuninstall_cmds=
       
  8788 finish_cmds=
       
  8789 finish_eval=
       
  8790 shlibpath_var=
       
  8791 shlibpath_overrides_runpath=unknown
       
  8792 version_type=none
       
  8793 dynamic_linker="$host_os ld.so"
       
  8794 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
  8795 if test "$GCC" = yes; then
       
  8796   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
  8797   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
  8798     # if the path contains ";" then we assume it to be the separator
       
  8799     # otherwise default to the standard path separator (i.e. ":") - it is
       
  8800     # assumed that no part of a normal pathname contains ";" but that should
       
  8801     # okay in the real world where ";" in dirpaths is itself problematic.
       
  8802     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
  8803   else
       
  8804     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
  8805   fi
       
  8806 else
       
  8807   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
  8808 fi
       
  8809 need_lib_prefix=unknown
       
  8810 hardcode_into_libs=no
       
  8811 
       
  8812 # when you set need_version to no, make sure it does not cause -set_version
       
  8813 # flags to be left without arguments
       
  8814 need_version=unknown
       
  8815 
       
  8816 case $host_os in
       
  8817 aix3*)
       
  8818   version_type=linux
       
  8819   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
  8820   shlibpath_var=LIBPATH
       
  8821 
       
  8822   # AIX 3 has no versioning support, so we append a major version to the name.
       
  8823   soname_spec='${libname}${release}${shared_ext}$major'
       
  8824   ;;
       
  8825 
       
  8826 aix4* | aix5*)
       
  8827   version_type=linux
       
  8828   need_lib_prefix=no
       
  8829   need_version=no
       
  8830   hardcode_into_libs=yes
       
  8831   if test "$host_cpu" = ia64; then
       
  8832     # AIX 5 supports IA64
       
  8833     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
  8834     shlibpath_var=LD_LIBRARY_PATH
       
  8835   else
       
  8836     # With GCC up to 2.95.x, collect2 would create an import file
       
  8837     # for dependence libraries.  The import file would start with
       
  8838     # the line `#! .'.  This would cause the generated library to
       
  8839     # depend on `.', always an invalid library.  This was fixed in
       
  8840     # development snapshots of GCC prior to 3.0.
       
  8841     case $host_os in
       
  8842       aix4 | aix4.[01] | aix4.[01].*)
       
  8843       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
  8844 	   echo ' yes '
       
  8845 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
  8846 	:
       
  8847       else
       
  8848 	can_build_shared=no
       
  8849       fi
       
  8850       ;;
       
  8851     esac
       
  8852     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
  8853     # soname into executable. Probably we can add versioning support to
       
  8854     # collect2, so additional links can be useful in future.
       
  8855     if test "$aix_use_runtimelinking" = yes; then
       
  8856       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
  8857       # instead of lib<name>.a to let people know that these are not
       
  8858       # typical AIX shared libraries.
       
  8859       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  8860     else
       
  8861       # We preserve .a as extension for shared libraries through AIX4.2
       
  8862       # and later when we are not doing run time linking.
       
  8863       library_names_spec='${libname}${release}.a $libname.a'
       
  8864       soname_spec='${libname}${release}${shared_ext}$major'
       
  8865     fi
       
  8866     shlibpath_var=LIBPATH
       
  8867   fi
       
  8868   ;;
       
  8869 
       
  8870 amigaos*)
       
  8871   library_names_spec='$libname.ixlibrary $libname.a'
       
  8872   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
  8873   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'
       
  8874   ;;
       
  8875 
       
  8876 beos*)
       
  8877   library_names_spec='${libname}${shared_ext}'
       
  8878   dynamic_linker="$host_os ld.so"
       
  8879   shlibpath_var=LIBRARY_PATH
       
  8880   ;;
       
  8881 
       
  8882 bsdi[45]*)
       
  8883   version_type=linux
       
  8884   need_version=no
       
  8885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  8886   soname_spec='${libname}${release}${shared_ext}$major'
       
  8887   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
  8888   shlibpath_var=LD_LIBRARY_PATH
       
  8889   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
  8890   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
  8891   # the default ld.so.conf also contains /usr/contrib/lib and
       
  8892   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
  8893   # libtool to hard-code these into programs
       
  8894   ;;
       
  8895 
       
  8896 cygwin* | mingw* | pw32*)
       
  8897   version_type=windows
       
  8898   shrext_cmds=".dll"
       
  8899   need_version=no
       
  8900   need_lib_prefix=no
       
  8901 
       
  8902   case $GCC,$host_os in
       
  8903   yes,cygwin* | yes,mingw* | yes,pw32*)
       
  8904     library_names_spec='$libname.dll.a'
       
  8905     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
  8906     postinstall_cmds='base_file=`basename \${file}`~
       
  8907       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
  8908       dldir=$destdir/`dirname \$dlpath`~
       
  8909       test -d \$dldir || mkdir -p \$dldir~
       
  8910       $install_prog $dir/$dlname \$dldir/$dlname~
       
  8911       chmod a+x \$dldir/$dlname'
       
  8912     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
  8913       dlpath=$dir/\$dldll~
       
  8914        $rm \$dlpath'
       
  8915     shlibpath_overrides_runpath=yes
       
  8916 
       
  8917     case $host_os in
       
  8918     cygwin*)
       
  8919       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
  8920       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  8921       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
  8922       ;;
       
  8923     mingw*)
       
  8924       # MinGW DLLs use traditional 'lib' prefix
       
  8925       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  8926       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
  8927       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
  8928         # It is most probably a Windows format PATH printed by
       
  8929         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
  8930         # path with ; separators, and with drive letters. We can handle the
       
  8931         # drive letters (cygwin fileutils understands them), so leave them,
       
  8932         # especially as we might pass files found there to a mingw objdump,
       
  8933         # which wouldn't understand a cygwinified path. Ahh.
       
  8934         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
  8935       else
       
  8936         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
  8937       fi
       
  8938       ;;
       
  8939     pw32*)
       
  8940       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
  8941       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  8942       ;;
       
  8943     esac
       
  8944     ;;
       
  8945 
       
  8946   *)
       
  8947     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
  8948     ;;
       
  8949   esac
       
  8950   dynamic_linker='Win32 ld.exe'
       
  8951   # FIXME: first we should search . and the directory the executable is in
       
  8952   shlibpath_var=PATH
       
  8953   ;;
       
  8954 
       
  8955 darwin* | rhapsody*)
       
  8956   dynamic_linker="$host_os dyld"
       
  8957   version_type=darwin
       
  8958   need_lib_prefix=no
       
  8959   need_version=no
       
  8960   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
  8961   soname_spec='${libname}${release}${major}$shared_ext'
       
  8962   shlibpath_overrides_runpath=yes
       
  8963   shlibpath_var=DYLD_LIBRARY_PATH
       
  8964   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
  8965   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
  8966   if test "$GCC" = yes; then
       
  8967     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
       
  8968   else
       
  8969     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
  8970   fi
       
  8971   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
  8972   ;;
       
  8973 
       
  8974 dgux*)
       
  8975   version_type=linux
       
  8976   need_lib_prefix=no
       
  8977   need_version=no
       
  8978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
  8979   soname_spec='${libname}${release}${shared_ext}$major'
       
  8980   shlibpath_var=LD_LIBRARY_PATH
       
  8981   ;;
       
  8982 
       
  8983 freebsd1*)
       
  8984   dynamic_linker=no
       
  8985   ;;
       
  8986 
       
  8987 kfreebsd*-gnu)
       
  8988   version_type=linux
       
  8989   need_lib_prefix=no
       
  8990   need_version=no
       
  8991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  8992   soname_spec='${libname}${release}${shared_ext}$major'
       
  8993   shlibpath_var=LD_LIBRARY_PATH
       
  8994   shlibpath_overrides_runpath=no
       
  8995   hardcode_into_libs=yes
       
  8996   dynamic_linker='GNU ld.so'
       
  8997   ;;
       
  8998 
       
  8999 freebsd* | dragonfly*)
       
  9000   # DragonFly does not have aout.  When/if they implement a new
       
  9001   # versioning mechanism, adjust this.
       
  9002   if test -x /usr/bin/objformat; then
       
  9003     objformat=`/usr/bin/objformat`
       
  9004   else
       
  9005     case $host_os in
       
  9006     freebsd[123]*) objformat=aout ;;
       
  9007     *) objformat=elf ;;
       
  9008     esac
       
  9009   fi
       
  9010   version_type=freebsd-$objformat
       
  9011   case $version_type in
       
  9012     freebsd-elf*)
       
  9013       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9014       need_version=no
       
  9015       need_lib_prefix=no
       
  9016       ;;
       
  9017     freebsd-*)
       
  9018       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
  9019       need_version=yes
       
  9020       ;;
       
  9021   esac
       
  9022   shlibpath_var=LD_LIBRARY_PATH
       
  9023   case $host_os in
       
  9024   freebsd2*)
       
  9025     shlibpath_overrides_runpath=yes
       
  9026     ;;
       
  9027   freebsd3.[01]* | freebsdelf3.[01]*)
       
  9028     shlibpath_overrides_runpath=yes
       
  9029     hardcode_into_libs=yes
       
  9030     ;;
       
  9031   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
  9032   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
  9033     shlibpath_overrides_runpath=no
       
  9034     hardcode_into_libs=yes
       
  9035     ;;
       
  9036   freebsd*) # from 4.6 on
       
  9037     shlibpath_overrides_runpath=yes
       
  9038     hardcode_into_libs=yes
       
  9039     ;;
       
  9040   esac
       
  9041   ;;
       
  9042 
       
  9043 gnu*)
       
  9044   version_type=linux
       
  9045   need_lib_prefix=no
       
  9046   need_version=no
       
  9047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
  9048   soname_spec='${libname}${release}${shared_ext}$major'
       
  9049   shlibpath_var=LD_LIBRARY_PATH
       
  9050   hardcode_into_libs=yes
       
  9051   ;;
       
  9052 
       
  9053 hpux9* | hpux10* | hpux11*)
       
  9054   # Give a soname corresponding to the major version so that dld.sl refuses to
       
  9055   # link against other versions.
       
  9056   version_type=sunos
       
  9057   need_lib_prefix=no
       
  9058   need_version=no
       
  9059   case $host_cpu in
       
  9060   ia64*)
       
  9061     shrext_cmds='.so'
       
  9062     hardcode_into_libs=yes
       
  9063     dynamic_linker="$host_os dld.so"
       
  9064     shlibpath_var=LD_LIBRARY_PATH
       
  9065     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
  9066     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9067     soname_spec='${libname}${release}${shared_ext}$major'
       
  9068     if test "X$HPUX_IA64_MODE" = X32; then
       
  9069       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
  9070     else
       
  9071       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
  9072     fi
       
  9073     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
  9074     ;;
       
  9075    hppa*64*)
       
  9076      shrext_cmds='.sl'
       
  9077      hardcode_into_libs=yes
       
  9078      dynamic_linker="$host_os dld.sl"
       
  9079      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
  9080      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
  9081      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9082      soname_spec='${libname}${release}${shared_ext}$major'
       
  9083      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
  9084      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
  9085      ;;
       
  9086    *)
       
  9087     shrext_cmds='.sl'
       
  9088     dynamic_linker="$host_os dld.sl"
       
  9089     shlibpath_var=SHLIB_PATH
       
  9090     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
  9091     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9092     soname_spec='${libname}${release}${shared_ext}$major'
       
  9093     ;;
       
  9094   esac
       
  9095   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
  9096   postinstall_cmds='chmod 555 $lib'
       
  9097   ;;
       
  9098 
       
  9099 interix3*)
       
  9100   version_type=linux
       
  9101   need_lib_prefix=no
       
  9102   need_version=no
       
  9103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9104   soname_spec='${libname}${release}${shared_ext}$major'
       
  9105   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
  9106   shlibpath_var=LD_LIBRARY_PATH
       
  9107   shlibpath_overrides_runpath=no
       
  9108   hardcode_into_libs=yes
       
  9109   ;;
       
  9110 
       
  9111 irix5* | irix6* | nonstopux*)
       
  9112   case $host_os in
       
  9113     nonstopux*) version_type=nonstopux ;;
       
  9114     *)
       
  9115 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
  9116 		version_type=linux
       
  9117 	else
       
  9118 		version_type=irix
       
  9119 	fi ;;
       
  9120   esac
       
  9121   need_lib_prefix=no
       
  9122   need_version=no
       
  9123   soname_spec='${libname}${release}${shared_ext}$major'
       
  9124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9125   case $host_os in
       
  9126   irix5* | nonstopux*)
       
  9127     libsuff= shlibsuff=
       
  9128     ;;
       
  9129   *)
       
  9130     case $LD in # libtool.m4 will add one of these switches to LD
       
  9131     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
  9132       libsuff= shlibsuff= libmagic=32-bit;;
       
  9133     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
  9134       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
  9135     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
  9136       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
  9137     *) libsuff= shlibsuff= libmagic=never-match;;
       
  9138     esac
       
  9139     ;;
       
  9140   esac
       
  9141   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
  9142   shlibpath_overrides_runpath=no
       
  9143   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
  9144   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
  9145   hardcode_into_libs=yes
       
  9146   ;;
       
  9147 
       
  9148 # No shared lib support for Linux oldld, aout, or coff.
       
  9149 linux*oldld* | linux*aout* | linux*coff*)
       
  9150   dynamic_linker=no
       
  9151   ;;
       
  9152 
       
  9153 # This must be Linux ELF.
       
  9154 linux*)
       
  9155   version_type=linux
       
  9156   need_lib_prefix=no
       
  9157   need_version=no
       
  9158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9159   soname_spec='${libname}${release}${shared_ext}$major'
       
  9160   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
  9161   shlibpath_var=LD_LIBRARY_PATH
       
  9162   shlibpath_overrides_runpath=no
       
  9163   # This implies no fast_install, which is unacceptable.
       
  9164   # Some rework will be needed to allow for fast_install
       
  9165   # before this can be enabled.
       
  9166   hardcode_into_libs=yes
       
  9167 
       
  9168   # Append ld.so.conf contents to the search path
       
  9169   if test -f /etc/ld.so.conf; then
       
  9170     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
       
  9171     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
  9172   fi
       
  9173 
       
  9174   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
  9175   # powerpc, because MkLinux only supported shared libraries with the
       
  9176   # GNU dynamic linker.  Since this was broken with cross compilers,
       
  9177   # most powerpc-linux boxes support dynamic linking these days and
       
  9178   # people can always --disable-shared, the test was removed, and we
       
  9179   # assume the GNU/Linux dynamic linker is in use.
       
  9180   dynamic_linker='GNU/Linux ld.so'
       
  9181   ;;
       
  9182 
       
  9183 knetbsd*-gnu)
       
  9184   version_type=linux
       
  9185   need_lib_prefix=no
       
  9186   need_version=no
       
  9187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9188   soname_spec='${libname}${release}${shared_ext}$major'
       
  9189   shlibpath_var=LD_LIBRARY_PATH
       
  9190   shlibpath_overrides_runpath=no
       
  9191   hardcode_into_libs=yes
       
  9192   dynamic_linker='GNU ld.so'
       
  9193   ;;
       
  9194 
       
  9195 netbsd*)
       
  9196   version_type=sunos
       
  9197   need_lib_prefix=no
       
  9198   need_version=no
       
  9199   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  9200     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9201     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
  9202     dynamic_linker='NetBSD (a.out) ld.so'
       
  9203   else
       
  9204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9205     soname_spec='${libname}${release}${shared_ext}$major'
       
  9206     dynamic_linker='NetBSD ld.elf_so'
       
  9207   fi
       
  9208   shlibpath_var=LD_LIBRARY_PATH
       
  9209   shlibpath_overrides_runpath=yes
       
  9210   hardcode_into_libs=yes
       
  9211   ;;
       
  9212 
       
  9213 newsos6)
       
  9214   version_type=linux
       
  9215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9216   shlibpath_var=LD_LIBRARY_PATH
       
  9217   shlibpath_overrides_runpath=yes
       
  9218   ;;
       
  9219 
       
  9220 nto-qnx*)
       
  9221   version_type=linux
       
  9222   need_lib_prefix=no
       
  9223   need_version=no
       
  9224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9225   soname_spec='${libname}${release}${shared_ext}$major'
       
  9226   shlibpath_var=LD_LIBRARY_PATH
       
  9227   shlibpath_overrides_runpath=yes
       
  9228   ;;
       
  9229 
       
  9230 openbsd*)
       
  9231   version_type=sunos
       
  9232   sys_lib_dlsearch_path_spec="/usr/lib"
       
  9233   need_lib_prefix=no
       
  9234   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
  9235   case $host_os in
       
  9236     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
  9237     *)                         need_version=no  ;;
       
  9238   esac
       
  9239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9240   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
  9241   shlibpath_var=LD_LIBRARY_PATH
       
  9242   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  9243     case $host_os in
       
  9244       openbsd2.[89] | openbsd2.[89].*)
       
  9245 	shlibpath_overrides_runpath=no
       
  9246 	;;
       
  9247       *)
       
  9248 	shlibpath_overrides_runpath=yes
       
  9249 	;;
       
  9250       esac
       
  9251   else
       
  9252     shlibpath_overrides_runpath=yes
       
  9253   fi
       
  9254   ;;
       
  9255 
       
  9256 os2*)
       
  9257   libname_spec='$name'
       
  9258   shrext_cmds=".dll"
       
  9259   need_lib_prefix=no
       
  9260   library_names_spec='$libname${shared_ext} $libname.a'
       
  9261   dynamic_linker='OS/2 ld.exe'
       
  9262   shlibpath_var=LIBPATH
       
  9263   ;;
       
  9264 
       
  9265 osf3* | osf4* | osf5*)
       
  9266   version_type=osf
       
  9267   need_lib_prefix=no
       
  9268   need_version=no
       
  9269   soname_spec='${libname}${release}${shared_ext}$major'
       
  9270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9271   shlibpath_var=LD_LIBRARY_PATH
       
  9272   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
  9273   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
  9274   ;;
       
  9275 
       
  9276 solaris*)
       
  9277   version_type=linux
       
  9278   need_lib_prefix=no
       
  9279   need_version=no
       
  9280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9281   soname_spec='${libname}${release}${shared_ext}$major'
       
  9282   shlibpath_var=LD_LIBRARY_PATH
       
  9283   shlibpath_overrides_runpath=yes
       
  9284   hardcode_into_libs=yes
       
  9285   # ldd complains unless libraries are executable
       
  9286   postinstall_cmds='chmod +x $lib'
       
  9287   ;;
       
  9288 
       
  9289 sunos4*)
       
  9290   version_type=sunos
       
  9291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9292   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
  9293   shlibpath_var=LD_LIBRARY_PATH
       
  9294   shlibpath_overrides_runpath=yes
       
  9295   if test "$with_gnu_ld" = yes; then
       
  9296     need_lib_prefix=no
       
  9297   fi
       
  9298   need_version=yes
       
  9299   ;;
       
  9300 
       
  9301 sysv4 | sysv4.3*)
       
  9302   version_type=linux
       
  9303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9304   soname_spec='${libname}${release}${shared_ext}$major'
       
  9305   shlibpath_var=LD_LIBRARY_PATH
       
  9306   case $host_vendor in
       
  9307     sni)
       
  9308       shlibpath_overrides_runpath=no
       
  9309       need_lib_prefix=no
       
  9310       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
  9311       runpath_var=LD_RUN_PATH
       
  9312       ;;
       
  9313     siemens)
       
  9314       need_lib_prefix=no
       
  9315       ;;
       
  9316     motorola)
       
  9317       need_lib_prefix=no
       
  9318       need_version=no
       
  9319       shlibpath_overrides_runpath=no
       
  9320       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
  9321       ;;
       
  9322   esac
       
  9323   ;;
       
  9324 
       
  9325 sysv4*MP*)
       
  9326   if test -d /usr/nec ;then
       
  9327     version_type=linux
       
  9328     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
  9329     soname_spec='$libname${shared_ext}.$major'
       
  9330     shlibpath_var=LD_LIBRARY_PATH
       
  9331   fi
       
  9332   ;;
       
  9333 
       
  9334 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
  9335   version_type=freebsd-elf
       
  9336   need_lib_prefix=no
       
  9337   need_version=no
       
  9338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9339   soname_spec='${libname}${release}${shared_ext}$major'
       
  9340   shlibpath_var=LD_LIBRARY_PATH
       
  9341   hardcode_into_libs=yes
       
  9342   if test "$with_gnu_ld" = yes; then
       
  9343     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
  9344     shlibpath_overrides_runpath=no
       
  9345   else
       
  9346     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
  9347     shlibpath_overrides_runpath=yes
       
  9348     case $host_os in
       
  9349       sco3.2v5*)
       
  9350         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
  9351 	;;
       
  9352     esac
       
  9353   fi
       
  9354   sys_lib_dlsearch_path_spec='/usr/lib'
       
  9355   ;;
       
  9356 
       
  9357 uts4*)
       
  9358   version_type=linux
       
  9359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9360   soname_spec='${libname}${release}${shared_ext}$major'
       
  9361   shlibpath_var=LD_LIBRARY_PATH
       
  9362   ;;
       
  9363 
       
  9364 *)
       
  9365   dynamic_linker=no
       
  9366   ;;
       
  9367 esac
       
  9368 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
  9369 echo "${ECHO_T}$dynamic_linker" >&6; }
       
  9370 test "$dynamic_linker" = no && can_build_shared=no
       
  9371 
       
  9372 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
  9373 if test "$GCC" = yes; then
       
  9374   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
  9375 fi
       
  9376 
       
  9377 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
  9378 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
  9379 hardcode_action=
       
  9380 if test -n "$hardcode_libdir_flag_spec" || \
       
  9381    test -n "$runpath_var" || \
       
  9382    test "X$hardcode_automatic" = "Xyes" ; then
       
  9383 
       
  9384   # We can hardcode non-existant directories.
       
  9385   if test "$hardcode_direct" != no &&
       
  9386      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
  9387      # have to relink, otherwise we might link with an installed library
       
  9388      # when we should be linking with a yet-to-be-installed one
       
  9389      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
       
  9390      test "$hardcode_minus_L" != no; then
       
  9391     # Linking always hardcodes the temporary library directory.
       
  9392     hardcode_action=relink
       
  9393   else
       
  9394     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
  9395     hardcode_action=immediate
       
  9396   fi
       
  9397 else
       
  9398   # We cannot hardcode anything, or else we can only hardcode existing
       
  9399   # directories.
       
  9400   hardcode_action=unsupported
       
  9401 fi
       
  9402 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
       
  9403 echo "${ECHO_T}$hardcode_action" >&6; }
       
  9404 
       
  9405 if test "$hardcode_action" = relink; then
       
  9406   # Fast installation is not supported
       
  9407   enable_fast_install=no
       
  9408 elif test "$shlibpath_overrides_runpath" = yes ||
       
  9409      test "$enable_shared" = no; then
       
  9410   # Fast installation is not necessary
       
  9411   enable_fast_install=needless
       
  9412 fi
       
  9413 
       
  9414 striplib=
       
  9415 old_striplib=
       
  9416 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
       
  9417 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
       
  9418 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
       
  9419   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
       
  9420   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
       
  9421   { echo "$as_me:$LINENO: result: yes" >&5
       
  9422 echo "${ECHO_T}yes" >&6; }
       
  9423 else
       
  9424 # FIXME - insert some real tests, host_os isn't really good enough
       
  9425   case $host_os in
       
  9426    darwin*)
       
  9427        if test -n "$STRIP" ; then
       
  9428          striplib="$STRIP -x"
       
  9429          { echo "$as_me:$LINENO: result: yes" >&5
       
  9430 echo "${ECHO_T}yes" >&6; }
       
  9431        else
       
  9432   { echo "$as_me:$LINENO: result: no" >&5
       
  9433 echo "${ECHO_T}no" >&6; }
       
  9434 fi
       
  9435        ;;
       
  9436    *)
       
  9437   { echo "$as_me:$LINENO: result: no" >&5
       
  9438 echo "${ECHO_T}no" >&6; }
       
  9439     ;;
       
  9440   esac
       
  9441 fi
       
  9442 
       
  9443 if test "x$enable_dlopen" != xyes; then
       
  9444   enable_dlopen=unknown
       
  9445   enable_dlopen_self=unknown
       
  9446   enable_dlopen_self_static=unknown
       
  9447 else
       
  9448   lt_cv_dlopen=no
       
  9449   lt_cv_dlopen_libs=
       
  9450 
       
  9451   case $host_os in
       
  9452   beos*)
       
  9453     lt_cv_dlopen="load_add_on"
       
  9454     lt_cv_dlopen_libs=
       
  9455     lt_cv_dlopen_self=yes
       
  9456     ;;
       
  9457 
       
  9458   mingw* | pw32*)
       
  9459     lt_cv_dlopen="LoadLibrary"
       
  9460     lt_cv_dlopen_libs=
       
  9461    ;;
       
  9462 
       
  9463   cygwin*)
       
  9464     lt_cv_dlopen="dlopen"
       
  9465     lt_cv_dlopen_libs=
       
  9466    ;;
       
  9467 
       
  9468   darwin*)
       
  9469   # if libdl is installed we need to link against it
       
  9470     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
       
  9471 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
       
  9472 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
       
  9473   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9474 else
       
  9475   ac_check_lib_save_LIBS=$LIBS
       
  9476 LIBS="-ldl  $LIBS"
       
  9477 cat >conftest.$ac_ext <<_ACEOF
       
  9478 /* confdefs.h.  */
       
  9479 _ACEOF
       
  9480 cat confdefs.h >>conftest.$ac_ext
       
  9481 cat >>conftest.$ac_ext <<_ACEOF
       
  9482 /* end confdefs.h.  */
       
  9483 
       
  9484 /* Override any GCC internal prototype to avoid an error.
       
  9485    Use char because int might match the return type of a GCC
       
  9486    builtin and then its argument prototype would still apply.  */
       
  9487 #ifdef __cplusplus
       
  9488 extern "C"
       
  9489 #endif
       
  9490 char dlopen ();
       
  9491 int
       
  9492 main ()
       
  9493 {
       
  9494 return dlopen ();
       
  9495   ;
       
  9496   return 0;
       
  9497 }
       
  9498 _ACEOF
       
  9499 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9500 if { (ac_try="$ac_link"
       
  9501 case "(($ac_try" in
       
  9502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9503   *) ac_try_echo=$ac_try;;
       
  9504 esac
       
  9505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9506   (eval "$ac_link") 2>conftest.er1
       
  9507   ac_status=$?
       
  9508   grep -v '^ *+' conftest.er1 >conftest.err
       
  9509   rm -f conftest.er1
       
  9510   cat conftest.err >&5
       
  9511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9512   (exit $ac_status); } &&
       
  9513 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9514   { (case "(($ac_try" in
       
  9515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9516   *) ac_try_echo=$ac_try;;
       
  9517 esac
       
  9518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9519   (eval "$ac_try") 2>&5
       
  9520   ac_status=$?
       
  9521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9522   (exit $ac_status); }; } &&
       
  9523 	 { ac_try='test -s conftest$ac_exeext'
       
  9524   { (case "(($ac_try" in
       
  9525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9526   *) ac_try_echo=$ac_try;;
       
  9527 esac
       
  9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9529   (eval "$ac_try") 2>&5
       
  9530   ac_status=$?
       
  9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9532   (exit $ac_status); }; }; then
       
  9533   ac_cv_lib_dl_dlopen=yes
       
  9534 else
       
  9535   echo "$as_me: failed program was:" >&5
       
  9536 sed 's/^/| /' conftest.$ac_ext >&5
       
  9537 
       
  9538 	ac_cv_lib_dl_dlopen=no
       
  9539 fi
       
  9540 
       
  9541 rm -f core conftest.err conftest.$ac_objext \
       
  9542       conftest$ac_exeext conftest.$ac_ext
       
  9543 LIBS=$ac_check_lib_save_LIBS
       
  9544 fi
       
  9545 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
       
  9546 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
       
  9547 if test $ac_cv_lib_dl_dlopen = yes; then
       
  9548   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
       
  9549 else
       
  9550 
       
  9551     lt_cv_dlopen="dyld"
       
  9552     lt_cv_dlopen_libs=
       
  9553     lt_cv_dlopen_self=yes
       
  9554 
       
  9555 fi
       
  9556 
       
  9557    ;;
       
  9558 
       
  9559   *)
       
  9560     { echo "$as_me:$LINENO: checking for shl_load" >&5
       
  9561 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
       
  9562 if test "${ac_cv_func_shl_load+set}" = set; then
       
  9563   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9564 else
       
  9565   cat >conftest.$ac_ext <<_ACEOF
       
  9566 /* confdefs.h.  */
       
  9567 _ACEOF
       
  9568 cat confdefs.h >>conftest.$ac_ext
       
  9569 cat >>conftest.$ac_ext <<_ACEOF
       
  9570 /* end confdefs.h.  */
       
  9571 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
       
  9572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
  9573 #define shl_load innocuous_shl_load
       
  9574 
       
  9575 /* System header to define __stub macros and hopefully few prototypes,
       
  9576     which can conflict with char shl_load (); below.
       
  9577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  9578     <limits.h> exists even on freestanding compilers.  */
       
  9579 
       
  9580 #ifdef __STDC__
       
  9581 # include <limits.h>
       
  9582 #else
       
  9583 # include <assert.h>
       
  9584 #endif
       
  9585 
       
  9586 #undef shl_load
       
  9587 
       
  9588 /* Override any GCC internal prototype to avoid an error.
       
  9589    Use char because int might match the return type of a GCC
       
  9590    builtin and then its argument prototype would still apply.  */
       
  9591 #ifdef __cplusplus
       
  9592 extern "C"
       
  9593 #endif
       
  9594 char shl_load ();
       
  9595 /* The GNU C library defines this for functions which it implements
       
  9596     to always fail with ENOSYS.  Some functions are actually named
       
  9597     something starting with __ and the normal name is an alias.  */
       
  9598 #if defined __stub_shl_load || defined __stub___shl_load
       
  9599 choke me
       
  9600 #endif
       
  9601 
       
  9602 int
       
  9603 main ()
       
  9604 {
       
  9605 return shl_load ();
       
  9606   ;
       
  9607   return 0;
       
  9608 }
       
  9609 _ACEOF
       
  9610 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9611 if { (ac_try="$ac_link"
       
  9612 case "(($ac_try" in
       
  9613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9614   *) ac_try_echo=$ac_try;;
       
  9615 esac
       
  9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9617   (eval "$ac_link") 2>conftest.er1
       
  9618   ac_status=$?
       
  9619   grep -v '^ *+' conftest.er1 >conftest.err
       
  9620   rm -f conftest.er1
       
  9621   cat conftest.err >&5
       
  9622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9623   (exit $ac_status); } &&
       
  9624 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9625   { (case "(($ac_try" in
       
  9626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9627   *) ac_try_echo=$ac_try;;
       
  9628 esac
       
  9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9630   (eval "$ac_try") 2>&5
       
  9631   ac_status=$?
       
  9632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9633   (exit $ac_status); }; } &&
       
  9634 	 { ac_try='test -s conftest$ac_exeext'
       
  9635   { (case "(($ac_try" in
       
  9636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9637   *) ac_try_echo=$ac_try;;
       
  9638 esac
       
  9639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9640   (eval "$ac_try") 2>&5
       
  9641   ac_status=$?
       
  9642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9643   (exit $ac_status); }; }; then
       
  9644   ac_cv_func_shl_load=yes
       
  9645 else
       
  9646   echo "$as_me: failed program was:" >&5
       
  9647 sed 's/^/| /' conftest.$ac_ext >&5
       
  9648 
       
  9649 	ac_cv_func_shl_load=no
       
  9650 fi
       
  9651 
       
  9652 rm -f core conftest.err conftest.$ac_objext \
       
  9653       conftest$ac_exeext conftest.$ac_ext
       
  9654 fi
       
  9655 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
       
  9656 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
       
  9657 if test $ac_cv_func_shl_load = yes; then
       
  9658   lt_cv_dlopen="shl_load"
       
  9659 else
       
  9660   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
       
  9661 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
       
  9662 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
       
  9663   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9664 else
       
  9665   ac_check_lib_save_LIBS=$LIBS
       
  9666 LIBS="-ldld  $LIBS"
       
  9667 cat >conftest.$ac_ext <<_ACEOF
       
  9668 /* confdefs.h.  */
       
  9669 _ACEOF
       
  9670 cat confdefs.h >>conftest.$ac_ext
       
  9671 cat >>conftest.$ac_ext <<_ACEOF
       
  9672 /* end confdefs.h.  */
       
  9673 
       
  9674 /* Override any GCC internal prototype to avoid an error.
       
  9675    Use char because int might match the return type of a GCC
       
  9676    builtin and then its argument prototype would still apply.  */
       
  9677 #ifdef __cplusplus
       
  9678 extern "C"
       
  9679 #endif
       
  9680 char shl_load ();
       
  9681 int
       
  9682 main ()
       
  9683 {
       
  9684 return shl_load ();
       
  9685   ;
       
  9686   return 0;
       
  9687 }
       
  9688 _ACEOF
       
  9689 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9690 if { (ac_try="$ac_link"
       
  9691 case "(($ac_try" in
       
  9692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9693   *) ac_try_echo=$ac_try;;
       
  9694 esac
       
  9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9696   (eval "$ac_link") 2>conftest.er1
       
  9697   ac_status=$?
       
  9698   grep -v '^ *+' conftest.er1 >conftest.err
       
  9699   rm -f conftest.er1
       
  9700   cat conftest.err >&5
       
  9701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9702   (exit $ac_status); } &&
       
  9703 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9704   { (case "(($ac_try" in
       
  9705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9706   *) ac_try_echo=$ac_try;;
       
  9707 esac
       
  9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9709   (eval "$ac_try") 2>&5
       
  9710   ac_status=$?
       
  9711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9712   (exit $ac_status); }; } &&
       
  9713 	 { ac_try='test -s conftest$ac_exeext'
       
  9714   { (case "(($ac_try" in
       
  9715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9716   *) ac_try_echo=$ac_try;;
       
  9717 esac
       
  9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9719   (eval "$ac_try") 2>&5
       
  9720   ac_status=$?
       
  9721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9722   (exit $ac_status); }; }; then
       
  9723   ac_cv_lib_dld_shl_load=yes
       
  9724 else
       
  9725   echo "$as_me: failed program was:" >&5
       
  9726 sed 's/^/| /' conftest.$ac_ext >&5
       
  9727 
       
  9728 	ac_cv_lib_dld_shl_load=no
       
  9729 fi
       
  9730 
       
  9731 rm -f core conftest.err conftest.$ac_objext \
       
  9732       conftest$ac_exeext conftest.$ac_ext
       
  9733 LIBS=$ac_check_lib_save_LIBS
       
  9734 fi
       
  9735 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
       
  9736 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
       
  9737 if test $ac_cv_lib_dld_shl_load = yes; then
       
  9738   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
       
  9739 else
       
  9740   { echo "$as_me:$LINENO: checking for dlopen" >&5
       
  9741 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
       
  9742 if test "${ac_cv_func_dlopen+set}" = set; then
       
  9743   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9744 else
       
  9745   cat >conftest.$ac_ext <<_ACEOF
       
  9746 /* confdefs.h.  */
       
  9747 _ACEOF
       
  9748 cat confdefs.h >>conftest.$ac_ext
       
  9749 cat >>conftest.$ac_ext <<_ACEOF
       
  9750 /* end confdefs.h.  */
       
  9751 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
       
  9752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
  9753 #define dlopen innocuous_dlopen
       
  9754 
       
  9755 /* System header to define __stub macros and hopefully few prototypes,
       
  9756     which can conflict with char dlopen (); below.
       
  9757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  9758     <limits.h> exists even on freestanding compilers.  */
       
  9759 
       
  9760 #ifdef __STDC__
       
  9761 # include <limits.h>
       
  9762 #else
       
  9763 # include <assert.h>
       
  9764 #endif
       
  9765 
       
  9766 #undef dlopen
       
  9767 
       
  9768 /* Override any GCC internal prototype to avoid an error.
       
  9769    Use char because int might match the return type of a GCC
       
  9770    builtin and then its argument prototype would still apply.  */
       
  9771 #ifdef __cplusplus
       
  9772 extern "C"
       
  9773 #endif
       
  9774 char dlopen ();
       
  9775 /* The GNU C library defines this for functions which it implements
       
  9776     to always fail with ENOSYS.  Some functions are actually named
       
  9777     something starting with __ and the normal name is an alias.  */
       
  9778 #if defined __stub_dlopen || defined __stub___dlopen
       
  9779 choke me
       
  9780 #endif
       
  9781 
       
  9782 int
       
  9783 main ()
       
  9784 {
       
  9785 return dlopen ();
       
  9786   ;
       
  9787   return 0;
       
  9788 }
       
  9789 _ACEOF
       
  9790 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9791 if { (ac_try="$ac_link"
       
  9792 case "(($ac_try" in
       
  9793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9794   *) ac_try_echo=$ac_try;;
       
  9795 esac
       
  9796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9797   (eval "$ac_link") 2>conftest.er1
       
  9798   ac_status=$?
       
  9799   grep -v '^ *+' conftest.er1 >conftest.err
       
  9800   rm -f conftest.er1
       
  9801   cat conftest.err >&5
       
  9802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9803   (exit $ac_status); } &&
       
  9804 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9805   { (case "(($ac_try" in
       
  9806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9807   *) ac_try_echo=$ac_try;;
       
  9808 esac
       
  9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9810   (eval "$ac_try") 2>&5
       
  9811   ac_status=$?
       
  9812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9813   (exit $ac_status); }; } &&
       
  9814 	 { ac_try='test -s conftest$ac_exeext'
       
  9815   { (case "(($ac_try" in
       
  9816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9817   *) ac_try_echo=$ac_try;;
       
  9818 esac
       
  9819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9820   (eval "$ac_try") 2>&5
       
  9821   ac_status=$?
       
  9822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9823   (exit $ac_status); }; }; then
       
  9824   ac_cv_func_dlopen=yes
       
  9825 else
       
  9826   echo "$as_me: failed program was:" >&5
       
  9827 sed 's/^/| /' conftest.$ac_ext >&5
       
  9828 
       
  9829 	ac_cv_func_dlopen=no
       
  9830 fi
       
  9831 
       
  9832 rm -f core conftest.err conftest.$ac_objext \
       
  9833       conftest$ac_exeext conftest.$ac_ext
       
  9834 fi
       
  9835 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
       
  9836 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
       
  9837 if test $ac_cv_func_dlopen = yes; then
       
  9838   lt_cv_dlopen="dlopen"
       
  9839 else
       
  9840   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
       
  9841 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
       
  9842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
       
  9843   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9844 else
       
  9845   ac_check_lib_save_LIBS=$LIBS
       
  9846 LIBS="-ldl  $LIBS"
       
  9847 cat >conftest.$ac_ext <<_ACEOF
       
  9848 /* confdefs.h.  */
       
  9849 _ACEOF
       
  9850 cat confdefs.h >>conftest.$ac_ext
       
  9851 cat >>conftest.$ac_ext <<_ACEOF
       
  9852 /* end confdefs.h.  */
       
  9853 
       
  9854 /* Override any GCC internal prototype to avoid an error.
       
  9855    Use char because int might match the return type of a GCC
       
  9856    builtin and then its argument prototype would still apply.  */
       
  9857 #ifdef __cplusplus
       
  9858 extern "C"
       
  9859 #endif
       
  9860 char dlopen ();
       
  9861 int
       
  9862 main ()
       
  9863 {
       
  9864 return dlopen ();
       
  9865   ;
       
  9866   return 0;
       
  9867 }
       
  9868 _ACEOF
       
  9869 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9870 if { (ac_try="$ac_link"
       
  9871 case "(($ac_try" in
       
  9872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9873   *) ac_try_echo=$ac_try;;
       
  9874 esac
       
  9875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9876   (eval "$ac_link") 2>conftest.er1
       
  9877   ac_status=$?
       
  9878   grep -v '^ *+' conftest.er1 >conftest.err
       
  9879   rm -f conftest.er1
       
  9880   cat conftest.err >&5
       
  9881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9882   (exit $ac_status); } &&
       
  9883 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9884   { (case "(($ac_try" in
       
  9885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9886   *) ac_try_echo=$ac_try;;
       
  9887 esac
       
  9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9889   (eval "$ac_try") 2>&5
       
  9890   ac_status=$?
       
  9891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9892   (exit $ac_status); }; } &&
       
  9893 	 { ac_try='test -s conftest$ac_exeext'
       
  9894   { (case "(($ac_try" in
       
  9895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9896   *) ac_try_echo=$ac_try;;
       
  9897 esac
       
  9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9899   (eval "$ac_try") 2>&5
       
  9900   ac_status=$?
       
  9901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9902   (exit $ac_status); }; }; then
       
  9903   ac_cv_lib_dl_dlopen=yes
       
  9904 else
       
  9905   echo "$as_me: failed program was:" >&5
       
  9906 sed 's/^/| /' conftest.$ac_ext >&5
       
  9907 
       
  9908 	ac_cv_lib_dl_dlopen=no
       
  9909 fi
       
  9910 
       
  9911 rm -f core conftest.err conftest.$ac_objext \
       
  9912       conftest$ac_exeext conftest.$ac_ext
       
  9913 LIBS=$ac_check_lib_save_LIBS
       
  9914 fi
       
  9915 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
       
  9916 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
       
  9917 if test $ac_cv_lib_dl_dlopen = yes; then
       
  9918   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
       
  9919 else
       
  9920   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
       
  9921 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
       
  9922 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
       
  9923   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9924 else
       
  9925   ac_check_lib_save_LIBS=$LIBS
       
  9926 LIBS="-lsvld  $LIBS"
       
  9927 cat >conftest.$ac_ext <<_ACEOF
       
  9928 /* confdefs.h.  */
       
  9929 _ACEOF
       
  9930 cat confdefs.h >>conftest.$ac_ext
       
  9931 cat >>conftest.$ac_ext <<_ACEOF
       
  9932 /* end confdefs.h.  */
       
  9933 
       
  9934 /* Override any GCC internal prototype to avoid an error.
       
  9935    Use char because int might match the return type of a GCC
       
  9936    builtin and then its argument prototype would still apply.  */
       
  9937 #ifdef __cplusplus
       
  9938 extern "C"
       
  9939 #endif
       
  9940 char dlopen ();
       
  9941 int
       
  9942 main ()
       
  9943 {
       
  9944 return dlopen ();
       
  9945   ;
       
  9946   return 0;
       
  9947 }
       
  9948 _ACEOF
       
  9949 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9950 if { (ac_try="$ac_link"
       
  9951 case "(($ac_try" in
       
  9952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9953   *) ac_try_echo=$ac_try;;
       
  9954 esac
       
  9955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9956   (eval "$ac_link") 2>conftest.er1
       
  9957   ac_status=$?
       
  9958   grep -v '^ *+' conftest.er1 >conftest.err
       
  9959   rm -f conftest.er1
       
  9960   cat conftest.err >&5
       
  9961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9962   (exit $ac_status); } &&
       
  9963 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9964   { (case "(($ac_try" in
       
  9965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9966   *) ac_try_echo=$ac_try;;
       
  9967 esac
       
  9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9969   (eval "$ac_try") 2>&5
       
  9970   ac_status=$?
       
  9971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9972   (exit $ac_status); }; } &&
       
  9973 	 { ac_try='test -s conftest$ac_exeext'
       
  9974   { (case "(($ac_try" in
       
  9975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9976   *) ac_try_echo=$ac_try;;
       
  9977 esac
       
  9978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9979   (eval "$ac_try") 2>&5
       
  9980   ac_status=$?
       
  9981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9982   (exit $ac_status); }; }; then
       
  9983   ac_cv_lib_svld_dlopen=yes
       
  9984 else
       
  9985   echo "$as_me: failed program was:" >&5
       
  9986 sed 's/^/| /' conftest.$ac_ext >&5
       
  9987 
       
  9988 	ac_cv_lib_svld_dlopen=no
       
  9989 fi
       
  9990 
       
  9991 rm -f core conftest.err conftest.$ac_objext \
       
  9992       conftest$ac_exeext conftest.$ac_ext
       
  9993 LIBS=$ac_check_lib_save_LIBS
       
  9994 fi
       
  9995 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
       
  9996 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
       
  9997 if test $ac_cv_lib_svld_dlopen = yes; then
       
  9998   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
       
  9999 else
       
 10000   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
       
 10001 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
       
 10002 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
       
 10003   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10004 else
       
 10005   ac_check_lib_save_LIBS=$LIBS
       
 10006 LIBS="-ldld  $LIBS"
       
 10007 cat >conftest.$ac_ext <<_ACEOF
       
 10008 /* confdefs.h.  */
       
 10009 _ACEOF
       
 10010 cat confdefs.h >>conftest.$ac_ext
       
 10011 cat >>conftest.$ac_ext <<_ACEOF
       
 10012 /* end confdefs.h.  */
       
 10013 
       
 10014 /* Override any GCC internal prototype to avoid an error.
       
 10015    Use char because int might match the return type of a GCC
       
 10016    builtin and then its argument prototype would still apply.  */
       
 10017 #ifdef __cplusplus
       
 10018 extern "C"
       
 10019 #endif
       
 10020 char dld_link ();
       
 10021 int
       
 10022 main ()
       
 10023 {
       
 10024 return dld_link ();
       
 10025   ;
       
 10026   return 0;
       
 10027 }
       
 10028 _ACEOF
       
 10029 rm -f conftest.$ac_objext conftest$ac_exeext
       
 10030 if { (ac_try="$ac_link"
       
 10031 case "(($ac_try" in
       
 10032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10033   *) ac_try_echo=$ac_try;;
       
 10034 esac
       
 10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10036   (eval "$ac_link") 2>conftest.er1
       
 10037   ac_status=$?
       
 10038   grep -v '^ *+' conftest.er1 >conftest.err
       
 10039   rm -f conftest.er1
       
 10040   cat conftest.err >&5
       
 10041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10042   (exit $ac_status); } &&
       
 10043 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10044   { (case "(($ac_try" in
       
 10045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10046   *) ac_try_echo=$ac_try;;
       
 10047 esac
       
 10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10049   (eval "$ac_try") 2>&5
       
 10050   ac_status=$?
       
 10051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10052   (exit $ac_status); }; } &&
       
 10053 	 { ac_try='test -s conftest$ac_exeext'
       
 10054   { (case "(($ac_try" in
       
 10055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10056   *) ac_try_echo=$ac_try;;
       
 10057 esac
       
 10058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10059   (eval "$ac_try") 2>&5
       
 10060   ac_status=$?
       
 10061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10062   (exit $ac_status); }; }; then
       
 10063   ac_cv_lib_dld_dld_link=yes
       
 10064 else
       
 10065   echo "$as_me: failed program was:" >&5
       
 10066 sed 's/^/| /' conftest.$ac_ext >&5
       
 10067 
       
 10068 	ac_cv_lib_dld_dld_link=no
       
 10069 fi
       
 10070 
       
 10071 rm -f core conftest.err conftest.$ac_objext \
       
 10072       conftest$ac_exeext conftest.$ac_ext
       
 10073 LIBS=$ac_check_lib_save_LIBS
       
 10074 fi
       
 10075 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
       
 10076 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
       
 10077 if test $ac_cv_lib_dld_dld_link = yes; then
       
 10078   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
       
 10079 fi
       
 10080 
       
 10081 
       
 10082 fi
       
 10083 
       
 10084 
       
 10085 fi
       
 10086 
       
 10087 
       
 10088 fi
       
 10089 
       
 10090 
       
 10091 fi
       
 10092 
       
 10093 
       
 10094 fi
       
 10095 
       
 10096     ;;
       
 10097   esac
       
 10098 
       
 10099   if test "x$lt_cv_dlopen" != xno; then
       
 10100     enable_dlopen=yes
       
 10101   else
       
 10102     enable_dlopen=no
       
 10103   fi
       
 10104 
       
 10105   case $lt_cv_dlopen in
       
 10106   dlopen)
       
 10107     save_CPPFLAGS="$CPPFLAGS"
       
 10108     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
       
 10109 
       
 10110     save_LDFLAGS="$LDFLAGS"
       
 10111     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
       
 10112 
       
 10113     save_LIBS="$LIBS"
       
 10114     LIBS="$lt_cv_dlopen_libs $LIBS"
       
 10115 
       
 10116     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
       
 10117 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
       
 10118 if test "${lt_cv_dlopen_self+set}" = set; then
       
 10119   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10120 else
       
 10121   	  if test "$cross_compiling" = yes; then :
       
 10122   lt_cv_dlopen_self=cross
       
 10123 else
       
 10124   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
       
 10125   lt_status=$lt_dlunknown
       
 10126   cat > conftest.$ac_ext <<EOF
       
 10127 #line 10127 "configure"
       
 10128 #include "confdefs.h"
       
 10129 
       
 10130 #if HAVE_DLFCN_H
       
 10131 #include <dlfcn.h>
       
 10132 #endif
       
 10133 
       
 10134 #include <stdio.h>
       
 10135 
       
 10136 #ifdef RTLD_GLOBAL
       
 10137 #  define LT_DLGLOBAL		RTLD_GLOBAL
       
 10138 #else
       
 10139 #  ifdef DL_GLOBAL
       
 10140 #    define LT_DLGLOBAL		DL_GLOBAL
       
 10141 #  else
       
 10142 #    define LT_DLGLOBAL		0
       
 10143 #  endif
       
 10144 #endif
       
 10145 
       
 10146 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
       
 10147    find out it does not work in some platform. */
       
 10148 #ifndef LT_DLLAZY_OR_NOW
       
 10149 #  ifdef RTLD_LAZY
       
 10150 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
       
 10151 #  else
       
 10152 #    ifdef DL_LAZY
       
 10153 #      define LT_DLLAZY_OR_NOW		DL_LAZY
       
 10154 #    else
       
 10155 #      ifdef RTLD_NOW
       
 10156 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
       
 10157 #      else
       
 10158 #        ifdef DL_NOW
       
 10159 #          define LT_DLLAZY_OR_NOW	DL_NOW
       
 10160 #        else
       
 10161 #          define LT_DLLAZY_OR_NOW	0
       
 10162 #        endif
       
 10163 #      endif
       
 10164 #    endif
       
 10165 #  endif
       
 10166 #endif
       
 10167 
       
 10168 #ifdef __cplusplus
       
 10169 extern "C" void exit (int);
       
 10170 #endif
       
 10171 
       
 10172 void fnord() { int i=42;}
       
 10173 int main ()
       
 10174 {
       
 10175   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
       
 10176   int status = $lt_dlunknown;
       
 10177 
       
 10178   if (self)
       
 10179     {
       
 10180       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
       
 10181       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       
 10182       /* dlclose (self); */
       
 10183     }
       
 10184   else
       
 10185     puts (dlerror ());
       
 10186 
       
 10187     exit (status);
       
 10188 }
       
 10189 EOF
       
 10190   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
 10191   (eval $ac_link) 2>&5
       
 10192   ac_status=$?
       
 10193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10194   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       
 10195     (./conftest; exit; ) >&5 2>/dev/null
       
 10196     lt_status=$?
       
 10197     case x$lt_status in
       
 10198       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
       
 10199       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
       
 10200       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
       
 10201     esac
       
 10202   else :
       
 10203     # compilation failed
       
 10204     lt_cv_dlopen_self=no
       
 10205   fi
       
 10206 fi
       
 10207 rm -fr conftest*
       
 10208 
       
 10209 
       
 10210 fi
       
 10211 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
       
 10212 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
       
 10213 
       
 10214     if test "x$lt_cv_dlopen_self" = xyes; then
       
 10215       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       
 10216       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
       
 10217 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
       
 10218 if test "${lt_cv_dlopen_self_static+set}" = set; then
       
 10219   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10220 else
       
 10221   	  if test "$cross_compiling" = yes; then :
       
 10222   lt_cv_dlopen_self_static=cross
       
 10223 else
       
 10224   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
       
 10225   lt_status=$lt_dlunknown
       
 10226   cat > conftest.$ac_ext <<EOF
       
 10227 #line 10227 "configure"
       
 10228 #include "confdefs.h"
       
 10229 
       
 10230 #if HAVE_DLFCN_H
       
 10231 #include <dlfcn.h>
       
 10232 #endif
       
 10233 
       
 10234 #include <stdio.h>
       
 10235 
       
 10236 #ifdef RTLD_GLOBAL
       
 10237 #  define LT_DLGLOBAL		RTLD_GLOBAL
       
 10238 #else
       
 10239 #  ifdef DL_GLOBAL
       
 10240 #    define LT_DLGLOBAL		DL_GLOBAL
       
 10241 #  else
       
 10242 #    define LT_DLGLOBAL		0
       
 10243 #  endif
       
 10244 #endif
       
 10245 
       
 10246 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
       
 10247    find out it does not work in some platform. */
       
 10248 #ifndef LT_DLLAZY_OR_NOW
       
 10249 #  ifdef RTLD_LAZY
       
 10250 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
       
 10251 #  else
       
 10252 #    ifdef DL_LAZY
       
 10253 #      define LT_DLLAZY_OR_NOW		DL_LAZY
       
 10254 #    else
       
 10255 #      ifdef RTLD_NOW
       
 10256 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
       
 10257 #      else
       
 10258 #        ifdef DL_NOW
       
 10259 #          define LT_DLLAZY_OR_NOW	DL_NOW
       
 10260 #        else
       
 10261 #          define LT_DLLAZY_OR_NOW	0
       
 10262 #        endif
       
 10263 #      endif
       
 10264 #    endif
       
 10265 #  endif
       
 10266 #endif
       
 10267 
       
 10268 #ifdef __cplusplus
       
 10269 extern "C" void exit (int);
       
 10270 #endif
       
 10271 
       
 10272 void fnord() { int i=42;}
       
 10273 int main ()
       
 10274 {
       
 10275   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
       
 10276   int status = $lt_dlunknown;
       
 10277 
       
 10278   if (self)
       
 10279     {
       
 10280       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
       
 10281       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       
 10282       /* dlclose (self); */
       
 10283     }
       
 10284   else
       
 10285     puts (dlerror ());
       
 10286 
       
 10287     exit (status);
       
 10288 }
       
 10289 EOF
       
 10290   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
 10291   (eval $ac_link) 2>&5
       
 10292   ac_status=$?
       
 10293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10294   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       
 10295     (./conftest; exit; ) >&5 2>/dev/null
       
 10296     lt_status=$?
       
 10297     case x$lt_status in
       
 10298       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
       
 10299       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
       
 10300       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
       
 10301     esac
       
 10302   else :
       
 10303     # compilation failed
       
 10304     lt_cv_dlopen_self_static=no
       
 10305   fi
       
 10306 fi
       
 10307 rm -fr conftest*
       
 10308 
       
 10309 
       
 10310 fi
       
 10311 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
       
 10312 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
       
 10313     fi
       
 10314 
       
 10315     CPPFLAGS="$save_CPPFLAGS"
       
 10316     LDFLAGS="$save_LDFLAGS"
       
 10317     LIBS="$save_LIBS"
       
 10318     ;;
       
 10319   esac
       
 10320 
       
 10321   case $lt_cv_dlopen_self in
       
 10322   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
       
 10323   *) enable_dlopen_self=unknown ;;
       
 10324   esac
       
 10325 
       
 10326   case $lt_cv_dlopen_self_static in
       
 10327   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
       
 10328   *) enable_dlopen_self_static=unknown ;;
       
 10329   esac
       
 10330 fi
       
 10331 
       
 10332 
       
 10333 # Report which library types will actually be built
       
 10334 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
       
 10335 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
       
 10336 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
       
 10337 echo "${ECHO_T}$can_build_shared" >&6; }
       
 10338 
       
 10339 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
       
 10340 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
       
 10341 test "$can_build_shared" = "no" && enable_shared=no
       
 10342 
       
 10343 # On AIX, shared libraries and static libraries use the same namespace, and
       
 10344 # are all built from PIC.
       
 10345 case $host_os in
       
 10346 aix3*)
       
 10347   test "$enable_shared" = yes && enable_static=no
       
 10348   if test -n "$RANLIB"; then
       
 10349     archive_cmds="$archive_cmds~\$RANLIB \$lib"
       
 10350     postinstall_cmds='$RANLIB $lib'
       
 10351   fi
       
 10352   ;;
       
 10353 
       
 10354 aix4* | aix5*)
       
 10355   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
       
 10356     test "$enable_shared" = yes && enable_static=no
       
 10357   fi
       
 10358     ;;
       
 10359 esac
       
 10360 { echo "$as_me:$LINENO: result: $enable_shared" >&5
       
 10361 echo "${ECHO_T}$enable_shared" >&6; }
       
 10362 
       
 10363 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
       
 10364 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
       
 10365 # Make sure either enable_shared or enable_static is yes.
       
 10366 test "$enable_shared" = yes || enable_static=yes
       
 10367 { echo "$as_me:$LINENO: result: $enable_static" >&5
       
 10368 echo "${ECHO_T}$enable_static" >&6; }
       
 10369 
       
 10370 # The else clause should only fire when bootstrapping the
       
 10371 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 10372 # with your package, and you will get complaints that there are
       
 10373 # no rules to generate ltmain.sh.
       
 10374 if test -f "$ltmain"; then
       
 10375   # See if we are running on zsh, and set the options which allow our commands through
       
 10376   # without removal of \ escapes.
       
 10377   if test -n "${ZSH_VERSION+set}" ; then
       
 10378     setopt NO_GLOB_SUBST
       
 10379   fi
       
 10380   # Now quote all the things that may contain metacharacters while being
       
 10381   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 10382   # variables and quote the copies for generation of the libtool script.
       
 10383   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 10384     SED SHELL STRIP \
       
 10385     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 10386     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 10387     deplibs_check_method reload_flag reload_cmds need_locks \
       
 10388     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 10389     lt_cv_sys_global_symbol_to_c_name_address \
       
 10390     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 10391     old_postinstall_cmds old_postuninstall_cmds \
       
 10392     compiler \
       
 10393     CC \
       
 10394     LD \
       
 10395     lt_prog_compiler_wl \
       
 10396     lt_prog_compiler_pic \
       
 10397     lt_prog_compiler_static \
       
 10398     lt_prog_compiler_no_builtin_flag \
       
 10399     export_dynamic_flag_spec \
       
 10400     thread_safe_flag_spec \
       
 10401     whole_archive_flag_spec \
       
 10402     enable_shared_with_static_runtimes \
       
 10403     old_archive_cmds \
       
 10404     old_archive_from_new_cmds \
       
 10405     predep_objects \
       
 10406     postdep_objects \
       
 10407     predeps \
       
 10408     postdeps \
       
 10409     compiler_lib_search_path \
       
 10410     archive_cmds \
       
 10411     archive_expsym_cmds \
       
 10412     postinstall_cmds \
       
 10413     postuninstall_cmds \
       
 10414     old_archive_from_expsyms_cmds \
       
 10415     allow_undefined_flag \
       
 10416     no_undefined_flag \
       
 10417     export_symbols_cmds \
       
 10418     hardcode_libdir_flag_spec \
       
 10419     hardcode_libdir_flag_spec_ld \
       
 10420     hardcode_libdir_separator \
       
 10421     hardcode_automatic \
       
 10422     module_cmds \
       
 10423     module_expsym_cmds \
       
 10424     lt_cv_prog_compiler_c_o \
       
 10425     exclude_expsyms \
       
 10426     include_expsyms; do
       
 10427 
       
 10428     case $var in
       
 10429     old_archive_cmds | \
       
 10430     old_archive_from_new_cmds | \
       
 10431     archive_cmds | \
       
 10432     archive_expsym_cmds | \
       
 10433     module_cmds | \
       
 10434     module_expsym_cmds | \
       
 10435     old_archive_from_expsyms_cmds | \
       
 10436     export_symbols_cmds | \
       
 10437     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 10438     postinstall_cmds | postuninstall_cmds | \
       
 10439     old_postinstall_cmds | old_postuninstall_cmds | \
       
 10440     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 10441       # Double-quote double-evaled strings.
       
 10442       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 10443       ;;
       
 10444     *)
       
 10445       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 10446       ;;
       
 10447     esac
       
 10448   done
       
 10449 
       
 10450   case $lt_echo in
       
 10451   *'\$0 --fallback-echo"')
       
 10452     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 10453     ;;
       
 10454   esac
       
 10455 
       
 10456 cfgfile="${ofile}T"
       
 10457   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
       
 10458   $rm -f "$cfgfile"
       
 10459   { echo "$as_me:$LINENO: creating $ofile" >&5
       
 10460 echo "$as_me: creating $ofile" >&6;}
       
 10461 
       
 10462   cat <<__EOF__ >> "$cfgfile"
       
 10463 #! $SHELL
       
 10464 
       
 10465 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
       
 10466 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
       
 10467 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
       
 10468 #
       
 10469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
       
 10470 # Free Software Foundation, Inc.
       
 10471 #
       
 10472 # This file is part of GNU Libtool:
       
 10473 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
       
 10474 #
       
 10475 # This program is free software; you can redistribute it and/or modify
       
 10476 # it under the terms of the GNU General Public License as published by
       
 10477 # the Free Software Foundation; either version 2 of the License, or
       
 10478 # (at your option) any later version.
       
 10479 #
       
 10480 # This program is distributed in the hope that it will be useful, but
       
 10481 # WITHOUT ANY WARRANTY; without even the implied warranty of
       
 10482 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
 10483 # General Public License for more details.
       
 10484 #
       
 10485 # You should have received a copy of the GNU General Public License
       
 10486 # along with this program; if not, write to the Free Software
       
 10487 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       
 10488 #
       
 10489 # As a special exception to the GNU General Public License, if you
       
 10490 # distribute this file as part of a program that contains a
       
 10491 # configuration script generated by Autoconf, you may include it under
       
 10492 # the same distribution terms that you use for the rest of that program.
       
 10493 
       
 10494 # A sed program that does not truncate output.
       
 10495 SED=$lt_SED
       
 10496 
       
 10497 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
       
 10498 Xsed="$SED -e 1s/^X//"
       
 10499 
       
 10500 # The HP-UX ksh and POSIX shell print the target directory to stdout
       
 10501 # if CDPATH is set.
       
 10502 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
 10503 
       
 10504 # The names of the tagged configurations supported by this script.
       
 10505 available_tags=
       
 10506 
       
 10507 # ### BEGIN LIBTOOL CONFIG
       
 10508 
       
 10509 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 10510 
       
 10511 # Shell to use when invoking shell scripts.
       
 10512 SHELL=$lt_SHELL
       
 10513 
       
 10514 # Whether or not to build shared libraries.
       
 10515 build_libtool_libs=$enable_shared
       
 10516 
       
 10517 # Whether or not to build static libraries.
       
 10518 build_old_libs=$enable_static
       
 10519 
       
 10520 # Whether or not to add -lc for building shared libraries.
       
 10521 build_libtool_need_lc=$archive_cmds_need_lc
       
 10522 
       
 10523 # Whether or not to disallow shared libs when runtime libs are static
       
 10524 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
       
 10525 
       
 10526 # Whether or not to optimize for fast installation.
       
 10527 fast_install=$enable_fast_install
       
 10528 
       
 10529 # The host system.
       
 10530 host_alias=$host_alias
       
 10531 host=$host
       
 10532 host_os=$host_os
       
 10533 
       
 10534 # The build system.
       
 10535 build_alias=$build_alias
       
 10536 build=$build
       
 10537 build_os=$build_os
       
 10538 
       
 10539 # An echo program that does not interpret backslashes.
       
 10540 echo=$lt_echo
       
 10541 
       
 10542 # The archiver.
       
 10543 AR=$lt_AR
       
 10544 AR_FLAGS=$lt_AR_FLAGS
       
 10545 
       
 10546 # A C compiler.
       
 10547 LTCC=$lt_LTCC
       
 10548 
       
 10549 # LTCC compiler flags.
       
 10550 LTCFLAGS=$lt_LTCFLAGS
       
 10551 
       
 10552 # A language-specific compiler.
       
 10553 CC=$lt_compiler
       
 10554 
       
 10555 # Is the compiler the GNU C compiler?
       
 10556 with_gcc=$GCC
       
 10557 
       
 10558 # An ERE matcher.
       
 10559 EGREP=$lt_EGREP
       
 10560 
       
 10561 # The linker used to build libraries.
       
 10562 LD=$lt_LD
       
 10563 
       
 10564 # Whether we need hard or soft links.
       
 10565 LN_S=$lt_LN_S
       
 10566 
       
 10567 # A BSD-compatible nm program.
       
 10568 NM=$lt_NM
       
 10569 
       
 10570 # A symbol stripping program
       
 10571 STRIP=$lt_STRIP
       
 10572 
       
 10573 # Used to examine libraries when file_magic_cmd begins "file"
       
 10574 MAGIC_CMD=$MAGIC_CMD
       
 10575 
       
 10576 # Used on cygwin: DLL creation program.
       
 10577 DLLTOOL="$DLLTOOL"
       
 10578 
       
 10579 # Used on cygwin: object dumper.
       
 10580 OBJDUMP="$OBJDUMP"
       
 10581 
       
 10582 # Used on cygwin: assembler.
       
 10583 AS="$AS"
       
 10584 
       
 10585 # The name of the directory that contains temporary libtool files.
       
 10586 objdir=$objdir
       
 10587 
       
 10588 # How to create reloadable object files.
       
 10589 reload_flag=$lt_reload_flag
       
 10590 reload_cmds=$lt_reload_cmds
       
 10591 
       
 10592 # How to pass a linker flag through the compiler.
       
 10593 wl=$lt_lt_prog_compiler_wl
       
 10594 
       
 10595 # Object file suffix (normally "o").
       
 10596 objext="$ac_objext"
       
 10597 
       
 10598 # Old archive suffix (normally "a").
       
 10599 libext="$libext"
       
 10600 
       
 10601 # Shared library suffix (normally ".so").
       
 10602 shrext_cmds='$shrext_cmds'
       
 10603 
       
 10604 # Executable file suffix (normally "").
       
 10605 exeext="$exeext"
       
 10606 
       
 10607 # Additional compiler flags for building library objects.
       
 10608 pic_flag=$lt_lt_prog_compiler_pic
       
 10609 pic_mode=$pic_mode
       
 10610 
       
 10611 # What is the maximum length of a command?
       
 10612 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 10613 
       
 10614 # Does compiler simultaneously support -c and -o options?
       
 10615 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
       
 10616 
       
 10617 # Must we lock files when doing compilation?
       
 10618 need_locks=$lt_need_locks
       
 10619 
       
 10620 # Do we need the lib prefix for modules?
       
 10621 need_lib_prefix=$need_lib_prefix
       
 10622 
       
 10623 # Do we need a version for libraries?
       
 10624 need_version=$need_version
       
 10625 
       
 10626 # Whether dlopen is supported.
       
 10627 dlopen_support=$enable_dlopen
       
 10628 
       
 10629 # Whether dlopen of programs is supported.
       
 10630 dlopen_self=$enable_dlopen_self
       
 10631 
       
 10632 # Whether dlopen of statically linked programs is supported.
       
 10633 dlopen_self_static=$enable_dlopen_self_static
       
 10634 
       
 10635 # Compiler flag to prevent dynamic linking.
       
 10636 link_static_flag=$lt_lt_prog_compiler_static
       
 10637 
       
 10638 # Compiler flag to turn off builtin functions.
       
 10639 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
       
 10640 
       
 10641 # Compiler flag to allow reflexive dlopens.
       
 10642 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
       
 10643 
       
 10644 # Compiler flag to generate shared objects directly from archives.
       
 10645 whole_archive_flag_spec=$lt_whole_archive_flag_spec
       
 10646 
       
 10647 # Compiler flag to generate thread-safe objects.
       
 10648 thread_safe_flag_spec=$lt_thread_safe_flag_spec
       
 10649 
       
 10650 # Library versioning type.
       
 10651 version_type=$version_type
       
 10652 
       
 10653 # Format of library name prefix.
       
 10654 libname_spec=$lt_libname_spec
       
 10655 
       
 10656 # List of archive names.  First name is the real one, the rest are links.
       
 10657 # The last name is the one that the linker finds with -lNAME.
       
 10658 library_names_spec=$lt_library_names_spec
       
 10659 
       
 10660 # The coded name of the library, if different from the real name.
       
 10661 soname_spec=$lt_soname_spec
       
 10662 
       
 10663 # Commands used to build and install an old-style archive.
       
 10664 RANLIB=$lt_RANLIB
       
 10665 old_archive_cmds=$lt_old_archive_cmds
       
 10666 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 10667 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 10668 
       
 10669 # Create an old-style archive from a shared archive.
       
 10670 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
       
 10671 
       
 10672 # Create a temporary old-style archive to link instead of a shared archive.
       
 10673 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
       
 10674 
       
 10675 # Commands used to build and install a shared archive.
       
 10676 archive_cmds=$lt_archive_cmds
       
 10677 archive_expsym_cmds=$lt_archive_expsym_cmds
       
 10678 postinstall_cmds=$lt_postinstall_cmds
       
 10679 postuninstall_cmds=$lt_postuninstall_cmds
       
 10680 
       
 10681 # Commands used to build a loadable module (assumed same as above if empty)
       
 10682 module_cmds=$lt_module_cmds
       
 10683 module_expsym_cmds=$lt_module_expsym_cmds
       
 10684 
       
 10685 # Commands to strip libraries.
       
 10686 old_striplib=$lt_old_striplib
       
 10687 striplib=$lt_striplib
       
 10688 
       
 10689 # Dependencies to place before the objects being linked to create a
       
 10690 # shared library.
       
 10691 predep_objects=$lt_predep_objects
       
 10692 
       
 10693 # Dependencies to place after the objects being linked to create a
       
 10694 # shared library.
       
 10695 postdep_objects=$lt_postdep_objects
       
 10696 
       
 10697 # Dependencies to place before the objects being linked to create a
       
 10698 # shared library.
       
 10699 predeps=$lt_predeps
       
 10700 
       
 10701 # Dependencies to place after the objects being linked to create a
       
 10702 # shared library.
       
 10703 postdeps=$lt_postdeps
       
 10704 
       
 10705 # The library search path used internally by the compiler when linking
       
 10706 # a shared library.
       
 10707 compiler_lib_search_path=$lt_compiler_lib_search_path
       
 10708 
       
 10709 # Method to check whether dependent libraries are shared objects.
       
 10710 deplibs_check_method=$lt_deplibs_check_method
       
 10711 
       
 10712 # Command to use when deplibs_check_method == file_magic.
       
 10713 file_magic_cmd=$lt_file_magic_cmd
       
 10714 
       
 10715 # Flag that allows shared libraries with undefined symbols to be built.
       
 10716 allow_undefined_flag=$lt_allow_undefined_flag
       
 10717 
       
 10718 # Flag that forces no undefined symbols.
       
 10719 no_undefined_flag=$lt_no_undefined_flag
       
 10720 
       
 10721 # Commands used to finish a libtool library installation in a directory.
       
 10722 finish_cmds=$lt_finish_cmds
       
 10723 
       
 10724 # Same as above, but a single script fragment to be evaled but not shown.
       
 10725 finish_eval=$lt_finish_eval
       
 10726 
       
 10727 # Take the output of nm and produce a listing of raw symbols and C names.
       
 10728 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 10729 
       
 10730 # Transform the output of nm in a proper C declaration
       
 10731 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 10732 
       
 10733 # Transform the output of nm in a C name address pair
       
 10734 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 10735 
       
 10736 # This is the shared library runtime path variable.
       
 10737 runpath_var=$runpath_var
       
 10738 
       
 10739 # This is the shared library path variable.
       
 10740 shlibpath_var=$shlibpath_var
       
 10741 
       
 10742 # Is shlibpath searched before the hard-coded library search path?
       
 10743 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 10744 
       
 10745 # How to hardcode a shared library path into an executable.
       
 10746 hardcode_action=$hardcode_action
       
 10747 
       
 10748 # Whether we should hardcode library paths into libraries.
       
 10749 hardcode_into_libs=$hardcode_into_libs
       
 10750 
       
 10751 # Flag to hardcode \$libdir into a binary during linking.
       
 10752 # This must work even if \$libdir does not exist.
       
 10753 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
       
 10754 
       
 10755 # If ld is used when linking, flag to hardcode \$libdir into
       
 10756 # a binary during linking. This must work even if \$libdir does
       
 10757 # not exist.
       
 10758 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
       
 10759 
       
 10760 # Whether we need a single -rpath flag with a separated argument.
       
 10761 hardcode_libdir_separator=$lt_hardcode_libdir_separator
       
 10762 
       
 10763 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 10764 # resulting binary.
       
 10765 hardcode_direct=$hardcode_direct
       
 10766 
       
 10767 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 10768 # resulting binary.
       
 10769 hardcode_minus_L=$hardcode_minus_L
       
 10770 
       
 10771 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 10772 # the resulting binary.
       
 10773 hardcode_shlibpath_var=$hardcode_shlibpath_var
       
 10774 
       
 10775 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 10776 # and all subsequent libraries and executables linked against it.
       
 10777 hardcode_automatic=$hardcode_automatic
       
 10778 
       
 10779 # Variables whose values should be saved in libtool wrapper scripts and
       
 10780 # restored at relink time.
       
 10781 variables_saved_for_relink="$variables_saved_for_relink"
       
 10782 
       
 10783 # Whether libtool must link a program against all its dependency libraries.
       
 10784 link_all_deplibs=$link_all_deplibs
       
 10785 
       
 10786 # Compile-time system search path for libraries
       
 10787 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 10788 
       
 10789 # Run-time system search path for libraries
       
 10790 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 10791 
       
 10792 # Fix the shell variable \$srcfile for the compiler.
       
 10793 fix_srcfile_path="$fix_srcfile_path"
       
 10794 
       
 10795 # Set to yes if exported symbols are required.
       
 10796 always_export_symbols=$always_export_symbols
       
 10797 
       
 10798 # The commands to list exported symbols.
       
 10799 export_symbols_cmds=$lt_export_symbols_cmds
       
 10800 
       
 10801 # The commands to extract the exported symbol list from a shared archive.
       
 10802 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 10803 
       
 10804 # Symbols that should not be listed in the preloaded symbols.
       
 10805 exclude_expsyms=$lt_exclude_expsyms
       
 10806 
       
 10807 # Symbols that must always be exported.
       
 10808 include_expsyms=$lt_include_expsyms
       
 10809 
       
 10810 # ### END LIBTOOL CONFIG
       
 10811 
       
 10812 __EOF__
       
 10813 
       
 10814 
       
 10815   case $host_os in
       
 10816   aix3*)
       
 10817     cat <<\EOF >> "$cfgfile"
       
 10818 
       
 10819 # AIX sometimes has problems with the GCC collect2 program.  For some
       
 10820 # reason, if we set the COLLECT_NAMES environment variable, the problems
       
 10821 # vanish in a puff of smoke.
       
 10822 if test "X${COLLECT_NAMES+set}" != Xset; then
       
 10823   COLLECT_NAMES=
       
 10824   export COLLECT_NAMES
       
 10825 fi
       
 10826 EOF
       
 10827     ;;
       
 10828   esac
       
 10829 
       
 10830   # We use sed instead of cat because bash on DJGPP gets confused if
       
 10831   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
       
 10832   # text mode, it properly converts lines to CR/LF.  This bash problem
       
 10833   # is reportedly fixed, but why not run on old versions too?
       
 10834   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
       
 10835 
       
 10836   mv -f "$cfgfile" "$ofile" || \
       
 10837     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
       
 10838   chmod +x "$ofile"
       
 10839 
       
 10840 else
       
 10841   # If there is no Makefile yet, we rely on a make rule to execute
       
 10842   # `config.status --recheck' to rerun these tests and create the
       
 10843   # libtool script then.
       
 10844   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 10845   if test -f "$ltmain_in"; then
       
 10846     test -f Makefile && make "$ltmain"
       
 10847   fi
       
 10848 fi
       
 10849 
       
 10850 
       
 10851 ac_ext=cpp
       
 10852 ac_cpp='$CXXCPP $CPPFLAGS'
       
 10853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 10854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 10855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 10856 
       
 10857 CC="$lt_save_CC"
       
 10858 
       
 10859 
       
 10860 # Check whether --with-tags was given.
       
 10861 if test "${with_tags+set}" = set; then
       
 10862   withval=$with_tags; tagnames="$withval"
       
 10863 fi
       
 10864 
       
 10865 
       
 10866 if test -f "$ltmain" && test -n "$tagnames"; then
       
 10867   if test ! -f "${ofile}"; then
       
 10868     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
       
 10869 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
       
 10870   fi
       
 10871 
       
 10872   if test -z "$LTCC"; then
       
 10873     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
       
 10874     if test -z "$LTCC"; then
       
 10875       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
       
 10876 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
       
 10877     else
       
 10878       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
       
 10879 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
       
 10880     fi
       
 10881   fi
       
 10882   if test -z "$LTCFLAGS"; then
       
 10883     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
       
 10884   fi
       
 10885 
       
 10886   # Extract list of available tagged configurations in $ofile.
       
 10887   # Note that this assumes the entire list is on one line.
       
 10888   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
       
 10889 
       
 10890   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
 10891   for tagname in $tagnames; do
       
 10892     IFS="$lt_save_ifs"
       
 10893     # Check whether tagname contains only valid characters
       
 10894     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
       
 10895     "") ;;
       
 10896     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
       
 10897 echo "$as_me: error: invalid tag name: $tagname" >&2;}
       
 10898    { (exit 1); exit 1; }; }
       
 10899 	;;
       
 10900     esac
       
 10901 
       
 10902     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
       
 10903     then
       
 10904       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
       
 10905 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
       
 10906    { (exit 1); exit 1; }; }
       
 10907     fi
       
 10908 
       
 10909     # Update the list of available tags.
       
 10910     if test -n "$tagname"; then
       
 10911       echo appending configuration tag \"$tagname\" to $ofile
       
 10912 
       
 10913       case $tagname in
       
 10914       CXX)
       
 10915 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
       
 10916 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
       
 10917 	    (test "X$CXX" != "Xg++"))) ; then
       
 10918 	  ac_ext=cpp
       
 10919 ac_cpp='$CXXCPP $CPPFLAGS'
       
 10920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 10921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 10922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 10923 
       
 10924 
       
 10925 
       
 10926 
       
 10927 archive_cmds_need_lc_CXX=no
       
 10928 allow_undefined_flag_CXX=
       
 10929 always_export_symbols_CXX=no
       
 10930 archive_expsym_cmds_CXX=
       
 10931 export_dynamic_flag_spec_CXX=
       
 10932 hardcode_direct_CXX=no
       
 10933 hardcode_libdir_flag_spec_CXX=
       
 10934 hardcode_libdir_flag_spec_ld_CXX=
       
 10935 hardcode_libdir_separator_CXX=
       
 10936 hardcode_minus_L_CXX=no
       
 10937 hardcode_shlibpath_var_CXX=unsupported
       
 10938 hardcode_automatic_CXX=no
       
 10939 module_cmds_CXX=
       
 10940 module_expsym_cmds_CXX=
       
 10941 link_all_deplibs_CXX=unknown
       
 10942 old_archive_cmds_CXX=$old_archive_cmds
       
 10943 no_undefined_flag_CXX=
       
 10944 whole_archive_flag_spec_CXX=
       
 10945 enable_shared_with_static_runtimes_CXX=no
       
 10946 
       
 10947 # Dependencies to place before and after the object being linked:
       
 10948 predep_objects_CXX=
       
 10949 postdep_objects_CXX=
       
 10950 predeps_CXX=
       
 10951 postdeps_CXX=
       
 10952 compiler_lib_search_path_CXX=
       
 10953 
       
 10954 # Source file extension for C++ test sources.
       
 10955 ac_ext=cpp
       
 10956 
       
 10957 # Object file extension for compiled C++ test sources.
       
 10958 objext=o
       
 10959 objext_CXX=$objext
       
 10960 
       
 10961 # Code to be used in simple compile tests
       
 10962 lt_simple_compile_test_code="int some_variable = 0;\n"
       
 10963 
       
 10964 # Code to be used in simple link tests
       
 10965 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
       
 10966 
       
 10967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 10968 
       
 10969 # If no C compiler was specified, use CC.
       
 10970 LTCC=${LTCC-"$CC"}
       
 10971 
       
 10972 # If no C compiler flags were specified, use CFLAGS.
       
 10973 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 10974 
       
 10975 # Allow CC to be a program name with arguments.
       
 10976 compiler=$CC
       
 10977 
       
 10978 
       
 10979 # save warnings/boilerplate of simple test code
       
 10980 ac_outfile=conftest.$ac_objext
       
 10981 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 10982 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 10983 _lt_compiler_boilerplate=`cat conftest.err`
       
 10984 $rm conftest*
       
 10985 
       
 10986 ac_outfile=conftest.$ac_objext
       
 10987 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 10988 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 10989 _lt_linker_boilerplate=`cat conftest.err`
       
 10990 $rm conftest*
       
 10991 
       
 10992 
       
 10993 # Allow CC to be a program name with arguments.
       
 10994 lt_save_CC=$CC
       
 10995 lt_save_LD=$LD
       
 10996 lt_save_GCC=$GCC
       
 10997 GCC=$GXX
       
 10998 lt_save_with_gnu_ld=$with_gnu_ld
       
 10999 lt_save_path_LD=$lt_cv_path_LD
       
 11000 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
       
 11001   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
       
 11002 else
       
 11003   $as_unset lt_cv_prog_gnu_ld
       
 11004 fi
       
 11005 if test -n "${lt_cv_path_LDCXX+set}"; then
       
 11006   lt_cv_path_LD=$lt_cv_path_LDCXX
       
 11007 else
       
 11008   $as_unset lt_cv_path_LD
       
 11009 fi
       
 11010 test -z "${LDCXX+set}" || LD=$LDCXX
       
 11011 CC=${CXX-"c++"}
       
 11012 compiler=$CC
       
 11013 compiler_CXX=$CC
       
 11014 for cc_temp in $compiler""; do
       
 11015   case $cc_temp in
       
 11016     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 11017     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 11018     \-*) ;;
       
 11019     *) break;;
       
 11020   esac
       
 11021 done
       
 11022 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 11023 
       
 11024 
       
 11025 # We don't want -fno-exception wen compiling C++ code, so set the
       
 11026 # no_builtin_flag separately
       
 11027 if test "$GXX" = yes; then
       
 11028   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
       
 11029 else
       
 11030   lt_prog_compiler_no_builtin_flag_CXX=
       
 11031 fi
       
 11032 
       
 11033 if test "$GXX" = yes; then
       
 11034   # Set up default GNU C++ configuration
       
 11035 
       
 11036 
       
 11037 # Check whether --with-gnu-ld was given.
       
 11038 if test "${with_gnu_ld+set}" = set; then
       
 11039   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
       
 11040 else
       
 11041   with_gnu_ld=no
       
 11042 fi
       
 11043 
       
 11044 ac_prog=ld
       
 11045 if test "$GCC" = yes; then
       
 11046   # Check if gcc -print-prog-name=ld gives a path.
       
 11047   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
       
 11048 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
       
 11049   case $host in
       
 11050   *-*-mingw*)
       
 11051     # gcc leaves a trailing carriage return which upsets mingw
       
 11052     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
       
 11053   *)
       
 11054     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
       
 11055   esac
       
 11056   case $ac_prog in
       
 11057     # Accept absolute paths.
       
 11058     [\\/]* | ?:[\\/]*)
       
 11059       re_direlt='/[^/][^/]*/\.\./'
       
 11060       # Canonicalize the pathname of ld
       
 11061       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
       
 11062       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
       
 11063 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
       
 11064       done
       
 11065       test -z "$LD" && LD="$ac_prog"
       
 11066       ;;
       
 11067   "")
       
 11068     # If it fails, then pretend we aren't using GCC.
       
 11069     ac_prog=ld
       
 11070     ;;
       
 11071   *)
       
 11072     # If it is relative, then search for the first ld in PATH.
       
 11073     with_gnu_ld=unknown
       
 11074     ;;
       
 11075   esac
       
 11076 elif test "$with_gnu_ld" = yes; then
       
 11077   { echo "$as_me:$LINENO: checking for GNU ld" >&5
       
 11078 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
       
 11079 else
       
 11080   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
       
 11081 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
       
 11082 fi
       
 11083 if test "${lt_cv_path_LD+set}" = set; then
       
 11084   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11085 else
       
 11086   if test -z "$LD"; then
       
 11087   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
 11088   for ac_dir in $PATH; do
       
 11089     IFS="$lt_save_ifs"
       
 11090     test -z "$ac_dir" && ac_dir=.
       
 11091     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       
 11092       lt_cv_path_LD="$ac_dir/$ac_prog"
       
 11093       # Check to see if the program is GNU ld.  I'd rather use --version,
       
 11094       # but apparently some variants of GNU ld only accept -v.
       
 11095       # Break only if it was the GNU/non-GNU ld that we prefer.
       
 11096       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       
 11097       *GNU* | *'with BFD'*)
       
 11098 	test "$with_gnu_ld" != no && break
       
 11099 	;;
       
 11100       *)
       
 11101 	test "$with_gnu_ld" != yes && break
       
 11102 	;;
       
 11103       esac
       
 11104     fi
       
 11105   done
       
 11106   IFS="$lt_save_ifs"
       
 11107 else
       
 11108   lt_cv_path_LD="$LD" # Let the user override the test with a path.
       
 11109 fi
       
 11110 fi
       
 11111 
       
 11112 LD="$lt_cv_path_LD"
       
 11113 if test -n "$LD"; then
       
 11114   { echo "$as_me:$LINENO: result: $LD" >&5
       
 11115 echo "${ECHO_T}$LD" >&6; }
       
 11116 else
       
 11117   { echo "$as_me:$LINENO: result: no" >&5
       
 11118 echo "${ECHO_T}no" >&6; }
       
 11119 fi
       
 11120 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
       
 11121 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
       
 11122    { (exit 1); exit 1; }; }
       
 11123 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
       
 11124 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
       
 11125 if test "${lt_cv_prog_gnu_ld+set}" = set; then
       
 11126   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11127 else
       
 11128   # I'd rather use --version here, but apparently some GNU lds only accept -v.
       
 11129 case `$LD -v 2>&1 </dev/null` in
       
 11130 *GNU* | *'with BFD'*)
       
 11131   lt_cv_prog_gnu_ld=yes
       
 11132   ;;
       
 11133 *)
       
 11134   lt_cv_prog_gnu_ld=no
       
 11135   ;;
       
 11136 esac
       
 11137 fi
       
 11138 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
       
 11139 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
       
 11140 with_gnu_ld=$lt_cv_prog_gnu_ld
       
 11141 
       
 11142 
       
 11143 
       
 11144   # Check if GNU C++ uses GNU ld as the underlying linker, since the
       
 11145   # archiving commands below assume that GNU ld is being used.
       
 11146   if test "$with_gnu_ld" = yes; then
       
 11147     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11148     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'
       
 11149 
       
 11150     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
       
 11151     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 11152 
       
 11153     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 11154     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
       
 11155     #     investigate it a little bit more. (MM)
       
 11156     wlarc='${wl}'
       
 11157 
       
 11158     # ancient GNU ld didn't support --whole-archive et. al.
       
 11159     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
       
 11160 	grep 'no-whole-archive' > /dev/null; then
       
 11161       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 11162     else
       
 11163       whole_archive_flag_spec_CXX=
       
 11164     fi
       
 11165   else
       
 11166     with_gnu_ld=no
       
 11167     wlarc=
       
 11168 
       
 11169     # A generic and very simple default shared library creation
       
 11170     # command for GNU C++ for the case where it uses the native
       
 11171     # linker, instead of GNU ld.  If possible, this setting should
       
 11172     # overridden to take advantage of the native linker features on
       
 11173     # the platform it is being used on.
       
 11174     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       
 11175   fi
       
 11176 
       
 11177   # Commands to make compiler produce verbose output that lists
       
 11178   # what "hidden" libraries, object files and flags are used when
       
 11179   # linking a shared library.
       
 11180   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 11181 
       
 11182 else
       
 11183   GXX=no
       
 11184   with_gnu_ld=no
       
 11185   wlarc=
       
 11186 fi
       
 11187 
       
 11188 # PORTME: fill in a description of your system's C++ link characteristics
       
 11189 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 11190 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 11191 ld_shlibs_CXX=yes
       
 11192 case $host_os in
       
 11193   aix3*)
       
 11194     # FIXME: insert proper C++ library support
       
 11195     ld_shlibs_CXX=no
       
 11196     ;;
       
 11197   aix4* | aix5*)
       
 11198     if test "$host_cpu" = ia64; then
       
 11199       # On IA64, the linker does run time linking by default, so we don't
       
 11200       # have to do anything special.
       
 11201       aix_use_runtimelinking=no
       
 11202       exp_sym_flag='-Bexport'
       
 11203       no_entry_flag=""
       
 11204     else
       
 11205       aix_use_runtimelinking=no
       
 11206 
       
 11207       # Test if we are trying to use run time linking or normal
       
 11208       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 11209       # need to do runtime linking.
       
 11210       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 11211 	for ld_flag in $LDFLAGS; do
       
 11212 	  case $ld_flag in
       
 11213 	  *-brtl*)
       
 11214 	    aix_use_runtimelinking=yes
       
 11215 	    break
       
 11216 	    ;;
       
 11217 	  esac
       
 11218 	done
       
 11219 	;;
       
 11220       esac
       
 11221 
       
 11222       exp_sym_flag='-bexport'
       
 11223       no_entry_flag='-bnoentry'
       
 11224     fi
       
 11225 
       
 11226     # When large executables or shared objects are built, AIX ld can
       
 11227     # have problems creating the table of contents.  If linking a library
       
 11228     # or program results in "error TOC overflow" add -mminimal-toc to
       
 11229     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 11230     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 11231 
       
 11232     archive_cmds_CXX=''
       
 11233     hardcode_direct_CXX=yes
       
 11234     hardcode_libdir_separator_CXX=':'
       
 11235     link_all_deplibs_CXX=yes
       
 11236 
       
 11237     if test "$GXX" = yes; then
       
 11238       case $host_os in aix4.[012]|aix4.[012].*)
       
 11239       # We only want to do this on AIX 4.2 and lower, the check
       
 11240       # below for broken collect2 doesn't work under 4.3+
       
 11241 	collect2name=`${CC} -print-prog-name=collect2`
       
 11242 	if test -f "$collect2name" && \
       
 11243 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 11244 	then
       
 11245 	  # We have reworked collect2
       
 11246 	  hardcode_direct_CXX=yes
       
 11247 	else
       
 11248 	  # We have old collect2
       
 11249 	  hardcode_direct_CXX=unsupported
       
 11250 	  # It fails to find uninstalled libraries when the uninstalled
       
 11251 	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 11252 	  # to unsupported forces relinking
       
 11253 	  hardcode_minus_L_CXX=yes
       
 11254 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
       
 11255 	  hardcode_libdir_separator_CXX=
       
 11256 	fi
       
 11257 	;;
       
 11258       esac
       
 11259       shared_flag='-shared'
       
 11260       if test "$aix_use_runtimelinking" = yes; then
       
 11261 	shared_flag="$shared_flag "'${wl}-G'
       
 11262       fi
       
 11263     else
       
 11264       # not using gcc
       
 11265       if test "$host_cpu" = ia64; then
       
 11266 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 11267 	# chokes on -Wl,-G. The following line is correct:
       
 11268 	shared_flag='-G'
       
 11269       else
       
 11270 	if test "$aix_use_runtimelinking" = yes; then
       
 11271 	  shared_flag='${wl}-G'
       
 11272 	else
       
 11273 	  shared_flag='${wl}-bM:SRE'
       
 11274 	fi
       
 11275       fi
       
 11276     fi
       
 11277 
       
 11278     # It seems that -bexpall does not export symbols beginning with
       
 11279     # underscore (_), so it is better to generate a list of symbols to export.
       
 11280     always_export_symbols_CXX=yes
       
 11281     if test "$aix_use_runtimelinking" = yes; then
       
 11282       # Warning - without using the other runtime loading flags (-brtl),
       
 11283       # -berok will link without error, but may produce a broken library.
       
 11284       allow_undefined_flag_CXX='-berok'
       
 11285       # Determine the default libpath from the value encoded in an empty executable.
       
 11286       cat >conftest.$ac_ext <<_ACEOF
       
 11287 /* confdefs.h.  */
       
 11288 _ACEOF
       
 11289 cat confdefs.h >>conftest.$ac_ext
       
 11290 cat >>conftest.$ac_ext <<_ACEOF
       
 11291 /* end confdefs.h.  */
       
 11292 
       
 11293 int
       
 11294 main ()
       
 11295 {
       
 11296 
       
 11297   ;
       
 11298   return 0;
       
 11299 }
       
 11300 _ACEOF
       
 11301 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11302 if { (ac_try="$ac_link"
       
 11303 case "(($ac_try" in
       
 11304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11305   *) ac_try_echo=$ac_try;;
       
 11306 esac
       
 11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11308   (eval "$ac_link") 2>conftest.er1
       
 11309   ac_status=$?
       
 11310   grep -v '^ *+' conftest.er1 >conftest.err
       
 11311   rm -f conftest.er1
       
 11312   cat conftest.err >&5
       
 11313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11314   (exit $ac_status); } &&
       
 11315 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 11316   { (case "(($ac_try" in
       
 11317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11318   *) ac_try_echo=$ac_try;;
       
 11319 esac
       
 11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11321   (eval "$ac_try") 2>&5
       
 11322   ac_status=$?
       
 11323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11324   (exit $ac_status); }; } &&
       
 11325 	 { ac_try='test -s conftest$ac_exeext'
       
 11326   { (case "(($ac_try" in
       
 11327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11328   *) ac_try_echo=$ac_try;;
       
 11329 esac
       
 11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11331   (eval "$ac_try") 2>&5
       
 11332   ac_status=$?
       
 11333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11334   (exit $ac_status); }; }; then
       
 11335 
       
 11336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11337 }'`
       
 11338 # Check for a 64-bit object if we didn't find anything.
       
 11339 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11340 }'`; fi
       
 11341 else
       
 11342   echo "$as_me: failed program was:" >&5
       
 11343 sed 's/^/| /' conftest.$ac_ext >&5
       
 11344 
       
 11345 
       
 11346 fi
       
 11347 
       
 11348 rm -f core conftest.err conftest.$ac_objext \
       
 11349       conftest$ac_exeext conftest.$ac_ext
       
 11350 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 11351 
       
 11352       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 11353 
       
 11354       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"
       
 11355      else
       
 11356       if test "$host_cpu" = ia64; then
       
 11357 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
       
 11358 	allow_undefined_flag_CXX="-z nodefs"
       
 11359 	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"
       
 11360       else
       
 11361 	# Determine the default libpath from the value encoded in an empty executable.
       
 11362 	cat >conftest.$ac_ext <<_ACEOF
       
 11363 /* confdefs.h.  */
       
 11364 _ACEOF
       
 11365 cat confdefs.h >>conftest.$ac_ext
       
 11366 cat >>conftest.$ac_ext <<_ACEOF
       
 11367 /* end confdefs.h.  */
       
 11368 
       
 11369 int
       
 11370 main ()
       
 11371 {
       
 11372 
       
 11373   ;
       
 11374   return 0;
       
 11375 }
       
 11376 _ACEOF
       
 11377 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11378 if { (ac_try="$ac_link"
       
 11379 case "(($ac_try" in
       
 11380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11381   *) ac_try_echo=$ac_try;;
       
 11382 esac
       
 11383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11384   (eval "$ac_link") 2>conftest.er1
       
 11385   ac_status=$?
       
 11386   grep -v '^ *+' conftest.er1 >conftest.err
       
 11387   rm -f conftest.er1
       
 11388   cat conftest.err >&5
       
 11389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11390   (exit $ac_status); } &&
       
 11391 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 11392   { (case "(($ac_try" in
       
 11393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11394   *) ac_try_echo=$ac_try;;
       
 11395 esac
       
 11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11397   (eval "$ac_try") 2>&5
       
 11398   ac_status=$?
       
 11399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11400   (exit $ac_status); }; } &&
       
 11401 	 { ac_try='test -s conftest$ac_exeext'
       
 11402   { (case "(($ac_try" in
       
 11403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11404   *) ac_try_echo=$ac_try;;
       
 11405 esac
       
 11406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11407   (eval "$ac_try") 2>&5
       
 11408   ac_status=$?
       
 11409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11410   (exit $ac_status); }; }; then
       
 11411 
       
 11412 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11413 }'`
       
 11414 # Check for a 64-bit object if we didn't find anything.
       
 11415 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11416 }'`; fi
       
 11417 else
       
 11418   echo "$as_me: failed program was:" >&5
       
 11419 sed 's/^/| /' conftest.$ac_ext >&5
       
 11420 
       
 11421 
       
 11422 fi
       
 11423 
       
 11424 rm -f core conftest.err conftest.$ac_objext \
       
 11425       conftest$ac_exeext conftest.$ac_ext
       
 11426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 11427 
       
 11428 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 11429 	# Warning - without using the other run time loading flags,
       
 11430 	# -berok will link without error, but may produce a broken library.
       
 11431 	no_undefined_flag_CXX=' ${wl}-bernotok'
       
 11432 	allow_undefined_flag_CXX=' ${wl}-berok'
       
 11433 	# Exported symbols can be pulled into shared objects from archives
       
 11434 	whole_archive_flag_spec_CXX='$convenience'
       
 11435 	archive_cmds_need_lc_CXX=yes
       
 11436 	# This is similar to how AIX traditionally builds its shared libraries.
       
 11437 	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'
       
 11438       fi
       
 11439     fi
       
 11440     ;;
       
 11441 
       
 11442   beos*)
       
 11443     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 11444       allow_undefined_flag_CXX=unsupported
       
 11445       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 11446       # support --undefined.  This deserves some investigation.  FIXME
       
 11447       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11448     else
       
 11449       ld_shlibs_CXX=no
       
 11450     fi
       
 11451     ;;
       
 11452 
       
 11453   chorus*)
       
 11454     case $cc_basename in
       
 11455       *)
       
 11456 	# FIXME: insert proper C++ library support
       
 11457 	ld_shlibs_CXX=no
       
 11458 	;;
       
 11459     esac
       
 11460     ;;
       
 11461 
       
 11462   cygwin* | mingw* | pw32*)
       
 11463     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
       
 11464     # as there is no search path for DLLs.
       
 11465     hardcode_libdir_flag_spec_CXX='-L$libdir'
       
 11466     allow_undefined_flag_CXX=unsupported
       
 11467     always_export_symbols_CXX=no
       
 11468     enable_shared_with_static_runtimes_CXX=yes
       
 11469 
       
 11470     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 11471       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'
       
 11472       # If the export-symbols file already is a .def file (1st line
       
 11473       # is EXPORTS), use it as is; otherwise, prepend...
       
 11474       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 11475 	cp $export_symbols $output_objdir/$soname.def;
       
 11476       else
       
 11477 	echo EXPORTS > $output_objdir/$soname.def;
       
 11478 	cat $export_symbols >> $output_objdir/$soname.def;
       
 11479       fi~
       
 11480       $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'
       
 11481     else
       
 11482       ld_shlibs_CXX=no
       
 11483     fi
       
 11484   ;;
       
 11485       darwin* | rhapsody*)
       
 11486         case $host_os in
       
 11487         rhapsody* | darwin1.[012])
       
 11488          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
       
 11489          ;;
       
 11490        *) # Darwin 1.3 on
       
 11491          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 11492            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 11493          else
       
 11494            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 11495              10.[012])
       
 11496                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 11497                ;;
       
 11498              10.*)
       
 11499                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
       
 11500                ;;
       
 11501            esac
       
 11502          fi
       
 11503          ;;
       
 11504         esac
       
 11505       archive_cmds_need_lc_CXX=no
       
 11506       hardcode_direct_CXX=no
       
 11507       hardcode_automatic_CXX=yes
       
 11508       hardcode_shlibpath_var_CXX=unsupported
       
 11509       whole_archive_flag_spec_CXX=''
       
 11510       link_all_deplibs_CXX=yes
       
 11511 
       
 11512     if test "$GXX" = yes ; then
       
 11513       lt_int_apple_cc_single_mod=no
       
 11514       output_verbose_link_cmd='echo'
       
 11515       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
       
 11516        lt_int_apple_cc_single_mod=yes
       
 11517       fi
       
 11518       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
       
 11519        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 11520       else
       
 11521           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'
       
 11522         fi
       
 11523         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 11524         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 11525           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
       
 11526             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 11527           else
       
 11528             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 11529           fi
       
 11530             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}'
       
 11531       else
       
 11532       case $cc_basename in
       
 11533         xlc*)
       
 11534          output_verbose_link_cmd='echo'
       
 11535           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
 11536           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 11537           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 11538           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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 11539           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}'
       
 11540           ;;
       
 11541        *)
       
 11542          ld_shlibs_CXX=no
       
 11543           ;;
       
 11544       esac
       
 11545       fi
       
 11546         ;;
       
 11547 
       
 11548   dgux*)
       
 11549     case $cc_basename in
       
 11550       ec++*)
       
 11551 	# FIXME: insert proper C++ library support
       
 11552 	ld_shlibs_CXX=no
       
 11553 	;;
       
 11554       ghcx*)
       
 11555 	# Green Hills C++ Compiler
       
 11556 	# FIXME: insert proper C++ library support
       
 11557 	ld_shlibs_CXX=no
       
 11558 	;;
       
 11559       *)
       
 11560 	# FIXME: insert proper C++ library support
       
 11561 	ld_shlibs_CXX=no
       
 11562 	;;
       
 11563     esac
       
 11564     ;;
       
 11565   freebsd[12]*)
       
 11566     # C++ shared libraries reported to be fairly broken before switch to ELF
       
 11567     ld_shlibs_CXX=no
       
 11568     ;;
       
 11569   freebsd-elf*)
       
 11570     archive_cmds_need_lc_CXX=no
       
 11571     ;;
       
 11572   freebsd* | kfreebsd*-gnu | dragonfly*)
       
 11573     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
       
 11574     # conventions
       
 11575     ld_shlibs_CXX=yes
       
 11576     ;;
       
 11577   gnu*)
       
 11578     ;;
       
 11579   hpux9*)
       
 11580     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
       
 11581     hardcode_libdir_separator_CXX=:
       
 11582     export_dynamic_flag_spec_CXX='${wl}-E'
       
 11583     hardcode_direct_CXX=yes
       
 11584     hardcode_minus_L_CXX=yes # Not in the search PATH,
       
 11585 				# but as the default
       
 11586 				# location of the library.
       
 11587 
       
 11588     case $cc_basename in
       
 11589     CC*)
       
 11590       # FIXME: insert proper C++ library support
       
 11591       ld_shlibs_CXX=no
       
 11592       ;;
       
 11593     aCC*)
       
 11594       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'
       
 11595       # Commands to make compiler produce verbose output that lists
       
 11596       # what "hidden" libraries, object files and flags are used when
       
 11597       # linking a shared library.
       
 11598       #
       
 11599       # There doesn't appear to be a way to prevent this compiler from
       
 11600       # explicitly linking system object files so we need to strip them
       
 11601       # from the output so that they don't get included in the library
       
 11602       # dependencies.
       
 11603       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'
       
 11604       ;;
       
 11605     *)
       
 11606       if test "$GXX" = yes; then
       
 11607         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'
       
 11608       else
       
 11609         # FIXME: insert proper C++ library support
       
 11610         ld_shlibs_CXX=no
       
 11611       fi
       
 11612       ;;
       
 11613     esac
       
 11614     ;;
       
 11615   hpux10*|hpux11*)
       
 11616     if test $with_gnu_ld = no; then
       
 11617       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
       
 11618       hardcode_libdir_separator_CXX=:
       
 11619 
       
 11620       case $host_cpu in
       
 11621       hppa*64*|ia64*)
       
 11622 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
       
 11623         ;;
       
 11624       *)
       
 11625 	export_dynamic_flag_spec_CXX='${wl}-E'
       
 11626         ;;
       
 11627       esac
       
 11628     fi
       
 11629     case $host_cpu in
       
 11630     hppa*64*|ia64*)
       
 11631       hardcode_direct_CXX=no
       
 11632       hardcode_shlibpath_var_CXX=no
       
 11633       ;;
       
 11634     *)
       
 11635       hardcode_direct_CXX=yes
       
 11636       hardcode_minus_L_CXX=yes # Not in the search PATH,
       
 11637 					      # but as the default
       
 11638 					      # location of the library.
       
 11639       ;;
       
 11640     esac
       
 11641 
       
 11642     case $cc_basename in
       
 11643       CC*)
       
 11644 	# FIXME: insert proper C++ library support
       
 11645 	ld_shlibs_CXX=no
       
 11646 	;;
       
 11647       aCC*)
       
 11648 	case $host_cpu in
       
 11649 	hppa*64*)
       
 11650 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11651 	  ;;
       
 11652 	ia64*)
       
 11653 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11654 	  ;;
       
 11655 	*)
       
 11656 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11657 	  ;;
       
 11658 	esac
       
 11659 	# Commands to make compiler produce verbose output that lists
       
 11660 	# what "hidden" libraries, object files and flags are used when
       
 11661 	# linking a shared library.
       
 11662 	#
       
 11663 	# There doesn't appear to be a way to prevent this compiler from
       
 11664 	# explicitly linking system object files so we need to strip them
       
 11665 	# from the output so that they don't get included in the library
       
 11666 	# dependencies.
       
 11667 	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'
       
 11668 	;;
       
 11669       *)
       
 11670 	if test "$GXX" = yes; then
       
 11671 	  if test $with_gnu_ld = no; then
       
 11672 	    case $host_cpu in
       
 11673 	    hppa*64*)
       
 11674 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11675 	      ;;
       
 11676 	    ia64*)
       
 11677 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11678 	      ;;
       
 11679 	    *)
       
 11680 	      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'
       
 11681 	      ;;
       
 11682 	    esac
       
 11683 	  fi
       
 11684 	else
       
 11685 	  # FIXME: insert proper C++ library support
       
 11686 	  ld_shlibs_CXX=no
       
 11687 	fi
       
 11688 	;;
       
 11689     esac
       
 11690     ;;
       
 11691   interix3*)
       
 11692     hardcode_direct_CXX=no
       
 11693     hardcode_shlibpath_var_CXX=no
       
 11694     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11695     export_dynamic_flag_spec_CXX='${wl}-E'
       
 11696     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 11697     # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 11698     # default) and relocated if they conflict, which is a slow very memory
       
 11699     # consuming and fragmenting process.  To avoid this, we pick a random,
       
 11700     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 11701     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 11702     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'
       
 11703     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'
       
 11704     ;;
       
 11705   irix5* | irix6*)
       
 11706     case $cc_basename in
       
 11707       CC*)
       
 11708 	# SGI C++
       
 11709 	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'
       
 11710 
       
 11711 	# Archives containing C++ object files must be created using
       
 11712 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
       
 11713 	# necessary to make sure instantiated templates are included
       
 11714 	# in the archive.
       
 11715 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
       
 11716 	;;
       
 11717       *)
       
 11718 	if test "$GXX" = yes; then
       
 11719 	  if test "$with_gnu_ld" = no; then
       
 11720 	    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'
       
 11721 	  else
       
 11722 	    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'
       
 11723 	  fi
       
 11724 	fi
       
 11725 	link_all_deplibs_CXX=yes
       
 11726 	;;
       
 11727     esac
       
 11728     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 11729     hardcode_libdir_separator_CXX=:
       
 11730     ;;
       
 11731   linux*)
       
 11732     case $cc_basename in
       
 11733       KCC*)
       
 11734 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 11735 
       
 11736 	# KCC will only create a shared library if the output file
       
 11737 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 11738 	# to its proper name (with version) after linking.
       
 11739 	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'
       
 11740 	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'
       
 11741 	# Commands to make compiler produce verbose output that lists
       
 11742 	# what "hidden" libraries, object files and flags are used when
       
 11743 	# linking a shared library.
       
 11744 	#
       
 11745 	# There doesn't appear to be a way to prevent this compiler from
       
 11746 	# explicitly linking system object files so we need to strip them
       
 11747 	# from the output so that they don't get included in the library
       
 11748 	# dependencies.
       
 11749 	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'
       
 11750 
       
 11751 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
       
 11752 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 11753 
       
 11754 	# Archives containing C++ object files must be created using
       
 11755 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
       
 11756 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
       
 11757 	;;
       
 11758       icpc*)
       
 11759 	# Intel C++
       
 11760 	with_gnu_ld=yes
       
 11761 	# version 8.0 and above of icpc choke on multiply defined symbols
       
 11762 	# if we add $predep_objects and $postdep_objects, however 7.1 and
       
 11763 	# earlier do not add the objects themselves.
       
 11764 	case `$CC -V 2>&1` in
       
 11765 	*"Version 7."*)
       
 11766   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11767   	  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'
       
 11768 	  ;;
       
 11769 	*)  # Version 8.0 or newer
       
 11770 	  tmp_idyn=
       
 11771 	  case $host_cpu in
       
 11772 	    ia64*) tmp_idyn=' -i_dynamic';;
       
 11773 	  esac
       
 11774   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11775 	  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'
       
 11776 	  ;;
       
 11777 	esac
       
 11778 	archive_cmds_need_lc_CXX=no
       
 11779 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11780 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 11781 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
       
 11782 	;;
       
 11783       pgCC*)
       
 11784         # Portland Group C++ compiler
       
 11785 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
       
 11786   	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'
       
 11787 
       
 11788 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
       
 11789 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 11790 	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'
       
 11791         ;;
       
 11792       cxx*)
       
 11793 	# Compaq C++
       
 11794 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11795 	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'
       
 11796 
       
 11797 	runpath_var=LD_RUN_PATH
       
 11798 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
       
 11799 	hardcode_libdir_separator_CXX=:
       
 11800 
       
 11801 	# Commands to make compiler produce verbose output that lists
       
 11802 	# what "hidden" libraries, object files and flags are used when
       
 11803 	# linking a shared library.
       
 11804 	#
       
 11805 	# There doesn't appear to be a way to prevent this compiler from
       
 11806 	# explicitly linking system object files so we need to strip them
       
 11807 	# from the output so that they don't get included in the library
       
 11808 	# dependencies.
       
 11809 	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'
       
 11810 	;;
       
 11811     esac
       
 11812     ;;
       
 11813   lynxos*)
       
 11814     # FIXME: insert proper C++ library support
       
 11815     ld_shlibs_CXX=no
       
 11816     ;;
       
 11817   m88k*)
       
 11818     # FIXME: insert proper C++ library support
       
 11819     ld_shlibs_CXX=no
       
 11820     ;;
       
 11821   mvs*)
       
 11822     case $cc_basename in
       
 11823       cxx*)
       
 11824 	# FIXME: insert proper C++ library support
       
 11825 	ld_shlibs_CXX=no
       
 11826 	;;
       
 11827       *)
       
 11828 	# FIXME: insert proper C++ library support
       
 11829 	ld_shlibs_CXX=no
       
 11830 	;;
       
 11831     esac
       
 11832     ;;
       
 11833   netbsd*)
       
 11834     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 11835       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
       
 11836       wlarc=
       
 11837       hardcode_libdir_flag_spec_CXX='-R$libdir'
       
 11838       hardcode_direct_CXX=yes
       
 11839       hardcode_shlibpath_var_CXX=no
       
 11840     fi
       
 11841     # Workaround some broken pre-1.5 toolchains
       
 11842     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
       
 11843     ;;
       
 11844   openbsd2*)
       
 11845     # C++ shared libraries are fairly broken
       
 11846     ld_shlibs_CXX=no
       
 11847     ;;
       
 11848   openbsd*)
       
 11849     hardcode_direct_CXX=yes
       
 11850     hardcode_shlibpath_var_CXX=no
       
 11851     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       
 11852     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11853     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 11854       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
       
 11855       export_dynamic_flag_spec_CXX='${wl}-E'
       
 11856       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 11857     fi
       
 11858     output_verbose_link_cmd='echo'
       
 11859     ;;
       
 11860   osf3*)
       
 11861     case $cc_basename in
       
 11862       KCC*)
       
 11863 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 11864 
       
 11865 	# KCC will only create a shared library if the output file
       
 11866 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 11867 	# to its proper name (with version) after linking.
       
 11868 	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'
       
 11869 
       
 11870 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11871 	hardcode_libdir_separator_CXX=:
       
 11872 
       
 11873 	# Archives containing C++ object files must be created using
       
 11874 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
       
 11875 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
       
 11876 
       
 11877 	;;
       
 11878       RCC*)
       
 11879 	# Rational C++ 2.4.1
       
 11880 	# FIXME: insert proper C++ library support
       
 11881 	ld_shlibs_CXX=no
       
 11882 	;;
       
 11883       cxx*)
       
 11884 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 11885 	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'
       
 11886 
       
 11887 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 11888 	hardcode_libdir_separator_CXX=:
       
 11889 
       
 11890 	# Commands to make compiler produce verbose output that lists
       
 11891 	# what "hidden" libraries, object files and flags are used when
       
 11892 	# linking a shared library.
       
 11893 	#
       
 11894 	# There doesn't appear to be a way to prevent this compiler from
       
 11895 	# explicitly linking system object files so we need to strip them
       
 11896 	# from the output so that they don't get included in the library
       
 11897 	# dependencies.
       
 11898 	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'
       
 11899 	;;
       
 11900       *)
       
 11901 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 11902 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 11903 	  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'
       
 11904 
       
 11905 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 11906 	  hardcode_libdir_separator_CXX=:
       
 11907 
       
 11908 	  # Commands to make compiler produce verbose output that lists
       
 11909 	  # what "hidden" libraries, object files and flags are used when
       
 11910 	  # linking a shared library.
       
 11911 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 11912 
       
 11913 	else
       
 11914 	  # FIXME: insert proper C++ library support
       
 11915 	  ld_shlibs_CXX=no
       
 11916 	fi
       
 11917 	;;
       
 11918     esac
       
 11919     ;;
       
 11920   osf4* | osf5*)
       
 11921     case $cc_basename in
       
 11922       KCC*)
       
 11923 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 11924 
       
 11925 	# KCC will only create a shared library if the output file
       
 11926 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 11927 	# to its proper name (with version) after linking.
       
 11928 	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'
       
 11929 
       
 11930 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11931 	hardcode_libdir_separator_CXX=:
       
 11932 
       
 11933 	# Archives containing C++ object files must be created using
       
 11934 	# the KAI C++ compiler.
       
 11935 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
       
 11936 	;;
       
 11937       RCC*)
       
 11938 	# Rational C++ 2.4.1
       
 11939 	# FIXME: insert proper C++ library support
       
 11940 	ld_shlibs_CXX=no
       
 11941 	;;
       
 11942       cxx*)
       
 11943 	allow_undefined_flag_CXX=' -expect_unresolved \*'
       
 11944 	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'
       
 11945 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
       
 11946 	  echo "-hidden">> $lib.exp~
       
 11947 	  $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~
       
 11948 	  $rm $lib.exp'
       
 11949 
       
 11950 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
       
 11951 	hardcode_libdir_separator_CXX=:
       
 11952 
       
 11953 	# Commands to make compiler produce verbose output that lists
       
 11954 	# what "hidden" libraries, object files and flags are used when
       
 11955 	# linking a shared library.
       
 11956 	#
       
 11957 	# There doesn't appear to be a way to prevent this compiler from
       
 11958 	# explicitly linking system object files so we need to strip them
       
 11959 	# from the output so that they don't get included in the library
       
 11960 	# dependencies.
       
 11961 	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'
       
 11962 	;;
       
 11963       *)
       
 11964 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 11965 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 11966 	 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'
       
 11967 
       
 11968 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 11969 	  hardcode_libdir_separator_CXX=:
       
 11970 
       
 11971 	  # Commands to make compiler produce verbose output that lists
       
 11972 	  # what "hidden" libraries, object files and flags are used when
       
 11973 	  # linking a shared library.
       
 11974 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 11975 
       
 11976 	else
       
 11977 	  # FIXME: insert proper C++ library support
       
 11978 	  ld_shlibs_CXX=no
       
 11979 	fi
       
 11980 	;;
       
 11981     esac
       
 11982     ;;
       
 11983   psos*)
       
 11984     # FIXME: insert proper C++ library support
       
 11985     ld_shlibs_CXX=no
       
 11986     ;;
       
 11987   sunos4*)
       
 11988     case $cc_basename in
       
 11989       CC*)
       
 11990 	# Sun C++ 4.x
       
 11991 	# FIXME: insert proper C++ library support
       
 11992 	ld_shlibs_CXX=no
       
 11993 	;;
       
 11994       lcc*)
       
 11995 	# Lucid
       
 11996 	# FIXME: insert proper C++ library support
       
 11997 	ld_shlibs_CXX=no
       
 11998 	;;
       
 11999       *)
       
 12000 	# FIXME: insert proper C++ library support
       
 12001 	ld_shlibs_CXX=no
       
 12002 	;;
       
 12003     esac
       
 12004     ;;
       
 12005   solaris*)
       
 12006     case $cc_basename in
       
 12007       CC*)
       
 12008 	# Sun C++ 4.2, 5.x and Centerline C++
       
 12009         archive_cmds_need_lc_CXX=yes
       
 12010 	no_undefined_flag_CXX=' -zdefs'
       
 12011 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 12012 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12013 	$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'
       
 12014 
       
 12015 	hardcode_libdir_flag_spec_CXX='-R$libdir'
       
 12016 	hardcode_shlibpath_var_CXX=no
       
 12017 	case $host_os in
       
 12018 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 12019 	  *)
       
 12020 	    # The C++ compiler is used as linker so we must use $wl
       
 12021 	    # flag to pass the commands to the underlying system
       
 12022 	    # linker. We must also pass each convience library through
       
 12023 	    # to the system linker between allextract/defaultextract.
       
 12024 	    # The C++ compiler will combine linker options so we
       
 12025 	    # cannot just pass the convience library names through
       
 12026 	    # without $wl.
       
 12027 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
       
 12028 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
       
 12029 	    ;;
       
 12030 	esac
       
 12031 	link_all_deplibs_CXX=yes
       
 12032 
       
 12033 	output_verbose_link_cmd='echo'
       
 12034 
       
 12035 	# Archives containing C++ object files must be created using
       
 12036 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
       
 12037 	# necessary to make sure instantiated templates are included
       
 12038 	# in the archive.
       
 12039 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
       
 12040 	;;
       
 12041       gcx*)
       
 12042 	# Green Hills C++ Compiler
       
 12043 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12044 
       
 12045 	# The C++ compiler must be used to create the archive.
       
 12046 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
       
 12047 	;;
       
 12048       *)
       
 12049 	# GNU C++ compiler with Solaris linker
       
 12050 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 12051 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
       
 12052 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
       
 12053 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12054 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12055 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
       
 12056 
       
 12057 	    # Commands to make compiler produce verbose output that lists
       
 12058 	    # what "hidden" libraries, object files and flags are used when
       
 12059 	    # linking a shared library.
       
 12060 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
       
 12061 	  else
       
 12062 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
       
 12063 	    # platform.
       
 12064 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12065 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12066 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
       
 12067 
       
 12068 	    # Commands to make compiler produce verbose output that lists
       
 12069 	    # what "hidden" libraries, object files and flags are used when
       
 12070 	    # linking a shared library.
       
 12071 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
       
 12072 	  fi
       
 12073 
       
 12074 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
       
 12075 	fi
       
 12076 	;;
       
 12077     esac
       
 12078     ;;
       
 12079   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
       
 12080     no_undefined_flag_CXX='${wl}-z,text'
       
 12081     archive_cmds_need_lc_CXX=no
       
 12082     hardcode_shlibpath_var_CXX=no
       
 12083     runpath_var='LD_RUN_PATH'
       
 12084 
       
 12085     case $cc_basename in
       
 12086       CC*)
       
 12087 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12088 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12089 	;;
       
 12090       *)
       
 12091 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12092 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12093 	;;
       
 12094     esac
       
 12095     ;;
       
 12096   sysv5* | sco3.2v5* | sco5v6*)
       
 12097     # Note: We can NOT use -z defs as we might desire, because we do not
       
 12098     # link with -lc, and that would cause any symbols used from libc to
       
 12099     # always be unresolved, which means just about no library would
       
 12100     # ever link correctly.  If we're not using GNU ld we use -z text
       
 12101     # though, which does catch some bad symbols but isn't as heavy-handed
       
 12102     # as -z defs.
       
 12103     # For security reasons, it is highly recommended that you always
       
 12104     # use absolute paths for naming shared libraries, and exclude the
       
 12105     # DT_RUNPATH tag from executables and libraries.  But doing so
       
 12106     # requires that you compile everything twice, which is a pain.
       
 12107     # So that behaviour is only enabled if SCOABSPATH is set to a
       
 12108     # non-empty value in the environment.  Most likely only useful for
       
 12109     # creating official distributions of packages.
       
 12110     # This is a hack until libtool officially supports absolute path
       
 12111     # names for shared libraries.
       
 12112     no_undefined_flag_CXX='${wl}-z,text'
       
 12113     allow_undefined_flag_CXX='${wl}-z,nodefs'
       
 12114     archive_cmds_need_lc_CXX=no
       
 12115     hardcode_shlibpath_var_CXX=no
       
 12116     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 12117     hardcode_libdir_separator_CXX=':'
       
 12118     link_all_deplibs_CXX=yes
       
 12119     export_dynamic_flag_spec_CXX='${wl}-Bexport'
       
 12120     runpath_var='LD_RUN_PATH'
       
 12121 
       
 12122     case $cc_basename in
       
 12123       CC*)
       
 12124 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12125 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12126 	;;
       
 12127       *)
       
 12128 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12129 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12130 	;;
       
 12131     esac
       
 12132     ;;
       
 12133   tandem*)
       
 12134     case $cc_basename in
       
 12135       NCC*)
       
 12136 	# NonStop-UX NCC 3.20
       
 12137 	# FIXME: insert proper C++ library support
       
 12138 	ld_shlibs_CXX=no
       
 12139 	;;
       
 12140       *)
       
 12141 	# FIXME: insert proper C++ library support
       
 12142 	ld_shlibs_CXX=no
       
 12143 	;;
       
 12144     esac
       
 12145     ;;
       
 12146   vxworks*)
       
 12147     # FIXME: insert proper C++ library support
       
 12148     ld_shlibs_CXX=no
       
 12149     ;;
       
 12150   *)
       
 12151     # FIXME: insert proper C++ library support
       
 12152     ld_shlibs_CXX=no
       
 12153     ;;
       
 12154 esac
       
 12155 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
       
 12156 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
       
 12157 test "$ld_shlibs_CXX" = no && can_build_shared=no
       
 12158 
       
 12159 GCC_CXX="$GXX"
       
 12160 LD_CXX="$LD"
       
 12161 
       
 12162 
       
 12163 cat > conftest.$ac_ext <<EOF
       
 12164 class Foo
       
 12165 {
       
 12166 public:
       
 12167   Foo (void) { a = 0; }
       
 12168 private:
       
 12169   int a;
       
 12170 };
       
 12171 EOF
       
 12172 
       
 12173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 12174   (eval $ac_compile) 2>&5
       
 12175   ac_status=$?
       
 12176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12177   (exit $ac_status); }; then
       
 12178   # Parse the compiler output and extract the necessary
       
 12179   # objects, libraries and library flags.
       
 12180 
       
 12181   # Sentinel used to keep track of whether or not we are before
       
 12182   # the conftest object file.
       
 12183   pre_test_object_deps_done=no
       
 12184 
       
 12185   # The `*' in the case matches for architectures that use `case' in
       
 12186   # $output_verbose_cmd can trigger glob expansion during the loop
       
 12187   # eval without this substitution.
       
 12188   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
       
 12189 
       
 12190   for p in `eval $output_verbose_link_cmd`; do
       
 12191     case $p in
       
 12192 
       
 12193     -L* | -R* | -l*)
       
 12194        # Some compilers place space between "-{L,R}" and the path.
       
 12195        # Remove the space.
       
 12196        if test $p = "-L" \
       
 12197 	  || test $p = "-R"; then
       
 12198 	 prev=$p
       
 12199 	 continue
       
 12200        else
       
 12201 	 prev=
       
 12202        fi
       
 12203 
       
 12204        if test "$pre_test_object_deps_done" = no; then
       
 12205 	 case $p in
       
 12206 	 -L* | -R*)
       
 12207 	   # Internal compiler library paths should come after those
       
 12208 	   # provided the user.  The postdeps already come after the
       
 12209 	   # user supplied libs so there is no need to process them.
       
 12210 	   if test -z "$compiler_lib_search_path_CXX"; then
       
 12211 	     compiler_lib_search_path_CXX="${prev}${p}"
       
 12212 	   else
       
 12213 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
       
 12214 	   fi
       
 12215 	   ;;
       
 12216 	 # The "-l" case would never come before the object being
       
 12217 	 # linked, so don't bother handling this case.
       
 12218 	 esac
       
 12219        else
       
 12220 	 if test -z "$postdeps_CXX"; then
       
 12221 	   postdeps_CXX="${prev}${p}"
       
 12222 	 else
       
 12223 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
       
 12224 	 fi
       
 12225        fi
       
 12226        ;;
       
 12227 
       
 12228     *.$objext)
       
 12229        # This assumes that the test object file only shows up
       
 12230        # once in the compiler output.
       
 12231        if test "$p" = "conftest.$objext"; then
       
 12232 	 pre_test_object_deps_done=yes
       
 12233 	 continue
       
 12234        fi
       
 12235 
       
 12236        if test "$pre_test_object_deps_done" = no; then
       
 12237 	 if test -z "$predep_objects_CXX"; then
       
 12238 	   predep_objects_CXX="$p"
       
 12239 	 else
       
 12240 	   predep_objects_CXX="$predep_objects_CXX $p"
       
 12241 	 fi
       
 12242        else
       
 12243 	 if test -z "$postdep_objects_CXX"; then
       
 12244 	   postdep_objects_CXX="$p"
       
 12245 	 else
       
 12246 	   postdep_objects_CXX="$postdep_objects_CXX $p"
       
 12247 	 fi
       
 12248        fi
       
 12249        ;;
       
 12250 
       
 12251     *) ;; # Ignore the rest.
       
 12252 
       
 12253     esac
       
 12254   done
       
 12255 
       
 12256   # Clean up.
       
 12257   rm -f a.out a.exe
       
 12258 else
       
 12259   echo "libtool.m4: error: problem compiling CXX test program"
       
 12260 fi
       
 12261 
       
 12262 $rm -f confest.$objext
       
 12263 
       
 12264 # PORTME: override above test on systems where it is broken
       
 12265 case $host_os in
       
 12266 interix3*)
       
 12267   # Interix 3.5 installs completely hosed .la files for C++, so rather than
       
 12268   # hack all around it, let's just trust "g++" to DTRT.
       
 12269   predep_objects_CXX=
       
 12270   postdep_objects_CXX=
       
 12271   postdeps_CXX=
       
 12272   ;;
       
 12273 
       
 12274 solaris*)
       
 12275   case $cc_basename in
       
 12276   CC*)
       
 12277     # Adding this requires a known-good setup of shared libraries for
       
 12278     # Sun compiler versions before 5.6, else PIC objects from an old
       
 12279     # archive will be linked into the output, leading to subtle bugs.
       
 12280     postdeps_CXX='-lCstd -lCrun'
       
 12281     ;;
       
 12282   esac
       
 12283   ;;
       
 12284 esac
       
 12285 
       
 12286 
       
 12287 case " $postdeps_CXX " in
       
 12288 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
       
 12289 esac
       
 12290 
       
 12291 lt_prog_compiler_wl_CXX=
       
 12292 lt_prog_compiler_pic_CXX=
       
 12293 lt_prog_compiler_static_CXX=
       
 12294 
       
 12295 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 12296 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 12297 
       
 12298   # C++ specific cases for pic, static, wl, etc.
       
 12299   if test "$GXX" = yes; then
       
 12300     lt_prog_compiler_wl_CXX='-Wl,'
       
 12301     lt_prog_compiler_static_CXX='-static'
       
 12302 
       
 12303     case $host_os in
       
 12304     aix*)
       
 12305       # All AIX code is PIC.
       
 12306       if test "$host_cpu" = ia64; then
       
 12307 	# AIX 5 now supports IA64 processor
       
 12308 	lt_prog_compiler_static_CXX='-Bstatic'
       
 12309       fi
       
 12310       ;;
       
 12311     amigaos*)
       
 12312       # FIXME: we need at least 68020 code to build shared libraries, but
       
 12313       # adding the `-m68020' flag to GCC prevents building anything better,
       
 12314       # like `-m68040'.
       
 12315       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
       
 12316       ;;
       
 12317     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 12318       # PIC is the default for these OSes.
       
 12319       ;;
       
 12320     mingw* | os2* | pw32*)
       
 12321       # This hack is so that the source file can tell whether it is being
       
 12322       # built for inclusion in a dll (and should export symbols for example).
       
 12323       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
       
 12324       ;;
       
 12325     darwin* | rhapsody*)
       
 12326       # PIC is the default on this platform
       
 12327       # Common symbols not allowed in MH_DYLIB files
       
 12328       lt_prog_compiler_pic_CXX='-fno-common'
       
 12329       ;;
       
 12330     *djgpp*)
       
 12331       # DJGPP does not support shared libraries at all
       
 12332       lt_prog_compiler_pic_CXX=
       
 12333       ;;
       
 12334     interix3*)
       
 12335       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 12336       # Instead, we relocate shared libraries at runtime.
       
 12337       ;;
       
 12338     sysv4*MP*)
       
 12339       if test -d /usr/nec; then
       
 12340 	lt_prog_compiler_pic_CXX=-Kconform_pic
       
 12341       fi
       
 12342       ;;
       
 12343     hpux*)
       
 12344       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 12345       # not for PA HP-UX.
       
 12346       case $host_cpu in
       
 12347       hppa*64*|ia64*)
       
 12348 	;;
       
 12349       *)
       
 12350 	lt_prog_compiler_pic_CXX='-fPIC'
       
 12351 	;;
       
 12352       esac
       
 12353       ;;
       
 12354     *)
       
 12355       lt_prog_compiler_pic_CXX='-fPIC'
       
 12356       ;;
       
 12357     esac
       
 12358   else
       
 12359     case $host_os in
       
 12360       aix4* | aix5*)
       
 12361 	# All AIX code is PIC.
       
 12362 	if test "$host_cpu" = ia64; then
       
 12363 	  # AIX 5 now supports IA64 processor
       
 12364 	  lt_prog_compiler_static_CXX='-Bstatic'
       
 12365 	else
       
 12366 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
       
 12367 	fi
       
 12368 	;;
       
 12369       chorus*)
       
 12370 	case $cc_basename in
       
 12371 	cxch68*)
       
 12372 	  # Green Hills C++ Compiler
       
 12373 	  # _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"
       
 12374 	  ;;
       
 12375 	esac
       
 12376 	;;
       
 12377        darwin*)
       
 12378          # PIC is the default on this platform
       
 12379          # Common symbols not allowed in MH_DYLIB files
       
 12380          case $cc_basename in
       
 12381            xlc*)
       
 12382            lt_prog_compiler_pic_CXX='-qnocommon'
       
 12383            lt_prog_compiler_wl_CXX='-Wl,'
       
 12384            ;;
       
 12385          esac
       
 12386        ;;
       
 12387       dgux*)
       
 12388 	case $cc_basename in
       
 12389 	  ec++*)
       
 12390 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12391 	    ;;
       
 12392 	  ghcx*)
       
 12393 	    # Green Hills C++ Compiler
       
 12394 	    lt_prog_compiler_pic_CXX='-pic'
       
 12395 	    ;;
       
 12396 	  *)
       
 12397 	    ;;
       
 12398 	esac
       
 12399 	;;
       
 12400       freebsd* | kfreebsd*-gnu | dragonfly*)
       
 12401 	# FreeBSD uses GNU C++
       
 12402 	;;
       
 12403       hpux9* | hpux10* | hpux11*)
       
 12404 	case $cc_basename in
       
 12405 	  CC*)
       
 12406 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12407 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
       
 12408 	    if test "$host_cpu" != ia64; then
       
 12409 	      lt_prog_compiler_pic_CXX='+Z'
       
 12410 	    fi
       
 12411 	    ;;
       
 12412 	  aCC*)
       
 12413 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12414 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
       
 12415 	    case $host_cpu in
       
 12416 	    hppa*64*|ia64*)
       
 12417 	      # +Z the default
       
 12418 	      ;;
       
 12419 	    *)
       
 12420 	      lt_prog_compiler_pic_CXX='+Z'
       
 12421 	      ;;
       
 12422 	    esac
       
 12423 	    ;;
       
 12424 	  *)
       
 12425 	    ;;
       
 12426 	esac
       
 12427 	;;
       
 12428       interix*)
       
 12429 	# This is c89, which is MS Visual C++ (no shared libs)
       
 12430 	# Anyone wants to do a port?
       
 12431 	;;
       
 12432       irix5* | irix6* | nonstopux*)
       
 12433 	case $cc_basename in
       
 12434 	  CC*)
       
 12435 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12436 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12437 	    # CC pic flag -KPIC is the default.
       
 12438 	    ;;
       
 12439 	  *)
       
 12440 	    ;;
       
 12441 	esac
       
 12442 	;;
       
 12443       linux*)
       
 12444 	case $cc_basename in
       
 12445 	  KCC*)
       
 12446 	    # KAI C++ Compiler
       
 12447 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
       
 12448 	    lt_prog_compiler_pic_CXX='-fPIC'
       
 12449 	    ;;
       
 12450 	  icpc* | ecpc*)
       
 12451 	    # Intel C++
       
 12452 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12453 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12454 	    lt_prog_compiler_static_CXX='-static'
       
 12455 	    ;;
       
 12456 	  pgCC*)
       
 12457 	    # Portland Group C++ compiler.
       
 12458 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12459 	    lt_prog_compiler_pic_CXX='-fpic'
       
 12460 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12461 	    ;;
       
 12462 	  cxx*)
       
 12463 	    # Compaq C++
       
 12464 	    # Make sure the PIC flag is empty.  It appears that all Alpha
       
 12465 	    # Linux and Compaq Tru64 Unix objects are PIC.
       
 12466 	    lt_prog_compiler_pic_CXX=
       
 12467 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12468 	    ;;
       
 12469 	  *)
       
 12470 	    ;;
       
 12471 	esac
       
 12472 	;;
       
 12473       lynxos*)
       
 12474 	;;
       
 12475       m88k*)
       
 12476 	;;
       
 12477       mvs*)
       
 12478 	case $cc_basename in
       
 12479 	  cxx*)
       
 12480 	    lt_prog_compiler_pic_CXX='-W c,exportall'
       
 12481 	    ;;
       
 12482 	  *)
       
 12483 	    ;;
       
 12484 	esac
       
 12485 	;;
       
 12486       netbsd*)
       
 12487 	;;
       
 12488       osf3* | osf4* | osf5*)
       
 12489 	case $cc_basename in
       
 12490 	  KCC*)
       
 12491 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
       
 12492 	    ;;
       
 12493 	  RCC*)
       
 12494 	    # Rational C++ 2.4.1
       
 12495 	    lt_prog_compiler_pic_CXX='-pic'
       
 12496 	    ;;
       
 12497 	  cxx*)
       
 12498 	    # Digital/Compaq C++
       
 12499 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12500 	    # Make sure the PIC flag is empty.  It appears that all Alpha
       
 12501 	    # Linux and Compaq Tru64 Unix objects are PIC.
       
 12502 	    lt_prog_compiler_pic_CXX=
       
 12503 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12504 	    ;;
       
 12505 	  *)
       
 12506 	    ;;
       
 12507 	esac
       
 12508 	;;
       
 12509       psos*)
       
 12510 	;;
       
 12511       solaris*)
       
 12512 	case $cc_basename in
       
 12513 	  CC*)
       
 12514 	    # Sun C++ 4.2, 5.x and Centerline C++
       
 12515 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12516 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12517 	    lt_prog_compiler_wl_CXX='-Qoption ld '
       
 12518 	    ;;
       
 12519 	  gcx*)
       
 12520 	    # Green Hills C++ Compiler
       
 12521 	    lt_prog_compiler_pic_CXX='-PIC'
       
 12522 	    ;;
       
 12523 	  *)
       
 12524 	    ;;
       
 12525 	esac
       
 12526 	;;
       
 12527       sunos4*)
       
 12528 	case $cc_basename in
       
 12529 	  CC*)
       
 12530 	    # Sun C++ 4.x
       
 12531 	    lt_prog_compiler_pic_CXX='-pic'
       
 12532 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12533 	    ;;
       
 12534 	  lcc*)
       
 12535 	    # Lucid
       
 12536 	    lt_prog_compiler_pic_CXX='-pic'
       
 12537 	    ;;
       
 12538 	  *)
       
 12539 	    ;;
       
 12540 	esac
       
 12541 	;;
       
 12542       tandem*)
       
 12543 	case $cc_basename in
       
 12544 	  NCC*)
       
 12545 	    # NonStop-UX NCC 3.20
       
 12546 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12547 	    ;;
       
 12548 	  *)
       
 12549 	    ;;
       
 12550 	esac
       
 12551 	;;
       
 12552       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 12553 	case $cc_basename in
       
 12554 	  CC*)
       
 12555 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12556 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12557 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12558 	    ;;
       
 12559 	esac
       
 12560 	;;
       
 12561       vxworks*)
       
 12562 	;;
       
 12563       *)
       
 12564 	lt_prog_compiler_can_build_shared_CXX=no
       
 12565 	;;
       
 12566     esac
       
 12567   fi
       
 12568 
       
 12569 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
       
 12570 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
       
 12571 
       
 12572 #
       
 12573 # Check to make sure the PIC flag actually works.
       
 12574 #
       
 12575 if test -n "$lt_prog_compiler_pic_CXX"; then
       
 12576 
       
 12577 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
       
 12578 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
       
 12579 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
       
 12580   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12581 else
       
 12582   lt_prog_compiler_pic_works_CXX=no
       
 12583   ac_outfile=conftest.$ac_objext
       
 12584    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 12585    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
       
 12586    # Insert the option either (1) after the last *FLAGS variable, or
       
 12587    # (2) before a word containing "conftest.", or (3) at the end.
       
 12588    # Note that $ac_compile itself does not contain backslashes and begins
       
 12589    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 12590    # The option is referenced via a variable to avoid confusing sed.
       
 12591    lt_compile=`echo "$ac_compile" | $SED \
       
 12592    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 12593    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 12594    -e 's:$: $lt_compiler_flag:'`
       
 12595    (eval echo "\"\$as_me:12595: $lt_compile\"" >&5)
       
 12596    (eval "$lt_compile" 2>conftest.err)
       
 12597    ac_status=$?
       
 12598    cat conftest.err >&5
       
 12599    echo "$as_me:12599: \$? = $ac_status" >&5
       
 12600    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 12601      # The compiler can only warn and ignore the option if not recognized
       
 12602      # So say no if there are warnings other than the usual output.
       
 12603      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 12604      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 12605      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 12606        lt_prog_compiler_pic_works_CXX=yes
       
 12607      fi
       
 12608    fi
       
 12609    $rm conftest*
       
 12610 
       
 12611 fi
       
 12612 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
       
 12613 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
       
 12614 
       
 12615 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
       
 12616     case $lt_prog_compiler_pic_CXX in
       
 12617      "" | " "*) ;;
       
 12618      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
       
 12619      esac
       
 12620 else
       
 12621     lt_prog_compiler_pic_CXX=
       
 12622      lt_prog_compiler_can_build_shared_CXX=no
       
 12623 fi
       
 12624 
       
 12625 fi
       
 12626 case $host_os in
       
 12627   # For platforms which do not support PIC, -DPIC is meaningless:
       
 12628   *djgpp*)
       
 12629     lt_prog_compiler_pic_CXX=
       
 12630     ;;
       
 12631   *)
       
 12632     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
       
 12633     ;;
       
 12634 esac
       
 12635 
       
 12636 #
       
 12637 # Check to make sure the static flag actually works.
       
 12638 #
       
 12639 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
       
 12640 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 12641 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 12642 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
       
 12643   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12644 else
       
 12645   lt_prog_compiler_static_works_CXX=no
       
 12646    save_LDFLAGS="$LDFLAGS"
       
 12647    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 12648    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 12649    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 12650      # The linker can only warn and ignore the option if not recognized
       
 12651      # So say no if there are warnings
       
 12652      if test -s conftest.err; then
       
 12653        # Append any errors to the config.log.
       
 12654        cat conftest.err 1>&5
       
 12655        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 12656        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 12657        if diff conftest.exp conftest.er2 >/dev/null; then
       
 12658          lt_prog_compiler_static_works_CXX=yes
       
 12659        fi
       
 12660      else
       
 12661        lt_prog_compiler_static_works_CXX=yes
       
 12662      fi
       
 12663    fi
       
 12664    $rm conftest*
       
 12665    LDFLAGS="$save_LDFLAGS"
       
 12666 
       
 12667 fi
       
 12668 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
       
 12669 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
       
 12670 
       
 12671 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
       
 12672     :
       
 12673 else
       
 12674     lt_prog_compiler_static_CXX=
       
 12675 fi
       
 12676 
       
 12677 
       
 12678 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 12679 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 12680 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
       
 12681   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12682 else
       
 12683   lt_cv_prog_compiler_c_o_CXX=no
       
 12684    $rm -r conftest 2>/dev/null
       
 12685    mkdir conftest
       
 12686    cd conftest
       
 12687    mkdir out
       
 12688    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 12689 
       
 12690    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 12691    # Insert the option either (1) after the last *FLAGS variable, or
       
 12692    # (2) before a word containing "conftest.", or (3) at the end.
       
 12693    # Note that $ac_compile itself does not contain backslashes and begins
       
 12694    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 12695    lt_compile=`echo "$ac_compile" | $SED \
       
 12696    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 12697    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 12698    -e 's:$: $lt_compiler_flag:'`
       
 12699    (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
       
 12700    (eval "$lt_compile" 2>out/conftest.err)
       
 12701    ac_status=$?
       
 12702    cat out/conftest.err >&5
       
 12703    echo "$as_me:12703: \$? = $ac_status" >&5
       
 12704    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 12705    then
       
 12706      # The compiler can only warn and ignore the option if not recognized
       
 12707      # So say no if there are warnings
       
 12708      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 12709      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 12710      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 12711        lt_cv_prog_compiler_c_o_CXX=yes
       
 12712      fi
       
 12713    fi
       
 12714    chmod u+w . 2>&5
       
 12715    $rm conftest*
       
 12716    # SGI C++ compiler will create directory out/ii_files/ for
       
 12717    # template instantiation
       
 12718    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 12719    $rm out/* && rmdir out
       
 12720    cd ..
       
 12721    rmdir conftest
       
 12722    $rm conftest*
       
 12723 
       
 12724 fi
       
 12725 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
       
 12726 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
       
 12727 
       
 12728 
       
 12729 hard_links="nottested"
       
 12730 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
       
 12731   # do not overwrite the value of need_locks provided by the user
       
 12732   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 12733 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 12734   hard_links=yes
       
 12735   $rm conftest*
       
 12736   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 12737   touch conftest.a
       
 12738   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 12739   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 12740   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 12741 echo "${ECHO_T}$hard_links" >&6; }
       
 12742   if test "$hard_links" = no; then
       
 12743     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 12744 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 12745     need_locks=warn
       
 12746   fi
       
 12747 else
       
 12748   need_locks=no
       
 12749 fi
       
 12750 
       
 12751 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 12752 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 12753 
       
 12754   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 12755   case $host_os in
       
 12756   aix4* | aix5*)
       
 12757     # If we're using GNU nm, then we don't want the "-C" option.
       
 12758     # -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 12759     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 12760       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'
       
 12761     else
       
 12762       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'
       
 12763     fi
       
 12764     ;;
       
 12765   pw32*)
       
 12766     export_symbols_cmds_CXX="$ltdll_cmds"
       
 12767   ;;
       
 12768   cygwin* | mingw*)
       
 12769     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'
       
 12770   ;;
       
 12771   *)
       
 12772     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 12773   ;;
       
 12774   esac
       
 12775 
       
 12776 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
       
 12777 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
       
 12778 test "$ld_shlibs_CXX" = no && can_build_shared=no
       
 12779 
       
 12780 #
       
 12781 # Do we need to explicitly link libc?
       
 12782 #
       
 12783 case "x$archive_cmds_need_lc_CXX" in
       
 12784 x|xyes)
       
 12785   # Assume -lc should be added
       
 12786   archive_cmds_need_lc_CXX=yes
       
 12787 
       
 12788   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 12789     case $archive_cmds_CXX in
       
 12790     *'~'*)
       
 12791       # FIXME: we may have to deal with multi-command sequences.
       
 12792       ;;
       
 12793     '$CC '*)
       
 12794       # Test whether the compiler implicitly links with -lc since on some
       
 12795       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 12796       # to ld, don't add -lc before -lgcc.
       
 12797       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 12798 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 12799       $rm conftest*
       
 12800       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 12801 
       
 12802       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 12803   (eval $ac_compile) 2>&5
       
 12804   ac_status=$?
       
 12805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12806   (exit $ac_status); } 2>conftest.err; then
       
 12807         soname=conftest
       
 12808         lib=conftest
       
 12809         libobjs=conftest.$ac_objext
       
 12810         deplibs=
       
 12811         wl=$lt_prog_compiler_wl_CXX
       
 12812 	pic_flag=$lt_prog_compiler_pic_CXX
       
 12813         compiler_flags=-v
       
 12814         linker_flags=-v
       
 12815         verstring=
       
 12816         output_objdir=.
       
 12817         libname=conftest
       
 12818         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
       
 12819         allow_undefined_flag_CXX=
       
 12820         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 12821   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 12822   ac_status=$?
       
 12823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12824   (exit $ac_status); }
       
 12825         then
       
 12826 	  archive_cmds_need_lc_CXX=no
       
 12827         else
       
 12828 	  archive_cmds_need_lc_CXX=yes
       
 12829         fi
       
 12830         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
       
 12831       else
       
 12832         cat conftest.err 1>&5
       
 12833       fi
       
 12834       $rm conftest*
       
 12835       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
       
 12836 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
       
 12837       ;;
       
 12838     esac
       
 12839   fi
       
 12840   ;;
       
 12841 esac
       
 12842 
       
 12843 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 12844 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 12845 library_names_spec=
       
 12846 libname_spec='lib$name'
       
 12847 soname_spec=
       
 12848 shrext_cmds=".so"
       
 12849 postinstall_cmds=
       
 12850 postuninstall_cmds=
       
 12851 finish_cmds=
       
 12852 finish_eval=
       
 12853 shlibpath_var=
       
 12854 shlibpath_overrides_runpath=unknown
       
 12855 version_type=none
       
 12856 dynamic_linker="$host_os ld.so"
       
 12857 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 12858 if test "$GCC" = yes; then
       
 12859   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 12860   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 12861     # if the path contains ";" then we assume it to be the separator
       
 12862     # otherwise default to the standard path separator (i.e. ":") - it is
       
 12863     # assumed that no part of a normal pathname contains ";" but that should
       
 12864     # okay in the real world where ";" in dirpaths is itself problematic.
       
 12865     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 12866   else
       
 12867     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 12868   fi
       
 12869 else
       
 12870   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 12871 fi
       
 12872 need_lib_prefix=unknown
       
 12873 hardcode_into_libs=no
       
 12874 
       
 12875 # when you set need_version to no, make sure it does not cause -set_version
       
 12876 # flags to be left without arguments
       
 12877 need_version=unknown
       
 12878 
       
 12879 case $host_os in
       
 12880 aix3*)
       
 12881   version_type=linux
       
 12882   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 12883   shlibpath_var=LIBPATH
       
 12884 
       
 12885   # AIX 3 has no versioning support, so we append a major version to the name.
       
 12886   soname_spec='${libname}${release}${shared_ext}$major'
       
 12887   ;;
       
 12888 
       
 12889 aix4* | aix5*)
       
 12890   version_type=linux
       
 12891   need_lib_prefix=no
       
 12892   need_version=no
       
 12893   hardcode_into_libs=yes
       
 12894   if test "$host_cpu" = ia64; then
       
 12895     # AIX 5 supports IA64
       
 12896     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 12897     shlibpath_var=LD_LIBRARY_PATH
       
 12898   else
       
 12899     # With GCC up to 2.95.x, collect2 would create an import file
       
 12900     # for dependence libraries.  The import file would start with
       
 12901     # the line `#! .'.  This would cause the generated library to
       
 12902     # depend on `.', always an invalid library.  This was fixed in
       
 12903     # development snapshots of GCC prior to 3.0.
       
 12904     case $host_os in
       
 12905       aix4 | aix4.[01] | aix4.[01].*)
       
 12906       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 12907 	   echo ' yes '
       
 12908 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 12909 	:
       
 12910       else
       
 12911 	can_build_shared=no
       
 12912       fi
       
 12913       ;;
       
 12914     esac
       
 12915     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 12916     # soname into executable. Probably we can add versioning support to
       
 12917     # collect2, so additional links can be useful in future.
       
 12918     if test "$aix_use_runtimelinking" = yes; then
       
 12919       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 12920       # instead of lib<name>.a to let people know that these are not
       
 12921       # typical AIX shared libraries.
       
 12922       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 12923     else
       
 12924       # We preserve .a as extension for shared libraries through AIX4.2
       
 12925       # and later when we are not doing run time linking.
       
 12926       library_names_spec='${libname}${release}.a $libname.a'
       
 12927       soname_spec='${libname}${release}${shared_ext}$major'
       
 12928     fi
       
 12929     shlibpath_var=LIBPATH
       
 12930   fi
       
 12931   ;;
       
 12932 
       
 12933 amigaos*)
       
 12934   library_names_spec='$libname.ixlibrary $libname.a'
       
 12935   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 12936   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'
       
 12937   ;;
       
 12938 
       
 12939 beos*)
       
 12940   library_names_spec='${libname}${shared_ext}'
       
 12941   dynamic_linker="$host_os ld.so"
       
 12942   shlibpath_var=LIBRARY_PATH
       
 12943   ;;
       
 12944 
       
 12945 bsdi[45]*)
       
 12946   version_type=linux
       
 12947   need_version=no
       
 12948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 12949   soname_spec='${libname}${release}${shared_ext}$major'
       
 12950   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 12951   shlibpath_var=LD_LIBRARY_PATH
       
 12952   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 12953   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 12954   # the default ld.so.conf also contains /usr/contrib/lib and
       
 12955   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 12956   # libtool to hard-code these into programs
       
 12957   ;;
       
 12958 
       
 12959 cygwin* | mingw* | pw32*)
       
 12960   version_type=windows
       
 12961   shrext_cmds=".dll"
       
 12962   need_version=no
       
 12963   need_lib_prefix=no
       
 12964 
       
 12965   case $GCC,$host_os in
       
 12966   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 12967     library_names_spec='$libname.dll.a'
       
 12968     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 12969     postinstall_cmds='base_file=`basename \${file}`~
       
 12970       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 12971       dldir=$destdir/`dirname \$dlpath`~
       
 12972       test -d \$dldir || mkdir -p \$dldir~
       
 12973       $install_prog $dir/$dlname \$dldir/$dlname~
       
 12974       chmod a+x \$dldir/$dlname'
       
 12975     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 12976       dlpath=$dir/\$dldll~
       
 12977        $rm \$dlpath'
       
 12978     shlibpath_overrides_runpath=yes
       
 12979 
       
 12980     case $host_os in
       
 12981     cygwin*)
       
 12982       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 12983       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 12984       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 12985       ;;
       
 12986     mingw*)
       
 12987       # MinGW DLLs use traditional 'lib' prefix
       
 12988       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 12989       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 12990       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 12991         # It is most probably a Windows format PATH printed by
       
 12992         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 12993         # path with ; separators, and with drive letters. We can handle the
       
 12994         # drive letters (cygwin fileutils understands them), so leave them,
       
 12995         # especially as we might pass files found there to a mingw objdump,
       
 12996         # which wouldn't understand a cygwinified path. Ahh.
       
 12997         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 12998       else
       
 12999         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 13000       fi
       
 13001       ;;
       
 13002     pw32*)
       
 13003       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 13004       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 13005       ;;
       
 13006     esac
       
 13007     ;;
       
 13008 
       
 13009   *)
       
 13010     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 13011     ;;
       
 13012   esac
       
 13013   dynamic_linker='Win32 ld.exe'
       
 13014   # FIXME: first we should search . and the directory the executable is in
       
 13015   shlibpath_var=PATH
       
 13016   ;;
       
 13017 
       
 13018 darwin* | rhapsody*)
       
 13019   dynamic_linker="$host_os dyld"
       
 13020   version_type=darwin
       
 13021   need_lib_prefix=no
       
 13022   need_version=no
       
 13023   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 13024   soname_spec='${libname}${release}${major}$shared_ext'
       
 13025   shlibpath_overrides_runpath=yes
       
 13026   shlibpath_var=DYLD_LIBRARY_PATH
       
 13027   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 13028   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 13029   if test "$GCC" = yes; then
       
 13030     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
       
 13031   else
       
 13032     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 13033   fi
       
 13034   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 13035   ;;
       
 13036 
       
 13037 dgux*)
       
 13038   version_type=linux
       
 13039   need_lib_prefix=no
       
 13040   need_version=no
       
 13041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
 13042   soname_spec='${libname}${release}${shared_ext}$major'
       
 13043   shlibpath_var=LD_LIBRARY_PATH
       
 13044   ;;
       
 13045 
       
 13046 freebsd1*)
       
 13047   dynamic_linker=no
       
 13048   ;;
       
 13049 
       
 13050 kfreebsd*-gnu)
       
 13051   version_type=linux
       
 13052   need_lib_prefix=no
       
 13053   need_version=no
       
 13054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13055   soname_spec='${libname}${release}${shared_ext}$major'
       
 13056   shlibpath_var=LD_LIBRARY_PATH
       
 13057   shlibpath_overrides_runpath=no
       
 13058   hardcode_into_libs=yes
       
 13059   dynamic_linker='GNU ld.so'
       
 13060   ;;
       
 13061 
       
 13062 freebsd* | dragonfly*)
       
 13063   # DragonFly does not have aout.  When/if they implement a new
       
 13064   # versioning mechanism, adjust this.
       
 13065   if test -x /usr/bin/objformat; then
       
 13066     objformat=`/usr/bin/objformat`
       
 13067   else
       
 13068     case $host_os in
       
 13069     freebsd[123]*) objformat=aout ;;
       
 13070     *) objformat=elf ;;
       
 13071     esac
       
 13072   fi
       
 13073   version_type=freebsd-$objformat
       
 13074   case $version_type in
       
 13075     freebsd-elf*)
       
 13076       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13077       need_version=no
       
 13078       need_lib_prefix=no
       
 13079       ;;
       
 13080     freebsd-*)
       
 13081       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 13082       need_version=yes
       
 13083       ;;
       
 13084   esac
       
 13085   shlibpath_var=LD_LIBRARY_PATH
       
 13086   case $host_os in
       
 13087   freebsd2*)
       
 13088     shlibpath_overrides_runpath=yes
       
 13089     ;;
       
 13090   freebsd3.[01]* | freebsdelf3.[01]*)
       
 13091     shlibpath_overrides_runpath=yes
       
 13092     hardcode_into_libs=yes
       
 13093     ;;
       
 13094   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 13095   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 13096     shlibpath_overrides_runpath=no
       
 13097     hardcode_into_libs=yes
       
 13098     ;;
       
 13099   freebsd*) # from 4.6 on
       
 13100     shlibpath_overrides_runpath=yes
       
 13101     hardcode_into_libs=yes
       
 13102     ;;
       
 13103   esac
       
 13104   ;;
       
 13105 
       
 13106 gnu*)
       
 13107   version_type=linux
       
 13108   need_lib_prefix=no
       
 13109   need_version=no
       
 13110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 13111   soname_spec='${libname}${release}${shared_ext}$major'
       
 13112   shlibpath_var=LD_LIBRARY_PATH
       
 13113   hardcode_into_libs=yes
       
 13114   ;;
       
 13115 
       
 13116 hpux9* | hpux10* | hpux11*)
       
 13117   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 13118   # link against other versions.
       
 13119   version_type=sunos
       
 13120   need_lib_prefix=no
       
 13121   need_version=no
       
 13122   case $host_cpu in
       
 13123   ia64*)
       
 13124     shrext_cmds='.so'
       
 13125     hardcode_into_libs=yes
       
 13126     dynamic_linker="$host_os dld.so"
       
 13127     shlibpath_var=LD_LIBRARY_PATH
       
 13128     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 13129     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13130     soname_spec='${libname}${release}${shared_ext}$major'
       
 13131     if test "X$HPUX_IA64_MODE" = X32; then
       
 13132       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 13133     else
       
 13134       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 13135     fi
       
 13136     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 13137     ;;
       
 13138    hppa*64*)
       
 13139      shrext_cmds='.sl'
       
 13140      hardcode_into_libs=yes
       
 13141      dynamic_linker="$host_os dld.sl"
       
 13142      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 13143      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 13144      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13145      soname_spec='${libname}${release}${shared_ext}$major'
       
 13146      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 13147      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 13148      ;;
       
 13149    *)
       
 13150     shrext_cmds='.sl'
       
 13151     dynamic_linker="$host_os dld.sl"
       
 13152     shlibpath_var=SHLIB_PATH
       
 13153     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 13154     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13155     soname_spec='${libname}${release}${shared_ext}$major'
       
 13156     ;;
       
 13157   esac
       
 13158   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 13159   postinstall_cmds='chmod 555 $lib'
       
 13160   ;;
       
 13161 
       
 13162 interix3*)
       
 13163   version_type=linux
       
 13164   need_lib_prefix=no
       
 13165   need_version=no
       
 13166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13167   soname_spec='${libname}${release}${shared_ext}$major'
       
 13168   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 13169   shlibpath_var=LD_LIBRARY_PATH
       
 13170   shlibpath_overrides_runpath=no
       
 13171   hardcode_into_libs=yes
       
 13172   ;;
       
 13173 
       
 13174 irix5* | irix6* | nonstopux*)
       
 13175   case $host_os in
       
 13176     nonstopux*) version_type=nonstopux ;;
       
 13177     *)
       
 13178 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 13179 		version_type=linux
       
 13180 	else
       
 13181 		version_type=irix
       
 13182 	fi ;;
       
 13183   esac
       
 13184   need_lib_prefix=no
       
 13185   need_version=no
       
 13186   soname_spec='${libname}${release}${shared_ext}$major'
       
 13187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13188   case $host_os in
       
 13189   irix5* | nonstopux*)
       
 13190     libsuff= shlibsuff=
       
 13191     ;;
       
 13192   *)
       
 13193     case $LD in # libtool.m4 will add one of these switches to LD
       
 13194     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 13195       libsuff= shlibsuff= libmagic=32-bit;;
       
 13196     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 13197       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 13198     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 13199       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 13200     *) libsuff= shlibsuff= libmagic=never-match;;
       
 13201     esac
       
 13202     ;;
       
 13203   esac
       
 13204   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 13205   shlibpath_overrides_runpath=no
       
 13206   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 13207   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 13208   hardcode_into_libs=yes
       
 13209   ;;
       
 13210 
       
 13211 # No shared lib support for Linux oldld, aout, or coff.
       
 13212 linux*oldld* | linux*aout* | linux*coff*)
       
 13213   dynamic_linker=no
       
 13214   ;;
       
 13215 
       
 13216 # This must be Linux ELF.
       
 13217 linux*)
       
 13218   version_type=linux
       
 13219   need_lib_prefix=no
       
 13220   need_version=no
       
 13221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13222   soname_spec='${libname}${release}${shared_ext}$major'
       
 13223   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 13224   shlibpath_var=LD_LIBRARY_PATH
       
 13225   shlibpath_overrides_runpath=no
       
 13226   # This implies no fast_install, which is unacceptable.
       
 13227   # Some rework will be needed to allow for fast_install
       
 13228   # before this can be enabled.
       
 13229   hardcode_into_libs=yes
       
 13230 
       
 13231   # Append ld.so.conf contents to the search path
       
 13232   if test -f /etc/ld.so.conf; then
       
 13233     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
       
 13234     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 13235   fi
       
 13236 
       
 13237   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 13238   # powerpc, because MkLinux only supported shared libraries with the
       
 13239   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 13240   # most powerpc-linux boxes support dynamic linking these days and
       
 13241   # people can always --disable-shared, the test was removed, and we
       
 13242   # assume the GNU/Linux dynamic linker is in use.
       
 13243   dynamic_linker='GNU/Linux ld.so'
       
 13244   ;;
       
 13245 
       
 13246 knetbsd*-gnu)
       
 13247   version_type=linux
       
 13248   need_lib_prefix=no
       
 13249   need_version=no
       
 13250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13251   soname_spec='${libname}${release}${shared_ext}$major'
       
 13252   shlibpath_var=LD_LIBRARY_PATH
       
 13253   shlibpath_overrides_runpath=no
       
 13254   hardcode_into_libs=yes
       
 13255   dynamic_linker='GNU ld.so'
       
 13256   ;;
       
 13257 
       
 13258 netbsd*)
       
 13259   version_type=sunos
       
 13260   need_lib_prefix=no
       
 13261   need_version=no
       
 13262   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 13263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13264     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 13265     dynamic_linker='NetBSD (a.out) ld.so'
       
 13266   else
       
 13267     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13268     soname_spec='${libname}${release}${shared_ext}$major'
       
 13269     dynamic_linker='NetBSD ld.elf_so'
       
 13270   fi
       
 13271   shlibpath_var=LD_LIBRARY_PATH
       
 13272   shlibpath_overrides_runpath=yes
       
 13273   hardcode_into_libs=yes
       
 13274   ;;
       
 13275 
       
 13276 newsos6)
       
 13277   version_type=linux
       
 13278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13279   shlibpath_var=LD_LIBRARY_PATH
       
 13280   shlibpath_overrides_runpath=yes
       
 13281   ;;
       
 13282 
       
 13283 nto-qnx*)
       
 13284   version_type=linux
       
 13285   need_lib_prefix=no
       
 13286   need_version=no
       
 13287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13288   soname_spec='${libname}${release}${shared_ext}$major'
       
 13289   shlibpath_var=LD_LIBRARY_PATH
       
 13290   shlibpath_overrides_runpath=yes
       
 13291   ;;
       
 13292 
       
 13293 openbsd*)
       
 13294   version_type=sunos
       
 13295   sys_lib_dlsearch_path_spec="/usr/lib"
       
 13296   need_lib_prefix=no
       
 13297   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 13298   case $host_os in
       
 13299     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 13300     *)                         need_version=no  ;;
       
 13301   esac
       
 13302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13303   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 13304   shlibpath_var=LD_LIBRARY_PATH
       
 13305   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 13306     case $host_os in
       
 13307       openbsd2.[89] | openbsd2.[89].*)
       
 13308 	shlibpath_overrides_runpath=no
       
 13309 	;;
       
 13310       *)
       
 13311 	shlibpath_overrides_runpath=yes
       
 13312 	;;
       
 13313       esac
       
 13314   else
       
 13315     shlibpath_overrides_runpath=yes
       
 13316   fi
       
 13317   ;;
       
 13318 
       
 13319 os2*)
       
 13320   libname_spec='$name'
       
 13321   shrext_cmds=".dll"
       
 13322   need_lib_prefix=no
       
 13323   library_names_spec='$libname${shared_ext} $libname.a'
       
 13324   dynamic_linker='OS/2 ld.exe'
       
 13325   shlibpath_var=LIBPATH
       
 13326   ;;
       
 13327 
       
 13328 osf3* | osf4* | osf5*)
       
 13329   version_type=osf
       
 13330   need_lib_prefix=no
       
 13331   need_version=no
       
 13332   soname_spec='${libname}${release}${shared_ext}$major'
       
 13333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13334   shlibpath_var=LD_LIBRARY_PATH
       
 13335   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 13336   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 13337   ;;
       
 13338 
       
 13339 solaris*)
       
 13340   version_type=linux
       
 13341   need_lib_prefix=no
       
 13342   need_version=no
       
 13343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13344   soname_spec='${libname}${release}${shared_ext}$major'
       
 13345   shlibpath_var=LD_LIBRARY_PATH
       
 13346   shlibpath_overrides_runpath=yes
       
 13347   hardcode_into_libs=yes
       
 13348   # ldd complains unless libraries are executable
       
 13349   postinstall_cmds='chmod +x $lib'
       
 13350   ;;
       
 13351 
       
 13352 sunos4*)
       
 13353   version_type=sunos
       
 13354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13355   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 13356   shlibpath_var=LD_LIBRARY_PATH
       
 13357   shlibpath_overrides_runpath=yes
       
 13358   if test "$with_gnu_ld" = yes; then
       
 13359     need_lib_prefix=no
       
 13360   fi
       
 13361   need_version=yes
       
 13362   ;;
       
 13363 
       
 13364 sysv4 | sysv4.3*)
       
 13365   version_type=linux
       
 13366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13367   soname_spec='${libname}${release}${shared_ext}$major'
       
 13368   shlibpath_var=LD_LIBRARY_PATH
       
 13369   case $host_vendor in
       
 13370     sni)
       
 13371       shlibpath_overrides_runpath=no
       
 13372       need_lib_prefix=no
       
 13373       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 13374       runpath_var=LD_RUN_PATH
       
 13375       ;;
       
 13376     siemens)
       
 13377       need_lib_prefix=no
       
 13378       ;;
       
 13379     motorola)
       
 13380       need_lib_prefix=no
       
 13381       need_version=no
       
 13382       shlibpath_overrides_runpath=no
       
 13383       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 13384       ;;
       
 13385   esac
       
 13386   ;;
       
 13387 
       
 13388 sysv4*MP*)
       
 13389   if test -d /usr/nec ;then
       
 13390     version_type=linux
       
 13391     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 13392     soname_spec='$libname${shared_ext}.$major'
       
 13393     shlibpath_var=LD_LIBRARY_PATH
       
 13394   fi
       
 13395   ;;
       
 13396 
       
 13397 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 13398   version_type=freebsd-elf
       
 13399   need_lib_prefix=no
       
 13400   need_version=no
       
 13401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13402   soname_spec='${libname}${release}${shared_ext}$major'
       
 13403   shlibpath_var=LD_LIBRARY_PATH
       
 13404   hardcode_into_libs=yes
       
 13405   if test "$with_gnu_ld" = yes; then
       
 13406     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 13407     shlibpath_overrides_runpath=no
       
 13408   else
       
 13409     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 13410     shlibpath_overrides_runpath=yes
       
 13411     case $host_os in
       
 13412       sco3.2v5*)
       
 13413         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 13414 	;;
       
 13415     esac
       
 13416   fi
       
 13417   sys_lib_dlsearch_path_spec='/usr/lib'
       
 13418   ;;
       
 13419 
       
 13420 uts4*)
       
 13421   version_type=linux
       
 13422   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13423   soname_spec='${libname}${release}${shared_ext}$major'
       
 13424   shlibpath_var=LD_LIBRARY_PATH
       
 13425   ;;
       
 13426 
       
 13427 *)
       
 13428   dynamic_linker=no
       
 13429   ;;
       
 13430 esac
       
 13431 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 13432 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 13433 test "$dynamic_linker" = no && can_build_shared=no
       
 13434 
       
 13435 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 13436 if test "$GCC" = yes; then
       
 13437   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 13438 fi
       
 13439 
       
 13440 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 13441 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 13442 hardcode_action_CXX=
       
 13443 if test -n "$hardcode_libdir_flag_spec_CXX" || \
       
 13444    test -n "$runpath_var_CXX" || \
       
 13445    test "X$hardcode_automatic_CXX" = "Xyes" ; then
       
 13446 
       
 13447   # We can hardcode non-existant directories.
       
 13448   if test "$hardcode_direct_CXX" != no &&
       
 13449      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 13450      # have to relink, otherwise we might link with an installed library
       
 13451      # when we should be linking with a yet-to-be-installed one
       
 13452      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
       
 13453      test "$hardcode_minus_L_CXX" != no; then
       
 13454     # Linking always hardcodes the temporary library directory.
       
 13455     hardcode_action_CXX=relink
       
 13456   else
       
 13457     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 13458     hardcode_action_CXX=immediate
       
 13459   fi
       
 13460 else
       
 13461   # We cannot hardcode anything, or else we can only hardcode existing
       
 13462   # directories.
       
 13463   hardcode_action_CXX=unsupported
       
 13464 fi
       
 13465 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
       
 13466 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
       
 13467 
       
 13468 if test "$hardcode_action_CXX" = relink; then
       
 13469   # Fast installation is not supported
       
 13470   enable_fast_install=no
       
 13471 elif test "$shlibpath_overrides_runpath" = yes ||
       
 13472      test "$enable_shared" = no; then
       
 13473   # Fast installation is not necessary
       
 13474   enable_fast_install=needless
       
 13475 fi
       
 13476 
       
 13477 
       
 13478 # The else clause should only fire when bootstrapping the
       
 13479 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 13480 # with your package, and you will get complaints that there are
       
 13481 # no rules to generate ltmain.sh.
       
 13482 if test -f "$ltmain"; then
       
 13483   # See if we are running on zsh, and set the options which allow our commands through
       
 13484   # without removal of \ escapes.
       
 13485   if test -n "${ZSH_VERSION+set}" ; then
       
 13486     setopt NO_GLOB_SUBST
       
 13487   fi
       
 13488   # Now quote all the things that may contain metacharacters while being
       
 13489   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 13490   # variables and quote the copies for generation of the libtool script.
       
 13491   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 13492     SED SHELL STRIP \
       
 13493     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 13494     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 13495     deplibs_check_method reload_flag reload_cmds need_locks \
       
 13496     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 13497     lt_cv_sys_global_symbol_to_c_name_address \
       
 13498     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 13499     old_postinstall_cmds old_postuninstall_cmds \
       
 13500     compiler_CXX \
       
 13501     CC_CXX \
       
 13502     LD_CXX \
       
 13503     lt_prog_compiler_wl_CXX \
       
 13504     lt_prog_compiler_pic_CXX \
       
 13505     lt_prog_compiler_static_CXX \
       
 13506     lt_prog_compiler_no_builtin_flag_CXX \
       
 13507     export_dynamic_flag_spec_CXX \
       
 13508     thread_safe_flag_spec_CXX \
       
 13509     whole_archive_flag_spec_CXX \
       
 13510     enable_shared_with_static_runtimes_CXX \
       
 13511     old_archive_cmds_CXX \
       
 13512     old_archive_from_new_cmds_CXX \
       
 13513     predep_objects_CXX \
       
 13514     postdep_objects_CXX \
       
 13515     predeps_CXX \
       
 13516     postdeps_CXX \
       
 13517     compiler_lib_search_path_CXX \
       
 13518     archive_cmds_CXX \
       
 13519     archive_expsym_cmds_CXX \
       
 13520     postinstall_cmds_CXX \
       
 13521     postuninstall_cmds_CXX \
       
 13522     old_archive_from_expsyms_cmds_CXX \
       
 13523     allow_undefined_flag_CXX \
       
 13524     no_undefined_flag_CXX \
       
 13525     export_symbols_cmds_CXX \
       
 13526     hardcode_libdir_flag_spec_CXX \
       
 13527     hardcode_libdir_flag_spec_ld_CXX \
       
 13528     hardcode_libdir_separator_CXX \
       
 13529     hardcode_automatic_CXX \
       
 13530     module_cmds_CXX \
       
 13531     module_expsym_cmds_CXX \
       
 13532     lt_cv_prog_compiler_c_o_CXX \
       
 13533     exclude_expsyms_CXX \
       
 13534     include_expsyms_CXX; do
       
 13535 
       
 13536     case $var in
       
 13537     old_archive_cmds_CXX | \
       
 13538     old_archive_from_new_cmds_CXX | \
       
 13539     archive_cmds_CXX | \
       
 13540     archive_expsym_cmds_CXX | \
       
 13541     module_cmds_CXX | \
       
 13542     module_expsym_cmds_CXX | \
       
 13543     old_archive_from_expsyms_cmds_CXX | \
       
 13544     export_symbols_cmds_CXX | \
       
 13545     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 13546     postinstall_cmds | postuninstall_cmds | \
       
 13547     old_postinstall_cmds | old_postuninstall_cmds | \
       
 13548     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 13549       # Double-quote double-evaled strings.
       
 13550       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 13551       ;;
       
 13552     *)
       
 13553       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 13554       ;;
       
 13555     esac
       
 13556   done
       
 13557 
       
 13558   case $lt_echo in
       
 13559   *'\$0 --fallback-echo"')
       
 13560     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 13561     ;;
       
 13562   esac
       
 13563 
       
 13564 cfgfile="$ofile"
       
 13565 
       
 13566   cat <<__EOF__ >> "$cfgfile"
       
 13567 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 13568 
       
 13569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 13570 
       
 13571 # Shell to use when invoking shell scripts.
       
 13572 SHELL=$lt_SHELL
       
 13573 
       
 13574 # Whether or not to build shared libraries.
       
 13575 build_libtool_libs=$enable_shared
       
 13576 
       
 13577 # Whether or not to build static libraries.
       
 13578 build_old_libs=$enable_static
       
 13579 
       
 13580 # Whether or not to add -lc for building shared libraries.
       
 13581 build_libtool_need_lc=$archive_cmds_need_lc_CXX
       
 13582 
       
 13583 # Whether or not to disallow shared libs when runtime libs are static
       
 13584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
       
 13585 
       
 13586 # Whether or not to optimize for fast installation.
       
 13587 fast_install=$enable_fast_install
       
 13588 
       
 13589 # The host system.
       
 13590 host_alias=$host_alias
       
 13591 host=$host
       
 13592 host_os=$host_os
       
 13593 
       
 13594 # The build system.
       
 13595 build_alias=$build_alias
       
 13596 build=$build
       
 13597 build_os=$build_os
       
 13598 
       
 13599 # An echo program that does not interpret backslashes.
       
 13600 echo=$lt_echo
       
 13601 
       
 13602 # The archiver.
       
 13603 AR=$lt_AR
       
 13604 AR_FLAGS=$lt_AR_FLAGS
       
 13605 
       
 13606 # A C compiler.
       
 13607 LTCC=$lt_LTCC
       
 13608 
       
 13609 # LTCC compiler flags.
       
 13610 LTCFLAGS=$lt_LTCFLAGS
       
 13611 
       
 13612 # A language-specific compiler.
       
 13613 CC=$lt_compiler_CXX
       
 13614 
       
 13615 # Is the compiler the GNU C compiler?
       
 13616 with_gcc=$GCC_CXX
       
 13617 
       
 13618 # An ERE matcher.
       
 13619 EGREP=$lt_EGREP
       
 13620 
       
 13621 # The linker used to build libraries.
       
 13622 LD=$lt_LD_CXX
       
 13623 
       
 13624 # Whether we need hard or soft links.
       
 13625 LN_S=$lt_LN_S
       
 13626 
       
 13627 # A BSD-compatible nm program.
       
 13628 NM=$lt_NM
       
 13629 
       
 13630 # A symbol stripping program
       
 13631 STRIP=$lt_STRIP
       
 13632 
       
 13633 # Used to examine libraries when file_magic_cmd begins "file"
       
 13634 MAGIC_CMD=$MAGIC_CMD
       
 13635 
       
 13636 # Used on cygwin: DLL creation program.
       
 13637 DLLTOOL="$DLLTOOL"
       
 13638 
       
 13639 # Used on cygwin: object dumper.
       
 13640 OBJDUMP="$OBJDUMP"
       
 13641 
       
 13642 # Used on cygwin: assembler.
       
 13643 AS="$AS"
       
 13644 
       
 13645 # The name of the directory that contains temporary libtool files.
       
 13646 objdir=$objdir
       
 13647 
       
 13648 # How to create reloadable object files.
       
 13649 reload_flag=$lt_reload_flag
       
 13650 reload_cmds=$lt_reload_cmds
       
 13651 
       
 13652 # How to pass a linker flag through the compiler.
       
 13653 wl=$lt_lt_prog_compiler_wl_CXX
       
 13654 
       
 13655 # Object file suffix (normally "o").
       
 13656 objext="$ac_objext"
       
 13657 
       
 13658 # Old archive suffix (normally "a").
       
 13659 libext="$libext"
       
 13660 
       
 13661 # Shared library suffix (normally ".so").
       
 13662 shrext_cmds='$shrext_cmds'
       
 13663 
       
 13664 # Executable file suffix (normally "").
       
 13665 exeext="$exeext"
       
 13666 
       
 13667 # Additional compiler flags for building library objects.
       
 13668 pic_flag=$lt_lt_prog_compiler_pic_CXX
       
 13669 pic_mode=$pic_mode
       
 13670 
       
 13671 # What is the maximum length of a command?
       
 13672 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 13673 
       
 13674 # Does compiler simultaneously support -c and -o options?
       
 13675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
       
 13676 
       
 13677 # Must we lock files when doing compilation?
       
 13678 need_locks=$lt_need_locks
       
 13679 
       
 13680 # Do we need the lib prefix for modules?
       
 13681 need_lib_prefix=$need_lib_prefix
       
 13682 
       
 13683 # Do we need a version for libraries?
       
 13684 need_version=$need_version
       
 13685 
       
 13686 # Whether dlopen is supported.
       
 13687 dlopen_support=$enable_dlopen
       
 13688 
       
 13689 # Whether dlopen of programs is supported.
       
 13690 dlopen_self=$enable_dlopen_self
       
 13691 
       
 13692 # Whether dlopen of statically linked programs is supported.
       
 13693 dlopen_self_static=$enable_dlopen_self_static
       
 13694 
       
 13695 # Compiler flag to prevent dynamic linking.
       
 13696 link_static_flag=$lt_lt_prog_compiler_static_CXX
       
 13697 
       
 13698 # Compiler flag to turn off builtin functions.
       
 13699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
       
 13700 
       
 13701 # Compiler flag to allow reflexive dlopens.
       
 13702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
       
 13703 
       
 13704 # Compiler flag to generate shared objects directly from archives.
       
 13705 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
       
 13706 
       
 13707 # Compiler flag to generate thread-safe objects.
       
 13708 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
       
 13709 
       
 13710 # Library versioning type.
       
 13711 version_type=$version_type
       
 13712 
       
 13713 # Format of library name prefix.
       
 13714 libname_spec=$lt_libname_spec
       
 13715 
       
 13716 # List of archive names.  First name is the real one, the rest are links.
       
 13717 # The last name is the one that the linker finds with -lNAME.
       
 13718 library_names_spec=$lt_library_names_spec
       
 13719 
       
 13720 # The coded name of the library, if different from the real name.
       
 13721 soname_spec=$lt_soname_spec
       
 13722 
       
 13723 # Commands used to build and install an old-style archive.
       
 13724 RANLIB=$lt_RANLIB
       
 13725 old_archive_cmds=$lt_old_archive_cmds_CXX
       
 13726 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 13727 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 13728 
       
 13729 # Create an old-style archive from a shared archive.
       
 13730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
       
 13731 
       
 13732 # Create a temporary old-style archive to link instead of a shared archive.
       
 13733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
       
 13734 
       
 13735 # Commands used to build and install a shared archive.
       
 13736 archive_cmds=$lt_archive_cmds_CXX
       
 13737 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
       
 13738 postinstall_cmds=$lt_postinstall_cmds
       
 13739 postuninstall_cmds=$lt_postuninstall_cmds
       
 13740 
       
 13741 # Commands used to build a loadable module (assumed same as above if empty)
       
 13742 module_cmds=$lt_module_cmds_CXX
       
 13743 module_expsym_cmds=$lt_module_expsym_cmds_CXX
       
 13744 
       
 13745 # Commands to strip libraries.
       
 13746 old_striplib=$lt_old_striplib
       
 13747 striplib=$lt_striplib
       
 13748 
       
 13749 # Dependencies to place before the objects being linked to create a
       
 13750 # shared library.
       
 13751 predep_objects=$lt_predep_objects_CXX
       
 13752 
       
 13753 # Dependencies to place after the objects being linked to create a
       
 13754 # shared library.
       
 13755 postdep_objects=$lt_postdep_objects_CXX
       
 13756 
       
 13757 # Dependencies to place before the objects being linked to create a
       
 13758 # shared library.
       
 13759 predeps=$lt_predeps_CXX
       
 13760 
       
 13761 # Dependencies to place after the objects being linked to create a
       
 13762 # shared library.
       
 13763 postdeps=$lt_postdeps_CXX
       
 13764 
       
 13765 # The library search path used internally by the compiler when linking
       
 13766 # a shared library.
       
 13767 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
       
 13768 
       
 13769 # Method to check whether dependent libraries are shared objects.
       
 13770 deplibs_check_method=$lt_deplibs_check_method
       
 13771 
       
 13772 # Command to use when deplibs_check_method == file_magic.
       
 13773 file_magic_cmd=$lt_file_magic_cmd
       
 13774 
       
 13775 # Flag that allows shared libraries with undefined symbols to be built.
       
 13776 allow_undefined_flag=$lt_allow_undefined_flag_CXX
       
 13777 
       
 13778 # Flag that forces no undefined symbols.
       
 13779 no_undefined_flag=$lt_no_undefined_flag_CXX
       
 13780 
       
 13781 # Commands used to finish a libtool library installation in a directory.
       
 13782 finish_cmds=$lt_finish_cmds
       
 13783 
       
 13784 # Same as above, but a single script fragment to be evaled but not shown.
       
 13785 finish_eval=$lt_finish_eval
       
 13786 
       
 13787 # Take the output of nm and produce a listing of raw symbols and C names.
       
 13788 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 13789 
       
 13790 # Transform the output of nm in a proper C declaration
       
 13791 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 13792 
       
 13793 # Transform the output of nm in a C name address pair
       
 13794 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 13795 
       
 13796 # This is the shared library runtime path variable.
       
 13797 runpath_var=$runpath_var
       
 13798 
       
 13799 # This is the shared library path variable.
       
 13800 shlibpath_var=$shlibpath_var
       
 13801 
       
 13802 # Is shlibpath searched before the hard-coded library search path?
       
 13803 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 13804 
       
 13805 # How to hardcode a shared library path into an executable.
       
 13806 hardcode_action=$hardcode_action_CXX
       
 13807 
       
 13808 # Whether we should hardcode library paths into libraries.
       
 13809 hardcode_into_libs=$hardcode_into_libs
       
 13810 
       
 13811 # Flag to hardcode \$libdir into a binary during linking.
       
 13812 # This must work even if \$libdir does not exist.
       
 13813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
       
 13814 
       
 13815 # If ld is used when linking, flag to hardcode \$libdir into
       
 13816 # a binary during linking. This must work even if \$libdir does
       
 13817 # not exist.
       
 13818 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
       
 13819 
       
 13820 # Whether we need a single -rpath flag with a separated argument.
       
 13821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
       
 13822 
       
 13823 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 13824 # resulting binary.
       
 13825 hardcode_direct=$hardcode_direct_CXX
       
 13826 
       
 13827 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 13828 # resulting binary.
       
 13829 hardcode_minus_L=$hardcode_minus_L_CXX
       
 13830 
       
 13831 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 13832 # the resulting binary.
       
 13833 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
       
 13834 
       
 13835 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 13836 # and all subsequent libraries and executables linked against it.
       
 13837 hardcode_automatic=$hardcode_automatic_CXX
       
 13838 
       
 13839 # Variables whose values should be saved in libtool wrapper scripts and
       
 13840 # restored at relink time.
       
 13841 variables_saved_for_relink="$variables_saved_for_relink"
       
 13842 
       
 13843 # Whether libtool must link a program against all its dependency libraries.
       
 13844 link_all_deplibs=$link_all_deplibs_CXX
       
 13845 
       
 13846 # Compile-time system search path for libraries
       
 13847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 13848 
       
 13849 # Run-time system search path for libraries
       
 13850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 13851 
       
 13852 # Fix the shell variable \$srcfile for the compiler.
       
 13853 fix_srcfile_path="$fix_srcfile_path_CXX"
       
 13854 
       
 13855 # Set to yes if exported symbols are required.
       
 13856 always_export_symbols=$always_export_symbols_CXX
       
 13857 
       
 13858 # The commands to list exported symbols.
       
 13859 export_symbols_cmds=$lt_export_symbols_cmds_CXX
       
 13860 
       
 13861 # The commands to extract the exported symbol list from a shared archive.
       
 13862 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 13863 
       
 13864 # Symbols that should not be listed in the preloaded symbols.
       
 13865 exclude_expsyms=$lt_exclude_expsyms_CXX
       
 13866 
       
 13867 # Symbols that must always be exported.
       
 13868 include_expsyms=$lt_include_expsyms_CXX
       
 13869 
       
 13870 # ### END LIBTOOL TAG CONFIG: $tagname
       
 13871 
       
 13872 __EOF__
       
 13873 
       
 13874 
       
 13875 else
       
 13876   # If there is no Makefile yet, we rely on a make rule to execute
       
 13877   # `config.status --recheck' to rerun these tests and create the
       
 13878   # libtool script then.
       
 13879   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 13880   if test -f "$ltmain_in"; then
       
 13881     test -f Makefile && make "$ltmain"
       
 13882   fi
       
 13883 fi
       
 13884 
       
 13885 
       
 13886 ac_ext=cpp
       
 13887 ac_cpp='$CXXCPP $CPPFLAGS'
       
 13888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 13889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 13890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 13891 
       
 13892 CC=$lt_save_CC
       
 13893 LDCXX=$LD
       
 13894 LD=$lt_save_LD
       
 13895 GCC=$lt_save_GCC
       
 13896 with_gnu_ldcxx=$with_gnu_ld
       
 13897 with_gnu_ld=$lt_save_with_gnu_ld
       
 13898 lt_cv_path_LDCXX=$lt_cv_path_LD
       
 13899 lt_cv_path_LD=$lt_save_path_LD
       
 13900 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
       
 13901 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
       
 13902 
       
 13903 	else
       
 13904 	  tagname=""
       
 13905 	fi
       
 13906 	;;
       
 13907 
       
 13908       F77)
       
 13909 	if test -n "$F77" && test "X$F77" != "Xno"; then
       
 13910 
       
 13911 ac_ext=f
       
 13912 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
       
 13913 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 13914 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
       
 13915 
       
 13916 
       
 13917 archive_cmds_need_lc_F77=no
       
 13918 allow_undefined_flag_F77=
       
 13919 always_export_symbols_F77=no
       
 13920 archive_expsym_cmds_F77=
       
 13921 export_dynamic_flag_spec_F77=
       
 13922 hardcode_direct_F77=no
       
 13923 hardcode_libdir_flag_spec_F77=
       
 13924 hardcode_libdir_flag_spec_ld_F77=
       
 13925 hardcode_libdir_separator_F77=
       
 13926 hardcode_minus_L_F77=no
       
 13927 hardcode_automatic_F77=no
       
 13928 module_cmds_F77=
       
 13929 module_expsym_cmds_F77=
       
 13930 link_all_deplibs_F77=unknown
       
 13931 old_archive_cmds_F77=$old_archive_cmds
       
 13932 no_undefined_flag_F77=
       
 13933 whole_archive_flag_spec_F77=
       
 13934 enable_shared_with_static_runtimes_F77=no
       
 13935 
       
 13936 # Source file extension for f77 test sources.
       
 13937 ac_ext=f
       
 13938 
       
 13939 # Object file extension for compiled f77 test sources.
       
 13940 objext=o
       
 13941 objext_F77=$objext
       
 13942 
       
 13943 # Code to be used in simple compile tests
       
 13944 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
       
 13945 
       
 13946 # Code to be used in simple link tests
       
 13947 lt_simple_link_test_code="      program t\n      end\n"
       
 13948 
       
 13949 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 13950 
       
 13951 # If no C compiler was specified, use CC.
       
 13952 LTCC=${LTCC-"$CC"}
       
 13953 
       
 13954 # If no C compiler flags were specified, use CFLAGS.
       
 13955 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 13956 
       
 13957 # Allow CC to be a program name with arguments.
       
 13958 compiler=$CC
       
 13959 
       
 13960 
       
 13961 # save warnings/boilerplate of simple test code
       
 13962 ac_outfile=conftest.$ac_objext
       
 13963 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 13964 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 13965 _lt_compiler_boilerplate=`cat conftest.err`
       
 13966 $rm conftest*
       
 13967 
       
 13968 ac_outfile=conftest.$ac_objext
       
 13969 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 13970 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 13971 _lt_linker_boilerplate=`cat conftest.err`
       
 13972 $rm conftest*
       
 13973 
       
 13974 
       
 13975 # Allow CC to be a program name with arguments.
       
 13976 lt_save_CC="$CC"
       
 13977 CC=${F77-"f77"}
       
 13978 compiler=$CC
       
 13979 compiler_F77=$CC
       
 13980 for cc_temp in $compiler""; do
       
 13981   case $cc_temp in
       
 13982     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 13983     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 13984     \-*) ;;
       
 13985     *) break;;
       
 13986   esac
       
 13987 done
       
 13988 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 13989 
       
 13990 
       
 13991 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
       
 13992 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
       
 13993 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
       
 13994 echo "${ECHO_T}$can_build_shared" >&6; }
       
 13995 
       
 13996 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
       
 13997 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
       
 13998 test "$can_build_shared" = "no" && enable_shared=no
       
 13999 
       
 14000 # On AIX, shared libraries and static libraries use the same namespace, and
       
 14001 # are all built from PIC.
       
 14002 case $host_os in
       
 14003 aix3*)
       
 14004   test "$enable_shared" = yes && enable_static=no
       
 14005   if test -n "$RANLIB"; then
       
 14006     archive_cmds="$archive_cmds~\$RANLIB \$lib"
       
 14007     postinstall_cmds='$RANLIB $lib'
       
 14008   fi
       
 14009   ;;
       
 14010 aix4* | aix5*)
       
 14011   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
       
 14012     test "$enable_shared" = yes && enable_static=no
       
 14013   fi
       
 14014   ;;
       
 14015 esac
       
 14016 { echo "$as_me:$LINENO: result: $enable_shared" >&5
       
 14017 echo "${ECHO_T}$enable_shared" >&6; }
       
 14018 
       
 14019 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
       
 14020 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
       
 14021 # Make sure either enable_shared or enable_static is yes.
       
 14022 test "$enable_shared" = yes || enable_static=yes
       
 14023 { echo "$as_me:$LINENO: result: $enable_static" >&5
       
 14024 echo "${ECHO_T}$enable_static" >&6; }
       
 14025 
       
 14026 GCC_F77="$G77"
       
 14027 LD_F77="$LD"
       
 14028 
       
 14029 lt_prog_compiler_wl_F77=
       
 14030 lt_prog_compiler_pic_F77=
       
 14031 lt_prog_compiler_static_F77=
       
 14032 
       
 14033 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 14034 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 14035 
       
 14036   if test "$GCC" = yes; then
       
 14037     lt_prog_compiler_wl_F77='-Wl,'
       
 14038     lt_prog_compiler_static_F77='-static'
       
 14039 
       
 14040     case $host_os in
       
 14041       aix*)
       
 14042       # All AIX code is PIC.
       
 14043       if test "$host_cpu" = ia64; then
       
 14044 	# AIX 5 now supports IA64 processor
       
 14045 	lt_prog_compiler_static_F77='-Bstatic'
       
 14046       fi
       
 14047       ;;
       
 14048 
       
 14049     amigaos*)
       
 14050       # FIXME: we need at least 68020 code to build shared libraries, but
       
 14051       # adding the `-m68020' flag to GCC prevents building anything better,
       
 14052       # like `-m68040'.
       
 14053       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
       
 14054       ;;
       
 14055 
       
 14056     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 14057       # PIC is the default for these OSes.
       
 14058       ;;
       
 14059 
       
 14060     mingw* | pw32* | os2*)
       
 14061       # This hack is so that the source file can tell whether it is being
       
 14062       # built for inclusion in a dll (and should export symbols for example).
       
 14063       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
       
 14064       ;;
       
 14065 
       
 14066     darwin* | rhapsody*)
       
 14067       # PIC is the default on this platform
       
 14068       # Common symbols not allowed in MH_DYLIB files
       
 14069       lt_prog_compiler_pic_F77='-fno-common'
       
 14070       ;;
       
 14071 
       
 14072     interix3*)
       
 14073       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 14074       # Instead, we relocate shared libraries at runtime.
       
 14075       ;;
       
 14076 
       
 14077     msdosdjgpp*)
       
 14078       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
 14079       # on systems that don't support them.
       
 14080       lt_prog_compiler_can_build_shared_F77=no
       
 14081       enable_shared=no
       
 14082       ;;
       
 14083 
       
 14084     sysv4*MP*)
       
 14085       if test -d /usr/nec; then
       
 14086 	lt_prog_compiler_pic_F77=-Kconform_pic
       
 14087       fi
       
 14088       ;;
       
 14089 
       
 14090     hpux*)
       
 14091       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 14092       # not for PA HP-UX.
       
 14093       case $host_cpu in
       
 14094       hppa*64*|ia64*)
       
 14095 	# +Z the default
       
 14096 	;;
       
 14097       *)
       
 14098 	lt_prog_compiler_pic_F77='-fPIC'
       
 14099 	;;
       
 14100       esac
       
 14101       ;;
       
 14102 
       
 14103     *)
       
 14104       lt_prog_compiler_pic_F77='-fPIC'
       
 14105       ;;
       
 14106     esac
       
 14107   else
       
 14108     # PORTME Check for flag to pass linker flags through the system compiler.
       
 14109     case $host_os in
       
 14110     aix*)
       
 14111       lt_prog_compiler_wl_F77='-Wl,'
       
 14112       if test "$host_cpu" = ia64; then
       
 14113 	# AIX 5 now supports IA64 processor
       
 14114 	lt_prog_compiler_static_F77='-Bstatic'
       
 14115       else
       
 14116 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
       
 14117       fi
       
 14118       ;;
       
 14119       darwin*)
       
 14120         # PIC is the default on this platform
       
 14121         # Common symbols not allowed in MH_DYLIB files
       
 14122        case $cc_basename in
       
 14123          xlc*)
       
 14124          lt_prog_compiler_pic_F77='-qnocommon'
       
 14125          lt_prog_compiler_wl_F77='-Wl,'
       
 14126          ;;
       
 14127        esac
       
 14128        ;;
       
 14129 
       
 14130     mingw* | pw32* | os2*)
       
 14131       # This hack is so that the source file can tell whether it is being
       
 14132       # built for inclusion in a dll (and should export symbols for example).
       
 14133       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
       
 14134       ;;
       
 14135 
       
 14136     hpux9* | hpux10* | hpux11*)
       
 14137       lt_prog_compiler_wl_F77='-Wl,'
       
 14138       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 14139       # not for PA HP-UX.
       
 14140       case $host_cpu in
       
 14141       hppa*64*|ia64*)
       
 14142 	# +Z the default
       
 14143 	;;
       
 14144       *)
       
 14145 	lt_prog_compiler_pic_F77='+Z'
       
 14146 	;;
       
 14147       esac
       
 14148       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
 14149       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
       
 14150       ;;
       
 14151 
       
 14152     irix5* | irix6* | nonstopux*)
       
 14153       lt_prog_compiler_wl_F77='-Wl,'
       
 14154       # PIC (with -KPIC) is the default.
       
 14155       lt_prog_compiler_static_F77='-non_shared'
       
 14156       ;;
       
 14157 
       
 14158     newsos6)
       
 14159       lt_prog_compiler_pic_F77='-KPIC'
       
 14160       lt_prog_compiler_static_F77='-Bstatic'
       
 14161       ;;
       
 14162 
       
 14163     linux*)
       
 14164       case $cc_basename in
       
 14165       icc* | ecc*)
       
 14166 	lt_prog_compiler_wl_F77='-Wl,'
       
 14167 	lt_prog_compiler_pic_F77='-KPIC'
       
 14168 	lt_prog_compiler_static_F77='-static'
       
 14169         ;;
       
 14170       pgcc* | pgf77* | pgf90* | pgf95*)
       
 14171         # Portland Group compilers (*not* the Pentium gcc compiler,
       
 14172 	# which looks to be a dead project)
       
 14173 	lt_prog_compiler_wl_F77='-Wl,'
       
 14174 	lt_prog_compiler_pic_F77='-fpic'
       
 14175 	lt_prog_compiler_static_F77='-Bstatic'
       
 14176         ;;
       
 14177       ccc*)
       
 14178         lt_prog_compiler_wl_F77='-Wl,'
       
 14179         # All Alpha code is PIC.
       
 14180         lt_prog_compiler_static_F77='-non_shared'
       
 14181         ;;
       
 14182       esac
       
 14183       ;;
       
 14184 
       
 14185     osf3* | osf4* | osf5*)
       
 14186       lt_prog_compiler_wl_F77='-Wl,'
       
 14187       # All OSF/1 code is PIC.
       
 14188       lt_prog_compiler_static_F77='-non_shared'
       
 14189       ;;
       
 14190 
       
 14191     solaris*)
       
 14192       lt_prog_compiler_pic_F77='-KPIC'
       
 14193       lt_prog_compiler_static_F77='-Bstatic'
       
 14194       case $cc_basename in
       
 14195       f77* | f90* | f95*)
       
 14196 	lt_prog_compiler_wl_F77='-Qoption ld ';;
       
 14197       *)
       
 14198 	lt_prog_compiler_wl_F77='-Wl,';;
       
 14199       esac
       
 14200       ;;
       
 14201 
       
 14202     sunos4*)
       
 14203       lt_prog_compiler_wl_F77='-Qoption ld '
       
 14204       lt_prog_compiler_pic_F77='-PIC'
       
 14205       lt_prog_compiler_static_F77='-Bstatic'
       
 14206       ;;
       
 14207 
       
 14208     sysv4 | sysv4.2uw2* | sysv4.3*)
       
 14209       lt_prog_compiler_wl_F77='-Wl,'
       
 14210       lt_prog_compiler_pic_F77='-KPIC'
       
 14211       lt_prog_compiler_static_F77='-Bstatic'
       
 14212       ;;
       
 14213 
       
 14214     sysv4*MP*)
       
 14215       if test -d /usr/nec ;then
       
 14216 	lt_prog_compiler_pic_F77='-Kconform_pic'
       
 14217 	lt_prog_compiler_static_F77='-Bstatic'
       
 14218       fi
       
 14219       ;;
       
 14220 
       
 14221     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 14222       lt_prog_compiler_wl_F77='-Wl,'
       
 14223       lt_prog_compiler_pic_F77='-KPIC'
       
 14224       lt_prog_compiler_static_F77='-Bstatic'
       
 14225       ;;
       
 14226 
       
 14227     unicos*)
       
 14228       lt_prog_compiler_wl_F77='-Wl,'
       
 14229       lt_prog_compiler_can_build_shared_F77=no
       
 14230       ;;
       
 14231 
       
 14232     uts4*)
       
 14233       lt_prog_compiler_pic_F77='-pic'
       
 14234       lt_prog_compiler_static_F77='-Bstatic'
       
 14235       ;;
       
 14236 
       
 14237     *)
       
 14238       lt_prog_compiler_can_build_shared_F77=no
       
 14239       ;;
       
 14240     esac
       
 14241   fi
       
 14242 
       
 14243 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
       
 14244 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
       
 14245 
       
 14246 #
       
 14247 # Check to make sure the PIC flag actually works.
       
 14248 #
       
 14249 if test -n "$lt_prog_compiler_pic_F77"; then
       
 14250 
       
 14251 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
       
 14252 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
       
 14253 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
       
 14254   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14255 else
       
 14256   lt_prog_compiler_pic_works_F77=no
       
 14257   ac_outfile=conftest.$ac_objext
       
 14258    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 14259    lt_compiler_flag="$lt_prog_compiler_pic_F77"
       
 14260    # Insert the option either (1) after the last *FLAGS variable, or
       
 14261    # (2) before a word containing "conftest.", or (3) at the end.
       
 14262    # Note that $ac_compile itself does not contain backslashes and begins
       
 14263    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 14264    # The option is referenced via a variable to avoid confusing sed.
       
 14265    lt_compile=`echo "$ac_compile" | $SED \
       
 14266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 14267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 14268    -e 's:$: $lt_compiler_flag:'`
       
 14269    (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
       
 14270    (eval "$lt_compile" 2>conftest.err)
       
 14271    ac_status=$?
       
 14272    cat conftest.err >&5
       
 14273    echo "$as_me:14273: \$? = $ac_status" >&5
       
 14274    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 14275      # The compiler can only warn and ignore the option if not recognized
       
 14276      # So say no if there are warnings other than the usual output.
       
 14277      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 14278      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 14279      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 14280        lt_prog_compiler_pic_works_F77=yes
       
 14281      fi
       
 14282    fi
       
 14283    $rm conftest*
       
 14284 
       
 14285 fi
       
 14286 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
       
 14287 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
       
 14288 
       
 14289 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
       
 14290     case $lt_prog_compiler_pic_F77 in
       
 14291      "" | " "*) ;;
       
 14292      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
       
 14293      esac
       
 14294 else
       
 14295     lt_prog_compiler_pic_F77=
       
 14296      lt_prog_compiler_can_build_shared_F77=no
       
 14297 fi
       
 14298 
       
 14299 fi
       
 14300 case $host_os in
       
 14301   # For platforms which do not support PIC, -DPIC is meaningless:
       
 14302   *djgpp*)
       
 14303     lt_prog_compiler_pic_F77=
       
 14304     ;;
       
 14305   *)
       
 14306     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
       
 14307     ;;
       
 14308 esac
       
 14309 
       
 14310 #
       
 14311 # Check to make sure the static flag actually works.
       
 14312 #
       
 14313 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
       
 14314 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 14315 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 14316 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
       
 14317   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14318 else
       
 14319   lt_prog_compiler_static_works_F77=no
       
 14320    save_LDFLAGS="$LDFLAGS"
       
 14321    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 14322    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 14323    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 14324      # The linker can only warn and ignore the option if not recognized
       
 14325      # So say no if there are warnings
       
 14326      if test -s conftest.err; then
       
 14327        # Append any errors to the config.log.
       
 14328        cat conftest.err 1>&5
       
 14329        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 14330        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 14331        if diff conftest.exp conftest.er2 >/dev/null; then
       
 14332          lt_prog_compiler_static_works_F77=yes
       
 14333        fi
       
 14334      else
       
 14335        lt_prog_compiler_static_works_F77=yes
       
 14336      fi
       
 14337    fi
       
 14338    $rm conftest*
       
 14339    LDFLAGS="$save_LDFLAGS"
       
 14340 
       
 14341 fi
       
 14342 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
       
 14343 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
       
 14344 
       
 14345 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
       
 14346     :
       
 14347 else
       
 14348     lt_prog_compiler_static_F77=
       
 14349 fi
       
 14350 
       
 14351 
       
 14352 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 14353 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 14354 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
       
 14355   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14356 else
       
 14357   lt_cv_prog_compiler_c_o_F77=no
       
 14358    $rm -r conftest 2>/dev/null
       
 14359    mkdir conftest
       
 14360    cd conftest
       
 14361    mkdir out
       
 14362    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 14363 
       
 14364    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 14365    # Insert the option either (1) after the last *FLAGS variable, or
       
 14366    # (2) before a word containing "conftest.", or (3) at the end.
       
 14367    # Note that $ac_compile itself does not contain backslashes and begins
       
 14368    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 14369    lt_compile=`echo "$ac_compile" | $SED \
       
 14370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 14371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 14372    -e 's:$: $lt_compiler_flag:'`
       
 14373    (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
       
 14374    (eval "$lt_compile" 2>out/conftest.err)
       
 14375    ac_status=$?
       
 14376    cat out/conftest.err >&5
       
 14377    echo "$as_me:14377: \$? = $ac_status" >&5
       
 14378    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 14379    then
       
 14380      # The compiler can only warn and ignore the option if not recognized
       
 14381      # So say no if there are warnings
       
 14382      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 14383      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 14384      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 14385        lt_cv_prog_compiler_c_o_F77=yes
       
 14386      fi
       
 14387    fi
       
 14388    chmod u+w . 2>&5
       
 14389    $rm conftest*
       
 14390    # SGI C++ compiler will create directory out/ii_files/ for
       
 14391    # template instantiation
       
 14392    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 14393    $rm out/* && rmdir out
       
 14394    cd ..
       
 14395    rmdir conftest
       
 14396    $rm conftest*
       
 14397 
       
 14398 fi
       
 14399 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
       
 14400 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
       
 14401 
       
 14402 
       
 14403 hard_links="nottested"
       
 14404 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
       
 14405   # do not overwrite the value of need_locks provided by the user
       
 14406   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 14407 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 14408   hard_links=yes
       
 14409   $rm conftest*
       
 14410   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 14411   touch conftest.a
       
 14412   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 14413   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 14414   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 14415 echo "${ECHO_T}$hard_links" >&6; }
       
 14416   if test "$hard_links" = no; then
       
 14417     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 14418 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 14419     need_locks=warn
       
 14420   fi
       
 14421 else
       
 14422   need_locks=no
       
 14423 fi
       
 14424 
       
 14425 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 14426 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 14427 
       
 14428   runpath_var=
       
 14429   allow_undefined_flag_F77=
       
 14430   enable_shared_with_static_runtimes_F77=no
       
 14431   archive_cmds_F77=
       
 14432   archive_expsym_cmds_F77=
       
 14433   old_archive_From_new_cmds_F77=
       
 14434   old_archive_from_expsyms_cmds_F77=
       
 14435   export_dynamic_flag_spec_F77=
       
 14436   whole_archive_flag_spec_F77=
       
 14437   thread_safe_flag_spec_F77=
       
 14438   hardcode_libdir_flag_spec_F77=
       
 14439   hardcode_libdir_flag_spec_ld_F77=
       
 14440   hardcode_libdir_separator_F77=
       
 14441   hardcode_direct_F77=no
       
 14442   hardcode_minus_L_F77=no
       
 14443   hardcode_shlibpath_var_F77=unsupported
       
 14444   link_all_deplibs_F77=unknown
       
 14445   hardcode_automatic_F77=no
       
 14446   module_cmds_F77=
       
 14447   module_expsym_cmds_F77=
       
 14448   always_export_symbols_F77=no
       
 14449   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 14450   # include_expsyms should be a list of space-separated symbols to be *always*
       
 14451   # included in the symbol list
       
 14452   include_expsyms_F77=
       
 14453   # exclude_expsyms can be an extended regexp of symbols to exclude
       
 14454   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
 14455   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
 14456   # as well as any symbol that contains `d'.
       
 14457   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
       
 14458   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
 14459   # platforms (ab)use it in PIC code, but their linkers get confused if
       
 14460   # the symbol is explicitly referenced.  Since portable code cannot
       
 14461   # rely on this symbol name, it's probably fine to never include it in
       
 14462   # preloaded symbol tables.
       
 14463   extract_expsyms_cmds=
       
 14464   # Just being paranoid about ensuring that cc_basename is set.
       
 14465   for cc_temp in $compiler""; do
       
 14466   case $cc_temp in
       
 14467     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 14468     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 14469     \-*) ;;
       
 14470     *) break;;
       
 14471   esac
       
 14472 done
       
 14473 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 14474 
       
 14475   case $host_os in
       
 14476   cygwin* | mingw* | pw32*)
       
 14477     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
 14478     # When not using gcc, we currently assume that we are using
       
 14479     # Microsoft Visual C++.
       
 14480     if test "$GCC" != yes; then
       
 14481       with_gnu_ld=no
       
 14482     fi
       
 14483     ;;
       
 14484   interix*)
       
 14485     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
 14486     with_gnu_ld=yes
       
 14487     ;;
       
 14488   openbsd*)
       
 14489     with_gnu_ld=no
       
 14490     ;;
       
 14491   esac
       
 14492 
       
 14493   ld_shlibs_F77=yes
       
 14494   if test "$with_gnu_ld" = yes; then
       
 14495     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 14496     wlarc='${wl}'
       
 14497 
       
 14498     # Set some defaults for GNU ld with shared library support. These
       
 14499     # are reset later if shared libraries are not supported. Putting them
       
 14500     # here allows them to be overridden if necessary.
       
 14501     runpath_var=LD_RUN_PATH
       
 14502     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
       
 14503     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
       
 14504     # ancient GNU ld didn't support --whole-archive et. al.
       
 14505     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
 14506 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 14507       else
       
 14508   	whole_archive_flag_spec_F77=
       
 14509     fi
       
 14510     supports_anon_versioning=no
       
 14511     case `$LD -v 2>/dev/null` in
       
 14512       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 14513       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 14514       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 14515       *\ 2.11.*) ;; # other 2.11 versions
       
 14516       *) supports_anon_versioning=yes ;;
       
 14517     esac
       
 14518 
       
 14519     # See if GNU ld supports shared libraries.
       
 14520     case $host_os in
       
 14521     aix3* | aix4* | aix5*)
       
 14522       # On AIX/PPC, the GNU linker is very broken
       
 14523       if test "$host_cpu" != ia64; then
       
 14524 	ld_shlibs_F77=no
       
 14525 	cat <<EOF 1>&2
       
 14526 
       
 14527 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
 14528 *** to be unable to reliably create shared libraries on AIX.
       
 14529 *** Therefore, libtool is disabling shared libraries support.  If you
       
 14530 *** really care for shared libraries, you may want to modify your PATH
       
 14531 *** so that a non-GNU linker is found, and then restart.
       
 14532 
       
 14533 EOF
       
 14534       fi
       
 14535       ;;
       
 14536 
       
 14537     amigaos*)
       
 14538       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)'
       
 14539       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14540       hardcode_minus_L_F77=yes
       
 14541 
       
 14542       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
 14543       # that the semantics of dynamic libraries on AmigaOS, at least up
       
 14544       # to version 4, is to share data among multiple programs linked
       
 14545       # with the same dynamic library.  Since this doesn't match the
       
 14546       # behavior of shared libraries on other platforms, we can't use
       
 14547       # them.
       
 14548       ld_shlibs_F77=no
       
 14549       ;;
       
 14550 
       
 14551     beos*)
       
 14552       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14553 	allow_undefined_flag_F77=unsupported
       
 14554 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 14555 	# support --undefined.  This deserves some investigation.  FIXME
       
 14556 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14557       else
       
 14558 	ld_shlibs_F77=no
       
 14559       fi
       
 14560       ;;
       
 14561 
       
 14562     cygwin* | mingw* | pw32*)
       
 14563       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
       
 14564       # as there is no search path for DLLs.
       
 14565       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14566       allow_undefined_flag_F77=unsupported
       
 14567       always_export_symbols_F77=no
       
 14568       enable_shared_with_static_runtimes_F77=yes
       
 14569       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
 14570 
       
 14571       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 14572         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 14573 	# If the export-symbols file already is a .def file (1st line
       
 14574 	# is EXPORTS), use it as is; otherwise, prepend...
       
 14575 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 14576 	  cp $export_symbols $output_objdir/$soname.def;
       
 14577 	else
       
 14578 	  echo EXPORTS > $output_objdir/$soname.def;
       
 14579 	  cat $export_symbols >> $output_objdir/$soname.def;
       
 14580 	fi~
       
 14581 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 14582       else
       
 14583 	ld_shlibs_F77=no
       
 14584       fi
       
 14585       ;;
       
 14586 
       
 14587     interix3*)
       
 14588       hardcode_direct_F77=no
       
 14589       hardcode_shlibpath_var_F77=no
       
 14590       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 14591       export_dynamic_flag_spec_F77='${wl}-E'
       
 14592       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 14593       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 14594       # default) and relocated if they conflict, which is a slow very memory
       
 14595       # consuming and fragmenting process.  To avoid this, we pick a random,
       
 14596       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 14597       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 14598       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'
       
 14599       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'
       
 14600       ;;
       
 14601 
       
 14602     linux*)
       
 14603       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14604 	tmp_addflag=
       
 14605 	case $cc_basename,$host_cpu in
       
 14606 	pgcc*)				# Portland Group C compiler
       
 14607 	  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'
       
 14608 	  tmp_addflag=' $pic_flag'
       
 14609 	  ;;
       
 14610 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
 14611 	  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'
       
 14612 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
 14613 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
 14614 	  tmp_addflag=' -i_dynamic' ;;
       
 14615 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
 14616 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
 14617 	ifc* | ifort*)			# Intel Fortran compiler
       
 14618 	  tmp_addflag=' -nofor_main' ;;
       
 14619 	esac
       
 14620 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14621 
       
 14622 	if test $supports_anon_versioning = yes; then
       
 14623 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
       
 14624   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 14625   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 14626 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 14627 	fi
       
 14628       else
       
 14629 	ld_shlibs_F77=no
       
 14630       fi
       
 14631       ;;
       
 14632 
       
 14633     netbsd*)
       
 14634       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 14635 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
 14636 	wlarc=
       
 14637       else
       
 14638 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14639 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 14640       fi
       
 14641       ;;
       
 14642 
       
 14643     solaris*)
       
 14644       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
 14645 	ld_shlibs_F77=no
       
 14646 	cat <<EOF 1>&2
       
 14647 
       
 14648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
 14649 *** create shared libraries on Solaris systems.  Therefore, libtool
       
 14650 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 14651 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
 14652 *** your PATH or compiler configuration so that the native linker is
       
 14653 *** used, and then restart.
       
 14654 
       
 14655 EOF
       
 14656       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14657 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14658 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 14659       else
       
 14660 	ld_shlibs_F77=no
       
 14661       fi
       
 14662       ;;
       
 14663 
       
 14664     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
 14665       case `$LD -v 2>&1` in
       
 14666         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
 14667 	ld_shlibs_F77=no
       
 14668 	cat <<_LT_EOF 1>&2
       
 14669 
       
 14670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
 14671 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
 14672 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 14673 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
 14674 *** your PATH or compiler configuration so that the native linker is
       
 14675 *** used, and then restart.
       
 14676 
       
 14677 _LT_EOF
       
 14678 	;;
       
 14679 	*)
       
 14680 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14681 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
 14682 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
 14683 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
 14684 	  else
       
 14685 	    ld_shlibs_F77=no
       
 14686 	  fi
       
 14687 	;;
       
 14688       esac
       
 14689       ;;
       
 14690 
       
 14691     sunos4*)
       
 14692       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 14693       wlarc=
       
 14694       hardcode_direct_F77=yes
       
 14695       hardcode_shlibpath_var_F77=no
       
 14696       ;;
       
 14697 
       
 14698     *)
       
 14699       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14700 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14701 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 14702       else
       
 14703 	ld_shlibs_F77=no
       
 14704       fi
       
 14705       ;;
       
 14706     esac
       
 14707 
       
 14708     if test "$ld_shlibs_F77" = no; then
       
 14709       runpath_var=
       
 14710       hardcode_libdir_flag_spec_F77=
       
 14711       export_dynamic_flag_spec_F77=
       
 14712       whole_archive_flag_spec_F77=
       
 14713     fi
       
 14714   else
       
 14715     # PORTME fill in a description of your system's linker (not GNU ld)
       
 14716     case $host_os in
       
 14717     aix3*)
       
 14718       allow_undefined_flag_F77=unsupported
       
 14719       always_export_symbols_F77=yes
       
 14720       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'
       
 14721       # Note: this linker hardcodes the directories in LIBPATH if there
       
 14722       # are no directories specified by -L.
       
 14723       hardcode_minus_L_F77=yes
       
 14724       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
 14725 	# Neither direct hardcoding nor static linking is supported with a
       
 14726 	# broken collect2.
       
 14727 	hardcode_direct_F77=unsupported
       
 14728       fi
       
 14729       ;;
       
 14730 
       
 14731     aix4* | aix5*)
       
 14732       if test "$host_cpu" = ia64; then
       
 14733 	# On IA64, the linker does run time linking by default, so we don't
       
 14734 	# have to do anything special.
       
 14735 	aix_use_runtimelinking=no
       
 14736 	exp_sym_flag='-Bexport'
       
 14737 	no_entry_flag=""
       
 14738       else
       
 14739 	# If we're using GNU nm, then we don't want the "-C" option.
       
 14740 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 14741 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 14742 	  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'
       
 14743 	else
       
 14744 	  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'
       
 14745 	fi
       
 14746 	aix_use_runtimelinking=no
       
 14747 
       
 14748 	# Test if we are trying to use run time linking or normal
       
 14749 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 14750 	# need to do runtime linking.
       
 14751 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 14752 	  for ld_flag in $LDFLAGS; do
       
 14753   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
 14754   	    aix_use_runtimelinking=yes
       
 14755   	    break
       
 14756   	  fi
       
 14757 	  done
       
 14758 	  ;;
       
 14759 	esac
       
 14760 
       
 14761 	exp_sym_flag='-bexport'
       
 14762 	no_entry_flag='-bnoentry'
       
 14763       fi
       
 14764 
       
 14765       # When large executables or shared objects are built, AIX ld can
       
 14766       # have problems creating the table of contents.  If linking a library
       
 14767       # or program results in "error TOC overflow" add -mminimal-toc to
       
 14768       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 14769       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 14770 
       
 14771       archive_cmds_F77=''
       
 14772       hardcode_direct_F77=yes
       
 14773       hardcode_libdir_separator_F77=':'
       
 14774       link_all_deplibs_F77=yes
       
 14775 
       
 14776       if test "$GCC" = yes; then
       
 14777 	case $host_os in aix4.[012]|aix4.[012].*)
       
 14778 	# We only want to do this on AIX 4.2 and lower, the check
       
 14779 	# below for broken collect2 doesn't work under 4.3+
       
 14780 	  collect2name=`${CC} -print-prog-name=collect2`
       
 14781 	  if test -f "$collect2name" && \
       
 14782   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 14783 	  then
       
 14784   	  # We have reworked collect2
       
 14785   	  hardcode_direct_F77=yes
       
 14786 	  else
       
 14787   	  # We have old collect2
       
 14788   	  hardcode_direct_F77=unsupported
       
 14789   	  # It fails to find uninstalled libraries when the uninstalled
       
 14790   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 14791   	  # to unsupported forces relinking
       
 14792   	  hardcode_minus_L_F77=yes
       
 14793   	  hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14794   	  hardcode_libdir_separator_F77=
       
 14795 	  fi
       
 14796 	  ;;
       
 14797 	esac
       
 14798 	shared_flag='-shared'
       
 14799 	if test "$aix_use_runtimelinking" = yes; then
       
 14800 	  shared_flag="$shared_flag "'${wl}-G'
       
 14801 	fi
       
 14802       else
       
 14803 	# not using gcc
       
 14804 	if test "$host_cpu" = ia64; then
       
 14805   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 14806   	# chokes on -Wl,-G. The following line is correct:
       
 14807 	  shared_flag='-G'
       
 14808 	else
       
 14809 	  if test "$aix_use_runtimelinking" = yes; then
       
 14810 	    shared_flag='${wl}-G'
       
 14811 	  else
       
 14812 	    shared_flag='${wl}-bM:SRE'
       
 14813 	  fi
       
 14814 	fi
       
 14815       fi
       
 14816 
       
 14817       # It seems that -bexpall does not export symbols beginning with
       
 14818       # underscore (_), so it is better to generate a list of symbols to export.
       
 14819       always_export_symbols_F77=yes
       
 14820       if test "$aix_use_runtimelinking" = yes; then
       
 14821 	# Warning - without using the other runtime loading flags (-brtl),
       
 14822 	# -berok will link without error, but may produce a broken library.
       
 14823 	allow_undefined_flag_F77='-berok'
       
 14824        # Determine the default libpath from the value encoded in an empty executable.
       
 14825        cat >conftest.$ac_ext <<_ACEOF
       
 14826       program main
       
 14827 
       
 14828       end
       
 14829 _ACEOF
       
 14830 rm -f conftest.$ac_objext conftest$ac_exeext
       
 14831 if { (ac_try="$ac_link"
       
 14832 case "(($ac_try" in
       
 14833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14834   *) ac_try_echo=$ac_try;;
       
 14835 esac
       
 14836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14837   (eval "$ac_link") 2>conftest.er1
       
 14838   ac_status=$?
       
 14839   grep -v '^ *+' conftest.er1 >conftest.err
       
 14840   rm -f conftest.er1
       
 14841   cat conftest.err >&5
       
 14842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14843   (exit $ac_status); } &&
       
 14844 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
 14845   { (case "(($ac_try" in
       
 14846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14847   *) ac_try_echo=$ac_try;;
       
 14848 esac
       
 14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14850   (eval "$ac_try") 2>&5
       
 14851   ac_status=$?
       
 14852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14853   (exit $ac_status); }; } &&
       
 14854 	 { ac_try='test -s conftest$ac_exeext'
       
 14855   { (case "(($ac_try" in
       
 14856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14857   *) ac_try_echo=$ac_try;;
       
 14858 esac
       
 14859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14860   (eval "$ac_try") 2>&5
       
 14861   ac_status=$?
       
 14862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14863   (exit $ac_status); }; }; then
       
 14864 
       
 14865 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 14866 }'`
       
 14867 # Check for a 64-bit object if we didn't find anything.
       
 14868 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 14869 }'`; fi
       
 14870 else
       
 14871   echo "$as_me: failed program was:" >&5
       
 14872 sed 's/^/| /' conftest.$ac_ext >&5
       
 14873 
       
 14874 
       
 14875 fi
       
 14876 
       
 14877 rm -f core conftest.err conftest.$ac_objext \
       
 14878       conftest$ac_exeext conftest.$ac_ext
       
 14879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 14880 
       
 14881        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 14882 	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"
       
 14883        else
       
 14884 	if test "$host_cpu" = ia64; then
       
 14885 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
       
 14886 	  allow_undefined_flag_F77="-z nodefs"
       
 14887 	  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"
       
 14888 	else
       
 14889 	 # Determine the default libpath from the value encoded in an empty executable.
       
 14890 	 cat >conftest.$ac_ext <<_ACEOF
       
 14891       program main
       
 14892 
       
 14893       end
       
 14894 _ACEOF
       
 14895 rm -f conftest.$ac_objext conftest$ac_exeext
       
 14896 if { (ac_try="$ac_link"
       
 14897 case "(($ac_try" in
       
 14898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14899   *) ac_try_echo=$ac_try;;
       
 14900 esac
       
 14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14902   (eval "$ac_link") 2>conftest.er1
       
 14903   ac_status=$?
       
 14904   grep -v '^ *+' conftest.er1 >conftest.err
       
 14905   rm -f conftest.er1
       
 14906   cat conftest.err >&5
       
 14907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14908   (exit $ac_status); } &&
       
 14909 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
 14910   { (case "(($ac_try" in
       
 14911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14912   *) ac_try_echo=$ac_try;;
       
 14913 esac
       
 14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14915   (eval "$ac_try") 2>&5
       
 14916   ac_status=$?
       
 14917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14918   (exit $ac_status); }; } &&
       
 14919 	 { ac_try='test -s conftest$ac_exeext'
       
 14920   { (case "(($ac_try" in
       
 14921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 14922   *) ac_try_echo=$ac_try;;
       
 14923 esac
       
 14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 14925   (eval "$ac_try") 2>&5
       
 14926   ac_status=$?
       
 14927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 14928   (exit $ac_status); }; }; then
       
 14929 
       
 14930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 14931 }'`
       
 14932 # Check for a 64-bit object if we didn't find anything.
       
 14933 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 14934 }'`; fi
       
 14935 else
       
 14936   echo "$as_me: failed program was:" >&5
       
 14937 sed 's/^/| /' conftest.$ac_ext >&5
       
 14938 
       
 14939 
       
 14940 fi
       
 14941 
       
 14942 rm -f core conftest.err conftest.$ac_objext \
       
 14943       conftest$ac_exeext conftest.$ac_ext
       
 14944 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 14945 
       
 14946 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 14947 	  # Warning - without using the other run time loading flags,
       
 14948 	  # -berok will link without error, but may produce a broken library.
       
 14949 	  no_undefined_flag_F77=' ${wl}-bernotok'
       
 14950 	  allow_undefined_flag_F77=' ${wl}-berok'
       
 14951 	  # Exported symbols can be pulled into shared objects from archives
       
 14952 	  whole_archive_flag_spec_F77='$convenience'
       
 14953 	  archive_cmds_need_lc_F77=yes
       
 14954 	  # This is similar to how AIX traditionally builds its shared libraries.
       
 14955 	  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'
       
 14956 	fi
       
 14957       fi
       
 14958       ;;
       
 14959 
       
 14960     amigaos*)
       
 14961       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)'
       
 14962       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14963       hardcode_minus_L_F77=yes
       
 14964       # see comment about different semantics on the GNU ld section
       
 14965       ld_shlibs_F77=no
       
 14966       ;;
       
 14967 
       
 14968     bsdi[45]*)
       
 14969       export_dynamic_flag_spec_F77=-rdynamic
       
 14970       ;;
       
 14971 
       
 14972     cygwin* | mingw* | pw32*)
       
 14973       # When not using gcc, we currently assume that we are using
       
 14974       # Microsoft Visual C++.
       
 14975       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
 14976       # no search path for DLLs.
       
 14977       hardcode_libdir_flag_spec_F77=' '
       
 14978       allow_undefined_flag_F77=unsupported
       
 14979       # Tell ltmain to make .lib files, not .a files.
       
 14980       libext=lib
       
 14981       # Tell ltmain to make .dll files, not .so files.
       
 14982       shrext_cmds=".dll"
       
 14983       # FIXME: Setting linknames here is a bad hack.
       
 14984       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
 14985       # The linker will automatically build a .lib file if we build a DLL.
       
 14986       old_archive_From_new_cmds_F77='true'
       
 14987       # FIXME: Should let the user specify the lib program.
       
 14988       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
 14989       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
       
 14990       enable_shared_with_static_runtimes_F77=yes
       
 14991       ;;
       
 14992 
       
 14993     darwin* | rhapsody*)
       
 14994       case $host_os in
       
 14995         rhapsody* | darwin1.[012])
       
 14996          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
       
 14997          ;;
       
 14998        *) # Darwin 1.3 on
       
 14999          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 15000            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 15001          else
       
 15002            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 15003              10.[012])
       
 15004                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 15005                ;;
       
 15006              10.*)
       
 15007                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
       
 15008                ;;
       
 15009            esac
       
 15010          fi
       
 15011          ;;
       
 15012       esac
       
 15013       archive_cmds_need_lc_F77=no
       
 15014       hardcode_direct_F77=no
       
 15015       hardcode_automatic_F77=yes
       
 15016       hardcode_shlibpath_var_F77=unsupported
       
 15017       whole_archive_flag_spec_F77=''
       
 15018       link_all_deplibs_F77=yes
       
 15019     if test "$GCC" = yes ; then
       
 15020     	output_verbose_link_cmd='echo'
       
 15021         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 15022       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 15023       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 15024       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 15025       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}'
       
 15026     else
       
 15027       case $cc_basename in
       
 15028         xlc*)
       
 15029          output_verbose_link_cmd='echo'
       
 15030          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
 15031          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 15032           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 15033          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 15034           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}'
       
 15035           ;;
       
 15036        *)
       
 15037          ld_shlibs_F77=no
       
 15038           ;;
       
 15039       esac
       
 15040     fi
       
 15041       ;;
       
 15042 
       
 15043     dgux*)
       
 15044       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15045       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15046       hardcode_shlibpath_var_F77=no
       
 15047       ;;
       
 15048 
       
 15049     freebsd1*)
       
 15050       ld_shlibs_F77=no
       
 15051       ;;
       
 15052 
       
 15053     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
 15054     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
 15055     # does not break anything, and helps significantly (at the cost of a little
       
 15056     # extra space).
       
 15057     freebsd2.2*)
       
 15058       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
 15059       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15060       hardcode_direct_F77=yes
       
 15061       hardcode_shlibpath_var_F77=no
       
 15062       ;;
       
 15063 
       
 15064     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
 15065     freebsd2*)
       
 15066       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 15067       hardcode_direct_F77=yes
       
 15068       hardcode_minus_L_F77=yes
       
 15069       hardcode_shlibpath_var_F77=no
       
 15070       ;;
       
 15071 
       
 15072     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
 15073     freebsd* | kfreebsd*-gnu | dragonfly*)
       
 15074       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
 15075       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15076       hardcode_direct_F77=yes
       
 15077       hardcode_shlibpath_var_F77=no
       
 15078       ;;
       
 15079 
       
 15080     hpux9*)
       
 15081       if test "$GCC" = yes; then
       
 15082 	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'
       
 15083       else
       
 15084 	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'
       
 15085       fi
       
 15086       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15087       hardcode_libdir_separator_F77=:
       
 15088       hardcode_direct_F77=yes
       
 15089 
       
 15090       # hardcode_minus_L: Not really in the search PATH,
       
 15091       # but as the default location of the library.
       
 15092       hardcode_minus_L_F77=yes
       
 15093       export_dynamic_flag_spec_F77='${wl}-E'
       
 15094       ;;
       
 15095 
       
 15096     hpux10*)
       
 15097       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 15098 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15099       else
       
 15100 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
 15101       fi
       
 15102       if test "$with_gnu_ld" = no; then
       
 15103 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15104 	hardcode_libdir_separator_F77=:
       
 15105 
       
 15106 	hardcode_direct_F77=yes
       
 15107 	export_dynamic_flag_spec_F77='${wl}-E'
       
 15108 
       
 15109 	# hardcode_minus_L: Not really in the search PATH,
       
 15110 	# but as the default location of the library.
       
 15111 	hardcode_minus_L_F77=yes
       
 15112       fi
       
 15113       ;;
       
 15114 
       
 15115     hpux11*)
       
 15116       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 15117 	case $host_cpu in
       
 15118 	hppa*64*)
       
 15119 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15120 	  ;;
       
 15121 	ia64*)
       
 15122 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 15123 	  ;;
       
 15124 	*)
       
 15125 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15126 	  ;;
       
 15127 	esac
       
 15128       else
       
 15129 	case $host_cpu in
       
 15130 	hppa*64*)
       
 15131 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15132 	  ;;
       
 15133 	ia64*)
       
 15134 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 15135 	  ;;
       
 15136 	*)
       
 15137 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15138 	  ;;
       
 15139 	esac
       
 15140       fi
       
 15141       if test "$with_gnu_ld" = no; then
       
 15142 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15143 	hardcode_libdir_separator_F77=:
       
 15144 
       
 15145 	case $host_cpu in
       
 15146 	hppa*64*|ia64*)
       
 15147 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
       
 15148 	  hardcode_direct_F77=no
       
 15149 	  hardcode_shlibpath_var_F77=no
       
 15150 	  ;;
       
 15151 	*)
       
 15152 	  hardcode_direct_F77=yes
       
 15153 	  export_dynamic_flag_spec_F77='${wl}-E'
       
 15154 
       
 15155 	  # hardcode_minus_L: Not really in the search PATH,
       
 15156 	  # but as the default location of the library.
       
 15157 	  hardcode_minus_L_F77=yes
       
 15158 	  ;;
       
 15159 	esac
       
 15160       fi
       
 15161       ;;
       
 15162 
       
 15163     irix5* | irix6* | nonstopux*)
       
 15164       if test "$GCC" = yes; then
       
 15165 	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'
       
 15166       else
       
 15167 	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'
       
 15168 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
       
 15169       fi
       
 15170       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15171       hardcode_libdir_separator_F77=:
       
 15172       link_all_deplibs_F77=yes
       
 15173       ;;
       
 15174 
       
 15175     netbsd*)
       
 15176       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 15177 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
 15178       else
       
 15179 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
 15180       fi
       
 15181       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15182       hardcode_direct_F77=yes
       
 15183       hardcode_shlibpath_var_F77=no
       
 15184       ;;
       
 15185 
       
 15186     newsos6)
       
 15187       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15188       hardcode_direct_F77=yes
       
 15189       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15190       hardcode_libdir_separator_F77=:
       
 15191       hardcode_shlibpath_var_F77=no
       
 15192       ;;
       
 15193 
       
 15194     openbsd*)
       
 15195       hardcode_direct_F77=yes
       
 15196       hardcode_shlibpath_var_F77=no
       
 15197       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 15198 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 15199 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
 15200 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 15201 	export_dynamic_flag_spec_F77='${wl}-E'
       
 15202       else
       
 15203        case $host_os in
       
 15204 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
 15205 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 15206 	   hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15207 	   ;;
       
 15208 	 *)
       
 15209 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 15210 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 15211 	   ;;
       
 15212        esac
       
 15213       fi
       
 15214       ;;
       
 15215 
       
 15216     os2*)
       
 15217       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15218       hardcode_minus_L_F77=yes
       
 15219       allow_undefined_flag_F77=unsupported
       
 15220       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'
       
 15221       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
 15222       ;;
       
 15223 
       
 15224     osf3*)
       
 15225       if test "$GCC" = yes; then
       
 15226 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
       
 15227 	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'
       
 15228       else
       
 15229 	allow_undefined_flag_F77=' -expect_unresolved \*'
       
 15230 	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'
       
 15231       fi
       
 15232       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15233       hardcode_libdir_separator_F77=:
       
 15234       ;;
       
 15235 
       
 15236     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
 15237       if test "$GCC" = yes; then
       
 15238 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
       
 15239 	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'
       
 15240 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15241       else
       
 15242 	allow_undefined_flag_F77=' -expect_unresolved \*'
       
 15243 	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'
       
 15244 	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~
       
 15245 	$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'
       
 15246 
       
 15247 	# Both c and cxx compiler support -rpath directly
       
 15248 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
       
 15249       fi
       
 15250       hardcode_libdir_separator_F77=:
       
 15251       ;;
       
 15252 
       
 15253     solaris*)
       
 15254       no_undefined_flag_F77=' -z text'
       
 15255       if test "$GCC" = yes; then
       
 15256 	wlarc='${wl}'
       
 15257 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15258 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 15259 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
 15260       else
       
 15261 	wlarc=''
       
 15262 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15263 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 15264   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
 15265       fi
       
 15266       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15267       hardcode_shlibpath_var_F77=no
       
 15268       case $host_os in
       
 15269       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 15270       *)
       
 15271  	# The compiler driver will combine linker options so we
       
 15272  	# cannot just pass the convience library names through
       
 15273  	# without $wl, iff we do not link with $LD.
       
 15274  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
 15275  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
 15276  	case $wlarc in
       
 15277  	'')
       
 15278  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
       
 15279  	*)
       
 15280  	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
       
 15281  	esac ;;
       
 15282       esac
       
 15283       link_all_deplibs_F77=yes
       
 15284       ;;
       
 15285 
       
 15286     sunos4*)
       
 15287       if test "x$host_vendor" = xsequent; then
       
 15288 	# Use $CC to link under sequent, because it throws in some extra .o
       
 15289 	# files that make .init and .fini sections work.
       
 15290 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15291       else
       
 15292 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
 15293       fi
       
 15294       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15295       hardcode_direct_F77=yes
       
 15296       hardcode_minus_L_F77=yes
       
 15297       hardcode_shlibpath_var_F77=no
       
 15298       ;;
       
 15299 
       
 15300     sysv4)
       
 15301       case $host_vendor in
       
 15302 	sni)
       
 15303 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15304 	  hardcode_direct_F77=yes # is this really true???
       
 15305 	;;
       
 15306 	siemens)
       
 15307 	  ## LD is ld it makes a PLAMLIB
       
 15308 	  ## CC just makes a GrossModule.
       
 15309 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
 15310 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
       
 15311 	  hardcode_direct_F77=no
       
 15312         ;;
       
 15313 	motorola)
       
 15314 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15315 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
       
 15316 	;;
       
 15317       esac
       
 15318       runpath_var='LD_RUN_PATH'
       
 15319       hardcode_shlibpath_var_F77=no
       
 15320       ;;
       
 15321 
       
 15322     sysv4.3*)
       
 15323       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15324       hardcode_shlibpath_var_F77=no
       
 15325       export_dynamic_flag_spec_F77='-Bexport'
       
 15326       ;;
       
 15327 
       
 15328     sysv4*MP*)
       
 15329       if test -d /usr/nec; then
       
 15330 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15331 	hardcode_shlibpath_var_F77=no
       
 15332 	runpath_var=LD_RUN_PATH
       
 15333 	hardcode_runpath_var=yes
       
 15334 	ld_shlibs_F77=yes
       
 15335       fi
       
 15336       ;;
       
 15337 
       
 15338     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
 15339       no_undefined_flag_F77='${wl}-z,text'
       
 15340       archive_cmds_need_lc_F77=no
       
 15341       hardcode_shlibpath_var_F77=no
       
 15342       runpath_var='LD_RUN_PATH'
       
 15343 
       
 15344       if test "$GCC" = yes; then
       
 15345 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15346 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15347       else
       
 15348 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15349 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15350       fi
       
 15351       ;;
       
 15352 
       
 15353     sysv5* | sco3.2v5* | sco5v6*)
       
 15354       # Note: We can NOT use -z defs as we might desire, because we do not
       
 15355       # link with -lc, and that would cause any symbols used from libc to
       
 15356       # always be unresolved, which means just about no library would
       
 15357       # ever link correctly.  If we're not using GNU ld we use -z text
       
 15358       # though, which does catch some bad symbols but isn't as heavy-handed
       
 15359       # as -z defs.
       
 15360       no_undefined_flag_F77='${wl}-z,text'
       
 15361       allow_undefined_flag_F77='${wl}-z,nodefs'
       
 15362       archive_cmds_need_lc_F77=no
       
 15363       hardcode_shlibpath_var_F77=no
       
 15364       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 15365       hardcode_libdir_separator_F77=':'
       
 15366       link_all_deplibs_F77=yes
       
 15367       export_dynamic_flag_spec_F77='${wl}-Bexport'
       
 15368       runpath_var='LD_RUN_PATH'
       
 15369 
       
 15370       if test "$GCC" = yes; then
       
 15371 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15372 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15373       else
       
 15374 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15375 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15376       fi
       
 15377       ;;
       
 15378 
       
 15379     uts4*)
       
 15380       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15381       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15382       hardcode_shlibpath_var_F77=no
       
 15383       ;;
       
 15384 
       
 15385     *)
       
 15386       ld_shlibs_F77=no
       
 15387       ;;
       
 15388     esac
       
 15389   fi
       
 15390 
       
 15391 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
       
 15392 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
       
 15393 test "$ld_shlibs_F77" = no && can_build_shared=no
       
 15394 
       
 15395 #
       
 15396 # Do we need to explicitly link libc?
       
 15397 #
       
 15398 case "x$archive_cmds_need_lc_F77" in
       
 15399 x|xyes)
       
 15400   # Assume -lc should be added
       
 15401   archive_cmds_need_lc_F77=yes
       
 15402 
       
 15403   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 15404     case $archive_cmds_F77 in
       
 15405     *'~'*)
       
 15406       # FIXME: we may have to deal with multi-command sequences.
       
 15407       ;;
       
 15408     '$CC '*)
       
 15409       # Test whether the compiler implicitly links with -lc since on some
       
 15410       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 15411       # to ld, don't add -lc before -lgcc.
       
 15412       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 15413 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 15414       $rm conftest*
       
 15415       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 15416 
       
 15417       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 15418   (eval $ac_compile) 2>&5
       
 15419   ac_status=$?
       
 15420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15421   (exit $ac_status); } 2>conftest.err; then
       
 15422         soname=conftest
       
 15423         lib=conftest
       
 15424         libobjs=conftest.$ac_objext
       
 15425         deplibs=
       
 15426         wl=$lt_prog_compiler_wl_F77
       
 15427 	pic_flag=$lt_prog_compiler_pic_F77
       
 15428         compiler_flags=-v
       
 15429         linker_flags=-v
       
 15430         verstring=
       
 15431         output_objdir=.
       
 15432         libname=conftest
       
 15433         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
       
 15434         allow_undefined_flag_F77=
       
 15435         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 15436   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 15437   ac_status=$?
       
 15438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15439   (exit $ac_status); }
       
 15440         then
       
 15441 	  archive_cmds_need_lc_F77=no
       
 15442         else
       
 15443 	  archive_cmds_need_lc_F77=yes
       
 15444         fi
       
 15445         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
       
 15446       else
       
 15447         cat conftest.err 1>&5
       
 15448       fi
       
 15449       $rm conftest*
       
 15450       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
       
 15451 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
       
 15452       ;;
       
 15453     esac
       
 15454   fi
       
 15455   ;;
       
 15456 esac
       
 15457 
       
 15458 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 15459 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 15460 library_names_spec=
       
 15461 libname_spec='lib$name'
       
 15462 soname_spec=
       
 15463 shrext_cmds=".so"
       
 15464 postinstall_cmds=
       
 15465 postuninstall_cmds=
       
 15466 finish_cmds=
       
 15467 finish_eval=
       
 15468 shlibpath_var=
       
 15469 shlibpath_overrides_runpath=unknown
       
 15470 version_type=none
       
 15471 dynamic_linker="$host_os ld.so"
       
 15472 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 15473 if test "$GCC" = yes; then
       
 15474   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 15475   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 15476     # if the path contains ";" then we assume it to be the separator
       
 15477     # otherwise default to the standard path separator (i.e. ":") - it is
       
 15478     # assumed that no part of a normal pathname contains ";" but that should
       
 15479     # okay in the real world where ";" in dirpaths is itself problematic.
       
 15480     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 15481   else
       
 15482     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 15483   fi
       
 15484 else
       
 15485   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 15486 fi
       
 15487 need_lib_prefix=unknown
       
 15488 hardcode_into_libs=no
       
 15489 
       
 15490 # when you set need_version to no, make sure it does not cause -set_version
       
 15491 # flags to be left without arguments
       
 15492 need_version=unknown
       
 15493 
       
 15494 case $host_os in
       
 15495 aix3*)
       
 15496   version_type=linux
       
 15497   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 15498   shlibpath_var=LIBPATH
       
 15499 
       
 15500   # AIX 3 has no versioning support, so we append a major version to the name.
       
 15501   soname_spec='${libname}${release}${shared_ext}$major'
       
 15502   ;;
       
 15503 
       
 15504 aix4* | aix5*)
       
 15505   version_type=linux
       
 15506   need_lib_prefix=no
       
 15507   need_version=no
       
 15508   hardcode_into_libs=yes
       
 15509   if test "$host_cpu" = ia64; then
       
 15510     # AIX 5 supports IA64
       
 15511     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 15512     shlibpath_var=LD_LIBRARY_PATH
       
 15513   else
       
 15514     # With GCC up to 2.95.x, collect2 would create an import file
       
 15515     # for dependence libraries.  The import file would start with
       
 15516     # the line `#! .'.  This would cause the generated library to
       
 15517     # depend on `.', always an invalid library.  This was fixed in
       
 15518     # development snapshots of GCC prior to 3.0.
       
 15519     case $host_os in
       
 15520       aix4 | aix4.[01] | aix4.[01].*)
       
 15521       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 15522 	   echo ' yes '
       
 15523 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 15524 	:
       
 15525       else
       
 15526 	can_build_shared=no
       
 15527       fi
       
 15528       ;;
       
 15529     esac
       
 15530     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 15531     # soname into executable. Probably we can add versioning support to
       
 15532     # collect2, so additional links can be useful in future.
       
 15533     if test "$aix_use_runtimelinking" = yes; then
       
 15534       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 15535       # instead of lib<name>.a to let people know that these are not
       
 15536       # typical AIX shared libraries.
       
 15537       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15538     else
       
 15539       # We preserve .a as extension for shared libraries through AIX4.2
       
 15540       # and later when we are not doing run time linking.
       
 15541       library_names_spec='${libname}${release}.a $libname.a'
       
 15542       soname_spec='${libname}${release}${shared_ext}$major'
       
 15543     fi
       
 15544     shlibpath_var=LIBPATH
       
 15545   fi
       
 15546   ;;
       
 15547 
       
 15548 amigaos*)
       
 15549   library_names_spec='$libname.ixlibrary $libname.a'
       
 15550   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 15551   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'
       
 15552   ;;
       
 15553 
       
 15554 beos*)
       
 15555   library_names_spec='${libname}${shared_ext}'
       
 15556   dynamic_linker="$host_os ld.so"
       
 15557   shlibpath_var=LIBRARY_PATH
       
 15558   ;;
       
 15559 
       
 15560 bsdi[45]*)
       
 15561   version_type=linux
       
 15562   need_version=no
       
 15563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15564   soname_spec='${libname}${release}${shared_ext}$major'
       
 15565   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 15566   shlibpath_var=LD_LIBRARY_PATH
       
 15567   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 15568   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 15569   # the default ld.so.conf also contains /usr/contrib/lib and
       
 15570   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 15571   # libtool to hard-code these into programs
       
 15572   ;;
       
 15573 
       
 15574 cygwin* | mingw* | pw32*)
       
 15575   version_type=windows
       
 15576   shrext_cmds=".dll"
       
 15577   need_version=no
       
 15578   need_lib_prefix=no
       
 15579 
       
 15580   case $GCC,$host_os in
       
 15581   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 15582     library_names_spec='$libname.dll.a'
       
 15583     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 15584     postinstall_cmds='base_file=`basename \${file}`~
       
 15585       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 15586       dldir=$destdir/`dirname \$dlpath`~
       
 15587       test -d \$dldir || mkdir -p \$dldir~
       
 15588       $install_prog $dir/$dlname \$dldir/$dlname~
       
 15589       chmod a+x \$dldir/$dlname'
       
 15590     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 15591       dlpath=$dir/\$dldll~
       
 15592        $rm \$dlpath'
       
 15593     shlibpath_overrides_runpath=yes
       
 15594 
       
 15595     case $host_os in
       
 15596     cygwin*)
       
 15597       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 15598       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15599       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 15600       ;;
       
 15601     mingw*)
       
 15602       # MinGW DLLs use traditional 'lib' prefix
       
 15603       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15604       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 15605       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 15606         # It is most probably a Windows format PATH printed by
       
 15607         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 15608         # path with ; separators, and with drive letters. We can handle the
       
 15609         # drive letters (cygwin fileutils understands them), so leave them,
       
 15610         # especially as we might pass files found there to a mingw objdump,
       
 15611         # which wouldn't understand a cygwinified path. Ahh.
       
 15612         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 15613       else
       
 15614         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 15615       fi
       
 15616       ;;
       
 15617     pw32*)
       
 15618       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 15619       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15620       ;;
       
 15621     esac
       
 15622     ;;
       
 15623 
       
 15624   *)
       
 15625     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 15626     ;;
       
 15627   esac
       
 15628   dynamic_linker='Win32 ld.exe'
       
 15629   # FIXME: first we should search . and the directory the executable is in
       
 15630   shlibpath_var=PATH
       
 15631   ;;
       
 15632 
       
 15633 darwin* | rhapsody*)
       
 15634   dynamic_linker="$host_os dyld"
       
 15635   version_type=darwin
       
 15636   need_lib_prefix=no
       
 15637   need_version=no
       
 15638   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 15639   soname_spec='${libname}${release}${major}$shared_ext'
       
 15640   shlibpath_overrides_runpath=yes
       
 15641   shlibpath_var=DYLD_LIBRARY_PATH
       
 15642   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 15643   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 15644   if test "$GCC" = yes; then
       
 15645     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
       
 15646   else
       
 15647     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 15648   fi
       
 15649   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 15650   ;;
       
 15651 
       
 15652 dgux*)
       
 15653   version_type=linux
       
 15654   need_lib_prefix=no
       
 15655   need_version=no
       
 15656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
 15657   soname_spec='${libname}${release}${shared_ext}$major'
       
 15658   shlibpath_var=LD_LIBRARY_PATH
       
 15659   ;;
       
 15660 
       
 15661 freebsd1*)
       
 15662   dynamic_linker=no
       
 15663   ;;
       
 15664 
       
 15665 kfreebsd*-gnu)
       
 15666   version_type=linux
       
 15667   need_lib_prefix=no
       
 15668   need_version=no
       
 15669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 15670   soname_spec='${libname}${release}${shared_ext}$major'
       
 15671   shlibpath_var=LD_LIBRARY_PATH
       
 15672   shlibpath_overrides_runpath=no
       
 15673   hardcode_into_libs=yes
       
 15674   dynamic_linker='GNU ld.so'
       
 15675   ;;
       
 15676 
       
 15677 freebsd* | dragonfly*)
       
 15678   # DragonFly does not have aout.  When/if they implement a new
       
 15679   # versioning mechanism, adjust this.
       
 15680   if test -x /usr/bin/objformat; then
       
 15681     objformat=`/usr/bin/objformat`
       
 15682   else
       
 15683     case $host_os in
       
 15684     freebsd[123]*) objformat=aout ;;
       
 15685     *) objformat=elf ;;
       
 15686     esac
       
 15687   fi
       
 15688   version_type=freebsd-$objformat
       
 15689   case $version_type in
       
 15690     freebsd-elf*)
       
 15691       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 15692       need_version=no
       
 15693       need_lib_prefix=no
       
 15694       ;;
       
 15695     freebsd-*)
       
 15696       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 15697       need_version=yes
       
 15698       ;;
       
 15699   esac
       
 15700   shlibpath_var=LD_LIBRARY_PATH
       
 15701   case $host_os in
       
 15702   freebsd2*)
       
 15703     shlibpath_overrides_runpath=yes
       
 15704     ;;
       
 15705   freebsd3.[01]* | freebsdelf3.[01]*)
       
 15706     shlibpath_overrides_runpath=yes
       
 15707     hardcode_into_libs=yes
       
 15708     ;;
       
 15709   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 15710   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 15711     shlibpath_overrides_runpath=no
       
 15712     hardcode_into_libs=yes
       
 15713     ;;
       
 15714   freebsd*) # from 4.6 on
       
 15715     shlibpath_overrides_runpath=yes
       
 15716     hardcode_into_libs=yes
       
 15717     ;;
       
 15718   esac
       
 15719   ;;
       
 15720 
       
 15721 gnu*)
       
 15722   version_type=linux
       
 15723   need_lib_prefix=no
       
 15724   need_version=no
       
 15725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 15726   soname_spec='${libname}${release}${shared_ext}$major'
       
 15727   shlibpath_var=LD_LIBRARY_PATH
       
 15728   hardcode_into_libs=yes
       
 15729   ;;
       
 15730 
       
 15731 hpux9* | hpux10* | hpux11*)
       
 15732   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 15733   # link against other versions.
       
 15734   version_type=sunos
       
 15735   need_lib_prefix=no
       
 15736   need_version=no
       
 15737   case $host_cpu in
       
 15738   ia64*)
       
 15739     shrext_cmds='.so'
       
 15740     hardcode_into_libs=yes
       
 15741     dynamic_linker="$host_os dld.so"
       
 15742     shlibpath_var=LD_LIBRARY_PATH
       
 15743     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 15744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15745     soname_spec='${libname}${release}${shared_ext}$major'
       
 15746     if test "X$HPUX_IA64_MODE" = X32; then
       
 15747       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 15748     else
       
 15749       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 15750     fi
       
 15751     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 15752     ;;
       
 15753    hppa*64*)
       
 15754      shrext_cmds='.sl'
       
 15755      hardcode_into_libs=yes
       
 15756      dynamic_linker="$host_os dld.sl"
       
 15757      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 15758      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 15759      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15760      soname_spec='${libname}${release}${shared_ext}$major'
       
 15761      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 15762      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 15763      ;;
       
 15764    *)
       
 15765     shrext_cmds='.sl'
       
 15766     dynamic_linker="$host_os dld.sl"
       
 15767     shlibpath_var=SHLIB_PATH
       
 15768     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 15769     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15770     soname_spec='${libname}${release}${shared_ext}$major'
       
 15771     ;;
       
 15772   esac
       
 15773   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 15774   postinstall_cmds='chmod 555 $lib'
       
 15775   ;;
       
 15776 
       
 15777 interix3*)
       
 15778   version_type=linux
       
 15779   need_lib_prefix=no
       
 15780   need_version=no
       
 15781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 15782   soname_spec='${libname}${release}${shared_ext}$major'
       
 15783   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 15784   shlibpath_var=LD_LIBRARY_PATH
       
 15785   shlibpath_overrides_runpath=no
       
 15786   hardcode_into_libs=yes
       
 15787   ;;
       
 15788 
       
 15789 irix5* | irix6* | nonstopux*)
       
 15790   case $host_os in
       
 15791     nonstopux*) version_type=nonstopux ;;
       
 15792     *)
       
 15793 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 15794 		version_type=linux
       
 15795 	else
       
 15796 		version_type=irix
       
 15797 	fi ;;
       
 15798   esac
       
 15799   need_lib_prefix=no
       
 15800   need_version=no
       
 15801   soname_spec='${libname}${release}${shared_ext}$major'
       
 15802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 15803   case $host_os in
       
 15804   irix5* | nonstopux*)
       
 15805     libsuff= shlibsuff=
       
 15806     ;;
       
 15807   *)
       
 15808     case $LD in # libtool.m4 will add one of these switches to LD
       
 15809     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 15810       libsuff= shlibsuff= libmagic=32-bit;;
       
 15811     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 15812       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 15813     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 15814       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 15815     *) libsuff= shlibsuff= libmagic=never-match;;
       
 15816     esac
       
 15817     ;;
       
 15818   esac
       
 15819   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 15820   shlibpath_overrides_runpath=no
       
 15821   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 15822   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 15823   hardcode_into_libs=yes
       
 15824   ;;
       
 15825 
       
 15826 # No shared lib support for Linux oldld, aout, or coff.
       
 15827 linux*oldld* | linux*aout* | linux*coff*)
       
 15828   dynamic_linker=no
       
 15829   ;;
       
 15830 
       
 15831 # This must be Linux ELF.
       
 15832 linux*)
       
 15833   version_type=linux
       
 15834   need_lib_prefix=no
       
 15835   need_version=no
       
 15836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15837   soname_spec='${libname}${release}${shared_ext}$major'
       
 15838   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 15839   shlibpath_var=LD_LIBRARY_PATH
       
 15840   shlibpath_overrides_runpath=no
       
 15841   # This implies no fast_install, which is unacceptable.
       
 15842   # Some rework will be needed to allow for fast_install
       
 15843   # before this can be enabled.
       
 15844   hardcode_into_libs=yes
       
 15845 
       
 15846   # Append ld.so.conf contents to the search path
       
 15847   if test -f /etc/ld.so.conf; then
       
 15848     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
       
 15849     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 15850   fi
       
 15851 
       
 15852   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 15853   # powerpc, because MkLinux only supported shared libraries with the
       
 15854   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 15855   # most powerpc-linux boxes support dynamic linking these days and
       
 15856   # people can always --disable-shared, the test was removed, and we
       
 15857   # assume the GNU/Linux dynamic linker is in use.
       
 15858   dynamic_linker='GNU/Linux ld.so'
       
 15859   ;;
       
 15860 
       
 15861 knetbsd*-gnu)
       
 15862   version_type=linux
       
 15863   need_lib_prefix=no
       
 15864   need_version=no
       
 15865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 15866   soname_spec='${libname}${release}${shared_ext}$major'
       
 15867   shlibpath_var=LD_LIBRARY_PATH
       
 15868   shlibpath_overrides_runpath=no
       
 15869   hardcode_into_libs=yes
       
 15870   dynamic_linker='GNU ld.so'
       
 15871   ;;
       
 15872 
       
 15873 netbsd*)
       
 15874   version_type=sunos
       
 15875   need_lib_prefix=no
       
 15876   need_version=no
       
 15877   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 15878     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 15879     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 15880     dynamic_linker='NetBSD (a.out) ld.so'
       
 15881   else
       
 15882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 15883     soname_spec='${libname}${release}${shared_ext}$major'
       
 15884     dynamic_linker='NetBSD ld.elf_so'
       
 15885   fi
       
 15886   shlibpath_var=LD_LIBRARY_PATH
       
 15887   shlibpath_overrides_runpath=yes
       
 15888   hardcode_into_libs=yes
       
 15889   ;;
       
 15890 
       
 15891 newsos6)
       
 15892   version_type=linux
       
 15893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15894   shlibpath_var=LD_LIBRARY_PATH
       
 15895   shlibpath_overrides_runpath=yes
       
 15896   ;;
       
 15897 
       
 15898 nto-qnx*)
       
 15899   version_type=linux
       
 15900   need_lib_prefix=no
       
 15901   need_version=no
       
 15902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15903   soname_spec='${libname}${release}${shared_ext}$major'
       
 15904   shlibpath_var=LD_LIBRARY_PATH
       
 15905   shlibpath_overrides_runpath=yes
       
 15906   ;;
       
 15907 
       
 15908 openbsd*)
       
 15909   version_type=sunos
       
 15910   sys_lib_dlsearch_path_spec="/usr/lib"
       
 15911   need_lib_prefix=no
       
 15912   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 15913   case $host_os in
       
 15914     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 15915     *)                         need_version=no  ;;
       
 15916   esac
       
 15917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 15918   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 15919   shlibpath_var=LD_LIBRARY_PATH
       
 15920   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 15921     case $host_os in
       
 15922       openbsd2.[89] | openbsd2.[89].*)
       
 15923 	shlibpath_overrides_runpath=no
       
 15924 	;;
       
 15925       *)
       
 15926 	shlibpath_overrides_runpath=yes
       
 15927 	;;
       
 15928       esac
       
 15929   else
       
 15930     shlibpath_overrides_runpath=yes
       
 15931   fi
       
 15932   ;;
       
 15933 
       
 15934 os2*)
       
 15935   libname_spec='$name'
       
 15936   shrext_cmds=".dll"
       
 15937   need_lib_prefix=no
       
 15938   library_names_spec='$libname${shared_ext} $libname.a'
       
 15939   dynamic_linker='OS/2 ld.exe'
       
 15940   shlibpath_var=LIBPATH
       
 15941   ;;
       
 15942 
       
 15943 osf3* | osf4* | osf5*)
       
 15944   version_type=osf
       
 15945   need_lib_prefix=no
       
 15946   need_version=no
       
 15947   soname_spec='${libname}${release}${shared_ext}$major'
       
 15948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15949   shlibpath_var=LD_LIBRARY_PATH
       
 15950   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 15951   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 15952   ;;
       
 15953 
       
 15954 solaris*)
       
 15955   version_type=linux
       
 15956   need_lib_prefix=no
       
 15957   need_version=no
       
 15958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15959   soname_spec='${libname}${release}${shared_ext}$major'
       
 15960   shlibpath_var=LD_LIBRARY_PATH
       
 15961   shlibpath_overrides_runpath=yes
       
 15962   hardcode_into_libs=yes
       
 15963   # ldd complains unless libraries are executable
       
 15964   postinstall_cmds='chmod +x $lib'
       
 15965   ;;
       
 15966 
       
 15967 sunos4*)
       
 15968   version_type=sunos
       
 15969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 15970   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 15971   shlibpath_var=LD_LIBRARY_PATH
       
 15972   shlibpath_overrides_runpath=yes
       
 15973   if test "$with_gnu_ld" = yes; then
       
 15974     need_lib_prefix=no
       
 15975   fi
       
 15976   need_version=yes
       
 15977   ;;
       
 15978 
       
 15979 sysv4 | sysv4.3*)
       
 15980   version_type=linux
       
 15981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15982   soname_spec='${libname}${release}${shared_ext}$major'
       
 15983   shlibpath_var=LD_LIBRARY_PATH
       
 15984   case $host_vendor in
       
 15985     sni)
       
 15986       shlibpath_overrides_runpath=no
       
 15987       need_lib_prefix=no
       
 15988       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 15989       runpath_var=LD_RUN_PATH
       
 15990       ;;
       
 15991     siemens)
       
 15992       need_lib_prefix=no
       
 15993       ;;
       
 15994     motorola)
       
 15995       need_lib_prefix=no
       
 15996       need_version=no
       
 15997       shlibpath_overrides_runpath=no
       
 15998       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 15999       ;;
       
 16000   esac
       
 16001   ;;
       
 16002 
       
 16003 sysv4*MP*)
       
 16004   if test -d /usr/nec ;then
       
 16005     version_type=linux
       
 16006     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 16007     soname_spec='$libname${shared_ext}.$major'
       
 16008     shlibpath_var=LD_LIBRARY_PATH
       
 16009   fi
       
 16010   ;;
       
 16011 
       
 16012 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 16013   version_type=freebsd-elf
       
 16014   need_lib_prefix=no
       
 16015   need_version=no
       
 16016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 16017   soname_spec='${libname}${release}${shared_ext}$major'
       
 16018   shlibpath_var=LD_LIBRARY_PATH
       
 16019   hardcode_into_libs=yes
       
 16020   if test "$with_gnu_ld" = yes; then
       
 16021     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 16022     shlibpath_overrides_runpath=no
       
 16023   else
       
 16024     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 16025     shlibpath_overrides_runpath=yes
       
 16026     case $host_os in
       
 16027       sco3.2v5*)
       
 16028         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 16029 	;;
       
 16030     esac
       
 16031   fi
       
 16032   sys_lib_dlsearch_path_spec='/usr/lib'
       
 16033   ;;
       
 16034 
       
 16035 uts4*)
       
 16036   version_type=linux
       
 16037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16038   soname_spec='${libname}${release}${shared_ext}$major'
       
 16039   shlibpath_var=LD_LIBRARY_PATH
       
 16040   ;;
       
 16041 
       
 16042 *)
       
 16043   dynamic_linker=no
       
 16044   ;;
       
 16045 esac
       
 16046 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 16047 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 16048 test "$dynamic_linker" = no && can_build_shared=no
       
 16049 
       
 16050 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 16051 if test "$GCC" = yes; then
       
 16052   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 16053 fi
       
 16054 
       
 16055 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 16056 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 16057 hardcode_action_F77=
       
 16058 if test -n "$hardcode_libdir_flag_spec_F77" || \
       
 16059    test -n "$runpath_var_F77" || \
       
 16060    test "X$hardcode_automatic_F77" = "Xyes" ; then
       
 16061 
       
 16062   # We can hardcode non-existant directories.
       
 16063   if test "$hardcode_direct_F77" != no &&
       
 16064      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 16065      # have to relink, otherwise we might link with an installed library
       
 16066      # when we should be linking with a yet-to-be-installed one
       
 16067      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
       
 16068      test "$hardcode_minus_L_F77" != no; then
       
 16069     # Linking always hardcodes the temporary library directory.
       
 16070     hardcode_action_F77=relink
       
 16071   else
       
 16072     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 16073     hardcode_action_F77=immediate
       
 16074   fi
       
 16075 else
       
 16076   # We cannot hardcode anything, or else we can only hardcode existing
       
 16077   # directories.
       
 16078   hardcode_action_F77=unsupported
       
 16079 fi
       
 16080 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
       
 16081 echo "${ECHO_T}$hardcode_action_F77" >&6; }
       
 16082 
       
 16083 if test "$hardcode_action_F77" = relink; then
       
 16084   # Fast installation is not supported
       
 16085   enable_fast_install=no
       
 16086 elif test "$shlibpath_overrides_runpath" = yes ||
       
 16087      test "$enable_shared" = no; then
       
 16088   # Fast installation is not necessary
       
 16089   enable_fast_install=needless
       
 16090 fi
       
 16091 
       
 16092 
       
 16093 # The else clause should only fire when bootstrapping the
       
 16094 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 16095 # with your package, and you will get complaints that there are
       
 16096 # no rules to generate ltmain.sh.
       
 16097 if test -f "$ltmain"; then
       
 16098   # See if we are running on zsh, and set the options which allow our commands through
       
 16099   # without removal of \ escapes.
       
 16100   if test -n "${ZSH_VERSION+set}" ; then
       
 16101     setopt NO_GLOB_SUBST
       
 16102   fi
       
 16103   # Now quote all the things that may contain metacharacters while being
       
 16104   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 16105   # variables and quote the copies for generation of the libtool script.
       
 16106   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 16107     SED SHELL STRIP \
       
 16108     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 16109     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 16110     deplibs_check_method reload_flag reload_cmds need_locks \
       
 16111     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 16112     lt_cv_sys_global_symbol_to_c_name_address \
       
 16113     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 16114     old_postinstall_cmds old_postuninstall_cmds \
       
 16115     compiler_F77 \
       
 16116     CC_F77 \
       
 16117     LD_F77 \
       
 16118     lt_prog_compiler_wl_F77 \
       
 16119     lt_prog_compiler_pic_F77 \
       
 16120     lt_prog_compiler_static_F77 \
       
 16121     lt_prog_compiler_no_builtin_flag_F77 \
       
 16122     export_dynamic_flag_spec_F77 \
       
 16123     thread_safe_flag_spec_F77 \
       
 16124     whole_archive_flag_spec_F77 \
       
 16125     enable_shared_with_static_runtimes_F77 \
       
 16126     old_archive_cmds_F77 \
       
 16127     old_archive_from_new_cmds_F77 \
       
 16128     predep_objects_F77 \
       
 16129     postdep_objects_F77 \
       
 16130     predeps_F77 \
       
 16131     postdeps_F77 \
       
 16132     compiler_lib_search_path_F77 \
       
 16133     archive_cmds_F77 \
       
 16134     archive_expsym_cmds_F77 \
       
 16135     postinstall_cmds_F77 \
       
 16136     postuninstall_cmds_F77 \
       
 16137     old_archive_from_expsyms_cmds_F77 \
       
 16138     allow_undefined_flag_F77 \
       
 16139     no_undefined_flag_F77 \
       
 16140     export_symbols_cmds_F77 \
       
 16141     hardcode_libdir_flag_spec_F77 \
       
 16142     hardcode_libdir_flag_spec_ld_F77 \
       
 16143     hardcode_libdir_separator_F77 \
       
 16144     hardcode_automatic_F77 \
       
 16145     module_cmds_F77 \
       
 16146     module_expsym_cmds_F77 \
       
 16147     lt_cv_prog_compiler_c_o_F77 \
       
 16148     exclude_expsyms_F77 \
       
 16149     include_expsyms_F77; do
       
 16150 
       
 16151     case $var in
       
 16152     old_archive_cmds_F77 | \
       
 16153     old_archive_from_new_cmds_F77 | \
       
 16154     archive_cmds_F77 | \
       
 16155     archive_expsym_cmds_F77 | \
       
 16156     module_cmds_F77 | \
       
 16157     module_expsym_cmds_F77 | \
       
 16158     old_archive_from_expsyms_cmds_F77 | \
       
 16159     export_symbols_cmds_F77 | \
       
 16160     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 16161     postinstall_cmds | postuninstall_cmds | \
       
 16162     old_postinstall_cmds | old_postuninstall_cmds | \
       
 16163     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 16164       # Double-quote double-evaled strings.
       
 16165       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 16166       ;;
       
 16167     *)
       
 16168       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 16169       ;;
       
 16170     esac
       
 16171   done
       
 16172 
       
 16173   case $lt_echo in
       
 16174   *'\$0 --fallback-echo"')
       
 16175     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 16176     ;;
       
 16177   esac
       
 16178 
       
 16179 cfgfile="$ofile"
       
 16180 
       
 16181   cat <<__EOF__ >> "$cfgfile"
       
 16182 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 16183 
       
 16184 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 16185 
       
 16186 # Shell to use when invoking shell scripts.
       
 16187 SHELL=$lt_SHELL
       
 16188 
       
 16189 # Whether or not to build shared libraries.
       
 16190 build_libtool_libs=$enable_shared
       
 16191 
       
 16192 # Whether or not to build static libraries.
       
 16193 build_old_libs=$enable_static
       
 16194 
       
 16195 # Whether or not to add -lc for building shared libraries.
       
 16196 build_libtool_need_lc=$archive_cmds_need_lc_F77
       
 16197 
       
 16198 # Whether or not to disallow shared libs when runtime libs are static
       
 16199 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
       
 16200 
       
 16201 # Whether or not to optimize for fast installation.
       
 16202 fast_install=$enable_fast_install
       
 16203 
       
 16204 # The host system.
       
 16205 host_alias=$host_alias
       
 16206 host=$host
       
 16207 host_os=$host_os
       
 16208 
       
 16209 # The build system.
       
 16210 build_alias=$build_alias
       
 16211 build=$build
       
 16212 build_os=$build_os
       
 16213 
       
 16214 # An echo program that does not interpret backslashes.
       
 16215 echo=$lt_echo
       
 16216 
       
 16217 # The archiver.
       
 16218 AR=$lt_AR
       
 16219 AR_FLAGS=$lt_AR_FLAGS
       
 16220 
       
 16221 # A C compiler.
       
 16222 LTCC=$lt_LTCC
       
 16223 
       
 16224 # LTCC compiler flags.
       
 16225 LTCFLAGS=$lt_LTCFLAGS
       
 16226 
       
 16227 # A language-specific compiler.
       
 16228 CC=$lt_compiler_F77
       
 16229 
       
 16230 # Is the compiler the GNU C compiler?
       
 16231 with_gcc=$GCC_F77
       
 16232 
       
 16233 # An ERE matcher.
       
 16234 EGREP=$lt_EGREP
       
 16235 
       
 16236 # The linker used to build libraries.
       
 16237 LD=$lt_LD_F77
       
 16238 
       
 16239 # Whether we need hard or soft links.
       
 16240 LN_S=$lt_LN_S
       
 16241 
       
 16242 # A BSD-compatible nm program.
       
 16243 NM=$lt_NM
       
 16244 
       
 16245 # A symbol stripping program
       
 16246 STRIP=$lt_STRIP
       
 16247 
       
 16248 # Used to examine libraries when file_magic_cmd begins "file"
       
 16249 MAGIC_CMD=$MAGIC_CMD
       
 16250 
       
 16251 # Used on cygwin: DLL creation program.
       
 16252 DLLTOOL="$DLLTOOL"
       
 16253 
       
 16254 # Used on cygwin: object dumper.
       
 16255 OBJDUMP="$OBJDUMP"
       
 16256 
       
 16257 # Used on cygwin: assembler.
       
 16258 AS="$AS"
       
 16259 
       
 16260 # The name of the directory that contains temporary libtool files.
       
 16261 objdir=$objdir
       
 16262 
       
 16263 # How to create reloadable object files.
       
 16264 reload_flag=$lt_reload_flag
       
 16265 reload_cmds=$lt_reload_cmds
       
 16266 
       
 16267 # How to pass a linker flag through the compiler.
       
 16268 wl=$lt_lt_prog_compiler_wl_F77
       
 16269 
       
 16270 # Object file suffix (normally "o").
       
 16271 objext="$ac_objext"
       
 16272 
       
 16273 # Old archive suffix (normally "a").
       
 16274 libext="$libext"
       
 16275 
       
 16276 # Shared library suffix (normally ".so").
       
 16277 shrext_cmds='$shrext_cmds'
       
 16278 
       
 16279 # Executable file suffix (normally "").
       
 16280 exeext="$exeext"
       
 16281 
       
 16282 # Additional compiler flags for building library objects.
       
 16283 pic_flag=$lt_lt_prog_compiler_pic_F77
       
 16284 pic_mode=$pic_mode
       
 16285 
       
 16286 # What is the maximum length of a command?
       
 16287 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 16288 
       
 16289 # Does compiler simultaneously support -c and -o options?
       
 16290 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
       
 16291 
       
 16292 # Must we lock files when doing compilation?
       
 16293 need_locks=$lt_need_locks
       
 16294 
       
 16295 # Do we need the lib prefix for modules?
       
 16296 need_lib_prefix=$need_lib_prefix
       
 16297 
       
 16298 # Do we need a version for libraries?
       
 16299 need_version=$need_version
       
 16300 
       
 16301 # Whether dlopen is supported.
       
 16302 dlopen_support=$enable_dlopen
       
 16303 
       
 16304 # Whether dlopen of programs is supported.
       
 16305 dlopen_self=$enable_dlopen_self
       
 16306 
       
 16307 # Whether dlopen of statically linked programs is supported.
       
 16308 dlopen_self_static=$enable_dlopen_self_static
       
 16309 
       
 16310 # Compiler flag to prevent dynamic linking.
       
 16311 link_static_flag=$lt_lt_prog_compiler_static_F77
       
 16312 
       
 16313 # Compiler flag to turn off builtin functions.
       
 16314 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
       
 16315 
       
 16316 # Compiler flag to allow reflexive dlopens.
       
 16317 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
       
 16318 
       
 16319 # Compiler flag to generate shared objects directly from archives.
       
 16320 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
       
 16321 
       
 16322 # Compiler flag to generate thread-safe objects.
       
 16323 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
       
 16324 
       
 16325 # Library versioning type.
       
 16326 version_type=$version_type
       
 16327 
       
 16328 # Format of library name prefix.
       
 16329 libname_spec=$lt_libname_spec
       
 16330 
       
 16331 # List of archive names.  First name is the real one, the rest are links.
       
 16332 # The last name is the one that the linker finds with -lNAME.
       
 16333 library_names_spec=$lt_library_names_spec
       
 16334 
       
 16335 # The coded name of the library, if different from the real name.
       
 16336 soname_spec=$lt_soname_spec
       
 16337 
       
 16338 # Commands used to build and install an old-style archive.
       
 16339 RANLIB=$lt_RANLIB
       
 16340 old_archive_cmds=$lt_old_archive_cmds_F77
       
 16341 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 16342 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 16343 
       
 16344 # Create an old-style archive from a shared archive.
       
 16345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
       
 16346 
       
 16347 # Create a temporary old-style archive to link instead of a shared archive.
       
 16348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
       
 16349 
       
 16350 # Commands used to build and install a shared archive.
       
 16351 archive_cmds=$lt_archive_cmds_F77
       
 16352 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
       
 16353 postinstall_cmds=$lt_postinstall_cmds
       
 16354 postuninstall_cmds=$lt_postuninstall_cmds
       
 16355 
       
 16356 # Commands used to build a loadable module (assumed same as above if empty)
       
 16357 module_cmds=$lt_module_cmds_F77
       
 16358 module_expsym_cmds=$lt_module_expsym_cmds_F77
       
 16359 
       
 16360 # Commands to strip libraries.
       
 16361 old_striplib=$lt_old_striplib
       
 16362 striplib=$lt_striplib
       
 16363 
       
 16364 # Dependencies to place before the objects being linked to create a
       
 16365 # shared library.
       
 16366 predep_objects=$lt_predep_objects_F77
       
 16367 
       
 16368 # Dependencies to place after the objects being linked to create a
       
 16369 # shared library.
       
 16370 postdep_objects=$lt_postdep_objects_F77
       
 16371 
       
 16372 # Dependencies to place before the objects being linked to create a
       
 16373 # shared library.
       
 16374 predeps=$lt_predeps_F77
       
 16375 
       
 16376 # Dependencies to place after the objects being linked to create a
       
 16377 # shared library.
       
 16378 postdeps=$lt_postdeps_F77
       
 16379 
       
 16380 # The library search path used internally by the compiler when linking
       
 16381 # a shared library.
       
 16382 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
       
 16383 
       
 16384 # Method to check whether dependent libraries are shared objects.
       
 16385 deplibs_check_method=$lt_deplibs_check_method
       
 16386 
       
 16387 # Command to use when deplibs_check_method == file_magic.
       
 16388 file_magic_cmd=$lt_file_magic_cmd
       
 16389 
       
 16390 # Flag that allows shared libraries with undefined symbols to be built.
       
 16391 allow_undefined_flag=$lt_allow_undefined_flag_F77
       
 16392 
       
 16393 # Flag that forces no undefined symbols.
       
 16394 no_undefined_flag=$lt_no_undefined_flag_F77
       
 16395 
       
 16396 # Commands used to finish a libtool library installation in a directory.
       
 16397 finish_cmds=$lt_finish_cmds
       
 16398 
       
 16399 # Same as above, but a single script fragment to be evaled but not shown.
       
 16400 finish_eval=$lt_finish_eval
       
 16401 
       
 16402 # Take the output of nm and produce a listing of raw symbols and C names.
       
 16403 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 16404 
       
 16405 # Transform the output of nm in a proper C declaration
       
 16406 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 16407 
       
 16408 # Transform the output of nm in a C name address pair
       
 16409 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 16410 
       
 16411 # This is the shared library runtime path variable.
       
 16412 runpath_var=$runpath_var
       
 16413 
       
 16414 # This is the shared library path variable.
       
 16415 shlibpath_var=$shlibpath_var
       
 16416 
       
 16417 # Is shlibpath searched before the hard-coded library search path?
       
 16418 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 16419 
       
 16420 # How to hardcode a shared library path into an executable.
       
 16421 hardcode_action=$hardcode_action_F77
       
 16422 
       
 16423 # Whether we should hardcode library paths into libraries.
       
 16424 hardcode_into_libs=$hardcode_into_libs
       
 16425 
       
 16426 # Flag to hardcode \$libdir into a binary during linking.
       
 16427 # This must work even if \$libdir does not exist.
       
 16428 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
       
 16429 
       
 16430 # If ld is used when linking, flag to hardcode \$libdir into
       
 16431 # a binary during linking. This must work even if \$libdir does
       
 16432 # not exist.
       
 16433 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
       
 16434 
       
 16435 # Whether we need a single -rpath flag with a separated argument.
       
 16436 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
       
 16437 
       
 16438 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 16439 # resulting binary.
       
 16440 hardcode_direct=$hardcode_direct_F77
       
 16441 
       
 16442 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 16443 # resulting binary.
       
 16444 hardcode_minus_L=$hardcode_minus_L_F77
       
 16445 
       
 16446 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 16447 # the resulting binary.
       
 16448 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
       
 16449 
       
 16450 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 16451 # and all subsequent libraries and executables linked against it.
       
 16452 hardcode_automatic=$hardcode_automatic_F77
       
 16453 
       
 16454 # Variables whose values should be saved in libtool wrapper scripts and
       
 16455 # restored at relink time.
       
 16456 variables_saved_for_relink="$variables_saved_for_relink"
       
 16457 
       
 16458 # Whether libtool must link a program against all its dependency libraries.
       
 16459 link_all_deplibs=$link_all_deplibs_F77
       
 16460 
       
 16461 # Compile-time system search path for libraries
       
 16462 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 16463 
       
 16464 # Run-time system search path for libraries
       
 16465 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 16466 
       
 16467 # Fix the shell variable \$srcfile for the compiler.
       
 16468 fix_srcfile_path="$fix_srcfile_path_F77"
       
 16469 
       
 16470 # Set to yes if exported symbols are required.
       
 16471 always_export_symbols=$always_export_symbols_F77
       
 16472 
       
 16473 # The commands to list exported symbols.
       
 16474 export_symbols_cmds=$lt_export_symbols_cmds_F77
       
 16475 
       
 16476 # The commands to extract the exported symbol list from a shared archive.
       
 16477 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 16478 
       
 16479 # Symbols that should not be listed in the preloaded symbols.
       
 16480 exclude_expsyms=$lt_exclude_expsyms_F77
       
 16481 
       
 16482 # Symbols that must always be exported.
       
 16483 include_expsyms=$lt_include_expsyms_F77
       
 16484 
       
 16485 # ### END LIBTOOL TAG CONFIG: $tagname
       
 16486 
       
 16487 __EOF__
       
 16488 
       
 16489 
       
 16490 else
       
 16491   # If there is no Makefile yet, we rely on a make rule to execute
       
 16492   # `config.status --recheck' to rerun these tests and create the
       
 16493   # libtool script then.
       
 16494   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 16495   if test -f "$ltmain_in"; then
       
 16496     test -f Makefile && make "$ltmain"
       
 16497   fi
       
 16498 fi
       
 16499 
       
 16500 
       
 16501 ac_ext=cpp
       
 16502 ac_cpp='$CXXCPP $CPPFLAGS'
       
 16503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 16504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 16505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 16506 
       
 16507 CC="$lt_save_CC"
       
 16508 
       
 16509 	else
       
 16510 	  tagname=""
       
 16511 	fi
       
 16512 	;;
       
 16513 
       
 16514       GCJ)
       
 16515 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
       
 16516 
       
 16517 
       
 16518 # Source file extension for Java test sources.
       
 16519 ac_ext=java
       
 16520 
       
 16521 # Object file extension for compiled Java test sources.
       
 16522 objext=o
       
 16523 objext_GCJ=$objext
       
 16524 
       
 16525 # Code to be used in simple compile tests
       
 16526 lt_simple_compile_test_code="class foo {}\n"
       
 16527 
       
 16528 # Code to be used in simple link tests
       
 16529 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
       
 16530 
       
 16531 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 16532 
       
 16533 # If no C compiler was specified, use CC.
       
 16534 LTCC=${LTCC-"$CC"}
       
 16535 
       
 16536 # If no C compiler flags were specified, use CFLAGS.
       
 16537 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 16538 
       
 16539 # Allow CC to be a program name with arguments.
       
 16540 compiler=$CC
       
 16541 
       
 16542 
       
 16543 # save warnings/boilerplate of simple test code
       
 16544 ac_outfile=conftest.$ac_objext
       
 16545 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 16546 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 16547 _lt_compiler_boilerplate=`cat conftest.err`
       
 16548 $rm conftest*
       
 16549 
       
 16550 ac_outfile=conftest.$ac_objext
       
 16551 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 16552 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 16553 _lt_linker_boilerplate=`cat conftest.err`
       
 16554 $rm conftest*
       
 16555 
       
 16556 
       
 16557 # Allow CC to be a program name with arguments.
       
 16558 lt_save_CC="$CC"
       
 16559 CC=${GCJ-"gcj"}
       
 16560 compiler=$CC
       
 16561 compiler_GCJ=$CC
       
 16562 for cc_temp in $compiler""; do
       
 16563   case $cc_temp in
       
 16564     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 16565     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 16566     \-*) ;;
       
 16567     *) break;;
       
 16568   esac
       
 16569 done
       
 16570 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 16571 
       
 16572 
       
 16573 # GCJ did not exist at the time GCC didn't implicitly link libc in.
       
 16574 archive_cmds_need_lc_GCJ=no
       
 16575 
       
 16576 old_archive_cmds_GCJ=$old_archive_cmds
       
 16577 
       
 16578 
       
 16579 lt_prog_compiler_no_builtin_flag_GCJ=
       
 16580 
       
 16581 if test "$GCC" = yes; then
       
 16582   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
       
 16583 
       
 16584 
       
 16585 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
       
 16586 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
       
 16587 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
       
 16588   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16589 else
       
 16590   lt_cv_prog_compiler_rtti_exceptions=no
       
 16591   ac_outfile=conftest.$ac_objext
       
 16592    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 16593    lt_compiler_flag="-fno-rtti -fno-exceptions"
       
 16594    # Insert the option either (1) after the last *FLAGS variable, or
       
 16595    # (2) before a word containing "conftest.", or (3) at the end.
       
 16596    # Note that $ac_compile itself does not contain backslashes and begins
       
 16597    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 16598    # The option is referenced via a variable to avoid confusing sed.
       
 16599    lt_compile=`echo "$ac_compile" | $SED \
       
 16600    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 16601    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 16602    -e 's:$: $lt_compiler_flag:'`
       
 16603    (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
       
 16604    (eval "$lt_compile" 2>conftest.err)
       
 16605    ac_status=$?
       
 16606    cat conftest.err >&5
       
 16607    echo "$as_me:16607: \$? = $ac_status" >&5
       
 16608    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 16609      # The compiler can only warn and ignore the option if not recognized
       
 16610      # So say no if there are warnings other than the usual output.
       
 16611      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 16612      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 16613      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 16614        lt_cv_prog_compiler_rtti_exceptions=yes
       
 16615      fi
       
 16616    fi
       
 16617    $rm conftest*
       
 16618 
       
 16619 fi
       
 16620 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
       
 16621 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
       
 16622 
       
 16623 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       
 16624     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
       
 16625 else
       
 16626     :
       
 16627 fi
       
 16628 
       
 16629 fi
       
 16630 
       
 16631 lt_prog_compiler_wl_GCJ=
       
 16632 lt_prog_compiler_pic_GCJ=
       
 16633 lt_prog_compiler_static_GCJ=
       
 16634 
       
 16635 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 16636 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 16637 
       
 16638   if test "$GCC" = yes; then
       
 16639     lt_prog_compiler_wl_GCJ='-Wl,'
       
 16640     lt_prog_compiler_static_GCJ='-static'
       
 16641 
       
 16642     case $host_os in
       
 16643       aix*)
       
 16644       # All AIX code is PIC.
       
 16645       if test "$host_cpu" = ia64; then
       
 16646 	# AIX 5 now supports IA64 processor
       
 16647 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 16648       fi
       
 16649       ;;
       
 16650 
       
 16651     amigaos*)
       
 16652       # FIXME: we need at least 68020 code to build shared libraries, but
       
 16653       # adding the `-m68020' flag to GCC prevents building anything better,
       
 16654       # like `-m68040'.
       
 16655       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
       
 16656       ;;
       
 16657 
       
 16658     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 16659       # PIC is the default for these OSes.
       
 16660       ;;
       
 16661 
       
 16662     mingw* | pw32* | os2*)
       
 16663       # This hack is so that the source file can tell whether it is being
       
 16664       # built for inclusion in a dll (and should export symbols for example).
       
 16665       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
       
 16666       ;;
       
 16667 
       
 16668     darwin* | rhapsody*)
       
 16669       # PIC is the default on this platform
       
 16670       # Common symbols not allowed in MH_DYLIB files
       
 16671       lt_prog_compiler_pic_GCJ='-fno-common'
       
 16672       ;;
       
 16673 
       
 16674     interix3*)
       
 16675       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 16676       # Instead, we relocate shared libraries at runtime.
       
 16677       ;;
       
 16678 
       
 16679     msdosdjgpp*)
       
 16680       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
 16681       # on systems that don't support them.
       
 16682       lt_prog_compiler_can_build_shared_GCJ=no
       
 16683       enable_shared=no
       
 16684       ;;
       
 16685 
       
 16686     sysv4*MP*)
       
 16687       if test -d /usr/nec; then
       
 16688 	lt_prog_compiler_pic_GCJ=-Kconform_pic
       
 16689       fi
       
 16690       ;;
       
 16691 
       
 16692     hpux*)
       
 16693       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 16694       # not for PA HP-UX.
       
 16695       case $host_cpu in
       
 16696       hppa*64*|ia64*)
       
 16697 	# +Z the default
       
 16698 	;;
       
 16699       *)
       
 16700 	lt_prog_compiler_pic_GCJ='-fPIC'
       
 16701 	;;
       
 16702       esac
       
 16703       ;;
       
 16704 
       
 16705     *)
       
 16706       lt_prog_compiler_pic_GCJ='-fPIC'
       
 16707       ;;
       
 16708     esac
       
 16709   else
       
 16710     # PORTME Check for flag to pass linker flags through the system compiler.
       
 16711     case $host_os in
       
 16712     aix*)
       
 16713       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16714       if test "$host_cpu" = ia64; then
       
 16715 	# AIX 5 now supports IA64 processor
       
 16716 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 16717       else
       
 16718 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
       
 16719       fi
       
 16720       ;;
       
 16721       darwin*)
       
 16722         # PIC is the default on this platform
       
 16723         # Common symbols not allowed in MH_DYLIB files
       
 16724        case $cc_basename in
       
 16725          xlc*)
       
 16726          lt_prog_compiler_pic_GCJ='-qnocommon'
       
 16727          lt_prog_compiler_wl_GCJ='-Wl,'
       
 16728          ;;
       
 16729        esac
       
 16730        ;;
       
 16731 
       
 16732     mingw* | pw32* | os2*)
       
 16733       # This hack is so that the source file can tell whether it is being
       
 16734       # built for inclusion in a dll (and should export symbols for example).
       
 16735       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
       
 16736       ;;
       
 16737 
       
 16738     hpux9* | hpux10* | hpux11*)
       
 16739       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16740       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 16741       # not for PA HP-UX.
       
 16742       case $host_cpu in
       
 16743       hppa*64*|ia64*)
       
 16744 	# +Z the default
       
 16745 	;;
       
 16746       *)
       
 16747 	lt_prog_compiler_pic_GCJ='+Z'
       
 16748 	;;
       
 16749       esac
       
 16750       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
 16751       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
       
 16752       ;;
       
 16753 
       
 16754     irix5* | irix6* | nonstopux*)
       
 16755       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16756       # PIC (with -KPIC) is the default.
       
 16757       lt_prog_compiler_static_GCJ='-non_shared'
       
 16758       ;;
       
 16759 
       
 16760     newsos6)
       
 16761       lt_prog_compiler_pic_GCJ='-KPIC'
       
 16762       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16763       ;;
       
 16764 
       
 16765     linux*)
       
 16766       case $cc_basename in
       
 16767       icc* | ecc*)
       
 16768 	lt_prog_compiler_wl_GCJ='-Wl,'
       
 16769 	lt_prog_compiler_pic_GCJ='-KPIC'
       
 16770 	lt_prog_compiler_static_GCJ='-static'
       
 16771         ;;
       
 16772       pgcc* | pgf77* | pgf90* | pgf95*)
       
 16773         # Portland Group compilers (*not* the Pentium gcc compiler,
       
 16774 	# which looks to be a dead project)
       
 16775 	lt_prog_compiler_wl_GCJ='-Wl,'
       
 16776 	lt_prog_compiler_pic_GCJ='-fpic'
       
 16777 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 16778         ;;
       
 16779       ccc*)
       
 16780         lt_prog_compiler_wl_GCJ='-Wl,'
       
 16781         # All Alpha code is PIC.
       
 16782         lt_prog_compiler_static_GCJ='-non_shared'
       
 16783         ;;
       
 16784       esac
       
 16785       ;;
       
 16786 
       
 16787     osf3* | osf4* | osf5*)
       
 16788       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16789       # All OSF/1 code is PIC.
       
 16790       lt_prog_compiler_static_GCJ='-non_shared'
       
 16791       ;;
       
 16792 
       
 16793     solaris*)
       
 16794       lt_prog_compiler_pic_GCJ='-KPIC'
       
 16795       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16796       case $cc_basename in
       
 16797       f77* | f90* | f95*)
       
 16798 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
       
 16799       *)
       
 16800 	lt_prog_compiler_wl_GCJ='-Wl,';;
       
 16801       esac
       
 16802       ;;
       
 16803 
       
 16804     sunos4*)
       
 16805       lt_prog_compiler_wl_GCJ='-Qoption ld '
       
 16806       lt_prog_compiler_pic_GCJ='-PIC'
       
 16807       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16808       ;;
       
 16809 
       
 16810     sysv4 | sysv4.2uw2* | sysv4.3*)
       
 16811       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16812       lt_prog_compiler_pic_GCJ='-KPIC'
       
 16813       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16814       ;;
       
 16815 
       
 16816     sysv4*MP*)
       
 16817       if test -d /usr/nec ;then
       
 16818 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
       
 16819 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 16820       fi
       
 16821       ;;
       
 16822 
       
 16823     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 16824       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16825       lt_prog_compiler_pic_GCJ='-KPIC'
       
 16826       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16827       ;;
       
 16828 
       
 16829     unicos*)
       
 16830       lt_prog_compiler_wl_GCJ='-Wl,'
       
 16831       lt_prog_compiler_can_build_shared_GCJ=no
       
 16832       ;;
       
 16833 
       
 16834     uts4*)
       
 16835       lt_prog_compiler_pic_GCJ='-pic'
       
 16836       lt_prog_compiler_static_GCJ='-Bstatic'
       
 16837       ;;
       
 16838 
       
 16839     *)
       
 16840       lt_prog_compiler_can_build_shared_GCJ=no
       
 16841       ;;
       
 16842     esac
       
 16843   fi
       
 16844 
       
 16845 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
       
 16846 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
       
 16847 
       
 16848 #
       
 16849 # Check to make sure the PIC flag actually works.
       
 16850 #
       
 16851 if test -n "$lt_prog_compiler_pic_GCJ"; then
       
 16852 
       
 16853 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
       
 16854 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
       
 16855 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
       
 16856   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16857 else
       
 16858   lt_prog_compiler_pic_works_GCJ=no
       
 16859   ac_outfile=conftest.$ac_objext
       
 16860    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 16861    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
       
 16862    # Insert the option either (1) after the last *FLAGS variable, or
       
 16863    # (2) before a word containing "conftest.", or (3) at the end.
       
 16864    # Note that $ac_compile itself does not contain backslashes and begins
       
 16865    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 16866    # The option is referenced via a variable to avoid confusing sed.
       
 16867    lt_compile=`echo "$ac_compile" | $SED \
       
 16868    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 16869    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 16870    -e 's:$: $lt_compiler_flag:'`
       
 16871    (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
       
 16872    (eval "$lt_compile" 2>conftest.err)
       
 16873    ac_status=$?
       
 16874    cat conftest.err >&5
       
 16875    echo "$as_me:16875: \$? = $ac_status" >&5
       
 16876    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 16877      # The compiler can only warn and ignore the option if not recognized
       
 16878      # So say no if there are warnings other than the usual output.
       
 16879      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 16880      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 16881      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 16882        lt_prog_compiler_pic_works_GCJ=yes
       
 16883      fi
       
 16884    fi
       
 16885    $rm conftest*
       
 16886 
       
 16887 fi
       
 16888 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
       
 16889 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
       
 16890 
       
 16891 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
       
 16892     case $lt_prog_compiler_pic_GCJ in
       
 16893      "" | " "*) ;;
       
 16894      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
       
 16895      esac
       
 16896 else
       
 16897     lt_prog_compiler_pic_GCJ=
       
 16898      lt_prog_compiler_can_build_shared_GCJ=no
       
 16899 fi
       
 16900 
       
 16901 fi
       
 16902 case $host_os in
       
 16903   # For platforms which do not support PIC, -DPIC is meaningless:
       
 16904   *djgpp*)
       
 16905     lt_prog_compiler_pic_GCJ=
       
 16906     ;;
       
 16907   *)
       
 16908     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
       
 16909     ;;
       
 16910 esac
       
 16911 
       
 16912 #
       
 16913 # Check to make sure the static flag actually works.
       
 16914 #
       
 16915 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
       
 16916 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 16917 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 16918 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
       
 16919   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16920 else
       
 16921   lt_prog_compiler_static_works_GCJ=no
       
 16922    save_LDFLAGS="$LDFLAGS"
       
 16923    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 16924    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 16925    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 16926      # The linker can only warn and ignore the option if not recognized
       
 16927      # So say no if there are warnings
       
 16928      if test -s conftest.err; then
       
 16929        # Append any errors to the config.log.
       
 16930        cat conftest.err 1>&5
       
 16931        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 16932        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 16933        if diff conftest.exp conftest.er2 >/dev/null; then
       
 16934          lt_prog_compiler_static_works_GCJ=yes
       
 16935        fi
       
 16936      else
       
 16937        lt_prog_compiler_static_works_GCJ=yes
       
 16938      fi
       
 16939    fi
       
 16940    $rm conftest*
       
 16941    LDFLAGS="$save_LDFLAGS"
       
 16942 
       
 16943 fi
       
 16944 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
       
 16945 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
       
 16946 
       
 16947 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
       
 16948     :
       
 16949 else
       
 16950     lt_prog_compiler_static_GCJ=
       
 16951 fi
       
 16952 
       
 16953 
       
 16954 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 16955 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 16956 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
       
 16957   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16958 else
       
 16959   lt_cv_prog_compiler_c_o_GCJ=no
       
 16960    $rm -r conftest 2>/dev/null
       
 16961    mkdir conftest
       
 16962    cd conftest
       
 16963    mkdir out
       
 16964    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 16965 
       
 16966    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 16967    # Insert the option either (1) after the last *FLAGS variable, or
       
 16968    # (2) before a word containing "conftest.", or (3) at the end.
       
 16969    # Note that $ac_compile itself does not contain backslashes and begins
       
 16970    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 16971    lt_compile=`echo "$ac_compile" | $SED \
       
 16972    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 16973    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 16974    -e 's:$: $lt_compiler_flag:'`
       
 16975    (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
       
 16976    (eval "$lt_compile" 2>out/conftest.err)
       
 16977    ac_status=$?
       
 16978    cat out/conftest.err >&5
       
 16979    echo "$as_me:16979: \$? = $ac_status" >&5
       
 16980    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 16981    then
       
 16982      # The compiler can only warn and ignore the option if not recognized
       
 16983      # So say no if there are warnings
       
 16984      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 16985      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 16986      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 16987        lt_cv_prog_compiler_c_o_GCJ=yes
       
 16988      fi
       
 16989    fi
       
 16990    chmod u+w . 2>&5
       
 16991    $rm conftest*
       
 16992    # SGI C++ compiler will create directory out/ii_files/ for
       
 16993    # template instantiation
       
 16994    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 16995    $rm out/* && rmdir out
       
 16996    cd ..
       
 16997    rmdir conftest
       
 16998    $rm conftest*
       
 16999 
       
 17000 fi
       
 17001 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
       
 17002 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
       
 17003 
       
 17004 
       
 17005 hard_links="nottested"
       
 17006 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
       
 17007   # do not overwrite the value of need_locks provided by the user
       
 17008   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 17009 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 17010   hard_links=yes
       
 17011   $rm conftest*
       
 17012   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 17013   touch conftest.a
       
 17014   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 17015   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 17016   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 17017 echo "${ECHO_T}$hard_links" >&6; }
       
 17018   if test "$hard_links" = no; then
       
 17019     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 17020 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 17021     need_locks=warn
       
 17022   fi
       
 17023 else
       
 17024   need_locks=no
       
 17025 fi
       
 17026 
       
 17027 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 17028 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 17029 
       
 17030   runpath_var=
       
 17031   allow_undefined_flag_GCJ=
       
 17032   enable_shared_with_static_runtimes_GCJ=no
       
 17033   archive_cmds_GCJ=
       
 17034   archive_expsym_cmds_GCJ=
       
 17035   old_archive_From_new_cmds_GCJ=
       
 17036   old_archive_from_expsyms_cmds_GCJ=
       
 17037   export_dynamic_flag_spec_GCJ=
       
 17038   whole_archive_flag_spec_GCJ=
       
 17039   thread_safe_flag_spec_GCJ=
       
 17040   hardcode_libdir_flag_spec_GCJ=
       
 17041   hardcode_libdir_flag_spec_ld_GCJ=
       
 17042   hardcode_libdir_separator_GCJ=
       
 17043   hardcode_direct_GCJ=no
       
 17044   hardcode_minus_L_GCJ=no
       
 17045   hardcode_shlibpath_var_GCJ=unsupported
       
 17046   link_all_deplibs_GCJ=unknown
       
 17047   hardcode_automatic_GCJ=no
       
 17048   module_cmds_GCJ=
       
 17049   module_expsym_cmds_GCJ=
       
 17050   always_export_symbols_GCJ=no
       
 17051   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 17052   # include_expsyms should be a list of space-separated symbols to be *always*
       
 17053   # included in the symbol list
       
 17054   include_expsyms_GCJ=
       
 17055   # exclude_expsyms can be an extended regexp of symbols to exclude
       
 17056   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
 17057   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
 17058   # as well as any symbol that contains `d'.
       
 17059   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
       
 17060   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
 17061   # platforms (ab)use it in PIC code, but their linkers get confused if
       
 17062   # the symbol is explicitly referenced.  Since portable code cannot
       
 17063   # rely on this symbol name, it's probably fine to never include it in
       
 17064   # preloaded symbol tables.
       
 17065   extract_expsyms_cmds=
       
 17066   # Just being paranoid about ensuring that cc_basename is set.
       
 17067   for cc_temp in $compiler""; do
       
 17068   case $cc_temp in
       
 17069     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 17070     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 17071     \-*) ;;
       
 17072     *) break;;
       
 17073   esac
       
 17074 done
       
 17075 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 17076 
       
 17077   case $host_os in
       
 17078   cygwin* | mingw* | pw32*)
       
 17079     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
 17080     # When not using gcc, we currently assume that we are using
       
 17081     # Microsoft Visual C++.
       
 17082     if test "$GCC" != yes; then
       
 17083       with_gnu_ld=no
       
 17084     fi
       
 17085     ;;
       
 17086   interix*)
       
 17087     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
 17088     with_gnu_ld=yes
       
 17089     ;;
       
 17090   openbsd*)
       
 17091     with_gnu_ld=no
       
 17092     ;;
       
 17093   esac
       
 17094 
       
 17095   ld_shlibs_GCJ=yes
       
 17096   if test "$with_gnu_ld" = yes; then
       
 17097     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 17098     wlarc='${wl}'
       
 17099 
       
 17100     # Set some defaults for GNU ld with shared library support. These
       
 17101     # are reset later if shared libraries are not supported. Putting them
       
 17102     # here allows them to be overridden if necessary.
       
 17103     runpath_var=LD_RUN_PATH
       
 17104     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
       
 17105     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
       
 17106     # ancient GNU ld didn't support --whole-archive et. al.
       
 17107     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
 17108 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 17109       else
       
 17110   	whole_archive_flag_spec_GCJ=
       
 17111     fi
       
 17112     supports_anon_versioning=no
       
 17113     case `$LD -v 2>/dev/null` in
       
 17114       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 17115       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 17116       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 17117       *\ 2.11.*) ;; # other 2.11 versions
       
 17118       *) supports_anon_versioning=yes ;;
       
 17119     esac
       
 17120 
       
 17121     # See if GNU ld supports shared libraries.
       
 17122     case $host_os in
       
 17123     aix3* | aix4* | aix5*)
       
 17124       # On AIX/PPC, the GNU linker is very broken
       
 17125       if test "$host_cpu" != ia64; then
       
 17126 	ld_shlibs_GCJ=no
       
 17127 	cat <<EOF 1>&2
       
 17128 
       
 17129 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
 17130 *** to be unable to reliably create shared libraries on AIX.
       
 17131 *** Therefore, libtool is disabling shared libraries support.  If you
       
 17132 *** really care for shared libraries, you may want to modify your PATH
       
 17133 *** so that a non-GNU linker is found, and then restart.
       
 17134 
       
 17135 EOF
       
 17136       fi
       
 17137       ;;
       
 17138 
       
 17139     amigaos*)
       
 17140       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)'
       
 17141       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17142       hardcode_minus_L_GCJ=yes
       
 17143 
       
 17144       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
 17145       # that the semantics of dynamic libraries on AmigaOS, at least up
       
 17146       # to version 4, is to share data among multiple programs linked
       
 17147       # with the same dynamic library.  Since this doesn't match the
       
 17148       # behavior of shared libraries on other platforms, we can't use
       
 17149       # them.
       
 17150       ld_shlibs_GCJ=no
       
 17151       ;;
       
 17152 
       
 17153     beos*)
       
 17154       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17155 	allow_undefined_flag_GCJ=unsupported
       
 17156 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 17157 	# support --undefined.  This deserves some investigation.  FIXME
       
 17158 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17159       else
       
 17160 	ld_shlibs_GCJ=no
       
 17161       fi
       
 17162       ;;
       
 17163 
       
 17164     cygwin* | mingw* | pw32*)
       
 17165       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
       
 17166       # as there is no search path for DLLs.
       
 17167       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17168       allow_undefined_flag_GCJ=unsupported
       
 17169       always_export_symbols_GCJ=no
       
 17170       enable_shared_with_static_runtimes_GCJ=yes
       
 17171       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
 17172 
       
 17173       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 17174         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 17175 	# If the export-symbols file already is a .def file (1st line
       
 17176 	# is EXPORTS), use it as is; otherwise, prepend...
       
 17177 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 17178 	  cp $export_symbols $output_objdir/$soname.def;
       
 17179 	else
       
 17180 	  echo EXPORTS > $output_objdir/$soname.def;
       
 17181 	  cat $export_symbols >> $output_objdir/$soname.def;
       
 17182 	fi~
       
 17183 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 17184       else
       
 17185 	ld_shlibs_GCJ=no
       
 17186       fi
       
 17187       ;;
       
 17188 
       
 17189     interix3*)
       
 17190       hardcode_direct_GCJ=no
       
 17191       hardcode_shlibpath_var_GCJ=no
       
 17192       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 17193       export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17194       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 17195       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 17196       # default) and relocated if they conflict, which is a slow very memory
       
 17197       # consuming and fragmenting process.  To avoid this, we pick a random,
       
 17198       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 17199       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 17200       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'
       
 17201       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'
       
 17202       ;;
       
 17203 
       
 17204     linux*)
       
 17205       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17206 	tmp_addflag=
       
 17207 	case $cc_basename,$host_cpu in
       
 17208 	pgcc*)				# Portland Group C compiler
       
 17209 	  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'
       
 17210 	  tmp_addflag=' $pic_flag'
       
 17211 	  ;;
       
 17212 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
 17213 	  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'
       
 17214 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
 17215 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
 17216 	  tmp_addflag=' -i_dynamic' ;;
       
 17217 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
 17218 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
 17219 	ifc* | ifort*)			# Intel Fortran compiler
       
 17220 	  tmp_addflag=' -nofor_main' ;;
       
 17221 	esac
       
 17222 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17223 
       
 17224 	if test $supports_anon_versioning = yes; then
       
 17225 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
       
 17226   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 17227   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 17228 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 17229 	fi
       
 17230       else
       
 17231 	ld_shlibs_GCJ=no
       
 17232       fi
       
 17233       ;;
       
 17234 
       
 17235     netbsd*)
       
 17236       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 17237 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
 17238 	wlarc=
       
 17239       else
       
 17240 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17241 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17242       fi
       
 17243       ;;
       
 17244 
       
 17245     solaris*)
       
 17246       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
 17247 	ld_shlibs_GCJ=no
       
 17248 	cat <<EOF 1>&2
       
 17249 
       
 17250 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
 17251 *** create shared libraries on Solaris systems.  Therefore, libtool
       
 17252 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 17253 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
 17254 *** your PATH or compiler configuration so that the native linker is
       
 17255 *** used, and then restart.
       
 17256 
       
 17257 EOF
       
 17258       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17259 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17260 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17261       else
       
 17262 	ld_shlibs_GCJ=no
       
 17263       fi
       
 17264       ;;
       
 17265 
       
 17266     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
 17267       case `$LD -v 2>&1` in
       
 17268         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
 17269 	ld_shlibs_GCJ=no
       
 17270 	cat <<_LT_EOF 1>&2
       
 17271 
       
 17272 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
 17273 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
 17274 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 17275 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
 17276 *** your PATH or compiler configuration so that the native linker is
       
 17277 *** used, and then restart.
       
 17278 
       
 17279 _LT_EOF
       
 17280 	;;
       
 17281 	*)
       
 17282 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17283 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
 17284 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
 17285 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
 17286 	  else
       
 17287 	    ld_shlibs_GCJ=no
       
 17288 	  fi
       
 17289 	;;
       
 17290       esac
       
 17291       ;;
       
 17292 
       
 17293     sunos4*)
       
 17294       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 17295       wlarc=
       
 17296       hardcode_direct_GCJ=yes
       
 17297       hardcode_shlibpath_var_GCJ=no
       
 17298       ;;
       
 17299 
       
 17300     *)
       
 17301       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17302 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17303 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17304       else
       
 17305 	ld_shlibs_GCJ=no
       
 17306       fi
       
 17307       ;;
       
 17308     esac
       
 17309 
       
 17310     if test "$ld_shlibs_GCJ" = no; then
       
 17311       runpath_var=
       
 17312       hardcode_libdir_flag_spec_GCJ=
       
 17313       export_dynamic_flag_spec_GCJ=
       
 17314       whole_archive_flag_spec_GCJ=
       
 17315     fi
       
 17316   else
       
 17317     # PORTME fill in a description of your system's linker (not GNU ld)
       
 17318     case $host_os in
       
 17319     aix3*)
       
 17320       allow_undefined_flag_GCJ=unsupported
       
 17321       always_export_symbols_GCJ=yes
       
 17322       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'
       
 17323       # Note: this linker hardcodes the directories in LIBPATH if there
       
 17324       # are no directories specified by -L.
       
 17325       hardcode_minus_L_GCJ=yes
       
 17326       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
 17327 	# Neither direct hardcoding nor static linking is supported with a
       
 17328 	# broken collect2.
       
 17329 	hardcode_direct_GCJ=unsupported
       
 17330       fi
       
 17331       ;;
       
 17332 
       
 17333     aix4* | aix5*)
       
 17334       if test "$host_cpu" = ia64; then
       
 17335 	# On IA64, the linker does run time linking by default, so we don't
       
 17336 	# have to do anything special.
       
 17337 	aix_use_runtimelinking=no
       
 17338 	exp_sym_flag='-Bexport'
       
 17339 	no_entry_flag=""
       
 17340       else
       
 17341 	# If we're using GNU nm, then we don't want the "-C" option.
       
 17342 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 17343 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 17344 	  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'
       
 17345 	else
       
 17346 	  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'
       
 17347 	fi
       
 17348 	aix_use_runtimelinking=no
       
 17349 
       
 17350 	# Test if we are trying to use run time linking or normal
       
 17351 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 17352 	# need to do runtime linking.
       
 17353 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 17354 	  for ld_flag in $LDFLAGS; do
       
 17355   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
 17356   	    aix_use_runtimelinking=yes
       
 17357   	    break
       
 17358   	  fi
       
 17359 	  done
       
 17360 	  ;;
       
 17361 	esac
       
 17362 
       
 17363 	exp_sym_flag='-bexport'
       
 17364 	no_entry_flag='-bnoentry'
       
 17365       fi
       
 17366 
       
 17367       # When large executables or shared objects are built, AIX ld can
       
 17368       # have problems creating the table of contents.  If linking a library
       
 17369       # or program results in "error TOC overflow" add -mminimal-toc to
       
 17370       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 17371       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 17372 
       
 17373       archive_cmds_GCJ=''
       
 17374       hardcode_direct_GCJ=yes
       
 17375       hardcode_libdir_separator_GCJ=':'
       
 17376       link_all_deplibs_GCJ=yes
       
 17377 
       
 17378       if test "$GCC" = yes; then
       
 17379 	case $host_os in aix4.[012]|aix4.[012].*)
       
 17380 	# We only want to do this on AIX 4.2 and lower, the check
       
 17381 	# below for broken collect2 doesn't work under 4.3+
       
 17382 	  collect2name=`${CC} -print-prog-name=collect2`
       
 17383 	  if test -f "$collect2name" && \
       
 17384   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 17385 	  then
       
 17386   	  # We have reworked collect2
       
 17387   	  hardcode_direct_GCJ=yes
       
 17388 	  else
       
 17389   	  # We have old collect2
       
 17390   	  hardcode_direct_GCJ=unsupported
       
 17391   	  # It fails to find uninstalled libraries when the uninstalled
       
 17392   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 17393   	  # to unsupported forces relinking
       
 17394   	  hardcode_minus_L_GCJ=yes
       
 17395   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17396   	  hardcode_libdir_separator_GCJ=
       
 17397 	  fi
       
 17398 	  ;;
       
 17399 	esac
       
 17400 	shared_flag='-shared'
       
 17401 	if test "$aix_use_runtimelinking" = yes; then
       
 17402 	  shared_flag="$shared_flag "'${wl}-G'
       
 17403 	fi
       
 17404       else
       
 17405 	# not using gcc
       
 17406 	if test "$host_cpu" = ia64; then
       
 17407   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 17408   	# chokes on -Wl,-G. The following line is correct:
       
 17409 	  shared_flag='-G'
       
 17410 	else
       
 17411 	  if test "$aix_use_runtimelinking" = yes; then
       
 17412 	    shared_flag='${wl}-G'
       
 17413 	  else
       
 17414 	    shared_flag='${wl}-bM:SRE'
       
 17415 	  fi
       
 17416 	fi
       
 17417       fi
       
 17418 
       
 17419       # It seems that -bexpall does not export symbols beginning with
       
 17420       # underscore (_), so it is better to generate a list of symbols to export.
       
 17421       always_export_symbols_GCJ=yes
       
 17422       if test "$aix_use_runtimelinking" = yes; then
       
 17423 	# Warning - without using the other runtime loading flags (-brtl),
       
 17424 	# -berok will link without error, but may produce a broken library.
       
 17425 	allow_undefined_flag_GCJ='-berok'
       
 17426        # Determine the default libpath from the value encoded in an empty executable.
       
 17427        cat >conftest.$ac_ext <<_ACEOF
       
 17428 /* confdefs.h.  */
       
 17429 _ACEOF
       
 17430 cat confdefs.h >>conftest.$ac_ext
       
 17431 cat >>conftest.$ac_ext <<_ACEOF
       
 17432 /* end confdefs.h.  */
       
 17433 
       
 17434 int
       
 17435 main ()
       
 17436 {
       
 17437 
       
 17438   ;
       
 17439   return 0;
       
 17440 }
       
 17441 _ACEOF
       
 17442 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17443 if { (ac_try="$ac_link"
       
 17444 case "(($ac_try" in
       
 17445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17446   *) ac_try_echo=$ac_try;;
       
 17447 esac
       
 17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17449   (eval "$ac_link") 2>conftest.er1
       
 17450   ac_status=$?
       
 17451   grep -v '^ *+' conftest.er1 >conftest.err
       
 17452   rm -f conftest.er1
       
 17453   cat conftest.err >&5
       
 17454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17455   (exit $ac_status); } &&
       
 17456 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 17457   { (case "(($ac_try" in
       
 17458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17459   *) ac_try_echo=$ac_try;;
       
 17460 esac
       
 17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17462   (eval "$ac_try") 2>&5
       
 17463   ac_status=$?
       
 17464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17465   (exit $ac_status); }; } &&
       
 17466 	 { ac_try='test -s conftest$ac_exeext'
       
 17467   { (case "(($ac_try" in
       
 17468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17469   *) ac_try_echo=$ac_try;;
       
 17470 esac
       
 17471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17472   (eval "$ac_try") 2>&5
       
 17473   ac_status=$?
       
 17474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17475   (exit $ac_status); }; }; then
       
 17476 
       
 17477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17478 }'`
       
 17479 # Check for a 64-bit object if we didn't find anything.
       
 17480 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17481 }'`; fi
       
 17482 else
       
 17483   echo "$as_me: failed program was:" >&5
       
 17484 sed 's/^/| /' conftest.$ac_ext >&5
       
 17485 
       
 17486 
       
 17487 fi
       
 17488 
       
 17489 rm -f core conftest.err conftest.$ac_objext \
       
 17490       conftest$ac_exeext conftest.$ac_ext
       
 17491 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 17492 
       
 17493        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 17494 	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"
       
 17495        else
       
 17496 	if test "$host_cpu" = ia64; then
       
 17497 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
       
 17498 	  allow_undefined_flag_GCJ="-z nodefs"
       
 17499 	  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"
       
 17500 	else
       
 17501 	 # Determine the default libpath from the value encoded in an empty executable.
       
 17502 	 cat >conftest.$ac_ext <<_ACEOF
       
 17503 /* confdefs.h.  */
       
 17504 _ACEOF
       
 17505 cat confdefs.h >>conftest.$ac_ext
       
 17506 cat >>conftest.$ac_ext <<_ACEOF
       
 17507 /* end confdefs.h.  */
       
 17508 
       
 17509 int
       
 17510 main ()
       
 17511 {
       
 17512 
       
 17513   ;
       
 17514   return 0;
       
 17515 }
       
 17516 _ACEOF
       
 17517 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17518 if { (ac_try="$ac_link"
       
 17519 case "(($ac_try" in
       
 17520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17521   *) ac_try_echo=$ac_try;;
       
 17522 esac
       
 17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17524   (eval "$ac_link") 2>conftest.er1
       
 17525   ac_status=$?
       
 17526   grep -v '^ *+' conftest.er1 >conftest.err
       
 17527   rm -f conftest.er1
       
 17528   cat conftest.err >&5
       
 17529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17530   (exit $ac_status); } &&
       
 17531 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 17532   { (case "(($ac_try" in
       
 17533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17534   *) ac_try_echo=$ac_try;;
       
 17535 esac
       
 17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17537   (eval "$ac_try") 2>&5
       
 17538   ac_status=$?
       
 17539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17540   (exit $ac_status); }; } &&
       
 17541 	 { ac_try='test -s conftest$ac_exeext'
       
 17542   { (case "(($ac_try" in
       
 17543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17544   *) ac_try_echo=$ac_try;;
       
 17545 esac
       
 17546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17547   (eval "$ac_try") 2>&5
       
 17548   ac_status=$?
       
 17549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17550   (exit $ac_status); }; }; then
       
 17551 
       
 17552 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17553 }'`
       
 17554 # Check for a 64-bit object if we didn't find anything.
       
 17555 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17556 }'`; fi
       
 17557 else
       
 17558   echo "$as_me: failed program was:" >&5
       
 17559 sed 's/^/| /' conftest.$ac_ext >&5
       
 17560 
       
 17561 
       
 17562 fi
       
 17563 
       
 17564 rm -f core conftest.err conftest.$ac_objext \
       
 17565       conftest$ac_exeext conftest.$ac_ext
       
 17566 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 17567 
       
 17568 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 17569 	  # Warning - without using the other run time loading flags,
       
 17570 	  # -berok will link without error, but may produce a broken library.
       
 17571 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
       
 17572 	  allow_undefined_flag_GCJ=' ${wl}-berok'
       
 17573 	  # Exported symbols can be pulled into shared objects from archives
       
 17574 	  whole_archive_flag_spec_GCJ='$convenience'
       
 17575 	  archive_cmds_need_lc_GCJ=yes
       
 17576 	  # This is similar to how AIX traditionally builds its shared libraries.
       
 17577 	  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'
       
 17578 	fi
       
 17579       fi
       
 17580       ;;
       
 17581 
       
 17582     amigaos*)
       
 17583       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)'
       
 17584       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17585       hardcode_minus_L_GCJ=yes
       
 17586       # see comment about different semantics on the GNU ld section
       
 17587       ld_shlibs_GCJ=no
       
 17588       ;;
       
 17589 
       
 17590     bsdi[45]*)
       
 17591       export_dynamic_flag_spec_GCJ=-rdynamic
       
 17592       ;;
       
 17593 
       
 17594     cygwin* | mingw* | pw32*)
       
 17595       # When not using gcc, we currently assume that we are using
       
 17596       # Microsoft Visual C++.
       
 17597       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
 17598       # no search path for DLLs.
       
 17599       hardcode_libdir_flag_spec_GCJ=' '
       
 17600       allow_undefined_flag_GCJ=unsupported
       
 17601       # Tell ltmain to make .lib files, not .a files.
       
 17602       libext=lib
       
 17603       # Tell ltmain to make .dll files, not .so files.
       
 17604       shrext_cmds=".dll"
       
 17605       # FIXME: Setting linknames here is a bad hack.
       
 17606       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
 17607       # The linker will automatically build a .lib file if we build a DLL.
       
 17608       old_archive_From_new_cmds_GCJ='true'
       
 17609       # FIXME: Should let the user specify the lib program.
       
 17610       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
 17611       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
       
 17612       enable_shared_with_static_runtimes_GCJ=yes
       
 17613       ;;
       
 17614 
       
 17615     darwin* | rhapsody*)
       
 17616       case $host_os in
       
 17617         rhapsody* | darwin1.[012])
       
 17618          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
       
 17619          ;;
       
 17620        *) # Darwin 1.3 on
       
 17621          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 17622            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 17623          else
       
 17624            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 17625              10.[012])
       
 17626                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 17627                ;;
       
 17628              10.*)
       
 17629                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
       
 17630                ;;
       
 17631            esac
       
 17632          fi
       
 17633          ;;
       
 17634       esac
       
 17635       archive_cmds_need_lc_GCJ=no
       
 17636       hardcode_direct_GCJ=no
       
 17637       hardcode_automatic_GCJ=yes
       
 17638       hardcode_shlibpath_var_GCJ=unsupported
       
 17639       whole_archive_flag_spec_GCJ=''
       
 17640       link_all_deplibs_GCJ=yes
       
 17641     if test "$GCC" = yes ; then
       
 17642     	output_verbose_link_cmd='echo'
       
 17643         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 17644       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 17645       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 17646       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 17647       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}'
       
 17648     else
       
 17649       case $cc_basename in
       
 17650         xlc*)
       
 17651          output_verbose_link_cmd='echo'
       
 17652          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
 17653          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 17654           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 17655          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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 17656           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}'
       
 17657           ;;
       
 17658        *)
       
 17659          ld_shlibs_GCJ=no
       
 17660           ;;
       
 17661       esac
       
 17662     fi
       
 17663       ;;
       
 17664 
       
 17665     dgux*)
       
 17666       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17667       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17668       hardcode_shlibpath_var_GCJ=no
       
 17669       ;;
       
 17670 
       
 17671     freebsd1*)
       
 17672       ld_shlibs_GCJ=no
       
 17673       ;;
       
 17674 
       
 17675     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
 17676     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
 17677     # does not break anything, and helps significantly (at the cost of a little
       
 17678     # extra space).
       
 17679     freebsd2.2*)
       
 17680       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
 17681       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 17682       hardcode_direct_GCJ=yes
       
 17683       hardcode_shlibpath_var_GCJ=no
       
 17684       ;;
       
 17685 
       
 17686     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
 17687     freebsd2*)
       
 17688       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 17689       hardcode_direct_GCJ=yes
       
 17690       hardcode_minus_L_GCJ=yes
       
 17691       hardcode_shlibpath_var_GCJ=no
       
 17692       ;;
       
 17693 
       
 17694     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
 17695     freebsd* | kfreebsd*-gnu | dragonfly*)
       
 17696       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
 17697       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 17698       hardcode_direct_GCJ=yes
       
 17699       hardcode_shlibpath_var_GCJ=no
       
 17700       ;;
       
 17701 
       
 17702     hpux9*)
       
 17703       if test "$GCC" = yes; then
       
 17704 	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'
       
 17705       else
       
 17706 	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'
       
 17707       fi
       
 17708       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 17709       hardcode_libdir_separator_GCJ=:
       
 17710       hardcode_direct_GCJ=yes
       
 17711 
       
 17712       # hardcode_minus_L: Not really in the search PATH,
       
 17713       # but as the default location of the library.
       
 17714       hardcode_minus_L_GCJ=yes
       
 17715       export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17716       ;;
       
 17717 
       
 17718     hpux10*)
       
 17719       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 17720 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 17721       else
       
 17722 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
 17723       fi
       
 17724       if test "$with_gnu_ld" = no; then
       
 17725 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 17726 	hardcode_libdir_separator_GCJ=:
       
 17727 
       
 17728 	hardcode_direct_GCJ=yes
       
 17729 	export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17730 
       
 17731 	# hardcode_minus_L: Not really in the search PATH,
       
 17732 	# but as the default location of the library.
       
 17733 	hardcode_minus_L_GCJ=yes
       
 17734       fi
       
 17735       ;;
       
 17736 
       
 17737     hpux11*)
       
 17738       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 17739 	case $host_cpu in
       
 17740 	hppa*64*)
       
 17741 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17742 	  ;;
       
 17743 	ia64*)
       
 17744 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 17745 	  ;;
       
 17746 	*)
       
 17747 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 17748 	  ;;
       
 17749 	esac
       
 17750       else
       
 17751 	case $host_cpu in
       
 17752 	hppa*64*)
       
 17753 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17754 	  ;;
       
 17755 	ia64*)
       
 17756 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 17757 	  ;;
       
 17758 	*)
       
 17759 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 17760 	  ;;
       
 17761 	esac
       
 17762       fi
       
 17763       if test "$with_gnu_ld" = no; then
       
 17764 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 17765 	hardcode_libdir_separator_GCJ=:
       
 17766 
       
 17767 	case $host_cpu in
       
 17768 	hppa*64*|ia64*)
       
 17769 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
       
 17770 	  hardcode_direct_GCJ=no
       
 17771 	  hardcode_shlibpath_var_GCJ=no
       
 17772 	  ;;
       
 17773 	*)
       
 17774 	  hardcode_direct_GCJ=yes
       
 17775 	  export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17776 
       
 17777 	  # hardcode_minus_L: Not really in the search PATH,
       
 17778 	  # but as the default location of the library.
       
 17779 	  hardcode_minus_L_GCJ=yes
       
 17780 	  ;;
       
 17781 	esac
       
 17782       fi
       
 17783       ;;
       
 17784 
       
 17785     irix5* | irix6* | nonstopux*)
       
 17786       if test "$GCC" = yes; then
       
 17787 	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'
       
 17788       else
       
 17789 	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'
       
 17790 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
       
 17791       fi
       
 17792       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 17793       hardcode_libdir_separator_GCJ=:
       
 17794       link_all_deplibs_GCJ=yes
       
 17795       ;;
       
 17796 
       
 17797     netbsd*)
       
 17798       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 17799 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
 17800       else
       
 17801 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
 17802       fi
       
 17803       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 17804       hardcode_direct_GCJ=yes
       
 17805       hardcode_shlibpath_var_GCJ=no
       
 17806       ;;
       
 17807 
       
 17808     newsos6)
       
 17809       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17810       hardcode_direct_GCJ=yes
       
 17811       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 17812       hardcode_libdir_separator_GCJ=:
       
 17813       hardcode_shlibpath_var_GCJ=no
       
 17814       ;;
       
 17815 
       
 17816     openbsd*)
       
 17817       hardcode_direct_GCJ=yes
       
 17818       hardcode_shlibpath_var_GCJ=no
       
 17819       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 17820 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 17821 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
 17822 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 17823 	export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17824       else
       
 17825        case $host_os in
       
 17826 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
 17827 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 17828 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 17829 	   ;;
       
 17830 	 *)
       
 17831 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 17832 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 17833 	   ;;
       
 17834        esac
       
 17835       fi
       
 17836       ;;
       
 17837 
       
 17838     os2*)
       
 17839       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17840       hardcode_minus_L_GCJ=yes
       
 17841       allow_undefined_flag_GCJ=unsupported
       
 17842       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'
       
 17843       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
 17844       ;;
       
 17845 
       
 17846     osf3*)
       
 17847       if test "$GCC" = yes; then
       
 17848 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
       
 17849 	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'
       
 17850       else
       
 17851 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
       
 17852 	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'
       
 17853       fi
       
 17854       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 17855       hardcode_libdir_separator_GCJ=:
       
 17856       ;;
       
 17857 
       
 17858     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
 17859       if test "$GCC" = yes; then
       
 17860 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
       
 17861 	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'
       
 17862 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 17863       else
       
 17864 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
       
 17865 	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'
       
 17866 	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~
       
 17867 	$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'
       
 17868 
       
 17869 	# Both c and cxx compiler support -rpath directly
       
 17870 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
       
 17871       fi
       
 17872       hardcode_libdir_separator_GCJ=:
       
 17873       ;;
       
 17874 
       
 17875     solaris*)
       
 17876       no_undefined_flag_GCJ=' -z text'
       
 17877       if test "$GCC" = yes; then
       
 17878 	wlarc='${wl}'
       
 17879 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17880 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 17881 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
 17882       else
       
 17883 	wlarc=''
       
 17884 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17885 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 17886   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
 17887       fi
       
 17888       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 17889       hardcode_shlibpath_var_GCJ=no
       
 17890       case $host_os in
       
 17891       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 17892       *)
       
 17893  	# The compiler driver will combine linker options so we
       
 17894  	# cannot just pass the convience library names through
       
 17895  	# without $wl, iff we do not link with $LD.
       
 17896  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
 17897  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
 17898  	case $wlarc in
       
 17899  	'')
       
 17900  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
       
 17901  	*)
       
 17902  	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
       
 17903  	esac ;;
       
 17904       esac
       
 17905       link_all_deplibs_GCJ=yes
       
 17906       ;;
       
 17907 
       
 17908     sunos4*)
       
 17909       if test "x$host_vendor" = xsequent; then
       
 17910 	# Use $CC to link under sequent, because it throws in some extra .o
       
 17911 	# files that make .init and .fini sections work.
       
 17912 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17913       else
       
 17914 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
 17915       fi
       
 17916       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17917       hardcode_direct_GCJ=yes
       
 17918       hardcode_minus_L_GCJ=yes
       
 17919       hardcode_shlibpath_var_GCJ=no
       
 17920       ;;
       
 17921 
       
 17922     sysv4)
       
 17923       case $host_vendor in
       
 17924 	sni)
       
 17925 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17926 	  hardcode_direct_GCJ=yes # is this really true???
       
 17927 	;;
       
 17928 	siemens)
       
 17929 	  ## LD is ld it makes a PLAMLIB
       
 17930 	  ## CC just makes a GrossModule.
       
 17931 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
 17932 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
       
 17933 	  hardcode_direct_GCJ=no
       
 17934         ;;
       
 17935 	motorola)
       
 17936 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17937 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
       
 17938 	;;
       
 17939       esac
       
 17940       runpath_var='LD_RUN_PATH'
       
 17941       hardcode_shlibpath_var_GCJ=no
       
 17942       ;;
       
 17943 
       
 17944     sysv4.3*)
       
 17945       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17946       hardcode_shlibpath_var_GCJ=no
       
 17947       export_dynamic_flag_spec_GCJ='-Bexport'
       
 17948       ;;
       
 17949 
       
 17950     sysv4*MP*)
       
 17951       if test -d /usr/nec; then
       
 17952 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 17953 	hardcode_shlibpath_var_GCJ=no
       
 17954 	runpath_var=LD_RUN_PATH
       
 17955 	hardcode_runpath_var=yes
       
 17956 	ld_shlibs_GCJ=yes
       
 17957       fi
       
 17958       ;;
       
 17959 
       
 17960     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
 17961       no_undefined_flag_GCJ='${wl}-z,text'
       
 17962       archive_cmds_need_lc_GCJ=no
       
 17963       hardcode_shlibpath_var_GCJ=no
       
 17964       runpath_var='LD_RUN_PATH'
       
 17965 
       
 17966       if test "$GCC" = yes; then
       
 17967 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17968 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17969       else
       
 17970 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17971 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17972       fi
       
 17973       ;;
       
 17974 
       
 17975     sysv5* | sco3.2v5* | sco5v6*)
       
 17976       # Note: We can NOT use -z defs as we might desire, because we do not
       
 17977       # link with -lc, and that would cause any symbols used from libc to
       
 17978       # always be unresolved, which means just about no library would
       
 17979       # ever link correctly.  If we're not using GNU ld we use -z text
       
 17980       # though, which does catch some bad symbols but isn't as heavy-handed
       
 17981       # as -z defs.
       
 17982       no_undefined_flag_GCJ='${wl}-z,text'
       
 17983       allow_undefined_flag_GCJ='${wl}-z,nodefs'
       
 17984       archive_cmds_need_lc_GCJ=no
       
 17985       hardcode_shlibpath_var_GCJ=no
       
 17986       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 17987       hardcode_libdir_separator_GCJ=':'
       
 17988       link_all_deplibs_GCJ=yes
       
 17989       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
       
 17990       runpath_var='LD_RUN_PATH'
       
 17991 
       
 17992       if test "$GCC" = yes; then
       
 17993 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17994 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17995       else
       
 17996 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17997 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 17998       fi
       
 17999       ;;
       
 18000 
       
 18001     uts4*)
       
 18002       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18003       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 18004       hardcode_shlibpath_var_GCJ=no
       
 18005       ;;
       
 18006 
       
 18007     *)
       
 18008       ld_shlibs_GCJ=no
       
 18009       ;;
       
 18010     esac
       
 18011   fi
       
 18012 
       
 18013 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
       
 18014 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
       
 18015 test "$ld_shlibs_GCJ" = no && can_build_shared=no
       
 18016 
       
 18017 #
       
 18018 # Do we need to explicitly link libc?
       
 18019 #
       
 18020 case "x$archive_cmds_need_lc_GCJ" in
       
 18021 x|xyes)
       
 18022   # Assume -lc should be added
       
 18023   archive_cmds_need_lc_GCJ=yes
       
 18024 
       
 18025   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 18026     case $archive_cmds_GCJ in
       
 18027     *'~'*)
       
 18028       # FIXME: we may have to deal with multi-command sequences.
       
 18029       ;;
       
 18030     '$CC '*)
       
 18031       # Test whether the compiler implicitly links with -lc since on some
       
 18032       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 18033       # to ld, don't add -lc before -lgcc.
       
 18034       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 18035 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 18036       $rm conftest*
       
 18037       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 18038 
       
 18039       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 18040   (eval $ac_compile) 2>&5
       
 18041   ac_status=$?
       
 18042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18043   (exit $ac_status); } 2>conftest.err; then
       
 18044         soname=conftest
       
 18045         lib=conftest
       
 18046         libobjs=conftest.$ac_objext
       
 18047         deplibs=
       
 18048         wl=$lt_prog_compiler_wl_GCJ
       
 18049 	pic_flag=$lt_prog_compiler_pic_GCJ
       
 18050         compiler_flags=-v
       
 18051         linker_flags=-v
       
 18052         verstring=
       
 18053         output_objdir=.
       
 18054         libname=conftest
       
 18055         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
       
 18056         allow_undefined_flag_GCJ=
       
 18057         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 18058   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 18059   ac_status=$?
       
 18060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18061   (exit $ac_status); }
       
 18062         then
       
 18063 	  archive_cmds_need_lc_GCJ=no
       
 18064         else
       
 18065 	  archive_cmds_need_lc_GCJ=yes
       
 18066         fi
       
 18067         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
       
 18068       else
       
 18069         cat conftest.err 1>&5
       
 18070       fi
       
 18071       $rm conftest*
       
 18072       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
       
 18073 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
       
 18074       ;;
       
 18075     esac
       
 18076   fi
       
 18077   ;;
       
 18078 esac
       
 18079 
       
 18080 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 18081 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 18082 library_names_spec=
       
 18083 libname_spec='lib$name'
       
 18084 soname_spec=
       
 18085 shrext_cmds=".so"
       
 18086 postinstall_cmds=
       
 18087 postuninstall_cmds=
       
 18088 finish_cmds=
       
 18089 finish_eval=
       
 18090 shlibpath_var=
       
 18091 shlibpath_overrides_runpath=unknown
       
 18092 version_type=none
       
 18093 dynamic_linker="$host_os ld.so"
       
 18094 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 18095 if test "$GCC" = yes; then
       
 18096   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 18097   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 18098     # if the path contains ";" then we assume it to be the separator
       
 18099     # otherwise default to the standard path separator (i.e. ":") - it is
       
 18100     # assumed that no part of a normal pathname contains ";" but that should
       
 18101     # okay in the real world where ";" in dirpaths is itself problematic.
       
 18102     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 18103   else
       
 18104     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 18105   fi
       
 18106 else
       
 18107   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 18108 fi
       
 18109 need_lib_prefix=unknown
       
 18110 hardcode_into_libs=no
       
 18111 
       
 18112 # when you set need_version to no, make sure it does not cause -set_version
       
 18113 # flags to be left without arguments
       
 18114 need_version=unknown
       
 18115 
       
 18116 case $host_os in
       
 18117 aix3*)
       
 18118   version_type=linux
       
 18119   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 18120   shlibpath_var=LIBPATH
       
 18121 
       
 18122   # AIX 3 has no versioning support, so we append a major version to the name.
       
 18123   soname_spec='${libname}${release}${shared_ext}$major'
       
 18124   ;;
       
 18125 
       
 18126 aix4* | aix5*)
       
 18127   version_type=linux
       
 18128   need_lib_prefix=no
       
 18129   need_version=no
       
 18130   hardcode_into_libs=yes
       
 18131   if test "$host_cpu" = ia64; then
       
 18132     # AIX 5 supports IA64
       
 18133     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 18134     shlibpath_var=LD_LIBRARY_PATH
       
 18135   else
       
 18136     # With GCC up to 2.95.x, collect2 would create an import file
       
 18137     # for dependence libraries.  The import file would start with
       
 18138     # the line `#! .'.  This would cause the generated library to
       
 18139     # depend on `.', always an invalid library.  This was fixed in
       
 18140     # development snapshots of GCC prior to 3.0.
       
 18141     case $host_os in
       
 18142       aix4 | aix4.[01] | aix4.[01].*)
       
 18143       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 18144 	   echo ' yes '
       
 18145 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 18146 	:
       
 18147       else
       
 18148 	can_build_shared=no
       
 18149       fi
       
 18150       ;;
       
 18151     esac
       
 18152     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 18153     # soname into executable. Probably we can add versioning support to
       
 18154     # collect2, so additional links can be useful in future.
       
 18155     if test "$aix_use_runtimelinking" = yes; then
       
 18156       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 18157       # instead of lib<name>.a to let people know that these are not
       
 18158       # typical AIX shared libraries.
       
 18159       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18160     else
       
 18161       # We preserve .a as extension for shared libraries through AIX4.2
       
 18162       # and later when we are not doing run time linking.
       
 18163       library_names_spec='${libname}${release}.a $libname.a'
       
 18164       soname_spec='${libname}${release}${shared_ext}$major'
       
 18165     fi
       
 18166     shlibpath_var=LIBPATH
       
 18167   fi
       
 18168   ;;
       
 18169 
       
 18170 amigaos*)
       
 18171   library_names_spec='$libname.ixlibrary $libname.a'
       
 18172   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 18173   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'
       
 18174   ;;
       
 18175 
       
 18176 beos*)
       
 18177   library_names_spec='${libname}${shared_ext}'
       
 18178   dynamic_linker="$host_os ld.so"
       
 18179   shlibpath_var=LIBRARY_PATH
       
 18180   ;;
       
 18181 
       
 18182 bsdi[45]*)
       
 18183   version_type=linux
       
 18184   need_version=no
       
 18185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18186   soname_spec='${libname}${release}${shared_ext}$major'
       
 18187   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 18188   shlibpath_var=LD_LIBRARY_PATH
       
 18189   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 18190   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 18191   # the default ld.so.conf also contains /usr/contrib/lib and
       
 18192   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 18193   # libtool to hard-code these into programs
       
 18194   ;;
       
 18195 
       
 18196 cygwin* | mingw* | pw32*)
       
 18197   version_type=windows
       
 18198   shrext_cmds=".dll"
       
 18199   need_version=no
       
 18200   need_lib_prefix=no
       
 18201 
       
 18202   case $GCC,$host_os in
       
 18203   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 18204     library_names_spec='$libname.dll.a'
       
 18205     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 18206     postinstall_cmds='base_file=`basename \${file}`~
       
 18207       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 18208       dldir=$destdir/`dirname \$dlpath`~
       
 18209       test -d \$dldir || mkdir -p \$dldir~
       
 18210       $install_prog $dir/$dlname \$dldir/$dlname~
       
 18211       chmod a+x \$dldir/$dlname'
       
 18212     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 18213       dlpath=$dir/\$dldll~
       
 18214        $rm \$dlpath'
       
 18215     shlibpath_overrides_runpath=yes
       
 18216 
       
 18217     case $host_os in
       
 18218     cygwin*)
       
 18219       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 18220       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18221       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 18222       ;;
       
 18223     mingw*)
       
 18224       # MinGW DLLs use traditional 'lib' prefix
       
 18225       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18226       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 18227       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 18228         # It is most probably a Windows format PATH printed by
       
 18229         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 18230         # path with ; separators, and with drive letters. We can handle the
       
 18231         # drive letters (cygwin fileutils understands them), so leave them,
       
 18232         # especially as we might pass files found there to a mingw objdump,
       
 18233         # which wouldn't understand a cygwinified path. Ahh.
       
 18234         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 18235       else
       
 18236         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 18237       fi
       
 18238       ;;
       
 18239     pw32*)
       
 18240       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 18241       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18242       ;;
       
 18243     esac
       
 18244     ;;
       
 18245 
       
 18246   *)
       
 18247     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 18248     ;;
       
 18249   esac
       
 18250   dynamic_linker='Win32 ld.exe'
       
 18251   # FIXME: first we should search . and the directory the executable is in
       
 18252   shlibpath_var=PATH
       
 18253   ;;
       
 18254 
       
 18255 darwin* | rhapsody*)
       
 18256   dynamic_linker="$host_os dyld"
       
 18257   version_type=darwin
       
 18258   need_lib_prefix=no
       
 18259   need_version=no
       
 18260   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 18261   soname_spec='${libname}${release}${major}$shared_ext'
       
 18262   shlibpath_overrides_runpath=yes
       
 18263   shlibpath_var=DYLD_LIBRARY_PATH
       
 18264   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 18265   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 18266   if test "$GCC" = yes; then
       
 18267     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
       
 18268   else
       
 18269     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 18270   fi
       
 18271   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 18272   ;;
       
 18273 
       
 18274 dgux*)
       
 18275   version_type=linux
       
 18276   need_lib_prefix=no
       
 18277   need_version=no
       
 18278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
 18279   soname_spec='${libname}${release}${shared_ext}$major'
       
 18280   shlibpath_var=LD_LIBRARY_PATH
       
 18281   ;;
       
 18282 
       
 18283 freebsd1*)
       
 18284   dynamic_linker=no
       
 18285   ;;
       
 18286 
       
 18287 kfreebsd*-gnu)
       
 18288   version_type=linux
       
 18289   need_lib_prefix=no
       
 18290   need_version=no
       
 18291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18292   soname_spec='${libname}${release}${shared_ext}$major'
       
 18293   shlibpath_var=LD_LIBRARY_PATH
       
 18294   shlibpath_overrides_runpath=no
       
 18295   hardcode_into_libs=yes
       
 18296   dynamic_linker='GNU ld.so'
       
 18297   ;;
       
 18298 
       
 18299 freebsd* | dragonfly*)
       
 18300   # DragonFly does not have aout.  When/if they implement a new
       
 18301   # versioning mechanism, adjust this.
       
 18302   if test -x /usr/bin/objformat; then
       
 18303     objformat=`/usr/bin/objformat`
       
 18304   else
       
 18305     case $host_os in
       
 18306     freebsd[123]*) objformat=aout ;;
       
 18307     *) objformat=elf ;;
       
 18308     esac
       
 18309   fi
       
 18310   version_type=freebsd-$objformat
       
 18311   case $version_type in
       
 18312     freebsd-elf*)
       
 18313       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 18314       need_version=no
       
 18315       need_lib_prefix=no
       
 18316       ;;
       
 18317     freebsd-*)
       
 18318       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 18319       need_version=yes
       
 18320       ;;
       
 18321   esac
       
 18322   shlibpath_var=LD_LIBRARY_PATH
       
 18323   case $host_os in
       
 18324   freebsd2*)
       
 18325     shlibpath_overrides_runpath=yes
       
 18326     ;;
       
 18327   freebsd3.[01]* | freebsdelf3.[01]*)
       
 18328     shlibpath_overrides_runpath=yes
       
 18329     hardcode_into_libs=yes
       
 18330     ;;
       
 18331   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 18332   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 18333     shlibpath_overrides_runpath=no
       
 18334     hardcode_into_libs=yes
       
 18335     ;;
       
 18336   freebsd*) # from 4.6 on
       
 18337     shlibpath_overrides_runpath=yes
       
 18338     hardcode_into_libs=yes
       
 18339     ;;
       
 18340   esac
       
 18341   ;;
       
 18342 
       
 18343 gnu*)
       
 18344   version_type=linux
       
 18345   need_lib_prefix=no
       
 18346   need_version=no
       
 18347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 18348   soname_spec='${libname}${release}${shared_ext}$major'
       
 18349   shlibpath_var=LD_LIBRARY_PATH
       
 18350   hardcode_into_libs=yes
       
 18351   ;;
       
 18352 
       
 18353 hpux9* | hpux10* | hpux11*)
       
 18354   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 18355   # link against other versions.
       
 18356   version_type=sunos
       
 18357   need_lib_prefix=no
       
 18358   need_version=no
       
 18359   case $host_cpu in
       
 18360   ia64*)
       
 18361     shrext_cmds='.so'
       
 18362     hardcode_into_libs=yes
       
 18363     dynamic_linker="$host_os dld.so"
       
 18364     shlibpath_var=LD_LIBRARY_PATH
       
 18365     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 18366     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18367     soname_spec='${libname}${release}${shared_ext}$major'
       
 18368     if test "X$HPUX_IA64_MODE" = X32; then
       
 18369       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 18370     else
       
 18371       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 18372     fi
       
 18373     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 18374     ;;
       
 18375    hppa*64*)
       
 18376      shrext_cmds='.sl'
       
 18377      hardcode_into_libs=yes
       
 18378      dynamic_linker="$host_os dld.sl"
       
 18379      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 18380      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 18381      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18382      soname_spec='${libname}${release}${shared_ext}$major'
       
 18383      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 18384      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 18385      ;;
       
 18386    *)
       
 18387     shrext_cmds='.sl'
       
 18388     dynamic_linker="$host_os dld.sl"
       
 18389     shlibpath_var=SHLIB_PATH
       
 18390     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 18391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18392     soname_spec='${libname}${release}${shared_ext}$major'
       
 18393     ;;
       
 18394   esac
       
 18395   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 18396   postinstall_cmds='chmod 555 $lib'
       
 18397   ;;
       
 18398 
       
 18399 interix3*)
       
 18400   version_type=linux
       
 18401   need_lib_prefix=no
       
 18402   need_version=no
       
 18403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18404   soname_spec='${libname}${release}${shared_ext}$major'
       
 18405   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 18406   shlibpath_var=LD_LIBRARY_PATH
       
 18407   shlibpath_overrides_runpath=no
       
 18408   hardcode_into_libs=yes
       
 18409   ;;
       
 18410 
       
 18411 irix5* | irix6* | nonstopux*)
       
 18412   case $host_os in
       
 18413     nonstopux*) version_type=nonstopux ;;
       
 18414     *)
       
 18415 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 18416 		version_type=linux
       
 18417 	else
       
 18418 		version_type=irix
       
 18419 	fi ;;
       
 18420   esac
       
 18421   need_lib_prefix=no
       
 18422   need_version=no
       
 18423   soname_spec='${libname}${release}${shared_ext}$major'
       
 18424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 18425   case $host_os in
       
 18426   irix5* | nonstopux*)
       
 18427     libsuff= shlibsuff=
       
 18428     ;;
       
 18429   *)
       
 18430     case $LD in # libtool.m4 will add one of these switches to LD
       
 18431     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 18432       libsuff= shlibsuff= libmagic=32-bit;;
       
 18433     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 18434       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 18435     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 18436       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 18437     *) libsuff= shlibsuff= libmagic=never-match;;
       
 18438     esac
       
 18439     ;;
       
 18440   esac
       
 18441   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 18442   shlibpath_overrides_runpath=no
       
 18443   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 18444   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 18445   hardcode_into_libs=yes
       
 18446   ;;
       
 18447 
       
 18448 # No shared lib support for Linux oldld, aout, or coff.
       
 18449 linux*oldld* | linux*aout* | linux*coff*)
       
 18450   dynamic_linker=no
       
 18451   ;;
       
 18452 
       
 18453 # This must be Linux ELF.
       
 18454 linux*)
       
 18455   version_type=linux
       
 18456   need_lib_prefix=no
       
 18457   need_version=no
       
 18458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18459   soname_spec='${libname}${release}${shared_ext}$major'
       
 18460   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 18461   shlibpath_var=LD_LIBRARY_PATH
       
 18462   shlibpath_overrides_runpath=no
       
 18463   # This implies no fast_install, which is unacceptable.
       
 18464   # Some rework will be needed to allow for fast_install
       
 18465   # before this can be enabled.
       
 18466   hardcode_into_libs=yes
       
 18467 
       
 18468   # Append ld.so.conf contents to the search path
       
 18469   if test -f /etc/ld.so.conf; then
       
 18470     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
       
 18471     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 18472   fi
       
 18473 
       
 18474   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 18475   # powerpc, because MkLinux only supported shared libraries with the
       
 18476   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 18477   # most powerpc-linux boxes support dynamic linking these days and
       
 18478   # people can always --disable-shared, the test was removed, and we
       
 18479   # assume the GNU/Linux dynamic linker is in use.
       
 18480   dynamic_linker='GNU/Linux ld.so'
       
 18481   ;;
       
 18482 
       
 18483 knetbsd*-gnu)
       
 18484   version_type=linux
       
 18485   need_lib_prefix=no
       
 18486   need_version=no
       
 18487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18488   soname_spec='${libname}${release}${shared_ext}$major'
       
 18489   shlibpath_var=LD_LIBRARY_PATH
       
 18490   shlibpath_overrides_runpath=no
       
 18491   hardcode_into_libs=yes
       
 18492   dynamic_linker='GNU ld.so'
       
 18493   ;;
       
 18494 
       
 18495 netbsd*)
       
 18496   version_type=sunos
       
 18497   need_lib_prefix=no
       
 18498   need_version=no
       
 18499   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 18500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 18501     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 18502     dynamic_linker='NetBSD (a.out) ld.so'
       
 18503   else
       
 18504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18505     soname_spec='${libname}${release}${shared_ext}$major'
       
 18506     dynamic_linker='NetBSD ld.elf_so'
       
 18507   fi
       
 18508   shlibpath_var=LD_LIBRARY_PATH
       
 18509   shlibpath_overrides_runpath=yes
       
 18510   hardcode_into_libs=yes
       
 18511   ;;
       
 18512 
       
 18513 newsos6)
       
 18514   version_type=linux
       
 18515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18516   shlibpath_var=LD_LIBRARY_PATH
       
 18517   shlibpath_overrides_runpath=yes
       
 18518   ;;
       
 18519 
       
 18520 nto-qnx*)
       
 18521   version_type=linux
       
 18522   need_lib_prefix=no
       
 18523   need_version=no
       
 18524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18525   soname_spec='${libname}${release}${shared_ext}$major'
       
 18526   shlibpath_var=LD_LIBRARY_PATH
       
 18527   shlibpath_overrides_runpath=yes
       
 18528   ;;
       
 18529 
       
 18530 openbsd*)
       
 18531   version_type=sunos
       
 18532   sys_lib_dlsearch_path_spec="/usr/lib"
       
 18533   need_lib_prefix=no
       
 18534   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 18535   case $host_os in
       
 18536     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 18537     *)                         need_version=no  ;;
       
 18538   esac
       
 18539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 18540   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 18541   shlibpath_var=LD_LIBRARY_PATH
       
 18542   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 18543     case $host_os in
       
 18544       openbsd2.[89] | openbsd2.[89].*)
       
 18545 	shlibpath_overrides_runpath=no
       
 18546 	;;
       
 18547       *)
       
 18548 	shlibpath_overrides_runpath=yes
       
 18549 	;;
       
 18550       esac
       
 18551   else
       
 18552     shlibpath_overrides_runpath=yes
       
 18553   fi
       
 18554   ;;
       
 18555 
       
 18556 os2*)
       
 18557   libname_spec='$name'
       
 18558   shrext_cmds=".dll"
       
 18559   need_lib_prefix=no
       
 18560   library_names_spec='$libname${shared_ext} $libname.a'
       
 18561   dynamic_linker='OS/2 ld.exe'
       
 18562   shlibpath_var=LIBPATH
       
 18563   ;;
       
 18564 
       
 18565 osf3* | osf4* | osf5*)
       
 18566   version_type=osf
       
 18567   need_lib_prefix=no
       
 18568   need_version=no
       
 18569   soname_spec='${libname}${release}${shared_ext}$major'
       
 18570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18571   shlibpath_var=LD_LIBRARY_PATH
       
 18572   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 18573   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 18574   ;;
       
 18575 
       
 18576 solaris*)
       
 18577   version_type=linux
       
 18578   need_lib_prefix=no
       
 18579   need_version=no
       
 18580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18581   soname_spec='${libname}${release}${shared_ext}$major'
       
 18582   shlibpath_var=LD_LIBRARY_PATH
       
 18583   shlibpath_overrides_runpath=yes
       
 18584   hardcode_into_libs=yes
       
 18585   # ldd complains unless libraries are executable
       
 18586   postinstall_cmds='chmod +x $lib'
       
 18587   ;;
       
 18588 
       
 18589 sunos4*)
       
 18590   version_type=sunos
       
 18591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 18592   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 18593   shlibpath_var=LD_LIBRARY_PATH
       
 18594   shlibpath_overrides_runpath=yes
       
 18595   if test "$with_gnu_ld" = yes; then
       
 18596     need_lib_prefix=no
       
 18597   fi
       
 18598   need_version=yes
       
 18599   ;;
       
 18600 
       
 18601 sysv4 | sysv4.3*)
       
 18602   version_type=linux
       
 18603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18604   soname_spec='${libname}${release}${shared_ext}$major'
       
 18605   shlibpath_var=LD_LIBRARY_PATH
       
 18606   case $host_vendor in
       
 18607     sni)
       
 18608       shlibpath_overrides_runpath=no
       
 18609       need_lib_prefix=no
       
 18610       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 18611       runpath_var=LD_RUN_PATH
       
 18612       ;;
       
 18613     siemens)
       
 18614       need_lib_prefix=no
       
 18615       ;;
       
 18616     motorola)
       
 18617       need_lib_prefix=no
       
 18618       need_version=no
       
 18619       shlibpath_overrides_runpath=no
       
 18620       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 18621       ;;
       
 18622   esac
       
 18623   ;;
       
 18624 
       
 18625 sysv4*MP*)
       
 18626   if test -d /usr/nec ;then
       
 18627     version_type=linux
       
 18628     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 18629     soname_spec='$libname${shared_ext}.$major'
       
 18630     shlibpath_var=LD_LIBRARY_PATH
       
 18631   fi
       
 18632   ;;
       
 18633 
       
 18634 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 18635   version_type=freebsd-elf
       
 18636   need_lib_prefix=no
       
 18637   need_version=no
       
 18638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 18639   soname_spec='${libname}${release}${shared_ext}$major'
       
 18640   shlibpath_var=LD_LIBRARY_PATH
       
 18641   hardcode_into_libs=yes
       
 18642   if test "$with_gnu_ld" = yes; then
       
 18643     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 18644     shlibpath_overrides_runpath=no
       
 18645   else
       
 18646     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 18647     shlibpath_overrides_runpath=yes
       
 18648     case $host_os in
       
 18649       sco3.2v5*)
       
 18650         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 18651 	;;
       
 18652     esac
       
 18653   fi
       
 18654   sys_lib_dlsearch_path_spec='/usr/lib'
       
 18655   ;;
       
 18656 
       
 18657 uts4*)
       
 18658   version_type=linux
       
 18659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18660   soname_spec='${libname}${release}${shared_ext}$major'
       
 18661   shlibpath_var=LD_LIBRARY_PATH
       
 18662   ;;
       
 18663 
       
 18664 *)
       
 18665   dynamic_linker=no
       
 18666   ;;
       
 18667 esac
       
 18668 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 18669 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 18670 test "$dynamic_linker" = no && can_build_shared=no
       
 18671 
       
 18672 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 18673 if test "$GCC" = yes; then
       
 18674   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 18675 fi
       
 18676 
       
 18677 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 18678 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 18679 hardcode_action_GCJ=
       
 18680 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
       
 18681    test -n "$runpath_var_GCJ" || \
       
 18682    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
       
 18683 
       
 18684   # We can hardcode non-existant directories.
       
 18685   if test "$hardcode_direct_GCJ" != no &&
       
 18686      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 18687      # have to relink, otherwise we might link with an installed library
       
 18688      # when we should be linking with a yet-to-be-installed one
       
 18689      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
       
 18690      test "$hardcode_minus_L_GCJ" != no; then
       
 18691     # Linking always hardcodes the temporary library directory.
       
 18692     hardcode_action_GCJ=relink
       
 18693   else
       
 18694     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 18695     hardcode_action_GCJ=immediate
       
 18696   fi
       
 18697 else
       
 18698   # We cannot hardcode anything, or else we can only hardcode existing
       
 18699   # directories.
       
 18700   hardcode_action_GCJ=unsupported
       
 18701 fi
       
 18702 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
       
 18703 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
       
 18704 
       
 18705 if test "$hardcode_action_GCJ" = relink; then
       
 18706   # Fast installation is not supported
       
 18707   enable_fast_install=no
       
 18708 elif test "$shlibpath_overrides_runpath" = yes ||
       
 18709      test "$enable_shared" = no; then
       
 18710   # Fast installation is not necessary
       
 18711   enable_fast_install=needless
       
 18712 fi
       
 18713 
       
 18714 
       
 18715 # The else clause should only fire when bootstrapping the
       
 18716 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 18717 # with your package, and you will get complaints that there are
       
 18718 # no rules to generate ltmain.sh.
       
 18719 if test -f "$ltmain"; then
       
 18720   # See if we are running on zsh, and set the options which allow our commands through
       
 18721   # without removal of \ escapes.
       
 18722   if test -n "${ZSH_VERSION+set}" ; then
       
 18723     setopt NO_GLOB_SUBST
       
 18724   fi
       
 18725   # Now quote all the things that may contain metacharacters while being
       
 18726   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 18727   # variables and quote the copies for generation of the libtool script.
       
 18728   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 18729     SED SHELL STRIP \
       
 18730     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 18731     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 18732     deplibs_check_method reload_flag reload_cmds need_locks \
       
 18733     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 18734     lt_cv_sys_global_symbol_to_c_name_address \
       
 18735     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 18736     old_postinstall_cmds old_postuninstall_cmds \
       
 18737     compiler_GCJ \
       
 18738     CC_GCJ \
       
 18739     LD_GCJ \
       
 18740     lt_prog_compiler_wl_GCJ \
       
 18741     lt_prog_compiler_pic_GCJ \
       
 18742     lt_prog_compiler_static_GCJ \
       
 18743     lt_prog_compiler_no_builtin_flag_GCJ \
       
 18744     export_dynamic_flag_spec_GCJ \
       
 18745     thread_safe_flag_spec_GCJ \
       
 18746     whole_archive_flag_spec_GCJ \
       
 18747     enable_shared_with_static_runtimes_GCJ \
       
 18748     old_archive_cmds_GCJ \
       
 18749     old_archive_from_new_cmds_GCJ \
       
 18750     predep_objects_GCJ \
       
 18751     postdep_objects_GCJ \
       
 18752     predeps_GCJ \
       
 18753     postdeps_GCJ \
       
 18754     compiler_lib_search_path_GCJ \
       
 18755     archive_cmds_GCJ \
       
 18756     archive_expsym_cmds_GCJ \
       
 18757     postinstall_cmds_GCJ \
       
 18758     postuninstall_cmds_GCJ \
       
 18759     old_archive_from_expsyms_cmds_GCJ \
       
 18760     allow_undefined_flag_GCJ \
       
 18761     no_undefined_flag_GCJ \
       
 18762     export_symbols_cmds_GCJ \
       
 18763     hardcode_libdir_flag_spec_GCJ \
       
 18764     hardcode_libdir_flag_spec_ld_GCJ \
       
 18765     hardcode_libdir_separator_GCJ \
       
 18766     hardcode_automatic_GCJ \
       
 18767     module_cmds_GCJ \
       
 18768     module_expsym_cmds_GCJ \
       
 18769     lt_cv_prog_compiler_c_o_GCJ \
       
 18770     exclude_expsyms_GCJ \
       
 18771     include_expsyms_GCJ; do
       
 18772 
       
 18773     case $var in
       
 18774     old_archive_cmds_GCJ | \
       
 18775     old_archive_from_new_cmds_GCJ | \
       
 18776     archive_cmds_GCJ | \
       
 18777     archive_expsym_cmds_GCJ | \
       
 18778     module_cmds_GCJ | \
       
 18779     module_expsym_cmds_GCJ | \
       
 18780     old_archive_from_expsyms_cmds_GCJ | \
       
 18781     export_symbols_cmds_GCJ | \
       
 18782     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 18783     postinstall_cmds | postuninstall_cmds | \
       
 18784     old_postinstall_cmds | old_postuninstall_cmds | \
       
 18785     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 18786       # Double-quote double-evaled strings.
       
 18787       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 18788       ;;
       
 18789     *)
       
 18790       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 18791       ;;
       
 18792     esac
       
 18793   done
       
 18794 
       
 18795   case $lt_echo in
       
 18796   *'\$0 --fallback-echo"')
       
 18797     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 18798     ;;
       
 18799   esac
       
 18800 
       
 18801 cfgfile="$ofile"
       
 18802 
       
 18803   cat <<__EOF__ >> "$cfgfile"
       
 18804 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 18805 
       
 18806 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 18807 
       
 18808 # Shell to use when invoking shell scripts.
       
 18809 SHELL=$lt_SHELL
       
 18810 
       
 18811 # Whether or not to build shared libraries.
       
 18812 build_libtool_libs=$enable_shared
       
 18813 
       
 18814 # Whether or not to build static libraries.
       
 18815 build_old_libs=$enable_static
       
 18816 
       
 18817 # Whether or not to add -lc for building shared libraries.
       
 18818 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
       
 18819 
       
 18820 # Whether or not to disallow shared libs when runtime libs are static
       
 18821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
       
 18822 
       
 18823 # Whether or not to optimize for fast installation.
       
 18824 fast_install=$enable_fast_install
       
 18825 
       
 18826 # The host system.
       
 18827 host_alias=$host_alias
       
 18828 host=$host
       
 18829 host_os=$host_os
       
 18830 
       
 18831 # The build system.
       
 18832 build_alias=$build_alias
       
 18833 build=$build
       
 18834 build_os=$build_os
       
 18835 
       
 18836 # An echo program that does not interpret backslashes.
       
 18837 echo=$lt_echo
       
 18838 
       
 18839 # The archiver.
       
 18840 AR=$lt_AR
       
 18841 AR_FLAGS=$lt_AR_FLAGS
       
 18842 
       
 18843 # A C compiler.
       
 18844 LTCC=$lt_LTCC
       
 18845 
       
 18846 # LTCC compiler flags.
       
 18847 LTCFLAGS=$lt_LTCFLAGS
       
 18848 
       
 18849 # A language-specific compiler.
       
 18850 CC=$lt_compiler_GCJ
       
 18851 
       
 18852 # Is the compiler the GNU C compiler?
       
 18853 with_gcc=$GCC_GCJ
       
 18854 
       
 18855 # An ERE matcher.
       
 18856 EGREP=$lt_EGREP
       
 18857 
       
 18858 # The linker used to build libraries.
       
 18859 LD=$lt_LD_GCJ
       
 18860 
       
 18861 # Whether we need hard or soft links.
       
 18862 LN_S=$lt_LN_S
       
 18863 
       
 18864 # A BSD-compatible nm program.
       
 18865 NM=$lt_NM
       
 18866 
       
 18867 # A symbol stripping program
       
 18868 STRIP=$lt_STRIP
       
 18869 
       
 18870 # Used to examine libraries when file_magic_cmd begins "file"
       
 18871 MAGIC_CMD=$MAGIC_CMD
       
 18872 
       
 18873 # Used on cygwin: DLL creation program.
       
 18874 DLLTOOL="$DLLTOOL"
       
 18875 
       
 18876 # Used on cygwin: object dumper.
       
 18877 OBJDUMP="$OBJDUMP"
       
 18878 
       
 18879 # Used on cygwin: assembler.
       
 18880 AS="$AS"
       
 18881 
       
 18882 # The name of the directory that contains temporary libtool files.
       
 18883 objdir=$objdir
       
 18884 
       
 18885 # How to create reloadable object files.
       
 18886 reload_flag=$lt_reload_flag
       
 18887 reload_cmds=$lt_reload_cmds
       
 18888 
       
 18889 # How to pass a linker flag through the compiler.
       
 18890 wl=$lt_lt_prog_compiler_wl_GCJ
       
 18891 
       
 18892 # Object file suffix (normally "o").
       
 18893 objext="$ac_objext"
       
 18894 
       
 18895 # Old archive suffix (normally "a").
       
 18896 libext="$libext"
       
 18897 
       
 18898 # Shared library suffix (normally ".so").
       
 18899 shrext_cmds='$shrext_cmds'
       
 18900 
       
 18901 # Executable file suffix (normally "").
       
 18902 exeext="$exeext"
       
 18903 
       
 18904 # Additional compiler flags for building library objects.
       
 18905 pic_flag=$lt_lt_prog_compiler_pic_GCJ
       
 18906 pic_mode=$pic_mode
       
 18907 
       
 18908 # What is the maximum length of a command?
       
 18909 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 18910 
       
 18911 # Does compiler simultaneously support -c and -o options?
       
 18912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
       
 18913 
       
 18914 # Must we lock files when doing compilation?
       
 18915 need_locks=$lt_need_locks
       
 18916 
       
 18917 # Do we need the lib prefix for modules?
       
 18918 need_lib_prefix=$need_lib_prefix
       
 18919 
       
 18920 # Do we need a version for libraries?
       
 18921 need_version=$need_version
       
 18922 
       
 18923 # Whether dlopen is supported.
       
 18924 dlopen_support=$enable_dlopen
       
 18925 
       
 18926 # Whether dlopen of programs is supported.
       
 18927 dlopen_self=$enable_dlopen_self
       
 18928 
       
 18929 # Whether dlopen of statically linked programs is supported.
       
 18930 dlopen_self_static=$enable_dlopen_self_static
       
 18931 
       
 18932 # Compiler flag to prevent dynamic linking.
       
 18933 link_static_flag=$lt_lt_prog_compiler_static_GCJ
       
 18934 
       
 18935 # Compiler flag to turn off builtin functions.
       
 18936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
       
 18937 
       
 18938 # Compiler flag to allow reflexive dlopens.
       
 18939 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
       
 18940 
       
 18941 # Compiler flag to generate shared objects directly from archives.
       
 18942 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
       
 18943 
       
 18944 # Compiler flag to generate thread-safe objects.
       
 18945 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
       
 18946 
       
 18947 # Library versioning type.
       
 18948 version_type=$version_type
       
 18949 
       
 18950 # Format of library name prefix.
       
 18951 libname_spec=$lt_libname_spec
       
 18952 
       
 18953 # List of archive names.  First name is the real one, the rest are links.
       
 18954 # The last name is the one that the linker finds with -lNAME.
       
 18955 library_names_spec=$lt_library_names_spec
       
 18956 
       
 18957 # The coded name of the library, if different from the real name.
       
 18958 soname_spec=$lt_soname_spec
       
 18959 
       
 18960 # Commands used to build and install an old-style archive.
       
 18961 RANLIB=$lt_RANLIB
       
 18962 old_archive_cmds=$lt_old_archive_cmds_GCJ
       
 18963 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 18964 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 18965 
       
 18966 # Create an old-style archive from a shared archive.
       
 18967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
       
 18968 
       
 18969 # Create a temporary old-style archive to link instead of a shared archive.
       
 18970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
       
 18971 
       
 18972 # Commands used to build and install a shared archive.
       
 18973 archive_cmds=$lt_archive_cmds_GCJ
       
 18974 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
       
 18975 postinstall_cmds=$lt_postinstall_cmds
       
 18976 postuninstall_cmds=$lt_postuninstall_cmds
       
 18977 
       
 18978 # Commands used to build a loadable module (assumed same as above if empty)
       
 18979 module_cmds=$lt_module_cmds_GCJ
       
 18980 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
       
 18981 
       
 18982 # Commands to strip libraries.
       
 18983 old_striplib=$lt_old_striplib
       
 18984 striplib=$lt_striplib
       
 18985 
       
 18986 # Dependencies to place before the objects being linked to create a
       
 18987 # shared library.
       
 18988 predep_objects=$lt_predep_objects_GCJ
       
 18989 
       
 18990 # Dependencies to place after the objects being linked to create a
       
 18991 # shared library.
       
 18992 postdep_objects=$lt_postdep_objects_GCJ
       
 18993 
       
 18994 # Dependencies to place before the objects being linked to create a
       
 18995 # shared library.
       
 18996 predeps=$lt_predeps_GCJ
       
 18997 
       
 18998 # Dependencies to place after the objects being linked to create a
       
 18999 # shared library.
       
 19000 postdeps=$lt_postdeps_GCJ
       
 19001 
       
 19002 # The library search path used internally by the compiler when linking
       
 19003 # a shared library.
       
 19004 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
       
 19005 
       
 19006 # Method to check whether dependent libraries are shared objects.
       
 19007 deplibs_check_method=$lt_deplibs_check_method
       
 19008 
       
 19009 # Command to use when deplibs_check_method == file_magic.
       
 19010 file_magic_cmd=$lt_file_magic_cmd
       
 19011 
       
 19012 # Flag that allows shared libraries with undefined symbols to be built.
       
 19013 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
       
 19014 
       
 19015 # Flag that forces no undefined symbols.
       
 19016 no_undefined_flag=$lt_no_undefined_flag_GCJ
       
 19017 
       
 19018 # Commands used to finish a libtool library installation in a directory.
       
 19019 finish_cmds=$lt_finish_cmds
       
 19020 
       
 19021 # Same as above, but a single script fragment to be evaled but not shown.
       
 19022 finish_eval=$lt_finish_eval
       
 19023 
       
 19024 # Take the output of nm and produce a listing of raw symbols and C names.
       
 19025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 19026 
       
 19027 # Transform the output of nm in a proper C declaration
       
 19028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 19029 
       
 19030 # Transform the output of nm in a C name address pair
       
 19031 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 19032 
       
 19033 # This is the shared library runtime path variable.
       
 19034 runpath_var=$runpath_var
       
 19035 
       
 19036 # This is the shared library path variable.
       
 19037 shlibpath_var=$shlibpath_var
       
 19038 
       
 19039 # Is shlibpath searched before the hard-coded library search path?
       
 19040 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 19041 
       
 19042 # How to hardcode a shared library path into an executable.
       
 19043 hardcode_action=$hardcode_action_GCJ
       
 19044 
       
 19045 # Whether we should hardcode library paths into libraries.
       
 19046 hardcode_into_libs=$hardcode_into_libs
       
 19047 
       
 19048 # Flag to hardcode \$libdir into a binary during linking.
       
 19049 # This must work even if \$libdir does not exist.
       
 19050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
       
 19051 
       
 19052 # If ld is used when linking, flag to hardcode \$libdir into
       
 19053 # a binary during linking. This must work even if \$libdir does
       
 19054 # not exist.
       
 19055 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
       
 19056 
       
 19057 # Whether we need a single -rpath flag with a separated argument.
       
 19058 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
       
 19059 
       
 19060 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 19061 # resulting binary.
       
 19062 hardcode_direct=$hardcode_direct_GCJ
       
 19063 
       
 19064 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 19065 # resulting binary.
       
 19066 hardcode_minus_L=$hardcode_minus_L_GCJ
       
 19067 
       
 19068 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 19069 # the resulting binary.
       
 19070 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
       
 19071 
       
 19072 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 19073 # and all subsequent libraries and executables linked against it.
       
 19074 hardcode_automatic=$hardcode_automatic_GCJ
       
 19075 
       
 19076 # Variables whose values should be saved in libtool wrapper scripts and
       
 19077 # restored at relink time.
       
 19078 variables_saved_for_relink="$variables_saved_for_relink"
       
 19079 
       
 19080 # Whether libtool must link a program against all its dependency libraries.
       
 19081 link_all_deplibs=$link_all_deplibs_GCJ
       
 19082 
       
 19083 # Compile-time system search path for libraries
       
 19084 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 19085 
       
 19086 # Run-time system search path for libraries
       
 19087 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 19088 
       
 19089 # Fix the shell variable \$srcfile for the compiler.
       
 19090 fix_srcfile_path="$fix_srcfile_path_GCJ"
       
 19091 
       
 19092 # Set to yes if exported symbols are required.
       
 19093 always_export_symbols=$always_export_symbols_GCJ
       
 19094 
       
 19095 # The commands to list exported symbols.
       
 19096 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
       
 19097 
       
 19098 # The commands to extract the exported symbol list from a shared archive.
       
 19099 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 19100 
       
 19101 # Symbols that should not be listed in the preloaded symbols.
       
 19102 exclude_expsyms=$lt_exclude_expsyms_GCJ
       
 19103 
       
 19104 # Symbols that must always be exported.
       
 19105 include_expsyms=$lt_include_expsyms_GCJ
       
 19106 
       
 19107 # ### END LIBTOOL TAG CONFIG: $tagname
       
 19108 
       
 19109 __EOF__
       
 19110 
       
 19111 
       
 19112 else
       
 19113   # If there is no Makefile yet, we rely on a make rule to execute
       
 19114   # `config.status --recheck' to rerun these tests and create the
       
 19115   # libtool script then.
       
 19116   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 19117   if test -f "$ltmain_in"; then
       
 19118     test -f Makefile && make "$ltmain"
       
 19119   fi
       
 19120 fi
       
 19121 
       
 19122 
       
 19123 ac_ext=cpp
       
 19124 ac_cpp='$CXXCPP $CPPFLAGS'
       
 19125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 19126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 19127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 19128 
       
 19129 CC="$lt_save_CC"
       
 19130 
       
 19131 	else
       
 19132 	  tagname=""
       
 19133 	fi
       
 19134 	;;
       
 19135 
       
 19136       RC)
       
 19137 
       
 19138 
       
 19139 # Source file extension for RC test sources.
       
 19140 ac_ext=rc
       
 19141 
       
 19142 # Object file extension for compiled RC test sources.
       
 19143 objext=o
       
 19144 objext_RC=$objext
       
 19145 
       
 19146 # Code to be used in simple compile tests
       
 19147 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
       
 19148 
       
 19149 # Code to be used in simple link tests
       
 19150 lt_simple_link_test_code="$lt_simple_compile_test_code"
       
 19151 
       
 19152 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 19153 
       
 19154 # If no C compiler was specified, use CC.
       
 19155 LTCC=${LTCC-"$CC"}
       
 19156 
       
 19157 # If no C compiler flags were specified, use CFLAGS.
       
 19158 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 19159 
       
 19160 # Allow CC to be a program name with arguments.
       
 19161 compiler=$CC
       
 19162 
       
 19163 
       
 19164 # save warnings/boilerplate of simple test code
       
 19165 ac_outfile=conftest.$ac_objext
       
 19166 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 19167 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 19168 _lt_compiler_boilerplate=`cat conftest.err`
       
 19169 $rm conftest*
       
 19170 
       
 19171 ac_outfile=conftest.$ac_objext
       
 19172 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 19173 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 19174 _lt_linker_boilerplate=`cat conftest.err`
       
 19175 $rm conftest*
       
 19176 
       
 19177 
       
 19178 # Allow CC to be a program name with arguments.
       
 19179 lt_save_CC="$CC"
       
 19180 CC=${RC-"windres"}
       
 19181 compiler=$CC
       
 19182 compiler_RC=$CC
       
 19183 for cc_temp in $compiler""; do
       
 19184   case $cc_temp in
       
 19185     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 19186     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 19187     \-*) ;;
       
 19188     *) break;;
       
 19189   esac
       
 19190 done
       
 19191 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 19192 
       
 19193 lt_cv_prog_compiler_c_o_RC=yes
       
 19194 
       
 19195 # The else clause should only fire when bootstrapping the
       
 19196 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 19197 # with your package, and you will get complaints that there are
       
 19198 # no rules to generate ltmain.sh.
       
 19199 if test -f "$ltmain"; then
       
 19200   # See if we are running on zsh, and set the options which allow our commands through
       
 19201   # without removal of \ escapes.
       
 19202   if test -n "${ZSH_VERSION+set}" ; then
       
 19203     setopt NO_GLOB_SUBST
       
 19204   fi
       
 19205   # Now quote all the things that may contain metacharacters while being
       
 19206   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 19207   # variables and quote the copies for generation of the libtool script.
       
 19208   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 19209     SED SHELL STRIP \
       
 19210     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 19211     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 19212     deplibs_check_method reload_flag reload_cmds need_locks \
       
 19213     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 19214     lt_cv_sys_global_symbol_to_c_name_address \
       
 19215     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 19216     old_postinstall_cmds old_postuninstall_cmds \
       
 19217     compiler_RC \
       
 19218     CC_RC \
       
 19219     LD_RC \
       
 19220     lt_prog_compiler_wl_RC \
       
 19221     lt_prog_compiler_pic_RC \
       
 19222     lt_prog_compiler_static_RC \
       
 19223     lt_prog_compiler_no_builtin_flag_RC \
       
 19224     export_dynamic_flag_spec_RC \
       
 19225     thread_safe_flag_spec_RC \
       
 19226     whole_archive_flag_spec_RC \
       
 19227     enable_shared_with_static_runtimes_RC \
       
 19228     old_archive_cmds_RC \
       
 19229     old_archive_from_new_cmds_RC \
       
 19230     predep_objects_RC \
       
 19231     postdep_objects_RC \
       
 19232     predeps_RC \
       
 19233     postdeps_RC \
       
 19234     compiler_lib_search_path_RC \
       
 19235     archive_cmds_RC \
       
 19236     archive_expsym_cmds_RC \
       
 19237     postinstall_cmds_RC \
       
 19238     postuninstall_cmds_RC \
       
 19239     old_archive_from_expsyms_cmds_RC \
       
 19240     allow_undefined_flag_RC \
       
 19241     no_undefined_flag_RC \
       
 19242     export_symbols_cmds_RC \
       
 19243     hardcode_libdir_flag_spec_RC \
       
 19244     hardcode_libdir_flag_spec_ld_RC \
       
 19245     hardcode_libdir_separator_RC \
       
 19246     hardcode_automatic_RC \
       
 19247     module_cmds_RC \
       
 19248     module_expsym_cmds_RC \
       
 19249     lt_cv_prog_compiler_c_o_RC \
       
 19250     exclude_expsyms_RC \
       
 19251     include_expsyms_RC; do
       
 19252 
       
 19253     case $var in
       
 19254     old_archive_cmds_RC | \
       
 19255     old_archive_from_new_cmds_RC | \
       
 19256     archive_cmds_RC | \
       
 19257     archive_expsym_cmds_RC | \
       
 19258     module_cmds_RC | \
       
 19259     module_expsym_cmds_RC | \
       
 19260     old_archive_from_expsyms_cmds_RC | \
       
 19261     export_symbols_cmds_RC | \
       
 19262     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 19263     postinstall_cmds | postuninstall_cmds | \
       
 19264     old_postinstall_cmds | old_postuninstall_cmds | \
       
 19265     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 19266       # Double-quote double-evaled strings.
       
 19267       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 19268       ;;
       
 19269     *)
       
 19270       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 19271       ;;
       
 19272     esac
       
 19273   done
       
 19274 
       
 19275   case $lt_echo in
       
 19276   *'\$0 --fallback-echo"')
       
 19277     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 19278     ;;
       
 19279   esac
       
 19280 
       
 19281 cfgfile="$ofile"
       
 19282 
       
 19283   cat <<__EOF__ >> "$cfgfile"
       
 19284 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 19285 
       
 19286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 19287 
       
 19288 # Shell to use when invoking shell scripts.
       
 19289 SHELL=$lt_SHELL
       
 19290 
       
 19291 # Whether or not to build shared libraries.
       
 19292 build_libtool_libs=$enable_shared
       
 19293 
       
 19294 # Whether or not to build static libraries.
       
 19295 build_old_libs=$enable_static
       
 19296 
       
 19297 # Whether or not to add -lc for building shared libraries.
       
 19298 build_libtool_need_lc=$archive_cmds_need_lc_RC
       
 19299 
       
 19300 # Whether or not to disallow shared libs when runtime libs are static
       
 19301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
       
 19302 
       
 19303 # Whether or not to optimize for fast installation.
       
 19304 fast_install=$enable_fast_install
       
 19305 
       
 19306 # The host system.
       
 19307 host_alias=$host_alias
       
 19308 host=$host
       
 19309 host_os=$host_os
       
 19310 
       
 19311 # The build system.
       
 19312 build_alias=$build_alias
       
 19313 build=$build
       
 19314 build_os=$build_os
       
 19315 
       
 19316 # An echo program that does not interpret backslashes.
       
 19317 echo=$lt_echo
       
 19318 
       
 19319 # The archiver.
       
 19320 AR=$lt_AR
       
 19321 AR_FLAGS=$lt_AR_FLAGS
       
 19322 
       
 19323 # A C compiler.
       
 19324 LTCC=$lt_LTCC
       
 19325 
       
 19326 # LTCC compiler flags.
       
 19327 LTCFLAGS=$lt_LTCFLAGS
       
 19328 
       
 19329 # A language-specific compiler.
       
 19330 CC=$lt_compiler_RC
       
 19331 
       
 19332 # Is the compiler the GNU C compiler?
       
 19333 with_gcc=$GCC_RC
       
 19334 
       
 19335 # An ERE matcher.
       
 19336 EGREP=$lt_EGREP
       
 19337 
       
 19338 # The linker used to build libraries.
       
 19339 LD=$lt_LD_RC
       
 19340 
       
 19341 # Whether we need hard or soft links.
       
 19342 LN_S=$lt_LN_S
       
 19343 
       
 19344 # A BSD-compatible nm program.
       
 19345 NM=$lt_NM
       
 19346 
       
 19347 # A symbol stripping program
       
 19348 STRIP=$lt_STRIP
       
 19349 
       
 19350 # Used to examine libraries when file_magic_cmd begins "file"
       
 19351 MAGIC_CMD=$MAGIC_CMD
       
 19352 
       
 19353 # Used on cygwin: DLL creation program.
       
 19354 DLLTOOL="$DLLTOOL"
       
 19355 
       
 19356 # Used on cygwin: object dumper.
       
 19357 OBJDUMP="$OBJDUMP"
       
 19358 
       
 19359 # Used on cygwin: assembler.
       
 19360 AS="$AS"
       
 19361 
       
 19362 # The name of the directory that contains temporary libtool files.
       
 19363 objdir=$objdir
       
 19364 
       
 19365 # How to create reloadable object files.
       
 19366 reload_flag=$lt_reload_flag
       
 19367 reload_cmds=$lt_reload_cmds
       
 19368 
       
 19369 # How to pass a linker flag through the compiler.
       
 19370 wl=$lt_lt_prog_compiler_wl_RC
       
 19371 
       
 19372 # Object file suffix (normally "o").
       
 19373 objext="$ac_objext"
       
 19374 
       
 19375 # Old archive suffix (normally "a").
       
 19376 libext="$libext"
       
 19377 
       
 19378 # Shared library suffix (normally ".so").
       
 19379 shrext_cmds='$shrext_cmds'
       
 19380 
       
 19381 # Executable file suffix (normally "").
       
 19382 exeext="$exeext"
       
 19383 
       
 19384 # Additional compiler flags for building library objects.
       
 19385 pic_flag=$lt_lt_prog_compiler_pic_RC
       
 19386 pic_mode=$pic_mode
       
 19387 
       
 19388 # What is the maximum length of a command?
       
 19389 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 19390 
       
 19391 # Does compiler simultaneously support -c and -o options?
       
 19392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
       
 19393 
       
 19394 # Must we lock files when doing compilation?
       
 19395 need_locks=$lt_need_locks
       
 19396 
       
 19397 # Do we need the lib prefix for modules?
       
 19398 need_lib_prefix=$need_lib_prefix
       
 19399 
       
 19400 # Do we need a version for libraries?
       
 19401 need_version=$need_version
       
 19402 
       
 19403 # Whether dlopen is supported.
       
 19404 dlopen_support=$enable_dlopen
       
 19405 
       
 19406 # Whether dlopen of programs is supported.
       
 19407 dlopen_self=$enable_dlopen_self
       
 19408 
       
 19409 # Whether dlopen of statically linked programs is supported.
       
 19410 dlopen_self_static=$enable_dlopen_self_static
       
 19411 
       
 19412 # Compiler flag to prevent dynamic linking.
       
 19413 link_static_flag=$lt_lt_prog_compiler_static_RC
       
 19414 
       
 19415 # Compiler flag to turn off builtin functions.
       
 19416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
       
 19417 
       
 19418 # Compiler flag to allow reflexive dlopens.
       
 19419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
       
 19420 
       
 19421 # Compiler flag to generate shared objects directly from archives.
       
 19422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
       
 19423 
       
 19424 # Compiler flag to generate thread-safe objects.
       
 19425 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
       
 19426 
       
 19427 # Library versioning type.
       
 19428 version_type=$version_type
       
 19429 
       
 19430 # Format of library name prefix.
       
 19431 libname_spec=$lt_libname_spec
       
 19432 
       
 19433 # List of archive names.  First name is the real one, the rest are links.
       
 19434 # The last name is the one that the linker finds with -lNAME.
       
 19435 library_names_spec=$lt_library_names_spec
       
 19436 
       
 19437 # The coded name of the library, if different from the real name.
       
 19438 soname_spec=$lt_soname_spec
       
 19439 
       
 19440 # Commands used to build and install an old-style archive.
       
 19441 RANLIB=$lt_RANLIB
       
 19442 old_archive_cmds=$lt_old_archive_cmds_RC
       
 19443 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 19444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 19445 
       
 19446 # Create an old-style archive from a shared archive.
       
 19447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
       
 19448 
       
 19449 # Create a temporary old-style archive to link instead of a shared archive.
       
 19450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
       
 19451 
       
 19452 # Commands used to build and install a shared archive.
       
 19453 archive_cmds=$lt_archive_cmds_RC
       
 19454 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
       
 19455 postinstall_cmds=$lt_postinstall_cmds
       
 19456 postuninstall_cmds=$lt_postuninstall_cmds
       
 19457 
       
 19458 # Commands used to build a loadable module (assumed same as above if empty)
       
 19459 module_cmds=$lt_module_cmds_RC
       
 19460 module_expsym_cmds=$lt_module_expsym_cmds_RC
       
 19461 
       
 19462 # Commands to strip libraries.
       
 19463 old_striplib=$lt_old_striplib
       
 19464 striplib=$lt_striplib
       
 19465 
       
 19466 # Dependencies to place before the objects being linked to create a
       
 19467 # shared library.
       
 19468 predep_objects=$lt_predep_objects_RC
       
 19469 
       
 19470 # Dependencies to place after the objects being linked to create a
       
 19471 # shared library.
       
 19472 postdep_objects=$lt_postdep_objects_RC
       
 19473 
       
 19474 # Dependencies to place before the objects being linked to create a
       
 19475 # shared library.
       
 19476 predeps=$lt_predeps_RC
       
 19477 
       
 19478 # Dependencies to place after the objects being linked to create a
       
 19479 # shared library.
       
 19480 postdeps=$lt_postdeps_RC
       
 19481 
       
 19482 # The library search path used internally by the compiler when linking
       
 19483 # a shared library.
       
 19484 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
       
 19485 
       
 19486 # Method to check whether dependent libraries are shared objects.
       
 19487 deplibs_check_method=$lt_deplibs_check_method
       
 19488 
       
 19489 # Command to use when deplibs_check_method == file_magic.
       
 19490 file_magic_cmd=$lt_file_magic_cmd
       
 19491 
       
 19492 # Flag that allows shared libraries with undefined symbols to be built.
       
 19493 allow_undefined_flag=$lt_allow_undefined_flag_RC
       
 19494 
       
 19495 # Flag that forces no undefined symbols.
       
 19496 no_undefined_flag=$lt_no_undefined_flag_RC
       
 19497 
       
 19498 # Commands used to finish a libtool library installation in a directory.
       
 19499 finish_cmds=$lt_finish_cmds
       
 19500 
       
 19501 # Same as above, but a single script fragment to be evaled but not shown.
       
 19502 finish_eval=$lt_finish_eval
       
 19503 
       
 19504 # Take the output of nm and produce a listing of raw symbols and C names.
       
 19505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 19506 
       
 19507 # Transform the output of nm in a proper C declaration
       
 19508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 19509 
       
 19510 # Transform the output of nm in a C name address pair
       
 19511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 19512 
       
 19513 # This is the shared library runtime path variable.
       
 19514 runpath_var=$runpath_var
       
 19515 
       
 19516 # This is the shared library path variable.
       
 19517 shlibpath_var=$shlibpath_var
       
 19518 
       
 19519 # Is shlibpath searched before the hard-coded library search path?
       
 19520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 19521 
       
 19522 # How to hardcode a shared library path into an executable.
       
 19523 hardcode_action=$hardcode_action_RC
       
 19524 
       
 19525 # Whether we should hardcode library paths into libraries.
       
 19526 hardcode_into_libs=$hardcode_into_libs
       
 19527 
       
 19528 # Flag to hardcode \$libdir into a binary during linking.
       
 19529 # This must work even if \$libdir does not exist.
       
 19530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
       
 19531 
       
 19532 # If ld is used when linking, flag to hardcode \$libdir into
       
 19533 # a binary during linking. This must work even if \$libdir does
       
 19534 # not exist.
       
 19535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
       
 19536 
       
 19537 # Whether we need a single -rpath flag with a separated argument.
       
 19538 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
       
 19539 
       
 19540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 19541 # resulting binary.
       
 19542 hardcode_direct=$hardcode_direct_RC
       
 19543 
       
 19544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 19545 # resulting binary.
       
 19546 hardcode_minus_L=$hardcode_minus_L_RC
       
 19547 
       
 19548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 19549 # the resulting binary.
       
 19550 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
       
 19551 
       
 19552 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 19553 # and all subsequent libraries and executables linked against it.
       
 19554 hardcode_automatic=$hardcode_automatic_RC
       
 19555 
       
 19556 # Variables whose values should be saved in libtool wrapper scripts and
       
 19557 # restored at relink time.
       
 19558 variables_saved_for_relink="$variables_saved_for_relink"
       
 19559 
       
 19560 # Whether libtool must link a program against all its dependency libraries.
       
 19561 link_all_deplibs=$link_all_deplibs_RC
       
 19562 
       
 19563 # Compile-time system search path for libraries
       
 19564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 19565 
       
 19566 # Run-time system search path for libraries
       
 19567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 19568 
       
 19569 # Fix the shell variable \$srcfile for the compiler.
       
 19570 fix_srcfile_path="$fix_srcfile_path_RC"
       
 19571 
       
 19572 # Set to yes if exported symbols are required.
       
 19573 always_export_symbols=$always_export_symbols_RC
       
 19574 
       
 19575 # The commands to list exported symbols.
       
 19576 export_symbols_cmds=$lt_export_symbols_cmds_RC
       
 19577 
       
 19578 # The commands to extract the exported symbol list from a shared archive.
       
 19579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 19580 
       
 19581 # Symbols that should not be listed in the preloaded symbols.
       
 19582 exclude_expsyms=$lt_exclude_expsyms_RC
       
 19583 
       
 19584 # Symbols that must always be exported.
       
 19585 include_expsyms=$lt_include_expsyms_RC
       
 19586 
       
 19587 # ### END LIBTOOL TAG CONFIG: $tagname
       
 19588 
       
 19589 __EOF__
       
 19590 
       
 19591 
       
 19592 else
       
 19593   # If there is no Makefile yet, we rely on a make rule to execute
       
 19594   # `config.status --recheck' to rerun these tests and create the
       
 19595   # libtool script then.
       
 19596   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 19597   if test -f "$ltmain_in"; then
       
 19598     test -f Makefile && make "$ltmain"
       
 19599   fi
       
 19600 fi
       
 19601 
       
 19602 
       
 19603 ac_ext=cpp
       
 19604 ac_cpp='$CXXCPP $CPPFLAGS'
       
 19605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 19606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 19607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 19608 
       
 19609 CC="$lt_save_CC"
       
 19610 
       
 19611 	;;
       
 19612 
       
 19613       *)
       
 19614 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
       
 19615 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
       
 19616    { (exit 1); exit 1; }; }
       
 19617 	;;
       
 19618       esac
       
 19619 
       
 19620       # Append the new tag name to the list of available tags.
       
 19621       if test -n "$tagname" ; then
       
 19622       available_tags="$available_tags $tagname"
       
 19623     fi
       
 19624     fi
       
 19625   done
       
 19626   IFS="$lt_save_ifs"
       
 19627 
       
 19628   # Now substitute the updated list of available tags.
       
 19629   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
       
 19630     mv "${ofile}T" "$ofile"
       
 19631     chmod +x "$ofile"
       
 19632   else
       
 19633     rm -f "${ofile}T"
       
 19634     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
       
 19635 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
       
 19636    { (exit 1); exit 1; }; }
       
 19637   fi
       
 19638 fi
       
 19639 
       
 19640 
       
 19641 
       
 19642 # This can be used to rebuild libtool when needed
       
 19643 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
       
 19644 
       
 19645 # Always use our own libtool.
       
 19646 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
       
 19647 
       
 19648 # Prevent multiple expansion
       
 19649 
       
 19650 
       
 19651 
       
 19652 
       
 19653 
       
 19654 
       
 19655 
       
 19656 
       
 19657 
       
 19658 
       
 19659 
       
 19660 
       
 19661 
       
 19662 
       
 19663 
       
 19664 
       
 19665 
       
 19666 
       
 19667 
       
 19668 
       
 19669 
       
 19670 ac_config_files="$ac_config_files Makefile src/Makefile"
       
 19671 
       
 19672 cat >confcache <<\_ACEOF
       
 19673 # This file is a shell script that caches the results of configure
       
 19674 # tests run on this system so they can be shared between configure
       
 19675 # scripts and configure runs, see configure's option --config-cache.
       
 19676 # It is not useful on other systems.  If it contains results you don't
       
 19677 # want to keep, you may remove or edit it.
       
 19678 #
       
 19679 # config.status only pays attention to the cache file if you give it
       
 19680 # the --recheck option to rerun configure.
       
 19681 #
       
 19682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
       
 19683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
       
 19684 # following values.
       
 19685 
       
 19686 _ACEOF
       
 19687 
       
 19688 # The following way of writing the cache mishandles newlines in values,
       
 19689 # but we know of no workaround that is simple, portable, and efficient.
       
 19690 # So, we kill variables containing newlines.
       
 19691 # Ultrix sh set writes to stderr and can't be redirected directly,
       
 19692 # and sets the high bit in the cache file unless we assign to the vars.
       
 19693 (
       
 19694   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
       
 19695     eval ac_val=\$$ac_var
       
 19696     case $ac_val in #(
       
 19697     *${as_nl}*)
       
 19698       case $ac_var in #(
       
 19699       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
 19700 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
 19701       esac
       
 19702       case $ac_var in #(
       
 19703       _ | IFS | as_nl) ;; #(
       
 19704       *) $as_unset $ac_var ;;
       
 19705       esac ;;
       
 19706     esac
       
 19707   done
       
 19708 
       
 19709   (set) 2>&1 |
       
 19710     case $as_nl`(ac_space=' '; set) 2>&1` in #(
       
 19711     *${as_nl}ac_space=\ *)
       
 19712       # `set' does not quote correctly, so add quotes (double-quote
       
 19713       # substitution turns \\\\ into \\, and sed turns \\ into \).
       
 19714       sed -n \
       
 19715 	"s/'/'\\\\''/g;
       
 19716 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
       
 19717       ;; #(
       
 19718     *)
       
 19719       # `set' quotes correctly as required by POSIX, so do not add quotes.
       
 19720       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
 19721       ;;
       
 19722     esac |
       
 19723     sort
       
 19724 ) |
       
 19725   sed '
       
 19726      /^ac_cv_env_/b end
       
 19727      t clear
       
 19728      :clear
       
 19729      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
       
 19730      t end
       
 19731      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
       
 19732      :end' >>confcache
       
 19733 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
       
 19734   if test -w "$cache_file"; then
       
 19735     test "x$cache_file" != "x/dev/null" &&
       
 19736       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
       
 19737 echo "$as_me: updating cache $cache_file" >&6;}
       
 19738     cat confcache >$cache_file
       
 19739   else
       
 19740     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
       
 19741 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
       
 19742   fi
       
 19743 fi
       
 19744 rm -f confcache
       
 19745 
       
 19746 test "x$prefix" = xNONE && prefix=$ac_default_prefix
       
 19747 # Let make expand exec_prefix.
       
 19748 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
       
 19749 
       
 19750 DEFS=-DHAVE_CONFIG_H
       
 19751 
       
 19752 ac_libobjs=
       
 19753 ac_ltlibobjs=
       
 19754 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
       
 19755   # 1. Remove the extension, and $U if already installed.
       
 19756   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
       
 19757   ac_i=`echo "$ac_i" | sed "$ac_script"`
       
 19758   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
       
 19759   #    will be set to the directory where LIBOBJS objects are built.
       
 19760   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
       
 19761   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
       
 19762 done
       
 19763 LIBOBJS=$ac_libobjs
       
 19764 
       
 19765 LTLIBOBJS=$ac_ltlibobjs
       
 19766 
       
 19767 
       
 19768 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
       
 19769   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
       
 19770 Usually this means the macro was only invoked conditionally." >&5
       
 19771 echo "$as_me: error: conditional \"AMDEP\" was never defined.
       
 19772 Usually this means the macro was only invoked conditionally." >&2;}
       
 19773    { (exit 1); exit 1; }; }
       
 19774 fi
       
 19775 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
       
 19776   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
       
 19777 Usually this means the macro was only invoked conditionally." >&5
       
 19778 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
       
 19779 Usually this means the macro was only invoked conditionally." >&2;}
       
 19780    { (exit 1); exit 1; }; }
       
 19781 fi
       
 19782 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
       
 19783   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
       
 19784 Usually this means the macro was only invoked conditionally." >&5
       
 19785 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
       
 19786 Usually this means the macro was only invoked conditionally." >&2;}
       
 19787    { (exit 1); exit 1; }; }
       
 19788 fi
       
 19789 
       
 19790 : ${CONFIG_STATUS=./config.status}
       
 19791 ac_clean_files_save=$ac_clean_files
       
 19792 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
       
 19793 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
       
 19794 echo "$as_me: creating $CONFIG_STATUS" >&6;}
       
 19795 cat >$CONFIG_STATUS <<_ACEOF
       
 19796 #! $SHELL
       
 19797 # Generated by $as_me.
       
 19798 # Run this file to recreate the current configuration.
       
 19799 # Compiler output produced by configure, useful for debugging
       
 19800 # configure, is in config.log if it exists.
       
 19801 
       
 19802 debug=false
       
 19803 ac_cs_recheck=false
       
 19804 ac_cs_silent=false
       
 19805 SHELL=\${CONFIG_SHELL-$SHELL}
       
 19806 _ACEOF
       
 19807 
       
 19808 cat >>$CONFIG_STATUS <<\_ACEOF
       
 19809 ## --------------------- ##
       
 19810 ## M4sh Initialization.  ##
       
 19811 ## --------------------- ##
       
 19812 
       
 19813 # Be Bourne compatible
       
 19814 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
 19815   emulate sh
       
 19816   NULLCMD=:
       
 19817   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
 19818   # is contrary to our usage.  Disable this feature.
       
 19819   alias -g '${1+"$@"}'='"$@"'
       
 19820   setopt NO_GLOB_SUBST
       
 19821 else
       
 19822   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
       
 19823 fi
       
 19824 BIN_SH=xpg4; export BIN_SH # for Tru64
       
 19825 DUALCASE=1; export DUALCASE # for MKS sh
       
 19826 
       
 19827 
       
 19828 # PATH needs CR
       
 19829 # Avoid depending upon Character Ranges.
       
 19830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
 19831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
 19832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
 19833 as_cr_digits='0123456789'
       
 19834 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
 19835 
       
 19836 # The user is always right.
       
 19837 if test "${PATH_SEPARATOR+set}" != set; then
       
 19838   echo "#! /bin/sh" >conf$$.sh
       
 19839   echo  "exit 0"   >>conf$$.sh
       
 19840   chmod +x conf$$.sh
       
 19841   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
 19842     PATH_SEPARATOR=';'
       
 19843   else
       
 19844     PATH_SEPARATOR=:
       
 19845   fi
       
 19846   rm -f conf$$.sh
       
 19847 fi
       
 19848 
       
 19849 # Support unset when possible.
       
 19850 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
 19851   as_unset=unset
       
 19852 else
       
 19853   as_unset=false
       
 19854 fi
       
 19855 
       
 19856 
       
 19857 # IFS
       
 19858 # We need space, tab and new line, in precisely that order.  Quoting is
       
 19859 # there to prevent editors from complaining about space-tab.
       
 19860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
 19861 # splitting by setting IFS to empty value.)
       
 19862 as_nl='
       
 19863 '
       
 19864 IFS=" ""	$as_nl"
       
 19865 
       
 19866 # Find who we are.  Look in the path if we contain no directory separator.
       
 19867 case $0 in
       
 19868   *[\\/]* ) as_myself=$0 ;;
       
 19869   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 19870 for as_dir in $PATH
       
 19871 do
       
 19872   IFS=$as_save_IFS
       
 19873   test -z "$as_dir" && as_dir=.
       
 19874   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
 19875 done
       
 19876 IFS=$as_save_IFS
       
 19877 
       
 19878      ;;
       
 19879 esac
       
 19880 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
 19881 # in which case we are not to be found in the path.
       
 19882 if test "x$as_myself" = x; then
       
 19883   as_myself=$0
       
 19884 fi
       
 19885 if test ! -f "$as_myself"; then
       
 19886   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
 19887   { (exit 1); exit 1; }
       
 19888 fi
       
 19889 
       
 19890 # Work around bugs in pre-3.0 UWIN ksh.
       
 19891 for as_var in ENV MAIL MAILPATH
       
 19892 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 19893 done
       
 19894 PS1='$ '
       
 19895 PS2='> '
       
 19896 PS4='+ '
       
 19897 
       
 19898 # NLS nuisances.
       
 19899 for as_var in \
       
 19900   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
 19901   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
 19902   LC_TELEPHONE LC_TIME
       
 19903 do
       
 19904   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
 19905     eval $as_var=C; export $as_var
       
 19906   else
       
 19907     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 19908   fi
       
 19909 done
       
 19910 
       
 19911 # Required to use basename.
       
 19912 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 19913    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 19914   as_expr=expr
       
 19915 else
       
 19916   as_expr=false
       
 19917 fi
       
 19918 
       
 19919 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
 19920   as_basename=basename
       
 19921 else
       
 19922   as_basename=false
       
 19923 fi
       
 19924 
       
 19925 
       
 19926 # Name of the executable.
       
 19927 as_me=`$as_basename -- "$0" ||
       
 19928 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
 19929 	 X"$0" : 'X\(//\)$' \| \
       
 19930 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
 19931 echo X/"$0" |
       
 19932     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
 19933 	    s//\1/
       
 19934 	    q
       
 19935 	  }
       
 19936 	  /^X\/\(\/\/\)$/{
       
 19937 	    s//\1/
       
 19938 	    q
       
 19939 	  }
       
 19940 	  /^X\/\(\/\).*/{
       
 19941 	    s//\1/
       
 19942 	    q
       
 19943 	  }
       
 19944 	  s/.*/./; q'`
       
 19945 
       
 19946 # CDPATH.
       
 19947 $as_unset CDPATH
       
 19948 
       
 19949 
       
 19950 
       
 19951   as_lineno_1=$LINENO
       
 19952   as_lineno_2=$LINENO
       
 19953   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
 19954   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
 19955 
       
 19956   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
 19957   # uniformly replaced by the line number.  The first 'sed' inserts a
       
 19958   # line-number line after each line using $LINENO; the second 'sed'
       
 19959   # does the real work.  The second script uses 'N' to pair each
       
 19960   # line-number line with the line containing $LINENO, and appends
       
 19961   # trailing '-' during substitution so that $LINENO is not a special
       
 19962   # case at line end.
       
 19963   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
 19964   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
 19965   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
 19966   sed -n '
       
 19967     p
       
 19968     /[$]LINENO/=
       
 19969   ' <$as_myself |
       
 19970     sed '
       
 19971       s/[$]LINENO.*/&-/
       
 19972       t lineno
       
 19973       b
       
 19974       :lineno
       
 19975       N
       
 19976       :loop
       
 19977       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
 19978       t loop
       
 19979       s/-\n.*//
       
 19980     ' >$as_me.lineno &&
       
 19981   chmod +x "$as_me.lineno" ||
       
 19982     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
 19983    { (exit 1); exit 1; }; }
       
 19984 
       
 19985   # Don't try to exec as it changes $[0], causing all sort of problems
       
 19986   # (the dirname of $[0] is not the place where we might find the
       
 19987   # original and so on.  Autoconf is especially sensitive to this).
       
 19988   . "./$as_me.lineno"
       
 19989   # Exit status is that of the last command.
       
 19990   exit
       
 19991 }
       
 19992 
       
 19993 
       
 19994 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
 19995   as_dirname=dirname
       
 19996 else
       
 19997   as_dirname=false
       
 19998 fi
       
 19999 
       
 20000 ECHO_C= ECHO_N= ECHO_T=
       
 20001 case `echo -n x` in
       
 20002 -n*)
       
 20003   case `echo 'x\c'` in
       
 20004   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
 20005   *)   ECHO_C='\c';;
       
 20006   esac;;
       
 20007 *)
       
 20008   ECHO_N='-n';;
       
 20009 esac
       
 20010 
       
 20011 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 20012    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 20013   as_expr=expr
       
 20014 else
       
 20015   as_expr=false
       
 20016 fi
       
 20017 
       
 20018 rm -f conf$$ conf$$.exe conf$$.file
       
 20019 if test -d conf$$.dir; then
       
 20020   rm -f conf$$.dir/conf$$.file
       
 20021 else
       
 20022   rm -f conf$$.dir
       
 20023   mkdir conf$$.dir
       
 20024 fi
       
 20025 echo >conf$$.file
       
 20026 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
 20027   as_ln_s='ln -s'
       
 20028   # ... but there are two gotchas:
       
 20029   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
 20030   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
 20031   # In both cases, we have to default to `cp -p'.
       
 20032   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
 20033     as_ln_s='cp -p'
       
 20034 elif ln conf$$.file conf$$ 2>/dev/null; then
       
 20035   as_ln_s=ln
       
 20036 else
       
 20037   as_ln_s='cp -p'
       
 20038 fi
       
 20039 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
 20040 rmdir conf$$.dir 2>/dev/null
       
 20041 
       
 20042 if mkdir -p . 2>/dev/null; then
       
 20043   as_mkdir_p=:
       
 20044 else
       
 20045   test -d ./-p && rmdir ./-p
       
 20046   as_mkdir_p=false
       
 20047 fi
       
 20048 
       
 20049 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
       
 20050 # systems may use methods other than mode bits to determine executability.
       
 20051 cat >conf$$.file <<_ASEOF
       
 20052 #! /bin/sh
       
 20053 exit 0
       
 20054 _ASEOF
       
 20055 chmod +x conf$$.file
       
 20056 if test -x conf$$.file >/dev/null 2>&1; then
       
 20057   as_executable_p="test -x"
       
 20058 else
       
 20059   as_executable_p=:
       
 20060 fi
       
 20061 rm -f conf$$.file
       
 20062 
       
 20063 # Sed expression to map a string onto a valid CPP name.
       
 20064 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
 20065 
       
 20066 # Sed expression to map a string onto a valid variable name.
       
 20067 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
 20068 
       
 20069 
       
 20070 exec 6>&1
       
 20071 
       
 20072 # Save the log message, to keep $[0] and so on meaningful, and to
       
 20073 # report actual input values of CONFIG_FILES etc. instead of their
       
 20074 # values after options handling.
       
 20075 ac_log="
       
 20076 This file was extended by $as_me, which was
       
 20077 generated by GNU Autoconf 2.60.  Invocation command line was
       
 20078 
       
 20079   CONFIG_FILES    = $CONFIG_FILES
       
 20080   CONFIG_HEADERS  = $CONFIG_HEADERS
       
 20081   CONFIG_LINKS    = $CONFIG_LINKS
       
 20082   CONFIG_COMMANDS = $CONFIG_COMMANDS
       
 20083   $ $0 $@
       
 20084 
       
 20085 on `(hostname || uname -n) 2>/dev/null | sed 1q`
       
 20086 "
       
 20087 
       
 20088 _ACEOF
       
 20089 
       
 20090 cat >>$CONFIG_STATUS <<_ACEOF
       
 20091 # Files that config.status was made for.
       
 20092 config_files="$ac_config_files"
       
 20093 config_headers="$ac_config_headers"
       
 20094 config_commands="$ac_config_commands"
       
 20095 
       
 20096 _ACEOF
       
 20097 
       
 20098 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20099 ac_cs_usage="\
       
 20100 \`$as_me' instantiates files from templates according to the
       
 20101 current configuration.
       
 20102 
       
 20103 Usage: $0 [OPTIONS] [FILE]...
       
 20104 
       
 20105   -h, --help       print this help, then exit
       
 20106   -V, --version    print version number, then exit
       
 20107   -q, --quiet      do not print progress messages
       
 20108   -d, --debug      don't remove temporary files
       
 20109       --recheck    update $as_me by reconfiguring in the same conditions
       
 20110   --file=FILE[:TEMPLATE]
       
 20111 		   instantiate the configuration file FILE
       
 20112   --header=FILE[:TEMPLATE]
       
 20113 		   instantiate the configuration header FILE
       
 20114 
       
 20115 Configuration files:
       
 20116 $config_files
       
 20117 
       
 20118 Configuration headers:
       
 20119 $config_headers
       
 20120 
       
 20121 Configuration commands:
       
 20122 $config_commands
       
 20123 
       
 20124 Report bugs to <bug-autoconf@gnu.org>."
       
 20125 
       
 20126 _ACEOF
       
 20127 cat >>$CONFIG_STATUS <<_ACEOF
       
 20128 ac_cs_version="\\
       
 20129 config.status
       
 20130 configured by $0, generated by GNU Autoconf 2.60,
       
 20131   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
       
 20132 
       
 20133 Copyright (C) 2006 Free Software Foundation, Inc.
       
 20134 This config.status script is free software; the Free Software Foundation
       
 20135 gives unlimited permission to copy, distribute and modify it."
       
 20136 
       
 20137 ac_pwd='$ac_pwd'
       
 20138 srcdir='$srcdir'
       
 20139 INSTALL='$INSTALL'
       
 20140 _ACEOF
       
 20141 
       
 20142 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20143 # If no file are specified by the user, then we need to provide default
       
 20144 # value.  By we need to know if files were specified by the user.
       
 20145 ac_need_defaults=:
       
 20146 while test $# != 0
       
 20147 do
       
 20148   case $1 in
       
 20149   --*=*)
       
 20150     ac_option=`expr "X$1" : 'X\([^=]*\)='`
       
 20151     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
       
 20152     ac_shift=:
       
 20153     ;;
       
 20154   *)
       
 20155     ac_option=$1
       
 20156     ac_optarg=$2
       
 20157     ac_shift=shift
       
 20158     ;;
       
 20159   esac
       
 20160 
       
 20161   case $ac_option in
       
 20162   # Handling of the options.
       
 20163   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
       
 20164     ac_cs_recheck=: ;;
       
 20165   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
       
 20166     echo "$ac_cs_version"; exit ;;
       
 20167   --debug | --debu | --deb | --de | --d | -d )
       
 20168     debug=: ;;
       
 20169   --file | --fil | --fi | --f )
       
 20170     $ac_shift
       
 20171     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
       
 20172     ac_need_defaults=false;;
       
 20173   --header | --heade | --head | --hea )
       
 20174     $ac_shift
       
 20175     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
       
 20176     ac_need_defaults=false;;
       
 20177   --he | --h)
       
 20178     # Conflict between --help and --header
       
 20179     { echo "$as_me: error: ambiguous option: $1
       
 20180 Try \`$0 --help' for more information." >&2
       
 20181    { (exit 1); exit 1; }; };;
       
 20182   --help | --hel | -h )
       
 20183     echo "$ac_cs_usage"; exit ;;
       
 20184   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
 20185   | -silent | --silent | --silen | --sile | --sil | --si | --s)
       
 20186     ac_cs_silent=: ;;
       
 20187 
       
 20188   # This is an error.
       
 20189   -*) { echo "$as_me: error: unrecognized option: $1
       
 20190 Try \`$0 --help' for more information." >&2
       
 20191    { (exit 1); exit 1; }; } ;;
       
 20192 
       
 20193   *) ac_config_targets="$ac_config_targets $1"
       
 20194      ac_need_defaults=false ;;
       
 20195 
       
 20196   esac
       
 20197   shift
       
 20198 done
       
 20199 
       
 20200 ac_configure_extra_args=
       
 20201 
       
 20202 if $ac_cs_silent; then
       
 20203   exec 6>/dev/null
       
 20204   ac_configure_extra_args="$ac_configure_extra_args --silent"
       
 20205 fi
       
 20206 
       
 20207 _ACEOF
       
 20208 cat >>$CONFIG_STATUS <<_ACEOF
       
 20209 if \$ac_cs_recheck; then
       
 20210   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
       
 20211   CONFIG_SHELL=$SHELL
       
 20212   export CONFIG_SHELL
       
 20213   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
       
 20214 fi
       
 20215 
       
 20216 _ACEOF
       
 20217 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20218 exec 5>>config.log
       
 20219 {
       
 20220   echo
       
 20221   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
       
 20222 ## Running $as_me. ##
       
 20223 _ASBOX
       
 20224   echo "$ac_log"
       
 20225 } >&5
       
 20226 
       
 20227 _ACEOF
       
 20228 cat >>$CONFIG_STATUS <<_ACEOF
       
 20229 #
       
 20230 # INIT-COMMANDS
       
 20231 #
       
 20232 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
       
 20233 
       
 20234 _ACEOF
       
 20235 
       
 20236 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20237 
       
 20238 # Handling of arguments.
       
 20239 for ac_config_target in $ac_config_targets
       
 20240 do
       
 20241   case $ac_config_target in
       
 20242     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
       
 20243     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
       
 20244     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
       
 20245     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
       
 20246 
       
 20247   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
       
 20248 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
       
 20249    { (exit 1); exit 1; }; };;
       
 20250   esac
       
 20251 done
       
 20252 
       
 20253 
       
 20254 # If the user did not use the arguments to specify the items to instantiate,
       
 20255 # then the envvar interface is used.  Set only those that are not.
       
 20256 # We use the long form for the default assignment because of an extremely
       
 20257 # bizarre bug on SunOS 4.1.3.
       
 20258 if $ac_need_defaults; then
       
 20259   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
       
 20260   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
       
 20261   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
       
 20262 fi
       
 20263 
       
 20264 # Have a temporary directory for convenience.  Make it in the build tree
       
 20265 # simply because there is no reason against having it here, and in addition,
       
 20266 # creating and moving files from /tmp can sometimes cause problems.
       
 20267 # Hook for its removal unless debugging.
       
 20268 # Note that there is a small window in which the directory will not be cleaned:
       
 20269 # after its creation but before its name has been assigned to `$tmp'.
       
 20270 $debug ||
       
 20271 {
       
 20272   tmp=
       
 20273   trap 'exit_status=$?
       
 20274   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
       
 20275 ' 0
       
 20276   trap '{ (exit 1); exit 1; }' 1 2 13 15
       
 20277 }
       
 20278 # Create a (secure) tmp directory for tmp files.
       
 20279 
       
 20280 {
       
 20281   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
       
 20282   test -n "$tmp" && test -d "$tmp"
       
 20283 }  ||
       
 20284 {
       
 20285   tmp=./conf$$-$RANDOM
       
 20286   (umask 077 && mkdir "$tmp")
       
 20287 } ||
       
 20288 {
       
 20289    echo "$me: cannot create a temporary directory in ." >&2
       
 20290    { (exit 1); exit 1; }
       
 20291 }
       
 20292 
       
 20293 #
       
 20294 # Set up the sed scripts for CONFIG_FILES section.
       
 20295 #
       
 20296 
       
 20297 # No need to generate the scripts if there are no CONFIG_FILES.
       
 20298 # This happens for instance when ./config.status config.h
       
 20299 if test -n "$CONFIG_FILES"; then
       
 20300 
       
 20301 _ACEOF
       
 20302 
       
 20303 
       
 20304 
       
 20305 ac_delim='%!_!# '
       
 20306 for ac_last_try in false false false false false :; do
       
 20307   cat >conf$$subs.sed <<_ACEOF
       
 20308 SHELL!$SHELL$ac_delim
       
 20309 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
       
 20310 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
       
 20311 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
       
 20312 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
       
 20313 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
       
 20314 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
       
 20315 exec_prefix!$exec_prefix$ac_delim
       
 20316 prefix!$prefix$ac_delim
       
 20317 program_transform_name!$program_transform_name$ac_delim
       
 20318 bindir!$bindir$ac_delim
       
 20319 sbindir!$sbindir$ac_delim
       
 20320 libexecdir!$libexecdir$ac_delim
       
 20321 datarootdir!$datarootdir$ac_delim
       
 20322 datadir!$datadir$ac_delim
       
 20323 sysconfdir!$sysconfdir$ac_delim
       
 20324 sharedstatedir!$sharedstatedir$ac_delim
       
 20325 localstatedir!$localstatedir$ac_delim
       
 20326 includedir!$includedir$ac_delim
       
 20327 oldincludedir!$oldincludedir$ac_delim
       
 20328 docdir!$docdir$ac_delim
       
 20329 infodir!$infodir$ac_delim
       
 20330 htmldir!$htmldir$ac_delim
       
 20331 dvidir!$dvidir$ac_delim
       
 20332 pdfdir!$pdfdir$ac_delim
       
 20333 psdir!$psdir$ac_delim
       
 20334 libdir!$libdir$ac_delim
       
 20335 localedir!$localedir$ac_delim
       
 20336 mandir!$mandir$ac_delim
       
 20337 DEFS!$DEFS$ac_delim
       
 20338 ECHO_C!$ECHO_C$ac_delim
       
 20339 ECHO_N!$ECHO_N$ac_delim
       
 20340 ECHO_T!$ECHO_T$ac_delim
       
 20341 LIBS!$LIBS$ac_delim
       
 20342 build_alias!$build_alias$ac_delim
       
 20343 host_alias!$host_alias$ac_delim
       
 20344 target_alias!$target_alias$ac_delim
       
 20345 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
       
 20346 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
       
 20347 INSTALL_DATA!$INSTALL_DATA$ac_delim
       
 20348 CYGPATH_W!$CYGPATH_W$ac_delim
       
 20349 PACKAGE!$PACKAGE$ac_delim
       
 20350 VERSION!$VERSION$ac_delim
       
 20351 ACLOCAL!$ACLOCAL$ac_delim
       
 20352 AUTOCONF!$AUTOCONF$ac_delim
       
 20353 AUTOMAKE!$AUTOMAKE$ac_delim
       
 20354 AUTOHEADER!$AUTOHEADER$ac_delim
       
 20355 MAKEINFO!$MAKEINFO$ac_delim
       
 20356 install_sh!$install_sh$ac_delim
       
 20357 STRIP!$STRIP$ac_delim
       
 20358 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
       
 20359 mkdir_p!$mkdir_p$ac_delim
       
 20360 AWK!$AWK$ac_delim
       
 20361 SET_MAKE!$SET_MAKE$ac_delim
       
 20362 am__leading_dot!$am__leading_dot$ac_delim
       
 20363 AMTAR!$AMTAR$ac_delim
       
 20364 am__tar!$am__tar$ac_delim
       
 20365 am__untar!$am__untar$ac_delim
       
 20366 CXX!$CXX$ac_delim
       
 20367 CXXFLAGS!$CXXFLAGS$ac_delim
       
 20368 LDFLAGS!$LDFLAGS$ac_delim
       
 20369 CPPFLAGS!$CPPFLAGS$ac_delim
       
 20370 ac_ct_CXX!$ac_ct_CXX$ac_delim
       
 20371 EXEEXT!$EXEEXT$ac_delim
       
 20372 OBJEXT!$OBJEXT$ac_delim
       
 20373 DEPDIR!$DEPDIR$ac_delim
       
 20374 am__include!$am__include$ac_delim
       
 20375 am__quote!$am__quote$ac_delim
       
 20376 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
       
 20377 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
       
 20378 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
       
 20379 CXXDEPMODE!$CXXDEPMODE$ac_delim
       
 20380 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
       
 20381 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
       
 20382 build!$build$ac_delim
       
 20383 build_cpu!$build_cpu$ac_delim
       
 20384 build_vendor!$build_vendor$ac_delim
       
 20385 build_os!$build_os$ac_delim
       
 20386 host!$host$ac_delim
       
 20387 host_cpu!$host_cpu$ac_delim
       
 20388 host_vendor!$host_vendor$ac_delim
       
 20389 host_os!$host_os$ac_delim
       
 20390 CC!$CC$ac_delim
       
 20391 CFLAGS!$CFLAGS$ac_delim
       
 20392 ac_ct_CC!$ac_ct_CC$ac_delim
       
 20393 CCDEPMODE!$CCDEPMODE$ac_delim
       
 20394 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
       
 20395 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
       
 20396 GREP!$GREP$ac_delim
       
 20397 EGREP!$EGREP$ac_delim
       
 20398 LN_S!$LN_S$ac_delim
       
 20399 ECHO!$ECHO$ac_delim
       
 20400 AR!$AR$ac_delim
       
 20401 RANLIB!$RANLIB$ac_delim
       
 20402 CPP!$CPP$ac_delim
       
 20403 CXXCPP!$CXXCPP$ac_delim
       
 20404 F77!$F77$ac_delim
       
 20405 _ACEOF
       
 20406 
       
 20407   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
       
 20408     break
       
 20409   elif $ac_last_try; then
       
 20410     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 20411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 20412    { (exit 1); exit 1; }; }
       
 20413   else
       
 20414     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 20415   fi
       
 20416 done
       
 20417 
       
 20418 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 20419 if test -n "$ac_eof"; then
       
 20420   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 20421   ac_eof=`expr $ac_eof + 1`
       
 20422 fi
       
 20423 
       
 20424 cat >>$CONFIG_STATUS <<_ACEOF
       
 20425 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
       
 20426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 20427 _ACEOF
       
 20428 sed '
       
 20429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 20430 s/^/s,@/; s/!/@,|#_!!_#|/
       
 20431 :n
       
 20432 t n
       
 20433 s/'"$ac_delim"'$/,g/; t
       
 20434 s/$/\\/; p
       
 20435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 20436 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 20437 rm -f conf$$subs.sed
       
 20438 cat >>$CONFIG_STATUS <<_ACEOF
       
 20439 CEOF$ac_eof
       
 20440 _ACEOF
       
 20441 
       
 20442 
       
 20443 ac_delim='%!_!# '
       
 20444 for ac_last_try in false false false false false :; do
       
 20445   cat >conf$$subs.sed <<_ACEOF
       
 20446 FFLAGS!$FFLAGS$ac_delim
       
 20447 ac_ct_F77!$ac_ct_F77$ac_delim
       
 20448 LIBTOOL!$LIBTOOL$ac_delim
       
 20449 LIBOBJS!$LIBOBJS$ac_delim
       
 20450 LTLIBOBJS!$LTLIBOBJS$ac_delim
       
 20451 _ACEOF
       
 20452 
       
 20453   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
       
 20454     break
       
 20455   elif $ac_last_try; then
       
 20456     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 20457 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 20458    { (exit 1); exit 1; }; }
       
 20459   else
       
 20460     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 20461   fi
       
 20462 done
       
 20463 
       
 20464 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 20465 if test -n "$ac_eof"; then
       
 20466   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 20467   ac_eof=`expr $ac_eof + 1`
       
 20468 fi
       
 20469 
       
 20470 cat >>$CONFIG_STATUS <<_ACEOF
       
 20471 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
       
 20472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
       
 20473 _ACEOF
       
 20474 sed '
       
 20475 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 20476 s/^/s,@/; s/!/@,|#_!!_#|/
       
 20477 :n
       
 20478 t n
       
 20479 s/'"$ac_delim"'$/,g/; t
       
 20480 s/$/\\/; p
       
 20481 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 20482 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 20483 rm -f conf$$subs.sed
       
 20484 cat >>$CONFIG_STATUS <<_ACEOF
       
 20485 :end
       
 20486 s/|#_!!_#|//g
       
 20487 CEOF$ac_eof
       
 20488 _ACEOF
       
 20489 
       
 20490 
       
 20491 # VPATH may cause trouble with some makes, so we remove $(srcdir),
       
 20492 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
       
 20493 # trailing colons and then remove the whole line if VPATH becomes empty
       
 20494 # (actually we leave an empty line to preserve line numbers).
       
 20495 if test "x$srcdir" = x.; then
       
 20496   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
       
 20497 s/:*\$(srcdir):*/:/
       
 20498 s/:*\${srcdir}:*/:/
       
 20499 s/:*@srcdir@:*/:/
       
 20500 s/^\([^=]*=[	 ]*\):*/\1/
       
 20501 s/:*$//
       
 20502 s/^[^=]*=[	 ]*$//
       
 20503 }'
       
 20504 fi
       
 20505 
       
 20506 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20507 fi # test -n "$CONFIG_FILES"
       
 20508 
       
 20509 
       
 20510 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
       
 20511 do
       
 20512   case $ac_tag in
       
 20513   :[FHLC]) ac_mode=$ac_tag; continue;;
       
 20514   esac
       
 20515   case $ac_mode$ac_tag in
       
 20516   :[FHL]*:*);;
       
 20517   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
       
 20518 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
       
 20519    { (exit 1); exit 1; }; };;
       
 20520   :[FH]-) ac_tag=-:-;;
       
 20521   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
       
 20522   esac
       
 20523   ac_save_IFS=$IFS
       
 20524   IFS=:
       
 20525   set x $ac_tag
       
 20526   IFS=$ac_save_IFS
       
 20527   shift
       
 20528   ac_file=$1
       
 20529   shift
       
 20530 
       
 20531   case $ac_mode in
       
 20532   :L) ac_source=$1;;
       
 20533   :[FH])
       
 20534     ac_file_inputs=
       
 20535     for ac_f
       
 20536     do
       
 20537       case $ac_f in
       
 20538       -) ac_f="$tmp/stdin";;
       
 20539       *) # Look for the file first in the build tree, then in the source tree
       
 20540 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
       
 20541 	 # because $ac_f cannot contain `:'.
       
 20542 	 test -f "$ac_f" ||
       
 20543 	   case $ac_f in
       
 20544 	   [\\/$]*) false;;
       
 20545 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
       
 20546 	   esac ||
       
 20547 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
       
 20548 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
       
 20549    { (exit 1); exit 1; }; };;
       
 20550       esac
       
 20551       ac_file_inputs="$ac_file_inputs $ac_f"
       
 20552     done
       
 20553 
       
 20554     # Let's still pretend it is `configure' which instantiates (i.e., don't
       
 20555     # use $as_me), people would be surprised to read:
       
 20556     #    /* config.h.  Generated by config.status.  */
       
 20557     configure_input="Generated from "`IFS=:
       
 20558 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
       
 20559     if test x"$ac_file" != x-; then
       
 20560       configure_input="$ac_file.  $configure_input"
       
 20561       { echo "$as_me:$LINENO: creating $ac_file" >&5
       
 20562 echo "$as_me: creating $ac_file" >&6;}
       
 20563     fi
       
 20564 
       
 20565     case $ac_tag in
       
 20566     *:-:* | *:-) cat >"$tmp/stdin";;
       
 20567     esac
       
 20568     ;;
       
 20569   esac
       
 20570 
       
 20571   ac_dir=`$as_dirname -- "$ac_file" ||
       
 20572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20573 	 X"$ac_file" : 'X\(//\)[^/]' \| \
       
 20574 	 X"$ac_file" : 'X\(//\)$' \| \
       
 20575 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
       
 20576 echo X"$ac_file" |
       
 20577     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20578 	    s//\1/
       
 20579 	    q
       
 20580 	  }
       
 20581 	  /^X\(\/\/\)[^/].*/{
       
 20582 	    s//\1/
       
 20583 	    q
       
 20584 	  }
       
 20585 	  /^X\(\/\/\)$/{
       
 20586 	    s//\1/
       
 20587 	    q
       
 20588 	  }
       
 20589 	  /^X\(\/\).*/{
       
 20590 	    s//\1/
       
 20591 	    q
       
 20592 	  }
       
 20593 	  s/.*/./; q'`
       
 20594   { as_dir="$ac_dir"
       
 20595   case $as_dir in #(
       
 20596   -*) as_dir=./$as_dir;;
       
 20597   esac
       
 20598   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
       
 20599     as_dirs=
       
 20600     while :; do
       
 20601       case $as_dir in #(
       
 20602       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
       
 20603       *) as_qdir=$as_dir;;
       
 20604       esac
       
 20605       as_dirs="'$as_qdir' $as_dirs"
       
 20606       as_dir=`$as_dirname -- "$as_dir" ||
       
 20607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20608 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
 20609 	 X"$as_dir" : 'X\(//\)$' \| \
       
 20610 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
 20611 echo X"$as_dir" |
       
 20612     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20613 	    s//\1/
       
 20614 	    q
       
 20615 	  }
       
 20616 	  /^X\(\/\/\)[^/].*/{
       
 20617 	    s//\1/
       
 20618 	    q
       
 20619 	  }
       
 20620 	  /^X\(\/\/\)$/{
       
 20621 	    s//\1/
       
 20622 	    q
       
 20623 	  }
       
 20624 	  /^X\(\/\).*/{
       
 20625 	    s//\1/
       
 20626 	    q
       
 20627 	  }
       
 20628 	  s/.*/./; q'`
       
 20629       test -d "$as_dir" && break
       
 20630     done
       
 20631     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
 20632   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
       
 20633 echo "$as_me: error: cannot create directory $as_dir" >&2;}
       
 20634    { (exit 1); exit 1; }; }; }
       
 20635   ac_builddir=.
       
 20636 
       
 20637 case "$ac_dir" in
       
 20638 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 20639 *)
       
 20640   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
 20641   # A ".." for each directory in $ac_dir_suffix.
       
 20642   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
 20643   case $ac_top_builddir_sub in
       
 20644   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 20645   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
 20646   esac ;;
       
 20647 esac
       
 20648 ac_abs_top_builddir=$ac_pwd
       
 20649 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
 20650 # for backward compatibility:
       
 20651 ac_top_builddir=$ac_top_build_prefix
       
 20652 
       
 20653 case $srcdir in
       
 20654   .)  # We are building in place.
       
 20655     ac_srcdir=.
       
 20656     ac_top_srcdir=$ac_top_builddir_sub
       
 20657     ac_abs_top_srcdir=$ac_pwd ;;
       
 20658   [\\/]* | ?:[\\/]* )  # Absolute name.
       
 20659     ac_srcdir=$srcdir$ac_dir_suffix;
       
 20660     ac_top_srcdir=$srcdir
       
 20661     ac_abs_top_srcdir=$srcdir ;;
       
 20662   *) # Relative name.
       
 20663     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
 20664     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
 20665     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
 20666 esac
       
 20667 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
 20668 
       
 20669 
       
 20670   case $ac_mode in
       
 20671   :F)
       
 20672   #
       
 20673   # CONFIG_FILE
       
 20674   #
       
 20675 
       
 20676   case $INSTALL in
       
 20677   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
       
 20678   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
       
 20679   esac
       
 20680 _ACEOF
       
 20681 
       
 20682 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20683 # If the template does not know about datarootdir, expand it.
       
 20684 # FIXME: This hack should be removed a few years after 2.60.
       
 20685 ac_datarootdir_hack=; ac_datarootdir_seen=
       
 20686 
       
 20687 case `sed -n '/datarootdir/ {
       
 20688   p
       
 20689   q
       
 20690 }
       
 20691 /@datadir@/p
       
 20692 /@docdir@/p
       
 20693 /@infodir@/p
       
 20694 /@localedir@/p
       
 20695 /@mandir@/p
       
 20696 ' $ac_file_inputs` in
       
 20697 *datarootdir*) ac_datarootdir_seen=yes;;
       
 20698 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
       
 20699   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
       
 20700 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
       
 20701 _ACEOF
       
 20702 cat >>$CONFIG_STATUS <<_ACEOF
       
 20703   ac_datarootdir_hack='
       
 20704   s&@datadir@&$datadir&g
       
 20705   s&@docdir@&$docdir&g
       
 20706   s&@infodir@&$infodir&g
       
 20707   s&@localedir@&$localedir&g
       
 20708   s&@mandir@&$mandir&g
       
 20709     s&\\\${datarootdir}&$datarootdir&g' ;;
       
 20710 esac
       
 20711 _ACEOF
       
 20712 
       
 20713 # Neutralize VPATH when `$srcdir' = `.'.
       
 20714 # Shell code in configure.ac might set extrasub.
       
 20715 # FIXME: do we really want to maintain this feature?
       
 20716 cat >>$CONFIG_STATUS <<_ACEOF
       
 20717   sed "$ac_vpsub
       
 20718 $extrasub
       
 20719 _ACEOF
       
 20720 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20721 :t
       
 20722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 20723 s&@configure_input@&$configure_input&;t t
       
 20724 s&@top_builddir@&$ac_top_builddir_sub&;t t
       
 20725 s&@srcdir@&$ac_srcdir&;t t
       
 20726 s&@abs_srcdir@&$ac_abs_srcdir&;t t
       
 20727 s&@top_srcdir@&$ac_top_srcdir&;t t
       
 20728 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
       
 20729 s&@builddir@&$ac_builddir&;t t
       
 20730 s&@abs_builddir@&$ac_abs_builddir&;t t
       
 20731 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
       
 20732 s&@INSTALL@&$ac_INSTALL&;t t
       
 20733 $ac_datarootdir_hack
       
 20734 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
       
 20735 
       
 20736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
       
 20737   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
       
 20738   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
       
 20739   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 20740 which seems to be undefined.  Please make sure it is defined." >&5
       
 20741 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 20742 which seems to be undefined.  Please make sure it is defined." >&2;}
       
 20743 
       
 20744   rm -f "$tmp/stdin"
       
 20745   case $ac_file in
       
 20746   -) cat "$tmp/out"; rm -f "$tmp/out";;
       
 20747   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
       
 20748   esac
       
 20749  ;;
       
 20750   :H)
       
 20751   #
       
 20752   # CONFIG_HEADER
       
 20753   #
       
 20754 _ACEOF
       
 20755 
       
 20756 # Transform confdefs.h into a sed script `conftest.defines', that
       
 20757 # substitutes the proper values into config.h.in to produce config.h.
       
 20758 rm -f conftest.defines conftest.tail
       
 20759 # First, append a space to every undef/define line, to ease matching.
       
 20760 echo 's/$/ /' >conftest.defines
       
 20761 # Then, protect against being on the right side of a sed subst, or in
       
 20762 # an unquoted here document, in config.status.  If some macros were
       
 20763 # called several times there might be several #defines for the same
       
 20764 # symbol, which is useless.  But do not sort them, since the last
       
 20765 # AC_DEFINE must be honored.
       
 20766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
       
 20767 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
       
 20768 # NAME is the cpp macro being defined, VALUE is the value it is being given.
       
 20769 # PARAMS is the parameter list in the macro definition--in most cases, it's
       
 20770 # just an empty string.
       
 20771 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
       
 20772 ac_dB='\\)[	 (].*,\\1define\\2'
       
 20773 ac_dC=' '
       
 20774 ac_dD=' ,'
       
 20775 
       
 20776 uniq confdefs.h |
       
 20777   sed -n '
       
 20778 	t rset
       
 20779 	:rset
       
 20780 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
       
 20781 	t ok
       
 20782 	d
       
 20783 	:ok
       
 20784 	s/[\\&,]/\\&/g
       
 20785 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
       
 20786 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
       
 20787   ' >>conftest.defines
       
 20788 
       
 20789 # Remove the space that was appended to ease matching.
       
 20790 # Then replace #undef with comments.  This is necessary, for
       
 20791 # example, in the case of _POSIX_SOURCE, which is predefined and required
       
 20792 # on some systems where configure will not decide to define it.
       
 20793 # (The regexp can be short, since the line contains either #define or #undef.)
       
 20794 echo 's/ $//
       
 20795 s,^[	 #]*u.*,/* & */,' >>conftest.defines
       
 20796 
       
 20797 # Break up conftest.defines:
       
 20798 ac_max_sed_lines=50
       
 20799 
       
 20800 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
       
 20801 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
       
 20802 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
       
 20803 # et cetera.
       
 20804 ac_in='$ac_file_inputs'
       
 20805 ac_out='"$tmp/out1"'
       
 20806 ac_nxt='"$tmp/out2"'
       
 20807 
       
 20808 while :
       
 20809 do
       
 20810   # Write a here document:
       
 20811     cat >>$CONFIG_STATUS <<_ACEOF
       
 20812     # First, check the format of the line:
       
 20813     cat >"\$tmp/defines.sed" <<\\CEOF
       
 20814 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
       
 20815 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
       
 20816 b
       
 20817 :def
       
 20818 _ACEOF
       
 20819   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
       
 20820   echo 'CEOF
       
 20821     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
       
 20822   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
       
 20823   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
       
 20824   grep . conftest.tail >/dev/null || break
       
 20825   rm -f conftest.defines
       
 20826   mv conftest.tail conftest.defines
       
 20827 done
       
 20828 rm -f conftest.defines conftest.tail
       
 20829 
       
 20830 echo "ac_result=$ac_in" >>$CONFIG_STATUS
       
 20831 cat >>$CONFIG_STATUS <<\_ACEOF
       
 20832   if test x"$ac_file" != x-; then
       
 20833     echo "/* $configure_input  */" >"$tmp/config.h"
       
 20834     cat "$ac_result" >>"$tmp/config.h"
       
 20835     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
       
 20836       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
       
 20837 echo "$as_me: $ac_file is unchanged" >&6;}
       
 20838     else
       
 20839       rm -f $ac_file
       
 20840       mv "$tmp/config.h" $ac_file
       
 20841     fi
       
 20842   else
       
 20843     echo "/* $configure_input  */"
       
 20844     cat "$ac_result"
       
 20845   fi
       
 20846   rm -f "$tmp/out12"
       
 20847 # Compute $ac_file's index in $config_headers.
       
 20848 _am_stamp_count=1
       
 20849 for _am_header in $config_headers :; do
       
 20850   case $_am_header in
       
 20851     $ac_file | $ac_file:* )
       
 20852       break ;;
       
 20853     * )
       
 20854       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
       
 20855   esac
       
 20856 done
       
 20857 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
       
 20858 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20859 	 X$ac_file : 'X\(//\)[^/]' \| \
       
 20860 	 X$ac_file : 'X\(//\)$' \| \
       
 20861 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
       
 20862 echo X$ac_file |
       
 20863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20864 	    s//\1/
       
 20865 	    q
       
 20866 	  }
       
 20867 	  /^X\(\/\/\)[^/].*/{
       
 20868 	    s//\1/
       
 20869 	    q
       
 20870 	  }
       
 20871 	  /^X\(\/\/\)$/{
       
 20872 	    s//\1/
       
 20873 	    q
       
 20874 	  }
       
 20875 	  /^X\(\/\).*/{
       
 20876 	    s//\1/
       
 20877 	    q
       
 20878 	  }
       
 20879 	  s/.*/./; q'`/stamp-h$_am_stamp_count
       
 20880  ;;
       
 20881 
       
 20882   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
       
 20883 echo "$as_me: executing $ac_file commands" >&6;}
       
 20884  ;;
       
 20885   esac
       
 20886 
       
 20887 
       
 20888   case $ac_file$ac_mode in
       
 20889     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
       
 20890   # Strip MF so we end up with the name of the file.
       
 20891   mf=`echo "$mf" | sed -e 's/:.*$//'`
       
 20892   # Check whether this is an Automake generated Makefile or not.
       
 20893   # We used to match only the files named `Makefile.in', but
       
 20894   # some people rename them; so instead we look at the file content.
       
 20895   # Grep'ing the first line is not enough: some people post-process
       
 20896   # each Makefile.in and add a new line on top of each file to say so.
       
 20897   # So let's grep whole file.
       
 20898   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
       
 20899     dirpart=`$as_dirname -- "$mf" ||
       
 20900 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20901 	 X"$mf" : 'X\(//\)[^/]' \| \
       
 20902 	 X"$mf" : 'X\(//\)$' \| \
       
 20903 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
       
 20904 echo X"$mf" |
       
 20905     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20906 	    s//\1/
       
 20907 	    q
       
 20908 	  }
       
 20909 	  /^X\(\/\/\)[^/].*/{
       
 20910 	    s//\1/
       
 20911 	    q
       
 20912 	  }
       
 20913 	  /^X\(\/\/\)$/{
       
 20914 	    s//\1/
       
 20915 	    q
       
 20916 	  }
       
 20917 	  /^X\(\/\).*/{
       
 20918 	    s//\1/
       
 20919 	    q
       
 20920 	  }
       
 20921 	  s/.*/./; q'`
       
 20922   else
       
 20923     continue
       
 20924   fi
       
 20925   # Extract the definition of DEPDIR, am__include, and am__quote
       
 20926   # from the Makefile without running `make'.
       
 20927   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
       
 20928   test -z "$DEPDIR" && continue
       
 20929   am__include=`sed -n 's/^am__include = //p' < "$mf"`
       
 20930   test -z "am__include" && continue
       
 20931   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
       
 20932   # When using ansi2knr, U may be empty or an underscore; expand it
       
 20933   U=`sed -n 's/^U = //p' < "$mf"`
       
 20934   # Find all dependency output files, they are included files with
       
 20935   # $(DEPDIR) in their names.  We invoke sed twice because it is the
       
 20936   # simplest approach to changing $(DEPDIR) to its actual value in the
       
 20937   # expansion.
       
 20938   for file in `sed -n "
       
 20939     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
       
 20940        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
       
 20941     # Make sure the directory exists.
       
 20942     test -f "$dirpart/$file" && continue
       
 20943     fdir=`$as_dirname -- "$file" ||
       
 20944 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20945 	 X"$file" : 'X\(//\)[^/]' \| \
       
 20946 	 X"$file" : 'X\(//\)$' \| \
       
 20947 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
       
 20948 echo X"$file" |
       
 20949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20950 	    s//\1/
       
 20951 	    q
       
 20952 	  }
       
 20953 	  /^X\(\/\/\)[^/].*/{
       
 20954 	    s//\1/
       
 20955 	    q
       
 20956 	  }
       
 20957 	  /^X\(\/\/\)$/{
       
 20958 	    s//\1/
       
 20959 	    q
       
 20960 	  }
       
 20961 	  /^X\(\/\).*/{
       
 20962 	    s//\1/
       
 20963 	    q
       
 20964 	  }
       
 20965 	  s/.*/./; q'`
       
 20966     { as_dir=$dirpart/$fdir
       
 20967   case $as_dir in #(
       
 20968   -*) as_dir=./$as_dir;;
       
 20969   esac
       
 20970   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
       
 20971     as_dirs=
       
 20972     while :; do
       
 20973       case $as_dir in #(
       
 20974       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
       
 20975       *) as_qdir=$as_dir;;
       
 20976       esac
       
 20977       as_dirs="'$as_qdir' $as_dirs"
       
 20978       as_dir=`$as_dirname -- "$as_dir" ||
       
 20979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 20980 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
 20981 	 X"$as_dir" : 'X\(//\)$' \| \
       
 20982 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
 20983 echo X"$as_dir" |
       
 20984     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 20985 	    s//\1/
       
 20986 	    q
       
 20987 	  }
       
 20988 	  /^X\(\/\/\)[^/].*/{
       
 20989 	    s//\1/
       
 20990 	    q
       
 20991 	  }
       
 20992 	  /^X\(\/\/\)$/{
       
 20993 	    s//\1/
       
 20994 	    q
       
 20995 	  }
       
 20996 	  /^X\(\/\).*/{
       
 20997 	    s//\1/
       
 20998 	    q
       
 20999 	  }
       
 21000 	  s/.*/./; q'`
       
 21001       test -d "$as_dir" && break
       
 21002     done
       
 21003     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
 21004   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
       
 21005 echo "$as_me: error: cannot create directory $as_dir" >&2;}
       
 21006    { (exit 1); exit 1; }; }; }
       
 21007     # echo "creating $dirpart/$file"
       
 21008     echo '# dummy' > "$dirpart/$file"
       
 21009   done
       
 21010 done
       
 21011  ;;
       
 21012 
       
 21013   esac
       
 21014 done # for ac_tag
       
 21015 
       
 21016 
       
 21017 { (exit 0); exit 0; }
       
 21018 _ACEOF
       
 21019 chmod +x $CONFIG_STATUS
       
 21020 ac_clean_files=$ac_clean_files_save
       
 21021 
       
 21022 
       
 21023 # configure is writing to config.log, and then calls config.status.
       
 21024 # config.status does its own redirection, appending to config.log.
       
 21025 # Unfortunately, on DOS this fails, as config.log is still kept open
       
 21026 # by configure, so config.status won't be able to write to it; its
       
 21027 # output is simply discarded.  So we exec the FD to /dev/null,
       
 21028 # effectively closing config.log, so it can be properly (re)opened and
       
 21029 # appended to by config.status.  When coming back to configure, we
       
 21030 # need to make the FD available again.
       
 21031 if test "$no_create" != yes; then
       
 21032   ac_cs_success=:
       
 21033   ac_config_status_args=
       
 21034   test "$silent" = yes &&
       
 21035     ac_config_status_args="$ac_config_status_args --quiet"
       
 21036   exec 5>/dev/null
       
 21037   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
       
 21038   exec 5>>config.log
       
 21039   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
       
 21040   # would make configure fail if this is the last instruction.
       
 21041   $ac_cs_success || { (exit 1); exit 1; }
       
 21042 fi
       
 21043