mod_auth_form-2.05/configure
changeset 11 022ee48c7409
child 17 8485678bf435
equal deleted inserted replaced
10:1c27769b8435 11:022ee48c7409
       
     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="src/mod_auth_form"
       
   719 ac_unique_file="src/mod_auth_form.c"
       
   720 # Factoring default headers for most tests.
       
   721 ac_includes_default="\
       
   722 #include <stdio.h>
       
   723 #if HAVE_SYS_TYPES_H
       
   724 # include <sys/types.h>
       
   725 #endif
       
   726 #if HAVE_SYS_STAT_H
       
   727 # include <sys/stat.h>
       
   728 #endif
       
   729 #if STDC_HEADERS
       
   730 # include <stdlib.h>
       
   731 # include <stddef.h>
       
   732 #else
       
   733 # if HAVE_STDLIB_H
       
   734 #  include <stdlib.h>
       
   735 # endif
       
   736 #endif
       
   737 #if HAVE_STRING_H
       
   738 # if !STDC_HEADERS && HAVE_MEMORY_H
       
   739 #  include <memory.h>
       
   740 # endif
       
   741 # include <string.h>
       
   742 #endif
       
   743 #if HAVE_STRINGS_H
       
   744 # include <strings.h>
       
   745 #endif
       
   746 #if HAVE_INTTYPES_H
       
   747 # include <inttypes.h>
       
   748 #endif
       
   749 #if HAVE_STDINT_H
       
   750 # include <stdint.h>
       
   751 #endif
       
   752 #if HAVE_UNISTD_H
       
   753 # include <unistd.h>
       
   754 #endif"
       
   755 
       
   756 ac_subst_vars='SHELL
       
   757 PATH_SEPARATOR
       
   758 PACKAGE_NAME
       
   759 PACKAGE_TARNAME
       
   760 PACKAGE_VERSION
       
   761 PACKAGE_STRING
       
   762 PACKAGE_BUGREPORT
       
   763 exec_prefix
       
   764 prefix
       
   765 program_transform_name
       
   766 bindir
       
   767 sbindir
       
   768 libexecdir
       
   769 datarootdir
       
   770 datadir
       
   771 sysconfdir
       
   772 sharedstatedir
       
   773 localstatedir
       
   774 includedir
       
   775 oldincludedir
       
   776 docdir
       
   777 infodir
       
   778 htmldir
       
   779 dvidir
       
   780 pdfdir
       
   781 psdir
       
   782 libdir
       
   783 localedir
       
   784 mandir
       
   785 DEFS
       
   786 ECHO_C
       
   787 ECHO_N
       
   788 ECHO_T
       
   789 LIBS
       
   790 build_alias
       
   791 host_alias
       
   792 target_alias
       
   793 INSTALL_PROGRAM
       
   794 INSTALL_SCRIPT
       
   795 INSTALL_DATA
       
   796 CYGPATH_W
       
   797 PACKAGE
       
   798 VERSION
       
   799 ACLOCAL
       
   800 AUTOCONF
       
   801 AUTOMAKE
       
   802 AUTOHEADER
       
   803 MAKEINFO
       
   804 install_sh
       
   805 STRIP
       
   806 INSTALL_STRIP_PROGRAM
       
   807 mkdir_p
       
   808 AWK
       
   809 SET_MAKE
       
   810 am__leading_dot
       
   811 AMTAR
       
   812 am__tar
       
   813 am__untar
       
   814 APACHE2_PREFIX
       
   815 APR0_PREFIX
       
   816 APR1_PREFIX
       
   817 MYSQL_PREFIX
       
   818 APACHE2_INCLUDE
       
   819 APR0_INCLUDE
       
   820 APR1_INCLUDE
       
   821 MYSQL_INCLUDE
       
   822 MYSQLCLIENT_LIBPATH
       
   823 APR_INCLUDE
       
   824 MYSQLCLIENT_LIBFLAGS
       
   825 MYSQLCLIENT_LIB
       
   826 CXX
       
   827 CXXFLAGS
       
   828 LDFLAGS
       
   829 CPPFLAGS
       
   830 ac_ct_CXX
       
   831 EXEEXT
       
   832 OBJEXT
       
   833 DEPDIR
       
   834 am__include
       
   835 am__quote
       
   836 AMDEP_TRUE
       
   837 AMDEP_FALSE
       
   838 AMDEPBACKSLASH
       
   839 CXXDEPMODE
       
   840 am__fastdepCXX_TRUE
       
   841 am__fastdepCXX_FALSE
       
   842 CC
       
   843 CFLAGS
       
   844 ac_ct_CC
       
   845 CCDEPMODE
       
   846 am__fastdepCC_TRUE
       
   847 am__fastdepCC_FALSE
       
   848 CPP
       
   849 LN_S
       
   850 build
       
   851 build_cpu
       
   852 build_vendor
       
   853 build_os
       
   854 host
       
   855 host_cpu
       
   856 host_vendor
       
   857 host_os
       
   858 GREP
       
   859 EGREP
       
   860 ECHO
       
   861 AR
       
   862 RANLIB
       
   863 CXXCPP
       
   864 F77
       
   865 FFLAGS
       
   866 ac_ct_F77
       
   867 LIBTOOL
       
   868 APXS
       
   869 LIBOBJS
       
   870 LTLIBOBJS'
       
   871 ac_subst_files=''
       
   872       ac_precious_vars='build_alias
       
   873 host_alias
       
   874 target_alias
       
   875 APACHE2_PREFIX
       
   876 APR0_PREFIX
       
   877 APR1_PREFIX
       
   878 MYSQL_PREFIX
       
   879 APACHE2_INCLUDE
       
   880 APR0_INCLUDE
       
   881 APR1_INCLUDE
       
   882 MYSQL_INCLUDE
       
   883 MYSQLCLIENT_LIBPATH
       
   884 CXX
       
   885 CXXFLAGS
       
   886 LDFLAGS
       
   887 CPPFLAGS
       
   888 CCC
       
   889 CC
       
   890 CFLAGS
       
   891 CPP
       
   892 CXXCPP
       
   893 F77
       
   894 FFLAGS'
       
   895 
       
   896 
       
   897 # Initialize some variables set by options.
       
   898 ac_init_help=
       
   899 ac_init_version=false
       
   900 # The variables have the same names as the options, with
       
   901 # dashes changed to underlines.
       
   902 cache_file=/dev/null
       
   903 exec_prefix=NONE
       
   904 no_create=
       
   905 no_recursion=
       
   906 prefix=NONE
       
   907 program_prefix=NONE
       
   908 program_suffix=NONE
       
   909 program_transform_name=s,x,x,
       
   910 silent=
       
   911 site=
       
   912 srcdir=
       
   913 verbose=
       
   914 x_includes=NONE
       
   915 x_libraries=NONE
       
   916 
       
   917 # Installation directory options.
       
   918 # These are left unexpanded so users can "make install exec_prefix=/foo"
       
   919 # and all the variables that are supposed to be based on exec_prefix
       
   920 # by default will actually change.
       
   921 # Use braces instead of parens because sh, perl, etc. also accept them.
       
   922 # (The list follows the same order as the GNU Coding Standards.)
       
   923 bindir='${exec_prefix}/bin'
       
   924 sbindir='${exec_prefix}/sbin'
       
   925 libexecdir='${exec_prefix}/libexec'
       
   926 datarootdir='${prefix}/share'
       
   927 datadir='${datarootdir}'
       
   928 sysconfdir='${prefix}/etc'
       
   929 sharedstatedir='${prefix}/com'
       
   930 localstatedir='${prefix}/var'
       
   931 includedir='${prefix}/include'
       
   932 oldincludedir='/usr/include'
       
   933 docdir='${datarootdir}/doc/${PACKAGE}'
       
   934 infodir='${datarootdir}/info'
       
   935 htmldir='${docdir}'
       
   936 dvidir='${docdir}'
       
   937 pdfdir='${docdir}'
       
   938 psdir='${docdir}'
       
   939 libdir='${exec_prefix}/lib'
       
   940 localedir='${datarootdir}/locale'
       
   941 mandir='${datarootdir}/man'
       
   942 
       
   943 ac_prev=
       
   944 ac_dashdash=
       
   945 for ac_option
       
   946 do
       
   947   # If the previous option needs an argument, assign it.
       
   948   if test -n "$ac_prev"; then
       
   949     eval $ac_prev=\$ac_option
       
   950     ac_prev=
       
   951     continue
       
   952   fi
       
   953 
       
   954   case $ac_option in
       
   955   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
       
   956   *)	ac_optarg=yes ;;
       
   957   esac
       
   958 
       
   959   # Accept the important Cygnus configure options, so we can diagnose typos.
       
   960 
       
   961   case $ac_dashdash$ac_option in
       
   962   --)
       
   963     ac_dashdash=yes ;;
       
   964 
       
   965   -bindir | --bindir | --bindi | --bind | --bin | --bi)
       
   966     ac_prev=bindir ;;
       
   967   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
       
   968     bindir=$ac_optarg ;;
       
   969 
       
   970   -build | --build | --buil | --bui | --bu)
       
   971     ac_prev=build_alias ;;
       
   972   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
       
   973     build_alias=$ac_optarg ;;
       
   974 
       
   975   -cache-file | --cache-file | --cache-fil | --cache-fi \
       
   976   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
       
   977     ac_prev=cache_file ;;
       
   978   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
       
   979   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
       
   980     cache_file=$ac_optarg ;;
       
   981 
       
   982   --config-cache | -C)
       
   983     cache_file=config.cache ;;
       
   984 
       
   985   -datadir | --datadir | --datadi | --datad)
       
   986     ac_prev=datadir ;;
       
   987   -datadir=* | --datadir=* | --datadi=* | --datad=*)
       
   988     datadir=$ac_optarg ;;
       
   989 
       
   990   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
       
   991   | --dataroo | --dataro | --datar)
       
   992     ac_prev=datarootdir ;;
       
   993   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
       
   994   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
       
   995     datarootdir=$ac_optarg ;;
       
   996 
       
   997   -disable-* | --disable-*)
       
   998     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
       
   999     # Reject names that are not valid shell variable names.
       
  1000     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1001       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
  1002    { (exit 1); exit 1; }; }
       
  1003     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
       
  1004     eval enable_$ac_feature=no ;;
       
  1005 
       
  1006   -docdir | --docdir | --docdi | --doc | --do)
       
  1007     ac_prev=docdir ;;
       
  1008   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
       
  1009     docdir=$ac_optarg ;;
       
  1010 
       
  1011   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
       
  1012     ac_prev=dvidir ;;
       
  1013   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
       
  1014     dvidir=$ac_optarg ;;
       
  1015 
       
  1016   -enable-* | --enable-*)
       
  1017     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
       
  1018     # Reject names that are not valid shell variable names.
       
  1019     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1020       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       
  1021    { (exit 1); exit 1; }; }
       
  1022     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
       
  1023     eval enable_$ac_feature=\$ac_optarg ;;
       
  1024 
       
  1025   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
       
  1026   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
       
  1027   | --exec | --exe | --ex)
       
  1028     ac_prev=exec_prefix ;;
       
  1029   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
       
  1030   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
       
  1031   | --exec=* | --exe=* | --ex=*)
       
  1032     exec_prefix=$ac_optarg ;;
       
  1033 
       
  1034   -gas | --gas | --ga | --g)
       
  1035     # Obsolete; use --with-gas.
       
  1036     with_gas=yes ;;
       
  1037 
       
  1038   -help | --help | --hel | --he | -h)
       
  1039     ac_init_help=long ;;
       
  1040   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       
  1041     ac_init_help=recursive ;;
       
  1042   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       
  1043     ac_init_help=short ;;
       
  1044 
       
  1045   -host | --host | --hos | --ho)
       
  1046     ac_prev=host_alias ;;
       
  1047   -host=* | --host=* | --hos=* | --ho=*)
       
  1048     host_alias=$ac_optarg ;;
       
  1049 
       
  1050   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
       
  1051     ac_prev=htmldir ;;
       
  1052   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
       
  1053   | --ht=*)
       
  1054     htmldir=$ac_optarg ;;
       
  1055 
       
  1056   -includedir | --includedir | --includedi | --included | --include \
       
  1057   | --includ | --inclu | --incl | --inc)
       
  1058     ac_prev=includedir ;;
       
  1059   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
       
  1060   | --includ=* | --inclu=* | --incl=* | --inc=*)
       
  1061     includedir=$ac_optarg ;;
       
  1062 
       
  1063   -infodir | --infodir | --infodi | --infod | --info | --inf)
       
  1064     ac_prev=infodir ;;
       
  1065   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
       
  1066     infodir=$ac_optarg ;;
       
  1067 
       
  1068   -libdir | --libdir | --libdi | --libd)
       
  1069     ac_prev=libdir ;;
       
  1070   -libdir=* | --libdir=* | --libdi=* | --libd=*)
       
  1071     libdir=$ac_optarg ;;
       
  1072 
       
  1073   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
       
  1074   | --libexe | --libex | --libe)
       
  1075     ac_prev=libexecdir ;;
       
  1076   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
       
  1077   | --libexe=* | --libex=* | --libe=*)
       
  1078     libexecdir=$ac_optarg ;;
       
  1079 
       
  1080   -localedir | --localedir | --localedi | --localed | --locale)
       
  1081     ac_prev=localedir ;;
       
  1082   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
       
  1083     localedir=$ac_optarg ;;
       
  1084 
       
  1085   -localstatedir | --localstatedir | --localstatedi | --localstated \
       
  1086   | --localstate | --localstat | --localsta | --localst | --locals)
       
  1087     ac_prev=localstatedir ;;
       
  1088   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
       
  1089   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
       
  1090     localstatedir=$ac_optarg ;;
       
  1091 
       
  1092   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
       
  1093     ac_prev=mandir ;;
       
  1094   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
       
  1095     mandir=$ac_optarg ;;
       
  1096 
       
  1097   -nfp | --nfp | --nf)
       
  1098     # Obsolete; use --without-fp.
       
  1099     with_fp=no ;;
       
  1100 
       
  1101   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
       
  1102   | --no-cr | --no-c | -n)
       
  1103     no_create=yes ;;
       
  1104 
       
  1105   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
       
  1106   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
       
  1107     no_recursion=yes ;;
       
  1108 
       
  1109   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
       
  1110   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
       
  1111   | --oldin | --oldi | --old | --ol | --o)
       
  1112     ac_prev=oldincludedir ;;
       
  1113   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
       
  1114   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
       
  1115   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
       
  1116     oldincludedir=$ac_optarg ;;
       
  1117 
       
  1118   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
       
  1119     ac_prev=prefix ;;
       
  1120   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
       
  1121     prefix=$ac_optarg ;;
       
  1122 
       
  1123   -program-prefix | --program-prefix | --program-prefi | --program-pref \
       
  1124   | --program-pre | --program-pr | --program-p)
       
  1125     ac_prev=program_prefix ;;
       
  1126   -program-prefix=* | --program-prefix=* | --program-prefi=* \
       
  1127   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
       
  1128     program_prefix=$ac_optarg ;;
       
  1129 
       
  1130   -program-suffix | --program-suffix | --program-suffi | --program-suff \
       
  1131   | --program-suf | --program-su | --program-s)
       
  1132     ac_prev=program_suffix ;;
       
  1133   -program-suffix=* | --program-suffix=* | --program-suffi=* \
       
  1134   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
       
  1135     program_suffix=$ac_optarg ;;
       
  1136 
       
  1137   -program-transform-name | --program-transform-name \
       
  1138   | --program-transform-nam | --program-transform-na \
       
  1139   | --program-transform-n | --program-transform- \
       
  1140   | --program-transform | --program-transfor \
       
  1141   | --program-transfo | --program-transf \
       
  1142   | --program-trans | --program-tran \
       
  1143   | --progr-tra | --program-tr | --program-t)
       
  1144     ac_prev=program_transform_name ;;
       
  1145   -program-transform-name=* | --program-transform-name=* \
       
  1146   | --program-transform-nam=* | --program-transform-na=* \
       
  1147   | --program-transform-n=* | --program-transform-=* \
       
  1148   | --program-transform=* | --program-transfor=* \
       
  1149   | --program-transfo=* | --program-transf=* \
       
  1150   | --program-trans=* | --program-tran=* \
       
  1151   | --progr-tra=* | --program-tr=* | --program-t=*)
       
  1152     program_transform_name=$ac_optarg ;;
       
  1153 
       
  1154   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
       
  1155     ac_prev=pdfdir ;;
       
  1156   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
       
  1157     pdfdir=$ac_optarg ;;
       
  1158 
       
  1159   -psdir | --psdir | --psdi | --psd | --ps)
       
  1160     ac_prev=psdir ;;
       
  1161   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
       
  1162     psdir=$ac_optarg ;;
       
  1163 
       
  1164   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1165   | -silent | --silent | --silen | --sile | --sil)
       
  1166     silent=yes ;;
       
  1167 
       
  1168   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
       
  1169     ac_prev=sbindir ;;
       
  1170   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
       
  1171   | --sbi=* | --sb=*)
       
  1172     sbindir=$ac_optarg ;;
       
  1173 
       
  1174   -sharedstatedir | --sharedstatedir | --sharedstatedi \
       
  1175   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
       
  1176   | --sharedst | --shareds | --shared | --share | --shar \
       
  1177   | --sha | --sh)
       
  1178     ac_prev=sharedstatedir ;;
       
  1179   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
       
  1180   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
       
  1181   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
       
  1182   | --sha=* | --sh=*)
       
  1183     sharedstatedir=$ac_optarg ;;
       
  1184 
       
  1185   -site | --site | --sit)
       
  1186     ac_prev=site ;;
       
  1187   -site=* | --site=* | --sit=*)
       
  1188     site=$ac_optarg ;;
       
  1189 
       
  1190   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
       
  1191     ac_prev=srcdir ;;
       
  1192   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
       
  1193     srcdir=$ac_optarg ;;
       
  1194 
       
  1195   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
       
  1196   | --syscon | --sysco | --sysc | --sys | --sy)
       
  1197     ac_prev=sysconfdir ;;
       
  1198   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
       
  1199   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
       
  1200     sysconfdir=$ac_optarg ;;
       
  1201 
       
  1202   -target | --target | --targe | --targ | --tar | --ta | --t)
       
  1203     ac_prev=target_alias ;;
       
  1204   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
       
  1205     target_alias=$ac_optarg ;;
       
  1206 
       
  1207   -v | -verbose | --verbose | --verbos | --verbo | --verb)
       
  1208     verbose=yes ;;
       
  1209 
       
  1210   -version | --version | --versio | --versi | --vers | -V)
       
  1211     ac_init_version=: ;;
       
  1212 
       
  1213   -with-* | --with-*)
       
  1214     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
       
  1215     # Reject names that are not valid shell variable names.
       
  1216     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1217       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1218    { (exit 1); exit 1; }; }
       
  1219     ac_package=`echo $ac_package| sed 's/-/_/g'`
       
  1220     eval with_$ac_package=\$ac_optarg ;;
       
  1221 
       
  1222   -without-* | --without-*)
       
  1223     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
       
  1224     # Reject names that are not valid shell variable names.
       
  1225     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       
  1226       { echo "$as_me: error: invalid package name: $ac_package" >&2
       
  1227    { (exit 1); exit 1; }; }
       
  1228     ac_package=`echo $ac_package | sed 's/-/_/g'`
       
  1229     eval with_$ac_package=no ;;
       
  1230 
       
  1231   --x)
       
  1232     # Obsolete; use --with-x.
       
  1233     with_x=yes ;;
       
  1234 
       
  1235   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
       
  1236   | --x-incl | --x-inc | --x-in | --x-i)
       
  1237     ac_prev=x_includes ;;
       
  1238   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
       
  1239   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
       
  1240     x_includes=$ac_optarg ;;
       
  1241 
       
  1242   -x-libraries | --x-libraries | --x-librarie | --x-librari \
       
  1243   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
       
  1244     ac_prev=x_libraries ;;
       
  1245   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
       
  1246   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
       
  1247     x_libraries=$ac_optarg ;;
       
  1248 
       
  1249   -*) { echo "$as_me: error: unrecognized option: $ac_option
       
  1250 Try \`$0 --help' for more information." >&2
       
  1251    { (exit 1); exit 1; }; }
       
  1252     ;;
       
  1253 
       
  1254   *=*)
       
  1255     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
       
  1256     # Reject names that are not valid shell variable names.
       
  1257     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       
  1258       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
       
  1259    { (exit 1); exit 1; }; }
       
  1260     eval $ac_envvar=\$ac_optarg
       
  1261     export $ac_envvar ;;
       
  1262 
       
  1263   *)
       
  1264     # FIXME: should be removed in autoconf 3.0.
       
  1265     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
       
  1266     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       
  1267       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       
  1268     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
       
  1269     ;;
       
  1270 
       
  1271   esac
       
  1272 done
       
  1273 
       
  1274 if test -n "$ac_prev"; then
       
  1275   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
       
  1276   { echo "$as_me: error: missing argument to $ac_option" >&2
       
  1277    { (exit 1); exit 1; }; }
       
  1278 fi
       
  1279 
       
  1280 # Be sure to have absolute directory names.
       
  1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
       
  1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
       
  1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
       
  1284 		libdir localedir mandir
       
  1285 do
       
  1286   eval ac_val=\$$ac_var
       
  1287   case $ac_val in
       
  1288     [\\/$]* | ?:[\\/]* )  continue;;
       
  1289     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
       
  1290   esac
       
  1291   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
       
  1292    { (exit 1); exit 1; }; }
       
  1293 done
       
  1294 
       
  1295 # There might be people who depend on the old broken behavior: `$host'
       
  1296 # used to hold the argument of --host etc.
       
  1297 # FIXME: To remove some day.
       
  1298 build=$build_alias
       
  1299 host=$host_alias
       
  1300 target=$target_alias
       
  1301 
       
  1302 # FIXME: To remove some day.
       
  1303 if test "x$host_alias" != x; then
       
  1304   if test "x$build_alias" = x; then
       
  1305     cross_compiling=maybe
       
  1306     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
       
  1307     If a cross compiler is detected then cross compile mode will be used." >&2
       
  1308   elif test "x$build_alias" != "x$host_alias"; then
       
  1309     cross_compiling=yes
       
  1310   fi
       
  1311 fi
       
  1312 
       
  1313 ac_tool_prefix=
       
  1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
       
  1315 
       
  1316 test "$silent" = yes && exec 6>/dev/null
       
  1317 
       
  1318 
       
  1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
       
  1320 ac_ls_di=`ls -di .` &&
       
  1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
       
  1322   { echo "$as_me: error: Working directory cannot be determined" >&2
       
  1323    { (exit 1); exit 1; }; }
       
  1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
       
  1325   { echo "$as_me: error: pwd does not report name of working directory" >&2
       
  1326    { (exit 1); exit 1; }; }
       
  1327 
       
  1328 
       
  1329 # Find the source files, if location was not specified.
       
  1330 if test -z "$srcdir"; then
       
  1331   ac_srcdir_defaulted=yes
       
  1332   # Try the directory containing this script, then the parent directory.
       
  1333   ac_confdir=`$as_dirname -- "$0" ||
       
  1334 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
  1335 	 X"$0" : 'X\(//\)[^/]' \| \
       
  1336 	 X"$0" : 'X\(//\)$' \| \
       
  1337 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
  1338 echo X"$0" |
       
  1339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
  1340 	    s//\1/
       
  1341 	    q
       
  1342 	  }
       
  1343 	  /^X\(\/\/\)[^/].*/{
       
  1344 	    s//\1/
       
  1345 	    q
       
  1346 	  }
       
  1347 	  /^X\(\/\/\)$/{
       
  1348 	    s//\1/
       
  1349 	    q
       
  1350 	  }
       
  1351 	  /^X\(\/\).*/{
       
  1352 	    s//\1/
       
  1353 	    q
       
  1354 	  }
       
  1355 	  s/.*/./; q'`
       
  1356   srcdir=$ac_confdir
       
  1357   if test ! -r "$srcdir/$ac_unique_file"; then
       
  1358     srcdir=..
       
  1359   fi
       
  1360 else
       
  1361   ac_srcdir_defaulted=no
       
  1362 fi
       
  1363 if test ! -r "$srcdir/$ac_unique_file"; then
       
  1364   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
       
  1365   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
       
  1366    { (exit 1); exit 1; }; }
       
  1367 fi
       
  1368 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
       
  1369 ac_abs_confdir=`(
       
  1370 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
       
  1371    { (exit 1); exit 1; }; }
       
  1372 	pwd)`
       
  1373 # When building in place, set srcdir=.
       
  1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
       
  1375   srcdir=.
       
  1376 fi
       
  1377 # Remove unnecessary trailing slashes from srcdir.
       
  1378 # Double slashes in file names in object file debugging info
       
  1379 # mess up M-x gdb in Emacs.
       
  1380 case $srcdir in
       
  1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
       
  1382 esac
       
  1383 for ac_var in $ac_precious_vars; do
       
  1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
       
  1385   eval ac_env_${ac_var}_value=\$${ac_var}
       
  1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
       
  1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
       
  1388 done
       
  1389 
       
  1390 #
       
  1391 # Report the --help message.
       
  1392 #
       
  1393 if test "$ac_init_help" = "long"; then
       
  1394   # Omit some internal or obsolete options to make the list less imposing.
       
  1395   # This message is too long to be a string in the A/UX 3.1 sh.
       
  1396   cat <<_ACEOF
       
  1397 \`configure' configures this package to adapt to many kinds of systems.
       
  1398 
       
  1399 Usage: $0 [OPTION]... [VAR=VALUE]...
       
  1400 
       
  1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
       
  1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
       
  1403 
       
  1404 Defaults for the options are specified in brackets.
       
  1405 
       
  1406 Configuration:
       
  1407   -h, --help              display this help and exit
       
  1408       --help=short        display options specific to this package
       
  1409       --help=recursive    display the short help of all the included packages
       
  1410   -V, --version           display version information and exit
       
  1411   -q, --quiet, --silent   do not print \`checking...' messages
       
  1412       --cache-file=FILE   cache test results in FILE [disabled]
       
  1413   -C, --config-cache      alias for \`--cache-file=config.cache'
       
  1414   -n, --no-create         do not create output files
       
  1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
       
  1416 
       
  1417 Installation directories:
       
  1418   --prefix=PREFIX         install architecture-independent files in PREFIX
       
  1419 			  [$ac_default_prefix]
       
  1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
       
  1421 			  [PREFIX]
       
  1422 
       
  1423 By default, \`make install' will install all the files in
       
  1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
       
  1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
       
  1426 for instance \`--prefix=\$HOME'.
       
  1427 
       
  1428 For better control, use the options below.
       
  1429 
       
  1430 Fine tuning of the installation directories:
       
  1431   --bindir=DIR           user executables [EPREFIX/bin]
       
  1432   --sbindir=DIR          system admin executables [EPREFIX/sbin]
       
  1433   --libexecdir=DIR       program executables [EPREFIX/libexec]
       
  1434   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
       
  1435   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
       
  1436   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
       
  1437   --libdir=DIR           object code libraries [EPREFIX/lib]
       
  1438   --includedir=DIR       C header files [PREFIX/include]
       
  1439   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
       
  1440   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
       
  1441   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
       
  1442   --infodir=DIR          info documentation [DATAROOTDIR/info]
       
  1443   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
       
  1444   --mandir=DIR           man documentation [DATAROOTDIR/man]
       
  1445   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
       
  1446   --htmldir=DIR          html documentation [DOCDIR]
       
  1447   --dvidir=DIR           dvi documentation [DOCDIR]
       
  1448   --pdfdir=DIR           pdf documentation [DOCDIR]
       
  1449   --psdir=DIR            ps documentation [DOCDIR]
       
  1450 _ACEOF
       
  1451 
       
  1452   cat <<\_ACEOF
       
  1453 
       
  1454 Program names:
       
  1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
       
  1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
       
  1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
       
  1458 
       
  1459 System types:
       
  1460   --build=BUILD     configure for building on BUILD [guessed]
       
  1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
       
  1462 _ACEOF
       
  1463 fi
       
  1464 
       
  1465 if test -n "$ac_init_help"; then
       
  1466 
       
  1467   cat <<\_ACEOF
       
  1468 
       
  1469 Optional Features:
       
  1470   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
       
  1471   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
       
  1472   --enable-debug          turn on debug messages
       
  1473   --disable-dependency-tracking  speeds up one-time build
       
  1474   --enable-dependency-tracking   do not reject slow dependency extractors
       
  1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
       
  1476   --enable-static[=PKGS]  build static libraries [default=yes]
       
  1477   --enable-fast-install[=PKGS]
       
  1478                           optimize for fast installation [default=yes]
       
  1479   --disable-libtool-lock  avoid locking (might break parallel builds)
       
  1480 
       
  1481 Optional Packages:
       
  1482   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
       
  1483   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
       
  1484   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
       
  1485   --with-pic              try to use only PIC/non-PIC objects [default=use
       
  1486                           both]
       
  1487   --with-tags[=TAGS]      include additional configurations [automatic]
       
  1488 
       
  1489 Some influential environment variables:
       
  1490   APACHE2_PREFIX
       
  1491               Base path containing the Apache2 installation
       
  1492   APR0_PREFIX Base path containing the Apache2 Portable Runtime Library,
       
  1493               series 0, installation
       
  1494   APR1_PREFIX Base path containing the Apache2 Portable Runtime Library,
       
  1495               series 1, installation
       
  1496   MYSQL_PREFIX
       
  1497               Base path containing the MySQL installation
       
  1498   APACHE2_INCLUDE
       
  1499               Path to the Apache2 header file directory
       
  1500   APR0_INCLUDE
       
  1501               Path to the Apache2 Portable Runtime Library, series 0, header
       
  1502               file directory
       
  1503   APR1_INCLUDE
       
  1504               Path to the Apache2 Portable Runtime Library, series 1, header
       
  1505               file directory
       
  1506   MYSQL_INCLUDE
       
  1507               Path to the MySQL header directory
       
  1508   MYSQLCLIENT_LIBPATH
       
  1509               Path to the directory containing the MySQL client library
       
  1510   CXX         C++ compiler command
       
  1511   CXXFLAGS    C++ compiler flags
       
  1512   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
       
  1513               nonstandard directory <lib dir>
       
  1514   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
       
  1515               you have headers in a nonstandard directory <include dir>
       
  1516   CC          C compiler command
       
  1517   CFLAGS      C compiler flags
       
  1518   CPP         C preprocessor
       
  1519   CXXCPP      C++ preprocessor
       
  1520   F77         Fortran 77 compiler command
       
  1521   FFLAGS      Fortran 77 compiler flags
       
  1522 
       
  1523 Use these variables to override the choices made by `configure' or to help
       
  1524 it to find libraries and programs with nonstandard names/locations.
       
  1525 
       
  1526 _ACEOF
       
  1527 ac_status=$?
       
  1528 fi
       
  1529 
       
  1530 if test "$ac_init_help" = "recursive"; then
       
  1531   # If there are subdirs, report their specific --help.
       
  1532   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
       
  1533     test -d "$ac_dir" || continue
       
  1534     ac_builddir=.
       
  1535 
       
  1536 case "$ac_dir" in
       
  1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1538 *)
       
  1539   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
  1540   # A ".." for each directory in $ac_dir_suffix.
       
  1541   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
  1542   case $ac_top_builddir_sub in
       
  1543   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
  1544   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
  1545   esac ;;
       
  1546 esac
       
  1547 ac_abs_top_builddir=$ac_pwd
       
  1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
  1549 # for backward compatibility:
       
  1550 ac_top_builddir=$ac_top_build_prefix
       
  1551 
       
  1552 case $srcdir in
       
  1553   .)  # We are building in place.
       
  1554     ac_srcdir=.
       
  1555     ac_top_srcdir=$ac_top_builddir_sub
       
  1556     ac_abs_top_srcdir=$ac_pwd ;;
       
  1557   [\\/]* | ?:[\\/]* )  # Absolute name.
       
  1558     ac_srcdir=$srcdir$ac_dir_suffix;
       
  1559     ac_top_srcdir=$srcdir
       
  1560     ac_abs_top_srcdir=$srcdir ;;
       
  1561   *) # Relative name.
       
  1562     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
  1563     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
  1564     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
  1565 esac
       
  1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
  1567 
       
  1568     cd "$ac_dir" || { ac_status=$?; continue; }
       
  1569     # Check for guested configure.
       
  1570     if test -f "$ac_srcdir/configure.gnu"; then
       
  1571       echo &&
       
  1572       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
       
  1573     elif test -f "$ac_srcdir/configure"; then
       
  1574       echo &&
       
  1575       $SHELL "$ac_srcdir/configure" --help=recursive
       
  1576     else
       
  1577       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
       
  1578     fi || ac_status=$?
       
  1579     cd "$ac_pwd" || { ac_status=$?; break; }
       
  1580   done
       
  1581 fi
       
  1582 
       
  1583 test -n "$ac_init_help" && exit $ac_status
       
  1584 if $ac_init_version; then
       
  1585   cat <<\_ACEOF
       
  1586 configure
       
  1587 generated by GNU Autoconf 2.60
       
  1588 
       
  1589 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
       
  1590 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
       
  1591 This configure script is free software; the Free Software Foundation
       
  1592 gives unlimited permission to copy, distribute and modify it.
       
  1593 _ACEOF
       
  1594   exit
       
  1595 fi
       
  1596 cat >config.log <<_ACEOF
       
  1597 This file contains any messages produced by compilers while
       
  1598 running configure, to aid debugging if configure makes a mistake.
       
  1599 
       
  1600 It was created by $as_me, which was
       
  1601 generated by GNU Autoconf 2.60.  Invocation command line was
       
  1602 
       
  1603   $ $0 $@
       
  1604 
       
  1605 _ACEOF
       
  1606 exec 5>>config.log
       
  1607 {
       
  1608 cat <<_ASUNAME
       
  1609 ## --------- ##
       
  1610 ## Platform. ##
       
  1611 ## --------- ##
       
  1612 
       
  1613 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
       
  1614 uname -m = `(uname -m) 2>/dev/null || echo unknown`
       
  1615 uname -r = `(uname -r) 2>/dev/null || echo unknown`
       
  1616 uname -s = `(uname -s) 2>/dev/null || echo unknown`
       
  1617 uname -v = `(uname -v) 2>/dev/null || echo unknown`
       
  1618 
       
  1619 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
       
  1620 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
       
  1621 
       
  1622 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
       
  1623 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
       
  1624 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
       
  1625 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
       
  1626 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
       
  1627 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
       
  1628 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
       
  1629 
       
  1630 _ASUNAME
       
  1631 
       
  1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1633 for as_dir in $PATH
       
  1634 do
       
  1635   IFS=$as_save_IFS
       
  1636   test -z "$as_dir" && as_dir=.
       
  1637   echo "PATH: $as_dir"
       
  1638 done
       
  1639 IFS=$as_save_IFS
       
  1640 
       
  1641 } >&5
       
  1642 
       
  1643 cat >&5 <<_ACEOF
       
  1644 
       
  1645 
       
  1646 ## ----------- ##
       
  1647 ## Core tests. ##
       
  1648 ## ----------- ##
       
  1649 
       
  1650 _ACEOF
       
  1651 
       
  1652 
       
  1653 # Keep a trace of the command line.
       
  1654 # Strip out --no-create and --no-recursion so they do not pile up.
       
  1655 # Strip out --silent because we don't want to record it for future runs.
       
  1656 # Also quote any args containing shell meta-characters.
       
  1657 # Make two passes to allow for proper duplicate-argument suppression.
       
  1658 ac_configure_args=
       
  1659 ac_configure_args0=
       
  1660 ac_configure_args1=
       
  1661 ac_must_keep_next=false
       
  1662 for ac_pass in 1 2
       
  1663 do
       
  1664   for ac_arg
       
  1665   do
       
  1666     case $ac_arg in
       
  1667     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
       
  1668     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
  1669     | -silent | --silent | --silen | --sile | --sil)
       
  1670       continue ;;
       
  1671     *\'*)
       
  1672       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1673     esac
       
  1674     case $ac_pass in
       
  1675     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
       
  1676     2)
       
  1677       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
       
  1678       if test $ac_must_keep_next = true; then
       
  1679 	ac_must_keep_next=false # Got value, back to normal.
       
  1680       else
       
  1681 	case $ac_arg in
       
  1682 	  *=* | --config-cache | -C | -disable-* | --disable-* \
       
  1683 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
       
  1684 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
       
  1685 	  | -with-* | --with-* | -without-* | --without-* | --x)
       
  1686 	    case "$ac_configure_args0 " in
       
  1687 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
       
  1688 	    esac
       
  1689 	    ;;
       
  1690 	  -* ) ac_must_keep_next=true ;;
       
  1691 	esac
       
  1692       fi
       
  1693       ac_configure_args="$ac_configure_args '$ac_arg'"
       
  1694       ;;
       
  1695     esac
       
  1696   done
       
  1697 done
       
  1698 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
       
  1699 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
       
  1700 
       
  1701 # When interrupted or exit'd, cleanup temporary files, and complete
       
  1702 # config.log.  We remove comments because anyway the quotes in there
       
  1703 # would cause problems or look ugly.
       
  1704 # WARNING: Use '\'' to represent an apostrophe within the trap.
       
  1705 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
       
  1706 trap 'exit_status=$?
       
  1707   # Save into config.log some information that might help in debugging.
       
  1708   {
       
  1709     echo
       
  1710 
       
  1711     cat <<\_ASBOX
       
  1712 ## ---------------- ##
       
  1713 ## Cache variables. ##
       
  1714 ## ---------------- ##
       
  1715 _ASBOX
       
  1716     echo
       
  1717     # The following way of writing the cache mishandles newlines in values,
       
  1718 (
       
  1719   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
       
  1720     eval ac_val=\$$ac_var
       
  1721     case $ac_val in #(
       
  1722     *${as_nl}*)
       
  1723       case $ac_var in #(
       
  1724       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
  1725 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
  1726       esac
       
  1727       case $ac_var in #(
       
  1728       _ | IFS | as_nl) ;; #(
       
  1729       *) $as_unset $ac_var ;;
       
  1730       esac ;;
       
  1731     esac
       
  1732   done
       
  1733   (set) 2>&1 |
       
  1734     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
       
  1735     *${as_nl}ac_space=\ *)
       
  1736       sed -n \
       
  1737 	"s/'\''/'\''\\\\'\'''\''/g;
       
  1738 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
       
  1739       ;; #(
       
  1740     *)
       
  1741       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
  1742       ;;
       
  1743     esac |
       
  1744     sort
       
  1745 )
       
  1746     echo
       
  1747 
       
  1748     cat <<\_ASBOX
       
  1749 ## ----------------- ##
       
  1750 ## Output variables. ##
       
  1751 ## ----------------- ##
       
  1752 _ASBOX
       
  1753     echo
       
  1754     for ac_var in $ac_subst_vars
       
  1755     do
       
  1756       eval ac_val=\$$ac_var
       
  1757       case $ac_val in
       
  1758       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1759       esac
       
  1760       echo "$ac_var='\''$ac_val'\''"
       
  1761     done | sort
       
  1762     echo
       
  1763 
       
  1764     if test -n "$ac_subst_files"; then
       
  1765       cat <<\_ASBOX
       
  1766 ## ------------------- ##
       
  1767 ## File substitutions. ##
       
  1768 ## ------------------- ##
       
  1769 _ASBOX
       
  1770       echo
       
  1771       for ac_var in $ac_subst_files
       
  1772       do
       
  1773 	eval ac_val=\$$ac_var
       
  1774 	case $ac_val in
       
  1775 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       
  1776 	esac
       
  1777 	echo "$ac_var='\''$ac_val'\''"
       
  1778       done | sort
       
  1779       echo
       
  1780     fi
       
  1781 
       
  1782     if test -s confdefs.h; then
       
  1783       cat <<\_ASBOX
       
  1784 ## ----------- ##
       
  1785 ## confdefs.h. ##
       
  1786 ## ----------- ##
       
  1787 _ASBOX
       
  1788       echo
       
  1789       cat confdefs.h
       
  1790       echo
       
  1791     fi
       
  1792     test "$ac_signal" != 0 &&
       
  1793       echo "$as_me: caught signal $ac_signal"
       
  1794     echo "$as_me: exit $exit_status"
       
  1795   } >&5
       
  1796   rm -f core *.core core.conftest.* &&
       
  1797     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
       
  1798     exit $exit_status
       
  1799 ' 0
       
  1800 for ac_signal in 1 2 13 15; do
       
  1801   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
       
  1802 done
       
  1803 ac_signal=0
       
  1804 
       
  1805 # confdefs.h avoids OS command line length limits that DEFS can exceed.
       
  1806 rm -f -r conftest* confdefs.h
       
  1807 
       
  1808 # Predefined preprocessor variables.
       
  1809 
       
  1810 cat >>confdefs.h <<_ACEOF
       
  1811 #define PACKAGE_NAME "$PACKAGE_NAME"
       
  1812 _ACEOF
       
  1813 
       
  1814 
       
  1815 cat >>confdefs.h <<_ACEOF
       
  1816 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
       
  1817 _ACEOF
       
  1818 
       
  1819 
       
  1820 cat >>confdefs.h <<_ACEOF
       
  1821 #define PACKAGE_VERSION "$PACKAGE_VERSION"
       
  1822 _ACEOF
       
  1823 
       
  1824 
       
  1825 cat >>confdefs.h <<_ACEOF
       
  1826 #define PACKAGE_STRING "$PACKAGE_STRING"
       
  1827 _ACEOF
       
  1828 
       
  1829 
       
  1830 cat >>confdefs.h <<_ACEOF
       
  1831 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
       
  1832 _ACEOF
       
  1833 
       
  1834 
       
  1835 # Let the site file select an alternate cache file if it wants to.
       
  1836 # Prefer explicitly selected file to automatically selected ones.
       
  1837 if test -n "$CONFIG_SITE"; then
       
  1838   set x "$CONFIG_SITE"
       
  1839 elif test "x$prefix" != xNONE; then
       
  1840   set x "$prefix/share/config.site" "$prefix/etc/config.site"
       
  1841 else
       
  1842   set x "$ac_default_prefix/share/config.site" \
       
  1843 	"$ac_default_prefix/etc/config.site"
       
  1844 fi
       
  1845 shift
       
  1846 for ac_site_file
       
  1847 do
       
  1848   if test -r "$ac_site_file"; then
       
  1849     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
       
  1850 echo "$as_me: loading site script $ac_site_file" >&6;}
       
  1851     sed 's/^/| /' "$ac_site_file" >&5
       
  1852     . "$ac_site_file"
       
  1853   fi
       
  1854 done
       
  1855 
       
  1856 if test -r "$cache_file"; then
       
  1857   # Some versions of bash will fail to source /dev/null (special
       
  1858   # files actually), so we avoid doing that.
       
  1859   if test -f "$cache_file"; then
       
  1860     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
       
  1861 echo "$as_me: loading cache $cache_file" >&6;}
       
  1862     case $cache_file in
       
  1863       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       
  1864       *)                      . "./$cache_file";;
       
  1865     esac
       
  1866   fi
       
  1867 else
       
  1868   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
       
  1869 echo "$as_me: creating cache $cache_file" >&6;}
       
  1870   >$cache_file
       
  1871 fi
       
  1872 
       
  1873 # Check that the precious variables saved in the cache have kept the same
       
  1874 # value.
       
  1875 ac_cache_corrupted=false
       
  1876 for ac_var in $ac_precious_vars; do
       
  1877   eval ac_old_set=\$ac_cv_env_${ac_var}_set
       
  1878   eval ac_new_set=\$ac_env_${ac_var}_set
       
  1879   eval ac_old_val=\$ac_cv_env_${ac_var}_value
       
  1880   eval ac_new_val=\$ac_env_${ac_var}_value
       
  1881   case $ac_old_set,$ac_new_set in
       
  1882     set,)
       
  1883       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
       
  1884 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       
  1885       ac_cache_corrupted=: ;;
       
  1886     ,set)
       
  1887       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
       
  1888 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       
  1889       ac_cache_corrupted=: ;;
       
  1890     ,);;
       
  1891     *)
       
  1892       if test "x$ac_old_val" != "x$ac_new_val"; then
       
  1893 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
       
  1894 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
       
  1895 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
       
  1896 echo "$as_me:   former value:  $ac_old_val" >&2;}
       
  1897 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
       
  1898 echo "$as_me:   current value: $ac_new_val" >&2;}
       
  1899 	ac_cache_corrupted=:
       
  1900       fi;;
       
  1901   esac
       
  1902   # Pass precious variables to config.status.
       
  1903   if test "$ac_new_set" = set; then
       
  1904     case $ac_new_val in
       
  1905     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
       
  1906     *) ac_arg=$ac_var=$ac_new_val ;;
       
  1907     esac
       
  1908     case " $ac_configure_args " in
       
  1909       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
       
  1910       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
       
  1911     esac
       
  1912   fi
       
  1913 done
       
  1914 if $ac_cache_corrupted; then
       
  1915   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
       
  1916 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
       
  1917   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
       
  1918 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
       
  1919    { (exit 1); exit 1; }; }
       
  1920 fi
       
  1921 
       
  1922 
       
  1923 
       
  1924 
       
  1925 
       
  1926 
       
  1927 
       
  1928 
       
  1929 
       
  1930 
       
  1931 
       
  1932 
       
  1933 
       
  1934 
       
  1935 
       
  1936 
       
  1937 
       
  1938 ac_ext=c
       
  1939 ac_cpp='$CPP $CPPFLAGS'
       
  1940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  1941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  1942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  1943 
       
  1944 
       
  1945 ac_aux_dir=
       
  1946 for ac_dir in autom4 "$srcdir"/autom4; do
       
  1947   if test -f "$ac_dir/install-sh"; then
       
  1948     ac_aux_dir=$ac_dir
       
  1949     ac_install_sh="$ac_aux_dir/install-sh -c"
       
  1950     break
       
  1951   elif test -f "$ac_dir/install.sh"; then
       
  1952     ac_aux_dir=$ac_dir
       
  1953     ac_install_sh="$ac_aux_dir/install.sh -c"
       
  1954     break
       
  1955   elif test -f "$ac_dir/shtool"; then
       
  1956     ac_aux_dir=$ac_dir
       
  1957     ac_install_sh="$ac_aux_dir/shtool install -c"
       
  1958     break
       
  1959   fi
       
  1960 done
       
  1961 if test -z "$ac_aux_dir"; then
       
  1962   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autom4 \"$srcdir\"/autom4" >&5
       
  1963 echo "$as_me: error: cannot find install-sh or install.sh in autom4 \"$srcdir\"/autom4" >&2;}
       
  1964    { (exit 1); exit 1; }; }
       
  1965 fi
       
  1966 
       
  1967 # These three variables are undocumented and unsupported,
       
  1968 # and are intended to be withdrawn in a future Autoconf release.
       
  1969 # They can cause serious problems if a builder's source tree is in a directory
       
  1970 # whose full name contains unusual characters.
       
  1971 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
       
  1972 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
       
  1973 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
       
  1974 
       
  1975 
       
  1976 
       
  1977 am__api_version="1.9"
       
  1978 # Find a good install program.  We prefer a C program (faster),
       
  1979 # so one script is as good as another.  But avoid the broken or
       
  1980 # incompatible versions:
       
  1981 # SysV /etc/install, /usr/sbin/install
       
  1982 # SunOS /usr/etc/install
       
  1983 # IRIX /sbin/install
       
  1984 # AIX /bin/install
       
  1985 # AmigaOS /C/install, which installs bootblocks on floppy discs
       
  1986 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       
  1987 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
       
  1988 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       
  1989 # OS/2's system install, which has a completely different semantic
       
  1990 # ./install, which can be erroneously created by make from ./install.sh.
       
  1991 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
       
  1992 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
       
  1993 if test -z "$INSTALL"; then
       
  1994 if test "${ac_cv_path_install+set}" = set; then
       
  1995   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  1996 else
       
  1997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  1998 for as_dir in $PATH
       
  1999 do
       
  2000   IFS=$as_save_IFS
       
  2001   test -z "$as_dir" && as_dir=.
       
  2002   # Account for people who put trailing slashes in PATH elements.
       
  2003 case $as_dir/ in
       
  2004   ./ | .// | /cC/* | \
       
  2005   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
       
  2006   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
       
  2007   /usr/ucb/* ) ;;
       
  2008   *)
       
  2009     # OSF1 and SCO ODT 3.0 have their own names for install.
       
  2010     # Don't use installbsd from OSF since it installs stuff as root
       
  2011     # by default.
       
  2012     for ac_prog in ginstall scoinst install; do
       
  2013       for ac_exec_ext in '' $ac_executable_extensions; do
       
  2014 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
       
  2015 	  if test $ac_prog = install &&
       
  2016 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  2017 	    # AIX install.  It has an incompatible calling convention.
       
  2018 	    :
       
  2019 	  elif test $ac_prog = install &&
       
  2020 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  2021 	    # program-specific install script used by HP pwplus--don't use.
       
  2022 	    :
       
  2023 	  else
       
  2024 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
       
  2025 	    break 3
       
  2026 	  fi
       
  2027 	fi
       
  2028       done
       
  2029     done
       
  2030     ;;
       
  2031 esac
       
  2032 done
       
  2033 IFS=$as_save_IFS
       
  2034 
       
  2035 
       
  2036 fi
       
  2037   if test "${ac_cv_path_install+set}" = set; then
       
  2038     INSTALL=$ac_cv_path_install
       
  2039   else
       
  2040     # As a last resort, use the slow shell script.  Don't cache a
       
  2041     # value for INSTALL within a source directory, because that will
       
  2042     # break other packages using the cache if that directory is
       
  2043     # removed, or if the value is a relative name.
       
  2044     INSTALL=$ac_install_sh
       
  2045   fi
       
  2046 fi
       
  2047 { echo "$as_me:$LINENO: result: $INSTALL" >&5
       
  2048 echo "${ECHO_T}$INSTALL" >&6; }
       
  2049 
       
  2050 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       
  2051 # It thinks the first close brace ends the variable substitution.
       
  2052 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       
  2053 
       
  2054 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
       
  2055 
       
  2056 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       
  2057 
       
  2058 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
       
  2059 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
       
  2060 # Just in case
       
  2061 sleep 1
       
  2062 echo timestamp > conftest.file
       
  2063 # Do `set' in a subshell so we don't clobber the current shell's
       
  2064 # arguments.  Must try -L first in case configure is actually a
       
  2065 # symlink; some systems play weird games with the mod time of symlinks
       
  2066 # (eg FreeBSD returns the mod time of the symlink's containing
       
  2067 # directory).
       
  2068 if (
       
  2069    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
       
  2070    if test "$*" = "X"; then
       
  2071       # -L didn't work.
       
  2072       set X `ls -t $srcdir/configure conftest.file`
       
  2073    fi
       
  2074    rm -f conftest.file
       
  2075    if test "$*" != "X $srcdir/configure conftest.file" \
       
  2076       && test "$*" != "X conftest.file $srcdir/configure"; then
       
  2077 
       
  2078       # If neither matched, then we have a broken ls.  This can happen
       
  2079       # if, for instance, CONFIG_SHELL is bash and it inherits a
       
  2080       # broken ls alias from the environment.  This has actually
       
  2081       # happened.  Such a system could not be considered "sane".
       
  2082       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
       
  2083 alias in your environment" >&5
       
  2084 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
       
  2085 alias in your environment" >&2;}
       
  2086    { (exit 1); exit 1; }; }
       
  2087    fi
       
  2088 
       
  2089    test "$2" = conftest.file
       
  2090    )
       
  2091 then
       
  2092    # Ok.
       
  2093    :
       
  2094 else
       
  2095    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
       
  2096 Check your system clock" >&5
       
  2097 echo "$as_me: error: newly created file is older than distributed files!
       
  2098 Check your system clock" >&2;}
       
  2099    { (exit 1); exit 1; }; }
       
  2100 fi
       
  2101 { echo "$as_me:$LINENO: result: yes" >&5
       
  2102 echo "${ECHO_T}yes" >&6; }
       
  2103 test "$program_prefix" != NONE &&
       
  2104   program_transform_name="s&^&$program_prefix&;$program_transform_name"
       
  2105 # Use a double $ so make ignores it.
       
  2106 test "$program_suffix" != NONE &&
       
  2107   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
       
  2108 # Double any \ or $.  echo might interpret backslashes.
       
  2109 # By default was `s,x,x', remove it if useless.
       
  2110 cat <<\_ACEOF >conftest.sed
       
  2111 s/[\\$]/&&/g;s/;s,x,x,$//
       
  2112 _ACEOF
       
  2113 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
       
  2114 rm -f conftest.sed
       
  2115 
       
  2116 # expand $ac_aux_dir to an absolute path
       
  2117 am_aux_dir=`cd $ac_aux_dir && pwd`
       
  2118 
       
  2119 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
       
  2120 # Use eval to expand $SHELL
       
  2121 if eval "$MISSING --run true"; then
       
  2122   am_missing_run="$MISSING --run "
       
  2123 else
       
  2124   am_missing_run=
       
  2125   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
       
  2126 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
       
  2127 fi
       
  2128 
       
  2129 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
       
  2130   # We used to keeping the `.' as first argument, in order to
       
  2131   # allow $(mkdir_p) to be used without argument.  As in
       
  2132   #   $(mkdir_p) $(somedir)
       
  2133   # where $(somedir) is conditionally defined.  However this is wrong
       
  2134   # for two reasons:
       
  2135   #  1. if the package is installed by a user who cannot write `.'
       
  2136   #     make install will fail,
       
  2137   #  2. the above comment should most certainly read
       
  2138   #     $(mkdir_p) $(DESTDIR)$(somedir)
       
  2139   #     so it does not work when $(somedir) is undefined and
       
  2140   #     $(DESTDIR) is not.
       
  2141   #  To support the latter case, we have to write
       
  2142   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
       
  2143   #  so the `.' trick is pointless.
       
  2144   mkdir_p='mkdir -p --'
       
  2145 else
       
  2146   # On NextStep and OpenStep, the `mkdir' command does not
       
  2147   # recognize any option.  It will interpret all options as
       
  2148   # directories to create, and then abort because `.' already
       
  2149   # exists.
       
  2150   for d in ./-p ./--version;
       
  2151   do
       
  2152     test -d $d && rmdir $d
       
  2153   done
       
  2154   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
       
  2155   if test -f "$ac_aux_dir/mkinstalldirs"; then
       
  2156     mkdir_p='$(mkinstalldirs)'
       
  2157   else
       
  2158     mkdir_p='$(install_sh) -d'
       
  2159   fi
       
  2160 fi
       
  2161 
       
  2162 for ac_prog in gawk mawk nawk awk
       
  2163 do
       
  2164   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2165 set dummy $ac_prog; ac_word=$2
       
  2166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2168 if test "${ac_cv_prog_AWK+set}" = set; then
       
  2169   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2170 else
       
  2171   if test -n "$AWK"; then
       
  2172   ac_cv_prog_AWK="$AWK" # Let the user override the test.
       
  2173 else
       
  2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2175 for as_dir in $PATH
       
  2176 do
       
  2177   IFS=$as_save_IFS
       
  2178   test -z "$as_dir" && as_dir=.
       
  2179   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2181     ac_cv_prog_AWK="$ac_prog"
       
  2182     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2183     break 2
       
  2184   fi
       
  2185 done
       
  2186 done
       
  2187 IFS=$as_save_IFS
       
  2188 
       
  2189 fi
       
  2190 fi
       
  2191 AWK=$ac_cv_prog_AWK
       
  2192 if test -n "$AWK"; then
       
  2193   { echo "$as_me:$LINENO: result: $AWK" >&5
       
  2194 echo "${ECHO_T}$AWK" >&6; }
       
  2195 else
       
  2196   { echo "$as_me:$LINENO: result: no" >&5
       
  2197 echo "${ECHO_T}no" >&6; }
       
  2198 fi
       
  2199 
       
  2200 
       
  2201   test -n "$AWK" && break
       
  2202 done
       
  2203 
       
  2204 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
       
  2205 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
       
  2206 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
       
  2207 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
       
  2208   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2209 else
       
  2210   cat >conftest.make <<\_ACEOF
       
  2211 SHELL = /bin/sh
       
  2212 all:
       
  2213 	@echo '@@@%%%=$(MAKE)=@@@%%%'
       
  2214 _ACEOF
       
  2215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       
  2216 case `${MAKE-make} -f conftest.make 2>/dev/null` in
       
  2217   *@@@%%%=?*=@@@%%%*)
       
  2218     eval ac_cv_prog_make_${ac_make}_set=yes;;
       
  2219   *)
       
  2220     eval ac_cv_prog_make_${ac_make}_set=no;;
       
  2221 esac
       
  2222 rm -f conftest.make
       
  2223 fi
       
  2224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
       
  2225   { echo "$as_me:$LINENO: result: yes" >&5
       
  2226 echo "${ECHO_T}yes" >&6; }
       
  2227   SET_MAKE=
       
  2228 else
       
  2229   { echo "$as_me:$LINENO: result: no" >&5
       
  2230 echo "${ECHO_T}no" >&6; }
       
  2231   SET_MAKE="MAKE=${MAKE-make}"
       
  2232 fi
       
  2233 
       
  2234 rm -rf .tst 2>/dev/null
       
  2235 mkdir .tst 2>/dev/null
       
  2236 if test -d .tst; then
       
  2237   am__leading_dot=.
       
  2238 else
       
  2239   am__leading_dot=_
       
  2240 fi
       
  2241 rmdir .tst 2>/dev/null
       
  2242 
       
  2243 # test to see if srcdir already configured
       
  2244 if test "`cd $srcdir && pwd`" != "`pwd`" &&
       
  2245    test -f $srcdir/config.status; then
       
  2246   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
       
  2247 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
       
  2248    { (exit 1); exit 1; }; }
       
  2249 fi
       
  2250 
       
  2251 # test whether we have cygpath
       
  2252 if test -z "$CYGPATH_W"; then
       
  2253   if (cygpath --version) >/dev/null 2>/dev/null; then
       
  2254     CYGPATH_W='cygpath -w'
       
  2255   else
       
  2256     CYGPATH_W=echo
       
  2257   fi
       
  2258 fi
       
  2259 
       
  2260 
       
  2261 # Define the identity of the package.
       
  2262  PACKAGE=mod_auth_form
       
  2263  VERSION=2.05
       
  2264 
       
  2265 
       
  2266 cat >>confdefs.h <<_ACEOF
       
  2267 #define PACKAGE "$PACKAGE"
       
  2268 _ACEOF
       
  2269 
       
  2270 
       
  2271 cat >>confdefs.h <<_ACEOF
       
  2272 #define VERSION "$VERSION"
       
  2273 _ACEOF
       
  2274 
       
  2275 # Some tools Automake needs.
       
  2276 
       
  2277 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
       
  2278 
       
  2279 
       
  2280 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
       
  2281 
       
  2282 
       
  2283 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
       
  2284 
       
  2285 
       
  2286 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
       
  2287 
       
  2288 
       
  2289 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
       
  2290 
       
  2291 install_sh=${install_sh-"$am_aux_dir/install-sh"}
       
  2292 
       
  2293 # Installed binaries are usually stripped using `strip' when the user
       
  2294 # run `make install-strip'.  However `strip' might not be the right
       
  2295 # tool to use in cross-compilation environments, therefore Automake
       
  2296 # will honor the `STRIP' environment variable to overrule this program.
       
  2297 if test "$cross_compiling" != no; then
       
  2298   if test -n "$ac_tool_prefix"; then
       
  2299   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
       
  2300 set dummy ${ac_tool_prefix}strip; ac_word=$2
       
  2301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2303 if test "${ac_cv_prog_STRIP+set}" = set; then
       
  2304   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2305 else
       
  2306   if test -n "$STRIP"; then
       
  2307   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
       
  2308 else
       
  2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2310 for as_dir in $PATH
       
  2311 do
       
  2312   IFS=$as_save_IFS
       
  2313   test -z "$as_dir" && as_dir=.
       
  2314   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2316     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
       
  2317     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2318     break 2
       
  2319   fi
       
  2320 done
       
  2321 done
       
  2322 IFS=$as_save_IFS
       
  2323 
       
  2324 fi
       
  2325 fi
       
  2326 STRIP=$ac_cv_prog_STRIP
       
  2327 if test -n "$STRIP"; then
       
  2328   { echo "$as_me:$LINENO: result: $STRIP" >&5
       
  2329 echo "${ECHO_T}$STRIP" >&6; }
       
  2330 else
       
  2331   { echo "$as_me:$LINENO: result: no" >&5
       
  2332 echo "${ECHO_T}no" >&6; }
       
  2333 fi
       
  2334 
       
  2335 
       
  2336 fi
       
  2337 if test -z "$ac_cv_prog_STRIP"; then
       
  2338   ac_ct_STRIP=$STRIP
       
  2339   # Extract the first word of "strip", so it can be a program name with args.
       
  2340 set dummy strip; ac_word=$2
       
  2341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2343 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
       
  2344   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2345 else
       
  2346   if test -n "$ac_ct_STRIP"; then
       
  2347   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
       
  2348 else
       
  2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2350 for as_dir in $PATH
       
  2351 do
       
  2352   IFS=$as_save_IFS
       
  2353   test -z "$as_dir" && as_dir=.
       
  2354   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2356     ac_cv_prog_ac_ct_STRIP="strip"
       
  2357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2358     break 2
       
  2359   fi
       
  2360 done
       
  2361 done
       
  2362 IFS=$as_save_IFS
       
  2363 
       
  2364 fi
       
  2365 fi
       
  2366 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
       
  2367 if test -n "$ac_ct_STRIP"; then
       
  2368   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
       
  2369 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
       
  2370 else
       
  2371   { echo "$as_me:$LINENO: result: no" >&5
       
  2372 echo "${ECHO_T}no" >&6; }
       
  2373 fi
       
  2374 
       
  2375   if test "x$ac_ct_STRIP" = x; then
       
  2376     STRIP=":"
       
  2377   else
       
  2378     case $cross_compiling:$ac_tool_warned in
       
  2379 yes:)
       
  2380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2381 whose name does not start with the host triplet.  If you think this
       
  2382 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2384 whose name does not start with the host triplet.  If you think this
       
  2385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2386 ac_tool_warned=yes ;;
       
  2387 esac
       
  2388     STRIP=$ac_ct_STRIP
       
  2389   fi
       
  2390 else
       
  2391   STRIP="$ac_cv_prog_STRIP"
       
  2392 fi
       
  2393 
       
  2394 fi
       
  2395 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
       
  2396 
       
  2397 # We need awk for the "check" target.  The system "awk" is bad on
       
  2398 # some platforms.
       
  2399 # Always define AMTAR for backward compatibility.
       
  2400 
       
  2401 AMTAR=${AMTAR-"${am_missing_run}tar"}
       
  2402 
       
  2403 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
       
  2404 
       
  2405 
       
  2406 
       
  2407 
       
  2408 
       
  2409 
       
  2410 # Set some argument variables.
       
  2411 
       
  2412 
       
  2413 
       
  2414 
       
  2415 
       
  2416 
       
  2417 
       
  2418 
       
  2419 
       
  2420 if test -z "$APACHE2_PREFIX"; then
       
  2421 	APACHE2_PREFIX=/usr
       
  2422 fi
       
  2423 if test -z "$APR0_PREFIX"; then
       
  2424 	APR0_PREFIX=$APACHE2_PREFIX
       
  2425 fi
       
  2426 if test -z "$APR1_PREFIX"; then
       
  2427 	APR1_PREFIX=$APACHE2_PREFIX
       
  2428 fi
       
  2429 if test -z "$MYSQL_PREFIX"; then
       
  2430 	MYSQL_PREFIX=/usr
       
  2431 fi
       
  2432 if test -z "$APACHE2_INCLUDE"; then
       
  2433 	APACHE2_INCLUDE=$APACHE2_PREFIX/include
       
  2434 fi
       
  2435 if test -z "$APR0_INCLUDE"; then
       
  2436 	APR0_INCLUDE=$APR0_PREFIX/include
       
  2437 fi
       
  2438 if test -z "$APR1_INCLUDE"; then
       
  2439 	APR1_INCLUDE=$APR1_PREFIX/include
       
  2440 fi
       
  2441 if test -z "$MYSQL_INCLUDE"; then
       
  2442 	MYSQL_INCLUDE=$MYSQL_PREFIX/include
       
  2443 fi
       
  2444 if test -z "$MYSQLCLIENT_LIBPATH"; then
       
  2445 	MYSQLCLIENT_LIBPATH=$MYSQL_PREFIX/lib
       
  2446 	MYSQLCLIENT_LIBFLAGS=-L$MYSQLCLIENT_LIBPATH
       
  2447 fi
       
  2448 # Check whether --enable-debug was given.
       
  2449 if test "${enable_debug+set}" = set; then
       
  2450   enableval=$enable_debug; debug=yes
       
  2451 fi
       
  2452 
       
  2453 if test "$debug" = "yes"; then
       
  2454 	cat >>confdefs.h <<\_ACEOF
       
  2455 #define MAF_DEBUG "1"
       
  2456 _ACEOF
       
  2457 
       
  2458 fi
       
  2459 
       
  2460 
       
  2461 
       
  2462 
       
  2463 
       
  2464 
       
  2465 
       
  2466 # Checks for programs.
       
  2467 ac_ext=cpp
       
  2468 ac_cpp='$CXXCPP $CPPFLAGS'
       
  2469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  2470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  2471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  2472 if test -z "$CXX"; then
       
  2473   if test -n "$CCC"; then
       
  2474     CXX=$CCC
       
  2475   else
       
  2476     if test -n "$ac_tool_prefix"; then
       
  2477   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  2478   do
       
  2479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  2480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  2481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2483 if test "${ac_cv_prog_CXX+set}" = set; then
       
  2484   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2485 else
       
  2486   if test -n "$CXX"; then
       
  2487   ac_cv_prog_CXX="$CXX" # Let the user override the test.
       
  2488 else
       
  2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2490 for as_dir in $PATH
       
  2491 do
       
  2492   IFS=$as_save_IFS
       
  2493   test -z "$as_dir" && as_dir=.
       
  2494   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2496     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
       
  2497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2498     break 2
       
  2499   fi
       
  2500 done
       
  2501 done
       
  2502 IFS=$as_save_IFS
       
  2503 
       
  2504 fi
       
  2505 fi
       
  2506 CXX=$ac_cv_prog_CXX
       
  2507 if test -n "$CXX"; then
       
  2508   { echo "$as_me:$LINENO: result: $CXX" >&5
       
  2509 echo "${ECHO_T}$CXX" >&6; }
       
  2510 else
       
  2511   { echo "$as_me:$LINENO: result: no" >&5
       
  2512 echo "${ECHO_T}no" >&6; }
       
  2513 fi
       
  2514 
       
  2515 
       
  2516     test -n "$CXX" && break
       
  2517   done
       
  2518 fi
       
  2519 if test -z "$CXX"; then
       
  2520   ac_ct_CXX=$CXX
       
  2521   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
       
  2522 do
       
  2523   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  2524 set dummy $ac_prog; ac_word=$2
       
  2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  2527 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
       
  2528   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2529 else
       
  2530   if test -n "$ac_ct_CXX"; then
       
  2531   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
       
  2532 else
       
  2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  2534 for as_dir in $PATH
       
  2535 do
       
  2536   IFS=$as_save_IFS
       
  2537   test -z "$as_dir" && as_dir=.
       
  2538   for ac_exec_ext in '' $ac_executable_extensions; do
       
  2539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  2540     ac_cv_prog_ac_ct_CXX="$ac_prog"
       
  2541     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  2542     break 2
       
  2543   fi
       
  2544 done
       
  2545 done
       
  2546 IFS=$as_save_IFS
       
  2547 
       
  2548 fi
       
  2549 fi
       
  2550 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
       
  2551 if test -n "$ac_ct_CXX"; then
       
  2552   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
       
  2553 echo "${ECHO_T}$ac_ct_CXX" >&6; }
       
  2554 else
       
  2555   { echo "$as_me:$LINENO: result: no" >&5
       
  2556 echo "${ECHO_T}no" >&6; }
       
  2557 fi
       
  2558 
       
  2559 
       
  2560   test -n "$ac_ct_CXX" && break
       
  2561 done
       
  2562 
       
  2563   if test "x$ac_ct_CXX" = x; then
       
  2564     CXX="g++"
       
  2565   else
       
  2566     case $cross_compiling:$ac_tool_warned in
       
  2567 yes:)
       
  2568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  2569 whose name does not start with the host triplet.  If you think this
       
  2570 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  2571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  2572 whose name does not start with the host triplet.  If you think this
       
  2573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  2574 ac_tool_warned=yes ;;
       
  2575 esac
       
  2576     CXX=$ac_ct_CXX
       
  2577   fi
       
  2578 fi
       
  2579 
       
  2580   fi
       
  2581 fi
       
  2582 # Provide some information about the compiler.
       
  2583 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
       
  2584 ac_compiler=`set X $ac_compile; echo $2`
       
  2585 { (ac_try="$ac_compiler --version >&5"
       
  2586 case "(($ac_try" in
       
  2587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2588   *) ac_try_echo=$ac_try;;
       
  2589 esac
       
  2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2591   (eval "$ac_compiler --version >&5") 2>&5
       
  2592   ac_status=$?
       
  2593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2594   (exit $ac_status); }
       
  2595 { (ac_try="$ac_compiler -v >&5"
       
  2596 case "(($ac_try" in
       
  2597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2598   *) ac_try_echo=$ac_try;;
       
  2599 esac
       
  2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2601   (eval "$ac_compiler -v >&5") 2>&5
       
  2602   ac_status=$?
       
  2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2604   (exit $ac_status); }
       
  2605 { (ac_try="$ac_compiler -V >&5"
       
  2606 case "(($ac_try" in
       
  2607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2608   *) ac_try_echo=$ac_try;;
       
  2609 esac
       
  2610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2611   (eval "$ac_compiler -V >&5") 2>&5
       
  2612   ac_status=$?
       
  2613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2614   (exit $ac_status); }
       
  2615 
       
  2616 cat >conftest.$ac_ext <<_ACEOF
       
  2617 /* confdefs.h.  */
       
  2618 _ACEOF
       
  2619 cat confdefs.h >>conftest.$ac_ext
       
  2620 cat >>conftest.$ac_ext <<_ACEOF
       
  2621 /* end confdefs.h.  */
       
  2622 
       
  2623 int
       
  2624 main ()
       
  2625 {
       
  2626 
       
  2627   ;
       
  2628   return 0;
       
  2629 }
       
  2630 _ACEOF
       
  2631 ac_clean_files_save=$ac_clean_files
       
  2632 ac_clean_files="$ac_clean_files a.out a.exe b.out"
       
  2633 # Try to create an executable without -o first, disregard a.out.
       
  2634 # It will help us diagnose broken compilers, and finding out an intuition
       
  2635 # of exeext.
       
  2636 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
       
  2637 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
       
  2638 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
       
  2639 #
       
  2640 # List of possible output files, starting from the most likely.
       
  2641 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
       
  2642 # only as a last resort.  b.out is created by i960 compilers.
       
  2643 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
       
  2644 #
       
  2645 # The IRIX 6 linker writes into existing files which may not be
       
  2646 # executable, retaining their permissions.  Remove them first so a
       
  2647 # subsequent execution test works.
       
  2648 ac_rmfiles=
       
  2649 for ac_file in $ac_files
       
  2650 do
       
  2651   case $ac_file in
       
  2652     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2653     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
       
  2654   esac
       
  2655 done
       
  2656 rm -f $ac_rmfiles
       
  2657 
       
  2658 if { (ac_try="$ac_link_default"
       
  2659 case "(($ac_try" in
       
  2660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2661   *) ac_try_echo=$ac_try;;
       
  2662 esac
       
  2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2664   (eval "$ac_link_default") 2>&5
       
  2665   ac_status=$?
       
  2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2667   (exit $ac_status); }; then
       
  2668   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
       
  2669 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
       
  2670 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
       
  2671 # so that the user can short-circuit this test for compilers unknown to
       
  2672 # Autoconf.
       
  2673 for ac_file in $ac_files
       
  2674 do
       
  2675   test -f "$ac_file" || continue
       
  2676   case $ac_file in
       
  2677     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
       
  2678 	;;
       
  2679     [ab].out )
       
  2680 	# We found the default executable, but exeext='' is most
       
  2681 	# certainly right.
       
  2682 	break;;
       
  2683     *.* )
       
  2684         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
       
  2685 	then :; else
       
  2686 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2687 	fi
       
  2688 	# We set ac_cv_exeext here because the later test for it is not
       
  2689 	# safe: cross compilers may not add the suffix if given an `-o'
       
  2690 	# argument, so we may need to know it at that point already.
       
  2691 	# Even if this section looks crufty: it has the advantage of
       
  2692 	# actually working.
       
  2693 	break;;
       
  2694     * )
       
  2695 	break;;
       
  2696   esac
       
  2697 done
       
  2698 test "$ac_cv_exeext" = no && ac_cv_exeext=
       
  2699 
       
  2700 else
       
  2701   echo "$as_me: failed program was:" >&5
       
  2702 sed 's/^/| /' conftest.$ac_ext >&5
       
  2703 
       
  2704 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
       
  2705 See \`config.log' for more details." >&5
       
  2706 echo "$as_me: error: C++ compiler cannot create executables
       
  2707 See \`config.log' for more details." >&2;}
       
  2708    { (exit 77); exit 77; }; }
       
  2709 fi
       
  2710 
       
  2711 ac_exeext=$ac_cv_exeext
       
  2712 { echo "$as_me:$LINENO: result: $ac_file" >&5
       
  2713 echo "${ECHO_T}$ac_file" >&6; }
       
  2714 
       
  2715 # Check that the compiler produces executables we can run.  If not, either
       
  2716 # the compiler is broken, or we cross compile.
       
  2717 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
       
  2718 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
       
  2719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
       
  2720 # If not cross compiling, check that we can run a simple program.
       
  2721 if test "$cross_compiling" != yes; then
       
  2722   if { ac_try='./$ac_file'
       
  2723   { (case "(($ac_try" in
       
  2724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2725   *) ac_try_echo=$ac_try;;
       
  2726 esac
       
  2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2728   (eval "$ac_try") 2>&5
       
  2729   ac_status=$?
       
  2730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2731   (exit $ac_status); }; }; then
       
  2732     cross_compiling=no
       
  2733   else
       
  2734     if test "$cross_compiling" = maybe; then
       
  2735 	cross_compiling=yes
       
  2736     else
       
  2737 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
       
  2738 If you meant to cross compile, use \`--host'.
       
  2739 See \`config.log' for more details." >&5
       
  2740 echo "$as_me: error: cannot run C++ compiled programs.
       
  2741 If you meant to cross compile, use \`--host'.
       
  2742 See \`config.log' for more details." >&2;}
       
  2743    { (exit 1); exit 1; }; }
       
  2744     fi
       
  2745   fi
       
  2746 fi
       
  2747 { echo "$as_me:$LINENO: result: yes" >&5
       
  2748 echo "${ECHO_T}yes" >&6; }
       
  2749 
       
  2750 rm -f a.out a.exe conftest$ac_cv_exeext b.out
       
  2751 ac_clean_files=$ac_clean_files_save
       
  2752 # Check that the compiler produces executables we can run.  If not, either
       
  2753 # the compiler is broken, or we cross compile.
       
  2754 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
       
  2755 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
       
  2756 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
       
  2757 echo "${ECHO_T}$cross_compiling" >&6; }
       
  2758 
       
  2759 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
       
  2760 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
       
  2761 if { (ac_try="$ac_link"
       
  2762 case "(($ac_try" in
       
  2763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2764   *) ac_try_echo=$ac_try;;
       
  2765 esac
       
  2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2767   (eval "$ac_link") 2>&5
       
  2768   ac_status=$?
       
  2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2770   (exit $ac_status); }; then
       
  2771   # If both `conftest.exe' and `conftest' are `present' (well, observable)
       
  2772 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
       
  2773 # work properly (i.e., refer to `conftest.exe'), while it won't with
       
  2774 # `rm'.
       
  2775 for ac_file in conftest.exe conftest conftest.*; do
       
  2776   test -f "$ac_file" || continue
       
  2777   case $ac_file in
       
  2778     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
       
  2779     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
       
  2780 	  break;;
       
  2781     * ) break;;
       
  2782   esac
       
  2783 done
       
  2784 else
       
  2785   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
       
  2786 See \`config.log' for more details." >&5
       
  2787 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
       
  2788 See \`config.log' for more details." >&2;}
       
  2789    { (exit 1); exit 1; }; }
       
  2790 fi
       
  2791 
       
  2792 rm -f conftest$ac_cv_exeext
       
  2793 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
       
  2794 echo "${ECHO_T}$ac_cv_exeext" >&6; }
       
  2795 
       
  2796 rm -f conftest.$ac_ext
       
  2797 EXEEXT=$ac_cv_exeext
       
  2798 ac_exeext=$EXEEXT
       
  2799 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
       
  2800 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
       
  2801 if test "${ac_cv_objext+set}" = set; then
       
  2802   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2803 else
       
  2804   cat >conftest.$ac_ext <<_ACEOF
       
  2805 /* confdefs.h.  */
       
  2806 _ACEOF
       
  2807 cat confdefs.h >>conftest.$ac_ext
       
  2808 cat >>conftest.$ac_ext <<_ACEOF
       
  2809 /* end confdefs.h.  */
       
  2810 
       
  2811 int
       
  2812 main ()
       
  2813 {
       
  2814 
       
  2815   ;
       
  2816   return 0;
       
  2817 }
       
  2818 _ACEOF
       
  2819 rm -f conftest.o conftest.obj
       
  2820 if { (ac_try="$ac_compile"
       
  2821 case "(($ac_try" in
       
  2822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2823   *) ac_try_echo=$ac_try;;
       
  2824 esac
       
  2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2826   (eval "$ac_compile") 2>&5
       
  2827   ac_status=$?
       
  2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2829   (exit $ac_status); }; then
       
  2830   for ac_file in conftest.o conftest.obj conftest.*; do
       
  2831   test -f "$ac_file" || continue;
       
  2832   case $ac_file in
       
  2833     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
       
  2834     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       
  2835        break;;
       
  2836   esac
       
  2837 done
       
  2838 else
       
  2839   echo "$as_me: failed program was:" >&5
       
  2840 sed 's/^/| /' conftest.$ac_ext >&5
       
  2841 
       
  2842 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
       
  2843 See \`config.log' for more details." >&5
       
  2844 echo "$as_me: error: cannot compute suffix of object files: cannot compile
       
  2845 See \`config.log' for more details." >&2;}
       
  2846    { (exit 1); exit 1; }; }
       
  2847 fi
       
  2848 
       
  2849 rm -f conftest.$ac_cv_objext conftest.$ac_ext
       
  2850 fi
       
  2851 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
       
  2852 echo "${ECHO_T}$ac_cv_objext" >&6; }
       
  2853 OBJEXT=$ac_cv_objext
       
  2854 ac_objext=$OBJEXT
       
  2855 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
       
  2856 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
       
  2857 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
       
  2858   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2859 else
       
  2860   cat >conftest.$ac_ext <<_ACEOF
       
  2861 /* confdefs.h.  */
       
  2862 _ACEOF
       
  2863 cat confdefs.h >>conftest.$ac_ext
       
  2864 cat >>conftest.$ac_ext <<_ACEOF
       
  2865 /* end confdefs.h.  */
       
  2866 
       
  2867 int
       
  2868 main ()
       
  2869 {
       
  2870 #ifndef __GNUC__
       
  2871        choke me
       
  2872 #endif
       
  2873 
       
  2874   ;
       
  2875   return 0;
       
  2876 }
       
  2877 _ACEOF
       
  2878 rm -f conftest.$ac_objext
       
  2879 if { (ac_try="$ac_compile"
       
  2880 case "(($ac_try" in
       
  2881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2882   *) ac_try_echo=$ac_try;;
       
  2883 esac
       
  2884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2885   (eval "$ac_compile") 2>conftest.er1
       
  2886   ac_status=$?
       
  2887   grep -v '^ *+' conftest.er1 >conftest.err
       
  2888   rm -f conftest.er1
       
  2889   cat conftest.err >&5
       
  2890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2891   (exit $ac_status); } &&
       
  2892 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2893   { (case "(($ac_try" in
       
  2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2895   *) ac_try_echo=$ac_try;;
       
  2896 esac
       
  2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2898   (eval "$ac_try") 2>&5
       
  2899   ac_status=$?
       
  2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2901   (exit $ac_status); }; } &&
       
  2902 	 { ac_try='test -s conftest.$ac_objext'
       
  2903   { (case "(($ac_try" in
       
  2904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2905   *) ac_try_echo=$ac_try;;
       
  2906 esac
       
  2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2908   (eval "$ac_try") 2>&5
       
  2909   ac_status=$?
       
  2910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2911   (exit $ac_status); }; }; then
       
  2912   ac_compiler_gnu=yes
       
  2913 else
       
  2914   echo "$as_me: failed program was:" >&5
       
  2915 sed 's/^/| /' conftest.$ac_ext >&5
       
  2916 
       
  2917 	ac_compiler_gnu=no
       
  2918 fi
       
  2919 
       
  2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  2921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
       
  2922 
       
  2923 fi
       
  2924 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
       
  2925 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
       
  2926 GXX=`test $ac_compiler_gnu = yes && echo yes`
       
  2927 ac_test_CXXFLAGS=${CXXFLAGS+set}
       
  2928 ac_save_CXXFLAGS=$CXXFLAGS
       
  2929 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
       
  2930 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
       
  2931 if test "${ac_cv_prog_cxx_g+set}" = set; then
       
  2932   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  2933 else
       
  2934   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
       
  2935    ac_cxx_werror_flag=yes
       
  2936    ac_cv_prog_cxx_g=no
       
  2937    CXXFLAGS="-g"
       
  2938    cat >conftest.$ac_ext <<_ACEOF
       
  2939 /* confdefs.h.  */
       
  2940 _ACEOF
       
  2941 cat confdefs.h >>conftest.$ac_ext
       
  2942 cat >>conftest.$ac_ext <<_ACEOF
       
  2943 /* end confdefs.h.  */
       
  2944 
       
  2945 int
       
  2946 main ()
       
  2947 {
       
  2948 
       
  2949   ;
       
  2950   return 0;
       
  2951 }
       
  2952 _ACEOF
       
  2953 rm -f conftest.$ac_objext
       
  2954 if { (ac_try="$ac_compile"
       
  2955 case "(($ac_try" in
       
  2956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2957   *) ac_try_echo=$ac_try;;
       
  2958 esac
       
  2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2960   (eval "$ac_compile") 2>conftest.er1
       
  2961   ac_status=$?
       
  2962   grep -v '^ *+' conftest.er1 >conftest.err
       
  2963   rm -f conftest.er1
       
  2964   cat conftest.err >&5
       
  2965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2966   (exit $ac_status); } &&
       
  2967 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  2968   { (case "(($ac_try" in
       
  2969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2970   *) ac_try_echo=$ac_try;;
       
  2971 esac
       
  2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2973   (eval "$ac_try") 2>&5
       
  2974   ac_status=$?
       
  2975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2976   (exit $ac_status); }; } &&
       
  2977 	 { ac_try='test -s conftest.$ac_objext'
       
  2978   { (case "(($ac_try" in
       
  2979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  2980   *) ac_try_echo=$ac_try;;
       
  2981 esac
       
  2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  2983   (eval "$ac_try") 2>&5
       
  2984   ac_status=$?
       
  2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  2986   (exit $ac_status); }; }; then
       
  2987   ac_cv_prog_cxx_g=yes
       
  2988 else
       
  2989   echo "$as_me: failed program was:" >&5
       
  2990 sed 's/^/| /' conftest.$ac_ext >&5
       
  2991 
       
  2992 	CXXFLAGS=""
       
  2993       cat >conftest.$ac_ext <<_ACEOF
       
  2994 /* confdefs.h.  */
       
  2995 _ACEOF
       
  2996 cat confdefs.h >>conftest.$ac_ext
       
  2997 cat >>conftest.$ac_ext <<_ACEOF
       
  2998 /* end confdefs.h.  */
       
  2999 
       
  3000 int
       
  3001 main ()
       
  3002 {
       
  3003 
       
  3004   ;
       
  3005   return 0;
       
  3006 }
       
  3007 _ACEOF
       
  3008 rm -f conftest.$ac_objext
       
  3009 if { (ac_try="$ac_compile"
       
  3010 case "(($ac_try" in
       
  3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3012   *) ac_try_echo=$ac_try;;
       
  3013 esac
       
  3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3015   (eval "$ac_compile") 2>conftest.er1
       
  3016   ac_status=$?
       
  3017   grep -v '^ *+' conftest.er1 >conftest.err
       
  3018   rm -f conftest.er1
       
  3019   cat conftest.err >&5
       
  3020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3021   (exit $ac_status); } &&
       
  3022 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  3023   { (case "(($ac_try" in
       
  3024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3025   *) ac_try_echo=$ac_try;;
       
  3026 esac
       
  3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3028   (eval "$ac_try") 2>&5
       
  3029   ac_status=$?
       
  3030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3031   (exit $ac_status); }; } &&
       
  3032 	 { ac_try='test -s conftest.$ac_objext'
       
  3033   { (case "(($ac_try" in
       
  3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3035   *) ac_try_echo=$ac_try;;
       
  3036 esac
       
  3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3038   (eval "$ac_try") 2>&5
       
  3039   ac_status=$?
       
  3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3041   (exit $ac_status); }; }; then
       
  3042   :
       
  3043 else
       
  3044   echo "$as_me: failed program was:" >&5
       
  3045 sed 's/^/| /' conftest.$ac_ext >&5
       
  3046 
       
  3047 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  3048 	 CXXFLAGS="-g"
       
  3049 	 cat >conftest.$ac_ext <<_ACEOF
       
  3050 /* confdefs.h.  */
       
  3051 _ACEOF
       
  3052 cat confdefs.h >>conftest.$ac_ext
       
  3053 cat >>conftest.$ac_ext <<_ACEOF
       
  3054 /* end confdefs.h.  */
       
  3055 
       
  3056 int
       
  3057 main ()
       
  3058 {
       
  3059 
       
  3060   ;
       
  3061   return 0;
       
  3062 }
       
  3063 _ACEOF
       
  3064 rm -f conftest.$ac_objext
       
  3065 if { (ac_try="$ac_compile"
       
  3066 case "(($ac_try" in
       
  3067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3068   *) ac_try_echo=$ac_try;;
       
  3069 esac
       
  3070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3071   (eval "$ac_compile") 2>conftest.er1
       
  3072   ac_status=$?
       
  3073   grep -v '^ *+' conftest.er1 >conftest.err
       
  3074   rm -f conftest.er1
       
  3075   cat conftest.err >&5
       
  3076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3077   (exit $ac_status); } &&
       
  3078 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
  3079   { (case "(($ac_try" in
       
  3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3081   *) ac_try_echo=$ac_try;;
       
  3082 esac
       
  3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3084   (eval "$ac_try") 2>&5
       
  3085   ac_status=$?
       
  3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3087   (exit $ac_status); }; } &&
       
  3088 	 { ac_try='test -s conftest.$ac_objext'
       
  3089   { (case "(($ac_try" in
       
  3090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3091   *) ac_try_echo=$ac_try;;
       
  3092 esac
       
  3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3094   (eval "$ac_try") 2>&5
       
  3095   ac_status=$?
       
  3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3097   (exit $ac_status); }; }; then
       
  3098   ac_cv_prog_cxx_g=yes
       
  3099 else
       
  3100   echo "$as_me: failed program was:" >&5
       
  3101 sed 's/^/| /' conftest.$ac_ext >&5
       
  3102 
       
  3103 
       
  3104 fi
       
  3105 
       
  3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3107 fi
       
  3108 
       
  3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3110 fi
       
  3111 
       
  3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3113    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
       
  3114 fi
       
  3115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
       
  3116 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
       
  3117 if test "$ac_test_CXXFLAGS" = set; then
       
  3118   CXXFLAGS=$ac_save_CXXFLAGS
       
  3119 elif test $ac_cv_prog_cxx_g = yes; then
       
  3120   if test "$GXX" = yes; then
       
  3121     CXXFLAGS="-g -O2"
       
  3122   else
       
  3123     CXXFLAGS="-g"
       
  3124   fi
       
  3125 else
       
  3126   if test "$GXX" = yes; then
       
  3127     CXXFLAGS="-O2"
       
  3128   else
       
  3129     CXXFLAGS=
       
  3130   fi
       
  3131 fi
       
  3132 ac_ext=c
       
  3133 ac_cpp='$CPP $CPPFLAGS'
       
  3134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3137 DEPDIR="${am__leading_dot}deps"
       
  3138 
       
  3139 ac_config_commands="$ac_config_commands depfiles"
       
  3140 
       
  3141 
       
  3142 am_make=${MAKE-make}
       
  3143 cat > confinc << 'END'
       
  3144 am__doit:
       
  3145 	@echo done
       
  3146 .PHONY: am__doit
       
  3147 END
       
  3148 # If we don't find an include directive, just comment out the code.
       
  3149 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
       
  3150 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
       
  3151 am__include="#"
       
  3152 am__quote=
       
  3153 _am_result=none
       
  3154 # First try GNU make style include.
       
  3155 echo "include confinc" > confmf
       
  3156 # We grep out `Entering directory' and `Leaving directory'
       
  3157 # messages which can occur if `w' ends up in MAKEFLAGS.
       
  3158 # In particular we don't look at `^make:' because GNU make might
       
  3159 # be invoked under some other name (usually "gmake"), in which
       
  3160 # case it prints its new name instead of `make'.
       
  3161 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
       
  3162    am__include=include
       
  3163    am__quote=
       
  3164    _am_result=GNU
       
  3165 fi
       
  3166 # Now try BSD make style include.
       
  3167 if test "$am__include" = "#"; then
       
  3168    echo '.include "confinc"' > confmf
       
  3169    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
       
  3170       am__include=.include
       
  3171       am__quote="\""
       
  3172       _am_result=BSD
       
  3173    fi
       
  3174 fi
       
  3175 
       
  3176 
       
  3177 { echo "$as_me:$LINENO: result: $_am_result" >&5
       
  3178 echo "${ECHO_T}$_am_result" >&6; }
       
  3179 rm -f confinc confmf
       
  3180 
       
  3181 # Check whether --enable-dependency-tracking was given.
       
  3182 if test "${enable_dependency_tracking+set}" = set; then
       
  3183   enableval=$enable_dependency_tracking;
       
  3184 fi
       
  3185 
       
  3186 if test "x$enable_dependency_tracking" != xno; then
       
  3187   am_depcomp="$ac_aux_dir/depcomp"
       
  3188   AMDEPBACKSLASH='\'
       
  3189 fi
       
  3190 
       
  3191 
       
  3192 if test "x$enable_dependency_tracking" != xno; then
       
  3193   AMDEP_TRUE=
       
  3194   AMDEP_FALSE='#'
       
  3195 else
       
  3196   AMDEP_TRUE='#'
       
  3197   AMDEP_FALSE=
       
  3198 fi
       
  3199 
       
  3200 
       
  3201 
       
  3202 
       
  3203 depcc="$CXX"  am_compiler_list=
       
  3204 
       
  3205 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
       
  3206 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
       
  3207 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
       
  3208   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3209 else
       
  3210   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
       
  3211   # We make a subdir and do the tests there.  Otherwise we can end up
       
  3212   # making bogus files that we don't know about and never remove.  For
       
  3213   # instance it was reported that on HP-UX the gcc test will end up
       
  3214   # making a dummy file named `D' -- because `-MD' means `put the output
       
  3215   # in D'.
       
  3216   mkdir conftest.dir
       
  3217   # Copy depcomp to subdir because otherwise we won't find it if we're
       
  3218   # using a relative directory.
       
  3219   cp "$am_depcomp" conftest.dir
       
  3220   cd conftest.dir
       
  3221   # We will build objects and dependencies in a subdirectory because
       
  3222   # it helps to detect inapplicable dependency modes.  For instance
       
  3223   # both Tru64's cc and ICC support -MD to output dependencies as a
       
  3224   # side effect of compilation, but ICC will put the dependencies in
       
  3225   # the current directory while Tru64 will put them in the object
       
  3226   # directory.
       
  3227   mkdir sub
       
  3228 
       
  3229   am_cv_CXX_dependencies_compiler_type=none
       
  3230   if test "$am_compiler_list" = ""; then
       
  3231      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
       
  3232   fi
       
  3233   for depmode in $am_compiler_list; do
       
  3234     # Setup a source with many dependencies, because some compilers
       
  3235     # like to wrap large dependency lists on column 80 (with \), and
       
  3236     # we should not choose a depcomp mode which is confused by this.
       
  3237     #
       
  3238     # We need to recreate these files for each test, as the compiler may
       
  3239     # overwrite some of them when testing with obscure command lines.
       
  3240     # This happens at least with the AIX C compiler.
       
  3241     : > sub/conftest.c
       
  3242     for i in 1 2 3 4 5 6; do
       
  3243       echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
  3244       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
  3245       # Solaris 8's {/usr,}/bin/sh.
       
  3246       touch sub/conftst$i.h
       
  3247     done
       
  3248     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
  3249 
       
  3250     case $depmode in
       
  3251     nosideeffect)
       
  3252       # after this tag, mechanisms are not by side-effect, so they'll
       
  3253       # only be used when explicitly requested
       
  3254       if test "x$enable_dependency_tracking" = xyes; then
       
  3255 	continue
       
  3256       else
       
  3257 	break
       
  3258       fi
       
  3259       ;;
       
  3260     none) break ;;
       
  3261     esac
       
  3262     # We check with `-c' and `-o' for the sake of the "dashmstdout"
       
  3263     # mode.  It turns out that the SunPro C++ compiler does not properly
       
  3264     # handle `-M -o', and we need to detect this.
       
  3265     if depmode=$depmode \
       
  3266        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
       
  3267        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       
  3268        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
       
  3269          >/dev/null 2>conftest.err &&
       
  3270        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       
  3271        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
       
  3272        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
       
  3273       # icc doesn't choke on unknown options, it will just issue warnings
       
  3274       # or remarks (even with -Werror).  So we grep stderr for any message
       
  3275       # that says an option was ignored or not supported.
       
  3276       # When given -MP, icc 7.0 and 7.1 complain thusly:
       
  3277       #   icc: Command line warning: ignoring option '-M'; no argument required
       
  3278       # The diagnosis changed in icc 8.0:
       
  3279       #   icc: Command line remark: option '-MP' not supported
       
  3280       if (grep 'ignoring option' conftest.err ||
       
  3281           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
       
  3282         am_cv_CXX_dependencies_compiler_type=$depmode
       
  3283         break
       
  3284       fi
       
  3285     fi
       
  3286   done
       
  3287 
       
  3288   cd ..
       
  3289   rm -rf conftest.dir
       
  3290 else
       
  3291   am_cv_CXX_dependencies_compiler_type=none
       
  3292 fi
       
  3293 
       
  3294 fi
       
  3295 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
       
  3296 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
       
  3297 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
       
  3298 
       
  3299 
       
  3300 
       
  3301 if
       
  3302   test "x$enable_dependency_tracking" != xno \
       
  3303   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
       
  3304   am__fastdepCXX_TRUE=
       
  3305   am__fastdepCXX_FALSE='#'
       
  3306 else
       
  3307   am__fastdepCXX_TRUE='#'
       
  3308   am__fastdepCXX_FALSE=
       
  3309 fi
       
  3310 
       
  3311 
       
  3312 ac_ext=c
       
  3313 ac_cpp='$CPP $CPPFLAGS'
       
  3314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  3315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  3316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  3317 if test -n "$ac_tool_prefix"; then
       
  3318   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
       
  3319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
       
  3320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3322 if test "${ac_cv_prog_CC+set}" = set; then
       
  3323   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3324 else
       
  3325   if test -n "$CC"; then
       
  3326   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3327 else
       
  3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3329 for as_dir in $PATH
       
  3330 do
       
  3331   IFS=$as_save_IFS
       
  3332   test -z "$as_dir" && as_dir=.
       
  3333   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3335     ac_cv_prog_CC="${ac_tool_prefix}gcc"
       
  3336     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3337     break 2
       
  3338   fi
       
  3339 done
       
  3340 done
       
  3341 IFS=$as_save_IFS
       
  3342 
       
  3343 fi
       
  3344 fi
       
  3345 CC=$ac_cv_prog_CC
       
  3346 if test -n "$CC"; then
       
  3347   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3348 echo "${ECHO_T}$CC" >&6; }
       
  3349 else
       
  3350   { echo "$as_me:$LINENO: result: no" >&5
       
  3351 echo "${ECHO_T}no" >&6; }
       
  3352 fi
       
  3353 
       
  3354 
       
  3355 fi
       
  3356 if test -z "$ac_cv_prog_CC"; then
       
  3357   ac_ct_CC=$CC
       
  3358   # Extract the first word of "gcc", so it can be a program name with args.
       
  3359 set dummy gcc; ac_word=$2
       
  3360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3362 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  3363   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3364 else
       
  3365   if test -n "$ac_ct_CC"; then
       
  3366   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  3367 else
       
  3368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3369 for as_dir in $PATH
       
  3370 do
       
  3371   IFS=$as_save_IFS
       
  3372   test -z "$as_dir" && as_dir=.
       
  3373   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3375     ac_cv_prog_ac_ct_CC="gcc"
       
  3376     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3377     break 2
       
  3378   fi
       
  3379 done
       
  3380 done
       
  3381 IFS=$as_save_IFS
       
  3382 
       
  3383 fi
       
  3384 fi
       
  3385 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  3386 if test -n "$ac_ct_CC"; then
       
  3387   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  3388 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  3389 else
       
  3390   { echo "$as_me:$LINENO: result: no" >&5
       
  3391 echo "${ECHO_T}no" >&6; }
       
  3392 fi
       
  3393 
       
  3394   if test "x$ac_ct_CC" = x; then
       
  3395     CC=""
       
  3396   else
       
  3397     case $cross_compiling:$ac_tool_warned in
       
  3398 yes:)
       
  3399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  3400 whose name does not start with the host triplet.  If you think this
       
  3401 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  3402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  3403 whose name does not start with the host triplet.  If you think this
       
  3404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  3405 ac_tool_warned=yes ;;
       
  3406 esac
       
  3407     CC=$ac_ct_CC
       
  3408   fi
       
  3409 else
       
  3410   CC="$ac_cv_prog_CC"
       
  3411 fi
       
  3412 
       
  3413 if test -z "$CC"; then
       
  3414           if test -n "$ac_tool_prefix"; then
       
  3415     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
       
  3416 set dummy ${ac_tool_prefix}cc; ac_word=$2
       
  3417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3419 if test "${ac_cv_prog_CC+set}" = set; then
       
  3420   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3421 else
       
  3422   if test -n "$CC"; then
       
  3423   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3424 else
       
  3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3426 for as_dir in $PATH
       
  3427 do
       
  3428   IFS=$as_save_IFS
       
  3429   test -z "$as_dir" && as_dir=.
       
  3430   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3432     ac_cv_prog_CC="${ac_tool_prefix}cc"
       
  3433     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3434     break 2
       
  3435   fi
       
  3436 done
       
  3437 done
       
  3438 IFS=$as_save_IFS
       
  3439 
       
  3440 fi
       
  3441 fi
       
  3442 CC=$ac_cv_prog_CC
       
  3443 if test -n "$CC"; then
       
  3444   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3445 echo "${ECHO_T}$CC" >&6; }
       
  3446 else
       
  3447   { echo "$as_me:$LINENO: result: no" >&5
       
  3448 echo "${ECHO_T}no" >&6; }
       
  3449 fi
       
  3450 
       
  3451 
       
  3452   fi
       
  3453 fi
       
  3454 if test -z "$CC"; then
       
  3455   # Extract the first word of "cc", so it can be a program name with args.
       
  3456 set dummy cc; ac_word=$2
       
  3457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3459 if test "${ac_cv_prog_CC+set}" = set; then
       
  3460   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3461 else
       
  3462   if test -n "$CC"; then
       
  3463   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3464 else
       
  3465   ac_prog_rejected=no
       
  3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3467 for as_dir in $PATH
       
  3468 do
       
  3469   IFS=$as_save_IFS
       
  3470   test -z "$as_dir" && as_dir=.
       
  3471   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3472   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3473     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       
  3474        ac_prog_rejected=yes
       
  3475        continue
       
  3476      fi
       
  3477     ac_cv_prog_CC="cc"
       
  3478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3479     break 2
       
  3480   fi
       
  3481 done
       
  3482 done
       
  3483 IFS=$as_save_IFS
       
  3484 
       
  3485 if test $ac_prog_rejected = yes; then
       
  3486   # We found a bogon in the path, so make sure we never use it.
       
  3487   set dummy $ac_cv_prog_CC
       
  3488   shift
       
  3489   if test $# != 0; then
       
  3490     # We chose a different compiler from the bogus one.
       
  3491     # However, it has the same basename, so the bogon will be chosen
       
  3492     # first if we set CC to just the basename; use the full file name.
       
  3493     shift
       
  3494     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
       
  3495   fi
       
  3496 fi
       
  3497 fi
       
  3498 fi
       
  3499 CC=$ac_cv_prog_CC
       
  3500 if test -n "$CC"; then
       
  3501   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3502 echo "${ECHO_T}$CC" >&6; }
       
  3503 else
       
  3504   { echo "$as_me:$LINENO: result: no" >&5
       
  3505 echo "${ECHO_T}no" >&6; }
       
  3506 fi
       
  3507 
       
  3508 
       
  3509 fi
       
  3510 if test -z "$CC"; then
       
  3511   if test -n "$ac_tool_prefix"; then
       
  3512   for ac_prog in cl.exe
       
  3513   do
       
  3514     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  3515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  3516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3518 if test "${ac_cv_prog_CC+set}" = set; then
       
  3519   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3520 else
       
  3521   if test -n "$CC"; then
       
  3522   ac_cv_prog_CC="$CC" # Let the user override the test.
       
  3523 else
       
  3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3525 for as_dir in $PATH
       
  3526 do
       
  3527   IFS=$as_save_IFS
       
  3528   test -z "$as_dir" && as_dir=.
       
  3529   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3531     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
       
  3532     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3533     break 2
       
  3534   fi
       
  3535 done
       
  3536 done
       
  3537 IFS=$as_save_IFS
       
  3538 
       
  3539 fi
       
  3540 fi
       
  3541 CC=$ac_cv_prog_CC
       
  3542 if test -n "$CC"; then
       
  3543   { echo "$as_me:$LINENO: result: $CC" >&5
       
  3544 echo "${ECHO_T}$CC" >&6; }
       
  3545 else
       
  3546   { echo "$as_me:$LINENO: result: no" >&5
       
  3547 echo "${ECHO_T}no" >&6; }
       
  3548 fi
       
  3549 
       
  3550 
       
  3551     test -n "$CC" && break
       
  3552   done
       
  3553 fi
       
  3554 if test -z "$CC"; then
       
  3555   ac_ct_CC=$CC
       
  3556   for ac_prog in cl.exe
       
  3557 do
       
  3558   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  3559 set dummy $ac_prog; ac_word=$2
       
  3560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  3561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  3562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
       
  3563   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3564 else
       
  3565   if test -n "$ac_ct_CC"; then
       
  3566   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
       
  3567 else
       
  3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  3569 for as_dir in $PATH
       
  3570 do
       
  3571   IFS=$as_save_IFS
       
  3572   test -z "$as_dir" && as_dir=.
       
  3573   for ac_exec_ext in '' $ac_executable_extensions; do
       
  3574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  3575     ac_cv_prog_ac_ct_CC="$ac_prog"
       
  3576     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  3577     break 2
       
  3578   fi
       
  3579 done
       
  3580 done
       
  3581 IFS=$as_save_IFS
       
  3582 
       
  3583 fi
       
  3584 fi
       
  3585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
       
  3586 if test -n "$ac_ct_CC"; then
       
  3587   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
       
  3588 echo "${ECHO_T}$ac_ct_CC" >&6; }
       
  3589 else
       
  3590   { echo "$as_me:$LINENO: result: no" >&5
       
  3591 echo "${ECHO_T}no" >&6; }
       
  3592 fi
       
  3593 
       
  3594 
       
  3595   test -n "$ac_ct_CC" && break
       
  3596 done
       
  3597 
       
  3598   if test "x$ac_ct_CC" = x; then
       
  3599     CC=""
       
  3600   else
       
  3601     case $cross_compiling:$ac_tool_warned in
       
  3602 yes:)
       
  3603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  3604 whose name does not start with the host triplet.  If you think this
       
  3605 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  3607 whose name does not start with the host triplet.  If you think this
       
  3608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  3609 ac_tool_warned=yes ;;
       
  3610 esac
       
  3611     CC=$ac_ct_CC
       
  3612   fi
       
  3613 fi
       
  3614 
       
  3615 fi
       
  3616 
       
  3617 
       
  3618 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
       
  3619 See \`config.log' for more details." >&5
       
  3620 echo "$as_me: error: no acceptable C compiler found in \$PATH
       
  3621 See \`config.log' for more details." >&2;}
       
  3622    { (exit 1); exit 1; }; }
       
  3623 
       
  3624 # Provide some information about the compiler.
       
  3625 echo "$as_me:$LINENO: checking for C compiler version" >&5
       
  3626 ac_compiler=`set X $ac_compile; echo $2`
       
  3627 { (ac_try="$ac_compiler --version >&5"
       
  3628 case "(($ac_try" in
       
  3629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3630   *) ac_try_echo=$ac_try;;
       
  3631 esac
       
  3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3633   (eval "$ac_compiler --version >&5") 2>&5
       
  3634   ac_status=$?
       
  3635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3636   (exit $ac_status); }
       
  3637 { (ac_try="$ac_compiler -v >&5"
       
  3638 case "(($ac_try" in
       
  3639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3640   *) ac_try_echo=$ac_try;;
       
  3641 esac
       
  3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3643   (eval "$ac_compiler -v >&5") 2>&5
       
  3644   ac_status=$?
       
  3645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3646   (exit $ac_status); }
       
  3647 { (ac_try="$ac_compiler -V >&5"
       
  3648 case "(($ac_try" in
       
  3649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3650   *) ac_try_echo=$ac_try;;
       
  3651 esac
       
  3652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3653   (eval "$ac_compiler -V >&5") 2>&5
       
  3654   ac_status=$?
       
  3655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3656   (exit $ac_status); }
       
  3657 
       
  3658 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
       
  3659 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
       
  3660 if test "${ac_cv_c_compiler_gnu+set}" = set; then
       
  3661   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3662 else
       
  3663   cat >conftest.$ac_ext <<_ACEOF
       
  3664 /* confdefs.h.  */
       
  3665 _ACEOF
       
  3666 cat confdefs.h >>conftest.$ac_ext
       
  3667 cat >>conftest.$ac_ext <<_ACEOF
       
  3668 /* end confdefs.h.  */
       
  3669 
       
  3670 int
       
  3671 main ()
       
  3672 {
       
  3673 #ifndef __GNUC__
       
  3674        choke me
       
  3675 #endif
       
  3676 
       
  3677   ;
       
  3678   return 0;
       
  3679 }
       
  3680 _ACEOF
       
  3681 rm -f conftest.$ac_objext
       
  3682 if { (ac_try="$ac_compile"
       
  3683 case "(($ac_try" in
       
  3684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3685   *) ac_try_echo=$ac_try;;
       
  3686 esac
       
  3687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3688   (eval "$ac_compile") 2>conftest.er1
       
  3689   ac_status=$?
       
  3690   grep -v '^ *+' conftest.er1 >conftest.err
       
  3691   rm -f conftest.er1
       
  3692   cat conftest.err >&5
       
  3693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3694   (exit $ac_status); } &&
       
  3695 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3696   { (case "(($ac_try" in
       
  3697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3698   *) ac_try_echo=$ac_try;;
       
  3699 esac
       
  3700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3701   (eval "$ac_try") 2>&5
       
  3702   ac_status=$?
       
  3703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3704   (exit $ac_status); }; } &&
       
  3705 	 { ac_try='test -s conftest.$ac_objext'
       
  3706   { (case "(($ac_try" in
       
  3707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3708   *) ac_try_echo=$ac_try;;
       
  3709 esac
       
  3710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3711   (eval "$ac_try") 2>&5
       
  3712   ac_status=$?
       
  3713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3714   (exit $ac_status); }; }; then
       
  3715   ac_compiler_gnu=yes
       
  3716 else
       
  3717   echo "$as_me: failed program was:" >&5
       
  3718 sed 's/^/| /' conftest.$ac_ext >&5
       
  3719 
       
  3720 	ac_compiler_gnu=no
       
  3721 fi
       
  3722 
       
  3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
       
  3725 
       
  3726 fi
       
  3727 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
       
  3728 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
       
  3729 GCC=`test $ac_compiler_gnu = yes && echo yes`
       
  3730 ac_test_CFLAGS=${CFLAGS+set}
       
  3731 ac_save_CFLAGS=$CFLAGS
       
  3732 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
       
  3733 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
       
  3734 if test "${ac_cv_prog_cc_g+set}" = set; then
       
  3735   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3736 else
       
  3737   ac_save_c_werror_flag=$ac_c_werror_flag
       
  3738    ac_c_werror_flag=yes
       
  3739    ac_cv_prog_cc_g=no
       
  3740    CFLAGS="-g"
       
  3741    cat >conftest.$ac_ext <<_ACEOF
       
  3742 /* confdefs.h.  */
       
  3743 _ACEOF
       
  3744 cat confdefs.h >>conftest.$ac_ext
       
  3745 cat >>conftest.$ac_ext <<_ACEOF
       
  3746 /* end confdefs.h.  */
       
  3747 
       
  3748 int
       
  3749 main ()
       
  3750 {
       
  3751 
       
  3752   ;
       
  3753   return 0;
       
  3754 }
       
  3755 _ACEOF
       
  3756 rm -f conftest.$ac_objext
       
  3757 if { (ac_try="$ac_compile"
       
  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_compile") 2>conftest.er1
       
  3764   ac_status=$?
       
  3765   grep -v '^ *+' conftest.er1 >conftest.err
       
  3766   rm -f conftest.er1
       
  3767   cat conftest.err >&5
       
  3768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3769   (exit $ac_status); } &&
       
  3770 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3771   { (case "(($ac_try" in
       
  3772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3773   *) ac_try_echo=$ac_try;;
       
  3774 esac
       
  3775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3776   (eval "$ac_try") 2>&5
       
  3777   ac_status=$?
       
  3778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3779   (exit $ac_status); }; } &&
       
  3780 	 { ac_try='test -s conftest.$ac_objext'
       
  3781   { (case "(($ac_try" in
       
  3782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3783   *) ac_try_echo=$ac_try;;
       
  3784 esac
       
  3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3786   (eval "$ac_try") 2>&5
       
  3787   ac_status=$?
       
  3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3789   (exit $ac_status); }; }; then
       
  3790   ac_cv_prog_cc_g=yes
       
  3791 else
       
  3792   echo "$as_me: failed program was:" >&5
       
  3793 sed 's/^/| /' conftest.$ac_ext >&5
       
  3794 
       
  3795 	CFLAGS=""
       
  3796       cat >conftest.$ac_ext <<_ACEOF
       
  3797 /* confdefs.h.  */
       
  3798 _ACEOF
       
  3799 cat confdefs.h >>conftest.$ac_ext
       
  3800 cat >>conftest.$ac_ext <<_ACEOF
       
  3801 /* end confdefs.h.  */
       
  3802 
       
  3803 int
       
  3804 main ()
       
  3805 {
       
  3806 
       
  3807   ;
       
  3808   return 0;
       
  3809 }
       
  3810 _ACEOF
       
  3811 rm -f conftest.$ac_objext
       
  3812 if { (ac_try="$ac_compile"
       
  3813 case "(($ac_try" in
       
  3814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3815   *) ac_try_echo=$ac_try;;
       
  3816 esac
       
  3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3818   (eval "$ac_compile") 2>conftest.er1
       
  3819   ac_status=$?
       
  3820   grep -v '^ *+' conftest.er1 >conftest.err
       
  3821   rm -f conftest.er1
       
  3822   cat conftest.err >&5
       
  3823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3824   (exit $ac_status); } &&
       
  3825 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3826   { (case "(($ac_try" in
       
  3827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3828   *) ac_try_echo=$ac_try;;
       
  3829 esac
       
  3830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3831   (eval "$ac_try") 2>&5
       
  3832   ac_status=$?
       
  3833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3834   (exit $ac_status); }; } &&
       
  3835 	 { ac_try='test -s conftest.$ac_objext'
       
  3836   { (case "(($ac_try" in
       
  3837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3838   *) ac_try_echo=$ac_try;;
       
  3839 esac
       
  3840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3841   (eval "$ac_try") 2>&5
       
  3842   ac_status=$?
       
  3843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3844   (exit $ac_status); }; }; then
       
  3845   :
       
  3846 else
       
  3847   echo "$as_me: failed program was:" >&5
       
  3848 sed 's/^/| /' conftest.$ac_ext >&5
       
  3849 
       
  3850 	ac_c_werror_flag=$ac_save_c_werror_flag
       
  3851 	 CFLAGS="-g"
       
  3852 	 cat >conftest.$ac_ext <<_ACEOF
       
  3853 /* confdefs.h.  */
       
  3854 _ACEOF
       
  3855 cat confdefs.h >>conftest.$ac_ext
       
  3856 cat >>conftest.$ac_ext <<_ACEOF
       
  3857 /* end confdefs.h.  */
       
  3858 
       
  3859 int
       
  3860 main ()
       
  3861 {
       
  3862 
       
  3863   ;
       
  3864   return 0;
       
  3865 }
       
  3866 _ACEOF
       
  3867 rm -f conftest.$ac_objext
       
  3868 if { (ac_try="$ac_compile"
       
  3869 case "(($ac_try" in
       
  3870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3871   *) ac_try_echo=$ac_try;;
       
  3872 esac
       
  3873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3874   (eval "$ac_compile") 2>conftest.er1
       
  3875   ac_status=$?
       
  3876   grep -v '^ *+' conftest.er1 >conftest.err
       
  3877   rm -f conftest.er1
       
  3878   cat conftest.err >&5
       
  3879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3880   (exit $ac_status); } &&
       
  3881 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  3882   { (case "(($ac_try" in
       
  3883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3884   *) ac_try_echo=$ac_try;;
       
  3885 esac
       
  3886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3887   (eval "$ac_try") 2>&5
       
  3888   ac_status=$?
       
  3889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3890   (exit $ac_status); }; } &&
       
  3891 	 { ac_try='test -s conftest.$ac_objext'
       
  3892   { (case "(($ac_try" in
       
  3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  3894   *) ac_try_echo=$ac_try;;
       
  3895 esac
       
  3896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  3897   (eval "$ac_try") 2>&5
       
  3898   ac_status=$?
       
  3899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  3900   (exit $ac_status); }; }; then
       
  3901   ac_cv_prog_cc_g=yes
       
  3902 else
       
  3903   echo "$as_me: failed program was:" >&5
       
  3904 sed 's/^/| /' conftest.$ac_ext >&5
       
  3905 
       
  3906 
       
  3907 fi
       
  3908 
       
  3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3910 fi
       
  3911 
       
  3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3913 fi
       
  3914 
       
  3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  3916    ac_c_werror_flag=$ac_save_c_werror_flag
       
  3917 fi
       
  3918 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
       
  3919 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
       
  3920 if test "$ac_test_CFLAGS" = set; then
       
  3921   CFLAGS=$ac_save_CFLAGS
       
  3922 elif test $ac_cv_prog_cc_g = yes; then
       
  3923   if test "$GCC" = yes; then
       
  3924     CFLAGS="-g -O2"
       
  3925   else
       
  3926     CFLAGS="-g"
       
  3927   fi
       
  3928 else
       
  3929   if test "$GCC" = yes; then
       
  3930     CFLAGS="-O2"
       
  3931   else
       
  3932     CFLAGS=
       
  3933   fi
       
  3934 fi
       
  3935 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
       
  3936 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
       
  3937 if test "${ac_cv_prog_cc_c89+set}" = set; then
       
  3938   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  3939 else
       
  3940   ac_cv_prog_cc_c89=no
       
  3941 ac_save_CC=$CC
       
  3942 cat >conftest.$ac_ext <<_ACEOF
       
  3943 /* confdefs.h.  */
       
  3944 _ACEOF
       
  3945 cat confdefs.h >>conftest.$ac_ext
       
  3946 cat >>conftest.$ac_ext <<_ACEOF
       
  3947 /* end confdefs.h.  */
       
  3948 #include <stdarg.h>
       
  3949 #include <stdio.h>
       
  3950 #include <sys/types.h>
       
  3951 #include <sys/stat.h>
       
  3952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
       
  3953 struct buf { int x; };
       
  3954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
       
  3955 static char *e (p, i)
       
  3956      char **p;
       
  3957      int i;
       
  3958 {
       
  3959   return p[i];
       
  3960 }
       
  3961 static char *f (char * (*g) (char **, int), char **p, ...)
       
  3962 {
       
  3963   char *s;
       
  3964   va_list v;
       
  3965   va_start (v,p);
       
  3966   s = g (p, va_arg (v,int));
       
  3967   va_end (v);
       
  3968   return s;
       
  3969 }
       
  3970 
       
  3971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
       
  3972    function prototypes and stuff, but not '\xHH' hex character constants.
       
  3973    These don't provoke an error unfortunately, instead are silently treated
       
  3974    as 'x'.  The following induces an error, until -std is added to get
       
  3975    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
       
  3976    array size at least.  It's necessary to write '\x00'==0 to get something
       
  3977    that's true only with -std.  */
       
  3978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
       
  3979 
       
  3980 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
       
  3981    inside strings and character constants.  */
       
  3982 #define FOO(x) 'x'
       
  3983 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
       
  3984 
       
  3985 int test (int i, double x);
       
  3986 struct s1 {int (*f) (int a);};
       
  3987 struct s2 {int (*f) (double a);};
       
  3988 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
       
  3989 int argc;
       
  3990 char **argv;
       
  3991 int
       
  3992 main ()
       
  3993 {
       
  3994 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
       
  3995   ;
       
  3996   return 0;
       
  3997 }
       
  3998 _ACEOF
       
  3999 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
       
  4000 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
       
  4001 do
       
  4002   CC="$ac_save_CC $ac_arg"
       
  4003   rm -f conftest.$ac_objext
       
  4004 if { (ac_try="$ac_compile"
       
  4005 case "(($ac_try" in
       
  4006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4007   *) ac_try_echo=$ac_try;;
       
  4008 esac
       
  4009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4010   (eval "$ac_compile") 2>conftest.er1
       
  4011   ac_status=$?
       
  4012   grep -v '^ *+' conftest.er1 >conftest.err
       
  4013   rm -f conftest.er1
       
  4014   cat conftest.err >&5
       
  4015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4016   (exit $ac_status); } &&
       
  4017 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  4018   { (case "(($ac_try" in
       
  4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4020   *) ac_try_echo=$ac_try;;
       
  4021 esac
       
  4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4023   (eval "$ac_try") 2>&5
       
  4024   ac_status=$?
       
  4025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4026   (exit $ac_status); }; } &&
       
  4027 	 { ac_try='test -s conftest.$ac_objext'
       
  4028   { (case "(($ac_try" in
       
  4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4030   *) ac_try_echo=$ac_try;;
       
  4031 esac
       
  4032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4033   (eval "$ac_try") 2>&5
       
  4034   ac_status=$?
       
  4035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4036   (exit $ac_status); }; }; then
       
  4037   ac_cv_prog_cc_c89=$ac_arg
       
  4038 else
       
  4039   echo "$as_me: failed program was:" >&5
       
  4040 sed 's/^/| /' conftest.$ac_ext >&5
       
  4041 
       
  4042 
       
  4043 fi
       
  4044 
       
  4045 rm -f core conftest.err conftest.$ac_objext
       
  4046   test "x$ac_cv_prog_cc_c89" != "xno" && break
       
  4047 done
       
  4048 rm -f conftest.$ac_ext
       
  4049 CC=$ac_save_CC
       
  4050 
       
  4051 fi
       
  4052 # AC_CACHE_VAL
       
  4053 case "x$ac_cv_prog_cc_c89" in
       
  4054   x)
       
  4055     { echo "$as_me:$LINENO: result: none needed" >&5
       
  4056 echo "${ECHO_T}none needed" >&6; } ;;
       
  4057   xno)
       
  4058     { echo "$as_me:$LINENO: result: unsupported" >&5
       
  4059 echo "${ECHO_T}unsupported" >&6; } ;;
       
  4060   *)
       
  4061     CC="$CC $ac_cv_prog_cc_c89"
       
  4062     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
       
  4063 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
       
  4064 esac
       
  4065 
       
  4066 
       
  4067 ac_ext=c
       
  4068 ac_cpp='$CPP $CPPFLAGS'
       
  4069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  4072 
       
  4073 depcc="$CC"   am_compiler_list=
       
  4074 
       
  4075 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
       
  4076 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
       
  4077 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
       
  4078   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4079 else
       
  4080   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
       
  4081   # We make a subdir and do the tests there.  Otherwise we can end up
       
  4082   # making bogus files that we don't know about and never remove.  For
       
  4083   # instance it was reported that on HP-UX the gcc test will end up
       
  4084   # making a dummy file named `D' -- because `-MD' means `put the output
       
  4085   # in D'.
       
  4086   mkdir conftest.dir
       
  4087   # Copy depcomp to subdir because otherwise we won't find it if we're
       
  4088   # using a relative directory.
       
  4089   cp "$am_depcomp" conftest.dir
       
  4090   cd conftest.dir
       
  4091   # We will build objects and dependencies in a subdirectory because
       
  4092   # it helps to detect inapplicable dependency modes.  For instance
       
  4093   # both Tru64's cc and ICC support -MD to output dependencies as a
       
  4094   # side effect of compilation, but ICC will put the dependencies in
       
  4095   # the current directory while Tru64 will put them in the object
       
  4096   # directory.
       
  4097   mkdir sub
       
  4098 
       
  4099   am_cv_CC_dependencies_compiler_type=none
       
  4100   if test "$am_compiler_list" = ""; then
       
  4101      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
       
  4102   fi
       
  4103   for depmode in $am_compiler_list; do
       
  4104     # Setup a source with many dependencies, because some compilers
       
  4105     # like to wrap large dependency lists on column 80 (with \), and
       
  4106     # we should not choose a depcomp mode which is confused by this.
       
  4107     #
       
  4108     # We need to recreate these files for each test, as the compiler may
       
  4109     # overwrite some of them when testing with obscure command lines.
       
  4110     # This happens at least with the AIX C compiler.
       
  4111     : > sub/conftest.c
       
  4112     for i in 1 2 3 4 5 6; do
       
  4113       echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
  4114       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
  4115       # Solaris 8's {/usr,}/bin/sh.
       
  4116       touch sub/conftst$i.h
       
  4117     done
       
  4118     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
  4119 
       
  4120     case $depmode in
       
  4121     nosideeffect)
       
  4122       # after this tag, mechanisms are not by side-effect, so they'll
       
  4123       # only be used when explicitly requested
       
  4124       if test "x$enable_dependency_tracking" = xyes; then
       
  4125 	continue
       
  4126       else
       
  4127 	break
       
  4128       fi
       
  4129       ;;
       
  4130     none) break ;;
       
  4131     esac
       
  4132     # We check with `-c' and `-o' for the sake of the "dashmstdout"
       
  4133     # mode.  It turns out that the SunPro C++ compiler does not properly
       
  4134     # handle `-M -o', and we need to detect this.
       
  4135     if depmode=$depmode \
       
  4136        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
       
  4137        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       
  4138        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
       
  4139          >/dev/null 2>conftest.err &&
       
  4140        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       
  4141        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
       
  4142        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
       
  4143       # icc doesn't choke on unknown options, it will just issue warnings
       
  4144       # or remarks (even with -Werror).  So we grep stderr for any message
       
  4145       # that says an option was ignored or not supported.
       
  4146       # When given -MP, icc 7.0 and 7.1 complain thusly:
       
  4147       #   icc: Command line warning: ignoring option '-M'; no argument required
       
  4148       # The diagnosis changed in icc 8.0:
       
  4149       #   icc: Command line remark: option '-MP' not supported
       
  4150       if (grep 'ignoring option' conftest.err ||
       
  4151           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
       
  4152         am_cv_CC_dependencies_compiler_type=$depmode
       
  4153         break
       
  4154       fi
       
  4155     fi
       
  4156   done
       
  4157 
       
  4158   cd ..
       
  4159   rm -rf conftest.dir
       
  4160 else
       
  4161   am_cv_CC_dependencies_compiler_type=none
       
  4162 fi
       
  4163 
       
  4164 fi
       
  4165 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
       
  4166 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
       
  4167 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
       
  4168 
       
  4169 
       
  4170 
       
  4171 if
       
  4172   test "x$enable_dependency_tracking" != xno \
       
  4173   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
       
  4174   am__fastdepCC_TRUE=
       
  4175   am__fastdepCC_FALSE='#'
       
  4176 else
       
  4177   am__fastdepCC_TRUE='#'
       
  4178   am__fastdepCC_FALSE=
       
  4179 fi
       
  4180 
       
  4181 
       
  4182 ac_ext=c
       
  4183 ac_cpp='$CPP $CPPFLAGS'
       
  4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  4187 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
       
  4188 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
       
  4189 # On Suns, sometimes $CPP names a directory.
       
  4190 if test -n "$CPP" && test -d "$CPP"; then
       
  4191   CPP=
       
  4192 fi
       
  4193 if test -z "$CPP"; then
       
  4194   if test "${ac_cv_prog_CPP+set}" = set; then
       
  4195   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4196 else
       
  4197       # Double quotes because CPP needs to be expanded
       
  4198     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
       
  4199     do
       
  4200       ac_preproc_ok=false
       
  4201 for ac_c_preproc_warn_flag in '' yes
       
  4202 do
       
  4203   # Use a header file that comes with gcc, so configuring glibc
       
  4204   # with a fresh cross-compiler works.
       
  4205   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  4206   # <limits.h> exists even on freestanding compilers.
       
  4207   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  4208   # not just through cpp. "Syntax error" is here to catch this case.
       
  4209   cat >conftest.$ac_ext <<_ACEOF
       
  4210 /* confdefs.h.  */
       
  4211 _ACEOF
       
  4212 cat confdefs.h >>conftest.$ac_ext
       
  4213 cat >>conftest.$ac_ext <<_ACEOF
       
  4214 /* end confdefs.h.  */
       
  4215 #ifdef __STDC__
       
  4216 # include <limits.h>
       
  4217 #else
       
  4218 # include <assert.h>
       
  4219 #endif
       
  4220 		     Syntax error
       
  4221 _ACEOF
       
  4222 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  4223 case "(($ac_try" in
       
  4224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4225   *) ac_try_echo=$ac_try;;
       
  4226 esac
       
  4227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4228   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  4229   ac_status=$?
       
  4230   grep -v '^ *+' conftest.er1 >conftest.err
       
  4231   rm -f conftest.er1
       
  4232   cat conftest.err >&5
       
  4233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4234   (exit $ac_status); } >/dev/null; then
       
  4235   if test -s conftest.err; then
       
  4236     ac_cpp_err=$ac_c_preproc_warn_flag
       
  4237     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  4238   else
       
  4239     ac_cpp_err=
       
  4240   fi
       
  4241 else
       
  4242   ac_cpp_err=yes
       
  4243 fi
       
  4244 if test -z "$ac_cpp_err"; then
       
  4245   :
       
  4246 else
       
  4247   echo "$as_me: failed program was:" >&5
       
  4248 sed 's/^/| /' conftest.$ac_ext >&5
       
  4249 
       
  4250   # Broken: fails on valid input.
       
  4251 continue
       
  4252 fi
       
  4253 
       
  4254 rm -f conftest.err conftest.$ac_ext
       
  4255 
       
  4256   # OK, works on sane cases.  Now check whether nonexistent headers
       
  4257   # can be detected and how.
       
  4258   cat >conftest.$ac_ext <<_ACEOF
       
  4259 /* confdefs.h.  */
       
  4260 _ACEOF
       
  4261 cat confdefs.h >>conftest.$ac_ext
       
  4262 cat >>conftest.$ac_ext <<_ACEOF
       
  4263 /* end confdefs.h.  */
       
  4264 #include <ac_nonexistent.h>
       
  4265 _ACEOF
       
  4266 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  4267 case "(($ac_try" in
       
  4268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4269   *) ac_try_echo=$ac_try;;
       
  4270 esac
       
  4271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4272   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  4273   ac_status=$?
       
  4274   grep -v '^ *+' conftest.er1 >conftest.err
       
  4275   rm -f conftest.er1
       
  4276   cat conftest.err >&5
       
  4277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4278   (exit $ac_status); } >/dev/null; then
       
  4279   if test -s conftest.err; then
       
  4280     ac_cpp_err=$ac_c_preproc_warn_flag
       
  4281     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  4282   else
       
  4283     ac_cpp_err=
       
  4284   fi
       
  4285 else
       
  4286   ac_cpp_err=yes
       
  4287 fi
       
  4288 if test -z "$ac_cpp_err"; then
       
  4289   # Broken: success on invalid input.
       
  4290 continue
       
  4291 else
       
  4292   echo "$as_me: failed program was:" >&5
       
  4293 sed 's/^/| /' conftest.$ac_ext >&5
       
  4294 
       
  4295   # Passes both tests.
       
  4296 ac_preproc_ok=:
       
  4297 break
       
  4298 fi
       
  4299 
       
  4300 rm -f conftest.err conftest.$ac_ext
       
  4301 
       
  4302 done
       
  4303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  4304 rm -f conftest.err conftest.$ac_ext
       
  4305 if $ac_preproc_ok; then
       
  4306   break
       
  4307 fi
       
  4308 
       
  4309     done
       
  4310     ac_cv_prog_CPP=$CPP
       
  4311 
       
  4312 fi
       
  4313   CPP=$ac_cv_prog_CPP
       
  4314 else
       
  4315   ac_cv_prog_CPP=$CPP
       
  4316 fi
       
  4317 { echo "$as_me:$LINENO: result: $CPP" >&5
       
  4318 echo "${ECHO_T}$CPP" >&6; }
       
  4319 ac_preproc_ok=false
       
  4320 for ac_c_preproc_warn_flag in '' yes
       
  4321 do
       
  4322   # Use a header file that comes with gcc, so configuring glibc
       
  4323   # with a fresh cross-compiler works.
       
  4324   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  4325   # <limits.h> exists even on freestanding compilers.
       
  4326   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  4327   # not just through cpp. "Syntax error" is here to catch this case.
       
  4328   cat >conftest.$ac_ext <<_ACEOF
       
  4329 /* confdefs.h.  */
       
  4330 _ACEOF
       
  4331 cat confdefs.h >>conftest.$ac_ext
       
  4332 cat >>conftest.$ac_ext <<_ACEOF
       
  4333 /* end confdefs.h.  */
       
  4334 #ifdef __STDC__
       
  4335 # include <limits.h>
       
  4336 #else
       
  4337 # include <assert.h>
       
  4338 #endif
       
  4339 		     Syntax error
       
  4340 _ACEOF
       
  4341 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  4342 case "(($ac_try" in
       
  4343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4344   *) ac_try_echo=$ac_try;;
       
  4345 esac
       
  4346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4347   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  4348   ac_status=$?
       
  4349   grep -v '^ *+' conftest.er1 >conftest.err
       
  4350   rm -f conftest.er1
       
  4351   cat conftest.err >&5
       
  4352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4353   (exit $ac_status); } >/dev/null; then
       
  4354   if test -s conftest.err; then
       
  4355     ac_cpp_err=$ac_c_preproc_warn_flag
       
  4356     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  4357   else
       
  4358     ac_cpp_err=
       
  4359   fi
       
  4360 else
       
  4361   ac_cpp_err=yes
       
  4362 fi
       
  4363 if test -z "$ac_cpp_err"; then
       
  4364   :
       
  4365 else
       
  4366   echo "$as_me: failed program was:" >&5
       
  4367 sed 's/^/| /' conftest.$ac_ext >&5
       
  4368 
       
  4369   # Broken: fails on valid input.
       
  4370 continue
       
  4371 fi
       
  4372 
       
  4373 rm -f conftest.err conftest.$ac_ext
       
  4374 
       
  4375   # OK, works on sane cases.  Now check whether nonexistent headers
       
  4376   # can be detected and how.
       
  4377   cat >conftest.$ac_ext <<_ACEOF
       
  4378 /* confdefs.h.  */
       
  4379 _ACEOF
       
  4380 cat confdefs.h >>conftest.$ac_ext
       
  4381 cat >>conftest.$ac_ext <<_ACEOF
       
  4382 /* end confdefs.h.  */
       
  4383 #include <ac_nonexistent.h>
       
  4384 _ACEOF
       
  4385 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  4386 case "(($ac_try" in
       
  4387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  4388   *) ac_try_echo=$ac_try;;
       
  4389 esac
       
  4390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  4391   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  4392   ac_status=$?
       
  4393   grep -v '^ *+' conftest.er1 >conftest.err
       
  4394   rm -f conftest.er1
       
  4395   cat conftest.err >&5
       
  4396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  4397   (exit $ac_status); } >/dev/null; then
       
  4398   if test -s conftest.err; then
       
  4399     ac_cpp_err=$ac_c_preproc_warn_flag
       
  4400     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  4401   else
       
  4402     ac_cpp_err=
       
  4403   fi
       
  4404 else
       
  4405   ac_cpp_err=yes
       
  4406 fi
       
  4407 if test -z "$ac_cpp_err"; then
       
  4408   # Broken: success on invalid input.
       
  4409 continue
       
  4410 else
       
  4411   echo "$as_me: failed program was:" >&5
       
  4412 sed 's/^/| /' conftest.$ac_ext >&5
       
  4413 
       
  4414   # Passes both tests.
       
  4415 ac_preproc_ok=:
       
  4416 break
       
  4417 fi
       
  4418 
       
  4419 rm -f conftest.err conftest.$ac_ext
       
  4420 
       
  4421 done
       
  4422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  4423 rm -f conftest.err conftest.$ac_ext
       
  4424 if $ac_preproc_ok; then
       
  4425   :
       
  4426 else
       
  4427   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
       
  4428 See \`config.log' for more details." >&5
       
  4429 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
       
  4430 See \`config.log' for more details." >&2;}
       
  4431    { (exit 1); exit 1; }; }
       
  4432 fi
       
  4433 
       
  4434 ac_ext=c
       
  4435 ac_cpp='$CPP $CPPFLAGS'
       
  4436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  4437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  4438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  4439 
       
  4440 # Find a good install program.  We prefer a C program (faster),
       
  4441 # so one script is as good as another.  But avoid the broken or
       
  4442 # incompatible versions:
       
  4443 # SysV /etc/install, /usr/sbin/install
       
  4444 # SunOS /usr/etc/install
       
  4445 # IRIX /sbin/install
       
  4446 # AIX /bin/install
       
  4447 # AmigaOS /C/install, which installs bootblocks on floppy discs
       
  4448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
       
  4449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
       
  4450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
       
  4451 # OS/2's system install, which has a completely different semantic
       
  4452 # ./install, which can be erroneously created by make from ./install.sh.
       
  4453 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
       
  4454 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
       
  4455 if test -z "$INSTALL"; then
       
  4456 if test "${ac_cv_path_install+set}" = set; then
       
  4457   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4458 else
       
  4459   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4460 for as_dir in $PATH
       
  4461 do
       
  4462   IFS=$as_save_IFS
       
  4463   test -z "$as_dir" && as_dir=.
       
  4464   # Account for people who put trailing slashes in PATH elements.
       
  4465 case $as_dir/ in
       
  4466   ./ | .// | /cC/* | \
       
  4467   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
       
  4468   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
       
  4469   /usr/ucb/* ) ;;
       
  4470   *)
       
  4471     # OSF1 and SCO ODT 3.0 have their own names for install.
       
  4472     # Don't use installbsd from OSF since it installs stuff as root
       
  4473     # by default.
       
  4474     for ac_prog in ginstall scoinst install; do
       
  4475       for ac_exec_ext in '' $ac_executable_extensions; do
       
  4476 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
       
  4477 	  if test $ac_prog = install &&
       
  4478 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  4479 	    # AIX install.  It has an incompatible calling convention.
       
  4480 	    :
       
  4481 	  elif test $ac_prog = install &&
       
  4482 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
       
  4483 	    # program-specific install script used by HP pwplus--don't use.
       
  4484 	    :
       
  4485 	  else
       
  4486 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
       
  4487 	    break 3
       
  4488 	  fi
       
  4489 	fi
       
  4490       done
       
  4491     done
       
  4492     ;;
       
  4493 esac
       
  4494 done
       
  4495 IFS=$as_save_IFS
       
  4496 
       
  4497 
       
  4498 fi
       
  4499   if test "${ac_cv_path_install+set}" = set; then
       
  4500     INSTALL=$ac_cv_path_install
       
  4501   else
       
  4502     # As a last resort, use the slow shell script.  Don't cache a
       
  4503     # value for INSTALL within a source directory, because that will
       
  4504     # break other packages using the cache if that directory is
       
  4505     # removed, or if the value is a relative name.
       
  4506     INSTALL=$ac_install_sh
       
  4507   fi
       
  4508 fi
       
  4509 { echo "$as_me:$LINENO: result: $INSTALL" >&5
       
  4510 echo "${ECHO_T}$INSTALL" >&6; }
       
  4511 
       
  4512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
       
  4513 # It thinks the first close brace ends the variable substitution.
       
  4514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
       
  4515 
       
  4516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
       
  4517 
       
  4518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
       
  4519 
       
  4520 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
       
  4521 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
       
  4522 LN_S=$as_ln_s
       
  4523 if test "$LN_S" = "ln -s"; then
       
  4524   { echo "$as_me:$LINENO: result: yes" >&5
       
  4525 echo "${ECHO_T}yes" >&6; }
       
  4526 else
       
  4527   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
       
  4528 echo "${ECHO_T}no, using $LN_S" >&6; }
       
  4529 fi
       
  4530 
       
  4531 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
       
  4532 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
       
  4533 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
       
  4534 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
       
  4535   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4536 else
       
  4537   cat >conftest.make <<\_ACEOF
       
  4538 SHELL = /bin/sh
       
  4539 all:
       
  4540 	@echo '@@@%%%=$(MAKE)=@@@%%%'
       
  4541 _ACEOF
       
  4542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
       
  4543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
       
  4544   *@@@%%%=?*=@@@%%%*)
       
  4545     eval ac_cv_prog_make_${ac_make}_set=yes;;
       
  4546   *)
       
  4547     eval ac_cv_prog_make_${ac_make}_set=no;;
       
  4548 esac
       
  4549 rm -f conftest.make
       
  4550 fi
       
  4551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
       
  4552   { echo "$as_me:$LINENO: result: yes" >&5
       
  4553 echo "${ECHO_T}yes" >&6; }
       
  4554   SET_MAKE=
       
  4555 else
       
  4556   { echo "$as_me:$LINENO: result: no" >&5
       
  4557 echo "${ECHO_T}no" >&6; }
       
  4558   SET_MAKE="MAKE=${MAKE-make}"
       
  4559 fi
       
  4560 
       
  4561 # Check whether --enable-shared was given.
       
  4562 if test "${enable_shared+set}" = set; then
       
  4563   enableval=$enable_shared; p=${PACKAGE-default}
       
  4564     case $enableval in
       
  4565     yes) enable_shared=yes ;;
       
  4566     no) enable_shared=no ;;
       
  4567     *)
       
  4568       enable_shared=no
       
  4569       # Look at the argument we got.  We use all the common list separators.
       
  4570       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  4571       for pkg in $enableval; do
       
  4572 	IFS="$lt_save_ifs"
       
  4573 	if test "X$pkg" = "X$p"; then
       
  4574 	  enable_shared=yes
       
  4575 	fi
       
  4576       done
       
  4577       IFS="$lt_save_ifs"
       
  4578       ;;
       
  4579     esac
       
  4580 else
       
  4581   enable_shared=yes
       
  4582 fi
       
  4583 
       
  4584 
       
  4585 # Check whether --enable-static was given.
       
  4586 if test "${enable_static+set}" = set; then
       
  4587   enableval=$enable_static; p=${PACKAGE-default}
       
  4588     case $enableval in
       
  4589     yes) enable_static=yes ;;
       
  4590     no) enable_static=no ;;
       
  4591     *)
       
  4592      enable_static=no
       
  4593       # Look at the argument we got.  We use all the common list separators.
       
  4594       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  4595       for pkg in $enableval; do
       
  4596 	IFS="$lt_save_ifs"
       
  4597 	if test "X$pkg" = "X$p"; then
       
  4598 	  enable_static=yes
       
  4599 	fi
       
  4600       done
       
  4601       IFS="$lt_save_ifs"
       
  4602       ;;
       
  4603     esac
       
  4604 else
       
  4605   enable_static=yes
       
  4606 fi
       
  4607 
       
  4608 
       
  4609 # Check whether --enable-fast-install was given.
       
  4610 if test "${enable_fast_install+set}" = set; then
       
  4611   enableval=$enable_fast_install; p=${PACKAGE-default}
       
  4612     case $enableval in
       
  4613     yes) enable_fast_install=yes ;;
       
  4614     no) enable_fast_install=no ;;
       
  4615     *)
       
  4616       enable_fast_install=no
       
  4617       # Look at the argument we got.  We use all the common list separators.
       
  4618       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
  4619       for pkg in $enableval; do
       
  4620 	IFS="$lt_save_ifs"
       
  4621 	if test "X$pkg" = "X$p"; then
       
  4622 	  enable_fast_install=yes
       
  4623 	fi
       
  4624       done
       
  4625       IFS="$lt_save_ifs"
       
  4626       ;;
       
  4627     esac
       
  4628 else
       
  4629   enable_fast_install=yes
       
  4630 fi
       
  4631 
       
  4632 
       
  4633 # Make sure we can run config.sub.
       
  4634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
       
  4635   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
       
  4636 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
       
  4637    { (exit 1); exit 1; }; }
       
  4638 
       
  4639 { echo "$as_me:$LINENO: checking build system type" >&5
       
  4640 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
       
  4641 if test "${ac_cv_build+set}" = set; then
       
  4642   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4643 else
       
  4644   ac_build_alias=$build_alias
       
  4645 test "x$ac_build_alias" = x &&
       
  4646   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
       
  4647 test "x$ac_build_alias" = x &&
       
  4648   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
       
  4649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
       
  4650    { (exit 1); exit 1; }; }
       
  4651 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
       
  4652   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
       
  4653 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
       
  4654    { (exit 1); exit 1; }; }
       
  4655 
       
  4656 fi
       
  4657 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
       
  4658 echo "${ECHO_T}$ac_cv_build" >&6; }
       
  4659 case $ac_cv_build in
       
  4660 *-*-*) ;;
       
  4661 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
       
  4662 echo "$as_me: error: invalid value of canonical build" >&2;}
       
  4663    { (exit 1); exit 1; }; };;
       
  4664 esac
       
  4665 build=$ac_cv_build
       
  4666 ac_save_IFS=$IFS; IFS='-'
       
  4667 set x $ac_cv_build
       
  4668 shift
       
  4669 build_cpu=$1
       
  4670 build_vendor=$2
       
  4671 shift; shift
       
  4672 # Remember, the first character of IFS is used to create $*,
       
  4673 # except with old shells:
       
  4674 build_os=$*
       
  4675 IFS=$ac_save_IFS
       
  4676 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
       
  4677 
       
  4678 
       
  4679 { echo "$as_me:$LINENO: checking host system type" >&5
       
  4680 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
       
  4681 if test "${ac_cv_host+set}" = set; then
       
  4682   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4683 else
       
  4684   if test "x$host_alias" = x; then
       
  4685   ac_cv_host=$ac_cv_build
       
  4686 else
       
  4687   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
       
  4688     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
       
  4689 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
       
  4690    { (exit 1); exit 1; }; }
       
  4691 fi
       
  4692 
       
  4693 fi
       
  4694 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
       
  4695 echo "${ECHO_T}$ac_cv_host" >&6; }
       
  4696 case $ac_cv_host in
       
  4697 *-*-*) ;;
       
  4698 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
       
  4699 echo "$as_me: error: invalid value of canonical host" >&2;}
       
  4700    { (exit 1); exit 1; }; };;
       
  4701 esac
       
  4702 host=$ac_cv_host
       
  4703 ac_save_IFS=$IFS; IFS='-'
       
  4704 set x $ac_cv_host
       
  4705 shift
       
  4706 host_cpu=$1
       
  4707 host_vendor=$2
       
  4708 shift; shift
       
  4709 # Remember, the first character of IFS is used to create $*,
       
  4710 # except with old shells:
       
  4711 host_os=$*
       
  4712 IFS=$ac_save_IFS
       
  4713 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
       
  4714 
       
  4715 
       
  4716 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
       
  4717 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
       
  4718 if test "${lt_cv_path_SED+set}" = set; then
       
  4719   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4720 else
       
  4721   # Loop through the user's path and test for sed and gsed.
       
  4722 # Then use that list of sed's as ones to test for truncation.
       
  4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4724 for as_dir in $PATH
       
  4725 do
       
  4726   IFS=$as_save_IFS
       
  4727   test -z "$as_dir" && as_dir=.
       
  4728   for lt_ac_prog in sed gsed; do
       
  4729     for ac_exec_ext in '' $ac_executable_extensions; do
       
  4730       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
       
  4731         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
       
  4732       fi
       
  4733     done
       
  4734   done
       
  4735 done
       
  4736 lt_ac_max=0
       
  4737 lt_ac_count=0
       
  4738 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
       
  4739 # along with /bin/sed that truncates output.
       
  4740 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
       
  4741   test ! -f $lt_ac_sed && continue
       
  4742   cat /dev/null > conftest.in
       
  4743   lt_ac_count=0
       
  4744   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
       
  4745   # Check for GNU sed and select it if it is found.
       
  4746   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
       
  4747     lt_cv_path_SED=$lt_ac_sed
       
  4748     break
       
  4749   fi
       
  4750   while true; do
       
  4751     cat conftest.in conftest.in >conftest.tmp
       
  4752     mv conftest.tmp conftest.in
       
  4753     cp conftest.in conftest.nl
       
  4754     echo >>conftest.nl
       
  4755     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
       
  4756     cmp -s conftest.out conftest.nl || break
       
  4757     # 10000 chars as input seems more than enough
       
  4758     test $lt_ac_count -gt 10 && break
       
  4759     lt_ac_count=`expr $lt_ac_count + 1`
       
  4760     if test $lt_ac_count -gt $lt_ac_max; then
       
  4761       lt_ac_max=$lt_ac_count
       
  4762       lt_cv_path_SED=$lt_ac_sed
       
  4763     fi
       
  4764   done
       
  4765 done
       
  4766 
       
  4767 fi
       
  4768 
       
  4769 SED=$lt_cv_path_SED
       
  4770 { echo "$as_me:$LINENO: result: $SED" >&5
       
  4771 echo "${ECHO_T}$SED" >&6; }
       
  4772 
       
  4773 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
       
  4774 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
       
  4775 if test "${ac_cv_path_GREP+set}" = set; then
       
  4776   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4777 else
       
  4778   # Extract the first word of "grep ggrep" to use in msg output
       
  4779 if test -z "$GREP"; then
       
  4780 set dummy grep ggrep; ac_prog_name=$2
       
  4781 if test "${ac_cv_path_GREP+set}" = set; then
       
  4782   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4783 else
       
  4784   ac_path_GREP_found=false
       
  4785 # Loop through the user's path and test for each of PROGNAME-LIST
       
  4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4787 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  4788 do
       
  4789   IFS=$as_save_IFS
       
  4790   test -z "$as_dir" && as_dir=.
       
  4791   for ac_prog in grep ggrep; do
       
  4792   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4793     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
       
  4794     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
       
  4795     # Check for GNU ac_path_GREP and select it if it is found.
       
  4796   # Check for GNU $ac_path_GREP
       
  4797 case `"$ac_path_GREP" --version 2>&1` in
       
  4798 *GNU*)
       
  4799   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
       
  4800 *)
       
  4801   ac_count=0
       
  4802   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  4803   while :
       
  4804   do
       
  4805     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  4806     mv "conftest.tmp" "conftest.in"
       
  4807     cp "conftest.in" "conftest.nl"
       
  4808     echo 'GREP' >> "conftest.nl"
       
  4809     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  4810     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  4811     ac_count=`expr $ac_count + 1`
       
  4812     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       
  4813       # Best one so far, save it but keep looking for a better one
       
  4814       ac_cv_path_GREP="$ac_path_GREP"
       
  4815       ac_path_GREP_max=$ac_count
       
  4816     fi
       
  4817     # 10*(2^10) chars as input seems more than enough
       
  4818     test $ac_count -gt 10 && break
       
  4819   done
       
  4820   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  4821 esac
       
  4822 
       
  4823 
       
  4824     $ac_path_GREP_found && break 3
       
  4825   done
       
  4826 done
       
  4827 
       
  4828 done
       
  4829 IFS=$as_save_IFS
       
  4830 
       
  4831 
       
  4832 fi
       
  4833 
       
  4834 GREP="$ac_cv_path_GREP"
       
  4835 if test -z "$GREP"; then
       
  4836   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  4837 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  4838    { (exit 1); exit 1; }; }
       
  4839 fi
       
  4840 
       
  4841 else
       
  4842   ac_cv_path_GREP=$GREP
       
  4843 fi
       
  4844 
       
  4845 
       
  4846 fi
       
  4847 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
       
  4848 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
       
  4849  GREP="$ac_cv_path_GREP"
       
  4850 
       
  4851 
       
  4852 { echo "$as_me:$LINENO: checking for egrep" >&5
       
  4853 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
       
  4854 if test "${ac_cv_path_EGREP+set}" = set; then
       
  4855   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4856 else
       
  4857   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
       
  4858    then ac_cv_path_EGREP="$GREP -E"
       
  4859    else
       
  4860      # Extract the first word of "egrep" to use in msg output
       
  4861 if test -z "$EGREP"; then
       
  4862 set dummy egrep; ac_prog_name=$2
       
  4863 if test "${ac_cv_path_EGREP+set}" = set; then
       
  4864   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4865 else
       
  4866   ac_path_EGREP_found=false
       
  4867 # Loop through the user's path and test for each of PROGNAME-LIST
       
  4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  4869 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
       
  4870 do
       
  4871   IFS=$as_save_IFS
       
  4872   test -z "$as_dir" && as_dir=.
       
  4873   for ac_prog in egrep; do
       
  4874   for ac_exec_ext in '' $ac_executable_extensions; do
       
  4875     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
       
  4876     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
       
  4877     # Check for GNU ac_path_EGREP and select it if it is found.
       
  4878   # Check for GNU $ac_path_EGREP
       
  4879 case `"$ac_path_EGREP" --version 2>&1` in
       
  4880 *GNU*)
       
  4881   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
       
  4882 *)
       
  4883   ac_count=0
       
  4884   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
       
  4885   while :
       
  4886   do
       
  4887     cat "conftest.in" "conftest.in" >"conftest.tmp"
       
  4888     mv "conftest.tmp" "conftest.in"
       
  4889     cp "conftest.in" "conftest.nl"
       
  4890     echo 'EGREP' >> "conftest.nl"
       
  4891     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       
  4892     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       
  4893     ac_count=`expr $ac_count + 1`
       
  4894     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       
  4895       # Best one so far, save it but keep looking for a better one
       
  4896       ac_cv_path_EGREP="$ac_path_EGREP"
       
  4897       ac_path_EGREP_max=$ac_count
       
  4898     fi
       
  4899     # 10*(2^10) chars as input seems more than enough
       
  4900     test $ac_count -gt 10 && break
       
  4901   done
       
  4902   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
       
  4903 esac
       
  4904 
       
  4905 
       
  4906     $ac_path_EGREP_found && break 3
       
  4907   done
       
  4908 done
       
  4909 
       
  4910 done
       
  4911 IFS=$as_save_IFS
       
  4912 
       
  4913 
       
  4914 fi
       
  4915 
       
  4916 EGREP="$ac_cv_path_EGREP"
       
  4917 if test -z "$EGREP"; then
       
  4918   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
       
  4919 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
       
  4920    { (exit 1); exit 1; }; }
       
  4921 fi
       
  4922 
       
  4923 else
       
  4924   ac_cv_path_EGREP=$EGREP
       
  4925 fi
       
  4926 
       
  4927 
       
  4928    fi
       
  4929 fi
       
  4930 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
       
  4931 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
       
  4932  EGREP="$ac_cv_path_EGREP"
       
  4933 
       
  4934 
       
  4935 
       
  4936 # Check whether --with-gnu-ld was given.
       
  4937 if test "${with_gnu_ld+set}" = set; then
       
  4938   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
       
  4939 else
       
  4940   with_gnu_ld=no
       
  4941 fi
       
  4942 
       
  4943 ac_prog=ld
       
  4944 if test "$GCC" = yes; then
       
  4945   # Check if gcc -print-prog-name=ld gives a path.
       
  4946   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
       
  4947 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
       
  4948   case $host in
       
  4949   *-*-mingw*)
       
  4950     # gcc leaves a trailing carriage return which upsets mingw
       
  4951     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
       
  4952   *)
       
  4953     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
       
  4954   esac
       
  4955   case $ac_prog in
       
  4956     # Accept absolute paths.
       
  4957     [\\/]* | ?:[\\/]*)
       
  4958       re_direlt='/[^/][^/]*/\.\./'
       
  4959       # Canonicalize the pathname of ld
       
  4960       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
       
  4961       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
       
  4962 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
       
  4963       done
       
  4964       test -z "$LD" && LD="$ac_prog"
       
  4965       ;;
       
  4966   "")
       
  4967     # If it fails, then pretend we aren't using GCC.
       
  4968     ac_prog=ld
       
  4969     ;;
       
  4970   *)
       
  4971     # If it is relative, then search for the first ld in PATH.
       
  4972     with_gnu_ld=unknown
       
  4973     ;;
       
  4974   esac
       
  4975 elif test "$with_gnu_ld" = yes; then
       
  4976   { echo "$as_me:$LINENO: checking for GNU ld" >&5
       
  4977 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
       
  4978 else
       
  4979   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
       
  4980 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
       
  4981 fi
       
  4982 if test "${lt_cv_path_LD+set}" = set; then
       
  4983   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  4984 else
       
  4985   if test -z "$LD"; then
       
  4986   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  4987   for ac_dir in $PATH; do
       
  4988     IFS="$lt_save_ifs"
       
  4989     test -z "$ac_dir" && ac_dir=.
       
  4990     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       
  4991       lt_cv_path_LD="$ac_dir/$ac_prog"
       
  4992       # Check to see if the program is GNU ld.  I'd rather use --version,
       
  4993       # but apparently some variants of GNU ld only accept -v.
       
  4994       # Break only if it was the GNU/non-GNU ld that we prefer.
       
  4995       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       
  4996       *GNU* | *'with BFD'*)
       
  4997 	test "$with_gnu_ld" != no && break
       
  4998 	;;
       
  4999       *)
       
  5000 	test "$with_gnu_ld" != yes && break
       
  5001 	;;
       
  5002       esac
       
  5003     fi
       
  5004   done
       
  5005   IFS="$lt_save_ifs"
       
  5006 else
       
  5007   lt_cv_path_LD="$LD" # Let the user override the test with a path.
       
  5008 fi
       
  5009 fi
       
  5010 
       
  5011 LD="$lt_cv_path_LD"
       
  5012 if test -n "$LD"; then
       
  5013   { echo "$as_me:$LINENO: result: $LD" >&5
       
  5014 echo "${ECHO_T}$LD" >&6; }
       
  5015 else
       
  5016   { echo "$as_me:$LINENO: result: no" >&5
       
  5017 echo "${ECHO_T}no" >&6; }
       
  5018 fi
       
  5019 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
       
  5020 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
       
  5021    { (exit 1); exit 1; }; }
       
  5022 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
       
  5023 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
       
  5024 if test "${lt_cv_prog_gnu_ld+set}" = set; then
       
  5025   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5026 else
       
  5027   # I'd rather use --version here, but apparently some GNU lds only accept -v.
       
  5028 case `$LD -v 2>&1 </dev/null` in
       
  5029 *GNU* | *'with BFD'*)
       
  5030   lt_cv_prog_gnu_ld=yes
       
  5031   ;;
       
  5032 *)
       
  5033   lt_cv_prog_gnu_ld=no
       
  5034   ;;
       
  5035 esac
       
  5036 fi
       
  5037 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
       
  5038 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
       
  5039 with_gnu_ld=$lt_cv_prog_gnu_ld
       
  5040 
       
  5041 
       
  5042 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
       
  5043 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
       
  5044 if test "${lt_cv_ld_reload_flag+set}" = set; then
       
  5045   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5046 else
       
  5047   lt_cv_ld_reload_flag='-r'
       
  5048 fi
       
  5049 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
       
  5050 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
       
  5051 reload_flag=$lt_cv_ld_reload_flag
       
  5052 case $reload_flag in
       
  5053 "" | " "*) ;;
       
  5054 *) reload_flag=" $reload_flag" ;;
       
  5055 esac
       
  5056 reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  5057 case $host_os in
       
  5058   darwin*)
       
  5059     if test "$GCC" = yes; then
       
  5060       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
       
  5061     else
       
  5062       reload_cmds='$LD$reload_flag -o $output$reload_objs'
       
  5063     fi
       
  5064     ;;
       
  5065 esac
       
  5066 
       
  5067 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
       
  5068 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
       
  5069 if test "${lt_cv_path_NM+set}" = set; then
       
  5070   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5071 else
       
  5072   if test -n "$NM"; then
       
  5073   # Let the user override the test.
       
  5074   lt_cv_path_NM="$NM"
       
  5075 else
       
  5076   lt_nm_to_check="${ac_tool_prefix}nm"
       
  5077   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
       
  5078     lt_nm_to_check="$lt_nm_to_check nm"
       
  5079   fi
       
  5080   for lt_tmp_nm in $lt_nm_to_check; do
       
  5081     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  5082     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
       
  5083       IFS="$lt_save_ifs"
       
  5084       test -z "$ac_dir" && ac_dir=.
       
  5085       tmp_nm="$ac_dir/$lt_tmp_nm"
       
  5086       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
       
  5087 	# Check to see if the nm accepts a BSD-compat flag.
       
  5088 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
       
  5089 	#   nm: unknown option "B" ignored
       
  5090 	# Tru64's nm complains that /dev/null is an invalid object file
       
  5091 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
       
  5092 	*/dev/null* | *'Invalid file or object type'*)
       
  5093 	  lt_cv_path_NM="$tmp_nm -B"
       
  5094 	  break
       
  5095 	  ;;
       
  5096 	*)
       
  5097 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
       
  5098 	  */dev/null*)
       
  5099 	    lt_cv_path_NM="$tmp_nm -p"
       
  5100 	    break
       
  5101 	    ;;
       
  5102 	  *)
       
  5103 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
       
  5104 	    continue # so that we can try to find one that supports BSD flags
       
  5105 	    ;;
       
  5106 	  esac
       
  5107 	  ;;
       
  5108 	esac
       
  5109       fi
       
  5110     done
       
  5111     IFS="$lt_save_ifs"
       
  5112   done
       
  5113   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
       
  5114 fi
       
  5115 fi
       
  5116 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
       
  5117 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
       
  5118 NM="$lt_cv_path_NM"
       
  5119 
       
  5120 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
       
  5121 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
       
  5122 if test "${lt_cv_deplibs_check_method+set}" = set; then
       
  5123   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5124 else
       
  5125   lt_cv_file_magic_cmd='$MAGIC_CMD'
       
  5126 lt_cv_file_magic_test_file=
       
  5127 lt_cv_deplibs_check_method='unknown'
       
  5128 # Need to set the preceding variable on all platforms that support
       
  5129 # interlibrary dependencies.
       
  5130 # 'none' -- dependencies not supported.
       
  5131 # `unknown' -- same as none, but documents that we really don't know.
       
  5132 # 'pass_all' -- all dependencies passed with no checks.
       
  5133 # 'test_compile' -- check by making test program.
       
  5134 # 'file_magic [[regex]]' -- check by looking for files in library path
       
  5135 # which responds to the $file_magic_cmd with a given extended regex.
       
  5136 # If you have `file' or equivalent on your system and you're not sure
       
  5137 # whether `pass_all' will *always* work, you probably want this one.
       
  5138 
       
  5139 case $host_os in
       
  5140 aix4* | aix5*)
       
  5141   lt_cv_deplibs_check_method=pass_all
       
  5142   ;;
       
  5143 
       
  5144 beos*)
       
  5145   lt_cv_deplibs_check_method=pass_all
       
  5146   ;;
       
  5147 
       
  5148 bsdi[45]*)
       
  5149   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
       
  5150   lt_cv_file_magic_cmd='/usr/bin/file -L'
       
  5151   lt_cv_file_magic_test_file=/shlib/libc.so
       
  5152   ;;
       
  5153 
       
  5154 cygwin*)
       
  5155   # func_win32_libid is a shell function defined in ltmain.sh
       
  5156   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
       
  5157   lt_cv_file_magic_cmd='func_win32_libid'
       
  5158   ;;
       
  5159 
       
  5160 mingw* | pw32*)
       
  5161   # Base MSYS/MinGW do not provide the 'file' command needed by
       
  5162   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
       
  5163   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
       
  5164   lt_cv_file_magic_cmd='$OBJDUMP -f'
       
  5165   ;;
       
  5166 
       
  5167 darwin* | rhapsody*)
       
  5168   lt_cv_deplibs_check_method=pass_all
       
  5169   ;;
       
  5170 
       
  5171 freebsd* | kfreebsd*-gnu | dragonfly*)
       
  5172   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       
  5173     case $host_cpu in
       
  5174     i*86 )
       
  5175       # Not sure whether the presence of OpenBSD here was a mistake.
       
  5176       # Let's accept both of them until this is cleared up.
       
  5177       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
       
  5178       lt_cv_file_magic_cmd=/usr/bin/file
       
  5179       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       
  5180       ;;
       
  5181     esac
       
  5182   else
       
  5183     lt_cv_deplibs_check_method=pass_all
       
  5184   fi
       
  5185   ;;
       
  5186 
       
  5187 gnu*)
       
  5188   lt_cv_deplibs_check_method=pass_all
       
  5189   ;;
       
  5190 
       
  5191 hpux10.20* | hpux11*)
       
  5192   lt_cv_file_magic_cmd=/usr/bin/file
       
  5193   case $host_cpu in
       
  5194   ia64*)
       
  5195     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
       
  5196     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
       
  5197     ;;
       
  5198   hppa*64*)
       
  5199     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]'
       
  5200     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
       
  5201     ;;
       
  5202   *)
       
  5203     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
       
  5204     lt_cv_file_magic_test_file=/usr/lib/libc.sl
       
  5205     ;;
       
  5206   esac
       
  5207   ;;
       
  5208 
       
  5209 interix3*)
       
  5210   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
       
  5211   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
       
  5212   ;;
       
  5213 
       
  5214 irix5* | irix6* | nonstopux*)
       
  5215   case $LD in
       
  5216   *-32|*"-32 ") libmagic=32-bit;;
       
  5217   *-n32|*"-n32 ") libmagic=N32;;
       
  5218   *-64|*"-64 ") libmagic=64-bit;;
       
  5219   *) libmagic=never-match;;
       
  5220   esac
       
  5221   lt_cv_deplibs_check_method=pass_all
       
  5222   ;;
       
  5223 
       
  5224 # This must be Linux ELF.
       
  5225 linux*)
       
  5226   lt_cv_deplibs_check_method=pass_all
       
  5227   ;;
       
  5228 
       
  5229 netbsd*)
       
  5230   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       
  5231     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  5232   else
       
  5233     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
       
  5234   fi
       
  5235   ;;
       
  5236 
       
  5237 newos6*)
       
  5238   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
       
  5239   lt_cv_file_magic_cmd=/usr/bin/file
       
  5240   lt_cv_file_magic_test_file=/usr/lib/libnls.so
       
  5241   ;;
       
  5242 
       
  5243 nto-qnx*)
       
  5244   lt_cv_deplibs_check_method=unknown
       
  5245   ;;
       
  5246 
       
  5247 openbsd*)
       
  5248   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  5249     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
       
  5250   else
       
  5251     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
       
  5252   fi
       
  5253   ;;
       
  5254 
       
  5255 osf3* | osf4* | osf5*)
       
  5256   lt_cv_deplibs_check_method=pass_all
       
  5257   ;;
       
  5258 
       
  5259 solaris*)
       
  5260   lt_cv_deplibs_check_method=pass_all
       
  5261   ;;
       
  5262 
       
  5263 sysv4 | sysv4.3*)
       
  5264   case $host_vendor in
       
  5265   motorola)
       
  5266     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]'
       
  5267     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
       
  5268     ;;
       
  5269   ncr)
       
  5270     lt_cv_deplibs_check_method=pass_all
       
  5271     ;;
       
  5272   sequent)
       
  5273     lt_cv_file_magic_cmd='/bin/file'
       
  5274     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
       
  5275     ;;
       
  5276   sni)
       
  5277     lt_cv_file_magic_cmd='/bin/file'
       
  5278     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
       
  5279     lt_cv_file_magic_test_file=/lib/libc.so
       
  5280     ;;
       
  5281   siemens)
       
  5282     lt_cv_deplibs_check_method=pass_all
       
  5283     ;;
       
  5284   pc)
       
  5285     lt_cv_deplibs_check_method=pass_all
       
  5286     ;;
       
  5287   esac
       
  5288   ;;
       
  5289 
       
  5290 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
  5291   lt_cv_deplibs_check_method=pass_all
       
  5292   ;;
       
  5293 esac
       
  5294 
       
  5295 fi
       
  5296 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
       
  5297 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
       
  5298 file_magic_cmd=$lt_cv_file_magic_cmd
       
  5299 deplibs_check_method=$lt_cv_deplibs_check_method
       
  5300 test -z "$deplibs_check_method" && deplibs_check_method=unknown
       
  5301 
       
  5302 
       
  5303 
       
  5304 
       
  5305 # If no C compiler was specified, use CC.
       
  5306 LTCC=${LTCC-"$CC"}
       
  5307 
       
  5308 # If no C compiler flags were specified, use CFLAGS.
       
  5309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
  5310 
       
  5311 # Allow CC to be a program name with arguments.
       
  5312 compiler=$CC
       
  5313 
       
  5314 
       
  5315 # Check whether --enable-libtool-lock was given.
       
  5316 if test "${enable_libtool_lock+set}" = set; then
       
  5317   enableval=$enable_libtool_lock;
       
  5318 fi
       
  5319 
       
  5320 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
       
  5321 
       
  5322 # Some flags need to be propagated to the compiler or linker for good
       
  5323 # libtool support.
       
  5324 case $host in
       
  5325 ia64-*-hpux*)
       
  5326   # Find out which ABI we are using.
       
  5327   echo 'int i;' > conftest.$ac_ext
       
  5328   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  5329   (eval $ac_compile) 2>&5
       
  5330   ac_status=$?
       
  5331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5332   (exit $ac_status); }; then
       
  5333     case `/usr/bin/file conftest.$ac_objext` in
       
  5334     *ELF-32*)
       
  5335       HPUX_IA64_MODE="32"
       
  5336       ;;
       
  5337     *ELF-64*)
       
  5338       HPUX_IA64_MODE="64"
       
  5339       ;;
       
  5340     esac
       
  5341   fi
       
  5342   rm -rf conftest*
       
  5343   ;;
       
  5344 *-*-irix6*)
       
  5345   # Find out which ABI we are using.
       
  5346   echo '#line 5346 "configure"' > conftest.$ac_ext
       
  5347   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  5348   (eval $ac_compile) 2>&5
       
  5349   ac_status=$?
       
  5350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5351   (exit $ac_status); }; then
       
  5352    if test "$lt_cv_prog_gnu_ld" = yes; then
       
  5353     case `/usr/bin/file conftest.$ac_objext` in
       
  5354     *32-bit*)
       
  5355       LD="${LD-ld} -melf32bsmip"
       
  5356       ;;
       
  5357     *N32*)
       
  5358       LD="${LD-ld} -melf32bmipn32"
       
  5359       ;;
       
  5360     *64-bit*)
       
  5361       LD="${LD-ld} -melf64bmip"
       
  5362       ;;
       
  5363     esac
       
  5364    else
       
  5365     case `/usr/bin/file conftest.$ac_objext` in
       
  5366     *32-bit*)
       
  5367       LD="${LD-ld} -32"
       
  5368       ;;
       
  5369     *N32*)
       
  5370       LD="${LD-ld} -n32"
       
  5371       ;;
       
  5372     *64-bit*)
       
  5373       LD="${LD-ld} -64"
       
  5374       ;;
       
  5375     esac
       
  5376    fi
       
  5377   fi
       
  5378   rm -rf conftest*
       
  5379   ;;
       
  5380 
       
  5381 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
       
  5382   # Find out which ABI we are using.
       
  5383   echo 'int i;' > conftest.$ac_ext
       
  5384   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  5385   (eval $ac_compile) 2>&5
       
  5386   ac_status=$?
       
  5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5388   (exit $ac_status); }; then
       
  5389     case `/usr/bin/file conftest.o` in
       
  5390     *32-bit*)
       
  5391       case $host in
       
  5392         x86_64-*linux*)
       
  5393           LD="${LD-ld} -m elf_i386"
       
  5394           ;;
       
  5395         ppc64-*linux*|powerpc64-*linux*)
       
  5396           LD="${LD-ld} -m elf32ppclinux"
       
  5397           ;;
       
  5398         s390x-*linux*)
       
  5399           LD="${LD-ld} -m elf_s390"
       
  5400           ;;
       
  5401         sparc64-*linux*)
       
  5402           LD="${LD-ld} -m elf32_sparc"
       
  5403           ;;
       
  5404       esac
       
  5405       ;;
       
  5406     *64-bit*)
       
  5407       case $host in
       
  5408         x86_64-*linux*)
       
  5409           LD="${LD-ld} -m elf_x86_64"
       
  5410           ;;
       
  5411         ppc*-*linux*|powerpc*-*linux*)
       
  5412           LD="${LD-ld} -m elf64ppc"
       
  5413           ;;
       
  5414         s390*-*linux*)
       
  5415           LD="${LD-ld} -m elf64_s390"
       
  5416           ;;
       
  5417         sparc*-*linux*)
       
  5418           LD="${LD-ld} -m elf64_sparc"
       
  5419           ;;
       
  5420       esac
       
  5421       ;;
       
  5422     esac
       
  5423   fi
       
  5424   rm -rf conftest*
       
  5425   ;;
       
  5426 
       
  5427 *-*-sco3.2v5*)
       
  5428   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
       
  5429   SAVE_CFLAGS="$CFLAGS"
       
  5430   CFLAGS="$CFLAGS -belf"
       
  5431   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
       
  5432 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
       
  5433 if test "${lt_cv_cc_needs_belf+set}" = set; then
       
  5434   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5435 else
       
  5436   ac_ext=c
       
  5437 ac_cpp='$CPP $CPPFLAGS'
       
  5438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5441 
       
  5442      cat >conftest.$ac_ext <<_ACEOF
       
  5443 /* confdefs.h.  */
       
  5444 _ACEOF
       
  5445 cat confdefs.h >>conftest.$ac_ext
       
  5446 cat >>conftest.$ac_ext <<_ACEOF
       
  5447 /* end confdefs.h.  */
       
  5448 
       
  5449 int
       
  5450 main ()
       
  5451 {
       
  5452 
       
  5453   ;
       
  5454   return 0;
       
  5455 }
       
  5456 _ACEOF
       
  5457 rm -f conftest.$ac_objext conftest$ac_exeext
       
  5458 if { (ac_try="$ac_link"
       
  5459 case "(($ac_try" in
       
  5460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5461   *) ac_try_echo=$ac_try;;
       
  5462 esac
       
  5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5464   (eval "$ac_link") 2>conftest.er1
       
  5465   ac_status=$?
       
  5466   grep -v '^ *+' conftest.er1 >conftest.err
       
  5467   rm -f conftest.er1
       
  5468   cat conftest.err >&5
       
  5469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5470   (exit $ac_status); } &&
       
  5471 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5472   { (case "(($ac_try" in
       
  5473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5474   *) ac_try_echo=$ac_try;;
       
  5475 esac
       
  5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5477   (eval "$ac_try") 2>&5
       
  5478   ac_status=$?
       
  5479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5480   (exit $ac_status); }; } &&
       
  5481 	 { ac_try='test -s conftest$ac_exeext'
       
  5482   { (case "(($ac_try" in
       
  5483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5484   *) ac_try_echo=$ac_try;;
       
  5485 esac
       
  5486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5487   (eval "$ac_try") 2>&5
       
  5488   ac_status=$?
       
  5489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5490   (exit $ac_status); }; }; then
       
  5491   lt_cv_cc_needs_belf=yes
       
  5492 else
       
  5493   echo "$as_me: failed program was:" >&5
       
  5494 sed 's/^/| /' conftest.$ac_ext >&5
       
  5495 
       
  5496 	lt_cv_cc_needs_belf=no
       
  5497 fi
       
  5498 
       
  5499 rm -f core conftest.err conftest.$ac_objext \
       
  5500       conftest$ac_exeext conftest.$ac_ext
       
  5501      ac_ext=c
       
  5502 ac_cpp='$CPP $CPPFLAGS'
       
  5503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  5506 
       
  5507 fi
       
  5508 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
       
  5509 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
       
  5510   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
       
  5511     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
       
  5512     CFLAGS="$SAVE_CFLAGS"
       
  5513   fi
       
  5514   ;;
       
  5515 sparc*-*solaris*)
       
  5516   # Find out which ABI we are using.
       
  5517   echo 'int i;' > conftest.$ac_ext
       
  5518   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  5519   (eval $ac_compile) 2>&5
       
  5520   ac_status=$?
       
  5521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5522   (exit $ac_status); }; then
       
  5523     case `/usr/bin/file conftest.o` in
       
  5524     *64-bit*)
       
  5525       case $lt_cv_prog_gnu_ld in
       
  5526       yes*) LD="${LD-ld} -m elf64_sparc" ;;
       
  5527       *)    LD="${LD-ld} -64" ;;
       
  5528       esac
       
  5529       ;;
       
  5530     esac
       
  5531   fi
       
  5532   rm -rf conftest*
       
  5533   ;;
       
  5534 
       
  5535 
       
  5536 esac
       
  5537 
       
  5538 need_locks="$enable_libtool_lock"
       
  5539 
       
  5540 
       
  5541 
       
  5542 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
       
  5543 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
       
  5544 if test "${ac_cv_header_stdc+set}" = set; then
       
  5545   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5546 else
       
  5547   cat >conftest.$ac_ext <<_ACEOF
       
  5548 /* confdefs.h.  */
       
  5549 _ACEOF
       
  5550 cat confdefs.h >>conftest.$ac_ext
       
  5551 cat >>conftest.$ac_ext <<_ACEOF
       
  5552 /* end confdefs.h.  */
       
  5553 #include <stdlib.h>
       
  5554 #include <stdarg.h>
       
  5555 #include <string.h>
       
  5556 #include <float.h>
       
  5557 
       
  5558 int
       
  5559 main ()
       
  5560 {
       
  5561 
       
  5562   ;
       
  5563   return 0;
       
  5564 }
       
  5565 _ACEOF
       
  5566 rm -f conftest.$ac_objext
       
  5567 if { (ac_try="$ac_compile"
       
  5568 case "(($ac_try" in
       
  5569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5570   *) ac_try_echo=$ac_try;;
       
  5571 esac
       
  5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5573   (eval "$ac_compile") 2>conftest.er1
       
  5574   ac_status=$?
       
  5575   grep -v '^ *+' conftest.er1 >conftest.err
       
  5576   rm -f conftest.er1
       
  5577   cat conftest.err >&5
       
  5578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5579   (exit $ac_status); } &&
       
  5580 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5581   { (case "(($ac_try" in
       
  5582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5583   *) ac_try_echo=$ac_try;;
       
  5584 esac
       
  5585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5586   (eval "$ac_try") 2>&5
       
  5587   ac_status=$?
       
  5588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5589   (exit $ac_status); }; } &&
       
  5590 	 { ac_try='test -s conftest.$ac_objext'
       
  5591   { (case "(($ac_try" in
       
  5592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5593   *) ac_try_echo=$ac_try;;
       
  5594 esac
       
  5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5596   (eval "$ac_try") 2>&5
       
  5597   ac_status=$?
       
  5598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5599   (exit $ac_status); }; }; then
       
  5600   ac_cv_header_stdc=yes
       
  5601 else
       
  5602   echo "$as_me: failed program was:" >&5
       
  5603 sed 's/^/| /' conftest.$ac_ext >&5
       
  5604 
       
  5605 	ac_cv_header_stdc=no
       
  5606 fi
       
  5607 
       
  5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5609 
       
  5610 if test $ac_cv_header_stdc = yes; then
       
  5611   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       
  5612   cat >conftest.$ac_ext <<_ACEOF
       
  5613 /* confdefs.h.  */
       
  5614 _ACEOF
       
  5615 cat confdefs.h >>conftest.$ac_ext
       
  5616 cat >>conftest.$ac_ext <<_ACEOF
       
  5617 /* end confdefs.h.  */
       
  5618 #include <string.h>
       
  5619 
       
  5620 _ACEOF
       
  5621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5622   $EGREP "memchr" >/dev/null 2>&1; then
       
  5623   :
       
  5624 else
       
  5625   ac_cv_header_stdc=no
       
  5626 fi
       
  5627 rm -f conftest*
       
  5628 
       
  5629 fi
       
  5630 
       
  5631 if test $ac_cv_header_stdc = yes; then
       
  5632   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       
  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 #include <stdlib.h>
       
  5640 
       
  5641 _ACEOF
       
  5642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
       
  5643   $EGREP "free" >/dev/null 2>&1; then
       
  5644   :
       
  5645 else
       
  5646   ac_cv_header_stdc=no
       
  5647 fi
       
  5648 rm -f conftest*
       
  5649 
       
  5650 fi
       
  5651 
       
  5652 if test $ac_cv_header_stdc = yes; then
       
  5653   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
       
  5654   if test "$cross_compiling" = yes; then
       
  5655   :
       
  5656 else
       
  5657   cat >conftest.$ac_ext <<_ACEOF
       
  5658 /* confdefs.h.  */
       
  5659 _ACEOF
       
  5660 cat confdefs.h >>conftest.$ac_ext
       
  5661 cat >>conftest.$ac_ext <<_ACEOF
       
  5662 /* end confdefs.h.  */
       
  5663 #include <ctype.h>
       
  5664 #include <stdlib.h>
       
  5665 #if ((' ' & 0x0FF) == 0x020)
       
  5666 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
       
  5667 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
       
  5668 #else
       
  5669 # define ISLOWER(c) \
       
  5670 		   (('a' <= (c) && (c) <= 'i') \
       
  5671 		     || ('j' <= (c) && (c) <= 'r') \
       
  5672 		     || ('s' <= (c) && (c) <= 'z'))
       
  5673 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
       
  5674 #endif
       
  5675 
       
  5676 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
       
  5677 int
       
  5678 main ()
       
  5679 {
       
  5680   int i;
       
  5681   for (i = 0; i < 256; i++)
       
  5682     if (XOR (islower (i), ISLOWER (i))
       
  5683 	|| toupper (i) != TOUPPER (i))
       
  5684       return 2;
       
  5685   return 0;
       
  5686 }
       
  5687 _ACEOF
       
  5688 rm -f conftest$ac_exeext
       
  5689 if { (ac_try="$ac_link"
       
  5690 case "(($ac_try" in
       
  5691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5692   *) ac_try_echo=$ac_try;;
       
  5693 esac
       
  5694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5695   (eval "$ac_link") 2>&5
       
  5696   ac_status=$?
       
  5697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5698   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
       
  5699   { (case "(($ac_try" in
       
  5700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5701   *) ac_try_echo=$ac_try;;
       
  5702 esac
       
  5703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5704   (eval "$ac_try") 2>&5
       
  5705   ac_status=$?
       
  5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5707   (exit $ac_status); }; }; then
       
  5708   :
       
  5709 else
       
  5710   echo "$as_me: program exited with status $ac_status" >&5
       
  5711 echo "$as_me: failed program was:" >&5
       
  5712 sed 's/^/| /' conftest.$ac_ext >&5
       
  5713 
       
  5714 ( exit $ac_status )
       
  5715 ac_cv_header_stdc=no
       
  5716 fi
       
  5717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
       
  5718 fi
       
  5719 
       
  5720 
       
  5721 fi
       
  5722 fi
       
  5723 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
       
  5724 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
       
  5725 if test $ac_cv_header_stdc = yes; then
       
  5726 
       
  5727 cat >>confdefs.h <<\_ACEOF
       
  5728 #define STDC_HEADERS 1
       
  5729 _ACEOF
       
  5730 
       
  5731 fi
       
  5732 
       
  5733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
       
  5734 
       
  5735 
       
  5736 
       
  5737 
       
  5738 
       
  5739 
       
  5740 
       
  5741 
       
  5742 
       
  5743 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
       
  5744 		  inttypes.h stdint.h unistd.h
       
  5745 do
       
  5746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5750   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5751 else
       
  5752   cat >conftest.$ac_ext <<_ACEOF
       
  5753 /* confdefs.h.  */
       
  5754 _ACEOF
       
  5755 cat confdefs.h >>conftest.$ac_ext
       
  5756 cat >>conftest.$ac_ext <<_ACEOF
       
  5757 /* end confdefs.h.  */
       
  5758 $ac_includes_default
       
  5759 
       
  5760 #include <$ac_header>
       
  5761 _ACEOF
       
  5762 rm -f conftest.$ac_objext
       
  5763 if { (ac_try="$ac_compile"
       
  5764 case "(($ac_try" in
       
  5765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5766   *) ac_try_echo=$ac_try;;
       
  5767 esac
       
  5768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5769   (eval "$ac_compile") 2>conftest.er1
       
  5770   ac_status=$?
       
  5771   grep -v '^ *+' conftest.er1 >conftest.err
       
  5772   rm -f conftest.er1
       
  5773   cat conftest.err >&5
       
  5774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5775   (exit $ac_status); } &&
       
  5776 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5777   { (case "(($ac_try" in
       
  5778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5779   *) ac_try_echo=$ac_try;;
       
  5780 esac
       
  5781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5782   (eval "$ac_try") 2>&5
       
  5783   ac_status=$?
       
  5784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5785   (exit $ac_status); }; } &&
       
  5786 	 { ac_try='test -s conftest.$ac_objext'
       
  5787   { (case "(($ac_try" in
       
  5788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5789   *) ac_try_echo=$ac_try;;
       
  5790 esac
       
  5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5792   (eval "$ac_try") 2>&5
       
  5793   ac_status=$?
       
  5794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5795   (exit $ac_status); }; }; then
       
  5796   eval "$as_ac_Header=yes"
       
  5797 else
       
  5798   echo "$as_me: failed program was:" >&5
       
  5799 sed 's/^/| /' conftest.$ac_ext >&5
       
  5800 
       
  5801 	eval "$as_ac_Header=no"
       
  5802 fi
       
  5803 
       
  5804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5805 fi
       
  5806 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5807 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5808 echo "${ECHO_T}$ac_res" >&6; }
       
  5809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5810   cat >>confdefs.h <<_ACEOF
       
  5811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5812 _ACEOF
       
  5813 
       
  5814 fi
       
  5815 
       
  5816 done
       
  5817 
       
  5818 
       
  5819 
       
  5820 for ac_header in dlfcn.h
       
  5821 do
       
  5822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
       
  5823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5824   { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5827   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5828 fi
       
  5829 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5830 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5831 echo "${ECHO_T}$ac_res" >&6; }
       
  5832 else
       
  5833   # Is the header compilable?
       
  5834 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
       
  5835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
       
  5836 cat >conftest.$ac_ext <<_ACEOF
       
  5837 /* confdefs.h.  */
       
  5838 _ACEOF
       
  5839 cat confdefs.h >>conftest.$ac_ext
       
  5840 cat >>conftest.$ac_ext <<_ACEOF
       
  5841 /* end confdefs.h.  */
       
  5842 $ac_includes_default
       
  5843 #include <$ac_header>
       
  5844 _ACEOF
       
  5845 rm -f conftest.$ac_objext
       
  5846 if { (ac_try="$ac_compile"
       
  5847 case "(($ac_try" in
       
  5848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5849   *) ac_try_echo=$ac_try;;
       
  5850 esac
       
  5851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5852   (eval "$ac_compile") 2>conftest.er1
       
  5853   ac_status=$?
       
  5854   grep -v '^ *+' conftest.er1 >conftest.err
       
  5855   rm -f conftest.er1
       
  5856   cat conftest.err >&5
       
  5857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5858   (exit $ac_status); } &&
       
  5859 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  5860   { (case "(($ac_try" in
       
  5861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5862   *) ac_try_echo=$ac_try;;
       
  5863 esac
       
  5864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5865   (eval "$ac_try") 2>&5
       
  5866   ac_status=$?
       
  5867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5868   (exit $ac_status); }; } &&
       
  5869 	 { ac_try='test -s conftest.$ac_objext'
       
  5870   { (case "(($ac_try" in
       
  5871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5872   *) ac_try_echo=$ac_try;;
       
  5873 esac
       
  5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5875   (eval "$ac_try") 2>&5
       
  5876   ac_status=$?
       
  5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5878   (exit $ac_status); }; }; then
       
  5879   ac_header_compiler=yes
       
  5880 else
       
  5881   echo "$as_me: failed program was:" >&5
       
  5882 sed 's/^/| /' conftest.$ac_ext >&5
       
  5883 
       
  5884 	ac_header_compiler=no
       
  5885 fi
       
  5886 
       
  5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  5888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
       
  5889 echo "${ECHO_T}$ac_header_compiler" >&6; }
       
  5890 
       
  5891 # Is the header present?
       
  5892 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
       
  5893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
       
  5894 cat >conftest.$ac_ext <<_ACEOF
       
  5895 /* confdefs.h.  */
       
  5896 _ACEOF
       
  5897 cat confdefs.h >>conftest.$ac_ext
       
  5898 cat >>conftest.$ac_ext <<_ACEOF
       
  5899 /* end confdefs.h.  */
       
  5900 #include <$ac_header>
       
  5901 _ACEOF
       
  5902 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  5903 case "(($ac_try" in
       
  5904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  5905   *) ac_try_echo=$ac_try;;
       
  5906 esac
       
  5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  5908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  5909   ac_status=$?
       
  5910   grep -v '^ *+' conftest.er1 >conftest.err
       
  5911   rm -f conftest.er1
       
  5912   cat conftest.err >&5
       
  5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  5914   (exit $ac_status); } >/dev/null; then
       
  5915   if test -s conftest.err; then
       
  5916     ac_cpp_err=$ac_c_preproc_warn_flag
       
  5917     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
       
  5918   else
       
  5919     ac_cpp_err=
       
  5920   fi
       
  5921 else
       
  5922   ac_cpp_err=yes
       
  5923 fi
       
  5924 if test -z "$ac_cpp_err"; then
       
  5925   ac_header_preproc=yes
       
  5926 else
       
  5927   echo "$as_me: failed program was:" >&5
       
  5928 sed 's/^/| /' conftest.$ac_ext >&5
       
  5929 
       
  5930   ac_header_preproc=no
       
  5931 fi
       
  5932 
       
  5933 rm -f conftest.err conftest.$ac_ext
       
  5934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
       
  5935 echo "${ECHO_T}$ac_header_preproc" >&6; }
       
  5936 
       
  5937 # So?  What about this header?
       
  5938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
       
  5939   yes:no: )
       
  5940     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
       
  5941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
       
  5942     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
       
  5943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
       
  5944     ac_header_preproc=yes
       
  5945     ;;
       
  5946   no:yes:* )
       
  5947     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
       
  5948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
       
  5949     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
       
  5950 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
       
  5951     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
       
  5952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
       
  5953     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
       
  5954 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
       
  5955     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
       
  5956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
       
  5957     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
       
  5958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
       
  5959 
       
  5960     ;;
       
  5961 esac
       
  5962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
       
  5963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
       
  5964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
       
  5965   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5966 else
       
  5967   eval "$as_ac_Header=\$ac_header_preproc"
       
  5968 fi
       
  5969 ac_res=`eval echo '${'$as_ac_Header'}'`
       
  5970 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
  5971 echo "${ECHO_T}$ac_res" >&6; }
       
  5972 
       
  5973 fi
       
  5974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
       
  5975   cat >>confdefs.h <<_ACEOF
       
  5976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
       
  5977 _ACEOF
       
  5978 
       
  5979 fi
       
  5980 
       
  5981 done
       
  5982 
       
  5983 
       
  5984 
       
  5985 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
       
  5986     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
       
  5987     (test "X$CXX" != "Xg++"))) ; then
       
  5988   ac_ext=cpp
       
  5989 ac_cpp='$CXXCPP $CPPFLAGS'
       
  5990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  5991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  5992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  5993 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
       
  5994 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
       
  5995 if test -z "$CXXCPP"; then
       
  5996   if test "${ac_cv_prog_CXXCPP+set}" = set; then
       
  5997   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  5998 else
       
  5999       # Double quotes because CXXCPP needs to be expanded
       
  6000     for CXXCPP in "$CXX -E" "/lib/cpp"
       
  6001     do
       
  6002       ac_preproc_ok=false
       
  6003 for ac_cxx_preproc_warn_flag in '' yes
       
  6004 do
       
  6005   # Use a header file that comes with gcc, so configuring glibc
       
  6006   # with a fresh cross-compiler works.
       
  6007   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  6008   # <limits.h> exists even on freestanding compilers.
       
  6009   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  6010   # not just through cpp. "Syntax error" is here to catch this case.
       
  6011   cat >conftest.$ac_ext <<_ACEOF
       
  6012 /* confdefs.h.  */
       
  6013 _ACEOF
       
  6014 cat confdefs.h >>conftest.$ac_ext
       
  6015 cat >>conftest.$ac_ext <<_ACEOF
       
  6016 /* end confdefs.h.  */
       
  6017 #ifdef __STDC__
       
  6018 # include <limits.h>
       
  6019 #else
       
  6020 # include <assert.h>
       
  6021 #endif
       
  6022 		     Syntax error
       
  6023 _ACEOF
       
  6024 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  6025 case "(($ac_try" in
       
  6026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6027   *) ac_try_echo=$ac_try;;
       
  6028 esac
       
  6029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6030   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  6031   ac_status=$?
       
  6032   grep -v '^ *+' conftest.er1 >conftest.err
       
  6033   rm -f conftest.er1
       
  6034   cat conftest.err >&5
       
  6035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6036   (exit $ac_status); } >/dev/null; then
       
  6037   if test -s conftest.err; then
       
  6038     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  6039     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  6040   else
       
  6041     ac_cpp_err=
       
  6042   fi
       
  6043 else
       
  6044   ac_cpp_err=yes
       
  6045 fi
       
  6046 if test -z "$ac_cpp_err"; then
       
  6047   :
       
  6048 else
       
  6049   echo "$as_me: failed program was:" >&5
       
  6050 sed 's/^/| /' conftest.$ac_ext >&5
       
  6051 
       
  6052   # Broken: fails on valid input.
       
  6053 continue
       
  6054 fi
       
  6055 
       
  6056 rm -f conftest.err conftest.$ac_ext
       
  6057 
       
  6058   # OK, works on sane cases.  Now check whether nonexistent headers
       
  6059   # can be detected and how.
       
  6060   cat >conftest.$ac_ext <<_ACEOF
       
  6061 /* confdefs.h.  */
       
  6062 _ACEOF
       
  6063 cat confdefs.h >>conftest.$ac_ext
       
  6064 cat >>conftest.$ac_ext <<_ACEOF
       
  6065 /* end confdefs.h.  */
       
  6066 #include <ac_nonexistent.h>
       
  6067 _ACEOF
       
  6068 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  6069 case "(($ac_try" in
       
  6070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6071   *) ac_try_echo=$ac_try;;
       
  6072 esac
       
  6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  6075   ac_status=$?
       
  6076   grep -v '^ *+' conftest.er1 >conftest.err
       
  6077   rm -f conftest.er1
       
  6078   cat conftest.err >&5
       
  6079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6080   (exit $ac_status); } >/dev/null; then
       
  6081   if test -s conftest.err; then
       
  6082     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  6083     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  6084   else
       
  6085     ac_cpp_err=
       
  6086   fi
       
  6087 else
       
  6088   ac_cpp_err=yes
       
  6089 fi
       
  6090 if test -z "$ac_cpp_err"; then
       
  6091   # Broken: success on invalid input.
       
  6092 continue
       
  6093 else
       
  6094   echo "$as_me: failed program was:" >&5
       
  6095 sed 's/^/| /' conftest.$ac_ext >&5
       
  6096 
       
  6097   # Passes both tests.
       
  6098 ac_preproc_ok=:
       
  6099 break
       
  6100 fi
       
  6101 
       
  6102 rm -f conftest.err conftest.$ac_ext
       
  6103 
       
  6104 done
       
  6105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  6106 rm -f conftest.err conftest.$ac_ext
       
  6107 if $ac_preproc_ok; then
       
  6108   break
       
  6109 fi
       
  6110 
       
  6111     done
       
  6112     ac_cv_prog_CXXCPP=$CXXCPP
       
  6113 
       
  6114 fi
       
  6115   CXXCPP=$ac_cv_prog_CXXCPP
       
  6116 else
       
  6117   ac_cv_prog_CXXCPP=$CXXCPP
       
  6118 fi
       
  6119 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
       
  6120 echo "${ECHO_T}$CXXCPP" >&6; }
       
  6121 ac_preproc_ok=false
       
  6122 for ac_cxx_preproc_warn_flag in '' yes
       
  6123 do
       
  6124   # Use a header file that comes with gcc, so configuring glibc
       
  6125   # with a fresh cross-compiler works.
       
  6126   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  6127   # <limits.h> exists even on freestanding compilers.
       
  6128   # On the NeXT, cc -E runs the code through the compiler's parser,
       
  6129   # not just through cpp. "Syntax error" is here to catch this case.
       
  6130   cat >conftest.$ac_ext <<_ACEOF
       
  6131 /* confdefs.h.  */
       
  6132 _ACEOF
       
  6133 cat confdefs.h >>conftest.$ac_ext
       
  6134 cat >>conftest.$ac_ext <<_ACEOF
       
  6135 /* end confdefs.h.  */
       
  6136 #ifdef __STDC__
       
  6137 # include <limits.h>
       
  6138 #else
       
  6139 # include <assert.h>
       
  6140 #endif
       
  6141 		     Syntax error
       
  6142 _ACEOF
       
  6143 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  6144 case "(($ac_try" in
       
  6145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6146   *) ac_try_echo=$ac_try;;
       
  6147 esac
       
  6148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6149   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  6150   ac_status=$?
       
  6151   grep -v '^ *+' conftest.er1 >conftest.err
       
  6152   rm -f conftest.er1
       
  6153   cat conftest.err >&5
       
  6154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6155   (exit $ac_status); } >/dev/null; then
       
  6156   if test -s conftest.err; then
       
  6157     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  6158     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  6159   else
       
  6160     ac_cpp_err=
       
  6161   fi
       
  6162 else
       
  6163   ac_cpp_err=yes
       
  6164 fi
       
  6165 if test -z "$ac_cpp_err"; then
       
  6166   :
       
  6167 else
       
  6168   echo "$as_me: failed program was:" >&5
       
  6169 sed 's/^/| /' conftest.$ac_ext >&5
       
  6170 
       
  6171   # Broken: fails on valid input.
       
  6172 continue
       
  6173 fi
       
  6174 
       
  6175 rm -f conftest.err conftest.$ac_ext
       
  6176 
       
  6177   # OK, works on sane cases.  Now check whether nonexistent headers
       
  6178   # can be detected and how.
       
  6179   cat >conftest.$ac_ext <<_ACEOF
       
  6180 /* confdefs.h.  */
       
  6181 _ACEOF
       
  6182 cat confdefs.h >>conftest.$ac_ext
       
  6183 cat >>conftest.$ac_ext <<_ACEOF
       
  6184 /* end confdefs.h.  */
       
  6185 #include <ac_nonexistent.h>
       
  6186 _ACEOF
       
  6187 if { (ac_try="$ac_cpp conftest.$ac_ext"
       
  6188 case "(($ac_try" in
       
  6189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6190   *) ac_try_echo=$ac_try;;
       
  6191 esac
       
  6192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6193   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
       
  6194   ac_status=$?
       
  6195   grep -v '^ *+' conftest.er1 >conftest.err
       
  6196   rm -f conftest.er1
       
  6197   cat conftest.err >&5
       
  6198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6199   (exit $ac_status); } >/dev/null; then
       
  6200   if test -s conftest.err; then
       
  6201     ac_cpp_err=$ac_cxx_preproc_warn_flag
       
  6202     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
       
  6203   else
       
  6204     ac_cpp_err=
       
  6205   fi
       
  6206 else
       
  6207   ac_cpp_err=yes
       
  6208 fi
       
  6209 if test -z "$ac_cpp_err"; then
       
  6210   # Broken: success on invalid input.
       
  6211 continue
       
  6212 else
       
  6213   echo "$as_me: failed program was:" >&5
       
  6214 sed 's/^/| /' conftest.$ac_ext >&5
       
  6215 
       
  6216   # Passes both tests.
       
  6217 ac_preproc_ok=:
       
  6218 break
       
  6219 fi
       
  6220 
       
  6221 rm -f conftest.err conftest.$ac_ext
       
  6222 
       
  6223 done
       
  6224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
       
  6225 rm -f conftest.err conftest.$ac_ext
       
  6226 if $ac_preproc_ok; then
       
  6227   :
       
  6228 else
       
  6229   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
       
  6230 See \`config.log' for more details." >&5
       
  6231 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
       
  6232 See \`config.log' for more details." >&2;}
       
  6233    { (exit 1); exit 1; }; }
       
  6234 fi
       
  6235 
       
  6236 ac_ext=cpp
       
  6237 ac_cpp='$CXXCPP $CPPFLAGS'
       
  6238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  6239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
  6241 
       
  6242 fi
       
  6243 
       
  6244 
       
  6245 ac_ext=f
       
  6246 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
       
  6247 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6248 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
       
  6249 if test -n "$ac_tool_prefix"; then
       
  6250   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
       
  6251   do
       
  6252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
       
  6253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
       
  6254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6256 if test "${ac_cv_prog_F77+set}" = set; then
       
  6257   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6258 else
       
  6259   if test -n "$F77"; then
       
  6260   ac_cv_prog_F77="$F77" # Let the user override the test.
       
  6261 else
       
  6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6263 for as_dir in $PATH
       
  6264 do
       
  6265   IFS=$as_save_IFS
       
  6266   test -z "$as_dir" && as_dir=.
       
  6267   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6269     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
       
  6270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6271     break 2
       
  6272   fi
       
  6273 done
       
  6274 done
       
  6275 IFS=$as_save_IFS
       
  6276 
       
  6277 fi
       
  6278 fi
       
  6279 F77=$ac_cv_prog_F77
       
  6280 if test -n "$F77"; then
       
  6281   { echo "$as_me:$LINENO: result: $F77" >&5
       
  6282 echo "${ECHO_T}$F77" >&6; }
       
  6283 else
       
  6284   { echo "$as_me:$LINENO: result: no" >&5
       
  6285 echo "${ECHO_T}no" >&6; }
       
  6286 fi
       
  6287 
       
  6288 
       
  6289     test -n "$F77" && break
       
  6290   done
       
  6291 fi
       
  6292 if test -z "$F77"; then
       
  6293   ac_ct_F77=$F77
       
  6294   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
       
  6295 do
       
  6296   # Extract the first word of "$ac_prog", so it can be a program name with args.
       
  6297 set dummy $ac_prog; ac_word=$2
       
  6298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6300 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
       
  6301   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6302 else
       
  6303   if test -n "$ac_ct_F77"; then
       
  6304   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
       
  6305 else
       
  6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6307 for as_dir in $PATH
       
  6308 do
       
  6309   IFS=$as_save_IFS
       
  6310   test -z "$as_dir" && as_dir=.
       
  6311   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6313     ac_cv_prog_ac_ct_F77="$ac_prog"
       
  6314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6315     break 2
       
  6316   fi
       
  6317 done
       
  6318 done
       
  6319 IFS=$as_save_IFS
       
  6320 
       
  6321 fi
       
  6322 fi
       
  6323 ac_ct_F77=$ac_cv_prog_ac_ct_F77
       
  6324 if test -n "$ac_ct_F77"; then
       
  6325   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
       
  6326 echo "${ECHO_T}$ac_ct_F77" >&6; }
       
  6327 else
       
  6328   { echo "$as_me:$LINENO: result: no" >&5
       
  6329 echo "${ECHO_T}no" >&6; }
       
  6330 fi
       
  6331 
       
  6332 
       
  6333   test -n "$ac_ct_F77" && break
       
  6334 done
       
  6335 
       
  6336   if test "x$ac_ct_F77" = x; then
       
  6337     F77=""
       
  6338   else
       
  6339     case $cross_compiling:$ac_tool_warned in
       
  6340 yes:)
       
  6341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  6342 whose name does not start with the host triplet.  If you think this
       
  6343 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  6344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  6345 whose name does not start with the host triplet.  If you think this
       
  6346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  6347 ac_tool_warned=yes ;;
       
  6348 esac
       
  6349     F77=$ac_ct_F77
       
  6350   fi
       
  6351 fi
       
  6352 
       
  6353 
       
  6354 # Provide some information about the compiler.
       
  6355 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
       
  6356 ac_compiler=`set X $ac_compile; echo $2`
       
  6357 { (ac_try="$ac_compiler --version >&5"
       
  6358 case "(($ac_try" in
       
  6359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6360   *) ac_try_echo=$ac_try;;
       
  6361 esac
       
  6362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6363   (eval "$ac_compiler --version >&5") 2>&5
       
  6364   ac_status=$?
       
  6365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6366   (exit $ac_status); }
       
  6367 { (ac_try="$ac_compiler -v >&5"
       
  6368 case "(($ac_try" in
       
  6369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6370   *) ac_try_echo=$ac_try;;
       
  6371 esac
       
  6372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6373   (eval "$ac_compiler -v >&5") 2>&5
       
  6374   ac_status=$?
       
  6375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6376   (exit $ac_status); }
       
  6377 { (ac_try="$ac_compiler -V >&5"
       
  6378 case "(($ac_try" in
       
  6379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6380   *) ac_try_echo=$ac_try;;
       
  6381 esac
       
  6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6383   (eval "$ac_compiler -V >&5") 2>&5
       
  6384   ac_status=$?
       
  6385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6386   (exit $ac_status); }
       
  6387 rm -f a.out
       
  6388 
       
  6389 # If we don't use `.F' as extension, the preprocessor is not run on the
       
  6390 # input file.  (Note that this only needs to work for GNU compilers.)
       
  6391 ac_save_ext=$ac_ext
       
  6392 ac_ext=F
       
  6393 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
       
  6394 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
       
  6395 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
       
  6396   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6397 else
       
  6398   cat >conftest.$ac_ext <<_ACEOF
       
  6399       program main
       
  6400 #ifndef __GNUC__
       
  6401        choke me
       
  6402 #endif
       
  6403 
       
  6404       end
       
  6405 _ACEOF
       
  6406 rm -f conftest.$ac_objext
       
  6407 if { (ac_try="$ac_compile"
       
  6408 case "(($ac_try" in
       
  6409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6410   *) ac_try_echo=$ac_try;;
       
  6411 esac
       
  6412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6413   (eval "$ac_compile") 2>conftest.er1
       
  6414   ac_status=$?
       
  6415   grep -v '^ *+' conftest.er1 >conftest.err
       
  6416   rm -f conftest.er1
       
  6417   cat conftest.err >&5
       
  6418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6419   (exit $ac_status); } &&
       
  6420 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
  6421   { (case "(($ac_try" in
       
  6422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6423   *) ac_try_echo=$ac_try;;
       
  6424 esac
       
  6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6426   (eval "$ac_try") 2>&5
       
  6427   ac_status=$?
       
  6428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6429   (exit $ac_status); }; } &&
       
  6430 	 { ac_try='test -s conftest.$ac_objext'
       
  6431   { (case "(($ac_try" in
       
  6432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6433   *) ac_try_echo=$ac_try;;
       
  6434 esac
       
  6435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6436   (eval "$ac_try") 2>&5
       
  6437   ac_status=$?
       
  6438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6439   (exit $ac_status); }; }; then
       
  6440   ac_compiler_gnu=yes
       
  6441 else
       
  6442   echo "$as_me: failed program was:" >&5
       
  6443 sed 's/^/| /' conftest.$ac_ext >&5
       
  6444 
       
  6445 	ac_compiler_gnu=no
       
  6446 fi
       
  6447 
       
  6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6449 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
       
  6450 
       
  6451 fi
       
  6452 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
       
  6453 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
       
  6454 ac_ext=$ac_save_ext
       
  6455 ac_test_FFLAGS=${FFLAGS+set}
       
  6456 ac_save_FFLAGS=$FFLAGS
       
  6457 FFLAGS=
       
  6458 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
       
  6459 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
       
  6460 if test "${ac_cv_prog_f77_g+set}" = set; then
       
  6461   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6462 else
       
  6463   FFLAGS=-g
       
  6464 cat >conftest.$ac_ext <<_ACEOF
       
  6465       program main
       
  6466 
       
  6467       end
       
  6468 _ACEOF
       
  6469 rm -f conftest.$ac_objext
       
  6470 if { (ac_try="$ac_compile"
       
  6471 case "(($ac_try" in
       
  6472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6473   *) ac_try_echo=$ac_try;;
       
  6474 esac
       
  6475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6476   (eval "$ac_compile") 2>conftest.er1
       
  6477   ac_status=$?
       
  6478   grep -v '^ *+' conftest.er1 >conftest.err
       
  6479   rm -f conftest.er1
       
  6480   cat conftest.err >&5
       
  6481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6482   (exit $ac_status); } &&
       
  6483 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
  6484   { (case "(($ac_try" in
       
  6485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6486   *) ac_try_echo=$ac_try;;
       
  6487 esac
       
  6488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6489   (eval "$ac_try") 2>&5
       
  6490   ac_status=$?
       
  6491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6492   (exit $ac_status); }; } &&
       
  6493 	 { ac_try='test -s conftest.$ac_objext'
       
  6494   { (case "(($ac_try" in
       
  6495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  6496   *) ac_try_echo=$ac_try;;
       
  6497 esac
       
  6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  6499   (eval "$ac_try") 2>&5
       
  6500   ac_status=$?
       
  6501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6502   (exit $ac_status); }; }; then
       
  6503   ac_cv_prog_f77_g=yes
       
  6504 else
       
  6505   echo "$as_me: failed program was:" >&5
       
  6506 sed 's/^/| /' conftest.$ac_ext >&5
       
  6507 
       
  6508 	ac_cv_prog_f77_g=no
       
  6509 fi
       
  6510 
       
  6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
  6512 
       
  6513 fi
       
  6514 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
       
  6515 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
       
  6516 if test "$ac_test_FFLAGS" = set; then
       
  6517   FFLAGS=$ac_save_FFLAGS
       
  6518 elif test $ac_cv_prog_f77_g = yes; then
       
  6519   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
       
  6520     FFLAGS="-g -O2"
       
  6521   else
       
  6522     FFLAGS="-g"
       
  6523   fi
       
  6524 else
       
  6525   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
       
  6526     FFLAGS="-O2"
       
  6527   else
       
  6528     FFLAGS=
       
  6529   fi
       
  6530 fi
       
  6531 
       
  6532 G77=`test $ac_compiler_gnu = yes && echo yes`
       
  6533 ac_ext=c
       
  6534 ac_cpp='$CPP $CPPFLAGS'
       
  6535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  6536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  6537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  6538 
       
  6539 
       
  6540 
       
  6541 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
       
  6542 
       
  6543 # find the maximum length of command line arguments
       
  6544 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
       
  6545 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
       
  6546 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
       
  6547   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6548 else
       
  6549     i=0
       
  6550   teststring="ABCD"
       
  6551 
       
  6552   case $build_os in
       
  6553   msdosdjgpp*)
       
  6554     # On DJGPP, this test can blow up pretty badly due to problems in libc
       
  6555     # (any single argument exceeding 2000 bytes causes a buffer overrun
       
  6556     # during glob expansion).  Even if it were fixed, the result of this
       
  6557     # check would be larger than it should be.
       
  6558     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
       
  6559     ;;
       
  6560 
       
  6561   gnu*)
       
  6562     # Under GNU Hurd, this test is not required because there is
       
  6563     # no limit to the length of command line arguments.
       
  6564     # Libtool will interpret -1 as no limit whatsoever
       
  6565     lt_cv_sys_max_cmd_len=-1;
       
  6566     ;;
       
  6567 
       
  6568   cygwin* | mingw*)
       
  6569     # On Win9x/ME, this test blows up -- it succeeds, but takes
       
  6570     # about 5 minutes as the teststring grows exponentially.
       
  6571     # Worse, since 9x/ME are not pre-emptively multitasking,
       
  6572     # you end up with a "frozen" computer, even though with patience
       
  6573     # the test eventually succeeds (with a max line length of 256k).
       
  6574     # Instead, let's just punt: use the minimum linelength reported by
       
  6575     # all of the supported platforms: 8192 (on NT/2K/XP).
       
  6576     lt_cv_sys_max_cmd_len=8192;
       
  6577     ;;
       
  6578 
       
  6579   amigaos*)
       
  6580     # On AmigaOS with pdksh, this test takes hours, literally.
       
  6581     # So we just punt and use a minimum line length of 8192.
       
  6582     lt_cv_sys_max_cmd_len=8192;
       
  6583     ;;
       
  6584 
       
  6585   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
       
  6586     # This has been around since 386BSD, at least.  Likely further.
       
  6587     if test -x /sbin/sysctl; then
       
  6588       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
       
  6589     elif test -x /usr/sbin/sysctl; then
       
  6590       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
       
  6591     else
       
  6592       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
       
  6593     fi
       
  6594     # And add a safety zone
       
  6595     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       
  6596     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
       
  6597     ;;
       
  6598 
       
  6599   interix*)
       
  6600     # We know the value 262144 and hardcode it with a safety zone (like BSD)
       
  6601     lt_cv_sys_max_cmd_len=196608
       
  6602     ;;
       
  6603 
       
  6604   osf*)
       
  6605     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
       
  6606     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
       
  6607     # nice to cause kernel panics so lets avoid the loop below.
       
  6608     # First set a reasonable default.
       
  6609     lt_cv_sys_max_cmd_len=16384
       
  6610     #
       
  6611     if test -x /sbin/sysconfig; then
       
  6612       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
       
  6613         *1*) lt_cv_sys_max_cmd_len=-1 ;;
       
  6614       esac
       
  6615     fi
       
  6616     ;;
       
  6617   sco3.2v5*)
       
  6618     lt_cv_sys_max_cmd_len=102400
       
  6619     ;;
       
  6620   sysv5* | sco5v6* | sysv4.2uw2*)
       
  6621     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
       
  6622     if test -n "$kargmax"; then
       
  6623       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
       
  6624     else
       
  6625       lt_cv_sys_max_cmd_len=32768
       
  6626     fi
       
  6627     ;;
       
  6628   *)
       
  6629     # If test is not a shell built-in, we'll probably end up computing a
       
  6630     # maximum length that is only half of the actual maximum length, but
       
  6631     # we can't tell.
       
  6632     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
       
  6633     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
       
  6634 	       = "XX$teststring") >/dev/null 2>&1 &&
       
  6635 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
       
  6636 	    lt_cv_sys_max_cmd_len=$new_result &&
       
  6637 	    test $i != 17 # 1/2 MB should be enough
       
  6638     do
       
  6639       i=`expr $i + 1`
       
  6640       teststring=$teststring$teststring
       
  6641     done
       
  6642     teststring=
       
  6643     # Add a significant safety factor because C++ compilers can tack on massive
       
  6644     # amounts of additional arguments before passing them to the linker.
       
  6645     # It appears as though 1/2 is a usable value.
       
  6646     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
       
  6647     ;;
       
  6648   esac
       
  6649 
       
  6650 fi
       
  6651 
       
  6652 if test -n $lt_cv_sys_max_cmd_len ; then
       
  6653   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
       
  6654 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
       
  6655 else
       
  6656   { echo "$as_me:$LINENO: result: none" >&5
       
  6657 echo "${ECHO_T}none" >&6; }
       
  6658 fi
       
  6659 
       
  6660 
       
  6661 
       
  6662 
       
  6663 # Check for command to grab the raw symbol name followed by C symbol from nm.
       
  6664 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
       
  6665 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
       
  6666 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
       
  6667   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6668 else
       
  6669 
       
  6670 # These are sane defaults that work on at least a few old systems.
       
  6671 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
       
  6672 
       
  6673 # Character class describing NM global symbol codes.
       
  6674 symcode='[BCDEGRST]'
       
  6675 
       
  6676 # Regexp to match symbols that can be accessed directly from C.
       
  6677 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
       
  6678 
       
  6679 # Transform an extracted symbol line into a proper C declaration
       
  6680 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
       
  6681 
       
  6682 # Transform an extracted symbol line into symbol name and symbol address
       
  6683 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'"
       
  6684 
       
  6685 # Define system-specific variables.
       
  6686 case $host_os in
       
  6687 aix*)
       
  6688   symcode='[BCDT]'
       
  6689   ;;
       
  6690 cygwin* | mingw* | pw32*)
       
  6691   symcode='[ABCDGISTW]'
       
  6692   ;;
       
  6693 hpux*) # Its linker distinguishes data from code symbols
       
  6694   if test "$host_cpu" = ia64; then
       
  6695     symcode='[ABCDEGRST]'
       
  6696   fi
       
  6697   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
       
  6698   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'"
       
  6699   ;;
       
  6700 linux*)
       
  6701   if test "$host_cpu" = ia64; then
       
  6702     symcode='[ABCDGIRSTW]'
       
  6703     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
       
  6704     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'"
       
  6705   fi
       
  6706   ;;
       
  6707 irix* | nonstopux*)
       
  6708   symcode='[BCDEGRST]'
       
  6709   ;;
       
  6710 osf*)
       
  6711   symcode='[BCDEGQRST]'
       
  6712   ;;
       
  6713 solaris*)
       
  6714   symcode='[BDRT]'
       
  6715   ;;
       
  6716 sco3.2v5*)
       
  6717   symcode='[DT]'
       
  6718   ;;
       
  6719 sysv4.2uw2*)
       
  6720   symcode='[DT]'
       
  6721   ;;
       
  6722 sysv5* | sco5v6* | unixware* | OpenUNIX*)
       
  6723   symcode='[ABDT]'
       
  6724   ;;
       
  6725 sysv4)
       
  6726   symcode='[DFNSTU]'
       
  6727   ;;
       
  6728 esac
       
  6729 
       
  6730 # Handle CRLF in mingw tool chain
       
  6731 opt_cr=
       
  6732 case $build_os in
       
  6733 mingw*)
       
  6734   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
       
  6735   ;;
       
  6736 esac
       
  6737 
       
  6738 # If we're using GNU nm, then use its standard symbol codes.
       
  6739 case `$NM -V 2>&1` in
       
  6740 *GNU* | *'with BFD'*)
       
  6741   symcode='[ABCDGIRSTW]' ;;
       
  6742 esac
       
  6743 
       
  6744 # Try without a prefix undercore, then with it.
       
  6745 for ac_symprfx in "" "_"; do
       
  6746 
       
  6747   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
       
  6748   symxfrm="\\1 $ac_symprfx\\2 \\2"
       
  6749 
       
  6750   # Write the raw and C identifiers.
       
  6751   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
       
  6752 
       
  6753   # Check to see that the pipe works correctly.
       
  6754   pipe_works=no
       
  6755 
       
  6756   rm -f conftest*
       
  6757   cat > conftest.$ac_ext <<EOF
       
  6758 #ifdef __cplusplus
       
  6759 extern "C" {
       
  6760 #endif
       
  6761 char nm_test_var;
       
  6762 void nm_test_func(){}
       
  6763 #ifdef __cplusplus
       
  6764 }
       
  6765 #endif
       
  6766 int main(){nm_test_var='a';nm_test_func();return(0);}
       
  6767 EOF
       
  6768 
       
  6769   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  6770   (eval $ac_compile) 2>&5
       
  6771   ac_status=$?
       
  6772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6773   (exit $ac_status); }; then
       
  6774     # Now try to grab the symbols.
       
  6775     nlist=conftest.nm
       
  6776     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
       
  6777   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
       
  6778   ac_status=$?
       
  6779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6780   (exit $ac_status); } && test -s "$nlist"; then
       
  6781       # Try sorting and uniquifying the output.
       
  6782       if sort "$nlist" | uniq > "$nlist"T; then
       
  6783 	mv -f "$nlist"T "$nlist"
       
  6784       else
       
  6785 	rm -f "$nlist"T
       
  6786       fi
       
  6787 
       
  6788       # Make sure that we snagged all the symbols we need.
       
  6789       if grep ' nm_test_var$' "$nlist" >/dev/null; then
       
  6790 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
       
  6791 	  cat <<EOF > conftest.$ac_ext
       
  6792 #ifdef __cplusplus
       
  6793 extern "C" {
       
  6794 #endif
       
  6795 
       
  6796 EOF
       
  6797 	  # Now generate the symbol file.
       
  6798 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
       
  6799 
       
  6800 	  cat <<EOF >> conftest.$ac_ext
       
  6801 #if defined (__STDC__) && __STDC__
       
  6802 # define lt_ptr_t void *
       
  6803 #else
       
  6804 # define lt_ptr_t char *
       
  6805 # define const
       
  6806 #endif
       
  6807 
       
  6808 /* The mapping between symbol names and symbols. */
       
  6809 const struct {
       
  6810   const char *name;
       
  6811   lt_ptr_t address;
       
  6812 }
       
  6813 lt_preloaded_symbols[] =
       
  6814 {
       
  6815 EOF
       
  6816 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
       
  6817 	  cat <<\EOF >> conftest.$ac_ext
       
  6818   {0, (lt_ptr_t) 0}
       
  6819 };
       
  6820 
       
  6821 #ifdef __cplusplus
       
  6822 }
       
  6823 #endif
       
  6824 EOF
       
  6825 	  # Now try linking the two files.
       
  6826 	  mv conftest.$ac_objext conftstm.$ac_objext
       
  6827 	  lt_save_LIBS="$LIBS"
       
  6828 	  lt_save_CFLAGS="$CFLAGS"
       
  6829 	  LIBS="conftstm.$ac_objext"
       
  6830 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
       
  6831 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
  6832   (eval $ac_link) 2>&5
       
  6833   ac_status=$?
       
  6834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  6835   (exit $ac_status); } && test -s conftest${ac_exeext}; then
       
  6836 	    pipe_works=yes
       
  6837 	  fi
       
  6838 	  LIBS="$lt_save_LIBS"
       
  6839 	  CFLAGS="$lt_save_CFLAGS"
       
  6840 	else
       
  6841 	  echo "cannot find nm_test_func in $nlist" >&5
       
  6842 	fi
       
  6843       else
       
  6844 	echo "cannot find nm_test_var in $nlist" >&5
       
  6845       fi
       
  6846     else
       
  6847       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
       
  6848     fi
       
  6849   else
       
  6850     echo "$progname: failed program was:" >&5
       
  6851     cat conftest.$ac_ext >&5
       
  6852   fi
       
  6853   rm -f conftest* conftst*
       
  6854 
       
  6855   # Do not use the global_symbol_pipe unless it works.
       
  6856   if test "$pipe_works" = yes; then
       
  6857     break
       
  6858   else
       
  6859     lt_cv_sys_global_symbol_pipe=
       
  6860   fi
       
  6861 done
       
  6862 
       
  6863 fi
       
  6864 
       
  6865 if test -z "$lt_cv_sys_global_symbol_pipe"; then
       
  6866   lt_cv_sys_global_symbol_to_cdecl=
       
  6867 fi
       
  6868 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
       
  6869   { echo "$as_me:$LINENO: result: failed" >&5
       
  6870 echo "${ECHO_T}failed" >&6; }
       
  6871 else
       
  6872   { echo "$as_me:$LINENO: result: ok" >&5
       
  6873 echo "${ECHO_T}ok" >&6; }
       
  6874 fi
       
  6875 
       
  6876 { echo "$as_me:$LINENO: checking for objdir" >&5
       
  6877 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
       
  6878 if test "${lt_cv_objdir+set}" = set; then
       
  6879   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6880 else
       
  6881   rm -f .libs 2>/dev/null
       
  6882 mkdir .libs 2>/dev/null
       
  6883 if test -d .libs; then
       
  6884   lt_cv_objdir=.libs
       
  6885 else
       
  6886   # MS-DOS does not allow filenames that begin with a dot.
       
  6887   lt_cv_objdir=_libs
       
  6888 fi
       
  6889 rmdir .libs 2>/dev/null
       
  6890 fi
       
  6891 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
       
  6892 echo "${ECHO_T}$lt_cv_objdir" >&6; }
       
  6893 objdir=$lt_cv_objdir
       
  6894 
       
  6895 
       
  6896 
       
  6897 
       
  6898 
       
  6899 case $host_os in
       
  6900 aix3*)
       
  6901   # AIX sometimes has problems with the GCC collect2 program.  For some
       
  6902   # reason, if we set the COLLECT_NAMES environment variable, the problems
       
  6903   # vanish in a puff of smoke.
       
  6904   if test "X${COLLECT_NAMES+set}" != Xset; then
       
  6905     COLLECT_NAMES=
       
  6906     export COLLECT_NAMES
       
  6907   fi
       
  6908   ;;
       
  6909 esac
       
  6910 
       
  6911 # Sed substitution that helps us do robust quoting.  It backslashifies
       
  6912 # metacharacters that are still active within double-quoted strings.
       
  6913 Xsed='sed -e 1s/^X//'
       
  6914 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
       
  6915 
       
  6916 # Same as above, but do not quote variable references.
       
  6917 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
       
  6918 
       
  6919 # Sed substitution to delay expansion of an escaped shell variable in a
       
  6920 # double_quote_subst'ed string.
       
  6921 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
       
  6922 
       
  6923 # Sed substitution to avoid accidental globbing in evaled expressions
       
  6924 no_glob_subst='s/\*/\\\*/g'
       
  6925 
       
  6926 # Constants:
       
  6927 rm="rm -f"
       
  6928 
       
  6929 # Global variables:
       
  6930 default_ofile=libtool
       
  6931 can_build_shared=yes
       
  6932 
       
  6933 # All known linkers require a `.a' archive for static linking (except MSVC,
       
  6934 # which needs '.lib').
       
  6935 libext=a
       
  6936 ltmain="$ac_aux_dir/ltmain.sh"
       
  6937 ofile="$default_ofile"
       
  6938 with_gnu_ld="$lt_cv_prog_gnu_ld"
       
  6939 
       
  6940 if test -n "$ac_tool_prefix"; then
       
  6941   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
       
  6942 set dummy ${ac_tool_prefix}ar; ac_word=$2
       
  6943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6945 if test "${ac_cv_prog_AR+set}" = set; then
       
  6946   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6947 else
       
  6948   if test -n "$AR"; then
       
  6949   ac_cv_prog_AR="$AR" # Let the user override the test.
       
  6950 else
       
  6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6952 for as_dir in $PATH
       
  6953 do
       
  6954   IFS=$as_save_IFS
       
  6955   test -z "$as_dir" && as_dir=.
       
  6956   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6958     ac_cv_prog_AR="${ac_tool_prefix}ar"
       
  6959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  6960     break 2
       
  6961   fi
       
  6962 done
       
  6963 done
       
  6964 IFS=$as_save_IFS
       
  6965 
       
  6966 fi
       
  6967 fi
       
  6968 AR=$ac_cv_prog_AR
       
  6969 if test -n "$AR"; then
       
  6970   { echo "$as_me:$LINENO: result: $AR" >&5
       
  6971 echo "${ECHO_T}$AR" >&6; }
       
  6972 else
       
  6973   { echo "$as_me:$LINENO: result: no" >&5
       
  6974 echo "${ECHO_T}no" >&6; }
       
  6975 fi
       
  6976 
       
  6977 
       
  6978 fi
       
  6979 if test -z "$ac_cv_prog_AR"; then
       
  6980   ac_ct_AR=$AR
       
  6981   # Extract the first word of "ar", so it can be a program name with args.
       
  6982 set dummy ar; ac_word=$2
       
  6983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  6984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  6985 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
       
  6986   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  6987 else
       
  6988   if test -n "$ac_ct_AR"; then
       
  6989   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
       
  6990 else
       
  6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  6992 for as_dir in $PATH
       
  6993 do
       
  6994   IFS=$as_save_IFS
       
  6995   test -z "$as_dir" && as_dir=.
       
  6996   for ac_exec_ext in '' $ac_executable_extensions; do
       
  6997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  6998     ac_cv_prog_ac_ct_AR="ar"
       
  6999     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  7000     break 2
       
  7001   fi
       
  7002 done
       
  7003 done
       
  7004 IFS=$as_save_IFS
       
  7005 
       
  7006 fi
       
  7007 fi
       
  7008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
       
  7009 if test -n "$ac_ct_AR"; then
       
  7010   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
       
  7011 echo "${ECHO_T}$ac_ct_AR" >&6; }
       
  7012 else
       
  7013   { echo "$as_me:$LINENO: result: no" >&5
       
  7014 echo "${ECHO_T}no" >&6; }
       
  7015 fi
       
  7016 
       
  7017   if test "x$ac_ct_AR" = x; then
       
  7018     AR="false"
       
  7019   else
       
  7020     case $cross_compiling:$ac_tool_warned in
       
  7021 yes:)
       
  7022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  7023 whose name does not start with the host triplet.  If you think this
       
  7024 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  7025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  7026 whose name does not start with the host triplet.  If you think this
       
  7027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  7028 ac_tool_warned=yes ;;
       
  7029 esac
       
  7030     AR=$ac_ct_AR
       
  7031   fi
       
  7032 else
       
  7033   AR="$ac_cv_prog_AR"
       
  7034 fi
       
  7035 
       
  7036 if test -n "$ac_tool_prefix"; then
       
  7037   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
       
  7038 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
       
  7039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  7040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  7041 if test "${ac_cv_prog_RANLIB+set}" = set; then
       
  7042   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7043 else
       
  7044   if test -n "$RANLIB"; then
       
  7045   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
       
  7046 else
       
  7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  7048 for as_dir in $PATH
       
  7049 do
       
  7050   IFS=$as_save_IFS
       
  7051   test -z "$as_dir" && as_dir=.
       
  7052   for ac_exec_ext in '' $ac_executable_extensions; do
       
  7053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  7054     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
       
  7055     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  7056     break 2
       
  7057   fi
       
  7058 done
       
  7059 done
       
  7060 IFS=$as_save_IFS
       
  7061 
       
  7062 fi
       
  7063 fi
       
  7064 RANLIB=$ac_cv_prog_RANLIB
       
  7065 if test -n "$RANLIB"; then
       
  7066   { echo "$as_me:$LINENO: result: $RANLIB" >&5
       
  7067 echo "${ECHO_T}$RANLIB" >&6; }
       
  7068 else
       
  7069   { echo "$as_me:$LINENO: result: no" >&5
       
  7070 echo "${ECHO_T}no" >&6; }
       
  7071 fi
       
  7072 
       
  7073 
       
  7074 fi
       
  7075 if test -z "$ac_cv_prog_RANLIB"; then
       
  7076   ac_ct_RANLIB=$RANLIB
       
  7077   # Extract the first word of "ranlib", so it can be a program name with args.
       
  7078 set dummy ranlib; ac_word=$2
       
  7079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  7080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  7081 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
       
  7082   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7083 else
       
  7084   if test -n "$ac_ct_RANLIB"; then
       
  7085   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
       
  7086 else
       
  7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  7088 for as_dir in $PATH
       
  7089 do
       
  7090   IFS=$as_save_IFS
       
  7091   test -z "$as_dir" && as_dir=.
       
  7092   for ac_exec_ext in '' $ac_executable_extensions; do
       
  7093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  7094     ac_cv_prog_ac_ct_RANLIB="ranlib"
       
  7095     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  7096     break 2
       
  7097   fi
       
  7098 done
       
  7099 done
       
  7100 IFS=$as_save_IFS
       
  7101 
       
  7102 fi
       
  7103 fi
       
  7104 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
       
  7105 if test -n "$ac_ct_RANLIB"; then
       
  7106   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
       
  7107 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
       
  7108 else
       
  7109   { echo "$as_me:$LINENO: result: no" >&5
       
  7110 echo "${ECHO_T}no" >&6; }
       
  7111 fi
       
  7112 
       
  7113   if test "x$ac_ct_RANLIB" = x; then
       
  7114     RANLIB=":"
       
  7115   else
       
  7116     case $cross_compiling:$ac_tool_warned in
       
  7117 yes:)
       
  7118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  7119 whose name does not start with the host triplet.  If you think this
       
  7120 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  7121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  7122 whose name does not start with the host triplet.  If you think this
       
  7123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  7124 ac_tool_warned=yes ;;
       
  7125 esac
       
  7126     RANLIB=$ac_ct_RANLIB
       
  7127   fi
       
  7128 else
       
  7129   RANLIB="$ac_cv_prog_RANLIB"
       
  7130 fi
       
  7131 
       
  7132 if test -n "$ac_tool_prefix"; then
       
  7133   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
       
  7134 set dummy ${ac_tool_prefix}strip; ac_word=$2
       
  7135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  7136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  7137 if test "${ac_cv_prog_STRIP+set}" = set; then
       
  7138   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7139 else
       
  7140   if test -n "$STRIP"; then
       
  7141   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
       
  7142 else
       
  7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  7144 for as_dir in $PATH
       
  7145 do
       
  7146   IFS=$as_save_IFS
       
  7147   test -z "$as_dir" && as_dir=.
       
  7148   for ac_exec_ext in '' $ac_executable_extensions; do
       
  7149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  7150     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
       
  7151     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  7152     break 2
       
  7153   fi
       
  7154 done
       
  7155 done
       
  7156 IFS=$as_save_IFS
       
  7157 
       
  7158 fi
       
  7159 fi
       
  7160 STRIP=$ac_cv_prog_STRIP
       
  7161 if test -n "$STRIP"; then
       
  7162   { echo "$as_me:$LINENO: result: $STRIP" >&5
       
  7163 echo "${ECHO_T}$STRIP" >&6; }
       
  7164 else
       
  7165   { echo "$as_me:$LINENO: result: no" >&5
       
  7166 echo "${ECHO_T}no" >&6; }
       
  7167 fi
       
  7168 
       
  7169 
       
  7170 fi
       
  7171 if test -z "$ac_cv_prog_STRIP"; then
       
  7172   ac_ct_STRIP=$STRIP
       
  7173   # Extract the first word of "strip", so it can be a program name with args.
       
  7174 set dummy strip; ac_word=$2
       
  7175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
  7176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
  7177 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
       
  7178   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7179 else
       
  7180   if test -n "$ac_ct_STRIP"; then
       
  7181   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
       
  7182 else
       
  7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
  7184 for as_dir in $PATH
       
  7185 do
       
  7186   IFS=$as_save_IFS
       
  7187   test -z "$as_dir" && as_dir=.
       
  7188   for ac_exec_ext in '' $ac_executable_extensions; do
       
  7189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
  7190     ac_cv_prog_ac_ct_STRIP="strip"
       
  7191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
  7192     break 2
       
  7193   fi
       
  7194 done
       
  7195 done
       
  7196 IFS=$as_save_IFS
       
  7197 
       
  7198 fi
       
  7199 fi
       
  7200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
       
  7201 if test -n "$ac_ct_STRIP"; then
       
  7202   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
       
  7203 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
       
  7204 else
       
  7205   { echo "$as_me:$LINENO: result: no" >&5
       
  7206 echo "${ECHO_T}no" >&6; }
       
  7207 fi
       
  7208 
       
  7209   if test "x$ac_ct_STRIP" = x; then
       
  7210     STRIP=":"
       
  7211   else
       
  7212     case $cross_compiling:$ac_tool_warned in
       
  7213 yes:)
       
  7214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
       
  7215 whose name does not start with the host triplet.  If you think this
       
  7216 configuration is useful to you, please write to autoconf@gnu.org." >&5
       
  7217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
       
  7218 whose name does not start with the host triplet.  If you think this
       
  7219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
       
  7220 ac_tool_warned=yes ;;
       
  7221 esac
       
  7222     STRIP=$ac_ct_STRIP
       
  7223   fi
       
  7224 else
       
  7225   STRIP="$ac_cv_prog_STRIP"
       
  7226 fi
       
  7227 
       
  7228 
       
  7229 old_CC="$CC"
       
  7230 old_CFLAGS="$CFLAGS"
       
  7231 
       
  7232 # Set sane defaults for various variables
       
  7233 test -z "$AR" && AR=ar
       
  7234 test -z "$AR_FLAGS" && AR_FLAGS=cru
       
  7235 test -z "$AS" && AS=as
       
  7236 test -z "$CC" && CC=cc
       
  7237 test -z "$LTCC" && LTCC=$CC
       
  7238 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
       
  7239 test -z "$DLLTOOL" && DLLTOOL=dlltool
       
  7240 test -z "$LD" && LD=ld
       
  7241 test -z "$LN_S" && LN_S="ln -s"
       
  7242 test -z "$MAGIC_CMD" && MAGIC_CMD=file
       
  7243 test -z "$NM" && NM=nm
       
  7244 test -z "$SED" && SED=sed
       
  7245 test -z "$OBJDUMP" && OBJDUMP=objdump
       
  7246 test -z "$RANLIB" && RANLIB=:
       
  7247 test -z "$STRIP" && STRIP=:
       
  7248 test -z "$ac_objext" && ac_objext=o
       
  7249 
       
  7250 # Determine commands to create old-style static archives.
       
  7251 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
       
  7252 old_postinstall_cmds='chmod 644 $oldlib'
       
  7253 old_postuninstall_cmds=
       
  7254 
       
  7255 if test -n "$RANLIB"; then
       
  7256   case $host_os in
       
  7257   openbsd*)
       
  7258     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
       
  7259     ;;
       
  7260   *)
       
  7261     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
       
  7262     ;;
       
  7263   esac
       
  7264   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
       
  7265 fi
       
  7266 
       
  7267 for cc_temp in $compiler""; do
       
  7268   case $cc_temp in
       
  7269     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
  7270     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
  7271     \-*) ;;
       
  7272     *) break;;
       
  7273   esac
       
  7274 done
       
  7275 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
  7276 
       
  7277 
       
  7278 # Only perform the check for file, if the check method requires it
       
  7279 case $deplibs_check_method in
       
  7280 file_magic*)
       
  7281   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
       
  7282     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
       
  7283 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
       
  7284 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
       
  7285   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7286 else
       
  7287   case $MAGIC_CMD in
       
  7288 [\\/*] |  ?:[\\/]*)
       
  7289   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
       
  7290   ;;
       
  7291 *)
       
  7292   lt_save_MAGIC_CMD="$MAGIC_CMD"
       
  7293   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  7294   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
       
  7295   for ac_dir in $ac_dummy; do
       
  7296     IFS="$lt_save_ifs"
       
  7297     test -z "$ac_dir" && ac_dir=.
       
  7298     if test -f $ac_dir/${ac_tool_prefix}file; then
       
  7299       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
       
  7300       if test -n "$file_magic_test_file"; then
       
  7301 	case $deplibs_check_method in
       
  7302 	"file_magic "*)
       
  7303 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
       
  7304 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7305 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
       
  7306 	    $EGREP "$file_magic_regex" > /dev/null; then
       
  7307 	    :
       
  7308 	  else
       
  7309 	    cat <<EOF 1>&2
       
  7310 
       
  7311 *** Warning: the command libtool uses to detect shared libraries,
       
  7312 *** $file_magic_cmd, produces output that libtool cannot recognize.
       
  7313 *** The result is that libtool may fail to recognize shared libraries
       
  7314 *** as such.  This will affect the creation of libtool libraries that
       
  7315 *** depend on shared libraries, but programs linked with such libtool
       
  7316 *** libraries will work regardless of this problem.  Nevertheless, you
       
  7317 *** may want to report the problem to your system manager and/or to
       
  7318 *** bug-libtool@gnu.org
       
  7319 
       
  7320 EOF
       
  7321 	  fi ;;
       
  7322 	esac
       
  7323       fi
       
  7324       break
       
  7325     fi
       
  7326   done
       
  7327   IFS="$lt_save_ifs"
       
  7328   MAGIC_CMD="$lt_save_MAGIC_CMD"
       
  7329   ;;
       
  7330 esac
       
  7331 fi
       
  7332 
       
  7333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7334 if test -n "$MAGIC_CMD"; then
       
  7335   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
       
  7336 echo "${ECHO_T}$MAGIC_CMD" >&6; }
       
  7337 else
       
  7338   { echo "$as_me:$LINENO: result: no" >&5
       
  7339 echo "${ECHO_T}no" >&6; }
       
  7340 fi
       
  7341 
       
  7342 if test -z "$lt_cv_path_MAGIC_CMD"; then
       
  7343   if test -n "$ac_tool_prefix"; then
       
  7344     { echo "$as_me:$LINENO: checking for file" >&5
       
  7345 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
       
  7346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
       
  7347   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7348 else
       
  7349   case $MAGIC_CMD in
       
  7350 [\\/*] |  ?:[\\/]*)
       
  7351   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
       
  7352   ;;
       
  7353 *)
       
  7354   lt_save_MAGIC_CMD="$MAGIC_CMD"
       
  7355   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
  7356   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
       
  7357   for ac_dir in $ac_dummy; do
       
  7358     IFS="$lt_save_ifs"
       
  7359     test -z "$ac_dir" && ac_dir=.
       
  7360     if test -f $ac_dir/file; then
       
  7361       lt_cv_path_MAGIC_CMD="$ac_dir/file"
       
  7362       if test -n "$file_magic_test_file"; then
       
  7363 	case $deplibs_check_method in
       
  7364 	"file_magic "*)
       
  7365 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
       
  7366 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7367 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
       
  7368 	    $EGREP "$file_magic_regex" > /dev/null; then
       
  7369 	    :
       
  7370 	  else
       
  7371 	    cat <<EOF 1>&2
       
  7372 
       
  7373 *** Warning: the command libtool uses to detect shared libraries,
       
  7374 *** $file_magic_cmd, produces output that libtool cannot recognize.
       
  7375 *** The result is that libtool may fail to recognize shared libraries
       
  7376 *** as such.  This will affect the creation of libtool libraries that
       
  7377 *** depend on shared libraries, but programs linked with such libtool
       
  7378 *** libraries will work regardless of this problem.  Nevertheless, you
       
  7379 *** may want to report the problem to your system manager and/or to
       
  7380 *** bug-libtool@gnu.org
       
  7381 
       
  7382 EOF
       
  7383 	  fi ;;
       
  7384 	esac
       
  7385       fi
       
  7386       break
       
  7387     fi
       
  7388   done
       
  7389   IFS="$lt_save_ifs"
       
  7390   MAGIC_CMD="$lt_save_MAGIC_CMD"
       
  7391   ;;
       
  7392 esac
       
  7393 fi
       
  7394 
       
  7395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
       
  7396 if test -n "$MAGIC_CMD"; then
       
  7397   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
       
  7398 echo "${ECHO_T}$MAGIC_CMD" >&6; }
       
  7399 else
       
  7400   { echo "$as_me:$LINENO: result: no" >&5
       
  7401 echo "${ECHO_T}no" >&6; }
       
  7402 fi
       
  7403 
       
  7404   else
       
  7405     MAGIC_CMD=:
       
  7406   fi
       
  7407 fi
       
  7408 
       
  7409   fi
       
  7410   ;;
       
  7411 esac
       
  7412 
       
  7413 enable_dlopen=no
       
  7414 enable_win32_dll=no
       
  7415 
       
  7416 # Check whether --enable-libtool-lock was given.
       
  7417 if test "${enable_libtool_lock+set}" = set; then
       
  7418   enableval=$enable_libtool_lock;
       
  7419 fi
       
  7420 
       
  7421 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
       
  7422 
       
  7423 
       
  7424 # Check whether --with-pic was given.
       
  7425 if test "${with_pic+set}" = set; then
       
  7426   withval=$with_pic; pic_mode="$withval"
       
  7427 else
       
  7428   pic_mode=default
       
  7429 fi
       
  7430 
       
  7431 test -z "$pic_mode" && pic_mode=default
       
  7432 
       
  7433 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
       
  7434 #
       
  7435 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
       
  7436 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
       
  7437 #        calls AC_LIBTOOL_CONFIG and creates libtool.
       
  7438 #
       
  7439 { echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
       
  7440 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
       
  7441 if test "x$ltmain" = "x" ; then
       
  7442   { echo "$as_me:$LINENO: result: no" >&5
       
  7443 echo "${ECHO_T}no" >&6; }
       
  7444   { { echo "$as_me:$LINENO: error:
       
  7445 
       
  7446 *** [Gentoo] sanity check failed! ***
       
  7447 *** \$ltmain is not defined, please check the patch for consistency! ***
       
  7448 " >&5
       
  7449 echo "$as_me: error:
       
  7450 
       
  7451 *** [Gentoo] sanity check failed! ***
       
  7452 *** \$ltmain is not defined, please check the patch for consistency! ***
       
  7453 " >&2;}
       
  7454    { (exit 1); exit 1; }; }
       
  7455 fi
       
  7456 gentoo_lt_version="1.5.22"
       
  7457 gentoo_ltmain_version=`sed -n '/^[ 	]*VERSION=/{s/^[ 	]*VERSION=//;p;q;}' "$ltmain"`
       
  7458 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
       
  7459   { echo "$as_me:$LINENO: result: no" >&5
       
  7460 echo "${ECHO_T}no" >&6; }
       
  7461   { { echo "$as_me:$LINENO: error:
       
  7462 
       
  7463 *** [Gentoo] sanity check failed! ***
       
  7464 *** libtool.m4 and ltmain.sh have a version mismatch! ***
       
  7465 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
       
  7466 
       
  7467 Please run:
       
  7468 
       
  7469   libtoolize --copy --force
       
  7470 
       
  7471 if appropriate, please contact the maintainer of this
       
  7472 package (or your distribution) for help.
       
  7473 " >&5
       
  7474 echo "$as_me: error:
       
  7475 
       
  7476 *** [Gentoo] sanity check failed! ***
       
  7477 *** libtool.m4 and ltmain.sh have a version mismatch! ***
       
  7478 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
       
  7479 
       
  7480 Please run:
       
  7481 
       
  7482   libtoolize --copy --force
       
  7483 
       
  7484 if appropriate, please contact the maintainer of this
       
  7485 package (or your distribution) for help.
       
  7486 " >&2;}
       
  7487    { (exit 1); exit 1; }; }
       
  7488 else
       
  7489   { echo "$as_me:$LINENO: result: yes" >&5
       
  7490 echo "${ECHO_T}yes" >&6; }
       
  7491 fi
       
  7492 
       
  7493 
       
  7494 # Use C for the default configuration in the libtool script
       
  7495 tagname=
       
  7496 lt_save_CC="$CC"
       
  7497 ac_ext=c
       
  7498 ac_cpp='$CPP $CPPFLAGS'
       
  7499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
  7500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
  7501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
  7502 
       
  7503 
       
  7504 # Source file extension for C test sources.
       
  7505 ac_ext=c
       
  7506 
       
  7507 # Object file extension for compiled C test sources.
       
  7508 objext=o
       
  7509 objext=$objext
       
  7510 
       
  7511 # Code to be used in simple compile tests
       
  7512 lt_simple_compile_test_code="int some_variable = 0;\n"
       
  7513 
       
  7514 # Code to be used in simple link tests
       
  7515 lt_simple_link_test_code='int main(){return(0);}\n'
       
  7516 
       
  7517 
       
  7518 # If no C compiler was specified, use CC.
       
  7519 LTCC=${LTCC-"$CC"}
       
  7520 
       
  7521 # If no C compiler flags were specified, use CFLAGS.
       
  7522 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
  7523 
       
  7524 # Allow CC to be a program name with arguments.
       
  7525 compiler=$CC
       
  7526 
       
  7527 
       
  7528 # save warnings/boilerplate of simple test code
       
  7529 ac_outfile=conftest.$ac_objext
       
  7530 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
  7531 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
  7532 _lt_compiler_boilerplate=`cat conftest.err`
       
  7533 $rm conftest*
       
  7534 
       
  7535 ac_outfile=conftest.$ac_objext
       
  7536 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
  7537 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
  7538 _lt_linker_boilerplate=`cat conftest.err`
       
  7539 $rm conftest*
       
  7540 
       
  7541 
       
  7542 
       
  7543 lt_prog_compiler_no_builtin_flag=
       
  7544 
       
  7545 if test "$GCC" = yes; then
       
  7546   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
       
  7547 
       
  7548 
       
  7549 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
       
  7550 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
       
  7551 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
       
  7552   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7553 else
       
  7554   lt_cv_prog_compiler_rtti_exceptions=no
       
  7555   ac_outfile=conftest.$ac_objext
       
  7556    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7557    lt_compiler_flag="-fno-rtti -fno-exceptions"
       
  7558    # Insert the option either (1) after the last *FLAGS variable, or
       
  7559    # (2) before a word containing "conftest.", or (3) at the end.
       
  7560    # Note that $ac_compile itself does not contain backslashes and begins
       
  7561    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7562    # The option is referenced via a variable to avoid confusing sed.
       
  7563    lt_compile=`echo "$ac_compile" | $SED \
       
  7564    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7565    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7566    -e 's:$: $lt_compiler_flag:'`
       
  7567    (eval echo "\"\$as_me:7567: $lt_compile\"" >&5)
       
  7568    (eval "$lt_compile" 2>conftest.err)
       
  7569    ac_status=$?
       
  7570    cat conftest.err >&5
       
  7571    echo "$as_me:7571: \$? = $ac_status" >&5
       
  7572    if (exit $ac_status) && test -s "$ac_outfile"; then
       
  7573      # The compiler can only warn and ignore the option if not recognized
       
  7574      # So say no if there are warnings other than the usual output.
       
  7575      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
  7576      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7577      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
  7578        lt_cv_prog_compiler_rtti_exceptions=yes
       
  7579      fi
       
  7580    fi
       
  7581    $rm conftest*
       
  7582 
       
  7583 fi
       
  7584 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
       
  7585 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
       
  7586 
       
  7587 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       
  7588     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
       
  7589 else
       
  7590     :
       
  7591 fi
       
  7592 
       
  7593 fi
       
  7594 
       
  7595 lt_prog_compiler_wl=
       
  7596 lt_prog_compiler_pic=
       
  7597 lt_prog_compiler_static=
       
  7598 
       
  7599 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
  7600 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
  7601 
       
  7602   if test "$GCC" = yes; then
       
  7603     lt_prog_compiler_wl='-Wl,'
       
  7604     lt_prog_compiler_static='-static'
       
  7605 
       
  7606     case $host_os in
       
  7607       aix*)
       
  7608       # All AIX code is PIC.
       
  7609       if test "$host_cpu" = ia64; then
       
  7610 	# AIX 5 now supports IA64 processor
       
  7611 	lt_prog_compiler_static='-Bstatic'
       
  7612       fi
       
  7613       ;;
       
  7614 
       
  7615     amigaos*)
       
  7616       # FIXME: we need at least 68020 code to build shared libraries, but
       
  7617       # adding the `-m68020' flag to GCC prevents building anything better,
       
  7618       # like `-m68040'.
       
  7619       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
       
  7620       ;;
       
  7621 
       
  7622     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
  7623       # PIC is the default for these OSes.
       
  7624       ;;
       
  7625 
       
  7626     mingw* | pw32* | os2*)
       
  7627       # This hack is so that the source file can tell whether it is being
       
  7628       # built for inclusion in a dll (and should export symbols for example).
       
  7629       lt_prog_compiler_pic='-DDLL_EXPORT'
       
  7630       ;;
       
  7631 
       
  7632     darwin* | rhapsody*)
       
  7633       # PIC is the default on this platform
       
  7634       # Common symbols not allowed in MH_DYLIB files
       
  7635       lt_prog_compiler_pic='-fno-common'
       
  7636       ;;
       
  7637 
       
  7638     interix3*)
       
  7639       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
  7640       # Instead, we relocate shared libraries at runtime.
       
  7641       ;;
       
  7642 
       
  7643     msdosdjgpp*)
       
  7644       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
  7645       # on systems that don't support them.
       
  7646       lt_prog_compiler_can_build_shared=no
       
  7647       enable_shared=no
       
  7648       ;;
       
  7649 
       
  7650     sysv4*MP*)
       
  7651       if test -d /usr/nec; then
       
  7652 	lt_prog_compiler_pic=-Kconform_pic
       
  7653       fi
       
  7654       ;;
       
  7655 
       
  7656     hpux*)
       
  7657       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
  7658       # not for PA HP-UX.
       
  7659       case $host_cpu in
       
  7660       hppa*64*|ia64*)
       
  7661 	# +Z the default
       
  7662 	;;
       
  7663       *)
       
  7664 	lt_prog_compiler_pic='-fPIC'
       
  7665 	;;
       
  7666       esac
       
  7667       ;;
       
  7668 
       
  7669     *)
       
  7670       lt_prog_compiler_pic='-fPIC'
       
  7671       ;;
       
  7672     esac
       
  7673   else
       
  7674     # PORTME Check for flag to pass linker flags through the system compiler.
       
  7675     case $host_os in
       
  7676     aix*)
       
  7677       lt_prog_compiler_wl='-Wl,'
       
  7678       if test "$host_cpu" = ia64; then
       
  7679 	# AIX 5 now supports IA64 processor
       
  7680 	lt_prog_compiler_static='-Bstatic'
       
  7681       else
       
  7682 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
       
  7683       fi
       
  7684       ;;
       
  7685       darwin*)
       
  7686         # PIC is the default on this platform
       
  7687         # Common symbols not allowed in MH_DYLIB files
       
  7688        case $cc_basename in
       
  7689          xlc*)
       
  7690          lt_prog_compiler_pic='-qnocommon'
       
  7691          lt_prog_compiler_wl='-Wl,'
       
  7692          ;;
       
  7693        esac
       
  7694        ;;
       
  7695 
       
  7696     mingw* | pw32* | os2*)
       
  7697       # This hack is so that the source file can tell whether it is being
       
  7698       # built for inclusion in a dll (and should export symbols for example).
       
  7699       lt_prog_compiler_pic='-DDLL_EXPORT'
       
  7700       ;;
       
  7701 
       
  7702     hpux9* | hpux10* | hpux11*)
       
  7703       lt_prog_compiler_wl='-Wl,'
       
  7704       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
  7705       # not for PA HP-UX.
       
  7706       case $host_cpu in
       
  7707       hppa*64*|ia64*)
       
  7708 	# +Z the default
       
  7709 	;;
       
  7710       *)
       
  7711 	lt_prog_compiler_pic='+Z'
       
  7712 	;;
       
  7713       esac
       
  7714       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
  7715       lt_prog_compiler_static='${wl}-a ${wl}archive'
       
  7716       ;;
       
  7717 
       
  7718     irix5* | irix6* | nonstopux*)
       
  7719       lt_prog_compiler_wl='-Wl,'
       
  7720       # PIC (with -KPIC) is the default.
       
  7721       lt_prog_compiler_static='-non_shared'
       
  7722       ;;
       
  7723 
       
  7724     newsos6)
       
  7725       lt_prog_compiler_pic='-KPIC'
       
  7726       lt_prog_compiler_static='-Bstatic'
       
  7727       ;;
       
  7728 
       
  7729     linux*)
       
  7730       case $cc_basename in
       
  7731       icc* | ecc*)
       
  7732 	lt_prog_compiler_wl='-Wl,'
       
  7733 	lt_prog_compiler_pic='-KPIC'
       
  7734 	lt_prog_compiler_static='-static'
       
  7735         ;;
       
  7736       pgcc* | pgf77* | pgf90* | pgf95*)
       
  7737         # Portland Group compilers (*not* the Pentium gcc compiler,
       
  7738 	# which looks to be a dead project)
       
  7739 	lt_prog_compiler_wl='-Wl,'
       
  7740 	lt_prog_compiler_pic='-fpic'
       
  7741 	lt_prog_compiler_static='-Bstatic'
       
  7742         ;;
       
  7743       ccc*)
       
  7744         lt_prog_compiler_wl='-Wl,'
       
  7745         # All Alpha code is PIC.
       
  7746         lt_prog_compiler_static='-non_shared'
       
  7747         ;;
       
  7748       esac
       
  7749       ;;
       
  7750 
       
  7751     osf3* | osf4* | osf5*)
       
  7752       lt_prog_compiler_wl='-Wl,'
       
  7753       # All OSF/1 code is PIC.
       
  7754       lt_prog_compiler_static='-non_shared'
       
  7755       ;;
       
  7756 
       
  7757     solaris*)
       
  7758       lt_prog_compiler_pic='-KPIC'
       
  7759       lt_prog_compiler_static='-Bstatic'
       
  7760       case $cc_basename in
       
  7761       f77* | f90* | f95*)
       
  7762 	lt_prog_compiler_wl='-Qoption ld ';;
       
  7763       *)
       
  7764 	lt_prog_compiler_wl='-Wl,';;
       
  7765       esac
       
  7766       ;;
       
  7767 
       
  7768     sunos4*)
       
  7769       lt_prog_compiler_wl='-Qoption ld '
       
  7770       lt_prog_compiler_pic='-PIC'
       
  7771       lt_prog_compiler_static='-Bstatic'
       
  7772       ;;
       
  7773 
       
  7774     sysv4 | sysv4.2uw2* | sysv4.3*)
       
  7775       lt_prog_compiler_wl='-Wl,'
       
  7776       lt_prog_compiler_pic='-KPIC'
       
  7777       lt_prog_compiler_static='-Bstatic'
       
  7778       ;;
       
  7779 
       
  7780     sysv4*MP*)
       
  7781       if test -d /usr/nec ;then
       
  7782 	lt_prog_compiler_pic='-Kconform_pic'
       
  7783 	lt_prog_compiler_static='-Bstatic'
       
  7784       fi
       
  7785       ;;
       
  7786 
       
  7787     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
  7788       lt_prog_compiler_wl='-Wl,'
       
  7789       lt_prog_compiler_pic='-KPIC'
       
  7790       lt_prog_compiler_static='-Bstatic'
       
  7791       ;;
       
  7792 
       
  7793     unicos*)
       
  7794       lt_prog_compiler_wl='-Wl,'
       
  7795       lt_prog_compiler_can_build_shared=no
       
  7796       ;;
       
  7797 
       
  7798     uts4*)
       
  7799       lt_prog_compiler_pic='-pic'
       
  7800       lt_prog_compiler_static='-Bstatic'
       
  7801       ;;
       
  7802 
       
  7803     *)
       
  7804       lt_prog_compiler_can_build_shared=no
       
  7805       ;;
       
  7806     esac
       
  7807   fi
       
  7808 
       
  7809 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
       
  7810 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
       
  7811 
       
  7812 #
       
  7813 # Check to make sure the PIC flag actually works.
       
  7814 #
       
  7815 if test -n "$lt_prog_compiler_pic"; then
       
  7816 
       
  7817 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
       
  7818 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
       
  7819 if test "${lt_prog_compiler_pic_works+set}" = set; then
       
  7820   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7821 else
       
  7822   lt_prog_compiler_pic_works=no
       
  7823   ac_outfile=conftest.$ac_objext
       
  7824    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7825    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
       
  7826    # Insert the option either (1) after the last *FLAGS variable, or
       
  7827    # (2) before a word containing "conftest.", or (3) at the end.
       
  7828    # Note that $ac_compile itself does not contain backslashes and begins
       
  7829    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7830    # The option is referenced via a variable to avoid confusing sed.
       
  7831    lt_compile=`echo "$ac_compile" | $SED \
       
  7832    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7833    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7834    -e 's:$: $lt_compiler_flag:'`
       
  7835    (eval echo "\"\$as_me:7835: $lt_compile\"" >&5)
       
  7836    (eval "$lt_compile" 2>conftest.err)
       
  7837    ac_status=$?
       
  7838    cat conftest.err >&5
       
  7839    echo "$as_me:7839: \$? = $ac_status" >&5
       
  7840    if (exit $ac_status) && test -s "$ac_outfile"; then
       
  7841      # The compiler can only warn and ignore the option if not recognized
       
  7842      # So say no if there are warnings other than the usual output.
       
  7843      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
  7844      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7845      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
  7846        lt_prog_compiler_pic_works=yes
       
  7847      fi
       
  7848    fi
       
  7849    $rm conftest*
       
  7850 
       
  7851 fi
       
  7852 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
       
  7853 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
       
  7854 
       
  7855 if test x"$lt_prog_compiler_pic_works" = xyes; then
       
  7856     case $lt_prog_compiler_pic in
       
  7857      "" | " "*) ;;
       
  7858      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
       
  7859      esac
       
  7860 else
       
  7861     lt_prog_compiler_pic=
       
  7862      lt_prog_compiler_can_build_shared=no
       
  7863 fi
       
  7864 
       
  7865 fi
       
  7866 case $host_os in
       
  7867   # For platforms which do not support PIC, -DPIC is meaningless:
       
  7868   *djgpp*)
       
  7869     lt_prog_compiler_pic=
       
  7870     ;;
       
  7871   *)
       
  7872     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
       
  7873     ;;
       
  7874 esac
       
  7875 
       
  7876 #
       
  7877 # Check to make sure the static flag actually works.
       
  7878 #
       
  7879 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
       
  7880 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
  7881 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
  7882 if test "${lt_prog_compiler_static_works+set}" = set; then
       
  7883   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7884 else
       
  7885   lt_prog_compiler_static_works=no
       
  7886    save_LDFLAGS="$LDFLAGS"
       
  7887    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
  7888    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
  7889    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
  7890      # The linker can only warn and ignore the option if not recognized
       
  7891      # So say no if there are warnings
       
  7892      if test -s conftest.err; then
       
  7893        # Append any errors to the config.log.
       
  7894        cat conftest.err 1>&5
       
  7895        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
  7896        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
  7897        if diff conftest.exp conftest.er2 >/dev/null; then
       
  7898          lt_prog_compiler_static_works=yes
       
  7899        fi
       
  7900      else
       
  7901        lt_prog_compiler_static_works=yes
       
  7902      fi
       
  7903    fi
       
  7904    $rm conftest*
       
  7905    LDFLAGS="$save_LDFLAGS"
       
  7906 
       
  7907 fi
       
  7908 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
       
  7909 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
       
  7910 
       
  7911 if test x"$lt_prog_compiler_static_works" = xyes; then
       
  7912     :
       
  7913 else
       
  7914     lt_prog_compiler_static=
       
  7915 fi
       
  7916 
       
  7917 
       
  7918 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
  7919 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
  7920 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
       
  7921   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  7922 else
       
  7923   lt_cv_prog_compiler_c_o=no
       
  7924    $rm -r conftest 2>/dev/null
       
  7925    mkdir conftest
       
  7926    cd conftest
       
  7927    mkdir out
       
  7928    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  7929 
       
  7930    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
  7931    # Insert the option either (1) after the last *FLAGS variable, or
       
  7932    # (2) before a word containing "conftest.", or (3) at the end.
       
  7933    # Note that $ac_compile itself does not contain backslashes and begins
       
  7934    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
  7935    lt_compile=`echo "$ac_compile" | $SED \
       
  7936    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
  7937    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
  7938    -e 's:$: $lt_compiler_flag:'`
       
  7939    (eval echo "\"\$as_me:7939: $lt_compile\"" >&5)
       
  7940    (eval "$lt_compile" 2>out/conftest.err)
       
  7941    ac_status=$?
       
  7942    cat out/conftest.err >&5
       
  7943    echo "$as_me:7943: \$? = $ac_status" >&5
       
  7944    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
  7945    then
       
  7946      # The compiler can only warn and ignore the option if not recognized
       
  7947      # So say no if there are warnings
       
  7948      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
  7949      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
  7950      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
  7951        lt_cv_prog_compiler_c_o=yes
       
  7952      fi
       
  7953    fi
       
  7954    chmod u+w . 2>&5
       
  7955    $rm conftest*
       
  7956    # SGI C++ compiler will create directory out/ii_files/ for
       
  7957    # template instantiation
       
  7958    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
  7959    $rm out/* && rmdir out
       
  7960    cd ..
       
  7961    rmdir conftest
       
  7962    $rm conftest*
       
  7963 
       
  7964 fi
       
  7965 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
       
  7966 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
       
  7967 
       
  7968 
       
  7969 hard_links="nottested"
       
  7970 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
       
  7971   # do not overwrite the value of need_locks provided by the user
       
  7972   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
  7973 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
  7974   hard_links=yes
       
  7975   $rm conftest*
       
  7976   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
  7977   touch conftest.a
       
  7978   ln conftest.a conftest.b 2>&5 || hard_links=no
       
  7979   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
  7980   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
  7981 echo "${ECHO_T}$hard_links" >&6; }
       
  7982   if test "$hard_links" = no; then
       
  7983     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
  7984 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
  7985     need_locks=warn
       
  7986   fi
       
  7987 else
       
  7988   need_locks=no
       
  7989 fi
       
  7990 
       
  7991 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
  7992 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
  7993 
       
  7994   runpath_var=
       
  7995   allow_undefined_flag=
       
  7996   enable_shared_with_static_runtimes=no
       
  7997   archive_cmds=
       
  7998   archive_expsym_cmds=
       
  7999   old_archive_From_new_cmds=
       
  8000   old_archive_from_expsyms_cmds=
       
  8001   export_dynamic_flag_spec=
       
  8002   whole_archive_flag_spec=
       
  8003   thread_safe_flag_spec=
       
  8004   hardcode_libdir_flag_spec=
       
  8005   hardcode_libdir_flag_spec_ld=
       
  8006   hardcode_libdir_separator=
       
  8007   hardcode_direct=no
       
  8008   hardcode_minus_L=no
       
  8009   hardcode_shlibpath_var=unsupported
       
  8010   link_all_deplibs=unknown
       
  8011   hardcode_automatic=no
       
  8012   module_cmds=
       
  8013   module_expsym_cmds=
       
  8014   always_export_symbols=no
       
  8015   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
  8016   # include_expsyms should be a list of space-separated symbols to be *always*
       
  8017   # included in the symbol list
       
  8018   include_expsyms=
       
  8019   # exclude_expsyms can be an extended regexp of symbols to exclude
       
  8020   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
  8021   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
  8022   # as well as any symbol that contains `d'.
       
  8023   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
       
  8024   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
  8025   # platforms (ab)use it in PIC code, but their linkers get confused if
       
  8026   # the symbol is explicitly referenced.  Since portable code cannot
       
  8027   # rely on this symbol name, it's probably fine to never include it in
       
  8028   # preloaded symbol tables.
       
  8029   extract_expsyms_cmds=
       
  8030   # Just being paranoid about ensuring that cc_basename is set.
       
  8031   for cc_temp in $compiler""; do
       
  8032   case $cc_temp in
       
  8033     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
  8034     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
  8035     \-*) ;;
       
  8036     *) break;;
       
  8037   esac
       
  8038 done
       
  8039 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
  8040 
       
  8041   case $host_os in
       
  8042   cygwin* | mingw* | pw32*)
       
  8043     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
  8044     # When not using gcc, we currently assume that we are using
       
  8045     # Microsoft Visual C++.
       
  8046     if test "$GCC" != yes; then
       
  8047       with_gnu_ld=no
       
  8048     fi
       
  8049     ;;
       
  8050   interix*)
       
  8051     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
  8052     with_gnu_ld=yes
       
  8053     ;;
       
  8054   openbsd*)
       
  8055     with_gnu_ld=no
       
  8056     ;;
       
  8057   esac
       
  8058 
       
  8059   ld_shlibs=yes
       
  8060   if test "$with_gnu_ld" = yes; then
       
  8061     # If archive_cmds runs LD, not CC, wlarc should be empty
       
  8062     wlarc='${wl}'
       
  8063 
       
  8064     # Set some defaults for GNU ld with shared library support. These
       
  8065     # are reset later if shared libraries are not supported. Putting them
       
  8066     # here allows them to be overridden if necessary.
       
  8067     runpath_var=LD_RUN_PATH
       
  8068     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
       
  8069     export_dynamic_flag_spec='${wl}--export-dynamic'
       
  8070     # ancient GNU ld didn't support --whole-archive et. al.
       
  8071     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
  8072 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
  8073       else
       
  8074   	whole_archive_flag_spec=
       
  8075     fi
       
  8076     supports_anon_versioning=no
       
  8077     case `$LD -v 2>/dev/null` in
       
  8078       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
  8079       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
  8080       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
  8081       *\ 2.11.*) ;; # other 2.11 versions
       
  8082       *) supports_anon_versioning=yes ;;
       
  8083     esac
       
  8084 
       
  8085     # See if GNU ld supports shared libraries.
       
  8086     case $host_os in
       
  8087     aix3* | aix4* | aix5*)
       
  8088       # On AIX/PPC, the GNU linker is very broken
       
  8089       if test "$host_cpu" != ia64; then
       
  8090 	ld_shlibs=no
       
  8091 	cat <<EOF 1>&2
       
  8092 
       
  8093 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
  8094 *** to be unable to reliably create shared libraries on AIX.
       
  8095 *** Therefore, libtool is disabling shared libraries support.  If you
       
  8096 *** really care for shared libraries, you may want to modify your PATH
       
  8097 *** so that a non-GNU linker is found, and then restart.
       
  8098 
       
  8099 EOF
       
  8100       fi
       
  8101       ;;
       
  8102 
       
  8103     amigaos*)
       
  8104       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)'
       
  8105       hardcode_libdir_flag_spec='-L$libdir'
       
  8106       hardcode_minus_L=yes
       
  8107 
       
  8108       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
  8109       # that the semantics of dynamic libraries on AmigaOS, at least up
       
  8110       # to version 4, is to share data among multiple programs linked
       
  8111       # with the same dynamic library.  Since this doesn't match the
       
  8112       # behavior of shared libraries on other platforms, we can't use
       
  8113       # them.
       
  8114       ld_shlibs=no
       
  8115       ;;
       
  8116 
       
  8117     beos*)
       
  8118       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8119 	allow_undefined_flag=unsupported
       
  8120 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
  8121 	# support --undefined.  This deserves some investigation.  FIXME
       
  8122 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8123       else
       
  8124 	ld_shlibs=no
       
  8125       fi
       
  8126       ;;
       
  8127 
       
  8128     cygwin* | mingw* | pw32*)
       
  8129       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
       
  8130       # as there is no search path for DLLs.
       
  8131       hardcode_libdir_flag_spec='-L$libdir'
       
  8132       allow_undefined_flag=unsupported
       
  8133       always_export_symbols=no
       
  8134       enable_shared_with_static_runtimes=yes
       
  8135       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
  8136 
       
  8137       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
  8138         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
  8139 	# If the export-symbols file already is a .def file (1st line
       
  8140 	# is EXPORTS), use it as is; otherwise, prepend...
       
  8141 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
  8142 	  cp $export_symbols $output_objdir/$soname.def;
       
  8143 	else
       
  8144 	  echo EXPORTS > $output_objdir/$soname.def;
       
  8145 	  cat $export_symbols >> $output_objdir/$soname.def;
       
  8146 	fi~
       
  8147 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
  8148       else
       
  8149 	ld_shlibs=no
       
  8150       fi
       
  8151       ;;
       
  8152 
       
  8153     interix3*)
       
  8154       hardcode_direct=no
       
  8155       hardcode_shlibpath_var=no
       
  8156       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  8157       export_dynamic_flag_spec='${wl}-E'
       
  8158       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
  8159       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
  8160       # default) and relocated if they conflict, which is a slow very memory
       
  8161       # consuming and fragmenting process.  To avoid this, we pick a random,
       
  8162       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
  8163       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
  8164       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       
  8165       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'
       
  8166       ;;
       
  8167 
       
  8168     linux*)
       
  8169       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8170 	tmp_addflag=
       
  8171 	case $cc_basename,$host_cpu in
       
  8172 	pgcc*)				# Portland Group C compiler
       
  8173 	  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'
       
  8174 	  tmp_addflag=' $pic_flag'
       
  8175 	  ;;
       
  8176 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
  8177 	  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'
       
  8178 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
  8179 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
  8180 	  tmp_addflag=' -i_dynamic' ;;
       
  8181 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
  8182 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
  8183 	ifc* | ifort*)			# Intel Fortran compiler
       
  8184 	  tmp_addflag=' -nofor_main' ;;
       
  8185 	esac
       
  8186 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8187 
       
  8188 	if test $supports_anon_versioning = yes; then
       
  8189 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
  8190   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
  8191   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
  8192 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
  8193 	fi
       
  8194       else
       
  8195 	ld_shlibs=no
       
  8196       fi
       
  8197       ;;
       
  8198 
       
  8199     netbsd*)
       
  8200       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  8201 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
  8202 	wlarc=
       
  8203       else
       
  8204 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8205 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  8206       fi
       
  8207       ;;
       
  8208 
       
  8209     solaris*)
       
  8210       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
  8211 	ld_shlibs=no
       
  8212 	cat <<EOF 1>&2
       
  8213 
       
  8214 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
  8215 *** create shared libraries on Solaris systems.  Therefore, libtool
       
  8216 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
  8217 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
  8218 *** your PATH or compiler configuration so that the native linker is
       
  8219 *** used, and then restart.
       
  8220 
       
  8221 EOF
       
  8222       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8223 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8224 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  8225       else
       
  8226 	ld_shlibs=no
       
  8227       fi
       
  8228       ;;
       
  8229 
       
  8230     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
  8231       case `$LD -v 2>&1` in
       
  8232         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
  8233 	ld_shlibs=no
       
  8234 	cat <<_LT_EOF 1>&2
       
  8235 
       
  8236 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
  8237 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
  8238 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
  8239 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
  8240 *** your PATH or compiler configuration so that the native linker is
       
  8241 *** used, and then restart.
       
  8242 
       
  8243 _LT_EOF
       
  8244 	;;
       
  8245 	*)
       
  8246 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8247 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
  8248 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
  8249 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
  8250 	  else
       
  8251 	    ld_shlibs=no
       
  8252 	  fi
       
  8253 	;;
       
  8254       esac
       
  8255       ;;
       
  8256 
       
  8257     sunos4*)
       
  8258       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  8259       wlarc=
       
  8260       hardcode_direct=yes
       
  8261       hardcode_shlibpath_var=no
       
  8262       ;;
       
  8263 
       
  8264     *)
       
  8265       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
  8266 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  8267 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
  8268       else
       
  8269 	ld_shlibs=no
       
  8270       fi
       
  8271       ;;
       
  8272     esac
       
  8273 
       
  8274     if test "$ld_shlibs" = no; then
       
  8275       runpath_var=
       
  8276       hardcode_libdir_flag_spec=
       
  8277       export_dynamic_flag_spec=
       
  8278       whole_archive_flag_spec=
       
  8279     fi
       
  8280   else
       
  8281     # PORTME fill in a description of your system's linker (not GNU ld)
       
  8282     case $host_os in
       
  8283     aix3*)
       
  8284       allow_undefined_flag=unsupported
       
  8285       always_export_symbols=yes
       
  8286       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'
       
  8287       # Note: this linker hardcodes the directories in LIBPATH if there
       
  8288       # are no directories specified by -L.
       
  8289       hardcode_minus_L=yes
       
  8290       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
  8291 	# Neither direct hardcoding nor static linking is supported with a
       
  8292 	# broken collect2.
       
  8293 	hardcode_direct=unsupported
       
  8294       fi
       
  8295       ;;
       
  8296 
       
  8297     aix4* | aix5*)
       
  8298       if test "$host_cpu" = ia64; then
       
  8299 	# On IA64, the linker does run time linking by default, so we don't
       
  8300 	# have to do anything special.
       
  8301 	aix_use_runtimelinking=no
       
  8302 	exp_sym_flag='-Bexport'
       
  8303 	no_entry_flag=""
       
  8304       else
       
  8305 	# If we're using GNU nm, then we don't want the "-C" option.
       
  8306 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
  8307 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
  8308 	  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'
       
  8309 	else
       
  8310 	  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'
       
  8311 	fi
       
  8312 	aix_use_runtimelinking=no
       
  8313 
       
  8314 	# Test if we are trying to use run time linking or normal
       
  8315 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
  8316 	# need to do runtime linking.
       
  8317 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
  8318 	  for ld_flag in $LDFLAGS; do
       
  8319   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
  8320   	    aix_use_runtimelinking=yes
       
  8321   	    break
       
  8322   	  fi
       
  8323 	  done
       
  8324 	  ;;
       
  8325 	esac
       
  8326 
       
  8327 	exp_sym_flag='-bexport'
       
  8328 	no_entry_flag='-bnoentry'
       
  8329       fi
       
  8330 
       
  8331       # When large executables or shared objects are built, AIX ld can
       
  8332       # have problems creating the table of contents.  If linking a library
       
  8333       # or program results in "error TOC overflow" add -mminimal-toc to
       
  8334       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
  8335       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
  8336 
       
  8337       archive_cmds=''
       
  8338       hardcode_direct=yes
       
  8339       hardcode_libdir_separator=':'
       
  8340       link_all_deplibs=yes
       
  8341 
       
  8342       if test "$GCC" = yes; then
       
  8343 	case $host_os in aix4.[012]|aix4.[012].*)
       
  8344 	# We only want to do this on AIX 4.2 and lower, the check
       
  8345 	# below for broken collect2 doesn't work under 4.3+
       
  8346 	  collect2name=`${CC} -print-prog-name=collect2`
       
  8347 	  if test -f "$collect2name" && \
       
  8348   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
  8349 	  then
       
  8350   	  # We have reworked collect2
       
  8351   	  hardcode_direct=yes
       
  8352 	  else
       
  8353   	  # We have old collect2
       
  8354   	  hardcode_direct=unsupported
       
  8355   	  # It fails to find uninstalled libraries when the uninstalled
       
  8356   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
  8357   	  # to unsupported forces relinking
       
  8358   	  hardcode_minus_L=yes
       
  8359   	  hardcode_libdir_flag_spec='-L$libdir'
       
  8360   	  hardcode_libdir_separator=
       
  8361 	  fi
       
  8362 	  ;;
       
  8363 	esac
       
  8364 	shared_flag='-shared'
       
  8365 	if test "$aix_use_runtimelinking" = yes; then
       
  8366 	  shared_flag="$shared_flag "'${wl}-G'
       
  8367 	fi
       
  8368       else
       
  8369 	# not using gcc
       
  8370 	if test "$host_cpu" = ia64; then
       
  8371   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
  8372   	# chokes on -Wl,-G. The following line is correct:
       
  8373 	  shared_flag='-G'
       
  8374 	else
       
  8375 	  if test "$aix_use_runtimelinking" = yes; then
       
  8376 	    shared_flag='${wl}-G'
       
  8377 	  else
       
  8378 	    shared_flag='${wl}-bM:SRE'
       
  8379 	  fi
       
  8380 	fi
       
  8381       fi
       
  8382 
       
  8383       # It seems that -bexpall does not export symbols beginning with
       
  8384       # underscore (_), so it is better to generate a list of symbols to export.
       
  8385       always_export_symbols=yes
       
  8386       if test "$aix_use_runtimelinking" = yes; then
       
  8387 	# Warning - without using the other runtime loading flags (-brtl),
       
  8388 	# -berok will link without error, but may produce a broken library.
       
  8389 	allow_undefined_flag='-berok'
       
  8390        # Determine the default libpath from the value encoded in an empty executable.
       
  8391        cat >conftest.$ac_ext <<_ACEOF
       
  8392 /* confdefs.h.  */
       
  8393 _ACEOF
       
  8394 cat confdefs.h >>conftest.$ac_ext
       
  8395 cat >>conftest.$ac_ext <<_ACEOF
       
  8396 /* end confdefs.h.  */
       
  8397 
       
  8398 int
       
  8399 main ()
       
  8400 {
       
  8401 
       
  8402   ;
       
  8403   return 0;
       
  8404 }
       
  8405 _ACEOF
       
  8406 rm -f conftest.$ac_objext conftest$ac_exeext
       
  8407 if { (ac_try="$ac_link"
       
  8408 case "(($ac_try" in
       
  8409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8410   *) ac_try_echo=$ac_try;;
       
  8411 esac
       
  8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8413   (eval "$ac_link") 2>conftest.er1
       
  8414   ac_status=$?
       
  8415   grep -v '^ *+' conftest.er1 >conftest.err
       
  8416   rm -f conftest.er1
       
  8417   cat conftest.err >&5
       
  8418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8419   (exit $ac_status); } &&
       
  8420 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  8421   { (case "(($ac_try" in
       
  8422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8423   *) ac_try_echo=$ac_try;;
       
  8424 esac
       
  8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8426   (eval "$ac_try") 2>&5
       
  8427   ac_status=$?
       
  8428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8429   (exit $ac_status); }; } &&
       
  8430 	 { ac_try='test -s conftest$ac_exeext'
       
  8431   { (case "(($ac_try" in
       
  8432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8433   *) ac_try_echo=$ac_try;;
       
  8434 esac
       
  8435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8436   (eval "$ac_try") 2>&5
       
  8437   ac_status=$?
       
  8438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8439   (exit $ac_status); }; }; then
       
  8440 
       
  8441 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8442 }'`
       
  8443 # Check for a 64-bit object if we didn't find anything.
       
  8444 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; }
       
  8445 }'`; fi
       
  8446 else
       
  8447   echo "$as_me: failed program was:" >&5
       
  8448 sed 's/^/| /' conftest.$ac_ext >&5
       
  8449 
       
  8450 
       
  8451 fi
       
  8452 
       
  8453 rm -f core conftest.err conftest.$ac_objext \
       
  8454       conftest$ac_exeext conftest.$ac_ext
       
  8455 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
  8456 
       
  8457        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
       
  8458 	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"
       
  8459        else
       
  8460 	if test "$host_cpu" = ia64; then
       
  8461 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
       
  8462 	  allow_undefined_flag="-z nodefs"
       
  8463 	  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"
       
  8464 	else
       
  8465 	 # Determine the default libpath from the value encoded in an empty executable.
       
  8466 	 cat >conftest.$ac_ext <<_ACEOF
       
  8467 /* confdefs.h.  */
       
  8468 _ACEOF
       
  8469 cat confdefs.h >>conftest.$ac_ext
       
  8470 cat >>conftest.$ac_ext <<_ACEOF
       
  8471 /* end confdefs.h.  */
       
  8472 
       
  8473 int
       
  8474 main ()
       
  8475 {
       
  8476 
       
  8477   ;
       
  8478   return 0;
       
  8479 }
       
  8480 _ACEOF
       
  8481 rm -f conftest.$ac_objext conftest$ac_exeext
       
  8482 if { (ac_try="$ac_link"
       
  8483 case "(($ac_try" in
       
  8484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8485   *) ac_try_echo=$ac_try;;
       
  8486 esac
       
  8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8488   (eval "$ac_link") 2>conftest.er1
       
  8489   ac_status=$?
       
  8490   grep -v '^ *+' conftest.er1 >conftest.err
       
  8491   rm -f conftest.er1
       
  8492   cat conftest.err >&5
       
  8493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8494   (exit $ac_status); } &&
       
  8495 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  8496   { (case "(($ac_try" in
       
  8497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8498   *) ac_try_echo=$ac_try;;
       
  8499 esac
       
  8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8501   (eval "$ac_try") 2>&5
       
  8502   ac_status=$?
       
  8503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8504   (exit $ac_status); }; } &&
       
  8505 	 { ac_try='test -s conftest$ac_exeext'
       
  8506   { (case "(($ac_try" in
       
  8507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  8508   *) ac_try_echo=$ac_try;;
       
  8509 esac
       
  8510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  8511   (eval "$ac_try") 2>&5
       
  8512   ac_status=$?
       
  8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  8514   (exit $ac_status); }; }; then
       
  8515 
       
  8516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
  8517 }'`
       
  8518 # Check for a 64-bit object if we didn't find anything.
       
  8519 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; }
       
  8520 }'`; fi
       
  8521 else
       
  8522   echo "$as_me: failed program was:" >&5
       
  8523 sed 's/^/| /' conftest.$ac_ext >&5
       
  8524 
       
  8525 
       
  8526 fi
       
  8527 
       
  8528 rm -f core conftest.err conftest.$ac_objext \
       
  8529       conftest$ac_exeext conftest.$ac_ext
       
  8530 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
  8531 
       
  8532 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
       
  8533 	  # Warning - without using the other run time loading flags,
       
  8534 	  # -berok will link without error, but may produce a broken library.
       
  8535 	  no_undefined_flag=' ${wl}-bernotok'
       
  8536 	  allow_undefined_flag=' ${wl}-berok'
       
  8537 	  # Exported symbols can be pulled into shared objects from archives
       
  8538 	  whole_archive_flag_spec='$convenience'
       
  8539 	  archive_cmds_need_lc=yes
       
  8540 	  # This is similar to how AIX traditionally builds its shared libraries.
       
  8541 	  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'
       
  8542 	fi
       
  8543       fi
       
  8544       ;;
       
  8545 
       
  8546     amigaos*)
       
  8547       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)'
       
  8548       hardcode_libdir_flag_spec='-L$libdir'
       
  8549       hardcode_minus_L=yes
       
  8550       # see comment about different semantics on the GNU ld section
       
  8551       ld_shlibs=no
       
  8552       ;;
       
  8553 
       
  8554     bsdi[45]*)
       
  8555       export_dynamic_flag_spec=-rdynamic
       
  8556       ;;
       
  8557 
       
  8558     cygwin* | mingw* | pw32*)
       
  8559       # When not using gcc, we currently assume that we are using
       
  8560       # Microsoft Visual C++.
       
  8561       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
  8562       # no search path for DLLs.
       
  8563       hardcode_libdir_flag_spec=' '
       
  8564       allow_undefined_flag=unsupported
       
  8565       # Tell ltmain to make .lib files, not .a files.
       
  8566       libext=lib
       
  8567       # Tell ltmain to make .dll files, not .so files.
       
  8568       shrext_cmds=".dll"
       
  8569       # FIXME: Setting linknames here is a bad hack.
       
  8570       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
  8571       # The linker will automatically build a .lib file if we build a DLL.
       
  8572       old_archive_From_new_cmds='true'
       
  8573       # FIXME: Should let the user specify the lib program.
       
  8574       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
  8575       fix_srcfile_path='`cygpath -w "$srcfile"`'
       
  8576       enable_shared_with_static_runtimes=yes
       
  8577       ;;
       
  8578 
       
  8579     darwin* | rhapsody*)
       
  8580       case $host_os in
       
  8581         rhapsody* | darwin1.[012])
       
  8582          allow_undefined_flag='${wl}-undefined ${wl}suppress'
       
  8583          ;;
       
  8584        *) # Darwin 1.3 on
       
  8585          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
  8586            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
  8587          else
       
  8588            case ${MACOSX_DEPLOYMENT_TARGET} in
       
  8589              10.[012])
       
  8590                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
  8591                ;;
       
  8592              10.*)
       
  8593                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
       
  8594                ;;
       
  8595            esac
       
  8596          fi
       
  8597          ;;
       
  8598       esac
       
  8599       archive_cmds_need_lc=no
       
  8600       hardcode_direct=no
       
  8601       hardcode_automatic=yes
       
  8602       hardcode_shlibpath_var=unsupported
       
  8603       whole_archive_flag_spec=''
       
  8604       link_all_deplibs=yes
       
  8605     if test "$GCC" = yes ; then
       
  8606     	output_verbose_link_cmd='echo'
       
  8607         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
  8608       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
  8609       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
  8610       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}'
       
  8611       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}'
       
  8612     else
       
  8613       case $cc_basename in
       
  8614         xlc*)
       
  8615          output_verbose_link_cmd='echo'
       
  8616          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
  8617          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
  8618           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
  8619          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}'
       
  8620           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}'
       
  8621           ;;
       
  8622        *)
       
  8623          ld_shlibs=no
       
  8624           ;;
       
  8625       esac
       
  8626     fi
       
  8627       ;;
       
  8628 
       
  8629     dgux*)
       
  8630       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8631       hardcode_libdir_flag_spec='-L$libdir'
       
  8632       hardcode_shlibpath_var=no
       
  8633       ;;
       
  8634 
       
  8635     freebsd1*)
       
  8636       ld_shlibs=no
       
  8637       ;;
       
  8638 
       
  8639     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
  8640     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
  8641     # does not break anything, and helps significantly (at the cost of a little
       
  8642     # extra space).
       
  8643     freebsd2.2*)
       
  8644       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
  8645       hardcode_libdir_flag_spec='-R$libdir'
       
  8646       hardcode_direct=yes
       
  8647       hardcode_shlibpath_var=no
       
  8648       ;;
       
  8649 
       
  8650     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
  8651     freebsd2*)
       
  8652       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  8653       hardcode_direct=yes
       
  8654       hardcode_minus_L=yes
       
  8655       hardcode_shlibpath_var=no
       
  8656       ;;
       
  8657 
       
  8658     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
  8659     freebsd* | kfreebsd*-gnu | dragonfly*)
       
  8660       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
  8661       hardcode_libdir_flag_spec='-R$libdir'
       
  8662       hardcode_direct=yes
       
  8663       hardcode_shlibpath_var=no
       
  8664       ;;
       
  8665 
       
  8666     hpux9*)
       
  8667       if test "$GCC" = yes; then
       
  8668 	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'
       
  8669       else
       
  8670 	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'
       
  8671       fi
       
  8672       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8673       hardcode_libdir_separator=:
       
  8674       hardcode_direct=yes
       
  8675 
       
  8676       # hardcode_minus_L: Not really in the search PATH,
       
  8677       # but as the default location of the library.
       
  8678       hardcode_minus_L=yes
       
  8679       export_dynamic_flag_spec='${wl}-E'
       
  8680       ;;
       
  8681 
       
  8682     hpux10*)
       
  8683       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
  8684 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8685       else
       
  8686 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
  8687       fi
       
  8688       if test "$with_gnu_ld" = no; then
       
  8689 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8690 	hardcode_libdir_separator=:
       
  8691 
       
  8692 	hardcode_direct=yes
       
  8693 	export_dynamic_flag_spec='${wl}-E'
       
  8694 
       
  8695 	# hardcode_minus_L: Not really in the search PATH,
       
  8696 	# but as the default location of the library.
       
  8697 	hardcode_minus_L=yes
       
  8698       fi
       
  8699       ;;
       
  8700 
       
  8701     hpux11*)
       
  8702       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
  8703 	case $host_cpu in
       
  8704 	hppa*64*)
       
  8705 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8706 	  ;;
       
  8707 	ia64*)
       
  8708 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
  8709 	  ;;
       
  8710 	*)
       
  8711 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8712 	  ;;
       
  8713 	esac
       
  8714       else
       
  8715 	case $host_cpu in
       
  8716 	hppa*64*)
       
  8717 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8718 	  ;;
       
  8719 	ia64*)
       
  8720 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
  8721 	  ;;
       
  8722 	*)
       
  8723 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
  8724 	  ;;
       
  8725 	esac
       
  8726       fi
       
  8727       if test "$with_gnu_ld" = no; then
       
  8728 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
       
  8729 	hardcode_libdir_separator=:
       
  8730 
       
  8731 	case $host_cpu in
       
  8732 	hppa*64*|ia64*)
       
  8733 	  hardcode_libdir_flag_spec_ld='+b $libdir'
       
  8734 	  hardcode_direct=no
       
  8735 	  hardcode_shlibpath_var=no
       
  8736 	  ;;
       
  8737 	*)
       
  8738 	  hardcode_direct=yes
       
  8739 	  export_dynamic_flag_spec='${wl}-E'
       
  8740 
       
  8741 	  # hardcode_minus_L: Not really in the search PATH,
       
  8742 	  # but as the default location of the library.
       
  8743 	  hardcode_minus_L=yes
       
  8744 	  ;;
       
  8745 	esac
       
  8746       fi
       
  8747       ;;
       
  8748 
       
  8749     irix5* | irix6* | nonstopux*)
       
  8750       if test "$GCC" = yes; then
       
  8751 	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'
       
  8752       else
       
  8753 	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'
       
  8754 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
       
  8755       fi
       
  8756       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8757       hardcode_libdir_separator=:
       
  8758       link_all_deplibs=yes
       
  8759       ;;
       
  8760 
       
  8761     netbsd*)
       
  8762       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  8763 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
  8764       else
       
  8765 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
  8766       fi
       
  8767       hardcode_libdir_flag_spec='-R$libdir'
       
  8768       hardcode_direct=yes
       
  8769       hardcode_shlibpath_var=no
       
  8770       ;;
       
  8771 
       
  8772     newsos6)
       
  8773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8774       hardcode_direct=yes
       
  8775       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8776       hardcode_libdir_separator=:
       
  8777       hardcode_shlibpath_var=no
       
  8778       ;;
       
  8779 
       
  8780     openbsd*)
       
  8781       hardcode_direct=yes
       
  8782       hardcode_shlibpath_var=no
       
  8783       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  8784 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
  8785 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
  8786 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  8787 	export_dynamic_flag_spec='${wl}-E'
       
  8788       else
       
  8789        case $host_os in
       
  8790 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
  8791 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
  8792 	   hardcode_libdir_flag_spec='-R$libdir'
       
  8793 	   ;;
       
  8794 	 *)
       
  8795 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
  8796 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       
  8797 	   ;;
       
  8798        esac
       
  8799       fi
       
  8800       ;;
       
  8801 
       
  8802     os2*)
       
  8803       hardcode_libdir_flag_spec='-L$libdir'
       
  8804       hardcode_minus_L=yes
       
  8805       allow_undefined_flag=unsupported
       
  8806       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'
       
  8807       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
  8808       ;;
       
  8809 
       
  8810     osf3*)
       
  8811       if test "$GCC" = yes; then
       
  8812 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
       
  8813 	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'
       
  8814       else
       
  8815 	allow_undefined_flag=' -expect_unresolved \*'
       
  8816 	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'
       
  8817       fi
       
  8818       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8819       hardcode_libdir_separator=:
       
  8820       ;;
       
  8821 
       
  8822     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
  8823       if test "$GCC" = yes; then
       
  8824 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
       
  8825 	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'
       
  8826 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       
  8827       else
       
  8828 	allow_undefined_flag=' -expect_unresolved \*'
       
  8829 	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'
       
  8830 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
       
  8831 	$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'
       
  8832 
       
  8833 	# Both c and cxx compiler support -rpath directly
       
  8834 	hardcode_libdir_flag_spec='-rpath $libdir'
       
  8835       fi
       
  8836       hardcode_libdir_separator=:
       
  8837       ;;
       
  8838 
       
  8839     solaris*)
       
  8840       no_undefined_flag=' -z text'
       
  8841       if test "$GCC" = yes; then
       
  8842 	wlarc='${wl}'
       
  8843 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8844 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
  8845 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
  8846       else
       
  8847 	wlarc=''
       
  8848 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8849 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
  8850   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
  8851       fi
       
  8852       hardcode_libdir_flag_spec='-R$libdir'
       
  8853       hardcode_shlibpath_var=no
       
  8854       case $host_os in
       
  8855       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
  8856       *)
       
  8857  	# The compiler driver will combine linker options so we
       
  8858  	# cannot just pass the convience library names through
       
  8859  	# without $wl, iff we do not link with $LD.
       
  8860  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
  8861  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
  8862  	case $wlarc in
       
  8863  	'')
       
  8864  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
       
  8865  	*)
       
  8866  	  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' ;;
       
  8867  	esac ;;
       
  8868       esac
       
  8869       link_all_deplibs=yes
       
  8870       ;;
       
  8871 
       
  8872     sunos4*)
       
  8873       if test "x$host_vendor" = xsequent; then
       
  8874 	# Use $CC to link under sequent, because it throws in some extra .o
       
  8875 	# files that make .init and .fini sections work.
       
  8876 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8877       else
       
  8878 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
  8879       fi
       
  8880       hardcode_libdir_flag_spec='-L$libdir'
       
  8881       hardcode_direct=yes
       
  8882       hardcode_minus_L=yes
       
  8883       hardcode_shlibpath_var=no
       
  8884       ;;
       
  8885 
       
  8886     sysv4)
       
  8887       case $host_vendor in
       
  8888 	sni)
       
  8889 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8890 	  hardcode_direct=yes # is this really true???
       
  8891 	;;
       
  8892 	siemens)
       
  8893 	  ## LD is ld it makes a PLAMLIB
       
  8894 	  ## CC just makes a GrossModule.
       
  8895 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
  8896 	  reload_cmds='$CC -r -o $output$reload_objs'
       
  8897 	  hardcode_direct=no
       
  8898         ;;
       
  8899 	motorola)
       
  8900 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8901 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
       
  8902 	;;
       
  8903       esac
       
  8904       runpath_var='LD_RUN_PATH'
       
  8905       hardcode_shlibpath_var=no
       
  8906       ;;
       
  8907 
       
  8908     sysv4.3*)
       
  8909       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8910       hardcode_shlibpath_var=no
       
  8911       export_dynamic_flag_spec='-Bexport'
       
  8912       ;;
       
  8913 
       
  8914     sysv4*MP*)
       
  8915       if test -d /usr/nec; then
       
  8916 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8917 	hardcode_shlibpath_var=no
       
  8918 	runpath_var=LD_RUN_PATH
       
  8919 	hardcode_runpath_var=yes
       
  8920 	ld_shlibs=yes
       
  8921       fi
       
  8922       ;;
       
  8923 
       
  8924     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
  8925       no_undefined_flag='${wl}-z,text'
       
  8926       archive_cmds_need_lc=no
       
  8927       hardcode_shlibpath_var=no
       
  8928       runpath_var='LD_RUN_PATH'
       
  8929 
       
  8930       if test "$GCC" = yes; then
       
  8931 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8932 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8933       else
       
  8934 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8935 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8936       fi
       
  8937       ;;
       
  8938 
       
  8939     sysv5* | sco3.2v5* | sco5v6*)
       
  8940       # Note: We can NOT use -z defs as we might desire, because we do not
       
  8941       # link with -lc, and that would cause any symbols used from libc to
       
  8942       # always be unresolved, which means just about no library would
       
  8943       # ever link correctly.  If we're not using GNU ld we use -z text
       
  8944       # though, which does catch some bad symbols but isn't as heavy-handed
       
  8945       # as -z defs.
       
  8946       no_undefined_flag='${wl}-z,text'
       
  8947       allow_undefined_flag='${wl}-z,nodefs'
       
  8948       archive_cmds_need_lc=no
       
  8949       hardcode_shlibpath_var=no
       
  8950       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
  8951       hardcode_libdir_separator=':'
       
  8952       link_all_deplibs=yes
       
  8953       export_dynamic_flag_spec='${wl}-Bexport'
       
  8954       runpath_var='LD_RUN_PATH'
       
  8955 
       
  8956       if test "$GCC" = yes; then
       
  8957 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8958 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8959       else
       
  8960 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8961 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
  8962       fi
       
  8963       ;;
       
  8964 
       
  8965     uts4*)
       
  8966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
  8967       hardcode_libdir_flag_spec='-L$libdir'
       
  8968       hardcode_shlibpath_var=no
       
  8969       ;;
       
  8970 
       
  8971     *)
       
  8972       ld_shlibs=no
       
  8973       ;;
       
  8974     esac
       
  8975   fi
       
  8976 
       
  8977 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
       
  8978 echo "${ECHO_T}$ld_shlibs" >&6; }
       
  8979 test "$ld_shlibs" = no && can_build_shared=no
       
  8980 
       
  8981 #
       
  8982 # Do we need to explicitly link libc?
       
  8983 #
       
  8984 case "x$archive_cmds_need_lc" in
       
  8985 x|xyes)
       
  8986   # Assume -lc should be added
       
  8987   archive_cmds_need_lc=yes
       
  8988 
       
  8989   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
  8990     case $archive_cmds in
       
  8991     *'~'*)
       
  8992       # FIXME: we may have to deal with multi-command sequences.
       
  8993       ;;
       
  8994     '$CC '*)
       
  8995       # Test whether the compiler implicitly links with -lc since on some
       
  8996       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
  8997       # to ld, don't add -lc before -lgcc.
       
  8998       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
  8999 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
  9000       $rm conftest*
       
  9001       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
  9002 
       
  9003       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
  9004   (eval $ac_compile) 2>&5
       
  9005   ac_status=$?
       
  9006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9007   (exit $ac_status); } 2>conftest.err; then
       
  9008         soname=conftest
       
  9009         lib=conftest
       
  9010         libobjs=conftest.$ac_objext
       
  9011         deplibs=
       
  9012         wl=$lt_prog_compiler_wl
       
  9013 	pic_flag=$lt_prog_compiler_pic
       
  9014         compiler_flags=-v
       
  9015         linker_flags=-v
       
  9016         verstring=
       
  9017         output_objdir=.
       
  9018         libname=conftest
       
  9019         lt_save_allow_undefined_flag=$allow_undefined_flag
       
  9020         allow_undefined_flag=
       
  9021         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
  9022   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
  9023   ac_status=$?
       
  9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9025   (exit $ac_status); }
       
  9026         then
       
  9027 	  archive_cmds_need_lc=no
       
  9028         else
       
  9029 	  archive_cmds_need_lc=yes
       
  9030         fi
       
  9031         allow_undefined_flag=$lt_save_allow_undefined_flag
       
  9032       else
       
  9033         cat conftest.err 1>&5
       
  9034       fi
       
  9035       $rm conftest*
       
  9036       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
       
  9037 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
       
  9038       ;;
       
  9039     esac
       
  9040   fi
       
  9041   ;;
       
  9042 esac
       
  9043 
       
  9044 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
  9045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
  9046 library_names_spec=
       
  9047 libname_spec='lib$name'
       
  9048 soname_spec=
       
  9049 shrext_cmds=".so"
       
  9050 postinstall_cmds=
       
  9051 postuninstall_cmds=
       
  9052 finish_cmds=
       
  9053 finish_eval=
       
  9054 shlibpath_var=
       
  9055 shlibpath_overrides_runpath=unknown
       
  9056 version_type=none
       
  9057 dynamic_linker="$host_os ld.so"
       
  9058 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
  9059 if test "$GCC" = yes; then
       
  9060   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
  9061   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
  9062     # if the path contains ";" then we assume it to be the separator
       
  9063     # otherwise default to the standard path separator (i.e. ":") - it is
       
  9064     # assumed that no part of a normal pathname contains ";" but that should
       
  9065     # okay in the real world where ";" in dirpaths is itself problematic.
       
  9066     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
  9067   else
       
  9068     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
  9069   fi
       
  9070 else
       
  9071   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
  9072 fi
       
  9073 need_lib_prefix=unknown
       
  9074 hardcode_into_libs=no
       
  9075 
       
  9076 # when you set need_version to no, make sure it does not cause -set_version
       
  9077 # flags to be left without arguments
       
  9078 need_version=unknown
       
  9079 
       
  9080 case $host_os in
       
  9081 aix3*)
       
  9082   version_type=linux
       
  9083   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
  9084   shlibpath_var=LIBPATH
       
  9085 
       
  9086   # AIX 3 has no versioning support, so we append a major version to the name.
       
  9087   soname_spec='${libname}${release}${shared_ext}$major'
       
  9088   ;;
       
  9089 
       
  9090 aix4* | aix5*)
       
  9091   version_type=linux
       
  9092   need_lib_prefix=no
       
  9093   need_version=no
       
  9094   hardcode_into_libs=yes
       
  9095   if test "$host_cpu" = ia64; then
       
  9096     # AIX 5 supports IA64
       
  9097     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
  9098     shlibpath_var=LD_LIBRARY_PATH
       
  9099   else
       
  9100     # With GCC up to 2.95.x, collect2 would create an import file
       
  9101     # for dependence libraries.  The import file would start with
       
  9102     # the line `#! .'.  This would cause the generated library to
       
  9103     # depend on `.', always an invalid library.  This was fixed in
       
  9104     # development snapshots of GCC prior to 3.0.
       
  9105     case $host_os in
       
  9106       aix4 | aix4.[01] | aix4.[01].*)
       
  9107       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
  9108 	   echo ' yes '
       
  9109 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
  9110 	:
       
  9111       else
       
  9112 	can_build_shared=no
       
  9113       fi
       
  9114       ;;
       
  9115     esac
       
  9116     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
  9117     # soname into executable. Probably we can add versioning support to
       
  9118     # collect2, so additional links can be useful in future.
       
  9119     if test "$aix_use_runtimelinking" = yes; then
       
  9120       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
  9121       # instead of lib<name>.a to let people know that these are not
       
  9122       # typical AIX shared libraries.
       
  9123       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9124     else
       
  9125       # We preserve .a as extension for shared libraries through AIX4.2
       
  9126       # and later when we are not doing run time linking.
       
  9127       library_names_spec='${libname}${release}.a $libname.a'
       
  9128       soname_spec='${libname}${release}${shared_ext}$major'
       
  9129     fi
       
  9130     shlibpath_var=LIBPATH
       
  9131   fi
       
  9132   ;;
       
  9133 
       
  9134 amigaos*)
       
  9135   library_names_spec='$libname.ixlibrary $libname.a'
       
  9136   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
  9137   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'
       
  9138   ;;
       
  9139 
       
  9140 beos*)
       
  9141   library_names_spec='${libname}${shared_ext}'
       
  9142   dynamic_linker="$host_os ld.so"
       
  9143   shlibpath_var=LIBRARY_PATH
       
  9144   ;;
       
  9145 
       
  9146 bsdi[45]*)
       
  9147   version_type=linux
       
  9148   need_version=no
       
  9149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9150   soname_spec='${libname}${release}${shared_ext}$major'
       
  9151   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
  9152   shlibpath_var=LD_LIBRARY_PATH
       
  9153   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
  9154   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
  9155   # the default ld.so.conf also contains /usr/contrib/lib and
       
  9156   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
  9157   # libtool to hard-code these into programs
       
  9158   ;;
       
  9159 
       
  9160 cygwin* | mingw* | pw32*)
       
  9161   version_type=windows
       
  9162   shrext_cmds=".dll"
       
  9163   need_version=no
       
  9164   need_lib_prefix=no
       
  9165 
       
  9166   case $GCC,$host_os in
       
  9167   yes,cygwin* | yes,mingw* | yes,pw32*)
       
  9168     library_names_spec='$libname.dll.a'
       
  9169     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
  9170     postinstall_cmds='base_file=`basename \${file}`~
       
  9171       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
  9172       dldir=$destdir/`dirname \$dlpath`~
       
  9173       test -d \$dldir || mkdir -p \$dldir~
       
  9174       $install_prog $dir/$dlname \$dldir/$dlname~
       
  9175       chmod a+x \$dldir/$dlname'
       
  9176     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
  9177       dlpath=$dir/\$dldll~
       
  9178        $rm \$dlpath'
       
  9179     shlibpath_overrides_runpath=yes
       
  9180 
       
  9181     case $host_os in
       
  9182     cygwin*)
       
  9183       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
  9184       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  9185       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
  9186       ;;
       
  9187     mingw*)
       
  9188       # MinGW DLLs use traditional 'lib' prefix
       
  9189       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  9190       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
  9191       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
  9192         # It is most probably a Windows format PATH printed by
       
  9193         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
  9194         # path with ; separators, and with drive letters. We can handle the
       
  9195         # drive letters (cygwin fileutils understands them), so leave them,
       
  9196         # especially as we might pass files found there to a mingw objdump,
       
  9197         # which wouldn't understand a cygwinified path. Ahh.
       
  9198         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
  9199       else
       
  9200         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
  9201       fi
       
  9202       ;;
       
  9203     pw32*)
       
  9204       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
  9205       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
  9206       ;;
       
  9207     esac
       
  9208     ;;
       
  9209 
       
  9210   linux*)
       
  9211     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
       
  9212       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
  9213       supports_anon_versioning=no
       
  9214       case `$LD -v 2>/dev/null` in
       
  9215         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
  9216         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
  9217         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
  9218         *\ 2.11.*) ;; # other 2.11 versions
       
  9219         *) supports_anon_versioning=yes ;;
       
  9220       esac
       
  9221       if test $supports_anon_versioning = yes; then
       
  9222         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
  9223 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
  9224 $echo "local: *; };" >> $output_objdir/$libname.ver~
       
  9225         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
  9226       else
       
  9227         $archive_expsym_cmds="$archive_cmds"
       
  9228       fi
       
  9229     else
       
  9230       ld_shlibs=no
       
  9231     fi
       
  9232     ;;
       
  9233 
       
  9234   *)
       
  9235     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
  9236     ;;
       
  9237   esac
       
  9238   dynamic_linker='Win32 ld.exe'
       
  9239   # FIXME: first we should search . and the directory the executable is in
       
  9240   shlibpath_var=PATH
       
  9241   ;;
       
  9242 
       
  9243 darwin* | rhapsody*)
       
  9244   dynamic_linker="$host_os dyld"
       
  9245   version_type=darwin
       
  9246   need_lib_prefix=no
       
  9247   need_version=no
       
  9248   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
  9249   soname_spec='${libname}${release}${major}$shared_ext'
       
  9250   shlibpath_overrides_runpath=yes
       
  9251   shlibpath_var=DYLD_LIBRARY_PATH
       
  9252   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
  9253   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
  9254   if test "$GCC" = yes; then
       
  9255     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"`
       
  9256   else
       
  9257     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
  9258   fi
       
  9259   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
  9260   ;;
       
  9261 
       
  9262 dgux*)
       
  9263   version_type=linux
       
  9264   need_lib_prefix=no
       
  9265   need_version=no
       
  9266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
  9267   soname_spec='${libname}${release}${shared_ext}$major'
       
  9268   shlibpath_var=LD_LIBRARY_PATH
       
  9269   ;;
       
  9270 
       
  9271 freebsd1*)
       
  9272   dynamic_linker=no
       
  9273   ;;
       
  9274 
       
  9275 kfreebsd*-gnu)
       
  9276   version_type=linux
       
  9277   need_lib_prefix=no
       
  9278   need_version=no
       
  9279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9280   soname_spec='${libname}${release}${shared_ext}$major'
       
  9281   shlibpath_var=LD_LIBRARY_PATH
       
  9282   shlibpath_overrides_runpath=no
       
  9283   hardcode_into_libs=yes
       
  9284   dynamic_linker='GNU ld.so'
       
  9285   ;;
       
  9286 
       
  9287 freebsd* | dragonfly*)
       
  9288   # DragonFly does not have aout.  When/if they implement a new
       
  9289   # versioning mechanism, adjust this.
       
  9290   if test -x /usr/bin/objformat; then
       
  9291     objformat=`/usr/bin/objformat`
       
  9292   else
       
  9293     case $host_os in
       
  9294     freebsd[123]*) objformat=aout ;;
       
  9295     *) objformat=elf ;;
       
  9296     esac
       
  9297   fi
       
  9298   # Handle Gentoo/FreeBSD as it was Linux
       
  9299   case $host_vendor in
       
  9300     gentoo)
       
  9301       version_type=linux ;;
       
  9302     *)
       
  9303       version_type=freebsd-$objformat ;;
       
  9304   esac
       
  9305 
       
  9306   case $version_type in
       
  9307     freebsd-elf*)
       
  9308       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9309       need_version=no
       
  9310       need_lib_prefix=no
       
  9311       ;;
       
  9312     freebsd-*)
       
  9313       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
  9314       need_version=yes
       
  9315       ;;
       
  9316     linux)
       
  9317       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9318       soname_spec='${libname}${release}${shared_ext}$major'
       
  9319       need_lib_prefix=no
       
  9320       need_version=no
       
  9321       ;;
       
  9322   esac
       
  9323   shlibpath_var=LD_LIBRARY_PATH
       
  9324   case $host_os in
       
  9325   freebsd2*)
       
  9326     shlibpath_overrides_runpath=yes
       
  9327     ;;
       
  9328   freebsd3.[01]* | freebsdelf3.[01]*)
       
  9329     shlibpath_overrides_runpath=yes
       
  9330     hardcode_into_libs=yes
       
  9331     ;;
       
  9332   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
  9333   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
  9334     shlibpath_overrides_runpath=no
       
  9335     hardcode_into_libs=yes
       
  9336     ;;
       
  9337   freebsd*) # from 4.6 on
       
  9338     shlibpath_overrides_runpath=yes
       
  9339     hardcode_into_libs=yes
       
  9340     ;;
       
  9341   esac
       
  9342   ;;
       
  9343 
       
  9344 gnu*)
       
  9345   version_type=linux
       
  9346   need_lib_prefix=no
       
  9347   need_version=no
       
  9348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
  9349   soname_spec='${libname}${release}${shared_ext}$major'
       
  9350   shlibpath_var=LD_LIBRARY_PATH
       
  9351   hardcode_into_libs=yes
       
  9352   ;;
       
  9353 
       
  9354 hpux9* | hpux10* | hpux11*)
       
  9355   # Give a soname corresponding to the major version so that dld.sl refuses to
       
  9356   # link against other versions.
       
  9357   version_type=sunos
       
  9358   need_lib_prefix=no
       
  9359   need_version=no
       
  9360   case $host_cpu in
       
  9361   ia64*)
       
  9362     shrext_cmds='.so'
       
  9363     hardcode_into_libs=yes
       
  9364     dynamic_linker="$host_os dld.so"
       
  9365     shlibpath_var=LD_LIBRARY_PATH
       
  9366     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
  9367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9368     soname_spec='${libname}${release}${shared_ext}$major'
       
  9369     if test "X$HPUX_IA64_MODE" = X32; then
       
  9370       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
  9371     else
       
  9372       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
  9373     fi
       
  9374     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
  9375     ;;
       
  9376    hppa*64*)
       
  9377      shrext_cmds='.sl'
       
  9378      hardcode_into_libs=yes
       
  9379      dynamic_linker="$host_os dld.sl"
       
  9380      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
  9381      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
  9382      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9383      soname_spec='${libname}${release}${shared_ext}$major'
       
  9384      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
  9385      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
  9386      ;;
       
  9387    *)
       
  9388     shrext_cmds='.sl'
       
  9389     dynamic_linker="$host_os dld.sl"
       
  9390     shlibpath_var=SHLIB_PATH
       
  9391     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
  9392     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9393     soname_spec='${libname}${release}${shared_ext}$major'
       
  9394     ;;
       
  9395   esac
       
  9396   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
  9397   postinstall_cmds='chmod 555 $lib'
       
  9398   ;;
       
  9399 
       
  9400 interix3*)
       
  9401   version_type=linux
       
  9402   need_lib_prefix=no
       
  9403   need_version=no
       
  9404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9405   soname_spec='${libname}${release}${shared_ext}$major'
       
  9406   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
  9407   shlibpath_var=LD_LIBRARY_PATH
       
  9408   shlibpath_overrides_runpath=no
       
  9409   hardcode_into_libs=yes
       
  9410   ;;
       
  9411 
       
  9412 irix5* | irix6* | nonstopux*)
       
  9413   case $host_os in
       
  9414     nonstopux*) version_type=nonstopux ;;
       
  9415     *)
       
  9416 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
  9417 		version_type=linux
       
  9418 	else
       
  9419 		version_type=irix
       
  9420 	fi ;;
       
  9421   esac
       
  9422   need_lib_prefix=no
       
  9423   need_version=no
       
  9424   soname_spec='${libname}${release}${shared_ext}$major'
       
  9425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9426   case $host_os in
       
  9427   irix5* | nonstopux*)
       
  9428     libsuff= shlibsuff=
       
  9429     ;;
       
  9430   *)
       
  9431     case $LD in # libtool.m4 will add one of these switches to LD
       
  9432     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
  9433       libsuff= shlibsuff= libmagic=32-bit;;
       
  9434     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
  9435       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
  9436     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
  9437       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
  9438     *) libsuff= shlibsuff= libmagic=never-match;;
       
  9439     esac
       
  9440     ;;
       
  9441   esac
       
  9442   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
  9443   shlibpath_overrides_runpath=no
       
  9444   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
  9445   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
  9446   hardcode_into_libs=yes
       
  9447   ;;
       
  9448 
       
  9449 # No shared lib support for Linux oldld, aout, or coff.
       
  9450 linux*oldld* | linux*aout* | linux*coff*)
       
  9451   dynamic_linker=no
       
  9452   ;;
       
  9453 
       
  9454 # This must be Linux ELF.
       
  9455 linux*)
       
  9456   version_type=linux
       
  9457   need_lib_prefix=no
       
  9458   need_version=no
       
  9459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9460   soname_spec='${libname}${release}${shared_ext}$major'
       
  9461   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
  9462   shlibpath_var=LD_LIBRARY_PATH
       
  9463   shlibpath_overrides_runpath=no
       
  9464   # This implies no fast_install, which is unacceptable.
       
  9465   # Some rework will be needed to allow for fast_install
       
  9466   # before this can be enabled.
       
  9467   hardcode_into_libs=yes
       
  9468 
       
  9469   # Append ld.so.conf contents to the search path
       
  9470   if test -f /etc/ld.so.conf; then
       
  9471     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' ' '`
       
  9472     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
  9473   fi
       
  9474 
       
  9475   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
  9476   # powerpc, because MkLinux only supported shared libraries with the
       
  9477   # GNU dynamic linker.  Since this was broken with cross compilers,
       
  9478   # most powerpc-linux boxes support dynamic linking these days and
       
  9479   # people can always --disable-shared, the test was removed, and we
       
  9480   # assume the GNU/Linux dynamic linker is in use.
       
  9481   dynamic_linker='GNU/Linux ld.so'
       
  9482   ;;
       
  9483 
       
  9484 knetbsd*-gnu)
       
  9485   version_type=linux
       
  9486   need_lib_prefix=no
       
  9487   need_version=no
       
  9488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9489   soname_spec='${libname}${release}${shared_ext}$major'
       
  9490   shlibpath_var=LD_LIBRARY_PATH
       
  9491   shlibpath_overrides_runpath=no
       
  9492   hardcode_into_libs=yes
       
  9493   dynamic_linker='GNU ld.so'
       
  9494   ;;
       
  9495 
       
  9496 netbsd*)
       
  9497   version_type=sunos
       
  9498   need_lib_prefix=no
       
  9499   need_version=no
       
  9500   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
  9501     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9502     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
  9503     dynamic_linker='NetBSD (a.out) ld.so'
       
  9504   else
       
  9505     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
  9506     soname_spec='${libname}${release}${shared_ext}$major'
       
  9507     dynamic_linker='NetBSD ld.elf_so'
       
  9508   fi
       
  9509   shlibpath_var=LD_LIBRARY_PATH
       
  9510   shlibpath_overrides_runpath=yes
       
  9511   hardcode_into_libs=yes
       
  9512   ;;
       
  9513 
       
  9514 newsos6)
       
  9515   version_type=linux
       
  9516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9517   shlibpath_var=LD_LIBRARY_PATH
       
  9518   shlibpath_overrides_runpath=yes
       
  9519   ;;
       
  9520 
       
  9521 nto-qnx*)
       
  9522   version_type=linux
       
  9523   need_lib_prefix=no
       
  9524   need_version=no
       
  9525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9526   soname_spec='${libname}${release}${shared_ext}$major'
       
  9527   shlibpath_var=LD_LIBRARY_PATH
       
  9528   shlibpath_overrides_runpath=yes
       
  9529   ;;
       
  9530 
       
  9531 openbsd*)
       
  9532   version_type=sunos
       
  9533   sys_lib_dlsearch_path_spec="/usr/lib"
       
  9534   need_lib_prefix=no
       
  9535   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
  9536   case $host_os in
       
  9537     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
  9538     *)                         need_version=no  ;;
       
  9539   esac
       
  9540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9541   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
  9542   shlibpath_var=LD_LIBRARY_PATH
       
  9543   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
  9544     case $host_os in
       
  9545       openbsd2.[89] | openbsd2.[89].*)
       
  9546 	shlibpath_overrides_runpath=no
       
  9547 	;;
       
  9548       *)
       
  9549 	shlibpath_overrides_runpath=yes
       
  9550 	;;
       
  9551       esac
       
  9552   else
       
  9553     shlibpath_overrides_runpath=yes
       
  9554   fi
       
  9555   ;;
       
  9556 
       
  9557 os2*)
       
  9558   libname_spec='$name'
       
  9559   shrext_cmds=".dll"
       
  9560   need_lib_prefix=no
       
  9561   library_names_spec='$libname${shared_ext} $libname.a'
       
  9562   dynamic_linker='OS/2 ld.exe'
       
  9563   shlibpath_var=LIBPATH
       
  9564   ;;
       
  9565 
       
  9566 osf3* | osf4* | osf5*)
       
  9567   version_type=osf
       
  9568   need_lib_prefix=no
       
  9569   need_version=no
       
  9570   soname_spec='${libname}${release}${shared_ext}$major'
       
  9571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9572   shlibpath_var=LD_LIBRARY_PATH
       
  9573   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
  9574   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
  9575   ;;
       
  9576 
       
  9577 solaris*)
       
  9578   version_type=linux
       
  9579   need_lib_prefix=no
       
  9580   need_version=no
       
  9581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9582   soname_spec='${libname}${release}${shared_ext}$major'
       
  9583   shlibpath_var=LD_LIBRARY_PATH
       
  9584   shlibpath_overrides_runpath=yes
       
  9585   hardcode_into_libs=yes
       
  9586   # ldd complains unless libraries are executable
       
  9587   postinstall_cmds='chmod +x $lib'
       
  9588   ;;
       
  9589 
       
  9590 sunos4*)
       
  9591   version_type=sunos
       
  9592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
  9593   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
  9594   shlibpath_var=LD_LIBRARY_PATH
       
  9595   shlibpath_overrides_runpath=yes
       
  9596   if test "$with_gnu_ld" = yes; then
       
  9597     need_lib_prefix=no
       
  9598   fi
       
  9599   need_version=yes
       
  9600   ;;
       
  9601 
       
  9602 sysv4 | sysv4.3*)
       
  9603   version_type=linux
       
  9604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9605   soname_spec='${libname}${release}${shared_ext}$major'
       
  9606   shlibpath_var=LD_LIBRARY_PATH
       
  9607   case $host_vendor in
       
  9608     sni)
       
  9609       shlibpath_overrides_runpath=no
       
  9610       need_lib_prefix=no
       
  9611       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
  9612       runpath_var=LD_RUN_PATH
       
  9613       ;;
       
  9614     siemens)
       
  9615       need_lib_prefix=no
       
  9616       ;;
       
  9617     motorola)
       
  9618       need_lib_prefix=no
       
  9619       need_version=no
       
  9620       shlibpath_overrides_runpath=no
       
  9621       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
  9622       ;;
       
  9623   esac
       
  9624   ;;
       
  9625 
       
  9626 sysv4*MP*)
       
  9627   if test -d /usr/nec ;then
       
  9628     version_type=linux
       
  9629     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
  9630     soname_spec='$libname${shared_ext}.$major'
       
  9631     shlibpath_var=LD_LIBRARY_PATH
       
  9632   fi
       
  9633   ;;
       
  9634 
       
  9635 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
  9636   version_type=freebsd-elf
       
  9637   need_lib_prefix=no
       
  9638   need_version=no
       
  9639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
  9640   soname_spec='${libname}${release}${shared_ext}$major'
       
  9641   shlibpath_var=LD_LIBRARY_PATH
       
  9642   hardcode_into_libs=yes
       
  9643   if test "$with_gnu_ld" = yes; then
       
  9644     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
  9645     shlibpath_overrides_runpath=no
       
  9646   else
       
  9647     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
  9648     shlibpath_overrides_runpath=yes
       
  9649     case $host_os in
       
  9650       sco3.2v5*)
       
  9651         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
  9652 	;;
       
  9653     esac
       
  9654   fi
       
  9655   sys_lib_dlsearch_path_spec='/usr/lib'
       
  9656   ;;
       
  9657 
       
  9658 uts4*)
       
  9659   version_type=linux
       
  9660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
  9661   soname_spec='${libname}${release}${shared_ext}$major'
       
  9662   shlibpath_var=LD_LIBRARY_PATH
       
  9663   ;;
       
  9664 
       
  9665 *)
       
  9666   dynamic_linker=no
       
  9667   ;;
       
  9668 esac
       
  9669 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
  9670 echo "${ECHO_T}$dynamic_linker" >&6; }
       
  9671 test "$dynamic_linker" = no && can_build_shared=no
       
  9672 
       
  9673 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
  9674 if test "$GCC" = yes; then
       
  9675   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
  9676 fi
       
  9677 
       
  9678 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
  9679 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
  9680 hardcode_action=
       
  9681 if test -n "$hardcode_libdir_flag_spec" || \
       
  9682    test -n "$runpath_var" || \
       
  9683    test "X$hardcode_automatic" = "Xyes" ; then
       
  9684 
       
  9685   # We can hardcode non-existant directories.
       
  9686   if test "$hardcode_direct" != no &&
       
  9687      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
  9688      # have to relink, otherwise we might link with an installed library
       
  9689      # when we should be linking with a yet-to-be-installed one
       
  9690      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
       
  9691      test "$hardcode_minus_L" != no; then
       
  9692     # Linking always hardcodes the temporary library directory.
       
  9693     hardcode_action=relink
       
  9694   else
       
  9695     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
  9696     hardcode_action=immediate
       
  9697   fi
       
  9698 else
       
  9699   # We cannot hardcode anything, or else we can only hardcode existing
       
  9700   # directories.
       
  9701   hardcode_action=unsupported
       
  9702 fi
       
  9703 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
       
  9704 echo "${ECHO_T}$hardcode_action" >&6; }
       
  9705 
       
  9706 if test "$hardcode_action" = relink; then
       
  9707   # Fast installation is not supported
       
  9708   enable_fast_install=no
       
  9709 elif test "$shlibpath_overrides_runpath" = yes ||
       
  9710      test "$enable_shared" = no; then
       
  9711   # Fast installation is not necessary
       
  9712   enable_fast_install=needless
       
  9713 fi
       
  9714 
       
  9715 striplib=
       
  9716 old_striplib=
       
  9717 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
       
  9718 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
       
  9719 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
       
  9720   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
       
  9721   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
       
  9722   { echo "$as_me:$LINENO: result: yes" >&5
       
  9723 echo "${ECHO_T}yes" >&6; }
       
  9724 else
       
  9725 # FIXME - insert some real tests, host_os isn't really good enough
       
  9726   case $host_os in
       
  9727    darwin*)
       
  9728        if test -n "$STRIP" ; then
       
  9729          striplib="$STRIP -x"
       
  9730          { echo "$as_me:$LINENO: result: yes" >&5
       
  9731 echo "${ECHO_T}yes" >&6; }
       
  9732        else
       
  9733   { echo "$as_me:$LINENO: result: no" >&5
       
  9734 echo "${ECHO_T}no" >&6; }
       
  9735 fi
       
  9736        ;;
       
  9737    *)
       
  9738   { echo "$as_me:$LINENO: result: no" >&5
       
  9739 echo "${ECHO_T}no" >&6; }
       
  9740     ;;
       
  9741   esac
       
  9742 fi
       
  9743 
       
  9744 if test "x$enable_dlopen" != xyes; then
       
  9745   enable_dlopen=unknown
       
  9746   enable_dlopen_self=unknown
       
  9747   enable_dlopen_self_static=unknown
       
  9748 else
       
  9749   lt_cv_dlopen=no
       
  9750   lt_cv_dlopen_libs=
       
  9751 
       
  9752   case $host_os in
       
  9753   beos*)
       
  9754     lt_cv_dlopen="load_add_on"
       
  9755     lt_cv_dlopen_libs=
       
  9756     lt_cv_dlopen_self=yes
       
  9757     ;;
       
  9758 
       
  9759   mingw* | pw32*)
       
  9760     lt_cv_dlopen="LoadLibrary"
       
  9761     lt_cv_dlopen_libs=
       
  9762    ;;
       
  9763 
       
  9764   cygwin*)
       
  9765     lt_cv_dlopen="dlopen"
       
  9766     lt_cv_dlopen_libs=
       
  9767    ;;
       
  9768 
       
  9769   darwin*)
       
  9770   # if libdl is installed we need to link against it
       
  9771     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
       
  9772 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
       
  9773 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
       
  9774   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9775 else
       
  9776   ac_check_lib_save_LIBS=$LIBS
       
  9777 LIBS="-ldl  $LIBS"
       
  9778 cat >conftest.$ac_ext <<_ACEOF
       
  9779 /* confdefs.h.  */
       
  9780 _ACEOF
       
  9781 cat confdefs.h >>conftest.$ac_ext
       
  9782 cat >>conftest.$ac_ext <<_ACEOF
       
  9783 /* end confdefs.h.  */
       
  9784 
       
  9785 /* Override any GCC internal prototype to avoid an error.
       
  9786    Use char because int might match the return type of a GCC
       
  9787    builtin and then its argument prototype would still apply.  */
       
  9788 #ifdef __cplusplus
       
  9789 extern "C"
       
  9790 #endif
       
  9791 char dlopen ();
       
  9792 int
       
  9793 main ()
       
  9794 {
       
  9795 return dlopen ();
       
  9796   ;
       
  9797   return 0;
       
  9798 }
       
  9799 _ACEOF
       
  9800 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9801 if { (ac_try="$ac_link"
       
  9802 case "(($ac_try" in
       
  9803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9804   *) ac_try_echo=$ac_try;;
       
  9805 esac
       
  9806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9807   (eval "$ac_link") 2>conftest.er1
       
  9808   ac_status=$?
       
  9809   grep -v '^ *+' conftest.er1 >conftest.err
       
  9810   rm -f conftest.er1
       
  9811   cat conftest.err >&5
       
  9812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9813   (exit $ac_status); } &&
       
  9814 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  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); }; } &&
       
  9824 	 { ac_try='test -s conftest$ac_exeext'
       
  9825   { (case "(($ac_try" in
       
  9826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9827   *) ac_try_echo=$ac_try;;
       
  9828 esac
       
  9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9830   (eval "$ac_try") 2>&5
       
  9831   ac_status=$?
       
  9832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9833   (exit $ac_status); }; }; then
       
  9834   ac_cv_lib_dl_dlopen=yes
       
  9835 else
       
  9836   echo "$as_me: failed program was:" >&5
       
  9837 sed 's/^/| /' conftest.$ac_ext >&5
       
  9838 
       
  9839 	ac_cv_lib_dl_dlopen=no
       
  9840 fi
       
  9841 
       
  9842 rm -f core conftest.err conftest.$ac_objext \
       
  9843       conftest$ac_exeext conftest.$ac_ext
       
  9844 LIBS=$ac_check_lib_save_LIBS
       
  9845 fi
       
  9846 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
       
  9847 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
       
  9848 if test $ac_cv_lib_dl_dlopen = yes; then
       
  9849   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
       
  9850 else
       
  9851 
       
  9852     lt_cv_dlopen="dyld"
       
  9853     lt_cv_dlopen_libs=
       
  9854     lt_cv_dlopen_self=yes
       
  9855 
       
  9856 fi
       
  9857 
       
  9858    ;;
       
  9859 
       
  9860   *)
       
  9861     { echo "$as_me:$LINENO: checking for shl_load" >&5
       
  9862 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
       
  9863 if test "${ac_cv_func_shl_load+set}" = set; then
       
  9864   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9865 else
       
  9866   cat >conftest.$ac_ext <<_ACEOF
       
  9867 /* confdefs.h.  */
       
  9868 _ACEOF
       
  9869 cat confdefs.h >>conftest.$ac_ext
       
  9870 cat >>conftest.$ac_ext <<_ACEOF
       
  9871 /* end confdefs.h.  */
       
  9872 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
       
  9873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
  9874 #define shl_load innocuous_shl_load
       
  9875 
       
  9876 /* System header to define __stub macros and hopefully few prototypes,
       
  9877     which can conflict with char shl_load (); below.
       
  9878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
  9879     <limits.h> exists even on freestanding compilers.  */
       
  9880 
       
  9881 #ifdef __STDC__
       
  9882 # include <limits.h>
       
  9883 #else
       
  9884 # include <assert.h>
       
  9885 #endif
       
  9886 
       
  9887 #undef shl_load
       
  9888 
       
  9889 /* Override any GCC internal prototype to avoid an error.
       
  9890    Use char because int might match the return type of a GCC
       
  9891    builtin and then its argument prototype would still apply.  */
       
  9892 #ifdef __cplusplus
       
  9893 extern "C"
       
  9894 #endif
       
  9895 char shl_load ();
       
  9896 /* The GNU C library defines this for functions which it implements
       
  9897     to always fail with ENOSYS.  Some functions are actually named
       
  9898     something starting with __ and the normal name is an alias.  */
       
  9899 #if defined __stub_shl_load || defined __stub___shl_load
       
  9900 choke me
       
  9901 #endif
       
  9902 
       
  9903 int
       
  9904 main ()
       
  9905 {
       
  9906 return shl_load ();
       
  9907   ;
       
  9908   return 0;
       
  9909 }
       
  9910 _ACEOF
       
  9911 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9912 if { (ac_try="$ac_link"
       
  9913 case "(($ac_try" in
       
  9914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9915   *) ac_try_echo=$ac_try;;
       
  9916 esac
       
  9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9918   (eval "$ac_link") 2>conftest.er1
       
  9919   ac_status=$?
       
  9920   grep -v '^ *+' conftest.er1 >conftest.err
       
  9921   rm -f conftest.er1
       
  9922   cat conftest.err >&5
       
  9923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9924   (exit $ac_status); } &&
       
  9925 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
  9926   { (case "(($ac_try" in
       
  9927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9928   *) ac_try_echo=$ac_try;;
       
  9929 esac
       
  9930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9931   (eval "$ac_try") 2>&5
       
  9932   ac_status=$?
       
  9933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9934   (exit $ac_status); }; } &&
       
  9935 	 { ac_try='test -s conftest$ac_exeext'
       
  9936   { (case "(($ac_try" in
       
  9937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9938   *) ac_try_echo=$ac_try;;
       
  9939 esac
       
  9940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9941   (eval "$ac_try") 2>&5
       
  9942   ac_status=$?
       
  9943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
  9944   (exit $ac_status); }; }; then
       
  9945   ac_cv_func_shl_load=yes
       
  9946 else
       
  9947   echo "$as_me: failed program was:" >&5
       
  9948 sed 's/^/| /' conftest.$ac_ext >&5
       
  9949 
       
  9950 	ac_cv_func_shl_load=no
       
  9951 fi
       
  9952 
       
  9953 rm -f core conftest.err conftest.$ac_objext \
       
  9954       conftest$ac_exeext conftest.$ac_ext
       
  9955 fi
       
  9956 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
       
  9957 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
       
  9958 if test $ac_cv_func_shl_load = yes; then
       
  9959   lt_cv_dlopen="shl_load"
       
  9960 else
       
  9961   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
       
  9962 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
       
  9963 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
       
  9964   echo $ECHO_N "(cached) $ECHO_C" >&6
       
  9965 else
       
  9966   ac_check_lib_save_LIBS=$LIBS
       
  9967 LIBS="-ldld  $LIBS"
       
  9968 cat >conftest.$ac_ext <<_ACEOF
       
  9969 /* confdefs.h.  */
       
  9970 _ACEOF
       
  9971 cat confdefs.h >>conftest.$ac_ext
       
  9972 cat >>conftest.$ac_ext <<_ACEOF
       
  9973 /* end confdefs.h.  */
       
  9974 
       
  9975 /* Override any GCC internal prototype to avoid an error.
       
  9976    Use char because int might match the return type of a GCC
       
  9977    builtin and then its argument prototype would still apply.  */
       
  9978 #ifdef __cplusplus
       
  9979 extern "C"
       
  9980 #endif
       
  9981 char shl_load ();
       
  9982 int
       
  9983 main ()
       
  9984 {
       
  9985 return shl_load ();
       
  9986   ;
       
  9987   return 0;
       
  9988 }
       
  9989 _ACEOF
       
  9990 rm -f conftest.$ac_objext conftest$ac_exeext
       
  9991 if { (ac_try="$ac_link"
       
  9992 case "(($ac_try" in
       
  9993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
  9994   *) ac_try_echo=$ac_try;;
       
  9995 esac
       
  9996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
  9997   (eval "$ac_link") 2>conftest.er1
       
  9998   ac_status=$?
       
  9999   grep -v '^ *+' conftest.er1 >conftest.err
       
 10000   rm -f conftest.er1
       
 10001   cat conftest.err >&5
       
 10002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10003   (exit $ac_status); } &&
       
 10004 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10005   { (case "(($ac_try" in
       
 10006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10007   *) ac_try_echo=$ac_try;;
       
 10008 esac
       
 10009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10010   (eval "$ac_try") 2>&5
       
 10011   ac_status=$?
       
 10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10013   (exit $ac_status); }; } &&
       
 10014 	 { ac_try='test -s conftest$ac_exeext'
       
 10015   { (case "(($ac_try" in
       
 10016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10017   *) ac_try_echo=$ac_try;;
       
 10018 esac
       
 10019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10020   (eval "$ac_try") 2>&5
       
 10021   ac_status=$?
       
 10022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10023   (exit $ac_status); }; }; then
       
 10024   ac_cv_lib_dld_shl_load=yes
       
 10025 else
       
 10026   echo "$as_me: failed program was:" >&5
       
 10027 sed 's/^/| /' conftest.$ac_ext >&5
       
 10028 
       
 10029 	ac_cv_lib_dld_shl_load=no
       
 10030 fi
       
 10031 
       
 10032 rm -f core conftest.err conftest.$ac_objext \
       
 10033       conftest$ac_exeext conftest.$ac_ext
       
 10034 LIBS=$ac_check_lib_save_LIBS
       
 10035 fi
       
 10036 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
       
 10037 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
       
 10038 if test $ac_cv_lib_dld_shl_load = yes; then
       
 10039   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
       
 10040 else
       
 10041   { echo "$as_me:$LINENO: checking for dlopen" >&5
       
 10042 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
       
 10043 if test "${ac_cv_func_dlopen+set}" = set; then
       
 10044   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10045 else
       
 10046   cat >conftest.$ac_ext <<_ACEOF
       
 10047 /* confdefs.h.  */
       
 10048 _ACEOF
       
 10049 cat confdefs.h >>conftest.$ac_ext
       
 10050 cat >>conftest.$ac_ext <<_ACEOF
       
 10051 /* end confdefs.h.  */
       
 10052 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
       
 10053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 10054 #define dlopen innocuous_dlopen
       
 10055 
       
 10056 /* System header to define __stub macros and hopefully few prototypes,
       
 10057     which can conflict with char dlopen (); below.
       
 10058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 10059     <limits.h> exists even on freestanding compilers.  */
       
 10060 
       
 10061 #ifdef __STDC__
       
 10062 # include <limits.h>
       
 10063 #else
       
 10064 # include <assert.h>
       
 10065 #endif
       
 10066 
       
 10067 #undef dlopen
       
 10068 
       
 10069 /* Override any GCC internal prototype to avoid an error.
       
 10070    Use char because int might match the return type of a GCC
       
 10071    builtin and then its argument prototype would still apply.  */
       
 10072 #ifdef __cplusplus
       
 10073 extern "C"
       
 10074 #endif
       
 10075 char dlopen ();
       
 10076 /* The GNU C library defines this for functions which it implements
       
 10077     to always fail with ENOSYS.  Some functions are actually named
       
 10078     something starting with __ and the normal name is an alias.  */
       
 10079 #if defined __stub_dlopen || defined __stub___dlopen
       
 10080 choke me
       
 10081 #endif
       
 10082 
       
 10083 int
       
 10084 main ()
       
 10085 {
       
 10086 return dlopen ();
       
 10087   ;
       
 10088   return 0;
       
 10089 }
       
 10090 _ACEOF
       
 10091 rm -f conftest.$ac_objext conftest$ac_exeext
       
 10092 if { (ac_try="$ac_link"
       
 10093 case "(($ac_try" in
       
 10094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10095   *) ac_try_echo=$ac_try;;
       
 10096 esac
       
 10097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10098   (eval "$ac_link") 2>conftest.er1
       
 10099   ac_status=$?
       
 10100   grep -v '^ *+' conftest.er1 >conftest.err
       
 10101   rm -f conftest.er1
       
 10102   cat conftest.err >&5
       
 10103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10104   (exit $ac_status); } &&
       
 10105 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10106   { (case "(($ac_try" in
       
 10107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10108   *) ac_try_echo=$ac_try;;
       
 10109 esac
       
 10110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10111   (eval "$ac_try") 2>&5
       
 10112   ac_status=$?
       
 10113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10114   (exit $ac_status); }; } &&
       
 10115 	 { ac_try='test -s conftest$ac_exeext'
       
 10116   { (case "(($ac_try" in
       
 10117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10118   *) ac_try_echo=$ac_try;;
       
 10119 esac
       
 10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10121   (eval "$ac_try") 2>&5
       
 10122   ac_status=$?
       
 10123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10124   (exit $ac_status); }; }; then
       
 10125   ac_cv_func_dlopen=yes
       
 10126 else
       
 10127   echo "$as_me: failed program was:" >&5
       
 10128 sed 's/^/| /' conftest.$ac_ext >&5
       
 10129 
       
 10130 	ac_cv_func_dlopen=no
       
 10131 fi
       
 10132 
       
 10133 rm -f core conftest.err conftest.$ac_objext \
       
 10134       conftest$ac_exeext conftest.$ac_ext
       
 10135 fi
       
 10136 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
       
 10137 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
       
 10138 if test $ac_cv_func_dlopen = yes; then
       
 10139   lt_cv_dlopen="dlopen"
       
 10140 else
       
 10141   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
       
 10142 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
       
 10143 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
       
 10144   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10145 else
       
 10146   ac_check_lib_save_LIBS=$LIBS
       
 10147 LIBS="-ldl  $LIBS"
       
 10148 cat >conftest.$ac_ext <<_ACEOF
       
 10149 /* confdefs.h.  */
       
 10150 _ACEOF
       
 10151 cat confdefs.h >>conftest.$ac_ext
       
 10152 cat >>conftest.$ac_ext <<_ACEOF
       
 10153 /* end confdefs.h.  */
       
 10154 
       
 10155 /* Override any GCC internal prototype to avoid an error.
       
 10156    Use char because int might match the return type of a GCC
       
 10157    builtin and then its argument prototype would still apply.  */
       
 10158 #ifdef __cplusplus
       
 10159 extern "C"
       
 10160 #endif
       
 10161 char dlopen ();
       
 10162 int
       
 10163 main ()
       
 10164 {
       
 10165 return dlopen ();
       
 10166   ;
       
 10167   return 0;
       
 10168 }
       
 10169 _ACEOF
       
 10170 rm -f conftest.$ac_objext conftest$ac_exeext
       
 10171 if { (ac_try="$ac_link"
       
 10172 case "(($ac_try" in
       
 10173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10174   *) ac_try_echo=$ac_try;;
       
 10175 esac
       
 10176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10177   (eval "$ac_link") 2>conftest.er1
       
 10178   ac_status=$?
       
 10179   grep -v '^ *+' conftest.er1 >conftest.err
       
 10180   rm -f conftest.er1
       
 10181   cat conftest.err >&5
       
 10182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10183   (exit $ac_status); } &&
       
 10184 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10185   { (case "(($ac_try" in
       
 10186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10187   *) ac_try_echo=$ac_try;;
       
 10188 esac
       
 10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10190   (eval "$ac_try") 2>&5
       
 10191   ac_status=$?
       
 10192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10193   (exit $ac_status); }; } &&
       
 10194 	 { ac_try='test -s conftest$ac_exeext'
       
 10195   { (case "(($ac_try" in
       
 10196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10197   *) ac_try_echo=$ac_try;;
       
 10198 esac
       
 10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10200   (eval "$ac_try") 2>&5
       
 10201   ac_status=$?
       
 10202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10203   (exit $ac_status); }; }; then
       
 10204   ac_cv_lib_dl_dlopen=yes
       
 10205 else
       
 10206   echo "$as_me: failed program was:" >&5
       
 10207 sed 's/^/| /' conftest.$ac_ext >&5
       
 10208 
       
 10209 	ac_cv_lib_dl_dlopen=no
       
 10210 fi
       
 10211 
       
 10212 rm -f core conftest.err conftest.$ac_objext \
       
 10213       conftest$ac_exeext conftest.$ac_ext
       
 10214 LIBS=$ac_check_lib_save_LIBS
       
 10215 fi
       
 10216 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
       
 10217 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
       
 10218 if test $ac_cv_lib_dl_dlopen = yes; then
       
 10219   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
       
 10220 else
       
 10221   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
       
 10222 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
       
 10223 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
       
 10224   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10225 else
       
 10226   ac_check_lib_save_LIBS=$LIBS
       
 10227 LIBS="-lsvld  $LIBS"
       
 10228 cat >conftest.$ac_ext <<_ACEOF
       
 10229 /* confdefs.h.  */
       
 10230 _ACEOF
       
 10231 cat confdefs.h >>conftest.$ac_ext
       
 10232 cat >>conftest.$ac_ext <<_ACEOF
       
 10233 /* end confdefs.h.  */
       
 10234 
       
 10235 /* Override any GCC internal prototype to avoid an error.
       
 10236    Use char because int might match the return type of a GCC
       
 10237    builtin and then its argument prototype would still apply.  */
       
 10238 #ifdef __cplusplus
       
 10239 extern "C"
       
 10240 #endif
       
 10241 char dlopen ();
       
 10242 int
       
 10243 main ()
       
 10244 {
       
 10245 return dlopen ();
       
 10246   ;
       
 10247   return 0;
       
 10248 }
       
 10249 _ACEOF
       
 10250 rm -f conftest.$ac_objext conftest$ac_exeext
       
 10251 if { (ac_try="$ac_link"
       
 10252 case "(($ac_try" in
       
 10253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10254   *) ac_try_echo=$ac_try;;
       
 10255 esac
       
 10256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10257   (eval "$ac_link") 2>conftest.er1
       
 10258   ac_status=$?
       
 10259   grep -v '^ *+' conftest.er1 >conftest.err
       
 10260   rm -f conftest.er1
       
 10261   cat conftest.err >&5
       
 10262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10263   (exit $ac_status); } &&
       
 10264 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10265   { (case "(($ac_try" in
       
 10266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10267   *) ac_try_echo=$ac_try;;
       
 10268 esac
       
 10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10270   (eval "$ac_try") 2>&5
       
 10271   ac_status=$?
       
 10272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10273   (exit $ac_status); }; } &&
       
 10274 	 { ac_try='test -s conftest$ac_exeext'
       
 10275   { (case "(($ac_try" in
       
 10276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10277   *) ac_try_echo=$ac_try;;
       
 10278 esac
       
 10279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10280   (eval "$ac_try") 2>&5
       
 10281   ac_status=$?
       
 10282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10283   (exit $ac_status); }; }; then
       
 10284   ac_cv_lib_svld_dlopen=yes
       
 10285 else
       
 10286   echo "$as_me: failed program was:" >&5
       
 10287 sed 's/^/| /' conftest.$ac_ext >&5
       
 10288 
       
 10289 	ac_cv_lib_svld_dlopen=no
       
 10290 fi
       
 10291 
       
 10292 rm -f core conftest.err conftest.$ac_objext \
       
 10293       conftest$ac_exeext conftest.$ac_ext
       
 10294 LIBS=$ac_check_lib_save_LIBS
       
 10295 fi
       
 10296 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
       
 10297 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
       
 10298 if test $ac_cv_lib_svld_dlopen = yes; then
       
 10299   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
       
 10300 else
       
 10301   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
       
 10302 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
       
 10303 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
       
 10304   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10305 else
       
 10306   ac_check_lib_save_LIBS=$LIBS
       
 10307 LIBS="-ldld  $LIBS"
       
 10308 cat >conftest.$ac_ext <<_ACEOF
       
 10309 /* confdefs.h.  */
       
 10310 _ACEOF
       
 10311 cat confdefs.h >>conftest.$ac_ext
       
 10312 cat >>conftest.$ac_ext <<_ACEOF
       
 10313 /* end confdefs.h.  */
       
 10314 
       
 10315 /* Override any GCC internal prototype to avoid an error.
       
 10316    Use char because int might match the return type of a GCC
       
 10317    builtin and then its argument prototype would still apply.  */
       
 10318 #ifdef __cplusplus
       
 10319 extern "C"
       
 10320 #endif
       
 10321 char dld_link ();
       
 10322 int
       
 10323 main ()
       
 10324 {
       
 10325 return dld_link ();
       
 10326   ;
       
 10327   return 0;
       
 10328 }
       
 10329 _ACEOF
       
 10330 rm -f conftest.$ac_objext conftest$ac_exeext
       
 10331 if { (ac_try="$ac_link"
       
 10332 case "(($ac_try" in
       
 10333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10334   *) ac_try_echo=$ac_try;;
       
 10335 esac
       
 10336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10337   (eval "$ac_link") 2>conftest.er1
       
 10338   ac_status=$?
       
 10339   grep -v '^ *+' conftest.er1 >conftest.err
       
 10340   rm -f conftest.er1
       
 10341   cat conftest.err >&5
       
 10342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10343   (exit $ac_status); } &&
       
 10344 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 10345   { (case "(($ac_try" in
       
 10346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10347   *) ac_try_echo=$ac_try;;
       
 10348 esac
       
 10349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10350   (eval "$ac_try") 2>&5
       
 10351   ac_status=$?
       
 10352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10353   (exit $ac_status); }; } &&
       
 10354 	 { ac_try='test -s conftest$ac_exeext'
       
 10355   { (case "(($ac_try" in
       
 10356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 10357   *) ac_try_echo=$ac_try;;
       
 10358 esac
       
 10359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 10360   (eval "$ac_try") 2>&5
       
 10361   ac_status=$?
       
 10362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10363   (exit $ac_status); }; }; then
       
 10364   ac_cv_lib_dld_dld_link=yes
       
 10365 else
       
 10366   echo "$as_me: failed program was:" >&5
       
 10367 sed 's/^/| /' conftest.$ac_ext >&5
       
 10368 
       
 10369 	ac_cv_lib_dld_dld_link=no
       
 10370 fi
       
 10371 
       
 10372 rm -f core conftest.err conftest.$ac_objext \
       
 10373       conftest$ac_exeext conftest.$ac_ext
       
 10374 LIBS=$ac_check_lib_save_LIBS
       
 10375 fi
       
 10376 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
       
 10377 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
       
 10378 if test $ac_cv_lib_dld_dld_link = yes; then
       
 10379   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
       
 10380 fi
       
 10381 
       
 10382 
       
 10383 fi
       
 10384 
       
 10385 
       
 10386 fi
       
 10387 
       
 10388 
       
 10389 fi
       
 10390 
       
 10391 
       
 10392 fi
       
 10393 
       
 10394 
       
 10395 fi
       
 10396 
       
 10397     ;;
       
 10398   esac
       
 10399 
       
 10400   if test "x$lt_cv_dlopen" != xno; then
       
 10401     enable_dlopen=yes
       
 10402   else
       
 10403     enable_dlopen=no
       
 10404   fi
       
 10405 
       
 10406   case $lt_cv_dlopen in
       
 10407   dlopen)
       
 10408     save_CPPFLAGS="$CPPFLAGS"
       
 10409     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
       
 10410 
       
 10411     save_LDFLAGS="$LDFLAGS"
       
 10412     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
       
 10413 
       
 10414     save_LIBS="$LIBS"
       
 10415     LIBS="$lt_cv_dlopen_libs $LIBS"
       
 10416 
       
 10417     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
       
 10418 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
       
 10419 if test "${lt_cv_dlopen_self+set}" = set; then
       
 10420   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10421 else
       
 10422   	  if test "$cross_compiling" = yes; then :
       
 10423   lt_cv_dlopen_self=cross
       
 10424 else
       
 10425   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
       
 10426   lt_status=$lt_dlunknown
       
 10427   cat > conftest.$ac_ext <<EOF
       
 10428 #line 10428 "configure"
       
 10429 #include "confdefs.h"
       
 10430 
       
 10431 #if HAVE_DLFCN_H
       
 10432 #include <dlfcn.h>
       
 10433 #endif
       
 10434 
       
 10435 #include <stdio.h>
       
 10436 
       
 10437 #ifdef RTLD_GLOBAL
       
 10438 #  define LT_DLGLOBAL		RTLD_GLOBAL
       
 10439 #else
       
 10440 #  ifdef DL_GLOBAL
       
 10441 #    define LT_DLGLOBAL		DL_GLOBAL
       
 10442 #  else
       
 10443 #    define LT_DLGLOBAL		0
       
 10444 #  endif
       
 10445 #endif
       
 10446 
       
 10447 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
       
 10448    find out it does not work in some platform. */
       
 10449 #ifndef LT_DLLAZY_OR_NOW
       
 10450 #  ifdef RTLD_LAZY
       
 10451 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
       
 10452 #  else
       
 10453 #    ifdef DL_LAZY
       
 10454 #      define LT_DLLAZY_OR_NOW		DL_LAZY
       
 10455 #    else
       
 10456 #      ifdef RTLD_NOW
       
 10457 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
       
 10458 #      else
       
 10459 #        ifdef DL_NOW
       
 10460 #          define LT_DLLAZY_OR_NOW	DL_NOW
       
 10461 #        else
       
 10462 #          define LT_DLLAZY_OR_NOW	0
       
 10463 #        endif
       
 10464 #      endif
       
 10465 #    endif
       
 10466 #  endif
       
 10467 #endif
       
 10468 
       
 10469 #ifdef __cplusplus
       
 10470 extern "C" void exit (int);
       
 10471 #endif
       
 10472 
       
 10473 void fnord() { int i=42;}
       
 10474 int main ()
       
 10475 {
       
 10476   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
       
 10477   int status = $lt_dlunknown;
       
 10478 
       
 10479   if (self)
       
 10480     {
       
 10481       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
       
 10482       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       
 10483       /* dlclose (self); */
       
 10484     }
       
 10485   else
       
 10486     puts (dlerror ());
       
 10487 
       
 10488     exit (status);
       
 10489 }
       
 10490 EOF
       
 10491   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
 10492   (eval $ac_link) 2>&5
       
 10493   ac_status=$?
       
 10494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10495   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       
 10496     (./conftest; exit; ) >&5 2>/dev/null
       
 10497     lt_status=$?
       
 10498     case x$lt_status in
       
 10499       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
       
 10500       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
       
 10501       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
       
 10502     esac
       
 10503   else :
       
 10504     # compilation failed
       
 10505     lt_cv_dlopen_self=no
       
 10506   fi
       
 10507 fi
       
 10508 rm -fr conftest*
       
 10509 
       
 10510 
       
 10511 fi
       
 10512 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
       
 10513 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
       
 10514 
       
 10515     if test "x$lt_cv_dlopen_self" = xyes; then
       
 10516       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       
 10517       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
       
 10518 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
       
 10519 if test "${lt_cv_dlopen_self_static+set}" = set; then
       
 10520   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 10521 else
       
 10522   	  if test "$cross_compiling" = yes; then :
       
 10523   lt_cv_dlopen_self_static=cross
       
 10524 else
       
 10525   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
       
 10526   lt_status=$lt_dlunknown
       
 10527   cat > conftest.$ac_ext <<EOF
       
 10528 #line 10528 "configure"
       
 10529 #include "confdefs.h"
       
 10530 
       
 10531 #if HAVE_DLFCN_H
       
 10532 #include <dlfcn.h>
       
 10533 #endif
       
 10534 
       
 10535 #include <stdio.h>
       
 10536 
       
 10537 #ifdef RTLD_GLOBAL
       
 10538 #  define LT_DLGLOBAL		RTLD_GLOBAL
       
 10539 #else
       
 10540 #  ifdef DL_GLOBAL
       
 10541 #    define LT_DLGLOBAL		DL_GLOBAL
       
 10542 #  else
       
 10543 #    define LT_DLGLOBAL		0
       
 10544 #  endif
       
 10545 #endif
       
 10546 
       
 10547 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
       
 10548    find out it does not work in some platform. */
       
 10549 #ifndef LT_DLLAZY_OR_NOW
       
 10550 #  ifdef RTLD_LAZY
       
 10551 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
       
 10552 #  else
       
 10553 #    ifdef DL_LAZY
       
 10554 #      define LT_DLLAZY_OR_NOW		DL_LAZY
       
 10555 #    else
       
 10556 #      ifdef RTLD_NOW
       
 10557 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
       
 10558 #      else
       
 10559 #        ifdef DL_NOW
       
 10560 #          define LT_DLLAZY_OR_NOW	DL_NOW
       
 10561 #        else
       
 10562 #          define LT_DLLAZY_OR_NOW	0
       
 10563 #        endif
       
 10564 #      endif
       
 10565 #    endif
       
 10566 #  endif
       
 10567 #endif
       
 10568 
       
 10569 #ifdef __cplusplus
       
 10570 extern "C" void exit (int);
       
 10571 #endif
       
 10572 
       
 10573 void fnord() { int i=42;}
       
 10574 int main ()
       
 10575 {
       
 10576   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
       
 10577   int status = $lt_dlunknown;
       
 10578 
       
 10579   if (self)
       
 10580     {
       
 10581       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
       
 10582       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       
 10583       /* dlclose (self); */
       
 10584     }
       
 10585   else
       
 10586     puts (dlerror ());
       
 10587 
       
 10588     exit (status);
       
 10589 }
       
 10590 EOF
       
 10591   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
       
 10592   (eval $ac_link) 2>&5
       
 10593   ac_status=$?
       
 10594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 10595   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       
 10596     (./conftest; exit; ) >&5 2>/dev/null
       
 10597     lt_status=$?
       
 10598     case x$lt_status in
       
 10599       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
       
 10600       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
       
 10601       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
       
 10602     esac
       
 10603   else :
       
 10604     # compilation failed
       
 10605     lt_cv_dlopen_self_static=no
       
 10606   fi
       
 10607 fi
       
 10608 rm -fr conftest*
       
 10609 
       
 10610 
       
 10611 fi
       
 10612 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
       
 10613 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
       
 10614     fi
       
 10615 
       
 10616     CPPFLAGS="$save_CPPFLAGS"
       
 10617     LDFLAGS="$save_LDFLAGS"
       
 10618     LIBS="$save_LIBS"
       
 10619     ;;
       
 10620   esac
       
 10621 
       
 10622   case $lt_cv_dlopen_self in
       
 10623   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
       
 10624   *) enable_dlopen_self=unknown ;;
       
 10625   esac
       
 10626 
       
 10627   case $lt_cv_dlopen_self_static in
       
 10628   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
       
 10629   *) enable_dlopen_self_static=unknown ;;
       
 10630   esac
       
 10631 fi
       
 10632 
       
 10633 
       
 10634 # Report which library types will actually be built
       
 10635 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
       
 10636 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
       
 10637 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
       
 10638 echo "${ECHO_T}$can_build_shared" >&6; }
       
 10639 
       
 10640 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
       
 10641 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
       
 10642 test "$can_build_shared" = "no" && enable_shared=no
       
 10643 
       
 10644 # On AIX, shared libraries and static libraries use the same namespace, and
       
 10645 # are all built from PIC.
       
 10646 case $host_os in
       
 10647 aix3*)
       
 10648   test "$enable_shared" = yes && enable_static=no
       
 10649   if test -n "$RANLIB"; then
       
 10650     archive_cmds="$archive_cmds~\$RANLIB \$lib"
       
 10651     postinstall_cmds='$RANLIB $lib'
       
 10652   fi
       
 10653   ;;
       
 10654 
       
 10655 aix4* | aix5*)
       
 10656   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
       
 10657     test "$enable_shared" = yes && enable_static=no
       
 10658   fi
       
 10659     ;;
       
 10660 esac
       
 10661 { echo "$as_me:$LINENO: result: $enable_shared" >&5
       
 10662 echo "${ECHO_T}$enable_shared" >&6; }
       
 10663 
       
 10664 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
       
 10665 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
       
 10666 # Make sure either enable_shared or enable_static is yes.
       
 10667 test "$enable_shared" = yes || enable_static=yes
       
 10668 { echo "$as_me:$LINENO: result: $enable_static" >&5
       
 10669 echo "${ECHO_T}$enable_static" >&6; }
       
 10670 
       
 10671 # The else clause should only fire when bootstrapping the
       
 10672 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 10673 # with your package, and you will get complaints that there are
       
 10674 # no rules to generate ltmain.sh.
       
 10675 if test -f "$ltmain"; then
       
 10676   # See if we are running on zsh, and set the options which allow our commands through
       
 10677   # without removal of \ escapes.
       
 10678   if test -n "${ZSH_VERSION+set}" ; then
       
 10679     setopt NO_GLOB_SUBST
       
 10680   fi
       
 10681   # Now quote all the things that may contain metacharacters while being
       
 10682   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 10683   # variables and quote the copies for generation of the libtool script.
       
 10684   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 10685     SED SHELL STRIP \
       
 10686     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 10687     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 10688     deplibs_check_method reload_flag reload_cmds need_locks \
       
 10689     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 10690     lt_cv_sys_global_symbol_to_c_name_address \
       
 10691     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 10692     old_postinstall_cmds old_postuninstall_cmds \
       
 10693     compiler \
       
 10694     CC \
       
 10695     LD \
       
 10696     lt_prog_compiler_wl \
       
 10697     lt_prog_compiler_pic \
       
 10698     lt_prog_compiler_static \
       
 10699     lt_prog_compiler_no_builtin_flag \
       
 10700     export_dynamic_flag_spec \
       
 10701     thread_safe_flag_spec \
       
 10702     whole_archive_flag_spec \
       
 10703     enable_shared_with_static_runtimes \
       
 10704     old_archive_cmds \
       
 10705     old_archive_from_new_cmds \
       
 10706     predep_objects \
       
 10707     postdep_objects \
       
 10708     predeps \
       
 10709     postdeps \
       
 10710     compiler_lib_search_path \
       
 10711     archive_cmds \
       
 10712     archive_expsym_cmds \
       
 10713     postinstall_cmds \
       
 10714     postuninstall_cmds \
       
 10715     old_archive_from_expsyms_cmds \
       
 10716     allow_undefined_flag \
       
 10717     no_undefined_flag \
       
 10718     export_symbols_cmds \
       
 10719     hardcode_libdir_flag_spec \
       
 10720     hardcode_libdir_flag_spec_ld \
       
 10721     hardcode_libdir_separator \
       
 10722     hardcode_automatic \
       
 10723     module_cmds \
       
 10724     module_expsym_cmds \
       
 10725     lt_cv_prog_compiler_c_o \
       
 10726     exclude_expsyms \
       
 10727     include_expsyms; do
       
 10728 
       
 10729     case $var in
       
 10730     old_archive_cmds | \
       
 10731     old_archive_from_new_cmds | \
       
 10732     archive_cmds | \
       
 10733     archive_expsym_cmds | \
       
 10734     module_cmds | \
       
 10735     module_expsym_cmds | \
       
 10736     old_archive_from_expsyms_cmds | \
       
 10737     export_symbols_cmds | \
       
 10738     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 10739     postinstall_cmds | postuninstall_cmds | \
       
 10740     old_postinstall_cmds | old_postuninstall_cmds | \
       
 10741     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 10742       # Double-quote double-evaled strings.
       
 10743       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 10744       ;;
       
 10745     *)
       
 10746       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 10747       ;;
       
 10748     esac
       
 10749   done
       
 10750 
       
 10751   case $lt_echo in
       
 10752   *'\$0 --fallback-echo"')
       
 10753     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 10754     ;;
       
 10755   esac
       
 10756 
       
 10757 cfgfile="${ofile}T"
       
 10758   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
       
 10759   $rm -f "$cfgfile"
       
 10760   { echo "$as_me:$LINENO: creating $ofile" >&5
       
 10761 echo "$as_me: creating $ofile" >&6;}
       
 10762 
       
 10763   cat <<__EOF__ >> "$cfgfile"
       
 10764 #! $SHELL
       
 10765 
       
 10766 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
       
 10767 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
       
 10768 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
       
 10769 #
       
 10770 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
       
 10771 # Free Software Foundation, Inc.
       
 10772 #
       
 10773 # This file is part of GNU Libtool:
       
 10774 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
       
 10775 #
       
 10776 # This program is free software; you can redistribute it and/or modify
       
 10777 # it under the terms of the GNU General Public License as published by
       
 10778 # the Free Software Foundation; either version 2 of the License, or
       
 10779 # (at your option) any later version.
       
 10780 #
       
 10781 # This program is distributed in the hope that it will be useful, but
       
 10782 # WITHOUT ANY WARRANTY; without even the implied warranty of
       
 10783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
 10784 # General Public License for more details.
       
 10785 #
       
 10786 # You should have received a copy of the GNU General Public License
       
 10787 # along with this program; if not, write to the Free Software
       
 10788 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       
 10789 #
       
 10790 # As a special exception to the GNU General Public License, if you
       
 10791 # distribute this file as part of a program that contains a
       
 10792 # configuration script generated by Autoconf, you may include it under
       
 10793 # the same distribution terms that you use for the rest of that program.
       
 10794 
       
 10795 # A sed program that does not truncate output.
       
 10796 SED=$lt_SED
       
 10797 
       
 10798 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
       
 10799 Xsed="$SED -e 1s/^X//"
       
 10800 
       
 10801 # The HP-UX ksh and POSIX shell print the target directory to stdout
       
 10802 # if CDPATH is set.
       
 10803 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
       
 10804 
       
 10805 # The names of the tagged configurations supported by this script.
       
 10806 available_tags=
       
 10807 
       
 10808 # ### BEGIN LIBTOOL CONFIG
       
 10809 
       
 10810 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 10811 
       
 10812 # Shell to use when invoking shell scripts.
       
 10813 SHELL=$lt_SHELL
       
 10814 
       
 10815 # Whether or not to build shared libraries.
       
 10816 build_libtool_libs=$enable_shared
       
 10817 
       
 10818 # Whether or not to build static libraries.
       
 10819 build_old_libs=$enable_static
       
 10820 
       
 10821 # Whether or not to add -lc for building shared libraries.
       
 10822 build_libtool_need_lc=$archive_cmds_need_lc
       
 10823 
       
 10824 # Whether or not to disallow shared libs when runtime libs are static
       
 10825 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
       
 10826 
       
 10827 # Whether or not to optimize for fast installation.
       
 10828 fast_install=$enable_fast_install
       
 10829 
       
 10830 # The host system.
       
 10831 host_alias=$host_alias
       
 10832 host=$host
       
 10833 host_os=$host_os
       
 10834 
       
 10835 # The build system.
       
 10836 build_alias=$build_alias
       
 10837 build=$build
       
 10838 build_os=$build_os
       
 10839 
       
 10840 # An echo program that does not interpret backslashes.
       
 10841 echo=$lt_echo
       
 10842 
       
 10843 # The archiver.
       
 10844 AR=$lt_AR
       
 10845 AR_FLAGS=$lt_AR_FLAGS
       
 10846 
       
 10847 # A C compiler.
       
 10848 LTCC=$lt_LTCC
       
 10849 
       
 10850 # LTCC compiler flags.
       
 10851 LTCFLAGS=$lt_LTCFLAGS
       
 10852 
       
 10853 # A language-specific compiler.
       
 10854 CC=$lt_compiler
       
 10855 
       
 10856 # Is the compiler the GNU C compiler?
       
 10857 with_gcc=$GCC
       
 10858 
       
 10859 # An ERE matcher.
       
 10860 EGREP=$lt_EGREP
       
 10861 
       
 10862 # The linker used to build libraries.
       
 10863 LD=$lt_LD
       
 10864 
       
 10865 # Whether we need hard or soft links.
       
 10866 LN_S=$lt_LN_S
       
 10867 
       
 10868 # A BSD-compatible nm program.
       
 10869 NM=$lt_NM
       
 10870 
       
 10871 # A symbol stripping program
       
 10872 STRIP=$lt_STRIP
       
 10873 
       
 10874 # Used to examine libraries when file_magic_cmd begins "file"
       
 10875 MAGIC_CMD=$MAGIC_CMD
       
 10876 
       
 10877 # Used on cygwin: DLL creation program.
       
 10878 DLLTOOL="$DLLTOOL"
       
 10879 
       
 10880 # Used on cygwin: object dumper.
       
 10881 OBJDUMP="$OBJDUMP"
       
 10882 
       
 10883 # Used on cygwin: assembler.
       
 10884 AS="$AS"
       
 10885 
       
 10886 # The name of the directory that contains temporary libtool files.
       
 10887 objdir=$objdir
       
 10888 
       
 10889 # How to create reloadable object files.
       
 10890 reload_flag=$lt_reload_flag
       
 10891 reload_cmds=$lt_reload_cmds
       
 10892 
       
 10893 # How to pass a linker flag through the compiler.
       
 10894 wl=$lt_lt_prog_compiler_wl
       
 10895 
       
 10896 # Object file suffix (normally "o").
       
 10897 objext="$ac_objext"
       
 10898 
       
 10899 # Old archive suffix (normally "a").
       
 10900 libext="$libext"
       
 10901 
       
 10902 # Shared library suffix (normally ".so").
       
 10903 shrext_cmds='$shrext_cmds'
       
 10904 
       
 10905 # Executable file suffix (normally "").
       
 10906 exeext="$exeext"
       
 10907 
       
 10908 # Additional compiler flags for building library objects.
       
 10909 pic_flag=$lt_lt_prog_compiler_pic
       
 10910 pic_mode=$pic_mode
       
 10911 
       
 10912 # What is the maximum length of a command?
       
 10913 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 10914 
       
 10915 # Does compiler simultaneously support -c and -o options?
       
 10916 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
       
 10917 
       
 10918 # Must we lock files when doing compilation?
       
 10919 need_locks=$lt_need_locks
       
 10920 
       
 10921 # Do we need the lib prefix for modules?
       
 10922 need_lib_prefix=$need_lib_prefix
       
 10923 
       
 10924 # Do we need a version for libraries?
       
 10925 need_version=$need_version
       
 10926 
       
 10927 # Whether dlopen is supported.
       
 10928 dlopen_support=$enable_dlopen
       
 10929 
       
 10930 # Whether dlopen of programs is supported.
       
 10931 dlopen_self=$enable_dlopen_self
       
 10932 
       
 10933 # Whether dlopen of statically linked programs is supported.
       
 10934 dlopen_self_static=$enable_dlopen_self_static
       
 10935 
       
 10936 # Compiler flag to prevent dynamic linking.
       
 10937 link_static_flag=$lt_lt_prog_compiler_static
       
 10938 
       
 10939 # Compiler flag to turn off builtin functions.
       
 10940 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
       
 10941 
       
 10942 # Compiler flag to allow reflexive dlopens.
       
 10943 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
       
 10944 
       
 10945 # Compiler flag to generate shared objects directly from archives.
       
 10946 whole_archive_flag_spec=$lt_whole_archive_flag_spec
       
 10947 
       
 10948 # Compiler flag to generate thread-safe objects.
       
 10949 thread_safe_flag_spec=$lt_thread_safe_flag_spec
       
 10950 
       
 10951 # Library versioning type.
       
 10952 version_type=$version_type
       
 10953 
       
 10954 # Format of library name prefix.
       
 10955 libname_spec=$lt_libname_spec
       
 10956 
       
 10957 # List of archive names.  First name is the real one, the rest are links.
       
 10958 # The last name is the one that the linker finds with -lNAME.
       
 10959 library_names_spec=$lt_library_names_spec
       
 10960 
       
 10961 # The coded name of the library, if different from the real name.
       
 10962 soname_spec=$lt_soname_spec
       
 10963 
       
 10964 # Commands used to build and install an old-style archive.
       
 10965 RANLIB=$lt_RANLIB
       
 10966 old_archive_cmds=$lt_old_archive_cmds
       
 10967 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 10968 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 10969 
       
 10970 # Create an old-style archive from a shared archive.
       
 10971 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
       
 10972 
       
 10973 # Create a temporary old-style archive to link instead of a shared archive.
       
 10974 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
       
 10975 
       
 10976 # Commands used to build and install a shared archive.
       
 10977 archive_cmds=$lt_archive_cmds
       
 10978 archive_expsym_cmds=$lt_archive_expsym_cmds
       
 10979 postinstall_cmds=$lt_postinstall_cmds
       
 10980 postuninstall_cmds=$lt_postuninstall_cmds
       
 10981 
       
 10982 # Commands used to build a loadable module (assumed same as above if empty)
       
 10983 module_cmds=$lt_module_cmds
       
 10984 module_expsym_cmds=$lt_module_expsym_cmds
       
 10985 
       
 10986 # Commands to strip libraries.
       
 10987 old_striplib=$lt_old_striplib
       
 10988 striplib=$lt_striplib
       
 10989 
       
 10990 # Dependencies to place before the objects being linked to create a
       
 10991 # shared library.
       
 10992 predep_objects=$lt_predep_objects
       
 10993 
       
 10994 # Dependencies to place after the objects being linked to create a
       
 10995 # shared library.
       
 10996 postdep_objects=$lt_postdep_objects
       
 10997 
       
 10998 # Dependencies to place before the objects being linked to create a
       
 10999 # shared library.
       
 11000 predeps=$lt_predeps
       
 11001 
       
 11002 # Dependencies to place after the objects being linked to create a
       
 11003 # shared library.
       
 11004 postdeps=$lt_postdeps
       
 11005 
       
 11006 # The library search path used internally by the compiler when linking
       
 11007 # a shared library.
       
 11008 compiler_lib_search_path=$lt_compiler_lib_search_path
       
 11009 
       
 11010 # Method to check whether dependent libraries are shared objects.
       
 11011 deplibs_check_method=$lt_deplibs_check_method
       
 11012 
       
 11013 # Command to use when deplibs_check_method == file_magic.
       
 11014 file_magic_cmd=$lt_file_magic_cmd
       
 11015 
       
 11016 # Flag that allows shared libraries with undefined symbols to be built.
       
 11017 allow_undefined_flag=$lt_allow_undefined_flag
       
 11018 
       
 11019 # Flag that forces no undefined symbols.
       
 11020 no_undefined_flag=$lt_no_undefined_flag
       
 11021 
       
 11022 # Commands used to finish a libtool library installation in a directory.
       
 11023 finish_cmds=$lt_finish_cmds
       
 11024 
       
 11025 # Same as above, but a single script fragment to be evaled but not shown.
       
 11026 finish_eval=$lt_finish_eval
       
 11027 
       
 11028 # Take the output of nm and produce a listing of raw symbols and C names.
       
 11029 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 11030 
       
 11031 # Transform the output of nm in a proper C declaration
       
 11032 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 11033 
       
 11034 # Transform the output of nm in a C name address pair
       
 11035 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 11036 
       
 11037 # This is the shared library runtime path variable.
       
 11038 runpath_var=$runpath_var
       
 11039 
       
 11040 # This is the shared library path variable.
       
 11041 shlibpath_var=$shlibpath_var
       
 11042 
       
 11043 # Is shlibpath searched before the hard-coded library search path?
       
 11044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 11045 
       
 11046 # How to hardcode a shared library path into an executable.
       
 11047 hardcode_action=$hardcode_action
       
 11048 
       
 11049 # Whether we should hardcode library paths into libraries.
       
 11050 hardcode_into_libs=$hardcode_into_libs
       
 11051 
       
 11052 # Flag to hardcode \$libdir into a binary during linking.
       
 11053 # This must work even if \$libdir does not exist.
       
 11054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
       
 11055 
       
 11056 # If ld is used when linking, flag to hardcode \$libdir into
       
 11057 # a binary during linking. This must work even if \$libdir does
       
 11058 # not exist.
       
 11059 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
       
 11060 
       
 11061 # Whether we need a single -rpath flag with a separated argument.
       
 11062 hardcode_libdir_separator=$lt_hardcode_libdir_separator
       
 11063 
       
 11064 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 11065 # resulting binary.
       
 11066 hardcode_direct=$hardcode_direct
       
 11067 
       
 11068 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 11069 # resulting binary.
       
 11070 hardcode_minus_L=$hardcode_minus_L
       
 11071 
       
 11072 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 11073 # the resulting binary.
       
 11074 hardcode_shlibpath_var=$hardcode_shlibpath_var
       
 11075 
       
 11076 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 11077 # and all subsequent libraries and executables linked against it.
       
 11078 hardcode_automatic=$hardcode_automatic
       
 11079 
       
 11080 # Variables whose values should be saved in libtool wrapper scripts and
       
 11081 # restored at relink time.
       
 11082 variables_saved_for_relink="$variables_saved_for_relink"
       
 11083 
       
 11084 # Whether libtool must link a program against all its dependency libraries.
       
 11085 link_all_deplibs=$link_all_deplibs
       
 11086 
       
 11087 # Compile-time system search path for libraries
       
 11088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 11089 
       
 11090 # Run-time system search path for libraries
       
 11091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 11092 
       
 11093 # Fix the shell variable \$srcfile for the compiler.
       
 11094 fix_srcfile_path="$fix_srcfile_path"
       
 11095 
       
 11096 # Set to yes if exported symbols are required.
       
 11097 always_export_symbols=$always_export_symbols
       
 11098 
       
 11099 # The commands to list exported symbols.
       
 11100 export_symbols_cmds=$lt_export_symbols_cmds
       
 11101 
       
 11102 # The commands to extract the exported symbol list from a shared archive.
       
 11103 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 11104 
       
 11105 # Symbols that should not be listed in the preloaded symbols.
       
 11106 exclude_expsyms=$lt_exclude_expsyms
       
 11107 
       
 11108 # Symbols that must always be exported.
       
 11109 include_expsyms=$lt_include_expsyms
       
 11110 
       
 11111 # ### END LIBTOOL CONFIG
       
 11112 
       
 11113 __EOF__
       
 11114 
       
 11115 
       
 11116   case $host_os in
       
 11117   aix3*)
       
 11118     cat <<\EOF >> "$cfgfile"
       
 11119 
       
 11120 # AIX sometimes has problems with the GCC collect2 program.  For some
       
 11121 # reason, if we set the COLLECT_NAMES environment variable, the problems
       
 11122 # vanish in a puff of smoke.
       
 11123 if test "X${COLLECT_NAMES+set}" != Xset; then
       
 11124   COLLECT_NAMES=
       
 11125   export COLLECT_NAMES
       
 11126 fi
       
 11127 EOF
       
 11128     ;;
       
 11129   esac
       
 11130 
       
 11131   # We use sed instead of cat because bash on DJGPP gets confused if
       
 11132   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
       
 11133   # text mode, it properly converts lines to CR/LF.  This bash problem
       
 11134   # is reportedly fixed, but why not run on old versions too?
       
 11135   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
       
 11136 
       
 11137   mv -f "$cfgfile" "$ofile" || \
       
 11138     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
       
 11139   chmod +x "$ofile"
       
 11140 
       
 11141 else
       
 11142   # If there is no Makefile yet, we rely on a make rule to execute
       
 11143   # `config.status --recheck' to rerun these tests and create the
       
 11144   # libtool script then.
       
 11145   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 11146   if test -f "$ltmain_in"; then
       
 11147     test -f Makefile && make "$ltmain"
       
 11148   fi
       
 11149 fi
       
 11150 
       
 11151 
       
 11152 ac_ext=c
       
 11153 ac_cpp='$CPP $CPPFLAGS'
       
 11154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 11155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 11156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
 11157 
       
 11158 CC="$lt_save_CC"
       
 11159 
       
 11160 
       
 11161 # Check whether --with-tags was given.
       
 11162 if test "${with_tags+set}" = set; then
       
 11163   withval=$with_tags; tagnames="$withval"
       
 11164 fi
       
 11165 
       
 11166 
       
 11167 if test -f "$ltmain" && test -n "$tagnames"; then
       
 11168   if test ! -f "${ofile}"; then
       
 11169     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
       
 11170 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
       
 11171   fi
       
 11172 
       
 11173   if test -z "$LTCC"; then
       
 11174     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
       
 11175     if test -z "$LTCC"; then
       
 11176       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
       
 11177 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
       
 11178     else
       
 11179       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
       
 11180 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
       
 11181     fi
       
 11182   fi
       
 11183   if test -z "$LTCFLAGS"; then
       
 11184     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
       
 11185   fi
       
 11186 
       
 11187   # Extract list of available tagged configurations in $ofile.
       
 11188   # Note that this assumes the entire list is on one line.
       
 11189   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
       
 11190 
       
 11191   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       
 11192   for tagname in $tagnames; do
       
 11193     IFS="$lt_save_ifs"
       
 11194     # Check whether tagname contains only valid characters
       
 11195     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
       
 11196     "") ;;
       
 11197     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
       
 11198 echo "$as_me: error: invalid tag name: $tagname" >&2;}
       
 11199    { (exit 1); exit 1; }; }
       
 11200 	;;
       
 11201     esac
       
 11202 
       
 11203     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
       
 11204     then
       
 11205       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
       
 11206 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
       
 11207    { (exit 1); exit 1; }; }
       
 11208     fi
       
 11209 
       
 11210     # Update the list of available tags.
       
 11211     if test -n "$tagname"; then
       
 11212       echo appending configuration tag \"$tagname\" to $ofile
       
 11213 
       
 11214       case $tagname in
       
 11215       CXX)
       
 11216 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
       
 11217 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
       
 11218 	    (test "X$CXX" != "Xg++"))) ; then
       
 11219 	  ac_ext=cpp
       
 11220 ac_cpp='$CXXCPP $CPPFLAGS'
       
 11221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 11222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 11223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       
 11224 
       
 11225 
       
 11226 
       
 11227 
       
 11228 archive_cmds_need_lc_CXX=no
       
 11229 allow_undefined_flag_CXX=
       
 11230 always_export_symbols_CXX=no
       
 11231 archive_expsym_cmds_CXX=
       
 11232 export_dynamic_flag_spec_CXX=
       
 11233 hardcode_direct_CXX=no
       
 11234 hardcode_libdir_flag_spec_CXX=
       
 11235 hardcode_libdir_flag_spec_ld_CXX=
       
 11236 hardcode_libdir_separator_CXX=
       
 11237 hardcode_minus_L_CXX=no
       
 11238 hardcode_shlibpath_var_CXX=unsupported
       
 11239 hardcode_automatic_CXX=no
       
 11240 module_cmds_CXX=
       
 11241 module_expsym_cmds_CXX=
       
 11242 link_all_deplibs_CXX=unknown
       
 11243 old_archive_cmds_CXX=$old_archive_cmds
       
 11244 no_undefined_flag_CXX=
       
 11245 whole_archive_flag_spec_CXX=
       
 11246 enable_shared_with_static_runtimes_CXX=no
       
 11247 
       
 11248 # Dependencies to place before and after the object being linked:
       
 11249 predep_objects_CXX=
       
 11250 postdep_objects_CXX=
       
 11251 predeps_CXX=
       
 11252 postdeps_CXX=
       
 11253 compiler_lib_search_path_CXX=
       
 11254 
       
 11255 # Source file extension for C++ test sources.
       
 11256 ac_ext=cpp
       
 11257 
       
 11258 # Object file extension for compiled C++ test sources.
       
 11259 objext=o
       
 11260 objext_CXX=$objext
       
 11261 
       
 11262 # Code to be used in simple compile tests
       
 11263 lt_simple_compile_test_code="int some_variable = 0;\n"
       
 11264 
       
 11265 # Code to be used in simple link tests
       
 11266 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
       
 11267 
       
 11268 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 11269 
       
 11270 # If no C compiler was specified, use CC.
       
 11271 LTCC=${LTCC-"$CC"}
       
 11272 
       
 11273 # If no C compiler flags were specified, use CFLAGS.
       
 11274 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 11275 
       
 11276 # Allow CC to be a program name with arguments.
       
 11277 compiler=$CC
       
 11278 
       
 11279 
       
 11280 # save warnings/boilerplate of simple test code
       
 11281 ac_outfile=conftest.$ac_objext
       
 11282 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 11283 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 11284 _lt_compiler_boilerplate=`cat conftest.err`
       
 11285 $rm conftest*
       
 11286 
       
 11287 ac_outfile=conftest.$ac_objext
       
 11288 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 11289 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 11290 _lt_linker_boilerplate=`cat conftest.err`
       
 11291 $rm conftest*
       
 11292 
       
 11293 
       
 11294 # Allow CC to be a program name with arguments.
       
 11295 lt_save_CC=$CC
       
 11296 lt_save_LD=$LD
       
 11297 lt_save_GCC=$GCC
       
 11298 GCC=$GXX
       
 11299 lt_save_with_gnu_ld=$with_gnu_ld
       
 11300 lt_save_path_LD=$lt_cv_path_LD
       
 11301 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
       
 11302   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
       
 11303 else
       
 11304   $as_unset lt_cv_prog_gnu_ld
       
 11305 fi
       
 11306 if test -n "${lt_cv_path_LDCXX+set}"; then
       
 11307   lt_cv_path_LD=$lt_cv_path_LDCXX
       
 11308 else
       
 11309   $as_unset lt_cv_path_LD
       
 11310 fi
       
 11311 test -z "${LDCXX+set}" || LD=$LDCXX
       
 11312 CC=${CXX-"c++"}
       
 11313 compiler=$CC
       
 11314 compiler_CXX=$CC
       
 11315 for cc_temp in $compiler""; do
       
 11316   case $cc_temp in
       
 11317     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 11318     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 11319     \-*) ;;
       
 11320     *) break;;
       
 11321   esac
       
 11322 done
       
 11323 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 11324 
       
 11325 
       
 11326 # We don't want -fno-exception wen compiling C++ code, so set the
       
 11327 # no_builtin_flag separately
       
 11328 if test "$GXX" = yes; then
       
 11329   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
       
 11330 else
       
 11331   lt_prog_compiler_no_builtin_flag_CXX=
       
 11332 fi
       
 11333 
       
 11334 if test "$GXX" = yes; then
       
 11335   # Set up default GNU C++ configuration
       
 11336 
       
 11337 
       
 11338 # Check whether --with-gnu-ld was given.
       
 11339 if test "${with_gnu_ld+set}" = set; then
       
 11340   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
       
 11341 else
       
 11342   with_gnu_ld=no
       
 11343 fi
       
 11344 
       
 11345 ac_prog=ld
       
 11346 if test "$GCC" = yes; then
       
 11347   # Check if gcc -print-prog-name=ld gives a path.
       
 11348   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
       
 11349 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
       
 11350   case $host in
       
 11351   *-*-mingw*)
       
 11352     # gcc leaves a trailing carriage return which upsets mingw
       
 11353     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
       
 11354   *)
       
 11355     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
       
 11356   esac
       
 11357   case $ac_prog in
       
 11358     # Accept absolute paths.
       
 11359     [\\/]* | ?:[\\/]*)
       
 11360       re_direlt='/[^/][^/]*/\.\./'
       
 11361       # Canonicalize the pathname of ld
       
 11362       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
       
 11363       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
       
 11364 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
       
 11365       done
       
 11366       test -z "$LD" && LD="$ac_prog"
       
 11367       ;;
       
 11368   "")
       
 11369     # If it fails, then pretend we aren't using GCC.
       
 11370     ac_prog=ld
       
 11371     ;;
       
 11372   *)
       
 11373     # If it is relative, then search for the first ld in PATH.
       
 11374     with_gnu_ld=unknown
       
 11375     ;;
       
 11376   esac
       
 11377 elif test "$with_gnu_ld" = yes; then
       
 11378   { echo "$as_me:$LINENO: checking for GNU ld" >&5
       
 11379 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
       
 11380 else
       
 11381   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
       
 11382 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
       
 11383 fi
       
 11384 if test "${lt_cv_path_LD+set}" = set; then
       
 11385   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11386 else
       
 11387   if test -z "$LD"; then
       
 11388   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
       
 11389   for ac_dir in $PATH; do
       
 11390     IFS="$lt_save_ifs"
       
 11391     test -z "$ac_dir" && ac_dir=.
       
 11392     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       
 11393       lt_cv_path_LD="$ac_dir/$ac_prog"
       
 11394       # Check to see if the program is GNU ld.  I'd rather use --version,
       
 11395       # but apparently some variants of GNU ld only accept -v.
       
 11396       # Break only if it was the GNU/non-GNU ld that we prefer.
       
 11397       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       
 11398       *GNU* | *'with BFD'*)
       
 11399 	test "$with_gnu_ld" != no && break
       
 11400 	;;
       
 11401       *)
       
 11402 	test "$with_gnu_ld" != yes && break
       
 11403 	;;
       
 11404       esac
       
 11405     fi
       
 11406   done
       
 11407   IFS="$lt_save_ifs"
       
 11408 else
       
 11409   lt_cv_path_LD="$LD" # Let the user override the test with a path.
       
 11410 fi
       
 11411 fi
       
 11412 
       
 11413 LD="$lt_cv_path_LD"
       
 11414 if test -n "$LD"; then
       
 11415   { echo "$as_me:$LINENO: result: $LD" >&5
       
 11416 echo "${ECHO_T}$LD" >&6; }
       
 11417 else
       
 11418   { echo "$as_me:$LINENO: result: no" >&5
       
 11419 echo "${ECHO_T}no" >&6; }
       
 11420 fi
       
 11421 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
       
 11422 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
       
 11423    { (exit 1); exit 1; }; }
       
 11424 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
       
 11425 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
       
 11426 if test "${lt_cv_prog_gnu_ld+set}" = set; then
       
 11427   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 11428 else
       
 11429   # I'd rather use --version here, but apparently some GNU lds only accept -v.
       
 11430 case `$LD -v 2>&1 </dev/null` in
       
 11431 *GNU* | *'with BFD'*)
       
 11432   lt_cv_prog_gnu_ld=yes
       
 11433   ;;
       
 11434 *)
       
 11435   lt_cv_prog_gnu_ld=no
       
 11436   ;;
       
 11437 esac
       
 11438 fi
       
 11439 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
       
 11440 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
       
 11441 with_gnu_ld=$lt_cv_prog_gnu_ld
       
 11442 
       
 11443 
       
 11444 
       
 11445   # Check if GNU C++ uses GNU ld as the underlying linker, since the
       
 11446   # archiving commands below assume that GNU ld is being used.
       
 11447   if test "$with_gnu_ld" = yes; then
       
 11448     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11449     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'
       
 11450 
       
 11451     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
       
 11452     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 11453 
       
 11454     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 11455     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
       
 11456     #     investigate it a little bit more. (MM)
       
 11457     wlarc='${wl}'
       
 11458 
       
 11459     # ancient GNU ld didn't support --whole-archive et. al.
       
 11460     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
       
 11461 	grep 'no-whole-archive' > /dev/null; then
       
 11462       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 11463     else
       
 11464       whole_archive_flag_spec_CXX=
       
 11465     fi
       
 11466   else
       
 11467     with_gnu_ld=no
       
 11468     wlarc=
       
 11469 
       
 11470     # A generic and very simple default shared library creation
       
 11471     # command for GNU C++ for the case where it uses the native
       
 11472     # linker, instead of GNU ld.  If possible, this setting should
       
 11473     # overridden to take advantage of the native linker features on
       
 11474     # the platform it is being used on.
       
 11475     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       
 11476   fi
       
 11477 
       
 11478   # Commands to make compiler produce verbose output that lists
       
 11479   # what "hidden" libraries, object files and flags are used when
       
 11480   # linking a shared library.
       
 11481   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 11482 
       
 11483 else
       
 11484   GXX=no
       
 11485   with_gnu_ld=no
       
 11486   wlarc=
       
 11487 fi
       
 11488 
       
 11489 # PORTME: fill in a description of your system's C++ link characteristics
       
 11490 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 11491 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 11492 ld_shlibs_CXX=yes
       
 11493 case $host_os in
       
 11494   aix3*)
       
 11495     # FIXME: insert proper C++ library support
       
 11496     ld_shlibs_CXX=no
       
 11497     ;;
       
 11498   aix4* | aix5*)
       
 11499     if test "$host_cpu" = ia64; then
       
 11500       # On IA64, the linker does run time linking by default, so we don't
       
 11501       # have to do anything special.
       
 11502       aix_use_runtimelinking=no
       
 11503       exp_sym_flag='-Bexport'
       
 11504       no_entry_flag=""
       
 11505     else
       
 11506       aix_use_runtimelinking=no
       
 11507 
       
 11508       # Test if we are trying to use run time linking or normal
       
 11509       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 11510       # need to do runtime linking.
       
 11511       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 11512 	for ld_flag in $LDFLAGS; do
       
 11513 	  case $ld_flag in
       
 11514 	  *-brtl*)
       
 11515 	    aix_use_runtimelinking=yes
       
 11516 	    break
       
 11517 	    ;;
       
 11518 	  esac
       
 11519 	done
       
 11520 	;;
       
 11521       esac
       
 11522 
       
 11523       exp_sym_flag='-bexport'
       
 11524       no_entry_flag='-bnoentry'
       
 11525     fi
       
 11526 
       
 11527     # When large executables or shared objects are built, AIX ld can
       
 11528     # have problems creating the table of contents.  If linking a library
       
 11529     # or program results in "error TOC overflow" add -mminimal-toc to
       
 11530     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 11531     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 11532 
       
 11533     archive_cmds_CXX=''
       
 11534     hardcode_direct_CXX=yes
       
 11535     hardcode_libdir_separator_CXX=':'
       
 11536     link_all_deplibs_CXX=yes
       
 11537 
       
 11538     if test "$GXX" = yes; then
       
 11539       case $host_os in aix4.[012]|aix4.[012].*)
       
 11540       # We only want to do this on AIX 4.2 and lower, the check
       
 11541       # below for broken collect2 doesn't work under 4.3+
       
 11542 	collect2name=`${CC} -print-prog-name=collect2`
       
 11543 	if test -f "$collect2name" && \
       
 11544 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 11545 	then
       
 11546 	  # We have reworked collect2
       
 11547 	  hardcode_direct_CXX=yes
       
 11548 	else
       
 11549 	  # We have old collect2
       
 11550 	  hardcode_direct_CXX=unsupported
       
 11551 	  # It fails to find uninstalled libraries when the uninstalled
       
 11552 	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 11553 	  # to unsupported forces relinking
       
 11554 	  hardcode_minus_L_CXX=yes
       
 11555 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
       
 11556 	  hardcode_libdir_separator_CXX=
       
 11557 	fi
       
 11558 	;;
       
 11559       esac
       
 11560       shared_flag='-shared'
       
 11561       if test "$aix_use_runtimelinking" = yes; then
       
 11562 	shared_flag="$shared_flag "'${wl}-G'
       
 11563       fi
       
 11564     else
       
 11565       # not using gcc
       
 11566       if test "$host_cpu" = ia64; then
       
 11567 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 11568 	# chokes on -Wl,-G. The following line is correct:
       
 11569 	shared_flag='-G'
       
 11570       else
       
 11571 	if test "$aix_use_runtimelinking" = yes; then
       
 11572 	  shared_flag='${wl}-G'
       
 11573 	else
       
 11574 	  shared_flag='${wl}-bM:SRE'
       
 11575 	fi
       
 11576       fi
       
 11577     fi
       
 11578 
       
 11579     # It seems that -bexpall does not export symbols beginning with
       
 11580     # underscore (_), so it is better to generate a list of symbols to export.
       
 11581     always_export_symbols_CXX=yes
       
 11582     if test "$aix_use_runtimelinking" = yes; then
       
 11583       # Warning - without using the other runtime loading flags (-brtl),
       
 11584       # -berok will link without error, but may produce a broken library.
       
 11585       allow_undefined_flag_CXX='-berok'
       
 11586       # Determine the default libpath from the value encoded in an empty executable.
       
 11587       cat >conftest.$ac_ext <<_ACEOF
       
 11588 /* confdefs.h.  */
       
 11589 _ACEOF
       
 11590 cat confdefs.h >>conftest.$ac_ext
       
 11591 cat >>conftest.$ac_ext <<_ACEOF
       
 11592 /* end confdefs.h.  */
       
 11593 
       
 11594 int
       
 11595 main ()
       
 11596 {
       
 11597 
       
 11598   ;
       
 11599   return 0;
       
 11600 }
       
 11601 _ACEOF
       
 11602 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11603 if { (ac_try="$ac_link"
       
 11604 case "(($ac_try" in
       
 11605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11606   *) ac_try_echo=$ac_try;;
       
 11607 esac
       
 11608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11609   (eval "$ac_link") 2>conftest.er1
       
 11610   ac_status=$?
       
 11611   grep -v '^ *+' conftest.er1 >conftest.err
       
 11612   rm -f conftest.er1
       
 11613   cat conftest.err >&5
       
 11614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11615   (exit $ac_status); } &&
       
 11616 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 11617   { (case "(($ac_try" in
       
 11618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11619   *) ac_try_echo=$ac_try;;
       
 11620 esac
       
 11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11622   (eval "$ac_try") 2>&5
       
 11623   ac_status=$?
       
 11624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11625   (exit $ac_status); }; } &&
       
 11626 	 { ac_try='test -s conftest$ac_exeext'
       
 11627   { (case "(($ac_try" in
       
 11628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11629   *) ac_try_echo=$ac_try;;
       
 11630 esac
       
 11631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11632   (eval "$ac_try") 2>&5
       
 11633   ac_status=$?
       
 11634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11635   (exit $ac_status); }; }; then
       
 11636 
       
 11637 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11638 }'`
       
 11639 # Check for a 64-bit object if we didn't find anything.
       
 11640 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; }
       
 11641 }'`; fi
       
 11642 else
       
 11643   echo "$as_me: failed program was:" >&5
       
 11644 sed 's/^/| /' conftest.$ac_ext >&5
       
 11645 
       
 11646 
       
 11647 fi
       
 11648 
       
 11649 rm -f core conftest.err conftest.$ac_objext \
       
 11650       conftest$ac_exeext conftest.$ac_ext
       
 11651 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 11652 
       
 11653       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 11654 
       
 11655       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"
       
 11656      else
       
 11657       if test "$host_cpu" = ia64; then
       
 11658 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
       
 11659 	allow_undefined_flag_CXX="-z nodefs"
       
 11660 	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"
       
 11661       else
       
 11662 	# Determine the default libpath from the value encoded in an empty executable.
       
 11663 	cat >conftest.$ac_ext <<_ACEOF
       
 11664 /* confdefs.h.  */
       
 11665 _ACEOF
       
 11666 cat confdefs.h >>conftest.$ac_ext
       
 11667 cat >>conftest.$ac_ext <<_ACEOF
       
 11668 /* end confdefs.h.  */
       
 11669 
       
 11670 int
       
 11671 main ()
       
 11672 {
       
 11673 
       
 11674   ;
       
 11675   return 0;
       
 11676 }
       
 11677 _ACEOF
       
 11678 rm -f conftest.$ac_objext conftest$ac_exeext
       
 11679 if { (ac_try="$ac_link"
       
 11680 case "(($ac_try" in
       
 11681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11682   *) ac_try_echo=$ac_try;;
       
 11683 esac
       
 11684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11685   (eval "$ac_link") 2>conftest.er1
       
 11686   ac_status=$?
       
 11687   grep -v '^ *+' conftest.er1 >conftest.err
       
 11688   rm -f conftest.er1
       
 11689   cat conftest.err >&5
       
 11690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11691   (exit $ac_status); } &&
       
 11692 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
       
 11693   { (case "(($ac_try" in
       
 11694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11695   *) ac_try_echo=$ac_try;;
       
 11696 esac
       
 11697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11698   (eval "$ac_try") 2>&5
       
 11699   ac_status=$?
       
 11700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11701   (exit $ac_status); }; } &&
       
 11702 	 { ac_try='test -s conftest$ac_exeext'
       
 11703   { (case "(($ac_try" in
       
 11704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 11705   *) ac_try_echo=$ac_try;;
       
 11706 esac
       
 11707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 11708   (eval "$ac_try") 2>&5
       
 11709   ac_status=$?
       
 11710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 11711   (exit $ac_status); }; }; then
       
 11712 
       
 11713 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 11714 }'`
       
 11715 # Check for a 64-bit object if we didn't find anything.
       
 11716 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; }
       
 11717 }'`; fi
       
 11718 else
       
 11719   echo "$as_me: failed program was:" >&5
       
 11720 sed 's/^/| /' conftest.$ac_ext >&5
       
 11721 
       
 11722 
       
 11723 fi
       
 11724 
       
 11725 rm -f core conftest.err conftest.$ac_objext \
       
 11726       conftest$ac_exeext conftest.$ac_ext
       
 11727 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 11728 
       
 11729 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 11730 	# Warning - without using the other run time loading flags,
       
 11731 	# -berok will link without error, but may produce a broken library.
       
 11732 	no_undefined_flag_CXX=' ${wl}-bernotok'
       
 11733 	allow_undefined_flag_CXX=' ${wl}-berok'
       
 11734 	# Exported symbols can be pulled into shared objects from archives
       
 11735 	whole_archive_flag_spec_CXX='$convenience'
       
 11736 	archive_cmds_need_lc_CXX=yes
       
 11737 	# This is similar to how AIX traditionally builds its shared libraries.
       
 11738 	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'
       
 11739       fi
       
 11740     fi
       
 11741     ;;
       
 11742 
       
 11743   beos*)
       
 11744     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 11745       allow_undefined_flag_CXX=unsupported
       
 11746       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 11747       # support --undefined.  This deserves some investigation.  FIXME
       
 11748       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 11749     else
       
 11750       ld_shlibs_CXX=no
       
 11751     fi
       
 11752     ;;
       
 11753 
       
 11754   chorus*)
       
 11755     case $cc_basename in
       
 11756       *)
       
 11757 	# FIXME: insert proper C++ library support
       
 11758 	ld_shlibs_CXX=no
       
 11759 	;;
       
 11760     esac
       
 11761     ;;
       
 11762 
       
 11763   cygwin* | mingw* | pw32*)
       
 11764     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
       
 11765     # as there is no search path for DLLs.
       
 11766     hardcode_libdir_flag_spec_CXX='-L$libdir'
       
 11767     allow_undefined_flag_CXX=unsupported
       
 11768     always_export_symbols_CXX=no
       
 11769     enable_shared_with_static_runtimes_CXX=yes
       
 11770 
       
 11771     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 11772       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'
       
 11773       # If the export-symbols file already is a .def file (1st line
       
 11774       # is EXPORTS), use it as is; otherwise, prepend...
       
 11775       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 11776 	cp $export_symbols $output_objdir/$soname.def;
       
 11777       else
       
 11778 	echo EXPORTS > $output_objdir/$soname.def;
       
 11779 	cat $export_symbols >> $output_objdir/$soname.def;
       
 11780       fi~
       
 11781       $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'
       
 11782     else
       
 11783       ld_shlibs_CXX=no
       
 11784     fi
       
 11785   ;;
       
 11786       darwin* | rhapsody*)
       
 11787         case $host_os in
       
 11788         rhapsody* | darwin1.[012])
       
 11789          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
       
 11790          ;;
       
 11791        *) # Darwin 1.3 on
       
 11792          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 11793            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 11794          else
       
 11795            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 11796              10.[012])
       
 11797                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 11798                ;;
       
 11799              10.*)
       
 11800                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
       
 11801                ;;
       
 11802            esac
       
 11803          fi
       
 11804          ;;
       
 11805         esac
       
 11806       archive_cmds_need_lc_CXX=no
       
 11807       hardcode_direct_CXX=no
       
 11808       hardcode_automatic_CXX=yes
       
 11809       hardcode_shlibpath_var_CXX=unsupported
       
 11810       whole_archive_flag_spec_CXX=''
       
 11811       link_all_deplibs_CXX=yes
       
 11812 
       
 11813     if test "$GXX" = yes ; then
       
 11814       lt_int_apple_cc_single_mod=no
       
 11815       output_verbose_link_cmd='echo'
       
 11816       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
       
 11817        lt_int_apple_cc_single_mod=yes
       
 11818       fi
       
 11819       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
       
 11820        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 11821       else
       
 11822           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'
       
 11823         fi
       
 11824         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 11825         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 11826           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
       
 11827             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}'
       
 11828           else
       
 11829             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}'
       
 11830           fi
       
 11831             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
       
 11832       else
       
 11833       case $cc_basename in
       
 11834         xlc*)
       
 11835          output_verbose_link_cmd='echo'
       
 11836           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'
       
 11837           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 11838           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 11839           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}'
       
 11840           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}'
       
 11841           ;;
       
 11842        *)
       
 11843          ld_shlibs_CXX=no
       
 11844           ;;
       
 11845       esac
       
 11846       fi
       
 11847         ;;
       
 11848 
       
 11849   dgux*)
       
 11850     case $cc_basename in
       
 11851       ec++*)
       
 11852 	# FIXME: insert proper C++ library support
       
 11853 	ld_shlibs_CXX=no
       
 11854 	;;
       
 11855       ghcx*)
       
 11856 	# Green Hills C++ Compiler
       
 11857 	# FIXME: insert proper C++ library support
       
 11858 	ld_shlibs_CXX=no
       
 11859 	;;
       
 11860       *)
       
 11861 	# FIXME: insert proper C++ library support
       
 11862 	ld_shlibs_CXX=no
       
 11863 	;;
       
 11864     esac
       
 11865     ;;
       
 11866   freebsd[12]*)
       
 11867     # C++ shared libraries reported to be fairly broken before switch to ELF
       
 11868     ld_shlibs_CXX=no
       
 11869     ;;
       
 11870   freebsd-elf*)
       
 11871     archive_cmds_need_lc_CXX=no
       
 11872     ;;
       
 11873   freebsd* | kfreebsd*-gnu | dragonfly*)
       
 11874     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
       
 11875     # conventions
       
 11876     ld_shlibs_CXX=yes
       
 11877     ;;
       
 11878   gnu*)
       
 11879     ;;
       
 11880   hpux9*)
       
 11881     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
       
 11882     hardcode_libdir_separator_CXX=:
       
 11883     export_dynamic_flag_spec_CXX='${wl}-E'
       
 11884     hardcode_direct_CXX=yes
       
 11885     hardcode_minus_L_CXX=yes # Not in the search PATH,
       
 11886 				# but as the default
       
 11887 				# location of the library.
       
 11888 
       
 11889     case $cc_basename in
       
 11890     CC*)
       
 11891       # FIXME: insert proper C++ library support
       
 11892       ld_shlibs_CXX=no
       
 11893       ;;
       
 11894     aCC*)
       
 11895       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'
       
 11896       # Commands to make compiler produce verbose output that lists
       
 11897       # what "hidden" libraries, object files and flags are used when
       
 11898       # linking a shared library.
       
 11899       #
       
 11900       # There doesn't appear to be a way to prevent this compiler from
       
 11901       # explicitly linking system object files so we need to strip them
       
 11902       # from the output so that they don't get included in the library
       
 11903       # dependencies.
       
 11904       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'
       
 11905       ;;
       
 11906     *)
       
 11907       if test "$GXX" = yes; then
       
 11908         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'
       
 11909       else
       
 11910         # FIXME: insert proper C++ library support
       
 11911         ld_shlibs_CXX=no
       
 11912       fi
       
 11913       ;;
       
 11914     esac
       
 11915     ;;
       
 11916   hpux10*|hpux11*)
       
 11917     if test $with_gnu_ld = no; then
       
 11918       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
       
 11919       hardcode_libdir_separator_CXX=:
       
 11920 
       
 11921       case $host_cpu in
       
 11922       hppa*64*|ia64*)
       
 11923 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
       
 11924         ;;
       
 11925       *)
       
 11926 	export_dynamic_flag_spec_CXX='${wl}-E'
       
 11927         ;;
       
 11928       esac
       
 11929     fi
       
 11930     case $host_cpu in
       
 11931     hppa*64*|ia64*)
       
 11932       hardcode_direct_CXX=no
       
 11933       hardcode_shlibpath_var_CXX=no
       
 11934       ;;
       
 11935     *)
       
 11936       hardcode_direct_CXX=yes
       
 11937       hardcode_minus_L_CXX=yes # Not in the search PATH,
       
 11938 					      # but as the default
       
 11939 					      # location of the library.
       
 11940       ;;
       
 11941     esac
       
 11942 
       
 11943     case $cc_basename in
       
 11944       CC*)
       
 11945 	# FIXME: insert proper C++ library support
       
 11946 	ld_shlibs_CXX=no
       
 11947 	;;
       
 11948       aCC*)
       
 11949 	case $host_cpu in
       
 11950 	hppa*64*)
       
 11951 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11952 	  ;;
       
 11953 	ia64*)
       
 11954 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11955 	  ;;
       
 11956 	*)
       
 11957 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11958 	  ;;
       
 11959 	esac
       
 11960 	# Commands to make compiler produce verbose output that lists
       
 11961 	# what "hidden" libraries, object files and flags are used when
       
 11962 	# linking a shared library.
       
 11963 	#
       
 11964 	# There doesn't appear to be a way to prevent this compiler from
       
 11965 	# explicitly linking system object files so we need to strip them
       
 11966 	# from the output so that they don't get included in the library
       
 11967 	# dependencies.
       
 11968 	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'
       
 11969 	;;
       
 11970       *)
       
 11971 	if test "$GXX" = yes; then
       
 11972 	  if test $with_gnu_ld = no; then
       
 11973 	    case $host_cpu in
       
 11974 	    hppa*64*)
       
 11975 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11976 	      ;;
       
 11977 	    ia64*)
       
 11978 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 11979 	      ;;
       
 11980 	    *)
       
 11981 	      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'
       
 11982 	      ;;
       
 11983 	    esac
       
 11984 	  fi
       
 11985 	else
       
 11986 	  # FIXME: insert proper C++ library support
       
 11987 	  ld_shlibs_CXX=no
       
 11988 	fi
       
 11989 	;;
       
 11990     esac
       
 11991     ;;
       
 11992   interix3*)
       
 11993     hardcode_direct_CXX=no
       
 11994     hardcode_shlibpath_var_CXX=no
       
 11995     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 11996     export_dynamic_flag_spec_CXX='${wl}-E'
       
 11997     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 11998     # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 11999     # default) and relocated if they conflict, which is a slow very memory
       
 12000     # consuming and fragmenting process.  To avoid this, we pick a random,
       
 12001     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 12002     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 12003     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'
       
 12004     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'
       
 12005     ;;
       
 12006   irix5* | irix6*)
       
 12007     case $cc_basename in
       
 12008       CC*)
       
 12009 	# SGI C++
       
 12010 	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'
       
 12011 
       
 12012 	# Archives containing C++ object files must be created using
       
 12013 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
       
 12014 	# necessary to make sure instantiated templates are included
       
 12015 	# in the archive.
       
 12016 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
       
 12017 	;;
       
 12018       *)
       
 12019 	if test "$GXX" = yes; then
       
 12020 	  if test "$with_gnu_ld" = no; then
       
 12021 	    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'
       
 12022 	  else
       
 12023 	    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'
       
 12024 	  fi
       
 12025 	fi
       
 12026 	link_all_deplibs_CXX=yes
       
 12027 	;;
       
 12028     esac
       
 12029     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 12030     hardcode_libdir_separator_CXX=:
       
 12031     ;;
       
 12032   linux*)
       
 12033     case $cc_basename in
       
 12034       KCC*)
       
 12035 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 12036 
       
 12037 	# KCC will only create a shared library if the output file
       
 12038 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 12039 	# to its proper name (with version) after linking.
       
 12040 	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'
       
 12041 	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'
       
 12042 	# Commands to make compiler produce verbose output that lists
       
 12043 	# what "hidden" libraries, object files and flags are used when
       
 12044 	# linking a shared library.
       
 12045 	#
       
 12046 	# There doesn't appear to be a way to prevent this compiler from
       
 12047 	# explicitly linking system object files so we need to strip them
       
 12048 	# from the output so that they don't get included in the library
       
 12049 	# dependencies.
       
 12050 	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'
       
 12051 
       
 12052 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
       
 12053 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 12054 
       
 12055 	# Archives containing C++ object files must be created using
       
 12056 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
       
 12057 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
       
 12058 	;;
       
 12059       icpc*)
       
 12060 	# Intel C++
       
 12061 	with_gnu_ld=yes
       
 12062 	# version 8.0 and above of icpc choke on multiply defined symbols
       
 12063 	# if we add $predep_objects and $postdep_objects, however 7.1 and
       
 12064 	# earlier do not add the objects themselves.
       
 12065 	case `$CC -V 2>&1` in
       
 12066 	*"Version 7."*)
       
 12067   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 12068   	  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'
       
 12069 	  ;;
       
 12070 	*)  # Version 8.0 or newer
       
 12071 	  tmp_idyn=
       
 12072 	  case $host_cpu in
       
 12073 	    ia64*) tmp_idyn=' -i_dynamic';;
       
 12074 	  esac
       
 12075   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 12076 	  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'
       
 12077 	  ;;
       
 12078 	esac
       
 12079 	archive_cmds_need_lc_CXX=no
       
 12080 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 12081 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 12082 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
       
 12083 	;;
       
 12084       pgCC*)
       
 12085         # Portland Group C++ compiler
       
 12086 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
       
 12087   	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'
       
 12088 
       
 12089 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
       
 12090 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
       
 12091 	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'
       
 12092         ;;
       
 12093       cxx*)
       
 12094 	# Compaq C++
       
 12095 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 12096 	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'
       
 12097 
       
 12098 	runpath_var=LD_RUN_PATH
       
 12099 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
       
 12100 	hardcode_libdir_separator_CXX=:
       
 12101 
       
 12102 	# Commands to make compiler produce verbose output that lists
       
 12103 	# what "hidden" libraries, object files and flags are used when
       
 12104 	# linking a shared library.
       
 12105 	#
       
 12106 	# There doesn't appear to be a way to prevent this compiler from
       
 12107 	# explicitly linking system object files so we need to strip them
       
 12108 	# from the output so that they don't get included in the library
       
 12109 	# dependencies.
       
 12110 	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'
       
 12111 	;;
       
 12112     esac
       
 12113     ;;
       
 12114   lynxos*)
       
 12115     # FIXME: insert proper C++ library support
       
 12116     ld_shlibs_CXX=no
       
 12117     ;;
       
 12118   m88k*)
       
 12119     # FIXME: insert proper C++ library support
       
 12120     ld_shlibs_CXX=no
       
 12121     ;;
       
 12122   mvs*)
       
 12123     case $cc_basename in
       
 12124       cxx*)
       
 12125 	# FIXME: insert proper C++ library support
       
 12126 	ld_shlibs_CXX=no
       
 12127 	;;
       
 12128       *)
       
 12129 	# FIXME: insert proper C++ library support
       
 12130 	ld_shlibs_CXX=no
       
 12131 	;;
       
 12132     esac
       
 12133     ;;
       
 12134   netbsd*)
       
 12135     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 12136       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
       
 12137       wlarc=
       
 12138       hardcode_libdir_flag_spec_CXX='-R$libdir'
       
 12139       hardcode_direct_CXX=yes
       
 12140       hardcode_shlibpath_var_CXX=no
       
 12141     fi
       
 12142     # Workaround some broken pre-1.5 toolchains
       
 12143     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
       
 12144     ;;
       
 12145   openbsd2*)
       
 12146     # C++ shared libraries are fairly broken
       
 12147     ld_shlibs_CXX=no
       
 12148     ;;
       
 12149   openbsd*)
       
 12150     hardcode_direct_CXX=yes
       
 12151     hardcode_shlibpath_var_CXX=no
       
 12152     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       
 12153     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 12154     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 12155       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
       
 12156       export_dynamic_flag_spec_CXX='${wl}-E'
       
 12157       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 12158     fi
       
 12159     output_verbose_link_cmd='echo'
       
 12160     ;;
       
 12161   osf3*)
       
 12162     case $cc_basename in
       
 12163       KCC*)
       
 12164 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 12165 
       
 12166 	# KCC will only create a shared library if the output file
       
 12167 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 12168 	# to its proper name (with version) after linking.
       
 12169 	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'
       
 12170 
       
 12171 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 12172 	hardcode_libdir_separator_CXX=:
       
 12173 
       
 12174 	# Archives containing C++ object files must be created using
       
 12175 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
       
 12176 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
       
 12177 
       
 12178 	;;
       
 12179       RCC*)
       
 12180 	# Rational C++ 2.4.1
       
 12181 	# FIXME: insert proper C++ library support
       
 12182 	ld_shlibs_CXX=no
       
 12183 	;;
       
 12184       cxx*)
       
 12185 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 12186 	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'
       
 12187 
       
 12188 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 12189 	hardcode_libdir_separator_CXX=:
       
 12190 
       
 12191 	# Commands to make compiler produce verbose output that lists
       
 12192 	# what "hidden" libraries, object files and flags are used when
       
 12193 	# linking a shared library.
       
 12194 	#
       
 12195 	# There doesn't appear to be a way to prevent this compiler from
       
 12196 	# explicitly linking system object files so we need to strip them
       
 12197 	# from the output so that they don't get included in the library
       
 12198 	# dependencies.
       
 12199 	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'
       
 12200 	;;
       
 12201       *)
       
 12202 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 12203 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 12204 	  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'
       
 12205 
       
 12206 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 12207 	  hardcode_libdir_separator_CXX=:
       
 12208 
       
 12209 	  # Commands to make compiler produce verbose output that lists
       
 12210 	  # what "hidden" libraries, object files and flags are used when
       
 12211 	  # linking a shared library.
       
 12212 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 12213 
       
 12214 	else
       
 12215 	  # FIXME: insert proper C++ library support
       
 12216 	  ld_shlibs_CXX=no
       
 12217 	fi
       
 12218 	;;
       
 12219     esac
       
 12220     ;;
       
 12221   osf4* | osf5*)
       
 12222     case $cc_basename in
       
 12223       KCC*)
       
 12224 	# Kuck and Associates, Inc. (KAI) C++ Compiler
       
 12225 
       
 12226 	# KCC will only create a shared library if the output file
       
 12227 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
       
 12228 	# to its proper name (with version) after linking.
       
 12229 	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'
       
 12230 
       
 12231 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       
 12232 	hardcode_libdir_separator_CXX=:
       
 12233 
       
 12234 	# Archives containing C++ object files must be created using
       
 12235 	# the KAI C++ compiler.
       
 12236 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
       
 12237 	;;
       
 12238       RCC*)
       
 12239 	# Rational C++ 2.4.1
       
 12240 	# FIXME: insert proper C++ library support
       
 12241 	ld_shlibs_CXX=no
       
 12242 	;;
       
 12243       cxx*)
       
 12244 	allow_undefined_flag_CXX=' -expect_unresolved \*'
       
 12245 	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'
       
 12246 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
       
 12247 	  echo "-hidden">> $lib.exp~
       
 12248 	  $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~
       
 12249 	  $rm $lib.exp'
       
 12250 
       
 12251 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
       
 12252 	hardcode_libdir_separator_CXX=:
       
 12253 
       
 12254 	# Commands to make compiler produce verbose output that lists
       
 12255 	# what "hidden" libraries, object files and flags are used when
       
 12256 	# linking a shared library.
       
 12257 	#
       
 12258 	# There doesn't appear to be a way to prevent this compiler from
       
 12259 	# explicitly linking system object files so we need to strip them
       
 12260 	# from the output so that they don't get included in the library
       
 12261 	# dependencies.
       
 12262 	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'
       
 12263 	;;
       
 12264       *)
       
 12265 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 12266 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
       
 12267 	 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'
       
 12268 
       
 12269 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       
 12270 	  hardcode_libdir_separator_CXX=:
       
 12271 
       
 12272 	  # Commands to make compiler produce verbose output that lists
       
 12273 	  # what "hidden" libraries, object files and flags are used when
       
 12274 	  # linking a shared library.
       
 12275 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
       
 12276 
       
 12277 	else
       
 12278 	  # FIXME: insert proper C++ library support
       
 12279 	  ld_shlibs_CXX=no
       
 12280 	fi
       
 12281 	;;
       
 12282     esac
       
 12283     ;;
       
 12284   psos*)
       
 12285     # FIXME: insert proper C++ library support
       
 12286     ld_shlibs_CXX=no
       
 12287     ;;
       
 12288   sunos4*)
       
 12289     case $cc_basename in
       
 12290       CC*)
       
 12291 	# Sun C++ 4.x
       
 12292 	# FIXME: insert proper C++ library support
       
 12293 	ld_shlibs_CXX=no
       
 12294 	;;
       
 12295       lcc*)
       
 12296 	# Lucid
       
 12297 	# FIXME: insert proper C++ library support
       
 12298 	ld_shlibs_CXX=no
       
 12299 	;;
       
 12300       *)
       
 12301 	# FIXME: insert proper C++ library support
       
 12302 	ld_shlibs_CXX=no
       
 12303 	;;
       
 12304     esac
       
 12305     ;;
       
 12306   solaris*)
       
 12307     case $cc_basename in
       
 12308       CC*)
       
 12309 	# Sun C++ 4.2, 5.x and Centerline C++
       
 12310         archive_cmds_need_lc_CXX=yes
       
 12311 	no_undefined_flag_CXX=' -zdefs'
       
 12312 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
       
 12313 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12314 	$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'
       
 12315 
       
 12316 	hardcode_libdir_flag_spec_CXX='-R$libdir'
       
 12317 	hardcode_shlibpath_var_CXX=no
       
 12318 	case $host_os in
       
 12319 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 12320 	  *)
       
 12321 	    # The C++ compiler is used as linker so we must use $wl
       
 12322 	    # flag to pass the commands to the underlying system
       
 12323 	    # linker. We must also pass each convience library through
       
 12324 	    # to the system linker between allextract/defaultextract.
       
 12325 	    # The C++ compiler will combine linker options so we
       
 12326 	    # cannot just pass the convience library names through
       
 12327 	    # without $wl.
       
 12328 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
       
 12329 	    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'
       
 12330 	    ;;
       
 12331 	esac
       
 12332 	link_all_deplibs_CXX=yes
       
 12333 
       
 12334 	output_verbose_link_cmd='echo'
       
 12335 
       
 12336 	# Archives containing C++ object files must be created using
       
 12337 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
       
 12338 	# necessary to make sure instantiated templates are included
       
 12339 	# in the archive.
       
 12340 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
       
 12341 	;;
       
 12342       gcx*)
       
 12343 	# Green Hills C++ Compiler
       
 12344 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12345 
       
 12346 	# The C++ compiler must be used to create the archive.
       
 12347 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
       
 12348 	;;
       
 12349       *)
       
 12350 	# GNU C++ compiler with Solaris linker
       
 12351 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
       
 12352 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
       
 12353 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
       
 12354 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12355 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12356 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
       
 12357 
       
 12358 	    # Commands to make compiler produce verbose output that lists
       
 12359 	    # what "hidden" libraries, object files and flags are used when
       
 12360 	    # linking a shared library.
       
 12361 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
       
 12362 	  else
       
 12363 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
       
 12364 	    # platform.
       
 12365 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
       
 12366 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 12367 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
       
 12368 
       
 12369 	    # Commands to make compiler produce verbose output that lists
       
 12370 	    # what "hidden" libraries, object files and flags are used when
       
 12371 	    # linking a shared library.
       
 12372 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
       
 12373 	  fi
       
 12374 
       
 12375 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
       
 12376 	fi
       
 12377 	;;
       
 12378     esac
       
 12379     ;;
       
 12380   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
       
 12381     no_undefined_flag_CXX='${wl}-z,text'
       
 12382     archive_cmds_need_lc_CXX=no
       
 12383     hardcode_shlibpath_var_CXX=no
       
 12384     runpath_var='LD_RUN_PATH'
       
 12385 
       
 12386     case $cc_basename in
       
 12387       CC*)
       
 12388 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12389 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12390 	;;
       
 12391       *)
       
 12392 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12393 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12394 	;;
       
 12395     esac
       
 12396     ;;
       
 12397   sysv5* | sco3.2v5* | sco5v6*)
       
 12398     # Note: We can NOT use -z defs as we might desire, because we do not
       
 12399     # link with -lc, and that would cause any symbols used from libc to
       
 12400     # always be unresolved, which means just about no library would
       
 12401     # ever link correctly.  If we're not using GNU ld we use -z text
       
 12402     # though, which does catch some bad symbols but isn't as heavy-handed
       
 12403     # as -z defs.
       
 12404     # For security reasons, it is highly recommended that you always
       
 12405     # use absolute paths for naming shared libraries, and exclude the
       
 12406     # DT_RUNPATH tag from executables and libraries.  But doing so
       
 12407     # requires that you compile everything twice, which is a pain.
       
 12408     # So that behaviour is only enabled if SCOABSPATH is set to a
       
 12409     # non-empty value in the environment.  Most likely only useful for
       
 12410     # creating official distributions of packages.
       
 12411     # This is a hack until libtool officially supports absolute path
       
 12412     # names for shared libraries.
       
 12413     no_undefined_flag_CXX='${wl}-z,text'
       
 12414     allow_undefined_flag_CXX='${wl}-z,nodefs'
       
 12415     archive_cmds_need_lc_CXX=no
       
 12416     hardcode_shlibpath_var_CXX=no
       
 12417     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 12418     hardcode_libdir_separator_CXX=':'
       
 12419     link_all_deplibs_CXX=yes
       
 12420     export_dynamic_flag_spec_CXX='${wl}-Bexport'
       
 12421     runpath_var='LD_RUN_PATH'
       
 12422 
       
 12423     case $cc_basename in
       
 12424       CC*)
       
 12425 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12426 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12427 	;;
       
 12428       *)
       
 12429 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12430 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 12431 	;;
       
 12432     esac
       
 12433     ;;
       
 12434   tandem*)
       
 12435     case $cc_basename in
       
 12436       NCC*)
       
 12437 	# NonStop-UX NCC 3.20
       
 12438 	# FIXME: insert proper C++ library support
       
 12439 	ld_shlibs_CXX=no
       
 12440 	;;
       
 12441       *)
       
 12442 	# FIXME: insert proper C++ library support
       
 12443 	ld_shlibs_CXX=no
       
 12444 	;;
       
 12445     esac
       
 12446     ;;
       
 12447   vxworks*)
       
 12448     # FIXME: insert proper C++ library support
       
 12449     ld_shlibs_CXX=no
       
 12450     ;;
       
 12451   *)
       
 12452     # FIXME: insert proper C++ library support
       
 12453     ld_shlibs_CXX=no
       
 12454     ;;
       
 12455 esac
       
 12456 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
       
 12457 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
       
 12458 test "$ld_shlibs_CXX" = no && can_build_shared=no
       
 12459 
       
 12460 GCC_CXX="$GXX"
       
 12461 LD_CXX="$LD"
       
 12462 
       
 12463 
       
 12464 cat > conftest.$ac_ext <<EOF
       
 12465 class Foo
       
 12466 {
       
 12467 public:
       
 12468   Foo (void) { a = 0; }
       
 12469 private:
       
 12470   int a;
       
 12471 };
       
 12472 EOF
       
 12473 
       
 12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 12475   (eval $ac_compile) 2>&5
       
 12476   ac_status=$?
       
 12477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 12478   (exit $ac_status); }; then
       
 12479   # Parse the compiler output and extract the necessary
       
 12480   # objects, libraries and library flags.
       
 12481 
       
 12482   # Sentinel used to keep track of whether or not we are before
       
 12483   # the conftest object file.
       
 12484   pre_test_object_deps_done=no
       
 12485 
       
 12486   # The `*' in the case matches for architectures that use `case' in
       
 12487   # $output_verbose_cmd can trigger glob expansion during the loop
       
 12488   # eval without this substitution.
       
 12489   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
       
 12490 
       
 12491   for p in `eval $output_verbose_link_cmd`; do
       
 12492     case $p in
       
 12493 
       
 12494     -L* | -R* | -l*)
       
 12495        # Some compilers place space between "-{L,R}" and the path.
       
 12496        # Remove the space.
       
 12497        if test $p = "-L" \
       
 12498 	  || test $p = "-R"; then
       
 12499 	 prev=$p
       
 12500 	 continue
       
 12501        else
       
 12502 	 prev=
       
 12503        fi
       
 12504 
       
 12505        if test "$pre_test_object_deps_done" = no; then
       
 12506 	 case $p in
       
 12507 	 -L* | -R*)
       
 12508 	   # Internal compiler library paths should come after those
       
 12509 	   # provided the user.  The postdeps already come after the
       
 12510 	   # user supplied libs so there is no need to process them.
       
 12511 	   if test -z "$compiler_lib_search_path_CXX"; then
       
 12512 	     compiler_lib_search_path_CXX="${prev}${p}"
       
 12513 	   else
       
 12514 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
       
 12515 	   fi
       
 12516 	   ;;
       
 12517 	 # The "-l" case would never come before the object being
       
 12518 	 # linked, so don't bother handling this case.
       
 12519 	 esac
       
 12520        else
       
 12521 	 if test -z "$postdeps_CXX"; then
       
 12522 	   postdeps_CXX="${prev}${p}"
       
 12523 	 else
       
 12524 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
       
 12525 	 fi
       
 12526        fi
       
 12527        ;;
       
 12528 
       
 12529     *.$objext)
       
 12530        # This assumes that the test object file only shows up
       
 12531        # once in the compiler output.
       
 12532        if test "$p" = "conftest.$objext"; then
       
 12533 	 pre_test_object_deps_done=yes
       
 12534 	 continue
       
 12535        fi
       
 12536 
       
 12537        if test "$pre_test_object_deps_done" = no; then
       
 12538 	 if test -z "$predep_objects_CXX"; then
       
 12539 	   predep_objects_CXX="$p"
       
 12540 	 else
       
 12541 	   predep_objects_CXX="$predep_objects_CXX $p"
       
 12542 	 fi
       
 12543        else
       
 12544 	 if test -z "$postdep_objects_CXX"; then
       
 12545 	   postdep_objects_CXX="$p"
       
 12546 	 else
       
 12547 	   postdep_objects_CXX="$postdep_objects_CXX $p"
       
 12548 	 fi
       
 12549        fi
       
 12550        ;;
       
 12551 
       
 12552     *) ;; # Ignore the rest.
       
 12553 
       
 12554     esac
       
 12555   done
       
 12556 
       
 12557   # Clean up.
       
 12558   rm -f a.out a.exe
       
 12559 else
       
 12560   echo "libtool.m4: error: problem compiling CXX test program"
       
 12561 fi
       
 12562 
       
 12563 $rm -f confest.$objext
       
 12564 
       
 12565 # PORTME: override above test on systems where it is broken
       
 12566 case $host_os in
       
 12567 interix3*)
       
 12568   # Interix 3.5 installs completely hosed .la files for C++, so rather than
       
 12569   # hack all around it, let's just trust "g++" to DTRT.
       
 12570   predep_objects_CXX=
       
 12571   postdep_objects_CXX=
       
 12572   postdeps_CXX=
       
 12573   ;;
       
 12574 
       
 12575 solaris*)
       
 12576   case $cc_basename in
       
 12577   CC*)
       
 12578     # Adding this requires a known-good setup of shared libraries for
       
 12579     # Sun compiler versions before 5.6, else PIC objects from an old
       
 12580     # archive will be linked into the output, leading to subtle bugs.
       
 12581     postdeps_CXX='-lCstd -lCrun'
       
 12582     ;;
       
 12583   esac
       
 12584   ;;
       
 12585 esac
       
 12586 
       
 12587 
       
 12588 case " $postdeps_CXX " in
       
 12589 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
       
 12590 esac
       
 12591 
       
 12592 lt_prog_compiler_wl_CXX=
       
 12593 lt_prog_compiler_pic_CXX=
       
 12594 lt_prog_compiler_static_CXX=
       
 12595 
       
 12596 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 12597 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 12598 
       
 12599   # C++ specific cases for pic, static, wl, etc.
       
 12600   if test "$GXX" = yes; then
       
 12601     lt_prog_compiler_wl_CXX='-Wl,'
       
 12602     lt_prog_compiler_static_CXX='-static'
       
 12603 
       
 12604     case $host_os in
       
 12605     aix*)
       
 12606       # All AIX code is PIC.
       
 12607       if test "$host_cpu" = ia64; then
       
 12608 	# AIX 5 now supports IA64 processor
       
 12609 	lt_prog_compiler_static_CXX='-Bstatic'
       
 12610       fi
       
 12611       ;;
       
 12612     amigaos*)
       
 12613       # FIXME: we need at least 68020 code to build shared libraries, but
       
 12614       # adding the `-m68020' flag to GCC prevents building anything better,
       
 12615       # like `-m68040'.
       
 12616       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
       
 12617       ;;
       
 12618     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 12619       # PIC is the default for these OSes.
       
 12620       ;;
       
 12621     mingw* | os2* | pw32*)
       
 12622       # This hack is so that the source file can tell whether it is being
       
 12623       # built for inclusion in a dll (and should export symbols for example).
       
 12624       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
       
 12625       ;;
       
 12626     darwin* | rhapsody*)
       
 12627       # PIC is the default on this platform
       
 12628       # Common symbols not allowed in MH_DYLIB files
       
 12629       lt_prog_compiler_pic_CXX='-fno-common'
       
 12630       ;;
       
 12631     *djgpp*)
       
 12632       # DJGPP does not support shared libraries at all
       
 12633       lt_prog_compiler_pic_CXX=
       
 12634       ;;
       
 12635     interix3*)
       
 12636       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 12637       # Instead, we relocate shared libraries at runtime.
       
 12638       ;;
       
 12639     sysv4*MP*)
       
 12640       if test -d /usr/nec; then
       
 12641 	lt_prog_compiler_pic_CXX=-Kconform_pic
       
 12642       fi
       
 12643       ;;
       
 12644     hpux*)
       
 12645       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 12646       # not for PA HP-UX.
       
 12647       case $host_cpu in
       
 12648       hppa*64*|ia64*)
       
 12649 	;;
       
 12650       *)
       
 12651 	lt_prog_compiler_pic_CXX='-fPIC'
       
 12652 	;;
       
 12653       esac
       
 12654       ;;
       
 12655     *)
       
 12656       lt_prog_compiler_pic_CXX='-fPIC'
       
 12657       ;;
       
 12658     esac
       
 12659   else
       
 12660     case $host_os in
       
 12661       aix4* | aix5*)
       
 12662 	# All AIX code is PIC.
       
 12663 	if test "$host_cpu" = ia64; then
       
 12664 	  # AIX 5 now supports IA64 processor
       
 12665 	  lt_prog_compiler_static_CXX='-Bstatic'
       
 12666 	else
       
 12667 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
       
 12668 	fi
       
 12669 	;;
       
 12670       chorus*)
       
 12671 	case $cc_basename in
       
 12672 	cxch68*)
       
 12673 	  # Green Hills C++ Compiler
       
 12674 	  # _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"
       
 12675 	  ;;
       
 12676 	esac
       
 12677 	;;
       
 12678        darwin*)
       
 12679          # PIC is the default on this platform
       
 12680          # Common symbols not allowed in MH_DYLIB files
       
 12681          case $cc_basename in
       
 12682            xlc*)
       
 12683            lt_prog_compiler_pic_CXX='-qnocommon'
       
 12684            lt_prog_compiler_wl_CXX='-Wl,'
       
 12685            ;;
       
 12686          esac
       
 12687        ;;
       
 12688       dgux*)
       
 12689 	case $cc_basename in
       
 12690 	  ec++*)
       
 12691 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12692 	    ;;
       
 12693 	  ghcx*)
       
 12694 	    # Green Hills C++ Compiler
       
 12695 	    lt_prog_compiler_pic_CXX='-pic'
       
 12696 	    ;;
       
 12697 	  *)
       
 12698 	    ;;
       
 12699 	esac
       
 12700 	;;
       
 12701       freebsd* | kfreebsd*-gnu | dragonfly*)
       
 12702 	# FreeBSD uses GNU C++
       
 12703 	;;
       
 12704       hpux9* | hpux10* | hpux11*)
       
 12705 	case $cc_basename in
       
 12706 	  CC*)
       
 12707 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12708 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
       
 12709 	    if test "$host_cpu" != ia64; then
       
 12710 	      lt_prog_compiler_pic_CXX='+Z'
       
 12711 	    fi
       
 12712 	    ;;
       
 12713 	  aCC*)
       
 12714 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12715 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
       
 12716 	    case $host_cpu in
       
 12717 	    hppa*64*|ia64*)
       
 12718 	      # +Z the default
       
 12719 	      ;;
       
 12720 	    *)
       
 12721 	      lt_prog_compiler_pic_CXX='+Z'
       
 12722 	      ;;
       
 12723 	    esac
       
 12724 	    ;;
       
 12725 	  *)
       
 12726 	    ;;
       
 12727 	esac
       
 12728 	;;
       
 12729       interix*)
       
 12730 	# This is c89, which is MS Visual C++ (no shared libs)
       
 12731 	# Anyone wants to do a port?
       
 12732 	;;
       
 12733       irix5* | irix6* | nonstopux*)
       
 12734 	case $cc_basename in
       
 12735 	  CC*)
       
 12736 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12737 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12738 	    # CC pic flag -KPIC is the default.
       
 12739 	    ;;
       
 12740 	  *)
       
 12741 	    ;;
       
 12742 	esac
       
 12743 	;;
       
 12744       linux*)
       
 12745 	case $cc_basename in
       
 12746 	  KCC*)
       
 12747 	    # KAI C++ Compiler
       
 12748 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
       
 12749 	    lt_prog_compiler_pic_CXX='-fPIC'
       
 12750 	    ;;
       
 12751 	  icpc* | ecpc*)
       
 12752 	    # Intel C++
       
 12753 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12754 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12755 	    lt_prog_compiler_static_CXX='-static'
       
 12756 	    ;;
       
 12757 	  pgCC*)
       
 12758 	    # Portland Group C++ compiler.
       
 12759 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12760 	    lt_prog_compiler_pic_CXX='-fpic'
       
 12761 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12762 	    ;;
       
 12763 	  cxx*)
       
 12764 	    # Compaq C++
       
 12765 	    # Make sure the PIC flag is empty.  It appears that all Alpha
       
 12766 	    # Linux and Compaq Tru64 Unix objects are PIC.
       
 12767 	    lt_prog_compiler_pic_CXX=
       
 12768 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12769 	    ;;
       
 12770 	  *)
       
 12771 	    ;;
       
 12772 	esac
       
 12773 	;;
       
 12774       lynxos*)
       
 12775 	;;
       
 12776       m88k*)
       
 12777 	;;
       
 12778       mvs*)
       
 12779 	case $cc_basename in
       
 12780 	  cxx*)
       
 12781 	    lt_prog_compiler_pic_CXX='-W c,exportall'
       
 12782 	    ;;
       
 12783 	  *)
       
 12784 	    ;;
       
 12785 	esac
       
 12786 	;;
       
 12787       netbsd*)
       
 12788 	;;
       
 12789       osf3* | osf4* | osf5*)
       
 12790 	case $cc_basename in
       
 12791 	  KCC*)
       
 12792 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
       
 12793 	    ;;
       
 12794 	  RCC*)
       
 12795 	    # Rational C++ 2.4.1
       
 12796 	    lt_prog_compiler_pic_CXX='-pic'
       
 12797 	    ;;
       
 12798 	  cxx*)
       
 12799 	    # Digital/Compaq C++
       
 12800 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12801 	    # Make sure the PIC flag is empty.  It appears that all Alpha
       
 12802 	    # Linux and Compaq Tru64 Unix objects are PIC.
       
 12803 	    lt_prog_compiler_pic_CXX=
       
 12804 	    lt_prog_compiler_static_CXX='-non_shared'
       
 12805 	    ;;
       
 12806 	  *)
       
 12807 	    ;;
       
 12808 	esac
       
 12809 	;;
       
 12810       psos*)
       
 12811 	;;
       
 12812       solaris*)
       
 12813 	case $cc_basename in
       
 12814 	  CC*)
       
 12815 	    # Sun C++ 4.2, 5.x and Centerline C++
       
 12816 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12817 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12818 	    lt_prog_compiler_wl_CXX='-Qoption ld '
       
 12819 	    ;;
       
 12820 	  gcx*)
       
 12821 	    # Green Hills C++ Compiler
       
 12822 	    lt_prog_compiler_pic_CXX='-PIC'
       
 12823 	    ;;
       
 12824 	  *)
       
 12825 	    ;;
       
 12826 	esac
       
 12827 	;;
       
 12828       sunos4*)
       
 12829 	case $cc_basename in
       
 12830 	  CC*)
       
 12831 	    # Sun C++ 4.x
       
 12832 	    lt_prog_compiler_pic_CXX='-pic'
       
 12833 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12834 	    ;;
       
 12835 	  lcc*)
       
 12836 	    # Lucid
       
 12837 	    lt_prog_compiler_pic_CXX='-pic'
       
 12838 	    ;;
       
 12839 	  *)
       
 12840 	    ;;
       
 12841 	esac
       
 12842 	;;
       
 12843       tandem*)
       
 12844 	case $cc_basename in
       
 12845 	  NCC*)
       
 12846 	    # NonStop-UX NCC 3.20
       
 12847 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12848 	    ;;
       
 12849 	  *)
       
 12850 	    ;;
       
 12851 	esac
       
 12852 	;;
       
 12853       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 12854 	case $cc_basename in
       
 12855 	  CC*)
       
 12856 	    lt_prog_compiler_wl_CXX='-Wl,'
       
 12857 	    lt_prog_compiler_pic_CXX='-KPIC'
       
 12858 	    lt_prog_compiler_static_CXX='-Bstatic'
       
 12859 	    ;;
       
 12860 	esac
       
 12861 	;;
       
 12862       vxworks*)
       
 12863 	;;
       
 12864       *)
       
 12865 	lt_prog_compiler_can_build_shared_CXX=no
       
 12866 	;;
       
 12867     esac
       
 12868   fi
       
 12869 
       
 12870 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
       
 12871 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
       
 12872 
       
 12873 #
       
 12874 # Check to make sure the PIC flag actually works.
       
 12875 #
       
 12876 if test -n "$lt_prog_compiler_pic_CXX"; then
       
 12877 
       
 12878 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
       
 12879 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
       
 12880 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
       
 12881   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12882 else
       
 12883   lt_prog_compiler_pic_works_CXX=no
       
 12884   ac_outfile=conftest.$ac_objext
       
 12885    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 12886    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
       
 12887    # Insert the option either (1) after the last *FLAGS variable, or
       
 12888    # (2) before a word containing "conftest.", or (3) at the end.
       
 12889    # Note that $ac_compile itself does not contain backslashes and begins
       
 12890    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 12891    # The option is referenced via a variable to avoid confusing sed.
       
 12892    lt_compile=`echo "$ac_compile" | $SED \
       
 12893    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 12894    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 12895    -e 's:$: $lt_compiler_flag:'`
       
 12896    (eval echo "\"\$as_me:12896: $lt_compile\"" >&5)
       
 12897    (eval "$lt_compile" 2>conftest.err)
       
 12898    ac_status=$?
       
 12899    cat conftest.err >&5
       
 12900    echo "$as_me:12900: \$? = $ac_status" >&5
       
 12901    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 12902      # The compiler can only warn and ignore the option if not recognized
       
 12903      # So say no if there are warnings other than the usual output.
       
 12904      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 12905      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 12906      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 12907        lt_prog_compiler_pic_works_CXX=yes
       
 12908      fi
       
 12909    fi
       
 12910    $rm conftest*
       
 12911 
       
 12912 fi
       
 12913 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
       
 12914 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
       
 12915 
       
 12916 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
       
 12917     case $lt_prog_compiler_pic_CXX in
       
 12918      "" | " "*) ;;
       
 12919      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
       
 12920      esac
       
 12921 else
       
 12922     lt_prog_compiler_pic_CXX=
       
 12923      lt_prog_compiler_can_build_shared_CXX=no
       
 12924 fi
       
 12925 
       
 12926 fi
       
 12927 case $host_os in
       
 12928   # For platforms which do not support PIC, -DPIC is meaningless:
       
 12929   *djgpp*)
       
 12930     lt_prog_compiler_pic_CXX=
       
 12931     ;;
       
 12932   *)
       
 12933     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
       
 12934     ;;
       
 12935 esac
       
 12936 
       
 12937 #
       
 12938 # Check to make sure the static flag actually works.
       
 12939 #
       
 12940 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
       
 12941 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 12942 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 12943 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
       
 12944   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12945 else
       
 12946   lt_prog_compiler_static_works_CXX=no
       
 12947    save_LDFLAGS="$LDFLAGS"
       
 12948    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 12949    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 12950    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 12951      # The linker can only warn and ignore the option if not recognized
       
 12952      # So say no if there are warnings
       
 12953      if test -s conftest.err; then
       
 12954        # Append any errors to the config.log.
       
 12955        cat conftest.err 1>&5
       
 12956        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 12957        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 12958        if diff conftest.exp conftest.er2 >/dev/null; then
       
 12959          lt_prog_compiler_static_works_CXX=yes
       
 12960        fi
       
 12961      else
       
 12962        lt_prog_compiler_static_works_CXX=yes
       
 12963      fi
       
 12964    fi
       
 12965    $rm conftest*
       
 12966    LDFLAGS="$save_LDFLAGS"
       
 12967 
       
 12968 fi
       
 12969 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
       
 12970 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
       
 12971 
       
 12972 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
       
 12973     :
       
 12974 else
       
 12975     lt_prog_compiler_static_CXX=
       
 12976 fi
       
 12977 
       
 12978 
       
 12979 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 12980 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 12981 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
       
 12982   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 12983 else
       
 12984   lt_cv_prog_compiler_c_o_CXX=no
       
 12985    $rm -r conftest 2>/dev/null
       
 12986    mkdir conftest
       
 12987    cd conftest
       
 12988    mkdir out
       
 12989    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 12990 
       
 12991    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 12992    # Insert the option either (1) after the last *FLAGS variable, or
       
 12993    # (2) before a word containing "conftest.", or (3) at the end.
       
 12994    # Note that $ac_compile itself does not contain backslashes and begins
       
 12995    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 12996    lt_compile=`echo "$ac_compile" | $SED \
       
 12997    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 12998    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 12999    -e 's:$: $lt_compiler_flag:'`
       
 13000    (eval echo "\"\$as_me:13000: $lt_compile\"" >&5)
       
 13001    (eval "$lt_compile" 2>out/conftest.err)
       
 13002    ac_status=$?
       
 13003    cat out/conftest.err >&5
       
 13004    echo "$as_me:13004: \$? = $ac_status" >&5
       
 13005    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 13006    then
       
 13007      # The compiler can only warn and ignore the option if not recognized
       
 13008      # So say no if there are warnings
       
 13009      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 13010      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 13011      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 13012        lt_cv_prog_compiler_c_o_CXX=yes
       
 13013      fi
       
 13014    fi
       
 13015    chmod u+w . 2>&5
       
 13016    $rm conftest*
       
 13017    # SGI C++ compiler will create directory out/ii_files/ for
       
 13018    # template instantiation
       
 13019    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 13020    $rm out/* && rmdir out
       
 13021    cd ..
       
 13022    rmdir conftest
       
 13023    $rm conftest*
       
 13024 
       
 13025 fi
       
 13026 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
       
 13027 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
       
 13028 
       
 13029 
       
 13030 hard_links="nottested"
       
 13031 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
       
 13032   # do not overwrite the value of need_locks provided by the user
       
 13033   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 13034 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 13035   hard_links=yes
       
 13036   $rm conftest*
       
 13037   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 13038   touch conftest.a
       
 13039   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 13040   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 13041   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 13042 echo "${ECHO_T}$hard_links" >&6; }
       
 13043   if test "$hard_links" = no; then
       
 13044     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 13045 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 13046     need_locks=warn
       
 13047   fi
       
 13048 else
       
 13049   need_locks=no
       
 13050 fi
       
 13051 
       
 13052 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 13053 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 13054 
       
 13055   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 13056   case $host_os in
       
 13057   aix4* | aix5*)
       
 13058     # If we're using GNU nm, then we don't want the "-C" option.
       
 13059     # -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 13060     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 13061       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'
       
 13062     else
       
 13063       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'
       
 13064     fi
       
 13065     ;;
       
 13066   pw32*)
       
 13067     export_symbols_cmds_CXX="$ltdll_cmds"
       
 13068   ;;
       
 13069   cygwin* | mingw*)
       
 13070     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'
       
 13071   ;;
       
 13072   *)
       
 13073     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 13074   ;;
       
 13075   esac
       
 13076 
       
 13077 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
       
 13078 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
       
 13079 test "$ld_shlibs_CXX" = no && can_build_shared=no
       
 13080 
       
 13081 #
       
 13082 # Do we need to explicitly link libc?
       
 13083 #
       
 13084 case "x$archive_cmds_need_lc_CXX" in
       
 13085 x|xyes)
       
 13086   # Assume -lc should be added
       
 13087   archive_cmds_need_lc_CXX=yes
       
 13088 
       
 13089   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 13090     case $archive_cmds_CXX in
       
 13091     *'~'*)
       
 13092       # FIXME: we may have to deal with multi-command sequences.
       
 13093       ;;
       
 13094     '$CC '*)
       
 13095       # Test whether the compiler implicitly links with -lc since on some
       
 13096       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 13097       # to ld, don't add -lc before -lgcc.
       
 13098       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 13099 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 13100       $rm conftest*
       
 13101       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 13102 
       
 13103       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 13104   (eval $ac_compile) 2>&5
       
 13105   ac_status=$?
       
 13106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13107   (exit $ac_status); } 2>conftest.err; then
       
 13108         soname=conftest
       
 13109         lib=conftest
       
 13110         libobjs=conftest.$ac_objext
       
 13111         deplibs=
       
 13112         wl=$lt_prog_compiler_wl_CXX
       
 13113 	pic_flag=$lt_prog_compiler_pic_CXX
       
 13114         compiler_flags=-v
       
 13115         linker_flags=-v
       
 13116         verstring=
       
 13117         output_objdir=.
       
 13118         libname=conftest
       
 13119         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
       
 13120         allow_undefined_flag_CXX=
       
 13121         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 13122   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 13123   ac_status=$?
       
 13124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 13125   (exit $ac_status); }
       
 13126         then
       
 13127 	  archive_cmds_need_lc_CXX=no
       
 13128         else
       
 13129 	  archive_cmds_need_lc_CXX=yes
       
 13130         fi
       
 13131         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
       
 13132       else
       
 13133         cat conftest.err 1>&5
       
 13134       fi
       
 13135       $rm conftest*
       
 13136       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
       
 13137 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
       
 13138       ;;
       
 13139     esac
       
 13140   fi
       
 13141   ;;
       
 13142 esac
       
 13143 
       
 13144 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 13145 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 13146 library_names_spec=
       
 13147 libname_spec='lib$name'
       
 13148 soname_spec=
       
 13149 shrext_cmds=".so"
       
 13150 postinstall_cmds=
       
 13151 postuninstall_cmds=
       
 13152 finish_cmds=
       
 13153 finish_eval=
       
 13154 shlibpath_var=
       
 13155 shlibpath_overrides_runpath=unknown
       
 13156 version_type=none
       
 13157 dynamic_linker="$host_os ld.so"
       
 13158 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 13159 if test "$GCC" = yes; then
       
 13160   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 13161   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 13162     # if the path contains ";" then we assume it to be the separator
       
 13163     # otherwise default to the standard path separator (i.e. ":") - it is
       
 13164     # assumed that no part of a normal pathname contains ";" but that should
       
 13165     # okay in the real world where ";" in dirpaths is itself problematic.
       
 13166     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 13167   else
       
 13168     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 13169   fi
       
 13170 else
       
 13171   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 13172 fi
       
 13173 need_lib_prefix=unknown
       
 13174 hardcode_into_libs=no
       
 13175 
       
 13176 # when you set need_version to no, make sure it does not cause -set_version
       
 13177 # flags to be left without arguments
       
 13178 need_version=unknown
       
 13179 
       
 13180 case $host_os in
       
 13181 aix3*)
       
 13182   version_type=linux
       
 13183   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 13184   shlibpath_var=LIBPATH
       
 13185 
       
 13186   # AIX 3 has no versioning support, so we append a major version to the name.
       
 13187   soname_spec='${libname}${release}${shared_ext}$major'
       
 13188   ;;
       
 13189 
       
 13190 aix4* | aix5*)
       
 13191   version_type=linux
       
 13192   need_lib_prefix=no
       
 13193   need_version=no
       
 13194   hardcode_into_libs=yes
       
 13195   if test "$host_cpu" = ia64; then
       
 13196     # AIX 5 supports IA64
       
 13197     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 13198     shlibpath_var=LD_LIBRARY_PATH
       
 13199   else
       
 13200     # With GCC up to 2.95.x, collect2 would create an import file
       
 13201     # for dependence libraries.  The import file would start with
       
 13202     # the line `#! .'.  This would cause the generated library to
       
 13203     # depend on `.', always an invalid library.  This was fixed in
       
 13204     # development snapshots of GCC prior to 3.0.
       
 13205     case $host_os in
       
 13206       aix4 | aix4.[01] | aix4.[01].*)
       
 13207       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 13208 	   echo ' yes '
       
 13209 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 13210 	:
       
 13211       else
       
 13212 	can_build_shared=no
       
 13213       fi
       
 13214       ;;
       
 13215     esac
       
 13216     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 13217     # soname into executable. Probably we can add versioning support to
       
 13218     # collect2, so additional links can be useful in future.
       
 13219     if test "$aix_use_runtimelinking" = yes; then
       
 13220       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 13221       # instead of lib<name>.a to let people know that these are not
       
 13222       # typical AIX shared libraries.
       
 13223       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13224     else
       
 13225       # We preserve .a as extension for shared libraries through AIX4.2
       
 13226       # and later when we are not doing run time linking.
       
 13227       library_names_spec='${libname}${release}.a $libname.a'
       
 13228       soname_spec='${libname}${release}${shared_ext}$major'
       
 13229     fi
       
 13230     shlibpath_var=LIBPATH
       
 13231   fi
       
 13232   ;;
       
 13233 
       
 13234 amigaos*)
       
 13235   library_names_spec='$libname.ixlibrary $libname.a'
       
 13236   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 13237   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'
       
 13238   ;;
       
 13239 
       
 13240 beos*)
       
 13241   library_names_spec='${libname}${shared_ext}'
       
 13242   dynamic_linker="$host_os ld.so"
       
 13243   shlibpath_var=LIBRARY_PATH
       
 13244   ;;
       
 13245 
       
 13246 bsdi[45]*)
       
 13247   version_type=linux
       
 13248   need_version=no
       
 13249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13250   soname_spec='${libname}${release}${shared_ext}$major'
       
 13251   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 13252   shlibpath_var=LD_LIBRARY_PATH
       
 13253   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 13254   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 13255   # the default ld.so.conf also contains /usr/contrib/lib and
       
 13256   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 13257   # libtool to hard-code these into programs
       
 13258   ;;
       
 13259 
       
 13260 cygwin* | mingw* | pw32*)
       
 13261   version_type=windows
       
 13262   shrext_cmds=".dll"
       
 13263   need_version=no
       
 13264   need_lib_prefix=no
       
 13265 
       
 13266   case $GCC,$host_os in
       
 13267   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 13268     library_names_spec='$libname.dll.a'
       
 13269     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 13270     postinstall_cmds='base_file=`basename \${file}`~
       
 13271       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 13272       dldir=$destdir/`dirname \$dlpath`~
       
 13273       test -d \$dldir || mkdir -p \$dldir~
       
 13274       $install_prog $dir/$dlname \$dldir/$dlname~
       
 13275       chmod a+x \$dldir/$dlname'
       
 13276     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 13277       dlpath=$dir/\$dldll~
       
 13278        $rm \$dlpath'
       
 13279     shlibpath_overrides_runpath=yes
       
 13280 
       
 13281     case $host_os in
       
 13282     cygwin*)
       
 13283       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 13284       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 13285       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 13286       ;;
       
 13287     mingw*)
       
 13288       # MinGW DLLs use traditional 'lib' prefix
       
 13289       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 13290       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 13291       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 13292         # It is most probably a Windows format PATH printed by
       
 13293         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 13294         # path with ; separators, and with drive letters. We can handle the
       
 13295         # drive letters (cygwin fileutils understands them), so leave them,
       
 13296         # especially as we might pass files found there to a mingw objdump,
       
 13297         # which wouldn't understand a cygwinified path. Ahh.
       
 13298         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 13299       else
       
 13300         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 13301       fi
       
 13302       ;;
       
 13303     pw32*)
       
 13304       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 13305       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 13306       ;;
       
 13307     esac
       
 13308     ;;
       
 13309 
       
 13310   linux*)
       
 13311     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
       
 13312       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 13313       supports_anon_versioning=no
       
 13314       case `$LD -v 2>/dev/null` in
       
 13315         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 13316         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 13317         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 13318         *\ 2.11.*) ;; # other 2.11 versions
       
 13319         *) supports_anon_versioning=yes ;;
       
 13320       esac
       
 13321       if test $supports_anon_versioning = yes; then
       
 13322         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
 13323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 13324 $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 13325         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 13326       else
       
 13327         $archive_expsym_cmds="$archive_cmds"
       
 13328       fi
       
 13329     else
       
 13330       ld_shlibs=no
       
 13331     fi
       
 13332     ;;
       
 13333 
       
 13334   *)
       
 13335     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 13336     ;;
       
 13337   esac
       
 13338   dynamic_linker='Win32 ld.exe'
       
 13339   # FIXME: first we should search . and the directory the executable is in
       
 13340   shlibpath_var=PATH
       
 13341   ;;
       
 13342 
       
 13343 darwin* | rhapsody*)
       
 13344   dynamic_linker="$host_os dyld"
       
 13345   version_type=darwin
       
 13346   need_lib_prefix=no
       
 13347   need_version=no
       
 13348   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 13349   soname_spec='${libname}${release}${major}$shared_ext'
       
 13350   shlibpath_overrides_runpath=yes
       
 13351   shlibpath_var=DYLD_LIBRARY_PATH
       
 13352   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 13353   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 13354   if test "$GCC" = yes; then
       
 13355     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"`
       
 13356   else
       
 13357     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 13358   fi
       
 13359   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 13360   ;;
       
 13361 
       
 13362 dgux*)
       
 13363   version_type=linux
       
 13364   need_lib_prefix=no
       
 13365   need_version=no
       
 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   ;;
       
 13370 
       
 13371 freebsd1*)
       
 13372   dynamic_linker=no
       
 13373   ;;
       
 13374 
       
 13375 kfreebsd*-gnu)
       
 13376   version_type=linux
       
 13377   need_lib_prefix=no
       
 13378   need_version=no
       
 13379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13380   soname_spec='${libname}${release}${shared_ext}$major'
       
 13381   shlibpath_var=LD_LIBRARY_PATH
       
 13382   shlibpath_overrides_runpath=no
       
 13383   hardcode_into_libs=yes
       
 13384   dynamic_linker='GNU ld.so'
       
 13385   ;;
       
 13386 
       
 13387 freebsd* | dragonfly*)
       
 13388   # DragonFly does not have aout.  When/if they implement a new
       
 13389   # versioning mechanism, adjust this.
       
 13390   if test -x /usr/bin/objformat; then
       
 13391     objformat=`/usr/bin/objformat`
       
 13392   else
       
 13393     case $host_os in
       
 13394     freebsd[123]*) objformat=aout ;;
       
 13395     *) objformat=elf ;;
       
 13396     esac
       
 13397   fi
       
 13398   # Handle Gentoo/FreeBSD as it was Linux
       
 13399   case $host_vendor in
       
 13400     gentoo)
       
 13401       version_type=linux ;;
       
 13402     *)
       
 13403       version_type=freebsd-$objformat ;;
       
 13404   esac
       
 13405 
       
 13406   case $version_type in
       
 13407     freebsd-elf*)
       
 13408       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13409       need_version=no
       
 13410       need_lib_prefix=no
       
 13411       ;;
       
 13412     freebsd-*)
       
 13413       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 13414       need_version=yes
       
 13415       ;;
       
 13416     linux)
       
 13417       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13418       soname_spec='${libname}${release}${shared_ext}$major'
       
 13419       need_lib_prefix=no
       
 13420       need_version=no
       
 13421       ;;
       
 13422   esac
       
 13423   shlibpath_var=LD_LIBRARY_PATH
       
 13424   case $host_os in
       
 13425   freebsd2*)
       
 13426     shlibpath_overrides_runpath=yes
       
 13427     ;;
       
 13428   freebsd3.[01]* | freebsdelf3.[01]*)
       
 13429     shlibpath_overrides_runpath=yes
       
 13430     hardcode_into_libs=yes
       
 13431     ;;
       
 13432   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 13433   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 13434     shlibpath_overrides_runpath=no
       
 13435     hardcode_into_libs=yes
       
 13436     ;;
       
 13437   freebsd*) # from 4.6 on
       
 13438     shlibpath_overrides_runpath=yes
       
 13439     hardcode_into_libs=yes
       
 13440     ;;
       
 13441   esac
       
 13442   ;;
       
 13443 
       
 13444 gnu*)
       
 13445   version_type=linux
       
 13446   need_lib_prefix=no
       
 13447   need_version=no
       
 13448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 13449   soname_spec='${libname}${release}${shared_ext}$major'
       
 13450   shlibpath_var=LD_LIBRARY_PATH
       
 13451   hardcode_into_libs=yes
       
 13452   ;;
       
 13453 
       
 13454 hpux9* | hpux10* | hpux11*)
       
 13455   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 13456   # link against other versions.
       
 13457   version_type=sunos
       
 13458   need_lib_prefix=no
       
 13459   need_version=no
       
 13460   case $host_cpu in
       
 13461   ia64*)
       
 13462     shrext_cmds='.so'
       
 13463     hardcode_into_libs=yes
       
 13464     dynamic_linker="$host_os dld.so"
       
 13465     shlibpath_var=LD_LIBRARY_PATH
       
 13466     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 13467     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13468     soname_spec='${libname}${release}${shared_ext}$major'
       
 13469     if test "X$HPUX_IA64_MODE" = X32; then
       
 13470       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 13471     else
       
 13472       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 13473     fi
       
 13474     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 13475     ;;
       
 13476    hppa*64*)
       
 13477      shrext_cmds='.sl'
       
 13478      hardcode_into_libs=yes
       
 13479      dynamic_linker="$host_os dld.sl"
       
 13480      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 13481      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 13482      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13483      soname_spec='${libname}${release}${shared_ext}$major'
       
 13484      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 13485      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 13486      ;;
       
 13487    *)
       
 13488     shrext_cmds='.sl'
       
 13489     dynamic_linker="$host_os dld.sl"
       
 13490     shlibpath_var=SHLIB_PATH
       
 13491     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 13492     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13493     soname_spec='${libname}${release}${shared_ext}$major'
       
 13494     ;;
       
 13495   esac
       
 13496   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 13497   postinstall_cmds='chmod 555 $lib'
       
 13498   ;;
       
 13499 
       
 13500 interix3*)
       
 13501   version_type=linux
       
 13502   need_lib_prefix=no
       
 13503   need_version=no
       
 13504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13505   soname_spec='${libname}${release}${shared_ext}$major'
       
 13506   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 13507   shlibpath_var=LD_LIBRARY_PATH
       
 13508   shlibpath_overrides_runpath=no
       
 13509   hardcode_into_libs=yes
       
 13510   ;;
       
 13511 
       
 13512 irix5* | irix6* | nonstopux*)
       
 13513   case $host_os in
       
 13514     nonstopux*) version_type=nonstopux ;;
       
 13515     *)
       
 13516 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 13517 		version_type=linux
       
 13518 	else
       
 13519 		version_type=irix
       
 13520 	fi ;;
       
 13521   esac
       
 13522   need_lib_prefix=no
       
 13523   need_version=no
       
 13524   soname_spec='${libname}${release}${shared_ext}$major'
       
 13525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13526   case $host_os in
       
 13527   irix5* | nonstopux*)
       
 13528     libsuff= shlibsuff=
       
 13529     ;;
       
 13530   *)
       
 13531     case $LD in # libtool.m4 will add one of these switches to LD
       
 13532     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 13533       libsuff= shlibsuff= libmagic=32-bit;;
       
 13534     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 13535       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 13536     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 13537       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 13538     *) libsuff= shlibsuff= libmagic=never-match;;
       
 13539     esac
       
 13540     ;;
       
 13541   esac
       
 13542   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 13543   shlibpath_overrides_runpath=no
       
 13544   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 13545   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 13546   hardcode_into_libs=yes
       
 13547   ;;
       
 13548 
       
 13549 # No shared lib support for Linux oldld, aout, or coff.
       
 13550 linux*oldld* | linux*aout* | linux*coff*)
       
 13551   dynamic_linker=no
       
 13552   ;;
       
 13553 
       
 13554 # This must be Linux ELF.
       
 13555 linux*)
       
 13556   version_type=linux
       
 13557   need_lib_prefix=no
       
 13558   need_version=no
       
 13559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13560   soname_spec='${libname}${release}${shared_ext}$major'
       
 13561   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 13562   shlibpath_var=LD_LIBRARY_PATH
       
 13563   shlibpath_overrides_runpath=no
       
 13564   # This implies no fast_install, which is unacceptable.
       
 13565   # Some rework will be needed to allow for fast_install
       
 13566   # before this can be enabled.
       
 13567   hardcode_into_libs=yes
       
 13568 
       
 13569   # Append ld.so.conf contents to the search path
       
 13570   if test -f /etc/ld.so.conf; then
       
 13571     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
       
 13572     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 13573   fi
       
 13574 
       
 13575   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 13576   # powerpc, because MkLinux only supported shared libraries with the
       
 13577   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 13578   # most powerpc-linux boxes support dynamic linking these days and
       
 13579   # people can always --disable-shared, the test was removed, and we
       
 13580   # assume the GNU/Linux dynamic linker is in use.
       
 13581   dynamic_linker='GNU/Linux ld.so'
       
 13582   ;;
       
 13583 
       
 13584 knetbsd*-gnu)
       
 13585   version_type=linux
       
 13586   need_lib_prefix=no
       
 13587   need_version=no
       
 13588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13589   soname_spec='${libname}${release}${shared_ext}$major'
       
 13590   shlibpath_var=LD_LIBRARY_PATH
       
 13591   shlibpath_overrides_runpath=no
       
 13592   hardcode_into_libs=yes
       
 13593   dynamic_linker='GNU ld.so'
       
 13594   ;;
       
 13595 
       
 13596 netbsd*)
       
 13597   version_type=sunos
       
 13598   need_lib_prefix=no
       
 13599   need_version=no
       
 13600   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 13601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13602     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 13603     dynamic_linker='NetBSD (a.out) ld.so'
       
 13604   else
       
 13605     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 13606     soname_spec='${libname}${release}${shared_ext}$major'
       
 13607     dynamic_linker='NetBSD ld.elf_so'
       
 13608   fi
       
 13609   shlibpath_var=LD_LIBRARY_PATH
       
 13610   shlibpath_overrides_runpath=yes
       
 13611   hardcode_into_libs=yes
       
 13612   ;;
       
 13613 
       
 13614 newsos6)
       
 13615   version_type=linux
       
 13616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13617   shlibpath_var=LD_LIBRARY_PATH
       
 13618   shlibpath_overrides_runpath=yes
       
 13619   ;;
       
 13620 
       
 13621 nto-qnx*)
       
 13622   version_type=linux
       
 13623   need_lib_prefix=no
       
 13624   need_version=no
       
 13625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13626   soname_spec='${libname}${release}${shared_ext}$major'
       
 13627   shlibpath_var=LD_LIBRARY_PATH
       
 13628   shlibpath_overrides_runpath=yes
       
 13629   ;;
       
 13630 
       
 13631 openbsd*)
       
 13632   version_type=sunos
       
 13633   sys_lib_dlsearch_path_spec="/usr/lib"
       
 13634   need_lib_prefix=no
       
 13635   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 13636   case $host_os in
       
 13637     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 13638     *)                         need_version=no  ;;
       
 13639   esac
       
 13640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13641   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 13642   shlibpath_var=LD_LIBRARY_PATH
       
 13643   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 13644     case $host_os in
       
 13645       openbsd2.[89] | openbsd2.[89].*)
       
 13646 	shlibpath_overrides_runpath=no
       
 13647 	;;
       
 13648       *)
       
 13649 	shlibpath_overrides_runpath=yes
       
 13650 	;;
       
 13651       esac
       
 13652   else
       
 13653     shlibpath_overrides_runpath=yes
       
 13654   fi
       
 13655   ;;
       
 13656 
       
 13657 os2*)
       
 13658   libname_spec='$name'
       
 13659   shrext_cmds=".dll"
       
 13660   need_lib_prefix=no
       
 13661   library_names_spec='$libname${shared_ext} $libname.a'
       
 13662   dynamic_linker='OS/2 ld.exe'
       
 13663   shlibpath_var=LIBPATH
       
 13664   ;;
       
 13665 
       
 13666 osf3* | osf4* | osf5*)
       
 13667   version_type=osf
       
 13668   need_lib_prefix=no
       
 13669   need_version=no
       
 13670   soname_spec='${libname}${release}${shared_ext}$major'
       
 13671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13672   shlibpath_var=LD_LIBRARY_PATH
       
 13673   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 13674   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 13675   ;;
       
 13676 
       
 13677 solaris*)
       
 13678   version_type=linux
       
 13679   need_lib_prefix=no
       
 13680   need_version=no
       
 13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13682   soname_spec='${libname}${release}${shared_ext}$major'
       
 13683   shlibpath_var=LD_LIBRARY_PATH
       
 13684   shlibpath_overrides_runpath=yes
       
 13685   hardcode_into_libs=yes
       
 13686   # ldd complains unless libraries are executable
       
 13687   postinstall_cmds='chmod +x $lib'
       
 13688   ;;
       
 13689 
       
 13690 sunos4*)
       
 13691   version_type=sunos
       
 13692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 13693   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 13694   shlibpath_var=LD_LIBRARY_PATH
       
 13695   shlibpath_overrides_runpath=yes
       
 13696   if test "$with_gnu_ld" = yes; then
       
 13697     need_lib_prefix=no
       
 13698   fi
       
 13699   need_version=yes
       
 13700   ;;
       
 13701 
       
 13702 sysv4 | sysv4.3*)
       
 13703   version_type=linux
       
 13704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13705   soname_spec='${libname}${release}${shared_ext}$major'
       
 13706   shlibpath_var=LD_LIBRARY_PATH
       
 13707   case $host_vendor in
       
 13708     sni)
       
 13709       shlibpath_overrides_runpath=no
       
 13710       need_lib_prefix=no
       
 13711       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 13712       runpath_var=LD_RUN_PATH
       
 13713       ;;
       
 13714     siemens)
       
 13715       need_lib_prefix=no
       
 13716       ;;
       
 13717     motorola)
       
 13718       need_lib_prefix=no
       
 13719       need_version=no
       
 13720       shlibpath_overrides_runpath=no
       
 13721       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 13722       ;;
       
 13723   esac
       
 13724   ;;
       
 13725 
       
 13726 sysv4*MP*)
       
 13727   if test -d /usr/nec ;then
       
 13728     version_type=linux
       
 13729     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 13730     soname_spec='$libname${shared_ext}.$major'
       
 13731     shlibpath_var=LD_LIBRARY_PATH
       
 13732   fi
       
 13733   ;;
       
 13734 
       
 13735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 13736   version_type=freebsd-elf
       
 13737   need_lib_prefix=no
       
 13738   need_version=no
       
 13739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 13740   soname_spec='${libname}${release}${shared_ext}$major'
       
 13741   shlibpath_var=LD_LIBRARY_PATH
       
 13742   hardcode_into_libs=yes
       
 13743   if test "$with_gnu_ld" = yes; then
       
 13744     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 13745     shlibpath_overrides_runpath=no
       
 13746   else
       
 13747     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 13748     shlibpath_overrides_runpath=yes
       
 13749     case $host_os in
       
 13750       sco3.2v5*)
       
 13751         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 13752 	;;
       
 13753     esac
       
 13754   fi
       
 13755   sys_lib_dlsearch_path_spec='/usr/lib'
       
 13756   ;;
       
 13757 
       
 13758 uts4*)
       
 13759   version_type=linux
       
 13760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 13761   soname_spec='${libname}${release}${shared_ext}$major'
       
 13762   shlibpath_var=LD_LIBRARY_PATH
       
 13763   ;;
       
 13764 
       
 13765 *)
       
 13766   dynamic_linker=no
       
 13767   ;;
       
 13768 esac
       
 13769 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 13770 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 13771 test "$dynamic_linker" = no && can_build_shared=no
       
 13772 
       
 13773 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 13774 if test "$GCC" = yes; then
       
 13775   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 13776 fi
       
 13777 
       
 13778 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 13779 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 13780 hardcode_action_CXX=
       
 13781 if test -n "$hardcode_libdir_flag_spec_CXX" || \
       
 13782    test -n "$runpath_var_CXX" || \
       
 13783    test "X$hardcode_automatic_CXX" = "Xyes" ; then
       
 13784 
       
 13785   # We can hardcode non-existant directories.
       
 13786   if test "$hardcode_direct_CXX" != no &&
       
 13787      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 13788      # have to relink, otherwise we might link with an installed library
       
 13789      # when we should be linking with a yet-to-be-installed one
       
 13790      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
       
 13791      test "$hardcode_minus_L_CXX" != no; then
       
 13792     # Linking always hardcodes the temporary library directory.
       
 13793     hardcode_action_CXX=relink
       
 13794   else
       
 13795     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 13796     hardcode_action_CXX=immediate
       
 13797   fi
       
 13798 else
       
 13799   # We cannot hardcode anything, or else we can only hardcode existing
       
 13800   # directories.
       
 13801   hardcode_action_CXX=unsupported
       
 13802 fi
       
 13803 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
       
 13804 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
       
 13805 
       
 13806 if test "$hardcode_action_CXX" = relink; then
       
 13807   # Fast installation is not supported
       
 13808   enable_fast_install=no
       
 13809 elif test "$shlibpath_overrides_runpath" = yes ||
       
 13810      test "$enable_shared" = no; then
       
 13811   # Fast installation is not necessary
       
 13812   enable_fast_install=needless
       
 13813 fi
       
 13814 
       
 13815 
       
 13816 # The else clause should only fire when bootstrapping the
       
 13817 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 13818 # with your package, and you will get complaints that there are
       
 13819 # no rules to generate ltmain.sh.
       
 13820 if test -f "$ltmain"; then
       
 13821   # See if we are running on zsh, and set the options which allow our commands through
       
 13822   # without removal of \ escapes.
       
 13823   if test -n "${ZSH_VERSION+set}" ; then
       
 13824     setopt NO_GLOB_SUBST
       
 13825   fi
       
 13826   # Now quote all the things that may contain metacharacters while being
       
 13827   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 13828   # variables and quote the copies for generation of the libtool script.
       
 13829   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 13830     SED SHELL STRIP \
       
 13831     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 13832     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 13833     deplibs_check_method reload_flag reload_cmds need_locks \
       
 13834     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 13835     lt_cv_sys_global_symbol_to_c_name_address \
       
 13836     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 13837     old_postinstall_cmds old_postuninstall_cmds \
       
 13838     compiler_CXX \
       
 13839     CC_CXX \
       
 13840     LD_CXX \
       
 13841     lt_prog_compiler_wl_CXX \
       
 13842     lt_prog_compiler_pic_CXX \
       
 13843     lt_prog_compiler_static_CXX \
       
 13844     lt_prog_compiler_no_builtin_flag_CXX \
       
 13845     export_dynamic_flag_spec_CXX \
       
 13846     thread_safe_flag_spec_CXX \
       
 13847     whole_archive_flag_spec_CXX \
       
 13848     enable_shared_with_static_runtimes_CXX \
       
 13849     old_archive_cmds_CXX \
       
 13850     old_archive_from_new_cmds_CXX \
       
 13851     predep_objects_CXX \
       
 13852     postdep_objects_CXX \
       
 13853     predeps_CXX \
       
 13854     postdeps_CXX \
       
 13855     compiler_lib_search_path_CXX \
       
 13856     archive_cmds_CXX \
       
 13857     archive_expsym_cmds_CXX \
       
 13858     postinstall_cmds_CXX \
       
 13859     postuninstall_cmds_CXX \
       
 13860     old_archive_from_expsyms_cmds_CXX \
       
 13861     allow_undefined_flag_CXX \
       
 13862     no_undefined_flag_CXX \
       
 13863     export_symbols_cmds_CXX \
       
 13864     hardcode_libdir_flag_spec_CXX \
       
 13865     hardcode_libdir_flag_spec_ld_CXX \
       
 13866     hardcode_libdir_separator_CXX \
       
 13867     hardcode_automatic_CXX \
       
 13868     module_cmds_CXX \
       
 13869     module_expsym_cmds_CXX \
       
 13870     lt_cv_prog_compiler_c_o_CXX \
       
 13871     exclude_expsyms_CXX \
       
 13872     include_expsyms_CXX; do
       
 13873 
       
 13874     case $var in
       
 13875     old_archive_cmds_CXX | \
       
 13876     old_archive_from_new_cmds_CXX | \
       
 13877     archive_cmds_CXX | \
       
 13878     archive_expsym_cmds_CXX | \
       
 13879     module_cmds_CXX | \
       
 13880     module_expsym_cmds_CXX | \
       
 13881     old_archive_from_expsyms_cmds_CXX | \
       
 13882     export_symbols_cmds_CXX | \
       
 13883     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 13884     postinstall_cmds | postuninstall_cmds | \
       
 13885     old_postinstall_cmds | old_postuninstall_cmds | \
       
 13886     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 13887       # Double-quote double-evaled strings.
       
 13888       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 13889       ;;
       
 13890     *)
       
 13891       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 13892       ;;
       
 13893     esac
       
 13894   done
       
 13895 
       
 13896   case $lt_echo in
       
 13897   *'\$0 --fallback-echo"')
       
 13898     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 13899     ;;
       
 13900   esac
       
 13901 
       
 13902 cfgfile="$ofile"
       
 13903 
       
 13904   cat <<__EOF__ >> "$cfgfile"
       
 13905 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 13906 
       
 13907 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 13908 
       
 13909 # Shell to use when invoking shell scripts.
       
 13910 SHELL=$lt_SHELL
       
 13911 
       
 13912 # Whether or not to build shared libraries.
       
 13913 build_libtool_libs=$enable_shared
       
 13914 
       
 13915 # Whether or not to build static libraries.
       
 13916 build_old_libs=$enable_static
       
 13917 
       
 13918 # Whether or not to add -lc for building shared libraries.
       
 13919 build_libtool_need_lc=$archive_cmds_need_lc_CXX
       
 13920 
       
 13921 # Whether or not to disallow shared libs when runtime libs are static
       
 13922 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
       
 13923 
       
 13924 # Whether or not to optimize for fast installation.
       
 13925 fast_install=$enable_fast_install
       
 13926 
       
 13927 # The host system.
       
 13928 host_alias=$host_alias
       
 13929 host=$host
       
 13930 host_os=$host_os
       
 13931 
       
 13932 # The build system.
       
 13933 build_alias=$build_alias
       
 13934 build=$build
       
 13935 build_os=$build_os
       
 13936 
       
 13937 # An echo program that does not interpret backslashes.
       
 13938 echo=$lt_echo
       
 13939 
       
 13940 # The archiver.
       
 13941 AR=$lt_AR
       
 13942 AR_FLAGS=$lt_AR_FLAGS
       
 13943 
       
 13944 # A C compiler.
       
 13945 LTCC=$lt_LTCC
       
 13946 
       
 13947 # LTCC compiler flags.
       
 13948 LTCFLAGS=$lt_LTCFLAGS
       
 13949 
       
 13950 # A language-specific compiler.
       
 13951 CC=$lt_compiler_CXX
       
 13952 
       
 13953 # Is the compiler the GNU C compiler?
       
 13954 with_gcc=$GCC_CXX
       
 13955 
       
 13956 # An ERE matcher.
       
 13957 EGREP=$lt_EGREP
       
 13958 
       
 13959 # The linker used to build libraries.
       
 13960 LD=$lt_LD_CXX
       
 13961 
       
 13962 # Whether we need hard or soft links.
       
 13963 LN_S=$lt_LN_S
       
 13964 
       
 13965 # A BSD-compatible nm program.
       
 13966 NM=$lt_NM
       
 13967 
       
 13968 # A symbol stripping program
       
 13969 STRIP=$lt_STRIP
       
 13970 
       
 13971 # Used to examine libraries when file_magic_cmd begins "file"
       
 13972 MAGIC_CMD=$MAGIC_CMD
       
 13973 
       
 13974 # Used on cygwin: DLL creation program.
       
 13975 DLLTOOL="$DLLTOOL"
       
 13976 
       
 13977 # Used on cygwin: object dumper.
       
 13978 OBJDUMP="$OBJDUMP"
       
 13979 
       
 13980 # Used on cygwin: assembler.
       
 13981 AS="$AS"
       
 13982 
       
 13983 # The name of the directory that contains temporary libtool files.
       
 13984 objdir=$objdir
       
 13985 
       
 13986 # How to create reloadable object files.
       
 13987 reload_flag=$lt_reload_flag
       
 13988 reload_cmds=$lt_reload_cmds
       
 13989 
       
 13990 # How to pass a linker flag through the compiler.
       
 13991 wl=$lt_lt_prog_compiler_wl_CXX
       
 13992 
       
 13993 # Object file suffix (normally "o").
       
 13994 objext="$ac_objext"
       
 13995 
       
 13996 # Old archive suffix (normally "a").
       
 13997 libext="$libext"
       
 13998 
       
 13999 # Shared library suffix (normally ".so").
       
 14000 shrext_cmds='$shrext_cmds'
       
 14001 
       
 14002 # Executable file suffix (normally "").
       
 14003 exeext="$exeext"
       
 14004 
       
 14005 # Additional compiler flags for building library objects.
       
 14006 pic_flag=$lt_lt_prog_compiler_pic_CXX
       
 14007 pic_mode=$pic_mode
       
 14008 
       
 14009 # What is the maximum length of a command?
       
 14010 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 14011 
       
 14012 # Does compiler simultaneously support -c and -o options?
       
 14013 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
       
 14014 
       
 14015 # Must we lock files when doing compilation?
       
 14016 need_locks=$lt_need_locks
       
 14017 
       
 14018 # Do we need the lib prefix for modules?
       
 14019 need_lib_prefix=$need_lib_prefix
       
 14020 
       
 14021 # Do we need a version for libraries?
       
 14022 need_version=$need_version
       
 14023 
       
 14024 # Whether dlopen is supported.
       
 14025 dlopen_support=$enable_dlopen
       
 14026 
       
 14027 # Whether dlopen of programs is supported.
       
 14028 dlopen_self=$enable_dlopen_self
       
 14029 
       
 14030 # Whether dlopen of statically linked programs is supported.
       
 14031 dlopen_self_static=$enable_dlopen_self_static
       
 14032 
       
 14033 # Compiler flag to prevent dynamic linking.
       
 14034 link_static_flag=$lt_lt_prog_compiler_static_CXX
       
 14035 
       
 14036 # Compiler flag to turn off builtin functions.
       
 14037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
       
 14038 
       
 14039 # Compiler flag to allow reflexive dlopens.
       
 14040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
       
 14041 
       
 14042 # Compiler flag to generate shared objects directly from archives.
       
 14043 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
       
 14044 
       
 14045 # Compiler flag to generate thread-safe objects.
       
 14046 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
       
 14047 
       
 14048 # Library versioning type.
       
 14049 version_type=$version_type
       
 14050 
       
 14051 # Format of library name prefix.
       
 14052 libname_spec=$lt_libname_spec
       
 14053 
       
 14054 # List of archive names.  First name is the real one, the rest are links.
       
 14055 # The last name is the one that the linker finds with -lNAME.
       
 14056 library_names_spec=$lt_library_names_spec
       
 14057 
       
 14058 # The coded name of the library, if different from the real name.
       
 14059 soname_spec=$lt_soname_spec
       
 14060 
       
 14061 # Commands used to build and install an old-style archive.
       
 14062 RANLIB=$lt_RANLIB
       
 14063 old_archive_cmds=$lt_old_archive_cmds_CXX
       
 14064 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 14065 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 14066 
       
 14067 # Create an old-style archive from a shared archive.
       
 14068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
       
 14069 
       
 14070 # Create a temporary old-style archive to link instead of a shared archive.
       
 14071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
       
 14072 
       
 14073 # Commands used to build and install a shared archive.
       
 14074 archive_cmds=$lt_archive_cmds_CXX
       
 14075 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
       
 14076 postinstall_cmds=$lt_postinstall_cmds
       
 14077 postuninstall_cmds=$lt_postuninstall_cmds
       
 14078 
       
 14079 # Commands used to build a loadable module (assumed same as above if empty)
       
 14080 module_cmds=$lt_module_cmds_CXX
       
 14081 module_expsym_cmds=$lt_module_expsym_cmds_CXX
       
 14082 
       
 14083 # Commands to strip libraries.
       
 14084 old_striplib=$lt_old_striplib
       
 14085 striplib=$lt_striplib
       
 14086 
       
 14087 # Dependencies to place before the objects being linked to create a
       
 14088 # shared library.
       
 14089 predep_objects=$lt_predep_objects_CXX
       
 14090 
       
 14091 # Dependencies to place after the objects being linked to create a
       
 14092 # shared library.
       
 14093 postdep_objects=$lt_postdep_objects_CXX
       
 14094 
       
 14095 # Dependencies to place before the objects being linked to create a
       
 14096 # shared library.
       
 14097 predeps=$lt_predeps_CXX
       
 14098 
       
 14099 # Dependencies to place after the objects being linked to create a
       
 14100 # shared library.
       
 14101 postdeps=$lt_postdeps_CXX
       
 14102 
       
 14103 # The library search path used internally by the compiler when linking
       
 14104 # a shared library.
       
 14105 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
       
 14106 
       
 14107 # Method to check whether dependent libraries are shared objects.
       
 14108 deplibs_check_method=$lt_deplibs_check_method
       
 14109 
       
 14110 # Command to use when deplibs_check_method == file_magic.
       
 14111 file_magic_cmd=$lt_file_magic_cmd
       
 14112 
       
 14113 # Flag that allows shared libraries with undefined symbols to be built.
       
 14114 allow_undefined_flag=$lt_allow_undefined_flag_CXX
       
 14115 
       
 14116 # Flag that forces no undefined symbols.
       
 14117 no_undefined_flag=$lt_no_undefined_flag_CXX
       
 14118 
       
 14119 # Commands used to finish a libtool library installation in a directory.
       
 14120 finish_cmds=$lt_finish_cmds
       
 14121 
       
 14122 # Same as above, but a single script fragment to be evaled but not shown.
       
 14123 finish_eval=$lt_finish_eval
       
 14124 
       
 14125 # Take the output of nm and produce a listing of raw symbols and C names.
       
 14126 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 14127 
       
 14128 # Transform the output of nm in a proper C declaration
       
 14129 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 14130 
       
 14131 # Transform the output of nm in a C name address pair
       
 14132 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 14133 
       
 14134 # This is the shared library runtime path variable.
       
 14135 runpath_var=$runpath_var
       
 14136 
       
 14137 # This is the shared library path variable.
       
 14138 shlibpath_var=$shlibpath_var
       
 14139 
       
 14140 # Is shlibpath searched before the hard-coded library search path?
       
 14141 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 14142 
       
 14143 # How to hardcode a shared library path into an executable.
       
 14144 hardcode_action=$hardcode_action_CXX
       
 14145 
       
 14146 # Whether we should hardcode library paths into libraries.
       
 14147 hardcode_into_libs=$hardcode_into_libs
       
 14148 
       
 14149 # Flag to hardcode \$libdir into a binary during linking.
       
 14150 # This must work even if \$libdir does not exist.
       
 14151 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
       
 14152 
       
 14153 # If ld is used when linking, flag to hardcode \$libdir into
       
 14154 # a binary during linking. This must work even if \$libdir does
       
 14155 # not exist.
       
 14156 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
       
 14157 
       
 14158 # Whether we need a single -rpath flag with a separated argument.
       
 14159 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
       
 14160 
       
 14161 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 14162 # resulting binary.
       
 14163 hardcode_direct=$hardcode_direct_CXX
       
 14164 
       
 14165 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 14166 # resulting binary.
       
 14167 hardcode_minus_L=$hardcode_minus_L_CXX
       
 14168 
       
 14169 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 14170 # the resulting binary.
       
 14171 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
       
 14172 
       
 14173 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 14174 # and all subsequent libraries and executables linked against it.
       
 14175 hardcode_automatic=$hardcode_automatic_CXX
       
 14176 
       
 14177 # Variables whose values should be saved in libtool wrapper scripts and
       
 14178 # restored at relink time.
       
 14179 variables_saved_for_relink="$variables_saved_for_relink"
       
 14180 
       
 14181 # Whether libtool must link a program against all its dependency libraries.
       
 14182 link_all_deplibs=$link_all_deplibs_CXX
       
 14183 
       
 14184 # Compile-time system search path for libraries
       
 14185 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 14186 
       
 14187 # Run-time system search path for libraries
       
 14188 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 14189 
       
 14190 # Fix the shell variable \$srcfile for the compiler.
       
 14191 fix_srcfile_path="$fix_srcfile_path_CXX"
       
 14192 
       
 14193 # Set to yes if exported symbols are required.
       
 14194 always_export_symbols=$always_export_symbols_CXX
       
 14195 
       
 14196 # The commands to list exported symbols.
       
 14197 export_symbols_cmds=$lt_export_symbols_cmds_CXX
       
 14198 
       
 14199 # The commands to extract the exported symbol list from a shared archive.
       
 14200 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 14201 
       
 14202 # Symbols that should not be listed in the preloaded symbols.
       
 14203 exclude_expsyms=$lt_exclude_expsyms_CXX
       
 14204 
       
 14205 # Symbols that must always be exported.
       
 14206 include_expsyms=$lt_include_expsyms_CXX
       
 14207 
       
 14208 # ### END LIBTOOL TAG CONFIG: $tagname
       
 14209 
       
 14210 __EOF__
       
 14211 
       
 14212 
       
 14213 else
       
 14214   # If there is no Makefile yet, we rely on a make rule to execute
       
 14215   # `config.status --recheck' to rerun these tests and create the
       
 14216   # libtool script then.
       
 14217   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 14218   if test -f "$ltmain_in"; then
       
 14219     test -f Makefile && make "$ltmain"
       
 14220   fi
       
 14221 fi
       
 14222 
       
 14223 
       
 14224 ac_ext=c
       
 14225 ac_cpp='$CPP $CPPFLAGS'
       
 14226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 14227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 14228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
 14229 
       
 14230 CC=$lt_save_CC
       
 14231 LDCXX=$LD
       
 14232 LD=$lt_save_LD
       
 14233 GCC=$lt_save_GCC
       
 14234 with_gnu_ldcxx=$with_gnu_ld
       
 14235 with_gnu_ld=$lt_save_with_gnu_ld
       
 14236 lt_cv_path_LDCXX=$lt_cv_path_LD
       
 14237 lt_cv_path_LD=$lt_save_path_LD
       
 14238 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
       
 14239 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
       
 14240 
       
 14241 	else
       
 14242 	  tagname=""
       
 14243 	fi
       
 14244 	;;
       
 14245 
       
 14246       F77)
       
 14247 	if test -n "$F77" && test "X$F77" != "Xno"; then
       
 14248 
       
 14249 ac_ext=f
       
 14250 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
       
 14251 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 14252 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
       
 14253 
       
 14254 
       
 14255 archive_cmds_need_lc_F77=no
       
 14256 allow_undefined_flag_F77=
       
 14257 always_export_symbols_F77=no
       
 14258 archive_expsym_cmds_F77=
       
 14259 export_dynamic_flag_spec_F77=
       
 14260 hardcode_direct_F77=no
       
 14261 hardcode_libdir_flag_spec_F77=
       
 14262 hardcode_libdir_flag_spec_ld_F77=
       
 14263 hardcode_libdir_separator_F77=
       
 14264 hardcode_minus_L_F77=no
       
 14265 hardcode_automatic_F77=no
       
 14266 module_cmds_F77=
       
 14267 module_expsym_cmds_F77=
       
 14268 link_all_deplibs_F77=unknown
       
 14269 old_archive_cmds_F77=$old_archive_cmds
       
 14270 no_undefined_flag_F77=
       
 14271 whole_archive_flag_spec_F77=
       
 14272 enable_shared_with_static_runtimes_F77=no
       
 14273 
       
 14274 # Source file extension for f77 test sources.
       
 14275 ac_ext=f
       
 14276 
       
 14277 # Object file extension for compiled f77 test sources.
       
 14278 objext=o
       
 14279 objext_F77=$objext
       
 14280 
       
 14281 # Code to be used in simple compile tests
       
 14282 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
       
 14283 
       
 14284 # Code to be used in simple link tests
       
 14285 lt_simple_link_test_code="      program t\n      end\n"
       
 14286 
       
 14287 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 14288 
       
 14289 # If no C compiler was specified, use CC.
       
 14290 LTCC=${LTCC-"$CC"}
       
 14291 
       
 14292 # If no C compiler flags were specified, use CFLAGS.
       
 14293 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 14294 
       
 14295 # Allow CC to be a program name with arguments.
       
 14296 compiler=$CC
       
 14297 
       
 14298 
       
 14299 # save warnings/boilerplate of simple test code
       
 14300 ac_outfile=conftest.$ac_objext
       
 14301 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 14302 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 14303 _lt_compiler_boilerplate=`cat conftest.err`
       
 14304 $rm conftest*
       
 14305 
       
 14306 ac_outfile=conftest.$ac_objext
       
 14307 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 14308 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 14309 _lt_linker_boilerplate=`cat conftest.err`
       
 14310 $rm conftest*
       
 14311 
       
 14312 
       
 14313 # Allow CC to be a program name with arguments.
       
 14314 lt_save_CC="$CC"
       
 14315 CC=${F77-"f77"}
       
 14316 compiler=$CC
       
 14317 compiler_F77=$CC
       
 14318 for cc_temp in $compiler""; do
       
 14319   case $cc_temp in
       
 14320     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 14321     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 14322     \-*) ;;
       
 14323     *) break;;
       
 14324   esac
       
 14325 done
       
 14326 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 14327 
       
 14328 
       
 14329 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
       
 14330 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
       
 14331 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
       
 14332 echo "${ECHO_T}$can_build_shared" >&6; }
       
 14333 
       
 14334 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
       
 14335 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
       
 14336 test "$can_build_shared" = "no" && enable_shared=no
       
 14337 
       
 14338 # On AIX, shared libraries and static libraries use the same namespace, and
       
 14339 # are all built from PIC.
       
 14340 case $host_os in
       
 14341 aix3*)
       
 14342   test "$enable_shared" = yes && enable_static=no
       
 14343   if test -n "$RANLIB"; then
       
 14344     archive_cmds="$archive_cmds~\$RANLIB \$lib"
       
 14345     postinstall_cmds='$RANLIB $lib'
       
 14346   fi
       
 14347   ;;
       
 14348 aix4* | aix5*)
       
 14349   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
       
 14350     test "$enable_shared" = yes && enable_static=no
       
 14351   fi
       
 14352   ;;
       
 14353 esac
       
 14354 { echo "$as_me:$LINENO: result: $enable_shared" >&5
       
 14355 echo "${ECHO_T}$enable_shared" >&6; }
       
 14356 
       
 14357 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
       
 14358 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
       
 14359 # Make sure either enable_shared or enable_static is yes.
       
 14360 test "$enable_shared" = yes || enable_static=yes
       
 14361 { echo "$as_me:$LINENO: result: $enable_static" >&5
       
 14362 echo "${ECHO_T}$enable_static" >&6; }
       
 14363 
       
 14364 GCC_F77="$G77"
       
 14365 LD_F77="$LD"
       
 14366 
       
 14367 lt_prog_compiler_wl_F77=
       
 14368 lt_prog_compiler_pic_F77=
       
 14369 lt_prog_compiler_static_F77=
       
 14370 
       
 14371 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 14372 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 14373 
       
 14374   if test "$GCC" = yes; then
       
 14375     lt_prog_compiler_wl_F77='-Wl,'
       
 14376     lt_prog_compiler_static_F77='-static'
       
 14377 
       
 14378     case $host_os in
       
 14379       aix*)
       
 14380       # All AIX code is PIC.
       
 14381       if test "$host_cpu" = ia64; then
       
 14382 	# AIX 5 now supports IA64 processor
       
 14383 	lt_prog_compiler_static_F77='-Bstatic'
       
 14384       fi
       
 14385       ;;
       
 14386 
       
 14387     amigaos*)
       
 14388       # FIXME: we need at least 68020 code to build shared libraries, but
       
 14389       # adding the `-m68020' flag to GCC prevents building anything better,
       
 14390       # like `-m68040'.
       
 14391       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
       
 14392       ;;
       
 14393 
       
 14394     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 14395       # PIC is the default for these OSes.
       
 14396       ;;
       
 14397 
       
 14398     mingw* | pw32* | os2*)
       
 14399       # This hack is so that the source file can tell whether it is being
       
 14400       # built for inclusion in a dll (and should export symbols for example).
       
 14401       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
       
 14402       ;;
       
 14403 
       
 14404     darwin* | rhapsody*)
       
 14405       # PIC is the default on this platform
       
 14406       # Common symbols not allowed in MH_DYLIB files
       
 14407       lt_prog_compiler_pic_F77='-fno-common'
       
 14408       ;;
       
 14409 
       
 14410     interix3*)
       
 14411       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 14412       # Instead, we relocate shared libraries at runtime.
       
 14413       ;;
       
 14414 
       
 14415     msdosdjgpp*)
       
 14416       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
 14417       # on systems that don't support them.
       
 14418       lt_prog_compiler_can_build_shared_F77=no
       
 14419       enable_shared=no
       
 14420       ;;
       
 14421 
       
 14422     sysv4*MP*)
       
 14423       if test -d /usr/nec; then
       
 14424 	lt_prog_compiler_pic_F77=-Kconform_pic
       
 14425       fi
       
 14426       ;;
       
 14427 
       
 14428     hpux*)
       
 14429       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 14430       # not for PA HP-UX.
       
 14431       case $host_cpu in
       
 14432       hppa*64*|ia64*)
       
 14433 	# +Z the default
       
 14434 	;;
       
 14435       *)
       
 14436 	lt_prog_compiler_pic_F77='-fPIC'
       
 14437 	;;
       
 14438       esac
       
 14439       ;;
       
 14440 
       
 14441     *)
       
 14442       lt_prog_compiler_pic_F77='-fPIC'
       
 14443       ;;
       
 14444     esac
       
 14445   else
       
 14446     # PORTME Check for flag to pass linker flags through the system compiler.
       
 14447     case $host_os in
       
 14448     aix*)
       
 14449       lt_prog_compiler_wl_F77='-Wl,'
       
 14450       if test "$host_cpu" = ia64; then
       
 14451 	# AIX 5 now supports IA64 processor
       
 14452 	lt_prog_compiler_static_F77='-Bstatic'
       
 14453       else
       
 14454 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
       
 14455       fi
       
 14456       ;;
       
 14457       darwin*)
       
 14458         # PIC is the default on this platform
       
 14459         # Common symbols not allowed in MH_DYLIB files
       
 14460        case $cc_basename in
       
 14461          xlc*)
       
 14462          lt_prog_compiler_pic_F77='-qnocommon'
       
 14463          lt_prog_compiler_wl_F77='-Wl,'
       
 14464          ;;
       
 14465        esac
       
 14466        ;;
       
 14467 
       
 14468     mingw* | pw32* | os2*)
       
 14469       # This hack is so that the source file can tell whether it is being
       
 14470       # built for inclusion in a dll (and should export symbols for example).
       
 14471       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
       
 14472       ;;
       
 14473 
       
 14474     hpux9* | hpux10* | hpux11*)
       
 14475       lt_prog_compiler_wl_F77='-Wl,'
       
 14476       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 14477       # not for PA HP-UX.
       
 14478       case $host_cpu in
       
 14479       hppa*64*|ia64*)
       
 14480 	# +Z the default
       
 14481 	;;
       
 14482       *)
       
 14483 	lt_prog_compiler_pic_F77='+Z'
       
 14484 	;;
       
 14485       esac
       
 14486       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
 14487       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
       
 14488       ;;
       
 14489 
       
 14490     irix5* | irix6* | nonstopux*)
       
 14491       lt_prog_compiler_wl_F77='-Wl,'
       
 14492       # PIC (with -KPIC) is the default.
       
 14493       lt_prog_compiler_static_F77='-non_shared'
       
 14494       ;;
       
 14495 
       
 14496     newsos6)
       
 14497       lt_prog_compiler_pic_F77='-KPIC'
       
 14498       lt_prog_compiler_static_F77='-Bstatic'
       
 14499       ;;
       
 14500 
       
 14501     linux*)
       
 14502       case $cc_basename in
       
 14503       icc* | ecc*)
       
 14504 	lt_prog_compiler_wl_F77='-Wl,'
       
 14505 	lt_prog_compiler_pic_F77='-KPIC'
       
 14506 	lt_prog_compiler_static_F77='-static'
       
 14507         ;;
       
 14508       pgcc* | pgf77* | pgf90* | pgf95*)
       
 14509         # Portland Group compilers (*not* the Pentium gcc compiler,
       
 14510 	# which looks to be a dead project)
       
 14511 	lt_prog_compiler_wl_F77='-Wl,'
       
 14512 	lt_prog_compiler_pic_F77='-fpic'
       
 14513 	lt_prog_compiler_static_F77='-Bstatic'
       
 14514         ;;
       
 14515       ccc*)
       
 14516         lt_prog_compiler_wl_F77='-Wl,'
       
 14517         # All Alpha code is PIC.
       
 14518         lt_prog_compiler_static_F77='-non_shared'
       
 14519         ;;
       
 14520       esac
       
 14521       ;;
       
 14522 
       
 14523     osf3* | osf4* | osf5*)
       
 14524       lt_prog_compiler_wl_F77='-Wl,'
       
 14525       # All OSF/1 code is PIC.
       
 14526       lt_prog_compiler_static_F77='-non_shared'
       
 14527       ;;
       
 14528 
       
 14529     solaris*)
       
 14530       lt_prog_compiler_pic_F77='-KPIC'
       
 14531       lt_prog_compiler_static_F77='-Bstatic'
       
 14532       case $cc_basename in
       
 14533       f77* | f90* | f95*)
       
 14534 	lt_prog_compiler_wl_F77='-Qoption ld ';;
       
 14535       *)
       
 14536 	lt_prog_compiler_wl_F77='-Wl,';;
       
 14537       esac
       
 14538       ;;
       
 14539 
       
 14540     sunos4*)
       
 14541       lt_prog_compiler_wl_F77='-Qoption ld '
       
 14542       lt_prog_compiler_pic_F77='-PIC'
       
 14543       lt_prog_compiler_static_F77='-Bstatic'
       
 14544       ;;
       
 14545 
       
 14546     sysv4 | sysv4.2uw2* | sysv4.3*)
       
 14547       lt_prog_compiler_wl_F77='-Wl,'
       
 14548       lt_prog_compiler_pic_F77='-KPIC'
       
 14549       lt_prog_compiler_static_F77='-Bstatic'
       
 14550       ;;
       
 14551 
       
 14552     sysv4*MP*)
       
 14553       if test -d /usr/nec ;then
       
 14554 	lt_prog_compiler_pic_F77='-Kconform_pic'
       
 14555 	lt_prog_compiler_static_F77='-Bstatic'
       
 14556       fi
       
 14557       ;;
       
 14558 
       
 14559     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 14560       lt_prog_compiler_wl_F77='-Wl,'
       
 14561       lt_prog_compiler_pic_F77='-KPIC'
       
 14562       lt_prog_compiler_static_F77='-Bstatic'
       
 14563       ;;
       
 14564 
       
 14565     unicos*)
       
 14566       lt_prog_compiler_wl_F77='-Wl,'
       
 14567       lt_prog_compiler_can_build_shared_F77=no
       
 14568       ;;
       
 14569 
       
 14570     uts4*)
       
 14571       lt_prog_compiler_pic_F77='-pic'
       
 14572       lt_prog_compiler_static_F77='-Bstatic'
       
 14573       ;;
       
 14574 
       
 14575     *)
       
 14576       lt_prog_compiler_can_build_shared_F77=no
       
 14577       ;;
       
 14578     esac
       
 14579   fi
       
 14580 
       
 14581 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
       
 14582 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
       
 14583 
       
 14584 #
       
 14585 # Check to make sure the PIC flag actually works.
       
 14586 #
       
 14587 if test -n "$lt_prog_compiler_pic_F77"; then
       
 14588 
       
 14589 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
       
 14590 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
       
 14591 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
       
 14592   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14593 else
       
 14594   lt_prog_compiler_pic_works_F77=no
       
 14595   ac_outfile=conftest.$ac_objext
       
 14596    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 14597    lt_compiler_flag="$lt_prog_compiler_pic_F77"
       
 14598    # Insert the option either (1) after the last *FLAGS variable, or
       
 14599    # (2) before a word containing "conftest.", or (3) at the end.
       
 14600    # Note that $ac_compile itself does not contain backslashes and begins
       
 14601    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 14602    # The option is referenced via a variable to avoid confusing sed.
       
 14603    lt_compile=`echo "$ac_compile" | $SED \
       
 14604    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 14605    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 14606    -e 's:$: $lt_compiler_flag:'`
       
 14607    (eval echo "\"\$as_me:14607: $lt_compile\"" >&5)
       
 14608    (eval "$lt_compile" 2>conftest.err)
       
 14609    ac_status=$?
       
 14610    cat conftest.err >&5
       
 14611    echo "$as_me:14611: \$? = $ac_status" >&5
       
 14612    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 14613      # The compiler can only warn and ignore the option if not recognized
       
 14614      # So say no if there are warnings other than the usual output.
       
 14615      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 14616      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 14617      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 14618        lt_prog_compiler_pic_works_F77=yes
       
 14619      fi
       
 14620    fi
       
 14621    $rm conftest*
       
 14622 
       
 14623 fi
       
 14624 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
       
 14625 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
       
 14626 
       
 14627 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
       
 14628     case $lt_prog_compiler_pic_F77 in
       
 14629      "" | " "*) ;;
       
 14630      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
       
 14631      esac
       
 14632 else
       
 14633     lt_prog_compiler_pic_F77=
       
 14634      lt_prog_compiler_can_build_shared_F77=no
       
 14635 fi
       
 14636 
       
 14637 fi
       
 14638 case $host_os in
       
 14639   # For platforms which do not support PIC, -DPIC is meaningless:
       
 14640   *djgpp*)
       
 14641     lt_prog_compiler_pic_F77=
       
 14642     ;;
       
 14643   *)
       
 14644     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
       
 14645     ;;
       
 14646 esac
       
 14647 
       
 14648 #
       
 14649 # Check to make sure the static flag actually works.
       
 14650 #
       
 14651 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
       
 14652 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 14653 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 14654 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
       
 14655   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14656 else
       
 14657   lt_prog_compiler_static_works_F77=no
       
 14658    save_LDFLAGS="$LDFLAGS"
       
 14659    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 14660    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 14661    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 14662      # The linker can only warn and ignore the option if not recognized
       
 14663      # So say no if there are warnings
       
 14664      if test -s conftest.err; then
       
 14665        # Append any errors to the config.log.
       
 14666        cat conftest.err 1>&5
       
 14667        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 14668        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 14669        if diff conftest.exp conftest.er2 >/dev/null; then
       
 14670          lt_prog_compiler_static_works_F77=yes
       
 14671        fi
       
 14672      else
       
 14673        lt_prog_compiler_static_works_F77=yes
       
 14674      fi
       
 14675    fi
       
 14676    $rm conftest*
       
 14677    LDFLAGS="$save_LDFLAGS"
       
 14678 
       
 14679 fi
       
 14680 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
       
 14681 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
       
 14682 
       
 14683 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
       
 14684     :
       
 14685 else
       
 14686     lt_prog_compiler_static_F77=
       
 14687 fi
       
 14688 
       
 14689 
       
 14690 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 14691 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 14692 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
       
 14693   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 14694 else
       
 14695   lt_cv_prog_compiler_c_o_F77=no
       
 14696    $rm -r conftest 2>/dev/null
       
 14697    mkdir conftest
       
 14698    cd conftest
       
 14699    mkdir out
       
 14700    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 14701 
       
 14702    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 14703    # Insert the option either (1) after the last *FLAGS variable, or
       
 14704    # (2) before a word containing "conftest.", or (3) at the end.
       
 14705    # Note that $ac_compile itself does not contain backslashes and begins
       
 14706    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 14707    lt_compile=`echo "$ac_compile" | $SED \
       
 14708    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 14709    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 14710    -e 's:$: $lt_compiler_flag:'`
       
 14711    (eval echo "\"\$as_me:14711: $lt_compile\"" >&5)
       
 14712    (eval "$lt_compile" 2>out/conftest.err)
       
 14713    ac_status=$?
       
 14714    cat out/conftest.err >&5
       
 14715    echo "$as_me:14715: \$? = $ac_status" >&5
       
 14716    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 14717    then
       
 14718      # The compiler can only warn and ignore the option if not recognized
       
 14719      # So say no if there are warnings
       
 14720      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 14721      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 14722      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 14723        lt_cv_prog_compiler_c_o_F77=yes
       
 14724      fi
       
 14725    fi
       
 14726    chmod u+w . 2>&5
       
 14727    $rm conftest*
       
 14728    # SGI C++ compiler will create directory out/ii_files/ for
       
 14729    # template instantiation
       
 14730    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 14731    $rm out/* && rmdir out
       
 14732    cd ..
       
 14733    rmdir conftest
       
 14734    $rm conftest*
       
 14735 
       
 14736 fi
       
 14737 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
       
 14738 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
       
 14739 
       
 14740 
       
 14741 hard_links="nottested"
       
 14742 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
       
 14743   # do not overwrite the value of need_locks provided by the user
       
 14744   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 14745 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 14746   hard_links=yes
       
 14747   $rm conftest*
       
 14748   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 14749   touch conftest.a
       
 14750   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 14751   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 14752   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 14753 echo "${ECHO_T}$hard_links" >&6; }
       
 14754   if test "$hard_links" = no; then
       
 14755     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 14756 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 14757     need_locks=warn
       
 14758   fi
       
 14759 else
       
 14760   need_locks=no
       
 14761 fi
       
 14762 
       
 14763 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 14764 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 14765 
       
 14766   runpath_var=
       
 14767   allow_undefined_flag_F77=
       
 14768   enable_shared_with_static_runtimes_F77=no
       
 14769   archive_cmds_F77=
       
 14770   archive_expsym_cmds_F77=
       
 14771   old_archive_From_new_cmds_F77=
       
 14772   old_archive_from_expsyms_cmds_F77=
       
 14773   export_dynamic_flag_spec_F77=
       
 14774   whole_archive_flag_spec_F77=
       
 14775   thread_safe_flag_spec_F77=
       
 14776   hardcode_libdir_flag_spec_F77=
       
 14777   hardcode_libdir_flag_spec_ld_F77=
       
 14778   hardcode_libdir_separator_F77=
       
 14779   hardcode_direct_F77=no
       
 14780   hardcode_minus_L_F77=no
       
 14781   hardcode_shlibpath_var_F77=unsupported
       
 14782   link_all_deplibs_F77=unknown
       
 14783   hardcode_automatic_F77=no
       
 14784   module_cmds_F77=
       
 14785   module_expsym_cmds_F77=
       
 14786   always_export_symbols_F77=no
       
 14787   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 14788   # include_expsyms should be a list of space-separated symbols to be *always*
       
 14789   # included in the symbol list
       
 14790   include_expsyms_F77=
       
 14791   # exclude_expsyms can be an extended regexp of symbols to exclude
       
 14792   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
 14793   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
 14794   # as well as any symbol that contains `d'.
       
 14795   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
       
 14796   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
 14797   # platforms (ab)use it in PIC code, but their linkers get confused if
       
 14798   # the symbol is explicitly referenced.  Since portable code cannot
       
 14799   # rely on this symbol name, it's probably fine to never include it in
       
 14800   # preloaded symbol tables.
       
 14801   extract_expsyms_cmds=
       
 14802   # Just being paranoid about ensuring that cc_basename is set.
       
 14803   for cc_temp in $compiler""; do
       
 14804   case $cc_temp in
       
 14805     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 14806     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 14807     \-*) ;;
       
 14808     *) break;;
       
 14809   esac
       
 14810 done
       
 14811 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 14812 
       
 14813   case $host_os in
       
 14814   cygwin* | mingw* | pw32*)
       
 14815     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
 14816     # When not using gcc, we currently assume that we are using
       
 14817     # Microsoft Visual C++.
       
 14818     if test "$GCC" != yes; then
       
 14819       with_gnu_ld=no
       
 14820     fi
       
 14821     ;;
       
 14822   interix*)
       
 14823     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
 14824     with_gnu_ld=yes
       
 14825     ;;
       
 14826   openbsd*)
       
 14827     with_gnu_ld=no
       
 14828     ;;
       
 14829   esac
       
 14830 
       
 14831   ld_shlibs_F77=yes
       
 14832   if test "$with_gnu_ld" = yes; then
       
 14833     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 14834     wlarc='${wl}'
       
 14835 
       
 14836     # Set some defaults for GNU ld with shared library support. These
       
 14837     # are reset later if shared libraries are not supported. Putting them
       
 14838     # here allows them to be overridden if necessary.
       
 14839     runpath_var=LD_RUN_PATH
       
 14840     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
       
 14841     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
       
 14842     # ancient GNU ld didn't support --whole-archive et. al.
       
 14843     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
 14844 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 14845       else
       
 14846   	whole_archive_flag_spec_F77=
       
 14847     fi
       
 14848     supports_anon_versioning=no
       
 14849     case `$LD -v 2>/dev/null` in
       
 14850       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 14851       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 14852       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 14853       *\ 2.11.*) ;; # other 2.11 versions
       
 14854       *) supports_anon_versioning=yes ;;
       
 14855     esac
       
 14856 
       
 14857     # See if GNU ld supports shared libraries.
       
 14858     case $host_os in
       
 14859     aix3* | aix4* | aix5*)
       
 14860       # On AIX/PPC, the GNU linker is very broken
       
 14861       if test "$host_cpu" != ia64; then
       
 14862 	ld_shlibs_F77=no
       
 14863 	cat <<EOF 1>&2
       
 14864 
       
 14865 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
 14866 *** to be unable to reliably create shared libraries on AIX.
       
 14867 *** Therefore, libtool is disabling shared libraries support.  If you
       
 14868 *** really care for shared libraries, you may want to modify your PATH
       
 14869 *** so that a non-GNU linker is found, and then restart.
       
 14870 
       
 14871 EOF
       
 14872       fi
       
 14873       ;;
       
 14874 
       
 14875     amigaos*)
       
 14876       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)'
       
 14877       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14878       hardcode_minus_L_F77=yes
       
 14879 
       
 14880       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
 14881       # that the semantics of dynamic libraries on AmigaOS, at least up
       
 14882       # to version 4, is to share data among multiple programs linked
       
 14883       # with the same dynamic library.  Since this doesn't match the
       
 14884       # behavior of shared libraries on other platforms, we can't use
       
 14885       # them.
       
 14886       ld_shlibs_F77=no
       
 14887       ;;
       
 14888 
       
 14889     beos*)
       
 14890       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14891 	allow_undefined_flag_F77=unsupported
       
 14892 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 14893 	# support --undefined.  This deserves some investigation.  FIXME
       
 14894 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14895       else
       
 14896 	ld_shlibs_F77=no
       
 14897       fi
       
 14898       ;;
       
 14899 
       
 14900     cygwin* | mingw* | pw32*)
       
 14901       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
       
 14902       # as there is no search path for DLLs.
       
 14903       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 14904       allow_undefined_flag_F77=unsupported
       
 14905       always_export_symbols_F77=no
       
 14906       enable_shared_with_static_runtimes_F77=yes
       
 14907       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
 14908 
       
 14909       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 14910         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 14911 	# If the export-symbols file already is a .def file (1st line
       
 14912 	# is EXPORTS), use it as is; otherwise, prepend...
       
 14913 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 14914 	  cp $export_symbols $output_objdir/$soname.def;
       
 14915 	else
       
 14916 	  echo EXPORTS > $output_objdir/$soname.def;
       
 14917 	  cat $export_symbols >> $output_objdir/$soname.def;
       
 14918 	fi~
       
 14919 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 14920       else
       
 14921 	ld_shlibs_F77=no
       
 14922       fi
       
 14923       ;;
       
 14924 
       
 14925     interix3*)
       
 14926       hardcode_direct_F77=no
       
 14927       hardcode_shlibpath_var_F77=no
       
 14928       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 14929       export_dynamic_flag_spec_F77='${wl}-E'
       
 14930       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 14931       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 14932       # default) and relocated if they conflict, which is a slow very memory
       
 14933       # consuming and fragmenting process.  To avoid this, we pick a random,
       
 14934       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 14935       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 14936       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'
       
 14937       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'
       
 14938       ;;
       
 14939 
       
 14940     linux*)
       
 14941       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14942 	tmp_addflag=
       
 14943 	case $cc_basename,$host_cpu in
       
 14944 	pgcc*)				# Portland Group C compiler
       
 14945 	  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'
       
 14946 	  tmp_addflag=' $pic_flag'
       
 14947 	  ;;
       
 14948 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
 14949 	  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'
       
 14950 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
 14951 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
 14952 	  tmp_addflag=' -i_dynamic' ;;
       
 14953 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
 14954 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
 14955 	ifc* | ifort*)			# Intel Fortran compiler
       
 14956 	  tmp_addflag=' -nofor_main' ;;
       
 14957 	esac
       
 14958 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14959 
       
 14960 	if test $supports_anon_versioning = yes; then
       
 14961 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
       
 14962   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 14963   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 14964 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 14965 	fi
       
 14966       else
       
 14967 	ld_shlibs_F77=no
       
 14968       fi
       
 14969       ;;
       
 14970 
       
 14971     netbsd*)
       
 14972       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 14973 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
 14974 	wlarc=
       
 14975       else
       
 14976 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14977 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 14978       fi
       
 14979       ;;
       
 14980 
       
 14981     solaris*)
       
 14982       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
 14983 	ld_shlibs_F77=no
       
 14984 	cat <<EOF 1>&2
       
 14985 
       
 14986 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
 14987 *** create shared libraries on Solaris systems.  Therefore, libtool
       
 14988 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 14989 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
 14990 *** your PATH or compiler configuration so that the native linker is
       
 14991 *** used, and then restart.
       
 14992 
       
 14993 EOF
       
 14994       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 14995 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 14996 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 14997       else
       
 14998 	ld_shlibs_F77=no
       
 14999       fi
       
 15000       ;;
       
 15001 
       
 15002     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
 15003       case `$LD -v 2>&1` in
       
 15004         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
 15005 	ld_shlibs_F77=no
       
 15006 	cat <<_LT_EOF 1>&2
       
 15007 
       
 15008 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
 15009 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
 15010 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 15011 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
 15012 *** your PATH or compiler configuration so that the native linker is
       
 15013 *** used, and then restart.
       
 15014 
       
 15015 _LT_EOF
       
 15016 	;;
       
 15017 	*)
       
 15018 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 15019 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
 15020 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
 15021 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
 15022 	  else
       
 15023 	    ld_shlibs_F77=no
       
 15024 	  fi
       
 15025 	;;
       
 15026       esac
       
 15027       ;;
       
 15028 
       
 15029     sunos4*)
       
 15030       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 15031       wlarc=
       
 15032       hardcode_direct_F77=yes
       
 15033       hardcode_shlibpath_var_F77=no
       
 15034       ;;
       
 15035 
       
 15036     *)
       
 15037       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 15038 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 15039 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 15040       else
       
 15041 	ld_shlibs_F77=no
       
 15042       fi
       
 15043       ;;
       
 15044     esac
       
 15045 
       
 15046     if test "$ld_shlibs_F77" = no; then
       
 15047       runpath_var=
       
 15048       hardcode_libdir_flag_spec_F77=
       
 15049       export_dynamic_flag_spec_F77=
       
 15050       whole_archive_flag_spec_F77=
       
 15051     fi
       
 15052   else
       
 15053     # PORTME fill in a description of your system's linker (not GNU ld)
       
 15054     case $host_os in
       
 15055     aix3*)
       
 15056       allow_undefined_flag_F77=unsupported
       
 15057       always_export_symbols_F77=yes
       
 15058       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'
       
 15059       # Note: this linker hardcodes the directories in LIBPATH if there
       
 15060       # are no directories specified by -L.
       
 15061       hardcode_minus_L_F77=yes
       
 15062       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
 15063 	# Neither direct hardcoding nor static linking is supported with a
       
 15064 	# broken collect2.
       
 15065 	hardcode_direct_F77=unsupported
       
 15066       fi
       
 15067       ;;
       
 15068 
       
 15069     aix4* | aix5*)
       
 15070       if test "$host_cpu" = ia64; then
       
 15071 	# On IA64, the linker does run time linking by default, so we don't
       
 15072 	# have to do anything special.
       
 15073 	aix_use_runtimelinking=no
       
 15074 	exp_sym_flag='-Bexport'
       
 15075 	no_entry_flag=""
       
 15076       else
       
 15077 	# If we're using GNU nm, then we don't want the "-C" option.
       
 15078 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 15079 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 15080 	  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'
       
 15081 	else
       
 15082 	  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'
       
 15083 	fi
       
 15084 	aix_use_runtimelinking=no
       
 15085 
       
 15086 	# Test if we are trying to use run time linking or normal
       
 15087 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 15088 	# need to do runtime linking.
       
 15089 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 15090 	  for ld_flag in $LDFLAGS; do
       
 15091   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
 15092   	    aix_use_runtimelinking=yes
       
 15093   	    break
       
 15094   	  fi
       
 15095 	  done
       
 15096 	  ;;
       
 15097 	esac
       
 15098 
       
 15099 	exp_sym_flag='-bexport'
       
 15100 	no_entry_flag='-bnoentry'
       
 15101       fi
       
 15102 
       
 15103       # When large executables or shared objects are built, AIX ld can
       
 15104       # have problems creating the table of contents.  If linking a library
       
 15105       # or program results in "error TOC overflow" add -mminimal-toc to
       
 15106       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 15107       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 15108 
       
 15109       archive_cmds_F77=''
       
 15110       hardcode_direct_F77=yes
       
 15111       hardcode_libdir_separator_F77=':'
       
 15112       link_all_deplibs_F77=yes
       
 15113 
       
 15114       if test "$GCC" = yes; then
       
 15115 	case $host_os in aix4.[012]|aix4.[012].*)
       
 15116 	# We only want to do this on AIX 4.2 and lower, the check
       
 15117 	# below for broken collect2 doesn't work under 4.3+
       
 15118 	  collect2name=`${CC} -print-prog-name=collect2`
       
 15119 	  if test -f "$collect2name" && \
       
 15120   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 15121 	  then
       
 15122   	  # We have reworked collect2
       
 15123   	  hardcode_direct_F77=yes
       
 15124 	  else
       
 15125   	  # We have old collect2
       
 15126   	  hardcode_direct_F77=unsupported
       
 15127   	  # It fails to find uninstalled libraries when the uninstalled
       
 15128   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 15129   	  # to unsupported forces relinking
       
 15130   	  hardcode_minus_L_F77=yes
       
 15131   	  hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15132   	  hardcode_libdir_separator_F77=
       
 15133 	  fi
       
 15134 	  ;;
       
 15135 	esac
       
 15136 	shared_flag='-shared'
       
 15137 	if test "$aix_use_runtimelinking" = yes; then
       
 15138 	  shared_flag="$shared_flag "'${wl}-G'
       
 15139 	fi
       
 15140       else
       
 15141 	# not using gcc
       
 15142 	if test "$host_cpu" = ia64; then
       
 15143   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 15144   	# chokes on -Wl,-G. The following line is correct:
       
 15145 	  shared_flag='-G'
       
 15146 	else
       
 15147 	  if test "$aix_use_runtimelinking" = yes; then
       
 15148 	    shared_flag='${wl}-G'
       
 15149 	  else
       
 15150 	    shared_flag='${wl}-bM:SRE'
       
 15151 	  fi
       
 15152 	fi
       
 15153       fi
       
 15154 
       
 15155       # It seems that -bexpall does not export symbols beginning with
       
 15156       # underscore (_), so it is better to generate a list of symbols to export.
       
 15157       always_export_symbols_F77=yes
       
 15158       if test "$aix_use_runtimelinking" = yes; then
       
 15159 	# Warning - without using the other runtime loading flags (-brtl),
       
 15160 	# -berok will link without error, but may produce a broken library.
       
 15161 	allow_undefined_flag_F77='-berok'
       
 15162        # Determine the default libpath from the value encoded in an empty executable.
       
 15163        cat >conftest.$ac_ext <<_ACEOF
       
 15164       program main
       
 15165 
       
 15166       end
       
 15167 _ACEOF
       
 15168 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15169 if { (ac_try="$ac_link"
       
 15170 case "(($ac_try" in
       
 15171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15172   *) ac_try_echo=$ac_try;;
       
 15173 esac
       
 15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15175   (eval "$ac_link") 2>conftest.er1
       
 15176   ac_status=$?
       
 15177   grep -v '^ *+' conftest.er1 >conftest.err
       
 15178   rm -f conftest.er1
       
 15179   cat conftest.err >&5
       
 15180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15181   (exit $ac_status); } &&
       
 15182 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
 15183   { (case "(($ac_try" in
       
 15184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15185   *) ac_try_echo=$ac_try;;
       
 15186 esac
       
 15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15188   (eval "$ac_try") 2>&5
       
 15189   ac_status=$?
       
 15190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15191   (exit $ac_status); }; } &&
       
 15192 	 { ac_try='test -s conftest$ac_exeext'
       
 15193   { (case "(($ac_try" in
       
 15194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15195   *) ac_try_echo=$ac_try;;
       
 15196 esac
       
 15197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15198   (eval "$ac_try") 2>&5
       
 15199   ac_status=$?
       
 15200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15201   (exit $ac_status); }; }; then
       
 15202 
       
 15203 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 15204 }'`
       
 15205 # Check for a 64-bit object if we didn't find anything.
       
 15206 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; }
       
 15207 }'`; fi
       
 15208 else
       
 15209   echo "$as_me: failed program was:" >&5
       
 15210 sed 's/^/| /' conftest.$ac_ext >&5
       
 15211 
       
 15212 
       
 15213 fi
       
 15214 
       
 15215 rm -f core conftest.err conftest.$ac_objext \
       
 15216       conftest$ac_exeext conftest.$ac_ext
       
 15217 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 15218 
       
 15219        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 15220 	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"
       
 15221        else
       
 15222 	if test "$host_cpu" = ia64; then
       
 15223 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
       
 15224 	  allow_undefined_flag_F77="-z nodefs"
       
 15225 	  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"
       
 15226 	else
       
 15227 	 # Determine the default libpath from the value encoded in an empty executable.
       
 15228 	 cat >conftest.$ac_ext <<_ACEOF
       
 15229       program main
       
 15230 
       
 15231       end
       
 15232 _ACEOF
       
 15233 rm -f conftest.$ac_objext conftest$ac_exeext
       
 15234 if { (ac_try="$ac_link"
       
 15235 case "(($ac_try" in
       
 15236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15237   *) ac_try_echo=$ac_try;;
       
 15238 esac
       
 15239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15240   (eval "$ac_link") 2>conftest.er1
       
 15241   ac_status=$?
       
 15242   grep -v '^ *+' conftest.er1 >conftest.err
       
 15243   rm -f conftest.er1
       
 15244   cat conftest.err >&5
       
 15245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15246   (exit $ac_status); } &&
       
 15247 	 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
       
 15248   { (case "(($ac_try" in
       
 15249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15250   *) ac_try_echo=$ac_try;;
       
 15251 esac
       
 15252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15253   (eval "$ac_try") 2>&5
       
 15254   ac_status=$?
       
 15255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15256   (exit $ac_status); }; } &&
       
 15257 	 { ac_try='test -s conftest$ac_exeext'
       
 15258   { (case "(($ac_try" in
       
 15259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 15260   *) ac_try_echo=$ac_try;;
       
 15261 esac
       
 15262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 15263   (eval "$ac_try") 2>&5
       
 15264   ac_status=$?
       
 15265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15266   (exit $ac_status); }; }; then
       
 15267 
       
 15268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 15269 }'`
       
 15270 # Check for a 64-bit object if we didn't find anything.
       
 15271 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; }
       
 15272 }'`; fi
       
 15273 else
       
 15274   echo "$as_me: failed program was:" >&5
       
 15275 sed 's/^/| /' conftest.$ac_ext >&5
       
 15276 
       
 15277 
       
 15278 fi
       
 15279 
       
 15280 rm -f core conftest.err conftest.$ac_objext \
       
 15281       conftest$ac_exeext conftest.$ac_ext
       
 15282 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 15283 
       
 15284 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 15285 	  # Warning - without using the other run time loading flags,
       
 15286 	  # -berok will link without error, but may produce a broken library.
       
 15287 	  no_undefined_flag_F77=' ${wl}-bernotok'
       
 15288 	  allow_undefined_flag_F77=' ${wl}-berok'
       
 15289 	  # Exported symbols can be pulled into shared objects from archives
       
 15290 	  whole_archive_flag_spec_F77='$convenience'
       
 15291 	  archive_cmds_need_lc_F77=yes
       
 15292 	  # This is similar to how AIX traditionally builds its shared libraries.
       
 15293 	  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'
       
 15294 	fi
       
 15295       fi
       
 15296       ;;
       
 15297 
       
 15298     amigaos*)
       
 15299       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)'
       
 15300       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15301       hardcode_minus_L_F77=yes
       
 15302       # see comment about different semantics on the GNU ld section
       
 15303       ld_shlibs_F77=no
       
 15304       ;;
       
 15305 
       
 15306     bsdi[45]*)
       
 15307       export_dynamic_flag_spec_F77=-rdynamic
       
 15308       ;;
       
 15309 
       
 15310     cygwin* | mingw* | pw32*)
       
 15311       # When not using gcc, we currently assume that we are using
       
 15312       # Microsoft Visual C++.
       
 15313       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
 15314       # no search path for DLLs.
       
 15315       hardcode_libdir_flag_spec_F77=' '
       
 15316       allow_undefined_flag_F77=unsupported
       
 15317       # Tell ltmain to make .lib files, not .a files.
       
 15318       libext=lib
       
 15319       # Tell ltmain to make .dll files, not .so files.
       
 15320       shrext_cmds=".dll"
       
 15321       # FIXME: Setting linknames here is a bad hack.
       
 15322       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
 15323       # The linker will automatically build a .lib file if we build a DLL.
       
 15324       old_archive_From_new_cmds_F77='true'
       
 15325       # FIXME: Should let the user specify the lib program.
       
 15326       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
 15327       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
       
 15328       enable_shared_with_static_runtimes_F77=yes
       
 15329       ;;
       
 15330 
       
 15331     darwin* | rhapsody*)
       
 15332       case $host_os in
       
 15333         rhapsody* | darwin1.[012])
       
 15334          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
       
 15335          ;;
       
 15336        *) # Darwin 1.3 on
       
 15337          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 15338            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 15339          else
       
 15340            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 15341              10.[012])
       
 15342                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 15343                ;;
       
 15344              10.*)
       
 15345                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
       
 15346                ;;
       
 15347            esac
       
 15348          fi
       
 15349          ;;
       
 15350       esac
       
 15351       archive_cmds_need_lc_F77=no
       
 15352       hardcode_direct_F77=no
       
 15353       hardcode_automatic_F77=yes
       
 15354       hardcode_shlibpath_var_F77=unsupported
       
 15355       whole_archive_flag_spec_F77=''
       
 15356       link_all_deplibs_F77=yes
       
 15357     if test "$GCC" = yes ; then
       
 15358     	output_verbose_link_cmd='echo'
       
 15359         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 15360       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 15361       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 15362       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}'
       
 15363       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}'
       
 15364     else
       
 15365       case $cc_basename in
       
 15366         xlc*)
       
 15367          output_verbose_link_cmd='echo'
       
 15368          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
 15369          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 15370           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 15371          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}'
       
 15372           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}'
       
 15373           ;;
       
 15374        *)
       
 15375          ld_shlibs_F77=no
       
 15376           ;;
       
 15377       esac
       
 15378     fi
       
 15379       ;;
       
 15380 
       
 15381     dgux*)
       
 15382       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15383       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15384       hardcode_shlibpath_var_F77=no
       
 15385       ;;
       
 15386 
       
 15387     freebsd1*)
       
 15388       ld_shlibs_F77=no
       
 15389       ;;
       
 15390 
       
 15391     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
 15392     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
 15393     # does not break anything, and helps significantly (at the cost of a little
       
 15394     # extra space).
       
 15395     freebsd2.2*)
       
 15396       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
 15397       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15398       hardcode_direct_F77=yes
       
 15399       hardcode_shlibpath_var_F77=no
       
 15400       ;;
       
 15401 
       
 15402     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
 15403     freebsd2*)
       
 15404       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 15405       hardcode_direct_F77=yes
       
 15406       hardcode_minus_L_F77=yes
       
 15407       hardcode_shlibpath_var_F77=no
       
 15408       ;;
       
 15409 
       
 15410     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
 15411     freebsd* | kfreebsd*-gnu | dragonfly*)
       
 15412       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
 15413       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15414       hardcode_direct_F77=yes
       
 15415       hardcode_shlibpath_var_F77=no
       
 15416       ;;
       
 15417 
       
 15418     hpux9*)
       
 15419       if test "$GCC" = yes; then
       
 15420 	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'
       
 15421       else
       
 15422 	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'
       
 15423       fi
       
 15424       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15425       hardcode_libdir_separator_F77=:
       
 15426       hardcode_direct_F77=yes
       
 15427 
       
 15428       # hardcode_minus_L: Not really in the search PATH,
       
 15429       # but as the default location of the library.
       
 15430       hardcode_minus_L_F77=yes
       
 15431       export_dynamic_flag_spec_F77='${wl}-E'
       
 15432       ;;
       
 15433 
       
 15434     hpux10*)
       
 15435       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 15436 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15437       else
       
 15438 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
 15439       fi
       
 15440       if test "$with_gnu_ld" = no; then
       
 15441 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15442 	hardcode_libdir_separator_F77=:
       
 15443 
       
 15444 	hardcode_direct_F77=yes
       
 15445 	export_dynamic_flag_spec_F77='${wl}-E'
       
 15446 
       
 15447 	# hardcode_minus_L: Not really in the search PATH,
       
 15448 	# but as the default location of the library.
       
 15449 	hardcode_minus_L_F77=yes
       
 15450       fi
       
 15451       ;;
       
 15452 
       
 15453     hpux11*)
       
 15454       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 15455 	case $host_cpu in
       
 15456 	hppa*64*)
       
 15457 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15458 	  ;;
       
 15459 	ia64*)
       
 15460 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 15461 	  ;;
       
 15462 	*)
       
 15463 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15464 	  ;;
       
 15465 	esac
       
 15466       else
       
 15467 	case $host_cpu in
       
 15468 	hppa*64*)
       
 15469 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15470 	  ;;
       
 15471 	ia64*)
       
 15472 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 15473 	  ;;
       
 15474 	*)
       
 15475 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 15476 	  ;;
       
 15477 	esac
       
 15478       fi
       
 15479       if test "$with_gnu_ld" = no; then
       
 15480 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
       
 15481 	hardcode_libdir_separator_F77=:
       
 15482 
       
 15483 	case $host_cpu in
       
 15484 	hppa*64*|ia64*)
       
 15485 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
       
 15486 	  hardcode_direct_F77=no
       
 15487 	  hardcode_shlibpath_var_F77=no
       
 15488 	  ;;
       
 15489 	*)
       
 15490 	  hardcode_direct_F77=yes
       
 15491 	  export_dynamic_flag_spec_F77='${wl}-E'
       
 15492 
       
 15493 	  # hardcode_minus_L: Not really in the search PATH,
       
 15494 	  # but as the default location of the library.
       
 15495 	  hardcode_minus_L_F77=yes
       
 15496 	  ;;
       
 15497 	esac
       
 15498       fi
       
 15499       ;;
       
 15500 
       
 15501     irix5* | irix6* | nonstopux*)
       
 15502       if test "$GCC" = yes; then
       
 15503 	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'
       
 15504       else
       
 15505 	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'
       
 15506 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
       
 15507       fi
       
 15508       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15509       hardcode_libdir_separator_F77=:
       
 15510       link_all_deplibs_F77=yes
       
 15511       ;;
       
 15512 
       
 15513     netbsd*)
       
 15514       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 15515 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
 15516       else
       
 15517 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
 15518       fi
       
 15519       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15520       hardcode_direct_F77=yes
       
 15521       hardcode_shlibpath_var_F77=no
       
 15522       ;;
       
 15523 
       
 15524     newsos6)
       
 15525       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15526       hardcode_direct_F77=yes
       
 15527       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15528       hardcode_libdir_separator_F77=:
       
 15529       hardcode_shlibpath_var_F77=no
       
 15530       ;;
       
 15531 
       
 15532     openbsd*)
       
 15533       hardcode_direct_F77=yes
       
 15534       hardcode_shlibpath_var_F77=no
       
 15535       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 15536 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 15537 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
 15538 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 15539 	export_dynamic_flag_spec_F77='${wl}-E'
       
 15540       else
       
 15541        case $host_os in
       
 15542 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
 15543 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 15544 	   hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15545 	   ;;
       
 15546 	 *)
       
 15547 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 15548 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
       
 15549 	   ;;
       
 15550        esac
       
 15551       fi
       
 15552       ;;
       
 15553 
       
 15554     os2*)
       
 15555       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15556       hardcode_minus_L_F77=yes
       
 15557       allow_undefined_flag_F77=unsupported
       
 15558       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'
       
 15559       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
 15560       ;;
       
 15561 
       
 15562     osf3*)
       
 15563       if test "$GCC" = yes; then
       
 15564 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
       
 15565 	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'
       
 15566       else
       
 15567 	allow_undefined_flag_F77=' -expect_unresolved \*'
       
 15568 	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'
       
 15569       fi
       
 15570       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15571       hardcode_libdir_separator_F77=:
       
 15572       ;;
       
 15573 
       
 15574     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
 15575       if test "$GCC" = yes; then
       
 15576 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
       
 15577 	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'
       
 15578 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
       
 15579       else
       
 15580 	allow_undefined_flag_F77=' -expect_unresolved \*'
       
 15581 	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'
       
 15582 	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~
       
 15583 	$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'
       
 15584 
       
 15585 	# Both c and cxx compiler support -rpath directly
       
 15586 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
       
 15587       fi
       
 15588       hardcode_libdir_separator_F77=:
       
 15589       ;;
       
 15590 
       
 15591     solaris*)
       
 15592       no_undefined_flag_F77=' -z text'
       
 15593       if test "$GCC" = yes; then
       
 15594 	wlarc='${wl}'
       
 15595 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15596 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 15597 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
 15598       else
       
 15599 	wlarc=''
       
 15600 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15601 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 15602   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
 15603       fi
       
 15604       hardcode_libdir_flag_spec_F77='-R$libdir'
       
 15605       hardcode_shlibpath_var_F77=no
       
 15606       case $host_os in
       
 15607       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 15608       *)
       
 15609  	# The compiler driver will combine linker options so we
       
 15610  	# cannot just pass the convience library names through
       
 15611  	# without $wl, iff we do not link with $LD.
       
 15612  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
 15613  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
 15614  	case $wlarc in
       
 15615  	'')
       
 15616  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
       
 15617  	*)
       
 15618  	  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' ;;
       
 15619  	esac ;;
       
 15620       esac
       
 15621       link_all_deplibs_F77=yes
       
 15622       ;;
       
 15623 
       
 15624     sunos4*)
       
 15625       if test "x$host_vendor" = xsequent; then
       
 15626 	# Use $CC to link under sequent, because it throws in some extra .o
       
 15627 	# files that make .init and .fini sections work.
       
 15628 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15629       else
       
 15630 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
 15631       fi
       
 15632       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15633       hardcode_direct_F77=yes
       
 15634       hardcode_minus_L_F77=yes
       
 15635       hardcode_shlibpath_var_F77=no
       
 15636       ;;
       
 15637 
       
 15638     sysv4)
       
 15639       case $host_vendor in
       
 15640 	sni)
       
 15641 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15642 	  hardcode_direct_F77=yes # is this really true???
       
 15643 	;;
       
 15644 	siemens)
       
 15645 	  ## LD is ld it makes a PLAMLIB
       
 15646 	  ## CC just makes a GrossModule.
       
 15647 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
 15648 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
       
 15649 	  hardcode_direct_F77=no
       
 15650         ;;
       
 15651 	motorola)
       
 15652 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15653 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
       
 15654 	;;
       
 15655       esac
       
 15656       runpath_var='LD_RUN_PATH'
       
 15657       hardcode_shlibpath_var_F77=no
       
 15658       ;;
       
 15659 
       
 15660     sysv4.3*)
       
 15661       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15662       hardcode_shlibpath_var_F77=no
       
 15663       export_dynamic_flag_spec_F77='-Bexport'
       
 15664       ;;
       
 15665 
       
 15666     sysv4*MP*)
       
 15667       if test -d /usr/nec; then
       
 15668 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15669 	hardcode_shlibpath_var_F77=no
       
 15670 	runpath_var=LD_RUN_PATH
       
 15671 	hardcode_runpath_var=yes
       
 15672 	ld_shlibs_F77=yes
       
 15673       fi
       
 15674       ;;
       
 15675 
       
 15676     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
 15677       no_undefined_flag_F77='${wl}-z,text'
       
 15678       archive_cmds_need_lc_F77=no
       
 15679       hardcode_shlibpath_var_F77=no
       
 15680       runpath_var='LD_RUN_PATH'
       
 15681 
       
 15682       if test "$GCC" = yes; then
       
 15683 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15684 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15685       else
       
 15686 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15687 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15688       fi
       
 15689       ;;
       
 15690 
       
 15691     sysv5* | sco3.2v5* | sco5v6*)
       
 15692       # Note: We can NOT use -z defs as we might desire, because we do not
       
 15693       # link with -lc, and that would cause any symbols used from libc to
       
 15694       # always be unresolved, which means just about no library would
       
 15695       # ever link correctly.  If we're not using GNU ld we use -z text
       
 15696       # though, which does catch some bad symbols but isn't as heavy-handed
       
 15697       # as -z defs.
       
 15698       no_undefined_flag_F77='${wl}-z,text'
       
 15699       allow_undefined_flag_F77='${wl}-z,nodefs'
       
 15700       archive_cmds_need_lc_F77=no
       
 15701       hardcode_shlibpath_var_F77=no
       
 15702       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 15703       hardcode_libdir_separator_F77=':'
       
 15704       link_all_deplibs_F77=yes
       
 15705       export_dynamic_flag_spec_F77='${wl}-Bexport'
       
 15706       runpath_var='LD_RUN_PATH'
       
 15707 
       
 15708       if test "$GCC" = yes; then
       
 15709 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15710 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15711       else
       
 15712 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15713 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 15714       fi
       
 15715       ;;
       
 15716 
       
 15717     uts4*)
       
 15718       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 15719       hardcode_libdir_flag_spec_F77='-L$libdir'
       
 15720       hardcode_shlibpath_var_F77=no
       
 15721       ;;
       
 15722 
       
 15723     *)
       
 15724       ld_shlibs_F77=no
       
 15725       ;;
       
 15726     esac
       
 15727   fi
       
 15728 
       
 15729 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
       
 15730 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
       
 15731 test "$ld_shlibs_F77" = no && can_build_shared=no
       
 15732 
       
 15733 #
       
 15734 # Do we need to explicitly link libc?
       
 15735 #
       
 15736 case "x$archive_cmds_need_lc_F77" in
       
 15737 x|xyes)
       
 15738   # Assume -lc should be added
       
 15739   archive_cmds_need_lc_F77=yes
       
 15740 
       
 15741   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 15742     case $archive_cmds_F77 in
       
 15743     *'~'*)
       
 15744       # FIXME: we may have to deal with multi-command sequences.
       
 15745       ;;
       
 15746     '$CC '*)
       
 15747       # Test whether the compiler implicitly links with -lc since on some
       
 15748       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 15749       # to ld, don't add -lc before -lgcc.
       
 15750       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 15751 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 15752       $rm conftest*
       
 15753       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 15754 
       
 15755       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 15756   (eval $ac_compile) 2>&5
       
 15757   ac_status=$?
       
 15758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15759   (exit $ac_status); } 2>conftest.err; then
       
 15760         soname=conftest
       
 15761         lib=conftest
       
 15762         libobjs=conftest.$ac_objext
       
 15763         deplibs=
       
 15764         wl=$lt_prog_compiler_wl_F77
       
 15765 	pic_flag=$lt_prog_compiler_pic_F77
       
 15766         compiler_flags=-v
       
 15767         linker_flags=-v
       
 15768         verstring=
       
 15769         output_objdir=.
       
 15770         libname=conftest
       
 15771         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
       
 15772         allow_undefined_flag_F77=
       
 15773         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 15774   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 15775   ac_status=$?
       
 15776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 15777   (exit $ac_status); }
       
 15778         then
       
 15779 	  archive_cmds_need_lc_F77=no
       
 15780         else
       
 15781 	  archive_cmds_need_lc_F77=yes
       
 15782         fi
       
 15783         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
       
 15784       else
       
 15785         cat conftest.err 1>&5
       
 15786       fi
       
 15787       $rm conftest*
       
 15788       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
       
 15789 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
       
 15790       ;;
       
 15791     esac
       
 15792   fi
       
 15793   ;;
       
 15794 esac
       
 15795 
       
 15796 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 15797 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 15798 library_names_spec=
       
 15799 libname_spec='lib$name'
       
 15800 soname_spec=
       
 15801 shrext_cmds=".so"
       
 15802 postinstall_cmds=
       
 15803 postuninstall_cmds=
       
 15804 finish_cmds=
       
 15805 finish_eval=
       
 15806 shlibpath_var=
       
 15807 shlibpath_overrides_runpath=unknown
       
 15808 version_type=none
       
 15809 dynamic_linker="$host_os ld.so"
       
 15810 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 15811 if test "$GCC" = yes; then
       
 15812   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 15813   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 15814     # if the path contains ";" then we assume it to be the separator
       
 15815     # otherwise default to the standard path separator (i.e. ":") - it is
       
 15816     # assumed that no part of a normal pathname contains ";" but that should
       
 15817     # okay in the real world where ";" in dirpaths is itself problematic.
       
 15818     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 15819   else
       
 15820     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 15821   fi
       
 15822 else
       
 15823   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 15824 fi
       
 15825 need_lib_prefix=unknown
       
 15826 hardcode_into_libs=no
       
 15827 
       
 15828 # when you set need_version to no, make sure it does not cause -set_version
       
 15829 # flags to be left without arguments
       
 15830 need_version=unknown
       
 15831 
       
 15832 case $host_os in
       
 15833 aix3*)
       
 15834   version_type=linux
       
 15835   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 15836   shlibpath_var=LIBPATH
       
 15837 
       
 15838   # AIX 3 has no versioning support, so we append a major version to the name.
       
 15839   soname_spec='${libname}${release}${shared_ext}$major'
       
 15840   ;;
       
 15841 
       
 15842 aix4* | aix5*)
       
 15843   version_type=linux
       
 15844   need_lib_prefix=no
       
 15845   need_version=no
       
 15846   hardcode_into_libs=yes
       
 15847   if test "$host_cpu" = ia64; then
       
 15848     # AIX 5 supports IA64
       
 15849     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 15850     shlibpath_var=LD_LIBRARY_PATH
       
 15851   else
       
 15852     # With GCC up to 2.95.x, collect2 would create an import file
       
 15853     # for dependence libraries.  The import file would start with
       
 15854     # the line `#! .'.  This would cause the generated library to
       
 15855     # depend on `.', always an invalid library.  This was fixed in
       
 15856     # development snapshots of GCC prior to 3.0.
       
 15857     case $host_os in
       
 15858       aix4 | aix4.[01] | aix4.[01].*)
       
 15859       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 15860 	   echo ' yes '
       
 15861 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 15862 	:
       
 15863       else
       
 15864 	can_build_shared=no
       
 15865       fi
       
 15866       ;;
       
 15867     esac
       
 15868     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 15869     # soname into executable. Probably we can add versioning support to
       
 15870     # collect2, so additional links can be useful in future.
       
 15871     if test "$aix_use_runtimelinking" = yes; then
       
 15872       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 15873       # instead of lib<name>.a to let people know that these are not
       
 15874       # typical AIX shared libraries.
       
 15875       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15876     else
       
 15877       # We preserve .a as extension for shared libraries through AIX4.2
       
 15878       # and later when we are not doing run time linking.
       
 15879       library_names_spec='${libname}${release}.a $libname.a'
       
 15880       soname_spec='${libname}${release}${shared_ext}$major'
       
 15881     fi
       
 15882     shlibpath_var=LIBPATH
       
 15883   fi
       
 15884   ;;
       
 15885 
       
 15886 amigaos*)
       
 15887   library_names_spec='$libname.ixlibrary $libname.a'
       
 15888   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 15889   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'
       
 15890   ;;
       
 15891 
       
 15892 beos*)
       
 15893   library_names_spec='${libname}${shared_ext}'
       
 15894   dynamic_linker="$host_os ld.so"
       
 15895   shlibpath_var=LIBRARY_PATH
       
 15896   ;;
       
 15897 
       
 15898 bsdi[45]*)
       
 15899   version_type=linux
       
 15900   need_version=no
       
 15901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 15902   soname_spec='${libname}${release}${shared_ext}$major'
       
 15903   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 15904   shlibpath_var=LD_LIBRARY_PATH
       
 15905   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 15906   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 15907   # the default ld.so.conf also contains /usr/contrib/lib and
       
 15908   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 15909   # libtool to hard-code these into programs
       
 15910   ;;
       
 15911 
       
 15912 cygwin* | mingw* | pw32*)
       
 15913   version_type=windows
       
 15914   shrext_cmds=".dll"
       
 15915   need_version=no
       
 15916   need_lib_prefix=no
       
 15917 
       
 15918   case $GCC,$host_os in
       
 15919   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 15920     library_names_spec='$libname.dll.a'
       
 15921     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 15922     postinstall_cmds='base_file=`basename \${file}`~
       
 15923       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 15924       dldir=$destdir/`dirname \$dlpath`~
       
 15925       test -d \$dldir || mkdir -p \$dldir~
       
 15926       $install_prog $dir/$dlname \$dldir/$dlname~
       
 15927       chmod a+x \$dldir/$dlname'
       
 15928     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 15929       dlpath=$dir/\$dldll~
       
 15930        $rm \$dlpath'
       
 15931     shlibpath_overrides_runpath=yes
       
 15932 
       
 15933     case $host_os in
       
 15934     cygwin*)
       
 15935       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 15936       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15937       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 15938       ;;
       
 15939     mingw*)
       
 15940       # MinGW DLLs use traditional 'lib' prefix
       
 15941       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15942       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 15943       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 15944         # It is most probably a Windows format PATH printed by
       
 15945         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 15946         # path with ; separators, and with drive letters. We can handle the
       
 15947         # drive letters (cygwin fileutils understands them), so leave them,
       
 15948         # especially as we might pass files found there to a mingw objdump,
       
 15949         # which wouldn't understand a cygwinified path. Ahh.
       
 15950         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 15951       else
       
 15952         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 15953       fi
       
 15954       ;;
       
 15955     pw32*)
       
 15956       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 15957       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 15958       ;;
       
 15959     esac
       
 15960     ;;
       
 15961 
       
 15962   linux*)
       
 15963     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
       
 15964       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 15965       supports_anon_versioning=no
       
 15966       case `$LD -v 2>/dev/null` in
       
 15967         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 15968         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 15969         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 15970         *\ 2.11.*) ;; # other 2.11 versions
       
 15971         *) supports_anon_versioning=yes ;;
       
 15972       esac
       
 15973       if test $supports_anon_versioning = yes; then
       
 15974         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
 15975 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 15976 $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 15977         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 15978       else
       
 15979         $archive_expsym_cmds="$archive_cmds"
       
 15980       fi
       
 15981     else
       
 15982       ld_shlibs=no
       
 15983     fi
       
 15984     ;;
       
 15985 
       
 15986   *)
       
 15987     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 15988     ;;
       
 15989   esac
       
 15990   dynamic_linker='Win32 ld.exe'
       
 15991   # FIXME: first we should search . and the directory the executable is in
       
 15992   shlibpath_var=PATH
       
 15993   ;;
       
 15994 
       
 15995 darwin* | rhapsody*)
       
 15996   dynamic_linker="$host_os dyld"
       
 15997   version_type=darwin
       
 15998   need_lib_prefix=no
       
 15999   need_version=no
       
 16000   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 16001   soname_spec='${libname}${release}${major}$shared_ext'
       
 16002   shlibpath_overrides_runpath=yes
       
 16003   shlibpath_var=DYLD_LIBRARY_PATH
       
 16004   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 16005   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 16006   if test "$GCC" = yes; then
       
 16007     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"`
       
 16008   else
       
 16009     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 16010   fi
       
 16011   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 16012   ;;
       
 16013 
       
 16014 dgux*)
       
 16015   version_type=linux
       
 16016   need_lib_prefix=no
       
 16017   need_version=no
       
 16018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
 16019   soname_spec='${libname}${release}${shared_ext}$major'
       
 16020   shlibpath_var=LD_LIBRARY_PATH
       
 16021   ;;
       
 16022 
       
 16023 freebsd1*)
       
 16024   dynamic_linker=no
       
 16025   ;;
       
 16026 
       
 16027 kfreebsd*-gnu)
       
 16028   version_type=linux
       
 16029   need_lib_prefix=no
       
 16030   need_version=no
       
 16031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 16032   soname_spec='${libname}${release}${shared_ext}$major'
       
 16033   shlibpath_var=LD_LIBRARY_PATH
       
 16034   shlibpath_overrides_runpath=no
       
 16035   hardcode_into_libs=yes
       
 16036   dynamic_linker='GNU ld.so'
       
 16037   ;;
       
 16038 
       
 16039 freebsd* | dragonfly*)
       
 16040   # DragonFly does not have aout.  When/if they implement a new
       
 16041   # versioning mechanism, adjust this.
       
 16042   if test -x /usr/bin/objformat; then
       
 16043     objformat=`/usr/bin/objformat`
       
 16044   else
       
 16045     case $host_os in
       
 16046     freebsd[123]*) objformat=aout ;;
       
 16047     *) objformat=elf ;;
       
 16048     esac
       
 16049   fi
       
 16050   # Handle Gentoo/FreeBSD as it was Linux
       
 16051   case $host_vendor in
       
 16052     gentoo)
       
 16053       version_type=linux ;;
       
 16054     *)
       
 16055       version_type=freebsd-$objformat ;;
       
 16056   esac
       
 16057 
       
 16058   case $version_type in
       
 16059     freebsd-elf*)
       
 16060       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 16061       need_version=no
       
 16062       need_lib_prefix=no
       
 16063       ;;
       
 16064     freebsd-*)
       
 16065       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 16066       need_version=yes
       
 16067       ;;
       
 16068     linux)
       
 16069       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 16070       soname_spec='${libname}${release}${shared_ext}$major'
       
 16071       need_lib_prefix=no
       
 16072       need_version=no
       
 16073       ;;
       
 16074   esac
       
 16075   shlibpath_var=LD_LIBRARY_PATH
       
 16076   case $host_os in
       
 16077   freebsd2*)
       
 16078     shlibpath_overrides_runpath=yes
       
 16079     ;;
       
 16080   freebsd3.[01]* | freebsdelf3.[01]*)
       
 16081     shlibpath_overrides_runpath=yes
       
 16082     hardcode_into_libs=yes
       
 16083     ;;
       
 16084   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 16085   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 16086     shlibpath_overrides_runpath=no
       
 16087     hardcode_into_libs=yes
       
 16088     ;;
       
 16089   freebsd*) # from 4.6 on
       
 16090     shlibpath_overrides_runpath=yes
       
 16091     hardcode_into_libs=yes
       
 16092     ;;
       
 16093   esac
       
 16094   ;;
       
 16095 
       
 16096 gnu*)
       
 16097   version_type=linux
       
 16098   need_lib_prefix=no
       
 16099   need_version=no
       
 16100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 16101   soname_spec='${libname}${release}${shared_ext}$major'
       
 16102   shlibpath_var=LD_LIBRARY_PATH
       
 16103   hardcode_into_libs=yes
       
 16104   ;;
       
 16105 
       
 16106 hpux9* | hpux10* | hpux11*)
       
 16107   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 16108   # link against other versions.
       
 16109   version_type=sunos
       
 16110   need_lib_prefix=no
       
 16111   need_version=no
       
 16112   case $host_cpu in
       
 16113   ia64*)
       
 16114     shrext_cmds='.so'
       
 16115     hardcode_into_libs=yes
       
 16116     dynamic_linker="$host_os dld.so"
       
 16117     shlibpath_var=LD_LIBRARY_PATH
       
 16118     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 16119     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16120     soname_spec='${libname}${release}${shared_ext}$major'
       
 16121     if test "X$HPUX_IA64_MODE" = X32; then
       
 16122       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 16123     else
       
 16124       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 16125     fi
       
 16126     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 16127     ;;
       
 16128    hppa*64*)
       
 16129      shrext_cmds='.sl'
       
 16130      hardcode_into_libs=yes
       
 16131      dynamic_linker="$host_os dld.sl"
       
 16132      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 16133      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 16134      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16135      soname_spec='${libname}${release}${shared_ext}$major'
       
 16136      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 16137      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 16138      ;;
       
 16139    *)
       
 16140     shrext_cmds='.sl'
       
 16141     dynamic_linker="$host_os dld.sl"
       
 16142     shlibpath_var=SHLIB_PATH
       
 16143     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 16144     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16145     soname_spec='${libname}${release}${shared_ext}$major'
       
 16146     ;;
       
 16147   esac
       
 16148   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 16149   postinstall_cmds='chmod 555 $lib'
       
 16150   ;;
       
 16151 
       
 16152 interix3*)
       
 16153   version_type=linux
       
 16154   need_lib_prefix=no
       
 16155   need_version=no
       
 16156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 16157   soname_spec='${libname}${release}${shared_ext}$major'
       
 16158   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 16159   shlibpath_var=LD_LIBRARY_PATH
       
 16160   shlibpath_overrides_runpath=no
       
 16161   hardcode_into_libs=yes
       
 16162   ;;
       
 16163 
       
 16164 irix5* | irix6* | nonstopux*)
       
 16165   case $host_os in
       
 16166     nonstopux*) version_type=nonstopux ;;
       
 16167     *)
       
 16168 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 16169 		version_type=linux
       
 16170 	else
       
 16171 		version_type=irix
       
 16172 	fi ;;
       
 16173   esac
       
 16174   need_lib_prefix=no
       
 16175   need_version=no
       
 16176   soname_spec='${libname}${release}${shared_ext}$major'
       
 16177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 16178   case $host_os in
       
 16179   irix5* | nonstopux*)
       
 16180     libsuff= shlibsuff=
       
 16181     ;;
       
 16182   *)
       
 16183     case $LD in # libtool.m4 will add one of these switches to LD
       
 16184     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 16185       libsuff= shlibsuff= libmagic=32-bit;;
       
 16186     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 16187       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 16188     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 16189       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 16190     *) libsuff= shlibsuff= libmagic=never-match;;
       
 16191     esac
       
 16192     ;;
       
 16193   esac
       
 16194   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 16195   shlibpath_overrides_runpath=no
       
 16196   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 16197   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 16198   hardcode_into_libs=yes
       
 16199   ;;
       
 16200 
       
 16201 # No shared lib support for Linux oldld, aout, or coff.
       
 16202 linux*oldld* | linux*aout* | linux*coff*)
       
 16203   dynamic_linker=no
       
 16204   ;;
       
 16205 
       
 16206 # This must be Linux ELF.
       
 16207 linux*)
       
 16208   version_type=linux
       
 16209   need_lib_prefix=no
       
 16210   need_version=no
       
 16211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16212   soname_spec='${libname}${release}${shared_ext}$major'
       
 16213   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 16214   shlibpath_var=LD_LIBRARY_PATH
       
 16215   shlibpath_overrides_runpath=no
       
 16216   # This implies no fast_install, which is unacceptable.
       
 16217   # Some rework will be needed to allow for fast_install
       
 16218   # before this can be enabled.
       
 16219   hardcode_into_libs=yes
       
 16220 
       
 16221   # Append ld.so.conf contents to the search path
       
 16222   if test -f /etc/ld.so.conf; then
       
 16223     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' ' '`
       
 16224     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 16225   fi
       
 16226 
       
 16227   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 16228   # powerpc, because MkLinux only supported shared libraries with the
       
 16229   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 16230   # most powerpc-linux boxes support dynamic linking these days and
       
 16231   # people can always --disable-shared, the test was removed, and we
       
 16232   # assume the GNU/Linux dynamic linker is in use.
       
 16233   dynamic_linker='GNU/Linux ld.so'
       
 16234   ;;
       
 16235 
       
 16236 knetbsd*-gnu)
       
 16237   version_type=linux
       
 16238   need_lib_prefix=no
       
 16239   need_version=no
       
 16240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 16241   soname_spec='${libname}${release}${shared_ext}$major'
       
 16242   shlibpath_var=LD_LIBRARY_PATH
       
 16243   shlibpath_overrides_runpath=no
       
 16244   hardcode_into_libs=yes
       
 16245   dynamic_linker='GNU ld.so'
       
 16246   ;;
       
 16247 
       
 16248 netbsd*)
       
 16249   version_type=sunos
       
 16250   need_lib_prefix=no
       
 16251   need_version=no
       
 16252   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 16253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 16254     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 16255     dynamic_linker='NetBSD (a.out) ld.so'
       
 16256   else
       
 16257     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 16258     soname_spec='${libname}${release}${shared_ext}$major'
       
 16259     dynamic_linker='NetBSD ld.elf_so'
       
 16260   fi
       
 16261   shlibpath_var=LD_LIBRARY_PATH
       
 16262   shlibpath_overrides_runpath=yes
       
 16263   hardcode_into_libs=yes
       
 16264   ;;
       
 16265 
       
 16266 newsos6)
       
 16267   version_type=linux
       
 16268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16269   shlibpath_var=LD_LIBRARY_PATH
       
 16270   shlibpath_overrides_runpath=yes
       
 16271   ;;
       
 16272 
       
 16273 nto-qnx*)
       
 16274   version_type=linux
       
 16275   need_lib_prefix=no
       
 16276   need_version=no
       
 16277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16278   soname_spec='${libname}${release}${shared_ext}$major'
       
 16279   shlibpath_var=LD_LIBRARY_PATH
       
 16280   shlibpath_overrides_runpath=yes
       
 16281   ;;
       
 16282 
       
 16283 openbsd*)
       
 16284   version_type=sunos
       
 16285   sys_lib_dlsearch_path_spec="/usr/lib"
       
 16286   need_lib_prefix=no
       
 16287   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 16288   case $host_os in
       
 16289     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 16290     *)                         need_version=no  ;;
       
 16291   esac
       
 16292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 16293   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 16294   shlibpath_var=LD_LIBRARY_PATH
       
 16295   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 16296     case $host_os in
       
 16297       openbsd2.[89] | openbsd2.[89].*)
       
 16298 	shlibpath_overrides_runpath=no
       
 16299 	;;
       
 16300       *)
       
 16301 	shlibpath_overrides_runpath=yes
       
 16302 	;;
       
 16303       esac
       
 16304   else
       
 16305     shlibpath_overrides_runpath=yes
       
 16306   fi
       
 16307   ;;
       
 16308 
       
 16309 os2*)
       
 16310   libname_spec='$name'
       
 16311   shrext_cmds=".dll"
       
 16312   need_lib_prefix=no
       
 16313   library_names_spec='$libname${shared_ext} $libname.a'
       
 16314   dynamic_linker='OS/2 ld.exe'
       
 16315   shlibpath_var=LIBPATH
       
 16316   ;;
       
 16317 
       
 16318 osf3* | osf4* | osf5*)
       
 16319   version_type=osf
       
 16320   need_lib_prefix=no
       
 16321   need_version=no
       
 16322   soname_spec='${libname}${release}${shared_ext}$major'
       
 16323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16324   shlibpath_var=LD_LIBRARY_PATH
       
 16325   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 16326   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 16327   ;;
       
 16328 
       
 16329 solaris*)
       
 16330   version_type=linux
       
 16331   need_lib_prefix=no
       
 16332   need_version=no
       
 16333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16334   soname_spec='${libname}${release}${shared_ext}$major'
       
 16335   shlibpath_var=LD_LIBRARY_PATH
       
 16336   shlibpath_overrides_runpath=yes
       
 16337   hardcode_into_libs=yes
       
 16338   # ldd complains unless libraries are executable
       
 16339   postinstall_cmds='chmod +x $lib'
       
 16340   ;;
       
 16341 
       
 16342 sunos4*)
       
 16343   version_type=sunos
       
 16344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 16345   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 16346   shlibpath_var=LD_LIBRARY_PATH
       
 16347   shlibpath_overrides_runpath=yes
       
 16348   if test "$with_gnu_ld" = yes; then
       
 16349     need_lib_prefix=no
       
 16350   fi
       
 16351   need_version=yes
       
 16352   ;;
       
 16353 
       
 16354 sysv4 | sysv4.3*)
       
 16355   version_type=linux
       
 16356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16357   soname_spec='${libname}${release}${shared_ext}$major'
       
 16358   shlibpath_var=LD_LIBRARY_PATH
       
 16359   case $host_vendor in
       
 16360     sni)
       
 16361       shlibpath_overrides_runpath=no
       
 16362       need_lib_prefix=no
       
 16363       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 16364       runpath_var=LD_RUN_PATH
       
 16365       ;;
       
 16366     siemens)
       
 16367       need_lib_prefix=no
       
 16368       ;;
       
 16369     motorola)
       
 16370       need_lib_prefix=no
       
 16371       need_version=no
       
 16372       shlibpath_overrides_runpath=no
       
 16373       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 16374       ;;
       
 16375   esac
       
 16376   ;;
       
 16377 
       
 16378 sysv4*MP*)
       
 16379   if test -d /usr/nec ;then
       
 16380     version_type=linux
       
 16381     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 16382     soname_spec='$libname${shared_ext}.$major'
       
 16383     shlibpath_var=LD_LIBRARY_PATH
       
 16384   fi
       
 16385   ;;
       
 16386 
       
 16387 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 16388   version_type=freebsd-elf
       
 16389   need_lib_prefix=no
       
 16390   need_version=no
       
 16391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 16392   soname_spec='${libname}${release}${shared_ext}$major'
       
 16393   shlibpath_var=LD_LIBRARY_PATH
       
 16394   hardcode_into_libs=yes
       
 16395   if test "$with_gnu_ld" = yes; then
       
 16396     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 16397     shlibpath_overrides_runpath=no
       
 16398   else
       
 16399     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 16400     shlibpath_overrides_runpath=yes
       
 16401     case $host_os in
       
 16402       sco3.2v5*)
       
 16403         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 16404 	;;
       
 16405     esac
       
 16406   fi
       
 16407   sys_lib_dlsearch_path_spec='/usr/lib'
       
 16408   ;;
       
 16409 
       
 16410 uts4*)
       
 16411   version_type=linux
       
 16412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 16413   soname_spec='${libname}${release}${shared_ext}$major'
       
 16414   shlibpath_var=LD_LIBRARY_PATH
       
 16415   ;;
       
 16416 
       
 16417 *)
       
 16418   dynamic_linker=no
       
 16419   ;;
       
 16420 esac
       
 16421 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 16422 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 16423 test "$dynamic_linker" = no && can_build_shared=no
       
 16424 
       
 16425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 16426 if test "$GCC" = yes; then
       
 16427   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 16428 fi
       
 16429 
       
 16430 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 16431 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 16432 hardcode_action_F77=
       
 16433 if test -n "$hardcode_libdir_flag_spec_F77" || \
       
 16434    test -n "$runpath_var_F77" || \
       
 16435    test "X$hardcode_automatic_F77" = "Xyes" ; then
       
 16436 
       
 16437   # We can hardcode non-existant directories.
       
 16438   if test "$hardcode_direct_F77" != no &&
       
 16439      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 16440      # have to relink, otherwise we might link with an installed library
       
 16441      # when we should be linking with a yet-to-be-installed one
       
 16442      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
       
 16443      test "$hardcode_minus_L_F77" != no; then
       
 16444     # Linking always hardcodes the temporary library directory.
       
 16445     hardcode_action_F77=relink
       
 16446   else
       
 16447     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 16448     hardcode_action_F77=immediate
       
 16449   fi
       
 16450 else
       
 16451   # We cannot hardcode anything, or else we can only hardcode existing
       
 16452   # directories.
       
 16453   hardcode_action_F77=unsupported
       
 16454 fi
       
 16455 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
       
 16456 echo "${ECHO_T}$hardcode_action_F77" >&6; }
       
 16457 
       
 16458 if test "$hardcode_action_F77" = relink; then
       
 16459   # Fast installation is not supported
       
 16460   enable_fast_install=no
       
 16461 elif test "$shlibpath_overrides_runpath" = yes ||
       
 16462      test "$enable_shared" = no; then
       
 16463   # Fast installation is not necessary
       
 16464   enable_fast_install=needless
       
 16465 fi
       
 16466 
       
 16467 
       
 16468 # The else clause should only fire when bootstrapping the
       
 16469 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 16470 # with your package, and you will get complaints that there are
       
 16471 # no rules to generate ltmain.sh.
       
 16472 if test -f "$ltmain"; then
       
 16473   # See if we are running on zsh, and set the options which allow our commands through
       
 16474   # without removal of \ escapes.
       
 16475   if test -n "${ZSH_VERSION+set}" ; then
       
 16476     setopt NO_GLOB_SUBST
       
 16477   fi
       
 16478   # Now quote all the things that may contain metacharacters while being
       
 16479   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 16480   # variables and quote the copies for generation of the libtool script.
       
 16481   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 16482     SED SHELL STRIP \
       
 16483     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 16484     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 16485     deplibs_check_method reload_flag reload_cmds need_locks \
       
 16486     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 16487     lt_cv_sys_global_symbol_to_c_name_address \
       
 16488     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 16489     old_postinstall_cmds old_postuninstall_cmds \
       
 16490     compiler_F77 \
       
 16491     CC_F77 \
       
 16492     LD_F77 \
       
 16493     lt_prog_compiler_wl_F77 \
       
 16494     lt_prog_compiler_pic_F77 \
       
 16495     lt_prog_compiler_static_F77 \
       
 16496     lt_prog_compiler_no_builtin_flag_F77 \
       
 16497     export_dynamic_flag_spec_F77 \
       
 16498     thread_safe_flag_spec_F77 \
       
 16499     whole_archive_flag_spec_F77 \
       
 16500     enable_shared_with_static_runtimes_F77 \
       
 16501     old_archive_cmds_F77 \
       
 16502     old_archive_from_new_cmds_F77 \
       
 16503     predep_objects_F77 \
       
 16504     postdep_objects_F77 \
       
 16505     predeps_F77 \
       
 16506     postdeps_F77 \
       
 16507     compiler_lib_search_path_F77 \
       
 16508     archive_cmds_F77 \
       
 16509     archive_expsym_cmds_F77 \
       
 16510     postinstall_cmds_F77 \
       
 16511     postuninstall_cmds_F77 \
       
 16512     old_archive_from_expsyms_cmds_F77 \
       
 16513     allow_undefined_flag_F77 \
       
 16514     no_undefined_flag_F77 \
       
 16515     export_symbols_cmds_F77 \
       
 16516     hardcode_libdir_flag_spec_F77 \
       
 16517     hardcode_libdir_flag_spec_ld_F77 \
       
 16518     hardcode_libdir_separator_F77 \
       
 16519     hardcode_automatic_F77 \
       
 16520     module_cmds_F77 \
       
 16521     module_expsym_cmds_F77 \
       
 16522     lt_cv_prog_compiler_c_o_F77 \
       
 16523     exclude_expsyms_F77 \
       
 16524     include_expsyms_F77; do
       
 16525 
       
 16526     case $var in
       
 16527     old_archive_cmds_F77 | \
       
 16528     old_archive_from_new_cmds_F77 | \
       
 16529     archive_cmds_F77 | \
       
 16530     archive_expsym_cmds_F77 | \
       
 16531     module_cmds_F77 | \
       
 16532     module_expsym_cmds_F77 | \
       
 16533     old_archive_from_expsyms_cmds_F77 | \
       
 16534     export_symbols_cmds_F77 | \
       
 16535     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 16536     postinstall_cmds | postuninstall_cmds | \
       
 16537     old_postinstall_cmds | old_postuninstall_cmds | \
       
 16538     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 16539       # Double-quote double-evaled strings.
       
 16540       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 16541       ;;
       
 16542     *)
       
 16543       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 16544       ;;
       
 16545     esac
       
 16546   done
       
 16547 
       
 16548   case $lt_echo in
       
 16549   *'\$0 --fallback-echo"')
       
 16550     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 16551     ;;
       
 16552   esac
       
 16553 
       
 16554 cfgfile="$ofile"
       
 16555 
       
 16556   cat <<__EOF__ >> "$cfgfile"
       
 16557 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 16558 
       
 16559 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 16560 
       
 16561 # Shell to use when invoking shell scripts.
       
 16562 SHELL=$lt_SHELL
       
 16563 
       
 16564 # Whether or not to build shared libraries.
       
 16565 build_libtool_libs=$enable_shared
       
 16566 
       
 16567 # Whether or not to build static libraries.
       
 16568 build_old_libs=$enable_static
       
 16569 
       
 16570 # Whether or not to add -lc for building shared libraries.
       
 16571 build_libtool_need_lc=$archive_cmds_need_lc_F77
       
 16572 
       
 16573 # Whether or not to disallow shared libs when runtime libs are static
       
 16574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
       
 16575 
       
 16576 # Whether or not to optimize for fast installation.
       
 16577 fast_install=$enable_fast_install
       
 16578 
       
 16579 # The host system.
       
 16580 host_alias=$host_alias
       
 16581 host=$host
       
 16582 host_os=$host_os
       
 16583 
       
 16584 # The build system.
       
 16585 build_alias=$build_alias
       
 16586 build=$build
       
 16587 build_os=$build_os
       
 16588 
       
 16589 # An echo program that does not interpret backslashes.
       
 16590 echo=$lt_echo
       
 16591 
       
 16592 # The archiver.
       
 16593 AR=$lt_AR
       
 16594 AR_FLAGS=$lt_AR_FLAGS
       
 16595 
       
 16596 # A C compiler.
       
 16597 LTCC=$lt_LTCC
       
 16598 
       
 16599 # LTCC compiler flags.
       
 16600 LTCFLAGS=$lt_LTCFLAGS
       
 16601 
       
 16602 # A language-specific compiler.
       
 16603 CC=$lt_compiler_F77
       
 16604 
       
 16605 # Is the compiler the GNU C compiler?
       
 16606 with_gcc=$GCC_F77
       
 16607 
       
 16608 # An ERE matcher.
       
 16609 EGREP=$lt_EGREP
       
 16610 
       
 16611 # The linker used to build libraries.
       
 16612 LD=$lt_LD_F77
       
 16613 
       
 16614 # Whether we need hard or soft links.
       
 16615 LN_S=$lt_LN_S
       
 16616 
       
 16617 # A BSD-compatible nm program.
       
 16618 NM=$lt_NM
       
 16619 
       
 16620 # A symbol stripping program
       
 16621 STRIP=$lt_STRIP
       
 16622 
       
 16623 # Used to examine libraries when file_magic_cmd begins "file"
       
 16624 MAGIC_CMD=$MAGIC_CMD
       
 16625 
       
 16626 # Used on cygwin: DLL creation program.
       
 16627 DLLTOOL="$DLLTOOL"
       
 16628 
       
 16629 # Used on cygwin: object dumper.
       
 16630 OBJDUMP="$OBJDUMP"
       
 16631 
       
 16632 # Used on cygwin: assembler.
       
 16633 AS="$AS"
       
 16634 
       
 16635 # The name of the directory that contains temporary libtool files.
       
 16636 objdir=$objdir
       
 16637 
       
 16638 # How to create reloadable object files.
       
 16639 reload_flag=$lt_reload_flag
       
 16640 reload_cmds=$lt_reload_cmds
       
 16641 
       
 16642 # How to pass a linker flag through the compiler.
       
 16643 wl=$lt_lt_prog_compiler_wl_F77
       
 16644 
       
 16645 # Object file suffix (normally "o").
       
 16646 objext="$ac_objext"
       
 16647 
       
 16648 # Old archive suffix (normally "a").
       
 16649 libext="$libext"
       
 16650 
       
 16651 # Shared library suffix (normally ".so").
       
 16652 shrext_cmds='$shrext_cmds'
       
 16653 
       
 16654 # Executable file suffix (normally "").
       
 16655 exeext="$exeext"
       
 16656 
       
 16657 # Additional compiler flags for building library objects.
       
 16658 pic_flag=$lt_lt_prog_compiler_pic_F77
       
 16659 pic_mode=$pic_mode
       
 16660 
       
 16661 # What is the maximum length of a command?
       
 16662 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 16663 
       
 16664 # Does compiler simultaneously support -c and -o options?
       
 16665 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
       
 16666 
       
 16667 # Must we lock files when doing compilation?
       
 16668 need_locks=$lt_need_locks
       
 16669 
       
 16670 # Do we need the lib prefix for modules?
       
 16671 need_lib_prefix=$need_lib_prefix
       
 16672 
       
 16673 # Do we need a version for libraries?
       
 16674 need_version=$need_version
       
 16675 
       
 16676 # Whether dlopen is supported.
       
 16677 dlopen_support=$enable_dlopen
       
 16678 
       
 16679 # Whether dlopen of programs is supported.
       
 16680 dlopen_self=$enable_dlopen_self
       
 16681 
       
 16682 # Whether dlopen of statically linked programs is supported.
       
 16683 dlopen_self_static=$enable_dlopen_self_static
       
 16684 
       
 16685 # Compiler flag to prevent dynamic linking.
       
 16686 link_static_flag=$lt_lt_prog_compiler_static_F77
       
 16687 
       
 16688 # Compiler flag to turn off builtin functions.
       
 16689 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
       
 16690 
       
 16691 # Compiler flag to allow reflexive dlopens.
       
 16692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
       
 16693 
       
 16694 # Compiler flag to generate shared objects directly from archives.
       
 16695 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
       
 16696 
       
 16697 # Compiler flag to generate thread-safe objects.
       
 16698 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
       
 16699 
       
 16700 # Library versioning type.
       
 16701 version_type=$version_type
       
 16702 
       
 16703 # Format of library name prefix.
       
 16704 libname_spec=$lt_libname_spec
       
 16705 
       
 16706 # List of archive names.  First name is the real one, the rest are links.
       
 16707 # The last name is the one that the linker finds with -lNAME.
       
 16708 library_names_spec=$lt_library_names_spec
       
 16709 
       
 16710 # The coded name of the library, if different from the real name.
       
 16711 soname_spec=$lt_soname_spec
       
 16712 
       
 16713 # Commands used to build and install an old-style archive.
       
 16714 RANLIB=$lt_RANLIB
       
 16715 old_archive_cmds=$lt_old_archive_cmds_F77
       
 16716 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 16717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 16718 
       
 16719 # Create an old-style archive from a shared archive.
       
 16720 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
       
 16721 
       
 16722 # Create a temporary old-style archive to link instead of a shared archive.
       
 16723 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
       
 16724 
       
 16725 # Commands used to build and install a shared archive.
       
 16726 archive_cmds=$lt_archive_cmds_F77
       
 16727 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
       
 16728 postinstall_cmds=$lt_postinstall_cmds
       
 16729 postuninstall_cmds=$lt_postuninstall_cmds
       
 16730 
       
 16731 # Commands used to build a loadable module (assumed same as above if empty)
       
 16732 module_cmds=$lt_module_cmds_F77
       
 16733 module_expsym_cmds=$lt_module_expsym_cmds_F77
       
 16734 
       
 16735 # Commands to strip libraries.
       
 16736 old_striplib=$lt_old_striplib
       
 16737 striplib=$lt_striplib
       
 16738 
       
 16739 # Dependencies to place before the objects being linked to create a
       
 16740 # shared library.
       
 16741 predep_objects=$lt_predep_objects_F77
       
 16742 
       
 16743 # Dependencies to place after the objects being linked to create a
       
 16744 # shared library.
       
 16745 postdep_objects=$lt_postdep_objects_F77
       
 16746 
       
 16747 # Dependencies to place before the objects being linked to create a
       
 16748 # shared library.
       
 16749 predeps=$lt_predeps_F77
       
 16750 
       
 16751 # Dependencies to place after the objects being linked to create a
       
 16752 # shared library.
       
 16753 postdeps=$lt_postdeps_F77
       
 16754 
       
 16755 # The library search path used internally by the compiler when linking
       
 16756 # a shared library.
       
 16757 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
       
 16758 
       
 16759 # Method to check whether dependent libraries are shared objects.
       
 16760 deplibs_check_method=$lt_deplibs_check_method
       
 16761 
       
 16762 # Command to use when deplibs_check_method == file_magic.
       
 16763 file_magic_cmd=$lt_file_magic_cmd
       
 16764 
       
 16765 # Flag that allows shared libraries with undefined symbols to be built.
       
 16766 allow_undefined_flag=$lt_allow_undefined_flag_F77
       
 16767 
       
 16768 # Flag that forces no undefined symbols.
       
 16769 no_undefined_flag=$lt_no_undefined_flag_F77
       
 16770 
       
 16771 # Commands used to finish a libtool library installation in a directory.
       
 16772 finish_cmds=$lt_finish_cmds
       
 16773 
       
 16774 # Same as above, but a single script fragment to be evaled but not shown.
       
 16775 finish_eval=$lt_finish_eval
       
 16776 
       
 16777 # Take the output of nm and produce a listing of raw symbols and C names.
       
 16778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 16779 
       
 16780 # Transform the output of nm in a proper C declaration
       
 16781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 16782 
       
 16783 # Transform the output of nm in a C name address pair
       
 16784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 16785 
       
 16786 # This is the shared library runtime path variable.
       
 16787 runpath_var=$runpath_var
       
 16788 
       
 16789 # This is the shared library path variable.
       
 16790 shlibpath_var=$shlibpath_var
       
 16791 
       
 16792 # Is shlibpath searched before the hard-coded library search path?
       
 16793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 16794 
       
 16795 # How to hardcode a shared library path into an executable.
       
 16796 hardcode_action=$hardcode_action_F77
       
 16797 
       
 16798 # Whether we should hardcode library paths into libraries.
       
 16799 hardcode_into_libs=$hardcode_into_libs
       
 16800 
       
 16801 # Flag to hardcode \$libdir into a binary during linking.
       
 16802 # This must work even if \$libdir does not exist.
       
 16803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
       
 16804 
       
 16805 # If ld is used when linking, flag to hardcode \$libdir into
       
 16806 # a binary during linking. This must work even if \$libdir does
       
 16807 # not exist.
       
 16808 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
       
 16809 
       
 16810 # Whether we need a single -rpath flag with a separated argument.
       
 16811 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
       
 16812 
       
 16813 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 16814 # resulting binary.
       
 16815 hardcode_direct=$hardcode_direct_F77
       
 16816 
       
 16817 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 16818 # resulting binary.
       
 16819 hardcode_minus_L=$hardcode_minus_L_F77
       
 16820 
       
 16821 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 16822 # the resulting binary.
       
 16823 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
       
 16824 
       
 16825 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 16826 # and all subsequent libraries and executables linked against it.
       
 16827 hardcode_automatic=$hardcode_automatic_F77
       
 16828 
       
 16829 # Variables whose values should be saved in libtool wrapper scripts and
       
 16830 # restored at relink time.
       
 16831 variables_saved_for_relink="$variables_saved_for_relink"
       
 16832 
       
 16833 # Whether libtool must link a program against all its dependency libraries.
       
 16834 link_all_deplibs=$link_all_deplibs_F77
       
 16835 
       
 16836 # Compile-time system search path for libraries
       
 16837 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 16838 
       
 16839 # Run-time system search path for libraries
       
 16840 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 16841 
       
 16842 # Fix the shell variable \$srcfile for the compiler.
       
 16843 fix_srcfile_path="$fix_srcfile_path_F77"
       
 16844 
       
 16845 # Set to yes if exported symbols are required.
       
 16846 always_export_symbols=$always_export_symbols_F77
       
 16847 
       
 16848 # The commands to list exported symbols.
       
 16849 export_symbols_cmds=$lt_export_symbols_cmds_F77
       
 16850 
       
 16851 # The commands to extract the exported symbol list from a shared archive.
       
 16852 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 16853 
       
 16854 # Symbols that should not be listed in the preloaded symbols.
       
 16855 exclude_expsyms=$lt_exclude_expsyms_F77
       
 16856 
       
 16857 # Symbols that must always be exported.
       
 16858 include_expsyms=$lt_include_expsyms_F77
       
 16859 
       
 16860 # ### END LIBTOOL TAG CONFIG: $tagname
       
 16861 
       
 16862 __EOF__
       
 16863 
       
 16864 
       
 16865 else
       
 16866   # If there is no Makefile yet, we rely on a make rule to execute
       
 16867   # `config.status --recheck' to rerun these tests and create the
       
 16868   # libtool script then.
       
 16869   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 16870   if test -f "$ltmain_in"; then
       
 16871     test -f Makefile && make "$ltmain"
       
 16872   fi
       
 16873 fi
       
 16874 
       
 16875 
       
 16876 ac_ext=c
       
 16877 ac_cpp='$CPP $CPPFLAGS'
       
 16878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 16879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 16880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
 16881 
       
 16882 CC="$lt_save_CC"
       
 16883 
       
 16884 	else
       
 16885 	  tagname=""
       
 16886 	fi
       
 16887 	;;
       
 16888 
       
 16889       GCJ)
       
 16890 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
       
 16891 
       
 16892 
       
 16893 # Source file extension for Java test sources.
       
 16894 ac_ext=java
       
 16895 
       
 16896 # Object file extension for compiled Java test sources.
       
 16897 objext=o
       
 16898 objext_GCJ=$objext
       
 16899 
       
 16900 # Code to be used in simple compile tests
       
 16901 lt_simple_compile_test_code="class foo {}\n"
       
 16902 
       
 16903 # Code to be used in simple link tests
       
 16904 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
       
 16905 
       
 16906 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 16907 
       
 16908 # If no C compiler was specified, use CC.
       
 16909 LTCC=${LTCC-"$CC"}
       
 16910 
       
 16911 # If no C compiler flags were specified, use CFLAGS.
       
 16912 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 16913 
       
 16914 # Allow CC to be a program name with arguments.
       
 16915 compiler=$CC
       
 16916 
       
 16917 
       
 16918 # save warnings/boilerplate of simple test code
       
 16919 ac_outfile=conftest.$ac_objext
       
 16920 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 16921 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 16922 _lt_compiler_boilerplate=`cat conftest.err`
       
 16923 $rm conftest*
       
 16924 
       
 16925 ac_outfile=conftest.$ac_objext
       
 16926 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 16927 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 16928 _lt_linker_boilerplate=`cat conftest.err`
       
 16929 $rm conftest*
       
 16930 
       
 16931 
       
 16932 # Allow CC to be a program name with arguments.
       
 16933 lt_save_CC="$CC"
       
 16934 CC=${GCJ-"gcj"}
       
 16935 compiler=$CC
       
 16936 compiler_GCJ=$CC
       
 16937 for cc_temp in $compiler""; do
       
 16938   case $cc_temp in
       
 16939     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 16940     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 16941     \-*) ;;
       
 16942     *) break;;
       
 16943   esac
       
 16944 done
       
 16945 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 16946 
       
 16947 
       
 16948 # GCJ did not exist at the time GCC didn't implicitly link libc in.
       
 16949 archive_cmds_need_lc_GCJ=no
       
 16950 
       
 16951 old_archive_cmds_GCJ=$old_archive_cmds
       
 16952 
       
 16953 
       
 16954 lt_prog_compiler_no_builtin_flag_GCJ=
       
 16955 
       
 16956 if test "$GCC" = yes; then
       
 16957   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
       
 16958 
       
 16959 
       
 16960 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
       
 16961 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
       
 16962 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
       
 16963   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 16964 else
       
 16965   lt_cv_prog_compiler_rtti_exceptions=no
       
 16966   ac_outfile=conftest.$ac_objext
       
 16967    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 16968    lt_compiler_flag="-fno-rtti -fno-exceptions"
       
 16969    # Insert the option either (1) after the last *FLAGS variable, or
       
 16970    # (2) before a word containing "conftest.", or (3) at the end.
       
 16971    # Note that $ac_compile itself does not contain backslashes and begins
       
 16972    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 16973    # The option is referenced via a variable to avoid confusing sed.
       
 16974    lt_compile=`echo "$ac_compile" | $SED \
       
 16975    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 16976    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 16977    -e 's:$: $lt_compiler_flag:'`
       
 16978    (eval echo "\"\$as_me:16978: $lt_compile\"" >&5)
       
 16979    (eval "$lt_compile" 2>conftest.err)
       
 16980    ac_status=$?
       
 16981    cat conftest.err >&5
       
 16982    echo "$as_me:16982: \$? = $ac_status" >&5
       
 16983    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 16984      # The compiler can only warn and ignore the option if not recognized
       
 16985      # So say no if there are warnings other than the usual output.
       
 16986      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 16987      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 16988      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 16989        lt_cv_prog_compiler_rtti_exceptions=yes
       
 16990      fi
       
 16991    fi
       
 16992    $rm conftest*
       
 16993 
       
 16994 fi
       
 16995 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
       
 16996 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
       
 16997 
       
 16998 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       
 16999     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
       
 17000 else
       
 17001     :
       
 17002 fi
       
 17003 
       
 17004 fi
       
 17005 
       
 17006 lt_prog_compiler_wl_GCJ=
       
 17007 lt_prog_compiler_pic_GCJ=
       
 17008 lt_prog_compiler_static_GCJ=
       
 17009 
       
 17010 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
       
 17011 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
       
 17012 
       
 17013   if test "$GCC" = yes; then
       
 17014     lt_prog_compiler_wl_GCJ='-Wl,'
       
 17015     lt_prog_compiler_static_GCJ='-static'
       
 17016 
       
 17017     case $host_os in
       
 17018       aix*)
       
 17019       # All AIX code is PIC.
       
 17020       if test "$host_cpu" = ia64; then
       
 17021 	# AIX 5 now supports IA64 processor
       
 17022 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 17023       fi
       
 17024       ;;
       
 17025 
       
 17026     amigaos*)
       
 17027       # FIXME: we need at least 68020 code to build shared libraries, but
       
 17028       # adding the `-m68020' flag to GCC prevents building anything better,
       
 17029       # like `-m68040'.
       
 17030       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
       
 17031       ;;
       
 17032 
       
 17033     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       
 17034       # PIC is the default for these OSes.
       
 17035       ;;
       
 17036 
       
 17037     mingw* | pw32* | os2*)
       
 17038       # This hack is so that the source file can tell whether it is being
       
 17039       # built for inclusion in a dll (and should export symbols for example).
       
 17040       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
       
 17041       ;;
       
 17042 
       
 17043     darwin* | rhapsody*)
       
 17044       # PIC is the default on this platform
       
 17045       # Common symbols not allowed in MH_DYLIB files
       
 17046       lt_prog_compiler_pic_GCJ='-fno-common'
       
 17047       ;;
       
 17048 
       
 17049     interix3*)
       
 17050       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
       
 17051       # Instead, we relocate shared libraries at runtime.
       
 17052       ;;
       
 17053 
       
 17054     msdosdjgpp*)
       
 17055       # Just because we use GCC doesn't mean we suddenly get shared libraries
       
 17056       # on systems that don't support them.
       
 17057       lt_prog_compiler_can_build_shared_GCJ=no
       
 17058       enable_shared=no
       
 17059       ;;
       
 17060 
       
 17061     sysv4*MP*)
       
 17062       if test -d /usr/nec; then
       
 17063 	lt_prog_compiler_pic_GCJ=-Kconform_pic
       
 17064       fi
       
 17065       ;;
       
 17066 
       
 17067     hpux*)
       
 17068       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 17069       # not for PA HP-UX.
       
 17070       case $host_cpu in
       
 17071       hppa*64*|ia64*)
       
 17072 	# +Z the default
       
 17073 	;;
       
 17074       *)
       
 17075 	lt_prog_compiler_pic_GCJ='-fPIC'
       
 17076 	;;
       
 17077       esac
       
 17078       ;;
       
 17079 
       
 17080     *)
       
 17081       lt_prog_compiler_pic_GCJ='-fPIC'
       
 17082       ;;
       
 17083     esac
       
 17084   else
       
 17085     # PORTME Check for flag to pass linker flags through the system compiler.
       
 17086     case $host_os in
       
 17087     aix*)
       
 17088       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17089       if test "$host_cpu" = ia64; then
       
 17090 	# AIX 5 now supports IA64 processor
       
 17091 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 17092       else
       
 17093 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
       
 17094       fi
       
 17095       ;;
       
 17096       darwin*)
       
 17097         # PIC is the default on this platform
       
 17098         # Common symbols not allowed in MH_DYLIB files
       
 17099        case $cc_basename in
       
 17100          xlc*)
       
 17101          lt_prog_compiler_pic_GCJ='-qnocommon'
       
 17102          lt_prog_compiler_wl_GCJ='-Wl,'
       
 17103          ;;
       
 17104        esac
       
 17105        ;;
       
 17106 
       
 17107     mingw* | pw32* | os2*)
       
 17108       # This hack is so that the source file can tell whether it is being
       
 17109       # built for inclusion in a dll (and should export symbols for example).
       
 17110       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
       
 17111       ;;
       
 17112 
       
 17113     hpux9* | hpux10* | hpux11*)
       
 17114       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17115       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       
 17116       # not for PA HP-UX.
       
 17117       case $host_cpu in
       
 17118       hppa*64*|ia64*)
       
 17119 	# +Z the default
       
 17120 	;;
       
 17121       *)
       
 17122 	lt_prog_compiler_pic_GCJ='+Z'
       
 17123 	;;
       
 17124       esac
       
 17125       # Is there a better lt_prog_compiler_static that works with the bundled CC?
       
 17126       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
       
 17127       ;;
       
 17128 
       
 17129     irix5* | irix6* | nonstopux*)
       
 17130       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17131       # PIC (with -KPIC) is the default.
       
 17132       lt_prog_compiler_static_GCJ='-non_shared'
       
 17133       ;;
       
 17134 
       
 17135     newsos6)
       
 17136       lt_prog_compiler_pic_GCJ='-KPIC'
       
 17137       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17138       ;;
       
 17139 
       
 17140     linux*)
       
 17141       case $cc_basename in
       
 17142       icc* | ecc*)
       
 17143 	lt_prog_compiler_wl_GCJ='-Wl,'
       
 17144 	lt_prog_compiler_pic_GCJ='-KPIC'
       
 17145 	lt_prog_compiler_static_GCJ='-static'
       
 17146         ;;
       
 17147       pgcc* | pgf77* | pgf90* | pgf95*)
       
 17148         # Portland Group compilers (*not* the Pentium gcc compiler,
       
 17149 	# which looks to be a dead project)
       
 17150 	lt_prog_compiler_wl_GCJ='-Wl,'
       
 17151 	lt_prog_compiler_pic_GCJ='-fpic'
       
 17152 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 17153         ;;
       
 17154       ccc*)
       
 17155         lt_prog_compiler_wl_GCJ='-Wl,'
       
 17156         # All Alpha code is PIC.
       
 17157         lt_prog_compiler_static_GCJ='-non_shared'
       
 17158         ;;
       
 17159       esac
       
 17160       ;;
       
 17161 
       
 17162     osf3* | osf4* | osf5*)
       
 17163       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17164       # All OSF/1 code is PIC.
       
 17165       lt_prog_compiler_static_GCJ='-non_shared'
       
 17166       ;;
       
 17167 
       
 17168     solaris*)
       
 17169       lt_prog_compiler_pic_GCJ='-KPIC'
       
 17170       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17171       case $cc_basename in
       
 17172       f77* | f90* | f95*)
       
 17173 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
       
 17174       *)
       
 17175 	lt_prog_compiler_wl_GCJ='-Wl,';;
       
 17176       esac
       
 17177       ;;
       
 17178 
       
 17179     sunos4*)
       
 17180       lt_prog_compiler_wl_GCJ='-Qoption ld '
       
 17181       lt_prog_compiler_pic_GCJ='-PIC'
       
 17182       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17183       ;;
       
 17184 
       
 17185     sysv4 | sysv4.2uw2* | sysv4.3*)
       
 17186       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17187       lt_prog_compiler_pic_GCJ='-KPIC'
       
 17188       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17189       ;;
       
 17190 
       
 17191     sysv4*MP*)
       
 17192       if test -d /usr/nec ;then
       
 17193 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
       
 17194 	lt_prog_compiler_static_GCJ='-Bstatic'
       
 17195       fi
       
 17196       ;;
       
 17197 
       
 17198     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
       
 17199       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17200       lt_prog_compiler_pic_GCJ='-KPIC'
       
 17201       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17202       ;;
       
 17203 
       
 17204     unicos*)
       
 17205       lt_prog_compiler_wl_GCJ='-Wl,'
       
 17206       lt_prog_compiler_can_build_shared_GCJ=no
       
 17207       ;;
       
 17208 
       
 17209     uts4*)
       
 17210       lt_prog_compiler_pic_GCJ='-pic'
       
 17211       lt_prog_compiler_static_GCJ='-Bstatic'
       
 17212       ;;
       
 17213 
       
 17214     *)
       
 17215       lt_prog_compiler_can_build_shared_GCJ=no
       
 17216       ;;
       
 17217     esac
       
 17218   fi
       
 17219 
       
 17220 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
       
 17221 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
       
 17222 
       
 17223 #
       
 17224 # Check to make sure the PIC flag actually works.
       
 17225 #
       
 17226 if test -n "$lt_prog_compiler_pic_GCJ"; then
       
 17227 
       
 17228 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
       
 17229 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
       
 17230 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
       
 17231   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17232 else
       
 17233   lt_prog_compiler_pic_works_GCJ=no
       
 17234   ac_outfile=conftest.$ac_objext
       
 17235    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 17236    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
       
 17237    # Insert the option either (1) after the last *FLAGS variable, or
       
 17238    # (2) before a word containing "conftest.", or (3) at the end.
       
 17239    # Note that $ac_compile itself does not contain backslashes and begins
       
 17240    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 17241    # The option is referenced via a variable to avoid confusing sed.
       
 17242    lt_compile=`echo "$ac_compile" | $SED \
       
 17243    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 17244    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 17245    -e 's:$: $lt_compiler_flag:'`
       
 17246    (eval echo "\"\$as_me:17246: $lt_compile\"" >&5)
       
 17247    (eval "$lt_compile" 2>conftest.err)
       
 17248    ac_status=$?
       
 17249    cat conftest.err >&5
       
 17250    echo "$as_me:17250: \$? = $ac_status" >&5
       
 17251    if (exit $ac_status) && test -s "$ac_outfile"; then
       
 17252      # The compiler can only warn and ignore the option if not recognized
       
 17253      # So say no if there are warnings other than the usual output.
       
 17254      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
       
 17255      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 17256      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
       
 17257        lt_prog_compiler_pic_works_GCJ=yes
       
 17258      fi
       
 17259    fi
       
 17260    $rm conftest*
       
 17261 
       
 17262 fi
       
 17263 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
       
 17264 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
       
 17265 
       
 17266 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
       
 17267     case $lt_prog_compiler_pic_GCJ in
       
 17268      "" | " "*) ;;
       
 17269      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
       
 17270      esac
       
 17271 else
       
 17272     lt_prog_compiler_pic_GCJ=
       
 17273      lt_prog_compiler_can_build_shared_GCJ=no
       
 17274 fi
       
 17275 
       
 17276 fi
       
 17277 case $host_os in
       
 17278   # For platforms which do not support PIC, -DPIC is meaningless:
       
 17279   *djgpp*)
       
 17280     lt_prog_compiler_pic_GCJ=
       
 17281     ;;
       
 17282   *)
       
 17283     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
       
 17284     ;;
       
 17285 esac
       
 17286 
       
 17287 #
       
 17288 # Check to make sure the static flag actually works.
       
 17289 #
       
 17290 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
       
 17291 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
       
 17292 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
       
 17293 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
       
 17294   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17295 else
       
 17296   lt_prog_compiler_static_works_GCJ=no
       
 17297    save_LDFLAGS="$LDFLAGS"
       
 17298    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
       
 17299    printf "$lt_simple_link_test_code" > conftest.$ac_ext
       
 17300    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
       
 17301      # The linker can only warn and ignore the option if not recognized
       
 17302      # So say no if there are warnings
       
 17303      if test -s conftest.err; then
       
 17304        # Append any errors to the config.log.
       
 17305        cat conftest.err 1>&5
       
 17306        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
       
 17307        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
       
 17308        if diff conftest.exp conftest.er2 >/dev/null; then
       
 17309          lt_prog_compiler_static_works_GCJ=yes
       
 17310        fi
       
 17311      else
       
 17312        lt_prog_compiler_static_works_GCJ=yes
       
 17313      fi
       
 17314    fi
       
 17315    $rm conftest*
       
 17316    LDFLAGS="$save_LDFLAGS"
       
 17317 
       
 17318 fi
       
 17319 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
       
 17320 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
       
 17321 
       
 17322 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
       
 17323     :
       
 17324 else
       
 17325     lt_prog_compiler_static_GCJ=
       
 17326 fi
       
 17327 
       
 17328 
       
 17329 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
       
 17330 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
       
 17331 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
       
 17332   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 17333 else
       
 17334   lt_cv_prog_compiler_c_o_GCJ=no
       
 17335    $rm -r conftest 2>/dev/null
       
 17336    mkdir conftest
       
 17337    cd conftest
       
 17338    mkdir out
       
 17339    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 17340 
       
 17341    lt_compiler_flag="-o out/conftest2.$ac_objext"
       
 17342    # Insert the option either (1) after the last *FLAGS variable, or
       
 17343    # (2) before a word containing "conftest.", or (3) at the end.
       
 17344    # Note that $ac_compile itself does not contain backslashes and begins
       
 17345    # with a dollar sign (not a hyphen), so the echo should work correctly.
       
 17346    lt_compile=`echo "$ac_compile" | $SED \
       
 17347    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
       
 17348    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
       
 17349    -e 's:$: $lt_compiler_flag:'`
       
 17350    (eval echo "\"\$as_me:17350: $lt_compile\"" >&5)
       
 17351    (eval "$lt_compile" 2>out/conftest.err)
       
 17352    ac_status=$?
       
 17353    cat out/conftest.err >&5
       
 17354    echo "$as_me:17354: \$? = $ac_status" >&5
       
 17355    if (exit $ac_status) && test -s out/conftest2.$ac_objext
       
 17356    then
       
 17357      # The compiler can only warn and ignore the option if not recognized
       
 17358      # So say no if there are warnings
       
 17359      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
       
 17360      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
       
 17361      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
       
 17362        lt_cv_prog_compiler_c_o_GCJ=yes
       
 17363      fi
       
 17364    fi
       
 17365    chmod u+w . 2>&5
       
 17366    $rm conftest*
       
 17367    # SGI C++ compiler will create directory out/ii_files/ for
       
 17368    # template instantiation
       
 17369    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
       
 17370    $rm out/* && rmdir out
       
 17371    cd ..
       
 17372    rmdir conftest
       
 17373    $rm conftest*
       
 17374 
       
 17375 fi
       
 17376 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
       
 17377 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
       
 17378 
       
 17379 
       
 17380 hard_links="nottested"
       
 17381 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
       
 17382   # do not overwrite the value of need_locks provided by the user
       
 17383   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
       
 17384 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
       
 17385   hard_links=yes
       
 17386   $rm conftest*
       
 17387   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 17388   touch conftest.a
       
 17389   ln conftest.a conftest.b 2>&5 || hard_links=no
       
 17390   ln conftest.a conftest.b 2>/dev/null && hard_links=no
       
 17391   { echo "$as_me:$LINENO: result: $hard_links" >&5
       
 17392 echo "${ECHO_T}$hard_links" >&6; }
       
 17393   if test "$hard_links" = no; then
       
 17394     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
       
 17395 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       
 17396     need_locks=warn
       
 17397   fi
       
 17398 else
       
 17399   need_locks=no
       
 17400 fi
       
 17401 
       
 17402 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
       
 17403 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
       
 17404 
       
 17405   runpath_var=
       
 17406   allow_undefined_flag_GCJ=
       
 17407   enable_shared_with_static_runtimes_GCJ=no
       
 17408   archive_cmds_GCJ=
       
 17409   archive_expsym_cmds_GCJ=
       
 17410   old_archive_From_new_cmds_GCJ=
       
 17411   old_archive_from_expsyms_cmds_GCJ=
       
 17412   export_dynamic_flag_spec_GCJ=
       
 17413   whole_archive_flag_spec_GCJ=
       
 17414   thread_safe_flag_spec_GCJ=
       
 17415   hardcode_libdir_flag_spec_GCJ=
       
 17416   hardcode_libdir_flag_spec_ld_GCJ=
       
 17417   hardcode_libdir_separator_GCJ=
       
 17418   hardcode_direct_GCJ=no
       
 17419   hardcode_minus_L_GCJ=no
       
 17420   hardcode_shlibpath_var_GCJ=unsupported
       
 17421   link_all_deplibs_GCJ=unknown
       
 17422   hardcode_automatic_GCJ=no
       
 17423   module_cmds_GCJ=
       
 17424   module_expsym_cmds_GCJ=
       
 17425   always_export_symbols_GCJ=no
       
 17426   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
       
 17427   # include_expsyms should be a list of space-separated symbols to be *always*
       
 17428   # included in the symbol list
       
 17429   include_expsyms_GCJ=
       
 17430   # exclude_expsyms can be an extended regexp of symbols to exclude
       
 17431   # it will be wrapped by ` (' and `)$', so one must not match beginning or
       
 17432   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
       
 17433   # as well as any symbol that contains `d'.
       
 17434   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
       
 17435   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
       
 17436   # platforms (ab)use it in PIC code, but their linkers get confused if
       
 17437   # the symbol is explicitly referenced.  Since portable code cannot
       
 17438   # rely on this symbol name, it's probably fine to never include it in
       
 17439   # preloaded symbol tables.
       
 17440   extract_expsyms_cmds=
       
 17441   # Just being paranoid about ensuring that cc_basename is set.
       
 17442   for cc_temp in $compiler""; do
       
 17443   case $cc_temp in
       
 17444     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 17445     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 17446     \-*) ;;
       
 17447     *) break;;
       
 17448   esac
       
 17449 done
       
 17450 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 17451 
       
 17452   case $host_os in
       
 17453   cygwin* | mingw* | pw32*)
       
 17454     # FIXME: the MSVC++ port hasn't been tested in a loooong time
       
 17455     # When not using gcc, we currently assume that we are using
       
 17456     # Microsoft Visual C++.
       
 17457     if test "$GCC" != yes; then
       
 17458       with_gnu_ld=no
       
 17459     fi
       
 17460     ;;
       
 17461   interix*)
       
 17462     # we just hope/assume this is gcc and not c89 (= MSVC++)
       
 17463     with_gnu_ld=yes
       
 17464     ;;
       
 17465   openbsd*)
       
 17466     with_gnu_ld=no
       
 17467     ;;
       
 17468   esac
       
 17469 
       
 17470   ld_shlibs_GCJ=yes
       
 17471   if test "$with_gnu_ld" = yes; then
       
 17472     # If archive_cmds runs LD, not CC, wlarc should be empty
       
 17473     wlarc='${wl}'
       
 17474 
       
 17475     # Set some defaults for GNU ld with shared library support. These
       
 17476     # are reset later if shared libraries are not supported. Putting them
       
 17477     # here allows them to be overridden if necessary.
       
 17478     runpath_var=LD_RUN_PATH
       
 17479     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
       
 17480     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
       
 17481     # ancient GNU ld didn't support --whole-archive et. al.
       
 17482     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
       
 17483 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       
 17484       else
       
 17485   	whole_archive_flag_spec_GCJ=
       
 17486     fi
       
 17487     supports_anon_versioning=no
       
 17488     case `$LD -v 2>/dev/null` in
       
 17489       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 17490       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 17491       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 17492       *\ 2.11.*) ;; # other 2.11 versions
       
 17493       *) supports_anon_versioning=yes ;;
       
 17494     esac
       
 17495 
       
 17496     # See if GNU ld supports shared libraries.
       
 17497     case $host_os in
       
 17498     aix3* | aix4* | aix5*)
       
 17499       # On AIX/PPC, the GNU linker is very broken
       
 17500       if test "$host_cpu" != ia64; then
       
 17501 	ld_shlibs_GCJ=no
       
 17502 	cat <<EOF 1>&2
       
 17503 
       
 17504 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
       
 17505 *** to be unable to reliably create shared libraries on AIX.
       
 17506 *** Therefore, libtool is disabling shared libraries support.  If you
       
 17507 *** really care for shared libraries, you may want to modify your PATH
       
 17508 *** so that a non-GNU linker is found, and then restart.
       
 17509 
       
 17510 EOF
       
 17511       fi
       
 17512       ;;
       
 17513 
       
 17514     amigaos*)
       
 17515       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)'
       
 17516       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17517       hardcode_minus_L_GCJ=yes
       
 17518 
       
 17519       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
       
 17520       # that the semantics of dynamic libraries on AmigaOS, at least up
       
 17521       # to version 4, is to share data among multiple programs linked
       
 17522       # with the same dynamic library.  Since this doesn't match the
       
 17523       # behavior of shared libraries on other platforms, we can't use
       
 17524       # them.
       
 17525       ld_shlibs_GCJ=no
       
 17526       ;;
       
 17527 
       
 17528     beos*)
       
 17529       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17530 	allow_undefined_flag_GCJ=unsupported
       
 17531 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
       
 17532 	# support --undefined.  This deserves some investigation.  FIXME
       
 17533 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17534       else
       
 17535 	ld_shlibs_GCJ=no
       
 17536       fi
       
 17537       ;;
       
 17538 
       
 17539     cygwin* | mingw* | pw32*)
       
 17540       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
       
 17541       # as there is no search path for DLLs.
       
 17542       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17543       allow_undefined_flag_GCJ=unsupported
       
 17544       always_export_symbols_GCJ=no
       
 17545       enable_shared_with_static_runtimes_GCJ=yes
       
 17546       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
       
 17547 
       
 17548       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       
 17549         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 17550 	# If the export-symbols file already is a .def file (1st line
       
 17551 	# is EXPORTS), use it as is; otherwise, prepend...
       
 17552 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
       
 17553 	  cp $export_symbols $output_objdir/$soname.def;
       
 17554 	else
       
 17555 	  echo EXPORTS > $output_objdir/$soname.def;
       
 17556 	  cat $export_symbols >> $output_objdir/$soname.def;
       
 17557 	fi~
       
 17558 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       
 17559       else
       
 17560 	ld_shlibs_GCJ=no
       
 17561       fi
       
 17562       ;;
       
 17563 
       
 17564     interix3*)
       
 17565       hardcode_direct_GCJ=no
       
 17566       hardcode_shlibpath_var_GCJ=no
       
 17567       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 17568       export_dynamic_flag_spec_GCJ='${wl}-E'
       
 17569       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       
 17570       # Instead, shared libraries are loaded at an image base (0x10000000 by
       
 17571       # default) and relocated if they conflict, which is a slow very memory
       
 17572       # consuming and fragmenting process.  To avoid this, we pick a random,
       
 17573       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       
 17574       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       
 17575       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'
       
 17576       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'
       
 17577       ;;
       
 17578 
       
 17579     linux*)
       
 17580       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17581 	tmp_addflag=
       
 17582 	case $cc_basename,$host_cpu in
       
 17583 	pgcc*)				# Portland Group C compiler
       
 17584 	  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'
       
 17585 	  tmp_addflag=' $pic_flag'
       
 17586 	  ;;
       
 17587 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
       
 17588 	  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'
       
 17589 	  tmp_addflag=' $pic_flag -Mnomain' ;;
       
 17590 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
       
 17591 	  tmp_addflag=' -i_dynamic' ;;
       
 17592 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
       
 17593 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
       
 17594 	ifc* | ifort*)			# Intel Fortran compiler
       
 17595 	  tmp_addflag=' -nofor_main' ;;
       
 17596 	esac
       
 17597 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17598 
       
 17599 	if test $supports_anon_versioning = yes; then
       
 17600 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
       
 17601   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 17602   $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 17603 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 17604 	fi
       
 17605       else
       
 17606 	ld_shlibs_GCJ=no
       
 17607       fi
       
 17608       ;;
       
 17609 
       
 17610     netbsd*)
       
 17611       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 17612 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
       
 17613 	wlarc=
       
 17614       else
       
 17615 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17616 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17617       fi
       
 17618       ;;
       
 17619 
       
 17620     solaris*)
       
 17621       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
       
 17622 	ld_shlibs_GCJ=no
       
 17623 	cat <<EOF 1>&2
       
 17624 
       
 17625 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
       
 17626 *** create shared libraries on Solaris systems.  Therefore, libtool
       
 17627 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 17628 *** binutils to release 2.9.1 or newer.  Another option is to modify
       
 17629 *** your PATH or compiler configuration so that the native linker is
       
 17630 *** used, and then restart.
       
 17631 
       
 17632 EOF
       
 17633       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17634 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17635 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17636       else
       
 17637 	ld_shlibs_GCJ=no
       
 17638       fi
       
 17639       ;;
       
 17640 
       
 17641     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       
 17642       case `$LD -v 2>&1` in
       
 17643         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       
 17644 	ld_shlibs_GCJ=no
       
 17645 	cat <<_LT_EOF 1>&2
       
 17646 
       
 17647 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
       
 17648 *** reliably create shared libraries on SCO systems.  Therefore, libtool
       
 17649 *** is disabling shared libraries support.  We urge you to upgrade GNU
       
 17650 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
       
 17651 *** your PATH or compiler configuration so that the native linker is
       
 17652 *** used, and then restart.
       
 17653 
       
 17654 _LT_EOF
       
 17655 	;;
       
 17656 	*)
       
 17657 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17658 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
       
 17659 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       
 17660 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       
 17661 	  else
       
 17662 	    ld_shlibs_GCJ=no
       
 17663 	  fi
       
 17664 	;;
       
 17665       esac
       
 17666       ;;
       
 17667 
       
 17668     sunos4*)
       
 17669       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 17670       wlarc=
       
 17671       hardcode_direct_GCJ=yes
       
 17672       hardcode_shlibpath_var_GCJ=no
       
 17673       ;;
       
 17674 
       
 17675     *)
       
 17676       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
       
 17677 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 17678 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       
 17679       else
       
 17680 	ld_shlibs_GCJ=no
       
 17681       fi
       
 17682       ;;
       
 17683     esac
       
 17684 
       
 17685     if test "$ld_shlibs_GCJ" = no; then
       
 17686       runpath_var=
       
 17687       hardcode_libdir_flag_spec_GCJ=
       
 17688       export_dynamic_flag_spec_GCJ=
       
 17689       whole_archive_flag_spec_GCJ=
       
 17690     fi
       
 17691   else
       
 17692     # PORTME fill in a description of your system's linker (not GNU ld)
       
 17693     case $host_os in
       
 17694     aix3*)
       
 17695       allow_undefined_flag_GCJ=unsupported
       
 17696       always_export_symbols_GCJ=yes
       
 17697       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'
       
 17698       # Note: this linker hardcodes the directories in LIBPATH if there
       
 17699       # are no directories specified by -L.
       
 17700       hardcode_minus_L_GCJ=yes
       
 17701       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
       
 17702 	# Neither direct hardcoding nor static linking is supported with a
       
 17703 	# broken collect2.
       
 17704 	hardcode_direct_GCJ=unsupported
       
 17705       fi
       
 17706       ;;
       
 17707 
       
 17708     aix4* | aix5*)
       
 17709       if test "$host_cpu" = ia64; then
       
 17710 	# On IA64, the linker does run time linking by default, so we don't
       
 17711 	# have to do anything special.
       
 17712 	aix_use_runtimelinking=no
       
 17713 	exp_sym_flag='-Bexport'
       
 17714 	no_entry_flag=""
       
 17715       else
       
 17716 	# If we're using GNU nm, then we don't want the "-C" option.
       
 17717 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
       
 17718 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
       
 17719 	  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'
       
 17720 	else
       
 17721 	  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'
       
 17722 	fi
       
 17723 	aix_use_runtimelinking=no
       
 17724 
       
 17725 	# Test if we are trying to use run time linking or normal
       
 17726 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
       
 17727 	# need to do runtime linking.
       
 17728 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
       
 17729 	  for ld_flag in $LDFLAGS; do
       
 17730   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
       
 17731   	    aix_use_runtimelinking=yes
       
 17732   	    break
       
 17733   	  fi
       
 17734 	  done
       
 17735 	  ;;
       
 17736 	esac
       
 17737 
       
 17738 	exp_sym_flag='-bexport'
       
 17739 	no_entry_flag='-bnoentry'
       
 17740       fi
       
 17741 
       
 17742       # When large executables or shared objects are built, AIX ld can
       
 17743       # have problems creating the table of contents.  If linking a library
       
 17744       # or program results in "error TOC overflow" add -mminimal-toc to
       
 17745       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       
 17746       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
       
 17747 
       
 17748       archive_cmds_GCJ=''
       
 17749       hardcode_direct_GCJ=yes
       
 17750       hardcode_libdir_separator_GCJ=':'
       
 17751       link_all_deplibs_GCJ=yes
       
 17752 
       
 17753       if test "$GCC" = yes; then
       
 17754 	case $host_os in aix4.[012]|aix4.[012].*)
       
 17755 	# We only want to do this on AIX 4.2 and lower, the check
       
 17756 	# below for broken collect2 doesn't work under 4.3+
       
 17757 	  collect2name=`${CC} -print-prog-name=collect2`
       
 17758 	  if test -f "$collect2name" && \
       
 17759   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
       
 17760 	  then
       
 17761   	  # We have reworked collect2
       
 17762   	  hardcode_direct_GCJ=yes
       
 17763 	  else
       
 17764   	  # We have old collect2
       
 17765   	  hardcode_direct_GCJ=unsupported
       
 17766   	  # It fails to find uninstalled libraries when the uninstalled
       
 17767   	  # path is not listed in the libpath.  Setting hardcode_minus_L
       
 17768   	  # to unsupported forces relinking
       
 17769   	  hardcode_minus_L_GCJ=yes
       
 17770   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17771   	  hardcode_libdir_separator_GCJ=
       
 17772 	  fi
       
 17773 	  ;;
       
 17774 	esac
       
 17775 	shared_flag='-shared'
       
 17776 	if test "$aix_use_runtimelinking" = yes; then
       
 17777 	  shared_flag="$shared_flag "'${wl}-G'
       
 17778 	fi
       
 17779       else
       
 17780 	# not using gcc
       
 17781 	if test "$host_cpu" = ia64; then
       
 17782   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
       
 17783   	# chokes on -Wl,-G. The following line is correct:
       
 17784 	  shared_flag='-G'
       
 17785 	else
       
 17786 	  if test "$aix_use_runtimelinking" = yes; then
       
 17787 	    shared_flag='${wl}-G'
       
 17788 	  else
       
 17789 	    shared_flag='${wl}-bM:SRE'
       
 17790 	  fi
       
 17791 	fi
       
 17792       fi
       
 17793 
       
 17794       # It seems that -bexpall does not export symbols beginning with
       
 17795       # underscore (_), so it is better to generate a list of symbols to export.
       
 17796       always_export_symbols_GCJ=yes
       
 17797       if test "$aix_use_runtimelinking" = yes; then
       
 17798 	# Warning - without using the other runtime loading flags (-brtl),
       
 17799 	# -berok will link without error, but may produce a broken library.
       
 17800 	allow_undefined_flag_GCJ='-berok'
       
 17801        # Determine the default libpath from the value encoded in an empty executable.
       
 17802        cat >conftest.$ac_ext <<_ACEOF
       
 17803 /* confdefs.h.  */
       
 17804 _ACEOF
       
 17805 cat confdefs.h >>conftest.$ac_ext
       
 17806 cat >>conftest.$ac_ext <<_ACEOF
       
 17807 /* end confdefs.h.  */
       
 17808 
       
 17809 int
       
 17810 main ()
       
 17811 {
       
 17812 
       
 17813   ;
       
 17814   return 0;
       
 17815 }
       
 17816 _ACEOF
       
 17817 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17818 if { (ac_try="$ac_link"
       
 17819 case "(($ac_try" in
       
 17820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17821   *) ac_try_echo=$ac_try;;
       
 17822 esac
       
 17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17824   (eval "$ac_link") 2>conftest.er1
       
 17825   ac_status=$?
       
 17826   grep -v '^ *+' conftest.er1 >conftest.err
       
 17827   rm -f conftest.er1
       
 17828   cat conftest.err >&5
       
 17829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17830   (exit $ac_status); } &&
       
 17831 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 17832   { (case "(($ac_try" in
       
 17833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17834   *) ac_try_echo=$ac_try;;
       
 17835 esac
       
 17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17837   (eval "$ac_try") 2>&5
       
 17838   ac_status=$?
       
 17839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17840   (exit $ac_status); }; } &&
       
 17841 	 { ac_try='test -s conftest$ac_exeext'
       
 17842   { (case "(($ac_try" in
       
 17843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17844   *) ac_try_echo=$ac_try;;
       
 17845 esac
       
 17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17847   (eval "$ac_try") 2>&5
       
 17848   ac_status=$?
       
 17849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17850   (exit $ac_status); }; }; then
       
 17851 
       
 17852 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17853 }'`
       
 17854 # Check for a 64-bit object if we didn't find anything.
       
 17855 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; }
       
 17856 }'`; fi
       
 17857 else
       
 17858   echo "$as_me: failed program was:" >&5
       
 17859 sed 's/^/| /' conftest.$ac_ext >&5
       
 17860 
       
 17861 
       
 17862 fi
       
 17863 
       
 17864 rm -f core conftest.err conftest.$ac_objext \
       
 17865       conftest$ac_exeext conftest.$ac_ext
       
 17866 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 17867 
       
 17868        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 17869 	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"
       
 17870        else
       
 17871 	if test "$host_cpu" = ia64; then
       
 17872 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
       
 17873 	  allow_undefined_flag_GCJ="-z nodefs"
       
 17874 	  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"
       
 17875 	else
       
 17876 	 # Determine the default libpath from the value encoded in an empty executable.
       
 17877 	 cat >conftest.$ac_ext <<_ACEOF
       
 17878 /* confdefs.h.  */
       
 17879 _ACEOF
       
 17880 cat confdefs.h >>conftest.$ac_ext
       
 17881 cat >>conftest.$ac_ext <<_ACEOF
       
 17882 /* end confdefs.h.  */
       
 17883 
       
 17884 int
       
 17885 main ()
       
 17886 {
       
 17887 
       
 17888   ;
       
 17889   return 0;
       
 17890 }
       
 17891 _ACEOF
       
 17892 rm -f conftest.$ac_objext conftest$ac_exeext
       
 17893 if { (ac_try="$ac_link"
       
 17894 case "(($ac_try" in
       
 17895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17896   *) ac_try_echo=$ac_try;;
       
 17897 esac
       
 17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17899   (eval "$ac_link") 2>conftest.er1
       
 17900   ac_status=$?
       
 17901   grep -v '^ *+' conftest.er1 >conftest.err
       
 17902   rm -f conftest.er1
       
 17903   cat conftest.err >&5
       
 17904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17905   (exit $ac_status); } &&
       
 17906 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 17907   { (case "(($ac_try" in
       
 17908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17909   *) ac_try_echo=$ac_try;;
       
 17910 esac
       
 17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17912   (eval "$ac_try") 2>&5
       
 17913   ac_status=$?
       
 17914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17915   (exit $ac_status); }; } &&
       
 17916 	 { ac_try='test -s conftest$ac_exeext'
       
 17917   { (case "(($ac_try" in
       
 17918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 17919   *) ac_try_echo=$ac_try;;
       
 17920 esac
       
 17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 17922   (eval "$ac_try") 2>&5
       
 17923   ac_status=$?
       
 17924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 17925   (exit $ac_status); }; }; then
       
 17926 
       
 17927 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
       
 17928 }'`
       
 17929 # Check for a 64-bit object if we didn't find anything.
       
 17930 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; }
       
 17931 }'`; fi
       
 17932 else
       
 17933   echo "$as_me: failed program was:" >&5
       
 17934 sed 's/^/| /' conftest.$ac_ext >&5
       
 17935 
       
 17936 
       
 17937 fi
       
 17938 
       
 17939 rm -f core conftest.err conftest.$ac_objext \
       
 17940       conftest$ac_exeext conftest.$ac_ext
       
 17941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       
 17942 
       
 17943 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
       
 17944 	  # Warning - without using the other run time loading flags,
       
 17945 	  # -berok will link without error, but may produce a broken library.
       
 17946 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
       
 17947 	  allow_undefined_flag_GCJ=' ${wl}-berok'
       
 17948 	  # Exported symbols can be pulled into shared objects from archives
       
 17949 	  whole_archive_flag_spec_GCJ='$convenience'
       
 17950 	  archive_cmds_need_lc_GCJ=yes
       
 17951 	  # This is similar to how AIX traditionally builds its shared libraries.
       
 17952 	  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'
       
 17953 	fi
       
 17954       fi
       
 17955       ;;
       
 17956 
       
 17957     amigaos*)
       
 17958       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)'
       
 17959       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 17960       hardcode_minus_L_GCJ=yes
       
 17961       # see comment about different semantics on the GNU ld section
       
 17962       ld_shlibs_GCJ=no
       
 17963       ;;
       
 17964 
       
 17965     bsdi[45]*)
       
 17966       export_dynamic_flag_spec_GCJ=-rdynamic
       
 17967       ;;
       
 17968 
       
 17969     cygwin* | mingw* | pw32*)
       
 17970       # When not using gcc, we currently assume that we are using
       
 17971       # Microsoft Visual C++.
       
 17972       # hardcode_libdir_flag_spec is actually meaningless, as there is
       
 17973       # no search path for DLLs.
       
 17974       hardcode_libdir_flag_spec_GCJ=' '
       
 17975       allow_undefined_flag_GCJ=unsupported
       
 17976       # Tell ltmain to make .lib files, not .a files.
       
 17977       libext=lib
       
 17978       # Tell ltmain to make .dll files, not .so files.
       
 17979       shrext_cmds=".dll"
       
 17980       # FIXME: Setting linknames here is a bad hack.
       
 17981       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
       
 17982       # The linker will automatically build a .lib file if we build a DLL.
       
 17983       old_archive_From_new_cmds_GCJ='true'
       
 17984       # FIXME: Should let the user specify the lib program.
       
 17985       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
       
 17986       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
       
 17987       enable_shared_with_static_runtimes_GCJ=yes
       
 17988       ;;
       
 17989 
       
 17990     darwin* | rhapsody*)
       
 17991       case $host_os in
       
 17992         rhapsody* | darwin1.[012])
       
 17993          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
       
 17994          ;;
       
 17995        *) # Darwin 1.3 on
       
 17996          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
       
 17997            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 17998          else
       
 17999            case ${MACOSX_DEPLOYMENT_TARGET} in
       
 18000              10.[012])
       
 18001                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       
 18002                ;;
       
 18003              10.*)
       
 18004                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
       
 18005                ;;
       
 18006            esac
       
 18007          fi
       
 18008          ;;
       
 18009       esac
       
 18010       archive_cmds_need_lc_GCJ=no
       
 18011       hardcode_direct_GCJ=no
       
 18012       hardcode_automatic_GCJ=yes
       
 18013       hardcode_shlibpath_var_GCJ=unsupported
       
 18014       whole_archive_flag_spec_GCJ=''
       
 18015       link_all_deplibs_GCJ=yes
       
 18016     if test "$GCC" = yes ; then
       
 18017     	output_verbose_link_cmd='echo'
       
 18018         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
       
 18019       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 18020       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 18021       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}'
       
 18022       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}'
       
 18023     else
       
 18024       case $cc_basename in
       
 18025         xlc*)
       
 18026          output_verbose_link_cmd='echo'
       
 18027          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
       
 18028          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
       
 18029           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
       
 18030          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}'
       
 18031           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}'
       
 18032           ;;
       
 18033        *)
       
 18034          ld_shlibs_GCJ=no
       
 18035           ;;
       
 18036       esac
       
 18037     fi
       
 18038       ;;
       
 18039 
       
 18040     dgux*)
       
 18041       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18042       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 18043       hardcode_shlibpath_var_GCJ=no
       
 18044       ;;
       
 18045 
       
 18046     freebsd1*)
       
 18047       ld_shlibs_GCJ=no
       
 18048       ;;
       
 18049 
       
 18050     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       
 18051     # support.  Future versions do this automatically, but an explicit c++rt0.o
       
 18052     # does not break anything, and helps significantly (at the cost of a little
       
 18053     # extra space).
       
 18054     freebsd2.2*)
       
 18055       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
       
 18056       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 18057       hardcode_direct_GCJ=yes
       
 18058       hardcode_shlibpath_var_GCJ=no
       
 18059       ;;
       
 18060 
       
 18061     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       
 18062     freebsd2*)
       
 18063       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 18064       hardcode_direct_GCJ=yes
       
 18065       hardcode_minus_L_GCJ=yes
       
 18066       hardcode_shlibpath_var_GCJ=no
       
 18067       ;;
       
 18068 
       
 18069     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       
 18070     freebsd* | kfreebsd*-gnu | dragonfly*)
       
 18071       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       
 18072       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 18073       hardcode_direct_GCJ=yes
       
 18074       hardcode_shlibpath_var_GCJ=no
       
 18075       ;;
       
 18076 
       
 18077     hpux9*)
       
 18078       if test "$GCC" = yes; then
       
 18079 	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'
       
 18080       else
       
 18081 	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'
       
 18082       fi
       
 18083       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 18084       hardcode_libdir_separator_GCJ=:
       
 18085       hardcode_direct_GCJ=yes
       
 18086 
       
 18087       # hardcode_minus_L: Not really in the search PATH,
       
 18088       # but as the default location of the library.
       
 18089       hardcode_minus_L_GCJ=yes
       
 18090       export_dynamic_flag_spec_GCJ='${wl}-E'
       
 18091       ;;
       
 18092 
       
 18093     hpux10*)
       
 18094       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 18095 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 18096       else
       
 18097 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       
 18098       fi
       
 18099       if test "$with_gnu_ld" = no; then
       
 18100 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 18101 	hardcode_libdir_separator_GCJ=:
       
 18102 
       
 18103 	hardcode_direct_GCJ=yes
       
 18104 	export_dynamic_flag_spec_GCJ='${wl}-E'
       
 18105 
       
 18106 	# hardcode_minus_L: Not really in the search PATH,
       
 18107 	# but as the default location of the library.
       
 18108 	hardcode_minus_L_GCJ=yes
       
 18109       fi
       
 18110       ;;
       
 18111 
       
 18112     hpux11*)
       
 18113       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
       
 18114 	case $host_cpu in
       
 18115 	hppa*64*)
       
 18116 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18117 	  ;;
       
 18118 	ia64*)
       
 18119 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 18120 	  ;;
       
 18121 	*)
       
 18122 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 18123 	  ;;
       
 18124 	esac
       
 18125       else
       
 18126 	case $host_cpu in
       
 18127 	hppa*64*)
       
 18128 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18129 	  ;;
       
 18130 	ia64*)
       
 18131 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
       
 18132 	  ;;
       
 18133 	*)
       
 18134 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       
 18135 	  ;;
       
 18136 	esac
       
 18137       fi
       
 18138       if test "$with_gnu_ld" = no; then
       
 18139 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
       
 18140 	hardcode_libdir_separator_GCJ=:
       
 18141 
       
 18142 	case $host_cpu in
       
 18143 	hppa*64*|ia64*)
       
 18144 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
       
 18145 	  hardcode_direct_GCJ=no
       
 18146 	  hardcode_shlibpath_var_GCJ=no
       
 18147 	  ;;
       
 18148 	*)
       
 18149 	  hardcode_direct_GCJ=yes
       
 18150 	  export_dynamic_flag_spec_GCJ='${wl}-E'
       
 18151 
       
 18152 	  # hardcode_minus_L: Not really in the search PATH,
       
 18153 	  # but as the default location of the library.
       
 18154 	  hardcode_minus_L_GCJ=yes
       
 18155 	  ;;
       
 18156 	esac
       
 18157       fi
       
 18158       ;;
       
 18159 
       
 18160     irix5* | irix6* | nonstopux*)
       
 18161       if test "$GCC" = yes; then
       
 18162 	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'
       
 18163       else
       
 18164 	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'
       
 18165 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
       
 18166       fi
       
 18167       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 18168       hardcode_libdir_separator_GCJ=:
       
 18169       link_all_deplibs_GCJ=yes
       
 18170       ;;
       
 18171 
       
 18172     netbsd*)
       
 18173       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 18174 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       
 18175       else
       
 18176 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
       
 18177       fi
       
 18178       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 18179       hardcode_direct_GCJ=yes
       
 18180       hardcode_shlibpath_var_GCJ=no
       
 18181       ;;
       
 18182 
       
 18183     newsos6)
       
 18184       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18185       hardcode_direct_GCJ=yes
       
 18186       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 18187       hardcode_libdir_separator_GCJ=:
       
 18188       hardcode_shlibpath_var_GCJ=no
       
 18189       ;;
       
 18190 
       
 18191     openbsd*)
       
 18192       hardcode_direct_GCJ=yes
       
 18193       hardcode_shlibpath_var_GCJ=no
       
 18194       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 18195 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 18196 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
       
 18197 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 18198 	export_dynamic_flag_spec_GCJ='${wl}-E'
       
 18199       else
       
 18200        case $host_os in
       
 18201 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
       
 18202 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       
 18203 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 18204 	   ;;
       
 18205 	 *)
       
 18206 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       
 18207 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       
 18208 	   ;;
       
 18209        esac
       
 18210       fi
       
 18211       ;;
       
 18212 
       
 18213     os2*)
       
 18214       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 18215       hardcode_minus_L_GCJ=yes
       
 18216       allow_undefined_flag_GCJ=unsupported
       
 18217       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'
       
 18218       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
       
 18219       ;;
       
 18220 
       
 18221     osf3*)
       
 18222       if test "$GCC" = yes; then
       
 18223 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
       
 18224 	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'
       
 18225       else
       
 18226 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
       
 18227 	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'
       
 18228       fi
       
 18229       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 18230       hardcode_libdir_separator_GCJ=:
       
 18231       ;;
       
 18232 
       
 18233     osf4* | osf5*)	# as osf3* with the addition of -msym flag
       
 18234       if test "$GCC" = yes; then
       
 18235 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
       
 18236 	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'
       
 18237 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
       
 18238       else
       
 18239 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
       
 18240 	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'
       
 18241 	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~
       
 18242 	$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'
       
 18243 
       
 18244 	# Both c and cxx compiler support -rpath directly
       
 18245 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
       
 18246       fi
       
 18247       hardcode_libdir_separator_GCJ=:
       
 18248       ;;
       
 18249 
       
 18250     solaris*)
       
 18251       no_undefined_flag_GCJ=' -z text'
       
 18252       if test "$GCC" = yes; then
       
 18253 	wlarc='${wl}'
       
 18254 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18255 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 18256 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
       
 18257       else
       
 18258 	wlarc=''
       
 18259 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18260 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
       
 18261   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
       
 18262       fi
       
 18263       hardcode_libdir_flag_spec_GCJ='-R$libdir'
       
 18264       hardcode_shlibpath_var_GCJ=no
       
 18265       case $host_os in
       
 18266       solaris2.[0-5] | solaris2.[0-5].*) ;;
       
 18267       *)
       
 18268  	# The compiler driver will combine linker options so we
       
 18269  	# cannot just pass the convience library names through
       
 18270  	# without $wl, iff we do not link with $LD.
       
 18271  	# Luckily, gcc supports the same syntax we need for Sun Studio.
       
 18272  	# Supported since Solaris 2.6 (maybe 2.5.1?)
       
 18273  	case $wlarc in
       
 18274  	'')
       
 18275  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
       
 18276  	*)
       
 18277  	  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' ;;
       
 18278  	esac ;;
       
 18279       esac
       
 18280       link_all_deplibs_GCJ=yes
       
 18281       ;;
       
 18282 
       
 18283     sunos4*)
       
 18284       if test "x$host_vendor" = xsequent; then
       
 18285 	# Use $CC to link under sequent, because it throws in some extra .o
       
 18286 	# files that make .init and .fini sections work.
       
 18287 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18288       else
       
 18289 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
       
 18290       fi
       
 18291       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 18292       hardcode_direct_GCJ=yes
       
 18293       hardcode_minus_L_GCJ=yes
       
 18294       hardcode_shlibpath_var_GCJ=no
       
 18295       ;;
       
 18296 
       
 18297     sysv4)
       
 18298       case $host_vendor in
       
 18299 	sni)
       
 18300 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18301 	  hardcode_direct_GCJ=yes # is this really true???
       
 18302 	;;
       
 18303 	siemens)
       
 18304 	  ## LD is ld it makes a PLAMLIB
       
 18305 	  ## CC just makes a GrossModule.
       
 18306 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
       
 18307 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
       
 18308 	  hardcode_direct_GCJ=no
       
 18309         ;;
       
 18310 	motorola)
       
 18311 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18312 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
       
 18313 	;;
       
 18314       esac
       
 18315       runpath_var='LD_RUN_PATH'
       
 18316       hardcode_shlibpath_var_GCJ=no
       
 18317       ;;
       
 18318 
       
 18319     sysv4.3*)
       
 18320       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18321       hardcode_shlibpath_var_GCJ=no
       
 18322       export_dynamic_flag_spec_GCJ='-Bexport'
       
 18323       ;;
       
 18324 
       
 18325     sysv4*MP*)
       
 18326       if test -d /usr/nec; then
       
 18327 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18328 	hardcode_shlibpath_var_GCJ=no
       
 18329 	runpath_var=LD_RUN_PATH
       
 18330 	hardcode_runpath_var=yes
       
 18331 	ld_shlibs_GCJ=yes
       
 18332       fi
       
 18333       ;;
       
 18334 
       
 18335     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       
 18336       no_undefined_flag_GCJ='${wl}-z,text'
       
 18337       archive_cmds_need_lc_GCJ=no
       
 18338       hardcode_shlibpath_var_GCJ=no
       
 18339       runpath_var='LD_RUN_PATH'
       
 18340 
       
 18341       if test "$GCC" = yes; then
       
 18342 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18343 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18344       else
       
 18345 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18346 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18347       fi
       
 18348       ;;
       
 18349 
       
 18350     sysv5* | sco3.2v5* | sco5v6*)
       
 18351       # Note: We can NOT use -z defs as we might desire, because we do not
       
 18352       # link with -lc, and that would cause any symbols used from libc to
       
 18353       # always be unresolved, which means just about no library would
       
 18354       # ever link correctly.  If we're not using GNU ld we use -z text
       
 18355       # though, which does catch some bad symbols but isn't as heavy-handed
       
 18356       # as -z defs.
       
 18357       no_undefined_flag_GCJ='${wl}-z,text'
       
 18358       allow_undefined_flag_GCJ='${wl}-z,nodefs'
       
 18359       archive_cmds_need_lc_GCJ=no
       
 18360       hardcode_shlibpath_var_GCJ=no
       
 18361       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       
 18362       hardcode_libdir_separator_GCJ=':'
       
 18363       link_all_deplibs_GCJ=yes
       
 18364       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
       
 18365       runpath_var='LD_RUN_PATH'
       
 18366 
       
 18367       if test "$GCC" = yes; then
       
 18368 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18369 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18370       else
       
 18371 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18372 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
       
 18373       fi
       
 18374       ;;
       
 18375 
       
 18376     uts4*)
       
 18377       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
       
 18378       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       
 18379       hardcode_shlibpath_var_GCJ=no
       
 18380       ;;
       
 18381 
       
 18382     *)
       
 18383       ld_shlibs_GCJ=no
       
 18384       ;;
       
 18385     esac
       
 18386   fi
       
 18387 
       
 18388 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
       
 18389 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
       
 18390 test "$ld_shlibs_GCJ" = no && can_build_shared=no
       
 18391 
       
 18392 #
       
 18393 # Do we need to explicitly link libc?
       
 18394 #
       
 18395 case "x$archive_cmds_need_lc_GCJ" in
       
 18396 x|xyes)
       
 18397   # Assume -lc should be added
       
 18398   archive_cmds_need_lc_GCJ=yes
       
 18399 
       
 18400   if test "$enable_shared" = yes && test "$GCC" = yes; then
       
 18401     case $archive_cmds_GCJ in
       
 18402     *'~'*)
       
 18403       # FIXME: we may have to deal with multi-command sequences.
       
 18404       ;;
       
 18405     '$CC '*)
       
 18406       # Test whether the compiler implicitly links with -lc since on some
       
 18407       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       
 18408       # to ld, don't add -lc before -lgcc.
       
 18409       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
       
 18410 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
       
 18411       $rm conftest*
       
 18412       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
       
 18413 
       
 18414       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
       
 18415   (eval $ac_compile) 2>&5
       
 18416   ac_status=$?
       
 18417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18418   (exit $ac_status); } 2>conftest.err; then
       
 18419         soname=conftest
       
 18420         lib=conftest
       
 18421         libobjs=conftest.$ac_objext
       
 18422         deplibs=
       
 18423         wl=$lt_prog_compiler_wl_GCJ
       
 18424 	pic_flag=$lt_prog_compiler_pic_GCJ
       
 18425         compiler_flags=-v
       
 18426         linker_flags=-v
       
 18427         verstring=
       
 18428         output_objdir=.
       
 18429         libname=conftest
       
 18430         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
       
 18431         allow_undefined_flag_GCJ=
       
 18432         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
       
 18433   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
       
 18434   ac_status=$?
       
 18435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 18436   (exit $ac_status); }
       
 18437         then
       
 18438 	  archive_cmds_need_lc_GCJ=no
       
 18439         else
       
 18440 	  archive_cmds_need_lc_GCJ=yes
       
 18441         fi
       
 18442         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
       
 18443       else
       
 18444         cat conftest.err 1>&5
       
 18445       fi
       
 18446       $rm conftest*
       
 18447       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
       
 18448 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
       
 18449       ;;
       
 18450     esac
       
 18451   fi
       
 18452   ;;
       
 18453 esac
       
 18454 
       
 18455 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
       
 18456 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
       
 18457 library_names_spec=
       
 18458 libname_spec='lib$name'
       
 18459 soname_spec=
       
 18460 shrext_cmds=".so"
       
 18461 postinstall_cmds=
       
 18462 postuninstall_cmds=
       
 18463 finish_cmds=
       
 18464 finish_eval=
       
 18465 shlibpath_var=
       
 18466 shlibpath_overrides_runpath=unknown
       
 18467 version_type=none
       
 18468 dynamic_linker="$host_os ld.so"
       
 18469 sys_lib_dlsearch_path_spec="/lib /usr/lib"
       
 18470 if test "$GCC" = yes; then
       
 18471   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 18472   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
       
 18473     # if the path contains ";" then we assume it to be the separator
       
 18474     # otherwise default to the standard path separator (i.e. ":") - it is
       
 18475     # assumed that no part of a normal pathname contains ";" but that should
       
 18476     # okay in the real world where ";" in dirpaths is itself problematic.
       
 18477     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 18478   else
       
 18479     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 18480   fi
       
 18481 else
       
 18482   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
       
 18483 fi
       
 18484 need_lib_prefix=unknown
       
 18485 hardcode_into_libs=no
       
 18486 
       
 18487 # when you set need_version to no, make sure it does not cause -set_version
       
 18488 # flags to be left without arguments
       
 18489 need_version=unknown
       
 18490 
       
 18491 case $host_os in
       
 18492 aix3*)
       
 18493   version_type=linux
       
 18494   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
       
 18495   shlibpath_var=LIBPATH
       
 18496 
       
 18497   # AIX 3 has no versioning support, so we append a major version to the name.
       
 18498   soname_spec='${libname}${release}${shared_ext}$major'
       
 18499   ;;
       
 18500 
       
 18501 aix4* | aix5*)
       
 18502   version_type=linux
       
 18503   need_lib_prefix=no
       
 18504   need_version=no
       
 18505   hardcode_into_libs=yes
       
 18506   if test "$host_cpu" = ia64; then
       
 18507     # AIX 5 supports IA64
       
 18508     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
       
 18509     shlibpath_var=LD_LIBRARY_PATH
       
 18510   else
       
 18511     # With GCC up to 2.95.x, collect2 would create an import file
       
 18512     # for dependence libraries.  The import file would start with
       
 18513     # the line `#! .'.  This would cause the generated library to
       
 18514     # depend on `.', always an invalid library.  This was fixed in
       
 18515     # development snapshots of GCC prior to 3.0.
       
 18516     case $host_os in
       
 18517       aix4 | aix4.[01] | aix4.[01].*)
       
 18518       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
       
 18519 	   echo ' yes '
       
 18520 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
       
 18521 	:
       
 18522       else
       
 18523 	can_build_shared=no
       
 18524       fi
       
 18525       ;;
       
 18526     esac
       
 18527     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       
 18528     # soname into executable. Probably we can add versioning support to
       
 18529     # collect2, so additional links can be useful in future.
       
 18530     if test "$aix_use_runtimelinking" = yes; then
       
 18531       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       
 18532       # instead of lib<name>.a to let people know that these are not
       
 18533       # typical AIX shared libraries.
       
 18534       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18535     else
       
 18536       # We preserve .a as extension for shared libraries through AIX4.2
       
 18537       # and later when we are not doing run time linking.
       
 18538       library_names_spec='${libname}${release}.a $libname.a'
       
 18539       soname_spec='${libname}${release}${shared_ext}$major'
       
 18540     fi
       
 18541     shlibpath_var=LIBPATH
       
 18542   fi
       
 18543   ;;
       
 18544 
       
 18545 amigaos*)
       
 18546   library_names_spec='$libname.ixlibrary $libname.a'
       
 18547   # Create ${libname}_ixlibrary.a entries in /sys/libs.
       
 18548   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'
       
 18549   ;;
       
 18550 
       
 18551 beos*)
       
 18552   library_names_spec='${libname}${shared_ext}'
       
 18553   dynamic_linker="$host_os ld.so"
       
 18554   shlibpath_var=LIBRARY_PATH
       
 18555   ;;
       
 18556 
       
 18557 bsdi[45]*)
       
 18558   version_type=linux
       
 18559   need_version=no
       
 18560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18561   soname_spec='${libname}${release}${shared_ext}$major'
       
 18562   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
       
 18563   shlibpath_var=LD_LIBRARY_PATH
       
 18564   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
       
 18565   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
       
 18566   # the default ld.so.conf also contains /usr/contrib/lib and
       
 18567   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
       
 18568   # libtool to hard-code these into programs
       
 18569   ;;
       
 18570 
       
 18571 cygwin* | mingw* | pw32*)
       
 18572   version_type=windows
       
 18573   shrext_cmds=".dll"
       
 18574   need_version=no
       
 18575   need_lib_prefix=no
       
 18576 
       
 18577   case $GCC,$host_os in
       
 18578   yes,cygwin* | yes,mingw* | yes,pw32*)
       
 18579     library_names_spec='$libname.dll.a'
       
 18580     # DLL is installed to $(libdir)/../bin by postinstall_cmds
       
 18581     postinstall_cmds='base_file=`basename \${file}`~
       
 18582       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       
 18583       dldir=$destdir/`dirname \$dlpath`~
       
 18584       test -d \$dldir || mkdir -p \$dldir~
       
 18585       $install_prog $dir/$dlname \$dldir/$dlname~
       
 18586       chmod a+x \$dldir/$dlname'
       
 18587     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       
 18588       dlpath=$dir/\$dldll~
       
 18589        $rm \$dlpath'
       
 18590     shlibpath_overrides_runpath=yes
       
 18591 
       
 18592     case $host_os in
       
 18593     cygwin*)
       
 18594       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
       
 18595       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18596       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
       
 18597       ;;
       
 18598     mingw*)
       
 18599       # MinGW DLLs use traditional 'lib' prefix
       
 18600       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18601       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
       
 18602       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
       
 18603         # It is most probably a Windows format PATH printed by
       
 18604         # mingw gcc, but we are running on Cygwin. Gcc prints its search
       
 18605         # path with ; separators, and with drive letters. We can handle the
       
 18606         # drive letters (cygwin fileutils understands them), so leave them,
       
 18607         # especially as we might pass files found there to a mingw objdump,
       
 18608         # which wouldn't understand a cygwinified path. Ahh.
       
 18609         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
       
 18610       else
       
 18611         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
       
 18612       fi
       
 18613       ;;
       
 18614     pw32*)
       
 18615       # pw32 DLLs use 'pw' prefix rather than 'lib'
       
 18616       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       
 18617       ;;
       
 18618     esac
       
 18619     ;;
       
 18620 
       
 18621   linux*)
       
 18622     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
       
 18623       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       
 18624       supports_anon_versioning=no
       
 18625       case `$LD -v 2>/dev/null` in
       
 18626         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
       
 18627         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
       
 18628         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
       
 18629         *\ 2.11.*) ;; # other 2.11 versions
       
 18630         *) supports_anon_versioning=yes ;;
       
 18631       esac
       
 18632       if test $supports_anon_versioning = yes; then
       
 18633         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
       
 18634 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
       
 18635 $echo "local: *; };" >> $output_objdir/$libname.ver~
       
 18636         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
       
 18637       else
       
 18638         $archive_expsym_cmds="$archive_cmds"
       
 18639       fi
       
 18640     else
       
 18641       ld_shlibs=no
       
 18642     fi
       
 18643     ;;
       
 18644 
       
 18645   *)
       
 18646     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       
 18647     ;;
       
 18648   esac
       
 18649   dynamic_linker='Win32 ld.exe'
       
 18650   # FIXME: first we should search . and the directory the executable is in
       
 18651   shlibpath_var=PATH
       
 18652   ;;
       
 18653 
       
 18654 darwin* | rhapsody*)
       
 18655   dynamic_linker="$host_os dyld"
       
 18656   version_type=darwin
       
 18657   need_lib_prefix=no
       
 18658   need_version=no
       
 18659   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
       
 18660   soname_spec='${libname}${release}${major}$shared_ext'
       
 18661   shlibpath_overrides_runpath=yes
       
 18662   shlibpath_var=DYLD_LIBRARY_PATH
       
 18663   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
       
 18664   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
       
 18665   if test "$GCC" = yes; then
       
 18666     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"`
       
 18667   else
       
 18668     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
       
 18669   fi
       
 18670   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
       
 18671   ;;
       
 18672 
       
 18673 dgux*)
       
 18674   version_type=linux
       
 18675   need_lib_prefix=no
       
 18676   need_version=no
       
 18677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
       
 18678   soname_spec='${libname}${release}${shared_ext}$major'
       
 18679   shlibpath_var=LD_LIBRARY_PATH
       
 18680   ;;
       
 18681 
       
 18682 freebsd1*)
       
 18683   dynamic_linker=no
       
 18684   ;;
       
 18685 
       
 18686 kfreebsd*-gnu)
       
 18687   version_type=linux
       
 18688   need_lib_prefix=no
       
 18689   need_version=no
       
 18690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18691   soname_spec='${libname}${release}${shared_ext}$major'
       
 18692   shlibpath_var=LD_LIBRARY_PATH
       
 18693   shlibpath_overrides_runpath=no
       
 18694   hardcode_into_libs=yes
       
 18695   dynamic_linker='GNU ld.so'
       
 18696   ;;
       
 18697 
       
 18698 freebsd* | dragonfly*)
       
 18699   # DragonFly does not have aout.  When/if they implement a new
       
 18700   # versioning mechanism, adjust this.
       
 18701   if test -x /usr/bin/objformat; then
       
 18702     objformat=`/usr/bin/objformat`
       
 18703   else
       
 18704     case $host_os in
       
 18705     freebsd[123]*) objformat=aout ;;
       
 18706     *) objformat=elf ;;
       
 18707     esac
       
 18708   fi
       
 18709   # Handle Gentoo/FreeBSD as it was Linux
       
 18710   case $host_vendor in
       
 18711     gentoo)
       
 18712       version_type=linux ;;
       
 18713     *)
       
 18714       version_type=freebsd-$objformat ;;
       
 18715   esac
       
 18716 
       
 18717   case $version_type in
       
 18718     freebsd-elf*)
       
 18719       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 18720       need_version=no
       
 18721       need_lib_prefix=no
       
 18722       ;;
       
 18723     freebsd-*)
       
 18724       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       
 18725       need_version=yes
       
 18726       ;;
       
 18727     linux)
       
 18728       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18729       soname_spec='${libname}${release}${shared_ext}$major'
       
 18730       need_lib_prefix=no
       
 18731       need_version=no
       
 18732       ;;
       
 18733   esac
       
 18734   shlibpath_var=LD_LIBRARY_PATH
       
 18735   case $host_os in
       
 18736   freebsd2*)
       
 18737     shlibpath_overrides_runpath=yes
       
 18738     ;;
       
 18739   freebsd3.[01]* | freebsdelf3.[01]*)
       
 18740     shlibpath_overrides_runpath=yes
       
 18741     hardcode_into_libs=yes
       
 18742     ;;
       
 18743   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
       
 18744   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
       
 18745     shlibpath_overrides_runpath=no
       
 18746     hardcode_into_libs=yes
       
 18747     ;;
       
 18748   freebsd*) # from 4.6 on
       
 18749     shlibpath_overrides_runpath=yes
       
 18750     hardcode_into_libs=yes
       
 18751     ;;
       
 18752   esac
       
 18753   ;;
       
 18754 
       
 18755 gnu*)
       
 18756   version_type=linux
       
 18757   need_lib_prefix=no
       
 18758   need_version=no
       
 18759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
       
 18760   soname_spec='${libname}${release}${shared_ext}$major'
       
 18761   shlibpath_var=LD_LIBRARY_PATH
       
 18762   hardcode_into_libs=yes
       
 18763   ;;
       
 18764 
       
 18765 hpux9* | hpux10* | hpux11*)
       
 18766   # Give a soname corresponding to the major version so that dld.sl refuses to
       
 18767   # link against other versions.
       
 18768   version_type=sunos
       
 18769   need_lib_prefix=no
       
 18770   need_version=no
       
 18771   case $host_cpu in
       
 18772   ia64*)
       
 18773     shrext_cmds='.so'
       
 18774     hardcode_into_libs=yes
       
 18775     dynamic_linker="$host_os dld.so"
       
 18776     shlibpath_var=LD_LIBRARY_PATH
       
 18777     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 18778     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18779     soname_spec='${libname}${release}${shared_ext}$major'
       
 18780     if test "X$HPUX_IA64_MODE" = X32; then
       
 18781       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       
 18782     else
       
 18783       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       
 18784     fi
       
 18785     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 18786     ;;
       
 18787    hppa*64*)
       
 18788      shrext_cmds='.sl'
       
 18789      hardcode_into_libs=yes
       
 18790      dynamic_linker="$host_os dld.sl"
       
 18791      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
       
 18792      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       
 18793      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18794      soname_spec='${libname}${release}${shared_ext}$major'
       
 18795      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
       
 18796      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
       
 18797      ;;
       
 18798    *)
       
 18799     shrext_cmds='.sl'
       
 18800     dynamic_linker="$host_os dld.sl"
       
 18801     shlibpath_var=SHLIB_PATH
       
 18802     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       
 18803     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18804     soname_spec='${libname}${release}${shared_ext}$major'
       
 18805     ;;
       
 18806   esac
       
 18807   # HP-UX runs *really* slowly unless shared libraries are mode 555.
       
 18808   postinstall_cmds='chmod 555 $lib'
       
 18809   ;;
       
 18810 
       
 18811 interix3*)
       
 18812   version_type=linux
       
 18813   need_lib_prefix=no
       
 18814   need_version=no
       
 18815   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18816   soname_spec='${libname}${release}${shared_ext}$major'
       
 18817   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
       
 18818   shlibpath_var=LD_LIBRARY_PATH
       
 18819   shlibpath_overrides_runpath=no
       
 18820   hardcode_into_libs=yes
       
 18821   ;;
       
 18822 
       
 18823 irix5* | irix6* | nonstopux*)
       
 18824   case $host_os in
       
 18825     nonstopux*) version_type=nonstopux ;;
       
 18826     *)
       
 18827 	if test "$lt_cv_prog_gnu_ld" = yes; then
       
 18828 		version_type=linux
       
 18829 	else
       
 18830 		version_type=irix
       
 18831 	fi ;;
       
 18832   esac
       
 18833   need_lib_prefix=no
       
 18834   need_version=no
       
 18835   soname_spec='${libname}${release}${shared_ext}$major'
       
 18836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 18837   case $host_os in
       
 18838   irix5* | nonstopux*)
       
 18839     libsuff= shlibsuff=
       
 18840     ;;
       
 18841   *)
       
 18842     case $LD in # libtool.m4 will add one of these switches to LD
       
 18843     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
       
 18844       libsuff= shlibsuff= libmagic=32-bit;;
       
 18845     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
       
 18846       libsuff=32 shlibsuff=N32 libmagic=N32;;
       
 18847     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
       
 18848       libsuff=64 shlibsuff=64 libmagic=64-bit;;
       
 18849     *) libsuff= shlibsuff= libmagic=never-match;;
       
 18850     esac
       
 18851     ;;
       
 18852   esac
       
 18853   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
       
 18854   shlibpath_overrides_runpath=no
       
 18855   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
       
 18856   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
       
 18857   hardcode_into_libs=yes
       
 18858   ;;
       
 18859 
       
 18860 # No shared lib support for Linux oldld, aout, or coff.
       
 18861 linux*oldld* | linux*aout* | linux*coff*)
       
 18862   dynamic_linker=no
       
 18863   ;;
       
 18864 
       
 18865 # This must be Linux ELF.
       
 18866 linux*)
       
 18867   version_type=linux
       
 18868   need_lib_prefix=no
       
 18869   need_version=no
       
 18870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18871   soname_spec='${libname}${release}${shared_ext}$major'
       
 18872   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
       
 18873   shlibpath_var=LD_LIBRARY_PATH
       
 18874   shlibpath_overrides_runpath=no
       
 18875   # This implies no fast_install, which is unacceptable.
       
 18876   # Some rework will be needed to allow for fast_install
       
 18877   # before this can be enabled.
       
 18878   hardcode_into_libs=yes
       
 18879 
       
 18880   # Append ld.so.conf contents to the search path
       
 18881   if test -f /etc/ld.so.conf; then
       
 18882     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' ' '`
       
 18883     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
       
 18884   fi
       
 18885 
       
 18886   # We used to test for /lib/ld.so.1 and disable shared libraries on
       
 18887   # powerpc, because MkLinux only supported shared libraries with the
       
 18888   # GNU dynamic linker.  Since this was broken with cross compilers,
       
 18889   # most powerpc-linux boxes support dynamic linking these days and
       
 18890   # people can always --disable-shared, the test was removed, and we
       
 18891   # assume the GNU/Linux dynamic linker is in use.
       
 18892   dynamic_linker='GNU/Linux ld.so'
       
 18893   ;;
       
 18894 
       
 18895 knetbsd*-gnu)
       
 18896   version_type=linux
       
 18897   need_lib_prefix=no
       
 18898   need_version=no
       
 18899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18900   soname_spec='${libname}${release}${shared_ext}$major'
       
 18901   shlibpath_var=LD_LIBRARY_PATH
       
 18902   shlibpath_overrides_runpath=no
       
 18903   hardcode_into_libs=yes
       
 18904   dynamic_linker='GNU ld.so'
       
 18905   ;;
       
 18906 
       
 18907 netbsd*)
       
 18908   version_type=sunos
       
 18909   need_lib_prefix=no
       
 18910   need_version=no
       
 18911   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       
 18912     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 18913     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 18914     dynamic_linker='NetBSD (a.out) ld.so'
       
 18915   else
       
 18916     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       
 18917     soname_spec='${libname}${release}${shared_ext}$major'
       
 18918     dynamic_linker='NetBSD ld.elf_so'
       
 18919   fi
       
 18920   shlibpath_var=LD_LIBRARY_PATH
       
 18921   shlibpath_overrides_runpath=yes
       
 18922   hardcode_into_libs=yes
       
 18923   ;;
       
 18924 
       
 18925 newsos6)
       
 18926   version_type=linux
       
 18927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18928   shlibpath_var=LD_LIBRARY_PATH
       
 18929   shlibpath_overrides_runpath=yes
       
 18930   ;;
       
 18931 
       
 18932 nto-qnx*)
       
 18933   version_type=linux
       
 18934   need_lib_prefix=no
       
 18935   need_version=no
       
 18936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18937   soname_spec='${libname}${release}${shared_ext}$major'
       
 18938   shlibpath_var=LD_LIBRARY_PATH
       
 18939   shlibpath_overrides_runpath=yes
       
 18940   ;;
       
 18941 
       
 18942 openbsd*)
       
 18943   version_type=sunos
       
 18944   sys_lib_dlsearch_path_spec="/usr/lib"
       
 18945   need_lib_prefix=no
       
 18946   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
       
 18947   case $host_os in
       
 18948     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       
 18949     *)                         need_version=no  ;;
       
 18950   esac
       
 18951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 18952   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       
 18953   shlibpath_var=LD_LIBRARY_PATH
       
 18954   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       
 18955     case $host_os in
       
 18956       openbsd2.[89] | openbsd2.[89].*)
       
 18957 	shlibpath_overrides_runpath=no
       
 18958 	;;
       
 18959       *)
       
 18960 	shlibpath_overrides_runpath=yes
       
 18961 	;;
       
 18962       esac
       
 18963   else
       
 18964     shlibpath_overrides_runpath=yes
       
 18965   fi
       
 18966   ;;
       
 18967 
       
 18968 os2*)
       
 18969   libname_spec='$name'
       
 18970   shrext_cmds=".dll"
       
 18971   need_lib_prefix=no
       
 18972   library_names_spec='$libname${shared_ext} $libname.a'
       
 18973   dynamic_linker='OS/2 ld.exe'
       
 18974   shlibpath_var=LIBPATH
       
 18975   ;;
       
 18976 
       
 18977 osf3* | osf4* | osf5*)
       
 18978   version_type=osf
       
 18979   need_lib_prefix=no
       
 18980   need_version=no
       
 18981   soname_spec='${libname}${release}${shared_ext}$major'
       
 18982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18983   shlibpath_var=LD_LIBRARY_PATH
       
 18984   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
       
 18985   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
       
 18986   ;;
       
 18987 
       
 18988 solaris*)
       
 18989   version_type=linux
       
 18990   need_lib_prefix=no
       
 18991   need_version=no
       
 18992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 18993   soname_spec='${libname}${release}${shared_ext}$major'
       
 18994   shlibpath_var=LD_LIBRARY_PATH
       
 18995   shlibpath_overrides_runpath=yes
       
 18996   hardcode_into_libs=yes
       
 18997   # ldd complains unless libraries are executable
       
 18998   postinstall_cmds='chmod +x $lib'
       
 18999   ;;
       
 19000 
       
 19001 sunos4*)
       
 19002   version_type=sunos
       
 19003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       
 19004   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
       
 19005   shlibpath_var=LD_LIBRARY_PATH
       
 19006   shlibpath_overrides_runpath=yes
       
 19007   if test "$with_gnu_ld" = yes; then
       
 19008     need_lib_prefix=no
       
 19009   fi
       
 19010   need_version=yes
       
 19011   ;;
       
 19012 
       
 19013 sysv4 | sysv4.3*)
       
 19014   version_type=linux
       
 19015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 19016   soname_spec='${libname}${release}${shared_ext}$major'
       
 19017   shlibpath_var=LD_LIBRARY_PATH
       
 19018   case $host_vendor in
       
 19019     sni)
       
 19020       shlibpath_overrides_runpath=no
       
 19021       need_lib_prefix=no
       
 19022       export_dynamic_flag_spec='${wl}-Blargedynsym'
       
 19023       runpath_var=LD_RUN_PATH
       
 19024       ;;
       
 19025     siemens)
       
 19026       need_lib_prefix=no
       
 19027       ;;
       
 19028     motorola)
       
 19029       need_lib_prefix=no
       
 19030       need_version=no
       
 19031       shlibpath_overrides_runpath=no
       
 19032       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
       
 19033       ;;
       
 19034   esac
       
 19035   ;;
       
 19036 
       
 19037 sysv4*MP*)
       
 19038   if test -d /usr/nec ;then
       
 19039     version_type=linux
       
 19040     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       
 19041     soname_spec='$libname${shared_ext}.$major'
       
 19042     shlibpath_var=LD_LIBRARY_PATH
       
 19043   fi
       
 19044   ;;
       
 19045 
       
 19046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       
 19047   version_type=freebsd-elf
       
 19048   need_lib_prefix=no
       
 19049   need_version=no
       
 19050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
       
 19051   soname_spec='${libname}${release}${shared_ext}$major'
       
 19052   shlibpath_var=LD_LIBRARY_PATH
       
 19053   hardcode_into_libs=yes
       
 19054   if test "$with_gnu_ld" = yes; then
       
 19055     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       
 19056     shlibpath_overrides_runpath=no
       
 19057   else
       
 19058     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       
 19059     shlibpath_overrides_runpath=yes
       
 19060     case $host_os in
       
 19061       sco3.2v5*)
       
 19062         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
       
 19063 	;;
       
 19064     esac
       
 19065   fi
       
 19066   sys_lib_dlsearch_path_spec='/usr/lib'
       
 19067   ;;
       
 19068 
       
 19069 uts4*)
       
 19070   version_type=linux
       
 19071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       
 19072   soname_spec='${libname}${release}${shared_ext}$major'
       
 19073   shlibpath_var=LD_LIBRARY_PATH
       
 19074   ;;
       
 19075 
       
 19076 *)
       
 19077   dynamic_linker=no
       
 19078   ;;
       
 19079 esac
       
 19080 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
       
 19081 echo "${ECHO_T}$dynamic_linker" >&6; }
       
 19082 test "$dynamic_linker" = no && can_build_shared=no
       
 19083 
       
 19084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
       
 19085 if test "$GCC" = yes; then
       
 19086   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
       
 19087 fi
       
 19088 
       
 19089 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
       
 19090 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
       
 19091 hardcode_action_GCJ=
       
 19092 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
       
 19093    test -n "$runpath_var_GCJ" || \
       
 19094    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
       
 19095 
       
 19096   # We can hardcode non-existant directories.
       
 19097   if test "$hardcode_direct_GCJ" != no &&
       
 19098      # If the only mechanism to avoid hardcoding is shlibpath_var, we
       
 19099      # have to relink, otherwise we might link with an installed library
       
 19100      # when we should be linking with a yet-to-be-installed one
       
 19101      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
       
 19102      test "$hardcode_minus_L_GCJ" != no; then
       
 19103     # Linking always hardcodes the temporary library directory.
       
 19104     hardcode_action_GCJ=relink
       
 19105   else
       
 19106     # We can link without hardcoding, and we can hardcode nonexisting dirs.
       
 19107     hardcode_action_GCJ=immediate
       
 19108   fi
       
 19109 else
       
 19110   # We cannot hardcode anything, or else we can only hardcode existing
       
 19111   # directories.
       
 19112   hardcode_action_GCJ=unsupported
       
 19113 fi
       
 19114 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
       
 19115 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
       
 19116 
       
 19117 if test "$hardcode_action_GCJ" = relink; then
       
 19118   # Fast installation is not supported
       
 19119   enable_fast_install=no
       
 19120 elif test "$shlibpath_overrides_runpath" = yes ||
       
 19121      test "$enable_shared" = no; then
       
 19122   # Fast installation is not necessary
       
 19123   enable_fast_install=needless
       
 19124 fi
       
 19125 
       
 19126 
       
 19127 # The else clause should only fire when bootstrapping the
       
 19128 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 19129 # with your package, and you will get complaints that there are
       
 19130 # no rules to generate ltmain.sh.
       
 19131 if test -f "$ltmain"; then
       
 19132   # See if we are running on zsh, and set the options which allow our commands through
       
 19133   # without removal of \ escapes.
       
 19134   if test -n "${ZSH_VERSION+set}" ; then
       
 19135     setopt NO_GLOB_SUBST
       
 19136   fi
       
 19137   # Now quote all the things that may contain metacharacters while being
       
 19138   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 19139   # variables and quote the copies for generation of the libtool script.
       
 19140   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 19141     SED SHELL STRIP \
       
 19142     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 19143     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 19144     deplibs_check_method reload_flag reload_cmds need_locks \
       
 19145     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 19146     lt_cv_sys_global_symbol_to_c_name_address \
       
 19147     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 19148     old_postinstall_cmds old_postuninstall_cmds \
       
 19149     compiler_GCJ \
       
 19150     CC_GCJ \
       
 19151     LD_GCJ \
       
 19152     lt_prog_compiler_wl_GCJ \
       
 19153     lt_prog_compiler_pic_GCJ \
       
 19154     lt_prog_compiler_static_GCJ \
       
 19155     lt_prog_compiler_no_builtin_flag_GCJ \
       
 19156     export_dynamic_flag_spec_GCJ \
       
 19157     thread_safe_flag_spec_GCJ \
       
 19158     whole_archive_flag_spec_GCJ \
       
 19159     enable_shared_with_static_runtimes_GCJ \
       
 19160     old_archive_cmds_GCJ \
       
 19161     old_archive_from_new_cmds_GCJ \
       
 19162     predep_objects_GCJ \
       
 19163     postdep_objects_GCJ \
       
 19164     predeps_GCJ \
       
 19165     postdeps_GCJ \
       
 19166     compiler_lib_search_path_GCJ \
       
 19167     archive_cmds_GCJ \
       
 19168     archive_expsym_cmds_GCJ \
       
 19169     postinstall_cmds_GCJ \
       
 19170     postuninstall_cmds_GCJ \
       
 19171     old_archive_from_expsyms_cmds_GCJ \
       
 19172     allow_undefined_flag_GCJ \
       
 19173     no_undefined_flag_GCJ \
       
 19174     export_symbols_cmds_GCJ \
       
 19175     hardcode_libdir_flag_spec_GCJ \
       
 19176     hardcode_libdir_flag_spec_ld_GCJ \
       
 19177     hardcode_libdir_separator_GCJ \
       
 19178     hardcode_automatic_GCJ \
       
 19179     module_cmds_GCJ \
       
 19180     module_expsym_cmds_GCJ \
       
 19181     lt_cv_prog_compiler_c_o_GCJ \
       
 19182     exclude_expsyms_GCJ \
       
 19183     include_expsyms_GCJ; do
       
 19184 
       
 19185     case $var in
       
 19186     old_archive_cmds_GCJ | \
       
 19187     old_archive_from_new_cmds_GCJ | \
       
 19188     archive_cmds_GCJ | \
       
 19189     archive_expsym_cmds_GCJ | \
       
 19190     module_cmds_GCJ | \
       
 19191     module_expsym_cmds_GCJ | \
       
 19192     old_archive_from_expsyms_cmds_GCJ | \
       
 19193     export_symbols_cmds_GCJ | \
       
 19194     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 19195     postinstall_cmds | postuninstall_cmds | \
       
 19196     old_postinstall_cmds | old_postuninstall_cmds | \
       
 19197     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 19198       # Double-quote double-evaled strings.
       
 19199       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 19200       ;;
       
 19201     *)
       
 19202       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 19203       ;;
       
 19204     esac
       
 19205   done
       
 19206 
       
 19207   case $lt_echo in
       
 19208   *'\$0 --fallback-echo"')
       
 19209     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 19210     ;;
       
 19211   esac
       
 19212 
       
 19213 cfgfile="$ofile"
       
 19214 
       
 19215   cat <<__EOF__ >> "$cfgfile"
       
 19216 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 19217 
       
 19218 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 19219 
       
 19220 # Shell to use when invoking shell scripts.
       
 19221 SHELL=$lt_SHELL
       
 19222 
       
 19223 # Whether or not to build shared libraries.
       
 19224 build_libtool_libs=$enable_shared
       
 19225 
       
 19226 # Whether or not to build static libraries.
       
 19227 build_old_libs=$enable_static
       
 19228 
       
 19229 # Whether or not to add -lc for building shared libraries.
       
 19230 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
       
 19231 
       
 19232 # Whether or not to disallow shared libs when runtime libs are static
       
 19233 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
       
 19234 
       
 19235 # Whether or not to optimize for fast installation.
       
 19236 fast_install=$enable_fast_install
       
 19237 
       
 19238 # The host system.
       
 19239 host_alias=$host_alias
       
 19240 host=$host
       
 19241 host_os=$host_os
       
 19242 
       
 19243 # The build system.
       
 19244 build_alias=$build_alias
       
 19245 build=$build
       
 19246 build_os=$build_os
       
 19247 
       
 19248 # An echo program that does not interpret backslashes.
       
 19249 echo=$lt_echo
       
 19250 
       
 19251 # The archiver.
       
 19252 AR=$lt_AR
       
 19253 AR_FLAGS=$lt_AR_FLAGS
       
 19254 
       
 19255 # A C compiler.
       
 19256 LTCC=$lt_LTCC
       
 19257 
       
 19258 # LTCC compiler flags.
       
 19259 LTCFLAGS=$lt_LTCFLAGS
       
 19260 
       
 19261 # A language-specific compiler.
       
 19262 CC=$lt_compiler_GCJ
       
 19263 
       
 19264 # Is the compiler the GNU C compiler?
       
 19265 with_gcc=$GCC_GCJ
       
 19266 
       
 19267 # An ERE matcher.
       
 19268 EGREP=$lt_EGREP
       
 19269 
       
 19270 # The linker used to build libraries.
       
 19271 LD=$lt_LD_GCJ
       
 19272 
       
 19273 # Whether we need hard or soft links.
       
 19274 LN_S=$lt_LN_S
       
 19275 
       
 19276 # A BSD-compatible nm program.
       
 19277 NM=$lt_NM
       
 19278 
       
 19279 # A symbol stripping program
       
 19280 STRIP=$lt_STRIP
       
 19281 
       
 19282 # Used to examine libraries when file_magic_cmd begins "file"
       
 19283 MAGIC_CMD=$MAGIC_CMD
       
 19284 
       
 19285 # Used on cygwin: DLL creation program.
       
 19286 DLLTOOL="$DLLTOOL"
       
 19287 
       
 19288 # Used on cygwin: object dumper.
       
 19289 OBJDUMP="$OBJDUMP"
       
 19290 
       
 19291 # Used on cygwin: assembler.
       
 19292 AS="$AS"
       
 19293 
       
 19294 # The name of the directory that contains temporary libtool files.
       
 19295 objdir=$objdir
       
 19296 
       
 19297 # How to create reloadable object files.
       
 19298 reload_flag=$lt_reload_flag
       
 19299 reload_cmds=$lt_reload_cmds
       
 19300 
       
 19301 # How to pass a linker flag through the compiler.
       
 19302 wl=$lt_lt_prog_compiler_wl_GCJ
       
 19303 
       
 19304 # Object file suffix (normally "o").
       
 19305 objext="$ac_objext"
       
 19306 
       
 19307 # Old archive suffix (normally "a").
       
 19308 libext="$libext"
       
 19309 
       
 19310 # Shared library suffix (normally ".so").
       
 19311 shrext_cmds='$shrext_cmds'
       
 19312 
       
 19313 # Executable file suffix (normally "").
       
 19314 exeext="$exeext"
       
 19315 
       
 19316 # Additional compiler flags for building library objects.
       
 19317 pic_flag=$lt_lt_prog_compiler_pic_GCJ
       
 19318 pic_mode=$pic_mode
       
 19319 
       
 19320 # What is the maximum length of a command?
       
 19321 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 19322 
       
 19323 # Does compiler simultaneously support -c and -o options?
       
 19324 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
       
 19325 
       
 19326 # Must we lock files when doing compilation?
       
 19327 need_locks=$lt_need_locks
       
 19328 
       
 19329 # Do we need the lib prefix for modules?
       
 19330 need_lib_prefix=$need_lib_prefix
       
 19331 
       
 19332 # Do we need a version for libraries?
       
 19333 need_version=$need_version
       
 19334 
       
 19335 # Whether dlopen is supported.
       
 19336 dlopen_support=$enable_dlopen
       
 19337 
       
 19338 # Whether dlopen of programs is supported.
       
 19339 dlopen_self=$enable_dlopen_self
       
 19340 
       
 19341 # Whether dlopen of statically linked programs is supported.
       
 19342 dlopen_self_static=$enable_dlopen_self_static
       
 19343 
       
 19344 # Compiler flag to prevent dynamic linking.
       
 19345 link_static_flag=$lt_lt_prog_compiler_static_GCJ
       
 19346 
       
 19347 # Compiler flag to turn off builtin functions.
       
 19348 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
       
 19349 
       
 19350 # Compiler flag to allow reflexive dlopens.
       
 19351 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
       
 19352 
       
 19353 # Compiler flag to generate shared objects directly from archives.
       
 19354 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
       
 19355 
       
 19356 # Compiler flag to generate thread-safe objects.
       
 19357 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
       
 19358 
       
 19359 # Library versioning type.
       
 19360 version_type=$version_type
       
 19361 
       
 19362 # Format of library name prefix.
       
 19363 libname_spec=$lt_libname_spec
       
 19364 
       
 19365 # List of archive names.  First name is the real one, the rest are links.
       
 19366 # The last name is the one that the linker finds with -lNAME.
       
 19367 library_names_spec=$lt_library_names_spec
       
 19368 
       
 19369 # The coded name of the library, if different from the real name.
       
 19370 soname_spec=$lt_soname_spec
       
 19371 
       
 19372 # Commands used to build and install an old-style archive.
       
 19373 RANLIB=$lt_RANLIB
       
 19374 old_archive_cmds=$lt_old_archive_cmds_GCJ
       
 19375 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 19376 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 19377 
       
 19378 # Create an old-style archive from a shared archive.
       
 19379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
       
 19380 
       
 19381 # Create a temporary old-style archive to link instead of a shared archive.
       
 19382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
       
 19383 
       
 19384 # Commands used to build and install a shared archive.
       
 19385 archive_cmds=$lt_archive_cmds_GCJ
       
 19386 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
       
 19387 postinstall_cmds=$lt_postinstall_cmds
       
 19388 postuninstall_cmds=$lt_postuninstall_cmds
       
 19389 
       
 19390 # Commands used to build a loadable module (assumed same as above if empty)
       
 19391 module_cmds=$lt_module_cmds_GCJ
       
 19392 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
       
 19393 
       
 19394 # Commands to strip libraries.
       
 19395 old_striplib=$lt_old_striplib
       
 19396 striplib=$lt_striplib
       
 19397 
       
 19398 # Dependencies to place before the objects being linked to create a
       
 19399 # shared library.
       
 19400 predep_objects=$lt_predep_objects_GCJ
       
 19401 
       
 19402 # Dependencies to place after the objects being linked to create a
       
 19403 # shared library.
       
 19404 postdep_objects=$lt_postdep_objects_GCJ
       
 19405 
       
 19406 # Dependencies to place before the objects being linked to create a
       
 19407 # shared library.
       
 19408 predeps=$lt_predeps_GCJ
       
 19409 
       
 19410 # Dependencies to place after the objects being linked to create a
       
 19411 # shared library.
       
 19412 postdeps=$lt_postdeps_GCJ
       
 19413 
       
 19414 # The library search path used internally by the compiler when linking
       
 19415 # a shared library.
       
 19416 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
       
 19417 
       
 19418 # Method to check whether dependent libraries are shared objects.
       
 19419 deplibs_check_method=$lt_deplibs_check_method
       
 19420 
       
 19421 # Command to use when deplibs_check_method == file_magic.
       
 19422 file_magic_cmd=$lt_file_magic_cmd
       
 19423 
       
 19424 # Flag that allows shared libraries with undefined symbols to be built.
       
 19425 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
       
 19426 
       
 19427 # Flag that forces no undefined symbols.
       
 19428 no_undefined_flag=$lt_no_undefined_flag_GCJ
       
 19429 
       
 19430 # Commands used to finish a libtool library installation in a directory.
       
 19431 finish_cmds=$lt_finish_cmds
       
 19432 
       
 19433 # Same as above, but a single script fragment to be evaled but not shown.
       
 19434 finish_eval=$lt_finish_eval
       
 19435 
       
 19436 # Take the output of nm and produce a listing of raw symbols and C names.
       
 19437 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 19438 
       
 19439 # Transform the output of nm in a proper C declaration
       
 19440 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 19441 
       
 19442 # Transform the output of nm in a C name address pair
       
 19443 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 19444 
       
 19445 # This is the shared library runtime path variable.
       
 19446 runpath_var=$runpath_var
       
 19447 
       
 19448 # This is the shared library path variable.
       
 19449 shlibpath_var=$shlibpath_var
       
 19450 
       
 19451 # Is shlibpath searched before the hard-coded library search path?
       
 19452 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 19453 
       
 19454 # How to hardcode a shared library path into an executable.
       
 19455 hardcode_action=$hardcode_action_GCJ
       
 19456 
       
 19457 # Whether we should hardcode library paths into libraries.
       
 19458 hardcode_into_libs=$hardcode_into_libs
       
 19459 
       
 19460 # Flag to hardcode \$libdir into a binary during linking.
       
 19461 # This must work even if \$libdir does not exist.
       
 19462 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
       
 19463 
       
 19464 # If ld is used when linking, flag to hardcode \$libdir into
       
 19465 # a binary during linking. This must work even if \$libdir does
       
 19466 # not exist.
       
 19467 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
       
 19468 
       
 19469 # Whether we need a single -rpath flag with a separated argument.
       
 19470 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
       
 19471 
       
 19472 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 19473 # resulting binary.
       
 19474 hardcode_direct=$hardcode_direct_GCJ
       
 19475 
       
 19476 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 19477 # resulting binary.
       
 19478 hardcode_minus_L=$hardcode_minus_L_GCJ
       
 19479 
       
 19480 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 19481 # the resulting binary.
       
 19482 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
       
 19483 
       
 19484 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 19485 # and all subsequent libraries and executables linked against it.
       
 19486 hardcode_automatic=$hardcode_automatic_GCJ
       
 19487 
       
 19488 # Variables whose values should be saved in libtool wrapper scripts and
       
 19489 # restored at relink time.
       
 19490 variables_saved_for_relink="$variables_saved_for_relink"
       
 19491 
       
 19492 # Whether libtool must link a program against all its dependency libraries.
       
 19493 link_all_deplibs=$link_all_deplibs_GCJ
       
 19494 
       
 19495 # Compile-time system search path for libraries
       
 19496 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 19497 
       
 19498 # Run-time system search path for libraries
       
 19499 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 19500 
       
 19501 # Fix the shell variable \$srcfile for the compiler.
       
 19502 fix_srcfile_path="$fix_srcfile_path_GCJ"
       
 19503 
       
 19504 # Set to yes if exported symbols are required.
       
 19505 always_export_symbols=$always_export_symbols_GCJ
       
 19506 
       
 19507 # The commands to list exported symbols.
       
 19508 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
       
 19509 
       
 19510 # The commands to extract the exported symbol list from a shared archive.
       
 19511 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 19512 
       
 19513 # Symbols that should not be listed in the preloaded symbols.
       
 19514 exclude_expsyms=$lt_exclude_expsyms_GCJ
       
 19515 
       
 19516 # Symbols that must always be exported.
       
 19517 include_expsyms=$lt_include_expsyms_GCJ
       
 19518 
       
 19519 # ### END LIBTOOL TAG CONFIG: $tagname
       
 19520 
       
 19521 __EOF__
       
 19522 
       
 19523 
       
 19524 else
       
 19525   # If there is no Makefile yet, we rely on a make rule to execute
       
 19526   # `config.status --recheck' to rerun these tests and create the
       
 19527   # libtool script then.
       
 19528   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 19529   if test -f "$ltmain_in"; then
       
 19530     test -f Makefile && make "$ltmain"
       
 19531   fi
       
 19532 fi
       
 19533 
       
 19534 
       
 19535 ac_ext=c
       
 19536 ac_cpp='$CPP $CPPFLAGS'
       
 19537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 19538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 19539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
 19540 
       
 19541 CC="$lt_save_CC"
       
 19542 
       
 19543 	else
       
 19544 	  tagname=""
       
 19545 	fi
       
 19546 	;;
       
 19547 
       
 19548       RC)
       
 19549 
       
 19550 
       
 19551 # Source file extension for RC test sources.
       
 19552 ac_ext=rc
       
 19553 
       
 19554 # Object file extension for compiled RC test sources.
       
 19555 objext=o
       
 19556 objext_RC=$objext
       
 19557 
       
 19558 # Code to be used in simple compile tests
       
 19559 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
       
 19560 
       
 19561 # Code to be used in simple link tests
       
 19562 lt_simple_link_test_code="$lt_simple_compile_test_code"
       
 19563 
       
 19564 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
       
 19565 
       
 19566 # If no C compiler was specified, use CC.
       
 19567 LTCC=${LTCC-"$CC"}
       
 19568 
       
 19569 # If no C compiler flags were specified, use CFLAGS.
       
 19570 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
       
 19571 
       
 19572 # Allow CC to be a program name with arguments.
       
 19573 compiler=$CC
       
 19574 
       
 19575 
       
 19576 # save warnings/boilerplate of simple test code
       
 19577 ac_outfile=conftest.$ac_objext
       
 19578 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
       
 19579 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 19580 _lt_compiler_boilerplate=`cat conftest.err`
       
 19581 $rm conftest*
       
 19582 
       
 19583 ac_outfile=conftest.$ac_objext
       
 19584 printf "$lt_simple_link_test_code" >conftest.$ac_ext
       
 19585 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
       
 19586 _lt_linker_boilerplate=`cat conftest.err`
       
 19587 $rm conftest*
       
 19588 
       
 19589 
       
 19590 # Allow CC to be a program name with arguments.
       
 19591 lt_save_CC="$CC"
       
 19592 CC=${RC-"windres"}
       
 19593 compiler=$CC
       
 19594 compiler_RC=$CC
       
 19595 for cc_temp in $compiler""; do
       
 19596   case $cc_temp in
       
 19597     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       
 19598     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       
 19599     \-*) ;;
       
 19600     *) break;;
       
 19601   esac
       
 19602 done
       
 19603 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
       
 19604 
       
 19605 lt_cv_prog_compiler_c_o_RC=yes
       
 19606 
       
 19607 # The else clause should only fire when bootstrapping the
       
 19608 # libtool distribution, otherwise you forgot to ship ltmain.sh
       
 19609 # with your package, and you will get complaints that there are
       
 19610 # no rules to generate ltmain.sh.
       
 19611 if test -f "$ltmain"; then
       
 19612   # See if we are running on zsh, and set the options which allow our commands through
       
 19613   # without removal of \ escapes.
       
 19614   if test -n "${ZSH_VERSION+set}" ; then
       
 19615     setopt NO_GLOB_SUBST
       
 19616   fi
       
 19617   # Now quote all the things that may contain metacharacters while being
       
 19618   # careful not to overquote the AC_SUBSTed values.  We take copies of the
       
 19619   # variables and quote the copies for generation of the libtool script.
       
 19620   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       
 19621     SED SHELL STRIP \
       
 19622     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       
 19623     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       
 19624     deplibs_check_method reload_flag reload_cmds need_locks \
       
 19625     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       
 19626     lt_cv_sys_global_symbol_to_c_name_address \
       
 19627     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       
 19628     old_postinstall_cmds old_postuninstall_cmds \
       
 19629     compiler_RC \
       
 19630     CC_RC \
       
 19631     LD_RC \
       
 19632     lt_prog_compiler_wl_RC \
       
 19633     lt_prog_compiler_pic_RC \
       
 19634     lt_prog_compiler_static_RC \
       
 19635     lt_prog_compiler_no_builtin_flag_RC \
       
 19636     export_dynamic_flag_spec_RC \
       
 19637     thread_safe_flag_spec_RC \
       
 19638     whole_archive_flag_spec_RC \
       
 19639     enable_shared_with_static_runtimes_RC \
       
 19640     old_archive_cmds_RC \
       
 19641     old_archive_from_new_cmds_RC \
       
 19642     predep_objects_RC \
       
 19643     postdep_objects_RC \
       
 19644     predeps_RC \
       
 19645     postdeps_RC \
       
 19646     compiler_lib_search_path_RC \
       
 19647     archive_cmds_RC \
       
 19648     archive_expsym_cmds_RC \
       
 19649     postinstall_cmds_RC \
       
 19650     postuninstall_cmds_RC \
       
 19651     old_archive_from_expsyms_cmds_RC \
       
 19652     allow_undefined_flag_RC \
       
 19653     no_undefined_flag_RC \
       
 19654     export_symbols_cmds_RC \
       
 19655     hardcode_libdir_flag_spec_RC \
       
 19656     hardcode_libdir_flag_spec_ld_RC \
       
 19657     hardcode_libdir_separator_RC \
       
 19658     hardcode_automatic_RC \
       
 19659     module_cmds_RC \
       
 19660     module_expsym_cmds_RC \
       
 19661     lt_cv_prog_compiler_c_o_RC \
       
 19662     exclude_expsyms_RC \
       
 19663     include_expsyms_RC; do
       
 19664 
       
 19665     case $var in
       
 19666     old_archive_cmds_RC | \
       
 19667     old_archive_from_new_cmds_RC | \
       
 19668     archive_cmds_RC | \
       
 19669     archive_expsym_cmds_RC | \
       
 19670     module_cmds_RC | \
       
 19671     module_expsym_cmds_RC | \
       
 19672     old_archive_from_expsyms_cmds_RC | \
       
 19673     export_symbols_cmds_RC | \
       
 19674     extract_expsyms_cmds | reload_cmds | finish_cmds | \
       
 19675     postinstall_cmds | postuninstall_cmds | \
       
 19676     old_postinstall_cmds | old_postuninstall_cmds | \
       
 19677     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
       
 19678       # Double-quote double-evaled strings.
       
 19679       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
       
 19680       ;;
       
 19681     *)
       
 19682       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
       
 19683       ;;
       
 19684     esac
       
 19685   done
       
 19686 
       
 19687   case $lt_echo in
       
 19688   *'\$0 --fallback-echo"')
       
 19689     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       
 19690     ;;
       
 19691   esac
       
 19692 
       
 19693 cfgfile="$ofile"
       
 19694 
       
 19695   cat <<__EOF__ >> "$cfgfile"
       
 19696 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
       
 19697 
       
 19698 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
       
 19699 
       
 19700 # Shell to use when invoking shell scripts.
       
 19701 SHELL=$lt_SHELL
       
 19702 
       
 19703 # Whether or not to build shared libraries.
       
 19704 build_libtool_libs=$enable_shared
       
 19705 
       
 19706 # Whether or not to build static libraries.
       
 19707 build_old_libs=$enable_static
       
 19708 
       
 19709 # Whether or not to add -lc for building shared libraries.
       
 19710 build_libtool_need_lc=$archive_cmds_need_lc_RC
       
 19711 
       
 19712 # Whether or not to disallow shared libs when runtime libs are static
       
 19713 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
       
 19714 
       
 19715 # Whether or not to optimize for fast installation.
       
 19716 fast_install=$enable_fast_install
       
 19717 
       
 19718 # The host system.
       
 19719 host_alias=$host_alias
       
 19720 host=$host
       
 19721 host_os=$host_os
       
 19722 
       
 19723 # The build system.
       
 19724 build_alias=$build_alias
       
 19725 build=$build
       
 19726 build_os=$build_os
       
 19727 
       
 19728 # An echo program that does not interpret backslashes.
       
 19729 echo=$lt_echo
       
 19730 
       
 19731 # The archiver.
       
 19732 AR=$lt_AR
       
 19733 AR_FLAGS=$lt_AR_FLAGS
       
 19734 
       
 19735 # A C compiler.
       
 19736 LTCC=$lt_LTCC
       
 19737 
       
 19738 # LTCC compiler flags.
       
 19739 LTCFLAGS=$lt_LTCFLAGS
       
 19740 
       
 19741 # A language-specific compiler.
       
 19742 CC=$lt_compiler_RC
       
 19743 
       
 19744 # Is the compiler the GNU C compiler?
       
 19745 with_gcc=$GCC_RC
       
 19746 
       
 19747 # An ERE matcher.
       
 19748 EGREP=$lt_EGREP
       
 19749 
       
 19750 # The linker used to build libraries.
       
 19751 LD=$lt_LD_RC
       
 19752 
       
 19753 # Whether we need hard or soft links.
       
 19754 LN_S=$lt_LN_S
       
 19755 
       
 19756 # A BSD-compatible nm program.
       
 19757 NM=$lt_NM
       
 19758 
       
 19759 # A symbol stripping program
       
 19760 STRIP=$lt_STRIP
       
 19761 
       
 19762 # Used to examine libraries when file_magic_cmd begins "file"
       
 19763 MAGIC_CMD=$MAGIC_CMD
       
 19764 
       
 19765 # Used on cygwin: DLL creation program.
       
 19766 DLLTOOL="$DLLTOOL"
       
 19767 
       
 19768 # Used on cygwin: object dumper.
       
 19769 OBJDUMP="$OBJDUMP"
       
 19770 
       
 19771 # Used on cygwin: assembler.
       
 19772 AS="$AS"
       
 19773 
       
 19774 # The name of the directory that contains temporary libtool files.
       
 19775 objdir=$objdir
       
 19776 
       
 19777 # How to create reloadable object files.
       
 19778 reload_flag=$lt_reload_flag
       
 19779 reload_cmds=$lt_reload_cmds
       
 19780 
       
 19781 # How to pass a linker flag through the compiler.
       
 19782 wl=$lt_lt_prog_compiler_wl_RC
       
 19783 
       
 19784 # Object file suffix (normally "o").
       
 19785 objext="$ac_objext"
       
 19786 
       
 19787 # Old archive suffix (normally "a").
       
 19788 libext="$libext"
       
 19789 
       
 19790 # Shared library suffix (normally ".so").
       
 19791 shrext_cmds='$shrext_cmds'
       
 19792 
       
 19793 # Executable file suffix (normally "").
       
 19794 exeext="$exeext"
       
 19795 
       
 19796 # Additional compiler flags for building library objects.
       
 19797 pic_flag=$lt_lt_prog_compiler_pic_RC
       
 19798 pic_mode=$pic_mode
       
 19799 
       
 19800 # What is the maximum length of a command?
       
 19801 max_cmd_len=$lt_cv_sys_max_cmd_len
       
 19802 
       
 19803 # Does compiler simultaneously support -c and -o options?
       
 19804 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
       
 19805 
       
 19806 # Must we lock files when doing compilation?
       
 19807 need_locks=$lt_need_locks
       
 19808 
       
 19809 # Do we need the lib prefix for modules?
       
 19810 need_lib_prefix=$need_lib_prefix
       
 19811 
       
 19812 # Do we need a version for libraries?
       
 19813 need_version=$need_version
       
 19814 
       
 19815 # Whether dlopen is supported.
       
 19816 dlopen_support=$enable_dlopen
       
 19817 
       
 19818 # Whether dlopen of programs is supported.
       
 19819 dlopen_self=$enable_dlopen_self
       
 19820 
       
 19821 # Whether dlopen of statically linked programs is supported.
       
 19822 dlopen_self_static=$enable_dlopen_self_static
       
 19823 
       
 19824 # Compiler flag to prevent dynamic linking.
       
 19825 link_static_flag=$lt_lt_prog_compiler_static_RC
       
 19826 
       
 19827 # Compiler flag to turn off builtin functions.
       
 19828 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
       
 19829 
       
 19830 # Compiler flag to allow reflexive dlopens.
       
 19831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
       
 19832 
       
 19833 # Compiler flag to generate shared objects directly from archives.
       
 19834 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
       
 19835 
       
 19836 # Compiler flag to generate thread-safe objects.
       
 19837 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
       
 19838 
       
 19839 # Library versioning type.
       
 19840 version_type=$version_type
       
 19841 
       
 19842 # Format of library name prefix.
       
 19843 libname_spec=$lt_libname_spec
       
 19844 
       
 19845 # List of archive names.  First name is the real one, the rest are links.
       
 19846 # The last name is the one that the linker finds with -lNAME.
       
 19847 library_names_spec=$lt_library_names_spec
       
 19848 
       
 19849 # The coded name of the library, if different from the real name.
       
 19850 soname_spec=$lt_soname_spec
       
 19851 
       
 19852 # Commands used to build and install an old-style archive.
       
 19853 RANLIB=$lt_RANLIB
       
 19854 old_archive_cmds=$lt_old_archive_cmds_RC
       
 19855 old_postinstall_cmds=$lt_old_postinstall_cmds
       
 19856 old_postuninstall_cmds=$lt_old_postuninstall_cmds
       
 19857 
       
 19858 # Create an old-style archive from a shared archive.
       
 19859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
       
 19860 
       
 19861 # Create a temporary old-style archive to link instead of a shared archive.
       
 19862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
       
 19863 
       
 19864 # Commands used to build and install a shared archive.
       
 19865 archive_cmds=$lt_archive_cmds_RC
       
 19866 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
       
 19867 postinstall_cmds=$lt_postinstall_cmds
       
 19868 postuninstall_cmds=$lt_postuninstall_cmds
       
 19869 
       
 19870 # Commands used to build a loadable module (assumed same as above if empty)
       
 19871 module_cmds=$lt_module_cmds_RC
       
 19872 module_expsym_cmds=$lt_module_expsym_cmds_RC
       
 19873 
       
 19874 # Commands to strip libraries.
       
 19875 old_striplib=$lt_old_striplib
       
 19876 striplib=$lt_striplib
       
 19877 
       
 19878 # Dependencies to place before the objects being linked to create a
       
 19879 # shared library.
       
 19880 predep_objects=$lt_predep_objects_RC
       
 19881 
       
 19882 # Dependencies to place after the objects being linked to create a
       
 19883 # shared library.
       
 19884 postdep_objects=$lt_postdep_objects_RC
       
 19885 
       
 19886 # Dependencies to place before the objects being linked to create a
       
 19887 # shared library.
       
 19888 predeps=$lt_predeps_RC
       
 19889 
       
 19890 # Dependencies to place after the objects being linked to create a
       
 19891 # shared library.
       
 19892 postdeps=$lt_postdeps_RC
       
 19893 
       
 19894 # The library search path used internally by the compiler when linking
       
 19895 # a shared library.
       
 19896 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
       
 19897 
       
 19898 # Method to check whether dependent libraries are shared objects.
       
 19899 deplibs_check_method=$lt_deplibs_check_method
       
 19900 
       
 19901 # Command to use when deplibs_check_method == file_magic.
       
 19902 file_magic_cmd=$lt_file_magic_cmd
       
 19903 
       
 19904 # Flag that allows shared libraries with undefined symbols to be built.
       
 19905 allow_undefined_flag=$lt_allow_undefined_flag_RC
       
 19906 
       
 19907 # Flag that forces no undefined symbols.
       
 19908 no_undefined_flag=$lt_no_undefined_flag_RC
       
 19909 
       
 19910 # Commands used to finish a libtool library installation in a directory.
       
 19911 finish_cmds=$lt_finish_cmds
       
 19912 
       
 19913 # Same as above, but a single script fragment to be evaled but not shown.
       
 19914 finish_eval=$lt_finish_eval
       
 19915 
       
 19916 # Take the output of nm and produce a listing of raw symbols and C names.
       
 19917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
       
 19918 
       
 19919 # Transform the output of nm in a proper C declaration
       
 19920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
       
 19921 
       
 19922 # Transform the output of nm in a C name address pair
       
 19923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
       
 19924 
       
 19925 # This is the shared library runtime path variable.
       
 19926 runpath_var=$runpath_var
       
 19927 
       
 19928 # This is the shared library path variable.
       
 19929 shlibpath_var=$shlibpath_var
       
 19930 
       
 19931 # Is shlibpath searched before the hard-coded library search path?
       
 19932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
       
 19933 
       
 19934 # How to hardcode a shared library path into an executable.
       
 19935 hardcode_action=$hardcode_action_RC
       
 19936 
       
 19937 # Whether we should hardcode library paths into libraries.
       
 19938 hardcode_into_libs=$hardcode_into_libs
       
 19939 
       
 19940 # Flag to hardcode \$libdir into a binary during linking.
       
 19941 # This must work even if \$libdir does not exist.
       
 19942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
       
 19943 
       
 19944 # If ld is used when linking, flag to hardcode \$libdir into
       
 19945 # a binary during linking. This must work even if \$libdir does
       
 19946 # not exist.
       
 19947 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
       
 19948 
       
 19949 # Whether we need a single -rpath flag with a separated argument.
       
 19950 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
       
 19951 
       
 19952 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
       
 19953 # resulting binary.
       
 19954 hardcode_direct=$hardcode_direct_RC
       
 19955 
       
 19956 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
       
 19957 # resulting binary.
       
 19958 hardcode_minus_L=$hardcode_minus_L_RC
       
 19959 
       
 19960 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
       
 19961 # the resulting binary.
       
 19962 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
       
 19963 
       
 19964 # Set to yes if building a shared library automatically hardcodes DIR into the library
       
 19965 # and all subsequent libraries and executables linked against it.
       
 19966 hardcode_automatic=$hardcode_automatic_RC
       
 19967 
       
 19968 # Variables whose values should be saved in libtool wrapper scripts and
       
 19969 # restored at relink time.
       
 19970 variables_saved_for_relink="$variables_saved_for_relink"
       
 19971 
       
 19972 # Whether libtool must link a program against all its dependency libraries.
       
 19973 link_all_deplibs=$link_all_deplibs_RC
       
 19974 
       
 19975 # Compile-time system search path for libraries
       
 19976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
       
 19977 
       
 19978 # Run-time system search path for libraries
       
 19979 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
       
 19980 
       
 19981 # Fix the shell variable \$srcfile for the compiler.
       
 19982 fix_srcfile_path="$fix_srcfile_path_RC"
       
 19983 
       
 19984 # Set to yes if exported symbols are required.
       
 19985 always_export_symbols=$always_export_symbols_RC
       
 19986 
       
 19987 # The commands to list exported symbols.
       
 19988 export_symbols_cmds=$lt_export_symbols_cmds_RC
       
 19989 
       
 19990 # The commands to extract the exported symbol list from a shared archive.
       
 19991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
       
 19992 
       
 19993 # Symbols that should not be listed in the preloaded symbols.
       
 19994 exclude_expsyms=$lt_exclude_expsyms_RC
       
 19995 
       
 19996 # Symbols that must always be exported.
       
 19997 include_expsyms=$lt_include_expsyms_RC
       
 19998 
       
 19999 # ### END LIBTOOL TAG CONFIG: $tagname
       
 20000 
       
 20001 __EOF__
       
 20002 
       
 20003 
       
 20004 else
       
 20005   # If there is no Makefile yet, we rely on a make rule to execute
       
 20006   # `config.status --recheck' to rerun these tests and create the
       
 20007   # libtool script then.
       
 20008   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
       
 20009   if test -f "$ltmain_in"; then
       
 20010     test -f Makefile && make "$ltmain"
       
 20011   fi
       
 20012 fi
       
 20013 
       
 20014 
       
 20015 ac_ext=c
       
 20016 ac_cpp='$CPP $CPPFLAGS'
       
 20017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
       
 20018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
       
 20019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
       
 20020 
       
 20021 CC="$lt_save_CC"
       
 20022 
       
 20023 	;;
       
 20024 
       
 20025       *)
       
 20026 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
       
 20027 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
       
 20028    { (exit 1); exit 1; }; }
       
 20029 	;;
       
 20030       esac
       
 20031 
       
 20032       # Append the new tag name to the list of available tags.
       
 20033       if test -n "$tagname" ; then
       
 20034       available_tags="$available_tags $tagname"
       
 20035     fi
       
 20036     fi
       
 20037   done
       
 20038   IFS="$lt_save_ifs"
       
 20039 
       
 20040   # Now substitute the updated list of available tags.
       
 20041   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
       
 20042     mv "${ofile}T" "$ofile"
       
 20043     chmod +x "$ofile"
       
 20044   else
       
 20045     rm -f "${ofile}T"
       
 20046     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
       
 20047 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
       
 20048    { (exit 1); exit 1; }; }
       
 20049   fi
       
 20050 fi
       
 20051 
       
 20052 
       
 20053 
       
 20054 # This can be used to rebuild libtool when needed
       
 20055 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
       
 20056 
       
 20057 # Always use our own libtool.
       
 20058 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
       
 20059 
       
 20060 # Prevent multiple expansion
       
 20061 
       
 20062 
       
 20063 
       
 20064 
       
 20065 
       
 20066 
       
 20067 
       
 20068 
       
 20069 
       
 20070 
       
 20071 
       
 20072 
       
 20073 
       
 20074 
       
 20075 
       
 20076 
       
 20077 
       
 20078 
       
 20079 
       
 20080 
       
 20081 # Extract the first word of "apxs2", so it can be a program name with args.
       
 20082 set dummy apxs2; ac_word=$2
       
 20083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
 20084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
 20085 if test "${ac_cv_path_APXS+set}" = set; then
       
 20086   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20087 else
       
 20088   case $APXS in
       
 20089   [\\/]* | ?:[\\/]*)
       
 20090   ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
       
 20091   ;;
       
 20092   *)
       
 20093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 20094 for as_dir in $PATH
       
 20095 do
       
 20096   IFS=$as_save_IFS
       
 20097   test -z "$as_dir" && as_dir=.
       
 20098   for ac_exec_ext in '' $ac_executable_extensions; do
       
 20099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
 20100     ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
       
 20101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
 20102     break 2
       
 20103   fi
       
 20104 done
       
 20105 done
       
 20106 IFS=$as_save_IFS
       
 20107 
       
 20108   test -z "$ac_cv_path_APXS" && ac_cv_path_APXS=""no""
       
 20109   ;;
       
 20110 esac
       
 20111 fi
       
 20112 APXS=$ac_cv_path_APXS
       
 20113 if test -n "$APXS"; then
       
 20114   { echo "$as_me:$LINENO: result: $APXS" >&5
       
 20115 echo "${ECHO_T}$APXS" >&6; }
       
 20116 else
       
 20117   { echo "$as_me:$LINENO: result: no" >&5
       
 20118 echo "${ECHO_T}no" >&6; }
       
 20119 fi
       
 20120 
       
 20121 
       
 20122 if test "$APXS" = "no"; then
       
 20123 	if test -e $APACHE2_PREFIX/bin/apxs2; then
       
 20124 		APXS=$APACHE2_PREFIX/bin/apxs2
       
 20125 		{ echo "$as_me:$LINENO: result: Apache2 'apxs2' found." >&5
       
 20126 echo "${ECHO_T}Apache2 'apxs2' found." >&6; }
       
 20127 	else
       
 20128 		{ echo "$as_me:$LINENO: result: Apache2 'apxs2' cannot be found. Checking for
       
 20129 			Apache2 'apxs'." >&5
       
 20130 echo "${ECHO_T}Apache2 'apxs2' cannot be found. Checking for
       
 20131 			Apache2 'apxs'." >&6; }
       
 20132 	fi
       
 20133 fi
       
 20134 if test "$APXS" = "no"; then
       
 20135 	# Extract the first word of "apxs", so it can be a program name with args.
       
 20136 set dummy apxs; ac_word=$2
       
 20137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
       
 20138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
       
 20139 if test "${ac_cv_path_APXS+set}" = set; then
       
 20140   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20141 else
       
 20142   case $APXS in
       
 20143   [\\/]* | ?:[\\/]*)
       
 20144   ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
       
 20145   ;;
       
 20146   *)
       
 20147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 20148 for as_dir in $PATH
       
 20149 do
       
 20150   IFS=$as_save_IFS
       
 20151   test -z "$as_dir" && as_dir=.
       
 20152   for ac_exec_ext in '' $ac_executable_extensions; do
       
 20153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
       
 20154     ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
       
 20155     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
       
 20156     break 2
       
 20157   fi
       
 20158 done
       
 20159 done
       
 20160 IFS=$as_save_IFS
       
 20161 
       
 20162   test -z "$ac_cv_path_APXS" && ac_cv_path_APXS=""no""
       
 20163   ;;
       
 20164 esac
       
 20165 fi
       
 20166 APXS=$ac_cv_path_APXS
       
 20167 if test -n "$APXS"; then
       
 20168   { echo "$as_me:$LINENO: result: $APXS" >&5
       
 20169 echo "${ECHO_T}$APXS" >&6; }
       
 20170 else
       
 20171   { echo "$as_me:$LINENO: result: no" >&5
       
 20172 echo "${ECHO_T}no" >&6; }
       
 20173 fi
       
 20174 
       
 20175 
       
 20176 	if test "$APXS" = "no"; then
       
 20177 		if test -e $APACHE2_PREFIX/bin/apxs; then
       
 20178 			APXS=$APACHE2_PREFIX/bin/apxs
       
 20179 			{ echo "$as_me:$LINENO: result: Apache2 'apxs' found." >&5
       
 20180 echo "${ECHO_T}Apache2 'apxs' found." >&6; }
       
 20181 		else
       
 20182 			{ echo "$as_me:$LINENO: WARNING: Apache2 'apxs' cannot be found. Check
       
 20183 				your binary paths and/or correct APACHE2_PREFIX. This is
       
 20184 				needed to build the .so file for installation." >&5
       
 20185 echo "$as_me: WARNING: Apache2 'apxs' cannot be found. Check
       
 20186 				your binary paths and/or correct APACHE2_PREFIX. This is
       
 20187 				needed to build the .so file for installation." >&2;}
       
 20188 		fi
       
 20189 	fi
       
 20190 fi
       
 20191 
       
 20192 # Checks for libraries.
       
 20193 if test -e $MYSQLCLIENT_LIBPATH/mysql; then
       
 20194 	MYSQLCLIENT_LIBFLAGS="$MYSQLCLIENT_LIBFLAGS -L$MYSQLCLIENT_LIBPATH/mysql"
       
 20195 fi
       
 20196 LDFLAGS="$LDFLAGS $MYSQLCLIENT_LIBFLAGS"
       
 20197 
       
 20198 
       
 20199 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
       
 20200 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
       
 20201 if test "${ac_cv_lib_z_compress+set}" = set; then
       
 20202   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20203 else
       
 20204   ac_check_lib_save_LIBS=$LIBS
       
 20205 LIBS="-lz  $LIBS"
       
 20206 cat >conftest.$ac_ext <<_ACEOF
       
 20207 /* confdefs.h.  */
       
 20208 _ACEOF
       
 20209 cat confdefs.h >>conftest.$ac_ext
       
 20210 cat >>conftest.$ac_ext <<_ACEOF
       
 20211 /* end confdefs.h.  */
       
 20212 
       
 20213 /* Override any GCC internal prototype to avoid an error.
       
 20214    Use char because int might match the return type of a GCC
       
 20215    builtin and then its argument prototype would still apply.  */
       
 20216 #ifdef __cplusplus
       
 20217 extern "C"
       
 20218 #endif
       
 20219 char compress ();
       
 20220 int
       
 20221 main ()
       
 20222 {
       
 20223 return compress ();
       
 20224   ;
       
 20225   return 0;
       
 20226 }
       
 20227 _ACEOF
       
 20228 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20229 if { (ac_try="$ac_link"
       
 20230 case "(($ac_try" in
       
 20231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20232   *) ac_try_echo=$ac_try;;
       
 20233 esac
       
 20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20235   (eval "$ac_link") 2>conftest.er1
       
 20236   ac_status=$?
       
 20237   grep -v '^ *+' conftest.er1 >conftest.err
       
 20238   rm -f conftest.er1
       
 20239   cat conftest.err >&5
       
 20240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20241   (exit $ac_status); } &&
       
 20242 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20243   { (case "(($ac_try" in
       
 20244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20245   *) ac_try_echo=$ac_try;;
       
 20246 esac
       
 20247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20248   (eval "$ac_try") 2>&5
       
 20249   ac_status=$?
       
 20250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20251   (exit $ac_status); }; } &&
       
 20252 	 { ac_try='test -s conftest$ac_exeext'
       
 20253   { (case "(($ac_try" in
       
 20254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20255   *) ac_try_echo=$ac_try;;
       
 20256 esac
       
 20257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20258   (eval "$ac_try") 2>&5
       
 20259   ac_status=$?
       
 20260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20261   (exit $ac_status); }; }; then
       
 20262   ac_cv_lib_z_compress=yes
       
 20263 else
       
 20264   echo "$as_me: failed program was:" >&5
       
 20265 sed 's/^/| /' conftest.$ac_ext >&5
       
 20266 
       
 20267 	ac_cv_lib_z_compress=no
       
 20268 fi
       
 20269 
       
 20270 rm -f core conftest.err conftest.$ac_objext \
       
 20271       conftest$ac_exeext conftest.$ac_ext
       
 20272 LIBS=$ac_check_lib_save_LIBS
       
 20273 fi
       
 20274 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
       
 20275 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
       
 20276 if test $ac_cv_lib_z_compress = yes; then
       
 20277   cat >>confdefs.h <<_ACEOF
       
 20278 #define HAVE_LIBZ 1
       
 20279 _ACEOF
       
 20280 
       
 20281   LIBS="-lz $LIBS"
       
 20282 
       
 20283 else
       
 20284   { echo "$as_me:$LINENO: WARNING:
       
 20285 	ZLib could not be found. This may result in an unstable
       
 20286 	module." >&5
       
 20287 echo "$as_me: WARNING:
       
 20288 	ZLib could not be found. This may result in an unstable
       
 20289 	module." >&2;}
       
 20290 fi
       
 20291 
       
 20292 { echo "$as_me:$LINENO: checking for pthread_key_create in -lpthread" >&5
       
 20293 echo $ECHO_N "checking for pthread_key_create in -lpthread... $ECHO_C" >&6; }
       
 20294 if test "${ac_cv_lib_pthread_pthread_key_create+set}" = set; then
       
 20295   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20296 else
       
 20297   ac_check_lib_save_LIBS=$LIBS
       
 20298 LIBS="-lpthread  $LIBS"
       
 20299 cat >conftest.$ac_ext <<_ACEOF
       
 20300 /* confdefs.h.  */
       
 20301 _ACEOF
       
 20302 cat confdefs.h >>conftest.$ac_ext
       
 20303 cat >>conftest.$ac_ext <<_ACEOF
       
 20304 /* end confdefs.h.  */
       
 20305 
       
 20306 /* Override any GCC internal prototype to avoid an error.
       
 20307    Use char because int might match the return type of a GCC
       
 20308    builtin and then its argument prototype would still apply.  */
       
 20309 #ifdef __cplusplus
       
 20310 extern "C"
       
 20311 #endif
       
 20312 char pthread_key_create ();
       
 20313 int
       
 20314 main ()
       
 20315 {
       
 20316 return pthread_key_create ();
       
 20317   ;
       
 20318   return 0;
       
 20319 }
       
 20320 _ACEOF
       
 20321 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20322 if { (ac_try="$ac_link"
       
 20323 case "(($ac_try" in
       
 20324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20325   *) ac_try_echo=$ac_try;;
       
 20326 esac
       
 20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20328   (eval "$ac_link") 2>conftest.er1
       
 20329   ac_status=$?
       
 20330   grep -v '^ *+' conftest.er1 >conftest.err
       
 20331   rm -f conftest.er1
       
 20332   cat conftest.err >&5
       
 20333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20334   (exit $ac_status); } &&
       
 20335 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20336   { (case "(($ac_try" in
       
 20337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20338   *) ac_try_echo=$ac_try;;
       
 20339 esac
       
 20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20341   (eval "$ac_try") 2>&5
       
 20342   ac_status=$?
       
 20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20344   (exit $ac_status); }; } &&
       
 20345 	 { ac_try='test -s conftest$ac_exeext'
       
 20346   { (case "(($ac_try" in
       
 20347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20348   *) ac_try_echo=$ac_try;;
       
 20349 esac
       
 20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20351   (eval "$ac_try") 2>&5
       
 20352   ac_status=$?
       
 20353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20354   (exit $ac_status); }; }; then
       
 20355   ac_cv_lib_pthread_pthread_key_create=yes
       
 20356 else
       
 20357   echo "$as_me: failed program was:" >&5
       
 20358 sed 's/^/| /' conftest.$ac_ext >&5
       
 20359 
       
 20360 	ac_cv_lib_pthread_pthread_key_create=no
       
 20361 fi
       
 20362 
       
 20363 rm -f core conftest.err conftest.$ac_objext \
       
 20364       conftest$ac_exeext conftest.$ac_ext
       
 20365 LIBS=$ac_check_lib_save_LIBS
       
 20366 fi
       
 20367 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_key_create" >&5
       
 20368 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_key_create" >&6; }
       
 20369 if test $ac_cv_lib_pthread_pthread_key_create = yes; then
       
 20370   pthread="yes"
       
 20371 else
       
 20372   pthread="no"
       
 20373 fi
       
 20374 
       
 20375 if test "$pthread" = "yes"; then
       
 20376   MYSQLCLIENT_LIBFLAGS="$MYSQLCLIENT_LIBFLAGS -lpthread"
       
 20377   LDFLAGS="$LDFLAGS -lpthread"
       
 20378   MYSQLCLIENT_LIB=mysqlclient_r
       
 20379   { echo "$as_me:$LINENO: checking for mysql_init in -lmysqlclient_r" >&5
       
 20380 echo $ECHO_N "checking for mysql_init in -lmysqlclient_r... $ECHO_C" >&6; }
       
 20381 if test "${ac_cv_lib_mysqlclient_r_mysql_init+set}" = set; then
       
 20382   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20383 else
       
 20384   ac_check_lib_save_LIBS=$LIBS
       
 20385 LIBS="-lmysqlclient_r  $LIBS"
       
 20386 cat >conftest.$ac_ext <<_ACEOF
       
 20387 /* confdefs.h.  */
       
 20388 _ACEOF
       
 20389 cat confdefs.h >>conftest.$ac_ext
       
 20390 cat >>conftest.$ac_ext <<_ACEOF
       
 20391 /* end confdefs.h.  */
       
 20392 
       
 20393 /* Override any GCC internal prototype to avoid an error.
       
 20394    Use char because int might match the return type of a GCC
       
 20395    builtin and then its argument prototype would still apply.  */
       
 20396 #ifdef __cplusplus
       
 20397 extern "C"
       
 20398 #endif
       
 20399 char mysql_init ();
       
 20400 int
       
 20401 main ()
       
 20402 {
       
 20403 return mysql_init ();
       
 20404   ;
       
 20405   return 0;
       
 20406 }
       
 20407 _ACEOF
       
 20408 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20409 if { (ac_try="$ac_link"
       
 20410 case "(($ac_try" in
       
 20411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20412   *) ac_try_echo=$ac_try;;
       
 20413 esac
       
 20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20415   (eval "$ac_link") 2>conftest.er1
       
 20416   ac_status=$?
       
 20417   grep -v '^ *+' conftest.er1 >conftest.err
       
 20418   rm -f conftest.er1
       
 20419   cat conftest.err >&5
       
 20420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20421   (exit $ac_status); } &&
       
 20422 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20423   { (case "(($ac_try" in
       
 20424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20425   *) ac_try_echo=$ac_try;;
       
 20426 esac
       
 20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20428   (eval "$ac_try") 2>&5
       
 20429   ac_status=$?
       
 20430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20431   (exit $ac_status); }; } &&
       
 20432 	 { ac_try='test -s conftest$ac_exeext'
       
 20433   { (case "(($ac_try" in
       
 20434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20435   *) ac_try_echo=$ac_try;;
       
 20436 esac
       
 20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20438   (eval "$ac_try") 2>&5
       
 20439   ac_status=$?
       
 20440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20441   (exit $ac_status); }; }; then
       
 20442   ac_cv_lib_mysqlclient_r_mysql_init=yes
       
 20443 else
       
 20444   echo "$as_me: failed program was:" >&5
       
 20445 sed 's/^/| /' conftest.$ac_ext >&5
       
 20446 
       
 20447 	ac_cv_lib_mysqlclient_r_mysql_init=no
       
 20448 fi
       
 20449 
       
 20450 rm -f core conftest.err conftest.$ac_objext \
       
 20451       conftest$ac_exeext conftest.$ac_ext
       
 20452 LIBS=$ac_check_lib_save_LIBS
       
 20453 fi
       
 20454 { echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_r_mysql_init" >&5
       
 20455 echo "${ECHO_T}$ac_cv_lib_mysqlclient_r_mysql_init" >&6; }
       
 20456 if test $ac_cv_lib_mysqlclient_r_mysql_init = yes; then
       
 20457   threadsafe_mysql="yes"
       
 20458 else
       
 20459   threadsafe_mysql="no"
       
 20460 fi
       
 20461 
       
 20462 fi
       
 20463 if test "$threadsafe_mysql" != "yes"; then
       
 20464 	MYSQLCLIENT_LIB=mysqlclient
       
 20465   { echo "$as_me:$LINENO: WARNING:
       
 20466       Cannot link with thread-safe MySQL client library (libmysqlclient_r)" >&5
       
 20467 echo "$as_me: WARNING:
       
 20468       Cannot link with thread-safe MySQL client library (libmysqlclient_r)" >&2;}
       
 20469 
       
 20470 as_ac_Lib=`echo "ac_cv_lib_$MYSQLCLIENT_LIB''_mysql_init" | $as_tr_sh`
       
 20471 { echo "$as_me:$LINENO: checking for mysql_init in -l$MYSQLCLIENT_LIB" >&5
       
 20472 echo $ECHO_N "checking for mysql_init in -l$MYSQLCLIENT_LIB... $ECHO_C" >&6; }
       
 20473 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
       
 20474   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20475 else
       
 20476   ac_check_lib_save_LIBS=$LIBS
       
 20477 LIBS="-l$MYSQLCLIENT_LIB  $LIBS"
       
 20478 cat >conftest.$ac_ext <<_ACEOF
       
 20479 /* confdefs.h.  */
       
 20480 _ACEOF
       
 20481 cat confdefs.h >>conftest.$ac_ext
       
 20482 cat >>conftest.$ac_ext <<_ACEOF
       
 20483 /* end confdefs.h.  */
       
 20484 
       
 20485 /* Override any GCC internal prototype to avoid an error.
       
 20486    Use char because int might match the return type of a GCC
       
 20487    builtin and then its argument prototype would still apply.  */
       
 20488 #ifdef __cplusplus
       
 20489 extern "C"
       
 20490 #endif
       
 20491 char mysql_init ();
       
 20492 int
       
 20493 main ()
       
 20494 {
       
 20495 return mysql_init ();
       
 20496   ;
       
 20497   return 0;
       
 20498 }
       
 20499 _ACEOF
       
 20500 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20501 if { (ac_try="$ac_link"
       
 20502 case "(($ac_try" in
       
 20503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20504   *) ac_try_echo=$ac_try;;
       
 20505 esac
       
 20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20507   (eval "$ac_link") 2>conftest.er1
       
 20508   ac_status=$?
       
 20509   grep -v '^ *+' conftest.er1 >conftest.err
       
 20510   rm -f conftest.er1
       
 20511   cat conftest.err >&5
       
 20512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20513   (exit $ac_status); } &&
       
 20514 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20515   { (case "(($ac_try" in
       
 20516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20517   *) ac_try_echo=$ac_try;;
       
 20518 esac
       
 20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20520   (eval "$ac_try") 2>&5
       
 20521   ac_status=$?
       
 20522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20523   (exit $ac_status); }; } &&
       
 20524 	 { ac_try='test -s conftest$ac_exeext'
       
 20525   { (case "(($ac_try" in
       
 20526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20527   *) ac_try_echo=$ac_try;;
       
 20528 esac
       
 20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20530   (eval "$ac_try") 2>&5
       
 20531   ac_status=$?
       
 20532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20533   (exit $ac_status); }; }; then
       
 20534   eval "$as_ac_Lib=yes"
       
 20535 else
       
 20536   echo "$as_me: failed program was:" >&5
       
 20537 sed 's/^/| /' conftest.$ac_ext >&5
       
 20538 
       
 20539 	eval "$as_ac_Lib=no"
       
 20540 fi
       
 20541 
       
 20542 rm -f core conftest.err conftest.$ac_objext \
       
 20543       conftest$ac_exeext conftest.$ac_ext
       
 20544 LIBS=$ac_check_lib_save_LIBS
       
 20545 fi
       
 20546 ac_res=`eval echo '${'$as_ac_Lib'}'`
       
 20547 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 20548 echo "${ECHO_T}$ac_res" >&6; }
       
 20549 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
       
 20550   cat >>confdefs.h <<_ACEOF
       
 20551 #define `echo "HAVE_LIB$MYSQLCLIENT_LIB" | $as_tr_cpp` 1
       
 20552 _ACEOF
       
 20553 
       
 20554   LIBS="-l$MYSQLCLIENT_LIB $LIBS"
       
 20555 
       
 20556 else
       
 20557   { { echo "$as_me:$LINENO: error:
       
 20558         The MySQL client library could not be found. Please check the
       
 20559         MySQL installation and correct MYSQL_PREFIX." >&5
       
 20560 echo "$as_me: error:
       
 20561         The MySQL client library could not be found. Please check the
       
 20562         MySQL installation and correct MYSQL_PREFIX." >&2;}
       
 20563    { (exit 1); exit 1; }; }
       
 20564 fi
       
 20565 
       
 20566 fi
       
 20567 as_ac_Lib=`echo "ac_cv_lib_$MYSQLCLIENT_LIB''_mysql_ssl_set" | $as_tr_sh`
       
 20568 { echo "$as_me:$LINENO: checking for mysql_ssl_set in -l$MYSQLCLIENT_LIB" >&5
       
 20569 echo $ECHO_N "checking for mysql_ssl_set in -l$MYSQLCLIENT_LIB... $ECHO_C" >&6; }
       
 20570 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
       
 20571   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20572 else
       
 20573   ac_check_lib_save_LIBS=$LIBS
       
 20574 LIBS="-l$MYSQLCLIENT_LIB  $LIBS"
       
 20575 cat >conftest.$ac_ext <<_ACEOF
       
 20576 /* confdefs.h.  */
       
 20577 _ACEOF
       
 20578 cat confdefs.h >>conftest.$ac_ext
       
 20579 cat >>conftest.$ac_ext <<_ACEOF
       
 20580 /* end confdefs.h.  */
       
 20581 
       
 20582 /* Override any GCC internal prototype to avoid an error.
       
 20583    Use char because int might match the return type of a GCC
       
 20584    builtin and then its argument prototype would still apply.  */
       
 20585 #ifdef __cplusplus
       
 20586 extern "C"
       
 20587 #endif
       
 20588 char mysql_ssl_set ();
       
 20589 int
       
 20590 main ()
       
 20591 {
       
 20592 return mysql_ssl_set ();
       
 20593   ;
       
 20594   return 0;
       
 20595 }
       
 20596 _ACEOF
       
 20597 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20598 if { (ac_try="$ac_link"
       
 20599 case "(($ac_try" in
       
 20600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20601   *) ac_try_echo=$ac_try;;
       
 20602 esac
       
 20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20604   (eval "$ac_link") 2>conftest.er1
       
 20605   ac_status=$?
       
 20606   grep -v '^ *+' conftest.er1 >conftest.err
       
 20607   rm -f conftest.er1
       
 20608   cat conftest.err >&5
       
 20609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20610   (exit $ac_status); } &&
       
 20611 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20612   { (case "(($ac_try" in
       
 20613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20614   *) ac_try_echo=$ac_try;;
       
 20615 esac
       
 20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20617   (eval "$ac_try") 2>&5
       
 20618   ac_status=$?
       
 20619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20620   (exit $ac_status); }; } &&
       
 20621 	 { ac_try='test -s conftest$ac_exeext'
       
 20622   { (case "(($ac_try" in
       
 20623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20624   *) ac_try_echo=$ac_try;;
       
 20625 esac
       
 20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20627   (eval "$ac_try") 2>&5
       
 20628   ac_status=$?
       
 20629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20630   (exit $ac_status); }; }; then
       
 20631   eval "$as_ac_Lib=yes"
       
 20632 else
       
 20633   echo "$as_me: failed program was:" >&5
       
 20634 sed 's/^/| /' conftest.$ac_ext >&5
       
 20635 
       
 20636 	eval "$as_ac_Lib=no"
       
 20637 fi
       
 20638 
       
 20639 rm -f core conftest.err conftest.$ac_objext \
       
 20640       conftest$ac_exeext conftest.$ac_ext
       
 20641 LIBS=$ac_check_lib_save_LIBS
       
 20642 fi
       
 20643 ac_res=`eval echo '${'$as_ac_Lib'}'`
       
 20644 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 20645 echo "${ECHO_T}$ac_res" >&6; }
       
 20646 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
       
 20647   cat >>confdefs.h <<\_ACEOF
       
 20648 #define MAF_MYSQL_SSL "1"
       
 20649 _ACEOF
       
 20650 
       
 20651 else
       
 20652   { echo "$as_me:$LINENO: WARNING:
       
 20653   The MySQL client library does not support SSL. Disabling
       
 20654   SSL support for MySQL." >&5
       
 20655 echo "$as_me: WARNING:
       
 20656   The MySQL client library does not support SSL. Disabling
       
 20657   SSL support for MySQL." >&2;}
       
 20658 fi
       
 20659 
       
 20660 
       
 20661 # Check for key header files (manually)
       
 20662 if test ! -e $APACHE2_INCLUDE/httpd.h; then
       
 20663 	APACHE2_INCLUDE=$APACHE2_PREFIX/include/apache2
       
 20664 	if test ! -e $APACHE2_INCLUDE/httpd.h; then
       
 20665 		{ { echo "$as_me:$LINENO: error:
       
 20666 			The Apache2 header files could not be found.
       
 20667 			Please correct APACHE2_PREFIX or APACHE2_INCLUDE." >&5
       
 20668 echo "$as_me: error:
       
 20669 			The Apache2 header files could not be found.
       
 20670 			Please correct APACHE2_PREFIX or APACHE2_INCLUDE." >&2;}
       
 20671    { (exit 1); exit 1; }; }
       
 20672 	fi
       
 20673 fi
       
 20674 if test ! -e $APR1_INCLUDE/apr_hooks.h; then
       
 20675 	APR1_INCLUDE=$APR1_PREFIX/include/apr-1
       
 20676 	if test ! -e $APR1_INCLUDE/apr_hooks.h; then
       
 20677 		{ echo "$as_me:$LINENO: WARNING:
       
 20678 			The Apache2 Portable Runtime Library, series 1, header files could not be found.
       
 20679 			Please correct APR1_PREFIX or APR1_INCLUDE if APR-1.x is installed." >&5
       
 20680 echo "$as_me: WARNING:
       
 20681 			The Apache2 Portable Runtime Library, series 1, header files could not be found.
       
 20682 			Please correct APR1_PREFIX or APR1_INCLUDE if APR-1.x is installed." >&2;}
       
 20683 		if test ! -e $APR0_INCLUDE/apr_hooks.h; then
       
 20684 			APR0_INCLUDE=$APR0_PREFIX/include/apr-0
       
 20685 			if test ! -e $APR0_INCLUDE/apr_hooks.h; then
       
 20686 				{ echo "$as_me:$LINENO: WARNING:
       
 20687 					The Apache2 Portable Runtime Library, series 0, header files could not be found.
       
 20688 					Please correct APR0_PREFIX or APR0_INCLUDE if APR-0.x is installed." >&5
       
 20689 echo "$as_me: WARNING:
       
 20690 					The Apache2 Portable Runtime Library, series 0, header files could not be found.
       
 20691 					Please correct APR0_PREFIX or APR0_INCLUDE if APR-0.x is installed." >&2;}
       
 20692 				{ { echo "$as_me:$LINENO: error:
       
 20693 					The Apache2 Portable Runtime Library header files could not be found.
       
 20694 					Please check your APR installation." >&5
       
 20695 echo "$as_me: error:
       
 20696 					The Apache2 Portable Runtime Library header files could not be found.
       
 20697 					Please check your APR installation." >&2;}
       
 20698    { (exit 1); exit 1; }; }
       
 20699 			fi
       
 20700 		fi
       
 20701 	fi
       
 20702 fi
       
 20703 if test -e $APR1_INCLUDE/apr_hooks.h;then
       
 20704 	APR_INCLUDE=$APR1_INCLUDE
       
 20705 elif test -e $APR0_INCLUDE/apr_hooks.h;then
       
 20706 	APR_INCLUDE=$APR0_INCLUDE
       
 20707 fi
       
 20708 if test ! -e $MYSQL_INCLUDE/mysql.h; then
       
 20709 	MYSQL_INCLUDE=$MYSQL_PREFIX/include/mysql
       
 20710 	if test ! -e $MYSQL_INCLUDE/mysql.h; then
       
 20711 		{ { echo "$as_me:$LINENO: error:
       
 20712 			The MySQL header files could not be found. Please
       
 20713 			correct MYSQL_PREFIX or MYSQL_INCLUDE." >&5
       
 20714 echo "$as_me: error:
       
 20715 			The MySQL header files could not be found. Please
       
 20716 			correct MYSQL_PREFIX or MYSQL_INCLUDE." >&2;}
       
 20717    { (exit 1); exit 1; }; }
       
 20718 	fi
       
 20719 fi
       
 20720 
       
 20721 # Checks for typedefs, structures, and compiler characteristics.
       
 20722 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
       
 20723 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
       
 20724 if test "${ac_cv_c_const+set}" = set; then
       
 20725   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20726 else
       
 20727   cat >conftest.$ac_ext <<_ACEOF
       
 20728 /* confdefs.h.  */
       
 20729 _ACEOF
       
 20730 cat confdefs.h >>conftest.$ac_ext
       
 20731 cat >>conftest.$ac_ext <<_ACEOF
       
 20732 /* end confdefs.h.  */
       
 20733 
       
 20734 int
       
 20735 main ()
       
 20736 {
       
 20737 /* FIXME: Include the comments suggested by Paul. */
       
 20738 #ifndef __cplusplus
       
 20739   /* Ultrix mips cc rejects this.  */
       
 20740   typedef int charset[2];
       
 20741   const charset x;
       
 20742   /* SunOS 4.1.1 cc rejects this.  */
       
 20743   char const *const *ccp;
       
 20744   char **p;
       
 20745   /* NEC SVR4.0.2 mips cc rejects this.  */
       
 20746   struct point {int x, y;};
       
 20747   static struct point const zero = {0,0};
       
 20748   /* AIX XL C 1.02.0.0 rejects this.
       
 20749      It does not let you subtract one const X* pointer from another in
       
 20750      an arm of an if-expression whose if-part is not a constant
       
 20751      expression */
       
 20752   const char *g = "string";
       
 20753   ccp = &g + (g ? g-g : 0);
       
 20754   /* HPUX 7.0 cc rejects these. */
       
 20755   ++ccp;
       
 20756   p = (char**) ccp;
       
 20757   ccp = (char const *const *) p;
       
 20758   { /* SCO 3.2v4 cc rejects this.  */
       
 20759     char *t;
       
 20760     char const *s = 0 ? (char *) 0 : (char const *) 0;
       
 20761 
       
 20762     *t++ = 0;
       
 20763     if (s) return 0;
       
 20764   }
       
 20765   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
       
 20766     int x[] = {25, 17};
       
 20767     const int *foo = &x[0];
       
 20768     ++foo;
       
 20769   }
       
 20770   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
       
 20771     typedef const int *iptr;
       
 20772     iptr p = 0;
       
 20773     ++p;
       
 20774   }
       
 20775   { /* AIX XL C 1.02.0.0 rejects this saying
       
 20776        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
       
 20777     struct s { int j; const int *ap[3]; };
       
 20778     struct s *b; b->j = 5;
       
 20779   }
       
 20780   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
       
 20781     const int foo = 10;
       
 20782     if (!foo) return 0;
       
 20783   }
       
 20784   return !x[0] && !zero.x;
       
 20785 #endif
       
 20786 
       
 20787   ;
       
 20788   return 0;
       
 20789 }
       
 20790 _ACEOF
       
 20791 rm -f conftest.$ac_objext
       
 20792 if { (ac_try="$ac_compile"
       
 20793 case "(($ac_try" in
       
 20794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20795   *) ac_try_echo=$ac_try;;
       
 20796 esac
       
 20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20798   (eval "$ac_compile") 2>conftest.er1
       
 20799   ac_status=$?
       
 20800   grep -v '^ *+' conftest.er1 >conftest.err
       
 20801   rm -f conftest.er1
       
 20802   cat conftest.err >&5
       
 20803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20804   (exit $ac_status); } &&
       
 20805 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20806   { (case "(($ac_try" in
       
 20807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20808   *) ac_try_echo=$ac_try;;
       
 20809 esac
       
 20810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20811   (eval "$ac_try") 2>&5
       
 20812   ac_status=$?
       
 20813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20814   (exit $ac_status); }; } &&
       
 20815 	 { ac_try='test -s conftest.$ac_objext'
       
 20816   { (case "(($ac_try" in
       
 20817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20818   *) ac_try_echo=$ac_try;;
       
 20819 esac
       
 20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20821   (eval "$ac_try") 2>&5
       
 20822   ac_status=$?
       
 20823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20824   (exit $ac_status); }; }; then
       
 20825   ac_cv_c_const=yes
       
 20826 else
       
 20827   echo "$as_me: failed program was:" >&5
       
 20828 sed 's/^/| /' conftest.$ac_ext >&5
       
 20829 
       
 20830 	ac_cv_c_const=no
       
 20831 fi
       
 20832 
       
 20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       
 20834 fi
       
 20835 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
       
 20836 echo "${ECHO_T}$ac_cv_c_const" >&6; }
       
 20837 if test $ac_cv_c_const = no; then
       
 20838 
       
 20839 cat >>confdefs.h <<\_ACEOF
       
 20840 #define const
       
 20841 _ACEOF
       
 20842 
       
 20843 fi
       
 20844 
       
 20845 
       
 20846 # Checks for library functions.
       
 20847 
       
 20848 
       
 20849 
       
 20850 
       
 20851 for ac_func in strchr strrchr strstr strtol
       
 20852 do
       
 20853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
       
 20854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
       
 20855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
       
 20856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
       
 20857   echo $ECHO_N "(cached) $ECHO_C" >&6
       
 20858 else
       
 20859   cat >conftest.$ac_ext <<_ACEOF
       
 20860 /* confdefs.h.  */
       
 20861 _ACEOF
       
 20862 cat confdefs.h >>conftest.$ac_ext
       
 20863 cat >>conftest.$ac_ext <<_ACEOF
       
 20864 /* end confdefs.h.  */
       
 20865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
       
 20866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
       
 20867 #define $ac_func innocuous_$ac_func
       
 20868 
       
 20869 /* System header to define __stub macros and hopefully few prototypes,
       
 20870     which can conflict with char $ac_func (); below.
       
 20871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       
 20872     <limits.h> exists even on freestanding compilers.  */
       
 20873 
       
 20874 #ifdef __STDC__
       
 20875 # include <limits.h>
       
 20876 #else
       
 20877 # include <assert.h>
       
 20878 #endif
       
 20879 
       
 20880 #undef $ac_func
       
 20881 
       
 20882 /* Override any GCC internal prototype to avoid an error.
       
 20883    Use char because int might match the return type of a GCC
       
 20884    builtin and then its argument prototype would still apply.  */
       
 20885 #ifdef __cplusplus
       
 20886 extern "C"
       
 20887 #endif
       
 20888 char $ac_func ();
       
 20889 /* The GNU C library defines this for functions which it implements
       
 20890     to always fail with ENOSYS.  Some functions are actually named
       
 20891     something starting with __ and the normal name is an alias.  */
       
 20892 #if defined __stub_$ac_func || defined __stub___$ac_func
       
 20893 choke me
       
 20894 #endif
       
 20895 
       
 20896 int
       
 20897 main ()
       
 20898 {
       
 20899 return $ac_func ();
       
 20900   ;
       
 20901   return 0;
       
 20902 }
       
 20903 _ACEOF
       
 20904 rm -f conftest.$ac_objext conftest$ac_exeext
       
 20905 if { (ac_try="$ac_link"
       
 20906 case "(($ac_try" in
       
 20907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20908   *) ac_try_echo=$ac_try;;
       
 20909 esac
       
 20910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20911   (eval "$ac_link") 2>conftest.er1
       
 20912   ac_status=$?
       
 20913   grep -v '^ *+' conftest.er1 >conftest.err
       
 20914   rm -f conftest.er1
       
 20915   cat conftest.err >&5
       
 20916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20917   (exit $ac_status); } &&
       
 20918 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
       
 20919   { (case "(($ac_try" in
       
 20920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20921   *) ac_try_echo=$ac_try;;
       
 20922 esac
       
 20923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20924   (eval "$ac_try") 2>&5
       
 20925   ac_status=$?
       
 20926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20927   (exit $ac_status); }; } &&
       
 20928 	 { ac_try='test -s conftest$ac_exeext'
       
 20929   { (case "(($ac_try" in
       
 20930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
       
 20931   *) ac_try_echo=$ac_try;;
       
 20932 esac
       
 20933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
       
 20934   (eval "$ac_try") 2>&5
       
 20935   ac_status=$?
       
 20936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
       
 20937   (exit $ac_status); }; }; then
       
 20938   eval "$as_ac_var=yes"
       
 20939 else
       
 20940   echo "$as_me: failed program was:" >&5
       
 20941 sed 's/^/| /' conftest.$ac_ext >&5
       
 20942 
       
 20943 	eval "$as_ac_var=no"
       
 20944 fi
       
 20945 
       
 20946 rm -f core conftest.err conftest.$ac_objext \
       
 20947       conftest$ac_exeext conftest.$ac_ext
       
 20948 fi
       
 20949 ac_res=`eval echo '${'$as_ac_var'}'`
       
 20950 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
       
 20951 echo "${ECHO_T}$ac_res" >&6; }
       
 20952 if test `eval echo '${'$as_ac_var'}'` = yes; then
       
 20953   cat >>confdefs.h <<_ACEOF
       
 20954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
       
 20955 _ACEOF
       
 20956 
       
 20957 else
       
 20958   { { echo "$as_me:$LINENO: error: Missing a standard string function." >&5
       
 20959 echo "$as_me: error: Missing a standard string function." >&2;}
       
 20960    { (exit 1); exit 1; }; }
       
 20961 fi
       
 20962 done
       
 20963 
       
 20964 
       
 20965 # Finally, output the results
       
 20966 ac_config_files="$ac_config_files Makefile src/Makefile"
       
 20967 
       
 20968 #AC_CONFIG_COMMANDS([time-stamp], [$DATE > stamp-h.in])
       
 20969 cat >confcache <<\_ACEOF
       
 20970 # This file is a shell script that caches the results of configure
       
 20971 # tests run on this system so they can be shared between configure
       
 20972 # scripts and configure runs, see configure's option --config-cache.
       
 20973 # It is not useful on other systems.  If it contains results you don't
       
 20974 # want to keep, you may remove or edit it.
       
 20975 #
       
 20976 # config.status only pays attention to the cache file if you give it
       
 20977 # the --recheck option to rerun configure.
       
 20978 #
       
 20979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
       
 20980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
       
 20981 # following values.
       
 20982 
       
 20983 _ACEOF
       
 20984 
       
 20985 # The following way of writing the cache mishandles newlines in values,
       
 20986 # but we know of no workaround that is simple, portable, and efficient.
       
 20987 # So, we kill variables containing newlines.
       
 20988 # Ultrix sh set writes to stderr and can't be redirected directly,
       
 20989 # and sets the high bit in the cache file unless we assign to the vars.
       
 20990 (
       
 20991   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
       
 20992     eval ac_val=\$$ac_var
       
 20993     case $ac_val in #(
       
 20994     *${as_nl}*)
       
 20995       case $ac_var in #(
       
 20996       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
       
 20997 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
       
 20998       esac
       
 20999       case $ac_var in #(
       
 21000       _ | IFS | as_nl) ;; #(
       
 21001       *) $as_unset $ac_var ;;
       
 21002       esac ;;
       
 21003     esac
       
 21004   done
       
 21005 
       
 21006   (set) 2>&1 |
       
 21007     case $as_nl`(ac_space=' '; set) 2>&1` in #(
       
 21008     *${as_nl}ac_space=\ *)
       
 21009       # `set' does not quote correctly, so add quotes (double-quote
       
 21010       # substitution turns \\\\ into \\, and sed turns \\ into \).
       
 21011       sed -n \
       
 21012 	"s/'/'\\\\''/g;
       
 21013 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
       
 21014       ;; #(
       
 21015     *)
       
 21016       # `set' quotes correctly as required by POSIX, so do not add quotes.
       
 21017       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
       
 21018       ;;
       
 21019     esac |
       
 21020     sort
       
 21021 ) |
       
 21022   sed '
       
 21023      /^ac_cv_env_/b end
       
 21024      t clear
       
 21025      :clear
       
 21026      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
       
 21027      t end
       
 21028      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
       
 21029      :end' >>confcache
       
 21030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
       
 21031   if test -w "$cache_file"; then
       
 21032     test "x$cache_file" != "x/dev/null" &&
       
 21033       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
       
 21034 echo "$as_me: updating cache $cache_file" >&6;}
       
 21035     cat confcache >$cache_file
       
 21036   else
       
 21037     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
       
 21038 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
       
 21039   fi
       
 21040 fi
       
 21041 rm -f confcache
       
 21042 
       
 21043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
       
 21044 # Let make expand exec_prefix.
       
 21045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
       
 21046 
       
 21047 # Transform confdefs.h into DEFS.
       
 21048 # Protect against shell expansion while executing Makefile rules.
       
 21049 # Protect against Makefile macro expansion.
       
 21050 #
       
 21051 # If the first sed substitution is executed (which looks for macros that
       
 21052 # take arguments), then branch to the quote section.  Otherwise,
       
 21053 # look for a macro that doesn't take arguments.
       
 21054 ac_script='
       
 21055 t clear
       
 21056 :clear
       
 21057 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
       
 21058 t quote
       
 21059 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
       
 21060 t quote
       
 21061 b any
       
 21062 :quote
       
 21063 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
       
 21064 s/\[/\\&/g
       
 21065 s/\]/\\&/g
       
 21066 s/\$/$$/g
       
 21067 H
       
 21068 :any
       
 21069 ${
       
 21070 	g
       
 21071 	s/^\n//
       
 21072 	s/\n/ /g
       
 21073 	p
       
 21074 }
       
 21075 '
       
 21076 DEFS=`sed -n "$ac_script" confdefs.h`
       
 21077 
       
 21078 
       
 21079 ac_libobjs=
       
 21080 ac_ltlibobjs=
       
 21081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
       
 21082   # 1. Remove the extension, and $U if already installed.
       
 21083   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
       
 21084   ac_i=`echo "$ac_i" | sed "$ac_script"`
       
 21085   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
       
 21086   #    will be set to the directory where LIBOBJS objects are built.
       
 21087   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
       
 21088   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
       
 21089 done
       
 21090 LIBOBJS=$ac_libobjs
       
 21091 
       
 21092 LTLIBOBJS=$ac_ltlibobjs
       
 21093 
       
 21094 
       
 21095 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
       
 21096   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
       
 21097 Usually this means the macro was only invoked conditionally." >&5
       
 21098 echo "$as_me: error: conditional \"AMDEP\" was never defined.
       
 21099 Usually this means the macro was only invoked conditionally." >&2;}
       
 21100    { (exit 1); exit 1; }; }
       
 21101 fi
       
 21102 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
       
 21103   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
       
 21104 Usually this means the macro was only invoked conditionally." >&5
       
 21105 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
       
 21106 Usually this means the macro was only invoked conditionally." >&2;}
       
 21107    { (exit 1); exit 1; }; }
       
 21108 fi
       
 21109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
       
 21110   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
       
 21111 Usually this means the macro was only invoked conditionally." >&5
       
 21112 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
       
 21113 Usually this means the macro was only invoked conditionally." >&2;}
       
 21114    { (exit 1); exit 1; }; }
       
 21115 fi
       
 21116 
       
 21117 : ${CONFIG_STATUS=./config.status}
       
 21118 ac_clean_files_save=$ac_clean_files
       
 21119 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
       
 21120 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
       
 21121 echo "$as_me: creating $CONFIG_STATUS" >&6;}
       
 21122 cat >$CONFIG_STATUS <<_ACEOF
       
 21123 #! $SHELL
       
 21124 # Generated by $as_me.
       
 21125 # Run this file to recreate the current configuration.
       
 21126 # Compiler output produced by configure, useful for debugging
       
 21127 # configure, is in config.log if it exists.
       
 21128 
       
 21129 debug=false
       
 21130 ac_cs_recheck=false
       
 21131 ac_cs_silent=false
       
 21132 SHELL=\${CONFIG_SHELL-$SHELL}
       
 21133 _ACEOF
       
 21134 
       
 21135 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21136 ## --------------------- ##
       
 21137 ## M4sh Initialization.  ##
       
 21138 ## --------------------- ##
       
 21139 
       
 21140 # Be Bourne compatible
       
 21141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
       
 21142   emulate sh
       
 21143   NULLCMD=:
       
 21144   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
       
 21145   # is contrary to our usage.  Disable this feature.
       
 21146   alias -g '${1+"$@"}'='"$@"'
       
 21147   setopt NO_GLOB_SUBST
       
 21148 else
       
 21149   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
       
 21150 fi
       
 21151 BIN_SH=xpg4; export BIN_SH # for Tru64
       
 21152 DUALCASE=1; export DUALCASE # for MKS sh
       
 21153 
       
 21154 
       
 21155 # PATH needs CR
       
 21156 # Avoid depending upon Character Ranges.
       
 21157 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
       
 21158 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
       
 21159 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
       
 21160 as_cr_digits='0123456789'
       
 21161 as_cr_alnum=$as_cr_Letters$as_cr_digits
       
 21162 
       
 21163 # The user is always right.
       
 21164 if test "${PATH_SEPARATOR+set}" != set; then
       
 21165   echo "#! /bin/sh" >conf$$.sh
       
 21166   echo  "exit 0"   >>conf$$.sh
       
 21167   chmod +x conf$$.sh
       
 21168   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
       
 21169     PATH_SEPARATOR=';'
       
 21170   else
       
 21171     PATH_SEPARATOR=:
       
 21172   fi
       
 21173   rm -f conf$$.sh
       
 21174 fi
       
 21175 
       
 21176 # Support unset when possible.
       
 21177 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
       
 21178   as_unset=unset
       
 21179 else
       
 21180   as_unset=false
       
 21181 fi
       
 21182 
       
 21183 
       
 21184 # IFS
       
 21185 # We need space, tab and new line, in precisely that order.  Quoting is
       
 21186 # there to prevent editors from complaining about space-tab.
       
 21187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
       
 21188 # splitting by setting IFS to empty value.)
       
 21189 as_nl='
       
 21190 '
       
 21191 IFS=" ""	$as_nl"
       
 21192 
       
 21193 # Find who we are.  Look in the path if we contain no directory separator.
       
 21194 case $0 in
       
 21195   *[\\/]* ) as_myself=$0 ;;
       
 21196   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
       
 21197 for as_dir in $PATH
       
 21198 do
       
 21199   IFS=$as_save_IFS
       
 21200   test -z "$as_dir" && as_dir=.
       
 21201   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
       
 21202 done
       
 21203 IFS=$as_save_IFS
       
 21204 
       
 21205      ;;
       
 21206 esac
       
 21207 # We did not find ourselves, most probably we were run as `sh COMMAND'
       
 21208 # in which case we are not to be found in the path.
       
 21209 if test "x$as_myself" = x; then
       
 21210   as_myself=$0
       
 21211 fi
       
 21212 if test ! -f "$as_myself"; then
       
 21213   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
       
 21214   { (exit 1); exit 1; }
       
 21215 fi
       
 21216 
       
 21217 # Work around bugs in pre-3.0 UWIN ksh.
       
 21218 for as_var in ENV MAIL MAILPATH
       
 21219 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 21220 done
       
 21221 PS1='$ '
       
 21222 PS2='> '
       
 21223 PS4='+ '
       
 21224 
       
 21225 # NLS nuisances.
       
 21226 for as_var in \
       
 21227   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
       
 21228   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
       
 21229   LC_TELEPHONE LC_TIME
       
 21230 do
       
 21231   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
       
 21232     eval $as_var=C; export $as_var
       
 21233   else
       
 21234     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
       
 21235   fi
       
 21236 done
       
 21237 
       
 21238 # Required to use basename.
       
 21239 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 21240    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 21241   as_expr=expr
       
 21242 else
       
 21243   as_expr=false
       
 21244 fi
       
 21245 
       
 21246 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
       
 21247   as_basename=basename
       
 21248 else
       
 21249   as_basename=false
       
 21250 fi
       
 21251 
       
 21252 
       
 21253 # Name of the executable.
       
 21254 as_me=`$as_basename -- "$0" ||
       
 21255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
       
 21256 	 X"$0" : 'X\(//\)$' \| \
       
 21257 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
       
 21258 echo X/"$0" |
       
 21259     sed '/^.*\/\([^/][^/]*\)\/*$/{
       
 21260 	    s//\1/
       
 21261 	    q
       
 21262 	  }
       
 21263 	  /^X\/\(\/\/\)$/{
       
 21264 	    s//\1/
       
 21265 	    q
       
 21266 	  }
       
 21267 	  /^X\/\(\/\).*/{
       
 21268 	    s//\1/
       
 21269 	    q
       
 21270 	  }
       
 21271 	  s/.*/./; q'`
       
 21272 
       
 21273 # CDPATH.
       
 21274 $as_unset CDPATH
       
 21275 
       
 21276 
       
 21277 
       
 21278   as_lineno_1=$LINENO
       
 21279   as_lineno_2=$LINENO
       
 21280   test "x$as_lineno_1" != "x$as_lineno_2" &&
       
 21281   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
       
 21282 
       
 21283   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
       
 21284   # uniformly replaced by the line number.  The first 'sed' inserts a
       
 21285   # line-number line after each line using $LINENO; the second 'sed'
       
 21286   # does the real work.  The second script uses 'N' to pair each
       
 21287   # line-number line with the line containing $LINENO, and appends
       
 21288   # trailing '-' during substitution so that $LINENO is not a special
       
 21289   # case at line end.
       
 21290   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
       
 21291   # scripts with optimization help from Paolo Bonzini.  Blame Lee
       
 21292   # E. McMahon (1931-1989) for sed's syntax.  :-)
       
 21293   sed -n '
       
 21294     p
       
 21295     /[$]LINENO/=
       
 21296   ' <$as_myself |
       
 21297     sed '
       
 21298       s/[$]LINENO.*/&-/
       
 21299       t lineno
       
 21300       b
       
 21301       :lineno
       
 21302       N
       
 21303       :loop
       
 21304       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
       
 21305       t loop
       
 21306       s/-\n.*//
       
 21307     ' >$as_me.lineno &&
       
 21308   chmod +x "$as_me.lineno" ||
       
 21309     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
       
 21310    { (exit 1); exit 1; }; }
       
 21311 
       
 21312   # Don't try to exec as it changes $[0], causing all sort of problems
       
 21313   # (the dirname of $[0] is not the place where we might find the
       
 21314   # original and so on.  Autoconf is especially sensitive to this).
       
 21315   . "./$as_me.lineno"
       
 21316   # Exit status is that of the last command.
       
 21317   exit
       
 21318 }
       
 21319 
       
 21320 
       
 21321 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
       
 21322   as_dirname=dirname
       
 21323 else
       
 21324   as_dirname=false
       
 21325 fi
       
 21326 
       
 21327 ECHO_C= ECHO_N= ECHO_T=
       
 21328 case `echo -n x` in
       
 21329 -n*)
       
 21330   case `echo 'x\c'` in
       
 21331   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
       
 21332   *)   ECHO_C='\c';;
       
 21333   esac;;
       
 21334 *)
       
 21335   ECHO_N='-n';;
       
 21336 esac
       
 21337 
       
 21338 if expr a : '\(a\)' >/dev/null 2>&1 &&
       
 21339    test "X`expr 00001 : '.*\(...\)'`" = X001; then
       
 21340   as_expr=expr
       
 21341 else
       
 21342   as_expr=false
       
 21343 fi
       
 21344 
       
 21345 rm -f conf$$ conf$$.exe conf$$.file
       
 21346 if test -d conf$$.dir; then
       
 21347   rm -f conf$$.dir/conf$$.file
       
 21348 else
       
 21349   rm -f conf$$.dir
       
 21350   mkdir conf$$.dir
       
 21351 fi
       
 21352 echo >conf$$.file
       
 21353 if ln -s conf$$.file conf$$ 2>/dev/null; then
       
 21354   as_ln_s='ln -s'
       
 21355   # ... but there are two gotchas:
       
 21356   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
       
 21357   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
       
 21358   # In both cases, we have to default to `cp -p'.
       
 21359   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       
 21360     as_ln_s='cp -p'
       
 21361 elif ln conf$$.file conf$$ 2>/dev/null; then
       
 21362   as_ln_s=ln
       
 21363 else
       
 21364   as_ln_s='cp -p'
       
 21365 fi
       
 21366 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
       
 21367 rmdir conf$$.dir 2>/dev/null
       
 21368 
       
 21369 if mkdir -p . 2>/dev/null; then
       
 21370   as_mkdir_p=:
       
 21371 else
       
 21372   test -d ./-p && rmdir ./-p
       
 21373   as_mkdir_p=false
       
 21374 fi
       
 21375 
       
 21376 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
       
 21377 # systems may use methods other than mode bits to determine executability.
       
 21378 cat >conf$$.file <<_ASEOF
       
 21379 #! /bin/sh
       
 21380 exit 0
       
 21381 _ASEOF
       
 21382 chmod +x conf$$.file
       
 21383 if test -x conf$$.file >/dev/null 2>&1; then
       
 21384   as_executable_p="test -x"
       
 21385 else
       
 21386   as_executable_p=:
       
 21387 fi
       
 21388 rm -f conf$$.file
       
 21389 
       
 21390 # Sed expression to map a string onto a valid CPP name.
       
 21391 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
       
 21392 
       
 21393 # Sed expression to map a string onto a valid variable name.
       
 21394 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
       
 21395 
       
 21396 
       
 21397 exec 6>&1
       
 21398 
       
 21399 # Save the log message, to keep $[0] and so on meaningful, and to
       
 21400 # report actual input values of CONFIG_FILES etc. instead of their
       
 21401 # values after options handling.
       
 21402 ac_log="
       
 21403 This file was extended by $as_me, which was
       
 21404 generated by GNU Autoconf 2.60.  Invocation command line was
       
 21405 
       
 21406   CONFIG_FILES    = $CONFIG_FILES
       
 21407   CONFIG_HEADERS  = $CONFIG_HEADERS
       
 21408   CONFIG_LINKS    = $CONFIG_LINKS
       
 21409   CONFIG_COMMANDS = $CONFIG_COMMANDS
       
 21410   $ $0 $@
       
 21411 
       
 21412 on `(hostname || uname -n) 2>/dev/null | sed 1q`
       
 21413 "
       
 21414 
       
 21415 _ACEOF
       
 21416 
       
 21417 cat >>$CONFIG_STATUS <<_ACEOF
       
 21418 # Files that config.status was made for.
       
 21419 config_files="$ac_config_files"
       
 21420 config_commands="$ac_config_commands"
       
 21421 
       
 21422 _ACEOF
       
 21423 
       
 21424 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21425 ac_cs_usage="\
       
 21426 \`$as_me' instantiates files from templates according to the
       
 21427 current configuration.
       
 21428 
       
 21429 Usage: $0 [OPTIONS] [FILE]...
       
 21430 
       
 21431   -h, --help       print this help, then exit
       
 21432   -V, --version    print version number, then exit
       
 21433   -q, --quiet      do not print progress messages
       
 21434   -d, --debug      don't remove temporary files
       
 21435       --recheck    update $as_me by reconfiguring in the same conditions
       
 21436   --file=FILE[:TEMPLATE]
       
 21437 		   instantiate the configuration file FILE
       
 21438 
       
 21439 Configuration files:
       
 21440 $config_files
       
 21441 
       
 21442 Configuration commands:
       
 21443 $config_commands
       
 21444 
       
 21445 Report bugs to <bug-autoconf@gnu.org>."
       
 21446 
       
 21447 _ACEOF
       
 21448 cat >>$CONFIG_STATUS <<_ACEOF
       
 21449 ac_cs_version="\\
       
 21450 config.status
       
 21451 configured by $0, generated by GNU Autoconf 2.60,
       
 21452   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
       
 21453 
       
 21454 Copyright (C) 2006 Free Software Foundation, Inc.
       
 21455 This config.status script is free software; the Free Software Foundation
       
 21456 gives unlimited permission to copy, distribute and modify it."
       
 21457 
       
 21458 ac_pwd='$ac_pwd'
       
 21459 srcdir='$srcdir'
       
 21460 INSTALL='$INSTALL'
       
 21461 _ACEOF
       
 21462 
       
 21463 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21464 # If no file are specified by the user, then we need to provide default
       
 21465 # value.  By we need to know if files were specified by the user.
       
 21466 ac_need_defaults=:
       
 21467 while test $# != 0
       
 21468 do
       
 21469   case $1 in
       
 21470   --*=*)
       
 21471     ac_option=`expr "X$1" : 'X\([^=]*\)='`
       
 21472     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
       
 21473     ac_shift=:
       
 21474     ;;
       
 21475   *)
       
 21476     ac_option=$1
       
 21477     ac_optarg=$2
       
 21478     ac_shift=shift
       
 21479     ;;
       
 21480   esac
       
 21481 
       
 21482   case $ac_option in
       
 21483   # Handling of the options.
       
 21484   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
       
 21485     ac_cs_recheck=: ;;
       
 21486   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
       
 21487     echo "$ac_cs_version"; exit ;;
       
 21488   --debug | --debu | --deb | --de | --d | -d )
       
 21489     debug=: ;;
       
 21490   --file | --fil | --fi | --f )
       
 21491     $ac_shift
       
 21492     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
       
 21493     ac_need_defaults=false;;
       
 21494   --he | --h |  --help | --hel | -h )
       
 21495     echo "$ac_cs_usage"; exit ;;
       
 21496   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
       
 21497   | -silent | --silent | --silen | --sile | --sil | --si | --s)
       
 21498     ac_cs_silent=: ;;
       
 21499 
       
 21500   # This is an error.
       
 21501   -*) { echo "$as_me: error: unrecognized option: $1
       
 21502 Try \`$0 --help' for more information." >&2
       
 21503    { (exit 1); exit 1; }; } ;;
       
 21504 
       
 21505   *) ac_config_targets="$ac_config_targets $1"
       
 21506      ac_need_defaults=false ;;
       
 21507 
       
 21508   esac
       
 21509   shift
       
 21510 done
       
 21511 
       
 21512 ac_configure_extra_args=
       
 21513 
       
 21514 if $ac_cs_silent; then
       
 21515   exec 6>/dev/null
       
 21516   ac_configure_extra_args="$ac_configure_extra_args --silent"
       
 21517 fi
       
 21518 
       
 21519 _ACEOF
       
 21520 cat >>$CONFIG_STATUS <<_ACEOF
       
 21521 if \$ac_cs_recheck; then
       
 21522   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
       
 21523   CONFIG_SHELL=$SHELL
       
 21524   export CONFIG_SHELL
       
 21525   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
       
 21526 fi
       
 21527 
       
 21528 _ACEOF
       
 21529 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21530 exec 5>>config.log
       
 21531 {
       
 21532   echo
       
 21533   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
       
 21534 ## Running $as_me. ##
       
 21535 _ASBOX
       
 21536   echo "$ac_log"
       
 21537 } >&5
       
 21538 
       
 21539 _ACEOF
       
 21540 cat >>$CONFIG_STATUS <<_ACEOF
       
 21541 #
       
 21542 # INIT-COMMANDS
       
 21543 #
       
 21544 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
       
 21545 
       
 21546 _ACEOF
       
 21547 
       
 21548 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21549 
       
 21550 # Handling of arguments.
       
 21551 for ac_config_target in $ac_config_targets
       
 21552 do
       
 21553   case $ac_config_target in
       
 21554     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
       
 21555     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
       
 21556     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
       
 21557 
       
 21558   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
       
 21559 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
       
 21560    { (exit 1); exit 1; }; };;
       
 21561   esac
       
 21562 done
       
 21563 
       
 21564 
       
 21565 # If the user did not use the arguments to specify the items to instantiate,
       
 21566 # then the envvar interface is used.  Set only those that are not.
       
 21567 # We use the long form for the default assignment because of an extremely
       
 21568 # bizarre bug on SunOS 4.1.3.
       
 21569 if $ac_need_defaults; then
       
 21570   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
       
 21571   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
       
 21572 fi
       
 21573 
       
 21574 # Have a temporary directory for convenience.  Make it in the build tree
       
 21575 # simply because there is no reason against having it here, and in addition,
       
 21576 # creating and moving files from /tmp can sometimes cause problems.
       
 21577 # Hook for its removal unless debugging.
       
 21578 # Note that there is a small window in which the directory will not be cleaned:
       
 21579 # after its creation but before its name has been assigned to `$tmp'.
       
 21580 $debug ||
       
 21581 {
       
 21582   tmp=
       
 21583   trap 'exit_status=$?
       
 21584   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
       
 21585 ' 0
       
 21586   trap '{ (exit 1); exit 1; }' 1 2 13 15
       
 21587 }
       
 21588 # Create a (secure) tmp directory for tmp files.
       
 21589 
       
 21590 {
       
 21591   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
       
 21592   test -n "$tmp" && test -d "$tmp"
       
 21593 }  ||
       
 21594 {
       
 21595   tmp=./conf$$-$RANDOM
       
 21596   (umask 077 && mkdir "$tmp")
       
 21597 } ||
       
 21598 {
       
 21599    echo "$me: cannot create a temporary directory in ." >&2
       
 21600    { (exit 1); exit 1; }
       
 21601 }
       
 21602 
       
 21603 #
       
 21604 # Set up the sed scripts for CONFIG_FILES section.
       
 21605 #
       
 21606 
       
 21607 # No need to generate the scripts if there are no CONFIG_FILES.
       
 21608 # This happens for instance when ./config.status config.h
       
 21609 if test -n "$CONFIG_FILES"; then
       
 21610 
       
 21611 _ACEOF
       
 21612 
       
 21613 
       
 21614 
       
 21615 ac_delim='%!_!# '
       
 21616 for ac_last_try in false false false false false :; do
       
 21617   cat >conf$$subs.sed <<_ACEOF
       
 21618 SHELL!$SHELL$ac_delim
       
 21619 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
       
 21620 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
       
 21621 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
       
 21622 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
       
 21623 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
       
 21624 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
       
 21625 exec_prefix!$exec_prefix$ac_delim
       
 21626 prefix!$prefix$ac_delim
       
 21627 program_transform_name!$program_transform_name$ac_delim
       
 21628 bindir!$bindir$ac_delim
       
 21629 sbindir!$sbindir$ac_delim
       
 21630 libexecdir!$libexecdir$ac_delim
       
 21631 datarootdir!$datarootdir$ac_delim
       
 21632 datadir!$datadir$ac_delim
       
 21633 sysconfdir!$sysconfdir$ac_delim
       
 21634 sharedstatedir!$sharedstatedir$ac_delim
       
 21635 localstatedir!$localstatedir$ac_delim
       
 21636 includedir!$includedir$ac_delim
       
 21637 oldincludedir!$oldincludedir$ac_delim
       
 21638 docdir!$docdir$ac_delim
       
 21639 infodir!$infodir$ac_delim
       
 21640 htmldir!$htmldir$ac_delim
       
 21641 dvidir!$dvidir$ac_delim
       
 21642 pdfdir!$pdfdir$ac_delim
       
 21643 psdir!$psdir$ac_delim
       
 21644 libdir!$libdir$ac_delim
       
 21645 localedir!$localedir$ac_delim
       
 21646 mandir!$mandir$ac_delim
       
 21647 DEFS!$DEFS$ac_delim
       
 21648 ECHO_C!$ECHO_C$ac_delim
       
 21649 ECHO_N!$ECHO_N$ac_delim
       
 21650 ECHO_T!$ECHO_T$ac_delim
       
 21651 LIBS!$LIBS$ac_delim
       
 21652 build_alias!$build_alias$ac_delim
       
 21653 host_alias!$host_alias$ac_delim
       
 21654 target_alias!$target_alias$ac_delim
       
 21655 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
       
 21656 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
       
 21657 INSTALL_DATA!$INSTALL_DATA$ac_delim
       
 21658 CYGPATH_W!$CYGPATH_W$ac_delim
       
 21659 PACKAGE!$PACKAGE$ac_delim
       
 21660 VERSION!$VERSION$ac_delim
       
 21661 ACLOCAL!$ACLOCAL$ac_delim
       
 21662 AUTOCONF!$AUTOCONF$ac_delim
       
 21663 AUTOMAKE!$AUTOMAKE$ac_delim
       
 21664 AUTOHEADER!$AUTOHEADER$ac_delim
       
 21665 MAKEINFO!$MAKEINFO$ac_delim
       
 21666 install_sh!$install_sh$ac_delim
       
 21667 STRIP!$STRIP$ac_delim
       
 21668 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
       
 21669 mkdir_p!$mkdir_p$ac_delim
       
 21670 AWK!$AWK$ac_delim
       
 21671 SET_MAKE!$SET_MAKE$ac_delim
       
 21672 am__leading_dot!$am__leading_dot$ac_delim
       
 21673 AMTAR!$AMTAR$ac_delim
       
 21674 am__tar!$am__tar$ac_delim
       
 21675 am__untar!$am__untar$ac_delim
       
 21676 APACHE2_PREFIX!$APACHE2_PREFIX$ac_delim
       
 21677 APR0_PREFIX!$APR0_PREFIX$ac_delim
       
 21678 APR1_PREFIX!$APR1_PREFIX$ac_delim
       
 21679 MYSQL_PREFIX!$MYSQL_PREFIX$ac_delim
       
 21680 APACHE2_INCLUDE!$APACHE2_INCLUDE$ac_delim
       
 21681 APR0_INCLUDE!$APR0_INCLUDE$ac_delim
       
 21682 APR1_INCLUDE!$APR1_INCLUDE$ac_delim
       
 21683 MYSQL_INCLUDE!$MYSQL_INCLUDE$ac_delim
       
 21684 MYSQLCLIENT_LIBPATH!$MYSQLCLIENT_LIBPATH$ac_delim
       
 21685 APR_INCLUDE!$APR_INCLUDE$ac_delim
       
 21686 MYSQLCLIENT_LIBFLAGS!$MYSQLCLIENT_LIBFLAGS$ac_delim
       
 21687 MYSQLCLIENT_LIB!$MYSQLCLIENT_LIB$ac_delim
       
 21688 CXX!$CXX$ac_delim
       
 21689 CXXFLAGS!$CXXFLAGS$ac_delim
       
 21690 LDFLAGS!$LDFLAGS$ac_delim
       
 21691 CPPFLAGS!$CPPFLAGS$ac_delim
       
 21692 ac_ct_CXX!$ac_ct_CXX$ac_delim
       
 21693 EXEEXT!$EXEEXT$ac_delim
       
 21694 OBJEXT!$OBJEXT$ac_delim
       
 21695 DEPDIR!$DEPDIR$ac_delim
       
 21696 am__include!$am__include$ac_delim
       
 21697 am__quote!$am__quote$ac_delim
       
 21698 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
       
 21699 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
       
 21700 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
       
 21701 CXXDEPMODE!$CXXDEPMODE$ac_delim
       
 21702 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
       
 21703 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
       
 21704 CC!$CC$ac_delim
       
 21705 CFLAGS!$CFLAGS$ac_delim
       
 21706 ac_ct_CC!$ac_ct_CC$ac_delim
       
 21707 CCDEPMODE!$CCDEPMODE$ac_delim
       
 21708 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
       
 21709 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
       
 21710 CPP!$CPP$ac_delim
       
 21711 LN_S!$LN_S$ac_delim
       
 21712 build!$build$ac_delim
       
 21713 build_cpu!$build_cpu$ac_delim
       
 21714 build_vendor!$build_vendor$ac_delim
       
 21715 _ACEOF
       
 21716 
       
 21717   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
       
 21718     break
       
 21719   elif $ac_last_try; then
       
 21720     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 21721 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 21722    { (exit 1); exit 1; }; }
       
 21723   else
       
 21724     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 21725   fi
       
 21726 done
       
 21727 
       
 21728 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 21729 if test -n "$ac_eof"; then
       
 21730   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 21731   ac_eof=`expr $ac_eof + 1`
       
 21732 fi
       
 21733 
       
 21734 cat >>$CONFIG_STATUS <<_ACEOF
       
 21735 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
       
 21736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 21737 _ACEOF
       
 21738 sed '
       
 21739 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 21740 s/^/s,@/; s/!/@,|#_!!_#|/
       
 21741 :n
       
 21742 t n
       
 21743 s/'"$ac_delim"'$/,g/; t
       
 21744 s/$/\\/; p
       
 21745 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 21746 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 21747 rm -f conf$$subs.sed
       
 21748 cat >>$CONFIG_STATUS <<_ACEOF
       
 21749 CEOF$ac_eof
       
 21750 _ACEOF
       
 21751 
       
 21752 
       
 21753 ac_delim='%!_!# '
       
 21754 for ac_last_try in false false false false false :; do
       
 21755   cat >conf$$subs.sed <<_ACEOF
       
 21756 build_os!$build_os$ac_delim
       
 21757 host!$host$ac_delim
       
 21758 host_cpu!$host_cpu$ac_delim
       
 21759 host_vendor!$host_vendor$ac_delim
       
 21760 host_os!$host_os$ac_delim
       
 21761 GREP!$GREP$ac_delim
       
 21762 EGREP!$EGREP$ac_delim
       
 21763 ECHO!$ECHO$ac_delim
       
 21764 AR!$AR$ac_delim
       
 21765 RANLIB!$RANLIB$ac_delim
       
 21766 CXXCPP!$CXXCPP$ac_delim
       
 21767 F77!$F77$ac_delim
       
 21768 FFLAGS!$FFLAGS$ac_delim
       
 21769 ac_ct_F77!$ac_ct_F77$ac_delim
       
 21770 LIBTOOL!$LIBTOOL$ac_delim
       
 21771 APXS!$APXS$ac_delim
       
 21772 LIBOBJS!$LIBOBJS$ac_delim
       
 21773 LTLIBOBJS!$LTLIBOBJS$ac_delim
       
 21774 _ACEOF
       
 21775 
       
 21776   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
       
 21777     break
       
 21778   elif $ac_last_try; then
       
 21779     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
       
 21780 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
       
 21781    { (exit 1); exit 1; }; }
       
 21782   else
       
 21783     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
       
 21784   fi
       
 21785 done
       
 21786 
       
 21787 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
       
 21788 if test -n "$ac_eof"; then
       
 21789   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
       
 21790   ac_eof=`expr $ac_eof + 1`
       
 21791 fi
       
 21792 
       
 21793 cat >>$CONFIG_STATUS <<_ACEOF
       
 21794 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
       
 21795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
       
 21796 _ACEOF
       
 21797 sed '
       
 21798 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
       
 21799 s/^/s,@/; s/!/@,|#_!!_#|/
       
 21800 :n
       
 21801 t n
       
 21802 s/'"$ac_delim"'$/,g/; t
       
 21803 s/$/\\/; p
       
 21804 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
       
 21805 ' >>$CONFIG_STATUS <conf$$subs.sed
       
 21806 rm -f conf$$subs.sed
       
 21807 cat >>$CONFIG_STATUS <<_ACEOF
       
 21808 :end
       
 21809 s/|#_!!_#|//g
       
 21810 CEOF$ac_eof
       
 21811 _ACEOF
       
 21812 
       
 21813 
       
 21814 # VPATH may cause trouble with some makes, so we remove $(srcdir),
       
 21815 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
       
 21816 # trailing colons and then remove the whole line if VPATH becomes empty
       
 21817 # (actually we leave an empty line to preserve line numbers).
       
 21818 if test "x$srcdir" = x.; then
       
 21819   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
       
 21820 s/:*\$(srcdir):*/:/
       
 21821 s/:*\${srcdir}:*/:/
       
 21822 s/:*@srcdir@:*/:/
       
 21823 s/^\([^=]*=[	 ]*\):*/\1/
       
 21824 s/:*$//
       
 21825 s/^[^=]*=[	 ]*$//
       
 21826 }'
       
 21827 fi
       
 21828 
       
 21829 cat >>$CONFIG_STATUS <<\_ACEOF
       
 21830 fi # test -n "$CONFIG_FILES"
       
 21831 
       
 21832 
       
 21833 for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
       
 21834 do
       
 21835   case $ac_tag in
       
 21836   :[FHLC]) ac_mode=$ac_tag; continue;;
       
 21837   esac
       
 21838   case $ac_mode$ac_tag in
       
 21839   :[FHL]*:*);;
       
 21840   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
       
 21841 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
       
 21842    { (exit 1); exit 1; }; };;
       
 21843   :[FH]-) ac_tag=-:-;;
       
 21844   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
       
 21845   esac
       
 21846   ac_save_IFS=$IFS
       
 21847   IFS=:
       
 21848   set x $ac_tag
       
 21849   IFS=$ac_save_IFS
       
 21850   shift
       
 21851   ac_file=$1
       
 21852   shift
       
 21853 
       
 21854   case $ac_mode in
       
 21855   :L) ac_source=$1;;
       
 21856   :[FH])
       
 21857     ac_file_inputs=
       
 21858     for ac_f
       
 21859     do
       
 21860       case $ac_f in
       
 21861       -) ac_f="$tmp/stdin";;
       
 21862       *) # Look for the file first in the build tree, then in the source tree
       
 21863 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
       
 21864 	 # because $ac_f cannot contain `:'.
       
 21865 	 test -f "$ac_f" ||
       
 21866 	   case $ac_f in
       
 21867 	   [\\/$]*) false;;
       
 21868 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
       
 21869 	   esac ||
       
 21870 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
       
 21871 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
       
 21872    { (exit 1); exit 1; }; };;
       
 21873       esac
       
 21874       ac_file_inputs="$ac_file_inputs $ac_f"
       
 21875     done
       
 21876 
       
 21877     # Let's still pretend it is `configure' which instantiates (i.e., don't
       
 21878     # use $as_me), people would be surprised to read:
       
 21879     #    /* config.h.  Generated by config.status.  */
       
 21880     configure_input="Generated from "`IFS=:
       
 21881 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
       
 21882     if test x"$ac_file" != x-; then
       
 21883       configure_input="$ac_file.  $configure_input"
       
 21884       { echo "$as_me:$LINENO: creating $ac_file" >&5
       
 21885 echo "$as_me: creating $ac_file" >&6;}
       
 21886     fi
       
 21887 
       
 21888     case $ac_tag in
       
 21889     *:-:* | *:-) cat >"$tmp/stdin";;
       
 21890     esac
       
 21891     ;;
       
 21892   esac
       
 21893 
       
 21894   ac_dir=`$as_dirname -- "$ac_file" ||
       
 21895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 21896 	 X"$ac_file" : 'X\(//\)[^/]' \| \
       
 21897 	 X"$ac_file" : 'X\(//\)$' \| \
       
 21898 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
       
 21899 echo X"$ac_file" |
       
 21900     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 21901 	    s//\1/
       
 21902 	    q
       
 21903 	  }
       
 21904 	  /^X\(\/\/\)[^/].*/{
       
 21905 	    s//\1/
       
 21906 	    q
       
 21907 	  }
       
 21908 	  /^X\(\/\/\)$/{
       
 21909 	    s//\1/
       
 21910 	    q
       
 21911 	  }
       
 21912 	  /^X\(\/\).*/{
       
 21913 	    s//\1/
       
 21914 	    q
       
 21915 	  }
       
 21916 	  s/.*/./; q'`
       
 21917   { as_dir="$ac_dir"
       
 21918   case $as_dir in #(
       
 21919   -*) as_dir=./$as_dir;;
       
 21920   esac
       
 21921   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
       
 21922     as_dirs=
       
 21923     while :; do
       
 21924       case $as_dir in #(
       
 21925       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
       
 21926       *) as_qdir=$as_dir;;
       
 21927       esac
       
 21928       as_dirs="'$as_qdir' $as_dirs"
       
 21929       as_dir=`$as_dirname -- "$as_dir" ||
       
 21930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 21931 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
 21932 	 X"$as_dir" : 'X\(//\)$' \| \
       
 21933 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
 21934 echo X"$as_dir" |
       
 21935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 21936 	    s//\1/
       
 21937 	    q
       
 21938 	  }
       
 21939 	  /^X\(\/\/\)[^/].*/{
       
 21940 	    s//\1/
       
 21941 	    q
       
 21942 	  }
       
 21943 	  /^X\(\/\/\)$/{
       
 21944 	    s//\1/
       
 21945 	    q
       
 21946 	  }
       
 21947 	  /^X\(\/\).*/{
       
 21948 	    s//\1/
       
 21949 	    q
       
 21950 	  }
       
 21951 	  s/.*/./; q'`
       
 21952       test -d "$as_dir" && break
       
 21953     done
       
 21954     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
 21955   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
       
 21956 echo "$as_me: error: cannot create directory $as_dir" >&2;}
       
 21957    { (exit 1); exit 1; }; }; }
       
 21958   ac_builddir=.
       
 21959 
       
 21960 case "$ac_dir" in
       
 21961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 21962 *)
       
 21963   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
       
 21964   # A ".." for each directory in $ac_dir_suffix.
       
 21965   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
       
 21966   case $ac_top_builddir_sub in
       
 21967   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
       
 21968   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
       
 21969   esac ;;
       
 21970 esac
       
 21971 ac_abs_top_builddir=$ac_pwd
       
 21972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
       
 21973 # for backward compatibility:
       
 21974 ac_top_builddir=$ac_top_build_prefix
       
 21975 
       
 21976 case $srcdir in
       
 21977   .)  # We are building in place.
       
 21978     ac_srcdir=.
       
 21979     ac_top_srcdir=$ac_top_builddir_sub
       
 21980     ac_abs_top_srcdir=$ac_pwd ;;
       
 21981   [\\/]* | ?:[\\/]* )  # Absolute name.
       
 21982     ac_srcdir=$srcdir$ac_dir_suffix;
       
 21983     ac_top_srcdir=$srcdir
       
 21984     ac_abs_top_srcdir=$srcdir ;;
       
 21985   *) # Relative name.
       
 21986     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
       
 21987     ac_top_srcdir=$ac_top_build_prefix$srcdir
       
 21988     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
       
 21989 esac
       
 21990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       
 21991 
       
 21992 
       
 21993   case $ac_mode in
       
 21994   :F)
       
 21995   #
       
 21996   # CONFIG_FILE
       
 21997   #
       
 21998 
       
 21999   case $INSTALL in
       
 22000   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
       
 22001   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
       
 22002   esac
       
 22003 _ACEOF
       
 22004 
       
 22005 cat >>$CONFIG_STATUS <<\_ACEOF
       
 22006 # If the template does not know about datarootdir, expand it.
       
 22007 # FIXME: This hack should be removed a few years after 2.60.
       
 22008 ac_datarootdir_hack=; ac_datarootdir_seen=
       
 22009 
       
 22010 case `sed -n '/datarootdir/ {
       
 22011   p
       
 22012   q
       
 22013 }
       
 22014 /@datadir@/p
       
 22015 /@docdir@/p
       
 22016 /@infodir@/p
       
 22017 /@localedir@/p
       
 22018 /@mandir@/p
       
 22019 ' $ac_file_inputs` in
       
 22020 *datarootdir*) ac_datarootdir_seen=yes;;
       
 22021 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
       
 22022   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
       
 22023 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
       
 22024 _ACEOF
       
 22025 cat >>$CONFIG_STATUS <<_ACEOF
       
 22026   ac_datarootdir_hack='
       
 22027   s&@datadir@&$datadir&g
       
 22028   s&@docdir@&$docdir&g
       
 22029   s&@infodir@&$infodir&g
       
 22030   s&@localedir@&$localedir&g
       
 22031   s&@mandir@&$mandir&g
       
 22032     s&\\\${datarootdir}&$datarootdir&g' ;;
       
 22033 esac
       
 22034 _ACEOF
       
 22035 
       
 22036 # Neutralize VPATH when `$srcdir' = `.'.
       
 22037 # Shell code in configure.ac might set extrasub.
       
 22038 # FIXME: do we really want to maintain this feature?
       
 22039 cat >>$CONFIG_STATUS <<_ACEOF
       
 22040   sed "$ac_vpsub
       
 22041 $extrasub
       
 22042 _ACEOF
       
 22043 cat >>$CONFIG_STATUS <<\_ACEOF
       
 22044 :t
       
 22045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
       
 22046 s&@configure_input@&$configure_input&;t t
       
 22047 s&@top_builddir@&$ac_top_builddir_sub&;t t
       
 22048 s&@srcdir@&$ac_srcdir&;t t
       
 22049 s&@abs_srcdir@&$ac_abs_srcdir&;t t
       
 22050 s&@top_srcdir@&$ac_top_srcdir&;t t
       
 22051 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
       
 22052 s&@builddir@&$ac_builddir&;t t
       
 22053 s&@abs_builddir@&$ac_abs_builddir&;t t
       
 22054 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
       
 22055 s&@INSTALL@&$ac_INSTALL&;t t
       
 22056 $ac_datarootdir_hack
       
 22057 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
       
 22058 
       
 22059 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
       
 22060   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
       
 22061   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
       
 22062   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 22063 which seems to be undefined.  Please make sure it is defined." >&5
       
 22064 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
       
 22065 which seems to be undefined.  Please make sure it is defined." >&2;}
       
 22066 
       
 22067   rm -f "$tmp/stdin"
       
 22068   case $ac_file in
       
 22069   -) cat "$tmp/out"; rm -f "$tmp/out";;
       
 22070   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
       
 22071   esac
       
 22072  ;;
       
 22073 
       
 22074 
       
 22075   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
       
 22076 echo "$as_me: executing $ac_file commands" >&6;}
       
 22077  ;;
       
 22078   esac
       
 22079 
       
 22080 
       
 22081   case $ac_file$ac_mode in
       
 22082     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
       
 22083   # Strip MF so we end up with the name of the file.
       
 22084   mf=`echo "$mf" | sed -e 's/:.*$//'`
       
 22085   # Check whether this is an Automake generated Makefile or not.
       
 22086   # We used to match only the files named `Makefile.in', but
       
 22087   # some people rename them; so instead we look at the file content.
       
 22088   # Grep'ing the first line is not enough: some people post-process
       
 22089   # each Makefile.in and add a new line on top of each file to say so.
       
 22090   # So let's grep whole file.
       
 22091   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
       
 22092     dirpart=`$as_dirname -- "$mf" ||
       
 22093 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 22094 	 X"$mf" : 'X\(//\)[^/]' \| \
       
 22095 	 X"$mf" : 'X\(//\)$' \| \
       
 22096 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
       
 22097 echo X"$mf" |
       
 22098     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 22099 	    s//\1/
       
 22100 	    q
       
 22101 	  }
       
 22102 	  /^X\(\/\/\)[^/].*/{
       
 22103 	    s//\1/
       
 22104 	    q
       
 22105 	  }
       
 22106 	  /^X\(\/\/\)$/{
       
 22107 	    s//\1/
       
 22108 	    q
       
 22109 	  }
       
 22110 	  /^X\(\/\).*/{
       
 22111 	    s//\1/
       
 22112 	    q
       
 22113 	  }
       
 22114 	  s/.*/./; q'`
       
 22115   else
       
 22116     continue
       
 22117   fi
       
 22118   # Extract the definition of DEPDIR, am__include, and am__quote
       
 22119   # from the Makefile without running `make'.
       
 22120   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
       
 22121   test -z "$DEPDIR" && continue
       
 22122   am__include=`sed -n 's/^am__include = //p' < "$mf"`
       
 22123   test -z "am__include" && continue
       
 22124   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
       
 22125   # When using ansi2knr, U may be empty or an underscore; expand it
       
 22126   U=`sed -n 's/^U = //p' < "$mf"`
       
 22127   # Find all dependency output files, they are included files with
       
 22128   # $(DEPDIR) in their names.  We invoke sed twice because it is the
       
 22129   # simplest approach to changing $(DEPDIR) to its actual value in the
       
 22130   # expansion.
       
 22131   for file in `sed -n "
       
 22132     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
       
 22133        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
       
 22134     # Make sure the directory exists.
       
 22135     test -f "$dirpart/$file" && continue
       
 22136     fdir=`$as_dirname -- "$file" ||
       
 22137 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 22138 	 X"$file" : 'X\(//\)[^/]' \| \
       
 22139 	 X"$file" : 'X\(//\)$' \| \
       
 22140 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
       
 22141 echo X"$file" |
       
 22142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 22143 	    s//\1/
       
 22144 	    q
       
 22145 	  }
       
 22146 	  /^X\(\/\/\)[^/].*/{
       
 22147 	    s//\1/
       
 22148 	    q
       
 22149 	  }
       
 22150 	  /^X\(\/\/\)$/{
       
 22151 	    s//\1/
       
 22152 	    q
       
 22153 	  }
       
 22154 	  /^X\(\/\).*/{
       
 22155 	    s//\1/
       
 22156 	    q
       
 22157 	  }
       
 22158 	  s/.*/./; q'`
       
 22159     { as_dir=$dirpart/$fdir
       
 22160   case $as_dir in #(
       
 22161   -*) as_dir=./$as_dir;;
       
 22162   esac
       
 22163   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
       
 22164     as_dirs=
       
 22165     while :; do
       
 22166       case $as_dir in #(
       
 22167       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
       
 22168       *) as_qdir=$as_dir;;
       
 22169       esac
       
 22170       as_dirs="'$as_qdir' $as_dirs"
       
 22171       as_dir=`$as_dirname -- "$as_dir" ||
       
 22172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
       
 22173 	 X"$as_dir" : 'X\(//\)[^/]' \| \
       
 22174 	 X"$as_dir" : 'X\(//\)$' \| \
       
 22175 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
       
 22176 echo X"$as_dir" |
       
 22177     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
       
 22178 	    s//\1/
       
 22179 	    q
       
 22180 	  }
       
 22181 	  /^X\(\/\/\)[^/].*/{
       
 22182 	    s//\1/
       
 22183 	    q
       
 22184 	  }
       
 22185 	  /^X\(\/\/\)$/{
       
 22186 	    s//\1/
       
 22187 	    q
       
 22188 	  }
       
 22189 	  /^X\(\/\).*/{
       
 22190 	    s//\1/
       
 22191 	    q
       
 22192 	  }
       
 22193 	  s/.*/./; q'`
       
 22194       test -d "$as_dir" && break
       
 22195     done
       
 22196     test -z "$as_dirs" || eval "mkdir $as_dirs"
       
 22197   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
       
 22198 echo "$as_me: error: cannot create directory $as_dir" >&2;}
       
 22199    { (exit 1); exit 1; }; }; }
       
 22200     # echo "creating $dirpart/$file"
       
 22201     echo '# dummy' > "$dirpart/$file"
       
 22202   done
       
 22203 done
       
 22204  ;;
       
 22205 
       
 22206   esac
       
 22207 done # for ac_tag
       
 22208 
       
 22209 
       
 22210 { (exit 0); exit 0; }
       
 22211 _ACEOF
       
 22212 chmod +x $CONFIG_STATUS
       
 22213 ac_clean_files=$ac_clean_files_save
       
 22214 
       
 22215 
       
 22216 # configure is writing to config.log, and then calls config.status.
       
 22217 # config.status does its own redirection, appending to config.log.
       
 22218 # Unfortunately, on DOS this fails, as config.log is still kept open
       
 22219 # by configure, so config.status won't be able to write to it; its
       
 22220 # output is simply discarded.  So we exec the FD to /dev/null,
       
 22221 # effectively closing config.log, so it can be properly (re)opened and
       
 22222 # appended to by config.status.  When coming back to configure, we
       
 22223 # need to make the FD available again.
       
 22224 if test "$no_create" != yes; then
       
 22225   ac_cs_success=:
       
 22226   ac_config_status_args=
       
 22227   test "$silent" = yes &&
       
 22228     ac_config_status_args="$ac_config_status_args --quiet"
       
 22229   exec 5>/dev/null
       
 22230   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
       
 22231   exec 5>>config.log
       
 22232   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
       
 22233   # would make configure fail if this is the last instruction.
       
 22234   $ac_cs_success || { (exit 1); exit 1; }
       
 22235 fi
       
 22236