Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXv 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='libXv'
    752 PACKAGE_TARNAME='libXv'
    753 PACKAGE_VERSION='1.0.5'
    754 PACKAGE_STRING='libXv 1.0.5'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 # Factoring default headers for most tests.
    758 ac_includes_default="\
    759 #include <stdio.h>
    760 #ifdef HAVE_SYS_TYPES_H
    761 # include <sys/types.h>
    762 #endif
    763 #ifdef HAVE_SYS_STAT_H
    764 # include <sys/stat.h>
    765 #endif
    766 #ifdef STDC_HEADERS
    767 # include <stdlib.h>
    768 # include <stddef.h>
    769 #else
    770 # ifdef HAVE_STDLIB_H
    771 #  include <stdlib.h>
    772 # endif
    773 #endif
    774 #ifdef HAVE_STRING_H
    775 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    776 #  include <memory.h>
    777 # endif
    778 # include <string.h>
    779 #endif
    780 #ifdef HAVE_STRINGS_H
    781 # include <strings.h>
    782 #endif
    783 #ifdef HAVE_INTTYPES_H
    784 # include <inttypes.h>
    785 #endif
    786 #ifdef HAVE_STDINT_H
    787 # include <stdint.h>
    788 #endif
    789 #ifdef HAVE_UNISTD_H
    790 # include <unistd.h>
    791 #endif"
    792 
    793 ac_subst_vars='am__EXEEXT_FALSE
    794 am__EXEEXT_TRUE
    795 LTLIBOBJS
    796 LIBOBJS
    797 MAKE_LINT_LIB_FALSE
    798 MAKE_LINT_LIB_TRUE
    799 LINTLIB
    800 LINT_FALSE
    801 LINT_TRUE
    802 LINT_FLAGS
    803 LINT
    804 XTMALLOC_ZERO_CFLAGS
    805 XMALLOC_ZERO_CFLAGS
    806 MALLOC_ZERO_CFLAGS
    807 XV_LIBS
    808 XV_CFLAGS
    809 PKG_CONFIG
    810 ADMIN_MAN_DIR
    811 DRIVER_MAN_DIR
    812 MISC_MAN_DIR
    813 FILE_MAN_DIR
    814 LIB_MAN_DIR
    815 APP_MAN_DIR
    816 ADMIN_MAN_SUFFIX
    817 DRIVER_MAN_SUFFIX
    818 MISC_MAN_SUFFIX
    819 FILE_MAN_SUFFIX
    820 LIB_MAN_SUFFIX
    821 APP_MAN_SUFFIX
    822 distcleancheck_listfiles
    823 CHANGELOG_CMD
    824 AM_BACKSLASH
    825 AM_DEFAULT_VERBOSITY
    826 CWARNFLAGS
    827 LIBTOOL
    828 ac_ct_F77
    829 FFLAGS
    830 F77
    831 CXXCPP
    832 am__fastdepCXX_FALSE
    833 am__fastdepCXX_TRUE
    834 CXXDEPMODE
    835 ac_ct_CXX
    836 CXXFLAGS
    837 CXX
    838 CPP
    839 NMEDIT
    840 DSYMUTIL
    841 RANLIB
    842 AR
    843 ECHO
    844 LN_S
    845 EGREP
    846 GREP
    847 SED
    848 host_os
    849 host_vendor
    850 host_cpu
    851 host
    852 build_os
    853 build_vendor
    854 build_cpu
    855 build
    856 am__fastdepCC_FALSE
    857 am__fastdepCC_TRUE
    858 CCDEPMODE
    859 AMDEPBACKSLASH
    860 AMDEP_FALSE
    861 AMDEP_TRUE
    862 am__quote
    863 am__include
    864 DEPDIR
    865 OBJEXT
    866 EXEEXT
    867 ac_ct_CC
    868 CPPFLAGS
    869 LDFLAGS
    870 CFLAGS
    871 CC
    872 MAINT
    873 MAINTAINER_MODE_FALSE
    874 MAINTAINER_MODE_TRUE
    875 am__untar
    876 am__tar
    877 AMTAR
    878 am__leading_dot
    879 SET_MAKE
    880 AWK
    881 mkdir_p
    882 MKDIR_P
    883 INSTALL_STRIP_PROGRAM
    884 STRIP
    885 install_sh
    886 MAKEINFO
    887 AUTOHEADER
    888 AUTOMAKE
    889 AUTOCONF
    890 ACLOCAL
    891 VERSION
    892 PACKAGE
    893 CYGPATH_W
    894 am__isrc
    895 INSTALL_DATA
    896 INSTALL_SCRIPT
    897 INSTALL_PROGRAM
    898 target_alias
    899 host_alias
    900 build_alias
    901 LIBS
    902 ECHO_T
    903 ECHO_N
    904 ECHO_C
    905 DEFS
    906 mandir
    907 localedir
    908 libdir
    909 psdir
    910 pdfdir
    911 dvidir
    912 htmldir
    913 infodir
    914 docdir
    915 oldincludedir
    916 includedir
    917 localstatedir
    918 sharedstatedir
    919 sysconfdir
    920 datadir
    921 datarootdir
    922 libexecdir
    923 sbindir
    924 bindir
    925 program_transform_name
    926 prefix
    927 exec_prefix
    928 PACKAGE_BUGREPORT
    929 PACKAGE_STRING
    930 PACKAGE_VERSION
    931 PACKAGE_TARNAME
    932 PACKAGE_NAME
    933 PATH_SEPARATOR
    934 SHELL'
    935 ac_subst_files=''
    936 ac_user_opts='
    937 enable_option_checking
    938 enable_maintainer_mode
    939 enable_dependency_tracking
    940 enable_shared
    941 enable_static
    942 enable_fast_install
    943 with_gnu_ld
    944 enable_libtool_lock
    945 with_pic
    946 with_tags
    947 enable_silent_rules
    948 enable_strict_compilation
    949 with_release_version
    950 enable_malloc0returnsnull
    951 with_lint
    952 enable_lint_library
    953 '
    954       ac_precious_vars='build_alias
    955 host_alias
    956 target_alias
    957 CC
    958 CFLAGS
    959 LDFLAGS
    960 LIBS
    961 CPPFLAGS
    962 CPP
    963 CXX
    964 CXXFLAGS
    965 CCC
    966 CXXCPP
    967 F77
    968 FFLAGS
    969 PKG_CONFIG
    970 XV_CFLAGS
    971 XV_LIBS'
    972 
    973 
    974 # Initialize some variables set by options.
    975 ac_init_help=
    976 ac_init_version=false
    977 ac_unrecognized_opts=
    978 ac_unrecognized_sep=
    979 # The variables have the same names as the options, with
    980 # dashes changed to underlines.
    981 cache_file=/dev/null
    982 exec_prefix=NONE
    983 no_create=
    984 no_recursion=
    985 prefix=NONE
    986 program_prefix=NONE
    987 program_suffix=NONE
    988 program_transform_name=s,x,x,
    989 silent=
    990 site=
    991 srcdir=
    992 verbose=
    993 x_includes=NONE
    994 x_libraries=NONE
    995 
    996 # Installation directory options.
    997 # These are left unexpanded so users can "make install exec_prefix=/foo"
    998 # and all the variables that are supposed to be based on exec_prefix
    999 # by default will actually change.
   1000 # Use braces instead of parens because sh, perl, etc. also accept them.
   1001 # (The list follows the same order as the GNU Coding Standards.)
   1002 bindir='${exec_prefix}/bin'
   1003 sbindir='${exec_prefix}/sbin'
   1004 libexecdir='${exec_prefix}/libexec'
   1005 datarootdir='${prefix}/share'
   1006 datadir='${datarootdir}'
   1007 sysconfdir='${prefix}/etc'
   1008 sharedstatedir='${prefix}/com'
   1009 localstatedir='${prefix}/var'
   1010 includedir='${prefix}/include'
   1011 oldincludedir='/usr/include'
   1012 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1013 infodir='${datarootdir}/info'
   1014 htmldir='${docdir}'
   1015 dvidir='${docdir}'
   1016 pdfdir='${docdir}'
   1017 psdir='${docdir}'
   1018 libdir='${exec_prefix}/lib'
   1019 localedir='${datarootdir}/locale'
   1020 mandir='${datarootdir}/man'
   1021 
   1022 ac_prev=
   1023 ac_dashdash=
   1024 for ac_option
   1025 do
   1026   # If the previous option needs an argument, assign it.
   1027   if test -n "$ac_prev"; then
   1028     eval $ac_prev=\$ac_option
   1029     ac_prev=
   1030     continue
   1031   fi
   1032 
   1033   case $ac_option in
   1034   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1035   *)	ac_optarg=yes ;;
   1036   esac
   1037 
   1038   # Accept the important Cygnus configure options, so we can diagnose typos.
   1039 
   1040   case $ac_dashdash$ac_option in
   1041   --)
   1042     ac_dashdash=yes ;;
   1043 
   1044   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1045     ac_prev=bindir ;;
   1046   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1047     bindir=$ac_optarg ;;
   1048 
   1049   -build | --build | --buil | --bui | --bu)
   1050     ac_prev=build_alias ;;
   1051   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1052     build_alias=$ac_optarg ;;
   1053 
   1054   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1055   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1056     ac_prev=cache_file ;;
   1057   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1058   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1059     cache_file=$ac_optarg ;;
   1060 
   1061   --config-cache | -C)
   1062     cache_file=config.cache ;;
   1063 
   1064   -datadir | --datadir | --datadi | --datad)
   1065     ac_prev=datadir ;;
   1066   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1067     datadir=$ac_optarg ;;
   1068 
   1069   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1070   | --dataroo | --dataro | --datar)
   1071     ac_prev=datarootdir ;;
   1072   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1073   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1074     datarootdir=$ac_optarg ;;
   1075 
   1076   -disable-* | --disable-*)
   1077     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1078     # Reject names that are not valid shell variable names.
   1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1080       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1081    { (exit 1); exit 1; }; }
   1082     ac_useropt_orig=$ac_useropt
   1083     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1084     case $ac_user_opts in
   1085       *"
   1086 "enable_$ac_useropt"
   1087 "*) ;;
   1088       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1089 	 ac_unrecognized_sep=', ';;
   1090     esac
   1091     eval enable_$ac_useropt=no ;;
   1092 
   1093   -docdir | --docdir | --docdi | --doc | --do)
   1094     ac_prev=docdir ;;
   1095   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1096     docdir=$ac_optarg ;;
   1097 
   1098   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1099     ac_prev=dvidir ;;
   1100   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1101     dvidir=$ac_optarg ;;
   1102 
   1103   -enable-* | --enable-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1108    { (exit 1); exit 1; }; }
   1109     ac_useropt_orig=$ac_useropt
   1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1111     case $ac_user_opts in
   1112       *"
   1113 "enable_$ac_useropt"
   1114 "*) ;;
   1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1116 	 ac_unrecognized_sep=', ';;
   1117     esac
   1118     eval enable_$ac_useropt=\$ac_optarg ;;
   1119 
   1120   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1121   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1122   | --exec | --exe | --ex)
   1123     ac_prev=exec_prefix ;;
   1124   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1125   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1126   | --exec=* | --exe=* | --ex=*)
   1127     exec_prefix=$ac_optarg ;;
   1128 
   1129   -gas | --gas | --ga | --g)
   1130     # Obsolete; use --with-gas.
   1131     with_gas=yes ;;
   1132 
   1133   -help | --help | --hel | --he | -h)
   1134     ac_init_help=long ;;
   1135   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1136     ac_init_help=recursive ;;
   1137   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1138     ac_init_help=short ;;
   1139 
   1140   -host | --host | --hos | --ho)
   1141     ac_prev=host_alias ;;
   1142   -host=* | --host=* | --hos=* | --ho=*)
   1143     host_alias=$ac_optarg ;;
   1144 
   1145   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1146     ac_prev=htmldir ;;
   1147   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1148   | --ht=*)
   1149     htmldir=$ac_optarg ;;
   1150 
   1151   -includedir | --includedir | --includedi | --included | --include \
   1152   | --includ | --inclu | --incl | --inc)
   1153     ac_prev=includedir ;;
   1154   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1155   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1156     includedir=$ac_optarg ;;
   1157 
   1158   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1159     ac_prev=infodir ;;
   1160   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1161     infodir=$ac_optarg ;;
   1162 
   1163   -libdir | --libdir | --libdi | --libd)
   1164     ac_prev=libdir ;;
   1165   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1166     libdir=$ac_optarg ;;
   1167 
   1168   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1169   | --libexe | --libex | --libe)
   1170     ac_prev=libexecdir ;;
   1171   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1172   | --libexe=* | --libex=* | --libe=*)
   1173     libexecdir=$ac_optarg ;;
   1174 
   1175   -localedir | --localedir | --localedi | --localed | --locale)
   1176     ac_prev=localedir ;;
   1177   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1178     localedir=$ac_optarg ;;
   1179 
   1180   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1181   | --localstate | --localstat | --localsta | --localst | --locals)
   1182     ac_prev=localstatedir ;;
   1183   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1184   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1185     localstatedir=$ac_optarg ;;
   1186 
   1187   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1188     ac_prev=mandir ;;
   1189   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1190     mandir=$ac_optarg ;;
   1191 
   1192   -nfp | --nfp | --nf)
   1193     # Obsolete; use --without-fp.
   1194     with_fp=no ;;
   1195 
   1196   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1197   | --no-cr | --no-c | -n)
   1198     no_create=yes ;;
   1199 
   1200   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1201   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1202     no_recursion=yes ;;
   1203 
   1204   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1205   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1206   | --oldin | --oldi | --old | --ol | --o)
   1207     ac_prev=oldincludedir ;;
   1208   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1209   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1210   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1211     oldincludedir=$ac_optarg ;;
   1212 
   1213   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1214     ac_prev=prefix ;;
   1215   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1216     prefix=$ac_optarg ;;
   1217 
   1218   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1219   | --program-pre | --program-pr | --program-p)
   1220     ac_prev=program_prefix ;;
   1221   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1222   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1223     program_prefix=$ac_optarg ;;
   1224 
   1225   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1226   | --program-suf | --program-su | --program-s)
   1227     ac_prev=program_suffix ;;
   1228   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1229   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1230     program_suffix=$ac_optarg ;;
   1231 
   1232   -program-transform-name | --program-transform-name \
   1233   | --program-transform-nam | --program-transform-na \
   1234   | --program-transform-n | --program-transform- \
   1235   | --program-transform | --program-transfor \
   1236   | --program-transfo | --program-transf \
   1237   | --program-trans | --program-tran \
   1238   | --progr-tra | --program-tr | --program-t)
   1239     ac_prev=program_transform_name ;;
   1240   -program-transform-name=* | --program-transform-name=* \
   1241   | --program-transform-nam=* | --program-transform-na=* \
   1242   | --program-transform-n=* | --program-transform-=* \
   1243   | --program-transform=* | --program-transfor=* \
   1244   | --program-transfo=* | --program-transf=* \
   1245   | --program-trans=* | --program-tran=* \
   1246   | --progr-tra=* | --program-tr=* | --program-t=*)
   1247     program_transform_name=$ac_optarg ;;
   1248 
   1249   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1250     ac_prev=pdfdir ;;
   1251   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1252     pdfdir=$ac_optarg ;;
   1253 
   1254   -psdir | --psdir | --psdi | --psd | --ps)
   1255     ac_prev=psdir ;;
   1256   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1257     psdir=$ac_optarg ;;
   1258 
   1259   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1260   | -silent | --silent | --silen | --sile | --sil)
   1261     silent=yes ;;
   1262 
   1263   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1264     ac_prev=sbindir ;;
   1265   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1266   | --sbi=* | --sb=*)
   1267     sbindir=$ac_optarg ;;
   1268 
   1269   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1270   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1271   | --sharedst | --shareds | --shared | --share | --shar \
   1272   | --sha | --sh)
   1273     ac_prev=sharedstatedir ;;
   1274   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1275   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1276   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1277   | --sha=* | --sh=*)
   1278     sharedstatedir=$ac_optarg ;;
   1279 
   1280   -site | --site | --sit)
   1281     ac_prev=site ;;
   1282   -site=* | --site=* | --sit=*)
   1283     site=$ac_optarg ;;
   1284 
   1285   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1286     ac_prev=srcdir ;;
   1287   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1288     srcdir=$ac_optarg ;;
   1289 
   1290   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1291   | --syscon | --sysco | --sysc | --sys | --sy)
   1292     ac_prev=sysconfdir ;;
   1293   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1294   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1295     sysconfdir=$ac_optarg ;;
   1296 
   1297   -target | --target | --targe | --targ | --tar | --ta | --t)
   1298     ac_prev=target_alias ;;
   1299   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1300     target_alias=$ac_optarg ;;
   1301 
   1302   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1303     verbose=yes ;;
   1304 
   1305   -version | --version | --versio | --versi | --vers | -V)
   1306     ac_init_version=: ;;
   1307 
   1308   -with-* | --with-*)
   1309     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1310     # Reject names that are not valid shell variable names.
   1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1312       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1313    { (exit 1); exit 1; }; }
   1314     ac_useropt_orig=$ac_useropt
   1315     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1316     case $ac_user_opts in
   1317       *"
   1318 "with_$ac_useropt"
   1319 "*) ;;
   1320       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1321 	 ac_unrecognized_sep=', ';;
   1322     esac
   1323     eval with_$ac_useropt=\$ac_optarg ;;
   1324 
   1325   -without-* | --without-*)
   1326     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1327     # Reject names that are not valid shell variable names.
   1328     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1329       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1330    { (exit 1); exit 1; }; }
   1331     ac_useropt_orig=$ac_useropt
   1332     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1333     case $ac_user_opts in
   1334       *"
   1335 "with_$ac_useropt"
   1336 "*) ;;
   1337       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1338 	 ac_unrecognized_sep=', ';;
   1339     esac
   1340     eval with_$ac_useropt=no ;;
   1341 
   1342   --x)
   1343     # Obsolete; use --with-x.
   1344     with_x=yes ;;
   1345 
   1346   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1347   | --x-incl | --x-inc | --x-in | --x-i)
   1348     ac_prev=x_includes ;;
   1349   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1350   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1351     x_includes=$ac_optarg ;;
   1352 
   1353   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1354   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1355     ac_prev=x_libraries ;;
   1356   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1357   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1358     x_libraries=$ac_optarg ;;
   1359 
   1360   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1361 Try \`$0 --help' for more information." >&2
   1362    { (exit 1); exit 1; }; }
   1363     ;;
   1364 
   1365   *=*)
   1366     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1367     # Reject names that are not valid shell variable names.
   1368     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1369       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1370    { (exit 1); exit 1; }; }
   1371     eval $ac_envvar=\$ac_optarg
   1372     export $ac_envvar ;;
   1373 
   1374   *)
   1375     # FIXME: should be removed in autoconf 3.0.
   1376     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1377     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1378       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1379     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1380     ;;
   1381 
   1382   esac
   1383 done
   1384 
   1385 if test -n "$ac_prev"; then
   1386   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1387   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1388    { (exit 1); exit 1; }; }
   1389 fi
   1390 
   1391 if test -n "$ac_unrecognized_opts"; then
   1392   case $enable_option_checking in
   1393     no) ;;
   1394     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1395    { (exit 1); exit 1; }; } ;;
   1396     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1397   esac
   1398 fi
   1399 
   1400 # Check all directory arguments for consistency.
   1401 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1402 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1403 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1404 		libdir localedir mandir
   1405 do
   1406   eval ac_val=\$$ac_var
   1407   # Remove trailing slashes.
   1408   case $ac_val in
   1409     */ )
   1410       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1411       eval $ac_var=\$ac_val;;
   1412   esac
   1413   # Be sure to have absolute directory names.
   1414   case $ac_val in
   1415     [\\/$]* | ?:[\\/]* )  continue;;
   1416     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1417   esac
   1418   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1419    { (exit 1); exit 1; }; }
   1420 done
   1421 
   1422 # There might be people who depend on the old broken behavior: `$host'
   1423 # used to hold the argument of --host etc.
   1424 # FIXME: To remove some day.
   1425 build=$build_alias
   1426 host=$host_alias
   1427 target=$target_alias
   1428 
   1429 # FIXME: To remove some day.
   1430 if test "x$host_alias" != x; then
   1431   if test "x$build_alias" = x; then
   1432     cross_compiling=maybe
   1433     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1434     If a cross compiler is detected then cross compile mode will be used." >&2
   1435   elif test "x$build_alias" != "x$host_alias"; then
   1436     cross_compiling=yes
   1437   fi
   1438 fi
   1439 
   1440 ac_tool_prefix=
   1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1442 
   1443 test "$silent" = yes && exec 6>/dev/null
   1444 
   1445 
   1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1447 ac_ls_di=`ls -di .` &&
   1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1449   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1450    { (exit 1); exit 1; }; }
   1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1452   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1453    { (exit 1); exit 1; }; }
   1454 
   1455 
   1456 # Find the source files, if location was not specified.
   1457 if test -z "$srcdir"; then
   1458   ac_srcdir_defaulted=yes
   1459   # Try the directory containing this script, then the parent directory.
   1460   ac_confdir=`$as_dirname -- "$as_myself" ||
   1461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1462 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1463 	 X"$as_myself" : 'X\(//\)$' \| \
   1464 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1465 $as_echo X"$as_myself" |
   1466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  /^X\(\/\/\)[^/].*/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\/\)$/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  /^X\(\/\).*/{
   1479 	    s//\1/
   1480 	    q
   1481 	  }
   1482 	  s/.*/./; q'`
   1483   srcdir=$ac_confdir
   1484   if test ! -r "$srcdir/$ac_unique_file"; then
   1485     srcdir=..
   1486   fi
   1487 else
   1488   ac_srcdir_defaulted=no
   1489 fi
   1490 if test ! -r "$srcdir/$ac_unique_file"; then
   1491   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1492   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1493    { (exit 1); exit 1; }; }
   1494 fi
   1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1496 ac_abs_confdir=`(
   1497 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1498    { (exit 1); exit 1; }; }
   1499 	pwd)`
   1500 # When building in place, set srcdir=.
   1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1502   srcdir=.
   1503 fi
   1504 # Remove unnecessary trailing slashes from srcdir.
   1505 # Double slashes in file names in object file debugging info
   1506 # mess up M-x gdb in Emacs.
   1507 case $srcdir in
   1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1509 esac
   1510 for ac_var in $ac_precious_vars; do
   1511   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1512   eval ac_env_${ac_var}_value=\$${ac_var}
   1513   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1514   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1515 done
   1516 
   1517 #
   1518 # Report the --help message.
   1519 #
   1520 if test "$ac_init_help" = "long"; then
   1521   # Omit some internal or obsolete options to make the list less imposing.
   1522   # This message is too long to be a string in the A/UX 3.1 sh.
   1523   cat <<_ACEOF
   1524 \`configure' configures libXv 1.0.5 to adapt to many kinds of systems.
   1525 
   1526 Usage: $0 [OPTION]... [VAR=VALUE]...
   1527 
   1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1529 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1530 
   1531 Defaults for the options are specified in brackets.
   1532 
   1533 Configuration:
   1534   -h, --help              display this help and exit
   1535       --help=short        display options specific to this package
   1536       --help=recursive    display the short help of all the included packages
   1537   -V, --version           display version information and exit
   1538   -q, --quiet, --silent   do not print \`checking...' messages
   1539       --cache-file=FILE   cache test results in FILE [disabled]
   1540   -C, --config-cache      alias for \`--cache-file=config.cache'
   1541   -n, --no-create         do not create output files
   1542       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1543 
   1544 Installation directories:
   1545   --prefix=PREFIX         install architecture-independent files in PREFIX
   1546                           [$ac_default_prefix]
   1547   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1548                           [PREFIX]
   1549 
   1550 By default, \`make install' will install all the files in
   1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1553 for instance \`--prefix=\$HOME'.
   1554 
   1555 For better control, use the options below.
   1556 
   1557 Fine tuning of the installation directories:
   1558   --bindir=DIR            user executables [EPREFIX/bin]
   1559   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1560   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1561   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1562   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1563   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1564   --libdir=DIR            object code libraries [EPREFIX/lib]
   1565   --includedir=DIR        C header files [PREFIX/include]
   1566   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1567   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1568   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1569   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1570   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1571   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1572   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXv]
   1573   --htmldir=DIR           html documentation [DOCDIR]
   1574   --dvidir=DIR            dvi documentation [DOCDIR]
   1575   --pdfdir=DIR            pdf documentation [DOCDIR]
   1576   --psdir=DIR             ps documentation [DOCDIR]
   1577 _ACEOF
   1578 
   1579   cat <<\_ACEOF
   1580 
   1581 Program names:
   1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1585 
   1586 System types:
   1587   --build=BUILD     configure for building on BUILD [guessed]
   1588   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1589 _ACEOF
   1590 fi
   1591 
   1592 if test -n "$ac_init_help"; then
   1593   case $ac_init_help in
   1594      short | recursive ) echo "Configuration of libXv 1.0.5:";;
   1595    esac
   1596   cat <<\_ACEOF
   1597 
   1598 Optional Features:
   1599   --disable-option-checking  ignore unrecognized --enable/--with options
   1600   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1601   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1602   --enable-maintainer-mode  enable make rules and dependencies not useful
   1603 			  (and sometimes confusing) to the casual installer
   1604   --disable-dependency-tracking  speeds up one-time build
   1605   --enable-dependency-tracking   do not reject slow dependency extractors
   1606   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1607   --enable-static[=PKGS]  build static libraries [default=yes]
   1608   --enable-fast-install[=PKGS]
   1609                           optimize for fast installation [default=yes]
   1610   --disable-libtool-lock  avoid locking (might break parallel builds)
   1611   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1612   --disable-silent-rules         verbose build output (undo: `make V=0')
   1613   --enable-strict-compilation
   1614                           Enable all warnings from compiler and make them
   1615                           errors (default: disabled)
   1616   --enable-malloc0returnsnull
   1617                           malloc(0) returns NULL (default: auto)
   1618   --enable-lint-library   Create lint library (default: disabled)
   1619 
   1620 Optional Packages:
   1621   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1622   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1623   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1624   --with-pic              try to use only PIC/non-PIC objects [default=use
   1625                           both]
   1626   --with-tags[=TAGS]      include additional configurations [automatic]
   1627   --with-release-version=STRING
   1628                           Use release version string in package name
   1629   --with-lint             Use a lint-style source code checker (default:
   1630                           disabled)
   1631 
   1632 Some influential environment variables:
   1633   CC          C compiler command
   1634   CFLAGS      C compiler flags
   1635   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1636               nonstandard directory <lib dir>
   1637   LIBS        libraries to pass to the linker, e.g. -l<library>
   1638   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1639               you have headers in a nonstandard directory <include dir>
   1640   CPP         C preprocessor
   1641   CXX         C++ compiler command
   1642   CXXFLAGS    C++ compiler flags
   1643   CXXCPP      C++ preprocessor
   1644   F77         Fortran 77 compiler command
   1645   FFLAGS      Fortran 77 compiler flags
   1646   PKG_CONFIG  path to pkg-config utility
   1647   XV_CFLAGS   C compiler flags for XV, overriding pkg-config
   1648   XV_LIBS     linker flags for XV, overriding pkg-config
   1649 
   1650 Use these variables to override the choices made by `configure' or to help
   1651 it to find libraries and programs with nonstandard names/locations.
   1652 
   1653 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1654 _ACEOF
   1655 ac_status=$?
   1656 fi
   1657 
   1658 if test "$ac_init_help" = "recursive"; then
   1659   # If there are subdirs, report their specific --help.
   1660   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1661     test -d "$ac_dir" ||
   1662       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1663       continue
   1664     ac_builddir=.
   1665 
   1666 case "$ac_dir" in
   1667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1668 *)
   1669   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1670   # A ".." for each directory in $ac_dir_suffix.
   1671   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1672   case $ac_top_builddir_sub in
   1673   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1674   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1675   esac ;;
   1676 esac
   1677 ac_abs_top_builddir=$ac_pwd
   1678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1679 # for backward compatibility:
   1680 ac_top_builddir=$ac_top_build_prefix
   1681 
   1682 case $srcdir in
   1683   .)  # We are building in place.
   1684     ac_srcdir=.
   1685     ac_top_srcdir=$ac_top_builddir_sub
   1686     ac_abs_top_srcdir=$ac_pwd ;;
   1687   [\\/]* | ?:[\\/]* )  # Absolute name.
   1688     ac_srcdir=$srcdir$ac_dir_suffix;
   1689     ac_top_srcdir=$srcdir
   1690     ac_abs_top_srcdir=$srcdir ;;
   1691   *) # Relative name.
   1692     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1693     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1694     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1695 esac
   1696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1697 
   1698     cd "$ac_dir" || { ac_status=$?; continue; }
   1699     # Check for guested configure.
   1700     if test -f "$ac_srcdir/configure.gnu"; then
   1701       echo &&
   1702       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1703     elif test -f "$ac_srcdir/configure"; then
   1704       echo &&
   1705       $SHELL "$ac_srcdir/configure" --help=recursive
   1706     else
   1707       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1708     fi || ac_status=$?
   1709     cd "$ac_pwd" || { ac_status=$?; break; }
   1710   done
   1711 fi
   1712 
   1713 test -n "$ac_init_help" && exit $ac_status
   1714 if $ac_init_version; then
   1715   cat <<\_ACEOF
   1716 libXv configure 1.0.5
   1717 generated by GNU Autoconf 2.63
   1718 
   1719 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1720 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1721 This configure script is free software; the Free Software Foundation
   1722 gives unlimited permission to copy, distribute and modify it.
   1723 _ACEOF
   1724   exit
   1725 fi
   1726 cat >config.log <<_ACEOF
   1727 This file contains any messages produced by compilers while
   1728 running configure, to aid debugging if configure makes a mistake.
   1729 
   1730 It was created by libXv $as_me 1.0.5, which was
   1731 generated by GNU Autoconf 2.63.  Invocation command line was
   1732 
   1733   $ $0 $@
   1734 
   1735 _ACEOF
   1736 exec 5>>config.log
   1737 {
   1738 cat <<_ASUNAME
   1739 ## --------- ##
   1740 ## Platform. ##
   1741 ## --------- ##
   1742 
   1743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1748 
   1749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1750 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1751 
   1752 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1753 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1755 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1756 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1757 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1758 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1759 
   1760 _ASUNAME
   1761 
   1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1763 for as_dir in $PATH
   1764 do
   1765   IFS=$as_save_IFS
   1766   test -z "$as_dir" && as_dir=.
   1767   $as_echo "PATH: $as_dir"
   1768 done
   1769 IFS=$as_save_IFS
   1770 
   1771 } >&5
   1772 
   1773 cat >&5 <<_ACEOF
   1774 
   1775 
   1776 ## ----------- ##
   1777 ## Core tests. ##
   1778 ## ----------- ##
   1779 
   1780 _ACEOF
   1781 
   1782 
   1783 # Keep a trace of the command line.
   1784 # Strip out --no-create and --no-recursion so they do not pile up.
   1785 # Strip out --silent because we don't want to record it for future runs.
   1786 # Also quote any args containing shell meta-characters.
   1787 # Make two passes to allow for proper duplicate-argument suppression.
   1788 ac_configure_args=
   1789 ac_configure_args0=
   1790 ac_configure_args1=
   1791 ac_must_keep_next=false
   1792 for ac_pass in 1 2
   1793 do
   1794   for ac_arg
   1795   do
   1796     case $ac_arg in
   1797     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1798     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1799     | -silent | --silent | --silen | --sile | --sil)
   1800       continue ;;
   1801     *\'*)
   1802       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1803     esac
   1804     case $ac_pass in
   1805     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1806     2)
   1807       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1808       if test $ac_must_keep_next = true; then
   1809 	ac_must_keep_next=false # Got value, back to normal.
   1810       else
   1811 	case $ac_arg in
   1812 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1813 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1814 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1815 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1816 	    case "$ac_configure_args0 " in
   1817 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1818 	    esac
   1819 	    ;;
   1820 	  -* ) ac_must_keep_next=true ;;
   1821 	esac
   1822       fi
   1823       ac_configure_args="$ac_configure_args '$ac_arg'"
   1824       ;;
   1825     esac
   1826   done
   1827 done
   1828 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1829 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1830 
   1831 # When interrupted or exit'd, cleanup temporary files, and complete
   1832 # config.log.  We remove comments because anyway the quotes in there
   1833 # would cause problems or look ugly.
   1834 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1836 trap 'exit_status=$?
   1837   # Save into config.log some information that might help in debugging.
   1838   {
   1839     echo
   1840 
   1841     cat <<\_ASBOX
   1842 ## ---------------- ##
   1843 ## Cache variables. ##
   1844 ## ---------------- ##
   1845 _ASBOX
   1846     echo
   1847     # The following way of writing the cache mishandles newlines in values,
   1848 (
   1849   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1850     eval ac_val=\$$ac_var
   1851     case $ac_val in #(
   1852     *${as_nl}*)
   1853       case $ac_var in #(
   1854       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1856       esac
   1857       case $ac_var in #(
   1858       _ | IFS | as_nl) ;; #(
   1859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1860       *) $as_unset $ac_var ;;
   1861       esac ;;
   1862     esac
   1863   done
   1864   (set) 2>&1 |
   1865     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1866     *${as_nl}ac_space=\ *)
   1867       sed -n \
   1868 	"s/'\''/'\''\\\\'\'''\''/g;
   1869 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1870       ;; #(
   1871     *)
   1872       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1873       ;;
   1874     esac |
   1875     sort
   1876 )
   1877     echo
   1878 
   1879     cat <<\_ASBOX
   1880 ## ----------------- ##
   1881 ## Output variables. ##
   1882 ## ----------------- ##
   1883 _ASBOX
   1884     echo
   1885     for ac_var in $ac_subst_vars
   1886     do
   1887       eval ac_val=\$$ac_var
   1888       case $ac_val in
   1889       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1890       esac
   1891       $as_echo "$ac_var='\''$ac_val'\''"
   1892     done | sort
   1893     echo
   1894 
   1895     if test -n "$ac_subst_files"; then
   1896       cat <<\_ASBOX
   1897 ## ------------------- ##
   1898 ## File substitutions. ##
   1899 ## ------------------- ##
   1900 _ASBOX
   1901       echo
   1902       for ac_var in $ac_subst_files
   1903       do
   1904 	eval ac_val=\$$ac_var
   1905 	case $ac_val in
   1906 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1907 	esac
   1908 	$as_echo "$ac_var='\''$ac_val'\''"
   1909       done | sort
   1910       echo
   1911     fi
   1912 
   1913     if test -s confdefs.h; then
   1914       cat <<\_ASBOX
   1915 ## ----------- ##
   1916 ## confdefs.h. ##
   1917 ## ----------- ##
   1918 _ASBOX
   1919       echo
   1920       cat confdefs.h
   1921       echo
   1922     fi
   1923     test "$ac_signal" != 0 &&
   1924       $as_echo "$as_me: caught signal $ac_signal"
   1925     $as_echo "$as_me: exit $exit_status"
   1926   } >&5
   1927   rm -f core *.core core.conftest.* &&
   1928     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1929     exit $exit_status
   1930 ' 0
   1931 for ac_signal in 1 2 13 15; do
   1932   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1933 done
   1934 ac_signal=0
   1935 
   1936 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1937 rm -f -r conftest* confdefs.h
   1938 
   1939 # Predefined preprocessor variables.
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_NAME "$PACKAGE_NAME"
   1943 _ACEOF
   1944 
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1948 _ACEOF
   1949 
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1953 _ACEOF
   1954 
   1955 
   1956 cat >>confdefs.h <<_ACEOF
   1957 #define PACKAGE_STRING "$PACKAGE_STRING"
   1958 _ACEOF
   1959 
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1963 _ACEOF
   1964 
   1965 
   1966 # Let the site file select an alternate cache file if it wants to.
   1967 # Prefer an explicitly selected file to automatically selected ones.
   1968 ac_site_file1=NONE
   1969 ac_site_file2=NONE
   1970 if test -n "$CONFIG_SITE"; then
   1971   ac_site_file1=$CONFIG_SITE
   1972 elif test "x$prefix" != xNONE; then
   1973   ac_site_file1=$prefix/share/config.site
   1974   ac_site_file2=$prefix/etc/config.site
   1975 else
   1976   ac_site_file1=$ac_default_prefix/share/config.site
   1977   ac_site_file2=$ac_default_prefix/etc/config.site
   1978 fi
   1979 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1980 do
   1981   test "x$ac_site_file" = xNONE && continue
   1982   if test -r "$ac_site_file"; then
   1983     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1984 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1985     sed 's/^/| /' "$ac_site_file" >&5
   1986     . "$ac_site_file"
   1987   fi
   1988 done
   1989 
   1990 if test -r "$cache_file"; then
   1991   # Some versions of bash will fail to source /dev/null (special
   1992   # files actually), so we avoid doing that.
   1993   if test -f "$cache_file"; then
   1994     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1995 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1996     case $cache_file in
   1997       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1998       *)                      . "./$cache_file";;
   1999     esac
   2000   fi
   2001 else
   2002   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2003 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2004   >$cache_file
   2005 fi
   2006 
   2007 # Check that the precious variables saved in the cache have kept the same
   2008 # value.
   2009 ac_cache_corrupted=false
   2010 for ac_var in $ac_precious_vars; do
   2011   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2012   eval ac_new_set=\$ac_env_${ac_var}_set
   2013   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2014   eval ac_new_val=\$ac_env_${ac_var}_value
   2015   case $ac_old_set,$ac_new_set in
   2016     set,)
   2017       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2018 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2019       ac_cache_corrupted=: ;;
   2020     ,set)
   2021       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2022 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2023       ac_cache_corrupted=: ;;
   2024     ,);;
   2025     *)
   2026       if test "x$ac_old_val" != "x$ac_new_val"; then
   2027 	# differences in whitespace do not lead to failure.
   2028 	ac_old_val_w=`echo x $ac_old_val`
   2029 	ac_new_val_w=`echo x $ac_new_val`
   2030 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2031 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2032 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2033 	  ac_cache_corrupted=:
   2034 	else
   2035 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2036 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2037 	  eval $ac_var=\$ac_old_val
   2038 	fi
   2039 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2040 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2041 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2042 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2043       fi;;
   2044   esac
   2045   # Pass precious variables to config.status.
   2046   if test "$ac_new_set" = set; then
   2047     case $ac_new_val in
   2048     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2049     *) ac_arg=$ac_var=$ac_new_val ;;
   2050     esac
   2051     case " $ac_configure_args " in
   2052       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2053       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2054     esac
   2055   fi
   2056 done
   2057 if $ac_cache_corrupted; then
   2058   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2060   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2061 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2062   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2063 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2064    { (exit 1); exit 1; }; }
   2065 fi
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 ac_ext=c
   2092 ac_cpp='$CPP $CPPFLAGS'
   2093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2096 
   2097 
   2098 am__api_version='1.11'
   2099 
   2100 ac_aux_dir=
   2101 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2102   if test -f "$ac_dir/install-sh"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/install-sh -c"
   2105     break
   2106   elif test -f "$ac_dir/install.sh"; then
   2107     ac_aux_dir=$ac_dir
   2108     ac_install_sh="$ac_aux_dir/install.sh -c"
   2109     break
   2110   elif test -f "$ac_dir/shtool"; then
   2111     ac_aux_dir=$ac_dir
   2112     ac_install_sh="$ac_aux_dir/shtool install -c"
   2113     break
   2114   fi
   2115 done
   2116 if test -z "$ac_aux_dir"; then
   2117   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2118 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2119    { (exit 1); exit 1; }; }
   2120 fi
   2121 
   2122 # These three variables are undocumented and unsupported,
   2123 # and are intended to be withdrawn in a future Autoconf release.
   2124 # They can cause serious problems if a builder's source tree is in a directory
   2125 # whose full name contains unusual characters.
   2126 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2127 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2128 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2129 
   2130 
   2131 # Find a good install program.  We prefer a C program (faster),
   2132 # so one script is as good as another.  But avoid the broken or
   2133 # incompatible versions:
   2134 # SysV /etc/install, /usr/sbin/install
   2135 # SunOS /usr/etc/install
   2136 # IRIX /sbin/install
   2137 # AIX /bin/install
   2138 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2142 # OS/2's system install, which has a completely different semantic
   2143 # ./install, which can be erroneously created by make from ./install.sh.
   2144 # Reject install programs that cannot install multiple files.
   2145 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2146 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2147 if test -z "$INSTALL"; then
   2148 if test "${ac_cv_path_install+set}" = set; then
   2149   $as_echo_n "(cached) " >&6
   2150 else
   2151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2152 for as_dir in $PATH
   2153 do
   2154   IFS=$as_save_IFS
   2155   test -z "$as_dir" && as_dir=.
   2156   # Account for people who put trailing slashes in PATH elements.
   2157 case $as_dir/ in
   2158   ./ | .// | /cC/* | \
   2159   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2160   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2161   /usr/ucb/* ) ;;
   2162   *)
   2163     # OSF1 and SCO ODT 3.0 have their own names for install.
   2164     # Don't use installbsd from OSF since it installs stuff as root
   2165     # by default.
   2166     for ac_prog in ginstall scoinst install; do
   2167       for ac_exec_ext in '' $ac_executable_extensions; do
   2168 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2169 	  if test $ac_prog = install &&
   2170 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2171 	    # AIX install.  It has an incompatible calling convention.
   2172 	    :
   2173 	  elif test $ac_prog = install &&
   2174 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2175 	    # program-specific install script used by HP pwplus--don't use.
   2176 	    :
   2177 	  else
   2178 	    rm -rf conftest.one conftest.two conftest.dir
   2179 	    echo one > conftest.one
   2180 	    echo two > conftest.two
   2181 	    mkdir conftest.dir
   2182 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2183 	      test -s conftest.one && test -s conftest.two &&
   2184 	      test -s conftest.dir/conftest.one &&
   2185 	      test -s conftest.dir/conftest.two
   2186 	    then
   2187 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2188 	      break 3
   2189 	    fi
   2190 	  fi
   2191 	fi
   2192       done
   2193     done
   2194     ;;
   2195 esac
   2196 
   2197 done
   2198 IFS=$as_save_IFS
   2199 
   2200 rm -rf conftest.one conftest.two conftest.dir
   2201 
   2202 fi
   2203   if test "${ac_cv_path_install+set}" = set; then
   2204     INSTALL=$ac_cv_path_install
   2205   else
   2206     # As a last resort, use the slow shell script.  Don't cache a
   2207     # value for INSTALL within a source directory, because that will
   2208     # break other packages using the cache if that directory is
   2209     # removed, or if the value is a relative name.
   2210     INSTALL=$ac_install_sh
   2211   fi
   2212 fi
   2213 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2214 $as_echo "$INSTALL" >&6; }
   2215 
   2216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2217 # It thinks the first close brace ends the variable substitution.
   2218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2219 
   2220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2221 
   2222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2223 
   2224 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2225 $as_echo_n "checking whether build environment is sane... " >&6; }
   2226 # Just in case
   2227 sleep 1
   2228 echo timestamp > conftest.file
   2229 # Reject unsafe characters in $srcdir or the absolute working directory
   2230 # name.  Accept space and tab only in the latter.
   2231 am_lf='
   2232 '
   2233 case `pwd` in
   2234   *[\\\"\#\$\&\'\`$am_lf]*)
   2235     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2236 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2237    { (exit 1); exit 1; }; };;
   2238 esac
   2239 case $srcdir in
   2240   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2241     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2242 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2243    { (exit 1); exit 1; }; };;
   2244 esac
   2245 
   2246 # Do `set' in a subshell so we don't clobber the current shell's
   2247 # arguments.  Must try -L first in case configure is actually a
   2248 # symlink; some systems play weird games with the mod time of symlinks
   2249 # (eg FreeBSD returns the mod time of the symlink's containing
   2250 # directory).
   2251 if (
   2252    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2253    if test "$*" = "X"; then
   2254       # -L didn't work.
   2255       set X `ls -t "$srcdir/configure" conftest.file`
   2256    fi
   2257    rm -f conftest.file
   2258    if test "$*" != "X $srcdir/configure conftest.file" \
   2259       && test "$*" != "X conftest.file $srcdir/configure"; then
   2260 
   2261       # If neither matched, then we have a broken ls.  This can happen
   2262       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2263       # broken ls alias from the environment.  This has actually
   2264       # happened.  Such a system could not be considered "sane".
   2265       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2266 alias in your environment" >&5
   2267 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2268 alias in your environment" >&2;}
   2269    { (exit 1); exit 1; }; }
   2270    fi
   2271 
   2272    test "$2" = conftest.file
   2273    )
   2274 then
   2275    # Ok.
   2276    :
   2277 else
   2278    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2279 Check your system clock" >&5
   2280 $as_echo "$as_me: error: newly created file is older than distributed files!
   2281 Check your system clock" >&2;}
   2282    { (exit 1); exit 1; }; }
   2283 fi
   2284 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2285 $as_echo "yes" >&6; }
   2286 test "$program_prefix" != NONE &&
   2287   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2288 # Use a double $ so make ignores it.
   2289 test "$program_suffix" != NONE &&
   2290   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2291 # Double any \ or $.
   2292 # By default was `s,x,x', remove it if useless.
   2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2295 
   2296 # expand $ac_aux_dir to an absolute path
   2297 am_aux_dir=`cd $ac_aux_dir && pwd`
   2298 
   2299 if test x"${MISSING+set}" != xset; then
   2300   case $am_aux_dir in
   2301   *\ * | *\	*)
   2302     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2303   *)
   2304     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2305   esac
   2306 fi
   2307 # Use eval to expand $SHELL
   2308 if eval "$MISSING --run true"; then
   2309   am_missing_run="$MISSING --run "
   2310 else
   2311   am_missing_run=
   2312   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2313 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2314 fi
   2315 
   2316 if test x"${install_sh}" != xset; then
   2317   case $am_aux_dir in
   2318   *\ * | *\	*)
   2319     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2320   *)
   2321     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2322   esac
   2323 fi
   2324 
   2325 # Installed binaries are usually stripped using `strip' when the user
   2326 # run `make install-strip'.  However `strip' might not be the right
   2327 # tool to use in cross-compilation environments, therefore Automake
   2328 # will honor the `STRIP' environment variable to overrule this program.
   2329 if test "$cross_compiling" != no; then
   2330   if test -n "$ac_tool_prefix"; then
   2331   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2332 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2334 $as_echo_n "checking for $ac_word... " >&6; }
   2335 if test "${ac_cv_prog_STRIP+set}" = set; then
   2336   $as_echo_n "(cached) " >&6
   2337 else
   2338   if test -n "$STRIP"; then
   2339   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2340 else
   2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2342 for as_dir in $PATH
   2343 do
   2344   IFS=$as_save_IFS
   2345   test -z "$as_dir" && as_dir=.
   2346   for ac_exec_ext in '' $ac_executable_extensions; do
   2347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2348     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2349     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2350     break 2
   2351   fi
   2352 done
   2353 done
   2354 IFS=$as_save_IFS
   2355 
   2356 fi
   2357 fi
   2358 STRIP=$ac_cv_prog_STRIP
   2359 if test -n "$STRIP"; then
   2360   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2361 $as_echo "$STRIP" >&6; }
   2362 else
   2363   { $as_echo "$as_me:$LINENO: result: no" >&5
   2364 $as_echo "no" >&6; }
   2365 fi
   2366 
   2367 
   2368 fi
   2369 if test -z "$ac_cv_prog_STRIP"; then
   2370   ac_ct_STRIP=$STRIP
   2371   # Extract the first word of "strip", so it can be a program name with args.
   2372 set dummy strip; ac_word=$2
   2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2374 $as_echo_n "checking for $ac_word... " >&6; }
   2375 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   if test -n "$ac_ct_STRIP"; then
   2379   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2380 else
   2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386   for ac_exec_ext in '' $ac_executable_extensions; do
   2387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2388     ac_cv_prog_ac_ct_STRIP="strip"
   2389     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2390     break 2
   2391   fi
   2392 done
   2393 done
   2394 IFS=$as_save_IFS
   2395 
   2396 fi
   2397 fi
   2398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2399 if test -n "$ac_ct_STRIP"; then
   2400   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2401 $as_echo "$ac_ct_STRIP" >&6; }
   2402 else
   2403   { $as_echo "$as_me:$LINENO: result: no" >&5
   2404 $as_echo "no" >&6; }
   2405 fi
   2406 
   2407   if test "x$ac_ct_STRIP" = x; then
   2408     STRIP=":"
   2409   else
   2410     case $cross_compiling:$ac_tool_warned in
   2411 yes:)
   2412 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2414 ac_tool_warned=yes ;;
   2415 esac
   2416     STRIP=$ac_ct_STRIP
   2417   fi
   2418 else
   2419   STRIP="$ac_cv_prog_STRIP"
   2420 fi
   2421 
   2422 fi
   2423 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2424 
   2425 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2426 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2427 if test -z "$MKDIR_P"; then
   2428   if test "${ac_cv_path_mkdir+set}" = set; then
   2429   $as_echo_n "(cached) " >&6
   2430 else
   2431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2432 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2433 do
   2434   IFS=$as_save_IFS
   2435   test -z "$as_dir" && as_dir=.
   2436   for ac_prog in mkdir gmkdir; do
   2437 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2438 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2439 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2440 	     'mkdir (GNU coreutils) '* | \
   2441 	     'mkdir (coreutils) '* | \
   2442 	     'mkdir (fileutils) '4.1*)
   2443 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2444 	       break 3;;
   2445 	   esac
   2446 	 done
   2447        done
   2448 done
   2449 IFS=$as_save_IFS
   2450 
   2451 fi
   2452 
   2453   if test "${ac_cv_path_mkdir+set}" = set; then
   2454     MKDIR_P="$ac_cv_path_mkdir -p"
   2455   else
   2456     # As a last resort, use the slow shell script.  Don't cache a
   2457     # value for MKDIR_P within a source directory, because that will
   2458     # break other packages using the cache if that directory is
   2459     # removed, or if the value is a relative name.
   2460     test -d ./--version && rmdir ./--version
   2461     MKDIR_P="$ac_install_sh -d"
   2462   fi
   2463 fi
   2464 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2465 $as_echo "$MKDIR_P" >&6; }
   2466 
   2467 mkdir_p="$MKDIR_P"
   2468 case $mkdir_p in
   2469   [\\/$]* | ?:[\\/]*) ;;
   2470   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2471 esac
   2472 
   2473 for ac_prog in gawk mawk nawk awk
   2474 do
   2475   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2476 set dummy $ac_prog; ac_word=$2
   2477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2478 $as_echo_n "checking for $ac_word... " >&6; }
   2479 if test "${ac_cv_prog_AWK+set}" = set; then
   2480   $as_echo_n "(cached) " >&6
   2481 else
   2482   if test -n "$AWK"; then
   2483   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2484 else
   2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2486 for as_dir in $PATH
   2487 do
   2488   IFS=$as_save_IFS
   2489   test -z "$as_dir" && as_dir=.
   2490   for ac_exec_ext in '' $ac_executable_extensions; do
   2491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2492     ac_cv_prog_AWK="$ac_prog"
   2493     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2494     break 2
   2495   fi
   2496 done
   2497 done
   2498 IFS=$as_save_IFS
   2499 
   2500 fi
   2501 fi
   2502 AWK=$ac_cv_prog_AWK
   2503 if test -n "$AWK"; then
   2504   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2505 $as_echo "$AWK" >&6; }
   2506 else
   2507   { $as_echo "$as_me:$LINENO: result: no" >&5
   2508 $as_echo "no" >&6; }
   2509 fi
   2510 
   2511 
   2512   test -n "$AWK" && break
   2513 done
   2514 
   2515 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2516 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2517 set x ${MAKE-make}
   2518 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2519 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2520   $as_echo_n "(cached) " >&6
   2521 else
   2522   cat >conftest.make <<\_ACEOF
   2523 SHELL = /bin/sh
   2524 all:
   2525 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2526 _ACEOF
   2527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2529   *@@@%%%=?*=@@@%%%*)
   2530     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2531   *)
   2532     eval ac_cv_prog_make_${ac_make}_set=no;;
   2533 esac
   2534 rm -f conftest.make
   2535 fi
   2536 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2537   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2538 $as_echo "yes" >&6; }
   2539   SET_MAKE=
   2540 else
   2541   { $as_echo "$as_me:$LINENO: result: no" >&5
   2542 $as_echo "no" >&6; }
   2543   SET_MAKE="MAKE=${MAKE-make}"
   2544 fi
   2545 
   2546 rm -rf .tst 2>/dev/null
   2547 mkdir .tst 2>/dev/null
   2548 if test -d .tst; then
   2549   am__leading_dot=.
   2550 else
   2551   am__leading_dot=_
   2552 fi
   2553 rmdir .tst 2>/dev/null
   2554 
   2555 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2556   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2557   # is not polluted with repeated "-I."
   2558   am__isrc=' -I$(srcdir)'
   2559   # test to see if srcdir already configured
   2560   if test -f $srcdir/config.status; then
   2561     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2562 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2563    { (exit 1); exit 1; }; }
   2564   fi
   2565 fi
   2566 
   2567 # test whether we have cygpath
   2568 if test -z "$CYGPATH_W"; then
   2569   if (cygpath --version) >/dev/null 2>/dev/null; then
   2570     CYGPATH_W='cygpath -w'
   2571   else
   2572     CYGPATH_W=echo
   2573   fi
   2574 fi
   2575 
   2576 
   2577 # Define the identity of the package.
   2578  PACKAGE='libXv'
   2579  VERSION='1.0.5'
   2580 
   2581 
   2582 cat >>confdefs.h <<_ACEOF
   2583 #define PACKAGE "$PACKAGE"
   2584 _ACEOF
   2585 
   2586 
   2587 cat >>confdefs.h <<_ACEOF
   2588 #define VERSION "$VERSION"
   2589 _ACEOF
   2590 
   2591 # Some tools Automake needs.
   2592 
   2593 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2594 
   2595 
   2596 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2597 
   2598 
   2599 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2600 
   2601 
   2602 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2603 
   2604 
   2605 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2606 
   2607 # We need awk for the "check" target.  The system "awk" is bad on
   2608 # some platforms.
   2609 # Always define AMTAR for backward compatibility.
   2610 
   2611 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2612 
   2613 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2614 
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2621 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2622     # Check whether --enable-maintainer-mode was given.
   2623 if test "${enable_maintainer_mode+set}" = set; then
   2624   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2625 else
   2626   USE_MAINTAINER_MODE=no
   2627 fi
   2628 
   2629   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2630 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2631    if test $USE_MAINTAINER_MODE = yes; then
   2632   MAINTAINER_MODE_TRUE=
   2633   MAINTAINER_MODE_FALSE='#'
   2634 else
   2635   MAINTAINER_MODE_TRUE='#'
   2636   MAINTAINER_MODE_FALSE=
   2637 fi
   2638 
   2639   MAINT=$MAINTAINER_MODE_TRUE
   2640 
   2641 
   2642 
   2643 ac_config_headers="$ac_config_headers config.h"
   2644 
   2645 
   2646 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   2647 
   2648 
   2649 
   2650 
   2651 
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 # Check for progs
   2660 ac_ext=c
   2661 ac_cpp='$CPP $CPPFLAGS'
   2662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2665 if test -n "$ac_tool_prefix"; then
   2666   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2667 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2669 $as_echo_n "checking for $ac_word... " >&6; }
   2670 if test "${ac_cv_prog_CC+set}" = set; then
   2671   $as_echo_n "(cached) " >&6
   2672 else
   2673   if test -n "$CC"; then
   2674   ac_cv_prog_CC="$CC" # Let the user override the test.
   2675 else
   2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2677 for as_dir in $PATH
   2678 do
   2679   IFS=$as_save_IFS
   2680   test -z "$as_dir" && as_dir=.
   2681   for ac_exec_ext in '' $ac_executable_extensions; do
   2682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2683     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2684     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2685     break 2
   2686   fi
   2687 done
   2688 done
   2689 IFS=$as_save_IFS
   2690 
   2691 fi
   2692 fi
   2693 CC=$ac_cv_prog_CC
   2694 if test -n "$CC"; then
   2695   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2696 $as_echo "$CC" >&6; }
   2697 else
   2698   { $as_echo "$as_me:$LINENO: result: no" >&5
   2699 $as_echo "no" >&6; }
   2700 fi
   2701 
   2702 
   2703 fi
   2704 if test -z "$ac_cv_prog_CC"; then
   2705   ac_ct_CC=$CC
   2706   # Extract the first word of "gcc", so it can be a program name with args.
   2707 set dummy gcc; ac_word=$2
   2708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2709 $as_echo_n "checking for $ac_word... " >&6; }
   2710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2711   $as_echo_n "(cached) " >&6
   2712 else
   2713   if test -n "$ac_ct_CC"; then
   2714   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2715 else
   2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2717 for as_dir in $PATH
   2718 do
   2719   IFS=$as_save_IFS
   2720   test -z "$as_dir" && as_dir=.
   2721   for ac_exec_ext in '' $ac_executable_extensions; do
   2722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2723     ac_cv_prog_ac_ct_CC="gcc"
   2724     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2725     break 2
   2726   fi
   2727 done
   2728 done
   2729 IFS=$as_save_IFS
   2730 
   2731 fi
   2732 fi
   2733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2734 if test -n "$ac_ct_CC"; then
   2735   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2736 $as_echo "$ac_ct_CC" >&6; }
   2737 else
   2738   { $as_echo "$as_me:$LINENO: result: no" >&5
   2739 $as_echo "no" >&6; }
   2740 fi
   2741 
   2742   if test "x$ac_ct_CC" = x; then
   2743     CC=""
   2744   else
   2745     case $cross_compiling:$ac_tool_warned in
   2746 yes:)
   2747 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2749 ac_tool_warned=yes ;;
   2750 esac
   2751     CC=$ac_ct_CC
   2752   fi
   2753 else
   2754   CC="$ac_cv_prog_CC"
   2755 fi
   2756 
   2757 if test -z "$CC"; then
   2758           if test -n "$ac_tool_prefix"; then
   2759     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2760 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2761 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2762 $as_echo_n "checking for $ac_word... " >&6; }
   2763 if test "${ac_cv_prog_CC+set}" = set; then
   2764   $as_echo_n "(cached) " >&6
   2765 else
   2766   if test -n "$CC"; then
   2767   ac_cv_prog_CC="$CC" # Let the user override the test.
   2768 else
   2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2770 for as_dir in $PATH
   2771 do
   2772   IFS=$as_save_IFS
   2773   test -z "$as_dir" && as_dir=.
   2774   for ac_exec_ext in '' $ac_executable_extensions; do
   2775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2776     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2777     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2778     break 2
   2779   fi
   2780 done
   2781 done
   2782 IFS=$as_save_IFS
   2783 
   2784 fi
   2785 fi
   2786 CC=$ac_cv_prog_CC
   2787 if test -n "$CC"; then
   2788   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2789 $as_echo "$CC" >&6; }
   2790 else
   2791   { $as_echo "$as_me:$LINENO: result: no" >&5
   2792 $as_echo "no" >&6; }
   2793 fi
   2794 
   2795 
   2796   fi
   2797 fi
   2798 if test -z "$CC"; then
   2799   # Extract the first word of "cc", so it can be a program name with args.
   2800 set dummy cc; ac_word=$2
   2801 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2802 $as_echo_n "checking for $ac_word... " >&6; }
   2803 if test "${ac_cv_prog_CC+set}" = set; then
   2804   $as_echo_n "(cached) " >&6
   2805 else
   2806   if test -n "$CC"; then
   2807   ac_cv_prog_CC="$CC" # Let the user override the test.
   2808 else
   2809   ac_prog_rejected=no
   2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2811 for as_dir in $PATH
   2812 do
   2813   IFS=$as_save_IFS
   2814   test -z "$as_dir" && as_dir=.
   2815   for ac_exec_ext in '' $ac_executable_extensions; do
   2816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2817     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2818        ac_prog_rejected=yes
   2819        continue
   2820      fi
   2821     ac_cv_prog_CC="cc"
   2822     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2823     break 2
   2824   fi
   2825 done
   2826 done
   2827 IFS=$as_save_IFS
   2828 
   2829 if test $ac_prog_rejected = yes; then
   2830   # We found a bogon in the path, so make sure we never use it.
   2831   set dummy $ac_cv_prog_CC
   2832   shift
   2833   if test $# != 0; then
   2834     # We chose a different compiler from the bogus one.
   2835     # However, it has the same basename, so the bogon will be chosen
   2836     # first if we set CC to just the basename; use the full file name.
   2837     shift
   2838     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2839   fi
   2840 fi
   2841 fi
   2842 fi
   2843 CC=$ac_cv_prog_CC
   2844 if test -n "$CC"; then
   2845   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2846 $as_echo "$CC" >&6; }
   2847 else
   2848   { $as_echo "$as_me:$LINENO: result: no" >&5
   2849 $as_echo "no" >&6; }
   2850 fi
   2851 
   2852 
   2853 fi
   2854 if test -z "$CC"; then
   2855   if test -n "$ac_tool_prefix"; then
   2856   for ac_prog in cl.exe
   2857   do
   2858     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2861 $as_echo_n "checking for $ac_word... " >&6; }
   2862 if test "${ac_cv_prog_CC+set}" = set; then
   2863   $as_echo_n "(cached) " >&6
   2864 else
   2865   if test -n "$CC"; then
   2866   ac_cv_prog_CC="$CC" # Let the user override the test.
   2867 else
   2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2869 for as_dir in $PATH
   2870 do
   2871   IFS=$as_save_IFS
   2872   test -z "$as_dir" && as_dir=.
   2873   for ac_exec_ext in '' $ac_executable_extensions; do
   2874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2875     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2876     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2877     break 2
   2878   fi
   2879 done
   2880 done
   2881 IFS=$as_save_IFS
   2882 
   2883 fi
   2884 fi
   2885 CC=$ac_cv_prog_CC
   2886 if test -n "$CC"; then
   2887   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2888 $as_echo "$CC" >&6; }
   2889 else
   2890   { $as_echo "$as_me:$LINENO: result: no" >&5
   2891 $as_echo "no" >&6; }
   2892 fi
   2893 
   2894 
   2895     test -n "$CC" && break
   2896   done
   2897 fi
   2898 if test -z "$CC"; then
   2899   ac_ct_CC=$CC
   2900   for ac_prog in cl.exe
   2901 do
   2902   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2903 set dummy $ac_prog; ac_word=$2
   2904 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2905 $as_echo_n "checking for $ac_word... " >&6; }
   2906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   if test -n "$ac_ct_CC"; then
   2910   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2911 else
   2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2913 for as_dir in $PATH
   2914 do
   2915   IFS=$as_save_IFS
   2916   test -z "$as_dir" && as_dir=.
   2917   for ac_exec_ext in '' $ac_executable_extensions; do
   2918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2919     ac_cv_prog_ac_ct_CC="$ac_prog"
   2920     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2921     break 2
   2922   fi
   2923 done
   2924 done
   2925 IFS=$as_save_IFS
   2926 
   2927 fi
   2928 fi
   2929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2930 if test -n "$ac_ct_CC"; then
   2931   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2932 $as_echo "$ac_ct_CC" >&6; }
   2933 else
   2934   { $as_echo "$as_me:$LINENO: result: no" >&5
   2935 $as_echo "no" >&6; }
   2936 fi
   2937 
   2938 
   2939   test -n "$ac_ct_CC" && break
   2940 done
   2941 
   2942   if test "x$ac_ct_CC" = x; then
   2943     CC=""
   2944   else
   2945     case $cross_compiling:$ac_tool_warned in
   2946 yes:)
   2947 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2949 ac_tool_warned=yes ;;
   2950 esac
   2951     CC=$ac_ct_CC
   2952   fi
   2953 fi
   2954 
   2955 fi
   2956 
   2957 
   2958 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2960 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2961 See \`config.log' for more details." >&5
   2962 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2963 See \`config.log' for more details." >&2;}
   2964    { (exit 1); exit 1; }; }; }
   2965 
   2966 # Provide some information about the compiler.
   2967 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2968 set X $ac_compile
   2969 ac_compiler=$2
   2970 { (ac_try="$ac_compiler --version >&5"
   2971 case "(($ac_try" in
   2972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2973   *) ac_try_echo=$ac_try;;
   2974 esac
   2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2976 $as_echo "$ac_try_echo") >&5
   2977   (eval "$ac_compiler --version >&5") 2>&5
   2978   ac_status=$?
   2979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2980   (exit $ac_status); }
   2981 { (ac_try="$ac_compiler -v >&5"
   2982 case "(($ac_try" in
   2983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2984   *) ac_try_echo=$ac_try;;
   2985 esac
   2986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2987 $as_echo "$ac_try_echo") >&5
   2988   (eval "$ac_compiler -v >&5") 2>&5
   2989   ac_status=$?
   2990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2991   (exit $ac_status); }
   2992 { (ac_try="$ac_compiler -V >&5"
   2993 case "(($ac_try" in
   2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2995   *) ac_try_echo=$ac_try;;
   2996 esac
   2997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2998 $as_echo "$ac_try_echo") >&5
   2999   (eval "$ac_compiler -V >&5") 2>&5
   3000   ac_status=$?
   3001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3002   (exit $ac_status); }
   3003 
   3004 cat >conftest.$ac_ext <<_ACEOF
   3005 /* confdefs.h.  */
   3006 _ACEOF
   3007 cat confdefs.h >>conftest.$ac_ext
   3008 cat >>conftest.$ac_ext <<_ACEOF
   3009 /* end confdefs.h.  */
   3010 
   3011 int
   3012 main ()
   3013 {
   3014 
   3015   ;
   3016   return 0;
   3017 }
   3018 _ACEOF
   3019 ac_clean_files_save=$ac_clean_files
   3020 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3021 # Try to create an executable without -o first, disregard a.out.
   3022 # It will help us diagnose broken compilers, and finding out an intuition
   3023 # of exeext.
   3024 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3025 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3026 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3027 
   3028 # The possible output files:
   3029 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3030 
   3031 ac_rmfiles=
   3032 for ac_file in $ac_files
   3033 do
   3034   case $ac_file in
   3035     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3036     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3037   esac
   3038 done
   3039 rm -f $ac_rmfiles
   3040 
   3041 if { (ac_try="$ac_link_default"
   3042 case "(($ac_try" in
   3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3044   *) ac_try_echo=$ac_try;;
   3045 esac
   3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3047 $as_echo "$ac_try_echo") >&5
   3048   (eval "$ac_link_default") 2>&5
   3049   ac_status=$?
   3050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3051   (exit $ac_status); }; then
   3052   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3053 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3054 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3055 # so that the user can short-circuit this test for compilers unknown to
   3056 # Autoconf.
   3057 for ac_file in $ac_files ''
   3058 do
   3059   test -f "$ac_file" || continue
   3060   case $ac_file in
   3061     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3062 	;;
   3063     [ab].out )
   3064 	# We found the default executable, but exeext='' is most
   3065 	# certainly right.
   3066 	break;;
   3067     *.* )
   3068         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3069 	then :; else
   3070 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3071 	fi
   3072 	# We set ac_cv_exeext here because the later test for it is not
   3073 	# safe: cross compilers may not add the suffix if given an `-o'
   3074 	# argument, so we may need to know it at that point already.
   3075 	# Even if this section looks crufty: it has the advantage of
   3076 	# actually working.
   3077 	break;;
   3078     * )
   3079 	break;;
   3080   esac
   3081 done
   3082 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3083 
   3084 else
   3085   ac_file=''
   3086 fi
   3087 
   3088 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3089 $as_echo "$ac_file" >&6; }
   3090 if test -z "$ac_file"; then
   3091   $as_echo "$as_me: failed program was:" >&5
   3092 sed 's/^/| /' conftest.$ac_ext >&5
   3093 
   3094 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3096 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3097 See \`config.log' for more details." >&5
   3098 $as_echo "$as_me: error: C compiler cannot create executables
   3099 See \`config.log' for more details." >&2;}
   3100    { (exit 77); exit 77; }; }; }
   3101 fi
   3102 
   3103 ac_exeext=$ac_cv_exeext
   3104 
   3105 # Check that the compiler produces executables we can run.  If not, either
   3106 # the compiler is broken, or we cross compile.
   3107 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3108 $as_echo_n "checking whether the C compiler works... " >&6; }
   3109 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3110 # If not cross compiling, check that we can run a simple program.
   3111 if test "$cross_compiling" != yes; then
   3112   if { ac_try='./$ac_file'
   3113   { (case "(($ac_try" in
   3114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3115   *) ac_try_echo=$ac_try;;
   3116 esac
   3117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3118 $as_echo "$ac_try_echo") >&5
   3119   (eval "$ac_try") 2>&5
   3120   ac_status=$?
   3121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3122   (exit $ac_status); }; }; then
   3123     cross_compiling=no
   3124   else
   3125     if test "$cross_compiling" = maybe; then
   3126 	cross_compiling=yes
   3127     else
   3128 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3130 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3131 If you meant to cross compile, use \`--host'.
   3132 See \`config.log' for more details." >&5
   3133 $as_echo "$as_me: error: cannot run C compiled programs.
   3134 If you meant to cross compile, use \`--host'.
   3135 See \`config.log' for more details." >&2;}
   3136    { (exit 1); exit 1; }; }; }
   3137     fi
   3138   fi
   3139 fi
   3140 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3141 $as_echo "yes" >&6; }
   3142 
   3143 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3144 ac_clean_files=$ac_clean_files_save
   3145 # Check that the compiler produces executables we can run.  If not, either
   3146 # the compiler is broken, or we cross compile.
   3147 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3148 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3149 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3150 $as_echo "$cross_compiling" >&6; }
   3151 
   3152 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3153 $as_echo_n "checking for suffix of executables... " >&6; }
   3154 if { (ac_try="$ac_link"
   3155 case "(($ac_try" in
   3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3157   *) ac_try_echo=$ac_try;;
   3158 esac
   3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3160 $as_echo "$ac_try_echo") >&5
   3161   (eval "$ac_link") 2>&5
   3162   ac_status=$?
   3163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3164   (exit $ac_status); }; then
   3165   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3166 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3167 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3168 # `rm'.
   3169 for ac_file in conftest.exe conftest conftest.*; do
   3170   test -f "$ac_file" || continue
   3171   case $ac_file in
   3172     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3173     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3174 	  break;;
   3175     * ) break;;
   3176   esac
   3177 done
   3178 else
   3179   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3181 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3182 See \`config.log' for more details." >&5
   3183 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3184 See \`config.log' for more details." >&2;}
   3185    { (exit 1); exit 1; }; }; }
   3186 fi
   3187 
   3188 rm -f conftest$ac_cv_exeext
   3189 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3190 $as_echo "$ac_cv_exeext" >&6; }
   3191 
   3192 rm -f conftest.$ac_ext
   3193 EXEEXT=$ac_cv_exeext
   3194 ac_exeext=$EXEEXT
   3195 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3196 $as_echo_n "checking for suffix of object files... " >&6; }
   3197 if test "${ac_cv_objext+set}" = set; then
   3198   $as_echo_n "(cached) " >&6
   3199 else
   3200   cat >conftest.$ac_ext <<_ACEOF
   3201 /* confdefs.h.  */
   3202 _ACEOF
   3203 cat confdefs.h >>conftest.$ac_ext
   3204 cat >>conftest.$ac_ext <<_ACEOF
   3205 /* end confdefs.h.  */
   3206 
   3207 int
   3208 main ()
   3209 {
   3210 
   3211   ;
   3212   return 0;
   3213 }
   3214 _ACEOF
   3215 rm -f conftest.o conftest.obj
   3216 if { (ac_try="$ac_compile"
   3217 case "(($ac_try" in
   3218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3219   *) ac_try_echo=$ac_try;;
   3220 esac
   3221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3222 $as_echo "$ac_try_echo") >&5
   3223   (eval "$ac_compile") 2>&5
   3224   ac_status=$?
   3225   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226   (exit $ac_status); }; then
   3227   for ac_file in conftest.o conftest.obj conftest.*; do
   3228   test -f "$ac_file" || continue;
   3229   case $ac_file in
   3230     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3231     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3232        break;;
   3233   esac
   3234 done
   3235 else
   3236   $as_echo "$as_me: failed program was:" >&5
   3237 sed 's/^/| /' conftest.$ac_ext >&5
   3238 
   3239 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3241 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3242 See \`config.log' for more details." >&5
   3243 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3244 See \`config.log' for more details." >&2;}
   3245    { (exit 1); exit 1; }; }; }
   3246 fi
   3247 
   3248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3249 fi
   3250 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3251 $as_echo "$ac_cv_objext" >&6; }
   3252 OBJEXT=$ac_cv_objext
   3253 ac_objext=$OBJEXT
   3254 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3255 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3256 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3257   $as_echo_n "(cached) " >&6
   3258 else
   3259   cat >conftest.$ac_ext <<_ACEOF
   3260 /* confdefs.h.  */
   3261 _ACEOF
   3262 cat confdefs.h >>conftest.$ac_ext
   3263 cat >>conftest.$ac_ext <<_ACEOF
   3264 /* end confdefs.h.  */
   3265 
   3266 int
   3267 main ()
   3268 {
   3269 #ifndef __GNUC__
   3270        choke me
   3271 #endif
   3272 
   3273   ;
   3274   return 0;
   3275 }
   3276 _ACEOF
   3277 rm -f conftest.$ac_objext
   3278 if { (ac_try="$ac_compile"
   3279 case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3284 $as_echo "$ac_try_echo") >&5
   3285   (eval "$ac_compile") 2>conftest.er1
   3286   ac_status=$?
   3287   grep -v '^ *+' conftest.er1 >conftest.err
   3288   rm -f conftest.er1
   3289   cat conftest.err >&5
   3290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3291   (exit $ac_status); } && {
   3292 	 test -z "$ac_c_werror_flag" ||
   3293 	 test ! -s conftest.err
   3294        } && test -s conftest.$ac_objext; then
   3295   ac_compiler_gnu=yes
   3296 else
   3297   $as_echo "$as_me: failed program was:" >&5
   3298 sed 's/^/| /' conftest.$ac_ext >&5
   3299 
   3300 	ac_compiler_gnu=no
   3301 fi
   3302 
   3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3305 
   3306 fi
   3307 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3308 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3309 if test $ac_compiler_gnu = yes; then
   3310   GCC=yes
   3311 else
   3312   GCC=
   3313 fi
   3314 ac_test_CFLAGS=${CFLAGS+set}
   3315 ac_save_CFLAGS=$CFLAGS
   3316 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3317 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3318 if test "${ac_cv_prog_cc_g+set}" = set; then
   3319   $as_echo_n "(cached) " >&6
   3320 else
   3321   ac_save_c_werror_flag=$ac_c_werror_flag
   3322    ac_c_werror_flag=yes
   3323    ac_cv_prog_cc_g=no
   3324    CFLAGS="-g"
   3325    cat >conftest.$ac_ext <<_ACEOF
   3326 /* confdefs.h.  */
   3327 _ACEOF
   3328 cat confdefs.h >>conftest.$ac_ext
   3329 cat >>conftest.$ac_ext <<_ACEOF
   3330 /* end confdefs.h.  */
   3331 
   3332 int
   3333 main ()
   3334 {
   3335 
   3336   ;
   3337   return 0;
   3338 }
   3339 _ACEOF
   3340 rm -f conftest.$ac_objext
   3341 if { (ac_try="$ac_compile"
   3342 case "(($ac_try" in
   3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3344   *) ac_try_echo=$ac_try;;
   3345 esac
   3346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3347 $as_echo "$ac_try_echo") >&5
   3348   (eval "$ac_compile") 2>conftest.er1
   3349   ac_status=$?
   3350   grep -v '^ *+' conftest.er1 >conftest.err
   3351   rm -f conftest.er1
   3352   cat conftest.err >&5
   3353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3354   (exit $ac_status); } && {
   3355 	 test -z "$ac_c_werror_flag" ||
   3356 	 test ! -s conftest.err
   3357        } && test -s conftest.$ac_objext; then
   3358   ac_cv_prog_cc_g=yes
   3359 else
   3360   $as_echo "$as_me: failed program was:" >&5
   3361 sed 's/^/| /' conftest.$ac_ext >&5
   3362 
   3363 	CFLAGS=""
   3364       cat >conftest.$ac_ext <<_ACEOF
   3365 /* confdefs.h.  */
   3366 _ACEOF
   3367 cat confdefs.h >>conftest.$ac_ext
   3368 cat >>conftest.$ac_ext <<_ACEOF
   3369 /* end confdefs.h.  */
   3370 
   3371 int
   3372 main ()
   3373 {
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 rm -f conftest.$ac_objext
   3380 if { (ac_try="$ac_compile"
   3381 case "(($ac_try" in
   3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3383   *) ac_try_echo=$ac_try;;
   3384 esac
   3385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3386 $as_echo "$ac_try_echo") >&5
   3387   (eval "$ac_compile") 2>conftest.er1
   3388   ac_status=$?
   3389   grep -v '^ *+' conftest.er1 >conftest.err
   3390   rm -f conftest.er1
   3391   cat conftest.err >&5
   3392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3393   (exit $ac_status); } && {
   3394 	 test -z "$ac_c_werror_flag" ||
   3395 	 test ! -s conftest.err
   3396        } && test -s conftest.$ac_objext; then
   3397   :
   3398 else
   3399   $as_echo "$as_me: failed program was:" >&5
   3400 sed 's/^/| /' conftest.$ac_ext >&5
   3401 
   3402 	ac_c_werror_flag=$ac_save_c_werror_flag
   3403 	 CFLAGS="-g"
   3404 	 cat >conftest.$ac_ext <<_ACEOF
   3405 /* confdefs.h.  */
   3406 _ACEOF
   3407 cat confdefs.h >>conftest.$ac_ext
   3408 cat >>conftest.$ac_ext <<_ACEOF
   3409 /* end confdefs.h.  */
   3410 
   3411 int
   3412 main ()
   3413 {
   3414 
   3415   ;
   3416   return 0;
   3417 }
   3418 _ACEOF
   3419 rm -f conftest.$ac_objext
   3420 if { (ac_try="$ac_compile"
   3421 case "(($ac_try" in
   3422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3423   *) ac_try_echo=$ac_try;;
   3424 esac
   3425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3426 $as_echo "$ac_try_echo") >&5
   3427   (eval "$ac_compile") 2>conftest.er1
   3428   ac_status=$?
   3429   grep -v '^ *+' conftest.er1 >conftest.err
   3430   rm -f conftest.er1
   3431   cat conftest.err >&5
   3432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3433   (exit $ac_status); } && {
   3434 	 test -z "$ac_c_werror_flag" ||
   3435 	 test ! -s conftest.err
   3436        } && test -s conftest.$ac_objext; then
   3437   ac_cv_prog_cc_g=yes
   3438 else
   3439   $as_echo "$as_me: failed program was:" >&5
   3440 sed 's/^/| /' conftest.$ac_ext >&5
   3441 
   3442 
   3443 fi
   3444 
   3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3446 fi
   3447 
   3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3449 fi
   3450 
   3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3452    ac_c_werror_flag=$ac_save_c_werror_flag
   3453 fi
   3454 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3455 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3456 if test "$ac_test_CFLAGS" = set; then
   3457   CFLAGS=$ac_save_CFLAGS
   3458 elif test $ac_cv_prog_cc_g = yes; then
   3459   if test "$GCC" = yes; then
   3460     CFLAGS="-g -O2"
   3461   else
   3462     CFLAGS="-g"
   3463   fi
   3464 else
   3465   if test "$GCC" = yes; then
   3466     CFLAGS="-O2"
   3467   else
   3468     CFLAGS=
   3469   fi
   3470 fi
   3471 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3472 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3473 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3474   $as_echo_n "(cached) " >&6
   3475 else
   3476   ac_cv_prog_cc_c89=no
   3477 ac_save_CC=$CC
   3478 cat >conftest.$ac_ext <<_ACEOF
   3479 /* confdefs.h.  */
   3480 _ACEOF
   3481 cat confdefs.h >>conftest.$ac_ext
   3482 cat >>conftest.$ac_ext <<_ACEOF
   3483 /* end confdefs.h.  */
   3484 #include <stdarg.h>
   3485 #include <stdio.h>
   3486 #include <sys/types.h>
   3487 #include <sys/stat.h>
   3488 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3489 struct buf { int x; };
   3490 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3491 static char *e (p, i)
   3492      char **p;
   3493      int i;
   3494 {
   3495   return p[i];
   3496 }
   3497 static char *f (char * (*g) (char **, int), char **p, ...)
   3498 {
   3499   char *s;
   3500   va_list v;
   3501   va_start (v,p);
   3502   s = g (p, va_arg (v,int));
   3503   va_end (v);
   3504   return s;
   3505 }
   3506 
   3507 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3508    function prototypes and stuff, but not '\xHH' hex character constants.
   3509    These don't provoke an error unfortunately, instead are silently treated
   3510    as 'x'.  The following induces an error, until -std is added to get
   3511    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3512    array size at least.  It's necessary to write '\x00'==0 to get something
   3513    that's true only with -std.  */
   3514 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3515 
   3516 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3517    inside strings and character constants.  */
   3518 #define FOO(x) 'x'
   3519 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3520 
   3521 int test (int i, double x);
   3522 struct s1 {int (*f) (int a);};
   3523 struct s2 {int (*f) (double a);};
   3524 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3525 int argc;
   3526 char **argv;
   3527 int
   3528 main ()
   3529 {
   3530 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3536 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3537 do
   3538   CC="$ac_save_CC $ac_arg"
   3539   rm -f conftest.$ac_objext
   3540 if { (ac_try="$ac_compile"
   3541 case "(($ac_try" in
   3542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3543   *) ac_try_echo=$ac_try;;
   3544 esac
   3545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3546 $as_echo "$ac_try_echo") >&5
   3547   (eval "$ac_compile") 2>conftest.er1
   3548   ac_status=$?
   3549   grep -v '^ *+' conftest.er1 >conftest.err
   3550   rm -f conftest.er1
   3551   cat conftest.err >&5
   3552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3553   (exit $ac_status); } && {
   3554 	 test -z "$ac_c_werror_flag" ||
   3555 	 test ! -s conftest.err
   3556        } && test -s conftest.$ac_objext; then
   3557   ac_cv_prog_cc_c89=$ac_arg
   3558 else
   3559   $as_echo "$as_me: failed program was:" >&5
   3560 sed 's/^/| /' conftest.$ac_ext >&5
   3561 
   3562 
   3563 fi
   3564 
   3565 rm -f core conftest.err conftest.$ac_objext
   3566   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3567 done
   3568 rm -f conftest.$ac_ext
   3569 CC=$ac_save_CC
   3570 
   3571 fi
   3572 # AC_CACHE_VAL
   3573 case "x$ac_cv_prog_cc_c89" in
   3574   x)
   3575     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3576 $as_echo "none needed" >&6; } ;;
   3577   xno)
   3578     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3579 $as_echo "unsupported" >&6; } ;;
   3580   *)
   3581     CC="$CC $ac_cv_prog_cc_c89"
   3582     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3583 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3584 esac
   3585 
   3586 
   3587 ac_ext=c
   3588 ac_cpp='$CPP $CPPFLAGS'
   3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3592 DEPDIR="${am__leading_dot}deps"
   3593 
   3594 ac_config_commands="$ac_config_commands depfiles"
   3595 
   3596 
   3597 am_make=${MAKE-make}
   3598 cat > confinc << 'END'
   3599 am__doit:
   3600 	@echo this is the am__doit target
   3601 .PHONY: am__doit
   3602 END
   3603 # If we don't find an include directive, just comment out the code.
   3604 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3605 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3606 am__include="#"
   3607 am__quote=
   3608 _am_result=none
   3609 # First try GNU make style include.
   3610 echo "include confinc" > confmf
   3611 # Ignore all kinds of additional output from `make'.
   3612 case `$am_make -s -f confmf 2> /dev/null` in #(
   3613 *the\ am__doit\ target*)
   3614   am__include=include
   3615   am__quote=
   3616   _am_result=GNU
   3617   ;;
   3618 esac
   3619 # Now try BSD make style include.
   3620 if test "$am__include" = "#"; then
   3621    echo '.include "confinc"' > confmf
   3622    case `$am_make -s -f confmf 2> /dev/null` in #(
   3623    *the\ am__doit\ target*)
   3624      am__include=.include
   3625      am__quote="\""
   3626      _am_result=BSD
   3627      ;;
   3628    esac
   3629 fi
   3630 
   3631 
   3632 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3633 $as_echo "$_am_result" >&6; }
   3634 rm -f confinc confmf
   3635 
   3636 # Check whether --enable-dependency-tracking was given.
   3637 if test "${enable_dependency_tracking+set}" = set; then
   3638   enableval=$enable_dependency_tracking;
   3639 fi
   3640 
   3641 if test "x$enable_dependency_tracking" != xno; then
   3642   am_depcomp="$ac_aux_dir/depcomp"
   3643   AMDEPBACKSLASH='\'
   3644 fi
   3645  if test "x$enable_dependency_tracking" != xno; then
   3646   AMDEP_TRUE=
   3647   AMDEP_FALSE='#'
   3648 else
   3649   AMDEP_TRUE='#'
   3650   AMDEP_FALSE=
   3651 fi
   3652 
   3653 
   3654 
   3655 depcc="$CC"   am_compiler_list=
   3656 
   3657 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3658 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3659 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3660   $as_echo_n "(cached) " >&6
   3661 else
   3662   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3663   # We make a subdir and do the tests there.  Otherwise we can end up
   3664   # making bogus files that we don't know about and never remove.  For
   3665   # instance it was reported that on HP-UX the gcc test will end up
   3666   # making a dummy file named `D' -- because `-MD' means `put the output
   3667   # in D'.
   3668   mkdir conftest.dir
   3669   # Copy depcomp to subdir because otherwise we won't find it if we're
   3670   # using a relative directory.
   3671   cp "$am_depcomp" conftest.dir
   3672   cd conftest.dir
   3673   # We will build objects and dependencies in a subdirectory because
   3674   # it helps to detect inapplicable dependency modes.  For instance
   3675   # both Tru64's cc and ICC support -MD to output dependencies as a
   3676   # side effect of compilation, but ICC will put the dependencies in
   3677   # the current directory while Tru64 will put them in the object
   3678   # directory.
   3679   mkdir sub
   3680 
   3681   am_cv_CC_dependencies_compiler_type=none
   3682   if test "$am_compiler_list" = ""; then
   3683      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3684   fi
   3685   am__universal=false
   3686   case " $depcc " in #(
   3687      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3688      esac
   3689 
   3690   for depmode in $am_compiler_list; do
   3691     # Setup a source with many dependencies, because some compilers
   3692     # like to wrap large dependency lists on column 80 (with \), and
   3693     # we should not choose a depcomp mode which is confused by this.
   3694     #
   3695     # We need to recreate these files for each test, as the compiler may
   3696     # overwrite some of them when testing with obscure command lines.
   3697     # This happens at least with the AIX C compiler.
   3698     : > sub/conftest.c
   3699     for i in 1 2 3 4 5 6; do
   3700       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3701       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3702       # Solaris 8's {/usr,}/bin/sh.
   3703       touch sub/conftst$i.h
   3704     done
   3705     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3706 
   3707     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3708     # mode.  It turns out that the SunPro C++ compiler does not properly
   3709     # handle `-M -o', and we need to detect this.  Also, some Intel
   3710     # versions had trouble with output in subdirs
   3711     am__obj=sub/conftest.${OBJEXT-o}
   3712     am__minus_obj="-o $am__obj"
   3713     case $depmode in
   3714     gcc)
   3715       # This depmode causes a compiler race in universal mode.
   3716       test "$am__universal" = false || continue
   3717       ;;
   3718     nosideeffect)
   3719       # after this tag, mechanisms are not by side-effect, so they'll
   3720       # only be used when explicitly requested
   3721       if test "x$enable_dependency_tracking" = xyes; then
   3722 	continue
   3723       else
   3724 	break
   3725       fi
   3726       ;;
   3727     msvisualcpp | msvcmsys)
   3728       # This compiler won't grok `-c -o', but also, the minuso test has
   3729       # not run yet.  These depmodes are late enough in the game, and
   3730       # so weak that their functioning should not be impacted.
   3731       am__obj=conftest.${OBJEXT-o}
   3732       am__minus_obj=
   3733       ;;
   3734     none) break ;;
   3735     esac
   3736     if depmode=$depmode \
   3737        source=sub/conftest.c object=$am__obj \
   3738        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3739        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3740          >/dev/null 2>conftest.err &&
   3741        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3742        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3743        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3744        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3745       # icc doesn't choke on unknown options, it will just issue warnings
   3746       # or remarks (even with -Werror).  So we grep stderr for any message
   3747       # that says an option was ignored or not supported.
   3748       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3749       #   icc: Command line warning: ignoring option '-M'; no argument required
   3750       # The diagnosis changed in icc 8.0:
   3751       #   icc: Command line remark: option '-MP' not supported
   3752       if (grep 'ignoring option' conftest.err ||
   3753           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3754         am_cv_CC_dependencies_compiler_type=$depmode
   3755         break
   3756       fi
   3757     fi
   3758   done
   3759 
   3760   cd ..
   3761   rm -rf conftest.dir
   3762 else
   3763   am_cv_CC_dependencies_compiler_type=none
   3764 fi
   3765 
   3766 fi
   3767 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3768 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3769 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3770 
   3771  if
   3772   test "x$enable_dependency_tracking" != xno \
   3773   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3774   am__fastdepCC_TRUE=
   3775   am__fastdepCC_FALSE='#'
   3776 else
   3777   am__fastdepCC_TRUE='#'
   3778   am__fastdepCC_FALSE=
   3779 fi
   3780 
   3781 
   3782 # Check whether --enable-shared was given.
   3783 if test "${enable_shared+set}" = set; then
   3784   enableval=$enable_shared; p=${PACKAGE-default}
   3785     case $enableval in
   3786     yes) enable_shared=yes ;;
   3787     no) enable_shared=no ;;
   3788     *)
   3789       enable_shared=no
   3790       # Look at the argument we got.  We use all the common list separators.
   3791       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3792       for pkg in $enableval; do
   3793 	IFS="$lt_save_ifs"
   3794 	if test "X$pkg" = "X$p"; then
   3795 	  enable_shared=yes
   3796 	fi
   3797       done
   3798       IFS="$lt_save_ifs"
   3799       ;;
   3800     esac
   3801 else
   3802   enable_shared=yes
   3803 fi
   3804 
   3805 
   3806 # Check whether --enable-static was given.
   3807 if test "${enable_static+set}" = set; then
   3808   enableval=$enable_static; p=${PACKAGE-default}
   3809     case $enableval in
   3810     yes) enable_static=yes ;;
   3811     no) enable_static=no ;;
   3812     *)
   3813      enable_static=no
   3814       # Look at the argument we got.  We use all the common list separators.
   3815       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3816       for pkg in $enableval; do
   3817 	IFS="$lt_save_ifs"
   3818 	if test "X$pkg" = "X$p"; then
   3819 	  enable_static=yes
   3820 	fi
   3821       done
   3822       IFS="$lt_save_ifs"
   3823       ;;
   3824     esac
   3825 else
   3826   enable_static=yes
   3827 fi
   3828 
   3829 
   3830 # Check whether --enable-fast-install was given.
   3831 if test "${enable_fast_install+set}" = set; then
   3832   enableval=$enable_fast_install; p=${PACKAGE-default}
   3833     case $enableval in
   3834     yes) enable_fast_install=yes ;;
   3835     no) enable_fast_install=no ;;
   3836     *)
   3837       enable_fast_install=no
   3838       # Look at the argument we got.  We use all the common list separators.
   3839       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3840       for pkg in $enableval; do
   3841 	IFS="$lt_save_ifs"
   3842 	if test "X$pkg" = "X$p"; then
   3843 	  enable_fast_install=yes
   3844 	fi
   3845       done
   3846       IFS="$lt_save_ifs"
   3847       ;;
   3848     esac
   3849 else
   3850   enable_fast_install=yes
   3851 fi
   3852 
   3853 
   3854 # Make sure we can run config.sub.
   3855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3856   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3857 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3858    { (exit 1); exit 1; }; }
   3859 
   3860 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3861 $as_echo_n "checking build system type... " >&6; }
   3862 if test "${ac_cv_build+set}" = set; then
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   ac_build_alias=$build_alias
   3866 test "x$ac_build_alias" = x &&
   3867   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3868 test "x$ac_build_alias" = x &&
   3869   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3870 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3871    { (exit 1); exit 1; }; }
   3872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3873   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3874 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3875    { (exit 1); exit 1; }; }
   3876 
   3877 fi
   3878 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3879 $as_echo "$ac_cv_build" >&6; }
   3880 case $ac_cv_build in
   3881 *-*-*) ;;
   3882 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3883 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3884    { (exit 1); exit 1; }; };;
   3885 esac
   3886 build=$ac_cv_build
   3887 ac_save_IFS=$IFS; IFS='-'
   3888 set x $ac_cv_build
   3889 shift
   3890 build_cpu=$1
   3891 build_vendor=$2
   3892 shift; shift
   3893 # Remember, the first character of IFS is used to create $*,
   3894 # except with old shells:
   3895 build_os=$*
   3896 IFS=$ac_save_IFS
   3897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3898 
   3899 
   3900 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3901 $as_echo_n "checking host system type... " >&6; }
   3902 if test "${ac_cv_host+set}" = set; then
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   if test "x$host_alias" = x; then
   3906   ac_cv_host=$ac_cv_build
   3907 else
   3908   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3909     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3910 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3911    { (exit 1); exit 1; }; }
   3912 fi
   3913 
   3914 fi
   3915 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3916 $as_echo "$ac_cv_host" >&6; }
   3917 case $ac_cv_host in
   3918 *-*-*) ;;
   3919 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3920 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3921    { (exit 1); exit 1; }; };;
   3922 esac
   3923 host=$ac_cv_host
   3924 ac_save_IFS=$IFS; IFS='-'
   3925 set x $ac_cv_host
   3926 shift
   3927 host_cpu=$1
   3928 host_vendor=$2
   3929 shift; shift
   3930 # Remember, the first character of IFS is used to create $*,
   3931 # except with old shells:
   3932 host_os=$*
   3933 IFS=$ac_save_IFS
   3934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3935 
   3936 
   3937 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3938 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3939 if test "${lt_cv_path_SED+set}" = set; then
   3940   $as_echo_n "(cached) " >&6
   3941 else
   3942   # Loop through the user's path and test for sed and gsed.
   3943 # Then use that list of sed's as ones to test for truncation.
   3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3945 for as_dir in $PATH
   3946 do
   3947   IFS=$as_save_IFS
   3948   test -z "$as_dir" && as_dir=.
   3949   for lt_ac_prog in sed gsed; do
   3950     for ac_exec_ext in '' $ac_executable_extensions; do
   3951       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3952         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3953       fi
   3954     done
   3955   done
   3956 done
   3957 IFS=$as_save_IFS
   3958 lt_ac_max=0
   3959 lt_ac_count=0
   3960 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3961 # along with /bin/sed that truncates output.
   3962 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3963   test ! -f $lt_ac_sed && continue
   3964   cat /dev/null > conftest.in
   3965   lt_ac_count=0
   3966   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3967   # Check for GNU sed and select it if it is found.
   3968   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3969     lt_cv_path_SED=$lt_ac_sed
   3970     break
   3971   fi
   3972   while true; do
   3973     cat conftest.in conftest.in >conftest.tmp
   3974     mv conftest.tmp conftest.in
   3975     cp conftest.in conftest.nl
   3976     echo >>conftest.nl
   3977     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3978     cmp -s conftest.out conftest.nl || break
   3979     # 10000 chars as input seems more than enough
   3980     test $lt_ac_count -gt 10 && break
   3981     lt_ac_count=`expr $lt_ac_count + 1`
   3982     if test $lt_ac_count -gt $lt_ac_max; then
   3983       lt_ac_max=$lt_ac_count
   3984       lt_cv_path_SED=$lt_ac_sed
   3985     fi
   3986   done
   3987 done
   3988 
   3989 fi
   3990 
   3991 SED=$lt_cv_path_SED
   3992 
   3993 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3994 $as_echo "$SED" >&6; }
   3995 
   3996 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3997 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3998 if test "${ac_cv_path_GREP+set}" = set; then
   3999   $as_echo_n "(cached) " >&6
   4000 else
   4001   if test -z "$GREP"; then
   4002   ac_path_GREP_found=false
   4003   # Loop through the user's path and test for each of PROGNAME-LIST
   4004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4006 do
   4007   IFS=$as_save_IFS
   4008   test -z "$as_dir" && as_dir=.
   4009   for ac_prog in grep ggrep; do
   4010     for ac_exec_ext in '' $ac_executable_extensions; do
   4011       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4012       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4013 # Check for GNU ac_path_GREP and select it if it is found.
   4014   # Check for GNU $ac_path_GREP
   4015 case `"$ac_path_GREP" --version 2>&1` in
   4016 *GNU*)
   4017   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4018 *)
   4019   ac_count=0
   4020   $as_echo_n 0123456789 >"conftest.in"
   4021   while :
   4022   do
   4023     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4024     mv "conftest.tmp" "conftest.in"
   4025     cp "conftest.in" "conftest.nl"
   4026     $as_echo 'GREP' >> "conftest.nl"
   4027     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4028     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4029     ac_count=`expr $ac_count + 1`
   4030     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4031       # Best one so far, save it but keep looking for a better one
   4032       ac_cv_path_GREP="$ac_path_GREP"
   4033       ac_path_GREP_max=$ac_count
   4034     fi
   4035     # 10*(2^10) chars as input seems more than enough
   4036     test $ac_count -gt 10 && break
   4037   done
   4038   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4039 esac
   4040 
   4041       $ac_path_GREP_found && break 3
   4042     done
   4043   done
   4044 done
   4045 IFS=$as_save_IFS
   4046   if test -z "$ac_cv_path_GREP"; then
   4047     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4048 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4049    { (exit 1); exit 1; }; }
   4050   fi
   4051 else
   4052   ac_cv_path_GREP=$GREP
   4053 fi
   4054 
   4055 fi
   4056 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4057 $as_echo "$ac_cv_path_GREP" >&6; }
   4058  GREP="$ac_cv_path_GREP"
   4059 
   4060 
   4061 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4062 $as_echo_n "checking for egrep... " >&6; }
   4063 if test "${ac_cv_path_EGREP+set}" = set; then
   4064   $as_echo_n "(cached) " >&6
   4065 else
   4066   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4067    then ac_cv_path_EGREP="$GREP -E"
   4068    else
   4069      if test -z "$EGREP"; then
   4070   ac_path_EGREP_found=false
   4071   # Loop through the user's path and test for each of PROGNAME-LIST
   4072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4073 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4074 do
   4075   IFS=$as_save_IFS
   4076   test -z "$as_dir" && as_dir=.
   4077   for ac_prog in egrep; do
   4078     for ac_exec_ext in '' $ac_executable_extensions; do
   4079       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4080       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4081 # Check for GNU ac_path_EGREP and select it if it is found.
   4082   # Check for GNU $ac_path_EGREP
   4083 case `"$ac_path_EGREP" --version 2>&1` in
   4084 *GNU*)
   4085   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4086 *)
   4087   ac_count=0
   4088   $as_echo_n 0123456789 >"conftest.in"
   4089   while :
   4090   do
   4091     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4092     mv "conftest.tmp" "conftest.in"
   4093     cp "conftest.in" "conftest.nl"
   4094     $as_echo 'EGREP' >> "conftest.nl"
   4095     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4096     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4097     ac_count=`expr $ac_count + 1`
   4098     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4099       # Best one so far, save it but keep looking for a better one
   4100       ac_cv_path_EGREP="$ac_path_EGREP"
   4101       ac_path_EGREP_max=$ac_count
   4102     fi
   4103     # 10*(2^10) chars as input seems more than enough
   4104     test $ac_count -gt 10 && break
   4105   done
   4106   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4107 esac
   4108 
   4109       $ac_path_EGREP_found && break 3
   4110     done
   4111   done
   4112 done
   4113 IFS=$as_save_IFS
   4114   if test -z "$ac_cv_path_EGREP"; then
   4115     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4116 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4117    { (exit 1); exit 1; }; }
   4118   fi
   4119 else
   4120   ac_cv_path_EGREP=$EGREP
   4121 fi
   4122 
   4123    fi
   4124 fi
   4125 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4126 $as_echo "$ac_cv_path_EGREP" >&6; }
   4127  EGREP="$ac_cv_path_EGREP"
   4128 
   4129 
   4130 
   4131 # Check whether --with-gnu-ld was given.
   4132 if test "${with_gnu_ld+set}" = set; then
   4133   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4134 else
   4135   with_gnu_ld=no
   4136 fi
   4137 
   4138 ac_prog=ld
   4139 if test "$GCC" = yes; then
   4140   # Check if gcc -print-prog-name=ld gives a path.
   4141   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4142 $as_echo_n "checking for ld used by $CC... " >&6; }
   4143   case $host in
   4144   *-*-mingw*)
   4145     # gcc leaves a trailing carriage return which upsets mingw
   4146     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4147   *)
   4148     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4149   esac
   4150   case $ac_prog in
   4151     # Accept absolute paths.
   4152     [\\/]* | ?:[\\/]*)
   4153       re_direlt='/[^/][^/]*/\.\./'
   4154       # Canonicalize the pathname of ld
   4155       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4156       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4157 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4158       done
   4159       test -z "$LD" && LD="$ac_prog"
   4160       ;;
   4161   "")
   4162     # If it fails, then pretend we aren't using GCC.
   4163     ac_prog=ld
   4164     ;;
   4165   *)
   4166     # If it is relative, then search for the first ld in PATH.
   4167     with_gnu_ld=unknown
   4168     ;;
   4169   esac
   4170 elif test "$with_gnu_ld" = yes; then
   4171   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4172 $as_echo_n "checking for GNU ld... " >&6; }
   4173 else
   4174   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4175 $as_echo_n "checking for non-GNU ld... " >&6; }
   4176 fi
   4177 if test "${lt_cv_path_LD+set}" = set; then
   4178   $as_echo_n "(cached) " >&6
   4179 else
   4180   if test -z "$LD"; then
   4181   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4182   for ac_dir in $PATH; do
   4183     IFS="$lt_save_ifs"
   4184     test -z "$ac_dir" && ac_dir=.
   4185     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4186       lt_cv_path_LD="$ac_dir/$ac_prog"
   4187       # Check to see if the program is GNU ld.  I'd rather use --version,
   4188       # but apparently some variants of GNU ld only accept -v.
   4189       # Break only if it was the GNU/non-GNU ld that we prefer.
   4190       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4191       *GNU* | *'with BFD'*)
   4192 	test "$with_gnu_ld" != no && break
   4193 	;;
   4194       *)
   4195 	test "$with_gnu_ld" != yes && break
   4196 	;;
   4197       esac
   4198     fi
   4199   done
   4200   IFS="$lt_save_ifs"
   4201 else
   4202   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4203 fi
   4204 fi
   4205 
   4206 LD="$lt_cv_path_LD"
   4207 if test -n "$LD"; then
   4208   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4209 $as_echo "$LD" >&6; }
   4210 else
   4211   { $as_echo "$as_me:$LINENO: result: no" >&5
   4212 $as_echo "no" >&6; }
   4213 fi
   4214 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4215 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4216    { (exit 1); exit 1; }; }
   4217 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4218 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4219 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4220   $as_echo_n "(cached) " >&6
   4221 else
   4222   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4223 case `$LD -v 2>&1 </dev/null` in
   4224 *GNU* | *'with BFD'*)
   4225   lt_cv_prog_gnu_ld=yes
   4226   ;;
   4227 *)
   4228   lt_cv_prog_gnu_ld=no
   4229   ;;
   4230 esac
   4231 fi
   4232 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4233 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4234 with_gnu_ld=$lt_cv_prog_gnu_ld
   4235 
   4236 
   4237 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4238 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4239 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4240   $as_echo_n "(cached) " >&6
   4241 else
   4242   lt_cv_ld_reload_flag='-r'
   4243 fi
   4244 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4245 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4246 reload_flag=$lt_cv_ld_reload_flag
   4247 case $reload_flag in
   4248 "" | " "*) ;;
   4249 *) reload_flag=" $reload_flag" ;;
   4250 esac
   4251 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4252 case $host_os in
   4253   darwin*)
   4254     if test "$GCC" = yes; then
   4255       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4256     else
   4257       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4258     fi
   4259     ;;
   4260 esac
   4261 
   4262 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4263 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4264 if test "${lt_cv_path_NM+set}" = set; then
   4265   $as_echo_n "(cached) " >&6
   4266 else
   4267   if test -n "$NM"; then
   4268   # Let the user override the test.
   4269   lt_cv_path_NM="$NM"
   4270 else
   4271   lt_nm_to_check="${ac_tool_prefix}nm"
   4272   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4273     lt_nm_to_check="$lt_nm_to_check nm"
   4274   fi
   4275   for lt_tmp_nm in $lt_nm_to_check; do
   4276     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4277     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4278       IFS="$lt_save_ifs"
   4279       test -z "$ac_dir" && ac_dir=.
   4280       tmp_nm="$ac_dir/$lt_tmp_nm"
   4281       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4282 	# Check to see if the nm accepts a BSD-compat flag.
   4283 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4284 	#   nm: unknown option "B" ignored
   4285 	# Tru64's nm complains that /dev/null is an invalid object file
   4286 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4287 	*/dev/null* | *'Invalid file or object type'*)
   4288 	  lt_cv_path_NM="$tmp_nm -B"
   4289 	  break
   4290 	  ;;
   4291 	*)
   4292 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4293 	  */dev/null*)
   4294 	    lt_cv_path_NM="$tmp_nm -p"
   4295 	    break
   4296 	    ;;
   4297 	  *)
   4298 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4299 	    continue # so that we can try to find one that supports BSD flags
   4300 	    ;;
   4301 	  esac
   4302 	  ;;
   4303 	esac
   4304       fi
   4305     done
   4306     IFS="$lt_save_ifs"
   4307   done
   4308   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4309 fi
   4310 fi
   4311 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4312 $as_echo "$lt_cv_path_NM" >&6; }
   4313 NM="$lt_cv_path_NM"
   4314 
   4315 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4316 $as_echo_n "checking whether ln -s works... " >&6; }
   4317 LN_S=$as_ln_s
   4318 if test "$LN_S" = "ln -s"; then
   4319   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4320 $as_echo "yes" >&6; }
   4321 else
   4322   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4323 $as_echo "no, using $LN_S" >&6; }
   4324 fi
   4325 
   4326 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4327 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4328 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4329   $as_echo_n "(cached) " >&6
   4330 else
   4331   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4332 lt_cv_file_magic_test_file=
   4333 lt_cv_deplibs_check_method='unknown'
   4334 # Need to set the preceding variable on all platforms that support
   4335 # interlibrary dependencies.
   4336 # 'none' -- dependencies not supported.
   4337 # `unknown' -- same as none, but documents that we really don't know.
   4338 # 'pass_all' -- all dependencies passed with no checks.
   4339 # 'test_compile' -- check by making test program.
   4340 # 'file_magic [[regex]]' -- check by looking for files in library path
   4341 # which responds to the $file_magic_cmd with a given extended regex.
   4342 # If you have `file' or equivalent on your system and you're not sure
   4343 # whether `pass_all' will *always* work, you probably want this one.
   4344 
   4345 case $host_os in
   4346 aix[4-9]*)
   4347   lt_cv_deplibs_check_method=pass_all
   4348   ;;
   4349 
   4350 beos*)
   4351   lt_cv_deplibs_check_method=pass_all
   4352   ;;
   4353 
   4354 bsdi[45]*)
   4355   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4356   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4357   lt_cv_file_magic_test_file=/shlib/libc.so
   4358   ;;
   4359 
   4360 cygwin*)
   4361   # func_win32_libid is a shell function defined in ltmain.sh
   4362   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4363   lt_cv_file_magic_cmd='func_win32_libid'
   4364   ;;
   4365 
   4366 mingw* | pw32*)
   4367   # Base MSYS/MinGW do not provide the 'file' command needed by
   4368   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4369   # unless we find 'file', for example because we are cross-compiling.
   4370   if ( file / ) >/dev/null 2>&1; then
   4371     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4372     lt_cv_file_magic_cmd='func_win32_libid'
   4373   else
   4374     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4375     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4376   fi
   4377   ;;
   4378 
   4379 darwin* | rhapsody*)
   4380   lt_cv_deplibs_check_method=pass_all
   4381   ;;
   4382 
   4383 freebsd* | dragonfly*)
   4384   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4385     case $host_cpu in
   4386     i*86 )
   4387       # Not sure whether the presence of OpenBSD here was a mistake.
   4388       # Let's accept both of them until this is cleared up.
   4389       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4390       lt_cv_file_magic_cmd=/usr/bin/file
   4391       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4392       ;;
   4393     esac
   4394   else
   4395     lt_cv_deplibs_check_method=pass_all
   4396   fi
   4397   ;;
   4398 
   4399 gnu*)
   4400   lt_cv_deplibs_check_method=pass_all
   4401   ;;
   4402 
   4403 hpux10.20* | hpux11*)
   4404   lt_cv_file_magic_cmd=/usr/bin/file
   4405   case $host_cpu in
   4406   ia64*)
   4407     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4408     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4409     ;;
   4410   hppa*64*)
   4411     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]'
   4412     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4413     ;;
   4414   *)
   4415     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4416     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4417     ;;
   4418   esac
   4419   ;;
   4420 
   4421 interix[3-9]*)
   4422   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4423   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4424   ;;
   4425 
   4426 irix5* | irix6* | nonstopux*)
   4427   case $LD in
   4428   *-32|*"-32 ") libmagic=32-bit;;
   4429   *-n32|*"-n32 ") libmagic=N32;;
   4430   *-64|*"-64 ") libmagic=64-bit;;
   4431   *) libmagic=never-match;;
   4432   esac
   4433   lt_cv_deplibs_check_method=pass_all
   4434   ;;
   4435 
   4436 # This must be Linux ELF.
   4437 linux* | k*bsd*-gnu)
   4438   lt_cv_deplibs_check_method=pass_all
   4439   ;;
   4440 
   4441 netbsd*)
   4442   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4443     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4444   else
   4445     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4446   fi
   4447   ;;
   4448 
   4449 newos6*)
   4450   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4451   lt_cv_file_magic_cmd=/usr/bin/file
   4452   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4453   ;;
   4454 
   4455 nto-qnx*)
   4456   lt_cv_deplibs_check_method=unknown
   4457   ;;
   4458 
   4459 openbsd*)
   4460   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4461     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4462   else
   4463     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4464   fi
   4465   ;;
   4466 
   4467 osf3* | osf4* | osf5*)
   4468   lt_cv_deplibs_check_method=pass_all
   4469   ;;
   4470 
   4471 rdos*)
   4472   lt_cv_deplibs_check_method=pass_all
   4473   ;;
   4474 
   4475 solaris*)
   4476   lt_cv_deplibs_check_method=pass_all
   4477   ;;
   4478 
   4479 sysv4 | sysv4.3*)
   4480   case $host_vendor in
   4481   motorola)
   4482     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]'
   4483     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4484     ;;
   4485   ncr)
   4486     lt_cv_deplibs_check_method=pass_all
   4487     ;;
   4488   sequent)
   4489     lt_cv_file_magic_cmd='/bin/file'
   4490     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4491     ;;
   4492   sni)
   4493     lt_cv_file_magic_cmd='/bin/file'
   4494     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4495     lt_cv_file_magic_test_file=/lib/libc.so
   4496     ;;
   4497   siemens)
   4498     lt_cv_deplibs_check_method=pass_all
   4499     ;;
   4500   pc)
   4501     lt_cv_deplibs_check_method=pass_all
   4502     ;;
   4503   esac
   4504   ;;
   4505 
   4506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4507   lt_cv_deplibs_check_method=pass_all
   4508   ;;
   4509 esac
   4510 
   4511 fi
   4512 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4513 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4514 file_magic_cmd=$lt_cv_file_magic_cmd
   4515 deplibs_check_method=$lt_cv_deplibs_check_method
   4516 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4517 
   4518 
   4519 
   4520 
   4521 # If no C compiler was specified, use CC.
   4522 LTCC=${LTCC-"$CC"}
   4523 
   4524 # If no C compiler flags were specified, use CFLAGS.
   4525 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4526 
   4527 # Allow CC to be a program name with arguments.
   4528 compiler=$CC
   4529 
   4530 
   4531 # Check whether --enable-libtool-lock was given.
   4532 if test "${enable_libtool_lock+set}" = set; then
   4533   enableval=$enable_libtool_lock;
   4534 fi
   4535 
   4536 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4537 
   4538 # Some flags need to be propagated to the compiler or linker for good
   4539 # libtool support.
   4540 case $host in
   4541 ia64-*-hpux*)
   4542   # Find out which ABI we are using.
   4543   echo 'int i;' > conftest.$ac_ext
   4544   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4545   (eval $ac_compile) 2>&5
   4546   ac_status=$?
   4547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4548   (exit $ac_status); }; then
   4549     case `/usr/bin/file conftest.$ac_objext` in
   4550     *ELF-32*)
   4551       HPUX_IA64_MODE="32"
   4552       ;;
   4553     *ELF-64*)
   4554       HPUX_IA64_MODE="64"
   4555       ;;
   4556     esac
   4557   fi
   4558   rm -rf conftest*
   4559   ;;
   4560 *-*-irix6*)
   4561   # Find out which ABI we are using.
   4562   echo '#line 4562 "configure"' > conftest.$ac_ext
   4563   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4564   (eval $ac_compile) 2>&5
   4565   ac_status=$?
   4566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4567   (exit $ac_status); }; then
   4568    if test "$lt_cv_prog_gnu_ld" = yes; then
   4569     case `/usr/bin/file conftest.$ac_objext` in
   4570     *32-bit*)
   4571       LD="${LD-ld} -melf32bsmip"
   4572       ;;
   4573     *N32*)
   4574       LD="${LD-ld} -melf32bmipn32"
   4575       ;;
   4576     *64-bit*)
   4577       LD="${LD-ld} -melf64bmip"
   4578       ;;
   4579     esac
   4580    else
   4581     case `/usr/bin/file conftest.$ac_objext` in
   4582     *32-bit*)
   4583       LD="${LD-ld} -32"
   4584       ;;
   4585     *N32*)
   4586       LD="${LD-ld} -n32"
   4587       ;;
   4588     *64-bit*)
   4589       LD="${LD-ld} -64"
   4590       ;;
   4591     esac
   4592    fi
   4593   fi
   4594   rm -rf conftest*
   4595   ;;
   4596 
   4597 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4598 s390*-*linux*|sparc*-*linux*)
   4599   # Find out which ABI we are using.
   4600   echo 'int i;' > conftest.$ac_ext
   4601   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4602   (eval $ac_compile) 2>&5
   4603   ac_status=$?
   4604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4605   (exit $ac_status); }; then
   4606     case `/usr/bin/file conftest.o` in
   4607     *32-bit*)
   4608       case $host in
   4609         x86_64-*kfreebsd*-gnu)
   4610           LD="${LD-ld} -m elf_i386_fbsd"
   4611           ;;
   4612         x86_64-*linux*)
   4613           LD="${LD-ld} -m elf_i386"
   4614           ;;
   4615         ppc64-*linux*|powerpc64-*linux*)
   4616           LD="${LD-ld} -m elf32ppclinux"
   4617           ;;
   4618         s390x-*linux*)
   4619           LD="${LD-ld} -m elf_s390"
   4620           ;;
   4621         sparc64-*linux*)
   4622           LD="${LD-ld} -m elf32_sparc"
   4623           ;;
   4624       esac
   4625       ;;
   4626     *64-bit*)
   4627       case $host in
   4628         x86_64-*kfreebsd*-gnu)
   4629           LD="${LD-ld} -m elf_x86_64_fbsd"
   4630           ;;
   4631         x86_64-*linux*)
   4632           LD="${LD-ld} -m elf_x86_64"
   4633           ;;
   4634         ppc*-*linux*|powerpc*-*linux*)
   4635           LD="${LD-ld} -m elf64ppc"
   4636           ;;
   4637         s390*-*linux*)
   4638           LD="${LD-ld} -m elf64_s390"
   4639           ;;
   4640         sparc*-*linux*)
   4641           LD="${LD-ld} -m elf64_sparc"
   4642           ;;
   4643       esac
   4644       ;;
   4645     esac
   4646   fi
   4647   rm -rf conftest*
   4648   ;;
   4649 
   4650 *-*-sco3.2v5*)
   4651   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4652   SAVE_CFLAGS="$CFLAGS"
   4653   CFLAGS="$CFLAGS -belf"
   4654   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4655 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4656 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4657   $as_echo_n "(cached) " >&6
   4658 else
   4659   ac_ext=c
   4660 ac_cpp='$CPP $CPPFLAGS'
   4661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4664 
   4665      cat >conftest.$ac_ext <<_ACEOF
   4666 /* confdefs.h.  */
   4667 _ACEOF
   4668 cat confdefs.h >>conftest.$ac_ext
   4669 cat >>conftest.$ac_ext <<_ACEOF
   4670 /* end confdefs.h.  */
   4671 
   4672 int
   4673 main ()
   4674 {
   4675 
   4676   ;
   4677   return 0;
   4678 }
   4679 _ACEOF
   4680 rm -f conftest.$ac_objext conftest$ac_exeext
   4681 if { (ac_try="$ac_link"
   4682 case "(($ac_try" in
   4683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4684   *) ac_try_echo=$ac_try;;
   4685 esac
   4686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4687 $as_echo "$ac_try_echo") >&5
   4688   (eval "$ac_link") 2>conftest.er1
   4689   ac_status=$?
   4690   grep -v '^ *+' conftest.er1 >conftest.err
   4691   rm -f conftest.er1
   4692   cat conftest.err >&5
   4693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4694   (exit $ac_status); } && {
   4695 	 test -z "$ac_c_werror_flag" ||
   4696 	 test ! -s conftest.err
   4697        } && test -s conftest$ac_exeext && {
   4698 	 test "$cross_compiling" = yes ||
   4699 	 $as_test_x conftest$ac_exeext
   4700        }; then
   4701   lt_cv_cc_needs_belf=yes
   4702 else
   4703   $as_echo "$as_me: failed program was:" >&5
   4704 sed 's/^/| /' conftest.$ac_ext >&5
   4705 
   4706 	lt_cv_cc_needs_belf=no
   4707 fi
   4708 
   4709 rm -rf conftest.dSYM
   4710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4711       conftest$ac_exeext conftest.$ac_ext
   4712      ac_ext=c
   4713 ac_cpp='$CPP $CPPFLAGS'
   4714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4717 
   4718 fi
   4719 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4720 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4721   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4722     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4723     CFLAGS="$SAVE_CFLAGS"
   4724   fi
   4725   ;;
   4726 sparc*-*solaris*)
   4727   # Find out which ABI we are using.
   4728   echo 'int i;' > conftest.$ac_ext
   4729   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4730   (eval $ac_compile) 2>&5
   4731   ac_status=$?
   4732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4733   (exit $ac_status); }; then
   4734     case `/usr/bin/file conftest.o` in
   4735     *64-bit*)
   4736       case $lt_cv_prog_gnu_ld in
   4737       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4738       *)
   4739         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4740 	  LD="${LD-ld} -64"
   4741 	fi
   4742 	;;
   4743       esac
   4744       ;;
   4745     esac
   4746   fi
   4747   rm -rf conftest*
   4748   ;;
   4749 
   4750 
   4751 esac
   4752 
   4753 need_locks="$enable_libtool_lock"
   4754 
   4755 
   4756 ac_ext=c
   4757 ac_cpp='$CPP $CPPFLAGS'
   4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4761 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4762 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4763 # On Suns, sometimes $CPP names a directory.
   4764 if test -n "$CPP" && test -d "$CPP"; then
   4765   CPP=
   4766 fi
   4767 if test -z "$CPP"; then
   4768   if test "${ac_cv_prog_CPP+set}" = set; then
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771       # Double quotes because CPP needs to be expanded
   4772     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4773     do
   4774       ac_preproc_ok=false
   4775 for ac_c_preproc_warn_flag in '' yes
   4776 do
   4777   # Use a header file that comes with gcc, so configuring glibc
   4778   # with a fresh cross-compiler works.
   4779   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4780   # <limits.h> exists even on freestanding compilers.
   4781   # On the NeXT, cc -E runs the code through the compiler's parser,
   4782   # not just through cpp. "Syntax error" is here to catch this case.
   4783   cat >conftest.$ac_ext <<_ACEOF
   4784 /* confdefs.h.  */
   4785 _ACEOF
   4786 cat confdefs.h >>conftest.$ac_ext
   4787 cat >>conftest.$ac_ext <<_ACEOF
   4788 /* end confdefs.h.  */
   4789 #ifdef __STDC__
   4790 # include <limits.h>
   4791 #else
   4792 # include <assert.h>
   4793 #endif
   4794 		     Syntax error
   4795 _ACEOF
   4796 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4797 case "(($ac_try" in
   4798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4799   *) ac_try_echo=$ac_try;;
   4800 esac
   4801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4802 $as_echo "$ac_try_echo") >&5
   4803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4804   ac_status=$?
   4805   grep -v '^ *+' conftest.er1 >conftest.err
   4806   rm -f conftest.er1
   4807   cat conftest.err >&5
   4808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4809   (exit $ac_status); } >/dev/null && {
   4810 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4811 	 test ! -s conftest.err
   4812        }; then
   4813   :
   4814 else
   4815   $as_echo "$as_me: failed program was:" >&5
   4816 sed 's/^/| /' conftest.$ac_ext >&5
   4817 
   4818   # Broken: fails on valid input.
   4819 continue
   4820 fi
   4821 
   4822 rm -f conftest.err conftest.$ac_ext
   4823 
   4824   # OK, works on sane cases.  Now check whether nonexistent headers
   4825   # can be detected and how.
   4826   cat >conftest.$ac_ext <<_ACEOF
   4827 /* confdefs.h.  */
   4828 _ACEOF
   4829 cat confdefs.h >>conftest.$ac_ext
   4830 cat >>conftest.$ac_ext <<_ACEOF
   4831 /* end confdefs.h.  */
   4832 #include <ac_nonexistent.h>
   4833 _ACEOF
   4834 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4835 case "(($ac_try" in
   4836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4837   *) ac_try_echo=$ac_try;;
   4838 esac
   4839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4840 $as_echo "$ac_try_echo") >&5
   4841   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4842   ac_status=$?
   4843   grep -v '^ *+' conftest.er1 >conftest.err
   4844   rm -f conftest.er1
   4845   cat conftest.err >&5
   4846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4847   (exit $ac_status); } >/dev/null && {
   4848 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4849 	 test ! -s conftest.err
   4850        }; then
   4851   # Broken: success on invalid input.
   4852 continue
   4853 else
   4854   $as_echo "$as_me: failed program was:" >&5
   4855 sed 's/^/| /' conftest.$ac_ext >&5
   4856 
   4857   # Passes both tests.
   4858 ac_preproc_ok=:
   4859 break
   4860 fi
   4861 
   4862 rm -f conftest.err conftest.$ac_ext
   4863 
   4864 done
   4865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4866 rm -f conftest.err conftest.$ac_ext
   4867 if $ac_preproc_ok; then
   4868   break
   4869 fi
   4870 
   4871     done
   4872     ac_cv_prog_CPP=$CPP
   4873 
   4874 fi
   4875   CPP=$ac_cv_prog_CPP
   4876 else
   4877   ac_cv_prog_CPP=$CPP
   4878 fi
   4879 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4880 $as_echo "$CPP" >&6; }
   4881 ac_preproc_ok=false
   4882 for ac_c_preproc_warn_flag in '' yes
   4883 do
   4884   # Use a header file that comes with gcc, so configuring glibc
   4885   # with a fresh cross-compiler works.
   4886   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4887   # <limits.h> exists even on freestanding compilers.
   4888   # On the NeXT, cc -E runs the code through the compiler's parser,
   4889   # not just through cpp. "Syntax error" is here to catch this case.
   4890   cat >conftest.$ac_ext <<_ACEOF
   4891 /* confdefs.h.  */
   4892 _ACEOF
   4893 cat confdefs.h >>conftest.$ac_ext
   4894 cat >>conftest.$ac_ext <<_ACEOF
   4895 /* end confdefs.h.  */
   4896 #ifdef __STDC__
   4897 # include <limits.h>
   4898 #else
   4899 # include <assert.h>
   4900 #endif
   4901 		     Syntax error
   4902 _ACEOF
   4903 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4904 case "(($ac_try" in
   4905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4906   *) ac_try_echo=$ac_try;;
   4907 esac
   4908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4909 $as_echo "$ac_try_echo") >&5
   4910   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4911   ac_status=$?
   4912   grep -v '^ *+' conftest.er1 >conftest.err
   4913   rm -f conftest.er1
   4914   cat conftest.err >&5
   4915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4916   (exit $ac_status); } >/dev/null && {
   4917 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4918 	 test ! -s conftest.err
   4919        }; then
   4920   :
   4921 else
   4922   $as_echo "$as_me: failed program was:" >&5
   4923 sed 's/^/| /' conftest.$ac_ext >&5
   4924 
   4925   # Broken: fails on valid input.
   4926 continue
   4927 fi
   4928 
   4929 rm -f conftest.err conftest.$ac_ext
   4930 
   4931   # OK, works on sane cases.  Now check whether nonexistent headers
   4932   # can be detected and how.
   4933   cat >conftest.$ac_ext <<_ACEOF
   4934 /* confdefs.h.  */
   4935 _ACEOF
   4936 cat confdefs.h >>conftest.$ac_ext
   4937 cat >>conftest.$ac_ext <<_ACEOF
   4938 /* end confdefs.h.  */
   4939 #include <ac_nonexistent.h>
   4940 _ACEOF
   4941 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4942 case "(($ac_try" in
   4943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4944   *) ac_try_echo=$ac_try;;
   4945 esac
   4946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4947 $as_echo "$ac_try_echo") >&5
   4948   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4949   ac_status=$?
   4950   grep -v '^ *+' conftest.er1 >conftest.err
   4951   rm -f conftest.er1
   4952   cat conftest.err >&5
   4953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4954   (exit $ac_status); } >/dev/null && {
   4955 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4956 	 test ! -s conftest.err
   4957        }; then
   4958   # Broken: success on invalid input.
   4959 continue
   4960 else
   4961   $as_echo "$as_me: failed program was:" >&5
   4962 sed 's/^/| /' conftest.$ac_ext >&5
   4963 
   4964   # Passes both tests.
   4965 ac_preproc_ok=:
   4966 break
   4967 fi
   4968 
   4969 rm -f conftest.err conftest.$ac_ext
   4970 
   4971 done
   4972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4973 rm -f conftest.err conftest.$ac_ext
   4974 if $ac_preproc_ok; then
   4975   :
   4976 else
   4977   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4979 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4980 See \`config.log' for more details." >&5
   4981 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4982 See \`config.log' for more details." >&2;}
   4983    { (exit 1); exit 1; }; }; }
   4984 fi
   4985 
   4986 ac_ext=c
   4987 ac_cpp='$CPP $CPPFLAGS'
   4988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4991 
   4992 
   4993 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4994 $as_echo_n "checking for ANSI C header files... " >&6; }
   4995 if test "${ac_cv_header_stdc+set}" = set; then
   4996   $as_echo_n "(cached) " >&6
   4997 else
   4998   cat >conftest.$ac_ext <<_ACEOF
   4999 /* confdefs.h.  */
   5000 _ACEOF
   5001 cat confdefs.h >>conftest.$ac_ext
   5002 cat >>conftest.$ac_ext <<_ACEOF
   5003 /* end confdefs.h.  */
   5004 #include <stdlib.h>
   5005 #include <stdarg.h>
   5006 #include <string.h>
   5007 #include <float.h>
   5008 
   5009 int
   5010 main ()
   5011 {
   5012 
   5013   ;
   5014   return 0;
   5015 }
   5016 _ACEOF
   5017 rm -f conftest.$ac_objext
   5018 if { (ac_try="$ac_compile"
   5019 case "(($ac_try" in
   5020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5021   *) ac_try_echo=$ac_try;;
   5022 esac
   5023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5024 $as_echo "$ac_try_echo") >&5
   5025   (eval "$ac_compile") 2>conftest.er1
   5026   ac_status=$?
   5027   grep -v '^ *+' conftest.er1 >conftest.err
   5028   rm -f conftest.er1
   5029   cat conftest.err >&5
   5030   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5031   (exit $ac_status); } && {
   5032 	 test -z "$ac_c_werror_flag" ||
   5033 	 test ! -s conftest.err
   5034        } && test -s conftest.$ac_objext; then
   5035   ac_cv_header_stdc=yes
   5036 else
   5037   $as_echo "$as_me: failed program was:" >&5
   5038 sed 's/^/| /' conftest.$ac_ext >&5
   5039 
   5040 	ac_cv_header_stdc=no
   5041 fi
   5042 
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 
   5045 if test $ac_cv_header_stdc = yes; then
   5046   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5047   cat >conftest.$ac_ext <<_ACEOF
   5048 /* confdefs.h.  */
   5049 _ACEOF
   5050 cat confdefs.h >>conftest.$ac_ext
   5051 cat >>conftest.$ac_ext <<_ACEOF
   5052 /* end confdefs.h.  */
   5053 #include <string.h>
   5054 
   5055 _ACEOF
   5056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5057   $EGREP "memchr" >/dev/null 2>&1; then
   5058   :
   5059 else
   5060   ac_cv_header_stdc=no
   5061 fi
   5062 rm -f conftest*
   5063 
   5064 fi
   5065 
   5066 if test $ac_cv_header_stdc = yes; then
   5067   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5068   cat >conftest.$ac_ext <<_ACEOF
   5069 /* confdefs.h.  */
   5070 _ACEOF
   5071 cat confdefs.h >>conftest.$ac_ext
   5072 cat >>conftest.$ac_ext <<_ACEOF
   5073 /* end confdefs.h.  */
   5074 #include <stdlib.h>
   5075 
   5076 _ACEOF
   5077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5078   $EGREP "free" >/dev/null 2>&1; then
   5079   :
   5080 else
   5081   ac_cv_header_stdc=no
   5082 fi
   5083 rm -f conftest*
   5084 
   5085 fi
   5086 
   5087 if test $ac_cv_header_stdc = yes; then
   5088   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5089   if test "$cross_compiling" = yes; then
   5090   :
   5091 else
   5092   cat >conftest.$ac_ext <<_ACEOF
   5093 /* confdefs.h.  */
   5094 _ACEOF
   5095 cat confdefs.h >>conftest.$ac_ext
   5096 cat >>conftest.$ac_ext <<_ACEOF
   5097 /* end confdefs.h.  */
   5098 #include <ctype.h>
   5099 #include <stdlib.h>
   5100 #if ((' ' & 0x0FF) == 0x020)
   5101 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5102 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5103 #else
   5104 # define ISLOWER(c) \
   5105 		   (('a' <= (c) && (c) <= 'i') \
   5106 		     || ('j' <= (c) && (c) <= 'r') \
   5107 		     || ('s' <= (c) && (c) <= 'z'))
   5108 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5109 #endif
   5110 
   5111 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5112 int
   5113 main ()
   5114 {
   5115   int i;
   5116   for (i = 0; i < 256; i++)
   5117     if (XOR (islower (i), ISLOWER (i))
   5118 	|| toupper (i) != TOUPPER (i))
   5119       return 2;
   5120   return 0;
   5121 }
   5122 _ACEOF
   5123 rm -f conftest$ac_exeext
   5124 if { (ac_try="$ac_link"
   5125 case "(($ac_try" in
   5126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5127   *) ac_try_echo=$ac_try;;
   5128 esac
   5129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5130 $as_echo "$ac_try_echo") >&5
   5131   (eval "$ac_link") 2>&5
   5132   ac_status=$?
   5133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5134   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5135   { (case "(($ac_try" in
   5136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5137   *) ac_try_echo=$ac_try;;
   5138 esac
   5139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5140 $as_echo "$ac_try_echo") >&5
   5141   (eval "$ac_try") 2>&5
   5142   ac_status=$?
   5143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5144   (exit $ac_status); }; }; then
   5145   :
   5146 else
   5147   $as_echo "$as_me: program exited with status $ac_status" >&5
   5148 $as_echo "$as_me: failed program was:" >&5
   5149 sed 's/^/| /' conftest.$ac_ext >&5
   5150 
   5151 ( exit $ac_status )
   5152 ac_cv_header_stdc=no
   5153 fi
   5154 rm -rf conftest.dSYM
   5155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5156 fi
   5157 
   5158 
   5159 fi
   5160 fi
   5161 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5162 $as_echo "$ac_cv_header_stdc" >&6; }
   5163 if test $ac_cv_header_stdc = yes; then
   5164 
   5165 cat >>confdefs.h <<\_ACEOF
   5166 #define STDC_HEADERS 1
   5167 _ACEOF
   5168 
   5169 fi
   5170 
   5171 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5182 		  inttypes.h stdint.h unistd.h
   5183 do
   5184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5185 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5186 $as_echo_n "checking for $ac_header... " >&6; }
   5187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5188   $as_echo_n "(cached) " >&6
   5189 else
   5190   cat >conftest.$ac_ext <<_ACEOF
   5191 /* confdefs.h.  */
   5192 _ACEOF
   5193 cat confdefs.h >>conftest.$ac_ext
   5194 cat >>conftest.$ac_ext <<_ACEOF
   5195 /* end confdefs.h.  */
   5196 $ac_includes_default
   5197 
   5198 #include <$ac_header>
   5199 _ACEOF
   5200 rm -f conftest.$ac_objext
   5201 if { (ac_try="$ac_compile"
   5202 case "(($ac_try" in
   5203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5204   *) ac_try_echo=$ac_try;;
   5205 esac
   5206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5207 $as_echo "$ac_try_echo") >&5
   5208   (eval "$ac_compile") 2>conftest.er1
   5209   ac_status=$?
   5210   grep -v '^ *+' conftest.er1 >conftest.err
   5211   rm -f conftest.er1
   5212   cat conftest.err >&5
   5213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5214   (exit $ac_status); } && {
   5215 	 test -z "$ac_c_werror_flag" ||
   5216 	 test ! -s conftest.err
   5217        } && test -s conftest.$ac_objext; then
   5218   eval "$as_ac_Header=yes"
   5219 else
   5220   $as_echo "$as_me: failed program was:" >&5
   5221 sed 's/^/| /' conftest.$ac_ext >&5
   5222 
   5223 	eval "$as_ac_Header=no"
   5224 fi
   5225 
   5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5227 fi
   5228 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5229 		 $as_echo "$as_val"'`
   5230 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5231 $as_echo "$ac_res" >&6; }
   5232 as_val=`eval 'as_val=${'$as_ac_Header'}
   5233 		 $as_echo "$as_val"'`
   5234    if test "x$as_val" = x""yes; then
   5235   cat >>confdefs.h <<_ACEOF
   5236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5237 _ACEOF
   5238 
   5239 fi
   5240 
   5241 done
   5242 
   5243 
   5244 
   5245 for ac_header in dlfcn.h
   5246 do
   5247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5249   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5250 $as_echo_n "checking for $ac_header... " >&6; }
   5251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5252   $as_echo_n "(cached) " >&6
   5253 fi
   5254 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5255 		 $as_echo "$as_val"'`
   5256 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5257 $as_echo "$ac_res" >&6; }
   5258 else
   5259   # Is the header compilable?
   5260 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5261 $as_echo_n "checking $ac_header usability... " >&6; }
   5262 cat >conftest.$ac_ext <<_ACEOF
   5263 /* confdefs.h.  */
   5264 _ACEOF
   5265 cat confdefs.h >>conftest.$ac_ext
   5266 cat >>conftest.$ac_ext <<_ACEOF
   5267 /* end confdefs.h.  */
   5268 $ac_includes_default
   5269 #include <$ac_header>
   5270 _ACEOF
   5271 rm -f conftest.$ac_objext
   5272 if { (ac_try="$ac_compile"
   5273 case "(($ac_try" in
   5274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5275   *) ac_try_echo=$ac_try;;
   5276 esac
   5277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5278 $as_echo "$ac_try_echo") >&5
   5279   (eval "$ac_compile") 2>conftest.er1
   5280   ac_status=$?
   5281   grep -v '^ *+' conftest.er1 >conftest.err
   5282   rm -f conftest.er1
   5283   cat conftest.err >&5
   5284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5285   (exit $ac_status); } && {
   5286 	 test -z "$ac_c_werror_flag" ||
   5287 	 test ! -s conftest.err
   5288        } && test -s conftest.$ac_objext; then
   5289   ac_header_compiler=yes
   5290 else
   5291   $as_echo "$as_me: failed program was:" >&5
   5292 sed 's/^/| /' conftest.$ac_ext >&5
   5293 
   5294 	ac_header_compiler=no
   5295 fi
   5296 
   5297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5298 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5299 $as_echo "$ac_header_compiler" >&6; }
   5300 
   5301 # Is the header present?
   5302 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5303 $as_echo_n "checking $ac_header presence... " >&6; }
   5304 cat >conftest.$ac_ext <<_ACEOF
   5305 /* confdefs.h.  */
   5306 _ACEOF
   5307 cat confdefs.h >>conftest.$ac_ext
   5308 cat >>conftest.$ac_ext <<_ACEOF
   5309 /* end confdefs.h.  */
   5310 #include <$ac_header>
   5311 _ACEOF
   5312 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5313 case "(($ac_try" in
   5314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5315   *) ac_try_echo=$ac_try;;
   5316 esac
   5317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5318 $as_echo "$ac_try_echo") >&5
   5319   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5320   ac_status=$?
   5321   grep -v '^ *+' conftest.er1 >conftest.err
   5322   rm -f conftest.er1
   5323   cat conftest.err >&5
   5324   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5325   (exit $ac_status); } >/dev/null && {
   5326 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5327 	 test ! -s conftest.err
   5328        }; then
   5329   ac_header_preproc=yes
   5330 else
   5331   $as_echo "$as_me: failed program was:" >&5
   5332 sed 's/^/| /' conftest.$ac_ext >&5
   5333 
   5334   ac_header_preproc=no
   5335 fi
   5336 
   5337 rm -f conftest.err conftest.$ac_ext
   5338 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5339 $as_echo "$ac_header_preproc" >&6; }
   5340 
   5341 # So?  What about this header?
   5342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5343   yes:no: )
   5344     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5345 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5346     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5347 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5348     ac_header_preproc=yes
   5349     ;;
   5350   no:yes:* )
   5351     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5352 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5353     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5354 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5356 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5357     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5358 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5360 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5362 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5363     ( cat <<\_ASBOX
   5364 ## ---------------------------------------------------------------------- ##
   5365 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5366 ## ---------------------------------------------------------------------- ##
   5367 _ASBOX
   5368      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5369     ;;
   5370 esac
   5371 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5372 $as_echo_n "checking for $ac_header... " >&6; }
   5373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   eval "$as_ac_Header=\$ac_header_preproc"
   5377 fi
   5378 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5379 		 $as_echo "$as_val"'`
   5380 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5381 $as_echo "$ac_res" >&6; }
   5382 
   5383 fi
   5384 as_val=`eval 'as_val=${'$as_ac_Header'}
   5385 		 $as_echo "$as_val"'`
   5386    if test "x$as_val" = x""yes; then
   5387   cat >>confdefs.h <<_ACEOF
   5388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5389 _ACEOF
   5390 
   5391 fi
   5392 
   5393 done
   5394 
   5395 ac_ext=cpp
   5396 ac_cpp='$CXXCPP $CPPFLAGS'
   5397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5400 if test -z "$CXX"; then
   5401   if test -n "$CCC"; then
   5402     CXX=$CCC
   5403   else
   5404     if test -n "$ac_tool_prefix"; then
   5405   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5406   do
   5407     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5410 $as_echo_n "checking for $ac_word... " >&6; }
   5411 if test "${ac_cv_prog_CXX+set}" = set; then
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   if test -n "$CXX"; then
   5415   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5416 else
   5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5418 for as_dir in $PATH
   5419 do
   5420   IFS=$as_save_IFS
   5421   test -z "$as_dir" && as_dir=.
   5422   for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5424     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5425     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429 done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 CXX=$ac_cv_prog_CXX
   5435 if test -n "$CXX"; then
   5436   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5437 $as_echo "$CXX" >&6; }
   5438 else
   5439   { $as_echo "$as_me:$LINENO: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 
   5443 
   5444     test -n "$CXX" && break
   5445   done
   5446 fi
   5447 if test -z "$CXX"; then
   5448   ac_ct_CXX=$CXX
   5449   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5450 do
   5451   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5452 set dummy $ac_prog; ac_word=$2
   5453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5454 $as_echo_n "checking for $ac_word... " >&6; }
   5455 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   if test -n "$ac_ct_CXX"; then
   5459   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5460 else
   5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5462 for as_dir in $PATH
   5463 do
   5464   IFS=$as_save_IFS
   5465   test -z "$as_dir" && as_dir=.
   5466   for ac_exec_ext in '' $ac_executable_extensions; do
   5467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5468     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5469     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5470     break 2
   5471   fi
   5472 done
   5473 done
   5474 IFS=$as_save_IFS
   5475 
   5476 fi
   5477 fi
   5478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5479 if test -n "$ac_ct_CXX"; then
   5480   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5481 $as_echo "$ac_ct_CXX" >&6; }
   5482 else
   5483   { $as_echo "$as_me:$LINENO: result: no" >&5
   5484 $as_echo "no" >&6; }
   5485 fi
   5486 
   5487 
   5488   test -n "$ac_ct_CXX" && break
   5489 done
   5490 
   5491   if test "x$ac_ct_CXX" = x; then
   5492     CXX="g++"
   5493   else
   5494     case $cross_compiling:$ac_tool_warned in
   5495 yes:)
   5496 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5498 ac_tool_warned=yes ;;
   5499 esac
   5500     CXX=$ac_ct_CXX
   5501   fi
   5502 fi
   5503 
   5504   fi
   5505 fi
   5506 # Provide some information about the compiler.
   5507 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5508 set X $ac_compile
   5509 ac_compiler=$2
   5510 { (ac_try="$ac_compiler --version >&5"
   5511 case "(($ac_try" in
   5512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5513   *) ac_try_echo=$ac_try;;
   5514 esac
   5515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5516 $as_echo "$ac_try_echo") >&5
   5517   (eval "$ac_compiler --version >&5") 2>&5
   5518   ac_status=$?
   5519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5520   (exit $ac_status); }
   5521 { (ac_try="$ac_compiler -v >&5"
   5522 case "(($ac_try" in
   5523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5524   *) ac_try_echo=$ac_try;;
   5525 esac
   5526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5527 $as_echo "$ac_try_echo") >&5
   5528   (eval "$ac_compiler -v >&5") 2>&5
   5529   ac_status=$?
   5530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5531   (exit $ac_status); }
   5532 { (ac_try="$ac_compiler -V >&5"
   5533 case "(($ac_try" in
   5534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5535   *) ac_try_echo=$ac_try;;
   5536 esac
   5537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5538 $as_echo "$ac_try_echo") >&5
   5539   (eval "$ac_compiler -V >&5") 2>&5
   5540   ac_status=$?
   5541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5542   (exit $ac_status); }
   5543 
   5544 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5545 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5546 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5547   $as_echo_n "(cached) " >&6
   5548 else
   5549   cat >conftest.$ac_ext <<_ACEOF
   5550 /* confdefs.h.  */
   5551 _ACEOF
   5552 cat confdefs.h >>conftest.$ac_ext
   5553 cat >>conftest.$ac_ext <<_ACEOF
   5554 /* end confdefs.h.  */
   5555 
   5556 int
   5557 main ()
   5558 {
   5559 #ifndef __GNUC__
   5560        choke me
   5561 #endif
   5562 
   5563   ;
   5564   return 0;
   5565 }
   5566 _ACEOF
   5567 rm -f conftest.$ac_objext
   5568 if { (ac_try="$ac_compile"
   5569 case "(($ac_try" in
   5570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5571   *) ac_try_echo=$ac_try;;
   5572 esac
   5573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5574 $as_echo "$ac_try_echo") >&5
   5575   (eval "$ac_compile") 2>conftest.er1
   5576   ac_status=$?
   5577   grep -v '^ *+' conftest.er1 >conftest.err
   5578   rm -f conftest.er1
   5579   cat conftest.err >&5
   5580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5581   (exit $ac_status); } && {
   5582 	 test -z "$ac_cxx_werror_flag" ||
   5583 	 test ! -s conftest.err
   5584        } && test -s conftest.$ac_objext; then
   5585   ac_compiler_gnu=yes
   5586 else
   5587   $as_echo "$as_me: failed program was:" >&5
   5588 sed 's/^/| /' conftest.$ac_ext >&5
   5589 
   5590 	ac_compiler_gnu=no
   5591 fi
   5592 
   5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5595 
   5596 fi
   5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5599 if test $ac_compiler_gnu = yes; then
   5600   GXX=yes
   5601 else
   5602   GXX=
   5603 fi
   5604 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5605 ac_save_CXXFLAGS=$CXXFLAGS
   5606 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5608 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5609   $as_echo_n "(cached) " >&6
   5610 else
   5611   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5612    ac_cxx_werror_flag=yes
   5613    ac_cv_prog_cxx_g=no
   5614    CXXFLAGS="-g"
   5615    cat >conftest.$ac_ext <<_ACEOF
   5616 /* confdefs.h.  */
   5617 _ACEOF
   5618 cat confdefs.h >>conftest.$ac_ext
   5619 cat >>conftest.$ac_ext <<_ACEOF
   5620 /* end confdefs.h.  */
   5621 
   5622 int
   5623 main ()
   5624 {
   5625 
   5626   ;
   5627   return 0;
   5628 }
   5629 _ACEOF
   5630 rm -f conftest.$ac_objext
   5631 if { (ac_try="$ac_compile"
   5632 case "(($ac_try" in
   5633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5634   *) ac_try_echo=$ac_try;;
   5635 esac
   5636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5637 $as_echo "$ac_try_echo") >&5
   5638   (eval "$ac_compile") 2>conftest.er1
   5639   ac_status=$?
   5640   grep -v '^ *+' conftest.er1 >conftest.err
   5641   rm -f conftest.er1
   5642   cat conftest.err >&5
   5643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5644   (exit $ac_status); } && {
   5645 	 test -z "$ac_cxx_werror_flag" ||
   5646 	 test ! -s conftest.err
   5647        } && test -s conftest.$ac_objext; then
   5648   ac_cv_prog_cxx_g=yes
   5649 else
   5650   $as_echo "$as_me: failed program was:" >&5
   5651 sed 's/^/| /' conftest.$ac_ext >&5
   5652 
   5653 	CXXFLAGS=""
   5654       cat >conftest.$ac_ext <<_ACEOF
   5655 /* confdefs.h.  */
   5656 _ACEOF
   5657 cat confdefs.h >>conftest.$ac_ext
   5658 cat >>conftest.$ac_ext <<_ACEOF
   5659 /* end confdefs.h.  */
   5660 
   5661 int
   5662 main ()
   5663 {
   5664 
   5665   ;
   5666   return 0;
   5667 }
   5668 _ACEOF
   5669 rm -f conftest.$ac_objext
   5670 if { (ac_try="$ac_compile"
   5671 case "(($ac_try" in
   5672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5673   *) ac_try_echo=$ac_try;;
   5674 esac
   5675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5676 $as_echo "$ac_try_echo") >&5
   5677   (eval "$ac_compile") 2>conftest.er1
   5678   ac_status=$?
   5679   grep -v '^ *+' conftest.er1 >conftest.err
   5680   rm -f conftest.er1
   5681   cat conftest.err >&5
   5682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5683   (exit $ac_status); } && {
   5684 	 test -z "$ac_cxx_werror_flag" ||
   5685 	 test ! -s conftest.err
   5686        } && test -s conftest.$ac_objext; then
   5687   :
   5688 else
   5689   $as_echo "$as_me: failed program was:" >&5
   5690 sed 's/^/| /' conftest.$ac_ext >&5
   5691 
   5692 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5693 	 CXXFLAGS="-g"
   5694 	 cat >conftest.$ac_ext <<_ACEOF
   5695 /* confdefs.h.  */
   5696 _ACEOF
   5697 cat confdefs.h >>conftest.$ac_ext
   5698 cat >>conftest.$ac_ext <<_ACEOF
   5699 /* end confdefs.h.  */
   5700 
   5701 int
   5702 main ()
   5703 {
   5704 
   5705   ;
   5706   return 0;
   5707 }
   5708 _ACEOF
   5709 rm -f conftest.$ac_objext
   5710 if { (ac_try="$ac_compile"
   5711 case "(($ac_try" in
   5712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5713   *) ac_try_echo=$ac_try;;
   5714 esac
   5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5716 $as_echo "$ac_try_echo") >&5
   5717   (eval "$ac_compile") 2>conftest.er1
   5718   ac_status=$?
   5719   grep -v '^ *+' conftest.er1 >conftest.err
   5720   rm -f conftest.er1
   5721   cat conftest.err >&5
   5722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5723   (exit $ac_status); } && {
   5724 	 test -z "$ac_cxx_werror_flag" ||
   5725 	 test ! -s conftest.err
   5726        } && test -s conftest.$ac_objext; then
   5727   ac_cv_prog_cxx_g=yes
   5728 else
   5729   $as_echo "$as_me: failed program was:" >&5
   5730 sed 's/^/| /' conftest.$ac_ext >&5
   5731 
   5732 
   5733 fi
   5734 
   5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5736 fi
   5737 
   5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5739 fi
   5740 
   5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5742    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5743 fi
   5744 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5745 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5746 if test "$ac_test_CXXFLAGS" = set; then
   5747   CXXFLAGS=$ac_save_CXXFLAGS
   5748 elif test $ac_cv_prog_cxx_g = yes; then
   5749   if test "$GXX" = yes; then
   5750     CXXFLAGS="-g -O2"
   5751   else
   5752     CXXFLAGS="-g"
   5753   fi
   5754 else
   5755   if test "$GXX" = yes; then
   5756     CXXFLAGS="-O2"
   5757   else
   5758     CXXFLAGS=
   5759   fi
   5760 fi
   5761 ac_ext=cpp
   5762 ac_cpp='$CXXCPP $CPPFLAGS'
   5763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5766 
   5767 depcc="$CXX"  am_compiler_list=
   5768 
   5769 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5770 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5771 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5775   # We make a subdir and do the tests there.  Otherwise we can end up
   5776   # making bogus files that we don't know about and never remove.  For
   5777   # instance it was reported that on HP-UX the gcc test will end up
   5778   # making a dummy file named `D' -- because `-MD' means `put the output
   5779   # in D'.
   5780   mkdir conftest.dir
   5781   # Copy depcomp to subdir because otherwise we won't find it if we're
   5782   # using a relative directory.
   5783   cp "$am_depcomp" conftest.dir
   5784   cd conftest.dir
   5785   # We will build objects and dependencies in a subdirectory because
   5786   # it helps to detect inapplicable dependency modes.  For instance
   5787   # both Tru64's cc and ICC support -MD to output dependencies as a
   5788   # side effect of compilation, but ICC will put the dependencies in
   5789   # the current directory while Tru64 will put them in the object
   5790   # directory.
   5791   mkdir sub
   5792 
   5793   am_cv_CXX_dependencies_compiler_type=none
   5794   if test "$am_compiler_list" = ""; then
   5795      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5796   fi
   5797   am__universal=false
   5798   case " $depcc " in #(
   5799      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5800      esac
   5801 
   5802   for depmode in $am_compiler_list; do
   5803     # Setup a source with many dependencies, because some compilers
   5804     # like to wrap large dependency lists on column 80 (with \), and
   5805     # we should not choose a depcomp mode which is confused by this.
   5806     #
   5807     # We need to recreate these files for each test, as the compiler may
   5808     # overwrite some of them when testing with obscure command lines.
   5809     # This happens at least with the AIX C compiler.
   5810     : > sub/conftest.c
   5811     for i in 1 2 3 4 5 6; do
   5812       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5813       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5814       # Solaris 8's {/usr,}/bin/sh.
   5815       touch sub/conftst$i.h
   5816     done
   5817     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5818 
   5819     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5820     # mode.  It turns out that the SunPro C++ compiler does not properly
   5821     # handle `-M -o', and we need to detect this.  Also, some Intel
   5822     # versions had trouble with output in subdirs
   5823     am__obj=sub/conftest.${OBJEXT-o}
   5824     am__minus_obj="-o $am__obj"
   5825     case $depmode in
   5826     gcc)
   5827       # This depmode causes a compiler race in universal mode.
   5828       test "$am__universal" = false || continue
   5829       ;;
   5830     nosideeffect)
   5831       # after this tag, mechanisms are not by side-effect, so they'll
   5832       # only be used when explicitly requested
   5833       if test "x$enable_dependency_tracking" = xyes; then
   5834 	continue
   5835       else
   5836 	break
   5837       fi
   5838       ;;
   5839     msvisualcpp | msvcmsys)
   5840       # This compiler won't grok `-c -o', but also, the minuso test has
   5841       # not run yet.  These depmodes are late enough in the game, and
   5842       # so weak that their functioning should not be impacted.
   5843       am__obj=conftest.${OBJEXT-o}
   5844       am__minus_obj=
   5845       ;;
   5846     none) break ;;
   5847     esac
   5848     if depmode=$depmode \
   5849        source=sub/conftest.c object=$am__obj \
   5850        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5851        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5852          >/dev/null 2>conftest.err &&
   5853        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5854        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5855        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5856        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5857       # icc doesn't choke on unknown options, it will just issue warnings
   5858       # or remarks (even with -Werror).  So we grep stderr for any message
   5859       # that says an option was ignored or not supported.
   5860       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5861       #   icc: Command line warning: ignoring option '-M'; no argument required
   5862       # The diagnosis changed in icc 8.0:
   5863       #   icc: Command line remark: option '-MP' not supported
   5864       if (grep 'ignoring option' conftest.err ||
   5865           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5866         am_cv_CXX_dependencies_compiler_type=$depmode
   5867         break
   5868       fi
   5869     fi
   5870   done
   5871 
   5872   cd ..
   5873   rm -rf conftest.dir
   5874 else
   5875   am_cv_CXX_dependencies_compiler_type=none
   5876 fi
   5877 
   5878 fi
   5879 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5880 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5881 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5882 
   5883  if
   5884   test "x$enable_dependency_tracking" != xno \
   5885   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5886   am__fastdepCXX_TRUE=
   5887   am__fastdepCXX_FALSE='#'
   5888 else
   5889   am__fastdepCXX_TRUE='#'
   5890   am__fastdepCXX_FALSE=
   5891 fi
   5892 
   5893 
   5894 
   5895 
   5896 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5897     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5898     (test "X$CXX" != "Xg++"))) ; then
   5899   ac_ext=cpp
   5900 ac_cpp='$CXXCPP $CPPFLAGS'
   5901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5904 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5905 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5906 if test -z "$CXXCPP"; then
   5907   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910       # Double quotes because CXXCPP needs to be expanded
   5911     for CXXCPP in "$CXX -E" "/lib/cpp"
   5912     do
   5913       ac_preproc_ok=false
   5914 for ac_cxx_preproc_warn_flag in '' yes
   5915 do
   5916   # Use a header file that comes with gcc, so configuring glibc
   5917   # with a fresh cross-compiler works.
   5918   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5919   # <limits.h> exists even on freestanding compilers.
   5920   # On the NeXT, cc -E runs the code through the compiler's parser,
   5921   # not just through cpp. "Syntax error" is here to catch this case.
   5922   cat >conftest.$ac_ext <<_ACEOF
   5923 /* confdefs.h.  */
   5924 _ACEOF
   5925 cat confdefs.h >>conftest.$ac_ext
   5926 cat >>conftest.$ac_ext <<_ACEOF
   5927 /* end confdefs.h.  */
   5928 #ifdef __STDC__
   5929 # include <limits.h>
   5930 #else
   5931 # include <assert.h>
   5932 #endif
   5933 		     Syntax error
   5934 _ACEOF
   5935 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5936 case "(($ac_try" in
   5937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5938   *) ac_try_echo=$ac_try;;
   5939 esac
   5940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5941 $as_echo "$ac_try_echo") >&5
   5942   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5943   ac_status=$?
   5944   grep -v '^ *+' conftest.er1 >conftest.err
   5945   rm -f conftest.er1
   5946   cat conftest.err >&5
   5947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5948   (exit $ac_status); } >/dev/null && {
   5949 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5950 	 test ! -s conftest.err
   5951        }; then
   5952   :
   5953 else
   5954   $as_echo "$as_me: failed program was:" >&5
   5955 sed 's/^/| /' conftest.$ac_ext >&5
   5956 
   5957   # Broken: fails on valid input.
   5958 continue
   5959 fi
   5960 
   5961 rm -f conftest.err conftest.$ac_ext
   5962 
   5963   # OK, works on sane cases.  Now check whether nonexistent headers
   5964   # can be detected and how.
   5965   cat >conftest.$ac_ext <<_ACEOF
   5966 /* confdefs.h.  */
   5967 _ACEOF
   5968 cat confdefs.h >>conftest.$ac_ext
   5969 cat >>conftest.$ac_ext <<_ACEOF
   5970 /* end confdefs.h.  */
   5971 #include <ac_nonexistent.h>
   5972 _ACEOF
   5973 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5974 case "(($ac_try" in
   5975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5976   *) ac_try_echo=$ac_try;;
   5977 esac
   5978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5979 $as_echo "$ac_try_echo") >&5
   5980   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5981   ac_status=$?
   5982   grep -v '^ *+' conftest.er1 >conftest.err
   5983   rm -f conftest.er1
   5984   cat conftest.err >&5
   5985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5986   (exit $ac_status); } >/dev/null && {
   5987 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5988 	 test ! -s conftest.err
   5989        }; then
   5990   # Broken: success on invalid input.
   5991 continue
   5992 else
   5993   $as_echo "$as_me: failed program was:" >&5
   5994 sed 's/^/| /' conftest.$ac_ext >&5
   5995 
   5996   # Passes both tests.
   5997 ac_preproc_ok=:
   5998 break
   5999 fi
   6000 
   6001 rm -f conftest.err conftest.$ac_ext
   6002 
   6003 done
   6004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6005 rm -f conftest.err conftest.$ac_ext
   6006 if $ac_preproc_ok; then
   6007   break
   6008 fi
   6009 
   6010     done
   6011     ac_cv_prog_CXXCPP=$CXXCPP
   6012 
   6013 fi
   6014   CXXCPP=$ac_cv_prog_CXXCPP
   6015 else
   6016   ac_cv_prog_CXXCPP=$CXXCPP
   6017 fi
   6018 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6019 $as_echo "$CXXCPP" >&6; }
   6020 ac_preproc_ok=false
   6021 for ac_cxx_preproc_warn_flag in '' yes
   6022 do
   6023   # Use a header file that comes with gcc, so configuring glibc
   6024   # with a fresh cross-compiler works.
   6025   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6026   # <limits.h> exists even on freestanding compilers.
   6027   # On the NeXT, cc -E runs the code through the compiler's parser,
   6028   # not just through cpp. "Syntax error" is here to catch this case.
   6029   cat >conftest.$ac_ext <<_ACEOF
   6030 /* confdefs.h.  */
   6031 _ACEOF
   6032 cat confdefs.h >>conftest.$ac_ext
   6033 cat >>conftest.$ac_ext <<_ACEOF
   6034 /* end confdefs.h.  */
   6035 #ifdef __STDC__
   6036 # include <limits.h>
   6037 #else
   6038 # include <assert.h>
   6039 #endif
   6040 		     Syntax error
   6041 _ACEOF
   6042 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6043 case "(($ac_try" in
   6044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6045   *) ac_try_echo=$ac_try;;
   6046 esac
   6047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6048 $as_echo "$ac_try_echo") >&5
   6049   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6050   ac_status=$?
   6051   grep -v '^ *+' conftest.er1 >conftest.err
   6052   rm -f conftest.er1
   6053   cat conftest.err >&5
   6054   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6055   (exit $ac_status); } >/dev/null && {
   6056 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6057 	 test ! -s conftest.err
   6058        }; then
   6059   :
   6060 else
   6061   $as_echo "$as_me: failed program was:" >&5
   6062 sed 's/^/| /' conftest.$ac_ext >&5
   6063 
   6064   # Broken: fails on valid input.
   6065 continue
   6066 fi
   6067 
   6068 rm -f conftest.err conftest.$ac_ext
   6069 
   6070   # OK, works on sane cases.  Now check whether nonexistent headers
   6071   # can be detected and how.
   6072   cat >conftest.$ac_ext <<_ACEOF
   6073 /* confdefs.h.  */
   6074 _ACEOF
   6075 cat confdefs.h >>conftest.$ac_ext
   6076 cat >>conftest.$ac_ext <<_ACEOF
   6077 /* end confdefs.h.  */
   6078 #include <ac_nonexistent.h>
   6079 _ACEOF
   6080 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6081 case "(($ac_try" in
   6082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6083   *) ac_try_echo=$ac_try;;
   6084 esac
   6085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6086 $as_echo "$ac_try_echo") >&5
   6087   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6088   ac_status=$?
   6089   grep -v '^ *+' conftest.er1 >conftest.err
   6090   rm -f conftest.er1
   6091   cat conftest.err >&5
   6092   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6093   (exit $ac_status); } >/dev/null && {
   6094 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6095 	 test ! -s conftest.err
   6096        }; then
   6097   # Broken: success on invalid input.
   6098 continue
   6099 else
   6100   $as_echo "$as_me: failed program was:" >&5
   6101 sed 's/^/| /' conftest.$ac_ext >&5
   6102 
   6103   # Passes both tests.
   6104 ac_preproc_ok=:
   6105 break
   6106 fi
   6107 
   6108 rm -f conftest.err conftest.$ac_ext
   6109 
   6110 done
   6111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6112 rm -f conftest.err conftest.$ac_ext
   6113 if $ac_preproc_ok; then
   6114   :
   6115 else
   6116   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6118 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6119 See \`config.log' for more details." >&5
   6120 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6121 See \`config.log' for more details." >&2;}
   6122    { (exit 1); exit 1; }; }; }
   6123 fi
   6124 
   6125 ac_ext=cpp
   6126 ac_cpp='$CXXCPP $CPPFLAGS'
   6127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6130 
   6131 fi
   6132 
   6133 
   6134 ac_ext=f
   6135 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6136 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6137 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6138 if test -n "$ac_tool_prefix"; then
   6139   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6140   do
   6141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6144 $as_echo_n "checking for $ac_word... " >&6; }
   6145 if test "${ac_cv_prog_F77+set}" = set; then
   6146   $as_echo_n "(cached) " >&6
   6147 else
   6148   if test -n "$F77"; then
   6149   ac_cv_prog_F77="$F77" # Let the user override the test.
   6150 else
   6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6152 for as_dir in $PATH
   6153 do
   6154   IFS=$as_save_IFS
   6155   test -z "$as_dir" && as_dir=.
   6156   for ac_exec_ext in '' $ac_executable_extensions; do
   6157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6158     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6160     break 2
   6161   fi
   6162 done
   6163 done
   6164 IFS=$as_save_IFS
   6165 
   6166 fi
   6167 fi
   6168 F77=$ac_cv_prog_F77
   6169 if test -n "$F77"; then
   6170   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6171 $as_echo "$F77" >&6; }
   6172 else
   6173   { $as_echo "$as_me:$LINENO: result: no" >&5
   6174 $as_echo "no" >&6; }
   6175 fi
   6176 
   6177 
   6178     test -n "$F77" && break
   6179   done
   6180 fi
   6181 if test -z "$F77"; then
   6182   ac_ct_F77=$F77
   6183   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6184 do
   6185   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6186 set dummy $ac_prog; ac_word=$2
   6187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6188 $as_echo_n "checking for $ac_word... " >&6; }
   6189 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6190   $as_echo_n "(cached) " >&6
   6191 else
   6192   if test -n "$ac_ct_F77"; then
   6193   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6194 else
   6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6196 for as_dir in $PATH
   6197 do
   6198   IFS=$as_save_IFS
   6199   test -z "$as_dir" && as_dir=.
   6200   for ac_exec_ext in '' $ac_executable_extensions; do
   6201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6202     ac_cv_prog_ac_ct_F77="$ac_prog"
   6203     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6204     break 2
   6205   fi
   6206 done
   6207 done
   6208 IFS=$as_save_IFS
   6209 
   6210 fi
   6211 fi
   6212 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6213 if test -n "$ac_ct_F77"; then
   6214   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6215 $as_echo "$ac_ct_F77" >&6; }
   6216 else
   6217   { $as_echo "$as_me:$LINENO: result: no" >&5
   6218 $as_echo "no" >&6; }
   6219 fi
   6220 
   6221 
   6222   test -n "$ac_ct_F77" && break
   6223 done
   6224 
   6225   if test "x$ac_ct_F77" = x; then
   6226     F77=""
   6227   else
   6228     case $cross_compiling:$ac_tool_warned in
   6229 yes:)
   6230 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6232 ac_tool_warned=yes ;;
   6233 esac
   6234     F77=$ac_ct_F77
   6235   fi
   6236 fi
   6237 
   6238 
   6239 # Provide some information about the compiler.
   6240 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6241 set X $ac_compile
   6242 ac_compiler=$2
   6243 { (ac_try="$ac_compiler --version >&5"
   6244 case "(($ac_try" in
   6245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6246   *) ac_try_echo=$ac_try;;
   6247 esac
   6248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6249 $as_echo "$ac_try_echo") >&5
   6250   (eval "$ac_compiler --version >&5") 2>&5
   6251   ac_status=$?
   6252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6253   (exit $ac_status); }
   6254 { (ac_try="$ac_compiler -v >&5"
   6255 case "(($ac_try" in
   6256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6257   *) ac_try_echo=$ac_try;;
   6258 esac
   6259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6260 $as_echo "$ac_try_echo") >&5
   6261   (eval "$ac_compiler -v >&5") 2>&5
   6262   ac_status=$?
   6263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6264   (exit $ac_status); }
   6265 { (ac_try="$ac_compiler -V >&5"
   6266 case "(($ac_try" in
   6267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6268   *) ac_try_echo=$ac_try;;
   6269 esac
   6270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6271 $as_echo "$ac_try_echo") >&5
   6272   (eval "$ac_compiler -V >&5") 2>&5
   6273   ac_status=$?
   6274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6275   (exit $ac_status); }
   6276 rm -f a.out
   6277 
   6278 # If we don't use `.F' as extension, the preprocessor is not run on the
   6279 # input file.  (Note that this only needs to work for GNU compilers.)
   6280 ac_save_ext=$ac_ext
   6281 ac_ext=F
   6282 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6283 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6284 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6285   $as_echo_n "(cached) " >&6
   6286 else
   6287   cat >conftest.$ac_ext <<_ACEOF
   6288       program main
   6289 #ifndef __GNUC__
   6290        choke me
   6291 #endif
   6292 
   6293       end
   6294 _ACEOF
   6295 rm -f conftest.$ac_objext
   6296 if { (ac_try="$ac_compile"
   6297 case "(($ac_try" in
   6298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6299   *) ac_try_echo=$ac_try;;
   6300 esac
   6301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6302 $as_echo "$ac_try_echo") >&5
   6303   (eval "$ac_compile") 2>conftest.er1
   6304   ac_status=$?
   6305   grep -v '^ *+' conftest.er1 >conftest.err
   6306   rm -f conftest.er1
   6307   cat conftest.err >&5
   6308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6309   (exit $ac_status); } && {
   6310 	 test -z "$ac_f77_werror_flag" ||
   6311 	 test ! -s conftest.err
   6312        } && test -s conftest.$ac_objext; then
   6313   ac_compiler_gnu=yes
   6314 else
   6315   $as_echo "$as_me: failed program was:" >&5
   6316 sed 's/^/| /' conftest.$ac_ext >&5
   6317 
   6318 	ac_compiler_gnu=no
   6319 fi
   6320 
   6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6322 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6323 
   6324 fi
   6325 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6326 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6327 ac_ext=$ac_save_ext
   6328 ac_test_FFLAGS=${FFLAGS+set}
   6329 ac_save_FFLAGS=$FFLAGS
   6330 FFLAGS=
   6331 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6332 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6333 if test "${ac_cv_prog_f77_g+set}" = set; then
   6334   $as_echo_n "(cached) " >&6
   6335 else
   6336   FFLAGS=-g
   6337 cat >conftest.$ac_ext <<_ACEOF
   6338       program main
   6339 
   6340       end
   6341 _ACEOF
   6342 rm -f conftest.$ac_objext
   6343 if { (ac_try="$ac_compile"
   6344 case "(($ac_try" in
   6345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6346   *) ac_try_echo=$ac_try;;
   6347 esac
   6348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6349 $as_echo "$ac_try_echo") >&5
   6350   (eval "$ac_compile") 2>conftest.er1
   6351   ac_status=$?
   6352   grep -v '^ *+' conftest.er1 >conftest.err
   6353   rm -f conftest.er1
   6354   cat conftest.err >&5
   6355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6356   (exit $ac_status); } && {
   6357 	 test -z "$ac_f77_werror_flag" ||
   6358 	 test ! -s conftest.err
   6359        } && test -s conftest.$ac_objext; then
   6360   ac_cv_prog_f77_g=yes
   6361 else
   6362   $as_echo "$as_me: failed program was:" >&5
   6363 sed 's/^/| /' conftest.$ac_ext >&5
   6364 
   6365 	ac_cv_prog_f77_g=no
   6366 fi
   6367 
   6368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6369 
   6370 fi
   6371 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6372 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6373 if test "$ac_test_FFLAGS" = set; then
   6374   FFLAGS=$ac_save_FFLAGS
   6375 elif test $ac_cv_prog_f77_g = yes; then
   6376   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6377     FFLAGS="-g -O2"
   6378   else
   6379     FFLAGS="-g"
   6380   fi
   6381 else
   6382   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6383     FFLAGS="-O2"
   6384   else
   6385     FFLAGS=
   6386   fi
   6387 fi
   6388 
   6389 if test $ac_compiler_gnu = yes; then
   6390   G77=yes
   6391 else
   6392   G77=
   6393 fi
   6394 ac_ext=c
   6395 ac_cpp='$CPP $CPPFLAGS'
   6396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6399 
   6400 
   6401 
   6402 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6403 # find the maximum length of command line arguments
   6404 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6405 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6406 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6407   $as_echo_n "(cached) " >&6
   6408 else
   6409     i=0
   6410   teststring="ABCD"
   6411 
   6412   case $build_os in
   6413   msdosdjgpp*)
   6414     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6415     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6416     # during glob expansion).  Even if it were fixed, the result of this
   6417     # check would be larger than it should be.
   6418     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6419     ;;
   6420 
   6421   gnu*)
   6422     # Under GNU Hurd, this test is not required because there is
   6423     # no limit to the length of command line arguments.
   6424     # Libtool will interpret -1 as no limit whatsoever
   6425     lt_cv_sys_max_cmd_len=-1;
   6426     ;;
   6427 
   6428   cygwin* | mingw*)
   6429     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6430     # about 5 minutes as the teststring grows exponentially.
   6431     # Worse, since 9x/ME are not pre-emptively multitasking,
   6432     # you end up with a "frozen" computer, even though with patience
   6433     # the test eventually succeeds (with a max line length of 256k).
   6434     # Instead, let's just punt: use the minimum linelength reported by
   6435     # all of the supported platforms: 8192 (on NT/2K/XP).
   6436     lt_cv_sys_max_cmd_len=8192;
   6437     ;;
   6438 
   6439   amigaos*)
   6440     # On AmigaOS with pdksh, this test takes hours, literally.
   6441     # So we just punt and use a minimum line length of 8192.
   6442     lt_cv_sys_max_cmd_len=8192;
   6443     ;;
   6444 
   6445   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6446     # This has been around since 386BSD, at least.  Likely further.
   6447     if test -x /sbin/sysctl; then
   6448       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6449     elif test -x /usr/sbin/sysctl; then
   6450       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6451     else
   6452       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6453     fi
   6454     # And add a safety zone
   6455     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6456     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6457     ;;
   6458 
   6459   interix*)
   6460     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6461     lt_cv_sys_max_cmd_len=196608
   6462     ;;
   6463 
   6464   osf*)
   6465     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6466     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6467     # nice to cause kernel panics so lets avoid the loop below.
   6468     # First set a reasonable default.
   6469     lt_cv_sys_max_cmd_len=16384
   6470     #
   6471     if test -x /sbin/sysconfig; then
   6472       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6473         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6474       esac
   6475     fi
   6476     ;;
   6477   sco3.2v5*)
   6478     lt_cv_sys_max_cmd_len=102400
   6479     ;;
   6480   sysv5* | sco5v6* | sysv4.2uw2*)
   6481     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6482     if test -n "$kargmax"; then
   6483       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6484     else
   6485       lt_cv_sys_max_cmd_len=32768
   6486     fi
   6487     ;;
   6488   *)
   6489     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6490     if test -n "$lt_cv_sys_max_cmd_len"; then
   6491       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6492       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6493     else
   6494       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6495       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6496 	       = "XX$teststring") >/dev/null 2>&1 &&
   6497 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6498 	      lt_cv_sys_max_cmd_len=$new_result &&
   6499 	      test $i != 17 # 1/2 MB should be enough
   6500       do
   6501         i=`expr $i + 1`
   6502         teststring=$teststring$teststring
   6503       done
   6504       teststring=
   6505       # Add a significant safety factor because C++ compilers can tack on massive
   6506       # amounts of additional arguments before passing them to the linker.
   6507       # It appears as though 1/2 is a usable value.
   6508       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6509     fi
   6510     ;;
   6511   esac
   6512 
   6513 fi
   6514 
   6515 if test -n $lt_cv_sys_max_cmd_len ; then
   6516   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6517 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6518 else
   6519   { $as_echo "$as_me:$LINENO: result: none" >&5
   6520 $as_echo "none" >&6; }
   6521 fi
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6528 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6529 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6530 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533 
   6534 # These are sane defaults that work on at least a few old systems.
   6535 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6536 
   6537 # Character class describing NM global symbol codes.
   6538 symcode='[BCDEGRST]'
   6539 
   6540 # Regexp to match symbols that can be accessed directly from C.
   6541 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6542 
   6543 # Transform an extracted symbol line into a proper C declaration
   6544 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6545 
   6546 # Transform an extracted symbol line into symbol name and symbol address
   6547 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'"
   6548 
   6549 # Define system-specific variables.
   6550 case $host_os in
   6551 aix*)
   6552   symcode='[BCDT]'
   6553   ;;
   6554 cygwin* | mingw* | pw32*)
   6555   symcode='[ABCDGISTW]'
   6556   ;;
   6557 hpux*) # Its linker distinguishes data from code symbols
   6558   if test "$host_cpu" = ia64; then
   6559     symcode='[ABCDEGRST]'
   6560   fi
   6561   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6562   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'"
   6563   ;;
   6564 linux* | k*bsd*-gnu)
   6565   if test "$host_cpu" = ia64; then
   6566     symcode='[ABCDGIRSTW]'
   6567     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6568     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'"
   6569   fi
   6570   ;;
   6571 irix* | nonstopux*)
   6572   symcode='[BCDEGRST]'
   6573   ;;
   6574 osf*)
   6575   symcode='[BCDEGQRST]'
   6576   ;;
   6577 solaris*)
   6578   symcode='[BDRT]'
   6579   ;;
   6580 sco3.2v5*)
   6581   symcode='[DT]'
   6582   ;;
   6583 sysv4.2uw2*)
   6584   symcode='[DT]'
   6585   ;;
   6586 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6587   symcode='[ABDT]'
   6588   ;;
   6589 sysv4)
   6590   symcode='[DFNSTU]'
   6591   ;;
   6592 esac
   6593 
   6594 # Handle CRLF in mingw tool chain
   6595 opt_cr=
   6596 case $build_os in
   6597 mingw*)
   6598   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6599   ;;
   6600 esac
   6601 
   6602 # If we're using GNU nm, then use its standard symbol codes.
   6603 case `$NM -V 2>&1` in
   6604 *GNU* | *'with BFD'*)
   6605   symcode='[ABCDGIRSTW]' ;;
   6606 esac
   6607 
   6608 # Try without a prefix undercore, then with it.
   6609 for ac_symprfx in "" "_"; do
   6610 
   6611   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6612   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6613 
   6614   # Write the raw and C identifiers.
   6615   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6616 
   6617   # Check to see that the pipe works correctly.
   6618   pipe_works=no
   6619 
   6620   rm -f conftest*
   6621   cat > conftest.$ac_ext <<EOF
   6622 #ifdef __cplusplus
   6623 extern "C" {
   6624 #endif
   6625 char nm_test_var;
   6626 void nm_test_func(){}
   6627 #ifdef __cplusplus
   6628 }
   6629 #endif
   6630 int main(){nm_test_var='a';nm_test_func();return(0);}
   6631 EOF
   6632 
   6633   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6634   (eval $ac_compile) 2>&5
   6635   ac_status=$?
   6636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6637   (exit $ac_status); }; then
   6638     # Now try to grab the symbols.
   6639     nlist=conftest.nm
   6640     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6641   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6642   ac_status=$?
   6643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6644   (exit $ac_status); } && test -s "$nlist"; then
   6645       # Try sorting and uniquifying the output.
   6646       if sort "$nlist" | uniq > "$nlist"T; then
   6647 	mv -f "$nlist"T "$nlist"
   6648       else
   6649 	rm -f "$nlist"T
   6650       fi
   6651 
   6652       # Make sure that we snagged all the symbols we need.
   6653       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6654 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6655 	  cat <<EOF > conftest.$ac_ext
   6656 #ifdef __cplusplus
   6657 extern "C" {
   6658 #endif
   6659 
   6660 EOF
   6661 	  # Now generate the symbol file.
   6662 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6663 
   6664 	  cat <<EOF >> conftest.$ac_ext
   6665 #if defined (__STDC__) && __STDC__
   6666 # define lt_ptr_t void *
   6667 #else
   6668 # define lt_ptr_t char *
   6669 # define const
   6670 #endif
   6671 
   6672 /* The mapping between symbol names and symbols. */
   6673 const struct {
   6674   const char *name;
   6675   lt_ptr_t address;
   6676 }
   6677 lt_preloaded_symbols[] =
   6678 {
   6679 EOF
   6680 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6681 	  cat <<\EOF >> conftest.$ac_ext
   6682   {0, (lt_ptr_t) 0}
   6683 };
   6684 
   6685 #ifdef __cplusplus
   6686 }
   6687 #endif
   6688 EOF
   6689 	  # Now try linking the two files.
   6690 	  mv conftest.$ac_objext conftstm.$ac_objext
   6691 	  lt_save_LIBS="$LIBS"
   6692 	  lt_save_CFLAGS="$CFLAGS"
   6693 	  LIBS="conftstm.$ac_objext"
   6694 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6695 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6696   (eval $ac_link) 2>&5
   6697   ac_status=$?
   6698   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6699   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6700 	    pipe_works=yes
   6701 	  fi
   6702 	  LIBS="$lt_save_LIBS"
   6703 	  CFLAGS="$lt_save_CFLAGS"
   6704 	else
   6705 	  echo "cannot find nm_test_func in $nlist" >&5
   6706 	fi
   6707       else
   6708 	echo "cannot find nm_test_var in $nlist" >&5
   6709       fi
   6710     else
   6711       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6712     fi
   6713   else
   6714     echo "$progname: failed program was:" >&5
   6715     cat conftest.$ac_ext >&5
   6716   fi
   6717   rm -rf conftest* conftst*
   6718 
   6719   # Do not use the global_symbol_pipe unless it works.
   6720   if test "$pipe_works" = yes; then
   6721     break
   6722   else
   6723     lt_cv_sys_global_symbol_pipe=
   6724   fi
   6725 done
   6726 
   6727 fi
   6728 
   6729 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6730   lt_cv_sys_global_symbol_to_cdecl=
   6731 fi
   6732 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6733   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6734 $as_echo "failed" >&6; }
   6735 else
   6736   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6737 $as_echo "ok" >&6; }
   6738 fi
   6739 
   6740 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6741 $as_echo_n "checking for objdir... " >&6; }
   6742 if test "${lt_cv_objdir+set}" = set; then
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   rm -f .libs 2>/dev/null
   6746 mkdir .libs 2>/dev/null
   6747 if test -d .libs; then
   6748   lt_cv_objdir=.libs
   6749 else
   6750   # MS-DOS does not allow filenames that begin with a dot.
   6751   lt_cv_objdir=_libs
   6752 fi
   6753 rmdir .libs 2>/dev/null
   6754 fi
   6755 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6756 $as_echo "$lt_cv_objdir" >&6; }
   6757 objdir=$lt_cv_objdir
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 case $host_os in
   6764 aix3*)
   6765   # AIX sometimes has problems with the GCC collect2 program.  For some
   6766   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6767   # vanish in a puff of smoke.
   6768   if test "X${COLLECT_NAMES+set}" != Xset; then
   6769     COLLECT_NAMES=
   6770     export COLLECT_NAMES
   6771   fi
   6772   ;;
   6773 esac
   6774 
   6775 # Sed substitution that helps us do robust quoting.  It backslashifies
   6776 # metacharacters that are still active within double-quoted strings.
   6777 Xsed='sed -e 1s/^X//'
   6778 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6779 
   6780 # Same as above, but do not quote variable references.
   6781 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6782 
   6783 # Sed substitution to delay expansion of an escaped shell variable in a
   6784 # double_quote_subst'ed string.
   6785 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6786 
   6787 # Sed substitution to avoid accidental globbing in evaled expressions
   6788 no_glob_subst='s/\*/\\\*/g'
   6789 
   6790 # Constants:
   6791 rm="rm -f"
   6792 
   6793 # Global variables:
   6794 default_ofile=libtool
   6795 can_build_shared=yes
   6796 
   6797 # All known linkers require a `.a' archive for static linking (except MSVC,
   6798 # which needs '.lib').
   6799 libext=a
   6800 ltmain="$ac_aux_dir/ltmain.sh"
   6801 ofile="$default_ofile"
   6802 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6803 
   6804 if test -n "$ac_tool_prefix"; then
   6805   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6806 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6807 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6808 $as_echo_n "checking for $ac_word... " >&6; }
   6809 if test "${ac_cv_prog_AR+set}" = set; then
   6810   $as_echo_n "(cached) " >&6
   6811 else
   6812   if test -n "$AR"; then
   6813   ac_cv_prog_AR="$AR" # Let the user override the test.
   6814 else
   6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6816 for as_dir in $PATH
   6817 do
   6818   IFS=$as_save_IFS
   6819   test -z "$as_dir" && as_dir=.
   6820   for ac_exec_ext in '' $ac_executable_extensions; do
   6821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6822     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6823     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6824     break 2
   6825   fi
   6826 done
   6827 done
   6828 IFS=$as_save_IFS
   6829 
   6830 fi
   6831 fi
   6832 AR=$ac_cv_prog_AR
   6833 if test -n "$AR"; then
   6834   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6835 $as_echo "$AR" >&6; }
   6836 else
   6837   { $as_echo "$as_me:$LINENO: result: no" >&5
   6838 $as_echo "no" >&6; }
   6839 fi
   6840 
   6841 
   6842 fi
   6843 if test -z "$ac_cv_prog_AR"; then
   6844   ac_ct_AR=$AR
   6845   # Extract the first word of "ar", so it can be a program name with args.
   6846 set dummy ar; ac_word=$2
   6847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6848 $as_echo_n "checking for $ac_word... " >&6; }
   6849 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6850   $as_echo_n "(cached) " >&6
   6851 else
   6852   if test -n "$ac_ct_AR"; then
   6853   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6854 else
   6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6856 for as_dir in $PATH
   6857 do
   6858   IFS=$as_save_IFS
   6859   test -z "$as_dir" && as_dir=.
   6860   for ac_exec_ext in '' $ac_executable_extensions; do
   6861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6862     ac_cv_prog_ac_ct_AR="ar"
   6863     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6864     break 2
   6865   fi
   6866 done
   6867 done
   6868 IFS=$as_save_IFS
   6869 
   6870 fi
   6871 fi
   6872 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6873 if test -n "$ac_ct_AR"; then
   6874   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6875 $as_echo "$ac_ct_AR" >&6; }
   6876 else
   6877   { $as_echo "$as_me:$LINENO: result: no" >&5
   6878 $as_echo "no" >&6; }
   6879 fi
   6880 
   6881   if test "x$ac_ct_AR" = x; then
   6882     AR="false"
   6883   else
   6884     case $cross_compiling:$ac_tool_warned in
   6885 yes:)
   6886 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6888 ac_tool_warned=yes ;;
   6889 esac
   6890     AR=$ac_ct_AR
   6891   fi
   6892 else
   6893   AR="$ac_cv_prog_AR"
   6894 fi
   6895 
   6896 if test -n "$ac_tool_prefix"; then
   6897   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6898 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6900 $as_echo_n "checking for $ac_word... " >&6; }
   6901 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   if test -n "$RANLIB"; then
   6905   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6906 else
   6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6908 for as_dir in $PATH
   6909 do
   6910   IFS=$as_save_IFS
   6911   test -z "$as_dir" && as_dir=.
   6912   for ac_exec_ext in '' $ac_executable_extensions; do
   6913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6914     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6915     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6916     break 2
   6917   fi
   6918 done
   6919 done
   6920 IFS=$as_save_IFS
   6921 
   6922 fi
   6923 fi
   6924 RANLIB=$ac_cv_prog_RANLIB
   6925 if test -n "$RANLIB"; then
   6926   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6927 $as_echo "$RANLIB" >&6; }
   6928 else
   6929   { $as_echo "$as_me:$LINENO: result: no" >&5
   6930 $as_echo "no" >&6; }
   6931 fi
   6932 
   6933 
   6934 fi
   6935 if test -z "$ac_cv_prog_RANLIB"; then
   6936   ac_ct_RANLIB=$RANLIB
   6937   # Extract the first word of "ranlib", so it can be a program name with args.
   6938 set dummy ranlib; ac_word=$2
   6939 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6940 $as_echo_n "checking for $ac_word... " >&6; }
   6941 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   if test -n "$ac_ct_RANLIB"; then
   6945   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6946 else
   6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6948 for as_dir in $PATH
   6949 do
   6950   IFS=$as_save_IFS
   6951   test -z "$as_dir" && as_dir=.
   6952   for ac_exec_ext in '' $ac_executable_extensions; do
   6953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6954     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6955     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6956     break 2
   6957   fi
   6958 done
   6959 done
   6960 IFS=$as_save_IFS
   6961 
   6962 fi
   6963 fi
   6964 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6965 if test -n "$ac_ct_RANLIB"; then
   6966   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6967 $as_echo "$ac_ct_RANLIB" >&6; }
   6968 else
   6969   { $as_echo "$as_me:$LINENO: result: no" >&5
   6970 $as_echo "no" >&6; }
   6971 fi
   6972 
   6973   if test "x$ac_ct_RANLIB" = x; then
   6974     RANLIB=":"
   6975   else
   6976     case $cross_compiling:$ac_tool_warned in
   6977 yes:)
   6978 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6980 ac_tool_warned=yes ;;
   6981 esac
   6982     RANLIB=$ac_ct_RANLIB
   6983   fi
   6984 else
   6985   RANLIB="$ac_cv_prog_RANLIB"
   6986 fi
   6987 
   6988 if test -n "$ac_tool_prefix"; then
   6989   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6990 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6992 $as_echo_n "checking for $ac_word... " >&6; }
   6993 if test "${ac_cv_prog_STRIP+set}" = set; then
   6994   $as_echo_n "(cached) " >&6
   6995 else
   6996   if test -n "$STRIP"; then
   6997   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6998 else
   6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7000 for as_dir in $PATH
   7001 do
   7002   IFS=$as_save_IFS
   7003   test -z "$as_dir" && as_dir=.
   7004   for ac_exec_ext in '' $ac_executable_extensions; do
   7005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7006     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7007     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7008     break 2
   7009   fi
   7010 done
   7011 done
   7012 IFS=$as_save_IFS
   7013 
   7014 fi
   7015 fi
   7016 STRIP=$ac_cv_prog_STRIP
   7017 if test -n "$STRIP"; then
   7018   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7019 $as_echo "$STRIP" >&6; }
   7020 else
   7021   { $as_echo "$as_me:$LINENO: result: no" >&5
   7022 $as_echo "no" >&6; }
   7023 fi
   7024 
   7025 
   7026 fi
   7027 if test -z "$ac_cv_prog_STRIP"; then
   7028   ac_ct_STRIP=$STRIP
   7029   # Extract the first word of "strip", so it can be a program name with args.
   7030 set dummy strip; ac_word=$2
   7031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7032 $as_echo_n "checking for $ac_word... " >&6; }
   7033 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   if test -n "$ac_ct_STRIP"; then
   7037   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7038 else
   7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7040 for as_dir in $PATH
   7041 do
   7042   IFS=$as_save_IFS
   7043   test -z "$as_dir" && as_dir=.
   7044   for ac_exec_ext in '' $ac_executable_extensions; do
   7045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7046     ac_cv_prog_ac_ct_STRIP="strip"
   7047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7048     break 2
   7049   fi
   7050 done
   7051 done
   7052 IFS=$as_save_IFS
   7053 
   7054 fi
   7055 fi
   7056 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7057 if test -n "$ac_ct_STRIP"; then
   7058   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7059 $as_echo "$ac_ct_STRIP" >&6; }
   7060 else
   7061   { $as_echo "$as_me:$LINENO: result: no" >&5
   7062 $as_echo "no" >&6; }
   7063 fi
   7064 
   7065   if test "x$ac_ct_STRIP" = x; then
   7066     STRIP=":"
   7067   else
   7068     case $cross_compiling:$ac_tool_warned in
   7069 yes:)
   7070 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7072 ac_tool_warned=yes ;;
   7073 esac
   7074     STRIP=$ac_ct_STRIP
   7075   fi
   7076 else
   7077   STRIP="$ac_cv_prog_STRIP"
   7078 fi
   7079 
   7080 
   7081 old_CC="$CC"
   7082 old_CFLAGS="$CFLAGS"
   7083 
   7084 # Set sane defaults for various variables
   7085 test -z "$AR" && AR=ar
   7086 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7087 test -z "$AS" && AS=as
   7088 test -z "$CC" && CC=cc
   7089 test -z "$LTCC" && LTCC=$CC
   7090 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7091 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7092 test -z "$LD" && LD=ld
   7093 test -z "$LN_S" && LN_S="ln -s"
   7094 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7095 test -z "$NM" && NM=nm
   7096 test -z "$SED" && SED=sed
   7097 test -z "$OBJDUMP" && OBJDUMP=objdump
   7098 test -z "$RANLIB" && RANLIB=:
   7099 test -z "$STRIP" && STRIP=:
   7100 test -z "$ac_objext" && ac_objext=o
   7101 
   7102 # Determine commands to create old-style static archives.
   7103 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7104 old_postinstall_cmds='chmod 644 $oldlib'
   7105 old_postuninstall_cmds=
   7106 
   7107 if test -n "$RANLIB"; then
   7108   case $host_os in
   7109   openbsd*)
   7110     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7111     ;;
   7112   *)
   7113     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7114     ;;
   7115   esac
   7116   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7117 fi
   7118 
   7119 for cc_temp in $compiler""; do
   7120   case $cc_temp in
   7121     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7122     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7123     \-*) ;;
   7124     *) break;;
   7125   esac
   7126 done
   7127 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7128 
   7129 
   7130 # Only perform the check for file, if the check method requires it
   7131 case $deplibs_check_method in
   7132 file_magic*)
   7133   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7134     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7135 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7136 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7137   $as_echo_n "(cached) " >&6
   7138 else
   7139   case $MAGIC_CMD in
   7140 [\\/*] |  ?:[\\/]*)
   7141   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7142   ;;
   7143 *)
   7144   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7145   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7146   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7147   for ac_dir in $ac_dummy; do
   7148     IFS="$lt_save_ifs"
   7149     test -z "$ac_dir" && ac_dir=.
   7150     if test -f $ac_dir/${ac_tool_prefix}file; then
   7151       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7152       if test -n "$file_magic_test_file"; then
   7153 	case $deplibs_check_method in
   7154 	"file_magic "*)
   7155 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7156 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7157 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7158 	    $EGREP "$file_magic_regex" > /dev/null; then
   7159 	    :
   7160 	  else
   7161 	    cat <<EOF 1>&2
   7162 
   7163 *** Warning: the command libtool uses to detect shared libraries,
   7164 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7165 *** The result is that libtool may fail to recognize shared libraries
   7166 *** as such.  This will affect the creation of libtool libraries that
   7167 *** depend on shared libraries, but programs linked with such libtool
   7168 *** libraries will work regardless of this problem.  Nevertheless, you
   7169 *** may want to report the problem to your system manager and/or to
   7170 *** bug-libtool@gnu.org
   7171 
   7172 EOF
   7173 	  fi ;;
   7174 	esac
   7175       fi
   7176       break
   7177     fi
   7178   done
   7179   IFS="$lt_save_ifs"
   7180   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7181   ;;
   7182 esac
   7183 fi
   7184 
   7185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7186 if test -n "$MAGIC_CMD"; then
   7187   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7188 $as_echo "$MAGIC_CMD" >&6; }
   7189 else
   7190   { $as_echo "$as_me:$LINENO: result: no" >&5
   7191 $as_echo "no" >&6; }
   7192 fi
   7193 
   7194 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7195   if test -n "$ac_tool_prefix"; then
   7196     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7197 $as_echo_n "checking for file... " >&6; }
   7198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   case $MAGIC_CMD in
   7202 [\\/*] |  ?:[\\/]*)
   7203   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7204   ;;
   7205 *)
   7206   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7207   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7208   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7209   for ac_dir in $ac_dummy; do
   7210     IFS="$lt_save_ifs"
   7211     test -z "$ac_dir" && ac_dir=.
   7212     if test -f $ac_dir/file; then
   7213       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7214       if test -n "$file_magic_test_file"; then
   7215 	case $deplibs_check_method in
   7216 	"file_magic "*)
   7217 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7218 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7219 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7220 	    $EGREP "$file_magic_regex" > /dev/null; then
   7221 	    :
   7222 	  else
   7223 	    cat <<EOF 1>&2
   7224 
   7225 *** Warning: the command libtool uses to detect shared libraries,
   7226 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7227 *** The result is that libtool may fail to recognize shared libraries
   7228 *** as such.  This will affect the creation of libtool libraries that
   7229 *** depend on shared libraries, but programs linked with such libtool
   7230 *** libraries will work regardless of this problem.  Nevertheless, you
   7231 *** may want to report the problem to your system manager and/or to
   7232 *** bug-libtool@gnu.org
   7233 
   7234 EOF
   7235 	  fi ;;
   7236 	esac
   7237       fi
   7238       break
   7239     fi
   7240   done
   7241   IFS="$lt_save_ifs"
   7242   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7243   ;;
   7244 esac
   7245 fi
   7246 
   7247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7248 if test -n "$MAGIC_CMD"; then
   7249   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7250 $as_echo "$MAGIC_CMD" >&6; }
   7251 else
   7252   { $as_echo "$as_me:$LINENO: result: no" >&5
   7253 $as_echo "no" >&6; }
   7254 fi
   7255 
   7256   else
   7257     MAGIC_CMD=:
   7258   fi
   7259 fi
   7260 
   7261   fi
   7262   ;;
   7263 esac
   7264 
   7265 
   7266   case $host_os in
   7267     rhapsody* | darwin*)
   7268     if test -n "$ac_tool_prefix"; then
   7269   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7270 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7272 $as_echo_n "checking for $ac_word... " >&6; }
   7273 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7274   $as_echo_n "(cached) " >&6
   7275 else
   7276   if test -n "$DSYMUTIL"; then
   7277   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7278 else
   7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7280 for as_dir in $PATH
   7281 do
   7282   IFS=$as_save_IFS
   7283   test -z "$as_dir" && as_dir=.
   7284   for ac_exec_ext in '' $ac_executable_extensions; do
   7285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7286     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7288     break 2
   7289   fi
   7290 done
   7291 done
   7292 IFS=$as_save_IFS
   7293 
   7294 fi
   7295 fi
   7296 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7297 if test -n "$DSYMUTIL"; then
   7298   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7299 $as_echo "$DSYMUTIL" >&6; }
   7300 else
   7301   { $as_echo "$as_me:$LINENO: result: no" >&5
   7302 $as_echo "no" >&6; }
   7303 fi
   7304 
   7305 
   7306 fi
   7307 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7308   ac_ct_DSYMUTIL=$DSYMUTIL
   7309   # Extract the first word of "dsymutil", so it can be a program name with args.
   7310 set dummy dsymutil; ac_word=$2
   7311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7312 $as_echo_n "checking for $ac_word... " >&6; }
   7313 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   if test -n "$ac_ct_DSYMUTIL"; then
   7317   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7318 else
   7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7320 for as_dir in $PATH
   7321 do
   7322   IFS=$as_save_IFS
   7323   test -z "$as_dir" && as_dir=.
   7324   for ac_exec_ext in '' $ac_executable_extensions; do
   7325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7326     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7327     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7328     break 2
   7329   fi
   7330 done
   7331 done
   7332 IFS=$as_save_IFS
   7333 
   7334 fi
   7335 fi
   7336 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7337 if test -n "$ac_ct_DSYMUTIL"; then
   7338   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7339 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7340 else
   7341   { $as_echo "$as_me:$LINENO: result: no" >&5
   7342 $as_echo "no" >&6; }
   7343 fi
   7344 
   7345   if test "x$ac_ct_DSYMUTIL" = x; then
   7346     DSYMUTIL=":"
   7347   else
   7348     case $cross_compiling:$ac_tool_warned in
   7349 yes:)
   7350 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7352 ac_tool_warned=yes ;;
   7353 esac
   7354     DSYMUTIL=$ac_ct_DSYMUTIL
   7355   fi
   7356 else
   7357   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7358 fi
   7359 
   7360     if test -n "$ac_tool_prefix"; then
   7361   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7362 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7363 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7364 $as_echo_n "checking for $ac_word... " >&6; }
   7365 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7366   $as_echo_n "(cached) " >&6
   7367 else
   7368   if test -n "$NMEDIT"; then
   7369   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7370 else
   7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7372 for as_dir in $PATH
   7373 do
   7374   IFS=$as_save_IFS
   7375   test -z "$as_dir" && as_dir=.
   7376   for ac_exec_ext in '' $ac_executable_extensions; do
   7377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7378     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7379     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7380     break 2
   7381   fi
   7382 done
   7383 done
   7384 IFS=$as_save_IFS
   7385 
   7386 fi
   7387 fi
   7388 NMEDIT=$ac_cv_prog_NMEDIT
   7389 if test -n "$NMEDIT"; then
   7390   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7391 $as_echo "$NMEDIT" >&6; }
   7392 else
   7393   { $as_echo "$as_me:$LINENO: result: no" >&5
   7394 $as_echo "no" >&6; }
   7395 fi
   7396 
   7397 
   7398 fi
   7399 if test -z "$ac_cv_prog_NMEDIT"; then
   7400   ac_ct_NMEDIT=$NMEDIT
   7401   # Extract the first word of "nmedit", so it can be a program name with args.
   7402 set dummy nmedit; ac_word=$2
   7403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7404 $as_echo_n "checking for $ac_word... " >&6; }
   7405 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7406   $as_echo_n "(cached) " >&6
   7407 else
   7408   if test -n "$ac_ct_NMEDIT"; then
   7409   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7410 else
   7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7412 for as_dir in $PATH
   7413 do
   7414   IFS=$as_save_IFS
   7415   test -z "$as_dir" && as_dir=.
   7416   for ac_exec_ext in '' $ac_executable_extensions; do
   7417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7418     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7420     break 2
   7421   fi
   7422 done
   7423 done
   7424 IFS=$as_save_IFS
   7425 
   7426 fi
   7427 fi
   7428 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7429 if test -n "$ac_ct_NMEDIT"; then
   7430   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7431 $as_echo "$ac_ct_NMEDIT" >&6; }
   7432 else
   7433   { $as_echo "$as_me:$LINENO: result: no" >&5
   7434 $as_echo "no" >&6; }
   7435 fi
   7436 
   7437   if test "x$ac_ct_NMEDIT" = x; then
   7438     NMEDIT=":"
   7439   else
   7440     case $cross_compiling:$ac_tool_warned in
   7441 yes:)
   7442 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7444 ac_tool_warned=yes ;;
   7445 esac
   7446     NMEDIT=$ac_ct_NMEDIT
   7447   fi
   7448 else
   7449   NMEDIT="$ac_cv_prog_NMEDIT"
   7450 fi
   7451 
   7452 
   7453     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7454 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7455 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   lt_cv_apple_cc_single_mod=no
   7459       if test -z "${LT_MULTI_MODULE}"; then
   7460    # By default we will add the -single_module flag. You can override
   7461    # by either setting the environment variable LT_MULTI_MODULE
   7462    # non-empty at configure time, or by adding -multi_module to the
   7463    # link flags.
   7464    echo "int foo(void){return 1;}" > conftest.c
   7465    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7466      -dynamiclib ${wl}-single_module conftest.c
   7467    if test -f libconftest.dylib; then
   7468      lt_cv_apple_cc_single_mod=yes
   7469      rm -rf libconftest.dylib*
   7470    fi
   7471    rm conftest.c
   7472       fi
   7473 fi
   7474 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7475 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7476     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7477 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7478 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7479   $as_echo_n "(cached) " >&6
   7480 else
   7481   lt_cv_ld_exported_symbols_list=no
   7482       save_LDFLAGS=$LDFLAGS
   7483       echo "_main" > conftest.sym
   7484       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7485       cat >conftest.$ac_ext <<_ACEOF
   7486 /* confdefs.h.  */
   7487 _ACEOF
   7488 cat confdefs.h >>conftest.$ac_ext
   7489 cat >>conftest.$ac_ext <<_ACEOF
   7490 /* end confdefs.h.  */
   7491 
   7492 int
   7493 main ()
   7494 {
   7495 
   7496   ;
   7497   return 0;
   7498 }
   7499 _ACEOF
   7500 rm -f conftest.$ac_objext conftest$ac_exeext
   7501 if { (ac_try="$ac_link"
   7502 case "(($ac_try" in
   7503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7504   *) ac_try_echo=$ac_try;;
   7505 esac
   7506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7507 $as_echo "$ac_try_echo") >&5
   7508   (eval "$ac_link") 2>conftest.er1
   7509   ac_status=$?
   7510   grep -v '^ *+' conftest.er1 >conftest.err
   7511   rm -f conftest.er1
   7512   cat conftest.err >&5
   7513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7514   (exit $ac_status); } && {
   7515 	 test -z "$ac_c_werror_flag" ||
   7516 	 test ! -s conftest.err
   7517        } && test -s conftest$ac_exeext && {
   7518 	 test "$cross_compiling" = yes ||
   7519 	 $as_test_x conftest$ac_exeext
   7520        }; then
   7521   lt_cv_ld_exported_symbols_list=yes
   7522 else
   7523   $as_echo "$as_me: failed program was:" >&5
   7524 sed 's/^/| /' conftest.$ac_ext >&5
   7525 
   7526 	lt_cv_ld_exported_symbols_list=no
   7527 fi
   7528 
   7529 rm -rf conftest.dSYM
   7530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7531       conftest$ac_exeext conftest.$ac_ext
   7532    LDFLAGS="$save_LDFLAGS"
   7533 
   7534 fi
   7535 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7536 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7537     case $host_os in
   7538     rhapsody* | darwin1.[0123])
   7539       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7540     darwin1.*)
   7541      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7542     darwin*)
   7543       # if running on 10.5 or later, the deployment target defaults
   7544       # to the OS version, if on x86, and 10.4, the deployment
   7545       # target defaults to 10.4. Don't you love it?
   7546       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7547    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7548      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7549    10.[012]*)
   7550      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7551    10.*)
   7552      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7553       esac
   7554     ;;
   7555   esac
   7556     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7557       _lt_dar_single_mod='$single_module'
   7558     fi
   7559     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7560       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7561     else
   7562       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7563     fi
   7564     if test "$DSYMUTIL" != ":"; then
   7565       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7566     else
   7567       _lt_dsymutil=
   7568     fi
   7569     ;;
   7570   esac
   7571 
   7572 
   7573 enable_dlopen=no
   7574 enable_win32_dll=no
   7575 
   7576 # Check whether --enable-libtool-lock was given.
   7577 if test "${enable_libtool_lock+set}" = set; then
   7578   enableval=$enable_libtool_lock;
   7579 fi
   7580 
   7581 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7582 
   7583 
   7584 # Check whether --with-pic was given.
   7585 if test "${with_pic+set}" = set; then
   7586   withval=$with_pic; pic_mode="$withval"
   7587 else
   7588   pic_mode=default
   7589 fi
   7590 
   7591 test -z "$pic_mode" && pic_mode=default
   7592 
   7593 # Use C for the default configuration in the libtool script
   7594 tagname=
   7595 lt_save_CC="$CC"
   7596 ac_ext=c
   7597 ac_cpp='$CPP $CPPFLAGS'
   7598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7601 
   7602 
   7603 # Source file extension for C test sources.
   7604 ac_ext=c
   7605 
   7606 # Object file extension for compiled C test sources.
   7607 objext=o
   7608 objext=$objext
   7609 
   7610 # Code to be used in simple compile tests
   7611 lt_simple_compile_test_code="int some_variable = 0;"
   7612 
   7613 # Code to be used in simple link tests
   7614 lt_simple_link_test_code='int main(){return(0);}'
   7615 
   7616 
   7617 # If no C compiler was specified, use CC.
   7618 LTCC=${LTCC-"$CC"}
   7619 
   7620 # If no C compiler flags were specified, use CFLAGS.
   7621 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7622 
   7623 # Allow CC to be a program name with arguments.
   7624 compiler=$CC
   7625 
   7626 
   7627 # save warnings/boilerplate of simple test code
   7628 ac_outfile=conftest.$ac_objext
   7629 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7630 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7631 _lt_compiler_boilerplate=`cat conftest.err`
   7632 $rm conftest*
   7633 
   7634 ac_outfile=conftest.$ac_objext
   7635 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7636 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7637 _lt_linker_boilerplate=`cat conftest.err`
   7638 $rm -r conftest*
   7639 
   7640 
   7641 
   7642 lt_prog_compiler_no_builtin_flag=
   7643 
   7644 if test "$GCC" = yes; then
   7645   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7646 
   7647 
   7648 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7649 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7650 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7651   $as_echo_n "(cached) " >&6
   7652 else
   7653   lt_cv_prog_compiler_rtti_exceptions=no
   7654   ac_outfile=conftest.$ac_objext
   7655    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7656    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7657    # Insert the option either (1) after the last *FLAGS variable, or
   7658    # (2) before a word containing "conftest.", or (3) at the end.
   7659    # Note that $ac_compile itself does not contain backslashes and begins
   7660    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7661    # The option is referenced via a variable to avoid confusing sed.
   7662    lt_compile=`echo "$ac_compile" | $SED \
   7663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7665    -e 's:$: $lt_compiler_flag:'`
   7666    (eval echo "\"\$as_me:7666: $lt_compile\"" >&5)
   7667    (eval "$lt_compile" 2>conftest.err)
   7668    ac_status=$?
   7669    cat conftest.err >&5
   7670    echo "$as_me:7670: \$? = $ac_status" >&5
   7671    if (exit $ac_status) && test -s "$ac_outfile"; then
   7672      # The compiler can only warn and ignore the option if not recognized
   7673      # So say no if there are warnings other than the usual output.
   7674      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7675      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7676      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7677        lt_cv_prog_compiler_rtti_exceptions=yes
   7678      fi
   7679    fi
   7680    $rm conftest*
   7681 
   7682 fi
   7683 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7684 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7685 
   7686 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7687     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7688 else
   7689     :
   7690 fi
   7691 
   7692 fi
   7693 
   7694 lt_prog_compiler_wl=
   7695 lt_prog_compiler_pic=
   7696 lt_prog_compiler_static=
   7697 
   7698 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7699 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7700 
   7701   if test "$GCC" = yes; then
   7702     lt_prog_compiler_wl='-Wl,'
   7703     lt_prog_compiler_static='-static'
   7704 
   7705     case $host_os in
   7706       aix*)
   7707       # All AIX code is PIC.
   7708       if test "$host_cpu" = ia64; then
   7709 	# AIX 5 now supports IA64 processor
   7710 	lt_prog_compiler_static='-Bstatic'
   7711       fi
   7712       ;;
   7713 
   7714     amigaos*)
   7715       # FIXME: we need at least 68020 code to build shared libraries, but
   7716       # adding the `-m68020' flag to GCC prevents building anything better,
   7717       # like `-m68040'.
   7718       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7719       ;;
   7720 
   7721     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7722       # PIC is the default for these OSes.
   7723       ;;
   7724 
   7725     mingw* | cygwin* | pw32* | os2*)
   7726       # This hack is so that the source file can tell whether it is being
   7727       # built for inclusion in a dll (and should export symbols for example).
   7728       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7729       # (--disable-auto-import) libraries
   7730       lt_prog_compiler_pic='-DDLL_EXPORT'
   7731       ;;
   7732 
   7733     darwin* | rhapsody*)
   7734       # PIC is the default on this platform
   7735       # Common symbols not allowed in MH_DYLIB files
   7736       lt_prog_compiler_pic='-fno-common'
   7737       ;;
   7738 
   7739     interix[3-9]*)
   7740       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7741       # Instead, we relocate shared libraries at runtime.
   7742       ;;
   7743 
   7744     msdosdjgpp*)
   7745       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7746       # on systems that don't support them.
   7747       lt_prog_compiler_can_build_shared=no
   7748       enable_shared=no
   7749       ;;
   7750 
   7751     sysv4*MP*)
   7752       if test -d /usr/nec; then
   7753 	lt_prog_compiler_pic=-Kconform_pic
   7754       fi
   7755       ;;
   7756 
   7757     hpux*)
   7758       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7759       # not for PA HP-UX.
   7760       case $host_cpu in
   7761       hppa*64*|ia64*)
   7762 	# +Z the default
   7763 	;;
   7764       *)
   7765 	lt_prog_compiler_pic='-fPIC'
   7766 	;;
   7767       esac
   7768       ;;
   7769 
   7770     *)
   7771       lt_prog_compiler_pic='-fPIC'
   7772       ;;
   7773     esac
   7774   else
   7775     # PORTME Check for flag to pass linker flags through the system compiler.
   7776     case $host_os in
   7777     aix*)
   7778       lt_prog_compiler_wl='-Wl,'
   7779       if test "$host_cpu" = ia64; then
   7780 	# AIX 5 now supports IA64 processor
   7781 	lt_prog_compiler_static='-Bstatic'
   7782       else
   7783 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7784       fi
   7785       ;;
   7786       darwin*)
   7787         # PIC is the default on this platform
   7788         # Common symbols not allowed in MH_DYLIB files
   7789        case $cc_basename in
   7790          xlc*)
   7791          lt_prog_compiler_pic='-qnocommon'
   7792          lt_prog_compiler_wl='-Wl,'
   7793          ;;
   7794        esac
   7795        ;;
   7796 
   7797     mingw* | cygwin* | pw32* | os2*)
   7798       # This hack is so that the source file can tell whether it is being
   7799       # built for inclusion in a dll (and should export symbols for example).
   7800       lt_prog_compiler_pic='-DDLL_EXPORT'
   7801       ;;
   7802 
   7803     hpux9* | hpux10* | hpux11*)
   7804       lt_prog_compiler_wl='-Wl,'
   7805       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7806       # not for PA HP-UX.
   7807       case $host_cpu in
   7808       hppa*64*|ia64*)
   7809 	# +Z the default
   7810 	;;
   7811       *)
   7812 	lt_prog_compiler_pic='+Z'
   7813 	;;
   7814       esac
   7815       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7816       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7817       ;;
   7818 
   7819     irix5* | irix6* | nonstopux*)
   7820       lt_prog_compiler_wl='-Wl,'
   7821       # PIC (with -KPIC) is the default.
   7822       lt_prog_compiler_static='-non_shared'
   7823       ;;
   7824 
   7825     newsos6)
   7826       lt_prog_compiler_pic='-KPIC'
   7827       lt_prog_compiler_static='-Bstatic'
   7828       ;;
   7829 
   7830     linux* | k*bsd*-gnu)
   7831       case $cc_basename in
   7832       icc* | ecc*)
   7833 	lt_prog_compiler_wl='-Wl,'
   7834 	lt_prog_compiler_pic='-KPIC'
   7835 	lt_prog_compiler_static='-static'
   7836         ;;
   7837       pgcc* | pgf77* | pgf90* | pgf95*)
   7838         # Portland Group compilers (*not* the Pentium gcc compiler,
   7839 	# which looks to be a dead project)
   7840 	lt_prog_compiler_wl='-Wl,'
   7841 	lt_prog_compiler_pic='-fpic'
   7842 	lt_prog_compiler_static='-Bstatic'
   7843         ;;
   7844       ccc*)
   7845         lt_prog_compiler_wl='-Wl,'
   7846         # All Alpha code is PIC.
   7847         lt_prog_compiler_static='-non_shared'
   7848         ;;
   7849       *)
   7850         case `$CC -V 2>&1 | sed 5q` in
   7851 	*Sun\ C*)
   7852 	  # Sun C 5.9
   7853 	  lt_prog_compiler_pic='-KPIC'
   7854 	  lt_prog_compiler_static='-Bstatic'
   7855 	  lt_prog_compiler_wl='-Wl,'
   7856 	  ;;
   7857 	*Sun\ F*)
   7858 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7859 	  lt_prog_compiler_pic='-KPIC'
   7860 	  lt_prog_compiler_static='-Bstatic'
   7861 	  lt_prog_compiler_wl=''
   7862 	  ;;
   7863 	esac
   7864 	;;
   7865       esac
   7866       ;;
   7867 
   7868     osf3* | osf4* | osf5*)
   7869       lt_prog_compiler_wl='-Wl,'
   7870       # All OSF/1 code is PIC.
   7871       lt_prog_compiler_static='-non_shared'
   7872       ;;
   7873 
   7874     rdos*)
   7875       lt_prog_compiler_static='-non_shared'
   7876       ;;
   7877 
   7878     solaris*)
   7879       lt_prog_compiler_pic='-KPIC'
   7880       lt_prog_compiler_static='-Bstatic'
   7881       case $cc_basename in
   7882       f77* | f90* | f95*)
   7883 	lt_prog_compiler_wl='-Qoption ld ';;
   7884       *)
   7885 	lt_prog_compiler_wl='-Wl,';;
   7886       esac
   7887       ;;
   7888 
   7889     sunos4*)
   7890       lt_prog_compiler_wl='-Qoption ld '
   7891       lt_prog_compiler_pic='-PIC'
   7892       lt_prog_compiler_static='-Bstatic'
   7893       ;;
   7894 
   7895     sysv4 | sysv4.2uw2* | sysv4.3*)
   7896       lt_prog_compiler_wl='-Wl,'
   7897       lt_prog_compiler_pic='-KPIC'
   7898       lt_prog_compiler_static='-Bstatic'
   7899       ;;
   7900 
   7901     sysv4*MP*)
   7902       if test -d /usr/nec ;then
   7903 	lt_prog_compiler_pic='-Kconform_pic'
   7904 	lt_prog_compiler_static='-Bstatic'
   7905       fi
   7906       ;;
   7907 
   7908     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7909       lt_prog_compiler_wl='-Wl,'
   7910       lt_prog_compiler_pic='-KPIC'
   7911       lt_prog_compiler_static='-Bstatic'
   7912       ;;
   7913 
   7914     unicos*)
   7915       lt_prog_compiler_wl='-Wl,'
   7916       lt_prog_compiler_can_build_shared=no
   7917       ;;
   7918 
   7919     uts4*)
   7920       lt_prog_compiler_pic='-pic'
   7921       lt_prog_compiler_static='-Bstatic'
   7922       ;;
   7923 
   7924     *)
   7925       lt_prog_compiler_can_build_shared=no
   7926       ;;
   7927     esac
   7928   fi
   7929 
   7930 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7931 $as_echo "$lt_prog_compiler_pic" >&6; }
   7932 
   7933 #
   7934 # Check to make sure the PIC flag actually works.
   7935 #
   7936 if test -n "$lt_prog_compiler_pic"; then
   7937 
   7938 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7939 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7940 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7941   $as_echo_n "(cached) " >&6
   7942 else
   7943   lt_cv_prog_compiler_pic_works=no
   7944   ac_outfile=conftest.$ac_objext
   7945    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7946    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7947    # Insert the option either (1) after the last *FLAGS variable, or
   7948    # (2) before a word containing "conftest.", or (3) at the end.
   7949    # Note that $ac_compile itself does not contain backslashes and begins
   7950    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7951    # The option is referenced via a variable to avoid confusing sed.
   7952    lt_compile=`echo "$ac_compile" | $SED \
   7953    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7954    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7955    -e 's:$: $lt_compiler_flag:'`
   7956    (eval echo "\"\$as_me:7956: $lt_compile\"" >&5)
   7957    (eval "$lt_compile" 2>conftest.err)
   7958    ac_status=$?
   7959    cat conftest.err >&5
   7960    echo "$as_me:7960: \$? = $ac_status" >&5
   7961    if (exit $ac_status) && test -s "$ac_outfile"; then
   7962      # The compiler can only warn and ignore the option if not recognized
   7963      # So say no if there are warnings other than the usual output.
   7964      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7965      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7966      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7967        lt_cv_prog_compiler_pic_works=yes
   7968      fi
   7969    fi
   7970    $rm conftest*
   7971 
   7972 fi
   7973 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7974 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7975 
   7976 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7977     case $lt_prog_compiler_pic in
   7978      "" | " "*) ;;
   7979      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7980      esac
   7981 else
   7982     lt_prog_compiler_pic=
   7983      lt_prog_compiler_can_build_shared=no
   7984 fi
   7985 
   7986 fi
   7987 case $host_os in
   7988   # For platforms which do not support PIC, -DPIC is meaningless:
   7989   *djgpp*)
   7990     lt_prog_compiler_pic=
   7991     ;;
   7992   *)
   7993     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7994     ;;
   7995 esac
   7996 
   7997 #
   7998 # Check to make sure the static flag actually works.
   7999 #
   8000 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8001 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8002 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8003 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8004   $as_echo_n "(cached) " >&6
   8005 else
   8006   lt_cv_prog_compiler_static_works=no
   8007    save_LDFLAGS="$LDFLAGS"
   8008    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8009    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8010    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8011      # The linker can only warn and ignore the option if not recognized
   8012      # So say no if there are warnings
   8013      if test -s conftest.err; then
   8014        # Append any errors to the config.log.
   8015        cat conftest.err 1>&5
   8016        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8017        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8018        if diff conftest.exp conftest.er2 >/dev/null; then
   8019          lt_cv_prog_compiler_static_works=yes
   8020        fi
   8021      else
   8022        lt_cv_prog_compiler_static_works=yes
   8023      fi
   8024    fi
   8025    $rm -r conftest*
   8026    LDFLAGS="$save_LDFLAGS"
   8027 
   8028 fi
   8029 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8030 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8031 
   8032 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8033     :
   8034 else
   8035     lt_prog_compiler_static=
   8036 fi
   8037 
   8038 
   8039 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8040 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8041 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8042   $as_echo_n "(cached) " >&6
   8043 else
   8044   lt_cv_prog_compiler_c_o=no
   8045    $rm -r conftest 2>/dev/null
   8046    mkdir conftest
   8047    cd conftest
   8048    mkdir out
   8049    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8050 
   8051    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8052    # Insert the option either (1) after the last *FLAGS variable, or
   8053    # (2) before a word containing "conftest.", or (3) at the end.
   8054    # Note that $ac_compile itself does not contain backslashes and begins
   8055    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8056    lt_compile=`echo "$ac_compile" | $SED \
   8057    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8058    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8059    -e 's:$: $lt_compiler_flag:'`
   8060    (eval echo "\"\$as_me:8060: $lt_compile\"" >&5)
   8061    (eval "$lt_compile" 2>out/conftest.err)
   8062    ac_status=$?
   8063    cat out/conftest.err >&5
   8064    echo "$as_me:8064: \$? = $ac_status" >&5
   8065    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8066    then
   8067      # The compiler can only warn and ignore the option if not recognized
   8068      # So say no if there are warnings
   8069      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8070      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8071      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8072        lt_cv_prog_compiler_c_o=yes
   8073      fi
   8074    fi
   8075    chmod u+w . 2>&5
   8076    $rm conftest*
   8077    # SGI C++ compiler will create directory out/ii_files/ for
   8078    # template instantiation
   8079    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8080    $rm out/* && rmdir out
   8081    cd ..
   8082    rmdir conftest
   8083    $rm conftest*
   8084 
   8085 fi
   8086 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8087 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8088 
   8089 
   8090 hard_links="nottested"
   8091 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8092   # do not overwrite the value of need_locks provided by the user
   8093   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8094 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8095   hard_links=yes
   8096   $rm conftest*
   8097   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8098   touch conftest.a
   8099   ln conftest.a conftest.b 2>&5 || hard_links=no
   8100   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8101   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8102 $as_echo "$hard_links" >&6; }
   8103   if test "$hard_links" = no; then
   8104     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8105 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8106     need_locks=warn
   8107   fi
   8108 else
   8109   need_locks=no
   8110 fi
   8111 
   8112 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8113 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8114 
   8115   runpath_var=
   8116   allow_undefined_flag=
   8117   enable_shared_with_static_runtimes=no
   8118   archive_cmds=
   8119   archive_expsym_cmds=
   8120   old_archive_From_new_cmds=
   8121   old_archive_from_expsyms_cmds=
   8122   export_dynamic_flag_spec=
   8123   whole_archive_flag_spec=
   8124   thread_safe_flag_spec=
   8125   hardcode_libdir_flag_spec=
   8126   hardcode_libdir_flag_spec_ld=
   8127   hardcode_libdir_separator=
   8128   hardcode_direct=no
   8129   hardcode_minus_L=no
   8130   hardcode_shlibpath_var=unsupported
   8131   link_all_deplibs=unknown
   8132   hardcode_automatic=no
   8133   module_cmds=
   8134   module_expsym_cmds=
   8135   always_export_symbols=no
   8136   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8137   # include_expsyms should be a list of space-separated symbols to be *always*
   8138   # included in the symbol list
   8139   include_expsyms=
   8140   # exclude_expsyms can be an extended regexp of symbols to exclude
   8141   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8142   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8143   # as well as any symbol that contains `d'.
   8144   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8145   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8146   # platforms (ab)use it in PIC code, but their linkers get confused if
   8147   # the symbol is explicitly referenced.  Since portable code cannot
   8148   # rely on this symbol name, it's probably fine to never include it in
   8149   # preloaded symbol tables.
   8150   # Exclude shared library initialization/finalization symbols.
   8151   extract_expsyms_cmds=
   8152   # Just being paranoid about ensuring that cc_basename is set.
   8153   for cc_temp in $compiler""; do
   8154   case $cc_temp in
   8155     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8156     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8157     \-*) ;;
   8158     *) break;;
   8159   esac
   8160 done
   8161 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8162 
   8163   case $host_os in
   8164   cygwin* | mingw* | pw32*)
   8165     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8166     # When not using gcc, we currently assume that we are using
   8167     # Microsoft Visual C++.
   8168     if test "$GCC" != yes; then
   8169       with_gnu_ld=no
   8170     fi
   8171     ;;
   8172   interix*)
   8173     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8174     with_gnu_ld=yes
   8175     ;;
   8176   openbsd*)
   8177     with_gnu_ld=no
   8178     ;;
   8179   esac
   8180 
   8181   ld_shlibs=yes
   8182   if test "$with_gnu_ld" = yes; then
   8183     # If archive_cmds runs LD, not CC, wlarc should be empty
   8184     wlarc='${wl}'
   8185 
   8186     # Set some defaults for GNU ld with shared library support. These
   8187     # are reset later if shared libraries are not supported. Putting them
   8188     # here allows them to be overridden if necessary.
   8189     runpath_var=LD_RUN_PATH
   8190     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8191     export_dynamic_flag_spec='${wl}--export-dynamic'
   8192     # ancient GNU ld didn't support --whole-archive et. al.
   8193     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8194 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8195       else
   8196   	whole_archive_flag_spec=
   8197     fi
   8198     supports_anon_versioning=no
   8199     case `$LD -v 2>/dev/null` in
   8200       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8201       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8202       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8203       *\ 2.11.*) ;; # other 2.11 versions
   8204       *) supports_anon_versioning=yes ;;
   8205     esac
   8206 
   8207     # See if GNU ld supports shared libraries.
   8208     case $host_os in
   8209     aix[3-9]*)
   8210       # On AIX/PPC, the GNU linker is very broken
   8211       if test "$host_cpu" != ia64; then
   8212 	ld_shlibs=no
   8213 	cat <<EOF 1>&2
   8214 
   8215 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8216 *** to be unable to reliably create shared libraries on AIX.
   8217 *** Therefore, libtool is disabling shared libraries support.  If you
   8218 *** really care for shared libraries, you may want to modify your PATH
   8219 *** so that a non-GNU linker is found, and then restart.
   8220 
   8221 EOF
   8222       fi
   8223       ;;
   8224 
   8225     amigaos*)
   8226       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)'
   8227       hardcode_libdir_flag_spec='-L$libdir'
   8228       hardcode_minus_L=yes
   8229 
   8230       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8231       # that the semantics of dynamic libraries on AmigaOS, at least up
   8232       # to version 4, is to share data among multiple programs linked
   8233       # with the same dynamic library.  Since this doesn't match the
   8234       # behavior of shared libraries on other platforms, we can't use
   8235       # them.
   8236       ld_shlibs=no
   8237       ;;
   8238 
   8239     beos*)
   8240       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8241 	allow_undefined_flag=unsupported
   8242 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8243 	# support --undefined.  This deserves some investigation.  FIXME
   8244 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8245       else
   8246 	ld_shlibs=no
   8247       fi
   8248       ;;
   8249 
   8250     cygwin* | mingw* | pw32*)
   8251       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8252       # as there is no search path for DLLs.
   8253       hardcode_libdir_flag_spec='-L$libdir'
   8254       allow_undefined_flag=unsupported
   8255       always_export_symbols=no
   8256       enable_shared_with_static_runtimes=yes
   8257       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8258 
   8259       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8260         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8261 	# If the export-symbols file already is a .def file (1st line
   8262 	# is EXPORTS), use it as is; otherwise, prepend...
   8263 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8264 	  cp $export_symbols $output_objdir/$soname.def;
   8265 	else
   8266 	  echo EXPORTS > $output_objdir/$soname.def;
   8267 	  cat $export_symbols >> $output_objdir/$soname.def;
   8268 	fi~
   8269 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8270       else
   8271 	ld_shlibs=no
   8272       fi
   8273       ;;
   8274 
   8275     interix[3-9]*)
   8276       hardcode_direct=no
   8277       hardcode_shlibpath_var=no
   8278       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8279       export_dynamic_flag_spec='${wl}-E'
   8280       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8281       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8282       # default) and relocated if they conflict, which is a slow very memory
   8283       # consuming and fragmenting process.  To avoid this, we pick a random,
   8284       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8285       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8286       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8287       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'
   8288       ;;
   8289 
   8290     gnu* | linux* | k*bsd*-gnu)
   8291       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8292 	tmp_addflag=
   8293 	case $cc_basename,$host_cpu in
   8294 	pgcc*)				# Portland Group C compiler
   8295 	  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'
   8296 	  tmp_addflag=' $pic_flag'
   8297 	  ;;
   8298 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8299 	  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'
   8300 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8301 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8302 	  tmp_addflag=' -i_dynamic' ;;
   8303 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8304 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8305 	ifc* | ifort*)			# Intel Fortran compiler
   8306 	  tmp_addflag=' -nofor_main' ;;
   8307 	esac
   8308 	case `$CC -V 2>&1 | sed 5q` in
   8309 	*Sun\ C*)			# Sun C 5.9
   8310 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8311 	  tmp_sharedflag='-G' ;;
   8312 	*Sun\ F*)			# Sun Fortran 8.3
   8313 	  tmp_sharedflag='-G' ;;
   8314 	*)
   8315 	  tmp_sharedflag='-shared' ;;
   8316 	esac
   8317 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8318 
   8319 	if test $supports_anon_versioning = yes; then
   8320 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8321   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8322   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8323 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8324 	fi
   8325       else
   8326 	ld_shlibs=no
   8327       fi
   8328       ;;
   8329 
   8330     netbsd*)
   8331       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8332 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8333 	wlarc=
   8334       else
   8335 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8336 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8337       fi
   8338       ;;
   8339 
   8340     solaris*)
   8341       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8342 	ld_shlibs=no
   8343 	cat <<EOF 1>&2
   8344 
   8345 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8346 *** create shared libraries on Solaris systems.  Therefore, libtool
   8347 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8348 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8349 *** your PATH or compiler configuration so that the native linker is
   8350 *** used, and then restart.
   8351 
   8352 EOF
   8353       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8354 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8355 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8356       else
   8357 	ld_shlibs=no
   8358       fi
   8359       ;;
   8360 
   8361     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8362       case `$LD -v 2>&1` in
   8363         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8364 	ld_shlibs=no
   8365 	cat <<_LT_EOF 1>&2
   8366 
   8367 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8368 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8369 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8370 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8371 *** your PATH or compiler configuration so that the native linker is
   8372 *** used, and then restart.
   8373 
   8374 _LT_EOF
   8375 	;;
   8376 	*)
   8377 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8378 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8379 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8380 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8381 	  else
   8382 	    ld_shlibs=no
   8383 	  fi
   8384 	;;
   8385       esac
   8386       ;;
   8387 
   8388     sunos4*)
   8389       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8390       wlarc=
   8391       hardcode_direct=yes
   8392       hardcode_shlibpath_var=no
   8393       ;;
   8394 
   8395     *)
   8396       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8397 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8398 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8399       else
   8400 	ld_shlibs=no
   8401       fi
   8402       ;;
   8403     esac
   8404 
   8405     if test "$ld_shlibs" = no; then
   8406       runpath_var=
   8407       hardcode_libdir_flag_spec=
   8408       export_dynamic_flag_spec=
   8409       whole_archive_flag_spec=
   8410     fi
   8411   else
   8412     # PORTME fill in a description of your system's linker (not GNU ld)
   8413     case $host_os in
   8414     aix3*)
   8415       allow_undefined_flag=unsupported
   8416       always_export_symbols=yes
   8417       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'
   8418       # Note: this linker hardcodes the directories in LIBPATH if there
   8419       # are no directories specified by -L.
   8420       hardcode_minus_L=yes
   8421       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8422 	# Neither direct hardcoding nor static linking is supported with a
   8423 	# broken collect2.
   8424 	hardcode_direct=unsupported
   8425       fi
   8426       ;;
   8427 
   8428     aix[4-9]*)
   8429       if test "$host_cpu" = ia64; then
   8430 	# On IA64, the linker does run time linking by default, so we don't
   8431 	# have to do anything special.
   8432 	aix_use_runtimelinking=no
   8433 	exp_sym_flag='-Bexport'
   8434 	no_entry_flag=""
   8435       else
   8436 	# If we're using GNU nm, then we don't want the "-C" option.
   8437 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8438 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8439 	  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'
   8440 	else
   8441 	  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'
   8442 	fi
   8443 	aix_use_runtimelinking=no
   8444 
   8445 	# Test if we are trying to use run time linking or normal
   8446 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8447 	# need to do runtime linking.
   8448 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8449 	  for ld_flag in $LDFLAGS; do
   8450   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8451   	    aix_use_runtimelinking=yes
   8452   	    break
   8453   	  fi
   8454 	  done
   8455 	  ;;
   8456 	esac
   8457 
   8458 	exp_sym_flag='-bexport'
   8459 	no_entry_flag='-bnoentry'
   8460       fi
   8461 
   8462       # When large executables or shared objects are built, AIX ld can
   8463       # have problems creating the table of contents.  If linking a library
   8464       # or program results in "error TOC overflow" add -mminimal-toc to
   8465       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8466       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8467 
   8468       archive_cmds=''
   8469       hardcode_direct=yes
   8470       hardcode_libdir_separator=':'
   8471       link_all_deplibs=yes
   8472 
   8473       if test "$GCC" = yes; then
   8474 	case $host_os in aix4.[012]|aix4.[012].*)
   8475 	# We only want to do this on AIX 4.2 and lower, the check
   8476 	# below for broken collect2 doesn't work under 4.3+
   8477 	  collect2name=`${CC} -print-prog-name=collect2`
   8478 	  if test -f "$collect2name" && \
   8479   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8480 	  then
   8481   	  # We have reworked collect2
   8482   	  :
   8483 	  else
   8484   	  # We have old collect2
   8485   	  hardcode_direct=unsupported
   8486   	  # It fails to find uninstalled libraries when the uninstalled
   8487   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8488   	  # to unsupported forces relinking
   8489   	  hardcode_minus_L=yes
   8490   	  hardcode_libdir_flag_spec='-L$libdir'
   8491   	  hardcode_libdir_separator=
   8492 	  fi
   8493 	  ;;
   8494 	esac
   8495 	shared_flag='-shared'
   8496 	if test "$aix_use_runtimelinking" = yes; then
   8497 	  shared_flag="$shared_flag "'${wl}-G'
   8498 	fi
   8499       else
   8500 	# not using gcc
   8501 	if test "$host_cpu" = ia64; then
   8502   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8503   	# chokes on -Wl,-G. The following line is correct:
   8504 	  shared_flag='-G'
   8505 	else
   8506 	  if test "$aix_use_runtimelinking" = yes; then
   8507 	    shared_flag='${wl}-G'
   8508 	  else
   8509 	    shared_flag='${wl}-bM:SRE'
   8510 	  fi
   8511 	fi
   8512       fi
   8513 
   8514       # It seems that -bexpall does not export symbols beginning with
   8515       # underscore (_), so it is better to generate a list of symbols to export.
   8516       always_export_symbols=yes
   8517       if test "$aix_use_runtimelinking" = yes; then
   8518 	# Warning - without using the other runtime loading flags (-brtl),
   8519 	# -berok will link without error, but may produce a broken library.
   8520 	allow_undefined_flag='-berok'
   8521        # Determine the default libpath from the value encoded in an empty executable.
   8522        cat >conftest.$ac_ext <<_ACEOF
   8523 /* confdefs.h.  */
   8524 _ACEOF
   8525 cat confdefs.h >>conftest.$ac_ext
   8526 cat >>conftest.$ac_ext <<_ACEOF
   8527 /* end confdefs.h.  */
   8528 
   8529 int
   8530 main ()
   8531 {
   8532 
   8533   ;
   8534   return 0;
   8535 }
   8536 _ACEOF
   8537 rm -f conftest.$ac_objext conftest$ac_exeext
   8538 if { (ac_try="$ac_link"
   8539 case "(($ac_try" in
   8540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8541   *) ac_try_echo=$ac_try;;
   8542 esac
   8543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8544 $as_echo "$ac_try_echo") >&5
   8545   (eval "$ac_link") 2>conftest.er1
   8546   ac_status=$?
   8547   grep -v '^ *+' conftest.er1 >conftest.err
   8548   rm -f conftest.er1
   8549   cat conftest.err >&5
   8550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8551   (exit $ac_status); } && {
   8552 	 test -z "$ac_c_werror_flag" ||
   8553 	 test ! -s conftest.err
   8554        } && test -s conftest$ac_exeext && {
   8555 	 test "$cross_compiling" = yes ||
   8556 	 $as_test_x conftest$ac_exeext
   8557        }; then
   8558 
   8559 lt_aix_libpath_sed='
   8560     /Import File Strings/,/^$/ {
   8561 	/^0/ {
   8562 	    s/^0  *\(.*\)$/\1/
   8563 	    p
   8564 	}
   8565     }'
   8566 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8567 # Check for a 64-bit object if we didn't find anything.
   8568 if test -z "$aix_libpath"; then
   8569   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8570 fi
   8571 else
   8572   $as_echo "$as_me: failed program was:" >&5
   8573 sed 's/^/| /' conftest.$ac_ext >&5
   8574 
   8575 
   8576 fi
   8577 
   8578 rm -rf conftest.dSYM
   8579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8580       conftest$ac_exeext conftest.$ac_ext
   8581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8582 
   8583        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8584 	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"
   8585        else
   8586 	if test "$host_cpu" = ia64; then
   8587 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8588 	  allow_undefined_flag="-z nodefs"
   8589 	  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"
   8590 	else
   8591 	 # Determine the default libpath from the value encoded in an empty executable.
   8592 	 cat >conftest.$ac_ext <<_ACEOF
   8593 /* confdefs.h.  */
   8594 _ACEOF
   8595 cat confdefs.h >>conftest.$ac_ext
   8596 cat >>conftest.$ac_ext <<_ACEOF
   8597 /* end confdefs.h.  */
   8598 
   8599 int
   8600 main ()
   8601 {
   8602 
   8603   ;
   8604   return 0;
   8605 }
   8606 _ACEOF
   8607 rm -f conftest.$ac_objext conftest$ac_exeext
   8608 if { (ac_try="$ac_link"
   8609 case "(($ac_try" in
   8610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8611   *) ac_try_echo=$ac_try;;
   8612 esac
   8613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8614 $as_echo "$ac_try_echo") >&5
   8615   (eval "$ac_link") 2>conftest.er1
   8616   ac_status=$?
   8617   grep -v '^ *+' conftest.er1 >conftest.err
   8618   rm -f conftest.er1
   8619   cat conftest.err >&5
   8620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8621   (exit $ac_status); } && {
   8622 	 test -z "$ac_c_werror_flag" ||
   8623 	 test ! -s conftest.err
   8624        } && test -s conftest$ac_exeext && {
   8625 	 test "$cross_compiling" = yes ||
   8626 	 $as_test_x conftest$ac_exeext
   8627        }; then
   8628 
   8629 lt_aix_libpath_sed='
   8630     /Import File Strings/,/^$/ {
   8631 	/^0/ {
   8632 	    s/^0  *\(.*\)$/\1/
   8633 	    p
   8634 	}
   8635     }'
   8636 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8637 # Check for a 64-bit object if we didn't find anything.
   8638 if test -z "$aix_libpath"; then
   8639   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8640 fi
   8641 else
   8642   $as_echo "$as_me: failed program was:" >&5
   8643 sed 's/^/| /' conftest.$ac_ext >&5
   8644 
   8645 
   8646 fi
   8647 
   8648 rm -rf conftest.dSYM
   8649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8650       conftest$ac_exeext conftest.$ac_ext
   8651 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8652 
   8653 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8654 	  # Warning - without using the other run time loading flags,
   8655 	  # -berok will link without error, but may produce a broken library.
   8656 	  no_undefined_flag=' ${wl}-bernotok'
   8657 	  allow_undefined_flag=' ${wl}-berok'
   8658 	  # Exported symbols can be pulled into shared objects from archives
   8659 	  whole_archive_flag_spec='$convenience'
   8660 	  archive_cmds_need_lc=yes
   8661 	  # This is similar to how AIX traditionally builds its shared libraries.
   8662 	  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'
   8663 	fi
   8664       fi
   8665       ;;
   8666 
   8667     amigaos*)
   8668       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)'
   8669       hardcode_libdir_flag_spec='-L$libdir'
   8670       hardcode_minus_L=yes
   8671       # see comment about different semantics on the GNU ld section
   8672       ld_shlibs=no
   8673       ;;
   8674 
   8675     bsdi[45]*)
   8676       export_dynamic_flag_spec=-rdynamic
   8677       ;;
   8678 
   8679     cygwin* | mingw* | pw32*)
   8680       # When not using gcc, we currently assume that we are using
   8681       # Microsoft Visual C++.
   8682       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8683       # no search path for DLLs.
   8684       hardcode_libdir_flag_spec=' '
   8685       allow_undefined_flag=unsupported
   8686       # Tell ltmain to make .lib files, not .a files.
   8687       libext=lib
   8688       # Tell ltmain to make .dll files, not .so files.
   8689       shrext_cmds=".dll"
   8690       # FIXME: Setting linknames here is a bad hack.
   8691       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8692       # The linker will automatically build a .lib file if we build a DLL.
   8693       old_archive_From_new_cmds='true'
   8694       # FIXME: Should let the user specify the lib program.
   8695       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8696       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8697       enable_shared_with_static_runtimes=yes
   8698       ;;
   8699 
   8700     darwin* | rhapsody*)
   8701       case $host_os in
   8702         rhapsody* | darwin1.[012])
   8703          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8704          ;;
   8705        *) # Darwin 1.3 on
   8706          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8707            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8708          else
   8709            case ${MACOSX_DEPLOYMENT_TARGET} in
   8710              10.[012])
   8711                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8712                ;;
   8713              10.*)
   8714                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8715                ;;
   8716            esac
   8717          fi
   8718          ;;
   8719       esac
   8720       archive_cmds_need_lc=no
   8721       hardcode_direct=no
   8722       hardcode_automatic=yes
   8723       hardcode_shlibpath_var=unsupported
   8724       whole_archive_flag_spec=''
   8725       link_all_deplibs=yes
   8726     if test "$GCC" = yes ; then
   8727     	output_verbose_link_cmd='echo'
   8728         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8729         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8730         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8731         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8732     else
   8733       case $cc_basename in
   8734         xlc*)
   8735          output_verbose_link_cmd='echo'
   8736          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8737          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8738           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8739          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8740           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}'
   8741           ;;
   8742        *)
   8743          ld_shlibs=no
   8744           ;;
   8745       esac
   8746     fi
   8747       ;;
   8748 
   8749     dgux*)
   8750       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8751       hardcode_libdir_flag_spec='-L$libdir'
   8752       hardcode_shlibpath_var=no
   8753       ;;
   8754 
   8755     freebsd1*)
   8756       ld_shlibs=no
   8757       ;;
   8758 
   8759     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8760     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8761     # does not break anything, and helps significantly (at the cost of a little
   8762     # extra space).
   8763     freebsd2.2*)
   8764       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8765       hardcode_libdir_flag_spec='-R$libdir'
   8766       hardcode_direct=yes
   8767       hardcode_shlibpath_var=no
   8768       ;;
   8769 
   8770     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8771     freebsd2*)
   8772       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8773       hardcode_direct=yes
   8774       hardcode_minus_L=yes
   8775       hardcode_shlibpath_var=no
   8776       ;;
   8777 
   8778     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8779     freebsd* | dragonfly*)
   8780       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8781       hardcode_libdir_flag_spec='-R$libdir'
   8782       hardcode_direct=yes
   8783       hardcode_shlibpath_var=no
   8784       ;;
   8785 
   8786     hpux9*)
   8787       if test "$GCC" = yes; then
   8788 	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'
   8789       else
   8790 	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'
   8791       fi
   8792       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8793       hardcode_libdir_separator=:
   8794       hardcode_direct=yes
   8795 
   8796       # hardcode_minus_L: Not really in the search PATH,
   8797       # but as the default location of the library.
   8798       hardcode_minus_L=yes
   8799       export_dynamic_flag_spec='${wl}-E'
   8800       ;;
   8801 
   8802     hpux10*)
   8803       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8804 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8805       else
   8806 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8807       fi
   8808       if test "$with_gnu_ld" = no; then
   8809 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8810 	hardcode_libdir_separator=:
   8811 
   8812 	hardcode_direct=yes
   8813 	export_dynamic_flag_spec='${wl}-E'
   8814 
   8815 	# hardcode_minus_L: Not really in the search PATH,
   8816 	# but as the default location of the library.
   8817 	hardcode_minus_L=yes
   8818       fi
   8819       ;;
   8820 
   8821     hpux11*)
   8822       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8823 	case $host_cpu in
   8824 	hppa*64*)
   8825 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8826 	  ;;
   8827 	ia64*)
   8828 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8829 	  ;;
   8830 	*)
   8831 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8832 	  ;;
   8833 	esac
   8834       else
   8835 	case $host_cpu in
   8836 	hppa*64*)
   8837 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8838 	  ;;
   8839 	ia64*)
   8840 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8841 	  ;;
   8842 	*)
   8843 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8844 	  ;;
   8845 	esac
   8846       fi
   8847       if test "$with_gnu_ld" = no; then
   8848 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8849 	hardcode_libdir_separator=:
   8850 
   8851 	case $host_cpu in
   8852 	hppa*64*|ia64*)
   8853 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8854 	  hardcode_direct=no
   8855 	  hardcode_shlibpath_var=no
   8856 	  ;;
   8857 	*)
   8858 	  hardcode_direct=yes
   8859 	  export_dynamic_flag_spec='${wl}-E'
   8860 
   8861 	  # hardcode_minus_L: Not really in the search PATH,
   8862 	  # but as the default location of the library.
   8863 	  hardcode_minus_L=yes
   8864 	  ;;
   8865 	esac
   8866       fi
   8867       ;;
   8868 
   8869     irix5* | irix6* | nonstopux*)
   8870       if test "$GCC" = yes; then
   8871 	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'
   8872       else
   8873 	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'
   8874 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8875       fi
   8876       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8877       hardcode_libdir_separator=:
   8878       link_all_deplibs=yes
   8879       ;;
   8880 
   8881     netbsd*)
   8882       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8883 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8884       else
   8885 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8886       fi
   8887       hardcode_libdir_flag_spec='-R$libdir'
   8888       hardcode_direct=yes
   8889       hardcode_shlibpath_var=no
   8890       ;;
   8891 
   8892     newsos6)
   8893       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8894       hardcode_direct=yes
   8895       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8896       hardcode_libdir_separator=:
   8897       hardcode_shlibpath_var=no
   8898       ;;
   8899 
   8900     openbsd*)
   8901       if test -f /usr/libexec/ld.so; then
   8902 	hardcode_direct=yes
   8903 	hardcode_shlibpath_var=no
   8904 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8905 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8906 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8907 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8908 	  export_dynamic_flag_spec='${wl}-E'
   8909 	else
   8910 	  case $host_os in
   8911 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8912 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8913 	     hardcode_libdir_flag_spec='-R$libdir'
   8914 	     ;;
   8915 	   *)
   8916 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8917 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8918 	     ;;
   8919 	  esac
   8920         fi
   8921       else
   8922 	ld_shlibs=no
   8923       fi
   8924       ;;
   8925 
   8926     os2*)
   8927       hardcode_libdir_flag_spec='-L$libdir'
   8928       hardcode_minus_L=yes
   8929       allow_undefined_flag=unsupported
   8930       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'
   8931       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8932       ;;
   8933 
   8934     osf3*)
   8935       if test "$GCC" = yes; then
   8936 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8937 	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'
   8938       else
   8939 	allow_undefined_flag=' -expect_unresolved \*'
   8940 	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'
   8941       fi
   8942       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8943       hardcode_libdir_separator=:
   8944       ;;
   8945 
   8946     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8947       if test "$GCC" = yes; then
   8948 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8949 	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'
   8950 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8951       else
   8952 	allow_undefined_flag=' -expect_unresolved \*'
   8953 	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'
   8954 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8955 	$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'
   8956 
   8957 	# Both c and cxx compiler support -rpath directly
   8958 	hardcode_libdir_flag_spec='-rpath $libdir'
   8959       fi
   8960       hardcode_libdir_separator=:
   8961       ;;
   8962 
   8963     solaris*)
   8964       no_undefined_flag=' -z text'
   8965       if test "$GCC" = yes; then
   8966 	wlarc='${wl}'
   8967 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8968 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8969 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8970       else
   8971 	wlarc=''
   8972 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8973 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8974   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8975       fi
   8976       hardcode_libdir_flag_spec='-R$libdir'
   8977       hardcode_shlibpath_var=no
   8978       case $host_os in
   8979       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8980       *)
   8981 	# The compiler driver will combine and reorder linker options,
   8982 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8983 	# but is careful enough not to reorder.
   8984  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8985 	if test "$GCC" = yes; then
   8986 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8987 	else
   8988 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8989 	fi
   8990 	;;
   8991       esac
   8992       link_all_deplibs=yes
   8993       ;;
   8994 
   8995     sunos4*)
   8996       if test "x$host_vendor" = xsequent; then
   8997 	# Use $CC to link under sequent, because it throws in some extra .o
   8998 	# files that make .init and .fini sections work.
   8999 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9000       else
   9001 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9002       fi
   9003       hardcode_libdir_flag_spec='-L$libdir'
   9004       hardcode_direct=yes
   9005       hardcode_minus_L=yes
   9006       hardcode_shlibpath_var=no
   9007       ;;
   9008 
   9009     sysv4)
   9010       case $host_vendor in
   9011 	sni)
   9012 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9013 	  hardcode_direct=yes # is this really true???
   9014 	;;
   9015 	siemens)
   9016 	  ## LD is ld it makes a PLAMLIB
   9017 	  ## CC just makes a GrossModule.
   9018 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9019 	  reload_cmds='$CC -r -o $output$reload_objs'
   9020 	  hardcode_direct=no
   9021         ;;
   9022 	motorola)
   9023 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9024 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9025 	;;
   9026       esac
   9027       runpath_var='LD_RUN_PATH'
   9028       hardcode_shlibpath_var=no
   9029       ;;
   9030 
   9031     sysv4.3*)
   9032       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9033       hardcode_shlibpath_var=no
   9034       export_dynamic_flag_spec='-Bexport'
   9035       ;;
   9036 
   9037     sysv4*MP*)
   9038       if test -d /usr/nec; then
   9039 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9040 	hardcode_shlibpath_var=no
   9041 	runpath_var=LD_RUN_PATH
   9042 	hardcode_runpath_var=yes
   9043 	ld_shlibs=yes
   9044       fi
   9045       ;;
   9046 
   9047     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9048       no_undefined_flag='${wl}-z,text'
   9049       archive_cmds_need_lc=no
   9050       hardcode_shlibpath_var=no
   9051       runpath_var='LD_RUN_PATH'
   9052 
   9053       if test "$GCC" = yes; then
   9054 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9055 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9056       else
   9057 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9058 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9059       fi
   9060       ;;
   9061 
   9062     sysv5* | sco3.2v5* | sco5v6*)
   9063       # Note: We can NOT use -z defs as we might desire, because we do not
   9064       # link with -lc, and that would cause any symbols used from libc to
   9065       # always be unresolved, which means just about no library would
   9066       # ever link correctly.  If we're not using GNU ld we use -z text
   9067       # though, which does catch some bad symbols but isn't as heavy-handed
   9068       # as -z defs.
   9069       no_undefined_flag='${wl}-z,text'
   9070       allow_undefined_flag='${wl}-z,nodefs'
   9071       archive_cmds_need_lc=no
   9072       hardcode_shlibpath_var=no
   9073       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9074       hardcode_libdir_separator=':'
   9075       link_all_deplibs=yes
   9076       export_dynamic_flag_spec='${wl}-Bexport'
   9077       runpath_var='LD_RUN_PATH'
   9078 
   9079       if test "$GCC" = yes; then
   9080 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9081 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9082       else
   9083 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9084 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9085       fi
   9086       ;;
   9087 
   9088     uts4*)
   9089       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9090       hardcode_libdir_flag_spec='-L$libdir'
   9091       hardcode_shlibpath_var=no
   9092       ;;
   9093 
   9094     *)
   9095       ld_shlibs=no
   9096       ;;
   9097     esac
   9098   fi
   9099 
   9100 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9101 $as_echo "$ld_shlibs" >&6; }
   9102 test "$ld_shlibs" = no && can_build_shared=no
   9103 
   9104 #
   9105 # Do we need to explicitly link libc?
   9106 #
   9107 case "x$archive_cmds_need_lc" in
   9108 x|xyes)
   9109   # Assume -lc should be added
   9110   archive_cmds_need_lc=yes
   9111 
   9112   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9113     case $archive_cmds in
   9114     *'~'*)
   9115       # FIXME: we may have to deal with multi-command sequences.
   9116       ;;
   9117     '$CC '*)
   9118       # Test whether the compiler implicitly links with -lc since on some
   9119       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9120       # to ld, don't add -lc before -lgcc.
   9121       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9122 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9123       $rm conftest*
   9124       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9125 
   9126       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9127   (eval $ac_compile) 2>&5
   9128   ac_status=$?
   9129   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9130   (exit $ac_status); } 2>conftest.err; then
   9131         soname=conftest
   9132         lib=conftest
   9133         libobjs=conftest.$ac_objext
   9134         deplibs=
   9135         wl=$lt_prog_compiler_wl
   9136 	pic_flag=$lt_prog_compiler_pic
   9137         compiler_flags=-v
   9138         linker_flags=-v
   9139         verstring=
   9140         output_objdir=.
   9141         libname=conftest
   9142         lt_save_allow_undefined_flag=$allow_undefined_flag
   9143         allow_undefined_flag=
   9144         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9145   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9146   ac_status=$?
   9147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9148   (exit $ac_status); }
   9149         then
   9150 	  archive_cmds_need_lc=no
   9151         else
   9152 	  archive_cmds_need_lc=yes
   9153         fi
   9154         allow_undefined_flag=$lt_save_allow_undefined_flag
   9155       else
   9156         cat conftest.err 1>&5
   9157       fi
   9158       $rm conftest*
   9159       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9160 $as_echo "$archive_cmds_need_lc" >&6; }
   9161       ;;
   9162     esac
   9163   fi
   9164   ;;
   9165 esac
   9166 
   9167 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9168 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9169 library_names_spec=
   9170 libname_spec='lib$name'
   9171 soname_spec=
   9172 shrext_cmds=".so"
   9173 postinstall_cmds=
   9174 postuninstall_cmds=
   9175 finish_cmds=
   9176 finish_eval=
   9177 shlibpath_var=
   9178 shlibpath_overrides_runpath=unknown
   9179 version_type=none
   9180 dynamic_linker="$host_os ld.so"
   9181 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9182 
   9183 if test "$GCC" = yes; then
   9184   case $host_os in
   9185     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9186     *) lt_awk_arg="/^libraries:/" ;;
   9187   esac
   9188   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9189   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9190     # if the path contains ";" then we assume it to be the separator
   9191     # otherwise default to the standard path separator (i.e. ":") - it is
   9192     # assumed that no part of a normal pathname contains ";" but that should
   9193     # okay in the real world where ";" in dirpaths is itself problematic.
   9194     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9195   else
   9196     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9197   fi
   9198   # Ok, now we have the path, separated by spaces, we can step through it
   9199   # and add multilib dir if necessary.
   9200   lt_tmp_lt_search_path_spec=
   9201   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9202   for lt_sys_path in $lt_search_path_spec; do
   9203     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9204       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9205     else
   9206       test -d "$lt_sys_path" && \
   9207 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9208     fi
   9209   done
   9210   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9211 BEGIN {RS=" "; FS="/|\n";} {
   9212   lt_foo="";
   9213   lt_count=0;
   9214   for (lt_i = NF; lt_i > 0; lt_i--) {
   9215     if ($lt_i != "" && $lt_i != ".") {
   9216       if ($lt_i == "..") {
   9217         lt_count++;
   9218       } else {
   9219         if (lt_count == 0) {
   9220           lt_foo="/" $lt_i lt_foo;
   9221         } else {
   9222           lt_count--;
   9223         }
   9224       }
   9225     }
   9226   }
   9227   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9228   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9229 }'`
   9230   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9231 else
   9232   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9233 fi
   9234 need_lib_prefix=unknown
   9235 hardcode_into_libs=no
   9236 
   9237 # when you set need_version to no, make sure it does not cause -set_version
   9238 # flags to be left without arguments
   9239 need_version=unknown
   9240 
   9241 case $host_os in
   9242 aix3*)
   9243   version_type=linux
   9244   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9245   shlibpath_var=LIBPATH
   9246 
   9247   # AIX 3 has no versioning support, so we append a major version to the name.
   9248   soname_spec='${libname}${release}${shared_ext}$major'
   9249   ;;
   9250 
   9251 aix[4-9]*)
   9252   version_type=linux
   9253   need_lib_prefix=no
   9254   need_version=no
   9255   hardcode_into_libs=yes
   9256   if test "$host_cpu" = ia64; then
   9257     # AIX 5 supports IA64
   9258     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9259     shlibpath_var=LD_LIBRARY_PATH
   9260   else
   9261     # With GCC up to 2.95.x, collect2 would create an import file
   9262     # for dependence libraries.  The import file would start with
   9263     # the line `#! .'.  This would cause the generated library to
   9264     # depend on `.', always an invalid library.  This was fixed in
   9265     # development snapshots of GCC prior to 3.0.
   9266     case $host_os in
   9267       aix4 | aix4.[01] | aix4.[01].*)
   9268       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9269 	   echo ' yes '
   9270 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9271 	:
   9272       else
   9273 	can_build_shared=no
   9274       fi
   9275       ;;
   9276     esac
   9277     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9278     # soname into executable. Probably we can add versioning support to
   9279     # collect2, so additional links can be useful in future.
   9280     if test "$aix_use_runtimelinking" = yes; then
   9281       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9282       # instead of lib<name>.a to let people know that these are not
   9283       # typical AIX shared libraries.
   9284       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9285     else
   9286       # We preserve .a as extension for shared libraries through AIX4.2
   9287       # and later when we are not doing run time linking.
   9288       library_names_spec='${libname}${release}.a $libname.a'
   9289       soname_spec='${libname}${release}${shared_ext}$major'
   9290     fi
   9291     shlibpath_var=LIBPATH
   9292   fi
   9293   ;;
   9294 
   9295 amigaos*)
   9296   library_names_spec='$libname.ixlibrary $libname.a'
   9297   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9298   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'
   9299   ;;
   9300 
   9301 beos*)
   9302   library_names_spec='${libname}${shared_ext}'
   9303   dynamic_linker="$host_os ld.so"
   9304   shlibpath_var=LIBRARY_PATH
   9305   ;;
   9306 
   9307 bsdi[45]*)
   9308   version_type=linux
   9309   need_version=no
   9310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9311   soname_spec='${libname}${release}${shared_ext}$major'
   9312   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9313   shlibpath_var=LD_LIBRARY_PATH
   9314   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9315   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9316   # the default ld.so.conf also contains /usr/contrib/lib and
   9317   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9318   # libtool to hard-code these into programs
   9319   ;;
   9320 
   9321 cygwin* | mingw* | pw32*)
   9322   version_type=windows
   9323   shrext_cmds=".dll"
   9324   need_version=no
   9325   need_lib_prefix=no
   9326 
   9327   case $GCC,$host_os in
   9328   yes,cygwin* | yes,mingw* | yes,pw32*)
   9329     library_names_spec='$libname.dll.a'
   9330     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9331     postinstall_cmds='base_file=`basename \${file}`~
   9332       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9333       dldir=$destdir/`dirname \$dlpath`~
   9334       test -d \$dldir || mkdir -p \$dldir~
   9335       $install_prog $dir/$dlname \$dldir/$dlname~
   9336       chmod a+x \$dldir/$dlname'
   9337     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9338       dlpath=$dir/\$dldll~
   9339        $rm \$dlpath'
   9340     shlibpath_overrides_runpath=yes
   9341 
   9342     case $host_os in
   9343     cygwin*)
   9344       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9345       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9346       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9347       ;;
   9348     mingw*)
   9349       # MinGW DLLs use traditional 'lib' prefix
   9350       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9351       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9352       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9353         # It is most probably a Windows format PATH printed by
   9354         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9355         # path with ; separators, and with drive letters. We can handle the
   9356         # drive letters (cygwin fileutils understands them), so leave them,
   9357         # especially as we might pass files found there to a mingw objdump,
   9358         # which wouldn't understand a cygwinified path. Ahh.
   9359         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9360       else
   9361         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9362       fi
   9363       ;;
   9364     pw32*)
   9365       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9366       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9367       ;;
   9368     esac
   9369     ;;
   9370 
   9371   *)
   9372     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9373     ;;
   9374   esac
   9375   dynamic_linker='Win32 ld.exe'
   9376   # FIXME: first we should search . and the directory the executable is in
   9377   shlibpath_var=PATH
   9378   ;;
   9379 
   9380 darwin* | rhapsody*)
   9381   dynamic_linker="$host_os dyld"
   9382   version_type=darwin
   9383   need_lib_prefix=no
   9384   need_version=no
   9385   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9386   soname_spec='${libname}${release}${major}$shared_ext'
   9387   shlibpath_overrides_runpath=yes
   9388   shlibpath_var=DYLD_LIBRARY_PATH
   9389   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9390 
   9391   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9392   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9393   ;;
   9394 
   9395 dgux*)
   9396   version_type=linux
   9397   need_lib_prefix=no
   9398   need_version=no
   9399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9400   soname_spec='${libname}${release}${shared_ext}$major'
   9401   shlibpath_var=LD_LIBRARY_PATH
   9402   ;;
   9403 
   9404 freebsd1*)
   9405   dynamic_linker=no
   9406   ;;
   9407 
   9408 freebsd* | dragonfly*)
   9409   # DragonFly does not have aout.  When/if they implement a new
   9410   # versioning mechanism, adjust this.
   9411   if test -x /usr/bin/objformat; then
   9412     objformat=`/usr/bin/objformat`
   9413   else
   9414     case $host_os in
   9415     freebsd[123]*) objformat=aout ;;
   9416     *) objformat=elf ;;
   9417     esac
   9418   fi
   9419   version_type=freebsd-$objformat
   9420   case $version_type in
   9421     freebsd-elf*)
   9422       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9423       need_version=no
   9424       need_lib_prefix=no
   9425       ;;
   9426     freebsd-*)
   9427       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9428       need_version=yes
   9429       ;;
   9430   esac
   9431   shlibpath_var=LD_LIBRARY_PATH
   9432   case $host_os in
   9433   freebsd2*)
   9434     shlibpath_overrides_runpath=yes
   9435     ;;
   9436   freebsd3.[01]* | freebsdelf3.[01]*)
   9437     shlibpath_overrides_runpath=yes
   9438     hardcode_into_libs=yes
   9439     ;;
   9440   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9441   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9442     shlibpath_overrides_runpath=no
   9443     hardcode_into_libs=yes
   9444     ;;
   9445   *) # from 4.6 on, and DragonFly
   9446     shlibpath_overrides_runpath=yes
   9447     hardcode_into_libs=yes
   9448     ;;
   9449   esac
   9450   ;;
   9451 
   9452 gnu*)
   9453   version_type=linux
   9454   need_lib_prefix=no
   9455   need_version=no
   9456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9457   soname_spec='${libname}${release}${shared_ext}$major'
   9458   shlibpath_var=LD_LIBRARY_PATH
   9459   hardcode_into_libs=yes
   9460   ;;
   9461 
   9462 hpux9* | hpux10* | hpux11*)
   9463   # Give a soname corresponding to the major version so that dld.sl refuses to
   9464   # link against other versions.
   9465   version_type=sunos
   9466   need_lib_prefix=no
   9467   need_version=no
   9468   case $host_cpu in
   9469   ia64*)
   9470     shrext_cmds='.so'
   9471     hardcode_into_libs=yes
   9472     dynamic_linker="$host_os dld.so"
   9473     shlibpath_var=LD_LIBRARY_PATH
   9474     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9475     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9476     soname_spec='${libname}${release}${shared_ext}$major'
   9477     if test "X$HPUX_IA64_MODE" = X32; then
   9478       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9479     else
   9480       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9481     fi
   9482     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9483     ;;
   9484    hppa*64*)
   9485      shrext_cmds='.sl'
   9486      hardcode_into_libs=yes
   9487      dynamic_linker="$host_os dld.sl"
   9488      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9489      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9490      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9491      soname_spec='${libname}${release}${shared_ext}$major'
   9492      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9493      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9494      ;;
   9495    *)
   9496     shrext_cmds='.sl'
   9497     dynamic_linker="$host_os dld.sl"
   9498     shlibpath_var=SHLIB_PATH
   9499     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9501     soname_spec='${libname}${release}${shared_ext}$major'
   9502     ;;
   9503   esac
   9504   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9505   postinstall_cmds='chmod 555 $lib'
   9506   ;;
   9507 
   9508 interix[3-9]*)
   9509   version_type=linux
   9510   need_lib_prefix=no
   9511   need_version=no
   9512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9513   soname_spec='${libname}${release}${shared_ext}$major'
   9514   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9515   shlibpath_var=LD_LIBRARY_PATH
   9516   shlibpath_overrides_runpath=no
   9517   hardcode_into_libs=yes
   9518   ;;
   9519 
   9520 irix5* | irix6* | nonstopux*)
   9521   case $host_os in
   9522     nonstopux*) version_type=nonstopux ;;
   9523     *)
   9524 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9525 		version_type=linux
   9526 	else
   9527 		version_type=irix
   9528 	fi ;;
   9529   esac
   9530   need_lib_prefix=no
   9531   need_version=no
   9532   soname_spec='${libname}${release}${shared_ext}$major'
   9533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9534   case $host_os in
   9535   irix5* | nonstopux*)
   9536     libsuff= shlibsuff=
   9537     ;;
   9538   *)
   9539     case $LD in # libtool.m4 will add one of these switches to LD
   9540     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9541       libsuff= shlibsuff= libmagic=32-bit;;
   9542     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9543       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9544     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9545       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9546     *) libsuff= shlibsuff= libmagic=never-match;;
   9547     esac
   9548     ;;
   9549   esac
   9550   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9551   shlibpath_overrides_runpath=no
   9552   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9553   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9554   hardcode_into_libs=yes
   9555   ;;
   9556 
   9557 # No shared lib support for Linux oldld, aout, or coff.
   9558 linux*oldld* | linux*aout* | linux*coff*)
   9559   dynamic_linker=no
   9560   ;;
   9561 
   9562 # This must be Linux ELF.
   9563 linux* | k*bsd*-gnu)
   9564   version_type=linux
   9565   need_lib_prefix=no
   9566   need_version=no
   9567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9568   soname_spec='${libname}${release}${shared_ext}$major'
   9569   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9570   shlibpath_var=LD_LIBRARY_PATH
   9571   shlibpath_overrides_runpath=no
   9572   # This implies no fast_install, which is unacceptable.
   9573   # Some rework will be needed to allow for fast_install
   9574   # before this can be enabled.
   9575   hardcode_into_libs=yes
   9576 
   9577   # Append ld.so.conf contents to the search path
   9578   if test -f /etc/ld.so.conf; then
   9579     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9580     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9581   fi
   9582 
   9583   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9584   # powerpc, because MkLinux only supported shared libraries with the
   9585   # GNU dynamic linker.  Since this was broken with cross compilers,
   9586   # most powerpc-linux boxes support dynamic linking these days and
   9587   # people can always --disable-shared, the test was removed, and we
   9588   # assume the GNU/Linux dynamic linker is in use.
   9589   dynamic_linker='GNU/Linux ld.so'
   9590   ;;
   9591 
   9592 netbsd*)
   9593   version_type=sunos
   9594   need_lib_prefix=no
   9595   need_version=no
   9596   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9597     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9598     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9599     dynamic_linker='NetBSD (a.out) ld.so'
   9600   else
   9601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9602     soname_spec='${libname}${release}${shared_ext}$major'
   9603     dynamic_linker='NetBSD ld.elf_so'
   9604   fi
   9605   shlibpath_var=LD_LIBRARY_PATH
   9606   shlibpath_overrides_runpath=yes
   9607   hardcode_into_libs=yes
   9608   ;;
   9609 
   9610 newsos6)
   9611   version_type=linux
   9612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9613   shlibpath_var=LD_LIBRARY_PATH
   9614   shlibpath_overrides_runpath=yes
   9615   ;;
   9616 
   9617 nto-qnx*)
   9618   version_type=linux
   9619   need_lib_prefix=no
   9620   need_version=no
   9621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9622   soname_spec='${libname}${release}${shared_ext}$major'
   9623   shlibpath_var=LD_LIBRARY_PATH
   9624   shlibpath_overrides_runpath=yes
   9625   ;;
   9626 
   9627 openbsd*)
   9628   version_type=sunos
   9629   sys_lib_dlsearch_path_spec="/usr/lib"
   9630   need_lib_prefix=no
   9631   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9632   case $host_os in
   9633     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9634     *)                         need_version=no  ;;
   9635   esac
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9637   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9640     case $host_os in
   9641       openbsd2.[89] | openbsd2.[89].*)
   9642 	shlibpath_overrides_runpath=no
   9643 	;;
   9644       *)
   9645 	shlibpath_overrides_runpath=yes
   9646 	;;
   9647       esac
   9648   else
   9649     shlibpath_overrides_runpath=yes
   9650   fi
   9651   ;;
   9652 
   9653 os2*)
   9654   libname_spec='$name'
   9655   shrext_cmds=".dll"
   9656   need_lib_prefix=no
   9657   library_names_spec='$libname${shared_ext} $libname.a'
   9658   dynamic_linker='OS/2 ld.exe'
   9659   shlibpath_var=LIBPATH
   9660   ;;
   9661 
   9662 osf3* | osf4* | osf5*)
   9663   version_type=osf
   9664   need_lib_prefix=no
   9665   need_version=no
   9666   soname_spec='${libname}${release}${shared_ext}$major'
   9667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9668   shlibpath_var=LD_LIBRARY_PATH
   9669   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9670   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9671   ;;
   9672 
   9673 rdos*)
   9674   dynamic_linker=no
   9675   ;;
   9676 
   9677 solaris*)
   9678   version_type=linux
   9679   need_lib_prefix=no
   9680   need_version=no
   9681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9682   soname_spec='${libname}${release}${shared_ext}$major'
   9683   shlibpath_var=LD_LIBRARY_PATH
   9684   shlibpath_overrides_runpath=yes
   9685   hardcode_into_libs=yes
   9686   # ldd complains unless libraries are executable
   9687   postinstall_cmds='chmod +x $lib'
   9688   ;;
   9689 
   9690 sunos4*)
   9691   version_type=sunos
   9692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9693   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9694   shlibpath_var=LD_LIBRARY_PATH
   9695   shlibpath_overrides_runpath=yes
   9696   if test "$with_gnu_ld" = yes; then
   9697     need_lib_prefix=no
   9698   fi
   9699   need_version=yes
   9700   ;;
   9701 
   9702 sysv4 | sysv4.3*)
   9703   version_type=linux
   9704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9705   soname_spec='${libname}${release}${shared_ext}$major'
   9706   shlibpath_var=LD_LIBRARY_PATH
   9707   case $host_vendor in
   9708     sni)
   9709       shlibpath_overrides_runpath=no
   9710       need_lib_prefix=no
   9711       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9712       runpath_var=LD_RUN_PATH
   9713       ;;
   9714     siemens)
   9715       need_lib_prefix=no
   9716       ;;
   9717     motorola)
   9718       need_lib_prefix=no
   9719       need_version=no
   9720       shlibpath_overrides_runpath=no
   9721       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9722       ;;
   9723   esac
   9724   ;;
   9725 
   9726 sysv4*MP*)
   9727   if test -d /usr/nec ;then
   9728     version_type=linux
   9729     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9730     soname_spec='$libname${shared_ext}.$major'
   9731     shlibpath_var=LD_LIBRARY_PATH
   9732   fi
   9733   ;;
   9734 
   9735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9736   version_type=freebsd-elf
   9737   need_lib_prefix=no
   9738   need_version=no
   9739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9740   soname_spec='${libname}${release}${shared_ext}$major'
   9741   shlibpath_var=LD_LIBRARY_PATH
   9742   hardcode_into_libs=yes
   9743   if test "$with_gnu_ld" = yes; then
   9744     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9745     shlibpath_overrides_runpath=no
   9746   else
   9747     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9748     shlibpath_overrides_runpath=yes
   9749     case $host_os in
   9750       sco3.2v5*)
   9751         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9752 	;;
   9753     esac
   9754   fi
   9755   sys_lib_dlsearch_path_spec='/usr/lib'
   9756   ;;
   9757 
   9758 uts4*)
   9759   version_type=linux
   9760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9761   soname_spec='${libname}${release}${shared_ext}$major'
   9762   shlibpath_var=LD_LIBRARY_PATH
   9763   ;;
   9764 
   9765 *)
   9766   dynamic_linker=no
   9767   ;;
   9768 esac
   9769 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9770 $as_echo "$dynamic_linker" >&6; }
   9771 test "$dynamic_linker" = no && can_build_shared=no
   9772 
   9773 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9774   $as_echo_n "(cached) " >&6
   9775 else
   9776   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9777 fi
   9778 
   9779 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9780 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9781   $as_echo_n "(cached) " >&6
   9782 else
   9783   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9784 fi
   9785 
   9786 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9787 
   9788 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9789 if test "$GCC" = yes; then
   9790   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9791 fi
   9792 
   9793 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9795 hardcode_action=
   9796 if test -n "$hardcode_libdir_flag_spec" || \
   9797    test -n "$runpath_var" || \
   9798    test "X$hardcode_automatic" = "Xyes" ; then
   9799 
   9800   # We can hardcode non-existant directories.
   9801   if test "$hardcode_direct" != no &&
   9802      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9803      # have to relink, otherwise we might link with an installed library
   9804      # when we should be linking with a yet-to-be-installed one
   9805      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9806      test "$hardcode_minus_L" != no; then
   9807     # Linking always hardcodes the temporary library directory.
   9808     hardcode_action=relink
   9809   else
   9810     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9811     hardcode_action=immediate
   9812   fi
   9813 else
   9814   # We cannot hardcode anything, or else we can only hardcode existing
   9815   # directories.
   9816   hardcode_action=unsupported
   9817 fi
   9818 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9819 $as_echo "$hardcode_action" >&6; }
   9820 
   9821 if test "$hardcode_action" = relink; then
   9822   # Fast installation is not supported
   9823   enable_fast_install=no
   9824 elif test "$shlibpath_overrides_runpath" = yes ||
   9825      test "$enable_shared" = no; then
   9826   # Fast installation is not necessary
   9827   enable_fast_install=needless
   9828 fi
   9829 
   9830 striplib=
   9831 old_striplib=
   9832 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9834 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9835   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9836   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9837   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9838 $as_echo "yes" >&6; }
   9839 else
   9840 # FIXME - insert some real tests, host_os isn't really good enough
   9841   case $host_os in
   9842    darwin*)
   9843        if test -n "$STRIP" ; then
   9844          striplib="$STRIP -x"
   9845          old_striplib="$STRIP -S"
   9846          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9847 $as_echo "yes" >&6; }
   9848        else
   9849   { $as_echo "$as_me:$LINENO: result: no" >&5
   9850 $as_echo "no" >&6; }
   9851 fi
   9852        ;;
   9853    *)
   9854   { $as_echo "$as_me:$LINENO: result: no" >&5
   9855 $as_echo "no" >&6; }
   9856     ;;
   9857   esac
   9858 fi
   9859 
   9860 if test "x$enable_dlopen" != xyes; then
   9861   enable_dlopen=unknown
   9862   enable_dlopen_self=unknown
   9863   enable_dlopen_self_static=unknown
   9864 else
   9865   lt_cv_dlopen=no
   9866   lt_cv_dlopen_libs=
   9867 
   9868   case $host_os in
   9869   beos*)
   9870     lt_cv_dlopen="load_add_on"
   9871     lt_cv_dlopen_libs=
   9872     lt_cv_dlopen_self=yes
   9873     ;;
   9874 
   9875   mingw* | pw32*)
   9876     lt_cv_dlopen="LoadLibrary"
   9877     lt_cv_dlopen_libs=
   9878    ;;
   9879 
   9880   cygwin*)
   9881     lt_cv_dlopen="dlopen"
   9882     lt_cv_dlopen_libs=
   9883    ;;
   9884 
   9885   darwin*)
   9886   # if libdl is installed we need to link against it
   9887     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9888 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9889 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9890   $as_echo_n "(cached) " >&6
   9891 else
   9892   ac_check_lib_save_LIBS=$LIBS
   9893 LIBS="-ldl  $LIBS"
   9894 cat >conftest.$ac_ext <<_ACEOF
   9895 /* confdefs.h.  */
   9896 _ACEOF
   9897 cat confdefs.h >>conftest.$ac_ext
   9898 cat >>conftest.$ac_ext <<_ACEOF
   9899 /* end confdefs.h.  */
   9900 
   9901 /* Override any GCC internal prototype to avoid an error.
   9902    Use char because int might match the return type of a GCC
   9903    builtin and then its argument prototype would still apply.  */
   9904 #ifdef __cplusplus
   9905 extern "C"
   9906 #endif
   9907 char dlopen ();
   9908 int
   9909 main ()
   9910 {
   9911 return dlopen ();
   9912   ;
   9913   return 0;
   9914 }
   9915 _ACEOF
   9916 rm -f conftest.$ac_objext conftest$ac_exeext
   9917 if { (ac_try="$ac_link"
   9918 case "(($ac_try" in
   9919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9920   *) ac_try_echo=$ac_try;;
   9921 esac
   9922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9923 $as_echo "$ac_try_echo") >&5
   9924   (eval "$ac_link") 2>conftest.er1
   9925   ac_status=$?
   9926   grep -v '^ *+' conftest.er1 >conftest.err
   9927   rm -f conftest.er1
   9928   cat conftest.err >&5
   9929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9930   (exit $ac_status); } && {
   9931 	 test -z "$ac_c_werror_flag" ||
   9932 	 test ! -s conftest.err
   9933        } && test -s conftest$ac_exeext && {
   9934 	 test "$cross_compiling" = yes ||
   9935 	 $as_test_x conftest$ac_exeext
   9936        }; then
   9937   ac_cv_lib_dl_dlopen=yes
   9938 else
   9939   $as_echo "$as_me: failed program was:" >&5
   9940 sed 's/^/| /' conftest.$ac_ext >&5
   9941 
   9942 	ac_cv_lib_dl_dlopen=no
   9943 fi
   9944 
   9945 rm -rf conftest.dSYM
   9946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9947       conftest$ac_exeext conftest.$ac_ext
   9948 LIBS=$ac_check_lib_save_LIBS
   9949 fi
   9950 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9951 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9952 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9953   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9954 else
   9955 
   9956     lt_cv_dlopen="dyld"
   9957     lt_cv_dlopen_libs=
   9958     lt_cv_dlopen_self=yes
   9959 
   9960 fi
   9961 
   9962    ;;
   9963 
   9964   *)
   9965     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9966 $as_echo_n "checking for shl_load... " >&6; }
   9967 if test "${ac_cv_func_shl_load+set}" = set; then
   9968   $as_echo_n "(cached) " >&6
   9969 else
   9970   cat >conftest.$ac_ext <<_ACEOF
   9971 /* confdefs.h.  */
   9972 _ACEOF
   9973 cat confdefs.h >>conftest.$ac_ext
   9974 cat >>conftest.$ac_ext <<_ACEOF
   9975 /* end confdefs.h.  */
   9976 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9978 #define shl_load innocuous_shl_load
   9979 
   9980 /* System header to define __stub macros and hopefully few prototypes,
   9981     which can conflict with char shl_load (); below.
   9982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9983     <limits.h> exists even on freestanding compilers.  */
   9984 
   9985 #ifdef __STDC__
   9986 # include <limits.h>
   9987 #else
   9988 # include <assert.h>
   9989 #endif
   9990 
   9991 #undef shl_load
   9992 
   9993 /* Override any GCC internal prototype to avoid an error.
   9994    Use char because int might match the return type of a GCC
   9995    builtin and then its argument prototype would still apply.  */
   9996 #ifdef __cplusplus
   9997 extern "C"
   9998 #endif
   9999 char shl_load ();
   10000 /* The GNU C library defines this for functions which it implements
   10001     to always fail with ENOSYS.  Some functions are actually named
   10002     something starting with __ and the normal name is an alias.  */
   10003 #if defined __stub_shl_load || defined __stub___shl_load
   10004 choke me
   10005 #endif
   10006 
   10007 int
   10008 main ()
   10009 {
   10010 return shl_load ();
   10011   ;
   10012   return 0;
   10013 }
   10014 _ACEOF
   10015 rm -f conftest.$ac_objext conftest$ac_exeext
   10016 if { (ac_try="$ac_link"
   10017 case "(($ac_try" in
   10018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10019   *) ac_try_echo=$ac_try;;
   10020 esac
   10021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10022 $as_echo "$ac_try_echo") >&5
   10023   (eval "$ac_link") 2>conftest.er1
   10024   ac_status=$?
   10025   grep -v '^ *+' conftest.er1 >conftest.err
   10026   rm -f conftest.er1
   10027   cat conftest.err >&5
   10028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10029   (exit $ac_status); } && {
   10030 	 test -z "$ac_c_werror_flag" ||
   10031 	 test ! -s conftest.err
   10032        } && test -s conftest$ac_exeext && {
   10033 	 test "$cross_compiling" = yes ||
   10034 	 $as_test_x conftest$ac_exeext
   10035        }; then
   10036   ac_cv_func_shl_load=yes
   10037 else
   10038   $as_echo "$as_me: failed program was:" >&5
   10039 sed 's/^/| /' conftest.$ac_ext >&5
   10040 
   10041 	ac_cv_func_shl_load=no
   10042 fi
   10043 
   10044 rm -rf conftest.dSYM
   10045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10046       conftest$ac_exeext conftest.$ac_ext
   10047 fi
   10048 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10049 $as_echo "$ac_cv_func_shl_load" >&6; }
   10050 if test "x$ac_cv_func_shl_load" = x""yes; then
   10051   lt_cv_dlopen="shl_load"
   10052 else
   10053   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10054 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10055 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10056   $as_echo_n "(cached) " >&6
   10057 else
   10058   ac_check_lib_save_LIBS=$LIBS
   10059 LIBS="-ldld  $LIBS"
   10060 cat >conftest.$ac_ext <<_ACEOF
   10061 /* confdefs.h.  */
   10062 _ACEOF
   10063 cat confdefs.h >>conftest.$ac_ext
   10064 cat >>conftest.$ac_ext <<_ACEOF
   10065 /* end confdefs.h.  */
   10066 
   10067 /* Override any GCC internal prototype to avoid an error.
   10068    Use char because int might match the return type of a GCC
   10069    builtin and then its argument prototype would still apply.  */
   10070 #ifdef __cplusplus
   10071 extern "C"
   10072 #endif
   10073 char shl_load ();
   10074 int
   10075 main ()
   10076 {
   10077 return shl_load ();
   10078   ;
   10079   return 0;
   10080 }
   10081 _ACEOF
   10082 rm -f conftest.$ac_objext conftest$ac_exeext
   10083 if { (ac_try="$ac_link"
   10084 case "(($ac_try" in
   10085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10086   *) ac_try_echo=$ac_try;;
   10087 esac
   10088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10089 $as_echo "$ac_try_echo") >&5
   10090   (eval "$ac_link") 2>conftest.er1
   10091   ac_status=$?
   10092   grep -v '^ *+' conftest.er1 >conftest.err
   10093   rm -f conftest.er1
   10094   cat conftest.err >&5
   10095   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10096   (exit $ac_status); } && {
   10097 	 test -z "$ac_c_werror_flag" ||
   10098 	 test ! -s conftest.err
   10099        } && test -s conftest$ac_exeext && {
   10100 	 test "$cross_compiling" = yes ||
   10101 	 $as_test_x conftest$ac_exeext
   10102        }; then
   10103   ac_cv_lib_dld_shl_load=yes
   10104 else
   10105   $as_echo "$as_me: failed program was:" >&5
   10106 sed 's/^/| /' conftest.$ac_ext >&5
   10107 
   10108 	ac_cv_lib_dld_shl_load=no
   10109 fi
   10110 
   10111 rm -rf conftest.dSYM
   10112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10113       conftest$ac_exeext conftest.$ac_ext
   10114 LIBS=$ac_check_lib_save_LIBS
   10115 fi
   10116 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10117 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10118 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10119   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10120 else
   10121   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10122 $as_echo_n "checking for dlopen... " >&6; }
   10123 if test "${ac_cv_func_dlopen+set}" = set; then
   10124   $as_echo_n "(cached) " >&6
   10125 else
   10126   cat >conftest.$ac_ext <<_ACEOF
   10127 /* confdefs.h.  */
   10128 _ACEOF
   10129 cat confdefs.h >>conftest.$ac_ext
   10130 cat >>conftest.$ac_ext <<_ACEOF
   10131 /* end confdefs.h.  */
   10132 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10134 #define dlopen innocuous_dlopen
   10135 
   10136 /* System header to define __stub macros and hopefully few prototypes,
   10137     which can conflict with char dlopen (); below.
   10138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10139     <limits.h> exists even on freestanding compilers.  */
   10140 
   10141 #ifdef __STDC__
   10142 # include <limits.h>
   10143 #else
   10144 # include <assert.h>
   10145 #endif
   10146 
   10147 #undef dlopen
   10148 
   10149 /* Override any GCC internal prototype to avoid an error.
   10150    Use char because int might match the return type of a GCC
   10151    builtin and then its argument prototype would still apply.  */
   10152 #ifdef __cplusplus
   10153 extern "C"
   10154 #endif
   10155 char dlopen ();
   10156 /* The GNU C library defines this for functions which it implements
   10157     to always fail with ENOSYS.  Some functions are actually named
   10158     something starting with __ and the normal name is an alias.  */
   10159 #if defined __stub_dlopen || defined __stub___dlopen
   10160 choke me
   10161 #endif
   10162 
   10163 int
   10164 main ()
   10165 {
   10166 return dlopen ();
   10167   ;
   10168   return 0;
   10169 }
   10170 _ACEOF
   10171 rm -f conftest.$ac_objext conftest$ac_exeext
   10172 if { (ac_try="$ac_link"
   10173 case "(($ac_try" in
   10174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10175   *) ac_try_echo=$ac_try;;
   10176 esac
   10177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10178 $as_echo "$ac_try_echo") >&5
   10179   (eval "$ac_link") 2>conftest.er1
   10180   ac_status=$?
   10181   grep -v '^ *+' conftest.er1 >conftest.err
   10182   rm -f conftest.er1
   10183   cat conftest.err >&5
   10184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10185   (exit $ac_status); } && {
   10186 	 test -z "$ac_c_werror_flag" ||
   10187 	 test ! -s conftest.err
   10188        } && test -s conftest$ac_exeext && {
   10189 	 test "$cross_compiling" = yes ||
   10190 	 $as_test_x conftest$ac_exeext
   10191        }; then
   10192   ac_cv_func_dlopen=yes
   10193 else
   10194   $as_echo "$as_me: failed program was:" >&5
   10195 sed 's/^/| /' conftest.$ac_ext >&5
   10196 
   10197 	ac_cv_func_dlopen=no
   10198 fi
   10199 
   10200 rm -rf conftest.dSYM
   10201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10202       conftest$ac_exeext conftest.$ac_ext
   10203 fi
   10204 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10205 $as_echo "$ac_cv_func_dlopen" >&6; }
   10206 if test "x$ac_cv_func_dlopen" = x""yes; then
   10207   lt_cv_dlopen="dlopen"
   10208 else
   10209   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10210 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10212   $as_echo_n "(cached) " >&6
   10213 else
   10214   ac_check_lib_save_LIBS=$LIBS
   10215 LIBS="-ldl  $LIBS"
   10216 cat >conftest.$ac_ext <<_ACEOF
   10217 /* confdefs.h.  */
   10218 _ACEOF
   10219 cat confdefs.h >>conftest.$ac_ext
   10220 cat >>conftest.$ac_ext <<_ACEOF
   10221 /* end confdefs.h.  */
   10222 
   10223 /* Override any GCC internal prototype to avoid an error.
   10224    Use char because int might match the return type of a GCC
   10225    builtin and then its argument prototype would still apply.  */
   10226 #ifdef __cplusplus
   10227 extern "C"
   10228 #endif
   10229 char dlopen ();
   10230 int
   10231 main ()
   10232 {
   10233 return dlopen ();
   10234   ;
   10235   return 0;
   10236 }
   10237 _ACEOF
   10238 rm -f conftest.$ac_objext conftest$ac_exeext
   10239 if { (ac_try="$ac_link"
   10240 case "(($ac_try" in
   10241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10242   *) ac_try_echo=$ac_try;;
   10243 esac
   10244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10245 $as_echo "$ac_try_echo") >&5
   10246   (eval "$ac_link") 2>conftest.er1
   10247   ac_status=$?
   10248   grep -v '^ *+' conftest.er1 >conftest.err
   10249   rm -f conftest.er1
   10250   cat conftest.err >&5
   10251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10252   (exit $ac_status); } && {
   10253 	 test -z "$ac_c_werror_flag" ||
   10254 	 test ! -s conftest.err
   10255        } && test -s conftest$ac_exeext && {
   10256 	 test "$cross_compiling" = yes ||
   10257 	 $as_test_x conftest$ac_exeext
   10258        }; then
   10259   ac_cv_lib_dl_dlopen=yes
   10260 else
   10261   $as_echo "$as_me: failed program was:" >&5
   10262 sed 's/^/| /' conftest.$ac_ext >&5
   10263 
   10264 	ac_cv_lib_dl_dlopen=no
   10265 fi
   10266 
   10267 rm -rf conftest.dSYM
   10268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10269       conftest$ac_exeext conftest.$ac_ext
   10270 LIBS=$ac_check_lib_save_LIBS
   10271 fi
   10272 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10274 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10275   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10276 else
   10277   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10278 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10279 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   ac_check_lib_save_LIBS=$LIBS
   10283 LIBS="-lsvld  $LIBS"
   10284 cat >conftest.$ac_ext <<_ACEOF
   10285 /* confdefs.h.  */
   10286 _ACEOF
   10287 cat confdefs.h >>conftest.$ac_ext
   10288 cat >>conftest.$ac_ext <<_ACEOF
   10289 /* end confdefs.h.  */
   10290 
   10291 /* Override any GCC internal prototype to avoid an error.
   10292    Use char because int might match the return type of a GCC
   10293    builtin and then its argument prototype would still apply.  */
   10294 #ifdef __cplusplus
   10295 extern "C"
   10296 #endif
   10297 char dlopen ();
   10298 int
   10299 main ()
   10300 {
   10301 return dlopen ();
   10302   ;
   10303   return 0;
   10304 }
   10305 _ACEOF
   10306 rm -f conftest.$ac_objext conftest$ac_exeext
   10307 if { (ac_try="$ac_link"
   10308 case "(($ac_try" in
   10309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10310   *) ac_try_echo=$ac_try;;
   10311 esac
   10312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10313 $as_echo "$ac_try_echo") >&5
   10314   (eval "$ac_link") 2>conftest.er1
   10315   ac_status=$?
   10316   grep -v '^ *+' conftest.er1 >conftest.err
   10317   rm -f conftest.er1
   10318   cat conftest.err >&5
   10319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10320   (exit $ac_status); } && {
   10321 	 test -z "$ac_c_werror_flag" ||
   10322 	 test ! -s conftest.err
   10323        } && test -s conftest$ac_exeext && {
   10324 	 test "$cross_compiling" = yes ||
   10325 	 $as_test_x conftest$ac_exeext
   10326        }; then
   10327   ac_cv_lib_svld_dlopen=yes
   10328 else
   10329   $as_echo "$as_me: failed program was:" >&5
   10330 sed 's/^/| /' conftest.$ac_ext >&5
   10331 
   10332 	ac_cv_lib_svld_dlopen=no
   10333 fi
   10334 
   10335 rm -rf conftest.dSYM
   10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10337       conftest$ac_exeext conftest.$ac_ext
   10338 LIBS=$ac_check_lib_save_LIBS
   10339 fi
   10340 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10341 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10342 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10343   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10344 else
   10345   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10346 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10347 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10348   $as_echo_n "(cached) " >&6
   10349 else
   10350   ac_check_lib_save_LIBS=$LIBS
   10351 LIBS="-ldld  $LIBS"
   10352 cat >conftest.$ac_ext <<_ACEOF
   10353 /* confdefs.h.  */
   10354 _ACEOF
   10355 cat confdefs.h >>conftest.$ac_ext
   10356 cat >>conftest.$ac_ext <<_ACEOF
   10357 /* end confdefs.h.  */
   10358 
   10359 /* Override any GCC internal prototype to avoid an error.
   10360    Use char because int might match the return type of a GCC
   10361    builtin and then its argument prototype would still apply.  */
   10362 #ifdef __cplusplus
   10363 extern "C"
   10364 #endif
   10365 char dld_link ();
   10366 int
   10367 main ()
   10368 {
   10369 return dld_link ();
   10370   ;
   10371   return 0;
   10372 }
   10373 _ACEOF
   10374 rm -f conftest.$ac_objext conftest$ac_exeext
   10375 if { (ac_try="$ac_link"
   10376 case "(($ac_try" in
   10377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10378   *) ac_try_echo=$ac_try;;
   10379 esac
   10380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10381 $as_echo "$ac_try_echo") >&5
   10382   (eval "$ac_link") 2>conftest.er1
   10383   ac_status=$?
   10384   grep -v '^ *+' conftest.er1 >conftest.err
   10385   rm -f conftest.er1
   10386   cat conftest.err >&5
   10387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10388   (exit $ac_status); } && {
   10389 	 test -z "$ac_c_werror_flag" ||
   10390 	 test ! -s conftest.err
   10391        } && test -s conftest$ac_exeext && {
   10392 	 test "$cross_compiling" = yes ||
   10393 	 $as_test_x conftest$ac_exeext
   10394        }; then
   10395   ac_cv_lib_dld_dld_link=yes
   10396 else
   10397   $as_echo "$as_me: failed program was:" >&5
   10398 sed 's/^/| /' conftest.$ac_ext >&5
   10399 
   10400 	ac_cv_lib_dld_dld_link=no
   10401 fi
   10402 
   10403 rm -rf conftest.dSYM
   10404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10405       conftest$ac_exeext conftest.$ac_ext
   10406 LIBS=$ac_check_lib_save_LIBS
   10407 fi
   10408 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10409 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10410 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10411   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10412 fi
   10413 
   10414 
   10415 fi
   10416 
   10417 
   10418 fi
   10419 
   10420 
   10421 fi
   10422 
   10423 
   10424 fi
   10425 
   10426 
   10427 fi
   10428 
   10429     ;;
   10430   esac
   10431 
   10432   if test "x$lt_cv_dlopen" != xno; then
   10433     enable_dlopen=yes
   10434   else
   10435     enable_dlopen=no
   10436   fi
   10437 
   10438   case $lt_cv_dlopen in
   10439   dlopen)
   10440     save_CPPFLAGS="$CPPFLAGS"
   10441     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10442 
   10443     save_LDFLAGS="$LDFLAGS"
   10444     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10445 
   10446     save_LIBS="$LIBS"
   10447     LIBS="$lt_cv_dlopen_libs $LIBS"
   10448 
   10449     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10450 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10451 if test "${lt_cv_dlopen_self+set}" = set; then
   10452   $as_echo_n "(cached) " >&6
   10453 else
   10454   	  if test "$cross_compiling" = yes; then :
   10455   lt_cv_dlopen_self=cross
   10456 else
   10457   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10458   lt_status=$lt_dlunknown
   10459   cat > conftest.$ac_ext <<EOF
   10460 #line 10460 "configure"
   10461 #include "confdefs.h"
   10462 
   10463 #if HAVE_DLFCN_H
   10464 #include <dlfcn.h>
   10465 #endif
   10466 
   10467 #include <stdio.h>
   10468 
   10469 #ifdef RTLD_GLOBAL
   10470 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10471 #else
   10472 #  ifdef DL_GLOBAL
   10473 #    define LT_DLGLOBAL		DL_GLOBAL
   10474 #  else
   10475 #    define LT_DLGLOBAL		0
   10476 #  endif
   10477 #endif
   10478 
   10479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10480    find out it does not work in some platform. */
   10481 #ifndef LT_DLLAZY_OR_NOW
   10482 #  ifdef RTLD_LAZY
   10483 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10484 #  else
   10485 #    ifdef DL_LAZY
   10486 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10487 #    else
   10488 #      ifdef RTLD_NOW
   10489 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10490 #      else
   10491 #        ifdef DL_NOW
   10492 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10493 #        else
   10494 #          define LT_DLLAZY_OR_NOW	0
   10495 #        endif
   10496 #      endif
   10497 #    endif
   10498 #  endif
   10499 #endif
   10500 
   10501 #ifdef __cplusplus
   10502 extern "C" void exit (int);
   10503 #endif
   10504 
   10505 void fnord() { int i=42;}
   10506 int main ()
   10507 {
   10508   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10509   int status = $lt_dlunknown;
   10510 
   10511   if (self)
   10512     {
   10513       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10514       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10515       /* dlclose (self); */
   10516     }
   10517   else
   10518     puts (dlerror ());
   10519 
   10520     exit (status);
   10521 }
   10522 EOF
   10523   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10524   (eval $ac_link) 2>&5
   10525   ac_status=$?
   10526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10527   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10528     (./conftest; exit; ) >&5 2>/dev/null
   10529     lt_status=$?
   10530     case x$lt_status in
   10531       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10532       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10533       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10534     esac
   10535   else :
   10536     # compilation failed
   10537     lt_cv_dlopen_self=no
   10538   fi
   10539 fi
   10540 rm -fr conftest*
   10541 
   10542 
   10543 fi
   10544 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10545 $as_echo "$lt_cv_dlopen_self" >&6; }
   10546 
   10547     if test "x$lt_cv_dlopen_self" = xyes; then
   10548       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10549       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10550 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10551 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10552   $as_echo_n "(cached) " >&6
   10553 else
   10554   	  if test "$cross_compiling" = yes; then :
   10555   lt_cv_dlopen_self_static=cross
   10556 else
   10557   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10558   lt_status=$lt_dlunknown
   10559   cat > conftest.$ac_ext <<EOF
   10560 #line 10560 "configure"
   10561 #include "confdefs.h"
   10562 
   10563 #if HAVE_DLFCN_H
   10564 #include <dlfcn.h>
   10565 #endif
   10566 
   10567 #include <stdio.h>
   10568 
   10569 #ifdef RTLD_GLOBAL
   10570 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10571 #else
   10572 #  ifdef DL_GLOBAL
   10573 #    define LT_DLGLOBAL		DL_GLOBAL
   10574 #  else
   10575 #    define LT_DLGLOBAL		0
   10576 #  endif
   10577 #endif
   10578 
   10579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10580    find out it does not work in some platform. */
   10581 #ifndef LT_DLLAZY_OR_NOW
   10582 #  ifdef RTLD_LAZY
   10583 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10584 #  else
   10585 #    ifdef DL_LAZY
   10586 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10587 #    else
   10588 #      ifdef RTLD_NOW
   10589 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10590 #      else
   10591 #        ifdef DL_NOW
   10592 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10593 #        else
   10594 #          define LT_DLLAZY_OR_NOW	0
   10595 #        endif
   10596 #      endif
   10597 #    endif
   10598 #  endif
   10599 #endif
   10600 
   10601 #ifdef __cplusplus
   10602 extern "C" void exit (int);
   10603 #endif
   10604 
   10605 void fnord() { int i=42;}
   10606 int main ()
   10607 {
   10608   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10609   int status = $lt_dlunknown;
   10610 
   10611   if (self)
   10612     {
   10613       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10614       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10615       /* dlclose (self); */
   10616     }
   10617   else
   10618     puts (dlerror ());
   10619 
   10620     exit (status);
   10621 }
   10622 EOF
   10623   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10624   (eval $ac_link) 2>&5
   10625   ac_status=$?
   10626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10627   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10628     (./conftest; exit; ) >&5 2>/dev/null
   10629     lt_status=$?
   10630     case x$lt_status in
   10631       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10632       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10633       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10634     esac
   10635   else :
   10636     # compilation failed
   10637     lt_cv_dlopen_self_static=no
   10638   fi
   10639 fi
   10640 rm -fr conftest*
   10641 
   10642 
   10643 fi
   10644 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10645 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10646     fi
   10647 
   10648     CPPFLAGS="$save_CPPFLAGS"
   10649     LDFLAGS="$save_LDFLAGS"
   10650     LIBS="$save_LIBS"
   10651     ;;
   10652   esac
   10653 
   10654   case $lt_cv_dlopen_self in
   10655   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10656   *) enable_dlopen_self=unknown ;;
   10657   esac
   10658 
   10659   case $lt_cv_dlopen_self_static in
   10660   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10661   *) enable_dlopen_self_static=unknown ;;
   10662   esac
   10663 fi
   10664 
   10665 
   10666 # Report which library types will actually be built
   10667 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10668 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10669 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10670 $as_echo "$can_build_shared" >&6; }
   10671 
   10672 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10673 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10674 test "$can_build_shared" = "no" && enable_shared=no
   10675 
   10676 # On AIX, shared libraries and static libraries use the same namespace, and
   10677 # are all built from PIC.
   10678 case $host_os in
   10679 aix3*)
   10680   test "$enable_shared" = yes && enable_static=no
   10681   if test -n "$RANLIB"; then
   10682     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10683     postinstall_cmds='$RANLIB $lib'
   10684   fi
   10685   ;;
   10686 
   10687 aix[4-9]*)
   10688   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10689     test "$enable_shared" = yes && enable_static=no
   10690   fi
   10691     ;;
   10692 esac
   10693 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10694 $as_echo "$enable_shared" >&6; }
   10695 
   10696 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10697 $as_echo_n "checking whether to build static libraries... " >&6; }
   10698 # Make sure either enable_shared or enable_static is yes.
   10699 test "$enable_shared" = yes || enable_static=yes
   10700 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10701 $as_echo "$enable_static" >&6; }
   10702 
   10703 # The else clause should only fire when bootstrapping the
   10704 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10705 # with your package, and you will get complaints that there are
   10706 # no rules to generate ltmain.sh.
   10707 if test -f "$ltmain"; then
   10708   # See if we are running on zsh, and set the options which allow our commands through
   10709   # without removal of \ escapes.
   10710   if test -n "${ZSH_VERSION+set}" ; then
   10711     setopt NO_GLOB_SUBST
   10712   fi
   10713   # Now quote all the things that may contain metacharacters while being
   10714   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10715   # variables and quote the copies for generation of the libtool script.
   10716   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10717     SED SHELL STRIP \
   10718     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10719     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10720     deplibs_check_method reload_flag reload_cmds need_locks \
   10721     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10722     lt_cv_sys_global_symbol_to_c_name_address \
   10723     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10724     old_postinstall_cmds old_postuninstall_cmds \
   10725     compiler \
   10726     CC \
   10727     LD \
   10728     lt_prog_compiler_wl \
   10729     lt_prog_compiler_pic \
   10730     lt_prog_compiler_static \
   10731     lt_prog_compiler_no_builtin_flag \
   10732     export_dynamic_flag_spec \
   10733     thread_safe_flag_spec \
   10734     whole_archive_flag_spec \
   10735     enable_shared_with_static_runtimes \
   10736     old_archive_cmds \
   10737     old_archive_from_new_cmds \
   10738     predep_objects \
   10739     postdep_objects \
   10740     predeps \
   10741     postdeps \
   10742     compiler_lib_search_path \
   10743     compiler_lib_search_dirs \
   10744     archive_cmds \
   10745     archive_expsym_cmds \
   10746     postinstall_cmds \
   10747     postuninstall_cmds \
   10748     old_archive_from_expsyms_cmds \
   10749     allow_undefined_flag \
   10750     no_undefined_flag \
   10751     export_symbols_cmds \
   10752     hardcode_libdir_flag_spec \
   10753     hardcode_libdir_flag_spec_ld \
   10754     hardcode_libdir_separator \
   10755     hardcode_automatic \
   10756     module_cmds \
   10757     module_expsym_cmds \
   10758     lt_cv_prog_compiler_c_o \
   10759     fix_srcfile_path \
   10760     exclude_expsyms \
   10761     include_expsyms; do
   10762 
   10763     case $var in
   10764     old_archive_cmds | \
   10765     old_archive_from_new_cmds | \
   10766     archive_cmds | \
   10767     archive_expsym_cmds | \
   10768     module_cmds | \
   10769     module_expsym_cmds | \
   10770     old_archive_from_expsyms_cmds | \
   10771     export_symbols_cmds | \
   10772     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10773     postinstall_cmds | postuninstall_cmds | \
   10774     old_postinstall_cmds | old_postuninstall_cmds | \
   10775     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10776       # Double-quote double-evaled strings.
   10777       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10778       ;;
   10779     *)
   10780       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10781       ;;
   10782     esac
   10783   done
   10784 
   10785   case $lt_echo in
   10786   *'\$0 --fallback-echo"')
   10787     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10788     ;;
   10789   esac
   10790 
   10791 cfgfile="${ofile}T"
   10792   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10793   $rm -f "$cfgfile"
   10794   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10795 $as_echo "$as_me: creating $ofile" >&6;}
   10796 
   10797   cat <<__EOF__ >> "$cfgfile"
   10798 #! $SHELL
   10799 
   10800 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10801 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10802 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10803 #
   10804 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10805 # Free Software Foundation, Inc.
   10806 #
   10807 # This file is part of GNU Libtool:
   10808 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10809 #
   10810 # This program is free software; you can redistribute it and/or modify
   10811 # it under the terms of the GNU General Public License as published by
   10812 # the Free Software Foundation; either version 2 of the License, or
   10813 # (at your option) any later version.
   10814 #
   10815 # This program is distributed in the hope that it will be useful, but
   10816 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10817 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10818 # General Public License for more details.
   10819 #
   10820 # You should have received a copy of the GNU General Public License
   10821 # along with this program; if not, write to the Free Software
   10822 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10823 #
   10824 # As a special exception to the GNU General Public License, if you
   10825 # distribute this file as part of a program that contains a
   10826 # configuration script generated by Autoconf, you may include it under
   10827 # the same distribution terms that you use for the rest of that program.
   10828 
   10829 # A sed program that does not truncate output.
   10830 SED=$lt_SED
   10831 
   10832 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10833 Xsed="$SED -e 1s/^X//"
   10834 
   10835 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10836 # if CDPATH is set.
   10837 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10838 
   10839 # The names of the tagged configurations supported by this script.
   10840 available_tags=
   10841 
   10842 # ### BEGIN LIBTOOL CONFIG
   10843 
   10844 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10845 
   10846 # Shell to use when invoking shell scripts.
   10847 SHELL=$lt_SHELL
   10848 
   10849 # Whether or not to build shared libraries.
   10850 build_libtool_libs=$enable_shared
   10851 
   10852 # Whether or not to build static libraries.
   10853 build_old_libs=$enable_static
   10854 
   10855 # Whether or not to add -lc for building shared libraries.
   10856 build_libtool_need_lc=$archive_cmds_need_lc
   10857 
   10858 # Whether or not to disallow shared libs when runtime libs are static
   10859 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10860 
   10861 # Whether or not to optimize for fast installation.
   10862 fast_install=$enable_fast_install
   10863 
   10864 # The host system.
   10865 host_alias=$host_alias
   10866 host=$host
   10867 host_os=$host_os
   10868 
   10869 # The build system.
   10870 build_alias=$build_alias
   10871 build=$build
   10872 build_os=$build_os
   10873 
   10874 # An echo program that does not interpret backslashes.
   10875 echo=$lt_echo
   10876 
   10877 # The archiver.
   10878 AR=$lt_AR
   10879 AR_FLAGS=$lt_AR_FLAGS
   10880 
   10881 # A C compiler.
   10882 LTCC=$lt_LTCC
   10883 
   10884 # LTCC compiler flags.
   10885 LTCFLAGS=$lt_LTCFLAGS
   10886 
   10887 # A language-specific compiler.
   10888 CC=$lt_compiler
   10889 
   10890 # Is the compiler the GNU C compiler?
   10891 with_gcc=$GCC
   10892 
   10893 # An ERE matcher.
   10894 EGREP=$lt_EGREP
   10895 
   10896 # The linker used to build libraries.
   10897 LD=$lt_LD
   10898 
   10899 # Whether we need hard or soft links.
   10900 LN_S=$lt_LN_S
   10901 
   10902 # A BSD-compatible nm program.
   10903 NM=$lt_NM
   10904 
   10905 # A symbol stripping program
   10906 STRIP=$lt_STRIP
   10907 
   10908 # Used to examine libraries when file_magic_cmd begins "file"
   10909 MAGIC_CMD=$MAGIC_CMD
   10910 
   10911 # Used on cygwin: DLL creation program.
   10912 DLLTOOL="$DLLTOOL"
   10913 
   10914 # Used on cygwin: object dumper.
   10915 OBJDUMP="$OBJDUMP"
   10916 
   10917 # Used on cygwin: assembler.
   10918 AS="$AS"
   10919 
   10920 # The name of the directory that contains temporary libtool files.
   10921 objdir=$objdir
   10922 
   10923 # How to create reloadable object files.
   10924 reload_flag=$lt_reload_flag
   10925 reload_cmds=$lt_reload_cmds
   10926 
   10927 # How to pass a linker flag through the compiler.
   10928 wl=$lt_lt_prog_compiler_wl
   10929 
   10930 # Object file suffix (normally "o").
   10931 objext="$ac_objext"
   10932 
   10933 # Old archive suffix (normally "a").
   10934 libext="$libext"
   10935 
   10936 # Shared library suffix (normally ".so").
   10937 shrext_cmds='$shrext_cmds'
   10938 
   10939 # Executable file suffix (normally "").
   10940 exeext="$exeext"
   10941 
   10942 # Additional compiler flags for building library objects.
   10943 pic_flag=$lt_lt_prog_compiler_pic
   10944 pic_mode=$pic_mode
   10945 
   10946 # What is the maximum length of a command?
   10947 max_cmd_len=$lt_cv_sys_max_cmd_len
   10948 
   10949 # Does compiler simultaneously support -c and -o options?
   10950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10951 
   10952 # Must we lock files when doing compilation?
   10953 need_locks=$lt_need_locks
   10954 
   10955 # Do we need the lib prefix for modules?
   10956 need_lib_prefix=$need_lib_prefix
   10957 
   10958 # Do we need a version for libraries?
   10959 need_version=$need_version
   10960 
   10961 # Whether dlopen is supported.
   10962 dlopen_support=$enable_dlopen
   10963 
   10964 # Whether dlopen of programs is supported.
   10965 dlopen_self=$enable_dlopen_self
   10966 
   10967 # Whether dlopen of statically linked programs is supported.
   10968 dlopen_self_static=$enable_dlopen_self_static
   10969 
   10970 # Compiler flag to prevent dynamic linking.
   10971 link_static_flag=$lt_lt_prog_compiler_static
   10972 
   10973 # Compiler flag to turn off builtin functions.
   10974 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10975 
   10976 # Compiler flag to allow reflexive dlopens.
   10977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10978 
   10979 # Compiler flag to generate shared objects directly from archives.
   10980 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10981 
   10982 # Compiler flag to generate thread-safe objects.
   10983 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10984 
   10985 # Library versioning type.
   10986 version_type=$version_type
   10987 
   10988 # Format of library name prefix.
   10989 libname_spec=$lt_libname_spec
   10990 
   10991 # List of archive names.  First name is the real one, the rest are links.
   10992 # The last name is the one that the linker finds with -lNAME.
   10993 library_names_spec=$lt_library_names_spec
   10994 
   10995 # The coded name of the library, if different from the real name.
   10996 soname_spec=$lt_soname_spec
   10997 
   10998 # Commands used to build and install an old-style archive.
   10999 RANLIB=$lt_RANLIB
   11000 old_archive_cmds=$lt_old_archive_cmds
   11001 old_postinstall_cmds=$lt_old_postinstall_cmds
   11002 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11003 
   11004 # Create an old-style archive from a shared archive.
   11005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11006 
   11007 # Create a temporary old-style archive to link instead of a shared archive.
   11008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11009 
   11010 # Commands used to build and install a shared archive.
   11011 archive_cmds=$lt_archive_cmds
   11012 archive_expsym_cmds=$lt_archive_expsym_cmds
   11013 postinstall_cmds=$lt_postinstall_cmds
   11014 postuninstall_cmds=$lt_postuninstall_cmds
   11015 
   11016 # Commands used to build a loadable module (assumed same as above if empty)
   11017 module_cmds=$lt_module_cmds
   11018 module_expsym_cmds=$lt_module_expsym_cmds
   11019 
   11020 # Commands to strip libraries.
   11021 old_striplib=$lt_old_striplib
   11022 striplib=$lt_striplib
   11023 
   11024 # Dependencies to place before the objects being linked to create a
   11025 # shared library.
   11026 predep_objects=$lt_predep_objects
   11027 
   11028 # Dependencies to place after the objects being linked to create a
   11029 # shared library.
   11030 postdep_objects=$lt_postdep_objects
   11031 
   11032 # Dependencies to place before the objects being linked to create a
   11033 # shared library.
   11034 predeps=$lt_predeps
   11035 
   11036 # Dependencies to place after the objects being linked to create a
   11037 # shared library.
   11038 postdeps=$lt_postdeps
   11039 
   11040 # The directories searched by this compiler when creating a shared
   11041 # library
   11042 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11043 
   11044 # The library search path used internally by the compiler when linking
   11045 # a shared library.
   11046 compiler_lib_search_path=$lt_compiler_lib_search_path
   11047 
   11048 # Method to check whether dependent libraries are shared objects.
   11049 deplibs_check_method=$lt_deplibs_check_method
   11050 
   11051 # Command to use when deplibs_check_method == file_magic.
   11052 file_magic_cmd=$lt_file_magic_cmd
   11053 
   11054 # Flag that allows shared libraries with undefined symbols to be built.
   11055 allow_undefined_flag=$lt_allow_undefined_flag
   11056 
   11057 # Flag that forces no undefined symbols.
   11058 no_undefined_flag=$lt_no_undefined_flag
   11059 
   11060 # Commands used to finish a libtool library installation in a directory.
   11061 finish_cmds=$lt_finish_cmds
   11062 
   11063 # Same as above, but a single script fragment to be evaled but not shown.
   11064 finish_eval=$lt_finish_eval
   11065 
   11066 # Take the output of nm and produce a listing of raw symbols and C names.
   11067 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11068 
   11069 # Transform the output of nm in a proper C declaration
   11070 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11071 
   11072 # Transform the output of nm in a C name address pair
   11073 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11074 
   11075 # This is the shared library runtime path variable.
   11076 runpath_var=$runpath_var
   11077 
   11078 # This is the shared library path variable.
   11079 shlibpath_var=$shlibpath_var
   11080 
   11081 # Is shlibpath searched before the hard-coded library search path?
   11082 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11083 
   11084 # How to hardcode a shared library path into an executable.
   11085 hardcode_action=$hardcode_action
   11086 
   11087 # Whether we should hardcode library paths into libraries.
   11088 hardcode_into_libs=$hardcode_into_libs
   11089 
   11090 # Flag to hardcode \$libdir into a binary during linking.
   11091 # This must work even if \$libdir does not exist.
   11092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11093 
   11094 # If ld is used when linking, flag to hardcode \$libdir into
   11095 # a binary during linking. This must work even if \$libdir does
   11096 # not exist.
   11097 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11098 
   11099 # Whether we need a single -rpath flag with a separated argument.
   11100 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11101 
   11102 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11103 # resulting binary.
   11104 hardcode_direct=$hardcode_direct
   11105 
   11106 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11107 # resulting binary.
   11108 hardcode_minus_L=$hardcode_minus_L
   11109 
   11110 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11111 # the resulting binary.
   11112 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11113 
   11114 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11115 # and all subsequent libraries and executables linked against it.
   11116 hardcode_automatic=$hardcode_automatic
   11117 
   11118 # Variables whose values should be saved in libtool wrapper scripts and
   11119 # restored at relink time.
   11120 variables_saved_for_relink="$variables_saved_for_relink"
   11121 
   11122 # Whether libtool must link a program against all its dependency libraries.
   11123 link_all_deplibs=$link_all_deplibs
   11124 
   11125 # Compile-time system search path for libraries
   11126 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11127 
   11128 # Run-time system search path for libraries
   11129 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11130 
   11131 # Fix the shell variable \$srcfile for the compiler.
   11132 fix_srcfile_path=$lt_fix_srcfile_path
   11133 
   11134 # Set to yes if exported symbols are required.
   11135 always_export_symbols=$always_export_symbols
   11136 
   11137 # The commands to list exported symbols.
   11138 export_symbols_cmds=$lt_export_symbols_cmds
   11139 
   11140 # The commands to extract the exported symbol list from a shared archive.
   11141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11142 
   11143 # Symbols that should not be listed in the preloaded symbols.
   11144 exclude_expsyms=$lt_exclude_expsyms
   11145 
   11146 # Symbols that must always be exported.
   11147 include_expsyms=$lt_include_expsyms
   11148 
   11149 # ### END LIBTOOL CONFIG
   11150 
   11151 __EOF__
   11152 
   11153 
   11154   case $host_os in
   11155   aix3*)
   11156     cat <<\EOF >> "$cfgfile"
   11157 
   11158 # AIX sometimes has problems with the GCC collect2 program.  For some
   11159 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11160 # vanish in a puff of smoke.
   11161 if test "X${COLLECT_NAMES+set}" != Xset; then
   11162   COLLECT_NAMES=
   11163   export COLLECT_NAMES
   11164 fi
   11165 EOF
   11166     ;;
   11167   esac
   11168 
   11169   # We use sed instead of cat because bash on DJGPP gets confused if
   11170   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11171   # text mode, it properly converts lines to CR/LF.  This bash problem
   11172   # is reportedly fixed, but why not run on old versions too?
   11173   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11174 
   11175   mv -f "$cfgfile" "$ofile" || \
   11176     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11177   chmod +x "$ofile"
   11178 
   11179 else
   11180   # If there is no Makefile yet, we rely on a make rule to execute
   11181   # `config.status --recheck' to rerun these tests and create the
   11182   # libtool script then.
   11183   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11184   if test -f "$ltmain_in"; then
   11185     test -f Makefile && make "$ltmain"
   11186   fi
   11187 fi
   11188 
   11189 
   11190 ac_ext=c
   11191 ac_cpp='$CPP $CPPFLAGS'
   11192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11195 
   11196 CC="$lt_save_CC"
   11197 
   11198 
   11199 # Check whether --with-tags was given.
   11200 if test "${with_tags+set}" = set; then
   11201   withval=$with_tags; tagnames="$withval"
   11202 fi
   11203 
   11204 
   11205 if test -f "$ltmain" && test -n "$tagnames"; then
   11206   if test ! -f "${ofile}"; then
   11207     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11208 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11209   fi
   11210 
   11211   if test -z "$LTCC"; then
   11212     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11213     if test -z "$LTCC"; then
   11214       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11215 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11216     else
   11217       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11218 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11219     fi
   11220   fi
   11221   if test -z "$LTCFLAGS"; then
   11222     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11223   fi
   11224 
   11225   # Extract list of available tagged configurations in $ofile.
   11226   # Note that this assumes the entire list is on one line.
   11227   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11228 
   11229   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11230   for tagname in $tagnames; do
   11231     IFS="$lt_save_ifs"
   11232     # Check whether tagname contains only valid characters
   11233     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11234     "") ;;
   11235     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11236 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11237    { (exit 1); exit 1; }; }
   11238 	;;
   11239     esac
   11240 
   11241     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11242     then
   11243       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11244 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11245    { (exit 1); exit 1; }; }
   11246     fi
   11247 
   11248     # Update the list of available tags.
   11249     if test -n "$tagname"; then
   11250       echo appending configuration tag \"$tagname\" to $ofile
   11251 
   11252       case $tagname in
   11253       CXX)
   11254 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11255 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11256 	    (test "X$CXX" != "Xg++"))) ; then
   11257 	  ac_ext=cpp
   11258 ac_cpp='$CXXCPP $CPPFLAGS'
   11259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11262 
   11263 
   11264 
   11265 
   11266 archive_cmds_need_lc_CXX=no
   11267 allow_undefined_flag_CXX=
   11268 always_export_symbols_CXX=no
   11269 archive_expsym_cmds_CXX=
   11270 export_dynamic_flag_spec_CXX=
   11271 hardcode_direct_CXX=no
   11272 hardcode_libdir_flag_spec_CXX=
   11273 hardcode_libdir_flag_spec_ld_CXX=
   11274 hardcode_libdir_separator_CXX=
   11275 hardcode_minus_L_CXX=no
   11276 hardcode_shlibpath_var_CXX=unsupported
   11277 hardcode_automatic_CXX=no
   11278 module_cmds_CXX=
   11279 module_expsym_cmds_CXX=
   11280 link_all_deplibs_CXX=unknown
   11281 old_archive_cmds_CXX=$old_archive_cmds
   11282 no_undefined_flag_CXX=
   11283 whole_archive_flag_spec_CXX=
   11284 enable_shared_with_static_runtimes_CXX=no
   11285 
   11286 # Dependencies to place before and after the object being linked:
   11287 predep_objects_CXX=
   11288 postdep_objects_CXX=
   11289 predeps_CXX=
   11290 postdeps_CXX=
   11291 compiler_lib_search_path_CXX=
   11292 compiler_lib_search_dirs_CXX=
   11293 
   11294 # Source file extension for C++ test sources.
   11295 ac_ext=cpp
   11296 
   11297 # Object file extension for compiled C++ test sources.
   11298 objext=o
   11299 objext_CXX=$objext
   11300 
   11301 # Code to be used in simple compile tests
   11302 lt_simple_compile_test_code="int some_variable = 0;"
   11303 
   11304 # Code to be used in simple link tests
   11305 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11306 
   11307 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11308 
   11309 # If no C compiler was specified, use CC.
   11310 LTCC=${LTCC-"$CC"}
   11311 
   11312 # If no C compiler flags were specified, use CFLAGS.
   11313 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11314 
   11315 # Allow CC to be a program name with arguments.
   11316 compiler=$CC
   11317 
   11318 
   11319 # save warnings/boilerplate of simple test code
   11320 ac_outfile=conftest.$ac_objext
   11321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11323 _lt_compiler_boilerplate=`cat conftest.err`
   11324 $rm conftest*
   11325 
   11326 ac_outfile=conftest.$ac_objext
   11327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11329 _lt_linker_boilerplate=`cat conftest.err`
   11330 $rm -r conftest*
   11331 
   11332 
   11333 # Allow CC to be a program name with arguments.
   11334 lt_save_CC=$CC
   11335 lt_save_LD=$LD
   11336 lt_save_GCC=$GCC
   11337 GCC=$GXX
   11338 lt_save_with_gnu_ld=$with_gnu_ld
   11339 lt_save_path_LD=$lt_cv_path_LD
   11340 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11341   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11342 else
   11343   $as_unset lt_cv_prog_gnu_ld
   11344 fi
   11345 if test -n "${lt_cv_path_LDCXX+set}"; then
   11346   lt_cv_path_LD=$lt_cv_path_LDCXX
   11347 else
   11348   $as_unset lt_cv_path_LD
   11349 fi
   11350 test -z "${LDCXX+set}" || LD=$LDCXX
   11351 CC=${CXX-"c++"}
   11352 compiler=$CC
   11353 compiler_CXX=$CC
   11354 for cc_temp in $compiler""; do
   11355   case $cc_temp in
   11356     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11357     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11358     \-*) ;;
   11359     *) break;;
   11360   esac
   11361 done
   11362 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11363 
   11364 
   11365 # We don't want -fno-exception wen compiling C++ code, so set the
   11366 # no_builtin_flag separately
   11367 if test "$GXX" = yes; then
   11368   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11369 else
   11370   lt_prog_compiler_no_builtin_flag_CXX=
   11371 fi
   11372 
   11373 if test "$GXX" = yes; then
   11374   # Set up default GNU C++ configuration
   11375 
   11376 
   11377 # Check whether --with-gnu-ld was given.
   11378 if test "${with_gnu_ld+set}" = set; then
   11379   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11380 else
   11381   with_gnu_ld=no
   11382 fi
   11383 
   11384 ac_prog=ld
   11385 if test "$GCC" = yes; then
   11386   # Check if gcc -print-prog-name=ld gives a path.
   11387   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11388 $as_echo_n "checking for ld used by $CC... " >&6; }
   11389   case $host in
   11390   *-*-mingw*)
   11391     # gcc leaves a trailing carriage return which upsets mingw
   11392     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11393   *)
   11394     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11395   esac
   11396   case $ac_prog in
   11397     # Accept absolute paths.
   11398     [\\/]* | ?:[\\/]*)
   11399       re_direlt='/[^/][^/]*/\.\./'
   11400       # Canonicalize the pathname of ld
   11401       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11402       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11403 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11404       done
   11405       test -z "$LD" && LD="$ac_prog"
   11406       ;;
   11407   "")
   11408     # If it fails, then pretend we aren't using GCC.
   11409     ac_prog=ld
   11410     ;;
   11411   *)
   11412     # If it is relative, then search for the first ld in PATH.
   11413     with_gnu_ld=unknown
   11414     ;;
   11415   esac
   11416 elif test "$with_gnu_ld" = yes; then
   11417   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11418 $as_echo_n "checking for GNU ld... " >&6; }
   11419 else
   11420   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11421 $as_echo_n "checking for non-GNU ld... " >&6; }
   11422 fi
   11423 if test "${lt_cv_path_LD+set}" = set; then
   11424   $as_echo_n "(cached) " >&6
   11425 else
   11426   if test -z "$LD"; then
   11427   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11428   for ac_dir in $PATH; do
   11429     IFS="$lt_save_ifs"
   11430     test -z "$ac_dir" && ac_dir=.
   11431     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11432       lt_cv_path_LD="$ac_dir/$ac_prog"
   11433       # Check to see if the program is GNU ld.  I'd rather use --version,
   11434       # but apparently some variants of GNU ld only accept -v.
   11435       # Break only if it was the GNU/non-GNU ld that we prefer.
   11436       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11437       *GNU* | *'with BFD'*)
   11438 	test "$with_gnu_ld" != no && break
   11439 	;;
   11440       *)
   11441 	test "$with_gnu_ld" != yes && break
   11442 	;;
   11443       esac
   11444     fi
   11445   done
   11446   IFS="$lt_save_ifs"
   11447 else
   11448   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11449 fi
   11450 fi
   11451 
   11452 LD="$lt_cv_path_LD"
   11453 if test -n "$LD"; then
   11454   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11455 $as_echo "$LD" >&6; }
   11456 else
   11457   { $as_echo "$as_me:$LINENO: result: no" >&5
   11458 $as_echo "no" >&6; }
   11459 fi
   11460 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11461 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11462    { (exit 1); exit 1; }; }
   11463 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11464 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11465 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11466   $as_echo_n "(cached) " >&6
   11467 else
   11468   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11469 case `$LD -v 2>&1 </dev/null` in
   11470 *GNU* | *'with BFD'*)
   11471   lt_cv_prog_gnu_ld=yes
   11472   ;;
   11473 *)
   11474   lt_cv_prog_gnu_ld=no
   11475   ;;
   11476 esac
   11477 fi
   11478 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11479 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11480 with_gnu_ld=$lt_cv_prog_gnu_ld
   11481 
   11482 
   11483 
   11484   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11485   # archiving commands below assume that GNU ld is being used.
   11486   if test "$with_gnu_ld" = yes; then
   11487     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11488     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'
   11489 
   11490     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11491     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11492 
   11493     # If archive_cmds runs LD, not CC, wlarc should be empty
   11494     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11495     #     investigate it a little bit more. (MM)
   11496     wlarc='${wl}'
   11497 
   11498     # ancient GNU ld didn't support --whole-archive et. al.
   11499     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11500 	grep 'no-whole-archive' > /dev/null; then
   11501       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11502     else
   11503       whole_archive_flag_spec_CXX=
   11504     fi
   11505   else
   11506     with_gnu_ld=no
   11507     wlarc=
   11508 
   11509     # A generic and very simple default shared library creation
   11510     # command for GNU C++ for the case where it uses the native
   11511     # linker, instead of GNU ld.  If possible, this setting should
   11512     # overridden to take advantage of the native linker features on
   11513     # the platform it is being used on.
   11514     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11515   fi
   11516 
   11517   # Commands to make compiler produce verbose output that lists
   11518   # what "hidden" libraries, object files and flags are used when
   11519   # linking a shared library.
   11520   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11521 
   11522 else
   11523   GXX=no
   11524   with_gnu_ld=no
   11525   wlarc=
   11526 fi
   11527 
   11528 # PORTME: fill in a description of your system's C++ link characteristics
   11529 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11530 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11531 ld_shlibs_CXX=yes
   11532 case $host_os in
   11533   aix3*)
   11534     # FIXME: insert proper C++ library support
   11535     ld_shlibs_CXX=no
   11536     ;;
   11537   aix[4-9]*)
   11538     if test "$host_cpu" = ia64; then
   11539       # On IA64, the linker does run time linking by default, so we don't
   11540       # have to do anything special.
   11541       aix_use_runtimelinking=no
   11542       exp_sym_flag='-Bexport'
   11543       no_entry_flag=""
   11544     else
   11545       aix_use_runtimelinking=no
   11546 
   11547       # Test if we are trying to use run time linking or normal
   11548       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11549       # need to do runtime linking.
   11550       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11551 	for ld_flag in $LDFLAGS; do
   11552 	  case $ld_flag in
   11553 	  *-brtl*)
   11554 	    aix_use_runtimelinking=yes
   11555 	    break
   11556 	    ;;
   11557 	  esac
   11558 	done
   11559 	;;
   11560       esac
   11561 
   11562       exp_sym_flag='-bexport'
   11563       no_entry_flag='-bnoentry'
   11564     fi
   11565 
   11566     # When large executables or shared objects are built, AIX ld can
   11567     # have problems creating the table of contents.  If linking a library
   11568     # or program results in "error TOC overflow" add -mminimal-toc to
   11569     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11570     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11571 
   11572     archive_cmds_CXX=''
   11573     hardcode_direct_CXX=yes
   11574     hardcode_libdir_separator_CXX=':'
   11575     link_all_deplibs_CXX=yes
   11576 
   11577     if test "$GXX" = yes; then
   11578       case $host_os in aix4.[012]|aix4.[012].*)
   11579       # We only want to do this on AIX 4.2 and lower, the check
   11580       # below for broken collect2 doesn't work under 4.3+
   11581 	collect2name=`${CC} -print-prog-name=collect2`
   11582 	if test -f "$collect2name" && \
   11583 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11584 	then
   11585 	  # We have reworked collect2
   11586 	  :
   11587 	else
   11588 	  # We have old collect2
   11589 	  hardcode_direct_CXX=unsupported
   11590 	  # It fails to find uninstalled libraries when the uninstalled
   11591 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11592 	  # to unsupported forces relinking
   11593 	  hardcode_minus_L_CXX=yes
   11594 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11595 	  hardcode_libdir_separator_CXX=
   11596 	fi
   11597 	;;
   11598       esac
   11599       shared_flag='-shared'
   11600       if test "$aix_use_runtimelinking" = yes; then
   11601 	shared_flag="$shared_flag "'${wl}-G'
   11602       fi
   11603     else
   11604       # not using gcc
   11605       if test "$host_cpu" = ia64; then
   11606 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11607 	# chokes on -Wl,-G. The following line is correct:
   11608 	shared_flag='-G'
   11609       else
   11610 	if test "$aix_use_runtimelinking" = yes; then
   11611 	  shared_flag='${wl}-G'
   11612 	else
   11613 	  shared_flag='${wl}-bM:SRE'
   11614 	fi
   11615       fi
   11616     fi
   11617 
   11618     # It seems that -bexpall does not export symbols beginning with
   11619     # underscore (_), so it is better to generate a list of symbols to export.
   11620     always_export_symbols_CXX=yes
   11621     if test "$aix_use_runtimelinking" = yes; then
   11622       # Warning - without using the other runtime loading flags (-brtl),
   11623       # -berok will link without error, but may produce a broken library.
   11624       allow_undefined_flag_CXX='-berok'
   11625       # Determine the default libpath from the value encoded in an empty executable.
   11626       cat >conftest.$ac_ext <<_ACEOF
   11627 /* confdefs.h.  */
   11628 _ACEOF
   11629 cat confdefs.h >>conftest.$ac_ext
   11630 cat >>conftest.$ac_ext <<_ACEOF
   11631 /* end confdefs.h.  */
   11632 
   11633 int
   11634 main ()
   11635 {
   11636 
   11637   ;
   11638   return 0;
   11639 }
   11640 _ACEOF
   11641 rm -f conftest.$ac_objext conftest$ac_exeext
   11642 if { (ac_try="$ac_link"
   11643 case "(($ac_try" in
   11644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11645   *) ac_try_echo=$ac_try;;
   11646 esac
   11647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11648 $as_echo "$ac_try_echo") >&5
   11649   (eval "$ac_link") 2>conftest.er1
   11650   ac_status=$?
   11651   grep -v '^ *+' conftest.er1 >conftest.err
   11652   rm -f conftest.er1
   11653   cat conftest.err >&5
   11654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11655   (exit $ac_status); } && {
   11656 	 test -z "$ac_cxx_werror_flag" ||
   11657 	 test ! -s conftest.err
   11658        } && test -s conftest$ac_exeext && {
   11659 	 test "$cross_compiling" = yes ||
   11660 	 $as_test_x conftest$ac_exeext
   11661        }; then
   11662 
   11663 lt_aix_libpath_sed='
   11664     /Import File Strings/,/^$/ {
   11665 	/^0/ {
   11666 	    s/^0  *\(.*\)$/\1/
   11667 	    p
   11668 	}
   11669     }'
   11670 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11671 # Check for a 64-bit object if we didn't find anything.
   11672 if test -z "$aix_libpath"; then
   11673   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11674 fi
   11675 else
   11676   $as_echo "$as_me: failed program was:" >&5
   11677 sed 's/^/| /' conftest.$ac_ext >&5
   11678 
   11679 
   11680 fi
   11681 
   11682 rm -rf conftest.dSYM
   11683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11684       conftest$ac_exeext conftest.$ac_ext
   11685 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11686 
   11687       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11688 
   11689       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"
   11690      else
   11691       if test "$host_cpu" = ia64; then
   11692 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11693 	allow_undefined_flag_CXX="-z nodefs"
   11694 	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"
   11695       else
   11696 	# Determine the default libpath from the value encoded in an empty executable.
   11697 	cat >conftest.$ac_ext <<_ACEOF
   11698 /* confdefs.h.  */
   11699 _ACEOF
   11700 cat confdefs.h >>conftest.$ac_ext
   11701 cat >>conftest.$ac_ext <<_ACEOF
   11702 /* end confdefs.h.  */
   11703 
   11704 int
   11705 main ()
   11706 {
   11707 
   11708   ;
   11709   return 0;
   11710 }
   11711 _ACEOF
   11712 rm -f conftest.$ac_objext conftest$ac_exeext
   11713 if { (ac_try="$ac_link"
   11714 case "(($ac_try" in
   11715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11716   *) ac_try_echo=$ac_try;;
   11717 esac
   11718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11719 $as_echo "$ac_try_echo") >&5
   11720   (eval "$ac_link") 2>conftest.er1
   11721   ac_status=$?
   11722   grep -v '^ *+' conftest.er1 >conftest.err
   11723   rm -f conftest.er1
   11724   cat conftest.err >&5
   11725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11726   (exit $ac_status); } && {
   11727 	 test -z "$ac_cxx_werror_flag" ||
   11728 	 test ! -s conftest.err
   11729        } && test -s conftest$ac_exeext && {
   11730 	 test "$cross_compiling" = yes ||
   11731 	 $as_test_x conftest$ac_exeext
   11732        }; then
   11733 
   11734 lt_aix_libpath_sed='
   11735     /Import File Strings/,/^$/ {
   11736 	/^0/ {
   11737 	    s/^0  *\(.*\)$/\1/
   11738 	    p
   11739 	}
   11740     }'
   11741 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11742 # Check for a 64-bit object if we didn't find anything.
   11743 if test -z "$aix_libpath"; then
   11744   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11745 fi
   11746 else
   11747   $as_echo "$as_me: failed program was:" >&5
   11748 sed 's/^/| /' conftest.$ac_ext >&5
   11749 
   11750 
   11751 fi
   11752 
   11753 rm -rf conftest.dSYM
   11754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11755       conftest$ac_exeext conftest.$ac_ext
   11756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11757 
   11758 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11759 	# Warning - without using the other run time loading flags,
   11760 	# -berok will link without error, but may produce a broken library.
   11761 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11762 	allow_undefined_flag_CXX=' ${wl}-berok'
   11763 	# Exported symbols can be pulled into shared objects from archives
   11764 	whole_archive_flag_spec_CXX='$convenience'
   11765 	archive_cmds_need_lc_CXX=yes
   11766 	# This is similar to how AIX traditionally builds its shared libraries.
   11767 	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'
   11768       fi
   11769     fi
   11770     ;;
   11771 
   11772   beos*)
   11773     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11774       allow_undefined_flag_CXX=unsupported
   11775       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11776       # support --undefined.  This deserves some investigation.  FIXME
   11777       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11778     else
   11779       ld_shlibs_CXX=no
   11780     fi
   11781     ;;
   11782 
   11783   chorus*)
   11784     case $cc_basename in
   11785       *)
   11786 	# FIXME: insert proper C++ library support
   11787 	ld_shlibs_CXX=no
   11788 	;;
   11789     esac
   11790     ;;
   11791 
   11792   cygwin* | mingw* | pw32*)
   11793     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11794     # as there is no search path for DLLs.
   11795     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11796     allow_undefined_flag_CXX=unsupported
   11797     always_export_symbols_CXX=no
   11798     enable_shared_with_static_runtimes_CXX=yes
   11799 
   11800     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11801       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'
   11802       # If the export-symbols file already is a .def file (1st line
   11803       # is EXPORTS), use it as is; otherwise, prepend...
   11804       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11805 	cp $export_symbols $output_objdir/$soname.def;
   11806       else
   11807 	echo EXPORTS > $output_objdir/$soname.def;
   11808 	cat $export_symbols >> $output_objdir/$soname.def;
   11809       fi~
   11810       $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'
   11811     else
   11812       ld_shlibs_CXX=no
   11813     fi
   11814   ;;
   11815       darwin* | rhapsody*)
   11816       archive_cmds_need_lc_CXX=no
   11817       hardcode_direct_CXX=no
   11818       hardcode_automatic_CXX=yes
   11819       hardcode_shlibpath_var_CXX=unsupported
   11820       whole_archive_flag_spec_CXX=''
   11821       link_all_deplibs_CXX=yes
   11822       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11823       if test "$GXX" = yes ; then
   11824       output_verbose_link_cmd='echo'
   11825       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11826       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11827       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11828       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11829       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11830         archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   11831         archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   11832       fi
   11833       else
   11834       case $cc_basename in
   11835         xlc*)
   11836          output_verbose_link_cmd='echo'
   11837           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11838           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11839           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11840           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11841           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}'
   11842           ;;
   11843        *)
   11844          ld_shlibs_CXX=no
   11845           ;;
   11846       esac
   11847       fi
   11848         ;;
   11849 
   11850   dgux*)
   11851     case $cc_basename in
   11852       ec++*)
   11853 	# FIXME: insert proper C++ library support
   11854 	ld_shlibs_CXX=no
   11855 	;;
   11856       ghcx*)
   11857 	# Green Hills C++ Compiler
   11858 	# FIXME: insert proper C++ library support
   11859 	ld_shlibs_CXX=no
   11860 	;;
   11861       *)
   11862 	# FIXME: insert proper C++ library support
   11863 	ld_shlibs_CXX=no
   11864 	;;
   11865     esac
   11866     ;;
   11867   freebsd[12]*)
   11868     # C++ shared libraries reported to be fairly broken before switch to ELF
   11869     ld_shlibs_CXX=no
   11870     ;;
   11871   freebsd-elf*)
   11872     archive_cmds_need_lc_CXX=no
   11873     ;;
   11874   freebsd* | dragonfly*)
   11875     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11876     # conventions
   11877     ld_shlibs_CXX=yes
   11878     ;;
   11879   gnu*)
   11880     ;;
   11881   hpux9*)
   11882     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11883     hardcode_libdir_separator_CXX=:
   11884     export_dynamic_flag_spec_CXX='${wl}-E'
   11885     hardcode_direct_CXX=yes
   11886     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11887 				# but as the default
   11888 				# location of the library.
   11889 
   11890     case $cc_basename in
   11891     CC*)
   11892       # FIXME: insert proper C++ library support
   11893       ld_shlibs_CXX=no
   11894       ;;
   11895     aCC*)
   11896       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'
   11897       # Commands to make compiler produce verbose output that lists
   11898       # what "hidden" libraries, object files and flags are used when
   11899       # linking a shared library.
   11900       #
   11901       # There doesn't appear to be a way to prevent this compiler from
   11902       # explicitly linking system object files so we need to strip them
   11903       # from the output so that they don't get included in the library
   11904       # dependencies.
   11905       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'
   11906       ;;
   11907     *)
   11908       if test "$GXX" = yes; then
   11909         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'
   11910       else
   11911         # FIXME: insert proper C++ library support
   11912         ld_shlibs_CXX=no
   11913       fi
   11914       ;;
   11915     esac
   11916     ;;
   11917   hpux10*|hpux11*)
   11918     if test $with_gnu_ld = no; then
   11919       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11920       hardcode_libdir_separator_CXX=:
   11921 
   11922       case $host_cpu in
   11923       hppa*64*|ia64*) ;;
   11924       *)
   11925 	export_dynamic_flag_spec_CXX='${wl}-E'
   11926         ;;
   11927       esac
   11928     fi
   11929     case $host_cpu in
   11930     hppa*64*|ia64*)
   11931       hardcode_direct_CXX=no
   11932       hardcode_shlibpath_var_CXX=no
   11933       ;;
   11934     *)
   11935       hardcode_direct_CXX=yes
   11936       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11937 					      # but as the default
   11938 					      # location of the library.
   11939       ;;
   11940     esac
   11941 
   11942     case $cc_basename in
   11943       CC*)
   11944 	# FIXME: insert proper C++ library support
   11945 	ld_shlibs_CXX=no
   11946 	;;
   11947       aCC*)
   11948 	case $host_cpu in
   11949 	hppa*64*)
   11950 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11951 	  ;;
   11952 	ia64*)
   11953 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11954 	  ;;
   11955 	*)
   11956 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11957 	  ;;
   11958 	esac
   11959 	# Commands to make compiler produce verbose output that lists
   11960 	# what "hidden" libraries, object files and flags are used when
   11961 	# linking a shared library.
   11962 	#
   11963 	# There doesn't appear to be a way to prevent this compiler from
   11964 	# explicitly linking system object files so we need to strip them
   11965 	# from the output so that they don't get included in the library
   11966 	# dependencies.
   11967 	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'
   11968 	;;
   11969       *)
   11970 	if test "$GXX" = yes; then
   11971 	  if test $with_gnu_ld = no; then
   11972 	    case $host_cpu in
   11973 	    hppa*64*)
   11974 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11975 	      ;;
   11976 	    ia64*)
   11977 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11978 	      ;;
   11979 	    *)
   11980 	      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'
   11981 	      ;;
   11982 	    esac
   11983 	  fi
   11984 	else
   11985 	  # FIXME: insert proper C++ library support
   11986 	  ld_shlibs_CXX=no
   11987 	fi
   11988 	;;
   11989     esac
   11990     ;;
   11991   interix[3-9]*)
   11992     hardcode_direct_CXX=no
   11993     hardcode_shlibpath_var_CXX=no
   11994     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11995     export_dynamic_flag_spec_CXX='${wl}-E'
   11996     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11997     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11998     # default) and relocated if they conflict, which is a slow very memory
   11999     # consuming and fragmenting process.  To avoid this, we pick a random,
   12000     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12001     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12002     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'
   12003     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'
   12004     ;;
   12005   irix5* | irix6*)
   12006     case $cc_basename in
   12007       CC*)
   12008 	# SGI C++
   12009 	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'
   12010 
   12011 	# Archives containing C++ object files must be created using
   12012 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12013 	# necessary to make sure instantiated templates are included
   12014 	# in the archive.
   12015 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12016 	;;
   12017       *)
   12018 	if test "$GXX" = yes; then
   12019 	  if test "$with_gnu_ld" = no; then
   12020 	    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'
   12021 	  else
   12022 	    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'
   12023 	  fi
   12024 	fi
   12025 	link_all_deplibs_CXX=yes
   12026 	;;
   12027     esac
   12028     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12029     hardcode_libdir_separator_CXX=:
   12030     ;;
   12031   linux* | k*bsd*-gnu)
   12032     case $cc_basename in
   12033       KCC*)
   12034 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12035 
   12036 	# KCC will only create a shared library if the output file
   12037 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12038 	# to its proper name (with version) after linking.
   12039 	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'
   12040 	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'
   12041 	# Commands to make compiler produce verbose output that lists
   12042 	# what "hidden" libraries, object files and flags are used when
   12043 	# linking a shared library.
   12044 	#
   12045 	# There doesn't appear to be a way to prevent this compiler from
   12046 	# explicitly linking system object files so we need to strip them
   12047 	# from the output so that they don't get included in the library
   12048 	# dependencies.
   12049 	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'
   12050 
   12051 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12052 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12053 
   12054 	# Archives containing C++ object files must be created using
   12055 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12056 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12057 	;;
   12058       icpc*)
   12059 	# Intel C++
   12060 	with_gnu_ld=yes
   12061 	# version 8.0 and above of icpc choke on multiply defined symbols
   12062 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12063 	# earlier do not add the objects themselves.
   12064 	case `$CC -V 2>&1` in
   12065 	*"Version 7."*)
   12066   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12067   	  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'
   12068 	  ;;
   12069 	*)  # Version 8.0 or newer
   12070 	  tmp_idyn=
   12071 	  case $host_cpu in
   12072 	    ia64*) tmp_idyn=' -i_dynamic';;
   12073 	  esac
   12074   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12075 	  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'
   12076 	  ;;
   12077 	esac
   12078 	archive_cmds_need_lc_CXX=no
   12079 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12080 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12081 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12082 	;;
   12083       pgCC* | pgcpp*)
   12084         # Portland Group C++ compiler
   12085 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12086   	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'
   12087 
   12088 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12089 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12090 	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'
   12091         ;;
   12092       cxx*)
   12093 	# Compaq C++
   12094 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12095 	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'
   12096 
   12097 	runpath_var=LD_RUN_PATH
   12098 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12099 	hardcode_libdir_separator_CXX=:
   12100 
   12101 	# Commands to make compiler produce verbose output that lists
   12102 	# what "hidden" libraries, object files and flags are used when
   12103 	# linking a shared library.
   12104 	#
   12105 	# There doesn't appear to be a way to prevent this compiler from
   12106 	# explicitly linking system object files so we need to strip them
   12107 	# from the output so that they don't get included in the library
   12108 	# dependencies.
   12109 	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'
   12110 	;;
   12111       *)
   12112 	case `$CC -V 2>&1 | sed 5q` in
   12113 	*Sun\ C*)
   12114 	  # Sun C++ 5.9
   12115 	  no_undefined_flag_CXX=' -zdefs'
   12116 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12117 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12118 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12119 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12120 
   12121 	  # Not sure whether something based on
   12122 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12123 	  # would be better.
   12124 	  output_verbose_link_cmd='echo'
   12125 
   12126 	  # Archives containing C++ object files must be created using
   12127 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12128 	  # necessary to make sure instantiated templates are included
   12129 	  # in the archive.
   12130 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12131 	  ;;
   12132 	esac
   12133 	;;
   12134     esac
   12135     ;;
   12136   lynxos*)
   12137     # FIXME: insert proper C++ library support
   12138     ld_shlibs_CXX=no
   12139     ;;
   12140   m88k*)
   12141     # FIXME: insert proper C++ library support
   12142     ld_shlibs_CXX=no
   12143     ;;
   12144   mvs*)
   12145     case $cc_basename in
   12146       cxx*)
   12147 	# FIXME: insert proper C++ library support
   12148 	ld_shlibs_CXX=no
   12149 	;;
   12150       *)
   12151 	# FIXME: insert proper C++ library support
   12152 	ld_shlibs_CXX=no
   12153 	;;
   12154     esac
   12155     ;;
   12156   netbsd*)
   12157     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12158       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12159       wlarc=
   12160       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12161       hardcode_direct_CXX=yes
   12162       hardcode_shlibpath_var_CXX=no
   12163     fi
   12164     # Workaround some broken pre-1.5 toolchains
   12165     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12166     ;;
   12167   openbsd2*)
   12168     # C++ shared libraries are fairly broken
   12169     ld_shlibs_CXX=no
   12170     ;;
   12171   openbsd*)
   12172     if test -f /usr/libexec/ld.so; then
   12173       hardcode_direct_CXX=yes
   12174       hardcode_shlibpath_var_CXX=no
   12175       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12176       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12177       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12178 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12179 	export_dynamic_flag_spec_CXX='${wl}-E'
   12180 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12181       fi
   12182       output_verbose_link_cmd='echo'
   12183     else
   12184       ld_shlibs_CXX=no
   12185     fi
   12186     ;;
   12187   osf3*)
   12188     case $cc_basename in
   12189       KCC*)
   12190 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12191 
   12192 	# KCC will only create a shared library if the output file
   12193 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12194 	# to its proper name (with version) after linking.
   12195 	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'
   12196 
   12197 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12198 	hardcode_libdir_separator_CXX=:
   12199 
   12200 	# Archives containing C++ object files must be created using
   12201 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12202 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12203 
   12204 	;;
   12205       RCC*)
   12206 	# Rational C++ 2.4.1
   12207 	# FIXME: insert proper C++ library support
   12208 	ld_shlibs_CXX=no
   12209 	;;
   12210       cxx*)
   12211 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12212 	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'
   12213 
   12214 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12215 	hardcode_libdir_separator_CXX=:
   12216 
   12217 	# Commands to make compiler produce verbose output that lists
   12218 	# what "hidden" libraries, object files and flags are used when
   12219 	# linking a shared library.
   12220 	#
   12221 	# There doesn't appear to be a way to prevent this compiler from
   12222 	# explicitly linking system object files so we need to strip them
   12223 	# from the output so that they don't get included in the library
   12224 	# dependencies.
   12225 	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'
   12226 	;;
   12227       *)
   12228 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12229 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12230 	  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'
   12231 
   12232 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12233 	  hardcode_libdir_separator_CXX=:
   12234 
   12235 	  # Commands to make compiler produce verbose output that lists
   12236 	  # what "hidden" libraries, object files and flags are used when
   12237 	  # linking a shared library.
   12238 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12239 
   12240 	else
   12241 	  # FIXME: insert proper C++ library support
   12242 	  ld_shlibs_CXX=no
   12243 	fi
   12244 	;;
   12245     esac
   12246     ;;
   12247   osf4* | osf5*)
   12248     case $cc_basename in
   12249       KCC*)
   12250 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12251 
   12252 	# KCC will only create a shared library if the output file
   12253 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12254 	# to its proper name (with version) after linking.
   12255 	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'
   12256 
   12257 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12258 	hardcode_libdir_separator_CXX=:
   12259 
   12260 	# Archives containing C++ object files must be created using
   12261 	# the KAI C++ compiler.
   12262 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12263 	;;
   12264       RCC*)
   12265 	# Rational C++ 2.4.1
   12266 	# FIXME: insert proper C++ library support
   12267 	ld_shlibs_CXX=no
   12268 	;;
   12269       cxx*)
   12270 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12271 	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'
   12272 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12273 	  echo "-hidden">> $lib.exp~
   12274 	  $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~
   12275 	  $rm $lib.exp'
   12276 
   12277 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12278 	hardcode_libdir_separator_CXX=:
   12279 
   12280 	# Commands to make compiler produce verbose output that lists
   12281 	# what "hidden" libraries, object files and flags are used when
   12282 	# linking a shared library.
   12283 	#
   12284 	# There doesn't appear to be a way to prevent this compiler from
   12285 	# explicitly linking system object files so we need to strip them
   12286 	# from the output so that they don't get included in the library
   12287 	# dependencies.
   12288 	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'
   12289 	;;
   12290       *)
   12291 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12292 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12293 	 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'
   12294 
   12295 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12296 	  hardcode_libdir_separator_CXX=:
   12297 
   12298 	  # Commands to make compiler produce verbose output that lists
   12299 	  # what "hidden" libraries, object files and flags are used when
   12300 	  # linking a shared library.
   12301 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12302 
   12303 	else
   12304 	  # FIXME: insert proper C++ library support
   12305 	  ld_shlibs_CXX=no
   12306 	fi
   12307 	;;
   12308     esac
   12309     ;;
   12310   psos*)
   12311     # FIXME: insert proper C++ library support
   12312     ld_shlibs_CXX=no
   12313     ;;
   12314   sunos4*)
   12315     case $cc_basename in
   12316       CC*)
   12317 	# Sun C++ 4.x
   12318 	# FIXME: insert proper C++ library support
   12319 	ld_shlibs_CXX=no
   12320 	;;
   12321       lcc*)
   12322 	# Lucid
   12323 	# FIXME: insert proper C++ library support
   12324 	ld_shlibs_CXX=no
   12325 	;;
   12326       *)
   12327 	# FIXME: insert proper C++ library support
   12328 	ld_shlibs_CXX=no
   12329 	;;
   12330     esac
   12331     ;;
   12332   solaris*)
   12333     case $cc_basename in
   12334       CC*)
   12335 	# Sun C++ 4.2, 5.x and Centerline C++
   12336         archive_cmds_need_lc_CXX=yes
   12337 	no_undefined_flag_CXX=' -zdefs'
   12338 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12339 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12340 	$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'
   12341 
   12342 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12343 	hardcode_shlibpath_var_CXX=no
   12344 	case $host_os in
   12345 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12346 	  *)
   12347 	    # The compiler driver will combine and reorder linker options,
   12348 	    # but understands `-z linker_flag'.
   12349 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12350 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12351 	    ;;
   12352 	esac
   12353 	link_all_deplibs_CXX=yes
   12354 
   12355 	output_verbose_link_cmd='echo'
   12356 
   12357 	# Archives containing C++ object files must be created using
   12358 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12359 	# necessary to make sure instantiated templates are included
   12360 	# in the archive.
   12361 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12362 	;;
   12363       gcx*)
   12364 	# Green Hills C++ Compiler
   12365 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12366 
   12367 	# The C++ compiler must be used to create the archive.
   12368 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12369 	;;
   12370       *)
   12371 	# GNU C++ compiler with Solaris linker
   12372 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12373 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12374 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12375 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12376 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12377 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12378 
   12379 	    # Commands to make compiler produce verbose output that lists
   12380 	    # what "hidden" libraries, object files and flags are used when
   12381 	    # linking a shared library.
   12382 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12383 	  else
   12384 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12385 	    # platform.
   12386 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12387 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12388 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12389 
   12390 	    # Commands to make compiler produce verbose output that lists
   12391 	    # what "hidden" libraries, object files and flags are used when
   12392 	    # linking a shared library.
   12393 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12394 	  fi
   12395 
   12396 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12397 	  case $host_os in
   12398 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12399 	  *)
   12400 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12401 	    ;;
   12402 	  esac
   12403 	fi
   12404 	;;
   12405     esac
   12406     ;;
   12407   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12408     no_undefined_flag_CXX='${wl}-z,text'
   12409     archive_cmds_need_lc_CXX=no
   12410     hardcode_shlibpath_var_CXX=no
   12411     runpath_var='LD_RUN_PATH'
   12412 
   12413     case $cc_basename in
   12414       CC*)
   12415 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12416 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12417 	;;
   12418       *)
   12419 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12420 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12421 	;;
   12422     esac
   12423     ;;
   12424   sysv5* | sco3.2v5* | sco5v6*)
   12425     # Note: We can NOT use -z defs as we might desire, because we do not
   12426     # link with -lc, and that would cause any symbols used from libc to
   12427     # always be unresolved, which means just about no library would
   12428     # ever link correctly.  If we're not using GNU ld we use -z text
   12429     # though, which does catch some bad symbols but isn't as heavy-handed
   12430     # as -z defs.
   12431     # For security reasons, it is highly recommended that you always
   12432     # use absolute paths for naming shared libraries, and exclude the
   12433     # DT_RUNPATH tag from executables and libraries.  But doing so
   12434     # requires that you compile everything twice, which is a pain.
   12435     # So that behaviour is only enabled if SCOABSPATH is set to a
   12436     # non-empty value in the environment.  Most likely only useful for
   12437     # creating official distributions of packages.
   12438     # This is a hack until libtool officially supports absolute path
   12439     # names for shared libraries.
   12440     no_undefined_flag_CXX='${wl}-z,text'
   12441     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12442     archive_cmds_need_lc_CXX=no
   12443     hardcode_shlibpath_var_CXX=no
   12444     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12445     hardcode_libdir_separator_CXX=':'
   12446     link_all_deplibs_CXX=yes
   12447     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12448     runpath_var='LD_RUN_PATH'
   12449 
   12450     case $cc_basename in
   12451       CC*)
   12452 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12453 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12454 	;;
   12455       *)
   12456 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12457 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12458 	;;
   12459     esac
   12460     ;;
   12461   tandem*)
   12462     case $cc_basename in
   12463       NCC*)
   12464 	# NonStop-UX NCC 3.20
   12465 	# FIXME: insert proper C++ library support
   12466 	ld_shlibs_CXX=no
   12467 	;;
   12468       *)
   12469 	# FIXME: insert proper C++ library support
   12470 	ld_shlibs_CXX=no
   12471 	;;
   12472     esac
   12473     ;;
   12474   vxworks*)
   12475     # FIXME: insert proper C++ library support
   12476     ld_shlibs_CXX=no
   12477     ;;
   12478   *)
   12479     # FIXME: insert proper C++ library support
   12480     ld_shlibs_CXX=no
   12481     ;;
   12482 esac
   12483 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12484 $as_echo "$ld_shlibs_CXX" >&6; }
   12485 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12486 
   12487 GCC_CXX="$GXX"
   12488 LD_CXX="$LD"
   12489 
   12490 cat > conftest.$ac_ext <<EOF
   12491 class Foo
   12492 {
   12493 public:
   12494   Foo (void) { a = 0; }
   12495 private:
   12496   int a;
   12497 };
   12498 EOF
   12499 
   12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12501   (eval $ac_compile) 2>&5
   12502   ac_status=$?
   12503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12504   (exit $ac_status); }; then
   12505   # Parse the compiler output and extract the necessary
   12506   # objects, libraries and library flags.
   12507 
   12508   # Sentinel used to keep track of whether or not we are before
   12509   # the conftest object file.
   12510   pre_test_object_deps_done=no
   12511 
   12512   # The `*' in the case matches for architectures that use `case' in
   12513   # $output_verbose_cmd can trigger glob expansion during the loop
   12514   # eval without this substitution.
   12515   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12516 
   12517   for p in `eval $output_verbose_link_cmd`; do
   12518     case $p in
   12519 
   12520     -L* | -R* | -l*)
   12521        # Some compilers place space between "-{L,R}" and the path.
   12522        # Remove the space.
   12523        if test $p = "-L" \
   12524 	  || test $p = "-R"; then
   12525 	 prev=$p
   12526 	 continue
   12527        else
   12528 	 prev=
   12529        fi
   12530 
   12531        if test "$pre_test_object_deps_done" = no; then
   12532 	 case $p in
   12533 	 -L* | -R*)
   12534 	   # Internal compiler library paths should come after those
   12535 	   # provided the user.  The postdeps already come after the
   12536 	   # user supplied libs so there is no need to process them.
   12537 	   if test -z "$compiler_lib_search_path_CXX"; then
   12538 	     compiler_lib_search_path_CXX="${prev}${p}"
   12539 	   else
   12540 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12541 	   fi
   12542 	   ;;
   12543 	 # The "-l" case would never come before the object being
   12544 	 # linked, so don't bother handling this case.
   12545 	 esac
   12546        else
   12547 	 if test -z "$postdeps_CXX"; then
   12548 	   postdeps_CXX="${prev}${p}"
   12549 	 else
   12550 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12551 	 fi
   12552        fi
   12553        ;;
   12554 
   12555     *.$objext)
   12556        # This assumes that the test object file only shows up
   12557        # once in the compiler output.
   12558        if test "$p" = "conftest.$objext"; then
   12559 	 pre_test_object_deps_done=yes
   12560 	 continue
   12561        fi
   12562 
   12563        if test "$pre_test_object_deps_done" = no; then
   12564 	 if test -z "$predep_objects_CXX"; then
   12565 	   predep_objects_CXX="$p"
   12566 	 else
   12567 	   predep_objects_CXX="$predep_objects_CXX $p"
   12568 	 fi
   12569        else
   12570 	 if test -z "$postdep_objects_CXX"; then
   12571 	   postdep_objects_CXX="$p"
   12572 	 else
   12573 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12574 	 fi
   12575        fi
   12576        ;;
   12577 
   12578     *) ;; # Ignore the rest.
   12579 
   12580     esac
   12581   done
   12582 
   12583   # Clean up.
   12584   rm -f a.out a.exe
   12585 else
   12586   echo "libtool.m4: error: problem compiling CXX test program"
   12587 fi
   12588 
   12589 $rm -f confest.$objext
   12590 
   12591 compiler_lib_search_dirs_CXX=
   12592 if test -n "$compiler_lib_search_path_CXX"; then
   12593   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12594 fi
   12595 
   12596 # PORTME: override above test on systems where it is broken
   12597 case $host_os in
   12598 interix[3-9]*)
   12599   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12600   # hack all around it, let's just trust "g++" to DTRT.
   12601   predep_objects_CXX=
   12602   postdep_objects_CXX=
   12603   postdeps_CXX=
   12604   ;;
   12605 
   12606 linux*)
   12607   case `$CC -V 2>&1 | sed 5q` in
   12608   *Sun\ C*)
   12609     # Sun C++ 5.9
   12610     #
   12611     # The more standards-conforming stlport4 library is
   12612     # incompatible with the Cstd library. Avoid specifying
   12613     # it if it's in CXXFLAGS. Ignore libCrun as
   12614     # -library=stlport4 depends on it.
   12615     case " $CXX $CXXFLAGS " in
   12616     *" -library=stlport4 "*)
   12617       solaris_use_stlport4=yes
   12618       ;;
   12619     esac
   12620     if test "$solaris_use_stlport4" != yes; then
   12621       postdeps_CXX='-library=Cstd -library=Crun'
   12622     fi
   12623     ;;
   12624   esac
   12625   ;;
   12626 
   12627 solaris*)
   12628   case $cc_basename in
   12629   CC*)
   12630     # The more standards-conforming stlport4 library is
   12631     # incompatible with the Cstd library. Avoid specifying
   12632     # it if it's in CXXFLAGS. Ignore libCrun as
   12633     # -library=stlport4 depends on it.
   12634     case " $CXX $CXXFLAGS " in
   12635     *" -library=stlport4 "*)
   12636       solaris_use_stlport4=yes
   12637       ;;
   12638     esac
   12639 
   12640     # Adding this requires a known-good setup of shared libraries for
   12641     # Sun compiler versions before 5.6, else PIC objects from an old
   12642     # archive will be linked into the output, leading to subtle bugs.
   12643     if test "$solaris_use_stlport4" != yes; then
   12644       postdeps_CXX='-library=Cstd -library=Crun'
   12645     fi
   12646     ;;
   12647   esac
   12648   ;;
   12649 esac
   12650 
   12651 case " $postdeps_CXX " in
   12652 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12653 esac
   12654 
   12655 lt_prog_compiler_wl_CXX=
   12656 lt_prog_compiler_pic_CXX=
   12657 lt_prog_compiler_static_CXX=
   12658 
   12659 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12660 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12661 
   12662   # C++ specific cases for pic, static, wl, etc.
   12663   if test "$GXX" = yes; then
   12664     lt_prog_compiler_wl_CXX='-Wl,'
   12665     lt_prog_compiler_static_CXX='-static'
   12666 
   12667     case $host_os in
   12668     aix*)
   12669       # All AIX code is PIC.
   12670       if test "$host_cpu" = ia64; then
   12671 	# AIX 5 now supports IA64 processor
   12672 	lt_prog_compiler_static_CXX='-Bstatic'
   12673       fi
   12674       ;;
   12675     amigaos*)
   12676       # FIXME: we need at least 68020 code to build shared libraries, but
   12677       # adding the `-m68020' flag to GCC prevents building anything better,
   12678       # like `-m68040'.
   12679       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12680       ;;
   12681     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12682       # PIC is the default for these OSes.
   12683       ;;
   12684     mingw* | cygwin* | os2* | pw32*)
   12685       # This hack is so that the source file can tell whether it is being
   12686       # built for inclusion in a dll (and should export symbols for example).
   12687       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12688       # (--disable-auto-import) libraries
   12689       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12690       ;;
   12691     darwin* | rhapsody*)
   12692       # PIC is the default on this platform
   12693       # Common symbols not allowed in MH_DYLIB files
   12694       lt_prog_compiler_pic_CXX='-fno-common'
   12695       ;;
   12696     *djgpp*)
   12697       # DJGPP does not support shared libraries at all
   12698       lt_prog_compiler_pic_CXX=
   12699       ;;
   12700     interix[3-9]*)
   12701       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12702       # Instead, we relocate shared libraries at runtime.
   12703       ;;
   12704     sysv4*MP*)
   12705       if test -d /usr/nec; then
   12706 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12707       fi
   12708       ;;
   12709     hpux*)
   12710       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12711       # not for PA HP-UX.
   12712       case $host_cpu in
   12713       hppa*64*|ia64*)
   12714 	;;
   12715       *)
   12716 	lt_prog_compiler_pic_CXX='-fPIC'
   12717 	;;
   12718       esac
   12719       ;;
   12720     *)
   12721       lt_prog_compiler_pic_CXX='-fPIC'
   12722       ;;
   12723     esac
   12724   else
   12725     case $host_os in
   12726       aix[4-9]*)
   12727 	# All AIX code is PIC.
   12728 	if test "$host_cpu" = ia64; then
   12729 	  # AIX 5 now supports IA64 processor
   12730 	  lt_prog_compiler_static_CXX='-Bstatic'
   12731 	else
   12732 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12733 	fi
   12734 	;;
   12735       chorus*)
   12736 	case $cc_basename in
   12737 	cxch68*)
   12738 	  # Green Hills C++ Compiler
   12739 	  # _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"
   12740 	  ;;
   12741 	esac
   12742 	;;
   12743        darwin*)
   12744          # PIC is the default on this platform
   12745          # Common symbols not allowed in MH_DYLIB files
   12746          case $cc_basename in
   12747            xlc*)
   12748            lt_prog_compiler_pic_CXX='-qnocommon'
   12749            lt_prog_compiler_wl_CXX='-Wl,'
   12750            ;;
   12751          esac
   12752        ;;
   12753       dgux*)
   12754 	case $cc_basename in
   12755 	  ec++*)
   12756 	    lt_prog_compiler_pic_CXX='-KPIC'
   12757 	    ;;
   12758 	  ghcx*)
   12759 	    # Green Hills C++ Compiler
   12760 	    lt_prog_compiler_pic_CXX='-pic'
   12761 	    ;;
   12762 	  *)
   12763 	    ;;
   12764 	esac
   12765 	;;
   12766       freebsd* | dragonfly*)
   12767 	# FreeBSD uses GNU C++
   12768 	;;
   12769       hpux9* | hpux10* | hpux11*)
   12770 	case $cc_basename in
   12771 	  CC*)
   12772 	    lt_prog_compiler_wl_CXX='-Wl,'
   12773 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12774 	    if test "$host_cpu" != ia64; then
   12775 	      lt_prog_compiler_pic_CXX='+Z'
   12776 	    fi
   12777 	    ;;
   12778 	  aCC*)
   12779 	    lt_prog_compiler_wl_CXX='-Wl,'
   12780 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12781 	    case $host_cpu in
   12782 	    hppa*64*|ia64*)
   12783 	      # +Z the default
   12784 	      ;;
   12785 	    *)
   12786 	      lt_prog_compiler_pic_CXX='+Z'
   12787 	      ;;
   12788 	    esac
   12789 	    ;;
   12790 	  *)
   12791 	    ;;
   12792 	esac
   12793 	;;
   12794       interix*)
   12795 	# This is c89, which is MS Visual C++ (no shared libs)
   12796 	# Anyone wants to do a port?
   12797 	;;
   12798       irix5* | irix6* | nonstopux*)
   12799 	case $cc_basename in
   12800 	  CC*)
   12801 	    lt_prog_compiler_wl_CXX='-Wl,'
   12802 	    lt_prog_compiler_static_CXX='-non_shared'
   12803 	    # CC pic flag -KPIC is the default.
   12804 	    ;;
   12805 	  *)
   12806 	    ;;
   12807 	esac
   12808 	;;
   12809       linux* | k*bsd*-gnu)
   12810 	case $cc_basename in
   12811 	  KCC*)
   12812 	    # KAI C++ Compiler
   12813 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12814 	    lt_prog_compiler_pic_CXX='-fPIC'
   12815 	    ;;
   12816 	  icpc* | ecpc*)
   12817 	    # Intel C++
   12818 	    lt_prog_compiler_wl_CXX='-Wl,'
   12819 	    lt_prog_compiler_pic_CXX='-KPIC'
   12820 	    lt_prog_compiler_static_CXX='-static'
   12821 	    ;;
   12822 	  pgCC* | pgcpp*)
   12823 	    # Portland Group C++ compiler.
   12824 	    lt_prog_compiler_wl_CXX='-Wl,'
   12825 	    lt_prog_compiler_pic_CXX='-fpic'
   12826 	    lt_prog_compiler_static_CXX='-Bstatic'
   12827 	    ;;
   12828 	  cxx*)
   12829 	    # Compaq C++
   12830 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12831 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12832 	    lt_prog_compiler_pic_CXX=
   12833 	    lt_prog_compiler_static_CXX='-non_shared'
   12834 	    ;;
   12835 	  *)
   12836 	    case `$CC -V 2>&1 | sed 5q` in
   12837 	    *Sun\ C*)
   12838 	      # Sun C++ 5.9
   12839 	      lt_prog_compiler_pic_CXX='-KPIC'
   12840 	      lt_prog_compiler_static_CXX='-Bstatic'
   12841 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12842 	      ;;
   12843 	    esac
   12844 	    ;;
   12845 	esac
   12846 	;;
   12847       lynxos*)
   12848 	;;
   12849       m88k*)
   12850 	;;
   12851       mvs*)
   12852 	case $cc_basename in
   12853 	  cxx*)
   12854 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12855 	    ;;
   12856 	  *)
   12857 	    ;;
   12858 	esac
   12859 	;;
   12860       netbsd*)
   12861 	;;
   12862       osf3* | osf4* | osf5*)
   12863 	case $cc_basename in
   12864 	  KCC*)
   12865 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12866 	    ;;
   12867 	  RCC*)
   12868 	    # Rational C++ 2.4.1
   12869 	    lt_prog_compiler_pic_CXX='-pic'
   12870 	    ;;
   12871 	  cxx*)
   12872 	    # Digital/Compaq C++
   12873 	    lt_prog_compiler_wl_CXX='-Wl,'
   12874 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12875 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12876 	    lt_prog_compiler_pic_CXX=
   12877 	    lt_prog_compiler_static_CXX='-non_shared'
   12878 	    ;;
   12879 	  *)
   12880 	    ;;
   12881 	esac
   12882 	;;
   12883       psos*)
   12884 	;;
   12885       solaris*)
   12886 	case $cc_basename in
   12887 	  CC*)
   12888 	    # Sun C++ 4.2, 5.x and Centerline C++
   12889 	    lt_prog_compiler_pic_CXX='-KPIC'
   12890 	    lt_prog_compiler_static_CXX='-Bstatic'
   12891 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12892 	    ;;
   12893 	  gcx*)
   12894 	    # Green Hills C++ Compiler
   12895 	    lt_prog_compiler_pic_CXX='-PIC'
   12896 	    ;;
   12897 	  *)
   12898 	    ;;
   12899 	esac
   12900 	;;
   12901       sunos4*)
   12902 	case $cc_basename in
   12903 	  CC*)
   12904 	    # Sun C++ 4.x
   12905 	    lt_prog_compiler_pic_CXX='-pic'
   12906 	    lt_prog_compiler_static_CXX='-Bstatic'
   12907 	    ;;
   12908 	  lcc*)
   12909 	    # Lucid
   12910 	    lt_prog_compiler_pic_CXX='-pic'
   12911 	    ;;
   12912 	  *)
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       tandem*)
   12917 	case $cc_basename in
   12918 	  NCC*)
   12919 	    # NonStop-UX NCC 3.20
   12920 	    lt_prog_compiler_pic_CXX='-KPIC'
   12921 	    ;;
   12922 	  *)
   12923 	    ;;
   12924 	esac
   12925 	;;
   12926       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12927 	case $cc_basename in
   12928 	  CC*)
   12929 	    lt_prog_compiler_wl_CXX='-Wl,'
   12930 	    lt_prog_compiler_pic_CXX='-KPIC'
   12931 	    lt_prog_compiler_static_CXX='-Bstatic'
   12932 	    ;;
   12933 	esac
   12934 	;;
   12935       vxworks*)
   12936 	;;
   12937       *)
   12938 	lt_prog_compiler_can_build_shared_CXX=no
   12939 	;;
   12940     esac
   12941   fi
   12942 
   12943 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12944 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12945 
   12946 #
   12947 # Check to make sure the PIC flag actually works.
   12948 #
   12949 if test -n "$lt_prog_compiler_pic_CXX"; then
   12950 
   12951 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12952 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12953 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12954   $as_echo_n "(cached) " >&6
   12955 else
   12956   lt_cv_prog_compiler_pic_works_CXX=no
   12957   ac_outfile=conftest.$ac_objext
   12958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12959    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12960    # Insert the option either (1) after the last *FLAGS variable, or
   12961    # (2) before a word containing "conftest.", or (3) at the end.
   12962    # Note that $ac_compile itself does not contain backslashes and begins
   12963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12964    # The option is referenced via a variable to avoid confusing sed.
   12965    lt_compile=`echo "$ac_compile" | $SED \
   12966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12968    -e 's:$: $lt_compiler_flag:'`
   12969    (eval echo "\"\$as_me:12969: $lt_compile\"" >&5)
   12970    (eval "$lt_compile" 2>conftest.err)
   12971    ac_status=$?
   12972    cat conftest.err >&5
   12973    echo "$as_me:12973: \$? = $ac_status" >&5
   12974    if (exit $ac_status) && test -s "$ac_outfile"; then
   12975      # The compiler can only warn and ignore the option if not recognized
   12976      # So say no if there are warnings other than the usual output.
   12977      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12978      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12979      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12980        lt_cv_prog_compiler_pic_works_CXX=yes
   12981      fi
   12982    fi
   12983    $rm conftest*
   12984 
   12985 fi
   12986 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12987 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12988 
   12989 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12990     case $lt_prog_compiler_pic_CXX in
   12991      "" | " "*) ;;
   12992      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12993      esac
   12994 else
   12995     lt_prog_compiler_pic_CXX=
   12996      lt_prog_compiler_can_build_shared_CXX=no
   12997 fi
   12998 
   12999 fi
   13000 case $host_os in
   13001   # For platforms which do not support PIC, -DPIC is meaningless:
   13002   *djgpp*)
   13003     lt_prog_compiler_pic_CXX=
   13004     ;;
   13005   *)
   13006     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13007     ;;
   13008 esac
   13009 
   13010 #
   13011 # Check to make sure the static flag actually works.
   13012 #
   13013 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13014 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13015 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13016 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13017   $as_echo_n "(cached) " >&6
   13018 else
   13019   lt_cv_prog_compiler_static_works_CXX=no
   13020    save_LDFLAGS="$LDFLAGS"
   13021    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13022    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13023    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13024      # The linker can only warn and ignore the option if not recognized
   13025      # So say no if there are warnings
   13026      if test -s conftest.err; then
   13027        # Append any errors to the config.log.
   13028        cat conftest.err 1>&5
   13029        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13030        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13031        if diff conftest.exp conftest.er2 >/dev/null; then
   13032          lt_cv_prog_compiler_static_works_CXX=yes
   13033        fi
   13034      else
   13035        lt_cv_prog_compiler_static_works_CXX=yes
   13036      fi
   13037    fi
   13038    $rm -r conftest*
   13039    LDFLAGS="$save_LDFLAGS"
   13040 
   13041 fi
   13042 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13043 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13044 
   13045 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13046     :
   13047 else
   13048     lt_prog_compiler_static_CXX=
   13049 fi
   13050 
   13051 
   13052 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13053 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13054 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13055   $as_echo_n "(cached) " >&6
   13056 else
   13057   lt_cv_prog_compiler_c_o_CXX=no
   13058    $rm -r conftest 2>/dev/null
   13059    mkdir conftest
   13060    cd conftest
   13061    mkdir out
   13062    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13063 
   13064    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13065    # Insert the option either (1) after the last *FLAGS variable, or
   13066    # (2) before a word containing "conftest.", or (3) at the end.
   13067    # Note that $ac_compile itself does not contain backslashes and begins
   13068    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13069    lt_compile=`echo "$ac_compile" | $SED \
   13070    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13071    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13072    -e 's:$: $lt_compiler_flag:'`
   13073    (eval echo "\"\$as_me:13073: $lt_compile\"" >&5)
   13074    (eval "$lt_compile" 2>out/conftest.err)
   13075    ac_status=$?
   13076    cat out/conftest.err >&5
   13077    echo "$as_me:13077: \$? = $ac_status" >&5
   13078    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13079    then
   13080      # The compiler can only warn and ignore the option if not recognized
   13081      # So say no if there are warnings
   13082      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13083      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13084      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13085        lt_cv_prog_compiler_c_o_CXX=yes
   13086      fi
   13087    fi
   13088    chmod u+w . 2>&5
   13089    $rm conftest*
   13090    # SGI C++ compiler will create directory out/ii_files/ for
   13091    # template instantiation
   13092    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13093    $rm out/* && rmdir out
   13094    cd ..
   13095    rmdir conftest
   13096    $rm conftest*
   13097 
   13098 fi
   13099 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13100 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13101 
   13102 
   13103 hard_links="nottested"
   13104 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13105   # do not overwrite the value of need_locks provided by the user
   13106   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13107 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13108   hard_links=yes
   13109   $rm conftest*
   13110   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13111   touch conftest.a
   13112   ln conftest.a conftest.b 2>&5 || hard_links=no
   13113   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13114   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13115 $as_echo "$hard_links" >&6; }
   13116   if test "$hard_links" = no; then
   13117     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13118 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13119     need_locks=warn
   13120   fi
   13121 else
   13122   need_locks=no
   13123 fi
   13124 
   13125 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13126 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13127 
   13128   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13129   case $host_os in
   13130   aix[4-9]*)
   13131     # If we're using GNU nm, then we don't want the "-C" option.
   13132     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13133     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13134       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'
   13135     else
   13136       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'
   13137     fi
   13138     ;;
   13139   pw32*)
   13140     export_symbols_cmds_CXX="$ltdll_cmds"
   13141   ;;
   13142   cygwin* | mingw*)
   13143     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'
   13144   ;;
   13145   *)
   13146     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13147   ;;
   13148   esac
   13149   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13150 
   13151 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13152 $as_echo "$ld_shlibs_CXX" >&6; }
   13153 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13154 
   13155 #
   13156 # Do we need to explicitly link libc?
   13157 #
   13158 case "x$archive_cmds_need_lc_CXX" in
   13159 x|xyes)
   13160   # Assume -lc should be added
   13161   archive_cmds_need_lc_CXX=yes
   13162 
   13163   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13164     case $archive_cmds_CXX in
   13165     *'~'*)
   13166       # FIXME: we may have to deal with multi-command sequences.
   13167       ;;
   13168     '$CC '*)
   13169       # Test whether the compiler implicitly links with -lc since on some
   13170       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13171       # to ld, don't add -lc before -lgcc.
   13172       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13173 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13174       $rm conftest*
   13175       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13176 
   13177       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13178   (eval $ac_compile) 2>&5
   13179   ac_status=$?
   13180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13181   (exit $ac_status); } 2>conftest.err; then
   13182         soname=conftest
   13183         lib=conftest
   13184         libobjs=conftest.$ac_objext
   13185         deplibs=
   13186         wl=$lt_prog_compiler_wl_CXX
   13187 	pic_flag=$lt_prog_compiler_pic_CXX
   13188         compiler_flags=-v
   13189         linker_flags=-v
   13190         verstring=
   13191         output_objdir=.
   13192         libname=conftest
   13193         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13194         allow_undefined_flag_CXX=
   13195         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13196   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13197   ac_status=$?
   13198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13199   (exit $ac_status); }
   13200         then
   13201 	  archive_cmds_need_lc_CXX=no
   13202         else
   13203 	  archive_cmds_need_lc_CXX=yes
   13204         fi
   13205         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13206       else
   13207         cat conftest.err 1>&5
   13208       fi
   13209       $rm conftest*
   13210       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13211 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13212       ;;
   13213     esac
   13214   fi
   13215   ;;
   13216 esac
   13217 
   13218 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13219 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13220 library_names_spec=
   13221 libname_spec='lib$name'
   13222 soname_spec=
   13223 shrext_cmds=".so"
   13224 postinstall_cmds=
   13225 postuninstall_cmds=
   13226 finish_cmds=
   13227 finish_eval=
   13228 shlibpath_var=
   13229 shlibpath_overrides_runpath=unknown
   13230 version_type=none
   13231 dynamic_linker="$host_os ld.so"
   13232 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13233 
   13234 need_lib_prefix=unknown
   13235 hardcode_into_libs=no
   13236 
   13237 # when you set need_version to no, make sure it does not cause -set_version
   13238 # flags to be left without arguments
   13239 need_version=unknown
   13240 
   13241 case $host_os in
   13242 aix3*)
   13243   version_type=linux
   13244   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13245   shlibpath_var=LIBPATH
   13246 
   13247   # AIX 3 has no versioning support, so we append a major version to the name.
   13248   soname_spec='${libname}${release}${shared_ext}$major'
   13249   ;;
   13250 
   13251 aix[4-9]*)
   13252   version_type=linux
   13253   need_lib_prefix=no
   13254   need_version=no
   13255   hardcode_into_libs=yes
   13256   if test "$host_cpu" = ia64; then
   13257     # AIX 5 supports IA64
   13258     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13259     shlibpath_var=LD_LIBRARY_PATH
   13260   else
   13261     # With GCC up to 2.95.x, collect2 would create an import file
   13262     # for dependence libraries.  The import file would start with
   13263     # the line `#! .'.  This would cause the generated library to
   13264     # depend on `.', always an invalid library.  This was fixed in
   13265     # development snapshots of GCC prior to 3.0.
   13266     case $host_os in
   13267       aix4 | aix4.[01] | aix4.[01].*)
   13268       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13269 	   echo ' yes '
   13270 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13271 	:
   13272       else
   13273 	can_build_shared=no
   13274       fi
   13275       ;;
   13276     esac
   13277     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13278     # soname into executable. Probably we can add versioning support to
   13279     # collect2, so additional links can be useful in future.
   13280     if test "$aix_use_runtimelinking" = yes; then
   13281       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13282       # instead of lib<name>.a to let people know that these are not
   13283       # typical AIX shared libraries.
   13284       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13285     else
   13286       # We preserve .a as extension for shared libraries through AIX4.2
   13287       # and later when we are not doing run time linking.
   13288       library_names_spec='${libname}${release}.a $libname.a'
   13289       soname_spec='${libname}${release}${shared_ext}$major'
   13290     fi
   13291     shlibpath_var=LIBPATH
   13292   fi
   13293   ;;
   13294 
   13295 amigaos*)
   13296   library_names_spec='$libname.ixlibrary $libname.a'
   13297   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13298   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'
   13299   ;;
   13300 
   13301 beos*)
   13302   library_names_spec='${libname}${shared_ext}'
   13303   dynamic_linker="$host_os ld.so"
   13304   shlibpath_var=LIBRARY_PATH
   13305   ;;
   13306 
   13307 bsdi[45]*)
   13308   version_type=linux
   13309   need_version=no
   13310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13311   soname_spec='${libname}${release}${shared_ext}$major'
   13312   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13313   shlibpath_var=LD_LIBRARY_PATH
   13314   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13315   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13316   # the default ld.so.conf also contains /usr/contrib/lib and
   13317   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13318   # libtool to hard-code these into programs
   13319   ;;
   13320 
   13321 cygwin* | mingw* | pw32*)
   13322   version_type=windows
   13323   shrext_cmds=".dll"
   13324   need_version=no
   13325   need_lib_prefix=no
   13326 
   13327   case $GCC,$host_os in
   13328   yes,cygwin* | yes,mingw* | yes,pw32*)
   13329     library_names_spec='$libname.dll.a'
   13330     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13331     postinstall_cmds='base_file=`basename \${file}`~
   13332       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13333       dldir=$destdir/`dirname \$dlpath`~
   13334       test -d \$dldir || mkdir -p \$dldir~
   13335       $install_prog $dir/$dlname \$dldir/$dlname~
   13336       chmod a+x \$dldir/$dlname'
   13337     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13338       dlpath=$dir/\$dldll~
   13339        $rm \$dlpath'
   13340     shlibpath_overrides_runpath=yes
   13341 
   13342     case $host_os in
   13343     cygwin*)
   13344       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13345       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13346       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13347       ;;
   13348     mingw*)
   13349       # MinGW DLLs use traditional 'lib' prefix
   13350       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13351       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13352       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13353         # It is most probably a Windows format PATH printed by
   13354         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13355         # path with ; separators, and with drive letters. We can handle the
   13356         # drive letters (cygwin fileutils understands them), so leave them,
   13357         # especially as we might pass files found there to a mingw objdump,
   13358         # which wouldn't understand a cygwinified path. Ahh.
   13359         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13360       else
   13361         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13362       fi
   13363       ;;
   13364     pw32*)
   13365       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13366       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13367       ;;
   13368     esac
   13369     ;;
   13370 
   13371   *)
   13372     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13373     ;;
   13374   esac
   13375   dynamic_linker='Win32 ld.exe'
   13376   # FIXME: first we should search . and the directory the executable is in
   13377   shlibpath_var=PATH
   13378   ;;
   13379 
   13380 darwin* | rhapsody*)
   13381   dynamic_linker="$host_os dyld"
   13382   version_type=darwin
   13383   need_lib_prefix=no
   13384   need_version=no
   13385   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13386   soname_spec='${libname}${release}${major}$shared_ext'
   13387   shlibpath_overrides_runpath=yes
   13388   shlibpath_var=DYLD_LIBRARY_PATH
   13389   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13390 
   13391   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13392   ;;
   13393 
   13394 dgux*)
   13395   version_type=linux
   13396   need_lib_prefix=no
   13397   need_version=no
   13398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13399   soname_spec='${libname}${release}${shared_ext}$major'
   13400   shlibpath_var=LD_LIBRARY_PATH
   13401   ;;
   13402 
   13403 freebsd1*)
   13404   dynamic_linker=no
   13405   ;;
   13406 
   13407 freebsd* | dragonfly*)
   13408   # DragonFly does not have aout.  When/if they implement a new
   13409   # versioning mechanism, adjust this.
   13410   if test -x /usr/bin/objformat; then
   13411     objformat=`/usr/bin/objformat`
   13412   else
   13413     case $host_os in
   13414     freebsd[123]*) objformat=aout ;;
   13415     *) objformat=elf ;;
   13416     esac
   13417   fi
   13418   version_type=freebsd-$objformat
   13419   case $version_type in
   13420     freebsd-elf*)
   13421       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13422       need_version=no
   13423       need_lib_prefix=no
   13424       ;;
   13425     freebsd-*)
   13426       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13427       need_version=yes
   13428       ;;
   13429   esac
   13430   shlibpath_var=LD_LIBRARY_PATH
   13431   case $host_os in
   13432   freebsd2*)
   13433     shlibpath_overrides_runpath=yes
   13434     ;;
   13435   freebsd3.[01]* | freebsdelf3.[01]*)
   13436     shlibpath_overrides_runpath=yes
   13437     hardcode_into_libs=yes
   13438     ;;
   13439   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13440   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13441     shlibpath_overrides_runpath=no
   13442     hardcode_into_libs=yes
   13443     ;;
   13444   *) # from 4.6 on, and DragonFly
   13445     shlibpath_overrides_runpath=yes
   13446     hardcode_into_libs=yes
   13447     ;;
   13448   esac
   13449   ;;
   13450 
   13451 gnu*)
   13452   version_type=linux
   13453   need_lib_prefix=no
   13454   need_version=no
   13455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13456   soname_spec='${libname}${release}${shared_ext}$major'
   13457   shlibpath_var=LD_LIBRARY_PATH
   13458   hardcode_into_libs=yes
   13459   ;;
   13460 
   13461 hpux9* | hpux10* | hpux11*)
   13462   # Give a soname corresponding to the major version so that dld.sl refuses to
   13463   # link against other versions.
   13464   version_type=sunos
   13465   need_lib_prefix=no
   13466   need_version=no
   13467   case $host_cpu in
   13468   ia64*)
   13469     shrext_cmds='.so'
   13470     hardcode_into_libs=yes
   13471     dynamic_linker="$host_os dld.so"
   13472     shlibpath_var=LD_LIBRARY_PATH
   13473     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13475     soname_spec='${libname}${release}${shared_ext}$major'
   13476     if test "X$HPUX_IA64_MODE" = X32; then
   13477       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13478     else
   13479       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13480     fi
   13481     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13482     ;;
   13483    hppa*64*)
   13484      shrext_cmds='.sl'
   13485      hardcode_into_libs=yes
   13486      dynamic_linker="$host_os dld.sl"
   13487      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13488      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13489      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13490      soname_spec='${libname}${release}${shared_ext}$major'
   13491      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13492      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13493      ;;
   13494    *)
   13495     shrext_cmds='.sl'
   13496     dynamic_linker="$host_os dld.sl"
   13497     shlibpath_var=SHLIB_PATH
   13498     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13499     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13500     soname_spec='${libname}${release}${shared_ext}$major'
   13501     ;;
   13502   esac
   13503   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13504   postinstall_cmds='chmod 555 $lib'
   13505   ;;
   13506 
   13507 interix[3-9]*)
   13508   version_type=linux
   13509   need_lib_prefix=no
   13510   need_version=no
   13511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13512   soname_spec='${libname}${release}${shared_ext}$major'
   13513   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13514   shlibpath_var=LD_LIBRARY_PATH
   13515   shlibpath_overrides_runpath=no
   13516   hardcode_into_libs=yes
   13517   ;;
   13518 
   13519 irix5* | irix6* | nonstopux*)
   13520   case $host_os in
   13521     nonstopux*) version_type=nonstopux ;;
   13522     *)
   13523 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13524 		version_type=linux
   13525 	else
   13526 		version_type=irix
   13527 	fi ;;
   13528   esac
   13529   need_lib_prefix=no
   13530   need_version=no
   13531   soname_spec='${libname}${release}${shared_ext}$major'
   13532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13533   case $host_os in
   13534   irix5* | nonstopux*)
   13535     libsuff= shlibsuff=
   13536     ;;
   13537   *)
   13538     case $LD in # libtool.m4 will add one of these switches to LD
   13539     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13540       libsuff= shlibsuff= libmagic=32-bit;;
   13541     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13542       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13543     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13544       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13545     *) libsuff= shlibsuff= libmagic=never-match;;
   13546     esac
   13547     ;;
   13548   esac
   13549   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13550   shlibpath_overrides_runpath=no
   13551   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13552   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13553   hardcode_into_libs=yes
   13554   ;;
   13555 
   13556 # No shared lib support for Linux oldld, aout, or coff.
   13557 linux*oldld* | linux*aout* | linux*coff*)
   13558   dynamic_linker=no
   13559   ;;
   13560 
   13561 # This must be Linux ELF.
   13562 linux* | k*bsd*-gnu)
   13563   version_type=linux
   13564   need_lib_prefix=no
   13565   need_version=no
   13566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13567   soname_spec='${libname}${release}${shared_ext}$major'
   13568   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13569   shlibpath_var=LD_LIBRARY_PATH
   13570   shlibpath_overrides_runpath=no
   13571   # This implies no fast_install, which is unacceptable.
   13572   # Some rework will be needed to allow for fast_install
   13573   # before this can be enabled.
   13574   hardcode_into_libs=yes
   13575 
   13576   # Append ld.so.conf contents to the search path
   13577   if test -f /etc/ld.so.conf; then
   13578     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13579     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13580   fi
   13581 
   13582   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13583   # powerpc, because MkLinux only supported shared libraries with the
   13584   # GNU dynamic linker.  Since this was broken with cross compilers,
   13585   # most powerpc-linux boxes support dynamic linking these days and
   13586   # people can always --disable-shared, the test was removed, and we
   13587   # assume the GNU/Linux dynamic linker is in use.
   13588   dynamic_linker='GNU/Linux ld.so'
   13589   ;;
   13590 
   13591 netbsd*)
   13592   version_type=sunos
   13593   need_lib_prefix=no
   13594   need_version=no
   13595   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13596     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13597     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13598     dynamic_linker='NetBSD (a.out) ld.so'
   13599   else
   13600     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13601     soname_spec='${libname}${release}${shared_ext}$major'
   13602     dynamic_linker='NetBSD ld.elf_so'
   13603   fi
   13604   shlibpath_var=LD_LIBRARY_PATH
   13605   shlibpath_overrides_runpath=yes
   13606   hardcode_into_libs=yes
   13607   ;;
   13608 
   13609 newsos6)
   13610   version_type=linux
   13611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   shlibpath_overrides_runpath=yes
   13614   ;;
   13615 
   13616 nto-qnx*)
   13617   version_type=linux
   13618   need_lib_prefix=no
   13619   need_version=no
   13620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13621   soname_spec='${libname}${release}${shared_ext}$major'
   13622   shlibpath_var=LD_LIBRARY_PATH
   13623   shlibpath_overrides_runpath=yes
   13624   ;;
   13625 
   13626 openbsd*)
   13627   version_type=sunos
   13628   sys_lib_dlsearch_path_spec="/usr/lib"
   13629   need_lib_prefix=no
   13630   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13631   case $host_os in
   13632     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13633     *)                         need_version=no  ;;
   13634   esac
   13635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13636   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13637   shlibpath_var=LD_LIBRARY_PATH
   13638   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13639     case $host_os in
   13640       openbsd2.[89] | openbsd2.[89].*)
   13641 	shlibpath_overrides_runpath=no
   13642 	;;
   13643       *)
   13644 	shlibpath_overrides_runpath=yes
   13645 	;;
   13646       esac
   13647   else
   13648     shlibpath_overrides_runpath=yes
   13649   fi
   13650   ;;
   13651 
   13652 os2*)
   13653   libname_spec='$name'
   13654   shrext_cmds=".dll"
   13655   need_lib_prefix=no
   13656   library_names_spec='$libname${shared_ext} $libname.a'
   13657   dynamic_linker='OS/2 ld.exe'
   13658   shlibpath_var=LIBPATH
   13659   ;;
   13660 
   13661 osf3* | osf4* | osf5*)
   13662   version_type=osf
   13663   need_lib_prefix=no
   13664   need_version=no
   13665   soname_spec='${libname}${release}${shared_ext}$major'
   13666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13667   shlibpath_var=LD_LIBRARY_PATH
   13668   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13669   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13670   ;;
   13671 
   13672 rdos*)
   13673   dynamic_linker=no
   13674   ;;
   13675 
   13676 solaris*)
   13677   version_type=linux
   13678   need_lib_prefix=no
   13679   need_version=no
   13680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13681   soname_spec='${libname}${release}${shared_ext}$major'
   13682   shlibpath_var=LD_LIBRARY_PATH
   13683   shlibpath_overrides_runpath=yes
   13684   hardcode_into_libs=yes
   13685   # ldd complains unless libraries are executable
   13686   postinstall_cmds='chmod +x $lib'
   13687   ;;
   13688 
   13689 sunos4*)
   13690   version_type=sunos
   13691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13692   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13693   shlibpath_var=LD_LIBRARY_PATH
   13694   shlibpath_overrides_runpath=yes
   13695   if test "$with_gnu_ld" = yes; then
   13696     need_lib_prefix=no
   13697   fi
   13698   need_version=yes
   13699   ;;
   13700 
   13701 sysv4 | sysv4.3*)
   13702   version_type=linux
   13703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13704   soname_spec='${libname}${release}${shared_ext}$major'
   13705   shlibpath_var=LD_LIBRARY_PATH
   13706   case $host_vendor in
   13707     sni)
   13708       shlibpath_overrides_runpath=no
   13709       need_lib_prefix=no
   13710       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13711       runpath_var=LD_RUN_PATH
   13712       ;;
   13713     siemens)
   13714       need_lib_prefix=no
   13715       ;;
   13716     motorola)
   13717       need_lib_prefix=no
   13718       need_version=no
   13719       shlibpath_overrides_runpath=no
   13720       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13721       ;;
   13722   esac
   13723   ;;
   13724 
   13725 sysv4*MP*)
   13726   if test -d /usr/nec ;then
   13727     version_type=linux
   13728     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13729     soname_spec='$libname${shared_ext}.$major'
   13730     shlibpath_var=LD_LIBRARY_PATH
   13731   fi
   13732   ;;
   13733 
   13734 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13735   version_type=freebsd-elf
   13736   need_lib_prefix=no
   13737   need_version=no
   13738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13739   soname_spec='${libname}${release}${shared_ext}$major'
   13740   shlibpath_var=LD_LIBRARY_PATH
   13741   hardcode_into_libs=yes
   13742   if test "$with_gnu_ld" = yes; then
   13743     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13744     shlibpath_overrides_runpath=no
   13745   else
   13746     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13747     shlibpath_overrides_runpath=yes
   13748     case $host_os in
   13749       sco3.2v5*)
   13750         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13751 	;;
   13752     esac
   13753   fi
   13754   sys_lib_dlsearch_path_spec='/usr/lib'
   13755   ;;
   13756 
   13757 uts4*)
   13758   version_type=linux
   13759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13760   soname_spec='${libname}${release}${shared_ext}$major'
   13761   shlibpath_var=LD_LIBRARY_PATH
   13762   ;;
   13763 
   13764 *)
   13765   dynamic_linker=no
   13766   ;;
   13767 esac
   13768 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13769 $as_echo "$dynamic_linker" >&6; }
   13770 test "$dynamic_linker" = no && can_build_shared=no
   13771 
   13772 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13776 fi
   13777 
   13778 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13779 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13783 fi
   13784 
   13785 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13786 
   13787 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13788 if test "$GCC" = yes; then
   13789   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13790 fi
   13791 
   13792 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13794 hardcode_action_CXX=
   13795 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13796    test -n "$runpath_var_CXX" || \
   13797    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13798 
   13799   # We can hardcode non-existant directories.
   13800   if test "$hardcode_direct_CXX" != no &&
   13801      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13802      # have to relink, otherwise we might link with an installed library
   13803      # when we should be linking with a yet-to-be-installed one
   13804      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13805      test "$hardcode_minus_L_CXX" != no; then
   13806     # Linking always hardcodes the temporary library directory.
   13807     hardcode_action_CXX=relink
   13808   else
   13809     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13810     hardcode_action_CXX=immediate
   13811   fi
   13812 else
   13813   # We cannot hardcode anything, or else we can only hardcode existing
   13814   # directories.
   13815   hardcode_action_CXX=unsupported
   13816 fi
   13817 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13818 $as_echo "$hardcode_action_CXX" >&6; }
   13819 
   13820 if test "$hardcode_action_CXX" = relink; then
   13821   # Fast installation is not supported
   13822   enable_fast_install=no
   13823 elif test "$shlibpath_overrides_runpath" = yes ||
   13824      test "$enable_shared" = no; then
   13825   # Fast installation is not necessary
   13826   enable_fast_install=needless
   13827 fi
   13828 
   13829 
   13830 # The else clause should only fire when bootstrapping the
   13831 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13832 # with your package, and you will get complaints that there are
   13833 # no rules to generate ltmain.sh.
   13834 if test -f "$ltmain"; then
   13835   # See if we are running on zsh, and set the options which allow our commands through
   13836   # without removal of \ escapes.
   13837   if test -n "${ZSH_VERSION+set}" ; then
   13838     setopt NO_GLOB_SUBST
   13839   fi
   13840   # Now quote all the things that may contain metacharacters while being
   13841   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13842   # variables and quote the copies for generation of the libtool script.
   13843   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13844     SED SHELL STRIP \
   13845     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13846     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13847     deplibs_check_method reload_flag reload_cmds need_locks \
   13848     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13849     lt_cv_sys_global_symbol_to_c_name_address \
   13850     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13851     old_postinstall_cmds old_postuninstall_cmds \
   13852     compiler_CXX \
   13853     CC_CXX \
   13854     LD_CXX \
   13855     lt_prog_compiler_wl_CXX \
   13856     lt_prog_compiler_pic_CXX \
   13857     lt_prog_compiler_static_CXX \
   13858     lt_prog_compiler_no_builtin_flag_CXX \
   13859     export_dynamic_flag_spec_CXX \
   13860     thread_safe_flag_spec_CXX \
   13861     whole_archive_flag_spec_CXX \
   13862     enable_shared_with_static_runtimes_CXX \
   13863     old_archive_cmds_CXX \
   13864     old_archive_from_new_cmds_CXX \
   13865     predep_objects_CXX \
   13866     postdep_objects_CXX \
   13867     predeps_CXX \
   13868     postdeps_CXX \
   13869     compiler_lib_search_path_CXX \
   13870     compiler_lib_search_dirs_CXX \
   13871     archive_cmds_CXX \
   13872     archive_expsym_cmds_CXX \
   13873     postinstall_cmds_CXX \
   13874     postuninstall_cmds_CXX \
   13875     old_archive_from_expsyms_cmds_CXX \
   13876     allow_undefined_flag_CXX \
   13877     no_undefined_flag_CXX \
   13878     export_symbols_cmds_CXX \
   13879     hardcode_libdir_flag_spec_CXX \
   13880     hardcode_libdir_flag_spec_ld_CXX \
   13881     hardcode_libdir_separator_CXX \
   13882     hardcode_automatic_CXX \
   13883     module_cmds_CXX \
   13884     module_expsym_cmds_CXX \
   13885     lt_cv_prog_compiler_c_o_CXX \
   13886     fix_srcfile_path_CXX \
   13887     exclude_expsyms_CXX \
   13888     include_expsyms_CXX; do
   13889 
   13890     case $var in
   13891     old_archive_cmds_CXX | \
   13892     old_archive_from_new_cmds_CXX | \
   13893     archive_cmds_CXX | \
   13894     archive_expsym_cmds_CXX | \
   13895     module_cmds_CXX | \
   13896     module_expsym_cmds_CXX | \
   13897     old_archive_from_expsyms_cmds_CXX | \
   13898     export_symbols_cmds_CXX | \
   13899     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13900     postinstall_cmds | postuninstall_cmds | \
   13901     old_postinstall_cmds | old_postuninstall_cmds | \
   13902     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13903       # Double-quote double-evaled strings.
   13904       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13905       ;;
   13906     *)
   13907       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13908       ;;
   13909     esac
   13910   done
   13911 
   13912   case $lt_echo in
   13913   *'\$0 --fallback-echo"')
   13914     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13915     ;;
   13916   esac
   13917 
   13918 cfgfile="$ofile"
   13919 
   13920   cat <<__EOF__ >> "$cfgfile"
   13921 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13922 
   13923 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13924 
   13925 # Shell to use when invoking shell scripts.
   13926 SHELL=$lt_SHELL
   13927 
   13928 # Whether or not to build shared libraries.
   13929 build_libtool_libs=$enable_shared
   13930 
   13931 # Whether or not to build static libraries.
   13932 build_old_libs=$enable_static
   13933 
   13934 # Whether or not to add -lc for building shared libraries.
   13935 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13936 
   13937 # Whether or not to disallow shared libs when runtime libs are static
   13938 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13939 
   13940 # Whether or not to optimize for fast installation.
   13941 fast_install=$enable_fast_install
   13942 
   13943 # The host system.
   13944 host_alias=$host_alias
   13945 host=$host
   13946 host_os=$host_os
   13947 
   13948 # The build system.
   13949 build_alias=$build_alias
   13950 build=$build
   13951 build_os=$build_os
   13952 
   13953 # An echo program that does not interpret backslashes.
   13954 echo=$lt_echo
   13955 
   13956 # The archiver.
   13957 AR=$lt_AR
   13958 AR_FLAGS=$lt_AR_FLAGS
   13959 
   13960 # A C compiler.
   13961 LTCC=$lt_LTCC
   13962 
   13963 # LTCC compiler flags.
   13964 LTCFLAGS=$lt_LTCFLAGS
   13965 
   13966 # A language-specific compiler.
   13967 CC=$lt_compiler_CXX
   13968 
   13969 # Is the compiler the GNU C compiler?
   13970 with_gcc=$GCC_CXX
   13971 
   13972 # An ERE matcher.
   13973 EGREP=$lt_EGREP
   13974 
   13975 # The linker used to build libraries.
   13976 LD=$lt_LD_CXX
   13977 
   13978 # Whether we need hard or soft links.
   13979 LN_S=$lt_LN_S
   13980 
   13981 # A BSD-compatible nm program.
   13982 NM=$lt_NM
   13983 
   13984 # A symbol stripping program
   13985 STRIP=$lt_STRIP
   13986 
   13987 # Used to examine libraries when file_magic_cmd begins "file"
   13988 MAGIC_CMD=$MAGIC_CMD
   13989 
   13990 # Used on cygwin: DLL creation program.
   13991 DLLTOOL="$DLLTOOL"
   13992 
   13993 # Used on cygwin: object dumper.
   13994 OBJDUMP="$OBJDUMP"
   13995 
   13996 # Used on cygwin: assembler.
   13997 AS="$AS"
   13998 
   13999 # The name of the directory that contains temporary libtool files.
   14000 objdir=$objdir
   14001 
   14002 # How to create reloadable object files.
   14003 reload_flag=$lt_reload_flag
   14004 reload_cmds=$lt_reload_cmds
   14005 
   14006 # How to pass a linker flag through the compiler.
   14007 wl=$lt_lt_prog_compiler_wl_CXX
   14008 
   14009 # Object file suffix (normally "o").
   14010 objext="$ac_objext"
   14011 
   14012 # Old archive suffix (normally "a").
   14013 libext="$libext"
   14014 
   14015 # Shared library suffix (normally ".so").
   14016 shrext_cmds='$shrext_cmds'
   14017 
   14018 # Executable file suffix (normally "").
   14019 exeext="$exeext"
   14020 
   14021 # Additional compiler flags for building library objects.
   14022 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14023 pic_mode=$pic_mode
   14024 
   14025 # What is the maximum length of a command?
   14026 max_cmd_len=$lt_cv_sys_max_cmd_len
   14027 
   14028 # Does compiler simultaneously support -c and -o options?
   14029 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14030 
   14031 # Must we lock files when doing compilation?
   14032 need_locks=$lt_need_locks
   14033 
   14034 # Do we need the lib prefix for modules?
   14035 need_lib_prefix=$need_lib_prefix
   14036 
   14037 # Do we need a version for libraries?
   14038 need_version=$need_version
   14039 
   14040 # Whether dlopen is supported.
   14041 dlopen_support=$enable_dlopen
   14042 
   14043 # Whether dlopen of programs is supported.
   14044 dlopen_self=$enable_dlopen_self
   14045 
   14046 # Whether dlopen of statically linked programs is supported.
   14047 dlopen_self_static=$enable_dlopen_self_static
   14048 
   14049 # Compiler flag to prevent dynamic linking.
   14050 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14051 
   14052 # Compiler flag to turn off builtin functions.
   14053 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14054 
   14055 # Compiler flag to allow reflexive dlopens.
   14056 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14057 
   14058 # Compiler flag to generate shared objects directly from archives.
   14059 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14060 
   14061 # Compiler flag to generate thread-safe objects.
   14062 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14063 
   14064 # Library versioning type.
   14065 version_type=$version_type
   14066 
   14067 # Format of library name prefix.
   14068 libname_spec=$lt_libname_spec
   14069 
   14070 # List of archive names.  First name is the real one, the rest are links.
   14071 # The last name is the one that the linker finds with -lNAME.
   14072 library_names_spec=$lt_library_names_spec
   14073 
   14074 # The coded name of the library, if different from the real name.
   14075 soname_spec=$lt_soname_spec
   14076 
   14077 # Commands used to build and install an old-style archive.
   14078 RANLIB=$lt_RANLIB
   14079 old_archive_cmds=$lt_old_archive_cmds_CXX
   14080 old_postinstall_cmds=$lt_old_postinstall_cmds
   14081 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14082 
   14083 # Create an old-style archive from a shared archive.
   14084 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14085 
   14086 # Create a temporary old-style archive to link instead of a shared archive.
   14087 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14088 
   14089 # Commands used to build and install a shared archive.
   14090 archive_cmds=$lt_archive_cmds_CXX
   14091 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14092 postinstall_cmds=$lt_postinstall_cmds
   14093 postuninstall_cmds=$lt_postuninstall_cmds
   14094 
   14095 # Commands used to build a loadable module (assumed same as above if empty)
   14096 module_cmds=$lt_module_cmds_CXX
   14097 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14098 
   14099 # Commands to strip libraries.
   14100 old_striplib=$lt_old_striplib
   14101 striplib=$lt_striplib
   14102 
   14103 # Dependencies to place before the objects being linked to create a
   14104 # shared library.
   14105 predep_objects=$lt_predep_objects_CXX
   14106 
   14107 # Dependencies to place after the objects being linked to create a
   14108 # shared library.
   14109 postdep_objects=$lt_postdep_objects_CXX
   14110 
   14111 # Dependencies to place before the objects being linked to create a
   14112 # shared library.
   14113 predeps=$lt_predeps_CXX
   14114 
   14115 # Dependencies to place after the objects being linked to create a
   14116 # shared library.
   14117 postdeps=$lt_postdeps_CXX
   14118 
   14119 # The directories searched by this compiler when creating a shared
   14120 # library
   14121 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14122 
   14123 # The library search path used internally by the compiler when linking
   14124 # a shared library.
   14125 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14126 
   14127 # Method to check whether dependent libraries are shared objects.
   14128 deplibs_check_method=$lt_deplibs_check_method
   14129 
   14130 # Command to use when deplibs_check_method == file_magic.
   14131 file_magic_cmd=$lt_file_magic_cmd
   14132 
   14133 # Flag that allows shared libraries with undefined symbols to be built.
   14134 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14135 
   14136 # Flag that forces no undefined symbols.
   14137 no_undefined_flag=$lt_no_undefined_flag_CXX
   14138 
   14139 # Commands used to finish a libtool library installation in a directory.
   14140 finish_cmds=$lt_finish_cmds
   14141 
   14142 # Same as above, but a single script fragment to be evaled but not shown.
   14143 finish_eval=$lt_finish_eval
   14144 
   14145 # Take the output of nm and produce a listing of raw symbols and C names.
   14146 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14147 
   14148 # Transform the output of nm in a proper C declaration
   14149 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14150 
   14151 # Transform the output of nm in a C name address pair
   14152 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14153 
   14154 # This is the shared library runtime path variable.
   14155 runpath_var=$runpath_var
   14156 
   14157 # This is the shared library path variable.
   14158 shlibpath_var=$shlibpath_var
   14159 
   14160 # Is shlibpath searched before the hard-coded library search path?
   14161 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14162 
   14163 # How to hardcode a shared library path into an executable.
   14164 hardcode_action=$hardcode_action_CXX
   14165 
   14166 # Whether we should hardcode library paths into libraries.
   14167 hardcode_into_libs=$hardcode_into_libs
   14168 
   14169 # Flag to hardcode \$libdir into a binary during linking.
   14170 # This must work even if \$libdir does not exist.
   14171 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14172 
   14173 # If ld is used when linking, flag to hardcode \$libdir into
   14174 # a binary during linking. This must work even if \$libdir does
   14175 # not exist.
   14176 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14177 
   14178 # Whether we need a single -rpath flag with a separated argument.
   14179 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14180 
   14181 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14182 # resulting binary.
   14183 hardcode_direct=$hardcode_direct_CXX
   14184 
   14185 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14186 # resulting binary.
   14187 hardcode_minus_L=$hardcode_minus_L_CXX
   14188 
   14189 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14190 # the resulting binary.
   14191 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14192 
   14193 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14194 # and all subsequent libraries and executables linked against it.
   14195 hardcode_automatic=$hardcode_automatic_CXX
   14196 
   14197 # Variables whose values should be saved in libtool wrapper scripts and
   14198 # restored at relink time.
   14199 variables_saved_for_relink="$variables_saved_for_relink"
   14200 
   14201 # Whether libtool must link a program against all its dependency libraries.
   14202 link_all_deplibs=$link_all_deplibs_CXX
   14203 
   14204 # Compile-time system search path for libraries
   14205 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14206 
   14207 # Run-time system search path for libraries
   14208 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14209 
   14210 # Fix the shell variable \$srcfile for the compiler.
   14211 fix_srcfile_path=$lt_fix_srcfile_path
   14212 
   14213 # Set to yes if exported symbols are required.
   14214 always_export_symbols=$always_export_symbols_CXX
   14215 
   14216 # The commands to list exported symbols.
   14217 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14218 
   14219 # The commands to extract the exported symbol list from a shared archive.
   14220 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14221 
   14222 # Symbols that should not be listed in the preloaded symbols.
   14223 exclude_expsyms=$lt_exclude_expsyms_CXX
   14224 
   14225 # Symbols that must always be exported.
   14226 include_expsyms=$lt_include_expsyms_CXX
   14227 
   14228 # ### END LIBTOOL TAG CONFIG: $tagname
   14229 
   14230 __EOF__
   14231 
   14232 
   14233 else
   14234   # If there is no Makefile yet, we rely on a make rule to execute
   14235   # `config.status --recheck' to rerun these tests and create the
   14236   # libtool script then.
   14237   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14238   if test -f "$ltmain_in"; then
   14239     test -f Makefile && make "$ltmain"
   14240   fi
   14241 fi
   14242 
   14243 
   14244 ac_ext=c
   14245 ac_cpp='$CPP $CPPFLAGS'
   14246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14249 
   14250 CC=$lt_save_CC
   14251 LDCXX=$LD
   14252 LD=$lt_save_LD
   14253 GCC=$lt_save_GCC
   14254 with_gnu_ldcxx=$with_gnu_ld
   14255 with_gnu_ld=$lt_save_with_gnu_ld
   14256 lt_cv_path_LDCXX=$lt_cv_path_LD
   14257 lt_cv_path_LD=$lt_save_path_LD
   14258 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14259 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14260 
   14261 	else
   14262 	  tagname=""
   14263 	fi
   14264 	;;
   14265 
   14266       F77)
   14267 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14268 
   14269 ac_ext=f
   14270 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14271 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14272 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14273 
   14274 
   14275 archive_cmds_need_lc_F77=no
   14276 allow_undefined_flag_F77=
   14277 always_export_symbols_F77=no
   14278 archive_expsym_cmds_F77=
   14279 export_dynamic_flag_spec_F77=
   14280 hardcode_direct_F77=no
   14281 hardcode_libdir_flag_spec_F77=
   14282 hardcode_libdir_flag_spec_ld_F77=
   14283 hardcode_libdir_separator_F77=
   14284 hardcode_minus_L_F77=no
   14285 hardcode_automatic_F77=no
   14286 module_cmds_F77=
   14287 module_expsym_cmds_F77=
   14288 link_all_deplibs_F77=unknown
   14289 old_archive_cmds_F77=$old_archive_cmds
   14290 no_undefined_flag_F77=
   14291 whole_archive_flag_spec_F77=
   14292 enable_shared_with_static_runtimes_F77=no
   14293 
   14294 # Source file extension for f77 test sources.
   14295 ac_ext=f
   14296 
   14297 # Object file extension for compiled f77 test sources.
   14298 objext=o
   14299 objext_F77=$objext
   14300 
   14301 # Code to be used in simple compile tests
   14302 lt_simple_compile_test_code="\
   14303       subroutine t
   14304       return
   14305       end
   14306 "
   14307 
   14308 # Code to be used in simple link tests
   14309 lt_simple_link_test_code="\
   14310       program t
   14311       end
   14312 "
   14313 
   14314 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14315 
   14316 # If no C compiler was specified, use CC.
   14317 LTCC=${LTCC-"$CC"}
   14318 
   14319 # If no C compiler flags were specified, use CFLAGS.
   14320 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14321 
   14322 # Allow CC to be a program name with arguments.
   14323 compiler=$CC
   14324 
   14325 
   14326 # save warnings/boilerplate of simple test code
   14327 ac_outfile=conftest.$ac_objext
   14328 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14329 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14330 _lt_compiler_boilerplate=`cat conftest.err`
   14331 $rm conftest*
   14332 
   14333 ac_outfile=conftest.$ac_objext
   14334 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14335 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14336 _lt_linker_boilerplate=`cat conftest.err`
   14337 $rm -r conftest*
   14338 
   14339 
   14340 # Allow CC to be a program name with arguments.
   14341 lt_save_CC="$CC"
   14342 CC=${F77-"f77"}
   14343 compiler=$CC
   14344 compiler_F77=$CC
   14345 for cc_temp in $compiler""; do
   14346   case $cc_temp in
   14347     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14348     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14349     \-*) ;;
   14350     *) break;;
   14351   esac
   14352 done
   14353 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14354 
   14355 
   14356 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14357 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14358 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14359 $as_echo "$can_build_shared" >&6; }
   14360 
   14361 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14362 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14363 test "$can_build_shared" = "no" && enable_shared=no
   14364 
   14365 # On AIX, shared libraries and static libraries use the same namespace, and
   14366 # are all built from PIC.
   14367 case $host_os in
   14368 aix3*)
   14369   test "$enable_shared" = yes && enable_static=no
   14370   if test -n "$RANLIB"; then
   14371     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14372     postinstall_cmds='$RANLIB $lib'
   14373   fi
   14374   ;;
   14375 aix[4-9]*)
   14376   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14377     test "$enable_shared" = yes && enable_static=no
   14378   fi
   14379   ;;
   14380 esac
   14381 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14382 $as_echo "$enable_shared" >&6; }
   14383 
   14384 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14385 $as_echo_n "checking whether to build static libraries... " >&6; }
   14386 # Make sure either enable_shared or enable_static is yes.
   14387 test "$enable_shared" = yes || enable_static=yes
   14388 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14389 $as_echo "$enable_static" >&6; }
   14390 
   14391 GCC_F77="$G77"
   14392 LD_F77="$LD"
   14393 
   14394 lt_prog_compiler_wl_F77=
   14395 lt_prog_compiler_pic_F77=
   14396 lt_prog_compiler_static_F77=
   14397 
   14398 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14399 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14400 
   14401   if test "$GCC" = yes; then
   14402     lt_prog_compiler_wl_F77='-Wl,'
   14403     lt_prog_compiler_static_F77='-static'
   14404 
   14405     case $host_os in
   14406       aix*)
   14407       # All AIX code is PIC.
   14408       if test "$host_cpu" = ia64; then
   14409 	# AIX 5 now supports IA64 processor
   14410 	lt_prog_compiler_static_F77='-Bstatic'
   14411       fi
   14412       ;;
   14413 
   14414     amigaos*)
   14415       # FIXME: we need at least 68020 code to build shared libraries, but
   14416       # adding the `-m68020' flag to GCC prevents building anything better,
   14417       # like `-m68040'.
   14418       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14419       ;;
   14420 
   14421     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14422       # PIC is the default for these OSes.
   14423       ;;
   14424 
   14425     mingw* | cygwin* | pw32* | os2*)
   14426       # This hack is so that the source file can tell whether it is being
   14427       # built for inclusion in a dll (and should export symbols for example).
   14428       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14429       # (--disable-auto-import) libraries
   14430       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14431       ;;
   14432 
   14433     darwin* | rhapsody*)
   14434       # PIC is the default on this platform
   14435       # Common symbols not allowed in MH_DYLIB files
   14436       lt_prog_compiler_pic_F77='-fno-common'
   14437       ;;
   14438 
   14439     interix[3-9]*)
   14440       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14441       # Instead, we relocate shared libraries at runtime.
   14442       ;;
   14443 
   14444     msdosdjgpp*)
   14445       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14446       # on systems that don't support them.
   14447       lt_prog_compiler_can_build_shared_F77=no
   14448       enable_shared=no
   14449       ;;
   14450 
   14451     sysv4*MP*)
   14452       if test -d /usr/nec; then
   14453 	lt_prog_compiler_pic_F77=-Kconform_pic
   14454       fi
   14455       ;;
   14456 
   14457     hpux*)
   14458       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14459       # not for PA HP-UX.
   14460       case $host_cpu in
   14461       hppa*64*|ia64*)
   14462 	# +Z the default
   14463 	;;
   14464       *)
   14465 	lt_prog_compiler_pic_F77='-fPIC'
   14466 	;;
   14467       esac
   14468       ;;
   14469 
   14470     *)
   14471       lt_prog_compiler_pic_F77='-fPIC'
   14472       ;;
   14473     esac
   14474   else
   14475     # PORTME Check for flag to pass linker flags through the system compiler.
   14476     case $host_os in
   14477     aix*)
   14478       lt_prog_compiler_wl_F77='-Wl,'
   14479       if test "$host_cpu" = ia64; then
   14480 	# AIX 5 now supports IA64 processor
   14481 	lt_prog_compiler_static_F77='-Bstatic'
   14482       else
   14483 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14484       fi
   14485       ;;
   14486       darwin*)
   14487         # PIC is the default on this platform
   14488         # Common symbols not allowed in MH_DYLIB files
   14489        case $cc_basename in
   14490          xlc*)
   14491          lt_prog_compiler_pic_F77='-qnocommon'
   14492          lt_prog_compiler_wl_F77='-Wl,'
   14493          ;;
   14494        esac
   14495        ;;
   14496 
   14497     mingw* | cygwin* | pw32* | os2*)
   14498       # This hack is so that the source file can tell whether it is being
   14499       # built for inclusion in a dll (and should export symbols for example).
   14500       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14501       ;;
   14502 
   14503     hpux9* | hpux10* | hpux11*)
   14504       lt_prog_compiler_wl_F77='-Wl,'
   14505       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14506       # not for PA HP-UX.
   14507       case $host_cpu in
   14508       hppa*64*|ia64*)
   14509 	# +Z the default
   14510 	;;
   14511       *)
   14512 	lt_prog_compiler_pic_F77='+Z'
   14513 	;;
   14514       esac
   14515       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14516       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14517       ;;
   14518 
   14519     irix5* | irix6* | nonstopux*)
   14520       lt_prog_compiler_wl_F77='-Wl,'
   14521       # PIC (with -KPIC) is the default.
   14522       lt_prog_compiler_static_F77='-non_shared'
   14523       ;;
   14524 
   14525     newsos6)
   14526       lt_prog_compiler_pic_F77='-KPIC'
   14527       lt_prog_compiler_static_F77='-Bstatic'
   14528       ;;
   14529 
   14530     linux* | k*bsd*-gnu)
   14531       case $cc_basename in
   14532       icc* | ecc*)
   14533 	lt_prog_compiler_wl_F77='-Wl,'
   14534 	lt_prog_compiler_pic_F77='-KPIC'
   14535 	lt_prog_compiler_static_F77='-static'
   14536         ;;
   14537       pgcc* | pgf77* | pgf90* | pgf95*)
   14538         # Portland Group compilers (*not* the Pentium gcc compiler,
   14539 	# which looks to be a dead project)
   14540 	lt_prog_compiler_wl_F77='-Wl,'
   14541 	lt_prog_compiler_pic_F77='-fpic'
   14542 	lt_prog_compiler_static_F77='-Bstatic'
   14543         ;;
   14544       ccc*)
   14545         lt_prog_compiler_wl_F77='-Wl,'
   14546         # All Alpha code is PIC.
   14547         lt_prog_compiler_static_F77='-non_shared'
   14548         ;;
   14549       *)
   14550         case `$CC -V 2>&1 | sed 5q` in
   14551 	*Sun\ C*)
   14552 	  # Sun C 5.9
   14553 	  lt_prog_compiler_pic_F77='-KPIC'
   14554 	  lt_prog_compiler_static_F77='-Bstatic'
   14555 	  lt_prog_compiler_wl_F77='-Wl,'
   14556 	  ;;
   14557 	*Sun\ F*)
   14558 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14559 	  lt_prog_compiler_pic_F77='-KPIC'
   14560 	  lt_prog_compiler_static_F77='-Bstatic'
   14561 	  lt_prog_compiler_wl_F77=''
   14562 	  ;;
   14563 	esac
   14564 	;;
   14565       esac
   14566       ;;
   14567 
   14568     osf3* | osf4* | osf5*)
   14569       lt_prog_compiler_wl_F77='-Wl,'
   14570       # All OSF/1 code is PIC.
   14571       lt_prog_compiler_static_F77='-non_shared'
   14572       ;;
   14573 
   14574     rdos*)
   14575       lt_prog_compiler_static_F77='-non_shared'
   14576       ;;
   14577 
   14578     solaris*)
   14579       lt_prog_compiler_pic_F77='-KPIC'
   14580       lt_prog_compiler_static_F77='-Bstatic'
   14581       case $cc_basename in
   14582       f77* | f90* | f95*)
   14583 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14584       *)
   14585 	lt_prog_compiler_wl_F77='-Wl,';;
   14586       esac
   14587       ;;
   14588 
   14589     sunos4*)
   14590       lt_prog_compiler_wl_F77='-Qoption ld '
   14591       lt_prog_compiler_pic_F77='-PIC'
   14592       lt_prog_compiler_static_F77='-Bstatic'
   14593       ;;
   14594 
   14595     sysv4 | sysv4.2uw2* | sysv4.3*)
   14596       lt_prog_compiler_wl_F77='-Wl,'
   14597       lt_prog_compiler_pic_F77='-KPIC'
   14598       lt_prog_compiler_static_F77='-Bstatic'
   14599       ;;
   14600 
   14601     sysv4*MP*)
   14602       if test -d /usr/nec ;then
   14603 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14604 	lt_prog_compiler_static_F77='-Bstatic'
   14605       fi
   14606       ;;
   14607 
   14608     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14609       lt_prog_compiler_wl_F77='-Wl,'
   14610       lt_prog_compiler_pic_F77='-KPIC'
   14611       lt_prog_compiler_static_F77='-Bstatic'
   14612       ;;
   14613 
   14614     unicos*)
   14615       lt_prog_compiler_wl_F77='-Wl,'
   14616       lt_prog_compiler_can_build_shared_F77=no
   14617       ;;
   14618 
   14619     uts4*)
   14620       lt_prog_compiler_pic_F77='-pic'
   14621       lt_prog_compiler_static_F77='-Bstatic'
   14622       ;;
   14623 
   14624     *)
   14625       lt_prog_compiler_can_build_shared_F77=no
   14626       ;;
   14627     esac
   14628   fi
   14629 
   14630 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14631 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14632 
   14633 #
   14634 # Check to make sure the PIC flag actually works.
   14635 #
   14636 if test -n "$lt_prog_compiler_pic_F77"; then
   14637 
   14638 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14639 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14640 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14641   $as_echo_n "(cached) " >&6
   14642 else
   14643   lt_cv_prog_compiler_pic_works_F77=no
   14644   ac_outfile=conftest.$ac_objext
   14645    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14646    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14647    # Insert the option either (1) after the last *FLAGS variable, or
   14648    # (2) before a word containing "conftest.", or (3) at the end.
   14649    # Note that $ac_compile itself does not contain backslashes and begins
   14650    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14651    # The option is referenced via a variable to avoid confusing sed.
   14652    lt_compile=`echo "$ac_compile" | $SED \
   14653    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14654    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14655    -e 's:$: $lt_compiler_flag:'`
   14656    (eval echo "\"\$as_me:14656: $lt_compile\"" >&5)
   14657    (eval "$lt_compile" 2>conftest.err)
   14658    ac_status=$?
   14659    cat conftest.err >&5
   14660    echo "$as_me:14660: \$? = $ac_status" >&5
   14661    if (exit $ac_status) && test -s "$ac_outfile"; then
   14662      # The compiler can only warn and ignore the option if not recognized
   14663      # So say no if there are warnings other than the usual output.
   14664      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14665      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14666      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14667        lt_cv_prog_compiler_pic_works_F77=yes
   14668      fi
   14669    fi
   14670    $rm conftest*
   14671 
   14672 fi
   14673 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14674 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14675 
   14676 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14677     case $lt_prog_compiler_pic_F77 in
   14678      "" | " "*) ;;
   14679      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14680      esac
   14681 else
   14682     lt_prog_compiler_pic_F77=
   14683      lt_prog_compiler_can_build_shared_F77=no
   14684 fi
   14685 
   14686 fi
   14687 case $host_os in
   14688   # For platforms which do not support PIC, -DPIC is meaningless:
   14689   *djgpp*)
   14690     lt_prog_compiler_pic_F77=
   14691     ;;
   14692   *)
   14693     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14694     ;;
   14695 esac
   14696 
   14697 #
   14698 # Check to make sure the static flag actually works.
   14699 #
   14700 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14701 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14702 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14703 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14704   $as_echo_n "(cached) " >&6
   14705 else
   14706   lt_cv_prog_compiler_static_works_F77=no
   14707    save_LDFLAGS="$LDFLAGS"
   14708    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14709    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14710    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14711      # The linker can only warn and ignore the option if not recognized
   14712      # So say no if there are warnings
   14713      if test -s conftest.err; then
   14714        # Append any errors to the config.log.
   14715        cat conftest.err 1>&5
   14716        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14717        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14718        if diff conftest.exp conftest.er2 >/dev/null; then
   14719          lt_cv_prog_compiler_static_works_F77=yes
   14720        fi
   14721      else
   14722        lt_cv_prog_compiler_static_works_F77=yes
   14723      fi
   14724    fi
   14725    $rm -r conftest*
   14726    LDFLAGS="$save_LDFLAGS"
   14727 
   14728 fi
   14729 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14730 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14731 
   14732 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14733     :
   14734 else
   14735     lt_prog_compiler_static_F77=
   14736 fi
   14737 
   14738 
   14739 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14741 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14742   $as_echo_n "(cached) " >&6
   14743 else
   14744   lt_cv_prog_compiler_c_o_F77=no
   14745    $rm -r conftest 2>/dev/null
   14746    mkdir conftest
   14747    cd conftest
   14748    mkdir out
   14749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14750 
   14751    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14752    # Insert the option either (1) after the last *FLAGS variable, or
   14753    # (2) before a word containing "conftest.", or (3) at the end.
   14754    # Note that $ac_compile itself does not contain backslashes and begins
   14755    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14756    lt_compile=`echo "$ac_compile" | $SED \
   14757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14759    -e 's:$: $lt_compiler_flag:'`
   14760    (eval echo "\"\$as_me:14760: $lt_compile\"" >&5)
   14761    (eval "$lt_compile" 2>out/conftest.err)
   14762    ac_status=$?
   14763    cat out/conftest.err >&5
   14764    echo "$as_me:14764: \$? = $ac_status" >&5
   14765    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14766    then
   14767      # The compiler can only warn and ignore the option if not recognized
   14768      # So say no if there are warnings
   14769      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14770      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14771      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14772        lt_cv_prog_compiler_c_o_F77=yes
   14773      fi
   14774    fi
   14775    chmod u+w . 2>&5
   14776    $rm conftest*
   14777    # SGI C++ compiler will create directory out/ii_files/ for
   14778    # template instantiation
   14779    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14780    $rm out/* && rmdir out
   14781    cd ..
   14782    rmdir conftest
   14783    $rm conftest*
   14784 
   14785 fi
   14786 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14787 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14788 
   14789 
   14790 hard_links="nottested"
   14791 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14792   # do not overwrite the value of need_locks provided by the user
   14793   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14794 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14795   hard_links=yes
   14796   $rm conftest*
   14797   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14798   touch conftest.a
   14799   ln conftest.a conftest.b 2>&5 || hard_links=no
   14800   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14801   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14802 $as_echo "$hard_links" >&6; }
   14803   if test "$hard_links" = no; then
   14804     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14805 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14806     need_locks=warn
   14807   fi
   14808 else
   14809   need_locks=no
   14810 fi
   14811 
   14812 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14814 
   14815   runpath_var=
   14816   allow_undefined_flag_F77=
   14817   enable_shared_with_static_runtimes_F77=no
   14818   archive_cmds_F77=
   14819   archive_expsym_cmds_F77=
   14820   old_archive_From_new_cmds_F77=
   14821   old_archive_from_expsyms_cmds_F77=
   14822   export_dynamic_flag_spec_F77=
   14823   whole_archive_flag_spec_F77=
   14824   thread_safe_flag_spec_F77=
   14825   hardcode_libdir_flag_spec_F77=
   14826   hardcode_libdir_flag_spec_ld_F77=
   14827   hardcode_libdir_separator_F77=
   14828   hardcode_direct_F77=no
   14829   hardcode_minus_L_F77=no
   14830   hardcode_shlibpath_var_F77=unsupported
   14831   link_all_deplibs_F77=unknown
   14832   hardcode_automatic_F77=no
   14833   module_cmds_F77=
   14834   module_expsym_cmds_F77=
   14835   always_export_symbols_F77=no
   14836   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14837   # include_expsyms should be a list of space-separated symbols to be *always*
   14838   # included in the symbol list
   14839   include_expsyms_F77=
   14840   # exclude_expsyms can be an extended regexp of symbols to exclude
   14841   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14842   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14843   # as well as any symbol that contains `d'.
   14844   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14845   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14846   # platforms (ab)use it in PIC code, but their linkers get confused if
   14847   # the symbol is explicitly referenced.  Since portable code cannot
   14848   # rely on this symbol name, it's probably fine to never include it in
   14849   # preloaded symbol tables.
   14850   # Exclude shared library initialization/finalization symbols.
   14851   extract_expsyms_cmds=
   14852   # Just being paranoid about ensuring that cc_basename is set.
   14853   for cc_temp in $compiler""; do
   14854   case $cc_temp in
   14855     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14856     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14857     \-*) ;;
   14858     *) break;;
   14859   esac
   14860 done
   14861 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14862 
   14863   case $host_os in
   14864   cygwin* | mingw* | pw32*)
   14865     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14866     # When not using gcc, we currently assume that we are using
   14867     # Microsoft Visual C++.
   14868     if test "$GCC" != yes; then
   14869       with_gnu_ld=no
   14870     fi
   14871     ;;
   14872   interix*)
   14873     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14874     with_gnu_ld=yes
   14875     ;;
   14876   openbsd*)
   14877     with_gnu_ld=no
   14878     ;;
   14879   esac
   14880 
   14881   ld_shlibs_F77=yes
   14882   if test "$with_gnu_ld" = yes; then
   14883     # If archive_cmds runs LD, not CC, wlarc should be empty
   14884     wlarc='${wl}'
   14885 
   14886     # Set some defaults for GNU ld with shared library support. These
   14887     # are reset later if shared libraries are not supported. Putting them
   14888     # here allows them to be overridden if necessary.
   14889     runpath_var=LD_RUN_PATH
   14890     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14891     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14892     # ancient GNU ld didn't support --whole-archive et. al.
   14893     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14894 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14895       else
   14896   	whole_archive_flag_spec_F77=
   14897     fi
   14898     supports_anon_versioning=no
   14899     case `$LD -v 2>/dev/null` in
   14900       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14901       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14902       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14903       *\ 2.11.*) ;; # other 2.11 versions
   14904       *) supports_anon_versioning=yes ;;
   14905     esac
   14906 
   14907     # See if GNU ld supports shared libraries.
   14908     case $host_os in
   14909     aix[3-9]*)
   14910       # On AIX/PPC, the GNU linker is very broken
   14911       if test "$host_cpu" != ia64; then
   14912 	ld_shlibs_F77=no
   14913 	cat <<EOF 1>&2
   14914 
   14915 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14916 *** to be unable to reliably create shared libraries on AIX.
   14917 *** Therefore, libtool is disabling shared libraries support.  If you
   14918 *** really care for shared libraries, you may want to modify your PATH
   14919 *** so that a non-GNU linker is found, and then restart.
   14920 
   14921 EOF
   14922       fi
   14923       ;;
   14924 
   14925     amigaos*)
   14926       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)'
   14927       hardcode_libdir_flag_spec_F77='-L$libdir'
   14928       hardcode_minus_L_F77=yes
   14929 
   14930       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14931       # that the semantics of dynamic libraries on AmigaOS, at least up
   14932       # to version 4, is to share data among multiple programs linked
   14933       # with the same dynamic library.  Since this doesn't match the
   14934       # behavior of shared libraries on other platforms, we can't use
   14935       # them.
   14936       ld_shlibs_F77=no
   14937       ;;
   14938 
   14939     beos*)
   14940       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14941 	allow_undefined_flag_F77=unsupported
   14942 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14943 	# support --undefined.  This deserves some investigation.  FIXME
   14944 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14945       else
   14946 	ld_shlibs_F77=no
   14947       fi
   14948       ;;
   14949 
   14950     cygwin* | mingw* | pw32*)
   14951       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14952       # as there is no search path for DLLs.
   14953       hardcode_libdir_flag_spec_F77='-L$libdir'
   14954       allow_undefined_flag_F77=unsupported
   14955       always_export_symbols_F77=no
   14956       enable_shared_with_static_runtimes_F77=yes
   14957       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14958 
   14959       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14960         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14961 	# If the export-symbols file already is a .def file (1st line
   14962 	# is EXPORTS), use it as is; otherwise, prepend...
   14963 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14964 	  cp $export_symbols $output_objdir/$soname.def;
   14965 	else
   14966 	  echo EXPORTS > $output_objdir/$soname.def;
   14967 	  cat $export_symbols >> $output_objdir/$soname.def;
   14968 	fi~
   14969 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14970       else
   14971 	ld_shlibs_F77=no
   14972       fi
   14973       ;;
   14974 
   14975     interix[3-9]*)
   14976       hardcode_direct_F77=no
   14977       hardcode_shlibpath_var_F77=no
   14978       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14979       export_dynamic_flag_spec_F77='${wl}-E'
   14980       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14981       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14982       # default) and relocated if they conflict, which is a slow very memory
   14983       # consuming and fragmenting process.  To avoid this, we pick a random,
   14984       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14985       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14986       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'
   14987       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'
   14988       ;;
   14989 
   14990     gnu* | linux* | k*bsd*-gnu)
   14991       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14992 	tmp_addflag=
   14993 	case $cc_basename,$host_cpu in
   14994 	pgcc*)				# Portland Group C compiler
   14995 	  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'
   14996 	  tmp_addflag=' $pic_flag'
   14997 	  ;;
   14998 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14999 	  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'
   15000 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15001 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15002 	  tmp_addflag=' -i_dynamic' ;;
   15003 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15004 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15005 	ifc* | ifort*)			# Intel Fortran compiler
   15006 	  tmp_addflag=' -nofor_main' ;;
   15007 	esac
   15008 	case `$CC -V 2>&1 | sed 5q` in
   15009 	*Sun\ C*)			# Sun C 5.9
   15010 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15011 	  tmp_sharedflag='-G' ;;
   15012 	*Sun\ F*)			# Sun Fortran 8.3
   15013 	  tmp_sharedflag='-G' ;;
   15014 	*)
   15015 	  tmp_sharedflag='-shared' ;;
   15016 	esac
   15017 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15018 
   15019 	if test $supports_anon_versioning = yes; then
   15020 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15021   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15022   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15023 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15024 	fi
   15025       else
   15026 	ld_shlibs_F77=no
   15027       fi
   15028       ;;
   15029 
   15030     netbsd*)
   15031       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15032 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15033 	wlarc=
   15034       else
   15035 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15036 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15037       fi
   15038       ;;
   15039 
   15040     solaris*)
   15041       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15042 	ld_shlibs_F77=no
   15043 	cat <<EOF 1>&2
   15044 
   15045 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15046 *** create shared libraries on Solaris systems.  Therefore, libtool
   15047 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15048 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15049 *** your PATH or compiler configuration so that the native linker is
   15050 *** used, and then restart.
   15051 
   15052 EOF
   15053       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15054 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15055 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15056       else
   15057 	ld_shlibs_F77=no
   15058       fi
   15059       ;;
   15060 
   15061     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15062       case `$LD -v 2>&1` in
   15063         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15064 	ld_shlibs_F77=no
   15065 	cat <<_LT_EOF 1>&2
   15066 
   15067 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15068 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15069 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15070 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15071 *** your PATH or compiler configuration so that the native linker is
   15072 *** used, and then restart.
   15073 
   15074 _LT_EOF
   15075 	;;
   15076 	*)
   15077 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15078 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15079 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15080 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15081 	  else
   15082 	    ld_shlibs_F77=no
   15083 	  fi
   15084 	;;
   15085       esac
   15086       ;;
   15087 
   15088     sunos4*)
   15089       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15090       wlarc=
   15091       hardcode_direct_F77=yes
   15092       hardcode_shlibpath_var_F77=no
   15093       ;;
   15094 
   15095     *)
   15096       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15097 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15098 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15099       else
   15100 	ld_shlibs_F77=no
   15101       fi
   15102       ;;
   15103     esac
   15104 
   15105     if test "$ld_shlibs_F77" = no; then
   15106       runpath_var=
   15107       hardcode_libdir_flag_spec_F77=
   15108       export_dynamic_flag_spec_F77=
   15109       whole_archive_flag_spec_F77=
   15110     fi
   15111   else
   15112     # PORTME fill in a description of your system's linker (not GNU ld)
   15113     case $host_os in
   15114     aix3*)
   15115       allow_undefined_flag_F77=unsupported
   15116       always_export_symbols_F77=yes
   15117       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'
   15118       # Note: this linker hardcodes the directories in LIBPATH if there
   15119       # are no directories specified by -L.
   15120       hardcode_minus_L_F77=yes
   15121       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15122 	# Neither direct hardcoding nor static linking is supported with a
   15123 	# broken collect2.
   15124 	hardcode_direct_F77=unsupported
   15125       fi
   15126       ;;
   15127 
   15128     aix[4-9]*)
   15129       if test "$host_cpu" = ia64; then
   15130 	# On IA64, the linker does run time linking by default, so we don't
   15131 	# have to do anything special.
   15132 	aix_use_runtimelinking=no
   15133 	exp_sym_flag='-Bexport'
   15134 	no_entry_flag=""
   15135       else
   15136 	# If we're using GNU nm, then we don't want the "-C" option.
   15137 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15138 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15139 	  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'
   15140 	else
   15141 	  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'
   15142 	fi
   15143 	aix_use_runtimelinking=no
   15144 
   15145 	# Test if we are trying to use run time linking or normal
   15146 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15147 	# need to do runtime linking.
   15148 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15149 	  for ld_flag in $LDFLAGS; do
   15150   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15151   	    aix_use_runtimelinking=yes
   15152   	    break
   15153   	  fi
   15154 	  done
   15155 	  ;;
   15156 	esac
   15157 
   15158 	exp_sym_flag='-bexport'
   15159 	no_entry_flag='-bnoentry'
   15160       fi
   15161 
   15162       # When large executables or shared objects are built, AIX ld can
   15163       # have problems creating the table of contents.  If linking a library
   15164       # or program results in "error TOC overflow" add -mminimal-toc to
   15165       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15166       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15167 
   15168       archive_cmds_F77=''
   15169       hardcode_direct_F77=yes
   15170       hardcode_libdir_separator_F77=':'
   15171       link_all_deplibs_F77=yes
   15172 
   15173       if test "$GCC" = yes; then
   15174 	case $host_os in aix4.[012]|aix4.[012].*)
   15175 	# We only want to do this on AIX 4.2 and lower, the check
   15176 	# below for broken collect2 doesn't work under 4.3+
   15177 	  collect2name=`${CC} -print-prog-name=collect2`
   15178 	  if test -f "$collect2name" && \
   15179   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15180 	  then
   15181   	  # We have reworked collect2
   15182   	  :
   15183 	  else
   15184   	  # We have old collect2
   15185   	  hardcode_direct_F77=unsupported
   15186   	  # It fails to find uninstalled libraries when the uninstalled
   15187   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15188   	  # to unsupported forces relinking
   15189   	  hardcode_minus_L_F77=yes
   15190   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15191   	  hardcode_libdir_separator_F77=
   15192 	  fi
   15193 	  ;;
   15194 	esac
   15195 	shared_flag='-shared'
   15196 	if test "$aix_use_runtimelinking" = yes; then
   15197 	  shared_flag="$shared_flag "'${wl}-G'
   15198 	fi
   15199       else
   15200 	# not using gcc
   15201 	if test "$host_cpu" = ia64; then
   15202   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15203   	# chokes on -Wl,-G. The following line is correct:
   15204 	  shared_flag='-G'
   15205 	else
   15206 	  if test "$aix_use_runtimelinking" = yes; then
   15207 	    shared_flag='${wl}-G'
   15208 	  else
   15209 	    shared_flag='${wl}-bM:SRE'
   15210 	  fi
   15211 	fi
   15212       fi
   15213 
   15214       # It seems that -bexpall does not export symbols beginning with
   15215       # underscore (_), so it is better to generate a list of symbols to export.
   15216       always_export_symbols_F77=yes
   15217       if test "$aix_use_runtimelinking" = yes; then
   15218 	# Warning - without using the other runtime loading flags (-brtl),
   15219 	# -berok will link without error, but may produce a broken library.
   15220 	allow_undefined_flag_F77='-berok'
   15221        # Determine the default libpath from the value encoded in an empty executable.
   15222        cat >conftest.$ac_ext <<_ACEOF
   15223       program main
   15224 
   15225       end
   15226 _ACEOF
   15227 rm -f conftest.$ac_objext conftest$ac_exeext
   15228 if { (ac_try="$ac_link"
   15229 case "(($ac_try" in
   15230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15231   *) ac_try_echo=$ac_try;;
   15232 esac
   15233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15234 $as_echo "$ac_try_echo") >&5
   15235   (eval "$ac_link") 2>conftest.er1
   15236   ac_status=$?
   15237   grep -v '^ *+' conftest.er1 >conftest.err
   15238   rm -f conftest.er1
   15239   cat conftest.err >&5
   15240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15241   (exit $ac_status); } && {
   15242 	 test -z "$ac_f77_werror_flag" ||
   15243 	 test ! -s conftest.err
   15244        } && test -s conftest$ac_exeext && {
   15245 	 test "$cross_compiling" = yes ||
   15246 	 $as_test_x conftest$ac_exeext
   15247        }; then
   15248 
   15249 lt_aix_libpath_sed='
   15250     /Import File Strings/,/^$/ {
   15251 	/^0/ {
   15252 	    s/^0  *\(.*\)$/\1/
   15253 	    p
   15254 	}
   15255     }'
   15256 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15257 # Check for a 64-bit object if we didn't find anything.
   15258 if test -z "$aix_libpath"; then
   15259   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15260 fi
   15261 else
   15262   $as_echo "$as_me: failed program was:" >&5
   15263 sed 's/^/| /' conftest.$ac_ext >&5
   15264 
   15265 
   15266 fi
   15267 
   15268 rm -rf conftest.dSYM
   15269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15270       conftest$ac_exeext conftest.$ac_ext
   15271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15272 
   15273        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15274 	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"
   15275        else
   15276 	if test "$host_cpu" = ia64; then
   15277 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15278 	  allow_undefined_flag_F77="-z nodefs"
   15279 	  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"
   15280 	else
   15281 	 # Determine the default libpath from the value encoded in an empty executable.
   15282 	 cat >conftest.$ac_ext <<_ACEOF
   15283       program main
   15284 
   15285       end
   15286 _ACEOF
   15287 rm -f conftest.$ac_objext conftest$ac_exeext
   15288 if { (ac_try="$ac_link"
   15289 case "(($ac_try" in
   15290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15291   *) ac_try_echo=$ac_try;;
   15292 esac
   15293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15294 $as_echo "$ac_try_echo") >&5
   15295   (eval "$ac_link") 2>conftest.er1
   15296   ac_status=$?
   15297   grep -v '^ *+' conftest.er1 >conftest.err
   15298   rm -f conftest.er1
   15299   cat conftest.err >&5
   15300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15301   (exit $ac_status); } && {
   15302 	 test -z "$ac_f77_werror_flag" ||
   15303 	 test ! -s conftest.err
   15304        } && test -s conftest$ac_exeext && {
   15305 	 test "$cross_compiling" = yes ||
   15306 	 $as_test_x conftest$ac_exeext
   15307        }; then
   15308 
   15309 lt_aix_libpath_sed='
   15310     /Import File Strings/,/^$/ {
   15311 	/^0/ {
   15312 	    s/^0  *\(.*\)$/\1/
   15313 	    p
   15314 	}
   15315     }'
   15316 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15317 # Check for a 64-bit object if we didn't find anything.
   15318 if test -z "$aix_libpath"; then
   15319   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15320 fi
   15321 else
   15322   $as_echo "$as_me: failed program was:" >&5
   15323 sed 's/^/| /' conftest.$ac_ext >&5
   15324 
   15325 
   15326 fi
   15327 
   15328 rm -rf conftest.dSYM
   15329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15330       conftest$ac_exeext conftest.$ac_ext
   15331 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15332 
   15333 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15334 	  # Warning - without using the other run time loading flags,
   15335 	  # -berok will link without error, but may produce a broken library.
   15336 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15337 	  allow_undefined_flag_F77=' ${wl}-berok'
   15338 	  # Exported symbols can be pulled into shared objects from archives
   15339 	  whole_archive_flag_spec_F77='$convenience'
   15340 	  archive_cmds_need_lc_F77=yes
   15341 	  # This is similar to how AIX traditionally builds its shared libraries.
   15342 	  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'
   15343 	fi
   15344       fi
   15345       ;;
   15346 
   15347     amigaos*)
   15348       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)'
   15349       hardcode_libdir_flag_spec_F77='-L$libdir'
   15350       hardcode_minus_L_F77=yes
   15351       # see comment about different semantics on the GNU ld section
   15352       ld_shlibs_F77=no
   15353       ;;
   15354 
   15355     bsdi[45]*)
   15356       export_dynamic_flag_spec_F77=-rdynamic
   15357       ;;
   15358 
   15359     cygwin* | mingw* | pw32*)
   15360       # When not using gcc, we currently assume that we are using
   15361       # Microsoft Visual C++.
   15362       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15363       # no search path for DLLs.
   15364       hardcode_libdir_flag_spec_F77=' '
   15365       allow_undefined_flag_F77=unsupported
   15366       # Tell ltmain to make .lib files, not .a files.
   15367       libext=lib
   15368       # Tell ltmain to make .dll files, not .so files.
   15369       shrext_cmds=".dll"
   15370       # FIXME: Setting linknames here is a bad hack.
   15371       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15372       # The linker will automatically build a .lib file if we build a DLL.
   15373       old_archive_From_new_cmds_F77='true'
   15374       # FIXME: Should let the user specify the lib program.
   15375       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15376       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15377       enable_shared_with_static_runtimes_F77=yes
   15378       ;;
   15379 
   15380     darwin* | rhapsody*)
   15381       case $host_os in
   15382         rhapsody* | darwin1.[012])
   15383          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15384          ;;
   15385        *) # Darwin 1.3 on
   15386          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15387            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15388          else
   15389            case ${MACOSX_DEPLOYMENT_TARGET} in
   15390              10.[012])
   15391                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15392                ;;
   15393              10.*)
   15394                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15395                ;;
   15396            esac
   15397          fi
   15398          ;;
   15399       esac
   15400       archive_cmds_need_lc_F77=no
   15401       hardcode_direct_F77=no
   15402       hardcode_automatic_F77=yes
   15403       hardcode_shlibpath_var_F77=unsupported
   15404       whole_archive_flag_spec_F77=''
   15405       link_all_deplibs_F77=yes
   15406     if test "$GCC" = yes ; then
   15407     	output_verbose_link_cmd='echo'
   15408         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15409         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15410         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15411         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15412     else
   15413       case $cc_basename in
   15414         xlc*)
   15415          output_verbose_link_cmd='echo'
   15416          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15417          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15418           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15419          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15420           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}'
   15421           ;;
   15422        *)
   15423          ld_shlibs_F77=no
   15424           ;;
   15425       esac
   15426     fi
   15427       ;;
   15428 
   15429     dgux*)
   15430       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15431       hardcode_libdir_flag_spec_F77='-L$libdir'
   15432       hardcode_shlibpath_var_F77=no
   15433       ;;
   15434 
   15435     freebsd1*)
   15436       ld_shlibs_F77=no
   15437       ;;
   15438 
   15439     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15440     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15441     # does not break anything, and helps significantly (at the cost of a little
   15442     # extra space).
   15443     freebsd2.2*)
   15444       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15445       hardcode_libdir_flag_spec_F77='-R$libdir'
   15446       hardcode_direct_F77=yes
   15447       hardcode_shlibpath_var_F77=no
   15448       ;;
   15449 
   15450     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15451     freebsd2*)
   15452       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15453       hardcode_direct_F77=yes
   15454       hardcode_minus_L_F77=yes
   15455       hardcode_shlibpath_var_F77=no
   15456       ;;
   15457 
   15458     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15459     freebsd* | dragonfly*)
   15460       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15461       hardcode_libdir_flag_spec_F77='-R$libdir'
   15462       hardcode_direct_F77=yes
   15463       hardcode_shlibpath_var_F77=no
   15464       ;;
   15465 
   15466     hpux9*)
   15467       if test "$GCC" = yes; then
   15468 	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'
   15469       else
   15470 	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'
   15471       fi
   15472       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15473       hardcode_libdir_separator_F77=:
   15474       hardcode_direct_F77=yes
   15475 
   15476       # hardcode_minus_L: Not really in the search PATH,
   15477       # but as the default location of the library.
   15478       hardcode_minus_L_F77=yes
   15479       export_dynamic_flag_spec_F77='${wl}-E'
   15480       ;;
   15481 
   15482     hpux10*)
   15483       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15484 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15485       else
   15486 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15487       fi
   15488       if test "$with_gnu_ld" = no; then
   15489 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15490 	hardcode_libdir_separator_F77=:
   15491 
   15492 	hardcode_direct_F77=yes
   15493 	export_dynamic_flag_spec_F77='${wl}-E'
   15494 
   15495 	# hardcode_minus_L: Not really in the search PATH,
   15496 	# but as the default location of the library.
   15497 	hardcode_minus_L_F77=yes
   15498       fi
   15499       ;;
   15500 
   15501     hpux11*)
   15502       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15503 	case $host_cpu in
   15504 	hppa*64*)
   15505 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15506 	  ;;
   15507 	ia64*)
   15508 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15509 	  ;;
   15510 	*)
   15511 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15512 	  ;;
   15513 	esac
   15514       else
   15515 	case $host_cpu in
   15516 	hppa*64*)
   15517 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15518 	  ;;
   15519 	ia64*)
   15520 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15521 	  ;;
   15522 	*)
   15523 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15524 	  ;;
   15525 	esac
   15526       fi
   15527       if test "$with_gnu_ld" = no; then
   15528 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15529 	hardcode_libdir_separator_F77=:
   15530 
   15531 	case $host_cpu in
   15532 	hppa*64*|ia64*)
   15533 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15534 	  hardcode_direct_F77=no
   15535 	  hardcode_shlibpath_var_F77=no
   15536 	  ;;
   15537 	*)
   15538 	  hardcode_direct_F77=yes
   15539 	  export_dynamic_flag_spec_F77='${wl}-E'
   15540 
   15541 	  # hardcode_minus_L: Not really in the search PATH,
   15542 	  # but as the default location of the library.
   15543 	  hardcode_minus_L_F77=yes
   15544 	  ;;
   15545 	esac
   15546       fi
   15547       ;;
   15548 
   15549     irix5* | irix6* | nonstopux*)
   15550       if test "$GCC" = yes; then
   15551 	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'
   15552       else
   15553 	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'
   15554 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15555       fi
   15556       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15557       hardcode_libdir_separator_F77=:
   15558       link_all_deplibs_F77=yes
   15559       ;;
   15560 
   15561     netbsd*)
   15562       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15563 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15564       else
   15565 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15566       fi
   15567       hardcode_libdir_flag_spec_F77='-R$libdir'
   15568       hardcode_direct_F77=yes
   15569       hardcode_shlibpath_var_F77=no
   15570       ;;
   15571 
   15572     newsos6)
   15573       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15574       hardcode_direct_F77=yes
   15575       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15576       hardcode_libdir_separator_F77=:
   15577       hardcode_shlibpath_var_F77=no
   15578       ;;
   15579 
   15580     openbsd*)
   15581       if test -f /usr/libexec/ld.so; then
   15582 	hardcode_direct_F77=yes
   15583 	hardcode_shlibpath_var_F77=no
   15584 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15585 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15586 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15587 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15588 	  export_dynamic_flag_spec_F77='${wl}-E'
   15589 	else
   15590 	  case $host_os in
   15591 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15592 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15593 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15594 	     ;;
   15595 	   *)
   15596 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15597 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15598 	     ;;
   15599 	  esac
   15600         fi
   15601       else
   15602 	ld_shlibs_F77=no
   15603       fi
   15604       ;;
   15605 
   15606     os2*)
   15607       hardcode_libdir_flag_spec_F77='-L$libdir'
   15608       hardcode_minus_L_F77=yes
   15609       allow_undefined_flag_F77=unsupported
   15610       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'
   15611       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15612       ;;
   15613 
   15614     osf3*)
   15615       if test "$GCC" = yes; then
   15616 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15617 	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'
   15618       else
   15619 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15620 	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'
   15621       fi
   15622       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15623       hardcode_libdir_separator_F77=:
   15624       ;;
   15625 
   15626     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15627       if test "$GCC" = yes; then
   15628 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15629 	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'
   15630 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15631       else
   15632 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15633 	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'
   15634 	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~
   15635 	$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'
   15636 
   15637 	# Both c and cxx compiler support -rpath directly
   15638 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15639       fi
   15640       hardcode_libdir_separator_F77=:
   15641       ;;
   15642 
   15643     solaris*)
   15644       no_undefined_flag_F77=' -z text'
   15645       if test "$GCC" = yes; then
   15646 	wlarc='${wl}'
   15647 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15648 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15649 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15650       else
   15651 	wlarc=''
   15652 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15653 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15654   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15655       fi
   15656       hardcode_libdir_flag_spec_F77='-R$libdir'
   15657       hardcode_shlibpath_var_F77=no
   15658       case $host_os in
   15659       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15660       *)
   15661 	# The compiler driver will combine and reorder linker options,
   15662 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15663 	# but is careful enough not to reorder.
   15664  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15665 	if test "$GCC" = yes; then
   15666 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15667 	else
   15668 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15669 	fi
   15670 	;;
   15671       esac
   15672       link_all_deplibs_F77=yes
   15673       ;;
   15674 
   15675     sunos4*)
   15676       if test "x$host_vendor" = xsequent; then
   15677 	# Use $CC to link under sequent, because it throws in some extra .o
   15678 	# files that make .init and .fini sections work.
   15679 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15680       else
   15681 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15682       fi
   15683       hardcode_libdir_flag_spec_F77='-L$libdir'
   15684       hardcode_direct_F77=yes
   15685       hardcode_minus_L_F77=yes
   15686       hardcode_shlibpath_var_F77=no
   15687       ;;
   15688 
   15689     sysv4)
   15690       case $host_vendor in
   15691 	sni)
   15692 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15693 	  hardcode_direct_F77=yes # is this really true???
   15694 	;;
   15695 	siemens)
   15696 	  ## LD is ld it makes a PLAMLIB
   15697 	  ## CC just makes a GrossModule.
   15698 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15699 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15700 	  hardcode_direct_F77=no
   15701         ;;
   15702 	motorola)
   15703 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15704 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15705 	;;
   15706       esac
   15707       runpath_var='LD_RUN_PATH'
   15708       hardcode_shlibpath_var_F77=no
   15709       ;;
   15710 
   15711     sysv4.3*)
   15712       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15713       hardcode_shlibpath_var_F77=no
   15714       export_dynamic_flag_spec_F77='-Bexport'
   15715       ;;
   15716 
   15717     sysv4*MP*)
   15718       if test -d /usr/nec; then
   15719 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15720 	hardcode_shlibpath_var_F77=no
   15721 	runpath_var=LD_RUN_PATH
   15722 	hardcode_runpath_var=yes
   15723 	ld_shlibs_F77=yes
   15724       fi
   15725       ;;
   15726 
   15727     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15728       no_undefined_flag_F77='${wl}-z,text'
   15729       archive_cmds_need_lc_F77=no
   15730       hardcode_shlibpath_var_F77=no
   15731       runpath_var='LD_RUN_PATH'
   15732 
   15733       if test "$GCC" = yes; then
   15734 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15735 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15736       else
   15737 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15738 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15739       fi
   15740       ;;
   15741 
   15742     sysv5* | sco3.2v5* | sco5v6*)
   15743       # Note: We can NOT use -z defs as we might desire, because we do not
   15744       # link with -lc, and that would cause any symbols used from libc to
   15745       # always be unresolved, which means just about no library would
   15746       # ever link correctly.  If we're not using GNU ld we use -z text
   15747       # though, which does catch some bad symbols but isn't as heavy-handed
   15748       # as -z defs.
   15749       no_undefined_flag_F77='${wl}-z,text'
   15750       allow_undefined_flag_F77='${wl}-z,nodefs'
   15751       archive_cmds_need_lc_F77=no
   15752       hardcode_shlibpath_var_F77=no
   15753       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15754       hardcode_libdir_separator_F77=':'
   15755       link_all_deplibs_F77=yes
   15756       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15757       runpath_var='LD_RUN_PATH'
   15758 
   15759       if test "$GCC" = yes; then
   15760 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15761 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15762       else
   15763 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15764 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15765       fi
   15766       ;;
   15767 
   15768     uts4*)
   15769       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15770       hardcode_libdir_flag_spec_F77='-L$libdir'
   15771       hardcode_shlibpath_var_F77=no
   15772       ;;
   15773 
   15774     *)
   15775       ld_shlibs_F77=no
   15776       ;;
   15777     esac
   15778   fi
   15779 
   15780 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15781 $as_echo "$ld_shlibs_F77" >&6; }
   15782 test "$ld_shlibs_F77" = no && can_build_shared=no
   15783 
   15784 #
   15785 # Do we need to explicitly link libc?
   15786 #
   15787 case "x$archive_cmds_need_lc_F77" in
   15788 x|xyes)
   15789   # Assume -lc should be added
   15790   archive_cmds_need_lc_F77=yes
   15791 
   15792   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15793     case $archive_cmds_F77 in
   15794     *'~'*)
   15795       # FIXME: we may have to deal with multi-command sequences.
   15796       ;;
   15797     '$CC '*)
   15798       # Test whether the compiler implicitly links with -lc since on some
   15799       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15800       # to ld, don't add -lc before -lgcc.
   15801       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15802 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15803       $rm conftest*
   15804       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15805 
   15806       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15807   (eval $ac_compile) 2>&5
   15808   ac_status=$?
   15809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15810   (exit $ac_status); } 2>conftest.err; then
   15811         soname=conftest
   15812         lib=conftest
   15813         libobjs=conftest.$ac_objext
   15814         deplibs=
   15815         wl=$lt_prog_compiler_wl_F77
   15816 	pic_flag=$lt_prog_compiler_pic_F77
   15817         compiler_flags=-v
   15818         linker_flags=-v
   15819         verstring=
   15820         output_objdir=.
   15821         libname=conftest
   15822         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15823         allow_undefined_flag_F77=
   15824         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15825   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15826   ac_status=$?
   15827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15828   (exit $ac_status); }
   15829         then
   15830 	  archive_cmds_need_lc_F77=no
   15831         else
   15832 	  archive_cmds_need_lc_F77=yes
   15833         fi
   15834         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15835       else
   15836         cat conftest.err 1>&5
   15837       fi
   15838       $rm conftest*
   15839       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15840 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15841       ;;
   15842     esac
   15843   fi
   15844   ;;
   15845 esac
   15846 
   15847 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15848 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15849 library_names_spec=
   15850 libname_spec='lib$name'
   15851 soname_spec=
   15852 shrext_cmds=".so"
   15853 postinstall_cmds=
   15854 postuninstall_cmds=
   15855 finish_cmds=
   15856 finish_eval=
   15857 shlibpath_var=
   15858 shlibpath_overrides_runpath=unknown
   15859 version_type=none
   15860 dynamic_linker="$host_os ld.so"
   15861 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15862 
   15863 need_lib_prefix=unknown
   15864 hardcode_into_libs=no
   15865 
   15866 # when you set need_version to no, make sure it does not cause -set_version
   15867 # flags to be left without arguments
   15868 need_version=unknown
   15869 
   15870 case $host_os in
   15871 aix3*)
   15872   version_type=linux
   15873   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15874   shlibpath_var=LIBPATH
   15875 
   15876   # AIX 3 has no versioning support, so we append a major version to the name.
   15877   soname_spec='${libname}${release}${shared_ext}$major'
   15878   ;;
   15879 
   15880 aix[4-9]*)
   15881   version_type=linux
   15882   need_lib_prefix=no
   15883   need_version=no
   15884   hardcode_into_libs=yes
   15885   if test "$host_cpu" = ia64; then
   15886     # AIX 5 supports IA64
   15887     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15888     shlibpath_var=LD_LIBRARY_PATH
   15889   else
   15890     # With GCC up to 2.95.x, collect2 would create an import file
   15891     # for dependence libraries.  The import file would start with
   15892     # the line `#! .'.  This would cause the generated library to
   15893     # depend on `.', always an invalid library.  This was fixed in
   15894     # development snapshots of GCC prior to 3.0.
   15895     case $host_os in
   15896       aix4 | aix4.[01] | aix4.[01].*)
   15897       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15898 	   echo ' yes '
   15899 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15900 	:
   15901       else
   15902 	can_build_shared=no
   15903       fi
   15904       ;;
   15905     esac
   15906     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15907     # soname into executable. Probably we can add versioning support to
   15908     # collect2, so additional links can be useful in future.
   15909     if test "$aix_use_runtimelinking" = yes; then
   15910       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15911       # instead of lib<name>.a to let people know that these are not
   15912       # typical AIX shared libraries.
   15913       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15914     else
   15915       # We preserve .a as extension for shared libraries through AIX4.2
   15916       # and later when we are not doing run time linking.
   15917       library_names_spec='${libname}${release}.a $libname.a'
   15918       soname_spec='${libname}${release}${shared_ext}$major'
   15919     fi
   15920     shlibpath_var=LIBPATH
   15921   fi
   15922   ;;
   15923 
   15924 amigaos*)
   15925   library_names_spec='$libname.ixlibrary $libname.a'
   15926   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15927   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'
   15928   ;;
   15929 
   15930 beos*)
   15931   library_names_spec='${libname}${shared_ext}'
   15932   dynamic_linker="$host_os ld.so"
   15933   shlibpath_var=LIBRARY_PATH
   15934   ;;
   15935 
   15936 bsdi[45]*)
   15937   version_type=linux
   15938   need_version=no
   15939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15940   soname_spec='${libname}${release}${shared_ext}$major'
   15941   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15942   shlibpath_var=LD_LIBRARY_PATH
   15943   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15944   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15945   # the default ld.so.conf also contains /usr/contrib/lib and
   15946   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15947   # libtool to hard-code these into programs
   15948   ;;
   15949 
   15950 cygwin* | mingw* | pw32*)
   15951   version_type=windows
   15952   shrext_cmds=".dll"
   15953   need_version=no
   15954   need_lib_prefix=no
   15955 
   15956   case $GCC,$host_os in
   15957   yes,cygwin* | yes,mingw* | yes,pw32*)
   15958     library_names_spec='$libname.dll.a'
   15959     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15960     postinstall_cmds='base_file=`basename \${file}`~
   15961       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15962       dldir=$destdir/`dirname \$dlpath`~
   15963       test -d \$dldir || mkdir -p \$dldir~
   15964       $install_prog $dir/$dlname \$dldir/$dlname~
   15965       chmod a+x \$dldir/$dlname'
   15966     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15967       dlpath=$dir/\$dldll~
   15968        $rm \$dlpath'
   15969     shlibpath_overrides_runpath=yes
   15970 
   15971     case $host_os in
   15972     cygwin*)
   15973       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15974       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15975       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15976       ;;
   15977     mingw*)
   15978       # MinGW DLLs use traditional 'lib' prefix
   15979       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15980       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15981       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15982         # It is most probably a Windows format PATH printed by
   15983         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15984         # path with ; separators, and with drive letters. We can handle the
   15985         # drive letters (cygwin fileutils understands them), so leave them,
   15986         # especially as we might pass files found there to a mingw objdump,
   15987         # which wouldn't understand a cygwinified path. Ahh.
   15988         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15989       else
   15990         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15991       fi
   15992       ;;
   15993     pw32*)
   15994       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15995       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15996       ;;
   15997     esac
   15998     ;;
   15999 
   16000   *)
   16001     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16002     ;;
   16003   esac
   16004   dynamic_linker='Win32 ld.exe'
   16005   # FIXME: first we should search . and the directory the executable is in
   16006   shlibpath_var=PATH
   16007   ;;
   16008 
   16009 darwin* | rhapsody*)
   16010   dynamic_linker="$host_os dyld"
   16011   version_type=darwin
   16012   need_lib_prefix=no
   16013   need_version=no
   16014   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16015   soname_spec='${libname}${release}${major}$shared_ext'
   16016   shlibpath_overrides_runpath=yes
   16017   shlibpath_var=DYLD_LIBRARY_PATH
   16018   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16019 
   16020   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16021   ;;
   16022 
   16023 dgux*)
   16024   version_type=linux
   16025   need_lib_prefix=no
   16026   need_version=no
   16027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16028   soname_spec='${libname}${release}${shared_ext}$major'
   16029   shlibpath_var=LD_LIBRARY_PATH
   16030   ;;
   16031 
   16032 freebsd1*)
   16033   dynamic_linker=no
   16034   ;;
   16035 
   16036 freebsd* | dragonfly*)
   16037   # DragonFly does not have aout.  When/if they implement a new
   16038   # versioning mechanism, adjust this.
   16039   if test -x /usr/bin/objformat; then
   16040     objformat=`/usr/bin/objformat`
   16041   else
   16042     case $host_os in
   16043     freebsd[123]*) objformat=aout ;;
   16044     *) objformat=elf ;;
   16045     esac
   16046   fi
   16047   version_type=freebsd-$objformat
   16048   case $version_type in
   16049     freebsd-elf*)
   16050       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16051       need_version=no
   16052       need_lib_prefix=no
   16053       ;;
   16054     freebsd-*)
   16055       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16056       need_version=yes
   16057       ;;
   16058   esac
   16059   shlibpath_var=LD_LIBRARY_PATH
   16060   case $host_os in
   16061   freebsd2*)
   16062     shlibpath_overrides_runpath=yes
   16063     ;;
   16064   freebsd3.[01]* | freebsdelf3.[01]*)
   16065     shlibpath_overrides_runpath=yes
   16066     hardcode_into_libs=yes
   16067     ;;
   16068   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16069   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16070     shlibpath_overrides_runpath=no
   16071     hardcode_into_libs=yes
   16072     ;;
   16073   *) # from 4.6 on, and DragonFly
   16074     shlibpath_overrides_runpath=yes
   16075     hardcode_into_libs=yes
   16076     ;;
   16077   esac
   16078   ;;
   16079 
   16080 gnu*)
   16081   version_type=linux
   16082   need_lib_prefix=no
   16083   need_version=no
   16084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16085   soname_spec='${libname}${release}${shared_ext}$major'
   16086   shlibpath_var=LD_LIBRARY_PATH
   16087   hardcode_into_libs=yes
   16088   ;;
   16089 
   16090 hpux9* | hpux10* | hpux11*)
   16091   # Give a soname corresponding to the major version so that dld.sl refuses to
   16092   # link against other versions.
   16093   version_type=sunos
   16094   need_lib_prefix=no
   16095   need_version=no
   16096   case $host_cpu in
   16097   ia64*)
   16098     shrext_cmds='.so'
   16099     hardcode_into_libs=yes
   16100     dynamic_linker="$host_os dld.so"
   16101     shlibpath_var=LD_LIBRARY_PATH
   16102     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16103     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16104     soname_spec='${libname}${release}${shared_ext}$major'
   16105     if test "X$HPUX_IA64_MODE" = X32; then
   16106       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16107     else
   16108       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16109     fi
   16110     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16111     ;;
   16112    hppa*64*)
   16113      shrext_cmds='.sl'
   16114      hardcode_into_libs=yes
   16115      dynamic_linker="$host_os dld.sl"
   16116      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16117      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16118      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119      soname_spec='${libname}${release}${shared_ext}$major'
   16120      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16121      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16122      ;;
   16123    *)
   16124     shrext_cmds='.sl'
   16125     dynamic_linker="$host_os dld.sl"
   16126     shlibpath_var=SHLIB_PATH
   16127     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16128     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16129     soname_spec='${libname}${release}${shared_ext}$major'
   16130     ;;
   16131   esac
   16132   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16133   postinstall_cmds='chmod 555 $lib'
   16134   ;;
   16135 
   16136 interix[3-9]*)
   16137   version_type=linux
   16138   need_lib_prefix=no
   16139   need_version=no
   16140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16141   soname_spec='${libname}${release}${shared_ext}$major'
   16142   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16143   shlibpath_var=LD_LIBRARY_PATH
   16144   shlibpath_overrides_runpath=no
   16145   hardcode_into_libs=yes
   16146   ;;
   16147 
   16148 irix5* | irix6* | nonstopux*)
   16149   case $host_os in
   16150     nonstopux*) version_type=nonstopux ;;
   16151     *)
   16152 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16153 		version_type=linux
   16154 	else
   16155 		version_type=irix
   16156 	fi ;;
   16157   esac
   16158   need_lib_prefix=no
   16159   need_version=no
   16160   soname_spec='${libname}${release}${shared_ext}$major'
   16161   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16162   case $host_os in
   16163   irix5* | nonstopux*)
   16164     libsuff= shlibsuff=
   16165     ;;
   16166   *)
   16167     case $LD in # libtool.m4 will add one of these switches to LD
   16168     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16169       libsuff= shlibsuff= libmagic=32-bit;;
   16170     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16171       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16172     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16173       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16174     *) libsuff= shlibsuff= libmagic=never-match;;
   16175     esac
   16176     ;;
   16177   esac
   16178   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16179   shlibpath_overrides_runpath=no
   16180   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16181   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16182   hardcode_into_libs=yes
   16183   ;;
   16184 
   16185 # No shared lib support for Linux oldld, aout, or coff.
   16186 linux*oldld* | linux*aout* | linux*coff*)
   16187   dynamic_linker=no
   16188   ;;
   16189 
   16190 # This must be Linux ELF.
   16191 linux* | k*bsd*-gnu)
   16192   version_type=linux
   16193   need_lib_prefix=no
   16194   need_version=no
   16195   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16196   soname_spec='${libname}${release}${shared_ext}$major'
   16197   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16198   shlibpath_var=LD_LIBRARY_PATH
   16199   shlibpath_overrides_runpath=no
   16200   # This implies no fast_install, which is unacceptable.
   16201   # Some rework will be needed to allow for fast_install
   16202   # before this can be enabled.
   16203   hardcode_into_libs=yes
   16204 
   16205   # Append ld.so.conf contents to the search path
   16206   if test -f /etc/ld.so.conf; then
   16207     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16208     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16209   fi
   16210 
   16211   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16212   # powerpc, because MkLinux only supported shared libraries with the
   16213   # GNU dynamic linker.  Since this was broken with cross compilers,
   16214   # most powerpc-linux boxes support dynamic linking these days and
   16215   # people can always --disable-shared, the test was removed, and we
   16216   # assume the GNU/Linux dynamic linker is in use.
   16217   dynamic_linker='GNU/Linux ld.so'
   16218   ;;
   16219 
   16220 netbsd*)
   16221   version_type=sunos
   16222   need_lib_prefix=no
   16223   need_version=no
   16224   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16225     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16226     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16227     dynamic_linker='NetBSD (a.out) ld.so'
   16228   else
   16229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16230     soname_spec='${libname}${release}${shared_ext}$major'
   16231     dynamic_linker='NetBSD ld.elf_so'
   16232   fi
   16233   shlibpath_var=LD_LIBRARY_PATH
   16234   shlibpath_overrides_runpath=yes
   16235   hardcode_into_libs=yes
   16236   ;;
   16237 
   16238 newsos6)
   16239   version_type=linux
   16240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16241   shlibpath_var=LD_LIBRARY_PATH
   16242   shlibpath_overrides_runpath=yes
   16243   ;;
   16244 
   16245 nto-qnx*)
   16246   version_type=linux
   16247   need_lib_prefix=no
   16248   need_version=no
   16249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16250   soname_spec='${libname}${release}${shared_ext}$major'
   16251   shlibpath_var=LD_LIBRARY_PATH
   16252   shlibpath_overrides_runpath=yes
   16253   ;;
   16254 
   16255 openbsd*)
   16256   version_type=sunos
   16257   sys_lib_dlsearch_path_spec="/usr/lib"
   16258   need_lib_prefix=no
   16259   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16260   case $host_os in
   16261     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16262     *)                         need_version=no  ;;
   16263   esac
   16264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16265   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16266   shlibpath_var=LD_LIBRARY_PATH
   16267   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16268     case $host_os in
   16269       openbsd2.[89] | openbsd2.[89].*)
   16270 	shlibpath_overrides_runpath=no
   16271 	;;
   16272       *)
   16273 	shlibpath_overrides_runpath=yes
   16274 	;;
   16275       esac
   16276   else
   16277     shlibpath_overrides_runpath=yes
   16278   fi
   16279   ;;
   16280 
   16281 os2*)
   16282   libname_spec='$name'
   16283   shrext_cmds=".dll"
   16284   need_lib_prefix=no
   16285   library_names_spec='$libname${shared_ext} $libname.a'
   16286   dynamic_linker='OS/2 ld.exe'
   16287   shlibpath_var=LIBPATH
   16288   ;;
   16289 
   16290 osf3* | osf4* | osf5*)
   16291   version_type=osf
   16292   need_lib_prefix=no
   16293   need_version=no
   16294   soname_spec='${libname}${release}${shared_ext}$major'
   16295   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16296   shlibpath_var=LD_LIBRARY_PATH
   16297   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16298   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16299   ;;
   16300 
   16301 rdos*)
   16302   dynamic_linker=no
   16303   ;;
   16304 
   16305 solaris*)
   16306   version_type=linux
   16307   need_lib_prefix=no
   16308   need_version=no
   16309   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16310   soname_spec='${libname}${release}${shared_ext}$major'
   16311   shlibpath_var=LD_LIBRARY_PATH
   16312   shlibpath_overrides_runpath=yes
   16313   hardcode_into_libs=yes
   16314   # ldd complains unless libraries are executable
   16315   postinstall_cmds='chmod +x $lib'
   16316   ;;
   16317 
   16318 sunos4*)
   16319   version_type=sunos
   16320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16321   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16322   shlibpath_var=LD_LIBRARY_PATH
   16323   shlibpath_overrides_runpath=yes
   16324   if test "$with_gnu_ld" = yes; then
   16325     need_lib_prefix=no
   16326   fi
   16327   need_version=yes
   16328   ;;
   16329 
   16330 sysv4 | sysv4.3*)
   16331   version_type=linux
   16332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16333   soname_spec='${libname}${release}${shared_ext}$major'
   16334   shlibpath_var=LD_LIBRARY_PATH
   16335   case $host_vendor in
   16336     sni)
   16337       shlibpath_overrides_runpath=no
   16338       need_lib_prefix=no
   16339       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16340       runpath_var=LD_RUN_PATH
   16341       ;;
   16342     siemens)
   16343       need_lib_prefix=no
   16344       ;;
   16345     motorola)
   16346       need_lib_prefix=no
   16347       need_version=no
   16348       shlibpath_overrides_runpath=no
   16349       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16350       ;;
   16351   esac
   16352   ;;
   16353 
   16354 sysv4*MP*)
   16355   if test -d /usr/nec ;then
   16356     version_type=linux
   16357     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16358     soname_spec='$libname${shared_ext}.$major'
   16359     shlibpath_var=LD_LIBRARY_PATH
   16360   fi
   16361   ;;
   16362 
   16363 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16364   version_type=freebsd-elf
   16365   need_lib_prefix=no
   16366   need_version=no
   16367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16368   soname_spec='${libname}${release}${shared_ext}$major'
   16369   shlibpath_var=LD_LIBRARY_PATH
   16370   hardcode_into_libs=yes
   16371   if test "$with_gnu_ld" = yes; then
   16372     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16373     shlibpath_overrides_runpath=no
   16374   else
   16375     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16376     shlibpath_overrides_runpath=yes
   16377     case $host_os in
   16378       sco3.2v5*)
   16379         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16380 	;;
   16381     esac
   16382   fi
   16383   sys_lib_dlsearch_path_spec='/usr/lib'
   16384   ;;
   16385 
   16386 uts4*)
   16387   version_type=linux
   16388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16389   soname_spec='${libname}${release}${shared_ext}$major'
   16390   shlibpath_var=LD_LIBRARY_PATH
   16391   ;;
   16392 
   16393 *)
   16394   dynamic_linker=no
   16395   ;;
   16396 esac
   16397 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16398 $as_echo "$dynamic_linker" >&6; }
   16399 test "$dynamic_linker" = no && can_build_shared=no
   16400 
   16401 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16402   $as_echo_n "(cached) " >&6
   16403 else
   16404   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16405 fi
   16406 
   16407 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16408 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16409   $as_echo_n "(cached) " >&6
   16410 else
   16411   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16412 fi
   16413 
   16414 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16415 
   16416 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16417 if test "$GCC" = yes; then
   16418   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16419 fi
   16420 
   16421 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16422 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16423 hardcode_action_F77=
   16424 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16425    test -n "$runpath_var_F77" || \
   16426    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16427 
   16428   # We can hardcode non-existant directories.
   16429   if test "$hardcode_direct_F77" != no &&
   16430      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16431      # have to relink, otherwise we might link with an installed library
   16432      # when we should be linking with a yet-to-be-installed one
   16433      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16434      test "$hardcode_minus_L_F77" != no; then
   16435     # Linking always hardcodes the temporary library directory.
   16436     hardcode_action_F77=relink
   16437   else
   16438     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16439     hardcode_action_F77=immediate
   16440   fi
   16441 else
   16442   # We cannot hardcode anything, or else we can only hardcode existing
   16443   # directories.
   16444   hardcode_action_F77=unsupported
   16445 fi
   16446 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16447 $as_echo "$hardcode_action_F77" >&6; }
   16448 
   16449 if test "$hardcode_action_F77" = relink; then
   16450   # Fast installation is not supported
   16451   enable_fast_install=no
   16452 elif test "$shlibpath_overrides_runpath" = yes ||
   16453      test "$enable_shared" = no; then
   16454   # Fast installation is not necessary
   16455   enable_fast_install=needless
   16456 fi
   16457 
   16458 
   16459 # The else clause should only fire when bootstrapping the
   16460 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16461 # with your package, and you will get complaints that there are
   16462 # no rules to generate ltmain.sh.
   16463 if test -f "$ltmain"; then
   16464   # See if we are running on zsh, and set the options which allow our commands through
   16465   # without removal of \ escapes.
   16466   if test -n "${ZSH_VERSION+set}" ; then
   16467     setopt NO_GLOB_SUBST
   16468   fi
   16469   # Now quote all the things that may contain metacharacters while being
   16470   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16471   # variables and quote the copies for generation of the libtool script.
   16472   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16473     SED SHELL STRIP \
   16474     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16475     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16476     deplibs_check_method reload_flag reload_cmds need_locks \
   16477     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16478     lt_cv_sys_global_symbol_to_c_name_address \
   16479     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16480     old_postinstall_cmds old_postuninstall_cmds \
   16481     compiler_F77 \
   16482     CC_F77 \
   16483     LD_F77 \
   16484     lt_prog_compiler_wl_F77 \
   16485     lt_prog_compiler_pic_F77 \
   16486     lt_prog_compiler_static_F77 \
   16487     lt_prog_compiler_no_builtin_flag_F77 \
   16488     export_dynamic_flag_spec_F77 \
   16489     thread_safe_flag_spec_F77 \
   16490     whole_archive_flag_spec_F77 \
   16491     enable_shared_with_static_runtimes_F77 \
   16492     old_archive_cmds_F77 \
   16493     old_archive_from_new_cmds_F77 \
   16494     predep_objects_F77 \
   16495     postdep_objects_F77 \
   16496     predeps_F77 \
   16497     postdeps_F77 \
   16498     compiler_lib_search_path_F77 \
   16499     compiler_lib_search_dirs_F77 \
   16500     archive_cmds_F77 \
   16501     archive_expsym_cmds_F77 \
   16502     postinstall_cmds_F77 \
   16503     postuninstall_cmds_F77 \
   16504     old_archive_from_expsyms_cmds_F77 \
   16505     allow_undefined_flag_F77 \
   16506     no_undefined_flag_F77 \
   16507     export_symbols_cmds_F77 \
   16508     hardcode_libdir_flag_spec_F77 \
   16509     hardcode_libdir_flag_spec_ld_F77 \
   16510     hardcode_libdir_separator_F77 \
   16511     hardcode_automatic_F77 \
   16512     module_cmds_F77 \
   16513     module_expsym_cmds_F77 \
   16514     lt_cv_prog_compiler_c_o_F77 \
   16515     fix_srcfile_path_F77 \
   16516     exclude_expsyms_F77 \
   16517     include_expsyms_F77; do
   16518 
   16519     case $var in
   16520     old_archive_cmds_F77 | \
   16521     old_archive_from_new_cmds_F77 | \
   16522     archive_cmds_F77 | \
   16523     archive_expsym_cmds_F77 | \
   16524     module_cmds_F77 | \
   16525     module_expsym_cmds_F77 | \
   16526     old_archive_from_expsyms_cmds_F77 | \
   16527     export_symbols_cmds_F77 | \
   16528     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16529     postinstall_cmds | postuninstall_cmds | \
   16530     old_postinstall_cmds | old_postuninstall_cmds | \
   16531     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16532       # Double-quote double-evaled strings.
   16533       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16534       ;;
   16535     *)
   16536       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16537       ;;
   16538     esac
   16539   done
   16540 
   16541   case $lt_echo in
   16542   *'\$0 --fallback-echo"')
   16543     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16544     ;;
   16545   esac
   16546 
   16547 cfgfile="$ofile"
   16548 
   16549   cat <<__EOF__ >> "$cfgfile"
   16550 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16551 
   16552 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16553 
   16554 # Shell to use when invoking shell scripts.
   16555 SHELL=$lt_SHELL
   16556 
   16557 # Whether or not to build shared libraries.
   16558 build_libtool_libs=$enable_shared
   16559 
   16560 # Whether or not to build static libraries.
   16561 build_old_libs=$enable_static
   16562 
   16563 # Whether or not to add -lc for building shared libraries.
   16564 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16565 
   16566 # Whether or not to disallow shared libs when runtime libs are static
   16567 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16568 
   16569 # Whether or not to optimize for fast installation.
   16570 fast_install=$enable_fast_install
   16571 
   16572 # The host system.
   16573 host_alias=$host_alias
   16574 host=$host
   16575 host_os=$host_os
   16576 
   16577 # The build system.
   16578 build_alias=$build_alias
   16579 build=$build
   16580 build_os=$build_os
   16581 
   16582 # An echo program that does not interpret backslashes.
   16583 echo=$lt_echo
   16584 
   16585 # The archiver.
   16586 AR=$lt_AR
   16587 AR_FLAGS=$lt_AR_FLAGS
   16588 
   16589 # A C compiler.
   16590 LTCC=$lt_LTCC
   16591 
   16592 # LTCC compiler flags.
   16593 LTCFLAGS=$lt_LTCFLAGS
   16594 
   16595 # A language-specific compiler.
   16596 CC=$lt_compiler_F77
   16597 
   16598 # Is the compiler the GNU C compiler?
   16599 with_gcc=$GCC_F77
   16600 
   16601 # An ERE matcher.
   16602 EGREP=$lt_EGREP
   16603 
   16604 # The linker used to build libraries.
   16605 LD=$lt_LD_F77
   16606 
   16607 # Whether we need hard or soft links.
   16608 LN_S=$lt_LN_S
   16609 
   16610 # A BSD-compatible nm program.
   16611 NM=$lt_NM
   16612 
   16613 # A symbol stripping program
   16614 STRIP=$lt_STRIP
   16615 
   16616 # Used to examine libraries when file_magic_cmd begins "file"
   16617 MAGIC_CMD=$MAGIC_CMD
   16618 
   16619 # Used on cygwin: DLL creation program.
   16620 DLLTOOL="$DLLTOOL"
   16621 
   16622 # Used on cygwin: object dumper.
   16623 OBJDUMP="$OBJDUMP"
   16624 
   16625 # Used on cygwin: assembler.
   16626 AS="$AS"
   16627 
   16628 # The name of the directory that contains temporary libtool files.
   16629 objdir=$objdir
   16630 
   16631 # How to create reloadable object files.
   16632 reload_flag=$lt_reload_flag
   16633 reload_cmds=$lt_reload_cmds
   16634 
   16635 # How to pass a linker flag through the compiler.
   16636 wl=$lt_lt_prog_compiler_wl_F77
   16637 
   16638 # Object file suffix (normally "o").
   16639 objext="$ac_objext"
   16640 
   16641 # Old archive suffix (normally "a").
   16642 libext="$libext"
   16643 
   16644 # Shared library suffix (normally ".so").
   16645 shrext_cmds='$shrext_cmds'
   16646 
   16647 # Executable file suffix (normally "").
   16648 exeext="$exeext"
   16649 
   16650 # Additional compiler flags for building library objects.
   16651 pic_flag=$lt_lt_prog_compiler_pic_F77
   16652 pic_mode=$pic_mode
   16653 
   16654 # What is the maximum length of a command?
   16655 max_cmd_len=$lt_cv_sys_max_cmd_len
   16656 
   16657 # Does compiler simultaneously support -c and -o options?
   16658 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16659 
   16660 # Must we lock files when doing compilation?
   16661 need_locks=$lt_need_locks
   16662 
   16663 # Do we need the lib prefix for modules?
   16664 need_lib_prefix=$need_lib_prefix
   16665 
   16666 # Do we need a version for libraries?
   16667 need_version=$need_version
   16668 
   16669 # Whether dlopen is supported.
   16670 dlopen_support=$enable_dlopen
   16671 
   16672 # Whether dlopen of programs is supported.
   16673 dlopen_self=$enable_dlopen_self
   16674 
   16675 # Whether dlopen of statically linked programs is supported.
   16676 dlopen_self_static=$enable_dlopen_self_static
   16677 
   16678 # Compiler flag to prevent dynamic linking.
   16679 link_static_flag=$lt_lt_prog_compiler_static_F77
   16680 
   16681 # Compiler flag to turn off builtin functions.
   16682 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16683 
   16684 # Compiler flag to allow reflexive dlopens.
   16685 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16686 
   16687 # Compiler flag to generate shared objects directly from archives.
   16688 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16689 
   16690 # Compiler flag to generate thread-safe objects.
   16691 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16692 
   16693 # Library versioning type.
   16694 version_type=$version_type
   16695 
   16696 # Format of library name prefix.
   16697 libname_spec=$lt_libname_spec
   16698 
   16699 # List of archive names.  First name is the real one, the rest are links.
   16700 # The last name is the one that the linker finds with -lNAME.
   16701 library_names_spec=$lt_library_names_spec
   16702 
   16703 # The coded name of the library, if different from the real name.
   16704 soname_spec=$lt_soname_spec
   16705 
   16706 # Commands used to build and install an old-style archive.
   16707 RANLIB=$lt_RANLIB
   16708 old_archive_cmds=$lt_old_archive_cmds_F77
   16709 old_postinstall_cmds=$lt_old_postinstall_cmds
   16710 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16711 
   16712 # Create an old-style archive from a shared archive.
   16713 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16714 
   16715 # Create a temporary old-style archive to link instead of a shared archive.
   16716 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16717 
   16718 # Commands used to build and install a shared archive.
   16719 archive_cmds=$lt_archive_cmds_F77
   16720 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16721 postinstall_cmds=$lt_postinstall_cmds
   16722 postuninstall_cmds=$lt_postuninstall_cmds
   16723 
   16724 # Commands used to build a loadable module (assumed same as above if empty)
   16725 module_cmds=$lt_module_cmds_F77
   16726 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16727 
   16728 # Commands to strip libraries.
   16729 old_striplib=$lt_old_striplib
   16730 striplib=$lt_striplib
   16731 
   16732 # Dependencies to place before the objects being linked to create a
   16733 # shared library.
   16734 predep_objects=$lt_predep_objects_F77
   16735 
   16736 # Dependencies to place after the objects being linked to create a
   16737 # shared library.
   16738 postdep_objects=$lt_postdep_objects_F77
   16739 
   16740 # Dependencies to place before the objects being linked to create a
   16741 # shared library.
   16742 predeps=$lt_predeps_F77
   16743 
   16744 # Dependencies to place after the objects being linked to create a
   16745 # shared library.
   16746 postdeps=$lt_postdeps_F77
   16747 
   16748 # The directories searched by this compiler when creating a shared
   16749 # library
   16750 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16751 
   16752 # The library search path used internally by the compiler when linking
   16753 # a shared library.
   16754 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16755 
   16756 # Method to check whether dependent libraries are shared objects.
   16757 deplibs_check_method=$lt_deplibs_check_method
   16758 
   16759 # Command to use when deplibs_check_method == file_magic.
   16760 file_magic_cmd=$lt_file_magic_cmd
   16761 
   16762 # Flag that allows shared libraries with undefined symbols to be built.
   16763 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16764 
   16765 # Flag that forces no undefined symbols.
   16766 no_undefined_flag=$lt_no_undefined_flag_F77
   16767 
   16768 # Commands used to finish a libtool library installation in a directory.
   16769 finish_cmds=$lt_finish_cmds
   16770 
   16771 # Same as above, but a single script fragment to be evaled but not shown.
   16772 finish_eval=$lt_finish_eval
   16773 
   16774 # Take the output of nm and produce a listing of raw symbols and C names.
   16775 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16776 
   16777 # Transform the output of nm in a proper C declaration
   16778 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16779 
   16780 # Transform the output of nm in a C name address pair
   16781 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16782 
   16783 # This is the shared library runtime path variable.
   16784 runpath_var=$runpath_var
   16785 
   16786 # This is the shared library path variable.
   16787 shlibpath_var=$shlibpath_var
   16788 
   16789 # Is shlibpath searched before the hard-coded library search path?
   16790 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16791 
   16792 # How to hardcode a shared library path into an executable.
   16793 hardcode_action=$hardcode_action_F77
   16794 
   16795 # Whether we should hardcode library paths into libraries.
   16796 hardcode_into_libs=$hardcode_into_libs
   16797 
   16798 # Flag to hardcode \$libdir into a binary during linking.
   16799 # This must work even if \$libdir does not exist.
   16800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16801 
   16802 # If ld is used when linking, flag to hardcode \$libdir into
   16803 # a binary during linking. This must work even if \$libdir does
   16804 # not exist.
   16805 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16806 
   16807 # Whether we need a single -rpath flag with a separated argument.
   16808 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16809 
   16810 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16811 # resulting binary.
   16812 hardcode_direct=$hardcode_direct_F77
   16813 
   16814 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16815 # resulting binary.
   16816 hardcode_minus_L=$hardcode_minus_L_F77
   16817 
   16818 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16819 # the resulting binary.
   16820 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16821 
   16822 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16823 # and all subsequent libraries and executables linked against it.
   16824 hardcode_automatic=$hardcode_automatic_F77
   16825 
   16826 # Variables whose values should be saved in libtool wrapper scripts and
   16827 # restored at relink time.
   16828 variables_saved_for_relink="$variables_saved_for_relink"
   16829 
   16830 # Whether libtool must link a program against all its dependency libraries.
   16831 link_all_deplibs=$link_all_deplibs_F77
   16832 
   16833 # Compile-time system search path for libraries
   16834 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16835 
   16836 # Run-time system search path for libraries
   16837 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16838 
   16839 # Fix the shell variable \$srcfile for the compiler.
   16840 fix_srcfile_path=$lt_fix_srcfile_path
   16841 
   16842 # Set to yes if exported symbols are required.
   16843 always_export_symbols=$always_export_symbols_F77
   16844 
   16845 # The commands to list exported symbols.
   16846 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16847 
   16848 # The commands to extract the exported symbol list from a shared archive.
   16849 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16850 
   16851 # Symbols that should not be listed in the preloaded symbols.
   16852 exclude_expsyms=$lt_exclude_expsyms_F77
   16853 
   16854 # Symbols that must always be exported.
   16855 include_expsyms=$lt_include_expsyms_F77
   16856 
   16857 # ### END LIBTOOL TAG CONFIG: $tagname
   16858 
   16859 __EOF__
   16860 
   16861 
   16862 else
   16863   # If there is no Makefile yet, we rely on a make rule to execute
   16864   # `config.status --recheck' to rerun these tests and create the
   16865   # libtool script then.
   16866   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16867   if test -f "$ltmain_in"; then
   16868     test -f Makefile && make "$ltmain"
   16869   fi
   16870 fi
   16871 
   16872 
   16873 ac_ext=c
   16874 ac_cpp='$CPP $CPPFLAGS'
   16875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16878 
   16879 CC="$lt_save_CC"
   16880 
   16881 	else
   16882 	  tagname=""
   16883 	fi
   16884 	;;
   16885 
   16886       GCJ)
   16887 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16888 
   16889 
   16890 # Source file extension for Java test sources.
   16891 ac_ext=java
   16892 
   16893 # Object file extension for compiled Java test sources.
   16894 objext=o
   16895 objext_GCJ=$objext
   16896 
   16897 # Code to be used in simple compile tests
   16898 lt_simple_compile_test_code="class foo {}"
   16899 
   16900 # Code to be used in simple link tests
   16901 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16902 
   16903 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16904 
   16905 # If no C compiler was specified, use CC.
   16906 LTCC=${LTCC-"$CC"}
   16907 
   16908 # If no C compiler flags were specified, use CFLAGS.
   16909 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16910 
   16911 # Allow CC to be a program name with arguments.
   16912 compiler=$CC
   16913 
   16914 
   16915 # save warnings/boilerplate of simple test code
   16916 ac_outfile=conftest.$ac_objext
   16917 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16919 _lt_compiler_boilerplate=`cat conftest.err`
   16920 $rm conftest*
   16921 
   16922 ac_outfile=conftest.$ac_objext
   16923 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16925 _lt_linker_boilerplate=`cat conftest.err`
   16926 $rm -r conftest*
   16927 
   16928 
   16929 # Allow CC to be a program name with arguments.
   16930 lt_save_CC="$CC"
   16931 CC=${GCJ-"gcj"}
   16932 compiler=$CC
   16933 compiler_GCJ=$CC
   16934 for cc_temp in $compiler""; do
   16935   case $cc_temp in
   16936     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16937     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16938     \-*) ;;
   16939     *) break;;
   16940   esac
   16941 done
   16942 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16943 
   16944 
   16945 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16946 archive_cmds_need_lc_GCJ=no
   16947 
   16948 old_archive_cmds_GCJ=$old_archive_cmds
   16949 
   16950 
   16951 lt_prog_compiler_no_builtin_flag_GCJ=
   16952 
   16953 if test "$GCC" = yes; then
   16954   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16955 
   16956 
   16957 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16958 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16959 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16960   $as_echo_n "(cached) " >&6
   16961 else
   16962   lt_cv_prog_compiler_rtti_exceptions=no
   16963   ac_outfile=conftest.$ac_objext
   16964    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16965    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16966    # Insert the option either (1) after the last *FLAGS variable, or
   16967    # (2) before a word containing "conftest.", or (3) at the end.
   16968    # Note that $ac_compile itself does not contain backslashes and begins
   16969    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16970    # The option is referenced via a variable to avoid confusing sed.
   16971    lt_compile=`echo "$ac_compile" | $SED \
   16972    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16973    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16974    -e 's:$: $lt_compiler_flag:'`
   16975    (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
   16976    (eval "$lt_compile" 2>conftest.err)
   16977    ac_status=$?
   16978    cat conftest.err >&5
   16979    echo "$as_me:16979: \$? = $ac_status" >&5
   16980    if (exit $ac_status) && test -s "$ac_outfile"; then
   16981      # The compiler can only warn and ignore the option if not recognized
   16982      # So say no if there are warnings other than the usual output.
   16983      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16984      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16985      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16986        lt_cv_prog_compiler_rtti_exceptions=yes
   16987      fi
   16988    fi
   16989    $rm conftest*
   16990 
   16991 fi
   16992 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16993 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16994 
   16995 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16996     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16997 else
   16998     :
   16999 fi
   17000 
   17001 fi
   17002 
   17003 lt_prog_compiler_wl_GCJ=
   17004 lt_prog_compiler_pic_GCJ=
   17005 lt_prog_compiler_static_GCJ=
   17006 
   17007 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17008 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17009 
   17010   if test "$GCC" = yes; then
   17011     lt_prog_compiler_wl_GCJ='-Wl,'
   17012     lt_prog_compiler_static_GCJ='-static'
   17013 
   17014     case $host_os in
   17015       aix*)
   17016       # All AIX code is PIC.
   17017       if test "$host_cpu" = ia64; then
   17018 	# AIX 5 now supports IA64 processor
   17019 	lt_prog_compiler_static_GCJ='-Bstatic'
   17020       fi
   17021       ;;
   17022 
   17023     amigaos*)
   17024       # FIXME: we need at least 68020 code to build shared libraries, but
   17025       # adding the `-m68020' flag to GCC prevents building anything better,
   17026       # like `-m68040'.
   17027       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17028       ;;
   17029 
   17030     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17031       # PIC is the default for these OSes.
   17032       ;;
   17033 
   17034     mingw* | cygwin* | pw32* | os2*)
   17035       # This hack is so that the source file can tell whether it is being
   17036       # built for inclusion in a dll (and should export symbols for example).
   17037       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17038       # (--disable-auto-import) libraries
   17039 
   17040       ;;
   17041 
   17042     darwin* | rhapsody*)
   17043       # PIC is the default on this platform
   17044       # Common symbols not allowed in MH_DYLIB files
   17045       lt_prog_compiler_pic_GCJ='-fno-common'
   17046       ;;
   17047 
   17048     interix[3-9]*)
   17049       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17050       # Instead, we relocate shared libraries at runtime.
   17051       ;;
   17052 
   17053     msdosdjgpp*)
   17054       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17055       # on systems that don't support them.
   17056       lt_prog_compiler_can_build_shared_GCJ=no
   17057       enable_shared=no
   17058       ;;
   17059 
   17060     sysv4*MP*)
   17061       if test -d /usr/nec; then
   17062 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17063       fi
   17064       ;;
   17065 
   17066     hpux*)
   17067       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17068       # not for PA HP-UX.
   17069       case $host_cpu in
   17070       hppa*64*|ia64*)
   17071 	# +Z the default
   17072 	;;
   17073       *)
   17074 	lt_prog_compiler_pic_GCJ='-fPIC'
   17075 	;;
   17076       esac
   17077       ;;
   17078 
   17079     *)
   17080       lt_prog_compiler_pic_GCJ='-fPIC'
   17081       ;;
   17082     esac
   17083   else
   17084     # PORTME Check for flag to pass linker flags through the system compiler.
   17085     case $host_os in
   17086     aix*)
   17087       lt_prog_compiler_wl_GCJ='-Wl,'
   17088       if test "$host_cpu" = ia64; then
   17089 	# AIX 5 now supports IA64 processor
   17090 	lt_prog_compiler_static_GCJ='-Bstatic'
   17091       else
   17092 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17093       fi
   17094       ;;
   17095       darwin*)
   17096         # PIC is the default on this platform
   17097         # Common symbols not allowed in MH_DYLIB files
   17098        case $cc_basename in
   17099          xlc*)
   17100          lt_prog_compiler_pic_GCJ='-qnocommon'
   17101          lt_prog_compiler_wl_GCJ='-Wl,'
   17102          ;;
   17103        esac
   17104        ;;
   17105 
   17106     mingw* | cygwin* | pw32* | os2*)
   17107       # This hack is so that the source file can tell whether it is being
   17108       # built for inclusion in a dll (and should export symbols for example).
   17109 
   17110       ;;
   17111 
   17112     hpux9* | hpux10* | hpux11*)
   17113       lt_prog_compiler_wl_GCJ='-Wl,'
   17114       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17115       # not for PA HP-UX.
   17116       case $host_cpu in
   17117       hppa*64*|ia64*)
   17118 	# +Z the default
   17119 	;;
   17120       *)
   17121 	lt_prog_compiler_pic_GCJ='+Z'
   17122 	;;
   17123       esac
   17124       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17125       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17126       ;;
   17127 
   17128     irix5* | irix6* | nonstopux*)
   17129       lt_prog_compiler_wl_GCJ='-Wl,'
   17130       # PIC (with -KPIC) is the default.
   17131       lt_prog_compiler_static_GCJ='-non_shared'
   17132       ;;
   17133 
   17134     newsos6)
   17135       lt_prog_compiler_pic_GCJ='-KPIC'
   17136       lt_prog_compiler_static_GCJ='-Bstatic'
   17137       ;;
   17138 
   17139     linux* | k*bsd*-gnu)
   17140       case $cc_basename in
   17141       icc* | ecc*)
   17142 	lt_prog_compiler_wl_GCJ='-Wl,'
   17143 	lt_prog_compiler_pic_GCJ='-KPIC'
   17144 	lt_prog_compiler_static_GCJ='-static'
   17145         ;;
   17146       pgcc* | pgf77* | pgf90* | pgf95*)
   17147         # Portland Group compilers (*not* the Pentium gcc compiler,
   17148 	# which looks to be a dead project)
   17149 	lt_prog_compiler_wl_GCJ='-Wl,'
   17150 	lt_prog_compiler_pic_GCJ='-fpic'
   17151 	lt_prog_compiler_static_GCJ='-Bstatic'
   17152         ;;
   17153       ccc*)
   17154         lt_prog_compiler_wl_GCJ='-Wl,'
   17155         # All Alpha code is PIC.
   17156         lt_prog_compiler_static_GCJ='-non_shared'
   17157         ;;
   17158       *)
   17159         case `$CC -V 2>&1 | sed 5q` in
   17160 	*Sun\ C*)
   17161 	  # Sun C 5.9
   17162 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17163 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17164 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17165 	  ;;
   17166 	*Sun\ F*)
   17167 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17168 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17169 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17170 	  lt_prog_compiler_wl_GCJ=''
   17171 	  ;;
   17172 	esac
   17173 	;;
   17174       esac
   17175       ;;
   17176 
   17177     osf3* | osf4* | osf5*)
   17178       lt_prog_compiler_wl_GCJ='-Wl,'
   17179       # All OSF/1 code is PIC.
   17180       lt_prog_compiler_static_GCJ='-non_shared'
   17181       ;;
   17182 
   17183     rdos*)
   17184       lt_prog_compiler_static_GCJ='-non_shared'
   17185       ;;
   17186 
   17187     solaris*)
   17188       lt_prog_compiler_pic_GCJ='-KPIC'
   17189       lt_prog_compiler_static_GCJ='-Bstatic'
   17190       case $cc_basename in
   17191       f77* | f90* | f95*)
   17192 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17193       *)
   17194 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17195       esac
   17196       ;;
   17197 
   17198     sunos4*)
   17199       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17200       lt_prog_compiler_pic_GCJ='-PIC'
   17201       lt_prog_compiler_static_GCJ='-Bstatic'
   17202       ;;
   17203 
   17204     sysv4 | sysv4.2uw2* | sysv4.3*)
   17205       lt_prog_compiler_wl_GCJ='-Wl,'
   17206       lt_prog_compiler_pic_GCJ='-KPIC'
   17207       lt_prog_compiler_static_GCJ='-Bstatic'
   17208       ;;
   17209 
   17210     sysv4*MP*)
   17211       if test -d /usr/nec ;then
   17212 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17213 	lt_prog_compiler_static_GCJ='-Bstatic'
   17214       fi
   17215       ;;
   17216 
   17217     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17218       lt_prog_compiler_wl_GCJ='-Wl,'
   17219       lt_prog_compiler_pic_GCJ='-KPIC'
   17220       lt_prog_compiler_static_GCJ='-Bstatic'
   17221       ;;
   17222 
   17223     unicos*)
   17224       lt_prog_compiler_wl_GCJ='-Wl,'
   17225       lt_prog_compiler_can_build_shared_GCJ=no
   17226       ;;
   17227 
   17228     uts4*)
   17229       lt_prog_compiler_pic_GCJ='-pic'
   17230       lt_prog_compiler_static_GCJ='-Bstatic'
   17231       ;;
   17232 
   17233     *)
   17234       lt_prog_compiler_can_build_shared_GCJ=no
   17235       ;;
   17236     esac
   17237   fi
   17238 
   17239 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17240 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17241 
   17242 #
   17243 # Check to make sure the PIC flag actually works.
   17244 #
   17245 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17246 
   17247 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17248 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17249 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17250   $as_echo_n "(cached) " >&6
   17251 else
   17252   lt_cv_prog_compiler_pic_works_GCJ=no
   17253   ac_outfile=conftest.$ac_objext
   17254    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17255    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17256    # Insert the option either (1) after the last *FLAGS variable, or
   17257    # (2) before a word containing "conftest.", or (3) at the end.
   17258    # Note that $ac_compile itself does not contain backslashes and begins
   17259    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17260    # The option is referenced via a variable to avoid confusing sed.
   17261    lt_compile=`echo "$ac_compile" | $SED \
   17262    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17263    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17264    -e 's:$: $lt_compiler_flag:'`
   17265    (eval echo "\"\$as_me:17265: $lt_compile\"" >&5)
   17266    (eval "$lt_compile" 2>conftest.err)
   17267    ac_status=$?
   17268    cat conftest.err >&5
   17269    echo "$as_me:17269: \$? = $ac_status" >&5
   17270    if (exit $ac_status) && test -s "$ac_outfile"; then
   17271      # The compiler can only warn and ignore the option if not recognized
   17272      # So say no if there are warnings other than the usual output.
   17273      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17274      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17275      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17276        lt_cv_prog_compiler_pic_works_GCJ=yes
   17277      fi
   17278    fi
   17279    $rm conftest*
   17280 
   17281 fi
   17282 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17283 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17284 
   17285 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17286     case $lt_prog_compiler_pic_GCJ in
   17287      "" | " "*) ;;
   17288      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17289      esac
   17290 else
   17291     lt_prog_compiler_pic_GCJ=
   17292      lt_prog_compiler_can_build_shared_GCJ=no
   17293 fi
   17294 
   17295 fi
   17296 case $host_os in
   17297   # For platforms which do not support PIC, -DPIC is meaningless:
   17298   *djgpp*)
   17299     lt_prog_compiler_pic_GCJ=
   17300     ;;
   17301   *)
   17302     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17303     ;;
   17304 esac
   17305 
   17306 #
   17307 # Check to make sure the static flag actually works.
   17308 #
   17309 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17310 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17311 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17312 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17313   $as_echo_n "(cached) " >&6
   17314 else
   17315   lt_cv_prog_compiler_static_works_GCJ=no
   17316    save_LDFLAGS="$LDFLAGS"
   17317    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17318    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17319    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17320      # The linker can only warn and ignore the option if not recognized
   17321      # So say no if there are warnings
   17322      if test -s conftest.err; then
   17323        # Append any errors to the config.log.
   17324        cat conftest.err 1>&5
   17325        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17326        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17327        if diff conftest.exp conftest.er2 >/dev/null; then
   17328          lt_cv_prog_compiler_static_works_GCJ=yes
   17329        fi
   17330      else
   17331        lt_cv_prog_compiler_static_works_GCJ=yes
   17332      fi
   17333    fi
   17334    $rm -r conftest*
   17335    LDFLAGS="$save_LDFLAGS"
   17336 
   17337 fi
   17338 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17339 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17340 
   17341 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17342     :
   17343 else
   17344     lt_prog_compiler_static_GCJ=
   17345 fi
   17346 
   17347 
   17348 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17349 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17350 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17351   $as_echo_n "(cached) " >&6
   17352 else
   17353   lt_cv_prog_compiler_c_o_GCJ=no
   17354    $rm -r conftest 2>/dev/null
   17355    mkdir conftest
   17356    cd conftest
   17357    mkdir out
   17358    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17359 
   17360    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17361    # Insert the option either (1) after the last *FLAGS variable, or
   17362    # (2) before a word containing "conftest.", or (3) at the end.
   17363    # Note that $ac_compile itself does not contain backslashes and begins
   17364    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17365    lt_compile=`echo "$ac_compile" | $SED \
   17366    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17367    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17368    -e 's:$: $lt_compiler_flag:'`
   17369    (eval echo "\"\$as_me:17369: $lt_compile\"" >&5)
   17370    (eval "$lt_compile" 2>out/conftest.err)
   17371    ac_status=$?
   17372    cat out/conftest.err >&5
   17373    echo "$as_me:17373: \$? = $ac_status" >&5
   17374    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17375    then
   17376      # The compiler can only warn and ignore the option if not recognized
   17377      # So say no if there are warnings
   17378      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17379      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17380      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17381        lt_cv_prog_compiler_c_o_GCJ=yes
   17382      fi
   17383    fi
   17384    chmod u+w . 2>&5
   17385    $rm conftest*
   17386    # SGI C++ compiler will create directory out/ii_files/ for
   17387    # template instantiation
   17388    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17389    $rm out/* && rmdir out
   17390    cd ..
   17391    rmdir conftest
   17392    $rm conftest*
   17393 
   17394 fi
   17395 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17396 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17397 
   17398 
   17399 hard_links="nottested"
   17400 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17401   # do not overwrite the value of need_locks provided by the user
   17402   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17403 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17404   hard_links=yes
   17405   $rm conftest*
   17406   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17407   touch conftest.a
   17408   ln conftest.a conftest.b 2>&5 || hard_links=no
   17409   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17410   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17411 $as_echo "$hard_links" >&6; }
   17412   if test "$hard_links" = no; then
   17413     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17414 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17415     need_locks=warn
   17416   fi
   17417 else
   17418   need_locks=no
   17419 fi
   17420 
   17421 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17422 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17423 
   17424   runpath_var=
   17425   allow_undefined_flag_GCJ=
   17426   enable_shared_with_static_runtimes_GCJ=no
   17427   archive_cmds_GCJ=
   17428   archive_expsym_cmds_GCJ=
   17429   old_archive_From_new_cmds_GCJ=
   17430   old_archive_from_expsyms_cmds_GCJ=
   17431   export_dynamic_flag_spec_GCJ=
   17432   whole_archive_flag_spec_GCJ=
   17433   thread_safe_flag_spec_GCJ=
   17434   hardcode_libdir_flag_spec_GCJ=
   17435   hardcode_libdir_flag_spec_ld_GCJ=
   17436   hardcode_libdir_separator_GCJ=
   17437   hardcode_direct_GCJ=no
   17438   hardcode_minus_L_GCJ=no
   17439   hardcode_shlibpath_var_GCJ=unsupported
   17440   link_all_deplibs_GCJ=unknown
   17441   hardcode_automatic_GCJ=no
   17442   module_cmds_GCJ=
   17443   module_expsym_cmds_GCJ=
   17444   always_export_symbols_GCJ=no
   17445   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17446   # include_expsyms should be a list of space-separated symbols to be *always*
   17447   # included in the symbol list
   17448   include_expsyms_GCJ=
   17449   # exclude_expsyms can be an extended regexp of symbols to exclude
   17450   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17451   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17452   # as well as any symbol that contains `d'.
   17453   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17454   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17455   # platforms (ab)use it in PIC code, but their linkers get confused if
   17456   # the symbol is explicitly referenced.  Since portable code cannot
   17457   # rely on this symbol name, it's probably fine to never include it in
   17458   # preloaded symbol tables.
   17459   # Exclude shared library initialization/finalization symbols.
   17460   extract_expsyms_cmds=
   17461   # Just being paranoid about ensuring that cc_basename is set.
   17462   for cc_temp in $compiler""; do
   17463   case $cc_temp in
   17464     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17465     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17466     \-*) ;;
   17467     *) break;;
   17468   esac
   17469 done
   17470 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17471 
   17472   case $host_os in
   17473   cygwin* | mingw* | pw32*)
   17474     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17475     # When not using gcc, we currently assume that we are using
   17476     # Microsoft Visual C++.
   17477     if test "$GCC" != yes; then
   17478       with_gnu_ld=no
   17479     fi
   17480     ;;
   17481   interix*)
   17482     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17483     with_gnu_ld=yes
   17484     ;;
   17485   openbsd*)
   17486     with_gnu_ld=no
   17487     ;;
   17488   esac
   17489 
   17490   ld_shlibs_GCJ=yes
   17491   if test "$with_gnu_ld" = yes; then
   17492     # If archive_cmds runs LD, not CC, wlarc should be empty
   17493     wlarc='${wl}'
   17494 
   17495     # Set some defaults for GNU ld with shared library support. These
   17496     # are reset later if shared libraries are not supported. Putting them
   17497     # here allows them to be overridden if necessary.
   17498     runpath_var=LD_RUN_PATH
   17499     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17500     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17501     # ancient GNU ld didn't support --whole-archive et. al.
   17502     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17503 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17504       else
   17505   	whole_archive_flag_spec_GCJ=
   17506     fi
   17507     supports_anon_versioning=no
   17508     case `$LD -v 2>/dev/null` in
   17509       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17510       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17511       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17512       *\ 2.11.*) ;; # other 2.11 versions
   17513       *) supports_anon_versioning=yes ;;
   17514     esac
   17515 
   17516     # See if GNU ld supports shared libraries.
   17517     case $host_os in
   17518     aix[3-9]*)
   17519       # On AIX/PPC, the GNU linker is very broken
   17520       if test "$host_cpu" != ia64; then
   17521 	ld_shlibs_GCJ=no
   17522 	cat <<EOF 1>&2
   17523 
   17524 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17525 *** to be unable to reliably create shared libraries on AIX.
   17526 *** Therefore, libtool is disabling shared libraries support.  If you
   17527 *** really care for shared libraries, you may want to modify your PATH
   17528 *** so that a non-GNU linker is found, and then restart.
   17529 
   17530 EOF
   17531       fi
   17532       ;;
   17533 
   17534     amigaos*)
   17535       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)'
   17536       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17537       hardcode_minus_L_GCJ=yes
   17538 
   17539       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17540       # that the semantics of dynamic libraries on AmigaOS, at least up
   17541       # to version 4, is to share data among multiple programs linked
   17542       # with the same dynamic library.  Since this doesn't match the
   17543       # behavior of shared libraries on other platforms, we can't use
   17544       # them.
   17545       ld_shlibs_GCJ=no
   17546       ;;
   17547 
   17548     beos*)
   17549       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17550 	allow_undefined_flag_GCJ=unsupported
   17551 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17552 	# support --undefined.  This deserves some investigation.  FIXME
   17553 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17554       else
   17555 	ld_shlibs_GCJ=no
   17556       fi
   17557       ;;
   17558 
   17559     cygwin* | mingw* | pw32*)
   17560       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17561       # as there is no search path for DLLs.
   17562       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17563       allow_undefined_flag_GCJ=unsupported
   17564       always_export_symbols_GCJ=no
   17565       enable_shared_with_static_runtimes_GCJ=yes
   17566       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17567 
   17568       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17569         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17570 	# If the export-symbols file already is a .def file (1st line
   17571 	# is EXPORTS), use it as is; otherwise, prepend...
   17572 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17573 	  cp $export_symbols $output_objdir/$soname.def;
   17574 	else
   17575 	  echo EXPORTS > $output_objdir/$soname.def;
   17576 	  cat $export_symbols >> $output_objdir/$soname.def;
   17577 	fi~
   17578 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17579       else
   17580 	ld_shlibs_GCJ=no
   17581       fi
   17582       ;;
   17583 
   17584     interix[3-9]*)
   17585       hardcode_direct_GCJ=no
   17586       hardcode_shlibpath_var_GCJ=no
   17587       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17588       export_dynamic_flag_spec_GCJ='${wl}-E'
   17589       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17590       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17591       # default) and relocated if they conflict, which is a slow very memory
   17592       # consuming and fragmenting process.  To avoid this, we pick a random,
   17593       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17594       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17595       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'
   17596       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'
   17597       ;;
   17598 
   17599     gnu* | linux* | k*bsd*-gnu)
   17600       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17601 	tmp_addflag=
   17602 	case $cc_basename,$host_cpu in
   17603 	pgcc*)				# Portland Group C compiler
   17604 	  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'
   17605 	  tmp_addflag=' $pic_flag'
   17606 	  ;;
   17607 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17608 	  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'
   17609 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17610 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17611 	  tmp_addflag=' -i_dynamic' ;;
   17612 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17613 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17614 	ifc* | ifort*)			# Intel Fortran compiler
   17615 	  tmp_addflag=' -nofor_main' ;;
   17616 	esac
   17617 	case `$CC -V 2>&1 | sed 5q` in
   17618 	*Sun\ C*)			# Sun C 5.9
   17619 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17620 	  tmp_sharedflag='-G' ;;
   17621 	*Sun\ F*)			# Sun Fortran 8.3
   17622 	  tmp_sharedflag='-G' ;;
   17623 	*)
   17624 	  tmp_sharedflag='-shared' ;;
   17625 	esac
   17626 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17627 
   17628 	if test $supports_anon_versioning = yes; then
   17629 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17630   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17631   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17632 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17633 	fi
   17634       else
   17635 	ld_shlibs_GCJ=no
   17636       fi
   17637       ;;
   17638 
   17639     netbsd*)
   17640       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17641 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17642 	wlarc=
   17643       else
   17644 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17645 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17646       fi
   17647       ;;
   17648 
   17649     solaris*)
   17650       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17651 	ld_shlibs_GCJ=no
   17652 	cat <<EOF 1>&2
   17653 
   17654 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17655 *** create shared libraries on Solaris systems.  Therefore, libtool
   17656 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17657 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17658 *** your PATH or compiler configuration so that the native linker is
   17659 *** used, and then restart.
   17660 
   17661 EOF
   17662       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17663 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17664 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17665       else
   17666 	ld_shlibs_GCJ=no
   17667       fi
   17668       ;;
   17669 
   17670     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17671       case `$LD -v 2>&1` in
   17672         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17673 	ld_shlibs_GCJ=no
   17674 	cat <<_LT_EOF 1>&2
   17675 
   17676 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17677 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17678 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17679 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17680 *** your PATH or compiler configuration so that the native linker is
   17681 *** used, and then restart.
   17682 
   17683 _LT_EOF
   17684 	;;
   17685 	*)
   17686 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17687 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17688 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17689 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17690 	  else
   17691 	    ld_shlibs_GCJ=no
   17692 	  fi
   17693 	;;
   17694       esac
   17695       ;;
   17696 
   17697     sunos4*)
   17698       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17699       wlarc=
   17700       hardcode_direct_GCJ=yes
   17701       hardcode_shlibpath_var_GCJ=no
   17702       ;;
   17703 
   17704     *)
   17705       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17706 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17707 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17708       else
   17709 	ld_shlibs_GCJ=no
   17710       fi
   17711       ;;
   17712     esac
   17713 
   17714     if test "$ld_shlibs_GCJ" = no; then
   17715       runpath_var=
   17716       hardcode_libdir_flag_spec_GCJ=
   17717       export_dynamic_flag_spec_GCJ=
   17718       whole_archive_flag_spec_GCJ=
   17719     fi
   17720   else
   17721     # PORTME fill in a description of your system's linker (not GNU ld)
   17722     case $host_os in
   17723     aix3*)
   17724       allow_undefined_flag_GCJ=unsupported
   17725       always_export_symbols_GCJ=yes
   17726       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'
   17727       # Note: this linker hardcodes the directories in LIBPATH if there
   17728       # are no directories specified by -L.
   17729       hardcode_minus_L_GCJ=yes
   17730       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17731 	# Neither direct hardcoding nor static linking is supported with a
   17732 	# broken collect2.
   17733 	hardcode_direct_GCJ=unsupported
   17734       fi
   17735       ;;
   17736 
   17737     aix[4-9]*)
   17738       if test "$host_cpu" = ia64; then
   17739 	# On IA64, the linker does run time linking by default, so we don't
   17740 	# have to do anything special.
   17741 	aix_use_runtimelinking=no
   17742 	exp_sym_flag='-Bexport'
   17743 	no_entry_flag=""
   17744       else
   17745 	# If we're using GNU nm, then we don't want the "-C" option.
   17746 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17747 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17748 	  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'
   17749 	else
   17750 	  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'
   17751 	fi
   17752 	aix_use_runtimelinking=no
   17753 
   17754 	# Test if we are trying to use run time linking or normal
   17755 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17756 	# need to do runtime linking.
   17757 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17758 	  for ld_flag in $LDFLAGS; do
   17759   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17760   	    aix_use_runtimelinking=yes
   17761   	    break
   17762   	  fi
   17763 	  done
   17764 	  ;;
   17765 	esac
   17766 
   17767 	exp_sym_flag='-bexport'
   17768 	no_entry_flag='-bnoentry'
   17769       fi
   17770 
   17771       # When large executables or shared objects are built, AIX ld can
   17772       # have problems creating the table of contents.  If linking a library
   17773       # or program results in "error TOC overflow" add -mminimal-toc to
   17774       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17775       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17776 
   17777       archive_cmds_GCJ=''
   17778       hardcode_direct_GCJ=yes
   17779       hardcode_libdir_separator_GCJ=':'
   17780       link_all_deplibs_GCJ=yes
   17781 
   17782       if test "$GCC" = yes; then
   17783 	case $host_os in aix4.[012]|aix4.[012].*)
   17784 	# We only want to do this on AIX 4.2 and lower, the check
   17785 	# below for broken collect2 doesn't work under 4.3+
   17786 	  collect2name=`${CC} -print-prog-name=collect2`
   17787 	  if test -f "$collect2name" && \
   17788   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17789 	  then
   17790   	  # We have reworked collect2
   17791   	  :
   17792 	  else
   17793   	  # We have old collect2
   17794   	  hardcode_direct_GCJ=unsupported
   17795   	  # It fails to find uninstalled libraries when the uninstalled
   17796   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17797   	  # to unsupported forces relinking
   17798   	  hardcode_minus_L_GCJ=yes
   17799   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17800   	  hardcode_libdir_separator_GCJ=
   17801 	  fi
   17802 	  ;;
   17803 	esac
   17804 	shared_flag='-shared'
   17805 	if test "$aix_use_runtimelinking" = yes; then
   17806 	  shared_flag="$shared_flag "'${wl}-G'
   17807 	fi
   17808       else
   17809 	# not using gcc
   17810 	if test "$host_cpu" = ia64; then
   17811   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17812   	# chokes on -Wl,-G. The following line is correct:
   17813 	  shared_flag='-G'
   17814 	else
   17815 	  if test "$aix_use_runtimelinking" = yes; then
   17816 	    shared_flag='${wl}-G'
   17817 	  else
   17818 	    shared_flag='${wl}-bM:SRE'
   17819 	  fi
   17820 	fi
   17821       fi
   17822 
   17823       # It seems that -bexpall does not export symbols beginning with
   17824       # underscore (_), so it is better to generate a list of symbols to export.
   17825       always_export_symbols_GCJ=yes
   17826       if test "$aix_use_runtimelinking" = yes; then
   17827 	# Warning - without using the other runtime loading flags (-brtl),
   17828 	# -berok will link without error, but may produce a broken library.
   17829 	allow_undefined_flag_GCJ='-berok'
   17830        # Determine the default libpath from the value encoded in an empty executable.
   17831        cat >conftest.$ac_ext <<_ACEOF
   17832 /* confdefs.h.  */
   17833 _ACEOF
   17834 cat confdefs.h >>conftest.$ac_ext
   17835 cat >>conftest.$ac_ext <<_ACEOF
   17836 /* end confdefs.h.  */
   17837 
   17838 int
   17839 main ()
   17840 {
   17841 
   17842   ;
   17843   return 0;
   17844 }
   17845 _ACEOF
   17846 rm -f conftest.$ac_objext conftest$ac_exeext
   17847 if { (ac_try="$ac_link"
   17848 case "(($ac_try" in
   17849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17850   *) ac_try_echo=$ac_try;;
   17851 esac
   17852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17853 $as_echo "$ac_try_echo") >&5
   17854   (eval "$ac_link") 2>conftest.er1
   17855   ac_status=$?
   17856   grep -v '^ *+' conftest.er1 >conftest.err
   17857   rm -f conftest.er1
   17858   cat conftest.err >&5
   17859   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17860   (exit $ac_status); } && {
   17861 	 test -z "$ac_c_werror_flag" ||
   17862 	 test ! -s conftest.err
   17863        } && test -s conftest$ac_exeext && {
   17864 	 test "$cross_compiling" = yes ||
   17865 	 $as_test_x conftest$ac_exeext
   17866        }; then
   17867 
   17868 lt_aix_libpath_sed='
   17869     /Import File Strings/,/^$/ {
   17870 	/^0/ {
   17871 	    s/^0  *\(.*\)$/\1/
   17872 	    p
   17873 	}
   17874     }'
   17875 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17876 # Check for a 64-bit object if we didn't find anything.
   17877 if test -z "$aix_libpath"; then
   17878   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17879 fi
   17880 else
   17881   $as_echo "$as_me: failed program was:" >&5
   17882 sed 's/^/| /' conftest.$ac_ext >&5
   17883 
   17884 
   17885 fi
   17886 
   17887 rm -rf conftest.dSYM
   17888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17889       conftest$ac_exeext conftest.$ac_ext
   17890 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17891 
   17892        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17893 	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"
   17894        else
   17895 	if test "$host_cpu" = ia64; then
   17896 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17897 	  allow_undefined_flag_GCJ="-z nodefs"
   17898 	  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"
   17899 	else
   17900 	 # Determine the default libpath from the value encoded in an empty executable.
   17901 	 cat >conftest.$ac_ext <<_ACEOF
   17902 /* confdefs.h.  */
   17903 _ACEOF
   17904 cat confdefs.h >>conftest.$ac_ext
   17905 cat >>conftest.$ac_ext <<_ACEOF
   17906 /* end confdefs.h.  */
   17907 
   17908 int
   17909 main ()
   17910 {
   17911 
   17912   ;
   17913   return 0;
   17914 }
   17915 _ACEOF
   17916 rm -f conftest.$ac_objext conftest$ac_exeext
   17917 if { (ac_try="$ac_link"
   17918 case "(($ac_try" in
   17919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17920   *) ac_try_echo=$ac_try;;
   17921 esac
   17922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17923 $as_echo "$ac_try_echo") >&5
   17924   (eval "$ac_link") 2>conftest.er1
   17925   ac_status=$?
   17926   grep -v '^ *+' conftest.er1 >conftest.err
   17927   rm -f conftest.er1
   17928   cat conftest.err >&5
   17929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17930   (exit $ac_status); } && {
   17931 	 test -z "$ac_c_werror_flag" ||
   17932 	 test ! -s conftest.err
   17933        } && test -s conftest$ac_exeext && {
   17934 	 test "$cross_compiling" = yes ||
   17935 	 $as_test_x conftest$ac_exeext
   17936        }; then
   17937 
   17938 lt_aix_libpath_sed='
   17939     /Import File Strings/,/^$/ {
   17940 	/^0/ {
   17941 	    s/^0  *\(.*\)$/\1/
   17942 	    p
   17943 	}
   17944     }'
   17945 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17946 # Check for a 64-bit object if we didn't find anything.
   17947 if test -z "$aix_libpath"; then
   17948   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17949 fi
   17950 else
   17951   $as_echo "$as_me: failed program was:" >&5
   17952 sed 's/^/| /' conftest.$ac_ext >&5
   17953 
   17954 
   17955 fi
   17956 
   17957 rm -rf conftest.dSYM
   17958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17959       conftest$ac_exeext conftest.$ac_ext
   17960 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17961 
   17962 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17963 	  # Warning - without using the other run time loading flags,
   17964 	  # -berok will link without error, but may produce a broken library.
   17965 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17966 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17967 	  # Exported symbols can be pulled into shared objects from archives
   17968 	  whole_archive_flag_spec_GCJ='$convenience'
   17969 	  archive_cmds_need_lc_GCJ=yes
   17970 	  # This is similar to how AIX traditionally builds its shared libraries.
   17971 	  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'
   17972 	fi
   17973       fi
   17974       ;;
   17975 
   17976     amigaos*)
   17977       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)'
   17978       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17979       hardcode_minus_L_GCJ=yes
   17980       # see comment about different semantics on the GNU ld section
   17981       ld_shlibs_GCJ=no
   17982       ;;
   17983 
   17984     bsdi[45]*)
   17985       export_dynamic_flag_spec_GCJ=-rdynamic
   17986       ;;
   17987 
   17988     cygwin* | mingw* | pw32*)
   17989       # When not using gcc, we currently assume that we are using
   17990       # Microsoft Visual C++.
   17991       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17992       # no search path for DLLs.
   17993       hardcode_libdir_flag_spec_GCJ=' '
   17994       allow_undefined_flag_GCJ=unsupported
   17995       # Tell ltmain to make .lib files, not .a files.
   17996       libext=lib
   17997       # Tell ltmain to make .dll files, not .so files.
   17998       shrext_cmds=".dll"
   17999       # FIXME: Setting linknames here is a bad hack.
   18000       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18001       # The linker will automatically build a .lib file if we build a DLL.
   18002       old_archive_From_new_cmds_GCJ='true'
   18003       # FIXME: Should let the user specify the lib program.
   18004       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18005       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18006       enable_shared_with_static_runtimes_GCJ=yes
   18007       ;;
   18008 
   18009     darwin* | rhapsody*)
   18010       case $host_os in
   18011         rhapsody* | darwin1.[012])
   18012          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18013          ;;
   18014        *) # Darwin 1.3 on
   18015          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18016            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18017          else
   18018            case ${MACOSX_DEPLOYMENT_TARGET} in
   18019              10.[012])
   18020                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18021                ;;
   18022              10.*)
   18023                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18024                ;;
   18025            esac
   18026          fi
   18027          ;;
   18028       esac
   18029       archive_cmds_need_lc_GCJ=no
   18030       hardcode_direct_GCJ=no
   18031       hardcode_automatic_GCJ=yes
   18032       hardcode_shlibpath_var_GCJ=unsupported
   18033       whole_archive_flag_spec_GCJ=''
   18034       link_all_deplibs_GCJ=yes
   18035     if test "$GCC" = yes ; then
   18036     	output_verbose_link_cmd='echo'
   18037         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   18038         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18039         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   18040         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   18041     else
   18042       case $cc_basename in
   18043         xlc*)
   18044          output_verbose_link_cmd='echo'
   18045          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18046          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18047           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18048          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   18049           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}'
   18050           ;;
   18051        *)
   18052          ld_shlibs_GCJ=no
   18053           ;;
   18054       esac
   18055     fi
   18056       ;;
   18057 
   18058     dgux*)
   18059       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18060       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18061       hardcode_shlibpath_var_GCJ=no
   18062       ;;
   18063 
   18064     freebsd1*)
   18065       ld_shlibs_GCJ=no
   18066       ;;
   18067 
   18068     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18069     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18070     # does not break anything, and helps significantly (at the cost of a little
   18071     # extra space).
   18072     freebsd2.2*)
   18073       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18074       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18075       hardcode_direct_GCJ=yes
   18076       hardcode_shlibpath_var_GCJ=no
   18077       ;;
   18078 
   18079     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18080     freebsd2*)
   18081       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18082       hardcode_direct_GCJ=yes
   18083       hardcode_minus_L_GCJ=yes
   18084       hardcode_shlibpath_var_GCJ=no
   18085       ;;
   18086 
   18087     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18088     freebsd* | dragonfly*)
   18089       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18090       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18091       hardcode_direct_GCJ=yes
   18092       hardcode_shlibpath_var_GCJ=no
   18093       ;;
   18094 
   18095     hpux9*)
   18096       if test "$GCC" = yes; then
   18097 	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'
   18098       else
   18099 	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'
   18100       fi
   18101       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18102       hardcode_libdir_separator_GCJ=:
   18103       hardcode_direct_GCJ=yes
   18104 
   18105       # hardcode_minus_L: Not really in the search PATH,
   18106       # but as the default location of the library.
   18107       hardcode_minus_L_GCJ=yes
   18108       export_dynamic_flag_spec_GCJ='${wl}-E'
   18109       ;;
   18110 
   18111     hpux10*)
   18112       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18113 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18114       else
   18115 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18116       fi
   18117       if test "$with_gnu_ld" = no; then
   18118 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18119 	hardcode_libdir_separator_GCJ=:
   18120 
   18121 	hardcode_direct_GCJ=yes
   18122 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18123 
   18124 	# hardcode_minus_L: Not really in the search PATH,
   18125 	# but as the default location of the library.
   18126 	hardcode_minus_L_GCJ=yes
   18127       fi
   18128       ;;
   18129 
   18130     hpux11*)
   18131       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18132 	case $host_cpu in
   18133 	hppa*64*)
   18134 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18135 	  ;;
   18136 	ia64*)
   18137 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18138 	  ;;
   18139 	*)
   18140 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18141 	  ;;
   18142 	esac
   18143       else
   18144 	case $host_cpu in
   18145 	hppa*64*)
   18146 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18147 	  ;;
   18148 	ia64*)
   18149 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18150 	  ;;
   18151 	*)
   18152 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18153 	  ;;
   18154 	esac
   18155       fi
   18156       if test "$with_gnu_ld" = no; then
   18157 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18158 	hardcode_libdir_separator_GCJ=:
   18159 
   18160 	case $host_cpu in
   18161 	hppa*64*|ia64*)
   18162 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18163 	  hardcode_direct_GCJ=no
   18164 	  hardcode_shlibpath_var_GCJ=no
   18165 	  ;;
   18166 	*)
   18167 	  hardcode_direct_GCJ=yes
   18168 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18169 
   18170 	  # hardcode_minus_L: Not really in the search PATH,
   18171 	  # but as the default location of the library.
   18172 	  hardcode_minus_L_GCJ=yes
   18173 	  ;;
   18174 	esac
   18175       fi
   18176       ;;
   18177 
   18178     irix5* | irix6* | nonstopux*)
   18179       if test "$GCC" = yes; then
   18180 	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'
   18181       else
   18182 	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'
   18183 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18184       fi
   18185       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18186       hardcode_libdir_separator_GCJ=:
   18187       link_all_deplibs_GCJ=yes
   18188       ;;
   18189 
   18190     netbsd*)
   18191       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18192 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18193       else
   18194 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18195       fi
   18196       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18197       hardcode_direct_GCJ=yes
   18198       hardcode_shlibpath_var_GCJ=no
   18199       ;;
   18200 
   18201     newsos6)
   18202       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18203       hardcode_direct_GCJ=yes
   18204       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18205       hardcode_libdir_separator_GCJ=:
   18206       hardcode_shlibpath_var_GCJ=no
   18207       ;;
   18208 
   18209     openbsd*)
   18210       if test -f /usr/libexec/ld.so; then
   18211 	hardcode_direct_GCJ=yes
   18212 	hardcode_shlibpath_var_GCJ=no
   18213 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18214 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18215 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18216 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18217 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18218 	else
   18219 	  case $host_os in
   18220 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18221 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18222 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18223 	     ;;
   18224 	   *)
   18225 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18226 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18227 	     ;;
   18228 	  esac
   18229         fi
   18230       else
   18231 	ld_shlibs_GCJ=no
   18232       fi
   18233       ;;
   18234 
   18235     os2*)
   18236       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18237       hardcode_minus_L_GCJ=yes
   18238       allow_undefined_flag_GCJ=unsupported
   18239       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'
   18240       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18241       ;;
   18242 
   18243     osf3*)
   18244       if test "$GCC" = yes; then
   18245 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18246 	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'
   18247       else
   18248 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18249 	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'
   18250       fi
   18251       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18252       hardcode_libdir_separator_GCJ=:
   18253       ;;
   18254 
   18255     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18256       if test "$GCC" = yes; then
   18257 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18258 	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'
   18259 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18260       else
   18261 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18262 	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'
   18263 	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~
   18264 	$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'
   18265 
   18266 	# Both c and cxx compiler support -rpath directly
   18267 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18268       fi
   18269       hardcode_libdir_separator_GCJ=:
   18270       ;;
   18271 
   18272     solaris*)
   18273       no_undefined_flag_GCJ=' -z text'
   18274       if test "$GCC" = yes; then
   18275 	wlarc='${wl}'
   18276 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18277 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18278 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18279       else
   18280 	wlarc=''
   18281 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18282 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18283   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18284       fi
   18285       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18286       hardcode_shlibpath_var_GCJ=no
   18287       case $host_os in
   18288       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18289       *)
   18290 	# The compiler driver will combine and reorder linker options,
   18291 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18292 	# but is careful enough not to reorder.
   18293  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18294 	if test "$GCC" = yes; then
   18295 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18296 	else
   18297 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18298 	fi
   18299 	;;
   18300       esac
   18301       link_all_deplibs_GCJ=yes
   18302       ;;
   18303 
   18304     sunos4*)
   18305       if test "x$host_vendor" = xsequent; then
   18306 	# Use $CC to link under sequent, because it throws in some extra .o
   18307 	# files that make .init and .fini sections work.
   18308 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18309       else
   18310 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18311       fi
   18312       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18313       hardcode_direct_GCJ=yes
   18314       hardcode_minus_L_GCJ=yes
   18315       hardcode_shlibpath_var_GCJ=no
   18316       ;;
   18317 
   18318     sysv4)
   18319       case $host_vendor in
   18320 	sni)
   18321 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18322 	  hardcode_direct_GCJ=yes # is this really true???
   18323 	;;
   18324 	siemens)
   18325 	  ## LD is ld it makes a PLAMLIB
   18326 	  ## CC just makes a GrossModule.
   18327 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18328 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18329 	  hardcode_direct_GCJ=no
   18330         ;;
   18331 	motorola)
   18332 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18333 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18334 	;;
   18335       esac
   18336       runpath_var='LD_RUN_PATH'
   18337       hardcode_shlibpath_var_GCJ=no
   18338       ;;
   18339 
   18340     sysv4.3*)
   18341       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18342       hardcode_shlibpath_var_GCJ=no
   18343       export_dynamic_flag_spec_GCJ='-Bexport'
   18344       ;;
   18345 
   18346     sysv4*MP*)
   18347       if test -d /usr/nec; then
   18348 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18349 	hardcode_shlibpath_var_GCJ=no
   18350 	runpath_var=LD_RUN_PATH
   18351 	hardcode_runpath_var=yes
   18352 	ld_shlibs_GCJ=yes
   18353       fi
   18354       ;;
   18355 
   18356     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18357       no_undefined_flag_GCJ='${wl}-z,text'
   18358       archive_cmds_need_lc_GCJ=no
   18359       hardcode_shlibpath_var_GCJ=no
   18360       runpath_var='LD_RUN_PATH'
   18361 
   18362       if test "$GCC" = yes; then
   18363 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18364 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18365       else
   18366 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18367 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18368       fi
   18369       ;;
   18370 
   18371     sysv5* | sco3.2v5* | sco5v6*)
   18372       # Note: We can NOT use -z defs as we might desire, because we do not
   18373       # link with -lc, and that would cause any symbols used from libc to
   18374       # always be unresolved, which means just about no library would
   18375       # ever link correctly.  If we're not using GNU ld we use -z text
   18376       # though, which does catch some bad symbols but isn't as heavy-handed
   18377       # as -z defs.
   18378       no_undefined_flag_GCJ='${wl}-z,text'
   18379       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18380       archive_cmds_need_lc_GCJ=no
   18381       hardcode_shlibpath_var_GCJ=no
   18382       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18383       hardcode_libdir_separator_GCJ=':'
   18384       link_all_deplibs_GCJ=yes
   18385       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18386       runpath_var='LD_RUN_PATH'
   18387 
   18388       if test "$GCC" = yes; then
   18389 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18390 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18391       else
   18392 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18393 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18394       fi
   18395       ;;
   18396 
   18397     uts4*)
   18398       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18399       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18400       hardcode_shlibpath_var_GCJ=no
   18401       ;;
   18402 
   18403     *)
   18404       ld_shlibs_GCJ=no
   18405       ;;
   18406     esac
   18407   fi
   18408 
   18409 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18410 $as_echo "$ld_shlibs_GCJ" >&6; }
   18411 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18412 
   18413 #
   18414 # Do we need to explicitly link libc?
   18415 #
   18416 case "x$archive_cmds_need_lc_GCJ" in
   18417 x|xyes)
   18418   # Assume -lc should be added
   18419   archive_cmds_need_lc_GCJ=yes
   18420 
   18421   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18422     case $archive_cmds_GCJ in
   18423     *'~'*)
   18424       # FIXME: we may have to deal with multi-command sequences.
   18425       ;;
   18426     '$CC '*)
   18427       # Test whether the compiler implicitly links with -lc since on some
   18428       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18429       # to ld, don't add -lc before -lgcc.
   18430       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18431 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18432       $rm conftest*
   18433       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18434 
   18435       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18436   (eval $ac_compile) 2>&5
   18437   ac_status=$?
   18438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18439   (exit $ac_status); } 2>conftest.err; then
   18440         soname=conftest
   18441         lib=conftest
   18442         libobjs=conftest.$ac_objext
   18443         deplibs=
   18444         wl=$lt_prog_compiler_wl_GCJ
   18445 	pic_flag=$lt_prog_compiler_pic_GCJ
   18446         compiler_flags=-v
   18447         linker_flags=-v
   18448         verstring=
   18449         output_objdir=.
   18450         libname=conftest
   18451         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18452         allow_undefined_flag_GCJ=
   18453         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18454   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18455   ac_status=$?
   18456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18457   (exit $ac_status); }
   18458         then
   18459 	  archive_cmds_need_lc_GCJ=no
   18460         else
   18461 	  archive_cmds_need_lc_GCJ=yes
   18462         fi
   18463         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18464       else
   18465         cat conftest.err 1>&5
   18466       fi
   18467       $rm conftest*
   18468       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18469 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18470       ;;
   18471     esac
   18472   fi
   18473   ;;
   18474 esac
   18475 
   18476 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18477 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18478 library_names_spec=
   18479 libname_spec='lib$name'
   18480 soname_spec=
   18481 shrext_cmds=".so"
   18482 postinstall_cmds=
   18483 postuninstall_cmds=
   18484 finish_cmds=
   18485 finish_eval=
   18486 shlibpath_var=
   18487 shlibpath_overrides_runpath=unknown
   18488 version_type=none
   18489 dynamic_linker="$host_os ld.so"
   18490 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18491 
   18492 need_lib_prefix=unknown
   18493 hardcode_into_libs=no
   18494 
   18495 # when you set need_version to no, make sure it does not cause -set_version
   18496 # flags to be left without arguments
   18497 need_version=unknown
   18498 
   18499 case $host_os in
   18500 aix3*)
   18501   version_type=linux
   18502   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18503   shlibpath_var=LIBPATH
   18504 
   18505   # AIX 3 has no versioning support, so we append a major version to the name.
   18506   soname_spec='${libname}${release}${shared_ext}$major'
   18507   ;;
   18508 
   18509 aix[4-9]*)
   18510   version_type=linux
   18511   need_lib_prefix=no
   18512   need_version=no
   18513   hardcode_into_libs=yes
   18514   if test "$host_cpu" = ia64; then
   18515     # AIX 5 supports IA64
   18516     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18517     shlibpath_var=LD_LIBRARY_PATH
   18518   else
   18519     # With GCC up to 2.95.x, collect2 would create an import file
   18520     # for dependence libraries.  The import file would start with
   18521     # the line `#! .'.  This would cause the generated library to
   18522     # depend on `.', always an invalid library.  This was fixed in
   18523     # development snapshots of GCC prior to 3.0.
   18524     case $host_os in
   18525       aix4 | aix4.[01] | aix4.[01].*)
   18526       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18527 	   echo ' yes '
   18528 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18529 	:
   18530       else
   18531 	can_build_shared=no
   18532       fi
   18533       ;;
   18534     esac
   18535     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18536     # soname into executable. Probably we can add versioning support to
   18537     # collect2, so additional links can be useful in future.
   18538     if test "$aix_use_runtimelinking" = yes; then
   18539       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18540       # instead of lib<name>.a to let people know that these are not
   18541       # typical AIX shared libraries.
   18542       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18543     else
   18544       # We preserve .a as extension for shared libraries through AIX4.2
   18545       # and later when we are not doing run time linking.
   18546       library_names_spec='${libname}${release}.a $libname.a'
   18547       soname_spec='${libname}${release}${shared_ext}$major'
   18548     fi
   18549     shlibpath_var=LIBPATH
   18550   fi
   18551   ;;
   18552 
   18553 amigaos*)
   18554   library_names_spec='$libname.ixlibrary $libname.a'
   18555   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18556   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'
   18557   ;;
   18558 
   18559 beos*)
   18560   library_names_spec='${libname}${shared_ext}'
   18561   dynamic_linker="$host_os ld.so"
   18562   shlibpath_var=LIBRARY_PATH
   18563   ;;
   18564 
   18565 bsdi[45]*)
   18566   version_type=linux
   18567   need_version=no
   18568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18569   soname_spec='${libname}${release}${shared_ext}$major'
   18570   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18571   shlibpath_var=LD_LIBRARY_PATH
   18572   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18573   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18574   # the default ld.so.conf also contains /usr/contrib/lib and
   18575   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18576   # libtool to hard-code these into programs
   18577   ;;
   18578 
   18579 cygwin* | mingw* | pw32*)
   18580   version_type=windows
   18581   shrext_cmds=".dll"
   18582   need_version=no
   18583   need_lib_prefix=no
   18584 
   18585   case $GCC,$host_os in
   18586   yes,cygwin* | yes,mingw* | yes,pw32*)
   18587     library_names_spec='$libname.dll.a'
   18588     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18589     postinstall_cmds='base_file=`basename \${file}`~
   18590       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18591       dldir=$destdir/`dirname \$dlpath`~
   18592       test -d \$dldir || mkdir -p \$dldir~
   18593       $install_prog $dir/$dlname \$dldir/$dlname~
   18594       chmod a+x \$dldir/$dlname'
   18595     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18596       dlpath=$dir/\$dldll~
   18597        $rm \$dlpath'
   18598     shlibpath_overrides_runpath=yes
   18599 
   18600     case $host_os in
   18601     cygwin*)
   18602       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18603       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18604       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18605       ;;
   18606     mingw*)
   18607       # MinGW DLLs use traditional 'lib' prefix
   18608       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18609       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18610       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18611         # It is most probably a Windows format PATH printed by
   18612         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18613         # path with ; separators, and with drive letters. We can handle the
   18614         # drive letters (cygwin fileutils understands them), so leave them,
   18615         # especially as we might pass files found there to a mingw objdump,
   18616         # which wouldn't understand a cygwinified path. Ahh.
   18617         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18618       else
   18619         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18620       fi
   18621       ;;
   18622     pw32*)
   18623       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18624       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18625       ;;
   18626     esac
   18627     ;;
   18628 
   18629   *)
   18630     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18631     ;;
   18632   esac
   18633   dynamic_linker='Win32 ld.exe'
   18634   # FIXME: first we should search . and the directory the executable is in
   18635   shlibpath_var=PATH
   18636   ;;
   18637 
   18638 darwin* | rhapsody*)
   18639   dynamic_linker="$host_os dyld"
   18640   version_type=darwin
   18641   need_lib_prefix=no
   18642   need_version=no
   18643   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18644   soname_spec='${libname}${release}${major}$shared_ext'
   18645   shlibpath_overrides_runpath=yes
   18646   shlibpath_var=DYLD_LIBRARY_PATH
   18647   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18648 
   18649   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18650   ;;
   18651 
   18652 dgux*)
   18653   version_type=linux
   18654   need_lib_prefix=no
   18655   need_version=no
   18656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18657   soname_spec='${libname}${release}${shared_ext}$major'
   18658   shlibpath_var=LD_LIBRARY_PATH
   18659   ;;
   18660 
   18661 freebsd1*)
   18662   dynamic_linker=no
   18663   ;;
   18664 
   18665 freebsd* | dragonfly*)
   18666   # DragonFly does not have aout.  When/if they implement a new
   18667   # versioning mechanism, adjust this.
   18668   if test -x /usr/bin/objformat; then
   18669     objformat=`/usr/bin/objformat`
   18670   else
   18671     case $host_os in
   18672     freebsd[123]*) objformat=aout ;;
   18673     *) objformat=elf ;;
   18674     esac
   18675   fi
   18676   version_type=freebsd-$objformat
   18677   case $version_type in
   18678     freebsd-elf*)
   18679       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18680       need_version=no
   18681       need_lib_prefix=no
   18682       ;;
   18683     freebsd-*)
   18684       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18685       need_version=yes
   18686       ;;
   18687   esac
   18688   shlibpath_var=LD_LIBRARY_PATH
   18689   case $host_os in
   18690   freebsd2*)
   18691     shlibpath_overrides_runpath=yes
   18692     ;;
   18693   freebsd3.[01]* | freebsdelf3.[01]*)
   18694     shlibpath_overrides_runpath=yes
   18695     hardcode_into_libs=yes
   18696     ;;
   18697   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18698   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18699     shlibpath_overrides_runpath=no
   18700     hardcode_into_libs=yes
   18701     ;;
   18702   *) # from 4.6 on, and DragonFly
   18703     shlibpath_overrides_runpath=yes
   18704     hardcode_into_libs=yes
   18705     ;;
   18706   esac
   18707   ;;
   18708 
   18709 gnu*)
   18710   version_type=linux
   18711   need_lib_prefix=no
   18712   need_version=no
   18713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18714   soname_spec='${libname}${release}${shared_ext}$major'
   18715   shlibpath_var=LD_LIBRARY_PATH
   18716   hardcode_into_libs=yes
   18717   ;;
   18718 
   18719 hpux9* | hpux10* | hpux11*)
   18720   # Give a soname corresponding to the major version so that dld.sl refuses to
   18721   # link against other versions.
   18722   version_type=sunos
   18723   need_lib_prefix=no
   18724   need_version=no
   18725   case $host_cpu in
   18726   ia64*)
   18727     shrext_cmds='.so'
   18728     hardcode_into_libs=yes
   18729     dynamic_linker="$host_os dld.so"
   18730     shlibpath_var=LD_LIBRARY_PATH
   18731     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18732     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18733     soname_spec='${libname}${release}${shared_ext}$major'
   18734     if test "X$HPUX_IA64_MODE" = X32; then
   18735       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18736     else
   18737       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18738     fi
   18739     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18740     ;;
   18741    hppa*64*)
   18742      shrext_cmds='.sl'
   18743      hardcode_into_libs=yes
   18744      dynamic_linker="$host_os dld.sl"
   18745      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18746      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18747      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18748      soname_spec='${libname}${release}${shared_ext}$major'
   18749      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18750      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18751      ;;
   18752    *)
   18753     shrext_cmds='.sl'
   18754     dynamic_linker="$host_os dld.sl"
   18755     shlibpath_var=SHLIB_PATH
   18756     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18757     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18758     soname_spec='${libname}${release}${shared_ext}$major'
   18759     ;;
   18760   esac
   18761   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18762   postinstall_cmds='chmod 555 $lib'
   18763   ;;
   18764 
   18765 interix[3-9]*)
   18766   version_type=linux
   18767   need_lib_prefix=no
   18768   need_version=no
   18769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18770   soname_spec='${libname}${release}${shared_ext}$major'
   18771   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18772   shlibpath_var=LD_LIBRARY_PATH
   18773   shlibpath_overrides_runpath=no
   18774   hardcode_into_libs=yes
   18775   ;;
   18776 
   18777 irix5* | irix6* | nonstopux*)
   18778   case $host_os in
   18779     nonstopux*) version_type=nonstopux ;;
   18780     *)
   18781 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18782 		version_type=linux
   18783 	else
   18784 		version_type=irix
   18785 	fi ;;
   18786   esac
   18787   need_lib_prefix=no
   18788   need_version=no
   18789   soname_spec='${libname}${release}${shared_ext}$major'
   18790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18791   case $host_os in
   18792   irix5* | nonstopux*)
   18793     libsuff= shlibsuff=
   18794     ;;
   18795   *)
   18796     case $LD in # libtool.m4 will add one of these switches to LD
   18797     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18798       libsuff= shlibsuff= libmagic=32-bit;;
   18799     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18800       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18801     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18802       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18803     *) libsuff= shlibsuff= libmagic=never-match;;
   18804     esac
   18805     ;;
   18806   esac
   18807   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18808   shlibpath_overrides_runpath=no
   18809   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18810   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18811   hardcode_into_libs=yes
   18812   ;;
   18813 
   18814 # No shared lib support for Linux oldld, aout, or coff.
   18815 linux*oldld* | linux*aout* | linux*coff*)
   18816   dynamic_linker=no
   18817   ;;
   18818 
   18819 # This must be Linux ELF.
   18820 linux* | k*bsd*-gnu)
   18821   version_type=linux
   18822   need_lib_prefix=no
   18823   need_version=no
   18824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18825   soname_spec='${libname}${release}${shared_ext}$major'
   18826   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18827   shlibpath_var=LD_LIBRARY_PATH
   18828   shlibpath_overrides_runpath=no
   18829   # This implies no fast_install, which is unacceptable.
   18830   # Some rework will be needed to allow for fast_install
   18831   # before this can be enabled.
   18832   hardcode_into_libs=yes
   18833 
   18834   # Append ld.so.conf contents to the search path
   18835   if test -f /etc/ld.so.conf; then
   18836     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18837     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18838   fi
   18839 
   18840   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18841   # powerpc, because MkLinux only supported shared libraries with the
   18842   # GNU dynamic linker.  Since this was broken with cross compilers,
   18843   # most powerpc-linux boxes support dynamic linking these days and
   18844   # people can always --disable-shared, the test was removed, and we
   18845   # assume the GNU/Linux dynamic linker is in use.
   18846   dynamic_linker='GNU/Linux ld.so'
   18847   ;;
   18848 
   18849 netbsd*)
   18850   version_type=sunos
   18851   need_lib_prefix=no
   18852   need_version=no
   18853   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18854     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18855     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18856     dynamic_linker='NetBSD (a.out) ld.so'
   18857   else
   18858     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18859     soname_spec='${libname}${release}${shared_ext}$major'
   18860     dynamic_linker='NetBSD ld.elf_so'
   18861   fi
   18862   shlibpath_var=LD_LIBRARY_PATH
   18863   shlibpath_overrides_runpath=yes
   18864   hardcode_into_libs=yes
   18865   ;;
   18866 
   18867 newsos6)
   18868   version_type=linux
   18869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18870   shlibpath_var=LD_LIBRARY_PATH
   18871   shlibpath_overrides_runpath=yes
   18872   ;;
   18873 
   18874 nto-qnx*)
   18875   version_type=linux
   18876   need_lib_prefix=no
   18877   need_version=no
   18878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18879   soname_spec='${libname}${release}${shared_ext}$major'
   18880   shlibpath_var=LD_LIBRARY_PATH
   18881   shlibpath_overrides_runpath=yes
   18882   ;;
   18883 
   18884 openbsd*)
   18885   version_type=sunos
   18886   sys_lib_dlsearch_path_spec="/usr/lib"
   18887   need_lib_prefix=no
   18888   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18889   case $host_os in
   18890     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18891     *)                         need_version=no  ;;
   18892   esac
   18893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18894   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18895   shlibpath_var=LD_LIBRARY_PATH
   18896   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18897     case $host_os in
   18898       openbsd2.[89] | openbsd2.[89].*)
   18899 	shlibpath_overrides_runpath=no
   18900 	;;
   18901       *)
   18902 	shlibpath_overrides_runpath=yes
   18903 	;;
   18904       esac
   18905   else
   18906     shlibpath_overrides_runpath=yes
   18907   fi
   18908   ;;
   18909 
   18910 os2*)
   18911   libname_spec='$name'
   18912   shrext_cmds=".dll"
   18913   need_lib_prefix=no
   18914   library_names_spec='$libname${shared_ext} $libname.a'
   18915   dynamic_linker='OS/2 ld.exe'
   18916   shlibpath_var=LIBPATH
   18917   ;;
   18918 
   18919 osf3* | osf4* | osf5*)
   18920   version_type=osf
   18921   need_lib_prefix=no
   18922   need_version=no
   18923   soname_spec='${libname}${release}${shared_ext}$major'
   18924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18925   shlibpath_var=LD_LIBRARY_PATH
   18926   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18927   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18928   ;;
   18929 
   18930 rdos*)
   18931   dynamic_linker=no
   18932   ;;
   18933 
   18934 solaris*)
   18935   version_type=linux
   18936   need_lib_prefix=no
   18937   need_version=no
   18938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18939   soname_spec='${libname}${release}${shared_ext}$major'
   18940   shlibpath_var=LD_LIBRARY_PATH
   18941   shlibpath_overrides_runpath=yes
   18942   hardcode_into_libs=yes
   18943   # ldd complains unless libraries are executable
   18944   postinstall_cmds='chmod +x $lib'
   18945   ;;
   18946 
   18947 sunos4*)
   18948   version_type=sunos
   18949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18950   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18951   shlibpath_var=LD_LIBRARY_PATH
   18952   shlibpath_overrides_runpath=yes
   18953   if test "$with_gnu_ld" = yes; then
   18954     need_lib_prefix=no
   18955   fi
   18956   need_version=yes
   18957   ;;
   18958 
   18959 sysv4 | sysv4.3*)
   18960   version_type=linux
   18961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18962   soname_spec='${libname}${release}${shared_ext}$major'
   18963   shlibpath_var=LD_LIBRARY_PATH
   18964   case $host_vendor in
   18965     sni)
   18966       shlibpath_overrides_runpath=no
   18967       need_lib_prefix=no
   18968       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18969       runpath_var=LD_RUN_PATH
   18970       ;;
   18971     siemens)
   18972       need_lib_prefix=no
   18973       ;;
   18974     motorola)
   18975       need_lib_prefix=no
   18976       need_version=no
   18977       shlibpath_overrides_runpath=no
   18978       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18979       ;;
   18980   esac
   18981   ;;
   18982 
   18983 sysv4*MP*)
   18984   if test -d /usr/nec ;then
   18985     version_type=linux
   18986     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18987     soname_spec='$libname${shared_ext}.$major'
   18988     shlibpath_var=LD_LIBRARY_PATH
   18989   fi
   18990   ;;
   18991 
   18992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18993   version_type=freebsd-elf
   18994   need_lib_prefix=no
   18995   need_version=no
   18996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18997   soname_spec='${libname}${release}${shared_ext}$major'
   18998   shlibpath_var=LD_LIBRARY_PATH
   18999   hardcode_into_libs=yes
   19000   if test "$with_gnu_ld" = yes; then
   19001     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19002     shlibpath_overrides_runpath=no
   19003   else
   19004     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19005     shlibpath_overrides_runpath=yes
   19006     case $host_os in
   19007       sco3.2v5*)
   19008         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19009 	;;
   19010     esac
   19011   fi
   19012   sys_lib_dlsearch_path_spec='/usr/lib'
   19013   ;;
   19014 
   19015 uts4*)
   19016   version_type=linux
   19017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19018   soname_spec='${libname}${release}${shared_ext}$major'
   19019   shlibpath_var=LD_LIBRARY_PATH
   19020   ;;
   19021 
   19022 *)
   19023   dynamic_linker=no
   19024   ;;
   19025 esac
   19026 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19027 $as_echo "$dynamic_linker" >&6; }
   19028 test "$dynamic_linker" = no && can_build_shared=no
   19029 
   19030 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19031   $as_echo_n "(cached) " >&6
   19032 else
   19033   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19034 fi
   19035 
   19036 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19037 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19038   $as_echo_n "(cached) " >&6
   19039 else
   19040   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19041 fi
   19042 
   19043 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19044 
   19045 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19046 if test "$GCC" = yes; then
   19047   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19048 fi
   19049 
   19050 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19051 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19052 hardcode_action_GCJ=
   19053 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19054    test -n "$runpath_var_GCJ" || \
   19055    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19056 
   19057   # We can hardcode non-existant directories.
   19058   if test "$hardcode_direct_GCJ" != no &&
   19059      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19060      # have to relink, otherwise we might link with an installed library
   19061      # when we should be linking with a yet-to-be-installed one
   19062      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19063      test "$hardcode_minus_L_GCJ" != no; then
   19064     # Linking always hardcodes the temporary library directory.
   19065     hardcode_action_GCJ=relink
   19066   else
   19067     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19068     hardcode_action_GCJ=immediate
   19069   fi
   19070 else
   19071   # We cannot hardcode anything, or else we can only hardcode existing
   19072   # directories.
   19073   hardcode_action_GCJ=unsupported
   19074 fi
   19075 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19076 $as_echo "$hardcode_action_GCJ" >&6; }
   19077 
   19078 if test "$hardcode_action_GCJ" = relink; then
   19079   # Fast installation is not supported
   19080   enable_fast_install=no
   19081 elif test "$shlibpath_overrides_runpath" = yes ||
   19082      test "$enable_shared" = no; then
   19083   # Fast installation is not necessary
   19084   enable_fast_install=needless
   19085 fi
   19086 
   19087 
   19088 # The else clause should only fire when bootstrapping the
   19089 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19090 # with your package, and you will get complaints that there are
   19091 # no rules to generate ltmain.sh.
   19092 if test -f "$ltmain"; then
   19093   # See if we are running on zsh, and set the options which allow our commands through
   19094   # without removal of \ escapes.
   19095   if test -n "${ZSH_VERSION+set}" ; then
   19096     setopt NO_GLOB_SUBST
   19097   fi
   19098   # Now quote all the things that may contain metacharacters while being
   19099   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19100   # variables and quote the copies for generation of the libtool script.
   19101   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19102     SED SHELL STRIP \
   19103     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19104     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19105     deplibs_check_method reload_flag reload_cmds need_locks \
   19106     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19107     lt_cv_sys_global_symbol_to_c_name_address \
   19108     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19109     old_postinstall_cmds old_postuninstall_cmds \
   19110     compiler_GCJ \
   19111     CC_GCJ \
   19112     LD_GCJ \
   19113     lt_prog_compiler_wl_GCJ \
   19114     lt_prog_compiler_pic_GCJ \
   19115     lt_prog_compiler_static_GCJ \
   19116     lt_prog_compiler_no_builtin_flag_GCJ \
   19117     export_dynamic_flag_spec_GCJ \
   19118     thread_safe_flag_spec_GCJ \
   19119     whole_archive_flag_spec_GCJ \
   19120     enable_shared_with_static_runtimes_GCJ \
   19121     old_archive_cmds_GCJ \
   19122     old_archive_from_new_cmds_GCJ \
   19123     predep_objects_GCJ \
   19124     postdep_objects_GCJ \
   19125     predeps_GCJ \
   19126     postdeps_GCJ \
   19127     compiler_lib_search_path_GCJ \
   19128     compiler_lib_search_dirs_GCJ \
   19129     archive_cmds_GCJ \
   19130     archive_expsym_cmds_GCJ \
   19131     postinstall_cmds_GCJ \
   19132     postuninstall_cmds_GCJ \
   19133     old_archive_from_expsyms_cmds_GCJ \
   19134     allow_undefined_flag_GCJ \
   19135     no_undefined_flag_GCJ \
   19136     export_symbols_cmds_GCJ \
   19137     hardcode_libdir_flag_spec_GCJ \
   19138     hardcode_libdir_flag_spec_ld_GCJ \
   19139     hardcode_libdir_separator_GCJ \
   19140     hardcode_automatic_GCJ \
   19141     module_cmds_GCJ \
   19142     module_expsym_cmds_GCJ \
   19143     lt_cv_prog_compiler_c_o_GCJ \
   19144     fix_srcfile_path_GCJ \
   19145     exclude_expsyms_GCJ \
   19146     include_expsyms_GCJ; do
   19147 
   19148     case $var in
   19149     old_archive_cmds_GCJ | \
   19150     old_archive_from_new_cmds_GCJ | \
   19151     archive_cmds_GCJ | \
   19152     archive_expsym_cmds_GCJ | \
   19153     module_cmds_GCJ | \
   19154     module_expsym_cmds_GCJ | \
   19155     old_archive_from_expsyms_cmds_GCJ | \
   19156     export_symbols_cmds_GCJ | \
   19157     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19158     postinstall_cmds | postuninstall_cmds | \
   19159     old_postinstall_cmds | old_postuninstall_cmds | \
   19160     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19161       # Double-quote double-evaled strings.
   19162       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19163       ;;
   19164     *)
   19165       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19166       ;;
   19167     esac
   19168   done
   19169 
   19170   case $lt_echo in
   19171   *'\$0 --fallback-echo"')
   19172     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19173     ;;
   19174   esac
   19175 
   19176 cfgfile="$ofile"
   19177 
   19178   cat <<__EOF__ >> "$cfgfile"
   19179 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19180 
   19181 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19182 
   19183 # Shell to use when invoking shell scripts.
   19184 SHELL=$lt_SHELL
   19185 
   19186 # Whether or not to build shared libraries.
   19187 build_libtool_libs=$enable_shared
   19188 
   19189 # Whether or not to build static libraries.
   19190 build_old_libs=$enable_static
   19191 
   19192 # Whether or not to add -lc for building shared libraries.
   19193 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19194 
   19195 # Whether or not to disallow shared libs when runtime libs are static
   19196 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19197 
   19198 # Whether or not to optimize for fast installation.
   19199 fast_install=$enable_fast_install
   19200 
   19201 # The host system.
   19202 host_alias=$host_alias
   19203 host=$host
   19204 host_os=$host_os
   19205 
   19206 # The build system.
   19207 build_alias=$build_alias
   19208 build=$build
   19209 build_os=$build_os
   19210 
   19211 # An echo program that does not interpret backslashes.
   19212 echo=$lt_echo
   19213 
   19214 # The archiver.
   19215 AR=$lt_AR
   19216 AR_FLAGS=$lt_AR_FLAGS
   19217 
   19218 # A C compiler.
   19219 LTCC=$lt_LTCC
   19220 
   19221 # LTCC compiler flags.
   19222 LTCFLAGS=$lt_LTCFLAGS
   19223 
   19224 # A language-specific compiler.
   19225 CC=$lt_compiler_GCJ
   19226 
   19227 # Is the compiler the GNU C compiler?
   19228 with_gcc=$GCC_GCJ
   19229 
   19230 # An ERE matcher.
   19231 EGREP=$lt_EGREP
   19232 
   19233 # The linker used to build libraries.
   19234 LD=$lt_LD_GCJ
   19235 
   19236 # Whether we need hard or soft links.
   19237 LN_S=$lt_LN_S
   19238 
   19239 # A BSD-compatible nm program.
   19240 NM=$lt_NM
   19241 
   19242 # A symbol stripping program
   19243 STRIP=$lt_STRIP
   19244 
   19245 # Used to examine libraries when file_magic_cmd begins "file"
   19246 MAGIC_CMD=$MAGIC_CMD
   19247 
   19248 # Used on cygwin: DLL creation program.
   19249 DLLTOOL="$DLLTOOL"
   19250 
   19251 # Used on cygwin: object dumper.
   19252 OBJDUMP="$OBJDUMP"
   19253 
   19254 # Used on cygwin: assembler.
   19255 AS="$AS"
   19256 
   19257 # The name of the directory that contains temporary libtool files.
   19258 objdir=$objdir
   19259 
   19260 # How to create reloadable object files.
   19261 reload_flag=$lt_reload_flag
   19262 reload_cmds=$lt_reload_cmds
   19263 
   19264 # How to pass a linker flag through the compiler.
   19265 wl=$lt_lt_prog_compiler_wl_GCJ
   19266 
   19267 # Object file suffix (normally "o").
   19268 objext="$ac_objext"
   19269 
   19270 # Old archive suffix (normally "a").
   19271 libext="$libext"
   19272 
   19273 # Shared library suffix (normally ".so").
   19274 shrext_cmds='$shrext_cmds'
   19275 
   19276 # Executable file suffix (normally "").
   19277 exeext="$exeext"
   19278 
   19279 # Additional compiler flags for building library objects.
   19280 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19281 pic_mode=$pic_mode
   19282 
   19283 # What is the maximum length of a command?
   19284 max_cmd_len=$lt_cv_sys_max_cmd_len
   19285 
   19286 # Does compiler simultaneously support -c and -o options?
   19287 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19288 
   19289 # Must we lock files when doing compilation?
   19290 need_locks=$lt_need_locks
   19291 
   19292 # Do we need the lib prefix for modules?
   19293 need_lib_prefix=$need_lib_prefix
   19294 
   19295 # Do we need a version for libraries?
   19296 need_version=$need_version
   19297 
   19298 # Whether dlopen is supported.
   19299 dlopen_support=$enable_dlopen
   19300 
   19301 # Whether dlopen of programs is supported.
   19302 dlopen_self=$enable_dlopen_self
   19303 
   19304 # Whether dlopen of statically linked programs is supported.
   19305 dlopen_self_static=$enable_dlopen_self_static
   19306 
   19307 # Compiler flag to prevent dynamic linking.
   19308 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19309 
   19310 # Compiler flag to turn off builtin functions.
   19311 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19312 
   19313 # Compiler flag to allow reflexive dlopens.
   19314 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19315 
   19316 # Compiler flag to generate shared objects directly from archives.
   19317 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19318 
   19319 # Compiler flag to generate thread-safe objects.
   19320 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19321 
   19322 # Library versioning type.
   19323 version_type=$version_type
   19324 
   19325 # Format of library name prefix.
   19326 libname_spec=$lt_libname_spec
   19327 
   19328 # List of archive names.  First name is the real one, the rest are links.
   19329 # The last name is the one that the linker finds with -lNAME.
   19330 library_names_spec=$lt_library_names_spec
   19331 
   19332 # The coded name of the library, if different from the real name.
   19333 soname_spec=$lt_soname_spec
   19334 
   19335 # Commands used to build and install an old-style archive.
   19336 RANLIB=$lt_RANLIB
   19337 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19338 old_postinstall_cmds=$lt_old_postinstall_cmds
   19339 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19340 
   19341 # Create an old-style archive from a shared archive.
   19342 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19343 
   19344 # Create a temporary old-style archive to link instead of a shared archive.
   19345 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19346 
   19347 # Commands used to build and install a shared archive.
   19348 archive_cmds=$lt_archive_cmds_GCJ
   19349 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19350 postinstall_cmds=$lt_postinstall_cmds
   19351 postuninstall_cmds=$lt_postuninstall_cmds
   19352 
   19353 # Commands used to build a loadable module (assumed same as above if empty)
   19354 module_cmds=$lt_module_cmds_GCJ
   19355 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19356 
   19357 # Commands to strip libraries.
   19358 old_striplib=$lt_old_striplib
   19359 striplib=$lt_striplib
   19360 
   19361 # Dependencies to place before the objects being linked to create a
   19362 # shared library.
   19363 predep_objects=$lt_predep_objects_GCJ
   19364 
   19365 # Dependencies to place after the objects being linked to create a
   19366 # shared library.
   19367 postdep_objects=$lt_postdep_objects_GCJ
   19368 
   19369 # Dependencies to place before the objects being linked to create a
   19370 # shared library.
   19371 predeps=$lt_predeps_GCJ
   19372 
   19373 # Dependencies to place after the objects being linked to create a
   19374 # shared library.
   19375 postdeps=$lt_postdeps_GCJ
   19376 
   19377 # The directories searched by this compiler when creating a shared
   19378 # library
   19379 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19380 
   19381 # The library search path used internally by the compiler when linking
   19382 # a shared library.
   19383 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19384 
   19385 # Method to check whether dependent libraries are shared objects.
   19386 deplibs_check_method=$lt_deplibs_check_method
   19387 
   19388 # Command to use when deplibs_check_method == file_magic.
   19389 file_magic_cmd=$lt_file_magic_cmd
   19390 
   19391 # Flag that allows shared libraries with undefined symbols to be built.
   19392 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19393 
   19394 # Flag that forces no undefined symbols.
   19395 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19396 
   19397 # Commands used to finish a libtool library installation in a directory.
   19398 finish_cmds=$lt_finish_cmds
   19399 
   19400 # Same as above, but a single script fragment to be evaled but not shown.
   19401 finish_eval=$lt_finish_eval
   19402 
   19403 # Take the output of nm and produce a listing of raw symbols and C names.
   19404 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19405 
   19406 # Transform the output of nm in a proper C declaration
   19407 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19408 
   19409 # Transform the output of nm in a C name address pair
   19410 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19411 
   19412 # This is the shared library runtime path variable.
   19413 runpath_var=$runpath_var
   19414 
   19415 # This is the shared library path variable.
   19416 shlibpath_var=$shlibpath_var
   19417 
   19418 # Is shlibpath searched before the hard-coded library search path?
   19419 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19420 
   19421 # How to hardcode a shared library path into an executable.
   19422 hardcode_action=$hardcode_action_GCJ
   19423 
   19424 # Whether we should hardcode library paths into libraries.
   19425 hardcode_into_libs=$hardcode_into_libs
   19426 
   19427 # Flag to hardcode \$libdir into a binary during linking.
   19428 # This must work even if \$libdir does not exist.
   19429 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19430 
   19431 # If ld is used when linking, flag to hardcode \$libdir into
   19432 # a binary during linking. This must work even if \$libdir does
   19433 # not exist.
   19434 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19435 
   19436 # Whether we need a single -rpath flag with a separated argument.
   19437 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19438 
   19439 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19440 # resulting binary.
   19441 hardcode_direct=$hardcode_direct_GCJ
   19442 
   19443 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19444 # resulting binary.
   19445 hardcode_minus_L=$hardcode_minus_L_GCJ
   19446 
   19447 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19448 # the resulting binary.
   19449 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19450 
   19451 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19452 # and all subsequent libraries and executables linked against it.
   19453 hardcode_automatic=$hardcode_automatic_GCJ
   19454 
   19455 # Variables whose values should be saved in libtool wrapper scripts and
   19456 # restored at relink time.
   19457 variables_saved_for_relink="$variables_saved_for_relink"
   19458 
   19459 # Whether libtool must link a program against all its dependency libraries.
   19460 link_all_deplibs=$link_all_deplibs_GCJ
   19461 
   19462 # Compile-time system search path for libraries
   19463 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19464 
   19465 # Run-time system search path for libraries
   19466 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19467 
   19468 # Fix the shell variable \$srcfile for the compiler.
   19469 fix_srcfile_path=$lt_fix_srcfile_path
   19470 
   19471 # Set to yes if exported symbols are required.
   19472 always_export_symbols=$always_export_symbols_GCJ
   19473 
   19474 # The commands to list exported symbols.
   19475 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19476 
   19477 # The commands to extract the exported symbol list from a shared archive.
   19478 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19479 
   19480 # Symbols that should not be listed in the preloaded symbols.
   19481 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19482 
   19483 # Symbols that must always be exported.
   19484 include_expsyms=$lt_include_expsyms_GCJ
   19485 
   19486 # ### END LIBTOOL TAG CONFIG: $tagname
   19487 
   19488 __EOF__
   19489 
   19490 
   19491 else
   19492   # If there is no Makefile yet, we rely on a make rule to execute
   19493   # `config.status --recheck' to rerun these tests and create the
   19494   # libtool script then.
   19495   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19496   if test -f "$ltmain_in"; then
   19497     test -f Makefile && make "$ltmain"
   19498   fi
   19499 fi
   19500 
   19501 
   19502 ac_ext=c
   19503 ac_cpp='$CPP $CPPFLAGS'
   19504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19507 
   19508 CC="$lt_save_CC"
   19509 
   19510 	else
   19511 	  tagname=""
   19512 	fi
   19513 	;;
   19514 
   19515       RC)
   19516 
   19517 
   19518 # Source file extension for RC test sources.
   19519 ac_ext=rc
   19520 
   19521 # Object file extension for compiled RC test sources.
   19522 objext=o
   19523 objext_RC=$objext
   19524 
   19525 # Code to be used in simple compile tests
   19526 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19527 
   19528 # Code to be used in simple link tests
   19529 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19530 
   19531 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19532 
   19533 # If no C compiler was specified, use CC.
   19534 LTCC=${LTCC-"$CC"}
   19535 
   19536 # If no C compiler flags were specified, use CFLAGS.
   19537 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19538 
   19539 # Allow CC to be a program name with arguments.
   19540 compiler=$CC
   19541 
   19542 
   19543 # save warnings/boilerplate of simple test code
   19544 ac_outfile=conftest.$ac_objext
   19545 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19546 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19547 _lt_compiler_boilerplate=`cat conftest.err`
   19548 $rm conftest*
   19549 
   19550 ac_outfile=conftest.$ac_objext
   19551 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19552 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19553 _lt_linker_boilerplate=`cat conftest.err`
   19554 $rm -r conftest*
   19555 
   19556 
   19557 # Allow CC to be a program name with arguments.
   19558 lt_save_CC="$CC"
   19559 CC=${RC-"windres"}
   19560 compiler=$CC
   19561 compiler_RC=$CC
   19562 for cc_temp in $compiler""; do
   19563   case $cc_temp in
   19564     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19565     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19566     \-*) ;;
   19567     *) break;;
   19568   esac
   19569 done
   19570 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19571 
   19572 lt_cv_prog_compiler_c_o_RC=yes
   19573 
   19574 # The else clause should only fire when bootstrapping the
   19575 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19576 # with your package, and you will get complaints that there are
   19577 # no rules to generate ltmain.sh.
   19578 if test -f "$ltmain"; then
   19579   # See if we are running on zsh, and set the options which allow our commands through
   19580   # without removal of \ escapes.
   19581   if test -n "${ZSH_VERSION+set}" ; then
   19582     setopt NO_GLOB_SUBST
   19583   fi
   19584   # Now quote all the things that may contain metacharacters while being
   19585   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19586   # variables and quote the copies for generation of the libtool script.
   19587   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19588     SED SHELL STRIP \
   19589     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19590     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19591     deplibs_check_method reload_flag reload_cmds need_locks \
   19592     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19593     lt_cv_sys_global_symbol_to_c_name_address \
   19594     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19595     old_postinstall_cmds old_postuninstall_cmds \
   19596     compiler_RC \
   19597     CC_RC \
   19598     LD_RC \
   19599     lt_prog_compiler_wl_RC \
   19600     lt_prog_compiler_pic_RC \
   19601     lt_prog_compiler_static_RC \
   19602     lt_prog_compiler_no_builtin_flag_RC \
   19603     export_dynamic_flag_spec_RC \
   19604     thread_safe_flag_spec_RC \
   19605     whole_archive_flag_spec_RC \
   19606     enable_shared_with_static_runtimes_RC \
   19607     old_archive_cmds_RC \
   19608     old_archive_from_new_cmds_RC \
   19609     predep_objects_RC \
   19610     postdep_objects_RC \
   19611     predeps_RC \
   19612     postdeps_RC \
   19613     compiler_lib_search_path_RC \
   19614     compiler_lib_search_dirs_RC \
   19615     archive_cmds_RC \
   19616     archive_expsym_cmds_RC \
   19617     postinstall_cmds_RC \
   19618     postuninstall_cmds_RC \
   19619     old_archive_from_expsyms_cmds_RC \
   19620     allow_undefined_flag_RC \
   19621     no_undefined_flag_RC \
   19622     export_symbols_cmds_RC \
   19623     hardcode_libdir_flag_spec_RC \
   19624     hardcode_libdir_flag_spec_ld_RC \
   19625     hardcode_libdir_separator_RC \
   19626     hardcode_automatic_RC \
   19627     module_cmds_RC \
   19628     module_expsym_cmds_RC \
   19629     lt_cv_prog_compiler_c_o_RC \
   19630     fix_srcfile_path_RC \
   19631     exclude_expsyms_RC \
   19632     include_expsyms_RC; do
   19633 
   19634     case $var in
   19635     old_archive_cmds_RC | \
   19636     old_archive_from_new_cmds_RC | \
   19637     archive_cmds_RC | \
   19638     archive_expsym_cmds_RC | \
   19639     module_cmds_RC | \
   19640     module_expsym_cmds_RC | \
   19641     old_archive_from_expsyms_cmds_RC | \
   19642     export_symbols_cmds_RC | \
   19643     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19644     postinstall_cmds | postuninstall_cmds | \
   19645     old_postinstall_cmds | old_postuninstall_cmds | \
   19646     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19647       # Double-quote double-evaled strings.
   19648       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19649       ;;
   19650     *)
   19651       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19652       ;;
   19653     esac
   19654   done
   19655 
   19656   case $lt_echo in
   19657   *'\$0 --fallback-echo"')
   19658     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19659     ;;
   19660   esac
   19661 
   19662 cfgfile="$ofile"
   19663 
   19664   cat <<__EOF__ >> "$cfgfile"
   19665 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19666 
   19667 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19668 
   19669 # Shell to use when invoking shell scripts.
   19670 SHELL=$lt_SHELL
   19671 
   19672 # Whether or not to build shared libraries.
   19673 build_libtool_libs=$enable_shared
   19674 
   19675 # Whether or not to build static libraries.
   19676 build_old_libs=$enable_static
   19677 
   19678 # Whether or not to add -lc for building shared libraries.
   19679 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19680 
   19681 # Whether or not to disallow shared libs when runtime libs are static
   19682 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19683 
   19684 # Whether or not to optimize for fast installation.
   19685 fast_install=$enable_fast_install
   19686 
   19687 # The host system.
   19688 host_alias=$host_alias
   19689 host=$host
   19690 host_os=$host_os
   19691 
   19692 # The build system.
   19693 build_alias=$build_alias
   19694 build=$build
   19695 build_os=$build_os
   19696 
   19697 # An echo program that does not interpret backslashes.
   19698 echo=$lt_echo
   19699 
   19700 # The archiver.
   19701 AR=$lt_AR
   19702 AR_FLAGS=$lt_AR_FLAGS
   19703 
   19704 # A C compiler.
   19705 LTCC=$lt_LTCC
   19706 
   19707 # LTCC compiler flags.
   19708 LTCFLAGS=$lt_LTCFLAGS
   19709 
   19710 # A language-specific compiler.
   19711 CC=$lt_compiler_RC
   19712 
   19713 # Is the compiler the GNU C compiler?
   19714 with_gcc=$GCC_RC
   19715 
   19716 # An ERE matcher.
   19717 EGREP=$lt_EGREP
   19718 
   19719 # The linker used to build libraries.
   19720 LD=$lt_LD_RC
   19721 
   19722 # Whether we need hard or soft links.
   19723 LN_S=$lt_LN_S
   19724 
   19725 # A BSD-compatible nm program.
   19726 NM=$lt_NM
   19727 
   19728 # A symbol stripping program
   19729 STRIP=$lt_STRIP
   19730 
   19731 # Used to examine libraries when file_magic_cmd begins "file"
   19732 MAGIC_CMD=$MAGIC_CMD
   19733 
   19734 # Used on cygwin: DLL creation program.
   19735 DLLTOOL="$DLLTOOL"
   19736 
   19737 # Used on cygwin: object dumper.
   19738 OBJDUMP="$OBJDUMP"
   19739 
   19740 # Used on cygwin: assembler.
   19741 AS="$AS"
   19742 
   19743 # The name of the directory that contains temporary libtool files.
   19744 objdir=$objdir
   19745 
   19746 # How to create reloadable object files.
   19747 reload_flag=$lt_reload_flag
   19748 reload_cmds=$lt_reload_cmds
   19749 
   19750 # How to pass a linker flag through the compiler.
   19751 wl=$lt_lt_prog_compiler_wl_RC
   19752 
   19753 # Object file suffix (normally "o").
   19754 objext="$ac_objext"
   19755 
   19756 # Old archive suffix (normally "a").
   19757 libext="$libext"
   19758 
   19759 # Shared library suffix (normally ".so").
   19760 shrext_cmds='$shrext_cmds'
   19761 
   19762 # Executable file suffix (normally "").
   19763 exeext="$exeext"
   19764 
   19765 # Additional compiler flags for building library objects.
   19766 pic_flag=$lt_lt_prog_compiler_pic_RC
   19767 pic_mode=$pic_mode
   19768 
   19769 # What is the maximum length of a command?
   19770 max_cmd_len=$lt_cv_sys_max_cmd_len
   19771 
   19772 # Does compiler simultaneously support -c and -o options?
   19773 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19774 
   19775 # Must we lock files when doing compilation?
   19776 need_locks=$lt_need_locks
   19777 
   19778 # Do we need the lib prefix for modules?
   19779 need_lib_prefix=$need_lib_prefix
   19780 
   19781 # Do we need a version for libraries?
   19782 need_version=$need_version
   19783 
   19784 # Whether dlopen is supported.
   19785 dlopen_support=$enable_dlopen
   19786 
   19787 # Whether dlopen of programs is supported.
   19788 dlopen_self=$enable_dlopen_self
   19789 
   19790 # Whether dlopen of statically linked programs is supported.
   19791 dlopen_self_static=$enable_dlopen_self_static
   19792 
   19793 # Compiler flag to prevent dynamic linking.
   19794 link_static_flag=$lt_lt_prog_compiler_static_RC
   19795 
   19796 # Compiler flag to turn off builtin functions.
   19797 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19798 
   19799 # Compiler flag to allow reflexive dlopens.
   19800 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19801 
   19802 # Compiler flag to generate shared objects directly from archives.
   19803 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19804 
   19805 # Compiler flag to generate thread-safe objects.
   19806 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19807 
   19808 # Library versioning type.
   19809 version_type=$version_type
   19810 
   19811 # Format of library name prefix.
   19812 libname_spec=$lt_libname_spec
   19813 
   19814 # List of archive names.  First name is the real one, the rest are links.
   19815 # The last name is the one that the linker finds with -lNAME.
   19816 library_names_spec=$lt_library_names_spec
   19817 
   19818 # The coded name of the library, if different from the real name.
   19819 soname_spec=$lt_soname_spec
   19820 
   19821 # Commands used to build and install an old-style archive.
   19822 RANLIB=$lt_RANLIB
   19823 old_archive_cmds=$lt_old_archive_cmds_RC
   19824 old_postinstall_cmds=$lt_old_postinstall_cmds
   19825 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19826 
   19827 # Create an old-style archive from a shared archive.
   19828 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19829 
   19830 # Create a temporary old-style archive to link instead of a shared archive.
   19831 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19832 
   19833 # Commands used to build and install a shared archive.
   19834 archive_cmds=$lt_archive_cmds_RC
   19835 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19836 postinstall_cmds=$lt_postinstall_cmds
   19837 postuninstall_cmds=$lt_postuninstall_cmds
   19838 
   19839 # Commands used to build a loadable module (assumed same as above if empty)
   19840 module_cmds=$lt_module_cmds_RC
   19841 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19842 
   19843 # Commands to strip libraries.
   19844 old_striplib=$lt_old_striplib
   19845 striplib=$lt_striplib
   19846 
   19847 # Dependencies to place before the objects being linked to create a
   19848 # shared library.
   19849 predep_objects=$lt_predep_objects_RC
   19850 
   19851 # Dependencies to place after the objects being linked to create a
   19852 # shared library.
   19853 postdep_objects=$lt_postdep_objects_RC
   19854 
   19855 # Dependencies to place before the objects being linked to create a
   19856 # shared library.
   19857 predeps=$lt_predeps_RC
   19858 
   19859 # Dependencies to place after the objects being linked to create a
   19860 # shared library.
   19861 postdeps=$lt_postdeps_RC
   19862 
   19863 # The directories searched by this compiler when creating a shared
   19864 # library
   19865 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19866 
   19867 # The library search path used internally by the compiler when linking
   19868 # a shared library.
   19869 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19870 
   19871 # Method to check whether dependent libraries are shared objects.
   19872 deplibs_check_method=$lt_deplibs_check_method
   19873 
   19874 # Command to use when deplibs_check_method == file_magic.
   19875 file_magic_cmd=$lt_file_magic_cmd
   19876 
   19877 # Flag that allows shared libraries with undefined symbols to be built.
   19878 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19879 
   19880 # Flag that forces no undefined symbols.
   19881 no_undefined_flag=$lt_no_undefined_flag_RC
   19882 
   19883 # Commands used to finish a libtool library installation in a directory.
   19884 finish_cmds=$lt_finish_cmds
   19885 
   19886 # Same as above, but a single script fragment to be evaled but not shown.
   19887 finish_eval=$lt_finish_eval
   19888 
   19889 # Take the output of nm and produce a listing of raw symbols and C names.
   19890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19891 
   19892 # Transform the output of nm in a proper C declaration
   19893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19894 
   19895 # Transform the output of nm in a C name address pair
   19896 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19897 
   19898 # This is the shared library runtime path variable.
   19899 runpath_var=$runpath_var
   19900 
   19901 # This is the shared library path variable.
   19902 shlibpath_var=$shlibpath_var
   19903 
   19904 # Is shlibpath searched before the hard-coded library search path?
   19905 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19906 
   19907 # How to hardcode a shared library path into an executable.
   19908 hardcode_action=$hardcode_action_RC
   19909 
   19910 # Whether we should hardcode library paths into libraries.
   19911 hardcode_into_libs=$hardcode_into_libs
   19912 
   19913 # Flag to hardcode \$libdir into a binary during linking.
   19914 # This must work even if \$libdir does not exist.
   19915 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19916 
   19917 # If ld is used when linking, flag to hardcode \$libdir into
   19918 # a binary during linking. This must work even if \$libdir does
   19919 # not exist.
   19920 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19921 
   19922 # Whether we need a single -rpath flag with a separated argument.
   19923 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19924 
   19925 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19926 # resulting binary.
   19927 hardcode_direct=$hardcode_direct_RC
   19928 
   19929 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19930 # resulting binary.
   19931 hardcode_minus_L=$hardcode_minus_L_RC
   19932 
   19933 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19934 # the resulting binary.
   19935 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19936 
   19937 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19938 # and all subsequent libraries and executables linked against it.
   19939 hardcode_automatic=$hardcode_automatic_RC
   19940 
   19941 # Variables whose values should be saved in libtool wrapper scripts and
   19942 # restored at relink time.
   19943 variables_saved_for_relink="$variables_saved_for_relink"
   19944 
   19945 # Whether libtool must link a program against all its dependency libraries.
   19946 link_all_deplibs=$link_all_deplibs_RC
   19947 
   19948 # Compile-time system search path for libraries
   19949 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19950 
   19951 # Run-time system search path for libraries
   19952 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19953 
   19954 # Fix the shell variable \$srcfile for the compiler.
   19955 fix_srcfile_path=$lt_fix_srcfile_path
   19956 
   19957 # Set to yes if exported symbols are required.
   19958 always_export_symbols=$always_export_symbols_RC
   19959 
   19960 # The commands to list exported symbols.
   19961 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19962 
   19963 # The commands to extract the exported symbol list from a shared archive.
   19964 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19965 
   19966 # Symbols that should not be listed in the preloaded symbols.
   19967 exclude_expsyms=$lt_exclude_expsyms_RC
   19968 
   19969 # Symbols that must always be exported.
   19970 include_expsyms=$lt_include_expsyms_RC
   19971 
   19972 # ### END LIBTOOL TAG CONFIG: $tagname
   19973 
   19974 __EOF__
   19975 
   19976 
   19977 else
   19978   # If there is no Makefile yet, we rely on a make rule to execute
   19979   # `config.status --recheck' to rerun these tests and create the
   19980   # libtool script then.
   19981   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19982   if test -f "$ltmain_in"; then
   19983     test -f Makefile && make "$ltmain"
   19984   fi
   19985 fi
   19986 
   19987 
   19988 ac_ext=c
   19989 ac_cpp='$CPP $CPPFLAGS'
   19990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19993 
   19994 CC="$lt_save_CC"
   19995 
   19996 	;;
   19997 
   19998       *)
   19999 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20000 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20001    { (exit 1); exit 1; }; }
   20002 	;;
   20003       esac
   20004 
   20005       # Append the new tag name to the list of available tags.
   20006       if test -n "$tagname" ; then
   20007       available_tags="$available_tags $tagname"
   20008     fi
   20009     fi
   20010   done
   20011   IFS="$lt_save_ifs"
   20012 
   20013   # Now substitute the updated list of available tags.
   20014   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20015     mv "${ofile}T" "$ofile"
   20016     chmod +x "$ofile"
   20017   else
   20018     rm -f "${ofile}T"
   20019     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20020 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20021    { (exit 1); exit 1; }; }
   20022   fi
   20023 fi
   20024 
   20025 
   20026 
   20027 # This can be used to rebuild libtool when needed
   20028 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20029 
   20030 # Always use our own libtool.
   20031 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20032 
   20033 # Prevent multiple expansion
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 
   20054    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20055 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20056 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20057   $as_echo_n "(cached) " >&6
   20058 else
   20059   ac_cv_prog_cc_c99=no
   20060 ac_save_CC=$CC
   20061 cat >conftest.$ac_ext <<_ACEOF
   20062 /* confdefs.h.  */
   20063 _ACEOF
   20064 cat confdefs.h >>conftest.$ac_ext
   20065 cat >>conftest.$ac_ext <<_ACEOF
   20066 /* end confdefs.h.  */
   20067 #include <stdarg.h>
   20068 #include <stdbool.h>
   20069 #include <stdlib.h>
   20070 #include <wchar.h>
   20071 #include <stdio.h>
   20072 
   20073 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20074 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20075 #define showlist(...) puts (#__VA_ARGS__)
   20076 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20077 static void
   20078 test_varargs_macros (void)
   20079 {
   20080   int x = 1234;
   20081   int y = 5678;
   20082   debug ("Flag");
   20083   debug ("X = %d\n", x);
   20084   showlist (The first, second, and third items.);
   20085   report (x>y, "x is %d but y is %d", x, y);
   20086 }
   20087 
   20088 // Check long long types.
   20089 #define BIG64 18446744073709551615ull
   20090 #define BIG32 4294967295ul
   20091 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20092 #if !BIG_OK
   20093   your preprocessor is broken;
   20094 #endif
   20095 #if BIG_OK
   20096 #else
   20097   your preprocessor is broken;
   20098 #endif
   20099 static long long int bignum = -9223372036854775807LL;
   20100 static unsigned long long int ubignum = BIG64;
   20101 
   20102 struct incomplete_array
   20103 {
   20104   int datasize;
   20105   double data[];
   20106 };
   20107 
   20108 struct named_init {
   20109   int number;
   20110   const wchar_t *name;
   20111   double average;
   20112 };
   20113 
   20114 typedef const char *ccp;
   20115 
   20116 static inline int
   20117 test_restrict (ccp restrict text)
   20118 {
   20119   // See if C++-style comments work.
   20120   // Iterate through items via the restricted pointer.
   20121   // Also check for declarations in for loops.
   20122   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20123     continue;
   20124   return 0;
   20125 }
   20126 
   20127 // Check varargs and va_copy.
   20128 static void
   20129 test_varargs (const char *format, ...)
   20130 {
   20131   va_list args;
   20132   va_start (args, format);
   20133   va_list args_copy;
   20134   va_copy (args_copy, args);
   20135 
   20136   const char *str;
   20137   int number;
   20138   float fnumber;
   20139 
   20140   while (*format)
   20141     {
   20142       switch (*format++)
   20143 	{
   20144 	case 's': // string
   20145 	  str = va_arg (args_copy, const char *);
   20146 	  break;
   20147 	case 'd': // int
   20148 	  number = va_arg (args_copy, int);
   20149 	  break;
   20150 	case 'f': // float
   20151 	  fnumber = va_arg (args_copy, double);
   20152 	  break;
   20153 	default:
   20154 	  break;
   20155 	}
   20156     }
   20157   va_end (args_copy);
   20158   va_end (args);
   20159 }
   20160 
   20161 int
   20162 main ()
   20163 {
   20164 
   20165   // Check bool.
   20166   _Bool success = false;
   20167 
   20168   // Check restrict.
   20169   if (test_restrict ("String literal") == 0)
   20170     success = true;
   20171   char *restrict newvar = "Another string";
   20172 
   20173   // Check varargs.
   20174   test_varargs ("s, d' f .", "string", 65, 34.234);
   20175   test_varargs_macros ();
   20176 
   20177   // Check flexible array members.
   20178   struct incomplete_array *ia =
   20179     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20180   ia->datasize = 10;
   20181   for (int i = 0; i < ia->datasize; ++i)
   20182     ia->data[i] = i * 1.234;
   20183 
   20184   // Check named initializers.
   20185   struct named_init ni = {
   20186     .number = 34,
   20187     .name = L"Test wide string",
   20188     .average = 543.34343,
   20189   };
   20190 
   20191   ni.number = 58;
   20192 
   20193   int dynamic_array[ni.number];
   20194   dynamic_array[ni.number - 1] = 543;
   20195 
   20196   // work around unused variable warnings
   20197   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20198 	  || dynamic_array[ni.number - 1] != 543);
   20199 
   20200   ;
   20201   return 0;
   20202 }
   20203 _ACEOF
   20204 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20205 do
   20206   CC="$ac_save_CC $ac_arg"
   20207   rm -f conftest.$ac_objext
   20208 if { (ac_try="$ac_compile"
   20209 case "(($ac_try" in
   20210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20211   *) ac_try_echo=$ac_try;;
   20212 esac
   20213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20214 $as_echo "$ac_try_echo") >&5
   20215   (eval "$ac_compile") 2>conftest.er1
   20216   ac_status=$?
   20217   grep -v '^ *+' conftest.er1 >conftest.err
   20218   rm -f conftest.er1
   20219   cat conftest.err >&5
   20220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20221   (exit $ac_status); } && {
   20222 	 test -z "$ac_c_werror_flag" ||
   20223 	 test ! -s conftest.err
   20224        } && test -s conftest.$ac_objext; then
   20225   ac_cv_prog_cc_c99=$ac_arg
   20226 else
   20227   $as_echo "$as_me: failed program was:" >&5
   20228 sed 's/^/| /' conftest.$ac_ext >&5
   20229 
   20230 
   20231 fi
   20232 
   20233 rm -f core conftest.err conftest.$ac_objext
   20234   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20235 done
   20236 rm -f conftest.$ac_ext
   20237 CC=$ac_save_CC
   20238 
   20239 fi
   20240 # AC_CACHE_VAL
   20241 case "x$ac_cv_prog_cc_c99" in
   20242   x)
   20243     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20244 $as_echo "none needed" >&6; } ;;
   20245   xno)
   20246     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20247 $as_echo "unsupported" >&6; } ;;
   20248   *)
   20249     CC="$CC $ac_cv_prog_cc_c99"
   20250     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20251 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20252 esac
   20253 
   20254 
   20255 
   20256 
   20257 
   20258 
   20259 if  test "x$GCC" = xyes ; then
   20260     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20261 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20262 -Wbad-function-cast"
   20263     case `$CC -dumpversion` in
   20264     3.4.* | 4.*)
   20265 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20266 	;;
   20267     esac
   20268 else
   20269     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20270 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20271 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20272   $as_echo_n "(cached) " >&6
   20273 else
   20274   cat >conftest.$ac_ext <<_ACEOF
   20275 /* confdefs.h.  */
   20276 _ACEOF
   20277 cat confdefs.h >>conftest.$ac_ext
   20278 cat >>conftest.$ac_ext <<_ACEOF
   20279 /* end confdefs.h.  */
   20280 $ac_includes_default
   20281 int
   20282 main ()
   20283 {
   20284 #ifndef __SUNPRO_C
   20285   (void) __SUNPRO_C;
   20286 #endif
   20287 
   20288   ;
   20289   return 0;
   20290 }
   20291 _ACEOF
   20292 rm -f conftest.$ac_objext
   20293 if { (ac_try="$ac_compile"
   20294 case "(($ac_try" in
   20295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20296   *) ac_try_echo=$ac_try;;
   20297 esac
   20298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20299 $as_echo "$ac_try_echo") >&5
   20300   (eval "$ac_compile") 2>conftest.er1
   20301   ac_status=$?
   20302   grep -v '^ *+' conftest.er1 >conftest.err
   20303   rm -f conftest.er1
   20304   cat conftest.err >&5
   20305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20306   (exit $ac_status); } && {
   20307 	 test -z "$ac_c_werror_flag" ||
   20308 	 test ! -s conftest.err
   20309        } && test -s conftest.$ac_objext; then
   20310   ac_cv_have_decl___SUNPRO_C=yes
   20311 else
   20312   $as_echo "$as_me: failed program was:" >&5
   20313 sed 's/^/| /' conftest.$ac_ext >&5
   20314 
   20315 	ac_cv_have_decl___SUNPRO_C=no
   20316 fi
   20317 
   20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20319 fi
   20320 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20321 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20322 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20323   SUNCC="yes"
   20324 else
   20325   SUNCC="no"
   20326 fi
   20327 
   20328     if test "x$SUNCC" = "xyes"; then
   20329 	CWARNFLAGS="-v"
   20330     fi
   20331 fi
   20332 
   20333 # Check whether --enable-silent-rules was given.
   20334 if test "${enable_silent_rules+set}" = set; then
   20335   enableval=$enable_silent_rules;
   20336 fi
   20337 
   20338 case $enable_silent_rules in
   20339 yes) AM_DEFAULT_VERBOSITY=0;;
   20340 no)  AM_DEFAULT_VERBOSITY=1;;
   20341 *)   AM_DEFAULT_VERBOSITY=0;;
   20342 esac
   20343 AM_BACKSLASH='\'
   20344 
   20345 
   20346 
   20347 
   20348 
   20349 
   20350 
   20351 # Check whether --enable-strict-compilation was given.
   20352 if test "${enable_strict_compilation+set}" = set; then
   20353   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20354 else
   20355   STRICT_COMPILE=no
   20356 fi
   20357 
   20358 if test "x$STRICT_COMPILE" = "xyes"; then
   20359 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20360 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20361 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20362   $as_echo_n "(cached) " >&6
   20363 else
   20364   cat >conftest.$ac_ext <<_ACEOF
   20365 /* confdefs.h.  */
   20366 _ACEOF
   20367 cat confdefs.h >>conftest.$ac_ext
   20368 cat >>conftest.$ac_ext <<_ACEOF
   20369 /* end confdefs.h.  */
   20370 $ac_includes_default
   20371 int
   20372 main ()
   20373 {
   20374 #ifndef __SUNPRO_C
   20375   (void) __SUNPRO_C;
   20376 #endif
   20377 
   20378   ;
   20379   return 0;
   20380 }
   20381 _ACEOF
   20382 rm -f conftest.$ac_objext
   20383 if { (ac_try="$ac_compile"
   20384 case "(($ac_try" in
   20385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20386   *) ac_try_echo=$ac_try;;
   20387 esac
   20388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20389 $as_echo "$ac_try_echo") >&5
   20390   (eval "$ac_compile") 2>conftest.er1
   20391   ac_status=$?
   20392   grep -v '^ *+' conftest.er1 >conftest.err
   20393   rm -f conftest.er1
   20394   cat conftest.err >&5
   20395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20396   (exit $ac_status); } && {
   20397 	 test -z "$ac_c_werror_flag" ||
   20398 	 test ! -s conftest.err
   20399        } && test -s conftest.$ac_objext; then
   20400   ac_cv_have_decl___SUNPRO_C=yes
   20401 else
   20402   $as_echo "$as_me: failed program was:" >&5
   20403 sed 's/^/| /' conftest.$ac_ext >&5
   20404 
   20405 	ac_cv_have_decl___SUNPRO_C=no
   20406 fi
   20407 
   20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20409 fi
   20410 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20411 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20412 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20413   SUNCC="yes"
   20414 else
   20415   SUNCC="no"
   20416 fi
   20417 
   20418 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20419 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20420 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20421   $as_echo_n "(cached) " >&6
   20422 else
   20423   cat >conftest.$ac_ext <<_ACEOF
   20424 /* confdefs.h.  */
   20425 _ACEOF
   20426 cat confdefs.h >>conftest.$ac_ext
   20427 cat >>conftest.$ac_ext <<_ACEOF
   20428 /* end confdefs.h.  */
   20429 $ac_includes_default
   20430 int
   20431 main ()
   20432 {
   20433 #ifndef __INTEL_COMPILER
   20434   (void) __INTEL_COMPILER;
   20435 #endif
   20436 
   20437   ;
   20438   return 0;
   20439 }
   20440 _ACEOF
   20441 rm -f conftest.$ac_objext
   20442 if { (ac_try="$ac_compile"
   20443 case "(($ac_try" in
   20444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20445   *) ac_try_echo=$ac_try;;
   20446 esac
   20447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20448 $as_echo "$ac_try_echo") >&5
   20449   (eval "$ac_compile") 2>conftest.er1
   20450   ac_status=$?
   20451   grep -v '^ *+' conftest.er1 >conftest.err
   20452   rm -f conftest.er1
   20453   cat conftest.err >&5
   20454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20455   (exit $ac_status); } && {
   20456 	 test -z "$ac_c_werror_flag" ||
   20457 	 test ! -s conftest.err
   20458        } && test -s conftest.$ac_objext; then
   20459   ac_cv_have_decl___INTEL_COMPILER=yes
   20460 else
   20461   $as_echo "$as_me: failed program was:" >&5
   20462 sed 's/^/| /' conftest.$ac_ext >&5
   20463 
   20464 	ac_cv_have_decl___INTEL_COMPILER=no
   20465 fi
   20466 
   20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20468 fi
   20469 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20470 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20471 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20472   INTELCC="yes"
   20473 else
   20474   INTELCC="no"
   20475 fi
   20476 
   20477 	if test "x$GCC" = xyes ; then
   20478 		STRICT_CFLAGS="-pedantic -Werror"
   20479 	elif test "x$SUNCC" = "xyes"; then
   20480 		STRICT_CFLAGS="-errwarn"
   20481     elif test "x$INTELCC" = "xyes"; then
   20482 		STRICT_CFLAGS="-Werror"
   20483 	fi
   20484 fi
   20485 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20486 
   20487 
   20488 
   20489 
   20490 # Check whether --with-release-version was given.
   20491 if test "${with_release_version+set}" = set; then
   20492   withval=$with_release_version; RELEASE_VERSION="$withval"
   20493 else
   20494   RELEASE_VERSION=""
   20495 fi
   20496 
   20497 	if test "x$RELEASE_VERSION" != "x"; then
   20498 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20499 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20500 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20501 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20502 	fi
   20503 
   20504 cat >>confdefs.h <<_ACEOF
   20505 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20506 _ACEOF
   20507 
   20508 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20509 	if test "x$PVM" = "x"; then
   20510 		PVM="0"
   20511 	fi
   20512 
   20513 cat >>confdefs.h <<_ACEOF
   20514 #define PACKAGE_VERSION_MINOR $PVM
   20515 _ACEOF
   20516 
   20517 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20518 	if test "x$PVP" = "x"; then
   20519 		PVP="0"
   20520 	fi
   20521 
   20522 cat >>confdefs.h <<_ACEOF
   20523 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20524 _ACEOF
   20525 
   20526 
   20527 
   20528 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20529 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20530 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20531 
   20532 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20533 
   20534 
   20535 
   20536 
   20537 
   20538 if test x$APP_MAN_SUFFIX = x    ; then
   20539     APP_MAN_SUFFIX=1
   20540 fi
   20541 if test x$APP_MAN_DIR = x    ; then
   20542     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20543 fi
   20544 
   20545 if test x$LIB_MAN_SUFFIX = x    ; then
   20546     LIB_MAN_SUFFIX=3
   20547 fi
   20548 if test x$LIB_MAN_DIR = x    ; then
   20549     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20550 fi
   20551 
   20552 if test x$FILE_MAN_SUFFIX = x    ; then
   20553     case $host_os in
   20554 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20555 	*)		FILE_MAN_SUFFIX=5  ;;
   20556     esac
   20557 fi
   20558 if test x$FILE_MAN_DIR = x    ; then
   20559     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20560 fi
   20561 
   20562 if test x$MISC_MAN_SUFFIX = x    ; then
   20563     case $host_os in
   20564 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20565 	*)		MISC_MAN_SUFFIX=7  ;;
   20566     esac
   20567 fi
   20568 if test x$MISC_MAN_DIR = x    ; then
   20569     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20570 fi
   20571 
   20572 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20573     case $host_os in
   20574 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20575 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20576     esac
   20577 fi
   20578 if test x$DRIVER_MAN_DIR = x    ; then
   20579     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20580 fi
   20581 
   20582 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20583     case $host_os in
   20584 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20585 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20586     esac
   20587 fi
   20588 if test x$ADMIN_MAN_DIR = x    ; then
   20589     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20590 fi
   20591 
   20592 
   20593 
   20594 
   20595 
   20596 
   20597 
   20598 
   20599 
   20600 
   20601 
   20602 
   20603 
   20604 
   20605 
   20606 
   20607 
   20608 # Check for dependencies
   20609 
   20610 
   20611 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20612 	if test -n "$ac_tool_prefix"; then
   20613   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20614 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20616 $as_echo_n "checking for $ac_word... " >&6; }
   20617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20618   $as_echo_n "(cached) " >&6
   20619 else
   20620   case $PKG_CONFIG in
   20621   [\\/]* | ?:[\\/]*)
   20622   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20623   ;;
   20624   *)
   20625   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20626 for as_dir in $PATH
   20627 do
   20628   IFS=$as_save_IFS
   20629   test -z "$as_dir" && as_dir=.
   20630   for ac_exec_ext in '' $ac_executable_extensions; do
   20631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20632     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20633     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20634     break 2
   20635   fi
   20636 done
   20637 done
   20638 IFS=$as_save_IFS
   20639 
   20640   ;;
   20641 esac
   20642 fi
   20643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20644 if test -n "$PKG_CONFIG"; then
   20645   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20646 $as_echo "$PKG_CONFIG" >&6; }
   20647 else
   20648   { $as_echo "$as_me:$LINENO: result: no" >&5
   20649 $as_echo "no" >&6; }
   20650 fi
   20651 
   20652 
   20653 fi
   20654 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20655   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20656   # Extract the first word of "pkg-config", so it can be a program name with args.
   20657 set dummy pkg-config; ac_word=$2
   20658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20659 $as_echo_n "checking for $ac_word... " >&6; }
   20660 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20661   $as_echo_n "(cached) " >&6
   20662 else
   20663   case $ac_pt_PKG_CONFIG in
   20664   [\\/]* | ?:[\\/]*)
   20665   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20666   ;;
   20667   *)
   20668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20669 for as_dir in $PATH
   20670 do
   20671   IFS=$as_save_IFS
   20672   test -z "$as_dir" && as_dir=.
   20673   for ac_exec_ext in '' $ac_executable_extensions; do
   20674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20675     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20676     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20677     break 2
   20678   fi
   20679 done
   20680 done
   20681 IFS=$as_save_IFS
   20682 
   20683   ;;
   20684 esac
   20685 fi
   20686 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20687 if test -n "$ac_pt_PKG_CONFIG"; then
   20688   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20689 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20690 else
   20691   { $as_echo "$as_me:$LINENO: result: no" >&5
   20692 $as_echo "no" >&6; }
   20693 fi
   20694 
   20695   if test "x$ac_pt_PKG_CONFIG" = x; then
   20696     PKG_CONFIG=""
   20697   else
   20698     case $cross_compiling:$ac_tool_warned in
   20699 yes:)
   20700 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20702 ac_tool_warned=yes ;;
   20703 esac
   20704     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20705   fi
   20706 else
   20707   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20708 fi
   20709 
   20710 fi
   20711 if test -n "$PKG_CONFIG"; then
   20712 	_pkg_min_version=0.9.0
   20713 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20714 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20715 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20716 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20717 $as_echo "yes" >&6; }
   20718 	else
   20719 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20720 $as_echo "no" >&6; }
   20721 		PKG_CONFIG=""
   20722 	fi
   20723 
   20724 fi
   20725 
   20726 pkg_failed=no
   20727 { $as_echo "$as_me:$LINENO: checking for XV" >&5
   20728 $as_echo_n "checking for XV... " >&6; }
   20729 
   20730 if test -n "$XV_CFLAGS"; then
   20731     pkg_cv_XV_CFLAGS="$XV_CFLAGS"
   20732  elif test -n "$PKG_CONFIG"; then
   20733     if test -n "$PKG_CONFIG" && \
   20734     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto videoproto\"") >&5
   20735   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto videoproto") 2>&5
   20736   ac_status=$?
   20737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20738   (exit $ac_status); }; then
   20739   pkg_cv_XV_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto videoproto" 2>/dev/null`
   20740 else
   20741   pkg_failed=yes
   20742 fi
   20743  else
   20744     pkg_failed=untried
   20745 fi
   20746 if test -n "$XV_LIBS"; then
   20747     pkg_cv_XV_LIBS="$XV_LIBS"
   20748  elif test -n "$PKG_CONFIG"; then
   20749     if test -n "$PKG_CONFIG" && \
   20750     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto videoproto\"") >&5
   20751   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto videoproto") 2>&5
   20752   ac_status=$?
   20753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20754   (exit $ac_status); }; then
   20755   pkg_cv_XV_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto videoproto" 2>/dev/null`
   20756 else
   20757   pkg_failed=yes
   20758 fi
   20759  else
   20760     pkg_failed=untried
   20761 fi
   20762 
   20763 
   20764 
   20765 if test $pkg_failed = yes; then
   20766 
   20767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20768         _pkg_short_errors_supported=yes
   20769 else
   20770         _pkg_short_errors_supported=no
   20771 fi
   20772         if test $_pkg_short_errors_supported = yes; then
   20773 	        XV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xextproto videoproto" 2>&1`
   20774         else
   20775 	        XV_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xextproto videoproto" 2>&1`
   20776         fi
   20777 	# Put the nasty error message in config.log where it belongs
   20778 	echo "$XV_PKG_ERRORS" >&5
   20779 
   20780 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xext xextproto videoproto) were not met:
   20781 
   20782 $XV_PKG_ERRORS
   20783 
   20784 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20785 installed software in a non-standard prefix.
   20786 
   20787 Alternatively, you may set the environment variables XV_CFLAGS
   20788 and XV_LIBS to avoid the need to call pkg-config.
   20789 See the pkg-config man page for more details.
   20790 " >&5
   20791 $as_echo "$as_me: error: Package requirements (x11 xext xextproto videoproto) were not met:
   20792 
   20793 $XV_PKG_ERRORS
   20794 
   20795 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20796 installed software in a non-standard prefix.
   20797 
   20798 Alternatively, you may set the environment variables XV_CFLAGS
   20799 and XV_LIBS to avoid the need to call pkg-config.
   20800 See the pkg-config man page for more details.
   20801 " >&2;}
   20802    { (exit 1); exit 1; }; }
   20803 elif test $pkg_failed = untried; then
   20804 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20806 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20807 is in your PATH or set the PKG_CONFIG environment variable to the full
   20808 path to pkg-config.
   20809 
   20810 Alternatively, you may set the environment variables XV_CFLAGS
   20811 and XV_LIBS to avoid the need to call pkg-config.
   20812 See the pkg-config man page for more details.
   20813 
   20814 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20815 See \`config.log' for more details." >&5
   20816 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20817 is in your PATH or set the PKG_CONFIG environment variable to the full
   20818 path to pkg-config.
   20819 
   20820 Alternatively, you may set the environment variables XV_CFLAGS
   20821 and XV_LIBS to avoid the need to call pkg-config.
   20822 See the pkg-config man page for more details.
   20823 
   20824 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20825 See \`config.log' for more details." >&2;}
   20826    { (exit 1); exit 1; }; }; }
   20827 else
   20828 	XV_CFLAGS=$pkg_cv_XV_CFLAGS
   20829 	XV_LIBS=$pkg_cv_XV_LIBS
   20830         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20831 $as_echo "yes" >&6; }
   20832 	:
   20833 fi
   20834 
   20835 
   20836 
   20837 
   20838 # Check whether --enable-malloc0returnsnull was given.
   20839 if test "${enable_malloc0returnsnull+set}" = set; then
   20840   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20841 else
   20842   MALLOC_ZERO_RETURNS_NULL=auto
   20843 fi
   20844 
   20845 
   20846 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20847 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   20848 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20849 	if test "$cross_compiling" = yes; then
   20850   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20852 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20853 See \`config.log' for more details." >&5
   20854 $as_echo "$as_me: error: cannot run test program while cross compiling
   20855 See \`config.log' for more details." >&2;}
   20856    { (exit 1); exit 1; }; }; }
   20857 else
   20858   cat >conftest.$ac_ext <<_ACEOF
   20859 
   20860 char *malloc();
   20861 char *realloc();
   20862 char *calloc();
   20863 main() {
   20864     char *m0, *r0, *c0, *p;
   20865     m0 = malloc(0);
   20866     p = malloc(10);
   20867     r0 = realloc(p,0);
   20868     c0 = calloc(0);
   20869     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20870 }
   20871 _ACEOF
   20872 rm -f conftest$ac_exeext
   20873 if { (ac_try="$ac_link"
   20874 case "(($ac_try" in
   20875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20876   *) ac_try_echo=$ac_try;;
   20877 esac
   20878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20879 $as_echo "$ac_try_echo") >&5
   20880   (eval "$ac_link") 2>&5
   20881   ac_status=$?
   20882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20883   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20884   { (case "(($ac_try" in
   20885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20886   *) ac_try_echo=$ac_try;;
   20887 esac
   20888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20889 $as_echo "$ac_try_echo") >&5
   20890   (eval "$ac_try") 2>&5
   20891   ac_status=$?
   20892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20893   (exit $ac_status); }; }; then
   20894   MALLOC_ZERO_RETURNS_NULL=yes
   20895 else
   20896   $as_echo "$as_me: program exited with status $ac_status" >&5
   20897 $as_echo "$as_me: failed program was:" >&5
   20898 sed 's/^/| /' conftest.$ac_ext >&5
   20899 
   20900 ( exit $ac_status )
   20901 MALLOC_ZERO_RETURNS_NULL=no
   20902 fi
   20903 rm -rf conftest.dSYM
   20904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20905 fi
   20906 
   20907 
   20908 fi
   20909 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20910 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20911 
   20912 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20913 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20914 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20915 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20916 else
   20917 	MALLOC_ZERO_CFLAGS=""
   20918 	XMALLOC_ZERO_CFLAGS=""
   20919 	XTMALLOC_ZERO_CFLAGS=""
   20920 fi
   20921 
   20922 
   20923 
   20924 
   20925 
   20926 
   20927 
   20928 
   20929 # Allow checking code with lint, sparse, etc.
   20930 
   20931 # Check whether --with-lint was given.
   20932 if test "${with_lint+set}" = set; then
   20933   withval=$with_lint; use_lint=$withval
   20934 else
   20935   use_lint=no
   20936 fi
   20937 
   20938 if test "x$use_lint" = "xyes" ; then
   20939 	LINT="lint"
   20940 else
   20941 	LINT="$use_lint"
   20942 fi
   20943 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20944     case $LINT in
   20945 	lint|*/lint)
   20946 	    case $host_os in
   20947 		solaris*)
   20948 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20949 			;;
   20950 	    esac
   20951 	    ;;
   20952     esac
   20953 fi
   20954 
   20955 
   20956 
   20957  if test x$LINT != xno; then
   20958   LINT_TRUE=
   20959   LINT_FALSE='#'
   20960 else
   20961   LINT_TRUE='#'
   20962   LINT_FALSE=
   20963 fi
   20964 
   20965 
   20966 
   20967 
   20968 
   20969 # Build lint "library" for more indepth checks of programs calling this library
   20970 # Check whether --enable-lint-library was given.
   20971 if test "${enable_lint_library+set}" = set; then
   20972   enableval=$enable_lint_library; make_lint_lib=$enableval
   20973 else
   20974   make_lint_lib=no
   20975 fi
   20976 
   20977 if test "x$make_lint_lib" != "xno" ; then
   20978 	if test "x$LINT" = "xno" ; then
   20979 		{ { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20980 $as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20981    { (exit 1); exit 1; }; }
   20982 	fi
   20983 	if test "x$make_lint_lib" = "xyes" ; then
   20984 		LINTLIB=llib-lXv.ln
   20985 	else
   20986 		LINTLIB=$make_lint_lib
   20987 	fi
   20988 fi
   20989 
   20990  if test x$make_lint_lib != xno; then
   20991   MAKE_LINT_LIB_TRUE=
   20992   MAKE_LINT_LIB_FALSE='#'
   20993 else
   20994   MAKE_LINT_LIB_TRUE='#'
   20995   MAKE_LINT_LIB_FALSE=
   20996 fi
   20997 
   20998 
   20999 
   21000 
   21001 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile man/Makefile xv.pc"
   21002 
   21003 cat >confcache <<\_ACEOF
   21004 # This file is a shell script that caches the results of configure
   21005 # tests run on this system so they can be shared between configure
   21006 # scripts and configure runs, see configure's option --config-cache.
   21007 # It is not useful on other systems.  If it contains results you don't
   21008 # want to keep, you may remove or edit it.
   21009 #
   21010 # config.status only pays attention to the cache file if you give it
   21011 # the --recheck option to rerun configure.
   21012 #
   21013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21015 # following values.
   21016 
   21017 _ACEOF
   21018 
   21019 # The following way of writing the cache mishandles newlines in values,
   21020 # but we know of no workaround that is simple, portable, and efficient.
   21021 # So, we kill variables containing newlines.
   21022 # Ultrix sh set writes to stderr and can't be redirected directly,
   21023 # and sets the high bit in the cache file unless we assign to the vars.
   21024 (
   21025   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21026     eval ac_val=\$$ac_var
   21027     case $ac_val in #(
   21028     *${as_nl}*)
   21029       case $ac_var in #(
   21030       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21032       esac
   21033       case $ac_var in #(
   21034       _ | IFS | as_nl) ;; #(
   21035       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21036       *) $as_unset $ac_var ;;
   21037       esac ;;
   21038     esac
   21039   done
   21040 
   21041   (set) 2>&1 |
   21042     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21043     *${as_nl}ac_space=\ *)
   21044       # `set' does not quote correctly, so add quotes (double-quote
   21045       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21046       sed -n \
   21047 	"s/'/'\\\\''/g;
   21048 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21049       ;; #(
   21050     *)
   21051       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21052       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21053       ;;
   21054     esac |
   21055     sort
   21056 ) |
   21057   sed '
   21058      /^ac_cv_env_/b end
   21059      t clear
   21060      :clear
   21061      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21062      t end
   21063      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21064      :end' >>confcache
   21065 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21066   if test -w "$cache_file"; then
   21067     test "x$cache_file" != "x/dev/null" &&
   21068       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21069 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21070     cat confcache >$cache_file
   21071   else
   21072     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21073 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21074   fi
   21075 fi
   21076 rm -f confcache
   21077 
   21078 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21079 # Let make expand exec_prefix.
   21080 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21081 
   21082 DEFS=-DHAVE_CONFIG_H
   21083 
   21084 ac_libobjs=
   21085 ac_ltlibobjs=
   21086 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21087   # 1. Remove the extension, and $U if already installed.
   21088   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21089   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21090   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21091   #    will be set to the directory where LIBOBJS objects are built.
   21092   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21093   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21094 done
   21095 LIBOBJS=$ac_libobjs
   21096 
   21097 LTLIBOBJS=$ac_ltlibobjs
   21098 
   21099 
   21100  if test -n "$EXEEXT"; then
   21101   am__EXEEXT_TRUE=
   21102   am__EXEEXT_FALSE='#'
   21103 else
   21104   am__EXEEXT_TRUE='#'
   21105   am__EXEEXT_FALSE=
   21106 fi
   21107 
   21108 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21109   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21110 Usually this means the macro was only invoked conditionally." >&5
   21111 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21112 Usually this means the macro was only invoked conditionally." >&2;}
   21113    { (exit 1); exit 1; }; }
   21114 fi
   21115 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21116   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21117 Usually this means the macro was only invoked conditionally." >&5
   21118 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21119 Usually this means the macro was only invoked conditionally." >&2;}
   21120    { (exit 1); exit 1; }; }
   21121 fi
   21122 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21123   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21124 Usually this means the macro was only invoked conditionally." >&5
   21125 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21126 Usually this means the macro was only invoked conditionally." >&2;}
   21127    { (exit 1); exit 1; }; }
   21128 fi
   21129 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21130   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21131 Usually this means the macro was only invoked conditionally." >&5
   21132 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21133 Usually this means the macro was only invoked conditionally." >&2;}
   21134    { (exit 1); exit 1; }; }
   21135 fi
   21136 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21137   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   21138 Usually this means the macro was only invoked conditionally." >&5
   21139 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   21140 Usually this means the macro was only invoked conditionally." >&2;}
   21141    { (exit 1); exit 1; }; }
   21142 fi
   21143 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21144   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   21145 Usually this means the macro was only invoked conditionally." >&5
   21146 $as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   21147 Usually this means the macro was only invoked conditionally." >&2;}
   21148    { (exit 1); exit 1; }; }
   21149 fi
   21150 
   21151 : ${CONFIG_STATUS=./config.status}
   21152 ac_write_fail=0
   21153 ac_clean_files_save=$ac_clean_files
   21154 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21155 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21156 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21157 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21158 #! $SHELL
   21159 # Generated by $as_me.
   21160 # Run this file to recreate the current configuration.
   21161 # Compiler output produced by configure, useful for debugging
   21162 # configure, is in config.log if it exists.
   21163 
   21164 debug=false
   21165 ac_cs_recheck=false
   21166 ac_cs_silent=false
   21167 SHELL=\${CONFIG_SHELL-$SHELL}
   21168 _ACEOF
   21169 
   21170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21171 ## --------------------- ##
   21172 ## M4sh Initialization.  ##
   21173 ## --------------------- ##
   21174 
   21175 # Be more Bourne compatible
   21176 DUALCASE=1; export DUALCASE # for MKS sh
   21177 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21178   emulate sh
   21179   NULLCMD=:
   21180   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21181   # is contrary to our usage.  Disable this feature.
   21182   alias -g '${1+"$@"}'='"$@"'
   21183   setopt NO_GLOB_SUBST
   21184 else
   21185   case `(set -o) 2>/dev/null` in
   21186   *posix*) set -o posix ;;
   21187 esac
   21188 
   21189 fi
   21190 
   21191 
   21192 
   21193 
   21194 # PATH needs CR
   21195 # Avoid depending upon Character Ranges.
   21196 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21197 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21198 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21199 as_cr_digits='0123456789'
   21200 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21201 
   21202 as_nl='
   21203 '
   21204 export as_nl
   21205 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21206 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21207 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21208 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21209 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21210   as_echo='printf %s\n'
   21211   as_echo_n='printf %s'
   21212 else
   21213   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21214     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21215     as_echo_n='/usr/ucb/echo -n'
   21216   else
   21217     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21218     as_echo_n_body='eval
   21219       arg=$1;
   21220       case $arg in
   21221       *"$as_nl"*)
   21222 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21223 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21224       esac;
   21225       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21226     '
   21227     export as_echo_n_body
   21228     as_echo_n='sh -c $as_echo_n_body as_echo'
   21229   fi
   21230   export as_echo_body
   21231   as_echo='sh -c $as_echo_body as_echo'
   21232 fi
   21233 
   21234 # The user is always right.
   21235 if test "${PATH_SEPARATOR+set}" != set; then
   21236   PATH_SEPARATOR=:
   21237   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21238     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21239       PATH_SEPARATOR=';'
   21240   }
   21241 fi
   21242 
   21243 # Support unset when possible.
   21244 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21245   as_unset=unset
   21246 else
   21247   as_unset=false
   21248 fi
   21249 
   21250 
   21251 # IFS
   21252 # We need space, tab and new line, in precisely that order.  Quoting is
   21253 # there to prevent editors from complaining about space-tab.
   21254 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21255 # splitting by setting IFS to empty value.)
   21256 IFS=" ""	$as_nl"
   21257 
   21258 # Find who we are.  Look in the path if we contain no directory separator.
   21259 case $0 in
   21260   *[\\/]* ) as_myself=$0 ;;
   21261   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21262 for as_dir in $PATH
   21263 do
   21264   IFS=$as_save_IFS
   21265   test -z "$as_dir" && as_dir=.
   21266   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21267 done
   21268 IFS=$as_save_IFS
   21269 
   21270      ;;
   21271 esac
   21272 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21273 # in which case we are not to be found in the path.
   21274 if test "x$as_myself" = x; then
   21275   as_myself=$0
   21276 fi
   21277 if test ! -f "$as_myself"; then
   21278   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21279   { (exit 1); exit 1; }
   21280 fi
   21281 
   21282 # Work around bugs in pre-3.0 UWIN ksh.
   21283 for as_var in ENV MAIL MAILPATH
   21284 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21285 done
   21286 PS1='$ '
   21287 PS2='> '
   21288 PS4='+ '
   21289 
   21290 # NLS nuisances.
   21291 LC_ALL=C
   21292 export LC_ALL
   21293 LANGUAGE=C
   21294 export LANGUAGE
   21295 
   21296 # Required to use basename.
   21297 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21298    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21299   as_expr=expr
   21300 else
   21301   as_expr=false
   21302 fi
   21303 
   21304 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21305   as_basename=basename
   21306 else
   21307   as_basename=false
   21308 fi
   21309 
   21310 
   21311 # Name of the executable.
   21312 as_me=`$as_basename -- "$0" ||
   21313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21314 	 X"$0" : 'X\(//\)$' \| \
   21315 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21316 $as_echo X/"$0" |
   21317     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21318 	    s//\1/
   21319 	    q
   21320 	  }
   21321 	  /^X\/\(\/\/\)$/{
   21322 	    s//\1/
   21323 	    q
   21324 	  }
   21325 	  /^X\/\(\/\).*/{
   21326 	    s//\1/
   21327 	    q
   21328 	  }
   21329 	  s/.*/./; q'`
   21330 
   21331 # CDPATH.
   21332 $as_unset CDPATH
   21333 
   21334 
   21335 
   21336   as_lineno_1=$LINENO
   21337   as_lineno_2=$LINENO
   21338   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21339   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21340 
   21341   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21342   # uniformly replaced by the line number.  The first 'sed' inserts a
   21343   # line-number line after each line using $LINENO; the second 'sed'
   21344   # does the real work.  The second script uses 'N' to pair each
   21345   # line-number line with the line containing $LINENO, and appends
   21346   # trailing '-' during substitution so that $LINENO is not a special
   21347   # case at line end.
   21348   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21349   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21350   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21351   sed -n '
   21352     p
   21353     /[$]LINENO/=
   21354   ' <$as_myself |
   21355     sed '
   21356       s/[$]LINENO.*/&-/
   21357       t lineno
   21358       b
   21359       :lineno
   21360       N
   21361       :loop
   21362       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21363       t loop
   21364       s/-\n.*//
   21365     ' >$as_me.lineno &&
   21366   chmod +x "$as_me.lineno" ||
   21367     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21368    { (exit 1); exit 1; }; }
   21369 
   21370   # Don't try to exec as it changes $[0], causing all sort of problems
   21371   # (the dirname of $[0] is not the place where we might find the
   21372   # original and so on.  Autoconf is especially sensitive to this).
   21373   . "./$as_me.lineno"
   21374   # Exit status is that of the last command.
   21375   exit
   21376 }
   21377 
   21378 
   21379 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21380   as_dirname=dirname
   21381 else
   21382   as_dirname=false
   21383 fi
   21384 
   21385 ECHO_C= ECHO_N= ECHO_T=
   21386 case `echo -n x` in
   21387 -n*)
   21388   case `echo 'x\c'` in
   21389   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21390   *)   ECHO_C='\c';;
   21391   esac;;
   21392 *)
   21393   ECHO_N='-n';;
   21394 esac
   21395 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21397   as_expr=expr
   21398 else
   21399   as_expr=false
   21400 fi
   21401 
   21402 rm -f conf$$ conf$$.exe conf$$.file
   21403 if test -d conf$$.dir; then
   21404   rm -f conf$$.dir/conf$$.file
   21405 else
   21406   rm -f conf$$.dir
   21407   mkdir conf$$.dir 2>/dev/null
   21408 fi
   21409 if (echo >conf$$.file) 2>/dev/null; then
   21410   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21411     as_ln_s='ln -s'
   21412     # ... but there are two gotchas:
   21413     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21414     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21415     # In both cases, we have to default to `cp -p'.
   21416     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21417       as_ln_s='cp -p'
   21418   elif ln conf$$.file conf$$ 2>/dev/null; then
   21419     as_ln_s=ln
   21420   else
   21421     as_ln_s='cp -p'
   21422   fi
   21423 else
   21424   as_ln_s='cp -p'
   21425 fi
   21426 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21427 rmdir conf$$.dir 2>/dev/null
   21428 
   21429 if mkdir -p . 2>/dev/null; then
   21430   as_mkdir_p=:
   21431 else
   21432   test -d ./-p && rmdir ./-p
   21433   as_mkdir_p=false
   21434 fi
   21435 
   21436 if test -x / >/dev/null 2>&1; then
   21437   as_test_x='test -x'
   21438 else
   21439   if ls -dL / >/dev/null 2>&1; then
   21440     as_ls_L_option=L
   21441   else
   21442     as_ls_L_option=
   21443   fi
   21444   as_test_x='
   21445     eval sh -c '\''
   21446       if test -d "$1"; then
   21447 	test -d "$1/.";
   21448       else
   21449 	case $1 in
   21450 	-*)set "./$1";;
   21451 	esac;
   21452 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21453 	???[sx]*):;;*)false;;esac;fi
   21454     '\'' sh
   21455   '
   21456 fi
   21457 as_executable_p=$as_test_x
   21458 
   21459 # Sed expression to map a string onto a valid CPP name.
   21460 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21461 
   21462 # Sed expression to map a string onto a valid variable name.
   21463 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21464 
   21465 
   21466 exec 6>&1
   21467 
   21468 # Save the log message, to keep $[0] and so on meaningful, and to
   21469 # report actual input values of CONFIG_FILES etc. instead of their
   21470 # values after options handling.
   21471 ac_log="
   21472 This file was extended by libXv $as_me 1.0.5, which was
   21473 generated by GNU Autoconf 2.63.  Invocation command line was
   21474 
   21475   CONFIG_FILES    = $CONFIG_FILES
   21476   CONFIG_HEADERS  = $CONFIG_HEADERS
   21477   CONFIG_LINKS    = $CONFIG_LINKS
   21478   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21479   $ $0 $@
   21480 
   21481 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21482 "
   21483 
   21484 _ACEOF
   21485 
   21486 case $ac_config_files in *"
   21487 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21488 esac
   21489 
   21490 case $ac_config_headers in *"
   21491 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21492 esac
   21493 
   21494 
   21495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21496 # Files that config.status was made for.
   21497 config_files="$ac_config_files"
   21498 config_headers="$ac_config_headers"
   21499 config_commands="$ac_config_commands"
   21500 
   21501 _ACEOF
   21502 
   21503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21504 ac_cs_usage="\
   21505 \`$as_me' instantiates files from templates according to the
   21506 current configuration.
   21507 
   21508 Usage: $0 [OPTION]... [FILE]...
   21509 
   21510   -h, --help       print this help, then exit
   21511   -V, --version    print version number and configuration settings, then exit
   21512   -q, --quiet, --silent
   21513                    do not print progress messages
   21514   -d, --debug      don't remove temporary files
   21515       --recheck    update $as_me by reconfiguring in the same conditions
   21516       --file=FILE[:TEMPLATE]
   21517                    instantiate the configuration file FILE
   21518       --header=FILE[:TEMPLATE]
   21519                    instantiate the configuration header FILE
   21520 
   21521 Configuration files:
   21522 $config_files
   21523 
   21524 Configuration headers:
   21525 $config_headers
   21526 
   21527 Configuration commands:
   21528 $config_commands
   21529 
   21530 Report bugs to <bug-autoconf (at] gnu.org>."
   21531 
   21532 _ACEOF
   21533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21534 ac_cs_version="\\
   21535 libXv config.status 1.0.5
   21536 configured by $0, generated by GNU Autoconf 2.63,
   21537   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21538 
   21539 Copyright (C) 2008 Free Software Foundation, Inc.
   21540 This config.status script is free software; the Free Software Foundation
   21541 gives unlimited permission to copy, distribute and modify it."
   21542 
   21543 ac_pwd='$ac_pwd'
   21544 srcdir='$srcdir'
   21545 INSTALL='$INSTALL'
   21546 MKDIR_P='$MKDIR_P'
   21547 AWK='$AWK'
   21548 test -n "\$AWK" || AWK=awk
   21549 _ACEOF
   21550 
   21551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21552 # The default lists apply if the user does not specify any file.
   21553 ac_need_defaults=:
   21554 while test $# != 0
   21555 do
   21556   case $1 in
   21557   --*=*)
   21558     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21559     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21560     ac_shift=:
   21561     ;;
   21562   *)
   21563     ac_option=$1
   21564     ac_optarg=$2
   21565     ac_shift=shift
   21566     ;;
   21567   esac
   21568 
   21569   case $ac_option in
   21570   # Handling of the options.
   21571   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21572     ac_cs_recheck=: ;;
   21573   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21574     $as_echo "$ac_cs_version"; exit ;;
   21575   --debug | --debu | --deb | --de | --d | -d )
   21576     debug=: ;;
   21577   --file | --fil | --fi | --f )
   21578     $ac_shift
   21579     case $ac_optarg in
   21580     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21581     esac
   21582     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   21583     ac_need_defaults=false;;
   21584   --header | --heade | --head | --hea )
   21585     $ac_shift
   21586     case $ac_optarg in
   21587     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21588     esac
   21589     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   21590     ac_need_defaults=false;;
   21591   --he | --h)
   21592     # Conflict between --help and --header
   21593     { $as_echo "$as_me: error: ambiguous option: $1
   21594 Try \`$0 --help' for more information." >&2
   21595    { (exit 1); exit 1; }; };;
   21596   --help | --hel | -h )
   21597     $as_echo "$ac_cs_usage"; exit ;;
   21598   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21599   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21600     ac_cs_silent=: ;;
   21601 
   21602   # This is an error.
   21603   -*) { $as_echo "$as_me: error: unrecognized option: $1
   21604 Try \`$0 --help' for more information." >&2
   21605    { (exit 1); exit 1; }; } ;;
   21606 
   21607   *) ac_config_targets="$ac_config_targets $1"
   21608      ac_need_defaults=false ;;
   21609 
   21610   esac
   21611   shift
   21612 done
   21613 
   21614 ac_configure_extra_args=
   21615 
   21616 if $ac_cs_silent; then
   21617   exec 6>/dev/null
   21618   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21619 fi
   21620 
   21621 _ACEOF
   21622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21623 if \$ac_cs_recheck; then
   21624   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21625   shift
   21626   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21627   CONFIG_SHELL='$SHELL'
   21628   export CONFIG_SHELL
   21629   exec "\$@"
   21630 fi
   21631 
   21632 _ACEOF
   21633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21634 exec 5>>config.log
   21635 {
   21636   echo
   21637   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21638 ## Running $as_me. ##
   21639 _ASBOX
   21640   $as_echo "$ac_log"
   21641 } >&5
   21642 
   21643 _ACEOF
   21644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21645 #
   21646 # INIT-COMMANDS
   21647 #
   21648 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21649 
   21650 _ACEOF
   21651 
   21652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21653 
   21654 # Handling of arguments.
   21655 for ac_config_target in $ac_config_targets
   21656 do
   21657   case $ac_config_target in
   21658     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21659     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21660     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21661     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21662     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   21663     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   21664     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21665     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21666     "xv.pc") CONFIG_FILES="$CONFIG_FILES xv.pc" ;;
   21667 
   21668   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21669 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21670    { (exit 1); exit 1; }; };;
   21671   esac
   21672 done
   21673 
   21674 
   21675 # If the user did not use the arguments to specify the items to instantiate,
   21676 # then the envvar interface is used.  Set only those that are not.
   21677 # We use the long form for the default assignment because of an extremely
   21678 # bizarre bug on SunOS 4.1.3.
   21679 if $ac_need_defaults; then
   21680   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21681   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21682   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21683 fi
   21684 
   21685 # Have a temporary directory for convenience.  Make it in the build tree
   21686 # simply because there is no reason against having it here, and in addition,
   21687 # creating and moving files from /tmp can sometimes cause problems.
   21688 # Hook for its removal unless debugging.
   21689 # Note that there is a small window in which the directory will not be cleaned:
   21690 # after its creation but before its name has been assigned to `$tmp'.
   21691 $debug ||
   21692 {
   21693   tmp=
   21694   trap 'exit_status=$?
   21695   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21696 ' 0
   21697   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21698 }
   21699 # Create a (secure) tmp directory for tmp files.
   21700 
   21701 {
   21702   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21703   test -n "$tmp" && test -d "$tmp"
   21704 }  ||
   21705 {
   21706   tmp=./conf$$-$RANDOM
   21707   (umask 077 && mkdir "$tmp")
   21708 } ||
   21709 {
   21710    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   21711    { (exit 1); exit 1; }
   21712 }
   21713 
   21714 # Set up the scripts for CONFIG_FILES section.
   21715 # No need to generate them if there are no CONFIG_FILES.
   21716 # This happens for instance with `./config.status config.h'.
   21717 if test -n "$CONFIG_FILES"; then
   21718 
   21719 
   21720 ac_cr='
'
   21722 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21723 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21724   ac_cs_awk_cr='\\r'
   21725 else
   21726   ac_cs_awk_cr=$ac_cr
   21727 fi
   21728 
   21729 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   21730 _ACEOF
   21731 
   21732 
   21733 {
   21734   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21735   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21736   echo "_ACEOF"
   21737 } >conf$$subs.sh ||
   21738   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21739 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21740    { (exit 1); exit 1; }; }
   21741 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   21742 ac_delim='%!_!# '
   21743 for ac_last_try in false false false false false :; do
   21744   . ./conf$$subs.sh ||
   21745     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21746 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21747    { (exit 1); exit 1; }; }
   21748 
   21749   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21750   if test $ac_delim_n = $ac_delim_num; then
   21751     break
   21752   elif $ac_last_try; then
   21753     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21754 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21755    { (exit 1); exit 1; }; }
   21756   else
   21757     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21758   fi
   21759 done
   21760 rm -f conf$$subs.sh
   21761 
   21762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21763 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   21764 _ACEOF
   21765 sed -n '
   21766 h
   21767 s/^/S["/; s/!.*/"]=/
   21768 p
   21769 g
   21770 s/^[^!]*!//
   21771 :repl
   21772 t repl
   21773 s/'"$ac_delim"'$//
   21774 t delim
   21775 :nl
   21776 h
   21777 s/\(.\{148\}\).*/\1/
   21778 t more1
   21779 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21780 p
   21781 n
   21782 b repl
   21783 :more1
   21784 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21785 p
   21786 g
   21787 s/.\{148\}//
   21788 t nl
   21789 :delim
   21790 h
   21791 s/\(.\{148\}\).*/\1/
   21792 t more2
   21793 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21794 p
   21795 b
   21796 :more2
   21797 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21798 p
   21799 g
   21800 s/.\{148\}//
   21801 t delim
   21802 ' <conf$$subs.awk | sed '
   21803 /^[^""]/{
   21804   N
   21805   s/\n//
   21806 }
   21807 ' >>$CONFIG_STATUS || ac_write_fail=1
   21808 rm -f conf$$subs.awk
   21809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21810 _ACAWK
   21811 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   21812   for (key in S) S_is_set[key] = 1
   21813   FS = ""
   21814 
   21815 }
   21816 {
   21817   line = $ 0
   21818   nfields = split(line, field, "@")
   21819   substed = 0
   21820   len = length(field[1])
   21821   for (i = 2; i < nfields; i++) {
   21822     key = field[i]
   21823     keylen = length(key)
   21824     if (S_is_set[key]) {
   21825       value = S[key]
   21826       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21827       len += length(value) + length(field[++i])
   21828       substed = 1
   21829     } else
   21830       len += 1 + keylen
   21831   }
   21832 
   21833   print line
   21834 }
   21835 
   21836 _ACAWK
   21837 _ACEOF
   21838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21839 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21840   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21841 else
   21842   cat
   21843 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   21844   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   21845 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   21846    { (exit 1); exit 1; }; }
   21847 _ACEOF
   21848 
   21849 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21850 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21851 # trailing colons and then remove the whole line if VPATH becomes empty
   21852 # (actually we leave an empty line to preserve line numbers).
   21853 if test "x$srcdir" = x.; then
   21854   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21855 s/:*\$(srcdir):*/:/
   21856 s/:*\${srcdir}:*/:/
   21857 s/:*@srcdir@:*/:/
   21858 s/^\([^=]*=[	 ]*\):*/\1/
   21859 s/:*$//
   21860 s/^[^=]*=[	 ]*$//
   21861 }'
   21862 fi
   21863 
   21864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21865 fi # test -n "$CONFIG_FILES"
   21866 
   21867 # Set up the scripts for CONFIG_HEADERS section.
   21868 # No need to generate them if there are no CONFIG_HEADERS.
   21869 # This happens for instance with `./config.status Makefile'.
   21870 if test -n "$CONFIG_HEADERS"; then
   21871 cat >"$tmp/defines.awk" <<\_ACAWK ||
   21872 BEGIN {
   21873 _ACEOF
   21874 
   21875 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21876 # here-document in config.status, that substitutes the proper values into
   21877 # config.h.in to produce config.h.
   21878 
   21879 # Create a delimiter string that does not exist in confdefs.h, to ease
   21880 # handling of long lines.
   21881 ac_delim='%!_!# '
   21882 for ac_last_try in false false :; do
   21883   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   21884   if test -z "$ac_t"; then
   21885     break
   21886   elif $ac_last_try; then
   21887     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   21888 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   21889    { (exit 1); exit 1; }; }
   21890   else
   21891     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21892   fi
   21893 done
   21894 
   21895 # For the awk script, D is an array of macro values keyed by name,
   21896 # likewise P contains macro parameters if any.  Preserve backslash
   21897 # newline sequences.
   21898 
   21899 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21900 sed -n '
   21901 s/.\{148\}/&'"$ac_delim"'/g
   21902 t rset
   21903 :rset
   21904 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21905 t def
   21906 d
   21907 :def
   21908 s/\\$//
   21909 t bsnl
   21910 s/["\\]/\\&/g
   21911 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21912 D["\1"]=" \3"/p
   21913 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21914 d
   21915 :bsnl
   21916 s/["\\]/\\&/g
   21917 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21918 D["\1"]=" \3\\\\\\n"\\/p
   21919 t cont
   21920 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21921 t cont
   21922 d
   21923 :cont
   21924 n
   21925 s/.\{148\}/&'"$ac_delim"'/g
   21926 t clear
   21927 :clear
   21928 s/\\$//
   21929 t bsnlc
   21930 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21931 d
   21932 :bsnlc
   21933 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21934 b cont
   21935 ' <confdefs.h | sed '
   21936 s/'"$ac_delim"'/"\\\
   21937 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21938 
   21939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21940   for (key in D) D_is_set[key] = 1
   21941   FS = ""
   21942 }
   21943 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21944   line = \$ 0
   21945   split(line, arg, " ")
   21946   if (arg[1] == "#") {
   21947     defundef = arg[2]
   21948     mac1 = arg[3]
   21949   } else {
   21950     defundef = substr(arg[1], 2)
   21951     mac1 = arg[2]
   21952   }
   21953   split(mac1, mac2, "(") #)
   21954   macro = mac2[1]
   21955   prefix = substr(line, 1, index(line, defundef) - 1)
   21956   if (D_is_set[macro]) {
   21957     # Preserve the white space surrounding the "#".
   21958     print prefix "define", macro P[macro] D[macro]
   21959     next
   21960   } else {
   21961     # Replace #undef with comments.  This is necessary, for example,
   21962     # in the case of _POSIX_SOURCE, which is predefined and required
   21963     # on some systems where configure will not decide to define it.
   21964     if (defundef == "undef") {
   21965       print "/*", prefix defundef, macro, "*/"
   21966       next
   21967     }
   21968   }
   21969 }
   21970 { print }
   21971 _ACAWK
   21972 _ACEOF
   21973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21974   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   21975 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   21976    { (exit 1); exit 1; }; }
   21977 fi # test -n "$CONFIG_HEADERS"
   21978 
   21979 
   21980 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21981 shift
   21982 for ac_tag
   21983 do
   21984   case $ac_tag in
   21985   :[FHLC]) ac_mode=$ac_tag; continue;;
   21986   esac
   21987   case $ac_mode$ac_tag in
   21988   :[FHL]*:*);;
   21989   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   21990 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   21991    { (exit 1); exit 1; }; };;
   21992   :[FH]-) ac_tag=-:-;;
   21993   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21994   esac
   21995   ac_save_IFS=$IFS
   21996   IFS=:
   21997   set x $ac_tag
   21998   IFS=$ac_save_IFS
   21999   shift
   22000   ac_file=$1
   22001   shift
   22002 
   22003   case $ac_mode in
   22004   :L) ac_source=$1;;
   22005   :[FH])
   22006     ac_file_inputs=
   22007     for ac_f
   22008     do
   22009       case $ac_f in
   22010       -) ac_f="$tmp/stdin";;
   22011       *) # Look for the file first in the build tree, then in the source tree
   22012 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22013 	 # because $ac_f cannot contain `:'.
   22014 	 test -f "$ac_f" ||
   22015 	   case $ac_f in
   22016 	   [\\/$]*) false;;
   22017 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22018 	   esac ||
   22019 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22020 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22021    { (exit 1); exit 1; }; };;
   22022       esac
   22023       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22024       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22025     done
   22026 
   22027     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22028     # use $as_me), people would be surprised to read:
   22029     #    /* config.h.  Generated by config.status.  */
   22030     configure_input='Generated from '`
   22031 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22032 	`' by configure.'
   22033     if test x"$ac_file" != x-; then
   22034       configure_input="$ac_file.  $configure_input"
   22035       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22036 $as_echo "$as_me: creating $ac_file" >&6;}
   22037     fi
   22038     # Neutralize special characters interpreted by sed in replacement strings.
   22039     case $configure_input in #(
   22040     *\&* | *\|* | *\\* )
   22041        ac_sed_conf_input=`$as_echo "$configure_input" |
   22042        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22043     *) ac_sed_conf_input=$configure_input;;
   22044     esac
   22045 
   22046     case $ac_tag in
   22047     *:-:* | *:-) cat >"$tmp/stdin" \
   22048       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22049 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22050    { (exit 1); exit 1; }; } ;;
   22051     esac
   22052     ;;
   22053   esac
   22054 
   22055   ac_dir=`$as_dirname -- "$ac_file" ||
   22056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22057 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22058 	 X"$ac_file" : 'X\(//\)$' \| \
   22059 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22060 $as_echo X"$ac_file" |
   22061     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22062 	    s//\1/
   22063 	    q
   22064 	  }
   22065 	  /^X\(\/\/\)[^/].*/{
   22066 	    s//\1/
   22067 	    q
   22068 	  }
   22069 	  /^X\(\/\/\)$/{
   22070 	    s//\1/
   22071 	    q
   22072 	  }
   22073 	  /^X\(\/\).*/{
   22074 	    s//\1/
   22075 	    q
   22076 	  }
   22077 	  s/.*/./; q'`
   22078   { as_dir="$ac_dir"
   22079   case $as_dir in #(
   22080   -*) as_dir=./$as_dir;;
   22081   esac
   22082   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22083     as_dirs=
   22084     while :; do
   22085       case $as_dir in #(
   22086       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22087       *) as_qdir=$as_dir;;
   22088       esac
   22089       as_dirs="'$as_qdir' $as_dirs"
   22090       as_dir=`$as_dirname -- "$as_dir" ||
   22091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22092 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22093 	 X"$as_dir" : 'X\(//\)$' \| \
   22094 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22095 $as_echo X"$as_dir" |
   22096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22097 	    s//\1/
   22098 	    q
   22099 	  }
   22100 	  /^X\(\/\/\)[^/].*/{
   22101 	    s//\1/
   22102 	    q
   22103 	  }
   22104 	  /^X\(\/\/\)$/{
   22105 	    s//\1/
   22106 	    q
   22107 	  }
   22108 	  /^X\(\/\).*/{
   22109 	    s//\1/
   22110 	    q
   22111 	  }
   22112 	  s/.*/./; q'`
   22113       test -d "$as_dir" && break
   22114     done
   22115     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22116   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22117 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22118    { (exit 1); exit 1; }; }; }
   22119   ac_builddir=.
   22120 
   22121 case "$ac_dir" in
   22122 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22123 *)
   22124   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22125   # A ".." for each directory in $ac_dir_suffix.
   22126   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22127   case $ac_top_builddir_sub in
   22128   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22129   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22130   esac ;;
   22131 esac
   22132 ac_abs_top_builddir=$ac_pwd
   22133 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22134 # for backward compatibility:
   22135 ac_top_builddir=$ac_top_build_prefix
   22136 
   22137 case $srcdir in
   22138   .)  # We are building in place.
   22139     ac_srcdir=.
   22140     ac_top_srcdir=$ac_top_builddir_sub
   22141     ac_abs_top_srcdir=$ac_pwd ;;
   22142   [\\/]* | ?:[\\/]* )  # Absolute name.
   22143     ac_srcdir=$srcdir$ac_dir_suffix;
   22144     ac_top_srcdir=$srcdir
   22145     ac_abs_top_srcdir=$srcdir ;;
   22146   *) # Relative name.
   22147     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22148     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22149     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22150 esac
   22151 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22152 
   22153 
   22154   case $ac_mode in
   22155   :F)
   22156   #
   22157   # CONFIG_FILE
   22158   #
   22159 
   22160   case $INSTALL in
   22161   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22162   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22163   esac
   22164   ac_MKDIR_P=$MKDIR_P
   22165   case $MKDIR_P in
   22166   [\\/$]* | ?:[\\/]* ) ;;
   22167   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22168   esac
   22169 _ACEOF
   22170 
   22171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22172 # If the template does not know about datarootdir, expand it.
   22173 # FIXME: This hack should be removed a few years after 2.60.
   22174 ac_datarootdir_hack=; ac_datarootdir_seen=
   22175 
   22176 ac_sed_dataroot='
   22177 /datarootdir/ {
   22178   p
   22179   q
   22180 }
   22181 /@datadir@/p
   22182 /@docdir@/p
   22183 /@infodir@/p
   22184 /@localedir@/p
   22185 /@mandir@/p
   22186 '
   22187 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22188 *datarootdir*) ac_datarootdir_seen=yes;;
   22189 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22190   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22191 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22192 _ACEOF
   22193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22194   ac_datarootdir_hack='
   22195   s&@datadir@&$datadir&g
   22196   s&@docdir@&$docdir&g
   22197   s&@infodir@&$infodir&g
   22198   s&@localedir@&$localedir&g
   22199   s&@mandir@&$mandir&g
   22200     s&\\\${datarootdir}&$datarootdir&g' ;;
   22201 esac
   22202 _ACEOF
   22203 
   22204 # Neutralize VPATH when `$srcdir' = `.'.
   22205 # Shell code in configure.ac might set extrasub.
   22206 # FIXME: do we really want to maintain this feature?
   22207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22208 ac_sed_extra="$ac_vpsub
   22209 $extrasub
   22210 _ACEOF
   22211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22212 :t
   22213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22214 s|@configure_input@|$ac_sed_conf_input|;t t
   22215 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22216 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22217 s&@srcdir@&$ac_srcdir&;t t
   22218 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22219 s&@top_srcdir@&$ac_top_srcdir&;t t
   22220 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22221 s&@builddir@&$ac_builddir&;t t
   22222 s&@abs_builddir@&$ac_abs_builddir&;t t
   22223 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22224 s&@INSTALL@&$ac_INSTALL&;t t
   22225 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22226 $ac_datarootdir_hack
   22227 "
   22228 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   22229   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22230 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22231    { (exit 1); exit 1; }; }
   22232 
   22233 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22234   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22235   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22236   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22237 which seems to be undefined.  Please make sure it is defined." >&5
   22238 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22239 which seems to be undefined.  Please make sure it is defined." >&2;}
   22240 
   22241   rm -f "$tmp/stdin"
   22242   case $ac_file in
   22243   -) cat "$tmp/out" && rm -f "$tmp/out";;
   22244   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   22245   esac \
   22246   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22247 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22248    { (exit 1); exit 1; }; }
   22249  ;;
   22250   :H)
   22251   #
   22252   # CONFIG_HEADER
   22253   #
   22254   if test x"$ac_file" != x-; then
   22255     {
   22256       $as_echo "/* $configure_input  */" \
   22257       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   22258     } >"$tmp/config.h" \
   22259       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22260 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22261    { (exit 1); exit 1; }; }
   22262     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   22263       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22264 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22265     else
   22266       rm -f "$ac_file"
   22267       mv "$tmp/config.h" "$ac_file" \
   22268 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22269 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22270    { (exit 1); exit 1; }; }
   22271     fi
   22272   else
   22273     $as_echo "/* $configure_input  */" \
   22274       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   22275       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   22276 $as_echo "$as_me: error: could not create -" >&2;}
   22277    { (exit 1); exit 1; }; }
   22278   fi
   22279 # Compute "$ac_file"'s index in $config_headers.
   22280 _am_arg="$ac_file"
   22281 _am_stamp_count=1
   22282 for _am_header in $config_headers :; do
   22283   case $_am_header in
   22284     $_am_arg | $_am_arg:* )
   22285       break ;;
   22286     * )
   22287       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22288   esac
   22289 done
   22290 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22291 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22292 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22293 	 X"$_am_arg" : 'X\(//\)$' \| \
   22294 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22295 $as_echo X"$_am_arg" |
   22296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22297 	    s//\1/
   22298 	    q
   22299 	  }
   22300 	  /^X\(\/\/\)[^/].*/{
   22301 	    s//\1/
   22302 	    q
   22303 	  }
   22304 	  /^X\(\/\/\)$/{
   22305 	    s//\1/
   22306 	    q
   22307 	  }
   22308 	  /^X\(\/\).*/{
   22309 	    s//\1/
   22310 	    q
   22311 	  }
   22312 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22313  ;;
   22314 
   22315   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22316 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22317  ;;
   22318   esac
   22319 
   22320 
   22321   case $ac_file$ac_mode in
   22322     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22323   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   22324   # are listed without --file.  Let's play safe and only enable the eval
   22325   # if we detect the quoting.
   22326   case $CONFIG_FILES in
   22327   *\'*) eval set x "$CONFIG_FILES" ;;
   22328   *)   set x $CONFIG_FILES ;;
   22329   esac
   22330   shift
   22331   for mf
   22332   do
   22333     # Strip MF so we end up with the name of the file.
   22334     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22335     # Check whether this is an Automake generated Makefile or not.
   22336     # We used to match only the files named `Makefile.in', but
   22337     # some people rename them; so instead we look at the file content.
   22338     # Grep'ing the first line is not enough: some people post-process
   22339     # each Makefile.in and add a new line on top of each file to say so.
   22340     # Grep'ing the whole file is not good either: AIX grep has a line
   22341     # limit of 2048, but all sed's we know have understand at least 4000.
   22342     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22343       dirpart=`$as_dirname -- "$mf" ||
   22344 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22345 	 X"$mf" : 'X\(//\)[^/]' \| \
   22346 	 X"$mf" : 'X\(//\)$' \| \
   22347 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22348 $as_echo X"$mf" |
   22349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22350 	    s//\1/
   22351 	    q
   22352 	  }
   22353 	  /^X\(\/\/\)[^/].*/{
   22354 	    s//\1/
   22355 	    q
   22356 	  }
   22357 	  /^X\(\/\/\)$/{
   22358 	    s//\1/
   22359 	    q
   22360 	  }
   22361 	  /^X\(\/\).*/{
   22362 	    s//\1/
   22363 	    q
   22364 	  }
   22365 	  s/.*/./; q'`
   22366     else
   22367       continue
   22368     fi
   22369     # Extract the definition of DEPDIR, am__include, and am__quote
   22370     # from the Makefile without running `make'.
   22371     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22372     test -z "$DEPDIR" && continue
   22373     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22374     test -z "am__include" && continue
   22375     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22376     # When using ansi2knr, U may be empty or an underscore; expand it
   22377     U=`sed -n 's/^U = //p' < "$mf"`
   22378     # Find all dependency output files, they are included files with
   22379     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22380     # simplest approach to changing $(DEPDIR) to its actual value in the
   22381     # expansion.
   22382     for file in `sed -n "
   22383       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22384 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22385       # Make sure the directory exists.
   22386       test -f "$dirpart/$file" && continue
   22387       fdir=`$as_dirname -- "$file" ||
   22388 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22389 	 X"$file" : 'X\(//\)[^/]' \| \
   22390 	 X"$file" : 'X\(//\)$' \| \
   22391 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22392 $as_echo X"$file" |
   22393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22394 	    s//\1/
   22395 	    q
   22396 	  }
   22397 	  /^X\(\/\/\)[^/].*/{
   22398 	    s//\1/
   22399 	    q
   22400 	  }
   22401 	  /^X\(\/\/\)$/{
   22402 	    s//\1/
   22403 	    q
   22404 	  }
   22405 	  /^X\(\/\).*/{
   22406 	    s//\1/
   22407 	    q
   22408 	  }
   22409 	  s/.*/./; q'`
   22410       { as_dir=$dirpart/$fdir
   22411   case $as_dir in #(
   22412   -*) as_dir=./$as_dir;;
   22413   esac
   22414   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22415     as_dirs=
   22416     while :; do
   22417       case $as_dir in #(
   22418       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22419       *) as_qdir=$as_dir;;
   22420       esac
   22421       as_dirs="'$as_qdir' $as_dirs"
   22422       as_dir=`$as_dirname -- "$as_dir" ||
   22423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22424 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22425 	 X"$as_dir" : 'X\(//\)$' \| \
   22426 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22427 $as_echo X"$as_dir" |
   22428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22429 	    s//\1/
   22430 	    q
   22431 	  }
   22432 	  /^X\(\/\/\)[^/].*/{
   22433 	    s//\1/
   22434 	    q
   22435 	  }
   22436 	  /^X\(\/\/\)$/{
   22437 	    s//\1/
   22438 	    q
   22439 	  }
   22440 	  /^X\(\/\).*/{
   22441 	    s//\1/
   22442 	    q
   22443 	  }
   22444 	  s/.*/./; q'`
   22445       test -d "$as_dir" && break
   22446     done
   22447     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22448   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22449 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22450    { (exit 1); exit 1; }; }; }
   22451       # echo "creating $dirpart/$file"
   22452       echo '# dummy' > "$dirpart/$file"
   22453     done
   22454   done
   22455 }
   22456  ;;
   22457 
   22458   esac
   22459 done # for ac_tag
   22460 
   22461 
   22462 { (exit 0); exit 0; }
   22463 _ACEOF
   22464 chmod +x $CONFIG_STATUS
   22465 ac_clean_files=$ac_clean_files_save
   22466 
   22467 test $ac_write_fail = 0 ||
   22468   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   22469 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   22470    { (exit 1); exit 1; }; }
   22471 
   22472 
   22473 # configure is writing to config.log, and then calls config.status.
   22474 # config.status does its own redirection, appending to config.log.
   22475 # Unfortunately, on DOS this fails, as config.log is still kept open
   22476 # by configure, so config.status won't be able to write to it; its
   22477 # output is simply discarded.  So we exec the FD to /dev/null,
   22478 # effectively closing config.log, so it can be properly (re)opened and
   22479 # appended to by config.status.  When coming back to configure, we
   22480 # need to make the FD available again.
   22481 if test "$no_create" != yes; then
   22482   ac_cs_success=:
   22483   ac_config_status_args=
   22484   test "$silent" = yes &&
   22485     ac_config_status_args="$ac_config_status_args --quiet"
   22486   exec 5>/dev/null
   22487   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22488   exec 5>>config.log
   22489   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22490   # would make configure fail if this is the last instruction.
   22491   $ac_cs_success || { (exit 1); exit 1; }
   22492 fi
   22493 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22494   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22495 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22496 fi
   22497 
   22498