Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-neomagic 1.2.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='xf86-video-neomagic'
    752 PACKAGE_TARNAME='xf86-video-neomagic'
    753 PACKAGE_VERSION='1.2.4'
    754 PACKAGE_STRING='xf86-video-neomagic 1.2.4'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 ac_unique_file="Makefile.am"
    758 # Factoring default headers for most tests.
    759 ac_includes_default="\
    760 #include <stdio.h>
    761 #ifdef HAVE_SYS_TYPES_H
    762 # include <sys/types.h>
    763 #endif
    764 #ifdef HAVE_SYS_STAT_H
    765 # include <sys/stat.h>
    766 #endif
    767 #ifdef STDC_HEADERS
    768 # include <stdlib.h>
    769 # include <stddef.h>
    770 #else
    771 # ifdef HAVE_STDLIB_H
    772 #  include <stdlib.h>
    773 # endif
    774 #endif
    775 #ifdef HAVE_STRING_H
    776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    777 #  include <memory.h>
    778 # endif
    779 # include <string.h>
    780 #endif
    781 #ifdef HAVE_STRINGS_H
    782 # include <strings.h>
    783 #endif
    784 #ifdef HAVE_INTTYPES_H
    785 # include <inttypes.h>
    786 #endif
    787 #ifdef HAVE_STDINT_H
    788 # include <stdint.h>
    789 #endif
    790 #ifdef HAVE_UNISTD_H
    791 # include <unistd.h>
    792 #endif"
    793 
    794 ac_subst_vars='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 DRIVER_NAME
    811 moduledir
    812 XSERVER_LIBPCIACCESS_FALSE
    813 XSERVER_LIBPCIACCESS_TRUE
    814 PCIACCESS_LIBS
    815 PCIACCESS_CFLAGS
    816 XORG_LIBS
    817 XORG_CFLAGS
    818 PKG_CONFIG
    819 LIBTOOL
    820 ac_ct_F77
    821 FFLAGS
    822 F77
    823 CXXCPP
    824 am__fastdepCXX_FALSE
    825 am__fastdepCXX_TRUE
    826 CXXDEPMODE
    827 ac_ct_CXX
    828 CXXFLAGS
    829 CXX
    830 CPP
    831 NMEDIT
    832 DSYMUTIL
    833 RANLIB
    834 AR
    835 ECHO
    836 LN_S
    837 EGREP
    838 GREP
    839 SED
    840 am__fastdepCC_FALSE
    841 am__fastdepCC_TRUE
    842 CCDEPMODE
    843 AMDEPBACKSLASH
    844 AMDEP_FALSE
    845 AMDEP_TRUE
    846 am__quote
    847 am__include
    848 DEPDIR
    849 OBJEXT
    850 EXEEXT
    851 ac_ct_CC
    852 CPPFLAGS
    853 LDFLAGS
    854 CFLAGS
    855 CC
    856 host_os
    857 host_vendor
    858 host_cpu
    859 host
    860 build_os
    861 build_vendor
    862 build_cpu
    863 build
    864 MAINT
    865 MAINTAINER_MODE_FALSE
    866 MAINTAINER_MODE_TRUE
    867 am__untar
    868 am__tar
    869 AMTAR
    870 am__leading_dot
    871 SET_MAKE
    872 AWK
    873 mkdir_p
    874 MKDIR_P
    875 INSTALL_STRIP_PROGRAM
    876 STRIP
    877 install_sh
    878 MAKEINFO
    879 AUTOHEADER
    880 AUTOMAKE
    881 AUTOCONF
    882 ACLOCAL
    883 VERSION
    884 PACKAGE
    885 CYGPATH_W
    886 am__isrc
    887 INSTALL_DATA
    888 INSTALL_SCRIPT
    889 INSTALL_PROGRAM
    890 target_alias
    891 host_alias
    892 build_alias
    893 LIBS
    894 ECHO_T
    895 ECHO_N
    896 ECHO_C
    897 DEFS
    898 mandir
    899 localedir
    900 libdir
    901 psdir
    902 pdfdir
    903 dvidir
    904 htmldir
    905 infodir
    906 docdir
    907 oldincludedir
    908 includedir
    909 localstatedir
    910 sharedstatedir
    911 sysconfdir
    912 datadir
    913 datarootdir
    914 libexecdir
    915 sbindir
    916 bindir
    917 program_transform_name
    918 prefix
    919 exec_prefix
    920 PACKAGE_BUGREPORT
    921 PACKAGE_STRING
    922 PACKAGE_VERSION
    923 PACKAGE_TARNAME
    924 PACKAGE_NAME
    925 PATH_SEPARATOR
    926 SHELL'
    927 ac_subst_files=''
    928 ac_user_opts='
    929 enable_option_checking
    930 enable_maintainer_mode
    931 enable_static
    932 enable_shared
    933 enable_fast_install
    934 enable_dependency_tracking
    935 with_gnu_ld
    936 enable_libtool_lock
    937 with_pic
    938 with_tags
    939 with_xorg_module_dir
    940 with_release_version
    941 '
    942       ac_precious_vars='build_alias
    943 host_alias
    944 target_alias
    945 CC
    946 CFLAGS
    947 LDFLAGS
    948 LIBS
    949 CPPFLAGS
    950 CPP
    951 CXX
    952 CXXFLAGS
    953 CCC
    954 CXXCPP
    955 F77
    956 FFLAGS
    957 PKG_CONFIG
    958 XORG_CFLAGS
    959 XORG_LIBS
    960 PCIACCESS_CFLAGS
    961 PCIACCESS_LIBS'
    962 
    963 
    964 # Initialize some variables set by options.
    965 ac_init_help=
    966 ac_init_version=false
    967 ac_unrecognized_opts=
    968 ac_unrecognized_sep=
    969 # The variables have the same names as the options, with
    970 # dashes changed to underlines.
    971 cache_file=/dev/null
    972 exec_prefix=NONE
    973 no_create=
    974 no_recursion=
    975 prefix=NONE
    976 program_prefix=NONE
    977 program_suffix=NONE
    978 program_transform_name=s,x,x,
    979 silent=
    980 site=
    981 srcdir=
    982 verbose=
    983 x_includes=NONE
    984 x_libraries=NONE
    985 
    986 # Installation directory options.
    987 # These are left unexpanded so users can "make install exec_prefix=/foo"
    988 # and all the variables that are supposed to be based on exec_prefix
    989 # by default will actually change.
    990 # Use braces instead of parens because sh, perl, etc. also accept them.
    991 # (The list follows the same order as the GNU Coding Standards.)
    992 bindir='${exec_prefix}/bin'
    993 sbindir='${exec_prefix}/sbin'
    994 libexecdir='${exec_prefix}/libexec'
    995 datarootdir='${prefix}/share'
    996 datadir='${datarootdir}'
    997 sysconfdir='${prefix}/etc'
    998 sharedstatedir='${prefix}/com'
    999 localstatedir='${prefix}/var'
   1000 includedir='${prefix}/include'
   1001 oldincludedir='/usr/include'
   1002 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1003 infodir='${datarootdir}/info'
   1004 htmldir='${docdir}'
   1005 dvidir='${docdir}'
   1006 pdfdir='${docdir}'
   1007 psdir='${docdir}'
   1008 libdir='${exec_prefix}/lib'
   1009 localedir='${datarootdir}/locale'
   1010 mandir='${datarootdir}/man'
   1011 
   1012 ac_prev=
   1013 ac_dashdash=
   1014 for ac_option
   1015 do
   1016   # If the previous option needs an argument, assign it.
   1017   if test -n "$ac_prev"; then
   1018     eval $ac_prev=\$ac_option
   1019     ac_prev=
   1020     continue
   1021   fi
   1022 
   1023   case $ac_option in
   1024   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1025   *)	ac_optarg=yes ;;
   1026   esac
   1027 
   1028   # Accept the important Cygnus configure options, so we can diagnose typos.
   1029 
   1030   case $ac_dashdash$ac_option in
   1031   --)
   1032     ac_dashdash=yes ;;
   1033 
   1034   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1035     ac_prev=bindir ;;
   1036   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1037     bindir=$ac_optarg ;;
   1038 
   1039   -build | --build | --buil | --bui | --bu)
   1040     ac_prev=build_alias ;;
   1041   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1042     build_alias=$ac_optarg ;;
   1043 
   1044   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1045   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1046     ac_prev=cache_file ;;
   1047   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1048   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1049     cache_file=$ac_optarg ;;
   1050 
   1051   --config-cache | -C)
   1052     cache_file=config.cache ;;
   1053 
   1054   -datadir | --datadir | --datadi | --datad)
   1055     ac_prev=datadir ;;
   1056   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1057     datadir=$ac_optarg ;;
   1058 
   1059   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1060   | --dataroo | --dataro | --datar)
   1061     ac_prev=datarootdir ;;
   1062   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1063   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1064     datarootdir=$ac_optarg ;;
   1065 
   1066   -disable-* | --disable-*)
   1067     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1068     # Reject names that are not valid shell variable names.
   1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1070       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1071    { (exit 1); exit 1; }; }
   1072     ac_useropt_orig=$ac_useropt
   1073     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1074     case $ac_user_opts in
   1075       *"
   1076 "enable_$ac_useropt"
   1077 "*) ;;
   1078       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1079 	 ac_unrecognized_sep=', ';;
   1080     esac
   1081     eval enable_$ac_useropt=no ;;
   1082 
   1083   -docdir | --docdir | --docdi | --doc | --do)
   1084     ac_prev=docdir ;;
   1085   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1086     docdir=$ac_optarg ;;
   1087 
   1088   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1089     ac_prev=dvidir ;;
   1090   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1091     dvidir=$ac_optarg ;;
   1092 
   1093   -enable-* | --enable-*)
   1094     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1095     # Reject names that are not valid shell variable names.
   1096     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1097       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1098    { (exit 1); exit 1; }; }
   1099     ac_useropt_orig=$ac_useropt
   1100     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1101     case $ac_user_opts in
   1102       *"
   1103 "enable_$ac_useropt"
   1104 "*) ;;
   1105       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1106 	 ac_unrecognized_sep=', ';;
   1107     esac
   1108     eval enable_$ac_useropt=\$ac_optarg ;;
   1109 
   1110   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1111   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1112   | --exec | --exe | --ex)
   1113     ac_prev=exec_prefix ;;
   1114   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1115   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1116   | --exec=* | --exe=* | --ex=*)
   1117     exec_prefix=$ac_optarg ;;
   1118 
   1119   -gas | --gas | --ga | --g)
   1120     # Obsolete; use --with-gas.
   1121     with_gas=yes ;;
   1122 
   1123   -help | --help | --hel | --he | -h)
   1124     ac_init_help=long ;;
   1125   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1126     ac_init_help=recursive ;;
   1127   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1128     ac_init_help=short ;;
   1129 
   1130   -host | --host | --hos | --ho)
   1131     ac_prev=host_alias ;;
   1132   -host=* | --host=* | --hos=* | --ho=*)
   1133     host_alias=$ac_optarg ;;
   1134 
   1135   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1136     ac_prev=htmldir ;;
   1137   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1138   | --ht=*)
   1139     htmldir=$ac_optarg ;;
   1140 
   1141   -includedir | --includedir | --includedi | --included | --include \
   1142   | --includ | --inclu | --incl | --inc)
   1143     ac_prev=includedir ;;
   1144   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1145   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1146     includedir=$ac_optarg ;;
   1147 
   1148   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1149     ac_prev=infodir ;;
   1150   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1151     infodir=$ac_optarg ;;
   1152 
   1153   -libdir | --libdir | --libdi | --libd)
   1154     ac_prev=libdir ;;
   1155   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1156     libdir=$ac_optarg ;;
   1157 
   1158   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1159   | --libexe | --libex | --libe)
   1160     ac_prev=libexecdir ;;
   1161   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1162   | --libexe=* | --libex=* | --libe=*)
   1163     libexecdir=$ac_optarg ;;
   1164 
   1165   -localedir | --localedir | --localedi | --localed | --locale)
   1166     ac_prev=localedir ;;
   1167   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1168     localedir=$ac_optarg ;;
   1169 
   1170   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1171   | --localstate | --localstat | --localsta | --localst | --locals)
   1172     ac_prev=localstatedir ;;
   1173   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1174   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1175     localstatedir=$ac_optarg ;;
   1176 
   1177   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1178     ac_prev=mandir ;;
   1179   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1180     mandir=$ac_optarg ;;
   1181 
   1182   -nfp | --nfp | --nf)
   1183     # Obsolete; use --without-fp.
   1184     with_fp=no ;;
   1185 
   1186   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1187   | --no-cr | --no-c | -n)
   1188     no_create=yes ;;
   1189 
   1190   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1191   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1192     no_recursion=yes ;;
   1193 
   1194   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1195   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1196   | --oldin | --oldi | --old | --ol | --o)
   1197     ac_prev=oldincludedir ;;
   1198   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1199   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1200   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1201     oldincludedir=$ac_optarg ;;
   1202 
   1203   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1204     ac_prev=prefix ;;
   1205   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1206     prefix=$ac_optarg ;;
   1207 
   1208   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1209   | --program-pre | --program-pr | --program-p)
   1210     ac_prev=program_prefix ;;
   1211   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1212   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1213     program_prefix=$ac_optarg ;;
   1214 
   1215   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1216   | --program-suf | --program-su | --program-s)
   1217     ac_prev=program_suffix ;;
   1218   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1219   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1220     program_suffix=$ac_optarg ;;
   1221 
   1222   -program-transform-name | --program-transform-name \
   1223   | --program-transform-nam | --program-transform-na \
   1224   | --program-transform-n | --program-transform- \
   1225   | --program-transform | --program-transfor \
   1226   | --program-transfo | --program-transf \
   1227   | --program-trans | --program-tran \
   1228   | --progr-tra | --program-tr | --program-t)
   1229     ac_prev=program_transform_name ;;
   1230   -program-transform-name=* | --program-transform-name=* \
   1231   | --program-transform-nam=* | --program-transform-na=* \
   1232   | --program-transform-n=* | --program-transform-=* \
   1233   | --program-transform=* | --program-transfor=* \
   1234   | --program-transfo=* | --program-transf=* \
   1235   | --program-trans=* | --program-tran=* \
   1236   | --progr-tra=* | --program-tr=* | --program-t=*)
   1237     program_transform_name=$ac_optarg ;;
   1238 
   1239   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1240     ac_prev=pdfdir ;;
   1241   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1242     pdfdir=$ac_optarg ;;
   1243 
   1244   -psdir | --psdir | --psdi | --psd | --ps)
   1245     ac_prev=psdir ;;
   1246   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1247     psdir=$ac_optarg ;;
   1248 
   1249   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1250   | -silent | --silent | --silen | --sile | --sil)
   1251     silent=yes ;;
   1252 
   1253   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1254     ac_prev=sbindir ;;
   1255   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1256   | --sbi=* | --sb=*)
   1257     sbindir=$ac_optarg ;;
   1258 
   1259   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1260   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1261   | --sharedst | --shareds | --shared | --share | --shar \
   1262   | --sha | --sh)
   1263     ac_prev=sharedstatedir ;;
   1264   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1265   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1266   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1267   | --sha=* | --sh=*)
   1268     sharedstatedir=$ac_optarg ;;
   1269 
   1270   -site | --site | --sit)
   1271     ac_prev=site ;;
   1272   -site=* | --site=* | --sit=*)
   1273     site=$ac_optarg ;;
   1274 
   1275   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1276     ac_prev=srcdir ;;
   1277   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1278     srcdir=$ac_optarg ;;
   1279 
   1280   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1281   | --syscon | --sysco | --sysc | --sys | --sy)
   1282     ac_prev=sysconfdir ;;
   1283   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1284   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1285     sysconfdir=$ac_optarg ;;
   1286 
   1287   -target | --target | --targe | --targ | --tar | --ta | --t)
   1288     ac_prev=target_alias ;;
   1289   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1290     target_alias=$ac_optarg ;;
   1291 
   1292   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1293     verbose=yes ;;
   1294 
   1295   -version | --version | --versio | --versi | --vers | -V)
   1296     ac_init_version=: ;;
   1297 
   1298   -with-* | --with-*)
   1299     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1300     # Reject names that are not valid shell variable names.
   1301     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1302       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1303    { (exit 1); exit 1; }; }
   1304     ac_useropt_orig=$ac_useropt
   1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1306     case $ac_user_opts in
   1307       *"
   1308 "with_$ac_useropt"
   1309 "*) ;;
   1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1311 	 ac_unrecognized_sep=', ';;
   1312     esac
   1313     eval with_$ac_useropt=\$ac_optarg ;;
   1314 
   1315   -without-* | --without-*)
   1316     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1317     # Reject names that are not valid shell variable names.
   1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1319       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1320    { (exit 1); exit 1; }; }
   1321     ac_useropt_orig=$ac_useropt
   1322     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1323     case $ac_user_opts in
   1324       *"
   1325 "with_$ac_useropt"
   1326 "*) ;;
   1327       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1328 	 ac_unrecognized_sep=', ';;
   1329     esac
   1330     eval with_$ac_useropt=no ;;
   1331 
   1332   --x)
   1333     # Obsolete; use --with-x.
   1334     with_x=yes ;;
   1335 
   1336   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1337   | --x-incl | --x-inc | --x-in | --x-i)
   1338     ac_prev=x_includes ;;
   1339   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1340   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1341     x_includes=$ac_optarg ;;
   1342 
   1343   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1344   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1345     ac_prev=x_libraries ;;
   1346   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1347   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1348     x_libraries=$ac_optarg ;;
   1349 
   1350   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1351 Try \`$0 --help' for more information." >&2
   1352    { (exit 1); exit 1; }; }
   1353     ;;
   1354 
   1355   *=*)
   1356     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1357     # Reject names that are not valid shell variable names.
   1358     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1359       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1360    { (exit 1); exit 1; }; }
   1361     eval $ac_envvar=\$ac_optarg
   1362     export $ac_envvar ;;
   1363 
   1364   *)
   1365     # FIXME: should be removed in autoconf 3.0.
   1366     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1367     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1368       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1369     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1370     ;;
   1371 
   1372   esac
   1373 done
   1374 
   1375 if test -n "$ac_prev"; then
   1376   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1377   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1378    { (exit 1); exit 1; }; }
   1379 fi
   1380 
   1381 if test -n "$ac_unrecognized_opts"; then
   1382   case $enable_option_checking in
   1383     no) ;;
   1384     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1385    { (exit 1); exit 1; }; } ;;
   1386     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1387   esac
   1388 fi
   1389 
   1390 # Check all directory arguments for consistency.
   1391 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1392 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1393 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1394 		libdir localedir mandir
   1395 do
   1396   eval ac_val=\$$ac_var
   1397   # Remove trailing slashes.
   1398   case $ac_val in
   1399     */ )
   1400       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1401       eval $ac_var=\$ac_val;;
   1402   esac
   1403   # Be sure to have absolute directory names.
   1404   case $ac_val in
   1405     [\\/$]* | ?:[\\/]* )  continue;;
   1406     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1407   esac
   1408   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1409    { (exit 1); exit 1; }; }
   1410 done
   1411 
   1412 # There might be people who depend on the old broken behavior: `$host'
   1413 # used to hold the argument of --host etc.
   1414 # FIXME: To remove some day.
   1415 build=$build_alias
   1416 host=$host_alias
   1417 target=$target_alias
   1418 
   1419 # FIXME: To remove some day.
   1420 if test "x$host_alias" != x; then
   1421   if test "x$build_alias" = x; then
   1422     cross_compiling=maybe
   1423     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1424     If a cross compiler is detected then cross compile mode will be used." >&2
   1425   elif test "x$build_alias" != "x$host_alias"; then
   1426     cross_compiling=yes
   1427   fi
   1428 fi
   1429 
   1430 ac_tool_prefix=
   1431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1432 
   1433 test "$silent" = yes && exec 6>/dev/null
   1434 
   1435 
   1436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1437 ac_ls_di=`ls -di .` &&
   1438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1439   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1440    { (exit 1); exit 1; }; }
   1441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1442   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1443    { (exit 1); exit 1; }; }
   1444 
   1445 
   1446 # Find the source files, if location was not specified.
   1447 if test -z "$srcdir"; then
   1448   ac_srcdir_defaulted=yes
   1449   # Try the directory containing this script, then the parent directory.
   1450   ac_confdir=`$as_dirname -- "$as_myself" ||
   1451 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1452 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1453 	 X"$as_myself" : 'X\(//\)$' \| \
   1454 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1455 $as_echo X"$as_myself" |
   1456     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1457 	    s//\1/
   1458 	    q
   1459 	  }
   1460 	  /^X\(\/\/\)[^/].*/{
   1461 	    s//\1/
   1462 	    q
   1463 	  }
   1464 	  /^X\(\/\/\)$/{
   1465 	    s//\1/
   1466 	    q
   1467 	  }
   1468 	  /^X\(\/\).*/{
   1469 	    s//\1/
   1470 	    q
   1471 	  }
   1472 	  s/.*/./; q'`
   1473   srcdir=$ac_confdir
   1474   if test ! -r "$srcdir/$ac_unique_file"; then
   1475     srcdir=..
   1476   fi
   1477 else
   1478   ac_srcdir_defaulted=no
   1479 fi
   1480 if test ! -r "$srcdir/$ac_unique_file"; then
   1481   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1482   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1483    { (exit 1); exit 1; }; }
   1484 fi
   1485 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1486 ac_abs_confdir=`(
   1487 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1488    { (exit 1); exit 1; }; }
   1489 	pwd)`
   1490 # When building in place, set srcdir=.
   1491 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1492   srcdir=.
   1493 fi
   1494 # Remove unnecessary trailing slashes from srcdir.
   1495 # Double slashes in file names in object file debugging info
   1496 # mess up M-x gdb in Emacs.
   1497 case $srcdir in
   1498 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1499 esac
   1500 for ac_var in $ac_precious_vars; do
   1501   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1502   eval ac_env_${ac_var}_value=\$${ac_var}
   1503   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1504   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1505 done
   1506 
   1507 #
   1508 # Report the --help message.
   1509 #
   1510 if test "$ac_init_help" = "long"; then
   1511   # Omit some internal or obsolete options to make the list less imposing.
   1512   # This message is too long to be a string in the A/UX 3.1 sh.
   1513   cat <<_ACEOF
   1514 \`configure' configures xf86-video-neomagic 1.2.4 to adapt to many kinds of systems.
   1515 
   1516 Usage: $0 [OPTION]... [VAR=VALUE]...
   1517 
   1518 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1519 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1520 
   1521 Defaults for the options are specified in brackets.
   1522 
   1523 Configuration:
   1524   -h, --help              display this help and exit
   1525       --help=short        display options specific to this package
   1526       --help=recursive    display the short help of all the included packages
   1527   -V, --version           display version information and exit
   1528   -q, --quiet, --silent   do not print \`checking...' messages
   1529       --cache-file=FILE   cache test results in FILE [disabled]
   1530   -C, --config-cache      alias for \`--cache-file=config.cache'
   1531   -n, --no-create         do not create output files
   1532       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1533 
   1534 Installation directories:
   1535   --prefix=PREFIX         install architecture-independent files in PREFIX
   1536                           [$ac_default_prefix]
   1537   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1538                           [PREFIX]
   1539 
   1540 By default, \`make install' will install all the files in
   1541 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1542 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1543 for instance \`--prefix=\$HOME'.
   1544 
   1545 For better control, use the options below.
   1546 
   1547 Fine tuning of the installation directories:
   1548   --bindir=DIR            user executables [EPREFIX/bin]
   1549   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1550   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1551   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1552   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1553   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1554   --libdir=DIR            object code libraries [EPREFIX/lib]
   1555   --includedir=DIR        C header files [PREFIX/include]
   1556   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1557   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1558   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1559   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1560   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1561   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1562   --docdir=DIR            documentation root
   1563                           [DATAROOTDIR/doc/xf86-video-neomagic]
   1564   --htmldir=DIR           html documentation [DOCDIR]
   1565   --dvidir=DIR            dvi documentation [DOCDIR]
   1566   --pdfdir=DIR            pdf documentation [DOCDIR]
   1567   --psdir=DIR             ps documentation [DOCDIR]
   1568 _ACEOF
   1569 
   1570   cat <<\_ACEOF
   1571 
   1572 Program names:
   1573   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1574   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1575   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1576 
   1577 System types:
   1578   --build=BUILD     configure for building on BUILD [guessed]
   1579   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1580 _ACEOF
   1581 fi
   1582 
   1583 if test -n "$ac_init_help"; then
   1584   case $ac_init_help in
   1585      short | recursive ) echo "Configuration of xf86-video-neomagic 1.2.4:";;
   1586    esac
   1587   cat <<\_ACEOF
   1588 
   1589 Optional Features:
   1590   --disable-option-checking  ignore unrecognized --enable/--with options
   1591   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1592   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1593   --enable-maintainer-mode  enable make rules and dependencies not useful
   1594 			  (and sometimes confusing) to the casual installer
   1595   --enable-static[=PKGS]  build static libraries [default=no]
   1596   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1597   --enable-fast-install[=PKGS]
   1598                           optimize for fast installation [default=yes]
   1599   --disable-dependency-tracking  speeds up one-time build
   1600   --enable-dependency-tracking   do not reject slow dependency extractors
   1601   --disable-libtool-lock  avoid locking (might break parallel builds)
   1602 
   1603 Optional Packages:
   1604   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1605   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1606   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1607   --with-pic              try to use only PIC/non-PIC objects [default=use
   1608                           both]
   1609   --with-tags[=TAGS]      include additional configurations [automatic]
   1610   --with-xorg-module-dir=DIR
   1611                           Default xorg module directory
   1612                           [default=$libdir/xorg/modules]
   1613   --with-release-version=STRING
   1614                           Use release version string in package name
   1615 
   1616 Some influential environment variables:
   1617   CC          C compiler command
   1618   CFLAGS      C compiler flags
   1619   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1620               nonstandard directory <lib dir>
   1621   LIBS        libraries to pass to the linker, e.g. -l<library>
   1622   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1623               you have headers in a nonstandard directory <include dir>
   1624   CPP         C preprocessor
   1625   CXX         C++ compiler command
   1626   CXXFLAGS    C++ compiler flags
   1627   CXXCPP      C++ preprocessor
   1628   F77         Fortran 77 compiler command
   1629   FFLAGS      Fortran 77 compiler flags
   1630   PKG_CONFIG  path to pkg-config utility
   1631   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1632   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1633   PCIACCESS_CFLAGS
   1634               C compiler flags for PCIACCESS, overriding pkg-config
   1635   PCIACCESS_LIBS
   1636               linker flags for PCIACCESS, overriding pkg-config
   1637 
   1638 Use these variables to override the choices made by `configure' or to help
   1639 it to find libraries and programs with nonstandard names/locations.
   1640 
   1641 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1642 _ACEOF
   1643 ac_status=$?
   1644 fi
   1645 
   1646 if test "$ac_init_help" = "recursive"; then
   1647   # If there are subdirs, report their specific --help.
   1648   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1649     test -d "$ac_dir" ||
   1650       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1651       continue
   1652     ac_builddir=.
   1653 
   1654 case "$ac_dir" in
   1655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1656 *)
   1657   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1658   # A ".." for each directory in $ac_dir_suffix.
   1659   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1660   case $ac_top_builddir_sub in
   1661   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1662   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1663   esac ;;
   1664 esac
   1665 ac_abs_top_builddir=$ac_pwd
   1666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1667 # for backward compatibility:
   1668 ac_top_builddir=$ac_top_build_prefix
   1669 
   1670 case $srcdir in
   1671   .)  # We are building in place.
   1672     ac_srcdir=.
   1673     ac_top_srcdir=$ac_top_builddir_sub
   1674     ac_abs_top_srcdir=$ac_pwd ;;
   1675   [\\/]* | ?:[\\/]* )  # Absolute name.
   1676     ac_srcdir=$srcdir$ac_dir_suffix;
   1677     ac_top_srcdir=$srcdir
   1678     ac_abs_top_srcdir=$srcdir ;;
   1679   *) # Relative name.
   1680     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1681     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1682     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1683 esac
   1684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1685 
   1686     cd "$ac_dir" || { ac_status=$?; continue; }
   1687     # Check for guested configure.
   1688     if test -f "$ac_srcdir/configure.gnu"; then
   1689       echo &&
   1690       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1691     elif test -f "$ac_srcdir/configure"; then
   1692       echo &&
   1693       $SHELL "$ac_srcdir/configure" --help=recursive
   1694     else
   1695       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1696     fi || ac_status=$?
   1697     cd "$ac_pwd" || { ac_status=$?; break; }
   1698   done
   1699 fi
   1700 
   1701 test -n "$ac_init_help" && exit $ac_status
   1702 if $ac_init_version; then
   1703   cat <<\_ACEOF
   1704 xf86-video-neomagic configure 1.2.4
   1705 generated by GNU Autoconf 2.63
   1706 
   1707 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1708 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1709 This configure script is free software; the Free Software Foundation
   1710 gives unlimited permission to copy, distribute and modify it.
   1711 _ACEOF
   1712   exit
   1713 fi
   1714 cat >config.log <<_ACEOF
   1715 This file contains any messages produced by compilers while
   1716 running configure, to aid debugging if configure makes a mistake.
   1717 
   1718 It was created by xf86-video-neomagic $as_me 1.2.4, which was
   1719 generated by GNU Autoconf 2.63.  Invocation command line was
   1720 
   1721   $ $0 $@
   1722 
   1723 _ACEOF
   1724 exec 5>>config.log
   1725 {
   1726 cat <<_ASUNAME
   1727 ## --------- ##
   1728 ## Platform. ##
   1729 ## --------- ##
   1730 
   1731 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1732 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1733 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1734 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1735 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1736 
   1737 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1738 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1739 
   1740 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1741 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1742 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1743 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1744 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1745 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1746 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1747 
   1748 _ASUNAME
   1749 
   1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1751 for as_dir in $PATH
   1752 do
   1753   IFS=$as_save_IFS
   1754   test -z "$as_dir" && as_dir=.
   1755   $as_echo "PATH: $as_dir"
   1756 done
   1757 IFS=$as_save_IFS
   1758 
   1759 } >&5
   1760 
   1761 cat >&5 <<_ACEOF
   1762 
   1763 
   1764 ## ----------- ##
   1765 ## Core tests. ##
   1766 ## ----------- ##
   1767 
   1768 _ACEOF
   1769 
   1770 
   1771 # Keep a trace of the command line.
   1772 # Strip out --no-create and --no-recursion so they do not pile up.
   1773 # Strip out --silent because we don't want to record it for future runs.
   1774 # Also quote any args containing shell meta-characters.
   1775 # Make two passes to allow for proper duplicate-argument suppression.
   1776 ac_configure_args=
   1777 ac_configure_args0=
   1778 ac_configure_args1=
   1779 ac_must_keep_next=false
   1780 for ac_pass in 1 2
   1781 do
   1782   for ac_arg
   1783   do
   1784     case $ac_arg in
   1785     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1786     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1787     | -silent | --silent | --silen | --sile | --sil)
   1788       continue ;;
   1789     *\'*)
   1790       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1791     esac
   1792     case $ac_pass in
   1793     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1794     2)
   1795       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1796       if test $ac_must_keep_next = true; then
   1797 	ac_must_keep_next=false # Got value, back to normal.
   1798       else
   1799 	case $ac_arg in
   1800 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1801 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1802 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1803 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1804 	    case "$ac_configure_args0 " in
   1805 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1806 	    esac
   1807 	    ;;
   1808 	  -* ) ac_must_keep_next=true ;;
   1809 	esac
   1810       fi
   1811       ac_configure_args="$ac_configure_args '$ac_arg'"
   1812       ;;
   1813     esac
   1814   done
   1815 done
   1816 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1817 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1818 
   1819 # When interrupted or exit'd, cleanup temporary files, and complete
   1820 # config.log.  We remove comments because anyway the quotes in there
   1821 # would cause problems or look ugly.
   1822 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1823 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1824 trap 'exit_status=$?
   1825   # Save into config.log some information that might help in debugging.
   1826   {
   1827     echo
   1828 
   1829     cat <<\_ASBOX
   1830 ## ---------------- ##
   1831 ## Cache variables. ##
   1832 ## ---------------- ##
   1833 _ASBOX
   1834     echo
   1835     # The following way of writing the cache mishandles newlines in values,
   1836 (
   1837   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1838     eval ac_val=\$$ac_var
   1839     case $ac_val in #(
   1840     *${as_nl}*)
   1841       case $ac_var in #(
   1842       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1843 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1844       esac
   1845       case $ac_var in #(
   1846       _ | IFS | as_nl) ;; #(
   1847       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1848       *) $as_unset $ac_var ;;
   1849       esac ;;
   1850     esac
   1851   done
   1852   (set) 2>&1 |
   1853     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1854     *${as_nl}ac_space=\ *)
   1855       sed -n \
   1856 	"s/'\''/'\''\\\\'\'''\''/g;
   1857 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1858       ;; #(
   1859     *)
   1860       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1861       ;;
   1862     esac |
   1863     sort
   1864 )
   1865     echo
   1866 
   1867     cat <<\_ASBOX
   1868 ## ----------------- ##
   1869 ## Output variables. ##
   1870 ## ----------------- ##
   1871 _ASBOX
   1872     echo
   1873     for ac_var in $ac_subst_vars
   1874     do
   1875       eval ac_val=\$$ac_var
   1876       case $ac_val in
   1877       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1878       esac
   1879       $as_echo "$ac_var='\''$ac_val'\''"
   1880     done | sort
   1881     echo
   1882 
   1883     if test -n "$ac_subst_files"; then
   1884       cat <<\_ASBOX
   1885 ## ------------------- ##
   1886 ## File substitutions. ##
   1887 ## ------------------- ##
   1888 _ASBOX
   1889       echo
   1890       for ac_var in $ac_subst_files
   1891       do
   1892 	eval ac_val=\$$ac_var
   1893 	case $ac_val in
   1894 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1895 	esac
   1896 	$as_echo "$ac_var='\''$ac_val'\''"
   1897       done | sort
   1898       echo
   1899     fi
   1900 
   1901     if test -s confdefs.h; then
   1902       cat <<\_ASBOX
   1903 ## ----------- ##
   1904 ## confdefs.h. ##
   1905 ## ----------- ##
   1906 _ASBOX
   1907       echo
   1908       cat confdefs.h
   1909       echo
   1910     fi
   1911     test "$ac_signal" != 0 &&
   1912       $as_echo "$as_me: caught signal $ac_signal"
   1913     $as_echo "$as_me: exit $exit_status"
   1914   } >&5
   1915   rm -f core *.core core.conftest.* &&
   1916     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1917     exit $exit_status
   1918 ' 0
   1919 for ac_signal in 1 2 13 15; do
   1920   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1921 done
   1922 ac_signal=0
   1923 
   1924 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1925 rm -f -r conftest* confdefs.h
   1926 
   1927 # Predefined preprocessor variables.
   1928 
   1929 cat >>confdefs.h <<_ACEOF
   1930 #define PACKAGE_NAME "$PACKAGE_NAME"
   1931 _ACEOF
   1932 
   1933 
   1934 cat >>confdefs.h <<_ACEOF
   1935 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1936 _ACEOF
   1937 
   1938 
   1939 cat >>confdefs.h <<_ACEOF
   1940 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1941 _ACEOF
   1942 
   1943 
   1944 cat >>confdefs.h <<_ACEOF
   1945 #define PACKAGE_STRING "$PACKAGE_STRING"
   1946 _ACEOF
   1947 
   1948 
   1949 cat >>confdefs.h <<_ACEOF
   1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1951 _ACEOF
   1952 
   1953 
   1954 # Let the site file select an alternate cache file if it wants to.
   1955 # Prefer an explicitly selected file to automatically selected ones.
   1956 ac_site_file1=NONE
   1957 ac_site_file2=NONE
   1958 if test -n "$CONFIG_SITE"; then
   1959   ac_site_file1=$CONFIG_SITE
   1960 elif test "x$prefix" != xNONE; then
   1961   ac_site_file1=$prefix/share/config.site
   1962   ac_site_file2=$prefix/etc/config.site
   1963 else
   1964   ac_site_file1=$ac_default_prefix/share/config.site
   1965   ac_site_file2=$ac_default_prefix/etc/config.site
   1966 fi
   1967 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1968 do
   1969   test "x$ac_site_file" = xNONE && continue
   1970   if test -r "$ac_site_file"; then
   1971     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1972 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1973     sed 's/^/| /' "$ac_site_file" >&5
   1974     . "$ac_site_file"
   1975   fi
   1976 done
   1977 
   1978 if test -r "$cache_file"; then
   1979   # Some versions of bash will fail to source /dev/null (special
   1980   # files actually), so we avoid doing that.
   1981   if test -f "$cache_file"; then
   1982     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1983 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1984     case $cache_file in
   1985       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1986       *)                      . "./$cache_file";;
   1987     esac
   1988   fi
   1989 else
   1990   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1991 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1992   >$cache_file
   1993 fi
   1994 
   1995 # Check that the precious variables saved in the cache have kept the same
   1996 # value.
   1997 ac_cache_corrupted=false
   1998 for ac_var in $ac_precious_vars; do
   1999   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2000   eval ac_new_set=\$ac_env_${ac_var}_set
   2001   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2002   eval ac_new_val=\$ac_env_${ac_var}_value
   2003   case $ac_old_set,$ac_new_set in
   2004     set,)
   2005       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2006 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2007       ac_cache_corrupted=: ;;
   2008     ,set)
   2009       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2010 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2011       ac_cache_corrupted=: ;;
   2012     ,);;
   2013     *)
   2014       if test "x$ac_old_val" != "x$ac_new_val"; then
   2015 	# differences in whitespace do not lead to failure.
   2016 	ac_old_val_w=`echo x $ac_old_val`
   2017 	ac_new_val_w=`echo x $ac_new_val`
   2018 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2019 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2020 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2021 	  ac_cache_corrupted=:
   2022 	else
   2023 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2024 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2025 	  eval $ac_var=\$ac_old_val
   2026 	fi
   2027 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2028 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2029 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2030 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2031       fi;;
   2032   esac
   2033   # Pass precious variables to config.status.
   2034   if test "$ac_new_set" = set; then
   2035     case $ac_new_val in
   2036     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2037     *) ac_arg=$ac_var=$ac_new_val ;;
   2038     esac
   2039     case " $ac_configure_args " in
   2040       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2041       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2042     esac
   2043   fi
   2044 done
   2045 if $ac_cache_corrupted; then
   2046   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2048   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2049 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2050   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2051 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2052    { (exit 1); exit 1; }; }
   2053 fi
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 ac_ext=c
   2080 ac_cpp='$CPP $CPPFLAGS'
   2081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2084 
   2085 
   2086 
   2087 
   2088 ac_config_headers="$ac_config_headers config.h"
   2089 
   2090 ac_aux_dir=
   2091 for ac_dir in . "$srcdir"/.; do
   2092   if test -f "$ac_dir/install-sh"; then
   2093     ac_aux_dir=$ac_dir
   2094     ac_install_sh="$ac_aux_dir/install-sh -c"
   2095     break
   2096   elif test -f "$ac_dir/install.sh"; then
   2097     ac_aux_dir=$ac_dir
   2098     ac_install_sh="$ac_aux_dir/install.sh -c"
   2099     break
   2100   elif test -f "$ac_dir/shtool"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/shtool install -c"
   2103     break
   2104   fi
   2105 done
   2106 if test -z "$ac_aux_dir"; then
   2107   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2108 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2109    { (exit 1); exit 1; }; }
   2110 fi
   2111 
   2112 # These three variables are undocumented and unsupported,
   2113 # and are intended to be withdrawn in a future Autoconf release.
   2114 # They can cause serious problems if a builder's source tree is in a directory
   2115 # whose full name contains unusual characters.
   2116 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2117 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2118 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2119 
   2120 
   2121 
   2122 am__api_version='1.11'
   2123 
   2124 # Find a good install program.  We prefer a C program (faster),
   2125 # so one script is as good as another.  But avoid the broken or
   2126 # incompatible versions:
   2127 # SysV /etc/install, /usr/sbin/install
   2128 # SunOS /usr/etc/install
   2129 # IRIX /sbin/install
   2130 # AIX /bin/install
   2131 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2135 # OS/2's system install, which has a completely different semantic
   2136 # ./install, which can be erroneously created by make from ./install.sh.
   2137 # Reject install programs that cannot install multiple files.
   2138 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2140 if test -z "$INSTALL"; then
   2141 if test "${ac_cv_path_install+set}" = set; then
   2142   $as_echo_n "(cached) " >&6
   2143 else
   2144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2145 for as_dir in $PATH
   2146 do
   2147   IFS=$as_save_IFS
   2148   test -z "$as_dir" && as_dir=.
   2149   # Account for people who put trailing slashes in PATH elements.
   2150 case $as_dir/ in
   2151   ./ | .// | /cC/* | \
   2152   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2153   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2154   /usr/ucb/* ) ;;
   2155   *)
   2156     # OSF1 and SCO ODT 3.0 have their own names for install.
   2157     # Don't use installbsd from OSF since it installs stuff as root
   2158     # by default.
   2159     for ac_prog in ginstall scoinst install; do
   2160       for ac_exec_ext in '' $ac_executable_extensions; do
   2161 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2162 	  if test $ac_prog = install &&
   2163 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2164 	    # AIX install.  It has an incompatible calling convention.
   2165 	    :
   2166 	  elif test $ac_prog = install &&
   2167 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2168 	    # program-specific install script used by HP pwplus--don't use.
   2169 	    :
   2170 	  else
   2171 	    rm -rf conftest.one conftest.two conftest.dir
   2172 	    echo one > conftest.one
   2173 	    echo two > conftest.two
   2174 	    mkdir conftest.dir
   2175 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2176 	      test -s conftest.one && test -s conftest.two &&
   2177 	      test -s conftest.dir/conftest.one &&
   2178 	      test -s conftest.dir/conftest.two
   2179 	    then
   2180 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2181 	      break 3
   2182 	    fi
   2183 	  fi
   2184 	fi
   2185       done
   2186     done
   2187     ;;
   2188 esac
   2189 
   2190 done
   2191 IFS=$as_save_IFS
   2192 
   2193 rm -rf conftest.one conftest.two conftest.dir
   2194 
   2195 fi
   2196   if test "${ac_cv_path_install+set}" = set; then
   2197     INSTALL=$ac_cv_path_install
   2198   else
   2199     # As a last resort, use the slow shell script.  Don't cache a
   2200     # value for INSTALL within a source directory, because that will
   2201     # break other packages using the cache if that directory is
   2202     # removed, or if the value is a relative name.
   2203     INSTALL=$ac_install_sh
   2204   fi
   2205 fi
   2206 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2207 $as_echo "$INSTALL" >&6; }
   2208 
   2209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2210 # It thinks the first close brace ends the variable substitution.
   2211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2212 
   2213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2214 
   2215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2216 
   2217 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2218 $as_echo_n "checking whether build environment is sane... " >&6; }
   2219 # Just in case
   2220 sleep 1
   2221 echo timestamp > conftest.file
   2222 # Reject unsafe characters in $srcdir or the absolute working directory
   2223 # name.  Accept space and tab only in the latter.
   2224 am_lf='
   2225 '
   2226 case `pwd` in
   2227   *[\\\"\#\$\&\'\`$am_lf]*)
   2228     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2229 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2230    { (exit 1); exit 1; }; };;
   2231 esac
   2232 case $srcdir in
   2233   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2234     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2235 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2236    { (exit 1); exit 1; }; };;
   2237 esac
   2238 
   2239 # Do `set' in a subshell so we don't clobber the current shell's
   2240 # arguments.  Must try -L first in case configure is actually a
   2241 # symlink; some systems play weird games with the mod time of symlinks
   2242 # (eg FreeBSD returns the mod time of the symlink's containing
   2243 # directory).
   2244 if (
   2245    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2246    if test "$*" = "X"; then
   2247       # -L didn't work.
   2248       set X `ls -t "$srcdir/configure" conftest.file`
   2249    fi
   2250    rm -f conftest.file
   2251    if test "$*" != "X $srcdir/configure conftest.file" \
   2252       && test "$*" != "X conftest.file $srcdir/configure"; then
   2253 
   2254       # If neither matched, then we have a broken ls.  This can happen
   2255       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2256       # broken ls alias from the environment.  This has actually
   2257       # happened.  Such a system could not be considered "sane".
   2258       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2259 alias in your environment" >&5
   2260 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2261 alias in your environment" >&2;}
   2262    { (exit 1); exit 1; }; }
   2263    fi
   2264 
   2265    test "$2" = conftest.file
   2266    )
   2267 then
   2268    # Ok.
   2269    :
   2270 else
   2271    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2272 Check your system clock" >&5
   2273 $as_echo "$as_me: error: newly created file is older than distributed files!
   2274 Check your system clock" >&2;}
   2275    { (exit 1); exit 1; }; }
   2276 fi
   2277 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2278 $as_echo "yes" >&6; }
   2279 test "$program_prefix" != NONE &&
   2280   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2281 # Use a double $ so make ignores it.
   2282 test "$program_suffix" != NONE &&
   2283   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2284 # Double any \ or $.
   2285 # By default was `s,x,x', remove it if useless.
   2286 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2287 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2288 
   2289 # expand $ac_aux_dir to an absolute path
   2290 am_aux_dir=`cd $ac_aux_dir && pwd`
   2291 
   2292 if test x"${MISSING+set}" != xset; then
   2293   case $am_aux_dir in
   2294   *\ * | *\	*)
   2295     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2296   *)
   2297     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2298   esac
   2299 fi
   2300 # Use eval to expand $SHELL
   2301 if eval "$MISSING --run true"; then
   2302   am_missing_run="$MISSING --run "
   2303 else
   2304   am_missing_run=
   2305   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2306 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2307 fi
   2308 
   2309 if test x"${install_sh}" != xset; then
   2310   case $am_aux_dir in
   2311   *\ * | *\	*)
   2312     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2313   *)
   2314     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2315   esac
   2316 fi
   2317 
   2318 # Installed binaries are usually stripped using `strip' when the user
   2319 # run `make install-strip'.  However `strip' might not be the right
   2320 # tool to use in cross-compilation environments, therefore Automake
   2321 # will honor the `STRIP' environment variable to overrule this program.
   2322 if test "$cross_compiling" != no; then
   2323   if test -n "$ac_tool_prefix"; then
   2324   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2325 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2327 $as_echo_n "checking for $ac_word... " >&6; }
   2328 if test "${ac_cv_prog_STRIP+set}" = set; then
   2329   $as_echo_n "(cached) " >&6
   2330 else
   2331   if test -n "$STRIP"; then
   2332   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2333 else
   2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2335 for as_dir in $PATH
   2336 do
   2337   IFS=$as_save_IFS
   2338   test -z "$as_dir" && as_dir=.
   2339   for ac_exec_ext in '' $ac_executable_extensions; do
   2340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2341     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2342     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2343     break 2
   2344   fi
   2345 done
   2346 done
   2347 IFS=$as_save_IFS
   2348 
   2349 fi
   2350 fi
   2351 STRIP=$ac_cv_prog_STRIP
   2352 if test -n "$STRIP"; then
   2353   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2354 $as_echo "$STRIP" >&6; }
   2355 else
   2356   { $as_echo "$as_me:$LINENO: result: no" >&5
   2357 $as_echo "no" >&6; }
   2358 fi
   2359 
   2360 
   2361 fi
   2362 if test -z "$ac_cv_prog_STRIP"; then
   2363   ac_ct_STRIP=$STRIP
   2364   # Extract the first word of "strip", so it can be a program name with args.
   2365 set dummy strip; ac_word=$2
   2366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2367 $as_echo_n "checking for $ac_word... " >&6; }
   2368 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2369   $as_echo_n "(cached) " >&6
   2370 else
   2371   if test -n "$ac_ct_STRIP"; then
   2372   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2373 else
   2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2375 for as_dir in $PATH
   2376 do
   2377   IFS=$as_save_IFS
   2378   test -z "$as_dir" && as_dir=.
   2379   for ac_exec_ext in '' $ac_executable_extensions; do
   2380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2381     ac_cv_prog_ac_ct_STRIP="strip"
   2382     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2383     break 2
   2384   fi
   2385 done
   2386 done
   2387 IFS=$as_save_IFS
   2388 
   2389 fi
   2390 fi
   2391 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2392 if test -n "$ac_ct_STRIP"; then
   2393   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2394 $as_echo "$ac_ct_STRIP" >&6; }
   2395 else
   2396   { $as_echo "$as_me:$LINENO: result: no" >&5
   2397 $as_echo "no" >&6; }
   2398 fi
   2399 
   2400   if test "x$ac_ct_STRIP" = x; then
   2401     STRIP=":"
   2402   else
   2403     case $cross_compiling:$ac_tool_warned in
   2404 yes:)
   2405 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2407 ac_tool_warned=yes ;;
   2408 esac
   2409     STRIP=$ac_ct_STRIP
   2410   fi
   2411 else
   2412   STRIP="$ac_cv_prog_STRIP"
   2413 fi
   2414 
   2415 fi
   2416 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2417 
   2418 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2419 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2420 if test -z "$MKDIR_P"; then
   2421   if test "${ac_cv_path_mkdir+set}" = set; then
   2422   $as_echo_n "(cached) " >&6
   2423 else
   2424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2425 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2426 do
   2427   IFS=$as_save_IFS
   2428   test -z "$as_dir" && as_dir=.
   2429   for ac_prog in mkdir gmkdir; do
   2430 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2431 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2432 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2433 	     'mkdir (GNU coreutils) '* | \
   2434 	     'mkdir (coreutils) '* | \
   2435 	     'mkdir (fileutils) '4.1*)
   2436 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2437 	       break 3;;
   2438 	   esac
   2439 	 done
   2440        done
   2441 done
   2442 IFS=$as_save_IFS
   2443 
   2444 fi
   2445 
   2446   if test "${ac_cv_path_mkdir+set}" = set; then
   2447     MKDIR_P="$ac_cv_path_mkdir -p"
   2448   else
   2449     # As a last resort, use the slow shell script.  Don't cache a
   2450     # value for MKDIR_P within a source directory, because that will
   2451     # break other packages using the cache if that directory is
   2452     # removed, or if the value is a relative name.
   2453     test -d ./--version && rmdir ./--version
   2454     MKDIR_P="$ac_install_sh -d"
   2455   fi
   2456 fi
   2457 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2458 $as_echo "$MKDIR_P" >&6; }
   2459 
   2460 mkdir_p="$MKDIR_P"
   2461 case $mkdir_p in
   2462   [\\/$]* | ?:[\\/]*) ;;
   2463   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2464 esac
   2465 
   2466 for ac_prog in gawk mawk nawk awk
   2467 do
   2468   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2469 set dummy $ac_prog; ac_word=$2
   2470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if test "${ac_cv_prog_AWK+set}" = set; then
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$AWK"; then
   2476   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483   for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2485     ac_cv_prog_AWK="$ac_prog"
   2486     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490 done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 AWK=$ac_cv_prog_AWK
   2496 if test -n "$AWK"; then
   2497   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2498 $as_echo "$AWK" >&6; }
   2499 else
   2500   { $as_echo "$as_me:$LINENO: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504 
   2505   test -n "$AWK" && break
   2506 done
   2507 
   2508 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2509 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2510 set x ${MAKE-make}
   2511 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2512 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2513   $as_echo_n "(cached) " >&6
   2514 else
   2515   cat >conftest.make <<\_ACEOF
   2516 SHELL = /bin/sh
   2517 all:
   2518 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2519 _ACEOF
   2520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2522   *@@@%%%=?*=@@@%%%*)
   2523     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2524   *)
   2525     eval ac_cv_prog_make_${ac_make}_set=no;;
   2526 esac
   2527 rm -f conftest.make
   2528 fi
   2529 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2530   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2531 $as_echo "yes" >&6; }
   2532   SET_MAKE=
   2533 else
   2534   { $as_echo "$as_me:$LINENO: result: no" >&5
   2535 $as_echo "no" >&6; }
   2536   SET_MAKE="MAKE=${MAKE-make}"
   2537 fi
   2538 
   2539 rm -rf .tst 2>/dev/null
   2540 mkdir .tst 2>/dev/null
   2541 if test -d .tst; then
   2542   am__leading_dot=.
   2543 else
   2544   am__leading_dot=_
   2545 fi
   2546 rmdir .tst 2>/dev/null
   2547 
   2548 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2549   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2550   # is not polluted with repeated "-I."
   2551   am__isrc=' -I$(srcdir)'
   2552   # test to see if srcdir already configured
   2553   if test -f $srcdir/config.status; then
   2554     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2555 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2556    { (exit 1); exit 1; }; }
   2557   fi
   2558 fi
   2559 
   2560 # test whether we have cygpath
   2561 if test -z "$CYGPATH_W"; then
   2562   if (cygpath --version) >/dev/null 2>/dev/null; then
   2563     CYGPATH_W='cygpath -w'
   2564   else
   2565     CYGPATH_W=echo
   2566   fi
   2567 fi
   2568 
   2569 
   2570 # Define the identity of the package.
   2571  PACKAGE='xf86-video-neomagic'
   2572  VERSION='1.2.4'
   2573 
   2574 
   2575 cat >>confdefs.h <<_ACEOF
   2576 #define PACKAGE "$PACKAGE"
   2577 _ACEOF
   2578 
   2579 
   2580 cat >>confdefs.h <<_ACEOF
   2581 #define VERSION "$VERSION"
   2582 _ACEOF
   2583 
   2584 # Some tools Automake needs.
   2585 
   2586 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2587 
   2588 
   2589 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2590 
   2591 
   2592 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2593 
   2594 
   2595 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2596 
   2597 
   2598 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2599 
   2600 # We need awk for the "check" target.  The system "awk" is bad on
   2601 # some platforms.
   2602 # Always define AMTAR for backward compatibility.
   2603 
   2604 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2605 
   2606 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2607 
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 
   2614 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2615 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2616     # Check whether --enable-maintainer-mode was given.
   2617 if test "${enable_maintainer_mode+set}" = set; then
   2618   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2619 else
   2620   USE_MAINTAINER_MODE=no
   2621 fi
   2622 
   2623   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2624 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2625    if test $USE_MAINTAINER_MODE = yes; then
   2626   MAINTAINER_MODE_TRUE=
   2627   MAINTAINER_MODE_FALSE='#'
   2628 else
   2629   MAINTAINER_MODE_TRUE='#'
   2630   MAINTAINER_MODE_FALSE=
   2631 fi
   2632 
   2633   MAINT=$MAINTAINER_MODE_TRUE
   2634 
   2635 
   2636 
   2637 # Checks for programs.
   2638 # Check whether --enable-static was given.
   2639 if test "${enable_static+set}" = set; then
   2640   enableval=$enable_static; p=${PACKAGE-default}
   2641     case $enableval in
   2642     yes) enable_static=yes ;;
   2643     no) enable_static=no ;;
   2644     *)
   2645      enable_static=no
   2646       # Look at the argument we got.  We use all the common list separators.
   2647       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2648       for pkg in $enableval; do
   2649 	IFS="$lt_save_ifs"
   2650 	if test "X$pkg" = "X$p"; then
   2651 	  enable_static=yes
   2652 	fi
   2653       done
   2654       IFS="$lt_save_ifs"
   2655       ;;
   2656     esac
   2657 else
   2658   enable_static=no
   2659 fi
   2660 
   2661 
   2662 
   2663 # Check whether --enable-shared was given.
   2664 if test "${enable_shared+set}" = set; then
   2665   enableval=$enable_shared; p=${PACKAGE-default}
   2666     case $enableval in
   2667     yes) enable_shared=yes ;;
   2668     no) enable_shared=no ;;
   2669     *)
   2670       enable_shared=no
   2671       # Look at the argument we got.  We use all the common list separators.
   2672       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2673       for pkg in $enableval; do
   2674 	IFS="$lt_save_ifs"
   2675 	if test "X$pkg" = "X$p"; then
   2676 	  enable_shared=yes
   2677 	fi
   2678       done
   2679       IFS="$lt_save_ifs"
   2680       ;;
   2681     esac
   2682 else
   2683   enable_shared=yes
   2684 fi
   2685 
   2686 
   2687 # Check whether --enable-fast-install was given.
   2688 if test "${enable_fast_install+set}" = set; then
   2689   enableval=$enable_fast_install; p=${PACKAGE-default}
   2690     case $enableval in
   2691     yes) enable_fast_install=yes ;;
   2692     no) enable_fast_install=no ;;
   2693     *)
   2694       enable_fast_install=no
   2695       # Look at the argument we got.  We use all the common list separators.
   2696       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2697       for pkg in $enableval; do
   2698 	IFS="$lt_save_ifs"
   2699 	if test "X$pkg" = "X$p"; then
   2700 	  enable_fast_install=yes
   2701 	fi
   2702       done
   2703       IFS="$lt_save_ifs"
   2704       ;;
   2705     esac
   2706 else
   2707   enable_fast_install=yes
   2708 fi
   2709 
   2710 
   2711 # Make sure we can run config.sub.
   2712 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2713   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2714 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2715    { (exit 1); exit 1; }; }
   2716 
   2717 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2718 $as_echo_n "checking build system type... " >&6; }
   2719 if test "${ac_cv_build+set}" = set; then
   2720   $as_echo_n "(cached) " >&6
   2721 else
   2722   ac_build_alias=$build_alias
   2723 test "x$ac_build_alias" = x &&
   2724   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2725 test "x$ac_build_alias" = x &&
   2726   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2727 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2728    { (exit 1); exit 1; }; }
   2729 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2730   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2731 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2732    { (exit 1); exit 1; }; }
   2733 
   2734 fi
   2735 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2736 $as_echo "$ac_cv_build" >&6; }
   2737 case $ac_cv_build in
   2738 *-*-*) ;;
   2739 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2740 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2741    { (exit 1); exit 1; }; };;
   2742 esac
   2743 build=$ac_cv_build
   2744 ac_save_IFS=$IFS; IFS='-'
   2745 set x $ac_cv_build
   2746 shift
   2747 build_cpu=$1
   2748 build_vendor=$2
   2749 shift; shift
   2750 # Remember, the first character of IFS is used to create $*,
   2751 # except with old shells:
   2752 build_os=$*
   2753 IFS=$ac_save_IFS
   2754 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2755 
   2756 
   2757 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2758 $as_echo_n "checking host system type... " >&6; }
   2759 if test "${ac_cv_host+set}" = set; then
   2760   $as_echo_n "(cached) " >&6
   2761 else
   2762   if test "x$host_alias" = x; then
   2763   ac_cv_host=$ac_cv_build
   2764 else
   2765   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2766     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2767 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2768    { (exit 1); exit 1; }; }
   2769 fi
   2770 
   2771 fi
   2772 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2773 $as_echo "$ac_cv_host" >&6; }
   2774 case $ac_cv_host in
   2775 *-*-*) ;;
   2776 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2777 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2778    { (exit 1); exit 1; }; };;
   2779 esac
   2780 host=$ac_cv_host
   2781 ac_save_IFS=$IFS; IFS='-'
   2782 set x $ac_cv_host
   2783 shift
   2784 host_cpu=$1
   2785 host_vendor=$2
   2786 shift; shift
   2787 # Remember, the first character of IFS is used to create $*,
   2788 # except with old shells:
   2789 host_os=$*
   2790 IFS=$ac_save_IFS
   2791 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2792 
   2793 
   2794 DEPDIR="${am__leading_dot}deps"
   2795 
   2796 ac_config_commands="$ac_config_commands depfiles"
   2797 
   2798 
   2799 am_make=${MAKE-make}
   2800 cat > confinc << 'END'
   2801 am__doit:
   2802 	@echo this is the am__doit target
   2803 .PHONY: am__doit
   2804 END
   2805 # If we don't find an include directive, just comment out the code.
   2806 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2807 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2808 am__include="#"
   2809 am__quote=
   2810 _am_result=none
   2811 # First try GNU make style include.
   2812 echo "include confinc" > confmf
   2813 # Ignore all kinds of additional output from `make'.
   2814 case `$am_make -s -f confmf 2> /dev/null` in #(
   2815 *the\ am__doit\ target*)
   2816   am__include=include
   2817   am__quote=
   2818   _am_result=GNU
   2819   ;;
   2820 esac
   2821 # Now try BSD make style include.
   2822 if test "$am__include" = "#"; then
   2823    echo '.include "confinc"' > confmf
   2824    case `$am_make -s -f confmf 2> /dev/null` in #(
   2825    *the\ am__doit\ target*)
   2826      am__include=.include
   2827      am__quote="\""
   2828      _am_result=BSD
   2829      ;;
   2830    esac
   2831 fi
   2832 
   2833 
   2834 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2835 $as_echo "$_am_result" >&6; }
   2836 rm -f confinc confmf
   2837 
   2838 # Check whether --enable-dependency-tracking was given.
   2839 if test "${enable_dependency_tracking+set}" = set; then
   2840   enableval=$enable_dependency_tracking;
   2841 fi
   2842 
   2843 if test "x$enable_dependency_tracking" != xno; then
   2844   am_depcomp="$ac_aux_dir/depcomp"
   2845   AMDEPBACKSLASH='\'
   2846 fi
   2847  if test "x$enable_dependency_tracking" != xno; then
   2848   AMDEP_TRUE=
   2849   AMDEP_FALSE='#'
   2850 else
   2851   AMDEP_TRUE='#'
   2852   AMDEP_FALSE=
   2853 fi
   2854 
   2855 
   2856 ac_ext=c
   2857 ac_cpp='$CPP $CPPFLAGS'
   2858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2861 if test -n "$ac_tool_prefix"; then
   2862   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2863 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2864 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2865 $as_echo_n "checking for $ac_word... " >&6; }
   2866 if test "${ac_cv_prog_CC+set}" = set; then
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test -n "$CC"; then
   2870   ac_cv_prog_CC="$CC" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877   for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2879     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2880     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884 done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 CC=$ac_cv_prog_CC
   2890 if test -n "$CC"; then
   2891   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2892 $as_echo "$CC" >&6; }
   2893 else
   2894   { $as_echo "$as_me:$LINENO: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 fi
   2897 
   2898 
   2899 fi
   2900 if test -z "$ac_cv_prog_CC"; then
   2901   ac_ct_CC=$CC
   2902   # Extract the first word of "gcc", so it can be a program name with args.
   2903 set dummy gcc; 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="gcc"
   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   if test "x$ac_ct_CC" = x; then
   2939     CC=""
   2940   else
   2941     case $cross_compiling:$ac_tool_warned in
   2942 yes:)
   2943 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2945 ac_tool_warned=yes ;;
   2946 esac
   2947     CC=$ac_ct_CC
   2948   fi
   2949 else
   2950   CC="$ac_cv_prog_CC"
   2951 fi
   2952 
   2953 if test -z "$CC"; then
   2954           if test -n "$ac_tool_prefix"; then
   2955     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2956 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2958 $as_echo_n "checking for $ac_word... " >&6; }
   2959 if test "${ac_cv_prog_CC+set}" = set; then
   2960   $as_echo_n "(cached) " >&6
   2961 else
   2962   if test -n "$CC"; then
   2963   ac_cv_prog_CC="$CC" # Let the user override the test.
   2964 else
   2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2966 for as_dir in $PATH
   2967 do
   2968   IFS=$as_save_IFS
   2969   test -z "$as_dir" && as_dir=.
   2970   for ac_exec_ext in '' $ac_executable_extensions; do
   2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2972     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2973     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2974     break 2
   2975   fi
   2976 done
   2977 done
   2978 IFS=$as_save_IFS
   2979 
   2980 fi
   2981 fi
   2982 CC=$ac_cv_prog_CC
   2983 if test -n "$CC"; then
   2984   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2985 $as_echo "$CC" >&6; }
   2986 else
   2987   { $as_echo "$as_me:$LINENO: result: no" >&5
   2988 $as_echo "no" >&6; }
   2989 fi
   2990 
   2991 
   2992   fi
   2993 fi
   2994 if test -z "$CC"; then
   2995   # Extract the first word of "cc", so it can be a program name with args.
   2996 set dummy cc; ac_word=$2
   2997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2998 $as_echo_n "checking for $ac_word... " >&6; }
   2999 if test "${ac_cv_prog_CC+set}" = set; then
   3000   $as_echo_n "(cached) " >&6
   3001 else
   3002   if test -n "$CC"; then
   3003   ac_cv_prog_CC="$CC" # Let the user override the test.
   3004 else
   3005   ac_prog_rejected=no
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011   for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3014        ac_prog_rejected=yes
   3015        continue
   3016      fi
   3017     ac_cv_prog_CC="cc"
   3018     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3019     break 2
   3020   fi
   3021 done
   3022 done
   3023 IFS=$as_save_IFS
   3024 
   3025 if test $ac_prog_rejected = yes; then
   3026   # We found a bogon in the path, so make sure we never use it.
   3027   set dummy $ac_cv_prog_CC
   3028   shift
   3029   if test $# != 0; then
   3030     # We chose a different compiler from the bogus one.
   3031     # However, it has the same basename, so the bogon will be chosen
   3032     # first if we set CC to just the basename; use the full file name.
   3033     shift
   3034     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3035   fi
   3036 fi
   3037 fi
   3038 fi
   3039 CC=$ac_cv_prog_CC
   3040 if test -n "$CC"; then
   3041   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3042 $as_echo "$CC" >&6; }
   3043 else
   3044   { $as_echo "$as_me:$LINENO: result: no" >&5
   3045 $as_echo "no" >&6; }
   3046 fi
   3047 
   3048 
   3049 fi
   3050 if test -z "$CC"; then
   3051   if test -n "$ac_tool_prefix"; then
   3052   for ac_prog in cl.exe
   3053   do
   3054     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if test "${ac_cv_prog_CC+set}" = set; then
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$CC"; then
   3062   ac_cv_prog_CC="$CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069   for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3071     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3072     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076 done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 CC=$ac_cv_prog_CC
   3082 if test -n "$CC"; then
   3083   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3084 $as_echo "$CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:$LINENO: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090 
   3091     test -n "$CC" && break
   3092   done
   3093 fi
   3094 if test -z "$CC"; then
   3095   ac_ct_CC=$CC
   3096   for ac_prog in cl.exe
   3097 do
   3098   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3099 set dummy $ac_prog; ac_word=$2
   3100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$ac_ct_CC"; then
   3106   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113   for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3115     ac_cv_prog_ac_ct_CC="$ac_prog"
   3116     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120 done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3126 if test -n "$ac_ct_CC"; then
   3127   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3128 $as_echo "$ac_ct_CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:$LINENO: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135   test -n "$ac_ct_CC" && break
   3136 done
   3137 
   3138   if test "x$ac_ct_CC" = x; then
   3139     CC=""
   3140   else
   3141     case $cross_compiling:$ac_tool_warned in
   3142 yes:)
   3143 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3145 ac_tool_warned=yes ;;
   3146 esac
   3147     CC=$ac_ct_CC
   3148   fi
   3149 fi
   3150 
   3151 fi
   3152 
   3153 
   3154 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3156 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3157 See \`config.log' for more details." >&5
   3158 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3159 See \`config.log' for more details." >&2;}
   3160    { (exit 1); exit 1; }; }; }
   3161 
   3162 # Provide some information about the compiler.
   3163 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3164 set X $ac_compile
   3165 ac_compiler=$2
   3166 { (ac_try="$ac_compiler --version >&5"
   3167 case "(($ac_try" in
   3168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3169   *) ac_try_echo=$ac_try;;
   3170 esac
   3171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3172 $as_echo "$ac_try_echo") >&5
   3173   (eval "$ac_compiler --version >&5") 2>&5
   3174   ac_status=$?
   3175   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3176   (exit $ac_status); }
   3177 { (ac_try="$ac_compiler -v >&5"
   3178 case "(($ac_try" in
   3179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3180   *) ac_try_echo=$ac_try;;
   3181 esac
   3182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3183 $as_echo "$ac_try_echo") >&5
   3184   (eval "$ac_compiler -v >&5") 2>&5
   3185   ac_status=$?
   3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3187   (exit $ac_status); }
   3188 { (ac_try="$ac_compiler -V >&5"
   3189 case "(($ac_try" in
   3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3191   *) ac_try_echo=$ac_try;;
   3192 esac
   3193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3194 $as_echo "$ac_try_echo") >&5
   3195   (eval "$ac_compiler -V >&5") 2>&5
   3196   ac_status=$?
   3197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3198   (exit $ac_status); }
   3199 
   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 ac_clean_files_save=$ac_clean_files
   3216 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3217 # Try to create an executable without -o first, disregard a.out.
   3218 # It will help us diagnose broken compilers, and finding out an intuition
   3219 # of exeext.
   3220 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3221 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3222 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3223 
   3224 # The possible output files:
   3225 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3226 
   3227 ac_rmfiles=
   3228 for ac_file in $ac_files
   3229 do
   3230   case $ac_file in
   3231     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3232     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3233   esac
   3234 done
   3235 rm -f $ac_rmfiles
   3236 
   3237 if { (ac_try="$ac_link_default"
   3238 case "(($ac_try" in
   3239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3240   *) ac_try_echo=$ac_try;;
   3241 esac
   3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3243 $as_echo "$ac_try_echo") >&5
   3244   (eval "$ac_link_default") 2>&5
   3245   ac_status=$?
   3246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3247   (exit $ac_status); }; then
   3248   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3249 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3250 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3251 # so that the user can short-circuit this test for compilers unknown to
   3252 # Autoconf.
   3253 for ac_file in $ac_files ''
   3254 do
   3255   test -f "$ac_file" || continue
   3256   case $ac_file in
   3257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3258 	;;
   3259     [ab].out )
   3260 	# We found the default executable, but exeext='' is most
   3261 	# certainly right.
   3262 	break;;
   3263     *.* )
   3264         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3265 	then :; else
   3266 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3267 	fi
   3268 	# We set ac_cv_exeext here because the later test for it is not
   3269 	# safe: cross compilers may not add the suffix if given an `-o'
   3270 	# argument, so we may need to know it at that point already.
   3271 	# Even if this section looks crufty: it has the advantage of
   3272 	# actually working.
   3273 	break;;
   3274     * )
   3275 	break;;
   3276   esac
   3277 done
   3278 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3279 
   3280 else
   3281   ac_file=''
   3282 fi
   3283 
   3284 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3285 $as_echo "$ac_file" >&6; }
   3286 if test -z "$ac_file"; then
   3287   $as_echo "$as_me: failed program was:" >&5
   3288 sed 's/^/| /' conftest.$ac_ext >&5
   3289 
   3290 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3293 See \`config.log' for more details." >&5
   3294 $as_echo "$as_me: error: C compiler cannot create executables
   3295 See \`config.log' for more details." >&2;}
   3296    { (exit 77); exit 77; }; }; }
   3297 fi
   3298 
   3299 ac_exeext=$ac_cv_exeext
   3300 
   3301 # Check that the compiler produces executables we can run.  If not, either
   3302 # the compiler is broken, or we cross compile.
   3303 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3304 $as_echo_n "checking whether the C compiler works... " >&6; }
   3305 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3306 # If not cross compiling, check that we can run a simple program.
   3307 if test "$cross_compiling" != yes; then
   3308   if { ac_try='./$ac_file'
   3309   { (case "(($ac_try" in
   3310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3311   *) ac_try_echo=$ac_try;;
   3312 esac
   3313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3314 $as_echo "$ac_try_echo") >&5
   3315   (eval "$ac_try") 2>&5
   3316   ac_status=$?
   3317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3318   (exit $ac_status); }; }; then
   3319     cross_compiling=no
   3320   else
   3321     if test "$cross_compiling" = maybe; then
   3322 	cross_compiling=yes
   3323     else
   3324 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3326 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3327 If you meant to cross compile, use \`--host'.
   3328 See \`config.log' for more details." >&5
   3329 $as_echo "$as_me: error: cannot run C compiled programs.
   3330 If you meant to cross compile, use \`--host'.
   3331 See \`config.log' for more details." >&2;}
   3332    { (exit 1); exit 1; }; }; }
   3333     fi
   3334   fi
   3335 fi
   3336 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3337 $as_echo "yes" >&6; }
   3338 
   3339 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3340 ac_clean_files=$ac_clean_files_save
   3341 # Check that the compiler produces executables we can run.  If not, either
   3342 # the compiler is broken, or we cross compile.
   3343 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3344 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3345 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3346 $as_echo "$cross_compiling" >&6; }
   3347 
   3348 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3349 $as_echo_n "checking for suffix of executables... " >&6; }
   3350 if { (ac_try="$ac_link"
   3351 case "(($ac_try" in
   3352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3353   *) ac_try_echo=$ac_try;;
   3354 esac
   3355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3356 $as_echo "$ac_try_echo") >&5
   3357   (eval "$ac_link") 2>&5
   3358   ac_status=$?
   3359   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3360   (exit $ac_status); }; then
   3361   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3362 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3363 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3364 # `rm'.
   3365 for ac_file in conftest.exe conftest conftest.*; do
   3366   test -f "$ac_file" || continue
   3367   case $ac_file in
   3368     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3369     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3370 	  break;;
   3371     * ) break;;
   3372   esac
   3373 done
   3374 else
   3375   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3377 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3378 See \`config.log' for more details." >&5
   3379 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3380 See \`config.log' for more details." >&2;}
   3381    { (exit 1); exit 1; }; }; }
   3382 fi
   3383 
   3384 rm -f conftest$ac_cv_exeext
   3385 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3386 $as_echo "$ac_cv_exeext" >&6; }
   3387 
   3388 rm -f conftest.$ac_ext
   3389 EXEEXT=$ac_cv_exeext
   3390 ac_exeext=$EXEEXT
   3391 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3392 $as_echo_n "checking for suffix of object files... " >&6; }
   3393 if test "${ac_cv_objext+set}" = set; then
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   cat >conftest.$ac_ext <<_ACEOF
   3397 /* confdefs.h.  */
   3398 _ACEOF
   3399 cat confdefs.h >>conftest.$ac_ext
   3400 cat >>conftest.$ac_ext <<_ACEOF
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 rm -f conftest.o conftest.obj
   3412 if { (ac_try="$ac_compile"
   3413 case "(($ac_try" in
   3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3415   *) ac_try_echo=$ac_try;;
   3416 esac
   3417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3418 $as_echo "$ac_try_echo") >&5
   3419   (eval "$ac_compile") 2>&5
   3420   ac_status=$?
   3421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3422   (exit $ac_status); }; then
   3423   for ac_file in conftest.o conftest.obj conftest.*; do
   3424   test -f "$ac_file" || continue;
   3425   case $ac_file in
   3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3427     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3428        break;;
   3429   esac
   3430 done
   3431 else
   3432   $as_echo "$as_me: failed program was:" >&5
   3433 sed 's/^/| /' conftest.$ac_ext >&5
   3434 
   3435 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3437 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3438 See \`config.log' for more details." >&5
   3439 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3440 See \`config.log' for more details." >&2;}
   3441    { (exit 1); exit 1; }; }; }
   3442 fi
   3443 
   3444 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3445 fi
   3446 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3447 $as_echo "$ac_cv_objext" >&6; }
   3448 OBJEXT=$ac_cv_objext
   3449 ac_objext=$OBJEXT
   3450 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3451 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3452 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   cat >conftest.$ac_ext <<_ACEOF
   3456 /* confdefs.h.  */
   3457 _ACEOF
   3458 cat confdefs.h >>conftest.$ac_ext
   3459 cat >>conftest.$ac_ext <<_ACEOF
   3460 /* end confdefs.h.  */
   3461 
   3462 int
   3463 main ()
   3464 {
   3465 #ifndef __GNUC__
   3466        choke me
   3467 #endif
   3468 
   3469   ;
   3470   return 0;
   3471 }
   3472 _ACEOF
   3473 rm -f conftest.$ac_objext
   3474 if { (ac_try="$ac_compile"
   3475 case "(($ac_try" in
   3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3477   *) ac_try_echo=$ac_try;;
   3478 esac
   3479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3480 $as_echo "$ac_try_echo") >&5
   3481   (eval "$ac_compile") 2>conftest.er1
   3482   ac_status=$?
   3483   grep -v '^ *+' conftest.er1 >conftest.err
   3484   rm -f conftest.er1
   3485   cat conftest.err >&5
   3486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3487   (exit $ac_status); } && {
   3488 	 test -z "$ac_c_werror_flag" ||
   3489 	 test ! -s conftest.err
   3490        } && test -s conftest.$ac_objext; then
   3491   ac_compiler_gnu=yes
   3492 else
   3493   $as_echo "$as_me: failed program was:" >&5
   3494 sed 's/^/| /' conftest.$ac_ext >&5
   3495 
   3496 	ac_compiler_gnu=no
   3497 fi
   3498 
   3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3501 
   3502 fi
   3503 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3504 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3505 if test $ac_compiler_gnu = yes; then
   3506   GCC=yes
   3507 else
   3508   GCC=
   3509 fi
   3510 ac_test_CFLAGS=${CFLAGS+set}
   3511 ac_save_CFLAGS=$CFLAGS
   3512 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3513 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3514 if test "${ac_cv_prog_cc_g+set}" = set; then
   3515   $as_echo_n "(cached) " >&6
   3516 else
   3517   ac_save_c_werror_flag=$ac_c_werror_flag
   3518    ac_c_werror_flag=yes
   3519    ac_cv_prog_cc_g=no
   3520    CFLAGS="-g"
   3521    cat >conftest.$ac_ext <<_ACEOF
   3522 /* confdefs.h.  */
   3523 _ACEOF
   3524 cat confdefs.h >>conftest.$ac_ext
   3525 cat >>conftest.$ac_ext <<_ACEOF
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 rm -f conftest.$ac_objext
   3537 if { (ac_try="$ac_compile"
   3538 case "(($ac_try" in
   3539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3540   *) ac_try_echo=$ac_try;;
   3541 esac
   3542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3543 $as_echo "$ac_try_echo") >&5
   3544   (eval "$ac_compile") 2>conftest.er1
   3545   ac_status=$?
   3546   grep -v '^ *+' conftest.er1 >conftest.err
   3547   rm -f conftest.er1
   3548   cat conftest.err >&5
   3549   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3550   (exit $ac_status); } && {
   3551 	 test -z "$ac_c_werror_flag" ||
   3552 	 test ! -s conftest.err
   3553        } && test -s conftest.$ac_objext; then
   3554   ac_cv_prog_cc_g=yes
   3555 else
   3556   $as_echo "$as_me: failed program was:" >&5
   3557 sed 's/^/| /' conftest.$ac_ext >&5
   3558 
   3559 	CFLAGS=""
   3560       cat >conftest.$ac_ext <<_ACEOF
   3561 /* confdefs.h.  */
   3562 _ACEOF
   3563 cat confdefs.h >>conftest.$ac_ext
   3564 cat >>conftest.$ac_ext <<_ACEOF
   3565 /* end confdefs.h.  */
   3566 
   3567 int
   3568 main ()
   3569 {
   3570 
   3571   ;
   3572   return 0;
   3573 }
   3574 _ACEOF
   3575 rm -f conftest.$ac_objext
   3576 if { (ac_try="$ac_compile"
   3577 case "(($ac_try" in
   3578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3579   *) ac_try_echo=$ac_try;;
   3580 esac
   3581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3582 $as_echo "$ac_try_echo") >&5
   3583   (eval "$ac_compile") 2>conftest.er1
   3584   ac_status=$?
   3585   grep -v '^ *+' conftest.er1 >conftest.err
   3586   rm -f conftest.er1
   3587   cat conftest.err >&5
   3588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3589   (exit $ac_status); } && {
   3590 	 test -z "$ac_c_werror_flag" ||
   3591 	 test ! -s conftest.err
   3592        } && test -s conftest.$ac_objext; then
   3593   :
   3594 else
   3595   $as_echo "$as_me: failed program was:" >&5
   3596 sed 's/^/| /' conftest.$ac_ext >&5
   3597 
   3598 	ac_c_werror_flag=$ac_save_c_werror_flag
   3599 	 CFLAGS="-g"
   3600 	 cat >conftest.$ac_ext <<_ACEOF
   3601 /* confdefs.h.  */
   3602 _ACEOF
   3603 cat confdefs.h >>conftest.$ac_ext
   3604 cat >>conftest.$ac_ext <<_ACEOF
   3605 /* end confdefs.h.  */
   3606 
   3607 int
   3608 main ()
   3609 {
   3610 
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 rm -f conftest.$ac_objext
   3616 if { (ac_try="$ac_compile"
   3617 case "(($ac_try" in
   3618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3619   *) ac_try_echo=$ac_try;;
   3620 esac
   3621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3622 $as_echo "$ac_try_echo") >&5
   3623   (eval "$ac_compile") 2>conftest.er1
   3624   ac_status=$?
   3625   grep -v '^ *+' conftest.er1 >conftest.err
   3626   rm -f conftest.er1
   3627   cat conftest.err >&5
   3628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3629   (exit $ac_status); } && {
   3630 	 test -z "$ac_c_werror_flag" ||
   3631 	 test ! -s conftest.err
   3632        } && test -s conftest.$ac_objext; then
   3633   ac_cv_prog_cc_g=yes
   3634 else
   3635   $as_echo "$as_me: failed program was:" >&5
   3636 sed 's/^/| /' conftest.$ac_ext >&5
   3637 
   3638 
   3639 fi
   3640 
   3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3642 fi
   3643 
   3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3645 fi
   3646 
   3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3648    ac_c_werror_flag=$ac_save_c_werror_flag
   3649 fi
   3650 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3651 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3652 if test "$ac_test_CFLAGS" = set; then
   3653   CFLAGS=$ac_save_CFLAGS
   3654 elif test $ac_cv_prog_cc_g = yes; then
   3655   if test "$GCC" = yes; then
   3656     CFLAGS="-g -O2"
   3657   else
   3658     CFLAGS="-g"
   3659   fi
   3660 else
   3661   if test "$GCC" = yes; then
   3662     CFLAGS="-O2"
   3663   else
   3664     CFLAGS=
   3665   fi
   3666 fi
   3667 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3668 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3669 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3670   $as_echo_n "(cached) " >&6
   3671 else
   3672   ac_cv_prog_cc_c89=no
   3673 ac_save_CC=$CC
   3674 cat >conftest.$ac_ext <<_ACEOF
   3675 /* confdefs.h.  */
   3676 _ACEOF
   3677 cat confdefs.h >>conftest.$ac_ext
   3678 cat >>conftest.$ac_ext <<_ACEOF
   3679 /* end confdefs.h.  */
   3680 #include <stdarg.h>
   3681 #include <stdio.h>
   3682 #include <sys/types.h>
   3683 #include <sys/stat.h>
   3684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3685 struct buf { int x; };
   3686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3687 static char *e (p, i)
   3688      char **p;
   3689      int i;
   3690 {
   3691   return p[i];
   3692 }
   3693 static char *f (char * (*g) (char **, int), char **p, ...)
   3694 {
   3695   char *s;
   3696   va_list v;
   3697   va_start (v,p);
   3698   s = g (p, va_arg (v,int));
   3699   va_end (v);
   3700   return s;
   3701 }
   3702 
   3703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3704    function prototypes and stuff, but not '\xHH' hex character constants.
   3705    These don't provoke an error unfortunately, instead are silently treated
   3706    as 'x'.  The following induces an error, until -std is added to get
   3707    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3708    array size at least.  It's necessary to write '\x00'==0 to get something
   3709    that's true only with -std.  */
   3710 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3711 
   3712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3713    inside strings and character constants.  */
   3714 #define FOO(x) 'x'
   3715 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3716 
   3717 int test (int i, double x);
   3718 struct s1 {int (*f) (int a);};
   3719 struct s2 {int (*f) (double a);};
   3720 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3721 int argc;
   3722 char **argv;
   3723 int
   3724 main ()
   3725 {
   3726 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3727   ;
   3728   return 0;
   3729 }
   3730 _ACEOF
   3731 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3732 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3733 do
   3734   CC="$ac_save_CC $ac_arg"
   3735   rm -f conftest.$ac_objext
   3736 if { (ac_try="$ac_compile"
   3737 case "(($ac_try" in
   3738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3739   *) ac_try_echo=$ac_try;;
   3740 esac
   3741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3742 $as_echo "$ac_try_echo") >&5
   3743   (eval "$ac_compile") 2>conftest.er1
   3744   ac_status=$?
   3745   grep -v '^ *+' conftest.er1 >conftest.err
   3746   rm -f conftest.er1
   3747   cat conftest.err >&5
   3748   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3749   (exit $ac_status); } && {
   3750 	 test -z "$ac_c_werror_flag" ||
   3751 	 test ! -s conftest.err
   3752        } && test -s conftest.$ac_objext; then
   3753   ac_cv_prog_cc_c89=$ac_arg
   3754 else
   3755   $as_echo "$as_me: failed program was:" >&5
   3756 sed 's/^/| /' conftest.$ac_ext >&5
   3757 
   3758 
   3759 fi
   3760 
   3761 rm -f core conftest.err conftest.$ac_objext
   3762   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3763 done
   3764 rm -f conftest.$ac_ext
   3765 CC=$ac_save_CC
   3766 
   3767 fi
   3768 # AC_CACHE_VAL
   3769 case "x$ac_cv_prog_cc_c89" in
   3770   x)
   3771     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3772 $as_echo "none needed" >&6; } ;;
   3773   xno)
   3774     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3775 $as_echo "unsupported" >&6; } ;;
   3776   *)
   3777     CC="$CC $ac_cv_prog_cc_c89"
   3778     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3779 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3780 esac
   3781 
   3782 
   3783 ac_ext=c
   3784 ac_cpp='$CPP $CPPFLAGS'
   3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3788 
   3789 depcc="$CC"   am_compiler_list=
   3790 
   3791 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3792 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3793 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3794   $as_echo_n "(cached) " >&6
   3795 else
   3796   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3797   # We make a subdir and do the tests there.  Otherwise we can end up
   3798   # making bogus files that we don't know about and never remove.  For
   3799   # instance it was reported that on HP-UX the gcc test will end up
   3800   # making a dummy file named `D' -- because `-MD' means `put the output
   3801   # in D'.
   3802   mkdir conftest.dir
   3803   # Copy depcomp to subdir because otherwise we won't find it if we're
   3804   # using a relative directory.
   3805   cp "$am_depcomp" conftest.dir
   3806   cd conftest.dir
   3807   # We will build objects and dependencies in a subdirectory because
   3808   # it helps to detect inapplicable dependency modes.  For instance
   3809   # both Tru64's cc and ICC support -MD to output dependencies as a
   3810   # side effect of compilation, but ICC will put the dependencies in
   3811   # the current directory while Tru64 will put them in the object
   3812   # directory.
   3813   mkdir sub
   3814 
   3815   am_cv_CC_dependencies_compiler_type=none
   3816   if test "$am_compiler_list" = ""; then
   3817      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3818   fi
   3819   am__universal=false
   3820   case " $depcc " in #(
   3821      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3822      esac
   3823 
   3824   for depmode in $am_compiler_list; do
   3825     # Setup a source with many dependencies, because some compilers
   3826     # like to wrap large dependency lists on column 80 (with \), and
   3827     # we should not choose a depcomp mode which is confused by this.
   3828     #
   3829     # We need to recreate these files for each test, as the compiler may
   3830     # overwrite some of them when testing with obscure command lines.
   3831     # This happens at least with the AIX C compiler.
   3832     : > sub/conftest.c
   3833     for i in 1 2 3 4 5 6; do
   3834       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3835       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3836       # Solaris 8's {/usr,}/bin/sh.
   3837       touch sub/conftst$i.h
   3838     done
   3839     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3840 
   3841     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3842     # mode.  It turns out that the SunPro C++ compiler does not properly
   3843     # handle `-M -o', and we need to detect this.  Also, some Intel
   3844     # versions had trouble with output in subdirs
   3845     am__obj=sub/conftest.${OBJEXT-o}
   3846     am__minus_obj="-o $am__obj"
   3847     case $depmode in
   3848     gcc)
   3849       # This depmode causes a compiler race in universal mode.
   3850       test "$am__universal" = false || continue
   3851       ;;
   3852     nosideeffect)
   3853       # after this tag, mechanisms are not by side-effect, so they'll
   3854       # only be used when explicitly requested
   3855       if test "x$enable_dependency_tracking" = xyes; then
   3856 	continue
   3857       else
   3858 	break
   3859       fi
   3860       ;;
   3861     msvisualcpp | msvcmsys)
   3862       # This compiler won't grok `-c -o', but also, the minuso test has
   3863       # not run yet.  These depmodes are late enough in the game, and
   3864       # so weak that their functioning should not be impacted.
   3865       am__obj=conftest.${OBJEXT-o}
   3866       am__minus_obj=
   3867       ;;
   3868     none) break ;;
   3869     esac
   3870     if depmode=$depmode \
   3871        source=sub/conftest.c object=$am__obj \
   3872        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3873        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3874          >/dev/null 2>conftest.err &&
   3875        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3876        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3877        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3878        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3879       # icc doesn't choke on unknown options, it will just issue warnings
   3880       # or remarks (even with -Werror).  So we grep stderr for any message
   3881       # that says an option was ignored or not supported.
   3882       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3883       #   icc: Command line warning: ignoring option '-M'; no argument required
   3884       # The diagnosis changed in icc 8.0:
   3885       #   icc: Command line remark: option '-MP' not supported
   3886       if (grep 'ignoring option' conftest.err ||
   3887           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3888         am_cv_CC_dependencies_compiler_type=$depmode
   3889         break
   3890       fi
   3891     fi
   3892   done
   3893 
   3894   cd ..
   3895   rm -rf conftest.dir
   3896 else
   3897   am_cv_CC_dependencies_compiler_type=none
   3898 fi
   3899 
   3900 fi
   3901 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3902 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3903 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3904 
   3905  if
   3906   test "x$enable_dependency_tracking" != xno \
   3907   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3908   am__fastdepCC_TRUE=
   3909   am__fastdepCC_FALSE='#'
   3910 else
   3911   am__fastdepCC_TRUE='#'
   3912   am__fastdepCC_FALSE=
   3913 fi
   3914 
   3915 
   3916 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3917 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3918 if test "${lt_cv_path_SED+set}" = set; then
   3919   $as_echo_n "(cached) " >&6
   3920 else
   3921   # Loop through the user's path and test for sed and gsed.
   3922 # Then use that list of sed's as ones to test for truncation.
   3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3924 for as_dir in $PATH
   3925 do
   3926   IFS=$as_save_IFS
   3927   test -z "$as_dir" && as_dir=.
   3928   for lt_ac_prog in sed gsed; do
   3929     for ac_exec_ext in '' $ac_executable_extensions; do
   3930       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3931         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3932       fi
   3933     done
   3934   done
   3935 done
   3936 IFS=$as_save_IFS
   3937 lt_ac_max=0
   3938 lt_ac_count=0
   3939 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3940 # along with /bin/sed that truncates output.
   3941 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3942   test ! -f $lt_ac_sed && continue
   3943   cat /dev/null > conftest.in
   3944   lt_ac_count=0
   3945   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3946   # Check for GNU sed and select it if it is found.
   3947   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3948     lt_cv_path_SED=$lt_ac_sed
   3949     break
   3950   fi
   3951   while true; do
   3952     cat conftest.in conftest.in >conftest.tmp
   3953     mv conftest.tmp conftest.in
   3954     cp conftest.in conftest.nl
   3955     echo >>conftest.nl
   3956     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3957     cmp -s conftest.out conftest.nl || break
   3958     # 10000 chars as input seems more than enough
   3959     test $lt_ac_count -gt 10 && break
   3960     lt_ac_count=`expr $lt_ac_count + 1`
   3961     if test $lt_ac_count -gt $lt_ac_max; then
   3962       lt_ac_max=$lt_ac_count
   3963       lt_cv_path_SED=$lt_ac_sed
   3964     fi
   3965   done
   3966 done
   3967 
   3968 fi
   3969 
   3970 SED=$lt_cv_path_SED
   3971 
   3972 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3973 $as_echo "$SED" >&6; }
   3974 
   3975 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3976 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3977 if test "${ac_cv_path_GREP+set}" = set; then
   3978   $as_echo_n "(cached) " >&6
   3979 else
   3980   if test -z "$GREP"; then
   3981   ac_path_GREP_found=false
   3982   # Loop through the user's path and test for each of PROGNAME-LIST
   3983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3984 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3985 do
   3986   IFS=$as_save_IFS
   3987   test -z "$as_dir" && as_dir=.
   3988   for ac_prog in grep ggrep; do
   3989     for ac_exec_ext in '' $ac_executable_extensions; do
   3990       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3991       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3992 # Check for GNU ac_path_GREP and select it if it is found.
   3993   # Check for GNU $ac_path_GREP
   3994 case `"$ac_path_GREP" --version 2>&1` in
   3995 *GNU*)
   3996   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3997 *)
   3998   ac_count=0
   3999   $as_echo_n 0123456789 >"conftest.in"
   4000   while :
   4001   do
   4002     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4003     mv "conftest.tmp" "conftest.in"
   4004     cp "conftest.in" "conftest.nl"
   4005     $as_echo 'GREP' >> "conftest.nl"
   4006     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4007     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4008     ac_count=`expr $ac_count + 1`
   4009     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4010       # Best one so far, save it but keep looking for a better one
   4011       ac_cv_path_GREP="$ac_path_GREP"
   4012       ac_path_GREP_max=$ac_count
   4013     fi
   4014     # 10*(2^10) chars as input seems more than enough
   4015     test $ac_count -gt 10 && break
   4016   done
   4017   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4018 esac
   4019 
   4020       $ac_path_GREP_found && break 3
   4021     done
   4022   done
   4023 done
   4024 IFS=$as_save_IFS
   4025   if test -z "$ac_cv_path_GREP"; then
   4026     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4027 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4028    { (exit 1); exit 1; }; }
   4029   fi
   4030 else
   4031   ac_cv_path_GREP=$GREP
   4032 fi
   4033 
   4034 fi
   4035 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4036 $as_echo "$ac_cv_path_GREP" >&6; }
   4037  GREP="$ac_cv_path_GREP"
   4038 
   4039 
   4040 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4041 $as_echo_n "checking for egrep... " >&6; }
   4042 if test "${ac_cv_path_EGREP+set}" = set; then
   4043   $as_echo_n "(cached) " >&6
   4044 else
   4045   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4046    then ac_cv_path_EGREP="$GREP -E"
   4047    else
   4048      if test -z "$EGREP"; then
   4049   ac_path_EGREP_found=false
   4050   # Loop through the user's path and test for each of PROGNAME-LIST
   4051   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4052 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4053 do
   4054   IFS=$as_save_IFS
   4055   test -z "$as_dir" && as_dir=.
   4056   for ac_prog in egrep; do
   4057     for ac_exec_ext in '' $ac_executable_extensions; do
   4058       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4059       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4060 # Check for GNU ac_path_EGREP and select it if it is found.
   4061   # Check for GNU $ac_path_EGREP
   4062 case `"$ac_path_EGREP" --version 2>&1` in
   4063 *GNU*)
   4064   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4065 *)
   4066   ac_count=0
   4067   $as_echo_n 0123456789 >"conftest.in"
   4068   while :
   4069   do
   4070     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4071     mv "conftest.tmp" "conftest.in"
   4072     cp "conftest.in" "conftest.nl"
   4073     $as_echo 'EGREP' >> "conftest.nl"
   4074     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4075     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4076     ac_count=`expr $ac_count + 1`
   4077     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4078       # Best one so far, save it but keep looking for a better one
   4079       ac_cv_path_EGREP="$ac_path_EGREP"
   4080       ac_path_EGREP_max=$ac_count
   4081     fi
   4082     # 10*(2^10) chars as input seems more than enough
   4083     test $ac_count -gt 10 && break
   4084   done
   4085   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4086 esac
   4087 
   4088       $ac_path_EGREP_found && break 3
   4089     done
   4090   done
   4091 done
   4092 IFS=$as_save_IFS
   4093   if test -z "$ac_cv_path_EGREP"; then
   4094     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4095 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4096    { (exit 1); exit 1; }; }
   4097   fi
   4098 else
   4099   ac_cv_path_EGREP=$EGREP
   4100 fi
   4101 
   4102    fi
   4103 fi
   4104 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4105 $as_echo "$ac_cv_path_EGREP" >&6; }
   4106  EGREP="$ac_cv_path_EGREP"
   4107 
   4108 
   4109 
   4110 # Check whether --with-gnu-ld was given.
   4111 if test "${with_gnu_ld+set}" = set; then
   4112   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4113 else
   4114   with_gnu_ld=no
   4115 fi
   4116 
   4117 ac_prog=ld
   4118 if test "$GCC" = yes; then
   4119   # Check if gcc -print-prog-name=ld gives a path.
   4120   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4121 $as_echo_n "checking for ld used by $CC... " >&6; }
   4122   case $host in
   4123   *-*-mingw*)
   4124     # gcc leaves a trailing carriage return which upsets mingw
   4125     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4126   *)
   4127     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4128   esac
   4129   case $ac_prog in
   4130     # Accept absolute paths.
   4131     [\\/]* | ?:[\\/]*)
   4132       re_direlt='/[^/][^/]*/\.\./'
   4133       # Canonicalize the pathname of ld
   4134       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4135       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4136 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4137       done
   4138       test -z "$LD" && LD="$ac_prog"
   4139       ;;
   4140   "")
   4141     # If it fails, then pretend we aren't using GCC.
   4142     ac_prog=ld
   4143     ;;
   4144   *)
   4145     # If it is relative, then search for the first ld in PATH.
   4146     with_gnu_ld=unknown
   4147     ;;
   4148   esac
   4149 elif test "$with_gnu_ld" = yes; then
   4150   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4151 $as_echo_n "checking for GNU ld... " >&6; }
   4152 else
   4153   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4154 $as_echo_n "checking for non-GNU ld... " >&6; }
   4155 fi
   4156 if test "${lt_cv_path_LD+set}" = set; then
   4157   $as_echo_n "(cached) " >&6
   4158 else
   4159   if test -z "$LD"; then
   4160   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4161   for ac_dir in $PATH; do
   4162     IFS="$lt_save_ifs"
   4163     test -z "$ac_dir" && ac_dir=.
   4164     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4165       lt_cv_path_LD="$ac_dir/$ac_prog"
   4166       # Check to see if the program is GNU ld.  I'd rather use --version,
   4167       # but apparently some variants of GNU ld only accept -v.
   4168       # Break only if it was the GNU/non-GNU ld that we prefer.
   4169       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4170       *GNU* | *'with BFD'*)
   4171 	test "$with_gnu_ld" != no && break
   4172 	;;
   4173       *)
   4174 	test "$with_gnu_ld" != yes && break
   4175 	;;
   4176       esac
   4177     fi
   4178   done
   4179   IFS="$lt_save_ifs"
   4180 else
   4181   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4182 fi
   4183 fi
   4184 
   4185 LD="$lt_cv_path_LD"
   4186 if test -n "$LD"; then
   4187   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4188 $as_echo "$LD" >&6; }
   4189 else
   4190   { $as_echo "$as_me:$LINENO: result: no" >&5
   4191 $as_echo "no" >&6; }
   4192 fi
   4193 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4194 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4195    { (exit 1); exit 1; }; }
   4196 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4198 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4199   $as_echo_n "(cached) " >&6
   4200 else
   4201   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4202 case `$LD -v 2>&1 </dev/null` in
   4203 *GNU* | *'with BFD'*)
   4204   lt_cv_prog_gnu_ld=yes
   4205   ;;
   4206 *)
   4207   lt_cv_prog_gnu_ld=no
   4208   ;;
   4209 esac
   4210 fi
   4211 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4212 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4213 with_gnu_ld=$lt_cv_prog_gnu_ld
   4214 
   4215 
   4216 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4217 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4218 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4219   $as_echo_n "(cached) " >&6
   4220 else
   4221   lt_cv_ld_reload_flag='-r'
   4222 fi
   4223 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4224 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4225 reload_flag=$lt_cv_ld_reload_flag
   4226 case $reload_flag in
   4227 "" | " "*) ;;
   4228 *) reload_flag=" $reload_flag" ;;
   4229 esac
   4230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4231 case $host_os in
   4232   darwin*)
   4233     if test "$GCC" = yes; then
   4234       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4235     else
   4236       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4237     fi
   4238     ;;
   4239 esac
   4240 
   4241 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4242 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4243 if test "${lt_cv_path_NM+set}" = set; then
   4244   $as_echo_n "(cached) " >&6
   4245 else
   4246   if test -n "$NM"; then
   4247   # Let the user override the test.
   4248   lt_cv_path_NM="$NM"
   4249 else
   4250   lt_nm_to_check="${ac_tool_prefix}nm"
   4251   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4252     lt_nm_to_check="$lt_nm_to_check nm"
   4253   fi
   4254   for lt_tmp_nm in $lt_nm_to_check; do
   4255     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4256     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4257       IFS="$lt_save_ifs"
   4258       test -z "$ac_dir" && ac_dir=.
   4259       tmp_nm="$ac_dir/$lt_tmp_nm"
   4260       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4261 	# Check to see if the nm accepts a BSD-compat flag.
   4262 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4263 	#   nm: unknown option "B" ignored
   4264 	# Tru64's nm complains that /dev/null is an invalid object file
   4265 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4266 	*/dev/null* | *'Invalid file or object type'*)
   4267 	  lt_cv_path_NM="$tmp_nm -B"
   4268 	  break
   4269 	  ;;
   4270 	*)
   4271 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4272 	  */dev/null*)
   4273 	    lt_cv_path_NM="$tmp_nm -p"
   4274 	    break
   4275 	    ;;
   4276 	  *)
   4277 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4278 	    continue # so that we can try to find one that supports BSD flags
   4279 	    ;;
   4280 	  esac
   4281 	  ;;
   4282 	esac
   4283       fi
   4284     done
   4285     IFS="$lt_save_ifs"
   4286   done
   4287   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4288 fi
   4289 fi
   4290 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4291 $as_echo "$lt_cv_path_NM" >&6; }
   4292 NM="$lt_cv_path_NM"
   4293 
   4294 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4295 $as_echo_n "checking whether ln -s works... " >&6; }
   4296 LN_S=$as_ln_s
   4297 if test "$LN_S" = "ln -s"; then
   4298   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4299 $as_echo "yes" >&6; }
   4300 else
   4301   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4302 $as_echo "no, using $LN_S" >&6; }
   4303 fi
   4304 
   4305 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4306 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4307 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4311 lt_cv_file_magic_test_file=
   4312 lt_cv_deplibs_check_method='unknown'
   4313 # Need to set the preceding variable on all platforms that support
   4314 # interlibrary dependencies.
   4315 # 'none' -- dependencies not supported.
   4316 # `unknown' -- same as none, but documents that we really don't know.
   4317 # 'pass_all' -- all dependencies passed with no checks.
   4318 # 'test_compile' -- check by making test program.
   4319 # 'file_magic [[regex]]' -- check by looking for files in library path
   4320 # which responds to the $file_magic_cmd with a given extended regex.
   4321 # If you have `file' or equivalent on your system and you're not sure
   4322 # whether `pass_all' will *always* work, you probably want this one.
   4323 
   4324 case $host_os in
   4325 aix[4-9]*)
   4326   lt_cv_deplibs_check_method=pass_all
   4327   ;;
   4328 
   4329 beos*)
   4330   lt_cv_deplibs_check_method=pass_all
   4331   ;;
   4332 
   4333 bsdi[45]*)
   4334   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4335   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4336   lt_cv_file_magic_test_file=/shlib/libc.so
   4337   ;;
   4338 
   4339 cygwin*)
   4340   # func_win32_libid is a shell function defined in ltmain.sh
   4341   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4342   lt_cv_file_magic_cmd='func_win32_libid'
   4343   ;;
   4344 
   4345 mingw* | pw32*)
   4346   # Base MSYS/MinGW do not provide the 'file' command needed by
   4347   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4348   # unless we find 'file', for example because we are cross-compiling.
   4349   if ( file / ) >/dev/null 2>&1; then
   4350     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4351     lt_cv_file_magic_cmd='func_win32_libid'
   4352   else
   4353     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4354     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4355   fi
   4356   ;;
   4357 
   4358 darwin* | rhapsody*)
   4359   lt_cv_deplibs_check_method=pass_all
   4360   ;;
   4361 
   4362 freebsd* | dragonfly*)
   4363   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4364     case $host_cpu in
   4365     i*86 )
   4366       # Not sure whether the presence of OpenBSD here was a mistake.
   4367       # Let's accept both of them until this is cleared up.
   4368       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4369       lt_cv_file_magic_cmd=/usr/bin/file
   4370       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4371       ;;
   4372     esac
   4373   else
   4374     lt_cv_deplibs_check_method=pass_all
   4375   fi
   4376   ;;
   4377 
   4378 gnu*)
   4379   lt_cv_deplibs_check_method=pass_all
   4380   ;;
   4381 
   4382 hpux10.20* | hpux11*)
   4383   lt_cv_file_magic_cmd=/usr/bin/file
   4384   case $host_cpu in
   4385   ia64*)
   4386     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4387     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4388     ;;
   4389   hppa*64*)
   4390     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]'
   4391     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4392     ;;
   4393   *)
   4394     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4395     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4396     ;;
   4397   esac
   4398   ;;
   4399 
   4400 interix[3-9]*)
   4401   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4402   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4403   ;;
   4404 
   4405 irix5* | irix6* | nonstopux*)
   4406   case $LD in
   4407   *-32|*"-32 ") libmagic=32-bit;;
   4408   *-n32|*"-n32 ") libmagic=N32;;
   4409   *-64|*"-64 ") libmagic=64-bit;;
   4410   *) libmagic=never-match;;
   4411   esac
   4412   lt_cv_deplibs_check_method=pass_all
   4413   ;;
   4414 
   4415 # This must be Linux ELF.
   4416 linux* | k*bsd*-gnu)
   4417   lt_cv_deplibs_check_method=pass_all
   4418   ;;
   4419 
   4420 netbsd*)
   4421   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4422     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4423   else
   4424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4425   fi
   4426   ;;
   4427 
   4428 newos6*)
   4429   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4430   lt_cv_file_magic_cmd=/usr/bin/file
   4431   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4432   ;;
   4433 
   4434 nto-qnx*)
   4435   lt_cv_deplibs_check_method=unknown
   4436   ;;
   4437 
   4438 openbsd*)
   4439   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4441   else
   4442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4443   fi
   4444   ;;
   4445 
   4446 osf3* | osf4* | osf5*)
   4447   lt_cv_deplibs_check_method=pass_all
   4448   ;;
   4449 
   4450 rdos*)
   4451   lt_cv_deplibs_check_method=pass_all
   4452   ;;
   4453 
   4454 solaris*)
   4455   lt_cv_deplibs_check_method=pass_all
   4456   ;;
   4457 
   4458 sysv4 | sysv4.3*)
   4459   case $host_vendor in
   4460   motorola)
   4461     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]'
   4462     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4463     ;;
   4464   ncr)
   4465     lt_cv_deplibs_check_method=pass_all
   4466     ;;
   4467   sequent)
   4468     lt_cv_file_magic_cmd='/bin/file'
   4469     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4470     ;;
   4471   sni)
   4472     lt_cv_file_magic_cmd='/bin/file'
   4473     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4474     lt_cv_file_magic_test_file=/lib/libc.so
   4475     ;;
   4476   siemens)
   4477     lt_cv_deplibs_check_method=pass_all
   4478     ;;
   4479   pc)
   4480     lt_cv_deplibs_check_method=pass_all
   4481     ;;
   4482   esac
   4483   ;;
   4484 
   4485 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4486   lt_cv_deplibs_check_method=pass_all
   4487   ;;
   4488 esac
   4489 
   4490 fi
   4491 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4492 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4493 file_magic_cmd=$lt_cv_file_magic_cmd
   4494 deplibs_check_method=$lt_cv_deplibs_check_method
   4495 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4496 
   4497 
   4498 
   4499 
   4500 # If no C compiler was specified, use CC.
   4501 LTCC=${LTCC-"$CC"}
   4502 
   4503 # If no C compiler flags were specified, use CFLAGS.
   4504 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4505 
   4506 # Allow CC to be a program name with arguments.
   4507 compiler=$CC
   4508 
   4509 
   4510 # Check whether --enable-libtool-lock was given.
   4511 if test "${enable_libtool_lock+set}" = set; then
   4512   enableval=$enable_libtool_lock;
   4513 fi
   4514 
   4515 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4516 
   4517 # Some flags need to be propagated to the compiler or linker for good
   4518 # libtool support.
   4519 case $host in
   4520 ia64-*-hpux*)
   4521   # Find out which ABI we are using.
   4522   echo 'int i;' > conftest.$ac_ext
   4523   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4524   (eval $ac_compile) 2>&5
   4525   ac_status=$?
   4526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4527   (exit $ac_status); }; then
   4528     case `/usr/bin/file conftest.$ac_objext` in
   4529     *ELF-32*)
   4530       HPUX_IA64_MODE="32"
   4531       ;;
   4532     *ELF-64*)
   4533       HPUX_IA64_MODE="64"
   4534       ;;
   4535     esac
   4536   fi
   4537   rm -rf conftest*
   4538   ;;
   4539 *-*-irix6*)
   4540   # Find out which ABI we are using.
   4541   echo '#line 4541 "configure"' > conftest.$ac_ext
   4542   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4543   (eval $ac_compile) 2>&5
   4544   ac_status=$?
   4545   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4546   (exit $ac_status); }; then
   4547    if test "$lt_cv_prog_gnu_ld" = yes; then
   4548     case `/usr/bin/file conftest.$ac_objext` in
   4549     *32-bit*)
   4550       LD="${LD-ld} -melf32bsmip"
   4551       ;;
   4552     *N32*)
   4553       LD="${LD-ld} -melf32bmipn32"
   4554       ;;
   4555     *64-bit*)
   4556       LD="${LD-ld} -melf64bmip"
   4557       ;;
   4558     esac
   4559    else
   4560     case `/usr/bin/file conftest.$ac_objext` in
   4561     *32-bit*)
   4562       LD="${LD-ld} -32"
   4563       ;;
   4564     *N32*)
   4565       LD="${LD-ld} -n32"
   4566       ;;
   4567     *64-bit*)
   4568       LD="${LD-ld} -64"
   4569       ;;
   4570     esac
   4571    fi
   4572   fi
   4573   rm -rf conftest*
   4574   ;;
   4575 
   4576 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4577 s390*-*linux*|sparc*-*linux*)
   4578   # Find out which ABI we are using.
   4579   echo 'int i;' > conftest.$ac_ext
   4580   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4581   (eval $ac_compile) 2>&5
   4582   ac_status=$?
   4583   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4584   (exit $ac_status); }; then
   4585     case `/usr/bin/file conftest.o` in
   4586     *32-bit*)
   4587       case $host in
   4588         x86_64-*kfreebsd*-gnu)
   4589           LD="${LD-ld} -m elf_i386_fbsd"
   4590           ;;
   4591         x86_64-*linux*)
   4592           LD="${LD-ld} -m elf_i386"
   4593           ;;
   4594         ppc64-*linux*|powerpc64-*linux*)
   4595           LD="${LD-ld} -m elf32ppclinux"
   4596           ;;
   4597         s390x-*linux*)
   4598           LD="${LD-ld} -m elf_s390"
   4599           ;;
   4600         sparc64-*linux*)
   4601           LD="${LD-ld} -m elf32_sparc"
   4602           ;;
   4603       esac
   4604       ;;
   4605     *64-bit*)
   4606       libsuff=64
   4607       case $host in
   4608         x86_64-*kfreebsd*-gnu)
   4609           LD="${LD-ld} -m elf_x86_64_fbsd"
   4610           ;;
   4611         x86_64-*linux*)
   4612           LD="${LD-ld} -m elf_x86_64"
   4613           ;;
   4614         ppc*-*linux*|powerpc*-*linux*)
   4615           LD="${LD-ld} -m elf64ppc"
   4616           ;;
   4617         s390*-*linux*)
   4618           LD="${LD-ld} -m elf64_s390"
   4619           ;;
   4620         sparc*-*linux*)
   4621           LD="${LD-ld} -m elf64_sparc"
   4622           ;;
   4623       esac
   4624       ;;
   4625     esac
   4626   fi
   4627   rm -rf conftest*
   4628   ;;
   4629 
   4630 *-*-sco3.2v5*)
   4631   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4632   SAVE_CFLAGS="$CFLAGS"
   4633   CFLAGS="$CFLAGS -belf"
   4634   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4635 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4636 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639   ac_ext=c
   4640 ac_cpp='$CPP $CPPFLAGS'
   4641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4644 
   4645      cat >conftest.$ac_ext <<_ACEOF
   4646 /* confdefs.h.  */
   4647 _ACEOF
   4648 cat confdefs.h >>conftest.$ac_ext
   4649 cat >>conftest.$ac_ext <<_ACEOF
   4650 /* end confdefs.h.  */
   4651 
   4652 int
   4653 main ()
   4654 {
   4655 
   4656   ;
   4657   return 0;
   4658 }
   4659 _ACEOF
   4660 rm -f conftest.$ac_objext conftest$ac_exeext
   4661 if { (ac_try="$ac_link"
   4662 case "(($ac_try" in
   4663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4664   *) ac_try_echo=$ac_try;;
   4665 esac
   4666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4667 $as_echo "$ac_try_echo") >&5
   4668   (eval "$ac_link") 2>conftest.er1
   4669   ac_status=$?
   4670   grep -v '^ *+' conftest.er1 >conftest.err
   4671   rm -f conftest.er1
   4672   cat conftest.err >&5
   4673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4674   (exit $ac_status); } && {
   4675 	 test -z "$ac_c_werror_flag" ||
   4676 	 test ! -s conftest.err
   4677        } && test -s conftest$ac_exeext && {
   4678 	 test "$cross_compiling" = yes ||
   4679 	 $as_test_x conftest$ac_exeext
   4680        }; then
   4681   lt_cv_cc_needs_belf=yes
   4682 else
   4683   $as_echo "$as_me: failed program was:" >&5
   4684 sed 's/^/| /' conftest.$ac_ext >&5
   4685 
   4686 	lt_cv_cc_needs_belf=no
   4687 fi
   4688 
   4689 rm -rf conftest.dSYM
   4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4691       conftest$ac_exeext conftest.$ac_ext
   4692      ac_ext=c
   4693 ac_cpp='$CPP $CPPFLAGS'
   4694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4697 
   4698 fi
   4699 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4700 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4701   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4702     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4703     CFLAGS="$SAVE_CFLAGS"
   4704   fi
   4705   ;;
   4706 sparc*-*solaris*)
   4707   # Find out which ABI we are using.
   4708   echo 'int i;' > conftest.$ac_ext
   4709   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4710   (eval $ac_compile) 2>&5
   4711   ac_status=$?
   4712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4713   (exit $ac_status); }; then
   4714     case `/usr/bin/file conftest.o` in
   4715     *64-bit*)
   4716       case $lt_cv_prog_gnu_ld in
   4717       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4718       *)
   4719         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4720 	  LD="${LD-ld} -64"
   4721 	fi
   4722 	;;
   4723       esac
   4724       ;;
   4725     esac
   4726   fi
   4727   rm -rf conftest*
   4728   ;;
   4729 
   4730 
   4731 esac
   4732 
   4733 need_locks="$enable_libtool_lock"
   4734 
   4735 
   4736 ac_ext=c
   4737 ac_cpp='$CPP $CPPFLAGS'
   4738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4741 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4742 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4743 # On Suns, sometimes $CPP names a directory.
   4744 if test -n "$CPP" && test -d "$CPP"; then
   4745   CPP=
   4746 fi
   4747 if test -z "$CPP"; then
   4748   if test "${ac_cv_prog_CPP+set}" = set; then
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751       # Double quotes because CPP needs to be expanded
   4752     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4753     do
   4754       ac_preproc_ok=false
   4755 for ac_c_preproc_warn_flag in '' yes
   4756 do
   4757   # Use a header file that comes with gcc, so configuring glibc
   4758   # with a fresh cross-compiler works.
   4759   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4760   # <limits.h> exists even on freestanding compilers.
   4761   # On the NeXT, cc -E runs the code through the compiler's parser,
   4762   # not just through cpp. "Syntax error" is here to catch this case.
   4763   cat >conftest.$ac_ext <<_ACEOF
   4764 /* confdefs.h.  */
   4765 _ACEOF
   4766 cat confdefs.h >>conftest.$ac_ext
   4767 cat >>conftest.$ac_ext <<_ACEOF
   4768 /* end confdefs.h.  */
   4769 #ifdef __STDC__
   4770 # include <limits.h>
   4771 #else
   4772 # include <assert.h>
   4773 #endif
   4774 		     Syntax error
   4775 _ACEOF
   4776 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4777 case "(($ac_try" in
   4778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4779   *) ac_try_echo=$ac_try;;
   4780 esac
   4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4782 $as_echo "$ac_try_echo") >&5
   4783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4784   ac_status=$?
   4785   grep -v '^ *+' conftest.er1 >conftest.err
   4786   rm -f conftest.er1
   4787   cat conftest.err >&5
   4788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4789   (exit $ac_status); } >/dev/null && {
   4790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4791 	 test ! -s conftest.err
   4792        }; then
   4793   :
   4794 else
   4795   $as_echo "$as_me: failed program was:" >&5
   4796 sed 's/^/| /' conftest.$ac_ext >&5
   4797 
   4798   # Broken: fails on valid input.
   4799 continue
   4800 fi
   4801 
   4802 rm -f conftest.err conftest.$ac_ext
   4803 
   4804   # OK, works on sane cases.  Now check whether nonexistent headers
   4805   # can be detected and how.
   4806   cat >conftest.$ac_ext <<_ACEOF
   4807 /* confdefs.h.  */
   4808 _ACEOF
   4809 cat confdefs.h >>conftest.$ac_ext
   4810 cat >>conftest.$ac_ext <<_ACEOF
   4811 /* end confdefs.h.  */
   4812 #include <ac_nonexistent.h>
   4813 _ACEOF
   4814 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4815 case "(($ac_try" in
   4816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4817   *) ac_try_echo=$ac_try;;
   4818 esac
   4819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4820 $as_echo "$ac_try_echo") >&5
   4821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4822   ac_status=$?
   4823   grep -v '^ *+' conftest.er1 >conftest.err
   4824   rm -f conftest.er1
   4825   cat conftest.err >&5
   4826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4827   (exit $ac_status); } >/dev/null && {
   4828 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4829 	 test ! -s conftest.err
   4830        }; then
   4831   # Broken: success on invalid input.
   4832 continue
   4833 else
   4834   $as_echo "$as_me: failed program was:" >&5
   4835 sed 's/^/| /' conftest.$ac_ext >&5
   4836 
   4837   # Passes both tests.
   4838 ac_preproc_ok=:
   4839 break
   4840 fi
   4841 
   4842 rm -f conftest.err conftest.$ac_ext
   4843 
   4844 done
   4845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4846 rm -f conftest.err conftest.$ac_ext
   4847 if $ac_preproc_ok; then
   4848   break
   4849 fi
   4850 
   4851     done
   4852     ac_cv_prog_CPP=$CPP
   4853 
   4854 fi
   4855   CPP=$ac_cv_prog_CPP
   4856 else
   4857   ac_cv_prog_CPP=$CPP
   4858 fi
   4859 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4860 $as_echo "$CPP" >&6; }
   4861 ac_preproc_ok=false
   4862 for ac_c_preproc_warn_flag in '' yes
   4863 do
   4864   # Use a header file that comes with gcc, so configuring glibc
   4865   # with a fresh cross-compiler works.
   4866   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4867   # <limits.h> exists even on freestanding compilers.
   4868   # On the NeXT, cc -E runs the code through the compiler's parser,
   4869   # not just through cpp. "Syntax error" is here to catch this case.
   4870   cat >conftest.$ac_ext <<_ACEOF
   4871 /* confdefs.h.  */
   4872 _ACEOF
   4873 cat confdefs.h >>conftest.$ac_ext
   4874 cat >>conftest.$ac_ext <<_ACEOF
   4875 /* end confdefs.h.  */
   4876 #ifdef __STDC__
   4877 # include <limits.h>
   4878 #else
   4879 # include <assert.h>
   4880 #endif
   4881 		     Syntax error
   4882 _ACEOF
   4883 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4884 case "(($ac_try" in
   4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4886   *) ac_try_echo=$ac_try;;
   4887 esac
   4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4889 $as_echo "$ac_try_echo") >&5
   4890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4891   ac_status=$?
   4892   grep -v '^ *+' conftest.er1 >conftest.err
   4893   rm -f conftest.er1
   4894   cat conftest.err >&5
   4895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4896   (exit $ac_status); } >/dev/null && {
   4897 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4898 	 test ! -s conftest.err
   4899        }; then
   4900   :
   4901 else
   4902   $as_echo "$as_me: failed program was:" >&5
   4903 sed 's/^/| /' conftest.$ac_ext >&5
   4904 
   4905   # Broken: fails on valid input.
   4906 continue
   4907 fi
   4908 
   4909 rm -f conftest.err conftest.$ac_ext
   4910 
   4911   # OK, works on sane cases.  Now check whether nonexistent headers
   4912   # can be detected and how.
   4913   cat >conftest.$ac_ext <<_ACEOF
   4914 /* confdefs.h.  */
   4915 _ACEOF
   4916 cat confdefs.h >>conftest.$ac_ext
   4917 cat >>conftest.$ac_ext <<_ACEOF
   4918 /* end confdefs.h.  */
   4919 #include <ac_nonexistent.h>
   4920 _ACEOF
   4921 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4922 case "(($ac_try" in
   4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4924   *) ac_try_echo=$ac_try;;
   4925 esac
   4926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4927 $as_echo "$ac_try_echo") >&5
   4928   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4929   ac_status=$?
   4930   grep -v '^ *+' conftest.er1 >conftest.err
   4931   rm -f conftest.er1
   4932   cat conftest.err >&5
   4933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934   (exit $ac_status); } >/dev/null && {
   4935 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4936 	 test ! -s conftest.err
   4937        }; then
   4938   # Broken: success on invalid input.
   4939 continue
   4940 else
   4941   $as_echo "$as_me: failed program was:" >&5
   4942 sed 's/^/| /' conftest.$ac_ext >&5
   4943 
   4944   # Passes both tests.
   4945 ac_preproc_ok=:
   4946 break
   4947 fi
   4948 
   4949 rm -f conftest.err conftest.$ac_ext
   4950 
   4951 done
   4952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4953 rm -f conftest.err conftest.$ac_ext
   4954 if $ac_preproc_ok; then
   4955   :
   4956 else
   4957   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4959 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4960 See \`config.log' for more details." >&5
   4961 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4962 See \`config.log' for more details." >&2;}
   4963    { (exit 1); exit 1; }; }; }
   4964 fi
   4965 
   4966 ac_ext=c
   4967 ac_cpp='$CPP $CPPFLAGS'
   4968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4971 
   4972 
   4973 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4974 $as_echo_n "checking for ANSI C header files... " >&6; }
   4975 if test "${ac_cv_header_stdc+set}" = set; then
   4976   $as_echo_n "(cached) " >&6
   4977 else
   4978   cat >conftest.$ac_ext <<_ACEOF
   4979 /* confdefs.h.  */
   4980 _ACEOF
   4981 cat confdefs.h >>conftest.$ac_ext
   4982 cat >>conftest.$ac_ext <<_ACEOF
   4983 /* end confdefs.h.  */
   4984 #include <stdlib.h>
   4985 #include <stdarg.h>
   4986 #include <string.h>
   4987 #include <float.h>
   4988 
   4989 int
   4990 main ()
   4991 {
   4992 
   4993   ;
   4994   return 0;
   4995 }
   4996 _ACEOF
   4997 rm -f conftest.$ac_objext
   4998 if { (ac_try="$ac_compile"
   4999 case "(($ac_try" in
   5000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5001   *) ac_try_echo=$ac_try;;
   5002 esac
   5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5004 $as_echo "$ac_try_echo") >&5
   5005   (eval "$ac_compile") 2>conftest.er1
   5006   ac_status=$?
   5007   grep -v '^ *+' conftest.er1 >conftest.err
   5008   rm -f conftest.er1
   5009   cat conftest.err >&5
   5010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5011   (exit $ac_status); } && {
   5012 	 test -z "$ac_c_werror_flag" ||
   5013 	 test ! -s conftest.err
   5014        } && test -s conftest.$ac_objext; then
   5015   ac_cv_header_stdc=yes
   5016 else
   5017   $as_echo "$as_me: failed program was:" >&5
   5018 sed 's/^/| /' conftest.$ac_ext >&5
   5019 
   5020 	ac_cv_header_stdc=no
   5021 fi
   5022 
   5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5024 
   5025 if test $ac_cv_header_stdc = yes; then
   5026   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5027   cat >conftest.$ac_ext <<_ACEOF
   5028 /* confdefs.h.  */
   5029 _ACEOF
   5030 cat confdefs.h >>conftest.$ac_ext
   5031 cat >>conftest.$ac_ext <<_ACEOF
   5032 /* end confdefs.h.  */
   5033 #include <string.h>
   5034 
   5035 _ACEOF
   5036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5037   $EGREP "memchr" >/dev/null 2>&1; then
   5038   :
   5039 else
   5040   ac_cv_header_stdc=no
   5041 fi
   5042 rm -f conftest*
   5043 
   5044 fi
   5045 
   5046 if test $ac_cv_header_stdc = yes; then
   5047   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5048   cat >conftest.$ac_ext <<_ACEOF
   5049 /* confdefs.h.  */
   5050 _ACEOF
   5051 cat confdefs.h >>conftest.$ac_ext
   5052 cat >>conftest.$ac_ext <<_ACEOF
   5053 /* end confdefs.h.  */
   5054 #include <stdlib.h>
   5055 
   5056 _ACEOF
   5057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5058   $EGREP "free" >/dev/null 2>&1; then
   5059   :
   5060 else
   5061   ac_cv_header_stdc=no
   5062 fi
   5063 rm -f conftest*
   5064 
   5065 fi
   5066 
   5067 if test $ac_cv_header_stdc = yes; then
   5068   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5069   if test "$cross_compiling" = yes; then
   5070   :
   5071 else
   5072   cat >conftest.$ac_ext <<_ACEOF
   5073 /* confdefs.h.  */
   5074 _ACEOF
   5075 cat confdefs.h >>conftest.$ac_ext
   5076 cat >>conftest.$ac_ext <<_ACEOF
   5077 /* end confdefs.h.  */
   5078 #include <ctype.h>
   5079 #include <stdlib.h>
   5080 #if ((' ' & 0x0FF) == 0x020)
   5081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5083 #else
   5084 # define ISLOWER(c) \
   5085 		   (('a' <= (c) && (c) <= 'i') \
   5086 		     || ('j' <= (c) && (c) <= 'r') \
   5087 		     || ('s' <= (c) && (c) <= 'z'))
   5088 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5089 #endif
   5090 
   5091 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5092 int
   5093 main ()
   5094 {
   5095   int i;
   5096   for (i = 0; i < 256; i++)
   5097     if (XOR (islower (i), ISLOWER (i))
   5098 	|| toupper (i) != TOUPPER (i))
   5099       return 2;
   5100   return 0;
   5101 }
   5102 _ACEOF
   5103 rm -f conftest$ac_exeext
   5104 if { (ac_try="$ac_link"
   5105 case "(($ac_try" in
   5106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5107   *) ac_try_echo=$ac_try;;
   5108 esac
   5109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5110 $as_echo "$ac_try_echo") >&5
   5111   (eval "$ac_link") 2>&5
   5112   ac_status=$?
   5113   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5114   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5115   { (case "(($ac_try" in
   5116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5117   *) ac_try_echo=$ac_try;;
   5118 esac
   5119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5120 $as_echo "$ac_try_echo") >&5
   5121   (eval "$ac_try") 2>&5
   5122   ac_status=$?
   5123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5124   (exit $ac_status); }; }; then
   5125   :
   5126 else
   5127   $as_echo "$as_me: program exited with status $ac_status" >&5
   5128 $as_echo "$as_me: failed program was:" >&5
   5129 sed 's/^/| /' conftest.$ac_ext >&5
   5130 
   5131 ( exit $ac_status )
   5132 ac_cv_header_stdc=no
   5133 fi
   5134 rm -rf conftest.dSYM
   5135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5136 fi
   5137 
   5138 
   5139 fi
   5140 fi
   5141 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5142 $as_echo "$ac_cv_header_stdc" >&6; }
   5143 if test $ac_cv_header_stdc = yes; then
   5144 
   5145 cat >>confdefs.h <<\_ACEOF
   5146 #define STDC_HEADERS 1
   5147 _ACEOF
   5148 
   5149 fi
   5150 
   5151 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5162 		  inttypes.h stdint.h unistd.h
   5163 do
   5164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5165 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5166 $as_echo_n "checking for $ac_header... " >&6; }
   5167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5168   $as_echo_n "(cached) " >&6
   5169 else
   5170   cat >conftest.$ac_ext <<_ACEOF
   5171 /* confdefs.h.  */
   5172 _ACEOF
   5173 cat confdefs.h >>conftest.$ac_ext
   5174 cat >>conftest.$ac_ext <<_ACEOF
   5175 /* end confdefs.h.  */
   5176 $ac_includes_default
   5177 
   5178 #include <$ac_header>
   5179 _ACEOF
   5180 rm -f conftest.$ac_objext
   5181 if { (ac_try="$ac_compile"
   5182 case "(($ac_try" in
   5183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5184   *) ac_try_echo=$ac_try;;
   5185 esac
   5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5187 $as_echo "$ac_try_echo") >&5
   5188   (eval "$ac_compile") 2>conftest.er1
   5189   ac_status=$?
   5190   grep -v '^ *+' conftest.er1 >conftest.err
   5191   rm -f conftest.er1
   5192   cat conftest.err >&5
   5193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5194   (exit $ac_status); } && {
   5195 	 test -z "$ac_c_werror_flag" ||
   5196 	 test ! -s conftest.err
   5197        } && test -s conftest.$ac_objext; then
   5198   eval "$as_ac_Header=yes"
   5199 else
   5200   $as_echo "$as_me: failed program was:" >&5
   5201 sed 's/^/| /' conftest.$ac_ext >&5
   5202 
   5203 	eval "$as_ac_Header=no"
   5204 fi
   5205 
   5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5207 fi
   5208 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5209 		 $as_echo "$as_val"'`
   5210 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5211 $as_echo "$ac_res" >&6; }
   5212 as_val=`eval 'as_val=${'$as_ac_Header'}
   5213 		 $as_echo "$as_val"'`
   5214    if test "x$as_val" = x""yes; then
   5215   cat >>confdefs.h <<_ACEOF
   5216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5217 _ACEOF
   5218 
   5219 fi
   5220 
   5221 done
   5222 
   5223 
   5224 
   5225 for ac_header in dlfcn.h
   5226 do
   5227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5229   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5230 $as_echo_n "checking for $ac_header... " >&6; }
   5231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5232   $as_echo_n "(cached) " >&6
   5233 fi
   5234 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5235 		 $as_echo "$as_val"'`
   5236 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5237 $as_echo "$ac_res" >&6; }
   5238 else
   5239   # Is the header compilable?
   5240 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5241 $as_echo_n "checking $ac_header usability... " >&6; }
   5242 cat >conftest.$ac_ext <<_ACEOF
   5243 /* confdefs.h.  */
   5244 _ACEOF
   5245 cat confdefs.h >>conftest.$ac_ext
   5246 cat >>conftest.$ac_ext <<_ACEOF
   5247 /* end confdefs.h.  */
   5248 $ac_includes_default
   5249 #include <$ac_header>
   5250 _ACEOF
   5251 rm -f conftest.$ac_objext
   5252 if { (ac_try="$ac_compile"
   5253 case "(($ac_try" in
   5254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5255   *) ac_try_echo=$ac_try;;
   5256 esac
   5257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5258 $as_echo "$ac_try_echo") >&5
   5259   (eval "$ac_compile") 2>conftest.er1
   5260   ac_status=$?
   5261   grep -v '^ *+' conftest.er1 >conftest.err
   5262   rm -f conftest.er1
   5263   cat conftest.err >&5
   5264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5265   (exit $ac_status); } && {
   5266 	 test -z "$ac_c_werror_flag" ||
   5267 	 test ! -s conftest.err
   5268        } && test -s conftest.$ac_objext; then
   5269   ac_header_compiler=yes
   5270 else
   5271   $as_echo "$as_me: failed program was:" >&5
   5272 sed 's/^/| /' conftest.$ac_ext >&5
   5273 
   5274 	ac_header_compiler=no
   5275 fi
   5276 
   5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5278 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5279 $as_echo "$ac_header_compiler" >&6; }
   5280 
   5281 # Is the header present?
   5282 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5283 $as_echo_n "checking $ac_header presence... " >&6; }
   5284 cat >conftest.$ac_ext <<_ACEOF
   5285 /* confdefs.h.  */
   5286 _ACEOF
   5287 cat confdefs.h >>conftest.$ac_ext
   5288 cat >>conftest.$ac_ext <<_ACEOF
   5289 /* end confdefs.h.  */
   5290 #include <$ac_header>
   5291 _ACEOF
   5292 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5293 case "(($ac_try" in
   5294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5295   *) ac_try_echo=$ac_try;;
   5296 esac
   5297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5298 $as_echo "$ac_try_echo") >&5
   5299   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5300   ac_status=$?
   5301   grep -v '^ *+' conftest.er1 >conftest.err
   5302   rm -f conftest.er1
   5303   cat conftest.err >&5
   5304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5305   (exit $ac_status); } >/dev/null && {
   5306 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5307 	 test ! -s conftest.err
   5308        }; then
   5309   ac_header_preproc=yes
   5310 else
   5311   $as_echo "$as_me: failed program was:" >&5
   5312 sed 's/^/| /' conftest.$ac_ext >&5
   5313 
   5314   ac_header_preproc=no
   5315 fi
   5316 
   5317 rm -f conftest.err conftest.$ac_ext
   5318 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5319 $as_echo "$ac_header_preproc" >&6; }
   5320 
   5321 # So?  What about this header?
   5322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5323   yes:no: )
   5324     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5325 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5326     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5327 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5328     ac_header_preproc=yes
   5329     ;;
   5330   no:yes:* )
   5331     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5332 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5333     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5334 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5335     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5336 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5337     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5338 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5339     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5340 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5341     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5342 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5343     ( cat <<\_ASBOX
   5344 ## ---------------------------------------------------------------------- ##
   5345 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5346 ## ---------------------------------------------------------------------- ##
   5347 _ASBOX
   5348      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5349     ;;
   5350 esac
   5351 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5352 $as_echo_n "checking for $ac_header... " >&6; }
   5353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5354   $as_echo_n "(cached) " >&6
   5355 else
   5356   eval "$as_ac_Header=\$ac_header_preproc"
   5357 fi
   5358 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5359 		 $as_echo "$as_val"'`
   5360 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5361 $as_echo "$ac_res" >&6; }
   5362 
   5363 fi
   5364 as_val=`eval 'as_val=${'$as_ac_Header'}
   5365 		 $as_echo "$as_val"'`
   5366    if test "x$as_val" = x""yes; then
   5367   cat >>confdefs.h <<_ACEOF
   5368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5369 _ACEOF
   5370 
   5371 fi
   5372 
   5373 done
   5374 
   5375 ac_ext=cpp
   5376 ac_cpp='$CXXCPP $CPPFLAGS'
   5377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5380 if test -z "$CXX"; then
   5381   if test -n "$CCC"; then
   5382     CXX=$CCC
   5383   else
   5384     if test -n "$ac_tool_prefix"; then
   5385   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5386   do
   5387     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5389 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5390 $as_echo_n "checking for $ac_word... " >&6; }
   5391 if test "${ac_cv_prog_CXX+set}" = set; then
   5392   $as_echo_n "(cached) " >&6
   5393 else
   5394   if test -n "$CXX"; then
   5395   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5396 else
   5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5398 for as_dir in $PATH
   5399 do
   5400   IFS=$as_save_IFS
   5401   test -z "$as_dir" && as_dir=.
   5402   for ac_exec_ext in '' $ac_executable_extensions; do
   5403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5404     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5405     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5406     break 2
   5407   fi
   5408 done
   5409 done
   5410 IFS=$as_save_IFS
   5411 
   5412 fi
   5413 fi
   5414 CXX=$ac_cv_prog_CXX
   5415 if test -n "$CXX"; then
   5416   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5417 $as_echo "$CXX" >&6; }
   5418 else
   5419   { $as_echo "$as_me:$LINENO: result: no" >&5
   5420 $as_echo "no" >&6; }
   5421 fi
   5422 
   5423 
   5424     test -n "$CXX" && break
   5425   done
   5426 fi
   5427 if test -z "$CXX"; then
   5428   ac_ct_CXX=$CXX
   5429   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5430 do
   5431   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5432 set dummy $ac_prog; ac_word=$2
   5433 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5434 $as_echo_n "checking for $ac_word... " >&6; }
   5435 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5436   $as_echo_n "(cached) " >&6
   5437 else
   5438   if test -n "$ac_ct_CXX"; then
   5439   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5440 else
   5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5442 for as_dir in $PATH
   5443 do
   5444   IFS=$as_save_IFS
   5445   test -z "$as_dir" && as_dir=.
   5446   for ac_exec_ext in '' $ac_executable_extensions; do
   5447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5448     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5449     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5450     break 2
   5451   fi
   5452 done
   5453 done
   5454 IFS=$as_save_IFS
   5455 
   5456 fi
   5457 fi
   5458 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5459 if test -n "$ac_ct_CXX"; then
   5460   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5461 $as_echo "$ac_ct_CXX" >&6; }
   5462 else
   5463   { $as_echo "$as_me:$LINENO: result: no" >&5
   5464 $as_echo "no" >&6; }
   5465 fi
   5466 
   5467 
   5468   test -n "$ac_ct_CXX" && break
   5469 done
   5470 
   5471   if test "x$ac_ct_CXX" = x; then
   5472     CXX="g++"
   5473   else
   5474     case $cross_compiling:$ac_tool_warned in
   5475 yes:)
   5476 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5478 ac_tool_warned=yes ;;
   5479 esac
   5480     CXX=$ac_ct_CXX
   5481   fi
   5482 fi
   5483 
   5484   fi
   5485 fi
   5486 # Provide some information about the compiler.
   5487 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5488 set X $ac_compile
   5489 ac_compiler=$2
   5490 { (ac_try="$ac_compiler --version >&5"
   5491 case "(($ac_try" in
   5492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5493   *) ac_try_echo=$ac_try;;
   5494 esac
   5495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5496 $as_echo "$ac_try_echo") >&5
   5497   (eval "$ac_compiler --version >&5") 2>&5
   5498   ac_status=$?
   5499   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5500   (exit $ac_status); }
   5501 { (ac_try="$ac_compiler -v >&5"
   5502 case "(($ac_try" in
   5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5504   *) ac_try_echo=$ac_try;;
   5505 esac
   5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5507 $as_echo "$ac_try_echo") >&5
   5508   (eval "$ac_compiler -v >&5") 2>&5
   5509   ac_status=$?
   5510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5511   (exit $ac_status); }
   5512 { (ac_try="$ac_compiler -V >&5"
   5513 case "(($ac_try" in
   5514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5515   *) ac_try_echo=$ac_try;;
   5516 esac
   5517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5518 $as_echo "$ac_try_echo") >&5
   5519   (eval "$ac_compiler -V >&5") 2>&5
   5520   ac_status=$?
   5521   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5522   (exit $ac_status); }
   5523 
   5524 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5525 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5526 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5527   $as_echo_n "(cached) " >&6
   5528 else
   5529   cat >conftest.$ac_ext <<_ACEOF
   5530 /* confdefs.h.  */
   5531 _ACEOF
   5532 cat confdefs.h >>conftest.$ac_ext
   5533 cat >>conftest.$ac_ext <<_ACEOF
   5534 /* end confdefs.h.  */
   5535 
   5536 int
   5537 main ()
   5538 {
   5539 #ifndef __GNUC__
   5540        choke me
   5541 #endif
   5542 
   5543   ;
   5544   return 0;
   5545 }
   5546 _ACEOF
   5547 rm -f conftest.$ac_objext
   5548 if { (ac_try="$ac_compile"
   5549 case "(($ac_try" in
   5550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5551   *) ac_try_echo=$ac_try;;
   5552 esac
   5553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5554 $as_echo "$ac_try_echo") >&5
   5555   (eval "$ac_compile") 2>conftest.er1
   5556   ac_status=$?
   5557   grep -v '^ *+' conftest.er1 >conftest.err
   5558   rm -f conftest.er1
   5559   cat conftest.err >&5
   5560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5561   (exit $ac_status); } && {
   5562 	 test -z "$ac_cxx_werror_flag" ||
   5563 	 test ! -s conftest.err
   5564        } && test -s conftest.$ac_objext; then
   5565   ac_compiler_gnu=yes
   5566 else
   5567   $as_echo "$as_me: failed program was:" >&5
   5568 sed 's/^/| /' conftest.$ac_ext >&5
   5569 
   5570 	ac_compiler_gnu=no
   5571 fi
   5572 
   5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5575 
   5576 fi
   5577 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5579 if test $ac_compiler_gnu = yes; then
   5580   GXX=yes
   5581 else
   5582   GXX=
   5583 fi
   5584 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5585 ac_save_CXXFLAGS=$CXXFLAGS
   5586 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5588 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5589   $as_echo_n "(cached) " >&6
   5590 else
   5591   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5592    ac_cxx_werror_flag=yes
   5593    ac_cv_prog_cxx_g=no
   5594    CXXFLAGS="-g"
   5595    cat >conftest.$ac_ext <<_ACEOF
   5596 /* confdefs.h.  */
   5597 _ACEOF
   5598 cat confdefs.h >>conftest.$ac_ext
   5599 cat >>conftest.$ac_ext <<_ACEOF
   5600 /* end confdefs.h.  */
   5601 
   5602 int
   5603 main ()
   5604 {
   5605 
   5606   ;
   5607   return 0;
   5608 }
   5609 _ACEOF
   5610 rm -f conftest.$ac_objext
   5611 if { (ac_try="$ac_compile"
   5612 case "(($ac_try" in
   5613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5614   *) ac_try_echo=$ac_try;;
   5615 esac
   5616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5617 $as_echo "$ac_try_echo") >&5
   5618   (eval "$ac_compile") 2>conftest.er1
   5619   ac_status=$?
   5620   grep -v '^ *+' conftest.er1 >conftest.err
   5621   rm -f conftest.er1
   5622   cat conftest.err >&5
   5623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5624   (exit $ac_status); } && {
   5625 	 test -z "$ac_cxx_werror_flag" ||
   5626 	 test ! -s conftest.err
   5627        } && test -s conftest.$ac_objext; then
   5628   ac_cv_prog_cxx_g=yes
   5629 else
   5630   $as_echo "$as_me: failed program was:" >&5
   5631 sed 's/^/| /' conftest.$ac_ext >&5
   5632 
   5633 	CXXFLAGS=""
   5634       cat >conftest.$ac_ext <<_ACEOF
   5635 /* confdefs.h.  */
   5636 _ACEOF
   5637 cat confdefs.h >>conftest.$ac_ext
   5638 cat >>conftest.$ac_ext <<_ACEOF
   5639 /* end confdefs.h.  */
   5640 
   5641 int
   5642 main ()
   5643 {
   5644 
   5645   ;
   5646   return 0;
   5647 }
   5648 _ACEOF
   5649 rm -f conftest.$ac_objext
   5650 if { (ac_try="$ac_compile"
   5651 case "(($ac_try" in
   5652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5653   *) ac_try_echo=$ac_try;;
   5654 esac
   5655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5656 $as_echo "$ac_try_echo") >&5
   5657   (eval "$ac_compile") 2>conftest.er1
   5658   ac_status=$?
   5659   grep -v '^ *+' conftest.er1 >conftest.err
   5660   rm -f conftest.er1
   5661   cat conftest.err >&5
   5662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5663   (exit $ac_status); } && {
   5664 	 test -z "$ac_cxx_werror_flag" ||
   5665 	 test ! -s conftest.err
   5666        } && test -s conftest.$ac_objext; then
   5667   :
   5668 else
   5669   $as_echo "$as_me: failed program was:" >&5
   5670 sed 's/^/| /' conftest.$ac_ext >&5
   5671 
   5672 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5673 	 CXXFLAGS="-g"
   5674 	 cat >conftest.$ac_ext <<_ACEOF
   5675 /* confdefs.h.  */
   5676 _ACEOF
   5677 cat confdefs.h >>conftest.$ac_ext
   5678 cat >>conftest.$ac_ext <<_ACEOF
   5679 /* end confdefs.h.  */
   5680 
   5681 int
   5682 main ()
   5683 {
   5684 
   5685   ;
   5686   return 0;
   5687 }
   5688 _ACEOF
   5689 rm -f conftest.$ac_objext
   5690 if { (ac_try="$ac_compile"
   5691 case "(($ac_try" in
   5692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5693   *) ac_try_echo=$ac_try;;
   5694 esac
   5695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5696 $as_echo "$ac_try_echo") >&5
   5697   (eval "$ac_compile") 2>conftest.er1
   5698   ac_status=$?
   5699   grep -v '^ *+' conftest.er1 >conftest.err
   5700   rm -f conftest.er1
   5701   cat conftest.err >&5
   5702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5703   (exit $ac_status); } && {
   5704 	 test -z "$ac_cxx_werror_flag" ||
   5705 	 test ! -s conftest.err
   5706        } && test -s conftest.$ac_objext; then
   5707   ac_cv_prog_cxx_g=yes
   5708 else
   5709   $as_echo "$as_me: failed program was:" >&5
   5710 sed 's/^/| /' conftest.$ac_ext >&5
   5711 
   5712 
   5713 fi
   5714 
   5715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5716 fi
   5717 
   5718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5719 fi
   5720 
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5723 fi
   5724 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5725 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5726 if test "$ac_test_CXXFLAGS" = set; then
   5727   CXXFLAGS=$ac_save_CXXFLAGS
   5728 elif test $ac_cv_prog_cxx_g = yes; then
   5729   if test "$GXX" = yes; then
   5730     CXXFLAGS="-g -O2"
   5731   else
   5732     CXXFLAGS="-g"
   5733   fi
   5734 else
   5735   if test "$GXX" = yes; then
   5736     CXXFLAGS="-O2"
   5737   else
   5738     CXXFLAGS=
   5739   fi
   5740 fi
   5741 ac_ext=cpp
   5742 ac_cpp='$CXXCPP $CPPFLAGS'
   5743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5746 
   5747 depcc="$CXX"  am_compiler_list=
   5748 
   5749 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5750 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5751 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5752   $as_echo_n "(cached) " >&6
   5753 else
   5754   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5755   # We make a subdir and do the tests there.  Otherwise we can end up
   5756   # making bogus files that we don't know about and never remove.  For
   5757   # instance it was reported that on HP-UX the gcc test will end up
   5758   # making a dummy file named `D' -- because `-MD' means `put the output
   5759   # in D'.
   5760   mkdir conftest.dir
   5761   # Copy depcomp to subdir because otherwise we won't find it if we're
   5762   # using a relative directory.
   5763   cp "$am_depcomp" conftest.dir
   5764   cd conftest.dir
   5765   # We will build objects and dependencies in a subdirectory because
   5766   # it helps to detect inapplicable dependency modes.  For instance
   5767   # both Tru64's cc and ICC support -MD to output dependencies as a
   5768   # side effect of compilation, but ICC will put the dependencies in
   5769   # the current directory while Tru64 will put them in the object
   5770   # directory.
   5771   mkdir sub
   5772 
   5773   am_cv_CXX_dependencies_compiler_type=none
   5774   if test "$am_compiler_list" = ""; then
   5775      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5776   fi
   5777   am__universal=false
   5778   case " $depcc " in #(
   5779      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5780      esac
   5781 
   5782   for depmode in $am_compiler_list; do
   5783     # Setup a source with many dependencies, because some compilers
   5784     # like to wrap large dependency lists on column 80 (with \), and
   5785     # we should not choose a depcomp mode which is confused by this.
   5786     #
   5787     # We need to recreate these files for each test, as the compiler may
   5788     # overwrite some of them when testing with obscure command lines.
   5789     # This happens at least with the AIX C compiler.
   5790     : > sub/conftest.c
   5791     for i in 1 2 3 4 5 6; do
   5792       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5793       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5794       # Solaris 8's {/usr,}/bin/sh.
   5795       touch sub/conftst$i.h
   5796     done
   5797     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5798 
   5799     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5800     # mode.  It turns out that the SunPro C++ compiler does not properly
   5801     # handle `-M -o', and we need to detect this.  Also, some Intel
   5802     # versions had trouble with output in subdirs
   5803     am__obj=sub/conftest.${OBJEXT-o}
   5804     am__minus_obj="-o $am__obj"
   5805     case $depmode in
   5806     gcc)
   5807       # This depmode causes a compiler race in universal mode.
   5808       test "$am__universal" = false || continue
   5809       ;;
   5810     nosideeffect)
   5811       # after this tag, mechanisms are not by side-effect, so they'll
   5812       # only be used when explicitly requested
   5813       if test "x$enable_dependency_tracking" = xyes; then
   5814 	continue
   5815       else
   5816 	break
   5817       fi
   5818       ;;
   5819     msvisualcpp | msvcmsys)
   5820       # This compiler won't grok `-c -o', but also, the minuso test has
   5821       # not run yet.  These depmodes are late enough in the game, and
   5822       # so weak that their functioning should not be impacted.
   5823       am__obj=conftest.${OBJEXT-o}
   5824       am__minus_obj=
   5825       ;;
   5826     none) break ;;
   5827     esac
   5828     if depmode=$depmode \
   5829        source=sub/conftest.c object=$am__obj \
   5830        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5831        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5832          >/dev/null 2>conftest.err &&
   5833        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5834        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5835        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5836        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5837       # icc doesn't choke on unknown options, it will just issue warnings
   5838       # or remarks (even with -Werror).  So we grep stderr for any message
   5839       # that says an option was ignored or not supported.
   5840       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5841       #   icc: Command line warning: ignoring option '-M'; no argument required
   5842       # The diagnosis changed in icc 8.0:
   5843       #   icc: Command line remark: option '-MP' not supported
   5844       if (grep 'ignoring option' conftest.err ||
   5845           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5846         am_cv_CXX_dependencies_compiler_type=$depmode
   5847         break
   5848       fi
   5849     fi
   5850   done
   5851 
   5852   cd ..
   5853   rm -rf conftest.dir
   5854 else
   5855   am_cv_CXX_dependencies_compiler_type=none
   5856 fi
   5857 
   5858 fi
   5859 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5860 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5861 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5862 
   5863  if
   5864   test "x$enable_dependency_tracking" != xno \
   5865   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5866   am__fastdepCXX_TRUE=
   5867   am__fastdepCXX_FALSE='#'
   5868 else
   5869   am__fastdepCXX_TRUE='#'
   5870   am__fastdepCXX_FALSE=
   5871 fi
   5872 
   5873 
   5874 
   5875 
   5876 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5877     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5878     (test "X$CXX" != "Xg++"))) ; then
   5879   ac_ext=cpp
   5880 ac_cpp='$CXXCPP $CPPFLAGS'
   5881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5884 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5885 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5886 if test -z "$CXXCPP"; then
   5887   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890       # Double quotes because CXXCPP needs to be expanded
   5891     for CXXCPP in "$CXX -E" "/lib/cpp"
   5892     do
   5893       ac_preproc_ok=false
   5894 for ac_cxx_preproc_warn_flag in '' yes
   5895 do
   5896   # Use a header file that comes with gcc, so configuring glibc
   5897   # with a fresh cross-compiler works.
   5898   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5899   # <limits.h> exists even on freestanding compilers.
   5900   # On the NeXT, cc -E runs the code through the compiler's parser,
   5901   # not just through cpp. "Syntax error" is here to catch this case.
   5902   cat >conftest.$ac_ext <<_ACEOF
   5903 /* confdefs.h.  */
   5904 _ACEOF
   5905 cat confdefs.h >>conftest.$ac_ext
   5906 cat >>conftest.$ac_ext <<_ACEOF
   5907 /* end confdefs.h.  */
   5908 #ifdef __STDC__
   5909 # include <limits.h>
   5910 #else
   5911 # include <assert.h>
   5912 #endif
   5913 		     Syntax error
   5914 _ACEOF
   5915 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5916 case "(($ac_try" in
   5917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5918   *) ac_try_echo=$ac_try;;
   5919 esac
   5920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5921 $as_echo "$ac_try_echo") >&5
   5922   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5923   ac_status=$?
   5924   grep -v '^ *+' conftest.er1 >conftest.err
   5925   rm -f conftest.er1
   5926   cat conftest.err >&5
   5927   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5928   (exit $ac_status); } >/dev/null && {
   5929 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5930 	 test ! -s conftest.err
   5931        }; then
   5932   :
   5933 else
   5934   $as_echo "$as_me: failed program was:" >&5
   5935 sed 's/^/| /' conftest.$ac_ext >&5
   5936 
   5937   # Broken: fails on valid input.
   5938 continue
   5939 fi
   5940 
   5941 rm -f conftest.err conftest.$ac_ext
   5942 
   5943   # OK, works on sane cases.  Now check whether nonexistent headers
   5944   # can be detected and how.
   5945   cat >conftest.$ac_ext <<_ACEOF
   5946 /* confdefs.h.  */
   5947 _ACEOF
   5948 cat confdefs.h >>conftest.$ac_ext
   5949 cat >>conftest.$ac_ext <<_ACEOF
   5950 /* end confdefs.h.  */
   5951 #include <ac_nonexistent.h>
   5952 _ACEOF
   5953 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5954 case "(($ac_try" in
   5955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5956   *) ac_try_echo=$ac_try;;
   5957 esac
   5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5959 $as_echo "$ac_try_echo") >&5
   5960   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5961   ac_status=$?
   5962   grep -v '^ *+' conftest.er1 >conftest.err
   5963   rm -f conftest.er1
   5964   cat conftest.err >&5
   5965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5966   (exit $ac_status); } >/dev/null && {
   5967 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5968 	 test ! -s conftest.err
   5969        }; then
   5970   # Broken: success on invalid input.
   5971 continue
   5972 else
   5973   $as_echo "$as_me: failed program was:" >&5
   5974 sed 's/^/| /' conftest.$ac_ext >&5
   5975 
   5976   # Passes both tests.
   5977 ac_preproc_ok=:
   5978 break
   5979 fi
   5980 
   5981 rm -f conftest.err conftest.$ac_ext
   5982 
   5983 done
   5984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5985 rm -f conftest.err conftest.$ac_ext
   5986 if $ac_preproc_ok; then
   5987   break
   5988 fi
   5989 
   5990     done
   5991     ac_cv_prog_CXXCPP=$CXXCPP
   5992 
   5993 fi
   5994   CXXCPP=$ac_cv_prog_CXXCPP
   5995 else
   5996   ac_cv_prog_CXXCPP=$CXXCPP
   5997 fi
   5998 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5999 $as_echo "$CXXCPP" >&6; }
   6000 ac_preproc_ok=false
   6001 for ac_cxx_preproc_warn_flag in '' yes
   6002 do
   6003   # Use a header file that comes with gcc, so configuring glibc
   6004   # with a fresh cross-compiler works.
   6005   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6006   # <limits.h> exists even on freestanding compilers.
   6007   # On the NeXT, cc -E runs the code through the compiler's parser,
   6008   # not just through cpp. "Syntax error" is here to catch this case.
   6009   cat >conftest.$ac_ext <<_ACEOF
   6010 /* confdefs.h.  */
   6011 _ACEOF
   6012 cat confdefs.h >>conftest.$ac_ext
   6013 cat >>conftest.$ac_ext <<_ACEOF
   6014 /* end confdefs.h.  */
   6015 #ifdef __STDC__
   6016 # include <limits.h>
   6017 #else
   6018 # include <assert.h>
   6019 #endif
   6020 		     Syntax error
   6021 _ACEOF
   6022 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6023 case "(($ac_try" in
   6024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6025   *) ac_try_echo=$ac_try;;
   6026 esac
   6027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6028 $as_echo "$ac_try_echo") >&5
   6029   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6030   ac_status=$?
   6031   grep -v '^ *+' conftest.er1 >conftest.err
   6032   rm -f conftest.er1
   6033   cat conftest.err >&5
   6034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6035   (exit $ac_status); } >/dev/null && {
   6036 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6037 	 test ! -s conftest.err
   6038        }; then
   6039   :
   6040 else
   6041   $as_echo "$as_me: failed program was:" >&5
   6042 sed 's/^/| /' conftest.$ac_ext >&5
   6043 
   6044   # Broken: fails on valid input.
   6045 continue
   6046 fi
   6047 
   6048 rm -f conftest.err conftest.$ac_ext
   6049 
   6050   # OK, works on sane cases.  Now check whether nonexistent headers
   6051   # can be detected and how.
   6052   cat >conftest.$ac_ext <<_ACEOF
   6053 /* confdefs.h.  */
   6054 _ACEOF
   6055 cat confdefs.h >>conftest.$ac_ext
   6056 cat >>conftest.$ac_ext <<_ACEOF
   6057 /* end confdefs.h.  */
   6058 #include <ac_nonexistent.h>
   6059 _ACEOF
   6060 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6061 case "(($ac_try" in
   6062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6063   *) ac_try_echo=$ac_try;;
   6064 esac
   6065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6066 $as_echo "$ac_try_echo") >&5
   6067   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6068   ac_status=$?
   6069   grep -v '^ *+' conftest.er1 >conftest.err
   6070   rm -f conftest.er1
   6071   cat conftest.err >&5
   6072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6073   (exit $ac_status); } >/dev/null && {
   6074 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6075 	 test ! -s conftest.err
   6076        }; then
   6077   # Broken: success on invalid input.
   6078 continue
   6079 else
   6080   $as_echo "$as_me: failed program was:" >&5
   6081 sed 's/^/| /' conftest.$ac_ext >&5
   6082 
   6083   # Passes both tests.
   6084 ac_preproc_ok=:
   6085 break
   6086 fi
   6087 
   6088 rm -f conftest.err conftest.$ac_ext
   6089 
   6090 done
   6091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6092 rm -f conftest.err conftest.$ac_ext
   6093 if $ac_preproc_ok; then
   6094   :
   6095 else
   6096   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6098 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6099 See \`config.log' for more details." >&5
   6100 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6101 See \`config.log' for more details." >&2;}
   6102    { (exit 1); exit 1; }; }; }
   6103 fi
   6104 
   6105 ac_ext=cpp
   6106 ac_cpp='$CXXCPP $CPPFLAGS'
   6107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6110 
   6111 fi
   6112 
   6113 
   6114 ac_ext=f
   6115 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6116 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6117 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6118 if test -n "$ac_tool_prefix"; then
   6119   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
   6120   do
   6121     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6124 $as_echo_n "checking for $ac_word... " >&6; }
   6125 if test "${ac_cv_prog_F77+set}" = set; then
   6126   $as_echo_n "(cached) " >&6
   6127 else
   6128   if test -n "$F77"; then
   6129   ac_cv_prog_F77="$F77" # Let the user override the test.
   6130 else
   6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6132 for as_dir in $PATH
   6133 do
   6134   IFS=$as_save_IFS
   6135   test -z "$as_dir" && as_dir=.
   6136   for ac_exec_ext in '' $ac_executable_extensions; do
   6137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6138     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6140     break 2
   6141   fi
   6142 done
   6143 done
   6144 IFS=$as_save_IFS
   6145 
   6146 fi
   6147 fi
   6148 F77=$ac_cv_prog_F77
   6149 if test -n "$F77"; then
   6150   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6151 $as_echo "$F77" >&6; }
   6152 else
   6153   { $as_echo "$as_me:$LINENO: result: no" >&5
   6154 $as_echo "no" >&6; }
   6155 fi
   6156 
   6157 
   6158     test -n "$F77" && break
   6159   done
   6160 fi
   6161 if test -z "$F77"; then
   6162   ac_ct_F77=$F77
   6163   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
   6164 do
   6165   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6166 set dummy $ac_prog; ac_word=$2
   6167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6168 $as_echo_n "checking for $ac_word... " >&6; }
   6169 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6170   $as_echo_n "(cached) " >&6
   6171 else
   6172   if test -n "$ac_ct_F77"; then
   6173   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6174 else
   6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6176 for as_dir in $PATH
   6177 do
   6178   IFS=$as_save_IFS
   6179   test -z "$as_dir" && as_dir=.
   6180   for ac_exec_ext in '' $ac_executable_extensions; do
   6181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6182     ac_cv_prog_ac_ct_F77="$ac_prog"
   6183     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6184     break 2
   6185   fi
   6186 done
   6187 done
   6188 IFS=$as_save_IFS
   6189 
   6190 fi
   6191 fi
   6192 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6193 if test -n "$ac_ct_F77"; then
   6194   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6195 $as_echo "$ac_ct_F77" >&6; }
   6196 else
   6197   { $as_echo "$as_me:$LINENO: result: no" >&5
   6198 $as_echo "no" >&6; }
   6199 fi
   6200 
   6201 
   6202   test -n "$ac_ct_F77" && break
   6203 done
   6204 
   6205   if test "x$ac_ct_F77" = x; then
   6206     F77=""
   6207   else
   6208     case $cross_compiling:$ac_tool_warned in
   6209 yes:)
   6210 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6212 ac_tool_warned=yes ;;
   6213 esac
   6214     F77=$ac_ct_F77
   6215   fi
   6216 fi
   6217 
   6218 
   6219 # Provide some information about the compiler.
   6220 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6221 set X $ac_compile
   6222 ac_compiler=$2
   6223 { (ac_try="$ac_compiler --version >&5"
   6224 case "(($ac_try" in
   6225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6226   *) ac_try_echo=$ac_try;;
   6227 esac
   6228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6229 $as_echo "$ac_try_echo") >&5
   6230   (eval "$ac_compiler --version >&5") 2>&5
   6231   ac_status=$?
   6232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6233   (exit $ac_status); }
   6234 { (ac_try="$ac_compiler -v >&5"
   6235 case "(($ac_try" in
   6236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6237   *) ac_try_echo=$ac_try;;
   6238 esac
   6239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6240 $as_echo "$ac_try_echo") >&5
   6241   (eval "$ac_compiler -v >&5") 2>&5
   6242   ac_status=$?
   6243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6244   (exit $ac_status); }
   6245 { (ac_try="$ac_compiler -V >&5"
   6246 case "(($ac_try" in
   6247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6248   *) ac_try_echo=$ac_try;;
   6249 esac
   6250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6251 $as_echo "$ac_try_echo") >&5
   6252   (eval "$ac_compiler -V >&5") 2>&5
   6253   ac_status=$?
   6254   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6255   (exit $ac_status); }
   6256 rm -f a.out
   6257 
   6258 # If we don't use `.F' as extension, the preprocessor is not run on the
   6259 # input file.  (Note that this only needs to work for GNU compilers.)
   6260 ac_save_ext=$ac_ext
   6261 ac_ext=F
   6262 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6263 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6264 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6265   $as_echo_n "(cached) " >&6
   6266 else
   6267   cat >conftest.$ac_ext <<_ACEOF
   6268       program main
   6269 #ifndef __GNUC__
   6270        choke me
   6271 #endif
   6272 
   6273       end
   6274 _ACEOF
   6275 rm -f conftest.$ac_objext
   6276 if { (ac_try="$ac_compile"
   6277 case "(($ac_try" in
   6278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6279   *) ac_try_echo=$ac_try;;
   6280 esac
   6281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6282 $as_echo "$ac_try_echo") >&5
   6283   (eval "$ac_compile") 2>conftest.er1
   6284   ac_status=$?
   6285   grep -v '^ *+' conftest.er1 >conftest.err
   6286   rm -f conftest.er1
   6287   cat conftest.err >&5
   6288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6289   (exit $ac_status); } && {
   6290 	 test -z "$ac_f77_werror_flag" ||
   6291 	 test ! -s conftest.err
   6292        } && test -s conftest.$ac_objext; then
   6293   ac_compiler_gnu=yes
   6294 else
   6295   $as_echo "$as_me: failed program was:" >&5
   6296 sed 's/^/| /' conftest.$ac_ext >&5
   6297 
   6298 	ac_compiler_gnu=no
   6299 fi
   6300 
   6301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6302 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6303 
   6304 fi
   6305 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6306 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6307 ac_ext=$ac_save_ext
   6308 ac_test_FFLAGS=${FFLAGS+set}
   6309 ac_save_FFLAGS=$FFLAGS
   6310 FFLAGS=
   6311 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6312 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6313 if test "${ac_cv_prog_f77_g+set}" = set; then
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   FFLAGS=-g
   6317 cat >conftest.$ac_ext <<_ACEOF
   6318       program main
   6319 
   6320       end
   6321 _ACEOF
   6322 rm -f conftest.$ac_objext
   6323 if { (ac_try="$ac_compile"
   6324 case "(($ac_try" in
   6325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6326   *) ac_try_echo=$ac_try;;
   6327 esac
   6328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6329 $as_echo "$ac_try_echo") >&5
   6330   (eval "$ac_compile") 2>conftest.er1
   6331   ac_status=$?
   6332   grep -v '^ *+' conftest.er1 >conftest.err
   6333   rm -f conftest.er1
   6334   cat conftest.err >&5
   6335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6336   (exit $ac_status); } && {
   6337 	 test -z "$ac_f77_werror_flag" ||
   6338 	 test ! -s conftest.err
   6339        } && test -s conftest.$ac_objext; then
   6340   ac_cv_prog_f77_g=yes
   6341 else
   6342   $as_echo "$as_me: failed program was:" >&5
   6343 sed 's/^/| /' conftest.$ac_ext >&5
   6344 
   6345 	ac_cv_prog_f77_g=no
   6346 fi
   6347 
   6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6349 
   6350 fi
   6351 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6352 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6353 if test "$ac_test_FFLAGS" = set; then
   6354   FFLAGS=$ac_save_FFLAGS
   6355 elif test $ac_cv_prog_f77_g = yes; then
   6356   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6357     FFLAGS="-g -O2"
   6358   else
   6359     FFLAGS="-g"
   6360   fi
   6361 else
   6362   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6363     FFLAGS="-O2"
   6364   else
   6365     FFLAGS=
   6366   fi
   6367 fi
   6368 
   6369 if test $ac_compiler_gnu = yes; then
   6370   G77=yes
   6371 else
   6372   G77=
   6373 fi
   6374 ac_ext=c
   6375 ac_cpp='$CPP $CPPFLAGS'
   6376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6379 
   6380 
   6381 
   6382 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6383 # find the maximum length of command line arguments
   6384 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6385 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6386 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389     i=0
   6390   teststring="ABCD"
   6391 
   6392   case $build_os in
   6393   msdosdjgpp*)
   6394     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6395     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6396     # during glob expansion).  Even if it were fixed, the result of this
   6397     # check would be larger than it should be.
   6398     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6399     ;;
   6400 
   6401   gnu*)
   6402     # Under GNU Hurd, this test is not required because there is
   6403     # no limit to the length of command line arguments.
   6404     # Libtool will interpret -1 as no limit whatsoever
   6405     lt_cv_sys_max_cmd_len=-1;
   6406     ;;
   6407 
   6408   cygwin* | mingw*)
   6409     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6410     # about 5 minutes as the teststring grows exponentially.
   6411     # Worse, since 9x/ME are not pre-emptively multitasking,
   6412     # you end up with a "frozen" computer, even though with patience
   6413     # the test eventually succeeds (with a max line length of 256k).
   6414     # Instead, let's just punt: use the minimum linelength reported by
   6415     # all of the supported platforms: 8192 (on NT/2K/XP).
   6416     lt_cv_sys_max_cmd_len=8192;
   6417     ;;
   6418 
   6419   amigaos*)
   6420     # On AmigaOS with pdksh, this test takes hours, literally.
   6421     # So we just punt and use a minimum line length of 8192.
   6422     lt_cv_sys_max_cmd_len=8192;
   6423     ;;
   6424 
   6425   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6426     # This has been around since 386BSD, at least.  Likely further.
   6427     if test -x /sbin/sysctl; then
   6428       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6429     elif test -x /usr/sbin/sysctl; then
   6430       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6431     else
   6432       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6433     fi
   6434     # And add a safety zone
   6435     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6436     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6437     ;;
   6438 
   6439   interix*)
   6440     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6441     lt_cv_sys_max_cmd_len=196608
   6442     ;;
   6443 
   6444   osf*)
   6445     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6446     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6447     # nice to cause kernel panics so lets avoid the loop below.
   6448     # First set a reasonable default.
   6449     lt_cv_sys_max_cmd_len=16384
   6450     #
   6451     if test -x /sbin/sysconfig; then
   6452       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6453         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6454       esac
   6455     fi
   6456     ;;
   6457   sco3.2v5*)
   6458     lt_cv_sys_max_cmd_len=102400
   6459     ;;
   6460   sysv5* | sco5v6* | sysv4.2uw2*)
   6461     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6462     if test -n "$kargmax"; then
   6463       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6464     else
   6465       lt_cv_sys_max_cmd_len=32768
   6466     fi
   6467     ;;
   6468   *)
   6469     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6470     if test -n "$lt_cv_sys_max_cmd_len"; then
   6471       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6472       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6473     else
   6474       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6475       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6476 	       = "XX$teststring") >/dev/null 2>&1 &&
   6477 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6478 	      lt_cv_sys_max_cmd_len=$new_result &&
   6479 	      test $i != 17 # 1/2 MB should be enough
   6480       do
   6481         i=`expr $i + 1`
   6482         teststring=$teststring$teststring
   6483       done
   6484       teststring=
   6485       # Add a significant safety factor because C++ compilers can tack on massive
   6486       # amounts of additional arguments before passing them to the linker.
   6487       # It appears as though 1/2 is a usable value.
   6488       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6489     fi
   6490     ;;
   6491   esac
   6492 
   6493 fi
   6494 
   6495 if test -n $lt_cv_sys_max_cmd_len ; then
   6496   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6497 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6498 else
   6499   { $as_echo "$as_me:$LINENO: result: none" >&5
   6500 $as_echo "none" >&6; }
   6501 fi
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6508 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6509 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6510 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513 
   6514 # These are sane defaults that work on at least a few old systems.
   6515 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6516 
   6517 # Character class describing NM global symbol codes.
   6518 symcode='[BCDEGRST]'
   6519 
   6520 # Regexp to match symbols that can be accessed directly from C.
   6521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6522 
   6523 # Transform an extracted symbol line into a proper C declaration
   6524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6525 
   6526 # Transform an extracted symbol line into symbol name and symbol address
   6527 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'"
   6528 
   6529 # Define system-specific variables.
   6530 case $host_os in
   6531 aix*)
   6532   symcode='[BCDT]'
   6533   ;;
   6534 cygwin* | mingw* | pw32*)
   6535   symcode='[ABCDGISTW]'
   6536   ;;
   6537 hpux*) # Its linker distinguishes data from code symbols
   6538   if test "$host_cpu" = ia64; then
   6539     symcode='[ABCDEGRST]'
   6540   fi
   6541   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6542   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'"
   6543   ;;
   6544 linux* | k*bsd*-gnu)
   6545   if test "$host_cpu" = ia64; then
   6546     symcode='[ABCDGIRSTW]'
   6547     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6548     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'"
   6549   fi
   6550   ;;
   6551 irix* | nonstopux*)
   6552   symcode='[BCDEGRST]'
   6553   ;;
   6554 osf*)
   6555   symcode='[BCDEGQRST]'
   6556   ;;
   6557 solaris*)
   6558   symcode='[BDRT]'
   6559   ;;
   6560 sco3.2v5*)
   6561   symcode='[DT]'
   6562   ;;
   6563 sysv4.2uw2*)
   6564   symcode='[DT]'
   6565   ;;
   6566 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6567   symcode='[ABDT]'
   6568   ;;
   6569 sysv4)
   6570   symcode='[DFNSTU]'
   6571   ;;
   6572 esac
   6573 
   6574 # Handle CRLF in mingw tool chain
   6575 opt_cr=
   6576 case $build_os in
   6577 mingw*)
   6578   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6579   ;;
   6580 esac
   6581 
   6582 # If we're using GNU nm, then use its standard symbol codes.
   6583 case `$NM -V 2>&1` in
   6584 *GNU* | *'with BFD'*)
   6585   symcode='[ABCDGIRSTW]' ;;
   6586 esac
   6587 
   6588 # Try without a prefix undercore, then with it.
   6589 for ac_symprfx in "" "_"; do
   6590 
   6591   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6592   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6593 
   6594   # Write the raw and C identifiers.
   6595   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6596 
   6597   # Check to see that the pipe works correctly.
   6598   pipe_works=no
   6599 
   6600   rm -f conftest*
   6601   cat > conftest.$ac_ext <<EOF
   6602 #ifdef __cplusplus
   6603 extern "C" {
   6604 #endif
   6605 char nm_test_var;
   6606 void nm_test_func(){}
   6607 #ifdef __cplusplus
   6608 }
   6609 #endif
   6610 int main(){nm_test_var='a';nm_test_func();return(0);}
   6611 EOF
   6612 
   6613   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6614   (eval $ac_compile) 2>&5
   6615   ac_status=$?
   6616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6617   (exit $ac_status); }; then
   6618     # Now try to grab the symbols.
   6619     nlist=conftest.nm
   6620     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6621   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6622   ac_status=$?
   6623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6624   (exit $ac_status); } && test -s "$nlist"; then
   6625       # Try sorting and uniquifying the output.
   6626       if sort "$nlist" | uniq > "$nlist"T; then
   6627 	mv -f "$nlist"T "$nlist"
   6628       else
   6629 	rm -f "$nlist"T
   6630       fi
   6631 
   6632       # Make sure that we snagged all the symbols we need.
   6633       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6634 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6635 	  cat <<EOF > conftest.$ac_ext
   6636 #ifdef __cplusplus
   6637 extern "C" {
   6638 #endif
   6639 
   6640 EOF
   6641 	  # Now generate the symbol file.
   6642 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6643 
   6644 	  cat <<EOF >> conftest.$ac_ext
   6645 #if defined (__STDC__) && __STDC__
   6646 # define lt_ptr_t void *
   6647 #else
   6648 # define lt_ptr_t char *
   6649 # define const
   6650 #endif
   6651 
   6652 /* The mapping between symbol names and symbols. */
   6653 const struct {
   6654   const char *name;
   6655   lt_ptr_t address;
   6656 }
   6657 lt_preloaded_symbols[] =
   6658 {
   6659 EOF
   6660 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6661 	  cat <<\EOF >> conftest.$ac_ext
   6662   {0, (lt_ptr_t) 0}
   6663 };
   6664 
   6665 #ifdef __cplusplus
   6666 }
   6667 #endif
   6668 EOF
   6669 	  # Now try linking the two files.
   6670 	  mv conftest.$ac_objext conftstm.$ac_objext
   6671 	  lt_save_LIBS="$LIBS"
   6672 	  lt_save_CFLAGS="$CFLAGS"
   6673 	  LIBS="conftstm.$ac_objext"
   6674 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6675 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6676   (eval $ac_link) 2>&5
   6677   ac_status=$?
   6678   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6679   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6680 	    pipe_works=yes
   6681 	  fi
   6682 	  LIBS="$lt_save_LIBS"
   6683 	  CFLAGS="$lt_save_CFLAGS"
   6684 	else
   6685 	  echo "cannot find nm_test_func in $nlist" >&5
   6686 	fi
   6687       else
   6688 	echo "cannot find nm_test_var in $nlist" >&5
   6689       fi
   6690     else
   6691       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6692     fi
   6693   else
   6694     echo "$progname: failed program was:" >&5
   6695     cat conftest.$ac_ext >&5
   6696   fi
   6697   rm -rf conftest* conftst*
   6698 
   6699   # Do not use the global_symbol_pipe unless it works.
   6700   if test "$pipe_works" = yes; then
   6701     break
   6702   else
   6703     lt_cv_sys_global_symbol_pipe=
   6704   fi
   6705 done
   6706 
   6707 fi
   6708 
   6709 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6710   lt_cv_sys_global_symbol_to_cdecl=
   6711 fi
   6712 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6713   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6714 $as_echo "failed" >&6; }
   6715 else
   6716   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6717 $as_echo "ok" >&6; }
   6718 fi
   6719 
   6720 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6721 $as_echo_n "checking for objdir... " >&6; }
   6722 if test "${lt_cv_objdir+set}" = set; then
   6723   $as_echo_n "(cached) " >&6
   6724 else
   6725   rm -f .libs 2>/dev/null
   6726 mkdir .libs 2>/dev/null
   6727 if test -d .libs; then
   6728   lt_cv_objdir=.libs
   6729 else
   6730   # MS-DOS does not allow filenames that begin with a dot.
   6731   lt_cv_objdir=_libs
   6732 fi
   6733 rmdir .libs 2>/dev/null
   6734 fi
   6735 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6736 $as_echo "$lt_cv_objdir" >&6; }
   6737 objdir=$lt_cv_objdir
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 case $host_os in
   6744 aix3*)
   6745   # AIX sometimes has problems with the GCC collect2 program.  For some
   6746   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6747   # vanish in a puff of smoke.
   6748   if test "X${COLLECT_NAMES+set}" != Xset; then
   6749     COLLECT_NAMES=
   6750     export COLLECT_NAMES
   6751   fi
   6752   ;;
   6753 esac
   6754 
   6755 # Sed substitution that helps us do robust quoting.  It backslashifies
   6756 # metacharacters that are still active within double-quoted strings.
   6757 Xsed='sed -e 1s/^X//'
   6758 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6759 
   6760 # Same as above, but do not quote variable references.
   6761 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6762 
   6763 # Sed substitution to delay expansion of an escaped shell variable in a
   6764 # double_quote_subst'ed string.
   6765 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6766 
   6767 # Sed substitution to avoid accidental globbing in evaled expressions
   6768 no_glob_subst='s/\*/\\\*/g'
   6769 
   6770 # Constants:
   6771 rm="rm -f"
   6772 
   6773 # Global variables:
   6774 default_ofile=libtool
   6775 can_build_shared=yes
   6776 
   6777 # All known linkers require a `.a' archive for static linking (except MSVC,
   6778 # which needs '.lib').
   6779 libext=a
   6780 ltmain="$ac_aux_dir/ltmain.sh"
   6781 ofile="$default_ofile"
   6782 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6783 
   6784 if test -n "$ac_tool_prefix"; then
   6785   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6786 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6787 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6788 $as_echo_n "checking for $ac_word... " >&6; }
   6789 if test "${ac_cv_prog_AR+set}" = set; then
   6790   $as_echo_n "(cached) " >&6
   6791 else
   6792   if test -n "$AR"; then
   6793   ac_cv_prog_AR="$AR" # Let the user override the test.
   6794 else
   6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6796 for as_dir in $PATH
   6797 do
   6798   IFS=$as_save_IFS
   6799   test -z "$as_dir" && as_dir=.
   6800   for ac_exec_ext in '' $ac_executable_extensions; do
   6801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6802     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6803     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6804     break 2
   6805   fi
   6806 done
   6807 done
   6808 IFS=$as_save_IFS
   6809 
   6810 fi
   6811 fi
   6812 AR=$ac_cv_prog_AR
   6813 if test -n "$AR"; then
   6814   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6815 $as_echo "$AR" >&6; }
   6816 else
   6817   { $as_echo "$as_me:$LINENO: result: no" >&5
   6818 $as_echo "no" >&6; }
   6819 fi
   6820 
   6821 
   6822 fi
   6823 if test -z "$ac_cv_prog_AR"; then
   6824   ac_ct_AR=$AR
   6825   # Extract the first word of "ar", so it can be a program name with args.
   6826 set dummy ar; ac_word=$2
   6827 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6828 $as_echo_n "checking for $ac_word... " >&6; }
   6829 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6830   $as_echo_n "(cached) " >&6
   6831 else
   6832   if test -n "$ac_ct_AR"; then
   6833   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6834 else
   6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6836 for as_dir in $PATH
   6837 do
   6838   IFS=$as_save_IFS
   6839   test -z "$as_dir" && as_dir=.
   6840   for ac_exec_ext in '' $ac_executable_extensions; do
   6841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6842     ac_cv_prog_ac_ct_AR="ar"
   6843     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6844     break 2
   6845   fi
   6846 done
   6847 done
   6848 IFS=$as_save_IFS
   6849 
   6850 fi
   6851 fi
   6852 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6853 if test -n "$ac_ct_AR"; then
   6854   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6855 $as_echo "$ac_ct_AR" >&6; }
   6856 else
   6857   { $as_echo "$as_me:$LINENO: result: no" >&5
   6858 $as_echo "no" >&6; }
   6859 fi
   6860 
   6861   if test "x$ac_ct_AR" = x; then
   6862     AR="false"
   6863   else
   6864     case $cross_compiling:$ac_tool_warned in
   6865 yes:)
   6866 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6868 ac_tool_warned=yes ;;
   6869 esac
   6870     AR=$ac_ct_AR
   6871   fi
   6872 else
   6873   AR="$ac_cv_prog_AR"
   6874 fi
   6875 
   6876 if test -n "$ac_tool_prefix"; then
   6877   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6878 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6879 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6880 $as_echo_n "checking for $ac_word... " >&6; }
   6881 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   if test -n "$RANLIB"; then
   6885   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6886 else
   6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6888 for as_dir in $PATH
   6889 do
   6890   IFS=$as_save_IFS
   6891   test -z "$as_dir" && as_dir=.
   6892   for ac_exec_ext in '' $ac_executable_extensions; do
   6893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6894     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6895     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6896     break 2
   6897   fi
   6898 done
   6899 done
   6900 IFS=$as_save_IFS
   6901 
   6902 fi
   6903 fi
   6904 RANLIB=$ac_cv_prog_RANLIB
   6905 if test -n "$RANLIB"; then
   6906   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6907 $as_echo "$RANLIB" >&6; }
   6908 else
   6909   { $as_echo "$as_me:$LINENO: result: no" >&5
   6910 $as_echo "no" >&6; }
   6911 fi
   6912 
   6913 
   6914 fi
   6915 if test -z "$ac_cv_prog_RANLIB"; then
   6916   ac_ct_RANLIB=$RANLIB
   6917   # Extract the first word of "ranlib", so it can be a program name with args.
   6918 set dummy ranlib; ac_word=$2
   6919 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6920 $as_echo_n "checking for $ac_word... " >&6; }
   6921 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   if test -n "$ac_ct_RANLIB"; then
   6925   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6926 else
   6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6928 for as_dir in $PATH
   6929 do
   6930   IFS=$as_save_IFS
   6931   test -z "$as_dir" && as_dir=.
   6932   for ac_exec_ext in '' $ac_executable_extensions; do
   6933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6934     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6935     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6936     break 2
   6937   fi
   6938 done
   6939 done
   6940 IFS=$as_save_IFS
   6941 
   6942 fi
   6943 fi
   6944 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6945 if test -n "$ac_ct_RANLIB"; then
   6946   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6947 $as_echo "$ac_ct_RANLIB" >&6; }
   6948 else
   6949   { $as_echo "$as_me:$LINENO: result: no" >&5
   6950 $as_echo "no" >&6; }
   6951 fi
   6952 
   6953   if test "x$ac_ct_RANLIB" = x; then
   6954     RANLIB=":"
   6955   else
   6956     case $cross_compiling:$ac_tool_warned in
   6957 yes:)
   6958 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6960 ac_tool_warned=yes ;;
   6961 esac
   6962     RANLIB=$ac_ct_RANLIB
   6963   fi
   6964 else
   6965   RANLIB="$ac_cv_prog_RANLIB"
   6966 fi
   6967 
   6968 if test -n "$ac_tool_prefix"; then
   6969   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6970 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6971 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6972 $as_echo_n "checking for $ac_word... " >&6; }
   6973 if test "${ac_cv_prog_STRIP+set}" = set; then
   6974   $as_echo_n "(cached) " >&6
   6975 else
   6976   if test -n "$STRIP"; then
   6977   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6978 else
   6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6980 for as_dir in $PATH
   6981 do
   6982   IFS=$as_save_IFS
   6983   test -z "$as_dir" && as_dir=.
   6984   for ac_exec_ext in '' $ac_executable_extensions; do
   6985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6986     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6987     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6988     break 2
   6989   fi
   6990 done
   6991 done
   6992 IFS=$as_save_IFS
   6993 
   6994 fi
   6995 fi
   6996 STRIP=$ac_cv_prog_STRIP
   6997 if test -n "$STRIP"; then
   6998   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6999 $as_echo "$STRIP" >&6; }
   7000 else
   7001   { $as_echo "$as_me:$LINENO: result: no" >&5
   7002 $as_echo "no" >&6; }
   7003 fi
   7004 
   7005 
   7006 fi
   7007 if test -z "$ac_cv_prog_STRIP"; then
   7008   ac_ct_STRIP=$STRIP
   7009   # Extract the first word of "strip", so it can be a program name with args.
   7010 set dummy strip; ac_word=$2
   7011 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7012 $as_echo_n "checking for $ac_word... " >&6; }
   7013 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7014   $as_echo_n "(cached) " >&6
   7015 else
   7016   if test -n "$ac_ct_STRIP"; then
   7017   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7018 else
   7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7020 for as_dir in $PATH
   7021 do
   7022   IFS=$as_save_IFS
   7023   test -z "$as_dir" && as_dir=.
   7024   for ac_exec_ext in '' $ac_executable_extensions; do
   7025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7026     ac_cv_prog_ac_ct_STRIP="strip"
   7027     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7028     break 2
   7029   fi
   7030 done
   7031 done
   7032 IFS=$as_save_IFS
   7033 
   7034 fi
   7035 fi
   7036 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7037 if test -n "$ac_ct_STRIP"; then
   7038   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7039 $as_echo "$ac_ct_STRIP" >&6; }
   7040 else
   7041   { $as_echo "$as_me:$LINENO: result: no" >&5
   7042 $as_echo "no" >&6; }
   7043 fi
   7044 
   7045   if test "x$ac_ct_STRIP" = x; then
   7046     STRIP=":"
   7047   else
   7048     case $cross_compiling:$ac_tool_warned in
   7049 yes:)
   7050 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7052 ac_tool_warned=yes ;;
   7053 esac
   7054     STRIP=$ac_ct_STRIP
   7055   fi
   7056 else
   7057   STRIP="$ac_cv_prog_STRIP"
   7058 fi
   7059 
   7060 
   7061 old_CC="$CC"
   7062 old_CFLAGS="$CFLAGS"
   7063 
   7064 # Set sane defaults for various variables
   7065 test -z "$AR" && AR=ar
   7066 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7067 test -z "$AS" && AS=as
   7068 test -z "$CC" && CC=cc
   7069 test -z "$LTCC" && LTCC=$CC
   7070 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7071 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7072 test -z "$LD" && LD=ld
   7073 test -z "$LN_S" && LN_S="ln -s"
   7074 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7075 test -z "$NM" && NM=nm
   7076 test -z "$SED" && SED=sed
   7077 test -z "$OBJDUMP" && OBJDUMP=objdump
   7078 test -z "$RANLIB" && RANLIB=:
   7079 test -z "$STRIP" && STRIP=:
   7080 test -z "$ac_objext" && ac_objext=o
   7081 
   7082 # Determine commands to create old-style static archives.
   7083 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7084 old_postinstall_cmds='chmod 644 $oldlib'
   7085 old_postuninstall_cmds=
   7086 
   7087 if test -n "$RANLIB"; then
   7088   case $host_os in
   7089   openbsd*)
   7090     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7091     ;;
   7092   *)
   7093     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7094     ;;
   7095   esac
   7096   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7097 fi
   7098 
   7099 for cc_temp in $compiler""; do
   7100   case $cc_temp in
   7101     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7102     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7103     \-*) ;;
   7104     *) break;;
   7105   esac
   7106 done
   7107 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7108 
   7109 
   7110 # Only perform the check for file, if the check method requires it
   7111 case $deplibs_check_method in
   7112 file_magic*)
   7113   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7114     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7115 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7116 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7117   $as_echo_n "(cached) " >&6
   7118 else
   7119   case $MAGIC_CMD in
   7120 [\\/*] |  ?:[\\/]*)
   7121   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7122   ;;
   7123 *)
   7124   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7125   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7126   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7127   for ac_dir in $ac_dummy; do
   7128     IFS="$lt_save_ifs"
   7129     test -z "$ac_dir" && ac_dir=.
   7130     if test -f $ac_dir/${ac_tool_prefix}file; then
   7131       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7132       if test -n "$file_magic_test_file"; then
   7133 	case $deplibs_check_method in
   7134 	"file_magic "*)
   7135 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7136 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7137 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7138 	    $EGREP "$file_magic_regex" > /dev/null; then
   7139 	    :
   7140 	  else
   7141 	    cat <<EOF 1>&2
   7142 
   7143 *** Warning: the command libtool uses to detect shared libraries,
   7144 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7145 *** The result is that libtool may fail to recognize shared libraries
   7146 *** as such.  This will affect the creation of libtool libraries that
   7147 *** depend on shared libraries, but programs linked with such libtool
   7148 *** libraries will work regardless of this problem.  Nevertheless, you
   7149 *** may want to report the problem to your system manager and/or to
   7150 *** bug-libtool@gnu.org
   7151 
   7152 EOF
   7153 	  fi ;;
   7154 	esac
   7155       fi
   7156       break
   7157     fi
   7158   done
   7159   IFS="$lt_save_ifs"
   7160   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7161   ;;
   7162 esac
   7163 fi
   7164 
   7165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7166 if test -n "$MAGIC_CMD"; then
   7167   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7168 $as_echo "$MAGIC_CMD" >&6; }
   7169 else
   7170   { $as_echo "$as_me:$LINENO: result: no" >&5
   7171 $as_echo "no" >&6; }
   7172 fi
   7173 
   7174 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7175   if test -n "$ac_tool_prefix"; then
   7176     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7177 $as_echo_n "checking for file... " >&6; }
   7178 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7179   $as_echo_n "(cached) " >&6
   7180 else
   7181   case $MAGIC_CMD in
   7182 [\\/*] |  ?:[\\/]*)
   7183   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7184   ;;
   7185 *)
   7186   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7187   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7188   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7189   for ac_dir in $ac_dummy; do
   7190     IFS="$lt_save_ifs"
   7191     test -z "$ac_dir" && ac_dir=.
   7192     if test -f $ac_dir/file; then
   7193       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7194       if test -n "$file_magic_test_file"; then
   7195 	case $deplibs_check_method in
   7196 	"file_magic "*)
   7197 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7198 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7199 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7200 	    $EGREP "$file_magic_regex" > /dev/null; then
   7201 	    :
   7202 	  else
   7203 	    cat <<EOF 1>&2
   7204 
   7205 *** Warning: the command libtool uses to detect shared libraries,
   7206 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7207 *** The result is that libtool may fail to recognize shared libraries
   7208 *** as such.  This will affect the creation of libtool libraries that
   7209 *** depend on shared libraries, but programs linked with such libtool
   7210 *** libraries will work regardless of this problem.  Nevertheless, you
   7211 *** may want to report the problem to your system manager and/or to
   7212 *** bug-libtool@gnu.org
   7213 
   7214 EOF
   7215 	  fi ;;
   7216 	esac
   7217       fi
   7218       break
   7219     fi
   7220   done
   7221   IFS="$lt_save_ifs"
   7222   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7223   ;;
   7224 esac
   7225 fi
   7226 
   7227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7228 if test -n "$MAGIC_CMD"; then
   7229   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7230 $as_echo "$MAGIC_CMD" >&6; }
   7231 else
   7232   { $as_echo "$as_me:$LINENO: result: no" >&5
   7233 $as_echo "no" >&6; }
   7234 fi
   7235 
   7236   else
   7237     MAGIC_CMD=:
   7238   fi
   7239 fi
   7240 
   7241   fi
   7242   ;;
   7243 esac
   7244 
   7245 
   7246   case $host_os in
   7247     rhapsody* | darwin*)
   7248     if test -n "$ac_tool_prefix"; then
   7249   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7250 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7252 $as_echo_n "checking for $ac_word... " >&6; }
   7253 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7254   $as_echo_n "(cached) " >&6
   7255 else
   7256   if test -n "$DSYMUTIL"; then
   7257   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7258 else
   7259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7260 for as_dir in $PATH
   7261 do
   7262   IFS=$as_save_IFS
   7263   test -z "$as_dir" && as_dir=.
   7264   for ac_exec_ext in '' $ac_executable_extensions; do
   7265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7266     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7267     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7268     break 2
   7269   fi
   7270 done
   7271 done
   7272 IFS=$as_save_IFS
   7273 
   7274 fi
   7275 fi
   7276 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7277 if test -n "$DSYMUTIL"; then
   7278   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7279 $as_echo "$DSYMUTIL" >&6; }
   7280 else
   7281   { $as_echo "$as_me:$LINENO: result: no" >&5
   7282 $as_echo "no" >&6; }
   7283 fi
   7284 
   7285 
   7286 fi
   7287 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7288   ac_ct_DSYMUTIL=$DSYMUTIL
   7289   # Extract the first word of "dsymutil", so it can be a program name with args.
   7290 set dummy dsymutil; ac_word=$2
   7291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7292 $as_echo_n "checking for $ac_word... " >&6; }
   7293 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   if test -n "$ac_ct_DSYMUTIL"; then
   7297   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7298 else
   7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7300 for as_dir in $PATH
   7301 do
   7302   IFS=$as_save_IFS
   7303   test -z "$as_dir" && as_dir=.
   7304   for ac_exec_ext in '' $ac_executable_extensions; do
   7305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7306     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7307     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7308     break 2
   7309   fi
   7310 done
   7311 done
   7312 IFS=$as_save_IFS
   7313 
   7314 fi
   7315 fi
   7316 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7317 if test -n "$ac_ct_DSYMUTIL"; then
   7318   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7319 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7320 else
   7321   { $as_echo "$as_me:$LINENO: result: no" >&5
   7322 $as_echo "no" >&6; }
   7323 fi
   7324 
   7325   if test "x$ac_ct_DSYMUTIL" = x; then
   7326     DSYMUTIL=":"
   7327   else
   7328     case $cross_compiling:$ac_tool_warned in
   7329 yes:)
   7330 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7332 ac_tool_warned=yes ;;
   7333 esac
   7334     DSYMUTIL=$ac_ct_DSYMUTIL
   7335   fi
   7336 else
   7337   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7338 fi
   7339 
   7340     if test -n "$ac_tool_prefix"; then
   7341   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7342 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7344 $as_echo_n "checking for $ac_word... " >&6; }
   7345 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7346   $as_echo_n "(cached) " >&6
   7347 else
   7348   if test -n "$NMEDIT"; then
   7349   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7350 else
   7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7352 for as_dir in $PATH
   7353 do
   7354   IFS=$as_save_IFS
   7355   test -z "$as_dir" && as_dir=.
   7356   for ac_exec_ext in '' $ac_executable_extensions; do
   7357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7358     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7359     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7360     break 2
   7361   fi
   7362 done
   7363 done
   7364 IFS=$as_save_IFS
   7365 
   7366 fi
   7367 fi
   7368 NMEDIT=$ac_cv_prog_NMEDIT
   7369 if test -n "$NMEDIT"; then
   7370   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7371 $as_echo "$NMEDIT" >&6; }
   7372 else
   7373   { $as_echo "$as_me:$LINENO: result: no" >&5
   7374 $as_echo "no" >&6; }
   7375 fi
   7376 
   7377 
   7378 fi
   7379 if test -z "$ac_cv_prog_NMEDIT"; then
   7380   ac_ct_NMEDIT=$NMEDIT
   7381   # Extract the first word of "nmedit", so it can be a program name with args.
   7382 set dummy nmedit; ac_word=$2
   7383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7384 $as_echo_n "checking for $ac_word... " >&6; }
   7385 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7386   $as_echo_n "(cached) " >&6
   7387 else
   7388   if test -n "$ac_ct_NMEDIT"; then
   7389   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7390 else
   7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7392 for as_dir in $PATH
   7393 do
   7394   IFS=$as_save_IFS
   7395   test -z "$as_dir" && as_dir=.
   7396   for ac_exec_ext in '' $ac_executable_extensions; do
   7397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7398     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7399     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7400     break 2
   7401   fi
   7402 done
   7403 done
   7404 IFS=$as_save_IFS
   7405 
   7406 fi
   7407 fi
   7408 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7409 if test -n "$ac_ct_NMEDIT"; then
   7410   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7411 $as_echo "$ac_ct_NMEDIT" >&6; }
   7412 else
   7413   { $as_echo "$as_me:$LINENO: result: no" >&5
   7414 $as_echo "no" >&6; }
   7415 fi
   7416 
   7417   if test "x$ac_ct_NMEDIT" = x; then
   7418     NMEDIT=":"
   7419   else
   7420     case $cross_compiling:$ac_tool_warned in
   7421 yes:)
   7422 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7424 ac_tool_warned=yes ;;
   7425 esac
   7426     NMEDIT=$ac_ct_NMEDIT
   7427   fi
   7428 else
   7429   NMEDIT="$ac_cv_prog_NMEDIT"
   7430 fi
   7431 
   7432 
   7433     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7434 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7435 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7436   $as_echo_n "(cached) " >&6
   7437 else
   7438   lt_cv_apple_cc_single_mod=no
   7439       if test -z "${LT_MULTI_MODULE}"; then
   7440    # By default we will add the -single_module flag. You can override
   7441    # by either setting the environment variable LT_MULTI_MODULE
   7442    # non-empty at configure time, or by adding -multi_module to the
   7443    # link flags.
   7444    echo "int foo(void){return 1;}" > conftest.c
   7445    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7446      -dynamiclib ${wl}-single_module conftest.c
   7447    if test -f libconftest.dylib; then
   7448      lt_cv_apple_cc_single_mod=yes
   7449      rm -rf libconftest.dylib*
   7450    fi
   7451    rm conftest.c
   7452       fi
   7453 fi
   7454 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7455 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7456     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7457 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7458 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7459   $as_echo_n "(cached) " >&6
   7460 else
   7461   lt_cv_ld_exported_symbols_list=no
   7462       save_LDFLAGS=$LDFLAGS
   7463       echo "_main" > conftest.sym
   7464       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7465       cat >conftest.$ac_ext <<_ACEOF
   7466 /* confdefs.h.  */
   7467 _ACEOF
   7468 cat confdefs.h >>conftest.$ac_ext
   7469 cat >>conftest.$ac_ext <<_ACEOF
   7470 /* end confdefs.h.  */
   7471 
   7472 int
   7473 main ()
   7474 {
   7475 
   7476   ;
   7477   return 0;
   7478 }
   7479 _ACEOF
   7480 rm -f conftest.$ac_objext conftest$ac_exeext
   7481 if { (ac_try="$ac_link"
   7482 case "(($ac_try" in
   7483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7484   *) ac_try_echo=$ac_try;;
   7485 esac
   7486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7487 $as_echo "$ac_try_echo") >&5
   7488   (eval "$ac_link") 2>conftest.er1
   7489   ac_status=$?
   7490   grep -v '^ *+' conftest.er1 >conftest.err
   7491   rm -f conftest.er1
   7492   cat conftest.err >&5
   7493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7494   (exit $ac_status); } && {
   7495 	 test -z "$ac_c_werror_flag" ||
   7496 	 test ! -s conftest.err
   7497        } && test -s conftest$ac_exeext && {
   7498 	 test "$cross_compiling" = yes ||
   7499 	 $as_test_x conftest$ac_exeext
   7500        }; then
   7501   lt_cv_ld_exported_symbols_list=yes
   7502 else
   7503   $as_echo "$as_me: failed program was:" >&5
   7504 sed 's/^/| /' conftest.$ac_ext >&5
   7505 
   7506 	lt_cv_ld_exported_symbols_list=no
   7507 fi
   7508 
   7509 rm -rf conftest.dSYM
   7510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7511       conftest$ac_exeext conftest.$ac_ext
   7512    LDFLAGS="$save_LDFLAGS"
   7513 
   7514 fi
   7515 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7516 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7517     case $host_os in
   7518     rhapsody* | darwin1.[0123])
   7519       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7520     darwin1.*)
   7521      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7522     darwin*)
   7523       # if running on 10.5 or later, the deployment target defaults
   7524       # to the OS version, if on x86, and 10.4, the deployment
   7525       # target defaults to 10.4. Don't you love it?
   7526       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7527    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7528      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7529    10.[012]*)
   7530      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7531    10.*)
   7532      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7533       esac
   7534     ;;
   7535   esac
   7536     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7537       _lt_dar_single_mod='$single_module'
   7538     fi
   7539     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7540       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7541     else
   7542       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7543     fi
   7544     if test "$DSYMUTIL" != ":"; then
   7545       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7546     else
   7547       _lt_dsymutil=
   7548     fi
   7549     ;;
   7550   esac
   7551 
   7552 
   7553 enable_dlopen=no
   7554 enable_win32_dll=no
   7555 
   7556 # Check whether --enable-libtool-lock was given.
   7557 if test "${enable_libtool_lock+set}" = set; then
   7558   enableval=$enable_libtool_lock;
   7559 fi
   7560 
   7561 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7562 
   7563 
   7564 # Check whether --with-pic was given.
   7565 if test "${with_pic+set}" = set; then
   7566   withval=$with_pic; pic_mode="$withval"
   7567 else
   7568   pic_mode=default
   7569 fi
   7570 
   7571 test -z "$pic_mode" && pic_mode=default
   7572 
   7573 # Use C for the default configuration in the libtool script
   7574 tagname=
   7575 lt_save_CC="$CC"
   7576 ac_ext=c
   7577 ac_cpp='$CPP $CPPFLAGS'
   7578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7581 
   7582 
   7583 # Source file extension for C test sources.
   7584 ac_ext=c
   7585 
   7586 # Object file extension for compiled C test sources.
   7587 objext=o
   7588 objext=$objext
   7589 
   7590 # Code to be used in simple compile tests
   7591 lt_simple_compile_test_code="int some_variable = 0;"
   7592 
   7593 # Code to be used in simple link tests
   7594 lt_simple_link_test_code='int main(){return(0);}'
   7595 
   7596 
   7597 # If no C compiler was specified, use CC.
   7598 LTCC=${LTCC-"$CC"}
   7599 
   7600 # If no C compiler flags were specified, use CFLAGS.
   7601 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7602 
   7603 # Allow CC to be a program name with arguments.
   7604 compiler=$CC
   7605 
   7606 
   7607 # save warnings/boilerplate of simple test code
   7608 ac_outfile=conftest.$ac_objext
   7609 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7610 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7611 _lt_compiler_boilerplate=`cat conftest.err`
   7612 $rm conftest*
   7613 
   7614 ac_outfile=conftest.$ac_objext
   7615 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7616 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7617 _lt_linker_boilerplate=`cat conftest.err`
   7618 $rm -r conftest*
   7619 
   7620 
   7621 
   7622 lt_prog_compiler_no_builtin_flag=
   7623 
   7624 if test "$GCC" = yes; then
   7625   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7626 
   7627 
   7628 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7629 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7630 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7631   $as_echo_n "(cached) " >&6
   7632 else
   7633   lt_cv_prog_compiler_rtti_exceptions=no
   7634   ac_outfile=conftest.$ac_objext
   7635    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7636    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7637    # Insert the option either (1) after the last *FLAGS variable, or
   7638    # (2) before a word containing "conftest.", or (3) at the end.
   7639    # Note that $ac_compile itself does not contain backslashes and begins
   7640    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7641    # The option is referenced via a variable to avoid confusing sed.
   7642    lt_compile=`echo "$ac_compile" | $SED \
   7643    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7644    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7645    -e 's:$: $lt_compiler_flag:'`
   7646    (eval echo "\"\$as_me:7646: $lt_compile\"" >&5)
   7647    (eval "$lt_compile" 2>conftest.err)
   7648    ac_status=$?
   7649    cat conftest.err >&5
   7650    echo "$as_me:7650: \$? = $ac_status" >&5
   7651    if (exit $ac_status) && test -s "$ac_outfile"; then
   7652      # The compiler can only warn and ignore the option if not recognized
   7653      # So say no if there are warnings other than the usual output.
   7654      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7655      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7656      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7657        lt_cv_prog_compiler_rtti_exceptions=yes
   7658      fi
   7659    fi
   7660    $rm conftest*
   7661 
   7662 fi
   7663 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7664 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7665 
   7666 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7667     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7668 else
   7669     :
   7670 fi
   7671 
   7672 fi
   7673 
   7674 lt_prog_compiler_wl=
   7675 lt_prog_compiler_pic=
   7676 lt_prog_compiler_static=
   7677 
   7678 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7679 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7680 
   7681   if test "$GCC" = yes; then
   7682     lt_prog_compiler_wl='-Wl,'
   7683     lt_prog_compiler_static='-static'
   7684 
   7685     case $host_os in
   7686       aix*)
   7687       # All AIX code is PIC.
   7688       if test "$host_cpu" = ia64; then
   7689 	# AIX 5 now supports IA64 processor
   7690 	lt_prog_compiler_static='-Bstatic'
   7691       fi
   7692       ;;
   7693 
   7694     amigaos*)
   7695       # FIXME: we need at least 68020 code to build shared libraries, but
   7696       # adding the `-m68020' flag to GCC prevents building anything better,
   7697       # like `-m68040'.
   7698       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7699       ;;
   7700 
   7701     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7702       # PIC is the default for these OSes.
   7703       ;;
   7704 
   7705     mingw* | cygwin* | pw32* | os2*)
   7706       # This hack is so that the source file can tell whether it is being
   7707       # built for inclusion in a dll (and should export symbols for example).
   7708       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7709       # (--disable-auto-import) libraries
   7710       lt_prog_compiler_pic='-DDLL_EXPORT'
   7711       ;;
   7712 
   7713     darwin* | rhapsody*)
   7714       # PIC is the default on this platform
   7715       # Common symbols not allowed in MH_DYLIB files
   7716       lt_prog_compiler_pic='-fno-common'
   7717       ;;
   7718 
   7719     interix[3-9]*)
   7720       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7721       # Instead, we relocate shared libraries at runtime.
   7722       ;;
   7723 
   7724     msdosdjgpp*)
   7725       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7726       # on systems that don't support them.
   7727       lt_prog_compiler_can_build_shared=no
   7728       enable_shared=no
   7729       ;;
   7730 
   7731     sysv4*MP*)
   7732       if test -d /usr/nec; then
   7733 	lt_prog_compiler_pic=-Kconform_pic
   7734       fi
   7735       ;;
   7736 
   7737     hpux*)
   7738       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7739       # not for PA HP-UX.
   7740       case $host_cpu in
   7741       hppa*64*|ia64*)
   7742 	# +Z the default
   7743 	;;
   7744       *)
   7745 	lt_prog_compiler_pic='-fPIC'
   7746 	;;
   7747       esac
   7748       ;;
   7749 
   7750     *)
   7751       lt_prog_compiler_pic='-fPIC'
   7752       ;;
   7753     esac
   7754   else
   7755     # PORTME Check for flag to pass linker flags through the system compiler.
   7756     case $host_os in
   7757     aix*)
   7758       lt_prog_compiler_wl='-Wl,'
   7759       if test "$host_cpu" = ia64; then
   7760 	# AIX 5 now supports IA64 processor
   7761 	lt_prog_compiler_static='-Bstatic'
   7762       else
   7763 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7764       fi
   7765       ;;
   7766       darwin*)
   7767         # PIC is the default on this platform
   7768         # Common symbols not allowed in MH_DYLIB files
   7769        case $cc_basename in
   7770          xlc*)
   7771          lt_prog_compiler_pic='-qnocommon'
   7772          lt_prog_compiler_wl='-Wl,'
   7773          ;;
   7774        esac
   7775        ;;
   7776 
   7777     mingw* | cygwin* | pw32* | os2*)
   7778       # This hack is so that the source file can tell whether it is being
   7779       # built for inclusion in a dll (and should export symbols for example).
   7780       lt_prog_compiler_pic='-DDLL_EXPORT'
   7781       ;;
   7782 
   7783     hpux9* | hpux10* | hpux11*)
   7784       lt_prog_compiler_wl='-Wl,'
   7785       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7786       # not for PA HP-UX.
   7787       case $host_cpu in
   7788       hppa*64*|ia64*)
   7789 	# +Z the default
   7790 	;;
   7791       *)
   7792 	lt_prog_compiler_pic='+Z'
   7793 	;;
   7794       esac
   7795       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7796       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7797       ;;
   7798 
   7799     irix5* | irix6* | nonstopux*)
   7800       lt_prog_compiler_wl='-Wl,'
   7801       # PIC (with -KPIC) is the default.
   7802       lt_prog_compiler_static='-non_shared'
   7803       ;;
   7804 
   7805     newsos6)
   7806       lt_prog_compiler_pic='-KPIC'
   7807       lt_prog_compiler_static='-Bstatic'
   7808       ;;
   7809 
   7810     linux* | k*bsd*-gnu)
   7811       case $cc_basename in
   7812       icc* | ecc*)
   7813 	lt_prog_compiler_wl='-Wl,'
   7814 	lt_prog_compiler_pic='-KPIC'
   7815 	lt_prog_compiler_static='-static'
   7816         ;;
   7817       pgcc* | pgf77* | pgf90* | pgf95*)
   7818         # Portland Group compilers (*not* the Pentium gcc compiler,
   7819 	# which looks to be a dead project)
   7820 	lt_prog_compiler_wl='-Wl,'
   7821 	lt_prog_compiler_pic='-fpic'
   7822 	lt_prog_compiler_static='-Bstatic'
   7823         ;;
   7824       ccc*)
   7825         lt_prog_compiler_wl='-Wl,'
   7826         # All Alpha code is PIC.
   7827         lt_prog_compiler_static='-non_shared'
   7828         ;;
   7829       *)
   7830         case `$CC -V 2>&1 | sed 5q` in
   7831 	*Sun\ C*)
   7832 	  # Sun C 5.9
   7833 	  lt_prog_compiler_pic='-KPIC'
   7834 	  lt_prog_compiler_static='-Bstatic'
   7835 	  lt_prog_compiler_wl='-Wl,'
   7836 	  ;;
   7837 	*Sun\ F*)
   7838 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7839 	  lt_prog_compiler_pic='-KPIC'
   7840 	  lt_prog_compiler_static='-Bstatic'
   7841 	  lt_prog_compiler_wl=''
   7842 	  ;;
   7843 	esac
   7844 	;;
   7845       esac
   7846       ;;
   7847 
   7848     osf3* | osf4* | osf5*)
   7849       lt_prog_compiler_wl='-Wl,'
   7850       # All OSF/1 code is PIC.
   7851       lt_prog_compiler_static='-non_shared'
   7852       ;;
   7853 
   7854     rdos*)
   7855       lt_prog_compiler_static='-non_shared'
   7856       ;;
   7857 
   7858     solaris*)
   7859       lt_prog_compiler_pic='-KPIC'
   7860       lt_prog_compiler_static='-Bstatic'
   7861       case $cc_basename in
   7862       f77* | f90* | f95*)
   7863 	lt_prog_compiler_wl='-Qoption ld ';;
   7864       *)
   7865 	lt_prog_compiler_wl='-Wl,';;
   7866       esac
   7867       ;;
   7868 
   7869     sunos4*)
   7870       lt_prog_compiler_wl='-Qoption ld '
   7871       lt_prog_compiler_pic='-PIC'
   7872       lt_prog_compiler_static='-Bstatic'
   7873       ;;
   7874 
   7875     sysv4 | sysv4.2uw2* | sysv4.3*)
   7876       lt_prog_compiler_wl='-Wl,'
   7877       lt_prog_compiler_pic='-KPIC'
   7878       lt_prog_compiler_static='-Bstatic'
   7879       ;;
   7880 
   7881     sysv4*MP*)
   7882       if test -d /usr/nec ;then
   7883 	lt_prog_compiler_pic='-Kconform_pic'
   7884 	lt_prog_compiler_static='-Bstatic'
   7885       fi
   7886       ;;
   7887 
   7888     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7889       lt_prog_compiler_wl='-Wl,'
   7890       lt_prog_compiler_pic='-KPIC'
   7891       lt_prog_compiler_static='-Bstatic'
   7892       ;;
   7893 
   7894     unicos*)
   7895       lt_prog_compiler_wl='-Wl,'
   7896       lt_prog_compiler_can_build_shared=no
   7897       ;;
   7898 
   7899     uts4*)
   7900       lt_prog_compiler_pic='-pic'
   7901       lt_prog_compiler_static='-Bstatic'
   7902       ;;
   7903 
   7904     *)
   7905       lt_prog_compiler_can_build_shared=no
   7906       ;;
   7907     esac
   7908   fi
   7909 
   7910 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7911 $as_echo "$lt_prog_compiler_pic" >&6; }
   7912 
   7913 #
   7914 # Check to make sure the PIC flag actually works.
   7915 #
   7916 if test -n "$lt_prog_compiler_pic"; then
   7917 
   7918 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7919 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7920 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   lt_cv_prog_compiler_pic_works=no
   7924   ac_outfile=conftest.$ac_objext
   7925    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7926    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7927    # Insert the option either (1) after the last *FLAGS variable, or
   7928    # (2) before a word containing "conftest.", or (3) at the end.
   7929    # Note that $ac_compile itself does not contain backslashes and begins
   7930    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7931    # The option is referenced via a variable to avoid confusing sed.
   7932    lt_compile=`echo "$ac_compile" | $SED \
   7933    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7934    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7935    -e 's:$: $lt_compiler_flag:'`
   7936    (eval echo "\"\$as_me:7936: $lt_compile\"" >&5)
   7937    (eval "$lt_compile" 2>conftest.err)
   7938    ac_status=$?
   7939    cat conftest.err >&5
   7940    echo "$as_me:7940: \$? = $ac_status" >&5
   7941    if (exit $ac_status) && test -s "$ac_outfile"; then
   7942      # The compiler can only warn and ignore the option if not recognized
   7943      # So say no if there are warnings other than the usual output.
   7944      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7945      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7946      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7947        lt_cv_prog_compiler_pic_works=yes
   7948      fi
   7949    fi
   7950    $rm conftest*
   7951 
   7952 fi
   7953 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7954 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7955 
   7956 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7957     case $lt_prog_compiler_pic in
   7958      "" | " "*) ;;
   7959      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7960      esac
   7961 else
   7962     lt_prog_compiler_pic=
   7963      lt_prog_compiler_can_build_shared=no
   7964 fi
   7965 
   7966 fi
   7967 case $host_os in
   7968   # For platforms which do not support PIC, -DPIC is meaningless:
   7969   *djgpp*)
   7970     lt_prog_compiler_pic=
   7971     ;;
   7972   *)
   7973     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7974     ;;
   7975 esac
   7976 
   7977 #
   7978 # Check to make sure the static flag actually works.
   7979 #
   7980 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7981 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7982 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7983 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   lt_cv_prog_compiler_static_works=no
   7987    save_LDFLAGS="$LDFLAGS"
   7988    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7989    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7990    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7991      # The linker can only warn and ignore the option if not recognized
   7992      # So say no if there are warnings
   7993      if test -s conftest.err; then
   7994        # Append any errors to the config.log.
   7995        cat conftest.err 1>&5
   7996        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7997        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7998        if diff conftest.exp conftest.er2 >/dev/null; then
   7999          lt_cv_prog_compiler_static_works=yes
   8000        fi
   8001      else
   8002        lt_cv_prog_compiler_static_works=yes
   8003      fi
   8004    fi
   8005    $rm -r conftest*
   8006    LDFLAGS="$save_LDFLAGS"
   8007 
   8008 fi
   8009 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8010 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8011 
   8012 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8013     :
   8014 else
   8015     lt_prog_compiler_static=
   8016 fi
   8017 
   8018 
   8019 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8021 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8022   $as_echo_n "(cached) " >&6
   8023 else
   8024   lt_cv_prog_compiler_c_o=no
   8025    $rm -r conftest 2>/dev/null
   8026    mkdir conftest
   8027    cd conftest
   8028    mkdir out
   8029    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8030 
   8031    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8032    # Insert the option either (1) after the last *FLAGS variable, or
   8033    # (2) before a word containing "conftest.", or (3) at the end.
   8034    # Note that $ac_compile itself does not contain backslashes and begins
   8035    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8036    lt_compile=`echo "$ac_compile" | $SED \
   8037    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8038    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8039    -e 's:$: $lt_compiler_flag:'`
   8040    (eval echo "\"\$as_me:8040: $lt_compile\"" >&5)
   8041    (eval "$lt_compile" 2>out/conftest.err)
   8042    ac_status=$?
   8043    cat out/conftest.err >&5
   8044    echo "$as_me:8044: \$? = $ac_status" >&5
   8045    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8046    then
   8047      # The compiler can only warn and ignore the option if not recognized
   8048      # So say no if there are warnings
   8049      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8050      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8051      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8052        lt_cv_prog_compiler_c_o=yes
   8053      fi
   8054    fi
   8055    chmod u+w . 2>&5
   8056    $rm conftest*
   8057    # SGI C++ compiler will create directory out/ii_files/ for
   8058    # template instantiation
   8059    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8060    $rm out/* && rmdir out
   8061    cd ..
   8062    rmdir conftest
   8063    $rm conftest*
   8064 
   8065 fi
   8066 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8067 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8068 
   8069 
   8070 hard_links="nottested"
   8071 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8072   # do not overwrite the value of need_locks provided by the user
   8073   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8074 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8075   hard_links=yes
   8076   $rm conftest*
   8077   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8078   touch conftest.a
   8079   ln conftest.a conftest.b 2>&5 || hard_links=no
   8080   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8081   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8082 $as_echo "$hard_links" >&6; }
   8083   if test "$hard_links" = no; then
   8084     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8085 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8086     need_locks=warn
   8087   fi
   8088 else
   8089   need_locks=no
   8090 fi
   8091 
   8092 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8094 
   8095   runpath_var=
   8096   allow_undefined_flag=
   8097   enable_shared_with_static_runtimes=no
   8098   archive_cmds=
   8099   archive_expsym_cmds=
   8100   old_archive_From_new_cmds=
   8101   old_archive_from_expsyms_cmds=
   8102   export_dynamic_flag_spec=
   8103   whole_archive_flag_spec=
   8104   thread_safe_flag_spec=
   8105   hardcode_libdir_flag_spec=
   8106   hardcode_libdir_flag_spec_ld=
   8107   hardcode_libdir_separator=
   8108   hardcode_direct=no
   8109   hardcode_minus_L=no
   8110   hardcode_shlibpath_var=unsupported
   8111   link_all_deplibs=unknown
   8112   hardcode_automatic=no
   8113   module_cmds=
   8114   module_expsym_cmds=
   8115   always_export_symbols=no
   8116   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8117   # include_expsyms should be a list of space-separated symbols to be *always*
   8118   # included in the symbol list
   8119   include_expsyms=
   8120   # exclude_expsyms can be an extended regexp of symbols to exclude
   8121   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8122   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8123   # as well as any symbol that contains `d'.
   8124   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8125   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8126   # platforms (ab)use it in PIC code, but their linkers get confused if
   8127   # the symbol is explicitly referenced.  Since portable code cannot
   8128   # rely on this symbol name, it's probably fine to never include it in
   8129   # preloaded symbol tables.
   8130   # Exclude shared library initialization/finalization symbols.
   8131   extract_expsyms_cmds=
   8132   # Just being paranoid about ensuring that cc_basename is set.
   8133   for cc_temp in $compiler""; do
   8134   case $cc_temp in
   8135     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8136     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8137     \-*) ;;
   8138     *) break;;
   8139   esac
   8140 done
   8141 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8142 
   8143   case $host_os in
   8144   cygwin* | mingw* | pw32*)
   8145     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8146     # When not using gcc, we currently assume that we are using
   8147     # Microsoft Visual C++.
   8148     if test "$GCC" != yes; then
   8149       with_gnu_ld=no
   8150     fi
   8151     ;;
   8152   interix*)
   8153     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8154     with_gnu_ld=yes
   8155     ;;
   8156   openbsd*)
   8157     with_gnu_ld=no
   8158     ;;
   8159   esac
   8160 
   8161   ld_shlibs=yes
   8162   if test "$with_gnu_ld" = yes; then
   8163     # If archive_cmds runs LD, not CC, wlarc should be empty
   8164     wlarc='${wl}'
   8165 
   8166     # Set some defaults for GNU ld with shared library support. These
   8167     # are reset later if shared libraries are not supported. Putting them
   8168     # here allows them to be overridden if necessary.
   8169     runpath_var=LD_RUN_PATH
   8170     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8171     export_dynamic_flag_spec='${wl}--export-dynamic'
   8172     # ancient GNU ld didn't support --whole-archive et. al.
   8173     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8174 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8175       else
   8176   	whole_archive_flag_spec=
   8177     fi
   8178     supports_anon_versioning=no
   8179     case `$LD -v 2>/dev/null` in
   8180       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8181       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8182       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8183       *\ 2.11.*) ;; # other 2.11 versions
   8184       *) supports_anon_versioning=yes ;;
   8185     esac
   8186 
   8187     # See if GNU ld supports shared libraries.
   8188     case $host_os in
   8189     aix[3-9]*)
   8190       # On AIX/PPC, the GNU linker is very broken
   8191       if test "$host_cpu" != ia64; then
   8192 	ld_shlibs=no
   8193 	cat <<EOF 1>&2
   8194 
   8195 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8196 *** to be unable to reliably create shared libraries on AIX.
   8197 *** Therefore, libtool is disabling shared libraries support.  If you
   8198 *** really care for shared libraries, you may want to modify your PATH
   8199 *** so that a non-GNU linker is found, and then restart.
   8200 
   8201 EOF
   8202       fi
   8203       ;;
   8204 
   8205     amigaos*)
   8206       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)'
   8207       hardcode_libdir_flag_spec='-L$libdir'
   8208       hardcode_minus_L=yes
   8209 
   8210       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8211       # that the semantics of dynamic libraries on AmigaOS, at least up
   8212       # to version 4, is to share data among multiple programs linked
   8213       # with the same dynamic library.  Since this doesn't match the
   8214       # behavior of shared libraries on other platforms, we can't use
   8215       # them.
   8216       ld_shlibs=no
   8217       ;;
   8218 
   8219     beos*)
   8220       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8221 	allow_undefined_flag=unsupported
   8222 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8223 	# support --undefined.  This deserves some investigation.  FIXME
   8224 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8225       else
   8226 	ld_shlibs=no
   8227       fi
   8228       ;;
   8229 
   8230     cygwin* | mingw* | pw32*)
   8231       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8232       # as there is no search path for DLLs.
   8233       hardcode_libdir_flag_spec='-L$libdir'
   8234       allow_undefined_flag=unsupported
   8235       always_export_symbols=no
   8236       enable_shared_with_static_runtimes=yes
   8237       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8238 
   8239       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8240         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8241 	# If the export-symbols file already is a .def file (1st line
   8242 	# is EXPORTS), use it as is; otherwise, prepend...
   8243 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8244 	  cp $export_symbols $output_objdir/$soname.def;
   8245 	else
   8246 	  echo EXPORTS > $output_objdir/$soname.def;
   8247 	  cat $export_symbols >> $output_objdir/$soname.def;
   8248 	fi~
   8249 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8250       else
   8251 	ld_shlibs=no
   8252       fi
   8253       ;;
   8254 
   8255     interix[3-9]*)
   8256       hardcode_direct=no
   8257       hardcode_shlibpath_var=no
   8258       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8259       export_dynamic_flag_spec='${wl}-E'
   8260       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8261       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8262       # default) and relocated if they conflict, which is a slow very memory
   8263       # consuming and fragmenting process.  To avoid this, we pick a random,
   8264       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8265       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8266       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8267       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'
   8268       ;;
   8269 
   8270     gnu* | linux* | k*bsd*-gnu)
   8271       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8272 	tmp_addflag=
   8273 	case $cc_basename,$host_cpu in
   8274 	pgcc*)				# Portland Group C compiler
   8275 	  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'
   8276 	  tmp_addflag=' $pic_flag'
   8277 	  ;;
   8278 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8279 	  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'
   8280 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8281 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8282 	  tmp_addflag=' -i_dynamic' ;;
   8283 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8284 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8285 	ifc* | ifort*)			# Intel Fortran compiler
   8286 	  tmp_addflag=' -nofor_main' ;;
   8287 	esac
   8288 	case `$CC -V 2>&1 | sed 5q` in
   8289 	*Sun\ C*)			# Sun C 5.9
   8290 	  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'
   8291 	  tmp_sharedflag='-G' ;;
   8292 	*Sun\ F*)			# Sun Fortran 8.3
   8293 	  tmp_sharedflag='-G' ;;
   8294 	*)
   8295 	  tmp_sharedflag='-shared' ;;
   8296 	esac
   8297 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8298 
   8299 	if test $supports_anon_versioning = yes; then
   8300 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8301   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8302   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8303 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8304 	fi
   8305       else
   8306 	ld_shlibs=no
   8307       fi
   8308       ;;
   8309 
   8310     netbsd*)
   8311       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8312 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8313 	wlarc=
   8314       else
   8315 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8316 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8317       fi
   8318       ;;
   8319 
   8320     solaris*)
   8321       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8322 	ld_shlibs=no
   8323 	cat <<EOF 1>&2
   8324 
   8325 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8326 *** create shared libraries on Solaris systems.  Therefore, libtool
   8327 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8328 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8329 *** your PATH or compiler configuration so that the native linker is
   8330 *** used, and then restart.
   8331 
   8332 EOF
   8333       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8334 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8335 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8336       else
   8337 	ld_shlibs=no
   8338       fi
   8339       ;;
   8340 
   8341     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8342       case `$LD -v 2>&1` in
   8343         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8344 	ld_shlibs=no
   8345 	cat <<_LT_EOF 1>&2
   8346 
   8347 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8348 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8349 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8350 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8351 *** your PATH or compiler configuration so that the native linker is
   8352 *** used, and then restart.
   8353 
   8354 _LT_EOF
   8355 	;;
   8356 	*)
   8357 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8358 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8359 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8360 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8361 	  else
   8362 	    ld_shlibs=no
   8363 	  fi
   8364 	;;
   8365       esac
   8366       ;;
   8367 
   8368     sunos4*)
   8369       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8370       wlarc=
   8371       hardcode_direct=yes
   8372       hardcode_shlibpath_var=no
   8373       ;;
   8374 
   8375     *)
   8376       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8377 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8378 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8379       else
   8380 	ld_shlibs=no
   8381       fi
   8382       ;;
   8383     esac
   8384 
   8385     if test "$ld_shlibs" = no; then
   8386       runpath_var=
   8387       hardcode_libdir_flag_spec=
   8388       export_dynamic_flag_spec=
   8389       whole_archive_flag_spec=
   8390     fi
   8391   else
   8392     # PORTME fill in a description of your system's linker (not GNU ld)
   8393     case $host_os in
   8394     aix3*)
   8395       allow_undefined_flag=unsupported
   8396       always_export_symbols=yes
   8397       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'
   8398       # Note: this linker hardcodes the directories in LIBPATH if there
   8399       # are no directories specified by -L.
   8400       hardcode_minus_L=yes
   8401       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8402 	# Neither direct hardcoding nor static linking is supported with a
   8403 	# broken collect2.
   8404 	hardcode_direct=unsupported
   8405       fi
   8406       ;;
   8407 
   8408     aix[4-9]*)
   8409       if test "$host_cpu" = ia64; then
   8410 	# On IA64, the linker does run time linking by default, so we don't
   8411 	# have to do anything special.
   8412 	aix_use_runtimelinking=no
   8413 	exp_sym_flag='-Bexport'
   8414 	no_entry_flag=""
   8415       else
   8416 	# If we're using GNU nm, then we don't want the "-C" option.
   8417 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8418 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8419 	  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'
   8420 	else
   8421 	  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'
   8422 	fi
   8423 	aix_use_runtimelinking=no
   8424 
   8425 	# Test if we are trying to use run time linking or normal
   8426 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8427 	# need to do runtime linking.
   8428 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8429 	  for ld_flag in $LDFLAGS; do
   8430   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8431   	    aix_use_runtimelinking=yes
   8432   	    break
   8433   	  fi
   8434 	  done
   8435 	  ;;
   8436 	esac
   8437 
   8438 	exp_sym_flag='-bexport'
   8439 	no_entry_flag='-bnoentry'
   8440       fi
   8441 
   8442       # When large executables or shared objects are built, AIX ld can
   8443       # have problems creating the table of contents.  If linking a library
   8444       # or program results in "error TOC overflow" add -mminimal-toc to
   8445       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8446       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8447 
   8448       archive_cmds=''
   8449       hardcode_direct=yes
   8450       hardcode_libdir_separator=':'
   8451       link_all_deplibs=yes
   8452 
   8453       if test "$GCC" = yes; then
   8454 	case $host_os in aix4.[012]|aix4.[012].*)
   8455 	# We only want to do this on AIX 4.2 and lower, the check
   8456 	# below for broken collect2 doesn't work under 4.3+
   8457 	  collect2name=`${CC} -print-prog-name=collect2`
   8458 	  if test -f "$collect2name" && \
   8459   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8460 	  then
   8461   	  # We have reworked collect2
   8462   	  :
   8463 	  else
   8464   	  # We have old collect2
   8465   	  hardcode_direct=unsupported
   8466   	  # It fails to find uninstalled libraries when the uninstalled
   8467   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8468   	  # to unsupported forces relinking
   8469   	  hardcode_minus_L=yes
   8470   	  hardcode_libdir_flag_spec='-L$libdir'
   8471   	  hardcode_libdir_separator=
   8472 	  fi
   8473 	  ;;
   8474 	esac
   8475 	shared_flag='-shared'
   8476 	if test "$aix_use_runtimelinking" = yes; then
   8477 	  shared_flag="$shared_flag "'${wl}-G'
   8478 	fi
   8479       else
   8480 	# not using gcc
   8481 	if test "$host_cpu" = ia64; then
   8482   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8483   	# chokes on -Wl,-G. The following line is correct:
   8484 	  shared_flag='-G'
   8485 	else
   8486 	  if test "$aix_use_runtimelinking" = yes; then
   8487 	    shared_flag='${wl}-G'
   8488 	  else
   8489 	    shared_flag='${wl}-bM:SRE'
   8490 	  fi
   8491 	fi
   8492       fi
   8493 
   8494       # It seems that -bexpall does not export symbols beginning with
   8495       # underscore (_), so it is better to generate a list of symbols to export.
   8496       always_export_symbols=yes
   8497       if test "$aix_use_runtimelinking" = yes; then
   8498 	# Warning - without using the other runtime loading flags (-brtl),
   8499 	# -berok will link without error, but may produce a broken library.
   8500 	allow_undefined_flag='-berok'
   8501        # Determine the default libpath from the value encoded in an empty executable.
   8502        cat >conftest.$ac_ext <<_ACEOF
   8503 /* confdefs.h.  */
   8504 _ACEOF
   8505 cat confdefs.h >>conftest.$ac_ext
   8506 cat >>conftest.$ac_ext <<_ACEOF
   8507 /* end confdefs.h.  */
   8508 
   8509 int
   8510 main ()
   8511 {
   8512 
   8513   ;
   8514   return 0;
   8515 }
   8516 _ACEOF
   8517 rm -f conftest.$ac_objext conftest$ac_exeext
   8518 if { (ac_try="$ac_link"
   8519 case "(($ac_try" in
   8520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8521   *) ac_try_echo=$ac_try;;
   8522 esac
   8523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8524 $as_echo "$ac_try_echo") >&5
   8525   (eval "$ac_link") 2>conftest.er1
   8526   ac_status=$?
   8527   grep -v '^ *+' conftest.er1 >conftest.err
   8528   rm -f conftest.er1
   8529   cat conftest.err >&5
   8530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8531   (exit $ac_status); } && {
   8532 	 test -z "$ac_c_werror_flag" ||
   8533 	 test ! -s conftest.err
   8534        } && test -s conftest$ac_exeext && {
   8535 	 test "$cross_compiling" = yes ||
   8536 	 $as_test_x conftest$ac_exeext
   8537        }; then
   8538 
   8539 lt_aix_libpath_sed='
   8540     /Import File Strings/,/^$/ {
   8541 	/^0/ {
   8542 	    s/^0  *\(.*\)$/\1/
   8543 	    p
   8544 	}
   8545     }'
   8546 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8547 # Check for a 64-bit object if we didn't find anything.
   8548 if test -z "$aix_libpath"; then
   8549   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8550 fi
   8551 else
   8552   $as_echo "$as_me: failed program was:" >&5
   8553 sed 's/^/| /' conftest.$ac_ext >&5
   8554 
   8555 
   8556 fi
   8557 
   8558 rm -rf conftest.dSYM
   8559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8560       conftest$ac_exeext conftest.$ac_ext
   8561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8562 
   8563        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8564 	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"
   8565        else
   8566 	if test "$host_cpu" = ia64; then
   8567 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8568 	  allow_undefined_flag="-z nodefs"
   8569 	  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"
   8570 	else
   8571 	 # Determine the default libpath from the value encoded in an empty executable.
   8572 	 cat >conftest.$ac_ext <<_ACEOF
   8573 /* confdefs.h.  */
   8574 _ACEOF
   8575 cat confdefs.h >>conftest.$ac_ext
   8576 cat >>conftest.$ac_ext <<_ACEOF
   8577 /* end confdefs.h.  */
   8578 
   8579 int
   8580 main ()
   8581 {
   8582 
   8583   ;
   8584   return 0;
   8585 }
   8586 _ACEOF
   8587 rm -f conftest.$ac_objext conftest$ac_exeext
   8588 if { (ac_try="$ac_link"
   8589 case "(($ac_try" in
   8590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8591   *) ac_try_echo=$ac_try;;
   8592 esac
   8593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8594 $as_echo "$ac_try_echo") >&5
   8595   (eval "$ac_link") 2>conftest.er1
   8596   ac_status=$?
   8597   grep -v '^ *+' conftest.er1 >conftest.err
   8598   rm -f conftest.er1
   8599   cat conftest.err >&5
   8600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8601   (exit $ac_status); } && {
   8602 	 test -z "$ac_c_werror_flag" ||
   8603 	 test ! -s conftest.err
   8604        } && test -s conftest$ac_exeext && {
   8605 	 test "$cross_compiling" = yes ||
   8606 	 $as_test_x conftest$ac_exeext
   8607        }; then
   8608 
   8609 lt_aix_libpath_sed='
   8610     /Import File Strings/,/^$/ {
   8611 	/^0/ {
   8612 	    s/^0  *\(.*\)$/\1/
   8613 	    p
   8614 	}
   8615     }'
   8616 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8617 # Check for a 64-bit object if we didn't find anything.
   8618 if test -z "$aix_libpath"; then
   8619   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8620 fi
   8621 else
   8622   $as_echo "$as_me: failed program was:" >&5
   8623 sed 's/^/| /' conftest.$ac_ext >&5
   8624 
   8625 
   8626 fi
   8627 
   8628 rm -rf conftest.dSYM
   8629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8630       conftest$ac_exeext conftest.$ac_ext
   8631 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8632 
   8633 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8634 	  # Warning - without using the other run time loading flags,
   8635 	  # -berok will link without error, but may produce a broken library.
   8636 	  no_undefined_flag=' ${wl}-bernotok'
   8637 	  allow_undefined_flag=' ${wl}-berok'
   8638 	  # Exported symbols can be pulled into shared objects from archives
   8639 	  whole_archive_flag_spec='$convenience'
   8640 	  archive_cmds_need_lc=yes
   8641 	  # This is similar to how AIX traditionally builds its shared libraries.
   8642 	  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'
   8643 	fi
   8644       fi
   8645       ;;
   8646 
   8647     amigaos*)
   8648       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)'
   8649       hardcode_libdir_flag_spec='-L$libdir'
   8650       hardcode_minus_L=yes
   8651       # see comment about different semantics on the GNU ld section
   8652       ld_shlibs=no
   8653       ;;
   8654 
   8655     bsdi[45]*)
   8656       export_dynamic_flag_spec=-rdynamic
   8657       ;;
   8658 
   8659     cygwin* | mingw* | pw32*)
   8660       # When not using gcc, we currently assume that we are using
   8661       # Microsoft Visual C++.
   8662       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8663       # no search path for DLLs.
   8664       hardcode_libdir_flag_spec=' '
   8665       allow_undefined_flag=unsupported
   8666       # Tell ltmain to make .lib files, not .a files.
   8667       libext=lib
   8668       # Tell ltmain to make .dll files, not .so files.
   8669       shrext_cmds=".dll"
   8670       # FIXME: Setting linknames here is a bad hack.
   8671       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8672       # The linker will automatically build a .lib file if we build a DLL.
   8673       old_archive_From_new_cmds='true'
   8674       # FIXME: Should let the user specify the lib program.
   8675       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8676       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8677       enable_shared_with_static_runtimes=yes
   8678       ;;
   8679 
   8680     darwin* | rhapsody*)
   8681       case $host_os in
   8682         rhapsody* | darwin1.[012])
   8683          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8684          ;;
   8685        *) # Darwin 1.3 on
   8686          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8687            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8688          else
   8689            case ${MACOSX_DEPLOYMENT_TARGET} in
   8690              10.[012])
   8691                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8692                ;;
   8693              10.*)
   8694                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8695                ;;
   8696            esac
   8697          fi
   8698          ;;
   8699       esac
   8700       archive_cmds_need_lc=no
   8701       hardcode_direct=no
   8702       hardcode_automatic=yes
   8703       hardcode_shlibpath_var=unsupported
   8704       whole_archive_flag_spec=''
   8705       link_all_deplibs=yes
   8706     if test "$GCC" = yes ; then
   8707     	output_verbose_link_cmd='echo'
   8708         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8709         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8710         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}"
   8711         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}"
   8712     else
   8713       case $cc_basename in
   8714         xlc*)
   8715          output_verbose_link_cmd='echo'
   8716          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8717          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8718           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8719          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}'
   8720           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}'
   8721           ;;
   8722        *)
   8723          ld_shlibs=no
   8724           ;;
   8725       esac
   8726     fi
   8727       ;;
   8728 
   8729     dgux*)
   8730       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8731       hardcode_libdir_flag_spec='-L$libdir'
   8732       hardcode_shlibpath_var=no
   8733       ;;
   8734 
   8735     freebsd1*)
   8736       ld_shlibs=no
   8737       ;;
   8738 
   8739     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8740     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8741     # does not break anything, and helps significantly (at the cost of a little
   8742     # extra space).
   8743     freebsd2.2*)
   8744       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8745       hardcode_libdir_flag_spec='-R$libdir'
   8746       hardcode_direct=yes
   8747       hardcode_shlibpath_var=no
   8748       ;;
   8749 
   8750     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8751     freebsd2*)
   8752       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8753       hardcode_direct=yes
   8754       hardcode_minus_L=yes
   8755       hardcode_shlibpath_var=no
   8756       ;;
   8757 
   8758     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8759     freebsd* | dragonfly*)
   8760       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8761       hardcode_libdir_flag_spec='-R$libdir'
   8762       hardcode_direct=yes
   8763       hardcode_shlibpath_var=no
   8764       ;;
   8765 
   8766     hpux9*)
   8767       if test "$GCC" = yes; then
   8768 	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'
   8769       else
   8770 	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'
   8771       fi
   8772       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8773       hardcode_libdir_separator=:
   8774       hardcode_direct=yes
   8775 
   8776       # hardcode_minus_L: Not really in the search PATH,
   8777       # but as the default location of the library.
   8778       hardcode_minus_L=yes
   8779       export_dynamic_flag_spec='${wl}-E'
   8780       ;;
   8781 
   8782     hpux10*)
   8783       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8784 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8785       else
   8786 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8787       fi
   8788       if test "$with_gnu_ld" = no; then
   8789 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8790 	hardcode_libdir_separator=:
   8791 
   8792 	hardcode_direct=yes
   8793 	export_dynamic_flag_spec='${wl}-E'
   8794 
   8795 	# hardcode_minus_L: Not really in the search PATH,
   8796 	# but as the default location of the library.
   8797 	hardcode_minus_L=yes
   8798       fi
   8799       ;;
   8800 
   8801     hpux11*)
   8802       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8803 	case $host_cpu in
   8804 	hppa*64*)
   8805 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8806 	  ;;
   8807 	ia64*)
   8808 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8809 	  ;;
   8810 	*)
   8811 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8812 	  ;;
   8813 	esac
   8814       else
   8815 	case $host_cpu in
   8816 	hppa*64*)
   8817 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8818 	  ;;
   8819 	ia64*)
   8820 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8821 	  ;;
   8822 	*)
   8823 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  ;;
   8825 	esac
   8826       fi
   8827       if test "$with_gnu_ld" = no; then
   8828 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8829 	hardcode_libdir_separator=:
   8830 
   8831 	case $host_cpu in
   8832 	hppa*64*|ia64*)
   8833 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8834 	  hardcode_direct=no
   8835 	  hardcode_shlibpath_var=no
   8836 	  ;;
   8837 	*)
   8838 	  hardcode_direct=yes
   8839 	  export_dynamic_flag_spec='${wl}-E'
   8840 
   8841 	  # hardcode_minus_L: Not really in the search PATH,
   8842 	  # but as the default location of the library.
   8843 	  hardcode_minus_L=yes
   8844 	  ;;
   8845 	esac
   8846       fi
   8847       ;;
   8848 
   8849     irix5* | irix6* | nonstopux*)
   8850       if test "$GCC" = yes; then
   8851 	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'
   8852       else
   8853 	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'
   8854 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8855       fi
   8856       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8857       hardcode_libdir_separator=:
   8858       link_all_deplibs=yes
   8859       ;;
   8860 
   8861     netbsd*)
   8862       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8863 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8864       else
   8865 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8866       fi
   8867       hardcode_libdir_flag_spec='-R$libdir'
   8868       hardcode_direct=yes
   8869       hardcode_shlibpath_var=no
   8870       ;;
   8871 
   8872     newsos6)
   8873       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8874       hardcode_direct=yes
   8875       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8876       hardcode_libdir_separator=:
   8877       hardcode_shlibpath_var=no
   8878       ;;
   8879 
   8880     openbsd*)
   8881       if test -f /usr/libexec/ld.so; then
   8882 	hardcode_direct=yes
   8883 	hardcode_shlibpath_var=no
   8884 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8885 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8886 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8887 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8888 	  export_dynamic_flag_spec='${wl}-E'
   8889 	else
   8890 	  case $host_os in
   8891 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8892 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8893 	     hardcode_libdir_flag_spec='-R$libdir'
   8894 	     ;;
   8895 	   *)
   8896 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8897 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8898 	     ;;
   8899 	  esac
   8900         fi
   8901       else
   8902 	ld_shlibs=no
   8903       fi
   8904       ;;
   8905 
   8906     os2*)
   8907       hardcode_libdir_flag_spec='-L$libdir'
   8908       hardcode_minus_L=yes
   8909       allow_undefined_flag=unsupported
   8910       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'
   8911       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8912       ;;
   8913 
   8914     osf3*)
   8915       if test "$GCC" = yes; then
   8916 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8917 	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'
   8918       else
   8919 	allow_undefined_flag=' -expect_unresolved \*'
   8920 	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'
   8921       fi
   8922       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8923       hardcode_libdir_separator=:
   8924       ;;
   8925 
   8926     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8927       if test "$GCC" = yes; then
   8928 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8929 	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'
   8930 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8931       else
   8932 	allow_undefined_flag=' -expect_unresolved \*'
   8933 	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'
   8934 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8935 	$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'
   8936 
   8937 	# Both c and cxx compiler support -rpath directly
   8938 	hardcode_libdir_flag_spec='-rpath $libdir'
   8939       fi
   8940       hardcode_libdir_separator=:
   8941       ;;
   8942 
   8943     solaris*)
   8944       no_undefined_flag=' -z text'
   8945       if test "$GCC" = yes; then
   8946 	wlarc='${wl}'
   8947 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8948 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8949 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8950       else
   8951 	wlarc=''
   8952 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8953 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8954   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8955       fi
   8956       hardcode_libdir_flag_spec='-R$libdir'
   8957       hardcode_shlibpath_var=no
   8958       case $host_os in
   8959       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8960       *)
   8961 	# The compiler driver will combine and reorder linker options,
   8962 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8963 	# but is careful enough not to reorder.
   8964  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8965 	if test "$GCC" = yes; then
   8966 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8967 	else
   8968 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8969 	fi
   8970 	;;
   8971       esac
   8972       link_all_deplibs=yes
   8973       ;;
   8974 
   8975     sunos4*)
   8976       if test "x$host_vendor" = xsequent; then
   8977 	# Use $CC to link under sequent, because it throws in some extra .o
   8978 	# files that make .init and .fini sections work.
   8979 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8980       else
   8981 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8982       fi
   8983       hardcode_libdir_flag_spec='-L$libdir'
   8984       hardcode_direct=yes
   8985       hardcode_minus_L=yes
   8986       hardcode_shlibpath_var=no
   8987       ;;
   8988 
   8989     sysv4)
   8990       case $host_vendor in
   8991 	sni)
   8992 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8993 	  hardcode_direct=yes # is this really true???
   8994 	;;
   8995 	siemens)
   8996 	  ## LD is ld it makes a PLAMLIB
   8997 	  ## CC just makes a GrossModule.
   8998 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8999 	  reload_cmds='$CC -r -o $output$reload_objs'
   9000 	  hardcode_direct=no
   9001         ;;
   9002 	motorola)
   9003 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9004 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9005 	;;
   9006       esac
   9007       runpath_var='LD_RUN_PATH'
   9008       hardcode_shlibpath_var=no
   9009       ;;
   9010 
   9011     sysv4.3*)
   9012       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9013       hardcode_shlibpath_var=no
   9014       export_dynamic_flag_spec='-Bexport'
   9015       ;;
   9016 
   9017     sysv4*MP*)
   9018       if test -d /usr/nec; then
   9019 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9020 	hardcode_shlibpath_var=no
   9021 	runpath_var=LD_RUN_PATH
   9022 	hardcode_runpath_var=yes
   9023 	ld_shlibs=yes
   9024       fi
   9025       ;;
   9026 
   9027     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9028       no_undefined_flag='${wl}-z,text'
   9029       archive_cmds_need_lc=no
   9030       hardcode_shlibpath_var=no
   9031       runpath_var='LD_RUN_PATH'
   9032 
   9033       if test "$GCC" = yes; then
   9034 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9035 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9036       else
   9037 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9038 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9039       fi
   9040       ;;
   9041 
   9042     sysv5* | sco3.2v5* | sco5v6*)
   9043       # Note: We can NOT use -z defs as we might desire, because we do not
   9044       # link with -lc, and that would cause any symbols used from libc to
   9045       # always be unresolved, which means just about no library would
   9046       # ever link correctly.  If we're not using GNU ld we use -z text
   9047       # though, which does catch some bad symbols but isn't as heavy-handed
   9048       # as -z defs.
   9049       no_undefined_flag='${wl}-z,text'
   9050       allow_undefined_flag='${wl}-z,nodefs'
   9051       archive_cmds_need_lc=no
   9052       hardcode_shlibpath_var=no
   9053       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9054       hardcode_libdir_separator=':'
   9055       link_all_deplibs=yes
   9056       export_dynamic_flag_spec='${wl}-Bexport'
   9057       runpath_var='LD_RUN_PATH'
   9058 
   9059       if test "$GCC" = yes; then
   9060 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9061 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9062       else
   9063 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9064 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9065       fi
   9066       ;;
   9067 
   9068     uts4*)
   9069       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9070       hardcode_libdir_flag_spec='-L$libdir'
   9071       hardcode_shlibpath_var=no
   9072       ;;
   9073 
   9074     *)
   9075       ld_shlibs=no
   9076       ;;
   9077     esac
   9078   fi
   9079 
   9080 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9081 $as_echo "$ld_shlibs" >&6; }
   9082 test "$ld_shlibs" = no && can_build_shared=no
   9083 
   9084 #
   9085 # Do we need to explicitly link libc?
   9086 #
   9087 case "x$archive_cmds_need_lc" in
   9088 x|xyes)
   9089   # Assume -lc should be added
   9090   archive_cmds_need_lc=yes
   9091 
   9092   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9093     case $archive_cmds in
   9094     *'~'*)
   9095       # FIXME: we may have to deal with multi-command sequences.
   9096       ;;
   9097     '$CC '*)
   9098       # Test whether the compiler implicitly links with -lc since on some
   9099       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9100       # to ld, don't add -lc before -lgcc.
   9101       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9102 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9103       $rm conftest*
   9104       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9105 
   9106       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9107   (eval $ac_compile) 2>&5
   9108   ac_status=$?
   9109   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9110   (exit $ac_status); } 2>conftest.err; then
   9111         soname=conftest
   9112         lib=conftest
   9113         libobjs=conftest.$ac_objext
   9114         deplibs=
   9115         wl=$lt_prog_compiler_wl
   9116 	pic_flag=$lt_prog_compiler_pic
   9117         compiler_flags=-v
   9118         linker_flags=-v
   9119         verstring=
   9120         output_objdir=.
   9121         libname=conftest
   9122         lt_save_allow_undefined_flag=$allow_undefined_flag
   9123         allow_undefined_flag=
   9124         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9125   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9126   ac_status=$?
   9127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9128   (exit $ac_status); }
   9129         then
   9130 	  archive_cmds_need_lc=no
   9131         else
   9132 	  archive_cmds_need_lc=yes
   9133         fi
   9134         allow_undefined_flag=$lt_save_allow_undefined_flag
   9135       else
   9136         cat conftest.err 1>&5
   9137       fi
   9138       $rm conftest*
   9139       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9140 $as_echo "$archive_cmds_need_lc" >&6; }
   9141       ;;
   9142     esac
   9143   fi
   9144   ;;
   9145 esac
   9146 
   9147 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9148 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9149 library_names_spec=
   9150 libname_spec='lib$name'
   9151 soname_spec=
   9152 shrext_cmds=".so"
   9153 postinstall_cmds=
   9154 postuninstall_cmds=
   9155 finish_cmds=
   9156 finish_eval=
   9157 shlibpath_var=
   9158 shlibpath_overrides_runpath=unknown
   9159 version_type=none
   9160 dynamic_linker="$host_os ld.so"
   9161 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9162 
   9163 if test "$GCC" = yes; then
   9164   case $host_os in
   9165     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9166     *) lt_awk_arg="/^libraries:/" ;;
   9167   esac
   9168   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9169   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9170     # if the path contains ";" then we assume it to be the separator
   9171     # otherwise default to the standard path separator (i.e. ":") - it is
   9172     # assumed that no part of a normal pathname contains ";" but that should
   9173     # okay in the real world where ";" in dirpaths is itself problematic.
   9174     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9175   else
   9176     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9177   fi
   9178   # Ok, now we have the path, separated by spaces, we can step through it
   9179   # and add multilib dir if necessary.
   9180   lt_tmp_lt_search_path_spec=
   9181   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9182   for lt_sys_path in $lt_search_path_spec; do
   9183     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9184       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9185     else
   9186       test -d "$lt_sys_path" && \
   9187 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9188     fi
   9189   done
   9190   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9191 BEGIN {RS=" "; FS="/|\n";} {
   9192   lt_foo="";
   9193   lt_count=0;
   9194   for (lt_i = NF; lt_i > 0; lt_i--) {
   9195     if ($lt_i != "" && $lt_i != ".") {
   9196       if ($lt_i == "..") {
   9197         lt_count++;
   9198       } else {
   9199         if (lt_count == 0) {
   9200           lt_foo="/" $lt_i lt_foo;
   9201         } else {
   9202           lt_count--;
   9203         }
   9204       }
   9205     }
   9206   }
   9207   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9208   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9209 }'`
   9210   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9211 else
   9212   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9213 fi
   9214 need_lib_prefix=unknown
   9215 hardcode_into_libs=no
   9216 
   9217 # when you set need_version to no, make sure it does not cause -set_version
   9218 # flags to be left without arguments
   9219 need_version=unknown
   9220 
   9221 case $host_os in
   9222 aix3*)
   9223   version_type=linux
   9224   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9225   shlibpath_var=LIBPATH
   9226 
   9227   # AIX 3 has no versioning support, so we append a major version to the name.
   9228   soname_spec='${libname}${release}${shared_ext}$major'
   9229   ;;
   9230 
   9231 aix[4-9]*)
   9232   version_type=linux
   9233   need_lib_prefix=no
   9234   need_version=no
   9235   hardcode_into_libs=yes
   9236   if test "$host_cpu" = ia64; then
   9237     # AIX 5 supports IA64
   9238     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9239     shlibpath_var=LD_LIBRARY_PATH
   9240   else
   9241     # With GCC up to 2.95.x, collect2 would create an import file
   9242     # for dependence libraries.  The import file would start with
   9243     # the line `#! .'.  This would cause the generated library to
   9244     # depend on `.', always an invalid library.  This was fixed in
   9245     # development snapshots of GCC prior to 3.0.
   9246     case $host_os in
   9247       aix4 | aix4.[01] | aix4.[01].*)
   9248       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9249 	   echo ' yes '
   9250 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9251 	:
   9252       else
   9253 	can_build_shared=no
   9254       fi
   9255       ;;
   9256     esac
   9257     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9258     # soname into executable. Probably we can add versioning support to
   9259     # collect2, so additional links can be useful in future.
   9260     if test "$aix_use_runtimelinking" = yes; then
   9261       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9262       # instead of lib<name>.a to let people know that these are not
   9263       # typical AIX shared libraries.
   9264       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9265     else
   9266       # We preserve .a as extension for shared libraries through AIX4.2
   9267       # and later when we are not doing run time linking.
   9268       library_names_spec='${libname}${release}.a $libname.a'
   9269       soname_spec='${libname}${release}${shared_ext}$major'
   9270     fi
   9271     shlibpath_var=LIBPATH
   9272   fi
   9273   ;;
   9274 
   9275 amigaos*)
   9276   library_names_spec='$libname.ixlibrary $libname.a'
   9277   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9278   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'
   9279   ;;
   9280 
   9281 beos*)
   9282   library_names_spec='${libname}${shared_ext}'
   9283   dynamic_linker="$host_os ld.so"
   9284   shlibpath_var=LIBRARY_PATH
   9285   ;;
   9286 
   9287 bsdi[45]*)
   9288   version_type=linux
   9289   need_version=no
   9290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9291   soname_spec='${libname}${release}${shared_ext}$major'
   9292   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9293   shlibpath_var=LD_LIBRARY_PATH
   9294   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9295   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9296   # the default ld.so.conf also contains /usr/contrib/lib and
   9297   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9298   # libtool to hard-code these into programs
   9299   ;;
   9300 
   9301 cygwin* | mingw* | pw32*)
   9302   version_type=windows
   9303   shrext_cmds=".dll"
   9304   need_version=no
   9305   need_lib_prefix=no
   9306 
   9307   case $GCC,$host_os in
   9308   yes,cygwin* | yes,mingw* | yes,pw32*)
   9309     library_names_spec='$libname.dll.a'
   9310     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9311     postinstall_cmds='base_file=`basename \${file}`~
   9312       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9313       dldir=$destdir/`dirname \$dlpath`~
   9314       test -d \$dldir || mkdir -p \$dldir~
   9315       $install_prog $dir/$dlname \$dldir/$dlname~
   9316       chmod a+x \$dldir/$dlname'
   9317     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9318       dlpath=$dir/\$dldll~
   9319        $rm \$dlpath'
   9320     shlibpath_overrides_runpath=yes
   9321 
   9322     case $host_os in
   9323     cygwin*)
   9324       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9325       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9326       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9327       ;;
   9328     mingw*)
   9329       # MinGW DLLs use traditional 'lib' prefix
   9330       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9331       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9332       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9333         # It is most probably a Windows format PATH printed by
   9334         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9335         # path with ; separators, and with drive letters. We can handle the
   9336         # drive letters (cygwin fileutils understands them), so leave them,
   9337         # especially as we might pass files found there to a mingw objdump,
   9338         # which wouldn't understand a cygwinified path. Ahh.
   9339         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9340       else
   9341         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9342       fi
   9343       ;;
   9344     pw32*)
   9345       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9346       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9347       ;;
   9348     esac
   9349     ;;
   9350 
   9351   *)
   9352     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9353     ;;
   9354   esac
   9355   dynamic_linker='Win32 ld.exe'
   9356   # FIXME: first we should search . and the directory the executable is in
   9357   shlibpath_var=PATH
   9358   ;;
   9359 
   9360 darwin* | rhapsody*)
   9361   dynamic_linker="$host_os dyld"
   9362   version_type=darwin
   9363   need_lib_prefix=no
   9364   need_version=no
   9365   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9366   soname_spec='${libname}${release}${major}$shared_ext'
   9367   shlibpath_overrides_runpath=yes
   9368   shlibpath_var=DYLD_LIBRARY_PATH
   9369   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9370 
   9371   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9372   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9373   ;;
   9374 
   9375 dgux*)
   9376   version_type=linux
   9377   need_lib_prefix=no
   9378   need_version=no
   9379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9380   soname_spec='${libname}${release}${shared_ext}$major'
   9381   shlibpath_var=LD_LIBRARY_PATH
   9382   ;;
   9383 
   9384 freebsd1*)
   9385   dynamic_linker=no
   9386   ;;
   9387 
   9388 freebsd* | dragonfly*)
   9389   # DragonFly does not have aout.  When/if they implement a new
   9390   # versioning mechanism, adjust this.
   9391   if test -x /usr/bin/objformat; then
   9392     objformat=`/usr/bin/objformat`
   9393   else
   9394     case $host_os in
   9395     freebsd[123]*) objformat=aout ;;
   9396     *) objformat=elf ;;
   9397     esac
   9398   fi
   9399   version_type=freebsd-$objformat
   9400   case $version_type in
   9401     freebsd-elf*)
   9402       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9403       need_version=no
   9404       need_lib_prefix=no
   9405       ;;
   9406     freebsd-*)
   9407       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9408       need_version=yes
   9409       ;;
   9410   esac
   9411   shlibpath_var=LD_LIBRARY_PATH
   9412   case $host_os in
   9413   freebsd2*)
   9414     shlibpath_overrides_runpath=yes
   9415     ;;
   9416   freebsd3.[01]* | freebsdelf3.[01]*)
   9417     shlibpath_overrides_runpath=yes
   9418     hardcode_into_libs=yes
   9419     ;;
   9420   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9421   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9422     shlibpath_overrides_runpath=no
   9423     hardcode_into_libs=yes
   9424     ;;
   9425   *) # from 4.6 on, and DragonFly
   9426     shlibpath_overrides_runpath=yes
   9427     hardcode_into_libs=yes
   9428     ;;
   9429   esac
   9430   ;;
   9431 
   9432 gnu*)
   9433   version_type=linux
   9434   need_lib_prefix=no
   9435   need_version=no
   9436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9437   soname_spec='${libname}${release}${shared_ext}$major'
   9438   shlibpath_var=LD_LIBRARY_PATH
   9439   hardcode_into_libs=yes
   9440   ;;
   9441 
   9442 hpux9* | hpux10* | hpux11*)
   9443   # Give a soname corresponding to the major version so that dld.sl refuses to
   9444   # link against other versions.
   9445   version_type=sunos
   9446   need_lib_prefix=no
   9447   need_version=no
   9448   case $host_cpu in
   9449   ia64*)
   9450     shrext_cmds='.so'
   9451     hardcode_into_libs=yes
   9452     dynamic_linker="$host_os dld.so"
   9453     shlibpath_var=LD_LIBRARY_PATH
   9454     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9455     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9456     soname_spec='${libname}${release}${shared_ext}$major'
   9457     if test "X$HPUX_IA64_MODE" = X32; then
   9458       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9459     else
   9460       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9461     fi
   9462     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9463     ;;
   9464    hppa*64*)
   9465      shrext_cmds='.sl'
   9466      hardcode_into_libs=yes
   9467      dynamic_linker="$host_os dld.sl"
   9468      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9469      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9470      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9471      soname_spec='${libname}${release}${shared_ext}$major'
   9472      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9473      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9474      ;;
   9475    *)
   9476     shrext_cmds='.sl'
   9477     dynamic_linker="$host_os dld.sl"
   9478     shlibpath_var=SHLIB_PATH
   9479     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9480     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9481     soname_spec='${libname}${release}${shared_ext}$major'
   9482     ;;
   9483   esac
   9484   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9485   postinstall_cmds='chmod 555 $lib'
   9486   ;;
   9487 
   9488 interix[3-9]*)
   9489   version_type=linux
   9490   need_lib_prefix=no
   9491   need_version=no
   9492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9493   soname_spec='${libname}${release}${shared_ext}$major'
   9494   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9495   shlibpath_var=LD_LIBRARY_PATH
   9496   shlibpath_overrides_runpath=no
   9497   hardcode_into_libs=yes
   9498   ;;
   9499 
   9500 irix5* | irix6* | nonstopux*)
   9501   case $host_os in
   9502     nonstopux*) version_type=nonstopux ;;
   9503     *)
   9504 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9505 		version_type=linux
   9506 	else
   9507 		version_type=irix
   9508 	fi ;;
   9509   esac
   9510   need_lib_prefix=no
   9511   need_version=no
   9512   soname_spec='${libname}${release}${shared_ext}$major'
   9513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9514   case $host_os in
   9515   irix5* | nonstopux*)
   9516     libsuff= shlibsuff=
   9517     ;;
   9518   *)
   9519     case $LD in # libtool.m4 will add one of these switches to LD
   9520     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9521       libsuff= shlibsuff= libmagic=32-bit;;
   9522     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9523       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9524     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9525       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9526     *) libsuff= shlibsuff= libmagic=never-match;;
   9527     esac
   9528     ;;
   9529   esac
   9530   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9531   shlibpath_overrides_runpath=no
   9532   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9533   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9534   hardcode_into_libs=yes
   9535   ;;
   9536 
   9537 # No shared lib support for Linux oldld, aout, or coff.
   9538 linux*oldld* | linux*aout* | linux*coff*)
   9539   dynamic_linker=no
   9540   ;;
   9541 
   9542 # This must be Linux ELF.
   9543 linux* | k*bsd*-gnu)
   9544   version_type=linux
   9545   need_lib_prefix=no
   9546   need_version=no
   9547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9548   soname_spec='${libname}${release}${shared_ext}$major'
   9549   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9550   shlibpath_var=LD_LIBRARY_PATH
   9551   shlibpath_overrides_runpath=no
   9552   # This implies no fast_install, which is unacceptable.
   9553   # Some rework will be needed to allow for fast_install
   9554   # before this can be enabled.
   9555   hardcode_into_libs=yes
   9556   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9557   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9558 
   9559   # Append ld.so.conf contents to the search path
   9560   if test -f /etc/ld.so.conf; then
   9561     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' ' '`
   9562     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9563   fi
   9564 
   9565   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9566   # powerpc, because MkLinux only supported shared libraries with the
   9567   # GNU dynamic linker.  Since this was broken with cross compilers,
   9568   # most powerpc-linux boxes support dynamic linking these days and
   9569   # people can always --disable-shared, the test was removed, and we
   9570   # assume the GNU/Linux dynamic linker is in use.
   9571   dynamic_linker='GNU/Linux ld.so'
   9572   ;;
   9573 
   9574 netbsd*)
   9575   version_type=sunos
   9576   need_lib_prefix=no
   9577   need_version=no
   9578   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9580     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9581     dynamic_linker='NetBSD (a.out) ld.so'
   9582   else
   9583     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9584     soname_spec='${libname}${release}${shared_ext}$major'
   9585     dynamic_linker='NetBSD ld.elf_so'
   9586   fi
   9587   shlibpath_var=LD_LIBRARY_PATH
   9588   shlibpath_overrides_runpath=yes
   9589   hardcode_into_libs=yes
   9590   ;;
   9591 
   9592 newsos6)
   9593   version_type=linux
   9594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9595   shlibpath_var=LD_LIBRARY_PATH
   9596   shlibpath_overrides_runpath=yes
   9597   ;;
   9598 
   9599 nto-qnx*)
   9600   version_type=linux
   9601   need_lib_prefix=no
   9602   need_version=no
   9603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9604   soname_spec='${libname}${release}${shared_ext}$major'
   9605   shlibpath_var=LD_LIBRARY_PATH
   9606   shlibpath_overrides_runpath=yes
   9607   ;;
   9608 
   9609 openbsd*)
   9610   version_type=sunos
   9611   sys_lib_dlsearch_path_spec="/usr/lib"
   9612   need_lib_prefix=no
   9613   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9614   case $host_os in
   9615     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9616     *)                         need_version=no  ;;
   9617   esac
   9618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9619   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9620   shlibpath_var=LD_LIBRARY_PATH
   9621   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9622     case $host_os in
   9623       openbsd2.[89] | openbsd2.[89].*)
   9624 	shlibpath_overrides_runpath=no
   9625 	;;
   9626       *)
   9627 	shlibpath_overrides_runpath=yes
   9628 	;;
   9629       esac
   9630   else
   9631     shlibpath_overrides_runpath=yes
   9632   fi
   9633   ;;
   9634 
   9635 os2*)
   9636   libname_spec='$name'
   9637   shrext_cmds=".dll"
   9638   need_lib_prefix=no
   9639   library_names_spec='$libname${shared_ext} $libname.a'
   9640   dynamic_linker='OS/2 ld.exe'
   9641   shlibpath_var=LIBPATH
   9642   ;;
   9643 
   9644 osf3* | osf4* | osf5*)
   9645   version_type=osf
   9646   need_lib_prefix=no
   9647   need_version=no
   9648   soname_spec='${libname}${release}${shared_ext}$major'
   9649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9650   shlibpath_var=LD_LIBRARY_PATH
   9651   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9652   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9653   ;;
   9654 
   9655 rdos*)
   9656   dynamic_linker=no
   9657   ;;
   9658 
   9659 solaris*)
   9660   version_type=linux
   9661   need_lib_prefix=no
   9662   need_version=no
   9663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9664   soname_spec='${libname}${release}${shared_ext}$major'
   9665   shlibpath_var=LD_LIBRARY_PATH
   9666   shlibpath_overrides_runpath=yes
   9667   hardcode_into_libs=yes
   9668   # ldd complains unless libraries are executable
   9669   postinstall_cmds='chmod +x $lib'
   9670   ;;
   9671 
   9672 sunos4*)
   9673   version_type=sunos
   9674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9675   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9676   shlibpath_var=LD_LIBRARY_PATH
   9677   shlibpath_overrides_runpath=yes
   9678   if test "$with_gnu_ld" = yes; then
   9679     need_lib_prefix=no
   9680   fi
   9681   need_version=yes
   9682   ;;
   9683 
   9684 sysv4 | sysv4.3*)
   9685   version_type=linux
   9686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9687   soname_spec='${libname}${release}${shared_ext}$major'
   9688   shlibpath_var=LD_LIBRARY_PATH
   9689   case $host_vendor in
   9690     sni)
   9691       shlibpath_overrides_runpath=no
   9692       need_lib_prefix=no
   9693       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9694       runpath_var=LD_RUN_PATH
   9695       ;;
   9696     siemens)
   9697       need_lib_prefix=no
   9698       ;;
   9699     motorola)
   9700       need_lib_prefix=no
   9701       need_version=no
   9702       shlibpath_overrides_runpath=no
   9703       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9704       ;;
   9705   esac
   9706   ;;
   9707 
   9708 sysv4*MP*)
   9709   if test -d /usr/nec ;then
   9710     version_type=linux
   9711     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9712     soname_spec='$libname${shared_ext}.$major'
   9713     shlibpath_var=LD_LIBRARY_PATH
   9714   fi
   9715   ;;
   9716 
   9717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9718   version_type=freebsd-elf
   9719   need_lib_prefix=no
   9720   need_version=no
   9721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9722   soname_spec='${libname}${release}${shared_ext}$major'
   9723   shlibpath_var=LD_LIBRARY_PATH
   9724   hardcode_into_libs=yes
   9725   if test "$with_gnu_ld" = yes; then
   9726     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9727     shlibpath_overrides_runpath=no
   9728   else
   9729     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9730     shlibpath_overrides_runpath=yes
   9731     case $host_os in
   9732       sco3.2v5*)
   9733         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9734 	;;
   9735     esac
   9736   fi
   9737   sys_lib_dlsearch_path_spec='/usr/lib'
   9738   ;;
   9739 
   9740 uts4*)
   9741   version_type=linux
   9742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9743   soname_spec='${libname}${release}${shared_ext}$major'
   9744   shlibpath_var=LD_LIBRARY_PATH
   9745   ;;
   9746 
   9747 *)
   9748   dynamic_linker=no
   9749   ;;
   9750 esac
   9751 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9752 $as_echo "$dynamic_linker" >&6; }
   9753 test "$dynamic_linker" = no && can_build_shared=no
   9754 
   9755 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9756   $as_echo_n "(cached) " >&6
   9757 else
   9758   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9759 fi
   9760 
   9761 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9762 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9763   $as_echo_n "(cached) " >&6
   9764 else
   9765   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9766 fi
   9767 
   9768 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9769 
   9770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9771 if test "$GCC" = yes; then
   9772   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9773 fi
   9774 
   9775 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9777 hardcode_action=
   9778 if test -n "$hardcode_libdir_flag_spec" || \
   9779    test -n "$runpath_var" || \
   9780    test "X$hardcode_automatic" = "Xyes" ; then
   9781 
   9782   # We can hardcode non-existant directories.
   9783   if test "$hardcode_direct" != no &&
   9784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9785      # have to relink, otherwise we might link with an installed library
   9786      # when we should be linking with a yet-to-be-installed one
   9787      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9788      test "$hardcode_minus_L" != no; then
   9789     # Linking always hardcodes the temporary library directory.
   9790     hardcode_action=relink
   9791   else
   9792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9793     hardcode_action=immediate
   9794   fi
   9795 else
   9796   # We cannot hardcode anything, or else we can only hardcode existing
   9797   # directories.
   9798   hardcode_action=unsupported
   9799 fi
   9800 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9801 $as_echo "$hardcode_action" >&6; }
   9802 
   9803 if test "$hardcode_action" = relink; then
   9804   # Fast installation is not supported
   9805   enable_fast_install=no
   9806 elif test "$shlibpath_overrides_runpath" = yes ||
   9807      test "$enable_shared" = no; then
   9808   # Fast installation is not necessary
   9809   enable_fast_install=needless
   9810 fi
   9811 
   9812 striplib=
   9813 old_striplib=
   9814 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9815 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9816 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9817   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9818   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9819   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9820 $as_echo "yes" >&6; }
   9821 else
   9822 # FIXME - insert some real tests, host_os isn't really good enough
   9823   case $host_os in
   9824    darwin*)
   9825        if test -n "$STRIP" ; then
   9826          striplib="$STRIP -x"
   9827          old_striplib="$STRIP -S"
   9828          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9829 $as_echo "yes" >&6; }
   9830        else
   9831   { $as_echo "$as_me:$LINENO: result: no" >&5
   9832 $as_echo "no" >&6; }
   9833 fi
   9834        ;;
   9835    *)
   9836   { $as_echo "$as_me:$LINENO: result: no" >&5
   9837 $as_echo "no" >&6; }
   9838     ;;
   9839   esac
   9840 fi
   9841 
   9842 if test "x$enable_dlopen" != xyes; then
   9843   enable_dlopen=unknown
   9844   enable_dlopen_self=unknown
   9845   enable_dlopen_self_static=unknown
   9846 else
   9847   lt_cv_dlopen=no
   9848   lt_cv_dlopen_libs=
   9849 
   9850   case $host_os in
   9851   beos*)
   9852     lt_cv_dlopen="load_add_on"
   9853     lt_cv_dlopen_libs=
   9854     lt_cv_dlopen_self=yes
   9855     ;;
   9856 
   9857   mingw* | pw32*)
   9858     lt_cv_dlopen="LoadLibrary"
   9859     lt_cv_dlopen_libs=
   9860    ;;
   9861 
   9862   cygwin*)
   9863     lt_cv_dlopen="dlopen"
   9864     lt_cv_dlopen_libs=
   9865    ;;
   9866 
   9867   darwin*)
   9868   # if libdl is installed we need to link against it
   9869     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9870 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9872   $as_echo_n "(cached) " >&6
   9873 else
   9874   ac_check_lib_save_LIBS=$LIBS
   9875 LIBS="-ldl  $LIBS"
   9876 cat >conftest.$ac_ext <<_ACEOF
   9877 /* confdefs.h.  */
   9878 _ACEOF
   9879 cat confdefs.h >>conftest.$ac_ext
   9880 cat >>conftest.$ac_ext <<_ACEOF
   9881 /* end confdefs.h.  */
   9882 
   9883 /* Override any GCC internal prototype to avoid an error.
   9884    Use char because int might match the return type of a GCC
   9885    builtin and then its argument prototype would still apply.  */
   9886 #ifdef __cplusplus
   9887 extern "C"
   9888 #endif
   9889 char dlopen ();
   9890 int
   9891 main ()
   9892 {
   9893 return dlopen ();
   9894   ;
   9895   return 0;
   9896 }
   9897 _ACEOF
   9898 rm -f conftest.$ac_objext conftest$ac_exeext
   9899 if { (ac_try="$ac_link"
   9900 case "(($ac_try" in
   9901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9902   *) ac_try_echo=$ac_try;;
   9903 esac
   9904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9905 $as_echo "$ac_try_echo") >&5
   9906   (eval "$ac_link") 2>conftest.er1
   9907   ac_status=$?
   9908   grep -v '^ *+' conftest.er1 >conftest.err
   9909   rm -f conftest.er1
   9910   cat conftest.err >&5
   9911   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9912   (exit $ac_status); } && {
   9913 	 test -z "$ac_c_werror_flag" ||
   9914 	 test ! -s conftest.err
   9915        } && test -s conftest$ac_exeext && {
   9916 	 test "$cross_compiling" = yes ||
   9917 	 $as_test_x conftest$ac_exeext
   9918        }; then
   9919   ac_cv_lib_dl_dlopen=yes
   9920 else
   9921   $as_echo "$as_me: failed program was:" >&5
   9922 sed 's/^/| /' conftest.$ac_ext >&5
   9923 
   9924 	ac_cv_lib_dl_dlopen=no
   9925 fi
   9926 
   9927 rm -rf conftest.dSYM
   9928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9929       conftest$ac_exeext conftest.$ac_ext
   9930 LIBS=$ac_check_lib_save_LIBS
   9931 fi
   9932 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9933 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9934 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9935   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9936 else
   9937 
   9938     lt_cv_dlopen="dyld"
   9939     lt_cv_dlopen_libs=
   9940     lt_cv_dlopen_self=yes
   9941 
   9942 fi
   9943 
   9944    ;;
   9945 
   9946   *)
   9947     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9948 $as_echo_n "checking for shl_load... " >&6; }
   9949 if test "${ac_cv_func_shl_load+set}" = set; then
   9950   $as_echo_n "(cached) " >&6
   9951 else
   9952   cat >conftest.$ac_ext <<_ACEOF
   9953 /* confdefs.h.  */
   9954 _ACEOF
   9955 cat confdefs.h >>conftest.$ac_ext
   9956 cat >>conftest.$ac_ext <<_ACEOF
   9957 /* end confdefs.h.  */
   9958 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9960 #define shl_load innocuous_shl_load
   9961 
   9962 /* System header to define __stub macros and hopefully few prototypes,
   9963     which can conflict with char shl_load (); below.
   9964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9965     <limits.h> exists even on freestanding compilers.  */
   9966 
   9967 #ifdef __STDC__
   9968 # include <limits.h>
   9969 #else
   9970 # include <assert.h>
   9971 #endif
   9972 
   9973 #undef shl_load
   9974 
   9975 /* Override any GCC internal prototype to avoid an error.
   9976    Use char because int might match the return type of a GCC
   9977    builtin and then its argument prototype would still apply.  */
   9978 #ifdef __cplusplus
   9979 extern "C"
   9980 #endif
   9981 char shl_load ();
   9982 /* The GNU C library defines this for functions which it implements
   9983     to always fail with ENOSYS.  Some functions are actually named
   9984     something starting with __ and the normal name is an alias.  */
   9985 #if defined __stub_shl_load || defined __stub___shl_load
   9986 choke me
   9987 #endif
   9988 
   9989 int
   9990 main ()
   9991 {
   9992 return shl_load ();
   9993   ;
   9994   return 0;
   9995 }
   9996 _ACEOF
   9997 rm -f conftest.$ac_objext conftest$ac_exeext
   9998 if { (ac_try="$ac_link"
   9999 case "(($ac_try" in
   10000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10001   *) ac_try_echo=$ac_try;;
   10002 esac
   10003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10004 $as_echo "$ac_try_echo") >&5
   10005   (eval "$ac_link") 2>conftest.er1
   10006   ac_status=$?
   10007   grep -v '^ *+' conftest.er1 >conftest.err
   10008   rm -f conftest.er1
   10009   cat conftest.err >&5
   10010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10011   (exit $ac_status); } && {
   10012 	 test -z "$ac_c_werror_flag" ||
   10013 	 test ! -s conftest.err
   10014        } && test -s conftest$ac_exeext && {
   10015 	 test "$cross_compiling" = yes ||
   10016 	 $as_test_x conftest$ac_exeext
   10017        }; then
   10018   ac_cv_func_shl_load=yes
   10019 else
   10020   $as_echo "$as_me: failed program was:" >&5
   10021 sed 's/^/| /' conftest.$ac_ext >&5
   10022 
   10023 	ac_cv_func_shl_load=no
   10024 fi
   10025 
   10026 rm -rf conftest.dSYM
   10027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10028       conftest$ac_exeext conftest.$ac_ext
   10029 fi
   10030 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10031 $as_echo "$ac_cv_func_shl_load" >&6; }
   10032 if test "x$ac_cv_func_shl_load" = x""yes; then
   10033   lt_cv_dlopen="shl_load"
   10034 else
   10035   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10036 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10037 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10038   $as_echo_n "(cached) " >&6
   10039 else
   10040   ac_check_lib_save_LIBS=$LIBS
   10041 LIBS="-ldld  $LIBS"
   10042 cat >conftest.$ac_ext <<_ACEOF
   10043 /* confdefs.h.  */
   10044 _ACEOF
   10045 cat confdefs.h >>conftest.$ac_ext
   10046 cat >>conftest.$ac_ext <<_ACEOF
   10047 /* end confdefs.h.  */
   10048 
   10049 /* Override any GCC internal prototype to avoid an error.
   10050    Use char because int might match the return type of a GCC
   10051    builtin and then its argument prototype would still apply.  */
   10052 #ifdef __cplusplus
   10053 extern "C"
   10054 #endif
   10055 char shl_load ();
   10056 int
   10057 main ()
   10058 {
   10059 return shl_load ();
   10060   ;
   10061   return 0;
   10062 }
   10063 _ACEOF
   10064 rm -f conftest.$ac_objext conftest$ac_exeext
   10065 if { (ac_try="$ac_link"
   10066 case "(($ac_try" in
   10067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10068   *) ac_try_echo=$ac_try;;
   10069 esac
   10070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10071 $as_echo "$ac_try_echo") >&5
   10072   (eval "$ac_link") 2>conftest.er1
   10073   ac_status=$?
   10074   grep -v '^ *+' conftest.er1 >conftest.err
   10075   rm -f conftest.er1
   10076   cat conftest.err >&5
   10077   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10078   (exit $ac_status); } && {
   10079 	 test -z "$ac_c_werror_flag" ||
   10080 	 test ! -s conftest.err
   10081        } && test -s conftest$ac_exeext && {
   10082 	 test "$cross_compiling" = yes ||
   10083 	 $as_test_x conftest$ac_exeext
   10084        }; then
   10085   ac_cv_lib_dld_shl_load=yes
   10086 else
   10087   $as_echo "$as_me: failed program was:" >&5
   10088 sed 's/^/| /' conftest.$ac_ext >&5
   10089 
   10090 	ac_cv_lib_dld_shl_load=no
   10091 fi
   10092 
   10093 rm -rf conftest.dSYM
   10094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10095       conftest$ac_exeext conftest.$ac_ext
   10096 LIBS=$ac_check_lib_save_LIBS
   10097 fi
   10098 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10099 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10100 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10101   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10102 else
   10103   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10104 $as_echo_n "checking for dlopen... " >&6; }
   10105 if test "${ac_cv_func_dlopen+set}" = set; then
   10106   $as_echo_n "(cached) " >&6
   10107 else
   10108   cat >conftest.$ac_ext <<_ACEOF
   10109 /* confdefs.h.  */
   10110 _ACEOF
   10111 cat confdefs.h >>conftest.$ac_ext
   10112 cat >>conftest.$ac_ext <<_ACEOF
   10113 /* end confdefs.h.  */
   10114 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10116 #define dlopen innocuous_dlopen
   10117 
   10118 /* System header to define __stub macros and hopefully few prototypes,
   10119     which can conflict with char dlopen (); below.
   10120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10121     <limits.h> exists even on freestanding compilers.  */
   10122 
   10123 #ifdef __STDC__
   10124 # include <limits.h>
   10125 #else
   10126 # include <assert.h>
   10127 #endif
   10128 
   10129 #undef dlopen
   10130 
   10131 /* Override any GCC internal prototype to avoid an error.
   10132    Use char because int might match the return type of a GCC
   10133    builtin and then its argument prototype would still apply.  */
   10134 #ifdef __cplusplus
   10135 extern "C"
   10136 #endif
   10137 char dlopen ();
   10138 /* The GNU C library defines this for functions which it implements
   10139     to always fail with ENOSYS.  Some functions are actually named
   10140     something starting with __ and the normal name is an alias.  */
   10141 #if defined __stub_dlopen || defined __stub___dlopen
   10142 choke me
   10143 #endif
   10144 
   10145 int
   10146 main ()
   10147 {
   10148 return dlopen ();
   10149   ;
   10150   return 0;
   10151 }
   10152 _ACEOF
   10153 rm -f conftest.$ac_objext conftest$ac_exeext
   10154 if { (ac_try="$ac_link"
   10155 case "(($ac_try" in
   10156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10157   *) ac_try_echo=$ac_try;;
   10158 esac
   10159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10160 $as_echo "$ac_try_echo") >&5
   10161   (eval "$ac_link") 2>conftest.er1
   10162   ac_status=$?
   10163   grep -v '^ *+' conftest.er1 >conftest.err
   10164   rm -f conftest.er1
   10165   cat conftest.err >&5
   10166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10167   (exit $ac_status); } && {
   10168 	 test -z "$ac_c_werror_flag" ||
   10169 	 test ! -s conftest.err
   10170        } && test -s conftest$ac_exeext && {
   10171 	 test "$cross_compiling" = yes ||
   10172 	 $as_test_x conftest$ac_exeext
   10173        }; then
   10174   ac_cv_func_dlopen=yes
   10175 else
   10176   $as_echo "$as_me: failed program was:" >&5
   10177 sed 's/^/| /' conftest.$ac_ext >&5
   10178 
   10179 	ac_cv_func_dlopen=no
   10180 fi
   10181 
   10182 rm -rf conftest.dSYM
   10183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10184       conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10187 $as_echo "$ac_cv_func_dlopen" >&6; }
   10188 if test "x$ac_cv_func_dlopen" = x""yes; then
   10189   lt_cv_dlopen="dlopen"
   10190 else
   10191   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10192 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10193 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10194   $as_echo_n "(cached) " >&6
   10195 else
   10196   ac_check_lib_save_LIBS=$LIBS
   10197 LIBS="-ldl  $LIBS"
   10198 cat >conftest.$ac_ext <<_ACEOF
   10199 /* confdefs.h.  */
   10200 _ACEOF
   10201 cat confdefs.h >>conftest.$ac_ext
   10202 cat >>conftest.$ac_ext <<_ACEOF
   10203 /* end confdefs.h.  */
   10204 
   10205 /* Override any GCC internal prototype to avoid an error.
   10206    Use char because int might match the return type of a GCC
   10207    builtin and then its argument prototype would still apply.  */
   10208 #ifdef __cplusplus
   10209 extern "C"
   10210 #endif
   10211 char dlopen ();
   10212 int
   10213 main ()
   10214 {
   10215 return dlopen ();
   10216   ;
   10217   return 0;
   10218 }
   10219 _ACEOF
   10220 rm -f conftest.$ac_objext conftest$ac_exeext
   10221 if { (ac_try="$ac_link"
   10222 case "(($ac_try" in
   10223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10224   *) ac_try_echo=$ac_try;;
   10225 esac
   10226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10227 $as_echo "$ac_try_echo") >&5
   10228   (eval "$ac_link") 2>conftest.er1
   10229   ac_status=$?
   10230   grep -v '^ *+' conftest.er1 >conftest.err
   10231   rm -f conftest.er1
   10232   cat conftest.err >&5
   10233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10234   (exit $ac_status); } && {
   10235 	 test -z "$ac_c_werror_flag" ||
   10236 	 test ! -s conftest.err
   10237        } && test -s conftest$ac_exeext && {
   10238 	 test "$cross_compiling" = yes ||
   10239 	 $as_test_x conftest$ac_exeext
   10240        }; then
   10241   ac_cv_lib_dl_dlopen=yes
   10242 else
   10243   $as_echo "$as_me: failed program was:" >&5
   10244 sed 's/^/| /' conftest.$ac_ext >&5
   10245 
   10246 	ac_cv_lib_dl_dlopen=no
   10247 fi
   10248 
   10249 rm -rf conftest.dSYM
   10250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10251       conftest$ac_exeext conftest.$ac_ext
   10252 LIBS=$ac_check_lib_save_LIBS
   10253 fi
   10254 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10256 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10257   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10258 else
   10259   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10261 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10262   $as_echo_n "(cached) " >&6
   10263 else
   10264   ac_check_lib_save_LIBS=$LIBS
   10265 LIBS="-lsvld  $LIBS"
   10266 cat >conftest.$ac_ext <<_ACEOF
   10267 /* confdefs.h.  */
   10268 _ACEOF
   10269 cat confdefs.h >>conftest.$ac_ext
   10270 cat >>conftest.$ac_ext <<_ACEOF
   10271 /* end confdefs.h.  */
   10272 
   10273 /* Override any GCC internal prototype to avoid an error.
   10274    Use char because int might match the return type of a GCC
   10275    builtin and then its argument prototype would still apply.  */
   10276 #ifdef __cplusplus
   10277 extern "C"
   10278 #endif
   10279 char dlopen ();
   10280 int
   10281 main ()
   10282 {
   10283 return dlopen ();
   10284   ;
   10285   return 0;
   10286 }
   10287 _ACEOF
   10288 rm -f conftest.$ac_objext conftest$ac_exeext
   10289 if { (ac_try="$ac_link"
   10290 case "(($ac_try" in
   10291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10292   *) ac_try_echo=$ac_try;;
   10293 esac
   10294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10295 $as_echo "$ac_try_echo") >&5
   10296   (eval "$ac_link") 2>conftest.er1
   10297   ac_status=$?
   10298   grep -v '^ *+' conftest.er1 >conftest.err
   10299   rm -f conftest.er1
   10300   cat conftest.err >&5
   10301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10302   (exit $ac_status); } && {
   10303 	 test -z "$ac_c_werror_flag" ||
   10304 	 test ! -s conftest.err
   10305        } && test -s conftest$ac_exeext && {
   10306 	 test "$cross_compiling" = yes ||
   10307 	 $as_test_x conftest$ac_exeext
   10308        }; then
   10309   ac_cv_lib_svld_dlopen=yes
   10310 else
   10311   $as_echo "$as_me: failed program was:" >&5
   10312 sed 's/^/| /' conftest.$ac_ext >&5
   10313 
   10314 	ac_cv_lib_svld_dlopen=no
   10315 fi
   10316 
   10317 rm -rf conftest.dSYM
   10318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10319       conftest$ac_exeext conftest.$ac_ext
   10320 LIBS=$ac_check_lib_save_LIBS
   10321 fi
   10322 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10323 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10324 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10325   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10326 else
   10327   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10328 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10329 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10330   $as_echo_n "(cached) " >&6
   10331 else
   10332   ac_check_lib_save_LIBS=$LIBS
   10333 LIBS="-ldld  $LIBS"
   10334 cat >conftest.$ac_ext <<_ACEOF
   10335 /* confdefs.h.  */
   10336 _ACEOF
   10337 cat confdefs.h >>conftest.$ac_ext
   10338 cat >>conftest.$ac_ext <<_ACEOF
   10339 /* end confdefs.h.  */
   10340 
   10341 /* Override any GCC internal prototype to avoid an error.
   10342    Use char because int might match the return type of a GCC
   10343    builtin and then its argument prototype would still apply.  */
   10344 #ifdef __cplusplus
   10345 extern "C"
   10346 #endif
   10347 char dld_link ();
   10348 int
   10349 main ()
   10350 {
   10351 return dld_link ();
   10352   ;
   10353   return 0;
   10354 }
   10355 _ACEOF
   10356 rm -f conftest.$ac_objext conftest$ac_exeext
   10357 if { (ac_try="$ac_link"
   10358 case "(($ac_try" in
   10359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10360   *) ac_try_echo=$ac_try;;
   10361 esac
   10362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10363 $as_echo "$ac_try_echo") >&5
   10364   (eval "$ac_link") 2>conftest.er1
   10365   ac_status=$?
   10366   grep -v '^ *+' conftest.er1 >conftest.err
   10367   rm -f conftest.er1
   10368   cat conftest.err >&5
   10369   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10370   (exit $ac_status); } && {
   10371 	 test -z "$ac_c_werror_flag" ||
   10372 	 test ! -s conftest.err
   10373        } && test -s conftest$ac_exeext && {
   10374 	 test "$cross_compiling" = yes ||
   10375 	 $as_test_x conftest$ac_exeext
   10376        }; then
   10377   ac_cv_lib_dld_dld_link=yes
   10378 else
   10379   $as_echo "$as_me: failed program was:" >&5
   10380 sed 's/^/| /' conftest.$ac_ext >&5
   10381 
   10382 	ac_cv_lib_dld_dld_link=no
   10383 fi
   10384 
   10385 rm -rf conftest.dSYM
   10386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10387       conftest$ac_exeext conftest.$ac_ext
   10388 LIBS=$ac_check_lib_save_LIBS
   10389 fi
   10390 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10391 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10392 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10393   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10394 fi
   10395 
   10396 
   10397 fi
   10398 
   10399 
   10400 fi
   10401 
   10402 
   10403 fi
   10404 
   10405 
   10406 fi
   10407 
   10408 
   10409 fi
   10410 
   10411     ;;
   10412   esac
   10413 
   10414   if test "x$lt_cv_dlopen" != xno; then
   10415     enable_dlopen=yes
   10416   else
   10417     enable_dlopen=no
   10418   fi
   10419 
   10420   case $lt_cv_dlopen in
   10421   dlopen)
   10422     save_CPPFLAGS="$CPPFLAGS"
   10423     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10424 
   10425     save_LDFLAGS="$LDFLAGS"
   10426     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10427 
   10428     save_LIBS="$LIBS"
   10429     LIBS="$lt_cv_dlopen_libs $LIBS"
   10430 
   10431     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10432 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10433 if test "${lt_cv_dlopen_self+set}" = set; then
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   	  if test "$cross_compiling" = yes; then :
   10437   lt_cv_dlopen_self=cross
   10438 else
   10439   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10440   lt_status=$lt_dlunknown
   10441   cat > conftest.$ac_ext <<EOF
   10442 #line 10442 "configure"
   10443 #include "confdefs.h"
   10444 
   10445 #if HAVE_DLFCN_H
   10446 #include <dlfcn.h>
   10447 #endif
   10448 
   10449 #include <stdio.h>
   10450 
   10451 #ifdef RTLD_GLOBAL
   10452 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10453 #else
   10454 #  ifdef DL_GLOBAL
   10455 #    define LT_DLGLOBAL		DL_GLOBAL
   10456 #  else
   10457 #    define LT_DLGLOBAL		0
   10458 #  endif
   10459 #endif
   10460 
   10461 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10462    find out it does not work in some platform. */
   10463 #ifndef LT_DLLAZY_OR_NOW
   10464 #  ifdef RTLD_LAZY
   10465 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10466 #  else
   10467 #    ifdef DL_LAZY
   10468 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10469 #    else
   10470 #      ifdef RTLD_NOW
   10471 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10472 #      else
   10473 #        ifdef DL_NOW
   10474 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10475 #        else
   10476 #          define LT_DLLAZY_OR_NOW	0
   10477 #        endif
   10478 #      endif
   10479 #    endif
   10480 #  endif
   10481 #endif
   10482 
   10483 #ifdef __cplusplus
   10484 extern "C" void exit (int);
   10485 #endif
   10486 
   10487 void fnord() { int i=42;}
   10488 int main ()
   10489 {
   10490   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10491   int status = $lt_dlunknown;
   10492 
   10493   if (self)
   10494     {
   10495       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10496       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10497       /* dlclose (self); */
   10498     }
   10499   else
   10500     puts (dlerror ());
   10501 
   10502     exit (status);
   10503 }
   10504 EOF
   10505   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10506   (eval $ac_link) 2>&5
   10507   ac_status=$?
   10508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10509   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10510     (./conftest; exit; ) >&5 2>/dev/null
   10511     lt_status=$?
   10512     case x$lt_status in
   10513       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10514       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10515       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10516     esac
   10517   else :
   10518     # compilation failed
   10519     lt_cv_dlopen_self=no
   10520   fi
   10521 fi
   10522 rm -fr conftest*
   10523 
   10524 
   10525 fi
   10526 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10527 $as_echo "$lt_cv_dlopen_self" >&6; }
   10528 
   10529     if test "x$lt_cv_dlopen_self" = xyes; then
   10530       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10531       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10532 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10533 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10534   $as_echo_n "(cached) " >&6
   10535 else
   10536   	  if test "$cross_compiling" = yes; then :
   10537   lt_cv_dlopen_self_static=cross
   10538 else
   10539   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10540   lt_status=$lt_dlunknown
   10541   cat > conftest.$ac_ext <<EOF
   10542 #line 10542 "configure"
   10543 #include "confdefs.h"
   10544 
   10545 #if HAVE_DLFCN_H
   10546 #include <dlfcn.h>
   10547 #endif
   10548 
   10549 #include <stdio.h>
   10550 
   10551 #ifdef RTLD_GLOBAL
   10552 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10553 #else
   10554 #  ifdef DL_GLOBAL
   10555 #    define LT_DLGLOBAL		DL_GLOBAL
   10556 #  else
   10557 #    define LT_DLGLOBAL		0
   10558 #  endif
   10559 #endif
   10560 
   10561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10562    find out it does not work in some platform. */
   10563 #ifndef LT_DLLAZY_OR_NOW
   10564 #  ifdef RTLD_LAZY
   10565 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10566 #  else
   10567 #    ifdef DL_LAZY
   10568 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10569 #    else
   10570 #      ifdef RTLD_NOW
   10571 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10572 #      else
   10573 #        ifdef DL_NOW
   10574 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10575 #        else
   10576 #          define LT_DLLAZY_OR_NOW	0
   10577 #        endif
   10578 #      endif
   10579 #    endif
   10580 #  endif
   10581 #endif
   10582 
   10583 #ifdef __cplusplus
   10584 extern "C" void exit (int);
   10585 #endif
   10586 
   10587 void fnord() { int i=42;}
   10588 int main ()
   10589 {
   10590   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10591   int status = $lt_dlunknown;
   10592 
   10593   if (self)
   10594     {
   10595       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10596       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10597       /* dlclose (self); */
   10598     }
   10599   else
   10600     puts (dlerror ());
   10601 
   10602     exit (status);
   10603 }
   10604 EOF
   10605   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10606   (eval $ac_link) 2>&5
   10607   ac_status=$?
   10608   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10609   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10610     (./conftest; exit; ) >&5 2>/dev/null
   10611     lt_status=$?
   10612     case x$lt_status in
   10613       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10614       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10615       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10616     esac
   10617   else :
   10618     # compilation failed
   10619     lt_cv_dlopen_self_static=no
   10620   fi
   10621 fi
   10622 rm -fr conftest*
   10623 
   10624 
   10625 fi
   10626 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10627 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10628     fi
   10629 
   10630     CPPFLAGS="$save_CPPFLAGS"
   10631     LDFLAGS="$save_LDFLAGS"
   10632     LIBS="$save_LIBS"
   10633     ;;
   10634   esac
   10635 
   10636   case $lt_cv_dlopen_self in
   10637   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10638   *) enable_dlopen_self=unknown ;;
   10639   esac
   10640 
   10641   case $lt_cv_dlopen_self_static in
   10642   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10643   *) enable_dlopen_self_static=unknown ;;
   10644   esac
   10645 fi
   10646 
   10647 
   10648 # Report which library types will actually be built
   10649 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10650 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10651 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10652 $as_echo "$can_build_shared" >&6; }
   10653 
   10654 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10655 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10656 test "$can_build_shared" = "no" && enable_shared=no
   10657 
   10658 # On AIX, shared libraries and static libraries use the same namespace, and
   10659 # are all built from PIC.
   10660 case $host_os in
   10661 aix3*)
   10662   test "$enable_shared" = yes && enable_static=no
   10663   if test -n "$RANLIB"; then
   10664     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10665     postinstall_cmds='$RANLIB $lib'
   10666   fi
   10667   ;;
   10668 
   10669 aix[4-9]*)
   10670   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10671     test "$enable_shared" = yes && enable_static=no
   10672   fi
   10673     ;;
   10674 esac
   10675 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10676 $as_echo "$enable_shared" >&6; }
   10677 
   10678 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10679 $as_echo_n "checking whether to build static libraries... " >&6; }
   10680 # Make sure either enable_shared or enable_static is yes.
   10681 test "$enable_shared" = yes || enable_static=yes
   10682 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10683 $as_echo "$enable_static" >&6; }
   10684 
   10685 # The else clause should only fire when bootstrapping the
   10686 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10687 # with your package, and you will get complaints that there are
   10688 # no rules to generate ltmain.sh.
   10689 if test -f "$ltmain"; then
   10690   # See if we are running on zsh, and set the options which allow our commands through
   10691   # without removal of \ escapes.
   10692   if test -n "${ZSH_VERSION+set}" ; then
   10693     setopt NO_GLOB_SUBST
   10694   fi
   10695   # Now quote all the things that may contain metacharacters while being
   10696   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10697   # variables and quote the copies for generation of the libtool script.
   10698   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10699     SED SHELL STRIP \
   10700     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10701     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10702     deplibs_check_method reload_flag reload_cmds need_locks \
   10703     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10704     lt_cv_sys_global_symbol_to_c_name_address \
   10705     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10706     old_postinstall_cmds old_postuninstall_cmds \
   10707     compiler \
   10708     CC \
   10709     LD \
   10710     lt_prog_compiler_wl \
   10711     lt_prog_compiler_pic \
   10712     lt_prog_compiler_static \
   10713     lt_prog_compiler_no_builtin_flag \
   10714     export_dynamic_flag_spec \
   10715     thread_safe_flag_spec \
   10716     whole_archive_flag_spec \
   10717     enable_shared_with_static_runtimes \
   10718     old_archive_cmds \
   10719     old_archive_from_new_cmds \
   10720     predep_objects \
   10721     postdep_objects \
   10722     predeps \
   10723     postdeps \
   10724     compiler_lib_search_path \
   10725     compiler_lib_search_dirs \
   10726     archive_cmds \
   10727     archive_expsym_cmds \
   10728     postinstall_cmds \
   10729     postuninstall_cmds \
   10730     old_archive_from_expsyms_cmds \
   10731     allow_undefined_flag \
   10732     no_undefined_flag \
   10733     export_symbols_cmds \
   10734     hardcode_libdir_flag_spec \
   10735     hardcode_libdir_flag_spec_ld \
   10736     hardcode_libdir_separator \
   10737     hardcode_automatic \
   10738     module_cmds \
   10739     module_expsym_cmds \
   10740     lt_cv_prog_compiler_c_o \
   10741     fix_srcfile_path \
   10742     exclude_expsyms \
   10743     include_expsyms; do
   10744 
   10745     case $var in
   10746     old_archive_cmds | \
   10747     old_archive_from_new_cmds | \
   10748     archive_cmds | \
   10749     archive_expsym_cmds | \
   10750     module_cmds | \
   10751     module_expsym_cmds | \
   10752     old_archive_from_expsyms_cmds | \
   10753     export_symbols_cmds | \
   10754     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10755     postinstall_cmds | postuninstall_cmds | \
   10756     old_postinstall_cmds | old_postuninstall_cmds | \
   10757     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10758       # Double-quote double-evaled strings.
   10759       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10760       ;;
   10761     *)
   10762       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10763       ;;
   10764     esac
   10765   done
   10766 
   10767   case $lt_echo in
   10768   *'\$0 --fallback-echo"')
   10769     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10770     ;;
   10771   esac
   10772 
   10773 cfgfile="${ofile}T"
   10774   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10775   $rm -f "$cfgfile"
   10776   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10777 $as_echo "$as_me: creating $ofile" >&6;}
   10778 
   10779   cat <<__EOF__ >> "$cfgfile"
   10780 #! $SHELL
   10781 
   10782 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10783 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10784 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10785 #
   10786 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10787 # Free Software Foundation, Inc.
   10788 #
   10789 # This file is part of GNU Libtool:
   10790 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10791 #
   10792 # This program is free software; you can redistribute it and/or modify
   10793 # it under the terms of the GNU General Public License as published by
   10794 # the Free Software Foundation; either version 2 of the License, or
   10795 # (at your option) any later version.
   10796 #
   10797 # This program is distributed in the hope that it will be useful, but
   10798 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10799 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10800 # General Public License for more details.
   10801 #
   10802 # You should have received a copy of the GNU General Public License
   10803 # along with this program; if not, write to the Free Software
   10804 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10805 #
   10806 # As a special exception to the GNU General Public License, if you
   10807 # distribute this file as part of a program that contains a
   10808 # configuration script generated by Autoconf, you may include it under
   10809 # the same distribution terms that you use for the rest of that program.
   10810 
   10811 # A sed program that does not truncate output.
   10812 SED=$lt_SED
   10813 
   10814 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10815 Xsed="$SED -e 1s/^X//"
   10816 
   10817 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10818 # if CDPATH is set.
   10819 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10820 
   10821 # The names of the tagged configurations supported by this script.
   10822 available_tags=
   10823 
   10824 # ### BEGIN LIBTOOL CONFIG
   10825 
   10826 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10827 
   10828 # Shell to use when invoking shell scripts.
   10829 SHELL=$lt_SHELL
   10830 
   10831 # Whether or not to build shared libraries.
   10832 build_libtool_libs=$enable_shared
   10833 
   10834 # Whether or not to build static libraries.
   10835 build_old_libs=$enable_static
   10836 
   10837 # Whether or not to add -lc for building shared libraries.
   10838 build_libtool_need_lc=$archive_cmds_need_lc
   10839 
   10840 # Whether or not to disallow shared libs when runtime libs are static
   10841 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10842 
   10843 # Whether or not to optimize for fast installation.
   10844 fast_install=$enable_fast_install
   10845 
   10846 # The host system.
   10847 host_alias=$host_alias
   10848 host=$host
   10849 host_os=$host_os
   10850 
   10851 # The build system.
   10852 build_alias=$build_alias
   10853 build=$build
   10854 build_os=$build_os
   10855 
   10856 # An echo program that does not interpret backslashes.
   10857 echo=$lt_echo
   10858 
   10859 # The archiver.
   10860 AR=$lt_AR
   10861 AR_FLAGS=$lt_AR_FLAGS
   10862 
   10863 # A C compiler.
   10864 LTCC=$lt_LTCC
   10865 
   10866 # LTCC compiler flags.
   10867 LTCFLAGS=$lt_LTCFLAGS
   10868 
   10869 # A language-specific compiler.
   10870 CC=$lt_compiler
   10871 
   10872 # Is the compiler the GNU C compiler?
   10873 with_gcc=$GCC
   10874 
   10875 # An ERE matcher.
   10876 EGREP=$lt_EGREP
   10877 
   10878 # The linker used to build libraries.
   10879 LD=$lt_LD
   10880 
   10881 # Whether we need hard or soft links.
   10882 LN_S=$lt_LN_S
   10883 
   10884 # A BSD-compatible nm program.
   10885 NM=$lt_NM
   10886 
   10887 # A symbol stripping program
   10888 STRIP=$lt_STRIP
   10889 
   10890 # Used to examine libraries when file_magic_cmd begins "file"
   10891 MAGIC_CMD=$MAGIC_CMD
   10892 
   10893 # Used on cygwin: DLL creation program.
   10894 DLLTOOL="$DLLTOOL"
   10895 
   10896 # Used on cygwin: object dumper.
   10897 OBJDUMP="$OBJDUMP"
   10898 
   10899 # Used on cygwin: assembler.
   10900 AS="$AS"
   10901 
   10902 # The name of the directory that contains temporary libtool files.
   10903 objdir=$objdir
   10904 
   10905 # How to create reloadable object files.
   10906 reload_flag=$lt_reload_flag
   10907 reload_cmds=$lt_reload_cmds
   10908 
   10909 # How to pass a linker flag through the compiler.
   10910 wl=$lt_lt_prog_compiler_wl
   10911 
   10912 # Object file suffix (normally "o").
   10913 objext="$ac_objext"
   10914 
   10915 # Old archive suffix (normally "a").
   10916 libext="$libext"
   10917 
   10918 # Shared library suffix (normally ".so").
   10919 shrext_cmds='$shrext_cmds'
   10920 
   10921 # Executable file suffix (normally "").
   10922 exeext="$exeext"
   10923 
   10924 # Additional compiler flags for building library objects.
   10925 pic_flag=$lt_lt_prog_compiler_pic
   10926 pic_mode=$pic_mode
   10927 
   10928 # What is the maximum length of a command?
   10929 max_cmd_len=$lt_cv_sys_max_cmd_len
   10930 
   10931 # Does compiler simultaneously support -c and -o options?
   10932 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10933 
   10934 # Must we lock files when doing compilation?
   10935 need_locks=$lt_need_locks
   10936 
   10937 # Do we need the lib prefix for modules?
   10938 need_lib_prefix=$need_lib_prefix
   10939 
   10940 # Do we need a version for libraries?
   10941 need_version=$need_version
   10942 
   10943 # Whether dlopen is supported.
   10944 dlopen_support=$enable_dlopen
   10945 
   10946 # Whether dlopen of programs is supported.
   10947 dlopen_self=$enable_dlopen_self
   10948 
   10949 # Whether dlopen of statically linked programs is supported.
   10950 dlopen_self_static=$enable_dlopen_self_static
   10951 
   10952 # Compiler flag to prevent dynamic linking.
   10953 link_static_flag=$lt_lt_prog_compiler_static
   10954 
   10955 # Compiler flag to turn off builtin functions.
   10956 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10957 
   10958 # Compiler flag to allow reflexive dlopens.
   10959 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10960 
   10961 # Compiler flag to generate shared objects directly from archives.
   10962 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10963 
   10964 # Compiler flag to generate thread-safe objects.
   10965 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10966 
   10967 # Library versioning type.
   10968 version_type=$version_type
   10969 
   10970 # Format of library name prefix.
   10971 libname_spec=$lt_libname_spec
   10972 
   10973 # List of archive names.  First name is the real one, the rest are links.
   10974 # The last name is the one that the linker finds with -lNAME.
   10975 library_names_spec=$lt_library_names_spec
   10976 
   10977 # The coded name of the library, if different from the real name.
   10978 soname_spec=$lt_soname_spec
   10979 
   10980 # Commands used to build and install an old-style archive.
   10981 RANLIB=$lt_RANLIB
   10982 old_archive_cmds=$lt_old_archive_cmds
   10983 old_postinstall_cmds=$lt_old_postinstall_cmds
   10984 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10985 
   10986 # Create an old-style archive from a shared archive.
   10987 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10988 
   10989 # Create a temporary old-style archive to link instead of a shared archive.
   10990 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10991 
   10992 # Commands used to build and install a shared archive.
   10993 archive_cmds=$lt_archive_cmds
   10994 archive_expsym_cmds=$lt_archive_expsym_cmds
   10995 postinstall_cmds=$lt_postinstall_cmds
   10996 postuninstall_cmds=$lt_postuninstall_cmds
   10997 
   10998 # Commands used to build a loadable module (assumed same as above if empty)
   10999 module_cmds=$lt_module_cmds
   11000 module_expsym_cmds=$lt_module_expsym_cmds
   11001 
   11002 # Commands to strip libraries.
   11003 old_striplib=$lt_old_striplib
   11004 striplib=$lt_striplib
   11005 
   11006 # Dependencies to place before the objects being linked to create a
   11007 # shared library.
   11008 predep_objects=$lt_predep_objects
   11009 
   11010 # Dependencies to place after the objects being linked to create a
   11011 # shared library.
   11012 postdep_objects=$lt_postdep_objects
   11013 
   11014 # Dependencies to place before the objects being linked to create a
   11015 # shared library.
   11016 predeps=$lt_predeps
   11017 
   11018 # Dependencies to place after the objects being linked to create a
   11019 # shared library.
   11020 postdeps=$lt_postdeps
   11021 
   11022 # The directories searched by this compiler when creating a shared
   11023 # library
   11024 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11025 
   11026 # The library search path used internally by the compiler when linking
   11027 # a shared library.
   11028 compiler_lib_search_path=$lt_compiler_lib_search_path
   11029 
   11030 # Method to check whether dependent libraries are shared objects.
   11031 deplibs_check_method=$lt_deplibs_check_method
   11032 
   11033 # Command to use when deplibs_check_method == file_magic.
   11034 file_magic_cmd=$lt_file_magic_cmd
   11035 
   11036 # Flag that allows shared libraries with undefined symbols to be built.
   11037 allow_undefined_flag=$lt_allow_undefined_flag
   11038 
   11039 # Flag that forces no undefined symbols.
   11040 no_undefined_flag=$lt_no_undefined_flag
   11041 
   11042 # Commands used to finish a libtool library installation in a directory.
   11043 finish_cmds=$lt_finish_cmds
   11044 
   11045 # Same as above, but a single script fragment to be evaled but not shown.
   11046 finish_eval=$lt_finish_eval
   11047 
   11048 # Take the output of nm and produce a listing of raw symbols and C names.
   11049 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11050 
   11051 # Transform the output of nm in a proper C declaration
   11052 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11053 
   11054 # Transform the output of nm in a C name address pair
   11055 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11056 
   11057 # This is the shared library runtime path variable.
   11058 runpath_var=$runpath_var
   11059 
   11060 # This is the shared library path variable.
   11061 shlibpath_var=$shlibpath_var
   11062 
   11063 # Is shlibpath searched before the hard-coded library search path?
   11064 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11065 
   11066 # How to hardcode a shared library path into an executable.
   11067 hardcode_action=$hardcode_action
   11068 
   11069 # Whether we should hardcode library paths into libraries.
   11070 hardcode_into_libs=$hardcode_into_libs
   11071 
   11072 # Flag to hardcode \$libdir into a binary during linking.
   11073 # This must work even if \$libdir does not exist.
   11074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11075 
   11076 # If ld is used when linking, flag to hardcode \$libdir into
   11077 # a binary during linking. This must work even if \$libdir does
   11078 # not exist.
   11079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11080 
   11081 # Whether we need a single -rpath flag with a separated argument.
   11082 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11083 
   11084 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11085 # resulting binary.
   11086 hardcode_direct=$hardcode_direct
   11087 
   11088 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11089 # resulting binary.
   11090 hardcode_minus_L=$hardcode_minus_L
   11091 
   11092 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11093 # the resulting binary.
   11094 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11095 
   11096 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11097 # and all subsequent libraries and executables linked against it.
   11098 hardcode_automatic=$hardcode_automatic
   11099 
   11100 # Variables whose values should be saved in libtool wrapper scripts and
   11101 # restored at relink time.
   11102 variables_saved_for_relink="$variables_saved_for_relink"
   11103 
   11104 # Whether libtool must link a program against all its dependency libraries.
   11105 link_all_deplibs=$link_all_deplibs
   11106 
   11107 # Compile-time system search path for libraries
   11108 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11109 
   11110 # Run-time system search path for libraries
   11111 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11112 
   11113 # Fix the shell variable \$srcfile for the compiler.
   11114 fix_srcfile_path=$lt_fix_srcfile_path
   11115 
   11116 # Set to yes if exported symbols are required.
   11117 always_export_symbols=$always_export_symbols
   11118 
   11119 # The commands to list exported symbols.
   11120 export_symbols_cmds=$lt_export_symbols_cmds
   11121 
   11122 # The commands to extract the exported symbol list from a shared archive.
   11123 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11124 
   11125 # Symbols that should not be listed in the preloaded symbols.
   11126 exclude_expsyms=$lt_exclude_expsyms
   11127 
   11128 # Symbols that must always be exported.
   11129 include_expsyms=$lt_include_expsyms
   11130 
   11131 # ### END LIBTOOL CONFIG
   11132 
   11133 __EOF__
   11134 
   11135 
   11136   case $host_os in
   11137   aix3*)
   11138     cat <<\EOF >> "$cfgfile"
   11139 
   11140 # AIX sometimes has problems with the GCC collect2 program.  For some
   11141 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11142 # vanish in a puff of smoke.
   11143 if test "X${COLLECT_NAMES+set}" != Xset; then
   11144   COLLECT_NAMES=
   11145   export COLLECT_NAMES
   11146 fi
   11147 EOF
   11148     ;;
   11149   esac
   11150 
   11151   # We use sed instead of cat because bash on DJGPP gets confused if
   11152   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11153   # text mode, it properly converts lines to CR/LF.  This bash problem
   11154   # is reportedly fixed, but why not run on old versions too?
   11155   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11156 
   11157   mv -f "$cfgfile" "$ofile" || \
   11158     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11159   chmod +x "$ofile"
   11160 
   11161 else
   11162   # If there is no Makefile yet, we rely on a make rule to execute
   11163   # `config.status --recheck' to rerun these tests and create the
   11164   # libtool script then.
   11165   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11166   if test -f "$ltmain_in"; then
   11167     test -f Makefile && make "$ltmain"
   11168   fi
   11169 fi
   11170 
   11171 
   11172 ac_ext=c
   11173 ac_cpp='$CPP $CPPFLAGS'
   11174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11177 
   11178 CC="$lt_save_CC"
   11179 
   11180 
   11181 # Check whether --with-tags was given.
   11182 if test "${with_tags+set}" = set; then
   11183   withval=$with_tags; tagnames="$withval"
   11184 fi
   11185 
   11186 
   11187 if test -f "$ltmain" && test -n "$tagnames"; then
   11188   if test ! -f "${ofile}"; then
   11189     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11190 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11191   fi
   11192 
   11193   if test -z "$LTCC"; then
   11194     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11195     if test -z "$LTCC"; then
   11196       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11197 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11198     else
   11199       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11200 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11201     fi
   11202   fi
   11203   if test -z "$LTCFLAGS"; then
   11204     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11205   fi
   11206 
   11207   # Extract list of available tagged configurations in $ofile.
   11208   # Note that this assumes the entire list is on one line.
   11209   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11210 
   11211   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11212   for tagname in $tagnames; do
   11213     IFS="$lt_save_ifs"
   11214     # Check whether tagname contains only valid characters
   11215     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11216     "") ;;
   11217     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11218 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11219    { (exit 1); exit 1; }; }
   11220 	;;
   11221     esac
   11222 
   11223     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11224     then
   11225       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11226 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11227    { (exit 1); exit 1; }; }
   11228     fi
   11229 
   11230     # Update the list of available tags.
   11231     if test -n "$tagname"; then
   11232       echo appending configuration tag \"$tagname\" to $ofile
   11233 
   11234       case $tagname in
   11235       CXX)
   11236 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11237 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11238 	    (test "X$CXX" != "Xg++"))) ; then
   11239 	  ac_ext=cpp
   11240 ac_cpp='$CXXCPP $CPPFLAGS'
   11241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11244 
   11245 
   11246 
   11247 
   11248 archive_cmds_need_lc_CXX=no
   11249 allow_undefined_flag_CXX=
   11250 always_export_symbols_CXX=no
   11251 archive_expsym_cmds_CXX=
   11252 export_dynamic_flag_spec_CXX=
   11253 hardcode_direct_CXX=no
   11254 hardcode_libdir_flag_spec_CXX=
   11255 hardcode_libdir_flag_spec_ld_CXX=
   11256 hardcode_libdir_separator_CXX=
   11257 hardcode_minus_L_CXX=no
   11258 hardcode_shlibpath_var_CXX=unsupported
   11259 hardcode_automatic_CXX=no
   11260 module_cmds_CXX=
   11261 module_expsym_cmds_CXX=
   11262 link_all_deplibs_CXX=unknown
   11263 old_archive_cmds_CXX=$old_archive_cmds
   11264 no_undefined_flag_CXX=
   11265 whole_archive_flag_spec_CXX=
   11266 enable_shared_with_static_runtimes_CXX=no
   11267 
   11268 # Dependencies to place before and after the object being linked:
   11269 predep_objects_CXX=
   11270 postdep_objects_CXX=
   11271 predeps_CXX=
   11272 postdeps_CXX=
   11273 compiler_lib_search_path_CXX=
   11274 compiler_lib_search_dirs_CXX=
   11275 
   11276 # Source file extension for C++ test sources.
   11277 ac_ext=cpp
   11278 
   11279 # Object file extension for compiled C++ test sources.
   11280 objext=o
   11281 objext_CXX=$objext
   11282 
   11283 # Code to be used in simple compile tests
   11284 lt_simple_compile_test_code="int some_variable = 0;"
   11285 
   11286 # Code to be used in simple link tests
   11287 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11288 
   11289 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11290 
   11291 # If no C compiler was specified, use CC.
   11292 LTCC=${LTCC-"$CC"}
   11293 
   11294 # If no C compiler flags were specified, use CFLAGS.
   11295 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11296 
   11297 # Allow CC to be a program name with arguments.
   11298 compiler=$CC
   11299 
   11300 
   11301 # save warnings/boilerplate of simple test code
   11302 ac_outfile=conftest.$ac_objext
   11303 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11304 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11305 _lt_compiler_boilerplate=`cat conftest.err`
   11306 $rm conftest*
   11307 
   11308 ac_outfile=conftest.$ac_objext
   11309 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11310 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11311 _lt_linker_boilerplate=`cat conftest.err`
   11312 $rm -r conftest*
   11313 
   11314 
   11315 # Allow CC to be a program name with arguments.
   11316 lt_save_CC=$CC
   11317 lt_save_LD=$LD
   11318 lt_save_GCC=$GCC
   11319 GCC=$GXX
   11320 lt_save_with_gnu_ld=$with_gnu_ld
   11321 lt_save_path_LD=$lt_cv_path_LD
   11322 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11323   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11324 else
   11325   $as_unset lt_cv_prog_gnu_ld
   11326 fi
   11327 if test -n "${lt_cv_path_LDCXX+set}"; then
   11328   lt_cv_path_LD=$lt_cv_path_LDCXX
   11329 else
   11330   $as_unset lt_cv_path_LD
   11331 fi
   11332 test -z "${LDCXX+set}" || LD=$LDCXX
   11333 CC=${CXX-"c++"}
   11334 compiler=$CC
   11335 compiler_CXX=$CC
   11336 for cc_temp in $compiler""; do
   11337   case $cc_temp in
   11338     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11339     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11340     \-*) ;;
   11341     *) break;;
   11342   esac
   11343 done
   11344 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11345 
   11346 
   11347 # We don't want -fno-exception wen compiling C++ code, so set the
   11348 # no_builtin_flag separately
   11349 if test "$GXX" = yes; then
   11350   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11351 else
   11352   lt_prog_compiler_no_builtin_flag_CXX=
   11353 fi
   11354 
   11355 if test "$GXX" = yes; then
   11356   # Set up default GNU C++ configuration
   11357 
   11358 
   11359 # Check whether --with-gnu-ld was given.
   11360 if test "${with_gnu_ld+set}" = set; then
   11361   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11362 else
   11363   with_gnu_ld=no
   11364 fi
   11365 
   11366 ac_prog=ld
   11367 if test "$GCC" = yes; then
   11368   # Check if gcc -print-prog-name=ld gives a path.
   11369   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11370 $as_echo_n "checking for ld used by $CC... " >&6; }
   11371   case $host in
   11372   *-*-mingw*)
   11373     # gcc leaves a trailing carriage return which upsets mingw
   11374     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11375   *)
   11376     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11377   esac
   11378   case $ac_prog in
   11379     # Accept absolute paths.
   11380     [\\/]* | ?:[\\/]*)
   11381       re_direlt='/[^/][^/]*/\.\./'
   11382       # Canonicalize the pathname of ld
   11383       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11384       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11385 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11386       done
   11387       test -z "$LD" && LD="$ac_prog"
   11388       ;;
   11389   "")
   11390     # If it fails, then pretend we aren't using GCC.
   11391     ac_prog=ld
   11392     ;;
   11393   *)
   11394     # If it is relative, then search for the first ld in PATH.
   11395     with_gnu_ld=unknown
   11396     ;;
   11397   esac
   11398 elif test "$with_gnu_ld" = yes; then
   11399   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11400 $as_echo_n "checking for GNU ld... " >&6; }
   11401 else
   11402   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11403 $as_echo_n "checking for non-GNU ld... " >&6; }
   11404 fi
   11405 if test "${lt_cv_path_LD+set}" = set; then
   11406   $as_echo_n "(cached) " >&6
   11407 else
   11408   if test -z "$LD"; then
   11409   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11410   for ac_dir in $PATH; do
   11411     IFS="$lt_save_ifs"
   11412     test -z "$ac_dir" && ac_dir=.
   11413     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11414       lt_cv_path_LD="$ac_dir/$ac_prog"
   11415       # Check to see if the program is GNU ld.  I'd rather use --version,
   11416       # but apparently some variants of GNU ld only accept -v.
   11417       # Break only if it was the GNU/non-GNU ld that we prefer.
   11418       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11419       *GNU* | *'with BFD'*)
   11420 	test "$with_gnu_ld" != no && break
   11421 	;;
   11422       *)
   11423 	test "$with_gnu_ld" != yes && break
   11424 	;;
   11425       esac
   11426     fi
   11427   done
   11428   IFS="$lt_save_ifs"
   11429 else
   11430   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11431 fi
   11432 fi
   11433 
   11434 LD="$lt_cv_path_LD"
   11435 if test -n "$LD"; then
   11436   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11437 $as_echo "$LD" >&6; }
   11438 else
   11439   { $as_echo "$as_me:$LINENO: result: no" >&5
   11440 $as_echo "no" >&6; }
   11441 fi
   11442 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11443 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11444    { (exit 1); exit 1; }; }
   11445 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11446 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11447 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11448   $as_echo_n "(cached) " >&6
   11449 else
   11450   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11451 case `$LD -v 2>&1 </dev/null` in
   11452 *GNU* | *'with BFD'*)
   11453   lt_cv_prog_gnu_ld=yes
   11454   ;;
   11455 *)
   11456   lt_cv_prog_gnu_ld=no
   11457   ;;
   11458 esac
   11459 fi
   11460 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11461 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11462 with_gnu_ld=$lt_cv_prog_gnu_ld
   11463 
   11464 
   11465 
   11466   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11467   # archiving commands below assume that GNU ld is being used.
   11468   if test "$with_gnu_ld" = yes; then
   11469     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11470     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'
   11471 
   11472     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11473     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11474 
   11475     # If archive_cmds runs LD, not CC, wlarc should be empty
   11476     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11477     #     investigate it a little bit more. (MM)
   11478     wlarc='${wl}'
   11479 
   11480     # ancient GNU ld didn't support --whole-archive et. al.
   11481     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11482 	grep 'no-whole-archive' > /dev/null; then
   11483       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11484     else
   11485       whole_archive_flag_spec_CXX=
   11486     fi
   11487   else
   11488     with_gnu_ld=no
   11489     wlarc=
   11490 
   11491     # A generic and very simple default shared library creation
   11492     # command for GNU C++ for the case where it uses the native
   11493     # linker, instead of GNU ld.  If possible, this setting should
   11494     # overridden to take advantage of the native linker features on
   11495     # the platform it is being used on.
   11496     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11497   fi
   11498 
   11499   # Commands to make compiler produce verbose output that lists
   11500   # what "hidden" libraries, object files and flags are used when
   11501   # linking a shared library.
   11502   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11503 
   11504 else
   11505   GXX=no
   11506   with_gnu_ld=no
   11507   wlarc=
   11508 fi
   11509 
   11510 # PORTME: fill in a description of your system's C++ link characteristics
   11511 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11512 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11513 ld_shlibs_CXX=yes
   11514 case $host_os in
   11515   aix3*)
   11516     # FIXME: insert proper C++ library support
   11517     ld_shlibs_CXX=no
   11518     ;;
   11519   aix[4-9]*)
   11520     if test "$host_cpu" = ia64; then
   11521       # On IA64, the linker does run time linking by default, so we don't
   11522       # have to do anything special.
   11523       aix_use_runtimelinking=no
   11524       exp_sym_flag='-Bexport'
   11525       no_entry_flag=""
   11526     else
   11527       aix_use_runtimelinking=no
   11528 
   11529       # Test if we are trying to use run time linking or normal
   11530       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11531       # need to do runtime linking.
   11532       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11533 	for ld_flag in $LDFLAGS; do
   11534 	  case $ld_flag in
   11535 	  *-brtl*)
   11536 	    aix_use_runtimelinking=yes
   11537 	    break
   11538 	    ;;
   11539 	  esac
   11540 	done
   11541 	;;
   11542       esac
   11543 
   11544       exp_sym_flag='-bexport'
   11545       no_entry_flag='-bnoentry'
   11546     fi
   11547 
   11548     # When large executables or shared objects are built, AIX ld can
   11549     # have problems creating the table of contents.  If linking a library
   11550     # or program results in "error TOC overflow" add -mminimal-toc to
   11551     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11552     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11553 
   11554     archive_cmds_CXX=''
   11555     hardcode_direct_CXX=yes
   11556     hardcode_libdir_separator_CXX=':'
   11557     link_all_deplibs_CXX=yes
   11558 
   11559     if test "$GXX" = yes; then
   11560       case $host_os in aix4.[012]|aix4.[012].*)
   11561       # We only want to do this on AIX 4.2 and lower, the check
   11562       # below for broken collect2 doesn't work under 4.3+
   11563 	collect2name=`${CC} -print-prog-name=collect2`
   11564 	if test -f "$collect2name" && \
   11565 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11566 	then
   11567 	  # We have reworked collect2
   11568 	  :
   11569 	else
   11570 	  # We have old collect2
   11571 	  hardcode_direct_CXX=unsupported
   11572 	  # It fails to find uninstalled libraries when the uninstalled
   11573 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11574 	  # to unsupported forces relinking
   11575 	  hardcode_minus_L_CXX=yes
   11576 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11577 	  hardcode_libdir_separator_CXX=
   11578 	fi
   11579 	;;
   11580       esac
   11581       shared_flag='-shared'
   11582       if test "$aix_use_runtimelinking" = yes; then
   11583 	shared_flag="$shared_flag "'${wl}-G'
   11584       fi
   11585     else
   11586       # not using gcc
   11587       if test "$host_cpu" = ia64; then
   11588 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11589 	# chokes on -Wl,-G. The following line is correct:
   11590 	shared_flag='-G'
   11591       else
   11592 	if test "$aix_use_runtimelinking" = yes; then
   11593 	  shared_flag='${wl}-G'
   11594 	else
   11595 	  shared_flag='${wl}-bM:SRE'
   11596 	fi
   11597       fi
   11598     fi
   11599 
   11600     # It seems that -bexpall does not export symbols beginning with
   11601     # underscore (_), so it is better to generate a list of symbols to export.
   11602     always_export_symbols_CXX=yes
   11603     if test "$aix_use_runtimelinking" = yes; then
   11604       # Warning - without using the other runtime loading flags (-brtl),
   11605       # -berok will link without error, but may produce a broken library.
   11606       allow_undefined_flag_CXX='-berok'
   11607       # Determine the default libpath from the value encoded in an empty executable.
   11608       cat >conftest.$ac_ext <<_ACEOF
   11609 /* confdefs.h.  */
   11610 _ACEOF
   11611 cat confdefs.h >>conftest.$ac_ext
   11612 cat >>conftest.$ac_ext <<_ACEOF
   11613 /* end confdefs.h.  */
   11614 
   11615 int
   11616 main ()
   11617 {
   11618 
   11619   ;
   11620   return 0;
   11621 }
   11622 _ACEOF
   11623 rm -f conftest.$ac_objext conftest$ac_exeext
   11624 if { (ac_try="$ac_link"
   11625 case "(($ac_try" in
   11626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11627   *) ac_try_echo=$ac_try;;
   11628 esac
   11629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11630 $as_echo "$ac_try_echo") >&5
   11631   (eval "$ac_link") 2>conftest.er1
   11632   ac_status=$?
   11633   grep -v '^ *+' conftest.er1 >conftest.err
   11634   rm -f conftest.er1
   11635   cat conftest.err >&5
   11636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11637   (exit $ac_status); } && {
   11638 	 test -z "$ac_cxx_werror_flag" ||
   11639 	 test ! -s conftest.err
   11640        } && test -s conftest$ac_exeext && {
   11641 	 test "$cross_compiling" = yes ||
   11642 	 $as_test_x conftest$ac_exeext
   11643        }; then
   11644 
   11645 lt_aix_libpath_sed='
   11646     /Import File Strings/,/^$/ {
   11647 	/^0/ {
   11648 	    s/^0  *\(.*\)$/\1/
   11649 	    p
   11650 	}
   11651     }'
   11652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11653 # Check for a 64-bit object if we didn't find anything.
   11654 if test -z "$aix_libpath"; then
   11655   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11656 fi
   11657 else
   11658   $as_echo "$as_me: failed program was:" >&5
   11659 sed 's/^/| /' conftest.$ac_ext >&5
   11660 
   11661 
   11662 fi
   11663 
   11664 rm -rf conftest.dSYM
   11665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11666       conftest$ac_exeext conftest.$ac_ext
   11667 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11668 
   11669       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11670 
   11671       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"
   11672      else
   11673       if test "$host_cpu" = ia64; then
   11674 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11675 	allow_undefined_flag_CXX="-z nodefs"
   11676 	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"
   11677       else
   11678 	# Determine the default libpath from the value encoded in an empty executable.
   11679 	cat >conftest.$ac_ext <<_ACEOF
   11680 /* confdefs.h.  */
   11681 _ACEOF
   11682 cat confdefs.h >>conftest.$ac_ext
   11683 cat >>conftest.$ac_ext <<_ACEOF
   11684 /* end confdefs.h.  */
   11685 
   11686 int
   11687 main ()
   11688 {
   11689 
   11690   ;
   11691   return 0;
   11692 }
   11693 _ACEOF
   11694 rm -f conftest.$ac_objext conftest$ac_exeext
   11695 if { (ac_try="$ac_link"
   11696 case "(($ac_try" in
   11697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11698   *) ac_try_echo=$ac_try;;
   11699 esac
   11700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11701 $as_echo "$ac_try_echo") >&5
   11702   (eval "$ac_link") 2>conftest.er1
   11703   ac_status=$?
   11704   grep -v '^ *+' conftest.er1 >conftest.err
   11705   rm -f conftest.er1
   11706   cat conftest.err >&5
   11707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11708   (exit $ac_status); } && {
   11709 	 test -z "$ac_cxx_werror_flag" ||
   11710 	 test ! -s conftest.err
   11711        } && test -s conftest$ac_exeext && {
   11712 	 test "$cross_compiling" = yes ||
   11713 	 $as_test_x conftest$ac_exeext
   11714        }; then
   11715 
   11716 lt_aix_libpath_sed='
   11717     /Import File Strings/,/^$/ {
   11718 	/^0/ {
   11719 	    s/^0  *\(.*\)$/\1/
   11720 	    p
   11721 	}
   11722     }'
   11723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11724 # Check for a 64-bit object if we didn't find anything.
   11725 if test -z "$aix_libpath"; then
   11726   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11727 fi
   11728 else
   11729   $as_echo "$as_me: failed program was:" >&5
   11730 sed 's/^/| /' conftest.$ac_ext >&5
   11731 
   11732 
   11733 fi
   11734 
   11735 rm -rf conftest.dSYM
   11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11737       conftest$ac_exeext conftest.$ac_ext
   11738 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11739 
   11740 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11741 	# Warning - without using the other run time loading flags,
   11742 	# -berok will link without error, but may produce a broken library.
   11743 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11744 	allow_undefined_flag_CXX=' ${wl}-berok'
   11745 	# Exported symbols can be pulled into shared objects from archives
   11746 	whole_archive_flag_spec_CXX='$convenience'
   11747 	archive_cmds_need_lc_CXX=yes
   11748 	# This is similar to how AIX traditionally builds its shared libraries.
   11749 	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'
   11750       fi
   11751     fi
   11752     ;;
   11753 
   11754   beos*)
   11755     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11756       allow_undefined_flag_CXX=unsupported
   11757       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11758       # support --undefined.  This deserves some investigation.  FIXME
   11759       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11760     else
   11761       ld_shlibs_CXX=no
   11762     fi
   11763     ;;
   11764 
   11765   chorus*)
   11766     case $cc_basename in
   11767       *)
   11768 	# FIXME: insert proper C++ library support
   11769 	ld_shlibs_CXX=no
   11770 	;;
   11771     esac
   11772     ;;
   11773 
   11774   cygwin* | mingw* | pw32*)
   11775     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11776     # as there is no search path for DLLs.
   11777     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11778     allow_undefined_flag_CXX=unsupported
   11779     always_export_symbols_CXX=no
   11780     enable_shared_with_static_runtimes_CXX=yes
   11781 
   11782     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11783       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'
   11784       # If the export-symbols file already is a .def file (1st line
   11785       # is EXPORTS), use it as is; otherwise, prepend...
   11786       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11787 	cp $export_symbols $output_objdir/$soname.def;
   11788       else
   11789 	echo EXPORTS > $output_objdir/$soname.def;
   11790 	cat $export_symbols >> $output_objdir/$soname.def;
   11791       fi~
   11792       $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'
   11793     else
   11794       ld_shlibs_CXX=no
   11795     fi
   11796   ;;
   11797       darwin* | rhapsody*)
   11798       archive_cmds_need_lc_CXX=no
   11799       hardcode_direct_CXX=no
   11800       hardcode_automatic_CXX=yes
   11801       hardcode_shlibpath_var_CXX=unsupported
   11802       whole_archive_flag_spec_CXX=''
   11803       link_all_deplibs_CXX=yes
   11804       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11805       if test "$GXX" = yes ; then
   11806       output_verbose_link_cmd='echo'
   11807       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}"
   11808       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11809       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}"
   11810       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}"
   11811       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11812         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}"
   11813         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}"
   11814       fi
   11815       else
   11816       case $cc_basename in
   11817         xlc*)
   11818          output_verbose_link_cmd='echo'
   11819           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'
   11820           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11821           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11822           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}'
   11823           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}'
   11824           ;;
   11825        *)
   11826          ld_shlibs_CXX=no
   11827           ;;
   11828       esac
   11829       fi
   11830         ;;
   11831 
   11832   dgux*)
   11833     case $cc_basename in
   11834       ec++*)
   11835 	# FIXME: insert proper C++ library support
   11836 	ld_shlibs_CXX=no
   11837 	;;
   11838       ghcx*)
   11839 	# Green Hills C++ Compiler
   11840 	# FIXME: insert proper C++ library support
   11841 	ld_shlibs_CXX=no
   11842 	;;
   11843       *)
   11844 	# FIXME: insert proper C++ library support
   11845 	ld_shlibs_CXX=no
   11846 	;;
   11847     esac
   11848     ;;
   11849   freebsd[12]*)
   11850     # C++ shared libraries reported to be fairly broken before switch to ELF
   11851     ld_shlibs_CXX=no
   11852     ;;
   11853   freebsd-elf*)
   11854     archive_cmds_need_lc_CXX=no
   11855     ;;
   11856   freebsd* | dragonfly*)
   11857     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11858     # conventions
   11859     ld_shlibs_CXX=yes
   11860     ;;
   11861   gnu*)
   11862     ;;
   11863   hpux9*)
   11864     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11865     hardcode_libdir_separator_CXX=:
   11866     export_dynamic_flag_spec_CXX='${wl}-E'
   11867     hardcode_direct_CXX=yes
   11868     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11869 				# but as the default
   11870 				# location of the library.
   11871 
   11872     case $cc_basename in
   11873     CC*)
   11874       # FIXME: insert proper C++ library support
   11875       ld_shlibs_CXX=no
   11876       ;;
   11877     aCC*)
   11878       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'
   11879       # Commands to make compiler produce verbose output that lists
   11880       # what "hidden" libraries, object files and flags are used when
   11881       # linking a shared library.
   11882       #
   11883       # There doesn't appear to be a way to prevent this compiler from
   11884       # explicitly linking system object files so we need to strip them
   11885       # from the output so that they don't get included in the library
   11886       # dependencies.
   11887       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'
   11888       ;;
   11889     *)
   11890       if test "$GXX" = yes; then
   11891         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'
   11892       else
   11893         # FIXME: insert proper C++ library support
   11894         ld_shlibs_CXX=no
   11895       fi
   11896       ;;
   11897     esac
   11898     ;;
   11899   hpux10*|hpux11*)
   11900     if test $with_gnu_ld = no; then
   11901       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11902       hardcode_libdir_separator_CXX=:
   11903 
   11904       case $host_cpu in
   11905       hppa*64*|ia64*) ;;
   11906       *)
   11907 	export_dynamic_flag_spec_CXX='${wl}-E'
   11908         ;;
   11909       esac
   11910     fi
   11911     case $host_cpu in
   11912     hppa*64*|ia64*)
   11913       hardcode_direct_CXX=no
   11914       hardcode_shlibpath_var_CXX=no
   11915       ;;
   11916     *)
   11917       hardcode_direct_CXX=yes
   11918       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11919 					      # but as the default
   11920 					      # location of the library.
   11921       ;;
   11922     esac
   11923 
   11924     case $cc_basename in
   11925       CC*)
   11926 	# FIXME: insert proper C++ library support
   11927 	ld_shlibs_CXX=no
   11928 	;;
   11929       aCC*)
   11930 	case $host_cpu in
   11931 	hppa*64*)
   11932 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11933 	  ;;
   11934 	ia64*)
   11935 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11936 	  ;;
   11937 	*)
   11938 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11939 	  ;;
   11940 	esac
   11941 	# Commands to make compiler produce verbose output that lists
   11942 	# what "hidden" libraries, object files and flags are used when
   11943 	# linking a shared library.
   11944 	#
   11945 	# There doesn't appear to be a way to prevent this compiler from
   11946 	# explicitly linking system object files so we need to strip them
   11947 	# from the output so that they don't get included in the library
   11948 	# dependencies.
   11949 	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'
   11950 	;;
   11951       *)
   11952 	if test "$GXX" = yes; then
   11953 	  if test $with_gnu_ld = no; then
   11954 	    case $host_cpu in
   11955 	    hppa*64*)
   11956 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11957 	      ;;
   11958 	    ia64*)
   11959 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11960 	      ;;
   11961 	    *)
   11962 	      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'
   11963 	      ;;
   11964 	    esac
   11965 	  fi
   11966 	else
   11967 	  # FIXME: insert proper C++ library support
   11968 	  ld_shlibs_CXX=no
   11969 	fi
   11970 	;;
   11971     esac
   11972     ;;
   11973   interix[3-9]*)
   11974     hardcode_direct_CXX=no
   11975     hardcode_shlibpath_var_CXX=no
   11976     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11977     export_dynamic_flag_spec_CXX='${wl}-E'
   11978     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11979     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11980     # default) and relocated if they conflict, which is a slow very memory
   11981     # consuming and fragmenting process.  To avoid this, we pick a random,
   11982     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11983     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11984     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'
   11985     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'
   11986     ;;
   11987   irix5* | irix6*)
   11988     case $cc_basename in
   11989       CC*)
   11990 	# SGI C++
   11991 	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'
   11992 
   11993 	# Archives containing C++ object files must be created using
   11994 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11995 	# necessary to make sure instantiated templates are included
   11996 	# in the archive.
   11997 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11998 	;;
   11999       *)
   12000 	if test "$GXX" = yes; then
   12001 	  if test "$with_gnu_ld" = no; then
   12002 	    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'
   12003 	  else
   12004 	    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'
   12005 	  fi
   12006 	fi
   12007 	link_all_deplibs_CXX=yes
   12008 	;;
   12009     esac
   12010     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12011     hardcode_libdir_separator_CXX=:
   12012     ;;
   12013   linux* | k*bsd*-gnu)
   12014     case $cc_basename in
   12015       KCC*)
   12016 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12017 
   12018 	# KCC will only create a shared library if the output file
   12019 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12020 	# to its proper name (with version) after linking.
   12021 	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'
   12022 	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'
   12023 	# Commands to make compiler produce verbose output that lists
   12024 	# what "hidden" libraries, object files and flags are used when
   12025 	# linking a shared library.
   12026 	#
   12027 	# There doesn't appear to be a way to prevent this compiler from
   12028 	# explicitly linking system object files so we need to strip them
   12029 	# from the output so that they don't get included in the library
   12030 	# dependencies.
   12031 	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'
   12032 
   12033 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12034 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12035 
   12036 	# Archives containing C++ object files must be created using
   12037 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12038 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12039 	;;
   12040       icpc*)
   12041 	# Intel C++
   12042 	with_gnu_ld=yes
   12043 	# version 8.0 and above of icpc choke on multiply defined symbols
   12044 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12045 	# earlier do not add the objects themselves.
   12046 	case `$CC -V 2>&1` in
   12047 	*"Version 7."*)
   12048   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12049   	  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'
   12050 	  ;;
   12051 	*)  # Version 8.0 or newer
   12052 	  tmp_idyn=
   12053 	  case $host_cpu in
   12054 	    ia64*) tmp_idyn=' -i_dynamic';;
   12055 	  esac
   12056   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12057 	  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'
   12058 	  ;;
   12059 	esac
   12060 	archive_cmds_need_lc_CXX=no
   12061 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12062 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12063 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12064 	;;
   12065       pgCC* | pgcpp*)
   12066         # Portland Group C++ compiler
   12067 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12068   	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'
   12069 
   12070 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12071 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12072 	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'
   12073         ;;
   12074       cxx*)
   12075 	# Compaq C++
   12076 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12077 	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'
   12078 
   12079 	runpath_var=LD_RUN_PATH
   12080 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12081 	hardcode_libdir_separator_CXX=:
   12082 
   12083 	# Commands to make compiler produce verbose output that lists
   12084 	# what "hidden" libraries, object files and flags are used when
   12085 	# linking a shared library.
   12086 	#
   12087 	# There doesn't appear to be a way to prevent this compiler from
   12088 	# explicitly linking system object files so we need to strip them
   12089 	# from the output so that they don't get included in the library
   12090 	# dependencies.
   12091 	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'
   12092 	;;
   12093       *)
   12094 	case `$CC -V 2>&1 | sed 5q` in
   12095 	*Sun\ C*)
   12096 	  # Sun C++ 5.9
   12097 	  no_undefined_flag_CXX=' -zdefs'
   12098 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12099 	  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'
   12100 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12101 	  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'
   12102 
   12103 	  # Not sure whether something based on
   12104 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12105 	  # would be better.
   12106 	  output_verbose_link_cmd='echo'
   12107 
   12108 	  # Archives containing C++ object files must be created using
   12109 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12110 	  # necessary to make sure instantiated templates are included
   12111 	  # in the archive.
   12112 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12113 	  ;;
   12114 	esac
   12115 	;;
   12116     esac
   12117     ;;
   12118   lynxos*)
   12119     # FIXME: insert proper C++ library support
   12120     ld_shlibs_CXX=no
   12121     ;;
   12122   m88k*)
   12123     # FIXME: insert proper C++ library support
   12124     ld_shlibs_CXX=no
   12125     ;;
   12126   mvs*)
   12127     case $cc_basename in
   12128       cxx*)
   12129 	# FIXME: insert proper C++ library support
   12130 	ld_shlibs_CXX=no
   12131 	;;
   12132       *)
   12133 	# FIXME: insert proper C++ library support
   12134 	ld_shlibs_CXX=no
   12135 	;;
   12136     esac
   12137     ;;
   12138   netbsd*)
   12139     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12140       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12141       wlarc=
   12142       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12143       hardcode_direct_CXX=yes
   12144       hardcode_shlibpath_var_CXX=no
   12145     fi
   12146     # Workaround some broken pre-1.5 toolchains
   12147     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12148     ;;
   12149   openbsd2*)
   12150     # C++ shared libraries are fairly broken
   12151     ld_shlibs_CXX=no
   12152     ;;
   12153   openbsd*)
   12154     if test -f /usr/libexec/ld.so; then
   12155       hardcode_direct_CXX=yes
   12156       hardcode_shlibpath_var_CXX=no
   12157       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12158       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12159       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12160 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12161 	export_dynamic_flag_spec_CXX='${wl}-E'
   12162 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12163       fi
   12164       output_verbose_link_cmd='echo'
   12165     else
   12166       ld_shlibs_CXX=no
   12167     fi
   12168     ;;
   12169   osf3*)
   12170     case $cc_basename in
   12171       KCC*)
   12172 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12173 
   12174 	# KCC will only create a shared library if the output file
   12175 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12176 	# to its proper name (with version) after linking.
   12177 	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'
   12178 
   12179 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12180 	hardcode_libdir_separator_CXX=:
   12181 
   12182 	# Archives containing C++ object files must be created using
   12183 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12184 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12185 
   12186 	;;
   12187       RCC*)
   12188 	# Rational C++ 2.4.1
   12189 	# FIXME: insert proper C++ library support
   12190 	ld_shlibs_CXX=no
   12191 	;;
   12192       cxx*)
   12193 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12194 	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'
   12195 
   12196 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12197 	hardcode_libdir_separator_CXX=:
   12198 
   12199 	# Commands to make compiler produce verbose output that lists
   12200 	# what "hidden" libraries, object files and flags are used when
   12201 	# linking a shared library.
   12202 	#
   12203 	# There doesn't appear to be a way to prevent this compiler from
   12204 	# explicitly linking system object files so we need to strip them
   12205 	# from the output so that they don't get included in the library
   12206 	# dependencies.
   12207 	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'
   12208 	;;
   12209       *)
   12210 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12211 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12212 	  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'
   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 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12221 
   12222 	else
   12223 	  # FIXME: insert proper C++ library support
   12224 	  ld_shlibs_CXX=no
   12225 	fi
   12226 	;;
   12227     esac
   12228     ;;
   12229   osf4* | osf5*)
   12230     case $cc_basename in
   12231       KCC*)
   12232 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12233 
   12234 	# KCC will only create a shared library if the output file
   12235 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12236 	# to its proper name (with version) after linking.
   12237 	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'
   12238 
   12239 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12240 	hardcode_libdir_separator_CXX=:
   12241 
   12242 	# Archives containing C++ object files must be created using
   12243 	# the KAI C++ compiler.
   12244 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12245 	;;
   12246       RCC*)
   12247 	# Rational C++ 2.4.1
   12248 	# FIXME: insert proper C++ library support
   12249 	ld_shlibs_CXX=no
   12250 	;;
   12251       cxx*)
   12252 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12253 	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'
   12254 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12255 	  echo "-hidden">> $lib.exp~
   12256 	  $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~
   12257 	  $rm $lib.exp'
   12258 
   12259 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12260 	hardcode_libdir_separator_CXX=:
   12261 
   12262 	# Commands to make compiler produce verbose output that lists
   12263 	# what "hidden" libraries, object files and flags are used when
   12264 	# linking a shared library.
   12265 	#
   12266 	# There doesn't appear to be a way to prevent this compiler from
   12267 	# explicitly linking system object files so we need to strip them
   12268 	# from the output so that they don't get included in the library
   12269 	# dependencies.
   12270 	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'
   12271 	;;
   12272       *)
   12273 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12274 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12275 	 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'
   12276 
   12277 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$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 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12284 
   12285 	else
   12286 	  # FIXME: insert proper C++ library support
   12287 	  ld_shlibs_CXX=no
   12288 	fi
   12289 	;;
   12290     esac
   12291     ;;
   12292   psos*)
   12293     # FIXME: insert proper C++ library support
   12294     ld_shlibs_CXX=no
   12295     ;;
   12296   sunos4*)
   12297     case $cc_basename in
   12298       CC*)
   12299 	# Sun C++ 4.x
   12300 	# FIXME: insert proper C++ library support
   12301 	ld_shlibs_CXX=no
   12302 	;;
   12303       lcc*)
   12304 	# Lucid
   12305 	# FIXME: insert proper C++ library support
   12306 	ld_shlibs_CXX=no
   12307 	;;
   12308       *)
   12309 	# FIXME: insert proper C++ library support
   12310 	ld_shlibs_CXX=no
   12311 	;;
   12312     esac
   12313     ;;
   12314   solaris*)
   12315     case $cc_basename in
   12316       CC*)
   12317 	# Sun C++ 4.2, 5.x and Centerline C++
   12318         archive_cmds_need_lc_CXX=yes
   12319 	no_undefined_flag_CXX=' -zdefs'
   12320 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12321 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12322 	$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'
   12323 
   12324 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12325 	hardcode_shlibpath_var_CXX=no
   12326 	case $host_os in
   12327 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12328 	  *)
   12329 	    # The compiler driver will combine and reorder linker options,
   12330 	    # but understands `-z linker_flag'.
   12331 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12332 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12333 	    ;;
   12334 	esac
   12335 	link_all_deplibs_CXX=yes
   12336 
   12337 	output_verbose_link_cmd='echo'
   12338 
   12339 	# Archives containing C++ object files must be created using
   12340 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12341 	# necessary to make sure instantiated templates are included
   12342 	# in the archive.
   12343 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12344 	;;
   12345       gcx*)
   12346 	# Green Hills C++ Compiler
   12347 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12348 
   12349 	# The C++ compiler must be used to create the archive.
   12350 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12351 	;;
   12352       *)
   12353 	# GNU C++ compiler with Solaris linker
   12354 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12355 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12356 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12357 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12358 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12359 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12360 
   12361 	    # Commands to make compiler produce verbose output that lists
   12362 	    # what "hidden" libraries, object files and flags are used when
   12363 	    # linking a shared library.
   12364 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12365 	  else
   12366 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12367 	    # platform.
   12368 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12369 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12370 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12371 
   12372 	    # Commands to make compiler produce verbose output that lists
   12373 	    # what "hidden" libraries, object files and flags are used when
   12374 	    # linking a shared library.
   12375 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12376 	  fi
   12377 
   12378 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12379 	  case $host_os in
   12380 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12381 	  *)
   12382 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12383 	    ;;
   12384 	  esac
   12385 	fi
   12386 	;;
   12387     esac
   12388     ;;
   12389   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12390     no_undefined_flag_CXX='${wl}-z,text'
   12391     archive_cmds_need_lc_CXX=no
   12392     hardcode_shlibpath_var_CXX=no
   12393     runpath_var='LD_RUN_PATH'
   12394 
   12395     case $cc_basename in
   12396       CC*)
   12397 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12398 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12399 	;;
   12400       *)
   12401 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12402 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12403 	;;
   12404     esac
   12405     ;;
   12406   sysv5* | sco3.2v5* | sco5v6*)
   12407     # Note: We can NOT use -z defs as we might desire, because we do not
   12408     # link with -lc, and that would cause any symbols used from libc to
   12409     # always be unresolved, which means just about no library would
   12410     # ever link correctly.  If we're not using GNU ld we use -z text
   12411     # though, which does catch some bad symbols but isn't as heavy-handed
   12412     # as -z defs.
   12413     # For security reasons, it is highly recommended that you always
   12414     # use absolute paths for naming shared libraries, and exclude the
   12415     # DT_RUNPATH tag from executables and libraries.  But doing so
   12416     # requires that you compile everything twice, which is a pain.
   12417     # So that behaviour is only enabled if SCOABSPATH is set to a
   12418     # non-empty value in the environment.  Most likely only useful for
   12419     # creating official distributions of packages.
   12420     # This is a hack until libtool officially supports absolute path
   12421     # names for shared libraries.
   12422     no_undefined_flag_CXX='${wl}-z,text'
   12423     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12424     archive_cmds_need_lc_CXX=no
   12425     hardcode_shlibpath_var_CXX=no
   12426     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12427     hardcode_libdir_separator_CXX=':'
   12428     link_all_deplibs_CXX=yes
   12429     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12430     runpath_var='LD_RUN_PATH'
   12431 
   12432     case $cc_basename in
   12433       CC*)
   12434 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12435 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12436 	;;
   12437       *)
   12438 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12439 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12440 	;;
   12441     esac
   12442     ;;
   12443   tandem*)
   12444     case $cc_basename in
   12445       NCC*)
   12446 	# NonStop-UX NCC 3.20
   12447 	# FIXME: insert proper C++ library support
   12448 	ld_shlibs_CXX=no
   12449 	;;
   12450       *)
   12451 	# FIXME: insert proper C++ library support
   12452 	ld_shlibs_CXX=no
   12453 	;;
   12454     esac
   12455     ;;
   12456   vxworks*)
   12457     # FIXME: insert proper C++ library support
   12458     ld_shlibs_CXX=no
   12459     ;;
   12460   *)
   12461     # FIXME: insert proper C++ library support
   12462     ld_shlibs_CXX=no
   12463     ;;
   12464 esac
   12465 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12466 $as_echo "$ld_shlibs_CXX" >&6; }
   12467 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12468 
   12469 GCC_CXX="$GXX"
   12470 LD_CXX="$LD"
   12471 
   12472 cat > conftest.$ac_ext <<EOF
   12473 class Foo
   12474 {
   12475 public:
   12476   Foo (void) { a = 0; }
   12477 private:
   12478   int a;
   12479 };
   12480 EOF
   12481 
   12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12483   (eval $ac_compile) 2>&5
   12484   ac_status=$?
   12485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12486   (exit $ac_status); }; then
   12487   # Parse the compiler output and extract the necessary
   12488   # objects, libraries and library flags.
   12489 
   12490   # Sentinel used to keep track of whether or not we are before
   12491   # the conftest object file.
   12492   pre_test_object_deps_done=no
   12493 
   12494   # The `*' in the case matches for architectures that use `case' in
   12495   # $output_verbose_cmd can trigger glob expansion during the loop
   12496   # eval without this substitution.
   12497   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12498 
   12499   for p in `eval $output_verbose_link_cmd`; do
   12500     case $p in
   12501 
   12502     -L* | -R* | -l*)
   12503        # Some compilers place space between "-{L,R}" and the path.
   12504        # Remove the space.
   12505        if test $p = "-L" \
   12506 	  || test $p = "-R"; then
   12507 	 prev=$p
   12508 	 continue
   12509        else
   12510 	 prev=
   12511        fi
   12512 
   12513        if test "$pre_test_object_deps_done" = no; then
   12514 	 case $p in
   12515 	 -L* | -R*)
   12516 	   # Internal compiler library paths should come after those
   12517 	   # provided the user.  The postdeps already come after the
   12518 	   # user supplied libs so there is no need to process them.
   12519 	   if test -z "$compiler_lib_search_path_CXX"; then
   12520 	     compiler_lib_search_path_CXX="${prev}${p}"
   12521 	   else
   12522 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12523 	   fi
   12524 	   ;;
   12525 	 # The "-l" case would never come before the object being
   12526 	 # linked, so don't bother handling this case.
   12527 	 esac
   12528        else
   12529 	 if test -z "$postdeps_CXX"; then
   12530 	   postdeps_CXX="${prev}${p}"
   12531 	 else
   12532 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12533 	 fi
   12534        fi
   12535        ;;
   12536 
   12537     *.$objext)
   12538        # This assumes that the test object file only shows up
   12539        # once in the compiler output.
   12540        if test "$p" = "conftest.$objext"; then
   12541 	 pre_test_object_deps_done=yes
   12542 	 continue
   12543        fi
   12544 
   12545        if test "$pre_test_object_deps_done" = no; then
   12546 	 if test -z "$predep_objects_CXX"; then
   12547 	   predep_objects_CXX="$p"
   12548 	 else
   12549 	   predep_objects_CXX="$predep_objects_CXX $p"
   12550 	 fi
   12551        else
   12552 	 if test -z "$postdep_objects_CXX"; then
   12553 	   postdep_objects_CXX="$p"
   12554 	 else
   12555 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12556 	 fi
   12557        fi
   12558        ;;
   12559 
   12560     *) ;; # Ignore the rest.
   12561 
   12562     esac
   12563   done
   12564 
   12565   # Clean up.
   12566   rm -f a.out a.exe
   12567 else
   12568   echo "libtool.m4: error: problem compiling CXX test program"
   12569 fi
   12570 
   12571 $rm -f confest.$objext
   12572 
   12573 compiler_lib_search_dirs_CXX=
   12574 if test -n "$compiler_lib_search_path_CXX"; then
   12575   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12576 fi
   12577 
   12578 # PORTME: override above test on systems where it is broken
   12579 case $host_os in
   12580 interix[3-9]*)
   12581   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12582   # hack all around it, let's just trust "g++" to DTRT.
   12583   predep_objects_CXX=
   12584   postdep_objects_CXX=
   12585   postdeps_CXX=
   12586   ;;
   12587 
   12588 linux*)
   12589   case `$CC -V 2>&1 | sed 5q` in
   12590   *Sun\ C*)
   12591     # Sun C++ 5.9
   12592     #
   12593     # The more standards-conforming stlport4 library is
   12594     # incompatible with the Cstd library. Avoid specifying
   12595     # it if it's in CXXFLAGS. Ignore libCrun as
   12596     # -library=stlport4 depends on it.
   12597     case " $CXX $CXXFLAGS " in
   12598     *" -library=stlport4 "*)
   12599       solaris_use_stlport4=yes
   12600       ;;
   12601     esac
   12602     if test "$solaris_use_stlport4" != yes; then
   12603       postdeps_CXX='-library=Cstd -library=Crun'
   12604     fi
   12605     ;;
   12606   esac
   12607   ;;
   12608 
   12609 solaris*)
   12610   case $cc_basename in
   12611   CC*)
   12612     # The more standards-conforming stlport4 library is
   12613     # incompatible with the Cstd library. Avoid specifying
   12614     # it if it's in CXXFLAGS. Ignore libCrun as
   12615     # -library=stlport4 depends on it.
   12616     case " $CXX $CXXFLAGS " in
   12617     *" -library=stlport4 "*)
   12618       solaris_use_stlport4=yes
   12619       ;;
   12620     esac
   12621 
   12622     # Adding this requires a known-good setup of shared libraries for
   12623     # Sun compiler versions before 5.6, else PIC objects from an old
   12624     # archive will be linked into the output, leading to subtle bugs.
   12625     if test "$solaris_use_stlport4" != yes; then
   12626       postdeps_CXX='-library=Cstd -library=Crun'
   12627     fi
   12628     ;;
   12629   esac
   12630   ;;
   12631 esac
   12632 
   12633 case " $postdeps_CXX " in
   12634 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12635 esac
   12636 
   12637 lt_prog_compiler_wl_CXX=
   12638 lt_prog_compiler_pic_CXX=
   12639 lt_prog_compiler_static_CXX=
   12640 
   12641 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12642 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12643 
   12644   # C++ specific cases for pic, static, wl, etc.
   12645   if test "$GXX" = yes; then
   12646     lt_prog_compiler_wl_CXX='-Wl,'
   12647     lt_prog_compiler_static_CXX='-static'
   12648 
   12649     case $host_os in
   12650     aix*)
   12651       # All AIX code is PIC.
   12652       if test "$host_cpu" = ia64; then
   12653 	# AIX 5 now supports IA64 processor
   12654 	lt_prog_compiler_static_CXX='-Bstatic'
   12655       fi
   12656       ;;
   12657     amigaos*)
   12658       # FIXME: we need at least 68020 code to build shared libraries, but
   12659       # adding the `-m68020' flag to GCC prevents building anything better,
   12660       # like `-m68040'.
   12661       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12662       ;;
   12663     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12664       # PIC is the default for these OSes.
   12665       ;;
   12666     mingw* | cygwin* | os2* | pw32*)
   12667       # This hack is so that the source file can tell whether it is being
   12668       # built for inclusion in a dll (and should export symbols for example).
   12669       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12670       # (--disable-auto-import) libraries
   12671       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12672       ;;
   12673     darwin* | rhapsody*)
   12674       # PIC is the default on this platform
   12675       # Common symbols not allowed in MH_DYLIB files
   12676       lt_prog_compiler_pic_CXX='-fno-common'
   12677       ;;
   12678     *djgpp*)
   12679       # DJGPP does not support shared libraries at all
   12680       lt_prog_compiler_pic_CXX=
   12681       ;;
   12682     interix[3-9]*)
   12683       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12684       # Instead, we relocate shared libraries at runtime.
   12685       ;;
   12686     sysv4*MP*)
   12687       if test -d /usr/nec; then
   12688 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12689       fi
   12690       ;;
   12691     hpux*)
   12692       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12693       # not for PA HP-UX.
   12694       case $host_cpu in
   12695       hppa*64*|ia64*)
   12696 	;;
   12697       *)
   12698 	lt_prog_compiler_pic_CXX='-fPIC'
   12699 	;;
   12700       esac
   12701       ;;
   12702     *)
   12703       lt_prog_compiler_pic_CXX='-fPIC'
   12704       ;;
   12705     esac
   12706   else
   12707     case $host_os in
   12708       aix[4-9]*)
   12709 	# All AIX code is PIC.
   12710 	if test "$host_cpu" = ia64; then
   12711 	  # AIX 5 now supports IA64 processor
   12712 	  lt_prog_compiler_static_CXX='-Bstatic'
   12713 	else
   12714 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12715 	fi
   12716 	;;
   12717       chorus*)
   12718 	case $cc_basename in
   12719 	cxch68*)
   12720 	  # Green Hills C++ Compiler
   12721 	  # _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"
   12722 	  ;;
   12723 	esac
   12724 	;;
   12725        darwin*)
   12726          # PIC is the default on this platform
   12727          # Common symbols not allowed in MH_DYLIB files
   12728          case $cc_basename in
   12729            xlc*)
   12730            lt_prog_compiler_pic_CXX='-qnocommon'
   12731            lt_prog_compiler_wl_CXX='-Wl,'
   12732            ;;
   12733          esac
   12734        ;;
   12735       dgux*)
   12736 	case $cc_basename in
   12737 	  ec++*)
   12738 	    lt_prog_compiler_pic_CXX='-KPIC'
   12739 	    ;;
   12740 	  ghcx*)
   12741 	    # Green Hills C++ Compiler
   12742 	    lt_prog_compiler_pic_CXX='-pic'
   12743 	    ;;
   12744 	  *)
   12745 	    ;;
   12746 	esac
   12747 	;;
   12748       freebsd* | dragonfly*)
   12749 	# FreeBSD uses GNU C++
   12750 	;;
   12751       hpux9* | hpux10* | hpux11*)
   12752 	case $cc_basename in
   12753 	  CC*)
   12754 	    lt_prog_compiler_wl_CXX='-Wl,'
   12755 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12756 	    if test "$host_cpu" != ia64; then
   12757 	      lt_prog_compiler_pic_CXX='+Z'
   12758 	    fi
   12759 	    ;;
   12760 	  aCC*)
   12761 	    lt_prog_compiler_wl_CXX='-Wl,'
   12762 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12763 	    case $host_cpu in
   12764 	    hppa*64*|ia64*)
   12765 	      # +Z the default
   12766 	      ;;
   12767 	    *)
   12768 	      lt_prog_compiler_pic_CXX='+Z'
   12769 	      ;;
   12770 	    esac
   12771 	    ;;
   12772 	  *)
   12773 	    ;;
   12774 	esac
   12775 	;;
   12776       interix*)
   12777 	# This is c89, which is MS Visual C++ (no shared libs)
   12778 	# Anyone wants to do a port?
   12779 	;;
   12780       irix5* | irix6* | nonstopux*)
   12781 	case $cc_basename in
   12782 	  CC*)
   12783 	    lt_prog_compiler_wl_CXX='-Wl,'
   12784 	    lt_prog_compiler_static_CXX='-non_shared'
   12785 	    # CC pic flag -KPIC is the default.
   12786 	    ;;
   12787 	  *)
   12788 	    ;;
   12789 	esac
   12790 	;;
   12791       linux* | k*bsd*-gnu)
   12792 	case $cc_basename in
   12793 	  KCC*)
   12794 	    # KAI C++ Compiler
   12795 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12796 	    lt_prog_compiler_pic_CXX='-fPIC'
   12797 	    ;;
   12798 	  icpc* | ecpc*)
   12799 	    # Intel C++
   12800 	    lt_prog_compiler_wl_CXX='-Wl,'
   12801 	    lt_prog_compiler_pic_CXX='-KPIC'
   12802 	    lt_prog_compiler_static_CXX='-static'
   12803 	    ;;
   12804 	  pgCC* | pgcpp*)
   12805 	    # Portland Group C++ compiler.
   12806 	    lt_prog_compiler_wl_CXX='-Wl,'
   12807 	    lt_prog_compiler_pic_CXX='-fpic'
   12808 	    lt_prog_compiler_static_CXX='-Bstatic'
   12809 	    ;;
   12810 	  cxx*)
   12811 	    # Compaq C++
   12812 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12813 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12814 	    lt_prog_compiler_pic_CXX=
   12815 	    lt_prog_compiler_static_CXX='-non_shared'
   12816 	    ;;
   12817 	  *)
   12818 	    case `$CC -V 2>&1 | sed 5q` in
   12819 	    *Sun\ C*)
   12820 	      # Sun C++ 5.9
   12821 	      lt_prog_compiler_pic_CXX='-KPIC'
   12822 	      lt_prog_compiler_static_CXX='-Bstatic'
   12823 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12824 	      ;;
   12825 	    esac
   12826 	    ;;
   12827 	esac
   12828 	;;
   12829       lynxos*)
   12830 	;;
   12831       m88k*)
   12832 	;;
   12833       mvs*)
   12834 	case $cc_basename in
   12835 	  cxx*)
   12836 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12837 	    ;;
   12838 	  *)
   12839 	    ;;
   12840 	esac
   12841 	;;
   12842       netbsd*)
   12843 	;;
   12844       osf3* | osf4* | osf5*)
   12845 	case $cc_basename in
   12846 	  KCC*)
   12847 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12848 	    ;;
   12849 	  RCC*)
   12850 	    # Rational C++ 2.4.1
   12851 	    lt_prog_compiler_pic_CXX='-pic'
   12852 	    ;;
   12853 	  cxx*)
   12854 	    # Digital/Compaq C++
   12855 	    lt_prog_compiler_wl_CXX='-Wl,'
   12856 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12857 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12858 	    lt_prog_compiler_pic_CXX=
   12859 	    lt_prog_compiler_static_CXX='-non_shared'
   12860 	    ;;
   12861 	  *)
   12862 	    ;;
   12863 	esac
   12864 	;;
   12865       psos*)
   12866 	;;
   12867       solaris*)
   12868 	case $cc_basename in
   12869 	  CC*)
   12870 	    # Sun C++ 4.2, 5.x and Centerline C++
   12871 	    lt_prog_compiler_pic_CXX='-KPIC'
   12872 	    lt_prog_compiler_static_CXX='-Bstatic'
   12873 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12874 	    ;;
   12875 	  gcx*)
   12876 	    # Green Hills C++ Compiler
   12877 	    lt_prog_compiler_pic_CXX='-PIC'
   12878 	    ;;
   12879 	  *)
   12880 	    ;;
   12881 	esac
   12882 	;;
   12883       sunos4*)
   12884 	case $cc_basename in
   12885 	  CC*)
   12886 	    # Sun C++ 4.x
   12887 	    lt_prog_compiler_pic_CXX='-pic'
   12888 	    lt_prog_compiler_static_CXX='-Bstatic'
   12889 	    ;;
   12890 	  lcc*)
   12891 	    # Lucid
   12892 	    lt_prog_compiler_pic_CXX='-pic'
   12893 	    ;;
   12894 	  *)
   12895 	    ;;
   12896 	esac
   12897 	;;
   12898       tandem*)
   12899 	case $cc_basename in
   12900 	  NCC*)
   12901 	    # NonStop-UX NCC 3.20
   12902 	    lt_prog_compiler_pic_CXX='-KPIC'
   12903 	    ;;
   12904 	  *)
   12905 	    ;;
   12906 	esac
   12907 	;;
   12908       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12909 	case $cc_basename in
   12910 	  CC*)
   12911 	    lt_prog_compiler_wl_CXX='-Wl,'
   12912 	    lt_prog_compiler_pic_CXX='-KPIC'
   12913 	    lt_prog_compiler_static_CXX='-Bstatic'
   12914 	    ;;
   12915 	esac
   12916 	;;
   12917       vxworks*)
   12918 	;;
   12919       *)
   12920 	lt_prog_compiler_can_build_shared_CXX=no
   12921 	;;
   12922     esac
   12923   fi
   12924 
   12925 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12926 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12927 
   12928 #
   12929 # Check to make sure the PIC flag actually works.
   12930 #
   12931 if test -n "$lt_prog_compiler_pic_CXX"; then
   12932 
   12933 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12934 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12935 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12936   $as_echo_n "(cached) " >&6
   12937 else
   12938   lt_cv_prog_compiler_pic_works_CXX=no
   12939   ac_outfile=conftest.$ac_objext
   12940    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12941    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12942    # Insert the option either (1) after the last *FLAGS variable, or
   12943    # (2) before a word containing "conftest.", or (3) at the end.
   12944    # Note that $ac_compile itself does not contain backslashes and begins
   12945    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12946    # The option is referenced via a variable to avoid confusing sed.
   12947    lt_compile=`echo "$ac_compile" | $SED \
   12948    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12949    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12950    -e 's:$: $lt_compiler_flag:'`
   12951    (eval echo "\"\$as_me:12951: $lt_compile\"" >&5)
   12952    (eval "$lt_compile" 2>conftest.err)
   12953    ac_status=$?
   12954    cat conftest.err >&5
   12955    echo "$as_me:12955: \$? = $ac_status" >&5
   12956    if (exit $ac_status) && test -s "$ac_outfile"; then
   12957      # The compiler can only warn and ignore the option if not recognized
   12958      # So say no if there are warnings other than the usual output.
   12959      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12960      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12961      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12962        lt_cv_prog_compiler_pic_works_CXX=yes
   12963      fi
   12964    fi
   12965    $rm conftest*
   12966 
   12967 fi
   12968 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12969 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12970 
   12971 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12972     case $lt_prog_compiler_pic_CXX in
   12973      "" | " "*) ;;
   12974      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12975      esac
   12976 else
   12977     lt_prog_compiler_pic_CXX=
   12978      lt_prog_compiler_can_build_shared_CXX=no
   12979 fi
   12980 
   12981 fi
   12982 case $host_os in
   12983   # For platforms which do not support PIC, -DPIC is meaningless:
   12984   *djgpp*)
   12985     lt_prog_compiler_pic_CXX=
   12986     ;;
   12987   *)
   12988     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12989     ;;
   12990 esac
   12991 
   12992 #
   12993 # Check to make sure the static flag actually works.
   12994 #
   12995 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12996 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12997 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12998 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12999   $as_echo_n "(cached) " >&6
   13000 else
   13001   lt_cv_prog_compiler_static_works_CXX=no
   13002    save_LDFLAGS="$LDFLAGS"
   13003    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13004    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13005    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13006      # The linker can only warn and ignore the option if not recognized
   13007      # So say no if there are warnings
   13008      if test -s conftest.err; then
   13009        # Append any errors to the config.log.
   13010        cat conftest.err 1>&5
   13011        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13012        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13013        if diff conftest.exp conftest.er2 >/dev/null; then
   13014          lt_cv_prog_compiler_static_works_CXX=yes
   13015        fi
   13016      else
   13017        lt_cv_prog_compiler_static_works_CXX=yes
   13018      fi
   13019    fi
   13020    $rm -r conftest*
   13021    LDFLAGS="$save_LDFLAGS"
   13022 
   13023 fi
   13024 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13025 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13026 
   13027 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13028     :
   13029 else
   13030     lt_prog_compiler_static_CXX=
   13031 fi
   13032 
   13033 
   13034 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13036 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13037   $as_echo_n "(cached) " >&6
   13038 else
   13039   lt_cv_prog_compiler_c_o_CXX=no
   13040    $rm -r conftest 2>/dev/null
   13041    mkdir conftest
   13042    cd conftest
   13043    mkdir out
   13044    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13045 
   13046    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13047    # Insert the option either (1) after the last *FLAGS variable, or
   13048    # (2) before a word containing "conftest.", or (3) at the end.
   13049    # Note that $ac_compile itself does not contain backslashes and begins
   13050    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13051    lt_compile=`echo "$ac_compile" | $SED \
   13052    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13053    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13054    -e 's:$: $lt_compiler_flag:'`
   13055    (eval echo "\"\$as_me:13055: $lt_compile\"" >&5)
   13056    (eval "$lt_compile" 2>out/conftest.err)
   13057    ac_status=$?
   13058    cat out/conftest.err >&5
   13059    echo "$as_me:13059: \$? = $ac_status" >&5
   13060    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13061    then
   13062      # The compiler can only warn and ignore the option if not recognized
   13063      # So say no if there are warnings
   13064      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13065      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13066      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13067        lt_cv_prog_compiler_c_o_CXX=yes
   13068      fi
   13069    fi
   13070    chmod u+w . 2>&5
   13071    $rm conftest*
   13072    # SGI C++ compiler will create directory out/ii_files/ for
   13073    # template instantiation
   13074    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13075    $rm out/* && rmdir out
   13076    cd ..
   13077    rmdir conftest
   13078    $rm conftest*
   13079 
   13080 fi
   13081 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13082 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13083 
   13084 
   13085 hard_links="nottested"
   13086 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13087   # do not overwrite the value of need_locks provided by the user
   13088   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13089 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13090   hard_links=yes
   13091   $rm conftest*
   13092   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13093   touch conftest.a
   13094   ln conftest.a conftest.b 2>&5 || hard_links=no
   13095   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13096   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13097 $as_echo "$hard_links" >&6; }
   13098   if test "$hard_links" = no; then
   13099     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13100 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13101     need_locks=warn
   13102   fi
   13103 else
   13104   need_locks=no
   13105 fi
   13106 
   13107 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13108 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13109 
   13110   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13111   case $host_os in
   13112   aix[4-9]*)
   13113     # If we're using GNU nm, then we don't want the "-C" option.
   13114     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13115     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13116       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'
   13117     else
   13118       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'
   13119     fi
   13120     ;;
   13121   pw32*)
   13122     export_symbols_cmds_CXX="$ltdll_cmds"
   13123   ;;
   13124   cygwin* | mingw*)
   13125     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'
   13126   ;;
   13127   *)
   13128     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13129   ;;
   13130   esac
   13131   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13132 
   13133 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13134 $as_echo "$ld_shlibs_CXX" >&6; }
   13135 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13136 
   13137 #
   13138 # Do we need to explicitly link libc?
   13139 #
   13140 case "x$archive_cmds_need_lc_CXX" in
   13141 x|xyes)
   13142   # Assume -lc should be added
   13143   archive_cmds_need_lc_CXX=yes
   13144 
   13145   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13146     case $archive_cmds_CXX in
   13147     *'~'*)
   13148       # FIXME: we may have to deal with multi-command sequences.
   13149       ;;
   13150     '$CC '*)
   13151       # Test whether the compiler implicitly links with -lc since on some
   13152       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13153       # to ld, don't add -lc before -lgcc.
   13154       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13155 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13156       $rm conftest*
   13157       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13158 
   13159       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13160   (eval $ac_compile) 2>&5
   13161   ac_status=$?
   13162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13163   (exit $ac_status); } 2>conftest.err; then
   13164         soname=conftest
   13165         lib=conftest
   13166         libobjs=conftest.$ac_objext
   13167         deplibs=
   13168         wl=$lt_prog_compiler_wl_CXX
   13169 	pic_flag=$lt_prog_compiler_pic_CXX
   13170         compiler_flags=-v
   13171         linker_flags=-v
   13172         verstring=
   13173         output_objdir=.
   13174         libname=conftest
   13175         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13176         allow_undefined_flag_CXX=
   13177         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13178   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13179   ac_status=$?
   13180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13181   (exit $ac_status); }
   13182         then
   13183 	  archive_cmds_need_lc_CXX=no
   13184         else
   13185 	  archive_cmds_need_lc_CXX=yes
   13186         fi
   13187         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13188       else
   13189         cat conftest.err 1>&5
   13190       fi
   13191       $rm conftest*
   13192       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13193 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13194       ;;
   13195     esac
   13196   fi
   13197   ;;
   13198 esac
   13199 
   13200 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13201 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13202 library_names_spec=
   13203 libname_spec='lib$name'
   13204 soname_spec=
   13205 shrext_cmds=".so"
   13206 postinstall_cmds=
   13207 postuninstall_cmds=
   13208 finish_cmds=
   13209 finish_eval=
   13210 shlibpath_var=
   13211 shlibpath_overrides_runpath=unknown
   13212 version_type=none
   13213 dynamic_linker="$host_os ld.so"
   13214 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13215 
   13216 need_lib_prefix=unknown
   13217 hardcode_into_libs=no
   13218 
   13219 # when you set need_version to no, make sure it does not cause -set_version
   13220 # flags to be left without arguments
   13221 need_version=unknown
   13222 
   13223 case $host_os in
   13224 aix3*)
   13225   version_type=linux
   13226   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13227   shlibpath_var=LIBPATH
   13228 
   13229   # AIX 3 has no versioning support, so we append a major version to the name.
   13230   soname_spec='${libname}${release}${shared_ext}$major'
   13231   ;;
   13232 
   13233 aix[4-9]*)
   13234   version_type=linux
   13235   need_lib_prefix=no
   13236   need_version=no
   13237   hardcode_into_libs=yes
   13238   if test "$host_cpu" = ia64; then
   13239     # AIX 5 supports IA64
   13240     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13241     shlibpath_var=LD_LIBRARY_PATH
   13242   else
   13243     # With GCC up to 2.95.x, collect2 would create an import file
   13244     # for dependence libraries.  The import file would start with
   13245     # the line `#! .'.  This would cause the generated library to
   13246     # depend on `.', always an invalid library.  This was fixed in
   13247     # development snapshots of GCC prior to 3.0.
   13248     case $host_os in
   13249       aix4 | aix4.[01] | aix4.[01].*)
   13250       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13251 	   echo ' yes '
   13252 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13253 	:
   13254       else
   13255 	can_build_shared=no
   13256       fi
   13257       ;;
   13258     esac
   13259     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13260     # soname into executable. Probably we can add versioning support to
   13261     # collect2, so additional links can be useful in future.
   13262     if test "$aix_use_runtimelinking" = yes; then
   13263       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13264       # instead of lib<name>.a to let people know that these are not
   13265       # typical AIX shared libraries.
   13266       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13267     else
   13268       # We preserve .a as extension for shared libraries through AIX4.2
   13269       # and later when we are not doing run time linking.
   13270       library_names_spec='${libname}${release}.a $libname.a'
   13271       soname_spec='${libname}${release}${shared_ext}$major'
   13272     fi
   13273     shlibpath_var=LIBPATH
   13274   fi
   13275   ;;
   13276 
   13277 amigaos*)
   13278   library_names_spec='$libname.ixlibrary $libname.a'
   13279   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13280   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'
   13281   ;;
   13282 
   13283 beos*)
   13284   library_names_spec='${libname}${shared_ext}'
   13285   dynamic_linker="$host_os ld.so"
   13286   shlibpath_var=LIBRARY_PATH
   13287   ;;
   13288 
   13289 bsdi[45]*)
   13290   version_type=linux
   13291   need_version=no
   13292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13293   soname_spec='${libname}${release}${shared_ext}$major'
   13294   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13295   shlibpath_var=LD_LIBRARY_PATH
   13296   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13297   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13298   # the default ld.so.conf also contains /usr/contrib/lib and
   13299   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13300   # libtool to hard-code these into programs
   13301   ;;
   13302 
   13303 cygwin* | mingw* | pw32*)
   13304   version_type=windows
   13305   shrext_cmds=".dll"
   13306   need_version=no
   13307   need_lib_prefix=no
   13308 
   13309   case $GCC,$host_os in
   13310   yes,cygwin* | yes,mingw* | yes,pw32*)
   13311     library_names_spec='$libname.dll.a'
   13312     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13313     postinstall_cmds='base_file=`basename \${file}`~
   13314       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13315       dldir=$destdir/`dirname \$dlpath`~
   13316       test -d \$dldir || mkdir -p \$dldir~
   13317       $install_prog $dir/$dlname \$dldir/$dlname~
   13318       chmod a+x \$dldir/$dlname'
   13319     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13320       dlpath=$dir/\$dldll~
   13321        $rm \$dlpath'
   13322     shlibpath_overrides_runpath=yes
   13323 
   13324     case $host_os in
   13325     cygwin*)
   13326       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13327       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13328       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13329       ;;
   13330     mingw*)
   13331       # MinGW DLLs use traditional 'lib' prefix
   13332       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13333       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13334       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13335         # It is most probably a Windows format PATH printed by
   13336         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13337         # path with ; separators, and with drive letters. We can handle the
   13338         # drive letters (cygwin fileutils understands them), so leave them,
   13339         # especially as we might pass files found there to a mingw objdump,
   13340         # which wouldn't understand a cygwinified path. Ahh.
   13341         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13342       else
   13343         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13344       fi
   13345       ;;
   13346     pw32*)
   13347       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13348       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13349       ;;
   13350     esac
   13351     ;;
   13352 
   13353   *)
   13354     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13355     ;;
   13356   esac
   13357   dynamic_linker='Win32 ld.exe'
   13358   # FIXME: first we should search . and the directory the executable is in
   13359   shlibpath_var=PATH
   13360   ;;
   13361 
   13362 darwin* | rhapsody*)
   13363   dynamic_linker="$host_os dyld"
   13364   version_type=darwin
   13365   need_lib_prefix=no
   13366   need_version=no
   13367   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13368   soname_spec='${libname}${release}${major}$shared_ext'
   13369   shlibpath_overrides_runpath=yes
   13370   shlibpath_var=DYLD_LIBRARY_PATH
   13371   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13372 
   13373   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13374   ;;
   13375 
   13376 dgux*)
   13377   version_type=linux
   13378   need_lib_prefix=no
   13379   need_version=no
   13380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13381   soname_spec='${libname}${release}${shared_ext}$major'
   13382   shlibpath_var=LD_LIBRARY_PATH
   13383   ;;
   13384 
   13385 freebsd1*)
   13386   dynamic_linker=no
   13387   ;;
   13388 
   13389 freebsd* | dragonfly*)
   13390   # DragonFly does not have aout.  When/if they implement a new
   13391   # versioning mechanism, adjust this.
   13392   if test -x /usr/bin/objformat; then
   13393     objformat=`/usr/bin/objformat`
   13394   else
   13395     case $host_os in
   13396     freebsd[123]*) objformat=aout ;;
   13397     *) objformat=elf ;;
   13398     esac
   13399   fi
   13400   version_type=freebsd-$objformat
   13401   case $version_type in
   13402     freebsd-elf*)
   13403       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13404       need_version=no
   13405       need_lib_prefix=no
   13406       ;;
   13407     freebsd-*)
   13408       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13409       need_version=yes
   13410       ;;
   13411   esac
   13412   shlibpath_var=LD_LIBRARY_PATH
   13413   case $host_os in
   13414   freebsd2*)
   13415     shlibpath_overrides_runpath=yes
   13416     ;;
   13417   freebsd3.[01]* | freebsdelf3.[01]*)
   13418     shlibpath_overrides_runpath=yes
   13419     hardcode_into_libs=yes
   13420     ;;
   13421   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13422   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13423     shlibpath_overrides_runpath=no
   13424     hardcode_into_libs=yes
   13425     ;;
   13426   *) # from 4.6 on, and DragonFly
   13427     shlibpath_overrides_runpath=yes
   13428     hardcode_into_libs=yes
   13429     ;;
   13430   esac
   13431   ;;
   13432 
   13433 gnu*)
   13434   version_type=linux
   13435   need_lib_prefix=no
   13436   need_version=no
   13437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13438   soname_spec='${libname}${release}${shared_ext}$major'
   13439   shlibpath_var=LD_LIBRARY_PATH
   13440   hardcode_into_libs=yes
   13441   ;;
   13442 
   13443 hpux9* | hpux10* | hpux11*)
   13444   # Give a soname corresponding to the major version so that dld.sl refuses to
   13445   # link against other versions.
   13446   version_type=sunos
   13447   need_lib_prefix=no
   13448   need_version=no
   13449   case $host_cpu in
   13450   ia64*)
   13451     shrext_cmds='.so'
   13452     hardcode_into_libs=yes
   13453     dynamic_linker="$host_os dld.so"
   13454     shlibpath_var=LD_LIBRARY_PATH
   13455     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13456     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13457     soname_spec='${libname}${release}${shared_ext}$major'
   13458     if test "X$HPUX_IA64_MODE" = X32; then
   13459       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13460     else
   13461       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13462     fi
   13463     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13464     ;;
   13465    hppa*64*)
   13466      shrext_cmds='.sl'
   13467      hardcode_into_libs=yes
   13468      dynamic_linker="$host_os dld.sl"
   13469      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13470      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13471      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13472      soname_spec='${libname}${release}${shared_ext}$major'
   13473      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13474      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13475      ;;
   13476    *)
   13477     shrext_cmds='.sl'
   13478     dynamic_linker="$host_os dld.sl"
   13479     shlibpath_var=SHLIB_PATH
   13480     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13481     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13482     soname_spec='${libname}${release}${shared_ext}$major'
   13483     ;;
   13484   esac
   13485   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13486   postinstall_cmds='chmod 555 $lib'
   13487   ;;
   13488 
   13489 interix[3-9]*)
   13490   version_type=linux
   13491   need_lib_prefix=no
   13492   need_version=no
   13493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13494   soname_spec='${libname}${release}${shared_ext}$major'
   13495   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13496   shlibpath_var=LD_LIBRARY_PATH
   13497   shlibpath_overrides_runpath=no
   13498   hardcode_into_libs=yes
   13499   ;;
   13500 
   13501 irix5* | irix6* | nonstopux*)
   13502   case $host_os in
   13503     nonstopux*) version_type=nonstopux ;;
   13504     *)
   13505 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13506 		version_type=linux
   13507 	else
   13508 		version_type=irix
   13509 	fi ;;
   13510   esac
   13511   need_lib_prefix=no
   13512   need_version=no
   13513   soname_spec='${libname}${release}${shared_ext}$major'
   13514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13515   case $host_os in
   13516   irix5* | nonstopux*)
   13517     libsuff= shlibsuff=
   13518     ;;
   13519   *)
   13520     case $LD in # libtool.m4 will add one of these switches to LD
   13521     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13522       libsuff= shlibsuff= libmagic=32-bit;;
   13523     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13524       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13525     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13526       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13527     *) libsuff= shlibsuff= libmagic=never-match;;
   13528     esac
   13529     ;;
   13530   esac
   13531   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13532   shlibpath_overrides_runpath=no
   13533   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13534   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13535   hardcode_into_libs=yes
   13536   ;;
   13537 
   13538 # No shared lib support for Linux oldld, aout, or coff.
   13539 linux*oldld* | linux*aout* | linux*coff*)
   13540   dynamic_linker=no
   13541   ;;
   13542 
   13543 # This must be Linux ELF.
   13544 linux* | k*bsd*-gnu)
   13545   version_type=linux
   13546   need_lib_prefix=no
   13547   need_version=no
   13548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13549   soname_spec='${libname}${release}${shared_ext}$major'
   13550   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13551   shlibpath_var=LD_LIBRARY_PATH
   13552   shlibpath_overrides_runpath=no
   13553   # This implies no fast_install, which is unacceptable.
   13554   # Some rework will be needed to allow for fast_install
   13555   # before this can be enabled.
   13556   hardcode_into_libs=yes
   13557   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13558   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13559 
   13560   # Append ld.so.conf contents to the search path
   13561   if test -f /etc/ld.so.conf; then
   13562     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' ' '`
   13563     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13564   fi
   13565 
   13566   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13567   # powerpc, because MkLinux only supported shared libraries with the
   13568   # GNU dynamic linker.  Since this was broken with cross compilers,
   13569   # most powerpc-linux boxes support dynamic linking these days and
   13570   # people can always --disable-shared, the test was removed, and we
   13571   # assume the GNU/Linux dynamic linker is in use.
   13572   dynamic_linker='GNU/Linux ld.so'
   13573   ;;
   13574 
   13575 netbsd*)
   13576   version_type=sunos
   13577   need_lib_prefix=no
   13578   need_version=no
   13579   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13581     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13582     dynamic_linker='NetBSD (a.out) ld.so'
   13583   else
   13584     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13585     soname_spec='${libname}${release}${shared_ext}$major'
   13586     dynamic_linker='NetBSD ld.elf_so'
   13587   fi
   13588   shlibpath_var=LD_LIBRARY_PATH
   13589   shlibpath_overrides_runpath=yes
   13590   hardcode_into_libs=yes
   13591   ;;
   13592 
   13593 newsos6)
   13594   version_type=linux
   13595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13596   shlibpath_var=LD_LIBRARY_PATH
   13597   shlibpath_overrides_runpath=yes
   13598   ;;
   13599 
   13600 nto-qnx*)
   13601   version_type=linux
   13602   need_lib_prefix=no
   13603   need_version=no
   13604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13605   soname_spec='${libname}${release}${shared_ext}$major'
   13606   shlibpath_var=LD_LIBRARY_PATH
   13607   shlibpath_overrides_runpath=yes
   13608   ;;
   13609 
   13610 openbsd*)
   13611   version_type=sunos
   13612   sys_lib_dlsearch_path_spec="/usr/lib"
   13613   need_lib_prefix=no
   13614   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13615   case $host_os in
   13616     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13617     *)                         need_version=no  ;;
   13618   esac
   13619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13620   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13621   shlibpath_var=LD_LIBRARY_PATH
   13622   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13623     case $host_os in
   13624       openbsd2.[89] | openbsd2.[89].*)
   13625 	shlibpath_overrides_runpath=no
   13626 	;;
   13627       *)
   13628 	shlibpath_overrides_runpath=yes
   13629 	;;
   13630       esac
   13631   else
   13632     shlibpath_overrides_runpath=yes
   13633   fi
   13634   ;;
   13635 
   13636 os2*)
   13637   libname_spec='$name'
   13638   shrext_cmds=".dll"
   13639   need_lib_prefix=no
   13640   library_names_spec='$libname${shared_ext} $libname.a'
   13641   dynamic_linker='OS/2 ld.exe'
   13642   shlibpath_var=LIBPATH
   13643   ;;
   13644 
   13645 osf3* | osf4* | osf5*)
   13646   version_type=osf
   13647   need_lib_prefix=no
   13648   need_version=no
   13649   soname_spec='${libname}${release}${shared_ext}$major'
   13650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13651   shlibpath_var=LD_LIBRARY_PATH
   13652   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13653   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13654   ;;
   13655 
   13656 rdos*)
   13657   dynamic_linker=no
   13658   ;;
   13659 
   13660 solaris*)
   13661   version_type=linux
   13662   need_lib_prefix=no
   13663   need_version=no
   13664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13665   soname_spec='${libname}${release}${shared_ext}$major'
   13666   shlibpath_var=LD_LIBRARY_PATH
   13667   shlibpath_overrides_runpath=yes
   13668   hardcode_into_libs=yes
   13669   # ldd complains unless libraries are executable
   13670   postinstall_cmds='chmod +x $lib'
   13671   ;;
   13672 
   13673 sunos4*)
   13674   version_type=sunos
   13675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13676   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13677   shlibpath_var=LD_LIBRARY_PATH
   13678   shlibpath_overrides_runpath=yes
   13679   if test "$with_gnu_ld" = yes; then
   13680     need_lib_prefix=no
   13681   fi
   13682   need_version=yes
   13683   ;;
   13684 
   13685 sysv4 | sysv4.3*)
   13686   version_type=linux
   13687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13688   soname_spec='${libname}${release}${shared_ext}$major'
   13689   shlibpath_var=LD_LIBRARY_PATH
   13690   case $host_vendor in
   13691     sni)
   13692       shlibpath_overrides_runpath=no
   13693       need_lib_prefix=no
   13694       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13695       runpath_var=LD_RUN_PATH
   13696       ;;
   13697     siemens)
   13698       need_lib_prefix=no
   13699       ;;
   13700     motorola)
   13701       need_lib_prefix=no
   13702       need_version=no
   13703       shlibpath_overrides_runpath=no
   13704       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13705       ;;
   13706   esac
   13707   ;;
   13708 
   13709 sysv4*MP*)
   13710   if test -d /usr/nec ;then
   13711     version_type=linux
   13712     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13713     soname_spec='$libname${shared_ext}.$major'
   13714     shlibpath_var=LD_LIBRARY_PATH
   13715   fi
   13716   ;;
   13717 
   13718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13719   version_type=freebsd-elf
   13720   need_lib_prefix=no
   13721   need_version=no
   13722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13723   soname_spec='${libname}${release}${shared_ext}$major'
   13724   shlibpath_var=LD_LIBRARY_PATH
   13725   hardcode_into_libs=yes
   13726   if test "$with_gnu_ld" = yes; then
   13727     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13728     shlibpath_overrides_runpath=no
   13729   else
   13730     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13731     shlibpath_overrides_runpath=yes
   13732     case $host_os in
   13733       sco3.2v5*)
   13734         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13735 	;;
   13736     esac
   13737   fi
   13738   sys_lib_dlsearch_path_spec='/usr/lib'
   13739   ;;
   13740 
   13741 uts4*)
   13742   version_type=linux
   13743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13744   soname_spec='${libname}${release}${shared_ext}$major'
   13745   shlibpath_var=LD_LIBRARY_PATH
   13746   ;;
   13747 
   13748 *)
   13749   dynamic_linker=no
   13750   ;;
   13751 esac
   13752 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13753 $as_echo "$dynamic_linker" >&6; }
   13754 test "$dynamic_linker" = no && can_build_shared=no
   13755 
   13756 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13757   $as_echo_n "(cached) " >&6
   13758 else
   13759   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13760 fi
   13761 
   13762 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13763 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13764   $as_echo_n "(cached) " >&6
   13765 else
   13766   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13767 fi
   13768 
   13769 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13770 
   13771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13772 if test "$GCC" = yes; then
   13773   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13774 fi
   13775 
   13776 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13777 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13778 hardcode_action_CXX=
   13779 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13780    test -n "$runpath_var_CXX" || \
   13781    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13782 
   13783   # We can hardcode non-existant directories.
   13784   if test "$hardcode_direct_CXX" != no &&
   13785      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13786      # have to relink, otherwise we might link with an installed library
   13787      # when we should be linking with a yet-to-be-installed one
   13788      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13789      test "$hardcode_minus_L_CXX" != no; then
   13790     # Linking always hardcodes the temporary library directory.
   13791     hardcode_action_CXX=relink
   13792   else
   13793     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13794     hardcode_action_CXX=immediate
   13795   fi
   13796 else
   13797   # We cannot hardcode anything, or else we can only hardcode existing
   13798   # directories.
   13799   hardcode_action_CXX=unsupported
   13800 fi
   13801 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13802 $as_echo "$hardcode_action_CXX" >&6; }
   13803 
   13804 if test "$hardcode_action_CXX" = relink; then
   13805   # Fast installation is not supported
   13806   enable_fast_install=no
   13807 elif test "$shlibpath_overrides_runpath" = yes ||
   13808      test "$enable_shared" = no; then
   13809   # Fast installation is not necessary
   13810   enable_fast_install=needless
   13811 fi
   13812 
   13813 
   13814 # The else clause should only fire when bootstrapping the
   13815 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13816 # with your package, and you will get complaints that there are
   13817 # no rules to generate ltmain.sh.
   13818 if test -f "$ltmain"; then
   13819   # See if we are running on zsh, and set the options which allow our commands through
   13820   # without removal of \ escapes.
   13821   if test -n "${ZSH_VERSION+set}" ; then
   13822     setopt NO_GLOB_SUBST
   13823   fi
   13824   # Now quote all the things that may contain metacharacters while being
   13825   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13826   # variables and quote the copies for generation of the libtool script.
   13827   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13828     SED SHELL STRIP \
   13829     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13830     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13831     deplibs_check_method reload_flag reload_cmds need_locks \
   13832     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13833     lt_cv_sys_global_symbol_to_c_name_address \
   13834     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13835     old_postinstall_cmds old_postuninstall_cmds \
   13836     compiler_CXX \
   13837     CC_CXX \
   13838     LD_CXX \
   13839     lt_prog_compiler_wl_CXX \
   13840     lt_prog_compiler_pic_CXX \
   13841     lt_prog_compiler_static_CXX \
   13842     lt_prog_compiler_no_builtin_flag_CXX \
   13843     export_dynamic_flag_spec_CXX \
   13844     thread_safe_flag_spec_CXX \
   13845     whole_archive_flag_spec_CXX \
   13846     enable_shared_with_static_runtimes_CXX \
   13847     old_archive_cmds_CXX \
   13848     old_archive_from_new_cmds_CXX \
   13849     predep_objects_CXX \
   13850     postdep_objects_CXX \
   13851     predeps_CXX \
   13852     postdeps_CXX \
   13853     compiler_lib_search_path_CXX \
   13854     compiler_lib_search_dirs_CXX \
   13855     archive_cmds_CXX \
   13856     archive_expsym_cmds_CXX \
   13857     postinstall_cmds_CXX \
   13858     postuninstall_cmds_CXX \
   13859     old_archive_from_expsyms_cmds_CXX \
   13860     allow_undefined_flag_CXX \
   13861     no_undefined_flag_CXX \
   13862     export_symbols_cmds_CXX \
   13863     hardcode_libdir_flag_spec_CXX \
   13864     hardcode_libdir_flag_spec_ld_CXX \
   13865     hardcode_libdir_separator_CXX \
   13866     hardcode_automatic_CXX \
   13867     module_cmds_CXX \
   13868     module_expsym_cmds_CXX \
   13869     lt_cv_prog_compiler_c_o_CXX \
   13870     fix_srcfile_path_CXX \
   13871     exclude_expsyms_CXX \
   13872     include_expsyms_CXX; do
   13873 
   13874     case $var in
   13875     old_archive_cmds_CXX | \
   13876     old_archive_from_new_cmds_CXX | \
   13877     archive_cmds_CXX | \
   13878     archive_expsym_cmds_CXX | \
   13879     module_cmds_CXX | \
   13880     module_expsym_cmds_CXX | \
   13881     old_archive_from_expsyms_cmds_CXX | \
   13882     export_symbols_cmds_CXX | \
   13883     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13884     postinstall_cmds | postuninstall_cmds | \
   13885     old_postinstall_cmds | old_postuninstall_cmds | \
   13886     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13887       # Double-quote double-evaled strings.
   13888       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13889       ;;
   13890     *)
   13891       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13892       ;;
   13893     esac
   13894   done
   13895 
   13896   case $lt_echo in
   13897   *'\$0 --fallback-echo"')
   13898     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13899     ;;
   13900   esac
   13901 
   13902 cfgfile="$ofile"
   13903 
   13904   cat <<__EOF__ >> "$cfgfile"
   13905 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13906 
   13907 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13908 
   13909 # Shell to use when invoking shell scripts.
   13910 SHELL=$lt_SHELL
   13911 
   13912 # Whether or not to build shared libraries.
   13913 build_libtool_libs=$enable_shared
   13914 
   13915 # Whether or not to build static libraries.
   13916 build_old_libs=$enable_static
   13917 
   13918 # Whether or not to add -lc for building shared libraries.
   13919 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13920 
   13921 # Whether or not to disallow shared libs when runtime libs are static
   13922 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13923 
   13924 # Whether or not to optimize for fast installation.
   13925 fast_install=$enable_fast_install
   13926 
   13927 # The host system.
   13928 host_alias=$host_alias
   13929 host=$host
   13930 host_os=$host_os
   13931 
   13932 # The build system.
   13933 build_alias=$build_alias
   13934 build=$build
   13935 build_os=$build_os
   13936 
   13937 # An echo program that does not interpret backslashes.
   13938 echo=$lt_echo
   13939 
   13940 # The archiver.
   13941 AR=$lt_AR
   13942 AR_FLAGS=$lt_AR_FLAGS
   13943 
   13944 # A C compiler.
   13945 LTCC=$lt_LTCC
   13946 
   13947 # LTCC compiler flags.
   13948 LTCFLAGS=$lt_LTCFLAGS
   13949 
   13950 # A language-specific compiler.
   13951 CC=$lt_compiler_CXX
   13952 
   13953 # Is the compiler the GNU C compiler?
   13954 with_gcc=$GCC_CXX
   13955 
   13956 # An ERE matcher.
   13957 EGREP=$lt_EGREP
   13958 
   13959 # The linker used to build libraries.
   13960 LD=$lt_LD_CXX
   13961 
   13962 # Whether we need hard or soft links.
   13963 LN_S=$lt_LN_S
   13964 
   13965 # A BSD-compatible nm program.
   13966 NM=$lt_NM
   13967 
   13968 # A symbol stripping program
   13969 STRIP=$lt_STRIP
   13970 
   13971 # Used to examine libraries when file_magic_cmd begins "file"
   13972 MAGIC_CMD=$MAGIC_CMD
   13973 
   13974 # Used on cygwin: DLL creation program.
   13975 DLLTOOL="$DLLTOOL"
   13976 
   13977 # Used on cygwin: object dumper.
   13978 OBJDUMP="$OBJDUMP"
   13979 
   13980 # Used on cygwin: assembler.
   13981 AS="$AS"
   13982 
   13983 # The name of the directory that contains temporary libtool files.
   13984 objdir=$objdir
   13985 
   13986 # How to create reloadable object files.
   13987 reload_flag=$lt_reload_flag
   13988 reload_cmds=$lt_reload_cmds
   13989 
   13990 # How to pass a linker flag through the compiler.
   13991 wl=$lt_lt_prog_compiler_wl_CXX
   13992 
   13993 # Object file suffix (normally "o").
   13994 objext="$ac_objext"
   13995 
   13996 # Old archive suffix (normally "a").
   13997 libext="$libext"
   13998 
   13999 # Shared library suffix (normally ".so").
   14000 shrext_cmds='$shrext_cmds'
   14001 
   14002 # Executable file suffix (normally "").
   14003 exeext="$exeext"
   14004 
   14005 # Additional compiler flags for building library objects.
   14006 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14007 pic_mode=$pic_mode
   14008 
   14009 # What is the maximum length of a command?
   14010 max_cmd_len=$lt_cv_sys_max_cmd_len
   14011 
   14012 # Does compiler simultaneously support -c and -o options?
   14013 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14014 
   14015 # Must we lock files when doing compilation?
   14016 need_locks=$lt_need_locks
   14017 
   14018 # Do we need the lib prefix for modules?
   14019 need_lib_prefix=$need_lib_prefix
   14020 
   14021 # Do we need a version for libraries?
   14022 need_version=$need_version
   14023 
   14024 # Whether dlopen is supported.
   14025 dlopen_support=$enable_dlopen
   14026 
   14027 # Whether dlopen of programs is supported.
   14028 dlopen_self=$enable_dlopen_self
   14029 
   14030 # Whether dlopen of statically linked programs is supported.
   14031 dlopen_self_static=$enable_dlopen_self_static
   14032 
   14033 # Compiler flag to prevent dynamic linking.
   14034 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14035 
   14036 # Compiler flag to turn off builtin functions.
   14037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14038 
   14039 # Compiler flag to allow reflexive dlopens.
   14040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14041 
   14042 # Compiler flag to generate shared objects directly from archives.
   14043 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14044 
   14045 # Compiler flag to generate thread-safe objects.
   14046 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14047 
   14048 # Library versioning type.
   14049 version_type=$version_type
   14050 
   14051 # Format of library name prefix.
   14052 libname_spec=$lt_libname_spec
   14053 
   14054 # List of archive names.  First name is the real one, the rest are links.
   14055 # The last name is the one that the linker finds with -lNAME.
   14056 library_names_spec=$lt_library_names_spec
   14057 
   14058 # The coded name of the library, if different from the real name.
   14059 soname_spec=$lt_soname_spec
   14060 
   14061 # Commands used to build and install an old-style archive.
   14062 RANLIB=$lt_RANLIB
   14063 old_archive_cmds=$lt_old_archive_cmds_CXX
   14064 old_postinstall_cmds=$lt_old_postinstall_cmds
   14065 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14066 
   14067 # Create an old-style archive from a shared archive.
   14068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14069 
   14070 # Create a temporary old-style archive to link instead of a shared archive.
   14071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14072 
   14073 # Commands used to build and install a shared archive.
   14074 archive_cmds=$lt_archive_cmds_CXX
   14075 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14076 postinstall_cmds=$lt_postinstall_cmds
   14077 postuninstall_cmds=$lt_postuninstall_cmds
   14078 
   14079 # Commands used to build a loadable module (assumed same as above if empty)
   14080 module_cmds=$lt_module_cmds_CXX
   14081 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14082 
   14083 # Commands to strip libraries.
   14084 old_striplib=$lt_old_striplib
   14085 striplib=$lt_striplib
   14086 
   14087 # Dependencies to place before the objects being linked to create a
   14088 # shared library.
   14089 predep_objects=$lt_predep_objects_CXX
   14090 
   14091 # Dependencies to place after the objects being linked to create a
   14092 # shared library.
   14093 postdep_objects=$lt_postdep_objects_CXX
   14094 
   14095 # Dependencies to place before the objects being linked to create a
   14096 # shared library.
   14097 predeps=$lt_predeps_CXX
   14098 
   14099 # Dependencies to place after the objects being linked to create a
   14100 # shared library.
   14101 postdeps=$lt_postdeps_CXX
   14102 
   14103 # The directories searched by this compiler when creating a shared
   14104 # library
   14105 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14106 
   14107 # The library search path used internally by the compiler when linking
   14108 # a shared library.
   14109 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14110 
   14111 # Method to check whether dependent libraries are shared objects.
   14112 deplibs_check_method=$lt_deplibs_check_method
   14113 
   14114 # Command to use when deplibs_check_method == file_magic.
   14115 file_magic_cmd=$lt_file_magic_cmd
   14116 
   14117 # Flag that allows shared libraries with undefined symbols to be built.
   14118 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14119 
   14120 # Flag that forces no undefined symbols.
   14121 no_undefined_flag=$lt_no_undefined_flag_CXX
   14122 
   14123 # Commands used to finish a libtool library installation in a directory.
   14124 finish_cmds=$lt_finish_cmds
   14125 
   14126 # Same as above, but a single script fragment to be evaled but not shown.
   14127 finish_eval=$lt_finish_eval
   14128 
   14129 # Take the output of nm and produce a listing of raw symbols and C names.
   14130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14131 
   14132 # Transform the output of nm in a proper C declaration
   14133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14134 
   14135 # Transform the output of nm in a C name address pair
   14136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14137 
   14138 # This is the shared library runtime path variable.
   14139 runpath_var=$runpath_var
   14140 
   14141 # This is the shared library path variable.
   14142 shlibpath_var=$shlibpath_var
   14143 
   14144 # Is shlibpath searched before the hard-coded library search path?
   14145 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14146 
   14147 # How to hardcode a shared library path into an executable.
   14148 hardcode_action=$hardcode_action_CXX
   14149 
   14150 # Whether we should hardcode library paths into libraries.
   14151 hardcode_into_libs=$hardcode_into_libs
   14152 
   14153 # Flag to hardcode \$libdir into a binary during linking.
   14154 # This must work even if \$libdir does not exist.
   14155 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14156 
   14157 # If ld is used when linking, flag to hardcode \$libdir into
   14158 # a binary during linking. This must work even if \$libdir does
   14159 # not exist.
   14160 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14161 
   14162 # Whether we need a single -rpath flag with a separated argument.
   14163 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14164 
   14165 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14166 # resulting binary.
   14167 hardcode_direct=$hardcode_direct_CXX
   14168 
   14169 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14170 # resulting binary.
   14171 hardcode_minus_L=$hardcode_minus_L_CXX
   14172 
   14173 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14174 # the resulting binary.
   14175 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14176 
   14177 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14178 # and all subsequent libraries and executables linked against it.
   14179 hardcode_automatic=$hardcode_automatic_CXX
   14180 
   14181 # Variables whose values should be saved in libtool wrapper scripts and
   14182 # restored at relink time.
   14183 variables_saved_for_relink="$variables_saved_for_relink"
   14184 
   14185 # Whether libtool must link a program against all its dependency libraries.
   14186 link_all_deplibs=$link_all_deplibs_CXX
   14187 
   14188 # Compile-time system search path for libraries
   14189 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14190 
   14191 # Run-time system search path for libraries
   14192 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14193 
   14194 # Fix the shell variable \$srcfile for the compiler.
   14195 fix_srcfile_path=$lt_fix_srcfile_path
   14196 
   14197 # Set to yes if exported symbols are required.
   14198 always_export_symbols=$always_export_symbols_CXX
   14199 
   14200 # The commands to list exported symbols.
   14201 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14202 
   14203 # The commands to extract the exported symbol list from a shared archive.
   14204 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14205 
   14206 # Symbols that should not be listed in the preloaded symbols.
   14207 exclude_expsyms=$lt_exclude_expsyms_CXX
   14208 
   14209 # Symbols that must always be exported.
   14210 include_expsyms=$lt_include_expsyms_CXX
   14211 
   14212 # ### END LIBTOOL TAG CONFIG: $tagname
   14213 
   14214 __EOF__
   14215 
   14216 
   14217 else
   14218   # If there is no Makefile yet, we rely on a make rule to execute
   14219   # `config.status --recheck' to rerun these tests and create the
   14220   # libtool script then.
   14221   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14222   if test -f "$ltmain_in"; then
   14223     test -f Makefile && make "$ltmain"
   14224   fi
   14225 fi
   14226 
   14227 
   14228 ac_ext=c
   14229 ac_cpp='$CPP $CPPFLAGS'
   14230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14233 
   14234 CC=$lt_save_CC
   14235 LDCXX=$LD
   14236 LD=$lt_save_LD
   14237 GCC=$lt_save_GCC
   14238 with_gnu_ldcxx=$with_gnu_ld
   14239 with_gnu_ld=$lt_save_with_gnu_ld
   14240 lt_cv_path_LDCXX=$lt_cv_path_LD
   14241 lt_cv_path_LD=$lt_save_path_LD
   14242 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14243 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14244 
   14245 	else
   14246 	  tagname=""
   14247 	fi
   14248 	;;
   14249 
   14250       F77)
   14251 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14252 
   14253 ac_ext=f
   14254 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14255 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14256 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14257 
   14258 
   14259 archive_cmds_need_lc_F77=no
   14260 allow_undefined_flag_F77=
   14261 always_export_symbols_F77=no
   14262 archive_expsym_cmds_F77=
   14263 export_dynamic_flag_spec_F77=
   14264 hardcode_direct_F77=no
   14265 hardcode_libdir_flag_spec_F77=
   14266 hardcode_libdir_flag_spec_ld_F77=
   14267 hardcode_libdir_separator_F77=
   14268 hardcode_minus_L_F77=no
   14269 hardcode_automatic_F77=no
   14270 module_cmds_F77=
   14271 module_expsym_cmds_F77=
   14272 link_all_deplibs_F77=unknown
   14273 old_archive_cmds_F77=$old_archive_cmds
   14274 no_undefined_flag_F77=
   14275 whole_archive_flag_spec_F77=
   14276 enable_shared_with_static_runtimes_F77=no
   14277 
   14278 # Source file extension for f77 test sources.
   14279 ac_ext=f
   14280 
   14281 # Object file extension for compiled f77 test sources.
   14282 objext=o
   14283 objext_F77=$objext
   14284 
   14285 # Code to be used in simple compile tests
   14286 lt_simple_compile_test_code="\
   14287       subroutine t
   14288       return
   14289       end
   14290 "
   14291 
   14292 # Code to be used in simple link tests
   14293 lt_simple_link_test_code="\
   14294       program t
   14295       end
   14296 "
   14297 
   14298 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14299 
   14300 # If no C compiler was specified, use CC.
   14301 LTCC=${LTCC-"$CC"}
   14302 
   14303 # If no C compiler flags were specified, use CFLAGS.
   14304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14305 
   14306 # Allow CC to be a program name with arguments.
   14307 compiler=$CC
   14308 
   14309 
   14310 # save warnings/boilerplate of simple test code
   14311 ac_outfile=conftest.$ac_objext
   14312 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14313 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14314 _lt_compiler_boilerplate=`cat conftest.err`
   14315 $rm conftest*
   14316 
   14317 ac_outfile=conftest.$ac_objext
   14318 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14319 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14320 _lt_linker_boilerplate=`cat conftest.err`
   14321 $rm -r conftest*
   14322 
   14323 
   14324 # Allow CC to be a program name with arguments.
   14325 lt_save_CC="$CC"
   14326 CC=${F77-"f77"}
   14327 compiler=$CC
   14328 compiler_F77=$CC
   14329 for cc_temp in $compiler""; do
   14330   case $cc_temp in
   14331     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14332     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14333     \-*) ;;
   14334     *) break;;
   14335   esac
   14336 done
   14337 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14338 
   14339 
   14340 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14341 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14342 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14343 $as_echo "$can_build_shared" >&6; }
   14344 
   14345 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14346 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14347 test "$can_build_shared" = "no" && enable_shared=no
   14348 
   14349 # On AIX, shared libraries and static libraries use the same namespace, and
   14350 # are all built from PIC.
   14351 case $host_os in
   14352 aix3*)
   14353   test "$enable_shared" = yes && enable_static=no
   14354   if test -n "$RANLIB"; then
   14355     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14356     postinstall_cmds='$RANLIB $lib'
   14357   fi
   14358   ;;
   14359 aix[4-9]*)
   14360   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14361     test "$enable_shared" = yes && enable_static=no
   14362   fi
   14363   ;;
   14364 esac
   14365 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14366 $as_echo "$enable_shared" >&6; }
   14367 
   14368 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14369 $as_echo_n "checking whether to build static libraries... " >&6; }
   14370 # Make sure either enable_shared or enable_static is yes.
   14371 test "$enable_shared" = yes || enable_static=yes
   14372 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14373 $as_echo "$enable_static" >&6; }
   14374 
   14375 GCC_F77="$G77"
   14376 LD_F77="$LD"
   14377 
   14378 lt_prog_compiler_wl_F77=
   14379 lt_prog_compiler_pic_F77=
   14380 lt_prog_compiler_static_F77=
   14381 
   14382 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14384 
   14385   if test "$GCC" = yes; then
   14386     lt_prog_compiler_wl_F77='-Wl,'
   14387     lt_prog_compiler_static_F77='-static'
   14388 
   14389     case $host_os in
   14390       aix*)
   14391       # All AIX code is PIC.
   14392       if test "$host_cpu" = ia64; then
   14393 	# AIX 5 now supports IA64 processor
   14394 	lt_prog_compiler_static_F77='-Bstatic'
   14395       fi
   14396       ;;
   14397 
   14398     amigaos*)
   14399       # FIXME: we need at least 68020 code to build shared libraries, but
   14400       # adding the `-m68020' flag to GCC prevents building anything better,
   14401       # like `-m68040'.
   14402       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14403       ;;
   14404 
   14405     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14406       # PIC is the default for these OSes.
   14407       ;;
   14408 
   14409     mingw* | cygwin* | pw32* | os2*)
   14410       # This hack is so that the source file can tell whether it is being
   14411       # built for inclusion in a dll (and should export symbols for example).
   14412       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14413       # (--disable-auto-import) libraries
   14414       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14415       ;;
   14416 
   14417     darwin* | rhapsody*)
   14418       # PIC is the default on this platform
   14419       # Common symbols not allowed in MH_DYLIB files
   14420       lt_prog_compiler_pic_F77='-fno-common'
   14421       ;;
   14422 
   14423     interix[3-9]*)
   14424       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14425       # Instead, we relocate shared libraries at runtime.
   14426       ;;
   14427 
   14428     msdosdjgpp*)
   14429       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14430       # on systems that don't support them.
   14431       lt_prog_compiler_can_build_shared_F77=no
   14432       enable_shared=no
   14433       ;;
   14434 
   14435     sysv4*MP*)
   14436       if test -d /usr/nec; then
   14437 	lt_prog_compiler_pic_F77=-Kconform_pic
   14438       fi
   14439       ;;
   14440 
   14441     hpux*)
   14442       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14443       # not for PA HP-UX.
   14444       case $host_cpu in
   14445       hppa*64*|ia64*)
   14446 	# +Z the default
   14447 	;;
   14448       *)
   14449 	lt_prog_compiler_pic_F77='-fPIC'
   14450 	;;
   14451       esac
   14452       ;;
   14453 
   14454     *)
   14455       lt_prog_compiler_pic_F77='-fPIC'
   14456       ;;
   14457     esac
   14458   else
   14459     # PORTME Check for flag to pass linker flags through the system compiler.
   14460     case $host_os in
   14461     aix*)
   14462       lt_prog_compiler_wl_F77='-Wl,'
   14463       if test "$host_cpu" = ia64; then
   14464 	# AIX 5 now supports IA64 processor
   14465 	lt_prog_compiler_static_F77='-Bstatic'
   14466       else
   14467 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14468       fi
   14469       ;;
   14470       darwin*)
   14471         # PIC is the default on this platform
   14472         # Common symbols not allowed in MH_DYLIB files
   14473        case $cc_basename in
   14474          xlc*)
   14475          lt_prog_compiler_pic_F77='-qnocommon'
   14476          lt_prog_compiler_wl_F77='-Wl,'
   14477          ;;
   14478        esac
   14479        ;;
   14480 
   14481     mingw* | cygwin* | pw32* | os2*)
   14482       # This hack is so that the source file can tell whether it is being
   14483       # built for inclusion in a dll (and should export symbols for example).
   14484       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14485       ;;
   14486 
   14487     hpux9* | hpux10* | hpux11*)
   14488       lt_prog_compiler_wl_F77='-Wl,'
   14489       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14490       # not for PA HP-UX.
   14491       case $host_cpu in
   14492       hppa*64*|ia64*)
   14493 	# +Z the default
   14494 	;;
   14495       *)
   14496 	lt_prog_compiler_pic_F77='+Z'
   14497 	;;
   14498       esac
   14499       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14500       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14501       ;;
   14502 
   14503     irix5* | irix6* | nonstopux*)
   14504       lt_prog_compiler_wl_F77='-Wl,'
   14505       # PIC (with -KPIC) is the default.
   14506       lt_prog_compiler_static_F77='-non_shared'
   14507       ;;
   14508 
   14509     newsos6)
   14510       lt_prog_compiler_pic_F77='-KPIC'
   14511       lt_prog_compiler_static_F77='-Bstatic'
   14512       ;;
   14513 
   14514     linux* | k*bsd*-gnu)
   14515       case $cc_basename in
   14516       icc* | ecc*)
   14517 	lt_prog_compiler_wl_F77='-Wl,'
   14518 	lt_prog_compiler_pic_F77='-KPIC'
   14519 	lt_prog_compiler_static_F77='-static'
   14520         ;;
   14521       pgcc* | pgf77* | pgf90* | pgf95*)
   14522         # Portland Group compilers (*not* the Pentium gcc compiler,
   14523 	# which looks to be a dead project)
   14524 	lt_prog_compiler_wl_F77='-Wl,'
   14525 	lt_prog_compiler_pic_F77='-fpic'
   14526 	lt_prog_compiler_static_F77='-Bstatic'
   14527         ;;
   14528       ccc*)
   14529         lt_prog_compiler_wl_F77='-Wl,'
   14530         # All Alpha code is PIC.
   14531         lt_prog_compiler_static_F77='-non_shared'
   14532         ;;
   14533       *)
   14534         case `$CC -V 2>&1 | sed 5q` in
   14535 	*Sun\ C*)
   14536 	  # Sun C 5.9
   14537 	  lt_prog_compiler_pic_F77='-KPIC'
   14538 	  lt_prog_compiler_static_F77='-Bstatic'
   14539 	  lt_prog_compiler_wl_F77='-Wl,'
   14540 	  ;;
   14541 	*Sun\ F*)
   14542 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14543 	  lt_prog_compiler_pic_F77='-KPIC'
   14544 	  lt_prog_compiler_static_F77='-Bstatic'
   14545 	  lt_prog_compiler_wl_F77=''
   14546 	  ;;
   14547 	esac
   14548 	;;
   14549       esac
   14550       ;;
   14551 
   14552     osf3* | osf4* | osf5*)
   14553       lt_prog_compiler_wl_F77='-Wl,'
   14554       # All OSF/1 code is PIC.
   14555       lt_prog_compiler_static_F77='-non_shared'
   14556       ;;
   14557 
   14558     rdos*)
   14559       lt_prog_compiler_static_F77='-non_shared'
   14560       ;;
   14561 
   14562     solaris*)
   14563       lt_prog_compiler_pic_F77='-KPIC'
   14564       lt_prog_compiler_static_F77='-Bstatic'
   14565       case $cc_basename in
   14566       f77* | f90* | f95*)
   14567 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14568       *)
   14569 	lt_prog_compiler_wl_F77='-Wl,';;
   14570       esac
   14571       ;;
   14572 
   14573     sunos4*)
   14574       lt_prog_compiler_wl_F77='-Qoption ld '
   14575       lt_prog_compiler_pic_F77='-PIC'
   14576       lt_prog_compiler_static_F77='-Bstatic'
   14577       ;;
   14578 
   14579     sysv4 | sysv4.2uw2* | sysv4.3*)
   14580       lt_prog_compiler_wl_F77='-Wl,'
   14581       lt_prog_compiler_pic_F77='-KPIC'
   14582       lt_prog_compiler_static_F77='-Bstatic'
   14583       ;;
   14584 
   14585     sysv4*MP*)
   14586       if test -d /usr/nec ;then
   14587 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14588 	lt_prog_compiler_static_F77='-Bstatic'
   14589       fi
   14590       ;;
   14591 
   14592     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14593       lt_prog_compiler_wl_F77='-Wl,'
   14594       lt_prog_compiler_pic_F77='-KPIC'
   14595       lt_prog_compiler_static_F77='-Bstatic'
   14596       ;;
   14597 
   14598     unicos*)
   14599       lt_prog_compiler_wl_F77='-Wl,'
   14600       lt_prog_compiler_can_build_shared_F77=no
   14601       ;;
   14602 
   14603     uts4*)
   14604       lt_prog_compiler_pic_F77='-pic'
   14605       lt_prog_compiler_static_F77='-Bstatic'
   14606       ;;
   14607 
   14608     *)
   14609       lt_prog_compiler_can_build_shared_F77=no
   14610       ;;
   14611     esac
   14612   fi
   14613 
   14614 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14615 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14616 
   14617 #
   14618 # Check to make sure the PIC flag actually works.
   14619 #
   14620 if test -n "$lt_prog_compiler_pic_F77"; then
   14621 
   14622 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14623 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14624 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14625   $as_echo_n "(cached) " >&6
   14626 else
   14627   lt_cv_prog_compiler_pic_works_F77=no
   14628   ac_outfile=conftest.$ac_objext
   14629    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14630    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14631    # Insert the option either (1) after the last *FLAGS variable, or
   14632    # (2) before a word containing "conftest.", or (3) at the end.
   14633    # Note that $ac_compile itself does not contain backslashes and begins
   14634    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14635    # The option is referenced via a variable to avoid confusing sed.
   14636    lt_compile=`echo "$ac_compile" | $SED \
   14637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14639    -e 's:$: $lt_compiler_flag:'`
   14640    (eval echo "\"\$as_me:14640: $lt_compile\"" >&5)
   14641    (eval "$lt_compile" 2>conftest.err)
   14642    ac_status=$?
   14643    cat conftest.err >&5
   14644    echo "$as_me:14644: \$? = $ac_status" >&5
   14645    if (exit $ac_status) && test -s "$ac_outfile"; then
   14646      # The compiler can only warn and ignore the option if not recognized
   14647      # So say no if there are warnings other than the usual output.
   14648      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14649      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14650      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14651        lt_cv_prog_compiler_pic_works_F77=yes
   14652      fi
   14653    fi
   14654    $rm conftest*
   14655 
   14656 fi
   14657 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14658 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14659 
   14660 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14661     case $lt_prog_compiler_pic_F77 in
   14662      "" | " "*) ;;
   14663      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14664      esac
   14665 else
   14666     lt_prog_compiler_pic_F77=
   14667      lt_prog_compiler_can_build_shared_F77=no
   14668 fi
   14669 
   14670 fi
   14671 case $host_os in
   14672   # For platforms which do not support PIC, -DPIC is meaningless:
   14673   *djgpp*)
   14674     lt_prog_compiler_pic_F77=
   14675     ;;
   14676   *)
   14677     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14678     ;;
   14679 esac
   14680 
   14681 #
   14682 # Check to make sure the static flag actually works.
   14683 #
   14684 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14685 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14686 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14687 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14688   $as_echo_n "(cached) " >&6
   14689 else
   14690   lt_cv_prog_compiler_static_works_F77=no
   14691    save_LDFLAGS="$LDFLAGS"
   14692    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14693    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14694    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14695      # The linker can only warn and ignore the option if not recognized
   14696      # So say no if there are warnings
   14697      if test -s conftest.err; then
   14698        # Append any errors to the config.log.
   14699        cat conftest.err 1>&5
   14700        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14701        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14702        if diff conftest.exp conftest.er2 >/dev/null; then
   14703          lt_cv_prog_compiler_static_works_F77=yes
   14704        fi
   14705      else
   14706        lt_cv_prog_compiler_static_works_F77=yes
   14707      fi
   14708    fi
   14709    $rm -r conftest*
   14710    LDFLAGS="$save_LDFLAGS"
   14711 
   14712 fi
   14713 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14714 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14715 
   14716 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14717     :
   14718 else
   14719     lt_prog_compiler_static_F77=
   14720 fi
   14721 
   14722 
   14723 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14725 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14726   $as_echo_n "(cached) " >&6
   14727 else
   14728   lt_cv_prog_compiler_c_o_F77=no
   14729    $rm -r conftest 2>/dev/null
   14730    mkdir conftest
   14731    cd conftest
   14732    mkdir out
   14733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14734 
   14735    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14736    # Insert the option either (1) after the last *FLAGS variable, or
   14737    # (2) before a word containing "conftest.", or (3) at the end.
   14738    # Note that $ac_compile itself does not contain backslashes and begins
   14739    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14740    lt_compile=`echo "$ac_compile" | $SED \
   14741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14743    -e 's:$: $lt_compiler_flag:'`
   14744    (eval echo "\"\$as_me:14744: $lt_compile\"" >&5)
   14745    (eval "$lt_compile" 2>out/conftest.err)
   14746    ac_status=$?
   14747    cat out/conftest.err >&5
   14748    echo "$as_me:14748: \$? = $ac_status" >&5
   14749    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14750    then
   14751      # The compiler can only warn and ignore the option if not recognized
   14752      # So say no if there are warnings
   14753      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14754      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14755      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14756        lt_cv_prog_compiler_c_o_F77=yes
   14757      fi
   14758    fi
   14759    chmod u+w . 2>&5
   14760    $rm conftest*
   14761    # SGI C++ compiler will create directory out/ii_files/ for
   14762    # template instantiation
   14763    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14764    $rm out/* && rmdir out
   14765    cd ..
   14766    rmdir conftest
   14767    $rm conftest*
   14768 
   14769 fi
   14770 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14771 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14772 
   14773 
   14774 hard_links="nottested"
   14775 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14776   # do not overwrite the value of need_locks provided by the user
   14777   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14778 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14779   hard_links=yes
   14780   $rm conftest*
   14781   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14782   touch conftest.a
   14783   ln conftest.a conftest.b 2>&5 || hard_links=no
   14784   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14785   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14786 $as_echo "$hard_links" >&6; }
   14787   if test "$hard_links" = no; then
   14788     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14789 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14790     need_locks=warn
   14791   fi
   14792 else
   14793   need_locks=no
   14794 fi
   14795 
   14796 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14797 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14798 
   14799   runpath_var=
   14800   allow_undefined_flag_F77=
   14801   enable_shared_with_static_runtimes_F77=no
   14802   archive_cmds_F77=
   14803   archive_expsym_cmds_F77=
   14804   old_archive_From_new_cmds_F77=
   14805   old_archive_from_expsyms_cmds_F77=
   14806   export_dynamic_flag_spec_F77=
   14807   whole_archive_flag_spec_F77=
   14808   thread_safe_flag_spec_F77=
   14809   hardcode_libdir_flag_spec_F77=
   14810   hardcode_libdir_flag_spec_ld_F77=
   14811   hardcode_libdir_separator_F77=
   14812   hardcode_direct_F77=no
   14813   hardcode_minus_L_F77=no
   14814   hardcode_shlibpath_var_F77=unsupported
   14815   link_all_deplibs_F77=unknown
   14816   hardcode_automatic_F77=no
   14817   module_cmds_F77=
   14818   module_expsym_cmds_F77=
   14819   always_export_symbols_F77=no
   14820   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14821   # include_expsyms should be a list of space-separated symbols to be *always*
   14822   # included in the symbol list
   14823   include_expsyms_F77=
   14824   # exclude_expsyms can be an extended regexp of symbols to exclude
   14825   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14826   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14827   # as well as any symbol that contains `d'.
   14828   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14829   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14830   # platforms (ab)use it in PIC code, but their linkers get confused if
   14831   # the symbol is explicitly referenced.  Since portable code cannot
   14832   # rely on this symbol name, it's probably fine to never include it in
   14833   # preloaded symbol tables.
   14834   # Exclude shared library initialization/finalization symbols.
   14835   extract_expsyms_cmds=
   14836   # Just being paranoid about ensuring that cc_basename is set.
   14837   for cc_temp in $compiler""; do
   14838   case $cc_temp in
   14839     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14840     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14841     \-*) ;;
   14842     *) break;;
   14843   esac
   14844 done
   14845 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14846 
   14847   case $host_os in
   14848   cygwin* | mingw* | pw32*)
   14849     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14850     # When not using gcc, we currently assume that we are using
   14851     # Microsoft Visual C++.
   14852     if test "$GCC" != yes; then
   14853       with_gnu_ld=no
   14854     fi
   14855     ;;
   14856   interix*)
   14857     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14858     with_gnu_ld=yes
   14859     ;;
   14860   openbsd*)
   14861     with_gnu_ld=no
   14862     ;;
   14863   esac
   14864 
   14865   ld_shlibs_F77=yes
   14866   if test "$with_gnu_ld" = yes; then
   14867     # If archive_cmds runs LD, not CC, wlarc should be empty
   14868     wlarc='${wl}'
   14869 
   14870     # Set some defaults for GNU ld with shared library support. These
   14871     # are reset later if shared libraries are not supported. Putting them
   14872     # here allows them to be overridden if necessary.
   14873     runpath_var=LD_RUN_PATH
   14874     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14875     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14876     # ancient GNU ld didn't support --whole-archive et. al.
   14877     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14878 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14879       else
   14880   	whole_archive_flag_spec_F77=
   14881     fi
   14882     supports_anon_versioning=no
   14883     case `$LD -v 2>/dev/null` in
   14884       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14885       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14886       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14887       *\ 2.11.*) ;; # other 2.11 versions
   14888       *) supports_anon_versioning=yes ;;
   14889     esac
   14890 
   14891     # See if GNU ld supports shared libraries.
   14892     case $host_os in
   14893     aix[3-9]*)
   14894       # On AIX/PPC, the GNU linker is very broken
   14895       if test "$host_cpu" != ia64; then
   14896 	ld_shlibs_F77=no
   14897 	cat <<EOF 1>&2
   14898 
   14899 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14900 *** to be unable to reliably create shared libraries on AIX.
   14901 *** Therefore, libtool is disabling shared libraries support.  If you
   14902 *** really care for shared libraries, you may want to modify your PATH
   14903 *** so that a non-GNU linker is found, and then restart.
   14904 
   14905 EOF
   14906       fi
   14907       ;;
   14908 
   14909     amigaos*)
   14910       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)'
   14911       hardcode_libdir_flag_spec_F77='-L$libdir'
   14912       hardcode_minus_L_F77=yes
   14913 
   14914       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14915       # that the semantics of dynamic libraries on AmigaOS, at least up
   14916       # to version 4, is to share data among multiple programs linked
   14917       # with the same dynamic library.  Since this doesn't match the
   14918       # behavior of shared libraries on other platforms, we can't use
   14919       # them.
   14920       ld_shlibs_F77=no
   14921       ;;
   14922 
   14923     beos*)
   14924       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14925 	allow_undefined_flag_F77=unsupported
   14926 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14927 	# support --undefined.  This deserves some investigation.  FIXME
   14928 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14929       else
   14930 	ld_shlibs_F77=no
   14931       fi
   14932       ;;
   14933 
   14934     cygwin* | mingw* | pw32*)
   14935       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14936       # as there is no search path for DLLs.
   14937       hardcode_libdir_flag_spec_F77='-L$libdir'
   14938       allow_undefined_flag_F77=unsupported
   14939       always_export_symbols_F77=no
   14940       enable_shared_with_static_runtimes_F77=yes
   14941       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14942 
   14943       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14944         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14945 	# If the export-symbols file already is a .def file (1st line
   14946 	# is EXPORTS), use it as is; otherwise, prepend...
   14947 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14948 	  cp $export_symbols $output_objdir/$soname.def;
   14949 	else
   14950 	  echo EXPORTS > $output_objdir/$soname.def;
   14951 	  cat $export_symbols >> $output_objdir/$soname.def;
   14952 	fi~
   14953 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14954       else
   14955 	ld_shlibs_F77=no
   14956       fi
   14957       ;;
   14958 
   14959     interix[3-9]*)
   14960       hardcode_direct_F77=no
   14961       hardcode_shlibpath_var_F77=no
   14962       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14963       export_dynamic_flag_spec_F77='${wl}-E'
   14964       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14965       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14966       # default) and relocated if they conflict, which is a slow very memory
   14967       # consuming and fragmenting process.  To avoid this, we pick a random,
   14968       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14969       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14970       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'
   14971       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'
   14972       ;;
   14973 
   14974     gnu* | linux* | k*bsd*-gnu)
   14975       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14976 	tmp_addflag=
   14977 	case $cc_basename,$host_cpu in
   14978 	pgcc*)				# Portland Group C compiler
   14979 	  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'
   14980 	  tmp_addflag=' $pic_flag'
   14981 	  ;;
   14982 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14983 	  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'
   14984 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14985 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14986 	  tmp_addflag=' -i_dynamic' ;;
   14987 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14988 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14989 	ifc* | ifort*)			# Intel Fortran compiler
   14990 	  tmp_addflag=' -nofor_main' ;;
   14991 	esac
   14992 	case `$CC -V 2>&1 | sed 5q` in
   14993 	*Sun\ C*)			# Sun C 5.9
   14994 	  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'
   14995 	  tmp_sharedflag='-G' ;;
   14996 	*Sun\ F*)			# Sun Fortran 8.3
   14997 	  tmp_sharedflag='-G' ;;
   14998 	*)
   14999 	  tmp_sharedflag='-shared' ;;
   15000 	esac
   15001 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15002 
   15003 	if test $supports_anon_versioning = yes; then
   15004 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15005   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15006   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15007 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15008 	fi
   15009       else
   15010 	ld_shlibs_F77=no
   15011       fi
   15012       ;;
   15013 
   15014     netbsd*)
   15015       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15016 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15017 	wlarc=
   15018       else
   15019 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15020 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15021       fi
   15022       ;;
   15023 
   15024     solaris*)
   15025       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15026 	ld_shlibs_F77=no
   15027 	cat <<EOF 1>&2
   15028 
   15029 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15030 *** create shared libraries on Solaris systems.  Therefore, libtool
   15031 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15032 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15033 *** your PATH or compiler configuration so that the native linker is
   15034 *** used, and then restart.
   15035 
   15036 EOF
   15037       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15038 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15039 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15040       else
   15041 	ld_shlibs_F77=no
   15042       fi
   15043       ;;
   15044 
   15045     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15046       case `$LD -v 2>&1` in
   15047         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15048 	ld_shlibs_F77=no
   15049 	cat <<_LT_EOF 1>&2
   15050 
   15051 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15052 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15053 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15054 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15055 *** your PATH or compiler configuration so that the native linker is
   15056 *** used, and then restart.
   15057 
   15058 _LT_EOF
   15059 	;;
   15060 	*)
   15061 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15062 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15063 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15064 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15065 	  else
   15066 	    ld_shlibs_F77=no
   15067 	  fi
   15068 	;;
   15069       esac
   15070       ;;
   15071 
   15072     sunos4*)
   15073       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15074       wlarc=
   15075       hardcode_direct_F77=yes
   15076       hardcode_shlibpath_var_F77=no
   15077       ;;
   15078 
   15079     *)
   15080       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15081 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15082 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15083       else
   15084 	ld_shlibs_F77=no
   15085       fi
   15086       ;;
   15087     esac
   15088 
   15089     if test "$ld_shlibs_F77" = no; then
   15090       runpath_var=
   15091       hardcode_libdir_flag_spec_F77=
   15092       export_dynamic_flag_spec_F77=
   15093       whole_archive_flag_spec_F77=
   15094     fi
   15095   else
   15096     # PORTME fill in a description of your system's linker (not GNU ld)
   15097     case $host_os in
   15098     aix3*)
   15099       allow_undefined_flag_F77=unsupported
   15100       always_export_symbols_F77=yes
   15101       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'
   15102       # Note: this linker hardcodes the directories in LIBPATH if there
   15103       # are no directories specified by -L.
   15104       hardcode_minus_L_F77=yes
   15105       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15106 	# Neither direct hardcoding nor static linking is supported with a
   15107 	# broken collect2.
   15108 	hardcode_direct_F77=unsupported
   15109       fi
   15110       ;;
   15111 
   15112     aix[4-9]*)
   15113       if test "$host_cpu" = ia64; then
   15114 	# On IA64, the linker does run time linking by default, so we don't
   15115 	# have to do anything special.
   15116 	aix_use_runtimelinking=no
   15117 	exp_sym_flag='-Bexport'
   15118 	no_entry_flag=""
   15119       else
   15120 	# If we're using GNU nm, then we don't want the "-C" option.
   15121 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15122 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15123 	  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'
   15124 	else
   15125 	  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'
   15126 	fi
   15127 	aix_use_runtimelinking=no
   15128 
   15129 	# Test if we are trying to use run time linking or normal
   15130 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15131 	# need to do runtime linking.
   15132 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15133 	  for ld_flag in $LDFLAGS; do
   15134   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15135   	    aix_use_runtimelinking=yes
   15136   	    break
   15137   	  fi
   15138 	  done
   15139 	  ;;
   15140 	esac
   15141 
   15142 	exp_sym_flag='-bexport'
   15143 	no_entry_flag='-bnoentry'
   15144       fi
   15145 
   15146       # When large executables or shared objects are built, AIX ld can
   15147       # have problems creating the table of contents.  If linking a library
   15148       # or program results in "error TOC overflow" add -mminimal-toc to
   15149       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15150       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15151 
   15152       archive_cmds_F77=''
   15153       hardcode_direct_F77=yes
   15154       hardcode_libdir_separator_F77=':'
   15155       link_all_deplibs_F77=yes
   15156 
   15157       if test "$GCC" = yes; then
   15158 	case $host_os in aix4.[012]|aix4.[012].*)
   15159 	# We only want to do this on AIX 4.2 and lower, the check
   15160 	# below for broken collect2 doesn't work under 4.3+
   15161 	  collect2name=`${CC} -print-prog-name=collect2`
   15162 	  if test -f "$collect2name" && \
   15163   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15164 	  then
   15165   	  # We have reworked collect2
   15166   	  :
   15167 	  else
   15168   	  # We have old collect2
   15169   	  hardcode_direct_F77=unsupported
   15170   	  # It fails to find uninstalled libraries when the uninstalled
   15171   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15172   	  # to unsupported forces relinking
   15173   	  hardcode_minus_L_F77=yes
   15174   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15175   	  hardcode_libdir_separator_F77=
   15176 	  fi
   15177 	  ;;
   15178 	esac
   15179 	shared_flag='-shared'
   15180 	if test "$aix_use_runtimelinking" = yes; then
   15181 	  shared_flag="$shared_flag "'${wl}-G'
   15182 	fi
   15183       else
   15184 	# not using gcc
   15185 	if test "$host_cpu" = ia64; then
   15186   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15187   	# chokes on -Wl,-G. The following line is correct:
   15188 	  shared_flag='-G'
   15189 	else
   15190 	  if test "$aix_use_runtimelinking" = yes; then
   15191 	    shared_flag='${wl}-G'
   15192 	  else
   15193 	    shared_flag='${wl}-bM:SRE'
   15194 	  fi
   15195 	fi
   15196       fi
   15197 
   15198       # It seems that -bexpall does not export symbols beginning with
   15199       # underscore (_), so it is better to generate a list of symbols to export.
   15200       always_export_symbols_F77=yes
   15201       if test "$aix_use_runtimelinking" = yes; then
   15202 	# Warning - without using the other runtime loading flags (-brtl),
   15203 	# -berok will link without error, but may produce a broken library.
   15204 	allow_undefined_flag_F77='-berok'
   15205        # Determine the default libpath from the value encoded in an empty executable.
   15206        cat >conftest.$ac_ext <<_ACEOF
   15207       program main
   15208 
   15209       end
   15210 _ACEOF
   15211 rm -f conftest.$ac_objext conftest$ac_exeext
   15212 if { (ac_try="$ac_link"
   15213 case "(($ac_try" in
   15214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15215   *) ac_try_echo=$ac_try;;
   15216 esac
   15217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15218 $as_echo "$ac_try_echo") >&5
   15219   (eval "$ac_link") 2>conftest.er1
   15220   ac_status=$?
   15221   grep -v '^ *+' conftest.er1 >conftest.err
   15222   rm -f conftest.er1
   15223   cat conftest.err >&5
   15224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15225   (exit $ac_status); } && {
   15226 	 test -z "$ac_f77_werror_flag" ||
   15227 	 test ! -s conftest.err
   15228        } && test -s conftest$ac_exeext && {
   15229 	 test "$cross_compiling" = yes ||
   15230 	 $as_test_x conftest$ac_exeext
   15231        }; then
   15232 
   15233 lt_aix_libpath_sed='
   15234     /Import File Strings/,/^$/ {
   15235 	/^0/ {
   15236 	    s/^0  *\(.*\)$/\1/
   15237 	    p
   15238 	}
   15239     }'
   15240 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15241 # Check for a 64-bit object if we didn't find anything.
   15242 if test -z "$aix_libpath"; then
   15243   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15244 fi
   15245 else
   15246   $as_echo "$as_me: failed program was:" >&5
   15247 sed 's/^/| /' conftest.$ac_ext >&5
   15248 
   15249 
   15250 fi
   15251 
   15252 rm -rf conftest.dSYM
   15253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15254       conftest$ac_exeext conftest.$ac_ext
   15255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15256 
   15257        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15258 	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"
   15259        else
   15260 	if test "$host_cpu" = ia64; then
   15261 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15262 	  allow_undefined_flag_F77="-z nodefs"
   15263 	  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"
   15264 	else
   15265 	 # Determine the default libpath from the value encoded in an empty executable.
   15266 	 cat >conftest.$ac_ext <<_ACEOF
   15267       program main
   15268 
   15269       end
   15270 _ACEOF
   15271 rm -f conftest.$ac_objext conftest$ac_exeext
   15272 if { (ac_try="$ac_link"
   15273 case "(($ac_try" in
   15274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15275   *) ac_try_echo=$ac_try;;
   15276 esac
   15277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15278 $as_echo "$ac_try_echo") >&5
   15279   (eval "$ac_link") 2>conftest.er1
   15280   ac_status=$?
   15281   grep -v '^ *+' conftest.er1 >conftest.err
   15282   rm -f conftest.er1
   15283   cat conftest.err >&5
   15284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15285   (exit $ac_status); } && {
   15286 	 test -z "$ac_f77_werror_flag" ||
   15287 	 test ! -s conftest.err
   15288        } && test -s conftest$ac_exeext && {
   15289 	 test "$cross_compiling" = yes ||
   15290 	 $as_test_x conftest$ac_exeext
   15291        }; then
   15292 
   15293 lt_aix_libpath_sed='
   15294     /Import File Strings/,/^$/ {
   15295 	/^0/ {
   15296 	    s/^0  *\(.*\)$/\1/
   15297 	    p
   15298 	}
   15299     }'
   15300 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15301 # Check for a 64-bit object if we didn't find anything.
   15302 if test -z "$aix_libpath"; then
   15303   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15304 fi
   15305 else
   15306   $as_echo "$as_me: failed program was:" >&5
   15307 sed 's/^/| /' conftest.$ac_ext >&5
   15308 
   15309 
   15310 fi
   15311 
   15312 rm -rf conftest.dSYM
   15313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15314       conftest$ac_exeext conftest.$ac_ext
   15315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15316 
   15317 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15318 	  # Warning - without using the other run time loading flags,
   15319 	  # -berok will link without error, but may produce a broken library.
   15320 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15321 	  allow_undefined_flag_F77=' ${wl}-berok'
   15322 	  # Exported symbols can be pulled into shared objects from archives
   15323 	  whole_archive_flag_spec_F77='$convenience'
   15324 	  archive_cmds_need_lc_F77=yes
   15325 	  # This is similar to how AIX traditionally builds its shared libraries.
   15326 	  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'
   15327 	fi
   15328       fi
   15329       ;;
   15330 
   15331     amigaos*)
   15332       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)'
   15333       hardcode_libdir_flag_spec_F77='-L$libdir'
   15334       hardcode_minus_L_F77=yes
   15335       # see comment about different semantics on the GNU ld section
   15336       ld_shlibs_F77=no
   15337       ;;
   15338 
   15339     bsdi[45]*)
   15340       export_dynamic_flag_spec_F77=-rdynamic
   15341       ;;
   15342 
   15343     cygwin* | mingw* | pw32*)
   15344       # When not using gcc, we currently assume that we are using
   15345       # Microsoft Visual C++.
   15346       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15347       # no search path for DLLs.
   15348       hardcode_libdir_flag_spec_F77=' '
   15349       allow_undefined_flag_F77=unsupported
   15350       # Tell ltmain to make .lib files, not .a files.
   15351       libext=lib
   15352       # Tell ltmain to make .dll files, not .so files.
   15353       shrext_cmds=".dll"
   15354       # FIXME: Setting linknames here is a bad hack.
   15355       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15356       # The linker will automatically build a .lib file if we build a DLL.
   15357       old_archive_From_new_cmds_F77='true'
   15358       # FIXME: Should let the user specify the lib program.
   15359       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15360       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15361       enable_shared_with_static_runtimes_F77=yes
   15362       ;;
   15363 
   15364     darwin* | rhapsody*)
   15365       case $host_os in
   15366         rhapsody* | darwin1.[012])
   15367          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15368          ;;
   15369        *) # Darwin 1.3 on
   15370          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15371            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15372          else
   15373            case ${MACOSX_DEPLOYMENT_TARGET} in
   15374              10.[012])
   15375                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15376                ;;
   15377              10.*)
   15378                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15379                ;;
   15380            esac
   15381          fi
   15382          ;;
   15383       esac
   15384       archive_cmds_need_lc_F77=no
   15385       hardcode_direct_F77=no
   15386       hardcode_automatic_F77=yes
   15387       hardcode_shlibpath_var_F77=unsupported
   15388       whole_archive_flag_spec_F77=''
   15389       link_all_deplibs_F77=yes
   15390     if test "$GCC" = yes ; then
   15391     	output_verbose_link_cmd='echo'
   15392         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}"
   15393         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15394         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}"
   15395         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}"
   15396     else
   15397       case $cc_basename in
   15398         xlc*)
   15399          output_verbose_link_cmd='echo'
   15400          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15401          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15402           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15403          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}'
   15404           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}'
   15405           ;;
   15406        *)
   15407          ld_shlibs_F77=no
   15408           ;;
   15409       esac
   15410     fi
   15411       ;;
   15412 
   15413     dgux*)
   15414       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15415       hardcode_libdir_flag_spec_F77='-L$libdir'
   15416       hardcode_shlibpath_var_F77=no
   15417       ;;
   15418 
   15419     freebsd1*)
   15420       ld_shlibs_F77=no
   15421       ;;
   15422 
   15423     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15424     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15425     # does not break anything, and helps significantly (at the cost of a little
   15426     # extra space).
   15427     freebsd2.2*)
   15428       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15429       hardcode_libdir_flag_spec_F77='-R$libdir'
   15430       hardcode_direct_F77=yes
   15431       hardcode_shlibpath_var_F77=no
   15432       ;;
   15433 
   15434     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15435     freebsd2*)
   15436       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15437       hardcode_direct_F77=yes
   15438       hardcode_minus_L_F77=yes
   15439       hardcode_shlibpath_var_F77=no
   15440       ;;
   15441 
   15442     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15443     freebsd* | dragonfly*)
   15444       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15445       hardcode_libdir_flag_spec_F77='-R$libdir'
   15446       hardcode_direct_F77=yes
   15447       hardcode_shlibpath_var_F77=no
   15448       ;;
   15449 
   15450     hpux9*)
   15451       if test "$GCC" = yes; then
   15452 	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'
   15453       else
   15454 	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'
   15455       fi
   15456       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15457       hardcode_libdir_separator_F77=:
   15458       hardcode_direct_F77=yes
   15459 
   15460       # hardcode_minus_L: Not really in the search PATH,
   15461       # but as the default location of the library.
   15462       hardcode_minus_L_F77=yes
   15463       export_dynamic_flag_spec_F77='${wl}-E'
   15464       ;;
   15465 
   15466     hpux10*)
   15467       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15468 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15469       else
   15470 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15471       fi
   15472       if test "$with_gnu_ld" = no; then
   15473 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15474 	hardcode_libdir_separator_F77=:
   15475 
   15476 	hardcode_direct_F77=yes
   15477 	export_dynamic_flag_spec_F77='${wl}-E'
   15478 
   15479 	# hardcode_minus_L: Not really in the search PATH,
   15480 	# but as the default location of the library.
   15481 	hardcode_minus_L_F77=yes
   15482       fi
   15483       ;;
   15484 
   15485     hpux11*)
   15486       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15487 	case $host_cpu in
   15488 	hppa*64*)
   15489 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15490 	  ;;
   15491 	ia64*)
   15492 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15493 	  ;;
   15494 	*)
   15495 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15496 	  ;;
   15497 	esac
   15498       else
   15499 	case $host_cpu in
   15500 	hppa*64*)
   15501 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	ia64*)
   15504 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15505 	  ;;
   15506 	*)
   15507 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  ;;
   15509 	esac
   15510       fi
   15511       if test "$with_gnu_ld" = no; then
   15512 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15513 	hardcode_libdir_separator_F77=:
   15514 
   15515 	case $host_cpu in
   15516 	hppa*64*|ia64*)
   15517 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15518 	  hardcode_direct_F77=no
   15519 	  hardcode_shlibpath_var_F77=no
   15520 	  ;;
   15521 	*)
   15522 	  hardcode_direct_F77=yes
   15523 	  export_dynamic_flag_spec_F77='${wl}-E'
   15524 
   15525 	  # hardcode_minus_L: Not really in the search PATH,
   15526 	  # but as the default location of the library.
   15527 	  hardcode_minus_L_F77=yes
   15528 	  ;;
   15529 	esac
   15530       fi
   15531       ;;
   15532 
   15533     irix5* | irix6* | nonstopux*)
   15534       if test "$GCC" = yes; then
   15535 	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'
   15536       else
   15537 	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'
   15538 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15539       fi
   15540       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15541       hardcode_libdir_separator_F77=:
   15542       link_all_deplibs_F77=yes
   15543       ;;
   15544 
   15545     netbsd*)
   15546       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15547 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15548       else
   15549 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15550       fi
   15551       hardcode_libdir_flag_spec_F77='-R$libdir'
   15552       hardcode_direct_F77=yes
   15553       hardcode_shlibpath_var_F77=no
   15554       ;;
   15555 
   15556     newsos6)
   15557       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15558       hardcode_direct_F77=yes
   15559       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15560       hardcode_libdir_separator_F77=:
   15561       hardcode_shlibpath_var_F77=no
   15562       ;;
   15563 
   15564     openbsd*)
   15565       if test -f /usr/libexec/ld.so; then
   15566 	hardcode_direct_F77=yes
   15567 	hardcode_shlibpath_var_F77=no
   15568 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15569 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15570 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15571 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15572 	  export_dynamic_flag_spec_F77='${wl}-E'
   15573 	else
   15574 	  case $host_os in
   15575 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15576 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15577 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15578 	     ;;
   15579 	   *)
   15580 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15581 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15582 	     ;;
   15583 	  esac
   15584         fi
   15585       else
   15586 	ld_shlibs_F77=no
   15587       fi
   15588       ;;
   15589 
   15590     os2*)
   15591       hardcode_libdir_flag_spec_F77='-L$libdir'
   15592       hardcode_minus_L_F77=yes
   15593       allow_undefined_flag_F77=unsupported
   15594       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'
   15595       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15596       ;;
   15597 
   15598     osf3*)
   15599       if test "$GCC" = yes; then
   15600 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15601 	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'
   15602       else
   15603 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15604 	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'
   15605       fi
   15606       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15607       hardcode_libdir_separator_F77=:
   15608       ;;
   15609 
   15610     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15611       if test "$GCC" = yes; then
   15612 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15613 	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'
   15614 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15615       else
   15616 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15617 	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'
   15618 	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~
   15619 	$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'
   15620 
   15621 	# Both c and cxx compiler support -rpath directly
   15622 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15623       fi
   15624       hardcode_libdir_separator_F77=:
   15625       ;;
   15626 
   15627     solaris*)
   15628       no_undefined_flag_F77=' -z text'
   15629       if test "$GCC" = yes; then
   15630 	wlarc='${wl}'
   15631 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15632 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15633 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15634       else
   15635 	wlarc=''
   15636 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15637 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15638   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15639       fi
   15640       hardcode_libdir_flag_spec_F77='-R$libdir'
   15641       hardcode_shlibpath_var_F77=no
   15642       case $host_os in
   15643       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15644       *)
   15645 	# The compiler driver will combine and reorder linker options,
   15646 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15647 	# but is careful enough not to reorder.
   15648  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15649 	if test "$GCC" = yes; then
   15650 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15651 	else
   15652 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15653 	fi
   15654 	;;
   15655       esac
   15656       link_all_deplibs_F77=yes
   15657       ;;
   15658 
   15659     sunos4*)
   15660       if test "x$host_vendor" = xsequent; then
   15661 	# Use $CC to link under sequent, because it throws in some extra .o
   15662 	# files that make .init and .fini sections work.
   15663 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15664       else
   15665 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15666       fi
   15667       hardcode_libdir_flag_spec_F77='-L$libdir'
   15668       hardcode_direct_F77=yes
   15669       hardcode_minus_L_F77=yes
   15670       hardcode_shlibpath_var_F77=no
   15671       ;;
   15672 
   15673     sysv4)
   15674       case $host_vendor in
   15675 	sni)
   15676 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15677 	  hardcode_direct_F77=yes # is this really true???
   15678 	;;
   15679 	siemens)
   15680 	  ## LD is ld it makes a PLAMLIB
   15681 	  ## CC just makes a GrossModule.
   15682 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15683 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15684 	  hardcode_direct_F77=no
   15685         ;;
   15686 	motorola)
   15687 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15688 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15689 	;;
   15690       esac
   15691       runpath_var='LD_RUN_PATH'
   15692       hardcode_shlibpath_var_F77=no
   15693       ;;
   15694 
   15695     sysv4.3*)
   15696       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15697       hardcode_shlibpath_var_F77=no
   15698       export_dynamic_flag_spec_F77='-Bexport'
   15699       ;;
   15700 
   15701     sysv4*MP*)
   15702       if test -d /usr/nec; then
   15703 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15704 	hardcode_shlibpath_var_F77=no
   15705 	runpath_var=LD_RUN_PATH
   15706 	hardcode_runpath_var=yes
   15707 	ld_shlibs_F77=yes
   15708       fi
   15709       ;;
   15710 
   15711     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15712       no_undefined_flag_F77='${wl}-z,text'
   15713       archive_cmds_need_lc_F77=no
   15714       hardcode_shlibpath_var_F77=no
   15715       runpath_var='LD_RUN_PATH'
   15716 
   15717       if test "$GCC" = yes; then
   15718 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15719 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15720       else
   15721 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15722 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15723       fi
   15724       ;;
   15725 
   15726     sysv5* | sco3.2v5* | sco5v6*)
   15727       # Note: We can NOT use -z defs as we might desire, because we do not
   15728       # link with -lc, and that would cause any symbols used from libc to
   15729       # always be unresolved, which means just about no library would
   15730       # ever link correctly.  If we're not using GNU ld we use -z text
   15731       # though, which does catch some bad symbols but isn't as heavy-handed
   15732       # as -z defs.
   15733       no_undefined_flag_F77='${wl}-z,text'
   15734       allow_undefined_flag_F77='${wl}-z,nodefs'
   15735       archive_cmds_need_lc_F77=no
   15736       hardcode_shlibpath_var_F77=no
   15737       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15738       hardcode_libdir_separator_F77=':'
   15739       link_all_deplibs_F77=yes
   15740       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15741       runpath_var='LD_RUN_PATH'
   15742 
   15743       if test "$GCC" = yes; then
   15744 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15745 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15746       else
   15747 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15748 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15749       fi
   15750       ;;
   15751 
   15752     uts4*)
   15753       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15754       hardcode_libdir_flag_spec_F77='-L$libdir'
   15755       hardcode_shlibpath_var_F77=no
   15756       ;;
   15757 
   15758     *)
   15759       ld_shlibs_F77=no
   15760       ;;
   15761     esac
   15762   fi
   15763 
   15764 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15765 $as_echo "$ld_shlibs_F77" >&6; }
   15766 test "$ld_shlibs_F77" = no && can_build_shared=no
   15767 
   15768 #
   15769 # Do we need to explicitly link libc?
   15770 #
   15771 case "x$archive_cmds_need_lc_F77" in
   15772 x|xyes)
   15773   # Assume -lc should be added
   15774   archive_cmds_need_lc_F77=yes
   15775 
   15776   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15777     case $archive_cmds_F77 in
   15778     *'~'*)
   15779       # FIXME: we may have to deal with multi-command sequences.
   15780       ;;
   15781     '$CC '*)
   15782       # Test whether the compiler implicitly links with -lc since on some
   15783       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15784       # to ld, don't add -lc before -lgcc.
   15785       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15787       $rm conftest*
   15788       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15789 
   15790       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15791   (eval $ac_compile) 2>&5
   15792   ac_status=$?
   15793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15794   (exit $ac_status); } 2>conftest.err; then
   15795         soname=conftest
   15796         lib=conftest
   15797         libobjs=conftest.$ac_objext
   15798         deplibs=
   15799         wl=$lt_prog_compiler_wl_F77
   15800 	pic_flag=$lt_prog_compiler_pic_F77
   15801         compiler_flags=-v
   15802         linker_flags=-v
   15803         verstring=
   15804         output_objdir=.
   15805         libname=conftest
   15806         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15807         allow_undefined_flag_F77=
   15808         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15809   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15810   ac_status=$?
   15811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15812   (exit $ac_status); }
   15813         then
   15814 	  archive_cmds_need_lc_F77=no
   15815         else
   15816 	  archive_cmds_need_lc_F77=yes
   15817         fi
   15818         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15819       else
   15820         cat conftest.err 1>&5
   15821       fi
   15822       $rm conftest*
   15823       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15824 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15825       ;;
   15826     esac
   15827   fi
   15828   ;;
   15829 esac
   15830 
   15831 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15832 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15833 library_names_spec=
   15834 libname_spec='lib$name'
   15835 soname_spec=
   15836 shrext_cmds=".so"
   15837 postinstall_cmds=
   15838 postuninstall_cmds=
   15839 finish_cmds=
   15840 finish_eval=
   15841 shlibpath_var=
   15842 shlibpath_overrides_runpath=unknown
   15843 version_type=none
   15844 dynamic_linker="$host_os ld.so"
   15845 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15846 
   15847 need_lib_prefix=unknown
   15848 hardcode_into_libs=no
   15849 
   15850 # when you set need_version to no, make sure it does not cause -set_version
   15851 # flags to be left without arguments
   15852 need_version=unknown
   15853 
   15854 case $host_os in
   15855 aix3*)
   15856   version_type=linux
   15857   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15858   shlibpath_var=LIBPATH
   15859 
   15860   # AIX 3 has no versioning support, so we append a major version to the name.
   15861   soname_spec='${libname}${release}${shared_ext}$major'
   15862   ;;
   15863 
   15864 aix[4-9]*)
   15865   version_type=linux
   15866   need_lib_prefix=no
   15867   need_version=no
   15868   hardcode_into_libs=yes
   15869   if test "$host_cpu" = ia64; then
   15870     # AIX 5 supports IA64
   15871     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15872     shlibpath_var=LD_LIBRARY_PATH
   15873   else
   15874     # With GCC up to 2.95.x, collect2 would create an import file
   15875     # for dependence libraries.  The import file would start with
   15876     # the line `#! .'.  This would cause the generated library to
   15877     # depend on `.', always an invalid library.  This was fixed in
   15878     # development snapshots of GCC prior to 3.0.
   15879     case $host_os in
   15880       aix4 | aix4.[01] | aix4.[01].*)
   15881       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15882 	   echo ' yes '
   15883 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15884 	:
   15885       else
   15886 	can_build_shared=no
   15887       fi
   15888       ;;
   15889     esac
   15890     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15891     # soname into executable. Probably we can add versioning support to
   15892     # collect2, so additional links can be useful in future.
   15893     if test "$aix_use_runtimelinking" = yes; then
   15894       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15895       # instead of lib<name>.a to let people know that these are not
   15896       # typical AIX shared libraries.
   15897       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15898     else
   15899       # We preserve .a as extension for shared libraries through AIX4.2
   15900       # and later when we are not doing run time linking.
   15901       library_names_spec='${libname}${release}.a $libname.a'
   15902       soname_spec='${libname}${release}${shared_ext}$major'
   15903     fi
   15904     shlibpath_var=LIBPATH
   15905   fi
   15906   ;;
   15907 
   15908 amigaos*)
   15909   library_names_spec='$libname.ixlibrary $libname.a'
   15910   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15911   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'
   15912   ;;
   15913 
   15914 beos*)
   15915   library_names_spec='${libname}${shared_ext}'
   15916   dynamic_linker="$host_os ld.so"
   15917   shlibpath_var=LIBRARY_PATH
   15918   ;;
   15919 
   15920 bsdi[45]*)
   15921   version_type=linux
   15922   need_version=no
   15923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15924   soname_spec='${libname}${release}${shared_ext}$major'
   15925   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15926   shlibpath_var=LD_LIBRARY_PATH
   15927   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15928   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15929   # the default ld.so.conf also contains /usr/contrib/lib and
   15930   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15931   # libtool to hard-code these into programs
   15932   ;;
   15933 
   15934 cygwin* | mingw* | pw32*)
   15935   version_type=windows
   15936   shrext_cmds=".dll"
   15937   need_version=no
   15938   need_lib_prefix=no
   15939 
   15940   case $GCC,$host_os in
   15941   yes,cygwin* | yes,mingw* | yes,pw32*)
   15942     library_names_spec='$libname.dll.a'
   15943     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15944     postinstall_cmds='base_file=`basename \${file}`~
   15945       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15946       dldir=$destdir/`dirname \$dlpath`~
   15947       test -d \$dldir || mkdir -p \$dldir~
   15948       $install_prog $dir/$dlname \$dldir/$dlname~
   15949       chmod a+x \$dldir/$dlname'
   15950     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15951       dlpath=$dir/\$dldll~
   15952        $rm \$dlpath'
   15953     shlibpath_overrides_runpath=yes
   15954 
   15955     case $host_os in
   15956     cygwin*)
   15957       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15958       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15959       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15960       ;;
   15961     mingw*)
   15962       # MinGW DLLs use traditional 'lib' prefix
   15963       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15964       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15965       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15966         # It is most probably a Windows format PATH printed by
   15967         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15968         # path with ; separators, and with drive letters. We can handle the
   15969         # drive letters (cygwin fileutils understands them), so leave them,
   15970         # especially as we might pass files found there to a mingw objdump,
   15971         # which wouldn't understand a cygwinified path. Ahh.
   15972         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15973       else
   15974         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15975       fi
   15976       ;;
   15977     pw32*)
   15978       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15979       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15980       ;;
   15981     esac
   15982     ;;
   15983 
   15984   *)
   15985     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15986     ;;
   15987   esac
   15988   dynamic_linker='Win32 ld.exe'
   15989   # FIXME: first we should search . and the directory the executable is in
   15990   shlibpath_var=PATH
   15991   ;;
   15992 
   15993 darwin* | rhapsody*)
   15994   dynamic_linker="$host_os dyld"
   15995   version_type=darwin
   15996   need_lib_prefix=no
   15997   need_version=no
   15998   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15999   soname_spec='${libname}${release}${major}$shared_ext'
   16000   shlibpath_overrides_runpath=yes
   16001   shlibpath_var=DYLD_LIBRARY_PATH
   16002   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16003 
   16004   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16005   ;;
   16006 
   16007 dgux*)
   16008   version_type=linux
   16009   need_lib_prefix=no
   16010   need_version=no
   16011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16012   soname_spec='${libname}${release}${shared_ext}$major'
   16013   shlibpath_var=LD_LIBRARY_PATH
   16014   ;;
   16015 
   16016 freebsd1*)
   16017   dynamic_linker=no
   16018   ;;
   16019 
   16020 freebsd* | dragonfly*)
   16021   # DragonFly does not have aout.  When/if they implement a new
   16022   # versioning mechanism, adjust this.
   16023   if test -x /usr/bin/objformat; then
   16024     objformat=`/usr/bin/objformat`
   16025   else
   16026     case $host_os in
   16027     freebsd[123]*) objformat=aout ;;
   16028     *) objformat=elf ;;
   16029     esac
   16030   fi
   16031   version_type=freebsd-$objformat
   16032   case $version_type in
   16033     freebsd-elf*)
   16034       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16035       need_version=no
   16036       need_lib_prefix=no
   16037       ;;
   16038     freebsd-*)
   16039       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16040       need_version=yes
   16041       ;;
   16042   esac
   16043   shlibpath_var=LD_LIBRARY_PATH
   16044   case $host_os in
   16045   freebsd2*)
   16046     shlibpath_overrides_runpath=yes
   16047     ;;
   16048   freebsd3.[01]* | freebsdelf3.[01]*)
   16049     shlibpath_overrides_runpath=yes
   16050     hardcode_into_libs=yes
   16051     ;;
   16052   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16053   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16054     shlibpath_overrides_runpath=no
   16055     hardcode_into_libs=yes
   16056     ;;
   16057   *) # from 4.6 on, and DragonFly
   16058     shlibpath_overrides_runpath=yes
   16059     hardcode_into_libs=yes
   16060     ;;
   16061   esac
   16062   ;;
   16063 
   16064 gnu*)
   16065   version_type=linux
   16066   need_lib_prefix=no
   16067   need_version=no
   16068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16069   soname_spec='${libname}${release}${shared_ext}$major'
   16070   shlibpath_var=LD_LIBRARY_PATH
   16071   hardcode_into_libs=yes
   16072   ;;
   16073 
   16074 hpux9* | hpux10* | hpux11*)
   16075   # Give a soname corresponding to the major version so that dld.sl refuses to
   16076   # link against other versions.
   16077   version_type=sunos
   16078   need_lib_prefix=no
   16079   need_version=no
   16080   case $host_cpu in
   16081   ia64*)
   16082     shrext_cmds='.so'
   16083     hardcode_into_libs=yes
   16084     dynamic_linker="$host_os dld.so"
   16085     shlibpath_var=LD_LIBRARY_PATH
   16086     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16087     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16088     soname_spec='${libname}${release}${shared_ext}$major'
   16089     if test "X$HPUX_IA64_MODE" = X32; then
   16090       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16091     else
   16092       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16093     fi
   16094     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16095     ;;
   16096    hppa*64*)
   16097      shrext_cmds='.sl'
   16098      hardcode_into_libs=yes
   16099      dynamic_linker="$host_os dld.sl"
   16100      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16101      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16102      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16103      soname_spec='${libname}${release}${shared_ext}$major'
   16104      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16105      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16106      ;;
   16107    *)
   16108     shrext_cmds='.sl'
   16109     dynamic_linker="$host_os dld.sl"
   16110     shlibpath_var=SHLIB_PATH
   16111     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16112     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16113     soname_spec='${libname}${release}${shared_ext}$major'
   16114     ;;
   16115   esac
   16116   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16117   postinstall_cmds='chmod 555 $lib'
   16118   ;;
   16119 
   16120 interix[3-9]*)
   16121   version_type=linux
   16122   need_lib_prefix=no
   16123   need_version=no
   16124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16125   soname_spec='${libname}${release}${shared_ext}$major'
   16126   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16127   shlibpath_var=LD_LIBRARY_PATH
   16128   shlibpath_overrides_runpath=no
   16129   hardcode_into_libs=yes
   16130   ;;
   16131 
   16132 irix5* | irix6* | nonstopux*)
   16133   case $host_os in
   16134     nonstopux*) version_type=nonstopux ;;
   16135     *)
   16136 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16137 		version_type=linux
   16138 	else
   16139 		version_type=irix
   16140 	fi ;;
   16141   esac
   16142   need_lib_prefix=no
   16143   need_version=no
   16144   soname_spec='${libname}${release}${shared_ext}$major'
   16145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16146   case $host_os in
   16147   irix5* | nonstopux*)
   16148     libsuff= shlibsuff=
   16149     ;;
   16150   *)
   16151     case $LD in # libtool.m4 will add one of these switches to LD
   16152     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16153       libsuff= shlibsuff= libmagic=32-bit;;
   16154     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16155       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16156     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16157       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16158     *) libsuff= shlibsuff= libmagic=never-match;;
   16159     esac
   16160     ;;
   16161   esac
   16162   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16163   shlibpath_overrides_runpath=no
   16164   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16165   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16166   hardcode_into_libs=yes
   16167   ;;
   16168 
   16169 # No shared lib support for Linux oldld, aout, or coff.
   16170 linux*oldld* | linux*aout* | linux*coff*)
   16171   dynamic_linker=no
   16172   ;;
   16173 
   16174 # This must be Linux ELF.
   16175 linux* | k*bsd*-gnu)
   16176   version_type=linux
   16177   need_lib_prefix=no
   16178   need_version=no
   16179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16180   soname_spec='${libname}${release}${shared_ext}$major'
   16181   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16182   shlibpath_var=LD_LIBRARY_PATH
   16183   shlibpath_overrides_runpath=no
   16184   # This implies no fast_install, which is unacceptable.
   16185   # Some rework will be needed to allow for fast_install
   16186   # before this can be enabled.
   16187   hardcode_into_libs=yes
   16188   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16189   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16190 
   16191   # Append ld.so.conf contents to the search path
   16192   if test -f /etc/ld.so.conf; then
   16193     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' ' '`
   16194     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16195   fi
   16196 
   16197   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16198   # powerpc, because MkLinux only supported shared libraries with the
   16199   # GNU dynamic linker.  Since this was broken with cross compilers,
   16200   # most powerpc-linux boxes support dynamic linking these days and
   16201   # people can always --disable-shared, the test was removed, and we
   16202   # assume the GNU/Linux dynamic linker is in use.
   16203   dynamic_linker='GNU/Linux ld.so'
   16204   ;;
   16205 
   16206 netbsd*)
   16207   version_type=sunos
   16208   need_lib_prefix=no
   16209   need_version=no
   16210   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16211     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16212     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16213     dynamic_linker='NetBSD (a.out) ld.so'
   16214   else
   16215     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16216     soname_spec='${libname}${release}${shared_ext}$major'
   16217     dynamic_linker='NetBSD ld.elf_so'
   16218   fi
   16219   shlibpath_var=LD_LIBRARY_PATH
   16220   shlibpath_overrides_runpath=yes
   16221   hardcode_into_libs=yes
   16222   ;;
   16223 
   16224 newsos6)
   16225   version_type=linux
   16226   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16227   shlibpath_var=LD_LIBRARY_PATH
   16228   shlibpath_overrides_runpath=yes
   16229   ;;
   16230 
   16231 nto-qnx*)
   16232   version_type=linux
   16233   need_lib_prefix=no
   16234   need_version=no
   16235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16236   soname_spec='${libname}${release}${shared_ext}$major'
   16237   shlibpath_var=LD_LIBRARY_PATH
   16238   shlibpath_overrides_runpath=yes
   16239   ;;
   16240 
   16241 openbsd*)
   16242   version_type=sunos
   16243   sys_lib_dlsearch_path_spec="/usr/lib"
   16244   need_lib_prefix=no
   16245   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16246   case $host_os in
   16247     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16248     *)                         need_version=no  ;;
   16249   esac
   16250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16251   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16252   shlibpath_var=LD_LIBRARY_PATH
   16253   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16254     case $host_os in
   16255       openbsd2.[89] | openbsd2.[89].*)
   16256 	shlibpath_overrides_runpath=no
   16257 	;;
   16258       *)
   16259 	shlibpath_overrides_runpath=yes
   16260 	;;
   16261       esac
   16262   else
   16263     shlibpath_overrides_runpath=yes
   16264   fi
   16265   ;;
   16266 
   16267 os2*)
   16268   libname_spec='$name'
   16269   shrext_cmds=".dll"
   16270   need_lib_prefix=no
   16271   library_names_spec='$libname${shared_ext} $libname.a'
   16272   dynamic_linker='OS/2 ld.exe'
   16273   shlibpath_var=LIBPATH
   16274   ;;
   16275 
   16276 osf3* | osf4* | osf5*)
   16277   version_type=osf
   16278   need_lib_prefix=no
   16279   need_version=no
   16280   soname_spec='${libname}${release}${shared_ext}$major'
   16281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16282   shlibpath_var=LD_LIBRARY_PATH
   16283   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16284   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16285   ;;
   16286 
   16287 rdos*)
   16288   dynamic_linker=no
   16289   ;;
   16290 
   16291 solaris*)
   16292   version_type=linux
   16293   need_lib_prefix=no
   16294   need_version=no
   16295   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16296   soname_spec='${libname}${release}${shared_ext}$major'
   16297   shlibpath_var=LD_LIBRARY_PATH
   16298   shlibpath_overrides_runpath=yes
   16299   hardcode_into_libs=yes
   16300   # ldd complains unless libraries are executable
   16301   postinstall_cmds='chmod +x $lib'
   16302   ;;
   16303 
   16304 sunos4*)
   16305   version_type=sunos
   16306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16307   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16308   shlibpath_var=LD_LIBRARY_PATH
   16309   shlibpath_overrides_runpath=yes
   16310   if test "$with_gnu_ld" = yes; then
   16311     need_lib_prefix=no
   16312   fi
   16313   need_version=yes
   16314   ;;
   16315 
   16316 sysv4 | sysv4.3*)
   16317   version_type=linux
   16318   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16319   soname_spec='${libname}${release}${shared_ext}$major'
   16320   shlibpath_var=LD_LIBRARY_PATH
   16321   case $host_vendor in
   16322     sni)
   16323       shlibpath_overrides_runpath=no
   16324       need_lib_prefix=no
   16325       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16326       runpath_var=LD_RUN_PATH
   16327       ;;
   16328     siemens)
   16329       need_lib_prefix=no
   16330       ;;
   16331     motorola)
   16332       need_lib_prefix=no
   16333       need_version=no
   16334       shlibpath_overrides_runpath=no
   16335       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16336       ;;
   16337   esac
   16338   ;;
   16339 
   16340 sysv4*MP*)
   16341   if test -d /usr/nec ;then
   16342     version_type=linux
   16343     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16344     soname_spec='$libname${shared_ext}.$major'
   16345     shlibpath_var=LD_LIBRARY_PATH
   16346   fi
   16347   ;;
   16348 
   16349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16350   version_type=freebsd-elf
   16351   need_lib_prefix=no
   16352   need_version=no
   16353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16354   soname_spec='${libname}${release}${shared_ext}$major'
   16355   shlibpath_var=LD_LIBRARY_PATH
   16356   hardcode_into_libs=yes
   16357   if test "$with_gnu_ld" = yes; then
   16358     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16359     shlibpath_overrides_runpath=no
   16360   else
   16361     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16362     shlibpath_overrides_runpath=yes
   16363     case $host_os in
   16364       sco3.2v5*)
   16365         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16366 	;;
   16367     esac
   16368   fi
   16369   sys_lib_dlsearch_path_spec='/usr/lib'
   16370   ;;
   16371 
   16372 uts4*)
   16373   version_type=linux
   16374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16375   soname_spec='${libname}${release}${shared_ext}$major'
   16376   shlibpath_var=LD_LIBRARY_PATH
   16377   ;;
   16378 
   16379 *)
   16380   dynamic_linker=no
   16381   ;;
   16382 esac
   16383 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16384 $as_echo "$dynamic_linker" >&6; }
   16385 test "$dynamic_linker" = no && can_build_shared=no
   16386 
   16387 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16388   $as_echo_n "(cached) " >&6
   16389 else
   16390   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16391 fi
   16392 
   16393 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16394 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16395   $as_echo_n "(cached) " >&6
   16396 else
   16397   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16398 fi
   16399 
   16400 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16401 
   16402 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16403 if test "$GCC" = yes; then
   16404   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16405 fi
   16406 
   16407 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16408 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16409 hardcode_action_F77=
   16410 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16411    test -n "$runpath_var_F77" || \
   16412    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16413 
   16414   # We can hardcode non-existant directories.
   16415   if test "$hardcode_direct_F77" != no &&
   16416      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16417      # have to relink, otherwise we might link with an installed library
   16418      # when we should be linking with a yet-to-be-installed one
   16419      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16420      test "$hardcode_minus_L_F77" != no; then
   16421     # Linking always hardcodes the temporary library directory.
   16422     hardcode_action_F77=relink
   16423   else
   16424     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16425     hardcode_action_F77=immediate
   16426   fi
   16427 else
   16428   # We cannot hardcode anything, or else we can only hardcode existing
   16429   # directories.
   16430   hardcode_action_F77=unsupported
   16431 fi
   16432 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16433 $as_echo "$hardcode_action_F77" >&6; }
   16434 
   16435 if test "$hardcode_action_F77" = relink; then
   16436   # Fast installation is not supported
   16437   enable_fast_install=no
   16438 elif test "$shlibpath_overrides_runpath" = yes ||
   16439      test "$enable_shared" = no; then
   16440   # Fast installation is not necessary
   16441   enable_fast_install=needless
   16442 fi
   16443 
   16444 
   16445 # The else clause should only fire when bootstrapping the
   16446 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16447 # with your package, and you will get complaints that there are
   16448 # no rules to generate ltmain.sh.
   16449 if test -f "$ltmain"; then
   16450   # See if we are running on zsh, and set the options which allow our commands through
   16451   # without removal of \ escapes.
   16452   if test -n "${ZSH_VERSION+set}" ; then
   16453     setopt NO_GLOB_SUBST
   16454   fi
   16455   # Now quote all the things that may contain metacharacters while being
   16456   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16457   # variables and quote the copies for generation of the libtool script.
   16458   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16459     SED SHELL STRIP \
   16460     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16461     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16462     deplibs_check_method reload_flag reload_cmds need_locks \
   16463     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16464     lt_cv_sys_global_symbol_to_c_name_address \
   16465     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16466     old_postinstall_cmds old_postuninstall_cmds \
   16467     compiler_F77 \
   16468     CC_F77 \
   16469     LD_F77 \
   16470     lt_prog_compiler_wl_F77 \
   16471     lt_prog_compiler_pic_F77 \
   16472     lt_prog_compiler_static_F77 \
   16473     lt_prog_compiler_no_builtin_flag_F77 \
   16474     export_dynamic_flag_spec_F77 \
   16475     thread_safe_flag_spec_F77 \
   16476     whole_archive_flag_spec_F77 \
   16477     enable_shared_with_static_runtimes_F77 \
   16478     old_archive_cmds_F77 \
   16479     old_archive_from_new_cmds_F77 \
   16480     predep_objects_F77 \
   16481     postdep_objects_F77 \
   16482     predeps_F77 \
   16483     postdeps_F77 \
   16484     compiler_lib_search_path_F77 \
   16485     compiler_lib_search_dirs_F77 \
   16486     archive_cmds_F77 \
   16487     archive_expsym_cmds_F77 \
   16488     postinstall_cmds_F77 \
   16489     postuninstall_cmds_F77 \
   16490     old_archive_from_expsyms_cmds_F77 \
   16491     allow_undefined_flag_F77 \
   16492     no_undefined_flag_F77 \
   16493     export_symbols_cmds_F77 \
   16494     hardcode_libdir_flag_spec_F77 \
   16495     hardcode_libdir_flag_spec_ld_F77 \
   16496     hardcode_libdir_separator_F77 \
   16497     hardcode_automatic_F77 \
   16498     module_cmds_F77 \
   16499     module_expsym_cmds_F77 \
   16500     lt_cv_prog_compiler_c_o_F77 \
   16501     fix_srcfile_path_F77 \
   16502     exclude_expsyms_F77 \
   16503     include_expsyms_F77; do
   16504 
   16505     case $var in
   16506     old_archive_cmds_F77 | \
   16507     old_archive_from_new_cmds_F77 | \
   16508     archive_cmds_F77 | \
   16509     archive_expsym_cmds_F77 | \
   16510     module_cmds_F77 | \
   16511     module_expsym_cmds_F77 | \
   16512     old_archive_from_expsyms_cmds_F77 | \
   16513     export_symbols_cmds_F77 | \
   16514     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16515     postinstall_cmds | postuninstall_cmds | \
   16516     old_postinstall_cmds | old_postuninstall_cmds | \
   16517     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16518       # Double-quote double-evaled strings.
   16519       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16520       ;;
   16521     *)
   16522       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16523       ;;
   16524     esac
   16525   done
   16526 
   16527   case $lt_echo in
   16528   *'\$0 --fallback-echo"')
   16529     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16530     ;;
   16531   esac
   16532 
   16533 cfgfile="$ofile"
   16534 
   16535   cat <<__EOF__ >> "$cfgfile"
   16536 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16537 
   16538 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16539 
   16540 # Shell to use when invoking shell scripts.
   16541 SHELL=$lt_SHELL
   16542 
   16543 # Whether or not to build shared libraries.
   16544 build_libtool_libs=$enable_shared
   16545 
   16546 # Whether or not to build static libraries.
   16547 build_old_libs=$enable_static
   16548 
   16549 # Whether or not to add -lc for building shared libraries.
   16550 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16551 
   16552 # Whether or not to disallow shared libs when runtime libs are static
   16553 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16554 
   16555 # Whether or not to optimize for fast installation.
   16556 fast_install=$enable_fast_install
   16557 
   16558 # The host system.
   16559 host_alias=$host_alias
   16560 host=$host
   16561 host_os=$host_os
   16562 
   16563 # The build system.
   16564 build_alias=$build_alias
   16565 build=$build
   16566 build_os=$build_os
   16567 
   16568 # An echo program that does not interpret backslashes.
   16569 echo=$lt_echo
   16570 
   16571 # The archiver.
   16572 AR=$lt_AR
   16573 AR_FLAGS=$lt_AR_FLAGS
   16574 
   16575 # A C compiler.
   16576 LTCC=$lt_LTCC
   16577 
   16578 # LTCC compiler flags.
   16579 LTCFLAGS=$lt_LTCFLAGS
   16580 
   16581 # A language-specific compiler.
   16582 CC=$lt_compiler_F77
   16583 
   16584 # Is the compiler the GNU C compiler?
   16585 with_gcc=$GCC_F77
   16586 
   16587 # An ERE matcher.
   16588 EGREP=$lt_EGREP
   16589 
   16590 # The linker used to build libraries.
   16591 LD=$lt_LD_F77
   16592 
   16593 # Whether we need hard or soft links.
   16594 LN_S=$lt_LN_S
   16595 
   16596 # A BSD-compatible nm program.
   16597 NM=$lt_NM
   16598 
   16599 # A symbol stripping program
   16600 STRIP=$lt_STRIP
   16601 
   16602 # Used to examine libraries when file_magic_cmd begins "file"
   16603 MAGIC_CMD=$MAGIC_CMD
   16604 
   16605 # Used on cygwin: DLL creation program.
   16606 DLLTOOL="$DLLTOOL"
   16607 
   16608 # Used on cygwin: object dumper.
   16609 OBJDUMP="$OBJDUMP"
   16610 
   16611 # Used on cygwin: assembler.
   16612 AS="$AS"
   16613 
   16614 # The name of the directory that contains temporary libtool files.
   16615 objdir=$objdir
   16616 
   16617 # How to create reloadable object files.
   16618 reload_flag=$lt_reload_flag
   16619 reload_cmds=$lt_reload_cmds
   16620 
   16621 # How to pass a linker flag through the compiler.
   16622 wl=$lt_lt_prog_compiler_wl_F77
   16623 
   16624 # Object file suffix (normally "o").
   16625 objext="$ac_objext"
   16626 
   16627 # Old archive suffix (normally "a").
   16628 libext="$libext"
   16629 
   16630 # Shared library suffix (normally ".so").
   16631 shrext_cmds='$shrext_cmds'
   16632 
   16633 # Executable file suffix (normally "").
   16634 exeext="$exeext"
   16635 
   16636 # Additional compiler flags for building library objects.
   16637 pic_flag=$lt_lt_prog_compiler_pic_F77
   16638 pic_mode=$pic_mode
   16639 
   16640 # What is the maximum length of a command?
   16641 max_cmd_len=$lt_cv_sys_max_cmd_len
   16642 
   16643 # Does compiler simultaneously support -c and -o options?
   16644 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16645 
   16646 # Must we lock files when doing compilation?
   16647 need_locks=$lt_need_locks
   16648 
   16649 # Do we need the lib prefix for modules?
   16650 need_lib_prefix=$need_lib_prefix
   16651 
   16652 # Do we need a version for libraries?
   16653 need_version=$need_version
   16654 
   16655 # Whether dlopen is supported.
   16656 dlopen_support=$enable_dlopen
   16657 
   16658 # Whether dlopen of programs is supported.
   16659 dlopen_self=$enable_dlopen_self
   16660 
   16661 # Whether dlopen of statically linked programs is supported.
   16662 dlopen_self_static=$enable_dlopen_self_static
   16663 
   16664 # Compiler flag to prevent dynamic linking.
   16665 link_static_flag=$lt_lt_prog_compiler_static_F77
   16666 
   16667 # Compiler flag to turn off builtin functions.
   16668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16669 
   16670 # Compiler flag to allow reflexive dlopens.
   16671 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16672 
   16673 # Compiler flag to generate shared objects directly from archives.
   16674 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16675 
   16676 # Compiler flag to generate thread-safe objects.
   16677 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16678 
   16679 # Library versioning type.
   16680 version_type=$version_type
   16681 
   16682 # Format of library name prefix.
   16683 libname_spec=$lt_libname_spec
   16684 
   16685 # List of archive names.  First name is the real one, the rest are links.
   16686 # The last name is the one that the linker finds with -lNAME.
   16687 library_names_spec=$lt_library_names_spec
   16688 
   16689 # The coded name of the library, if different from the real name.
   16690 soname_spec=$lt_soname_spec
   16691 
   16692 # Commands used to build and install an old-style archive.
   16693 RANLIB=$lt_RANLIB
   16694 old_archive_cmds=$lt_old_archive_cmds_F77
   16695 old_postinstall_cmds=$lt_old_postinstall_cmds
   16696 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16697 
   16698 # Create an old-style archive from a shared archive.
   16699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16700 
   16701 # Create a temporary old-style archive to link instead of a shared archive.
   16702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16703 
   16704 # Commands used to build and install a shared archive.
   16705 archive_cmds=$lt_archive_cmds_F77
   16706 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16707 postinstall_cmds=$lt_postinstall_cmds
   16708 postuninstall_cmds=$lt_postuninstall_cmds
   16709 
   16710 # Commands used to build a loadable module (assumed same as above if empty)
   16711 module_cmds=$lt_module_cmds_F77
   16712 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16713 
   16714 # Commands to strip libraries.
   16715 old_striplib=$lt_old_striplib
   16716 striplib=$lt_striplib
   16717 
   16718 # Dependencies to place before the objects being linked to create a
   16719 # shared library.
   16720 predep_objects=$lt_predep_objects_F77
   16721 
   16722 # Dependencies to place after the objects being linked to create a
   16723 # shared library.
   16724 postdep_objects=$lt_postdep_objects_F77
   16725 
   16726 # Dependencies to place before the objects being linked to create a
   16727 # shared library.
   16728 predeps=$lt_predeps_F77
   16729 
   16730 # Dependencies to place after the objects being linked to create a
   16731 # shared library.
   16732 postdeps=$lt_postdeps_F77
   16733 
   16734 # The directories searched by this compiler when creating a shared
   16735 # library
   16736 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16737 
   16738 # The library search path used internally by the compiler when linking
   16739 # a shared library.
   16740 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16741 
   16742 # Method to check whether dependent libraries are shared objects.
   16743 deplibs_check_method=$lt_deplibs_check_method
   16744 
   16745 # Command to use when deplibs_check_method == file_magic.
   16746 file_magic_cmd=$lt_file_magic_cmd
   16747 
   16748 # Flag that allows shared libraries with undefined symbols to be built.
   16749 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16750 
   16751 # Flag that forces no undefined symbols.
   16752 no_undefined_flag=$lt_no_undefined_flag_F77
   16753 
   16754 # Commands used to finish a libtool library installation in a directory.
   16755 finish_cmds=$lt_finish_cmds
   16756 
   16757 # Same as above, but a single script fragment to be evaled but not shown.
   16758 finish_eval=$lt_finish_eval
   16759 
   16760 # Take the output of nm and produce a listing of raw symbols and C names.
   16761 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16762 
   16763 # Transform the output of nm in a proper C declaration
   16764 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16765 
   16766 # Transform the output of nm in a C name address pair
   16767 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16768 
   16769 # This is the shared library runtime path variable.
   16770 runpath_var=$runpath_var
   16771 
   16772 # This is the shared library path variable.
   16773 shlibpath_var=$shlibpath_var
   16774 
   16775 # Is shlibpath searched before the hard-coded library search path?
   16776 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16777 
   16778 # How to hardcode a shared library path into an executable.
   16779 hardcode_action=$hardcode_action_F77
   16780 
   16781 # Whether we should hardcode library paths into libraries.
   16782 hardcode_into_libs=$hardcode_into_libs
   16783 
   16784 # Flag to hardcode \$libdir into a binary during linking.
   16785 # This must work even if \$libdir does not exist.
   16786 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16787 
   16788 # If ld is used when linking, flag to hardcode \$libdir into
   16789 # a binary during linking. This must work even if \$libdir does
   16790 # not exist.
   16791 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16792 
   16793 # Whether we need a single -rpath flag with a separated argument.
   16794 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16795 
   16796 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16797 # resulting binary.
   16798 hardcode_direct=$hardcode_direct_F77
   16799 
   16800 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16801 # resulting binary.
   16802 hardcode_minus_L=$hardcode_minus_L_F77
   16803 
   16804 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16805 # the resulting binary.
   16806 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16807 
   16808 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16809 # and all subsequent libraries and executables linked against it.
   16810 hardcode_automatic=$hardcode_automatic_F77
   16811 
   16812 # Variables whose values should be saved in libtool wrapper scripts and
   16813 # restored at relink time.
   16814 variables_saved_for_relink="$variables_saved_for_relink"
   16815 
   16816 # Whether libtool must link a program against all its dependency libraries.
   16817 link_all_deplibs=$link_all_deplibs_F77
   16818 
   16819 # Compile-time system search path for libraries
   16820 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16821 
   16822 # Run-time system search path for libraries
   16823 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16824 
   16825 # Fix the shell variable \$srcfile for the compiler.
   16826 fix_srcfile_path=$lt_fix_srcfile_path
   16827 
   16828 # Set to yes if exported symbols are required.
   16829 always_export_symbols=$always_export_symbols_F77
   16830 
   16831 # The commands to list exported symbols.
   16832 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16833 
   16834 # The commands to extract the exported symbol list from a shared archive.
   16835 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16836 
   16837 # Symbols that should not be listed in the preloaded symbols.
   16838 exclude_expsyms=$lt_exclude_expsyms_F77
   16839 
   16840 # Symbols that must always be exported.
   16841 include_expsyms=$lt_include_expsyms_F77
   16842 
   16843 # ### END LIBTOOL TAG CONFIG: $tagname
   16844 
   16845 __EOF__
   16846 
   16847 
   16848 else
   16849   # If there is no Makefile yet, we rely on a make rule to execute
   16850   # `config.status --recheck' to rerun these tests and create the
   16851   # libtool script then.
   16852   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16853   if test -f "$ltmain_in"; then
   16854     test -f Makefile && make "$ltmain"
   16855   fi
   16856 fi
   16857 
   16858 
   16859 ac_ext=c
   16860 ac_cpp='$CPP $CPPFLAGS'
   16861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16864 
   16865 CC="$lt_save_CC"
   16866 
   16867 	else
   16868 	  tagname=""
   16869 	fi
   16870 	;;
   16871 
   16872       GCJ)
   16873 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16874 
   16875 
   16876 # Source file extension for Java test sources.
   16877 ac_ext=java
   16878 
   16879 # Object file extension for compiled Java test sources.
   16880 objext=o
   16881 objext_GCJ=$objext
   16882 
   16883 # Code to be used in simple compile tests
   16884 lt_simple_compile_test_code="class foo {}"
   16885 
   16886 # Code to be used in simple link tests
   16887 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16888 
   16889 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16890 
   16891 # If no C compiler was specified, use CC.
   16892 LTCC=${LTCC-"$CC"}
   16893 
   16894 # If no C compiler flags were specified, use CFLAGS.
   16895 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16896 
   16897 # Allow CC to be a program name with arguments.
   16898 compiler=$CC
   16899 
   16900 
   16901 # save warnings/boilerplate of simple test code
   16902 ac_outfile=conftest.$ac_objext
   16903 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16904 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16905 _lt_compiler_boilerplate=`cat conftest.err`
   16906 $rm conftest*
   16907 
   16908 ac_outfile=conftest.$ac_objext
   16909 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16910 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16911 _lt_linker_boilerplate=`cat conftest.err`
   16912 $rm -r conftest*
   16913 
   16914 
   16915 # Allow CC to be a program name with arguments.
   16916 lt_save_CC="$CC"
   16917 CC=${GCJ-"gcj"}
   16918 compiler=$CC
   16919 compiler_GCJ=$CC
   16920 for cc_temp in $compiler""; do
   16921   case $cc_temp in
   16922     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16923     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16924     \-*) ;;
   16925     *) break;;
   16926   esac
   16927 done
   16928 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16929 
   16930 
   16931 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16932 archive_cmds_need_lc_GCJ=no
   16933 
   16934 old_archive_cmds_GCJ=$old_archive_cmds
   16935 
   16936 
   16937 lt_prog_compiler_no_builtin_flag_GCJ=
   16938 
   16939 if test "$GCC" = yes; then
   16940   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16941 
   16942 
   16943 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16944 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16945 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16946   $as_echo_n "(cached) " >&6
   16947 else
   16948   lt_cv_prog_compiler_rtti_exceptions=no
   16949   ac_outfile=conftest.$ac_objext
   16950    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16951    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16952    # Insert the option either (1) after the last *FLAGS variable, or
   16953    # (2) before a word containing "conftest.", or (3) at the end.
   16954    # Note that $ac_compile itself does not contain backslashes and begins
   16955    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16956    # The option is referenced via a variable to avoid confusing sed.
   16957    lt_compile=`echo "$ac_compile" | $SED \
   16958    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16959    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16960    -e 's:$: $lt_compiler_flag:'`
   16961    (eval echo "\"\$as_me:16961: $lt_compile\"" >&5)
   16962    (eval "$lt_compile" 2>conftest.err)
   16963    ac_status=$?
   16964    cat conftest.err >&5
   16965    echo "$as_me:16965: \$? = $ac_status" >&5
   16966    if (exit $ac_status) && test -s "$ac_outfile"; then
   16967      # The compiler can only warn and ignore the option if not recognized
   16968      # So say no if there are warnings other than the usual output.
   16969      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16970      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16971      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16972        lt_cv_prog_compiler_rtti_exceptions=yes
   16973      fi
   16974    fi
   16975    $rm conftest*
   16976 
   16977 fi
   16978 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16979 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16980 
   16981 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16982     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16983 else
   16984     :
   16985 fi
   16986 
   16987 fi
   16988 
   16989 lt_prog_compiler_wl_GCJ=
   16990 lt_prog_compiler_pic_GCJ=
   16991 lt_prog_compiler_static_GCJ=
   16992 
   16993 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16994 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16995 
   16996   if test "$GCC" = yes; then
   16997     lt_prog_compiler_wl_GCJ='-Wl,'
   16998     lt_prog_compiler_static_GCJ='-static'
   16999 
   17000     case $host_os in
   17001       aix*)
   17002       # All AIX code is PIC.
   17003       if test "$host_cpu" = ia64; then
   17004 	# AIX 5 now supports IA64 processor
   17005 	lt_prog_compiler_static_GCJ='-Bstatic'
   17006       fi
   17007       ;;
   17008 
   17009     amigaos*)
   17010       # FIXME: we need at least 68020 code to build shared libraries, but
   17011       # adding the `-m68020' flag to GCC prevents building anything better,
   17012       # like `-m68040'.
   17013       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17014       ;;
   17015 
   17016     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17017       # PIC is the default for these OSes.
   17018       ;;
   17019 
   17020     mingw* | cygwin* | pw32* | os2*)
   17021       # This hack is so that the source file can tell whether it is being
   17022       # built for inclusion in a dll (and should export symbols for example).
   17023       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17024       # (--disable-auto-import) libraries
   17025 
   17026       ;;
   17027 
   17028     darwin* | rhapsody*)
   17029       # PIC is the default on this platform
   17030       # Common symbols not allowed in MH_DYLIB files
   17031       lt_prog_compiler_pic_GCJ='-fno-common'
   17032       ;;
   17033 
   17034     interix[3-9]*)
   17035       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17036       # Instead, we relocate shared libraries at runtime.
   17037       ;;
   17038 
   17039     msdosdjgpp*)
   17040       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17041       # on systems that don't support them.
   17042       lt_prog_compiler_can_build_shared_GCJ=no
   17043       enable_shared=no
   17044       ;;
   17045 
   17046     sysv4*MP*)
   17047       if test -d /usr/nec; then
   17048 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17049       fi
   17050       ;;
   17051 
   17052     hpux*)
   17053       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17054       # not for PA HP-UX.
   17055       case $host_cpu in
   17056       hppa*64*|ia64*)
   17057 	# +Z the default
   17058 	;;
   17059       *)
   17060 	lt_prog_compiler_pic_GCJ='-fPIC'
   17061 	;;
   17062       esac
   17063       ;;
   17064 
   17065     *)
   17066       lt_prog_compiler_pic_GCJ='-fPIC'
   17067       ;;
   17068     esac
   17069   else
   17070     # PORTME Check for flag to pass linker flags through the system compiler.
   17071     case $host_os in
   17072     aix*)
   17073       lt_prog_compiler_wl_GCJ='-Wl,'
   17074       if test "$host_cpu" = ia64; then
   17075 	# AIX 5 now supports IA64 processor
   17076 	lt_prog_compiler_static_GCJ='-Bstatic'
   17077       else
   17078 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17079       fi
   17080       ;;
   17081       darwin*)
   17082         # PIC is the default on this platform
   17083         # Common symbols not allowed in MH_DYLIB files
   17084        case $cc_basename in
   17085          xlc*)
   17086          lt_prog_compiler_pic_GCJ='-qnocommon'
   17087          lt_prog_compiler_wl_GCJ='-Wl,'
   17088          ;;
   17089        esac
   17090        ;;
   17091 
   17092     mingw* | cygwin* | pw32* | os2*)
   17093       # This hack is so that the source file can tell whether it is being
   17094       # built for inclusion in a dll (and should export symbols for example).
   17095 
   17096       ;;
   17097 
   17098     hpux9* | hpux10* | hpux11*)
   17099       lt_prog_compiler_wl_GCJ='-Wl,'
   17100       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17101       # not for PA HP-UX.
   17102       case $host_cpu in
   17103       hppa*64*|ia64*)
   17104 	# +Z the default
   17105 	;;
   17106       *)
   17107 	lt_prog_compiler_pic_GCJ='+Z'
   17108 	;;
   17109       esac
   17110       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17111       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17112       ;;
   17113 
   17114     irix5* | irix6* | nonstopux*)
   17115       lt_prog_compiler_wl_GCJ='-Wl,'
   17116       # PIC (with -KPIC) is the default.
   17117       lt_prog_compiler_static_GCJ='-non_shared'
   17118       ;;
   17119 
   17120     newsos6)
   17121       lt_prog_compiler_pic_GCJ='-KPIC'
   17122       lt_prog_compiler_static_GCJ='-Bstatic'
   17123       ;;
   17124 
   17125     linux* | k*bsd*-gnu)
   17126       case $cc_basename in
   17127       icc* | ecc*)
   17128 	lt_prog_compiler_wl_GCJ='-Wl,'
   17129 	lt_prog_compiler_pic_GCJ='-KPIC'
   17130 	lt_prog_compiler_static_GCJ='-static'
   17131         ;;
   17132       pgcc* | pgf77* | pgf90* | pgf95*)
   17133         # Portland Group compilers (*not* the Pentium gcc compiler,
   17134 	# which looks to be a dead project)
   17135 	lt_prog_compiler_wl_GCJ='-Wl,'
   17136 	lt_prog_compiler_pic_GCJ='-fpic'
   17137 	lt_prog_compiler_static_GCJ='-Bstatic'
   17138         ;;
   17139       ccc*)
   17140         lt_prog_compiler_wl_GCJ='-Wl,'
   17141         # All Alpha code is PIC.
   17142         lt_prog_compiler_static_GCJ='-non_shared'
   17143         ;;
   17144       *)
   17145         case `$CC -V 2>&1 | sed 5q` in
   17146 	*Sun\ C*)
   17147 	  # Sun C 5.9
   17148 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17149 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17150 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17151 	  ;;
   17152 	*Sun\ F*)
   17153 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17154 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17155 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17156 	  lt_prog_compiler_wl_GCJ=''
   17157 	  ;;
   17158 	esac
   17159 	;;
   17160       esac
   17161       ;;
   17162 
   17163     osf3* | osf4* | osf5*)
   17164       lt_prog_compiler_wl_GCJ='-Wl,'
   17165       # All OSF/1 code is PIC.
   17166       lt_prog_compiler_static_GCJ='-non_shared'
   17167       ;;
   17168 
   17169     rdos*)
   17170       lt_prog_compiler_static_GCJ='-non_shared'
   17171       ;;
   17172 
   17173     solaris*)
   17174       lt_prog_compiler_pic_GCJ='-KPIC'
   17175       lt_prog_compiler_static_GCJ='-Bstatic'
   17176       case $cc_basename in
   17177       f77* | f90* | f95*)
   17178 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17179       *)
   17180 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17181       esac
   17182       ;;
   17183 
   17184     sunos4*)
   17185       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17186       lt_prog_compiler_pic_GCJ='-PIC'
   17187       lt_prog_compiler_static_GCJ='-Bstatic'
   17188       ;;
   17189 
   17190     sysv4 | sysv4.2uw2* | sysv4.3*)
   17191       lt_prog_compiler_wl_GCJ='-Wl,'
   17192       lt_prog_compiler_pic_GCJ='-KPIC'
   17193       lt_prog_compiler_static_GCJ='-Bstatic'
   17194       ;;
   17195 
   17196     sysv4*MP*)
   17197       if test -d /usr/nec ;then
   17198 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17199 	lt_prog_compiler_static_GCJ='-Bstatic'
   17200       fi
   17201       ;;
   17202 
   17203     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17204       lt_prog_compiler_wl_GCJ='-Wl,'
   17205       lt_prog_compiler_pic_GCJ='-KPIC'
   17206       lt_prog_compiler_static_GCJ='-Bstatic'
   17207       ;;
   17208 
   17209     unicos*)
   17210       lt_prog_compiler_wl_GCJ='-Wl,'
   17211       lt_prog_compiler_can_build_shared_GCJ=no
   17212       ;;
   17213 
   17214     uts4*)
   17215       lt_prog_compiler_pic_GCJ='-pic'
   17216       lt_prog_compiler_static_GCJ='-Bstatic'
   17217       ;;
   17218 
   17219     *)
   17220       lt_prog_compiler_can_build_shared_GCJ=no
   17221       ;;
   17222     esac
   17223   fi
   17224 
   17225 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17226 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17227 
   17228 #
   17229 # Check to make sure the PIC flag actually works.
   17230 #
   17231 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17232 
   17233 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17234 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17235 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17236   $as_echo_n "(cached) " >&6
   17237 else
   17238   lt_cv_prog_compiler_pic_works_GCJ=no
   17239   ac_outfile=conftest.$ac_objext
   17240    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17241    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17242    # Insert the option either (1) after the last *FLAGS variable, or
   17243    # (2) before a word containing "conftest.", or (3) at the end.
   17244    # Note that $ac_compile itself does not contain backslashes and begins
   17245    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17246    # The option is referenced via a variable to avoid confusing sed.
   17247    lt_compile=`echo "$ac_compile" | $SED \
   17248    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17249    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17250    -e 's:$: $lt_compiler_flag:'`
   17251    (eval echo "\"\$as_me:17251: $lt_compile\"" >&5)
   17252    (eval "$lt_compile" 2>conftest.err)
   17253    ac_status=$?
   17254    cat conftest.err >&5
   17255    echo "$as_me:17255: \$? = $ac_status" >&5
   17256    if (exit $ac_status) && test -s "$ac_outfile"; then
   17257      # The compiler can only warn and ignore the option if not recognized
   17258      # So say no if there are warnings other than the usual output.
   17259      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17260      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17261      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17262        lt_cv_prog_compiler_pic_works_GCJ=yes
   17263      fi
   17264    fi
   17265    $rm conftest*
   17266 
   17267 fi
   17268 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17269 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17270 
   17271 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17272     case $lt_prog_compiler_pic_GCJ in
   17273      "" | " "*) ;;
   17274      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17275      esac
   17276 else
   17277     lt_prog_compiler_pic_GCJ=
   17278      lt_prog_compiler_can_build_shared_GCJ=no
   17279 fi
   17280 
   17281 fi
   17282 case $host_os in
   17283   # For platforms which do not support PIC, -DPIC is meaningless:
   17284   *djgpp*)
   17285     lt_prog_compiler_pic_GCJ=
   17286     ;;
   17287   *)
   17288     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17289     ;;
   17290 esac
   17291 
   17292 #
   17293 # Check to make sure the static flag actually works.
   17294 #
   17295 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17296 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17297 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17298 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17299   $as_echo_n "(cached) " >&6
   17300 else
   17301   lt_cv_prog_compiler_static_works_GCJ=no
   17302    save_LDFLAGS="$LDFLAGS"
   17303    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17304    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17305    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17306      # The linker can only warn and ignore the option if not recognized
   17307      # So say no if there are warnings
   17308      if test -s conftest.err; then
   17309        # Append any errors to the config.log.
   17310        cat conftest.err 1>&5
   17311        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17312        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17313        if diff conftest.exp conftest.er2 >/dev/null; then
   17314          lt_cv_prog_compiler_static_works_GCJ=yes
   17315        fi
   17316      else
   17317        lt_cv_prog_compiler_static_works_GCJ=yes
   17318      fi
   17319    fi
   17320    $rm -r conftest*
   17321    LDFLAGS="$save_LDFLAGS"
   17322 
   17323 fi
   17324 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17325 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17326 
   17327 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17328     :
   17329 else
   17330     lt_prog_compiler_static_GCJ=
   17331 fi
   17332 
   17333 
   17334 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17335 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17336 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17337   $as_echo_n "(cached) " >&6
   17338 else
   17339   lt_cv_prog_compiler_c_o_GCJ=no
   17340    $rm -r conftest 2>/dev/null
   17341    mkdir conftest
   17342    cd conftest
   17343    mkdir out
   17344    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17345 
   17346    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17347    # Insert the option either (1) after the last *FLAGS variable, or
   17348    # (2) before a word containing "conftest.", or (3) at the end.
   17349    # Note that $ac_compile itself does not contain backslashes and begins
   17350    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17351    lt_compile=`echo "$ac_compile" | $SED \
   17352    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17353    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17354    -e 's:$: $lt_compiler_flag:'`
   17355    (eval echo "\"\$as_me:17355: $lt_compile\"" >&5)
   17356    (eval "$lt_compile" 2>out/conftest.err)
   17357    ac_status=$?
   17358    cat out/conftest.err >&5
   17359    echo "$as_me:17359: \$? = $ac_status" >&5
   17360    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17361    then
   17362      # The compiler can only warn and ignore the option if not recognized
   17363      # So say no if there are warnings
   17364      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17365      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17366      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17367        lt_cv_prog_compiler_c_o_GCJ=yes
   17368      fi
   17369    fi
   17370    chmod u+w . 2>&5
   17371    $rm conftest*
   17372    # SGI C++ compiler will create directory out/ii_files/ for
   17373    # template instantiation
   17374    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17375    $rm out/* && rmdir out
   17376    cd ..
   17377    rmdir conftest
   17378    $rm conftest*
   17379 
   17380 fi
   17381 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17382 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17383 
   17384 
   17385 hard_links="nottested"
   17386 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17387   # do not overwrite the value of need_locks provided by the user
   17388   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17389 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17390   hard_links=yes
   17391   $rm conftest*
   17392   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17393   touch conftest.a
   17394   ln conftest.a conftest.b 2>&5 || hard_links=no
   17395   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17396   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17397 $as_echo "$hard_links" >&6; }
   17398   if test "$hard_links" = no; then
   17399     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17400 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17401     need_locks=warn
   17402   fi
   17403 else
   17404   need_locks=no
   17405 fi
   17406 
   17407 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17408 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17409 
   17410   runpath_var=
   17411   allow_undefined_flag_GCJ=
   17412   enable_shared_with_static_runtimes_GCJ=no
   17413   archive_cmds_GCJ=
   17414   archive_expsym_cmds_GCJ=
   17415   old_archive_From_new_cmds_GCJ=
   17416   old_archive_from_expsyms_cmds_GCJ=
   17417   export_dynamic_flag_spec_GCJ=
   17418   whole_archive_flag_spec_GCJ=
   17419   thread_safe_flag_spec_GCJ=
   17420   hardcode_libdir_flag_spec_GCJ=
   17421   hardcode_libdir_flag_spec_ld_GCJ=
   17422   hardcode_libdir_separator_GCJ=
   17423   hardcode_direct_GCJ=no
   17424   hardcode_minus_L_GCJ=no
   17425   hardcode_shlibpath_var_GCJ=unsupported
   17426   link_all_deplibs_GCJ=unknown
   17427   hardcode_automatic_GCJ=no
   17428   module_cmds_GCJ=
   17429   module_expsym_cmds_GCJ=
   17430   always_export_symbols_GCJ=no
   17431   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17432   # include_expsyms should be a list of space-separated symbols to be *always*
   17433   # included in the symbol list
   17434   include_expsyms_GCJ=
   17435   # exclude_expsyms can be an extended regexp of symbols to exclude
   17436   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17437   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17438   # as well as any symbol that contains `d'.
   17439   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17440   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17441   # platforms (ab)use it in PIC code, but their linkers get confused if
   17442   # the symbol is explicitly referenced.  Since portable code cannot
   17443   # rely on this symbol name, it's probably fine to never include it in
   17444   # preloaded symbol tables.
   17445   # Exclude shared library initialization/finalization symbols.
   17446   extract_expsyms_cmds=
   17447   # Just being paranoid about ensuring that cc_basename is set.
   17448   for cc_temp in $compiler""; do
   17449   case $cc_temp in
   17450     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17451     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17452     \-*) ;;
   17453     *) break;;
   17454   esac
   17455 done
   17456 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17457 
   17458   case $host_os in
   17459   cygwin* | mingw* | pw32*)
   17460     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17461     # When not using gcc, we currently assume that we are using
   17462     # Microsoft Visual C++.
   17463     if test "$GCC" != yes; then
   17464       with_gnu_ld=no
   17465     fi
   17466     ;;
   17467   interix*)
   17468     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17469     with_gnu_ld=yes
   17470     ;;
   17471   openbsd*)
   17472     with_gnu_ld=no
   17473     ;;
   17474   esac
   17475 
   17476   ld_shlibs_GCJ=yes
   17477   if test "$with_gnu_ld" = yes; then
   17478     # If archive_cmds runs LD, not CC, wlarc should be empty
   17479     wlarc='${wl}'
   17480 
   17481     # Set some defaults for GNU ld with shared library support. These
   17482     # are reset later if shared libraries are not supported. Putting them
   17483     # here allows them to be overridden if necessary.
   17484     runpath_var=LD_RUN_PATH
   17485     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17486     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17487     # ancient GNU ld didn't support --whole-archive et. al.
   17488     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17489 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17490       else
   17491   	whole_archive_flag_spec_GCJ=
   17492     fi
   17493     supports_anon_versioning=no
   17494     case `$LD -v 2>/dev/null` in
   17495       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17496       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17497       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17498       *\ 2.11.*) ;; # other 2.11 versions
   17499       *) supports_anon_versioning=yes ;;
   17500     esac
   17501 
   17502     # See if GNU ld supports shared libraries.
   17503     case $host_os in
   17504     aix[3-9]*)
   17505       # On AIX/PPC, the GNU linker is very broken
   17506       if test "$host_cpu" != ia64; then
   17507 	ld_shlibs_GCJ=no
   17508 	cat <<EOF 1>&2
   17509 
   17510 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17511 *** to be unable to reliably create shared libraries on AIX.
   17512 *** Therefore, libtool is disabling shared libraries support.  If you
   17513 *** really care for shared libraries, you may want to modify your PATH
   17514 *** so that a non-GNU linker is found, and then restart.
   17515 
   17516 EOF
   17517       fi
   17518       ;;
   17519 
   17520     amigaos*)
   17521       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)'
   17522       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17523       hardcode_minus_L_GCJ=yes
   17524 
   17525       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17526       # that the semantics of dynamic libraries on AmigaOS, at least up
   17527       # to version 4, is to share data among multiple programs linked
   17528       # with the same dynamic library.  Since this doesn't match the
   17529       # behavior of shared libraries on other platforms, we can't use
   17530       # them.
   17531       ld_shlibs_GCJ=no
   17532       ;;
   17533 
   17534     beos*)
   17535       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17536 	allow_undefined_flag_GCJ=unsupported
   17537 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17538 	# support --undefined.  This deserves some investigation.  FIXME
   17539 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17540       else
   17541 	ld_shlibs_GCJ=no
   17542       fi
   17543       ;;
   17544 
   17545     cygwin* | mingw* | pw32*)
   17546       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17547       # as there is no search path for DLLs.
   17548       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17549       allow_undefined_flag_GCJ=unsupported
   17550       always_export_symbols_GCJ=no
   17551       enable_shared_with_static_runtimes_GCJ=yes
   17552       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17553 
   17554       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17555         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17556 	# If the export-symbols file already is a .def file (1st line
   17557 	# is EXPORTS), use it as is; otherwise, prepend...
   17558 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17559 	  cp $export_symbols $output_objdir/$soname.def;
   17560 	else
   17561 	  echo EXPORTS > $output_objdir/$soname.def;
   17562 	  cat $export_symbols >> $output_objdir/$soname.def;
   17563 	fi~
   17564 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17565       else
   17566 	ld_shlibs_GCJ=no
   17567       fi
   17568       ;;
   17569 
   17570     interix[3-9]*)
   17571       hardcode_direct_GCJ=no
   17572       hardcode_shlibpath_var_GCJ=no
   17573       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17574       export_dynamic_flag_spec_GCJ='${wl}-E'
   17575       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17576       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17577       # default) and relocated if they conflict, which is a slow very memory
   17578       # consuming and fragmenting process.  To avoid this, we pick a random,
   17579       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17580       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17581       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'
   17582       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'
   17583       ;;
   17584 
   17585     gnu* | linux* | k*bsd*-gnu)
   17586       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17587 	tmp_addflag=
   17588 	case $cc_basename,$host_cpu in
   17589 	pgcc*)				# Portland Group C compiler
   17590 	  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'
   17591 	  tmp_addflag=' $pic_flag'
   17592 	  ;;
   17593 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17594 	  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'
   17595 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17596 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17597 	  tmp_addflag=' -i_dynamic' ;;
   17598 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17599 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17600 	ifc* | ifort*)			# Intel Fortran compiler
   17601 	  tmp_addflag=' -nofor_main' ;;
   17602 	esac
   17603 	case `$CC -V 2>&1 | sed 5q` in
   17604 	*Sun\ C*)			# Sun C 5.9
   17605 	  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'
   17606 	  tmp_sharedflag='-G' ;;
   17607 	*Sun\ F*)			# Sun Fortran 8.3
   17608 	  tmp_sharedflag='-G' ;;
   17609 	*)
   17610 	  tmp_sharedflag='-shared' ;;
   17611 	esac
   17612 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17613 
   17614 	if test $supports_anon_versioning = yes; then
   17615 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17616   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17617   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17618 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17619 	fi
   17620       else
   17621 	ld_shlibs_GCJ=no
   17622       fi
   17623       ;;
   17624 
   17625     netbsd*)
   17626       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17627 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17628 	wlarc=
   17629       else
   17630 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17631 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17632       fi
   17633       ;;
   17634 
   17635     solaris*)
   17636       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17637 	ld_shlibs_GCJ=no
   17638 	cat <<EOF 1>&2
   17639 
   17640 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17641 *** create shared libraries on Solaris systems.  Therefore, libtool
   17642 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17643 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17644 *** your PATH or compiler configuration so that the native linker is
   17645 *** used, and then restart.
   17646 
   17647 EOF
   17648       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17649 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17650 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17651       else
   17652 	ld_shlibs_GCJ=no
   17653       fi
   17654       ;;
   17655 
   17656     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17657       case `$LD -v 2>&1` in
   17658         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17659 	ld_shlibs_GCJ=no
   17660 	cat <<_LT_EOF 1>&2
   17661 
   17662 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17663 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17664 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17665 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17666 *** your PATH or compiler configuration so that the native linker is
   17667 *** used, and then restart.
   17668 
   17669 _LT_EOF
   17670 	;;
   17671 	*)
   17672 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17673 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17674 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17675 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17676 	  else
   17677 	    ld_shlibs_GCJ=no
   17678 	  fi
   17679 	;;
   17680       esac
   17681       ;;
   17682 
   17683     sunos4*)
   17684       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17685       wlarc=
   17686       hardcode_direct_GCJ=yes
   17687       hardcode_shlibpath_var_GCJ=no
   17688       ;;
   17689 
   17690     *)
   17691       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17692 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17693 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17694       else
   17695 	ld_shlibs_GCJ=no
   17696       fi
   17697       ;;
   17698     esac
   17699 
   17700     if test "$ld_shlibs_GCJ" = no; then
   17701       runpath_var=
   17702       hardcode_libdir_flag_spec_GCJ=
   17703       export_dynamic_flag_spec_GCJ=
   17704       whole_archive_flag_spec_GCJ=
   17705     fi
   17706   else
   17707     # PORTME fill in a description of your system's linker (not GNU ld)
   17708     case $host_os in
   17709     aix3*)
   17710       allow_undefined_flag_GCJ=unsupported
   17711       always_export_symbols_GCJ=yes
   17712       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'
   17713       # Note: this linker hardcodes the directories in LIBPATH if there
   17714       # are no directories specified by -L.
   17715       hardcode_minus_L_GCJ=yes
   17716       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17717 	# Neither direct hardcoding nor static linking is supported with a
   17718 	# broken collect2.
   17719 	hardcode_direct_GCJ=unsupported
   17720       fi
   17721       ;;
   17722 
   17723     aix[4-9]*)
   17724       if test "$host_cpu" = ia64; then
   17725 	# On IA64, the linker does run time linking by default, so we don't
   17726 	# have to do anything special.
   17727 	aix_use_runtimelinking=no
   17728 	exp_sym_flag='-Bexport'
   17729 	no_entry_flag=""
   17730       else
   17731 	# If we're using GNU nm, then we don't want the "-C" option.
   17732 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17733 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17734 	  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'
   17735 	else
   17736 	  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'
   17737 	fi
   17738 	aix_use_runtimelinking=no
   17739 
   17740 	# Test if we are trying to use run time linking or normal
   17741 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17742 	# need to do runtime linking.
   17743 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17744 	  for ld_flag in $LDFLAGS; do
   17745   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17746   	    aix_use_runtimelinking=yes
   17747   	    break
   17748   	  fi
   17749 	  done
   17750 	  ;;
   17751 	esac
   17752 
   17753 	exp_sym_flag='-bexport'
   17754 	no_entry_flag='-bnoentry'
   17755       fi
   17756 
   17757       # When large executables or shared objects are built, AIX ld can
   17758       # have problems creating the table of contents.  If linking a library
   17759       # or program results in "error TOC overflow" add -mminimal-toc to
   17760       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17761       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17762 
   17763       archive_cmds_GCJ=''
   17764       hardcode_direct_GCJ=yes
   17765       hardcode_libdir_separator_GCJ=':'
   17766       link_all_deplibs_GCJ=yes
   17767 
   17768       if test "$GCC" = yes; then
   17769 	case $host_os in aix4.[012]|aix4.[012].*)
   17770 	# We only want to do this on AIX 4.2 and lower, the check
   17771 	# below for broken collect2 doesn't work under 4.3+
   17772 	  collect2name=`${CC} -print-prog-name=collect2`
   17773 	  if test -f "$collect2name" && \
   17774   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17775 	  then
   17776   	  # We have reworked collect2
   17777   	  :
   17778 	  else
   17779   	  # We have old collect2
   17780   	  hardcode_direct_GCJ=unsupported
   17781   	  # It fails to find uninstalled libraries when the uninstalled
   17782   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17783   	  # to unsupported forces relinking
   17784   	  hardcode_minus_L_GCJ=yes
   17785   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17786   	  hardcode_libdir_separator_GCJ=
   17787 	  fi
   17788 	  ;;
   17789 	esac
   17790 	shared_flag='-shared'
   17791 	if test "$aix_use_runtimelinking" = yes; then
   17792 	  shared_flag="$shared_flag "'${wl}-G'
   17793 	fi
   17794       else
   17795 	# not using gcc
   17796 	if test "$host_cpu" = ia64; then
   17797   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17798   	# chokes on -Wl,-G. The following line is correct:
   17799 	  shared_flag='-G'
   17800 	else
   17801 	  if test "$aix_use_runtimelinking" = yes; then
   17802 	    shared_flag='${wl}-G'
   17803 	  else
   17804 	    shared_flag='${wl}-bM:SRE'
   17805 	  fi
   17806 	fi
   17807       fi
   17808 
   17809       # It seems that -bexpall does not export symbols beginning with
   17810       # underscore (_), so it is better to generate a list of symbols to export.
   17811       always_export_symbols_GCJ=yes
   17812       if test "$aix_use_runtimelinking" = yes; then
   17813 	# Warning - without using the other runtime loading flags (-brtl),
   17814 	# -berok will link without error, but may produce a broken library.
   17815 	allow_undefined_flag_GCJ='-berok'
   17816        # Determine the default libpath from the value encoded in an empty executable.
   17817        cat >conftest.$ac_ext <<_ACEOF
   17818 /* confdefs.h.  */
   17819 _ACEOF
   17820 cat confdefs.h >>conftest.$ac_ext
   17821 cat >>conftest.$ac_ext <<_ACEOF
   17822 /* end confdefs.h.  */
   17823 
   17824 int
   17825 main ()
   17826 {
   17827 
   17828   ;
   17829   return 0;
   17830 }
   17831 _ACEOF
   17832 rm -f conftest.$ac_objext conftest$ac_exeext
   17833 if { (ac_try="$ac_link"
   17834 case "(($ac_try" in
   17835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17836   *) ac_try_echo=$ac_try;;
   17837 esac
   17838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17839 $as_echo "$ac_try_echo") >&5
   17840   (eval "$ac_link") 2>conftest.er1
   17841   ac_status=$?
   17842   grep -v '^ *+' conftest.er1 >conftest.err
   17843   rm -f conftest.er1
   17844   cat conftest.err >&5
   17845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17846   (exit $ac_status); } && {
   17847 	 test -z "$ac_c_werror_flag" ||
   17848 	 test ! -s conftest.err
   17849        } && test -s conftest$ac_exeext && {
   17850 	 test "$cross_compiling" = yes ||
   17851 	 $as_test_x conftest$ac_exeext
   17852        }; then
   17853 
   17854 lt_aix_libpath_sed='
   17855     /Import File Strings/,/^$/ {
   17856 	/^0/ {
   17857 	    s/^0  *\(.*\)$/\1/
   17858 	    p
   17859 	}
   17860     }'
   17861 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17862 # Check for a 64-bit object if we didn't find anything.
   17863 if test -z "$aix_libpath"; then
   17864   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17865 fi
   17866 else
   17867   $as_echo "$as_me: failed program was:" >&5
   17868 sed 's/^/| /' conftest.$ac_ext >&5
   17869 
   17870 
   17871 fi
   17872 
   17873 rm -rf conftest.dSYM
   17874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17875       conftest$ac_exeext conftest.$ac_ext
   17876 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17877 
   17878        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17879 	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"
   17880        else
   17881 	if test "$host_cpu" = ia64; then
   17882 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17883 	  allow_undefined_flag_GCJ="-z nodefs"
   17884 	  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"
   17885 	else
   17886 	 # Determine the default libpath from the value encoded in an empty executable.
   17887 	 cat >conftest.$ac_ext <<_ACEOF
   17888 /* confdefs.h.  */
   17889 _ACEOF
   17890 cat confdefs.h >>conftest.$ac_ext
   17891 cat >>conftest.$ac_ext <<_ACEOF
   17892 /* end confdefs.h.  */
   17893 
   17894 int
   17895 main ()
   17896 {
   17897 
   17898   ;
   17899   return 0;
   17900 }
   17901 _ACEOF
   17902 rm -f conftest.$ac_objext conftest$ac_exeext
   17903 if { (ac_try="$ac_link"
   17904 case "(($ac_try" in
   17905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17906   *) ac_try_echo=$ac_try;;
   17907 esac
   17908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17909 $as_echo "$ac_try_echo") >&5
   17910   (eval "$ac_link") 2>conftest.er1
   17911   ac_status=$?
   17912   grep -v '^ *+' conftest.er1 >conftest.err
   17913   rm -f conftest.er1
   17914   cat conftest.err >&5
   17915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17916   (exit $ac_status); } && {
   17917 	 test -z "$ac_c_werror_flag" ||
   17918 	 test ! -s conftest.err
   17919        } && test -s conftest$ac_exeext && {
   17920 	 test "$cross_compiling" = yes ||
   17921 	 $as_test_x conftest$ac_exeext
   17922        }; then
   17923 
   17924 lt_aix_libpath_sed='
   17925     /Import File Strings/,/^$/ {
   17926 	/^0/ {
   17927 	    s/^0  *\(.*\)$/\1/
   17928 	    p
   17929 	}
   17930     }'
   17931 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17932 # Check for a 64-bit object if we didn't find anything.
   17933 if test -z "$aix_libpath"; then
   17934   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17935 fi
   17936 else
   17937   $as_echo "$as_me: failed program was:" >&5
   17938 sed 's/^/| /' conftest.$ac_ext >&5
   17939 
   17940 
   17941 fi
   17942 
   17943 rm -rf conftest.dSYM
   17944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17945       conftest$ac_exeext conftest.$ac_ext
   17946 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17947 
   17948 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17949 	  # Warning - without using the other run time loading flags,
   17950 	  # -berok will link without error, but may produce a broken library.
   17951 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17952 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17953 	  # Exported symbols can be pulled into shared objects from archives
   17954 	  whole_archive_flag_spec_GCJ='$convenience'
   17955 	  archive_cmds_need_lc_GCJ=yes
   17956 	  # This is similar to how AIX traditionally builds its shared libraries.
   17957 	  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'
   17958 	fi
   17959       fi
   17960       ;;
   17961 
   17962     amigaos*)
   17963       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)'
   17964       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17965       hardcode_minus_L_GCJ=yes
   17966       # see comment about different semantics on the GNU ld section
   17967       ld_shlibs_GCJ=no
   17968       ;;
   17969 
   17970     bsdi[45]*)
   17971       export_dynamic_flag_spec_GCJ=-rdynamic
   17972       ;;
   17973 
   17974     cygwin* | mingw* | pw32*)
   17975       # When not using gcc, we currently assume that we are using
   17976       # Microsoft Visual C++.
   17977       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17978       # no search path for DLLs.
   17979       hardcode_libdir_flag_spec_GCJ=' '
   17980       allow_undefined_flag_GCJ=unsupported
   17981       # Tell ltmain to make .lib files, not .a files.
   17982       libext=lib
   17983       # Tell ltmain to make .dll files, not .so files.
   17984       shrext_cmds=".dll"
   17985       # FIXME: Setting linknames here is a bad hack.
   17986       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17987       # The linker will automatically build a .lib file if we build a DLL.
   17988       old_archive_From_new_cmds_GCJ='true'
   17989       # FIXME: Should let the user specify the lib program.
   17990       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17991       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17992       enable_shared_with_static_runtimes_GCJ=yes
   17993       ;;
   17994 
   17995     darwin* | rhapsody*)
   17996       case $host_os in
   17997         rhapsody* | darwin1.[012])
   17998          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17999          ;;
   18000        *) # Darwin 1.3 on
   18001          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18002            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18003          else
   18004            case ${MACOSX_DEPLOYMENT_TARGET} in
   18005              10.[012])
   18006                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18007                ;;
   18008              10.*)
   18009                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18010                ;;
   18011            esac
   18012          fi
   18013          ;;
   18014       esac
   18015       archive_cmds_need_lc_GCJ=no
   18016       hardcode_direct_GCJ=no
   18017       hardcode_automatic_GCJ=yes
   18018       hardcode_shlibpath_var_GCJ=unsupported
   18019       whole_archive_flag_spec_GCJ=''
   18020       link_all_deplibs_GCJ=yes
   18021     if test "$GCC" = yes ; then
   18022     	output_verbose_link_cmd='echo'
   18023         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}"
   18024         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18025         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}"
   18026         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}"
   18027     else
   18028       case $cc_basename in
   18029         xlc*)
   18030          output_verbose_link_cmd='echo'
   18031          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18032          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18033           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18034          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}'
   18035           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}'
   18036           ;;
   18037        *)
   18038          ld_shlibs_GCJ=no
   18039           ;;
   18040       esac
   18041     fi
   18042       ;;
   18043 
   18044     dgux*)
   18045       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18046       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18047       hardcode_shlibpath_var_GCJ=no
   18048       ;;
   18049 
   18050     freebsd1*)
   18051       ld_shlibs_GCJ=no
   18052       ;;
   18053 
   18054     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18055     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18056     # does not break anything, and helps significantly (at the cost of a little
   18057     # extra space).
   18058     freebsd2.2*)
   18059       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18060       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18061       hardcode_direct_GCJ=yes
   18062       hardcode_shlibpath_var_GCJ=no
   18063       ;;
   18064 
   18065     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18066     freebsd2*)
   18067       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18068       hardcode_direct_GCJ=yes
   18069       hardcode_minus_L_GCJ=yes
   18070       hardcode_shlibpath_var_GCJ=no
   18071       ;;
   18072 
   18073     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18074     freebsd* | dragonfly*)
   18075       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18076       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18077       hardcode_direct_GCJ=yes
   18078       hardcode_shlibpath_var_GCJ=no
   18079       ;;
   18080 
   18081     hpux9*)
   18082       if test "$GCC" = yes; then
   18083 	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'
   18084       else
   18085 	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'
   18086       fi
   18087       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18088       hardcode_libdir_separator_GCJ=:
   18089       hardcode_direct_GCJ=yes
   18090 
   18091       # hardcode_minus_L: Not really in the search PATH,
   18092       # but as the default location of the library.
   18093       hardcode_minus_L_GCJ=yes
   18094       export_dynamic_flag_spec_GCJ='${wl}-E'
   18095       ;;
   18096 
   18097     hpux10*)
   18098       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18099 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18100       else
   18101 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18102       fi
   18103       if test "$with_gnu_ld" = no; then
   18104 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18105 	hardcode_libdir_separator_GCJ=:
   18106 
   18107 	hardcode_direct_GCJ=yes
   18108 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18109 
   18110 	# hardcode_minus_L: Not really in the search PATH,
   18111 	# but as the default location of the library.
   18112 	hardcode_minus_L_GCJ=yes
   18113       fi
   18114       ;;
   18115 
   18116     hpux11*)
   18117       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18118 	case $host_cpu in
   18119 	hppa*64*)
   18120 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18121 	  ;;
   18122 	ia64*)
   18123 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18124 	  ;;
   18125 	*)
   18126 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18127 	  ;;
   18128 	esac
   18129       else
   18130 	case $host_cpu in
   18131 	hppa*64*)
   18132 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18133 	  ;;
   18134 	ia64*)
   18135 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18136 	  ;;
   18137 	*)
   18138 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18139 	  ;;
   18140 	esac
   18141       fi
   18142       if test "$with_gnu_ld" = no; then
   18143 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18144 	hardcode_libdir_separator_GCJ=:
   18145 
   18146 	case $host_cpu in
   18147 	hppa*64*|ia64*)
   18148 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18149 	  hardcode_direct_GCJ=no
   18150 	  hardcode_shlibpath_var_GCJ=no
   18151 	  ;;
   18152 	*)
   18153 	  hardcode_direct_GCJ=yes
   18154 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18155 
   18156 	  # hardcode_minus_L: Not really in the search PATH,
   18157 	  # but as the default location of the library.
   18158 	  hardcode_minus_L_GCJ=yes
   18159 	  ;;
   18160 	esac
   18161       fi
   18162       ;;
   18163 
   18164     irix5* | irix6* | nonstopux*)
   18165       if test "$GCC" = yes; then
   18166 	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'
   18167       else
   18168 	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'
   18169 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18170       fi
   18171       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18172       hardcode_libdir_separator_GCJ=:
   18173       link_all_deplibs_GCJ=yes
   18174       ;;
   18175 
   18176     netbsd*)
   18177       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18178 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18179       else
   18180 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18181       fi
   18182       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18183       hardcode_direct_GCJ=yes
   18184       hardcode_shlibpath_var_GCJ=no
   18185       ;;
   18186 
   18187     newsos6)
   18188       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18189       hardcode_direct_GCJ=yes
   18190       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18191       hardcode_libdir_separator_GCJ=:
   18192       hardcode_shlibpath_var_GCJ=no
   18193       ;;
   18194 
   18195     openbsd*)
   18196       if test -f /usr/libexec/ld.so; then
   18197 	hardcode_direct_GCJ=yes
   18198 	hardcode_shlibpath_var_GCJ=no
   18199 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18200 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18201 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18202 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18203 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18204 	else
   18205 	  case $host_os in
   18206 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18207 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18208 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18209 	     ;;
   18210 	   *)
   18211 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18212 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18213 	     ;;
   18214 	  esac
   18215         fi
   18216       else
   18217 	ld_shlibs_GCJ=no
   18218       fi
   18219       ;;
   18220 
   18221     os2*)
   18222       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18223       hardcode_minus_L_GCJ=yes
   18224       allow_undefined_flag_GCJ=unsupported
   18225       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'
   18226       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18227       ;;
   18228 
   18229     osf3*)
   18230       if test "$GCC" = yes; then
   18231 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18232 	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'
   18233       else
   18234 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18235 	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'
   18236       fi
   18237       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18238       hardcode_libdir_separator_GCJ=:
   18239       ;;
   18240 
   18241     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18242       if test "$GCC" = yes; then
   18243 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18244 	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'
   18245 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18246       else
   18247 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18248 	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'
   18249 	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~
   18250 	$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'
   18251 
   18252 	# Both c and cxx compiler support -rpath directly
   18253 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18254       fi
   18255       hardcode_libdir_separator_GCJ=:
   18256       ;;
   18257 
   18258     solaris*)
   18259       no_undefined_flag_GCJ=' -z text'
   18260       if test "$GCC" = yes; then
   18261 	wlarc='${wl}'
   18262 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18263 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18264 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18265       else
   18266 	wlarc=''
   18267 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18268 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18269   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18270       fi
   18271       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18272       hardcode_shlibpath_var_GCJ=no
   18273       case $host_os in
   18274       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18275       *)
   18276 	# The compiler driver will combine and reorder linker options,
   18277 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18278 	# but is careful enough not to reorder.
   18279  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18280 	if test "$GCC" = yes; then
   18281 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18282 	else
   18283 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18284 	fi
   18285 	;;
   18286       esac
   18287       link_all_deplibs_GCJ=yes
   18288       ;;
   18289 
   18290     sunos4*)
   18291       if test "x$host_vendor" = xsequent; then
   18292 	# Use $CC to link under sequent, because it throws in some extra .o
   18293 	# files that make .init and .fini sections work.
   18294 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18295       else
   18296 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18297       fi
   18298       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18299       hardcode_direct_GCJ=yes
   18300       hardcode_minus_L_GCJ=yes
   18301       hardcode_shlibpath_var_GCJ=no
   18302       ;;
   18303 
   18304     sysv4)
   18305       case $host_vendor in
   18306 	sni)
   18307 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18308 	  hardcode_direct_GCJ=yes # is this really true???
   18309 	;;
   18310 	siemens)
   18311 	  ## LD is ld it makes a PLAMLIB
   18312 	  ## CC just makes a GrossModule.
   18313 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18314 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18315 	  hardcode_direct_GCJ=no
   18316         ;;
   18317 	motorola)
   18318 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18319 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18320 	;;
   18321       esac
   18322       runpath_var='LD_RUN_PATH'
   18323       hardcode_shlibpath_var_GCJ=no
   18324       ;;
   18325 
   18326     sysv4.3*)
   18327       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18328       hardcode_shlibpath_var_GCJ=no
   18329       export_dynamic_flag_spec_GCJ='-Bexport'
   18330       ;;
   18331 
   18332     sysv4*MP*)
   18333       if test -d /usr/nec; then
   18334 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18335 	hardcode_shlibpath_var_GCJ=no
   18336 	runpath_var=LD_RUN_PATH
   18337 	hardcode_runpath_var=yes
   18338 	ld_shlibs_GCJ=yes
   18339       fi
   18340       ;;
   18341 
   18342     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18343       no_undefined_flag_GCJ='${wl}-z,text'
   18344       archive_cmds_need_lc_GCJ=no
   18345       hardcode_shlibpath_var_GCJ=no
   18346       runpath_var='LD_RUN_PATH'
   18347 
   18348       if test "$GCC" = yes; then
   18349 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18350 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18351       else
   18352 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18353 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18354       fi
   18355       ;;
   18356 
   18357     sysv5* | sco3.2v5* | sco5v6*)
   18358       # Note: We can NOT use -z defs as we might desire, because we do not
   18359       # link with -lc, and that would cause any symbols used from libc to
   18360       # always be unresolved, which means just about no library would
   18361       # ever link correctly.  If we're not using GNU ld we use -z text
   18362       # though, which does catch some bad symbols but isn't as heavy-handed
   18363       # as -z defs.
   18364       no_undefined_flag_GCJ='${wl}-z,text'
   18365       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18366       archive_cmds_need_lc_GCJ=no
   18367       hardcode_shlibpath_var_GCJ=no
   18368       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18369       hardcode_libdir_separator_GCJ=':'
   18370       link_all_deplibs_GCJ=yes
   18371       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18372       runpath_var='LD_RUN_PATH'
   18373 
   18374       if test "$GCC" = yes; then
   18375 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18376 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18377       else
   18378 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18379 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18380       fi
   18381       ;;
   18382 
   18383     uts4*)
   18384       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18385       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18386       hardcode_shlibpath_var_GCJ=no
   18387       ;;
   18388 
   18389     *)
   18390       ld_shlibs_GCJ=no
   18391       ;;
   18392     esac
   18393   fi
   18394 
   18395 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18396 $as_echo "$ld_shlibs_GCJ" >&6; }
   18397 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18398 
   18399 #
   18400 # Do we need to explicitly link libc?
   18401 #
   18402 case "x$archive_cmds_need_lc_GCJ" in
   18403 x|xyes)
   18404   # Assume -lc should be added
   18405   archive_cmds_need_lc_GCJ=yes
   18406 
   18407   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18408     case $archive_cmds_GCJ in
   18409     *'~'*)
   18410       # FIXME: we may have to deal with multi-command sequences.
   18411       ;;
   18412     '$CC '*)
   18413       # Test whether the compiler implicitly links with -lc since on some
   18414       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18415       # to ld, don't add -lc before -lgcc.
   18416       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18417 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18418       $rm conftest*
   18419       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18420 
   18421       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18422   (eval $ac_compile) 2>&5
   18423   ac_status=$?
   18424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18425   (exit $ac_status); } 2>conftest.err; then
   18426         soname=conftest
   18427         lib=conftest
   18428         libobjs=conftest.$ac_objext
   18429         deplibs=
   18430         wl=$lt_prog_compiler_wl_GCJ
   18431 	pic_flag=$lt_prog_compiler_pic_GCJ
   18432         compiler_flags=-v
   18433         linker_flags=-v
   18434         verstring=
   18435         output_objdir=.
   18436         libname=conftest
   18437         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18438         allow_undefined_flag_GCJ=
   18439         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18440   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18441   ac_status=$?
   18442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18443   (exit $ac_status); }
   18444         then
   18445 	  archive_cmds_need_lc_GCJ=no
   18446         else
   18447 	  archive_cmds_need_lc_GCJ=yes
   18448         fi
   18449         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18450       else
   18451         cat conftest.err 1>&5
   18452       fi
   18453       $rm conftest*
   18454       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18455 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18456       ;;
   18457     esac
   18458   fi
   18459   ;;
   18460 esac
   18461 
   18462 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18463 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18464 library_names_spec=
   18465 libname_spec='lib$name'
   18466 soname_spec=
   18467 shrext_cmds=".so"
   18468 postinstall_cmds=
   18469 postuninstall_cmds=
   18470 finish_cmds=
   18471 finish_eval=
   18472 shlibpath_var=
   18473 shlibpath_overrides_runpath=unknown
   18474 version_type=none
   18475 dynamic_linker="$host_os ld.so"
   18476 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18477 
   18478 need_lib_prefix=unknown
   18479 hardcode_into_libs=no
   18480 
   18481 # when you set need_version to no, make sure it does not cause -set_version
   18482 # flags to be left without arguments
   18483 need_version=unknown
   18484 
   18485 case $host_os in
   18486 aix3*)
   18487   version_type=linux
   18488   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18489   shlibpath_var=LIBPATH
   18490 
   18491   # AIX 3 has no versioning support, so we append a major version to the name.
   18492   soname_spec='${libname}${release}${shared_ext}$major'
   18493   ;;
   18494 
   18495 aix[4-9]*)
   18496   version_type=linux
   18497   need_lib_prefix=no
   18498   need_version=no
   18499   hardcode_into_libs=yes
   18500   if test "$host_cpu" = ia64; then
   18501     # AIX 5 supports IA64
   18502     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18503     shlibpath_var=LD_LIBRARY_PATH
   18504   else
   18505     # With GCC up to 2.95.x, collect2 would create an import file
   18506     # for dependence libraries.  The import file would start with
   18507     # the line `#! .'.  This would cause the generated library to
   18508     # depend on `.', always an invalid library.  This was fixed in
   18509     # development snapshots of GCC prior to 3.0.
   18510     case $host_os in
   18511       aix4 | aix4.[01] | aix4.[01].*)
   18512       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18513 	   echo ' yes '
   18514 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18515 	:
   18516       else
   18517 	can_build_shared=no
   18518       fi
   18519       ;;
   18520     esac
   18521     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18522     # soname into executable. Probably we can add versioning support to
   18523     # collect2, so additional links can be useful in future.
   18524     if test "$aix_use_runtimelinking" = yes; then
   18525       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18526       # instead of lib<name>.a to let people know that these are not
   18527       # typical AIX shared libraries.
   18528       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18529     else
   18530       # We preserve .a as extension for shared libraries through AIX4.2
   18531       # and later when we are not doing run time linking.
   18532       library_names_spec='${libname}${release}.a $libname.a'
   18533       soname_spec='${libname}${release}${shared_ext}$major'
   18534     fi
   18535     shlibpath_var=LIBPATH
   18536   fi
   18537   ;;
   18538 
   18539 amigaos*)
   18540   library_names_spec='$libname.ixlibrary $libname.a'
   18541   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18542   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'
   18543   ;;
   18544 
   18545 beos*)
   18546   library_names_spec='${libname}${shared_ext}'
   18547   dynamic_linker="$host_os ld.so"
   18548   shlibpath_var=LIBRARY_PATH
   18549   ;;
   18550 
   18551 bsdi[45]*)
   18552   version_type=linux
   18553   need_version=no
   18554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18555   soname_spec='${libname}${release}${shared_ext}$major'
   18556   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18557   shlibpath_var=LD_LIBRARY_PATH
   18558   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18559   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18560   # the default ld.so.conf also contains /usr/contrib/lib and
   18561   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18562   # libtool to hard-code these into programs
   18563   ;;
   18564 
   18565 cygwin* | mingw* | pw32*)
   18566   version_type=windows
   18567   shrext_cmds=".dll"
   18568   need_version=no
   18569   need_lib_prefix=no
   18570 
   18571   case $GCC,$host_os in
   18572   yes,cygwin* | yes,mingw* | yes,pw32*)
   18573     library_names_spec='$libname.dll.a'
   18574     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18575     postinstall_cmds='base_file=`basename \${file}`~
   18576       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18577       dldir=$destdir/`dirname \$dlpath`~
   18578       test -d \$dldir || mkdir -p \$dldir~
   18579       $install_prog $dir/$dlname \$dldir/$dlname~
   18580       chmod a+x \$dldir/$dlname'
   18581     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18582       dlpath=$dir/\$dldll~
   18583        $rm \$dlpath'
   18584     shlibpath_overrides_runpath=yes
   18585 
   18586     case $host_os in
   18587     cygwin*)
   18588       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18589       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18590       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18591       ;;
   18592     mingw*)
   18593       # MinGW DLLs use traditional 'lib' prefix
   18594       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18595       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18596       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18597         # It is most probably a Windows format PATH printed by
   18598         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18599         # path with ; separators, and with drive letters. We can handle the
   18600         # drive letters (cygwin fileutils understands them), so leave them,
   18601         # especially as we might pass files found there to a mingw objdump,
   18602         # which wouldn't understand a cygwinified path. Ahh.
   18603         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18604       else
   18605         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18606       fi
   18607       ;;
   18608     pw32*)
   18609       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18610       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18611       ;;
   18612     esac
   18613     ;;
   18614 
   18615   *)
   18616     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18617     ;;
   18618   esac
   18619   dynamic_linker='Win32 ld.exe'
   18620   # FIXME: first we should search . and the directory the executable is in
   18621   shlibpath_var=PATH
   18622   ;;
   18623 
   18624 darwin* | rhapsody*)
   18625   dynamic_linker="$host_os dyld"
   18626   version_type=darwin
   18627   need_lib_prefix=no
   18628   need_version=no
   18629   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18630   soname_spec='${libname}${release}${major}$shared_ext'
   18631   shlibpath_overrides_runpath=yes
   18632   shlibpath_var=DYLD_LIBRARY_PATH
   18633   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18634 
   18635   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18636   ;;
   18637 
   18638 dgux*)
   18639   version_type=linux
   18640   need_lib_prefix=no
   18641   need_version=no
   18642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18643   soname_spec='${libname}${release}${shared_ext}$major'
   18644   shlibpath_var=LD_LIBRARY_PATH
   18645   ;;
   18646 
   18647 freebsd1*)
   18648   dynamic_linker=no
   18649   ;;
   18650 
   18651 freebsd* | dragonfly*)
   18652   # DragonFly does not have aout.  When/if they implement a new
   18653   # versioning mechanism, adjust this.
   18654   if test -x /usr/bin/objformat; then
   18655     objformat=`/usr/bin/objformat`
   18656   else
   18657     case $host_os in
   18658     freebsd[123]*) objformat=aout ;;
   18659     *) objformat=elf ;;
   18660     esac
   18661   fi
   18662   version_type=freebsd-$objformat
   18663   case $version_type in
   18664     freebsd-elf*)
   18665       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18666       need_version=no
   18667       need_lib_prefix=no
   18668       ;;
   18669     freebsd-*)
   18670       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18671       need_version=yes
   18672       ;;
   18673   esac
   18674   shlibpath_var=LD_LIBRARY_PATH
   18675   case $host_os in
   18676   freebsd2*)
   18677     shlibpath_overrides_runpath=yes
   18678     ;;
   18679   freebsd3.[01]* | freebsdelf3.[01]*)
   18680     shlibpath_overrides_runpath=yes
   18681     hardcode_into_libs=yes
   18682     ;;
   18683   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18684   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18685     shlibpath_overrides_runpath=no
   18686     hardcode_into_libs=yes
   18687     ;;
   18688   *) # from 4.6 on, and DragonFly
   18689     shlibpath_overrides_runpath=yes
   18690     hardcode_into_libs=yes
   18691     ;;
   18692   esac
   18693   ;;
   18694 
   18695 gnu*)
   18696   version_type=linux
   18697   need_lib_prefix=no
   18698   need_version=no
   18699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18700   soname_spec='${libname}${release}${shared_ext}$major'
   18701   shlibpath_var=LD_LIBRARY_PATH
   18702   hardcode_into_libs=yes
   18703   ;;
   18704 
   18705 hpux9* | hpux10* | hpux11*)
   18706   # Give a soname corresponding to the major version so that dld.sl refuses to
   18707   # link against other versions.
   18708   version_type=sunos
   18709   need_lib_prefix=no
   18710   need_version=no
   18711   case $host_cpu in
   18712   ia64*)
   18713     shrext_cmds='.so'
   18714     hardcode_into_libs=yes
   18715     dynamic_linker="$host_os dld.so"
   18716     shlibpath_var=LD_LIBRARY_PATH
   18717     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18718     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18719     soname_spec='${libname}${release}${shared_ext}$major'
   18720     if test "X$HPUX_IA64_MODE" = X32; then
   18721       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18722     else
   18723       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18724     fi
   18725     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18726     ;;
   18727    hppa*64*)
   18728      shrext_cmds='.sl'
   18729      hardcode_into_libs=yes
   18730      dynamic_linker="$host_os dld.sl"
   18731      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18732      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18733      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18734      soname_spec='${libname}${release}${shared_ext}$major'
   18735      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18736      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18737      ;;
   18738    *)
   18739     shrext_cmds='.sl'
   18740     dynamic_linker="$host_os dld.sl"
   18741     shlibpath_var=SHLIB_PATH
   18742     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18743     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18744     soname_spec='${libname}${release}${shared_ext}$major'
   18745     ;;
   18746   esac
   18747   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18748   postinstall_cmds='chmod 555 $lib'
   18749   ;;
   18750 
   18751 interix[3-9]*)
   18752   version_type=linux
   18753   need_lib_prefix=no
   18754   need_version=no
   18755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18756   soname_spec='${libname}${release}${shared_ext}$major'
   18757   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18758   shlibpath_var=LD_LIBRARY_PATH
   18759   shlibpath_overrides_runpath=no
   18760   hardcode_into_libs=yes
   18761   ;;
   18762 
   18763 irix5* | irix6* | nonstopux*)
   18764   case $host_os in
   18765     nonstopux*) version_type=nonstopux ;;
   18766     *)
   18767 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18768 		version_type=linux
   18769 	else
   18770 		version_type=irix
   18771 	fi ;;
   18772   esac
   18773   need_lib_prefix=no
   18774   need_version=no
   18775   soname_spec='${libname}${release}${shared_ext}$major'
   18776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18777   case $host_os in
   18778   irix5* | nonstopux*)
   18779     libsuff= shlibsuff=
   18780     ;;
   18781   *)
   18782     case $LD in # libtool.m4 will add one of these switches to LD
   18783     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18784       libsuff= shlibsuff= libmagic=32-bit;;
   18785     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18786       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18787     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18788       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18789     *) libsuff= shlibsuff= libmagic=never-match;;
   18790     esac
   18791     ;;
   18792   esac
   18793   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18794   shlibpath_overrides_runpath=no
   18795   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18796   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18797   hardcode_into_libs=yes
   18798   ;;
   18799 
   18800 # No shared lib support for Linux oldld, aout, or coff.
   18801 linux*oldld* | linux*aout* | linux*coff*)
   18802   dynamic_linker=no
   18803   ;;
   18804 
   18805 # This must be Linux ELF.
   18806 linux* | k*bsd*-gnu)
   18807   version_type=linux
   18808   need_lib_prefix=no
   18809   need_version=no
   18810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18811   soname_spec='${libname}${release}${shared_ext}$major'
   18812   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18813   shlibpath_var=LD_LIBRARY_PATH
   18814   shlibpath_overrides_runpath=no
   18815   # This implies no fast_install, which is unacceptable.
   18816   # Some rework will be needed to allow for fast_install
   18817   # before this can be enabled.
   18818   hardcode_into_libs=yes
   18819   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18820   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18821 
   18822   # Append ld.so.conf contents to the search path
   18823   if test -f /etc/ld.so.conf; then
   18824     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' ' '`
   18825     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18826   fi
   18827 
   18828   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18829   # powerpc, because MkLinux only supported shared libraries with the
   18830   # GNU dynamic linker.  Since this was broken with cross compilers,
   18831   # most powerpc-linux boxes support dynamic linking these days and
   18832   # people can always --disable-shared, the test was removed, and we
   18833   # assume the GNU/Linux dynamic linker is in use.
   18834   dynamic_linker='GNU/Linux ld.so'
   18835   ;;
   18836 
   18837 netbsd*)
   18838   version_type=sunos
   18839   need_lib_prefix=no
   18840   need_version=no
   18841   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18842     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18843     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18844     dynamic_linker='NetBSD (a.out) ld.so'
   18845   else
   18846     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18847     soname_spec='${libname}${release}${shared_ext}$major'
   18848     dynamic_linker='NetBSD ld.elf_so'
   18849   fi
   18850   shlibpath_var=LD_LIBRARY_PATH
   18851   shlibpath_overrides_runpath=yes
   18852   hardcode_into_libs=yes
   18853   ;;
   18854 
   18855 newsos6)
   18856   version_type=linux
   18857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18858   shlibpath_var=LD_LIBRARY_PATH
   18859   shlibpath_overrides_runpath=yes
   18860   ;;
   18861 
   18862 nto-qnx*)
   18863   version_type=linux
   18864   need_lib_prefix=no
   18865   need_version=no
   18866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18867   soname_spec='${libname}${release}${shared_ext}$major'
   18868   shlibpath_var=LD_LIBRARY_PATH
   18869   shlibpath_overrides_runpath=yes
   18870   ;;
   18871 
   18872 openbsd*)
   18873   version_type=sunos
   18874   sys_lib_dlsearch_path_spec="/usr/lib"
   18875   need_lib_prefix=no
   18876   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18877   case $host_os in
   18878     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18879     *)                         need_version=no  ;;
   18880   esac
   18881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18882   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18883   shlibpath_var=LD_LIBRARY_PATH
   18884   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18885     case $host_os in
   18886       openbsd2.[89] | openbsd2.[89].*)
   18887 	shlibpath_overrides_runpath=no
   18888 	;;
   18889       *)
   18890 	shlibpath_overrides_runpath=yes
   18891 	;;
   18892       esac
   18893   else
   18894     shlibpath_overrides_runpath=yes
   18895   fi
   18896   ;;
   18897 
   18898 os2*)
   18899   libname_spec='$name'
   18900   shrext_cmds=".dll"
   18901   need_lib_prefix=no
   18902   library_names_spec='$libname${shared_ext} $libname.a'
   18903   dynamic_linker='OS/2 ld.exe'
   18904   shlibpath_var=LIBPATH
   18905   ;;
   18906 
   18907 osf3* | osf4* | osf5*)
   18908   version_type=osf
   18909   need_lib_prefix=no
   18910   need_version=no
   18911   soname_spec='${libname}${release}${shared_ext}$major'
   18912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18913   shlibpath_var=LD_LIBRARY_PATH
   18914   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18915   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18916   ;;
   18917 
   18918 rdos*)
   18919   dynamic_linker=no
   18920   ;;
   18921 
   18922 solaris*)
   18923   version_type=linux
   18924   need_lib_prefix=no
   18925   need_version=no
   18926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18927   soname_spec='${libname}${release}${shared_ext}$major'
   18928   shlibpath_var=LD_LIBRARY_PATH
   18929   shlibpath_overrides_runpath=yes
   18930   hardcode_into_libs=yes
   18931   # ldd complains unless libraries are executable
   18932   postinstall_cmds='chmod +x $lib'
   18933   ;;
   18934 
   18935 sunos4*)
   18936   version_type=sunos
   18937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18938   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18939   shlibpath_var=LD_LIBRARY_PATH
   18940   shlibpath_overrides_runpath=yes
   18941   if test "$with_gnu_ld" = yes; then
   18942     need_lib_prefix=no
   18943   fi
   18944   need_version=yes
   18945   ;;
   18946 
   18947 sysv4 | sysv4.3*)
   18948   version_type=linux
   18949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18950   soname_spec='${libname}${release}${shared_ext}$major'
   18951   shlibpath_var=LD_LIBRARY_PATH
   18952   case $host_vendor in
   18953     sni)
   18954       shlibpath_overrides_runpath=no
   18955       need_lib_prefix=no
   18956       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18957       runpath_var=LD_RUN_PATH
   18958       ;;
   18959     siemens)
   18960       need_lib_prefix=no
   18961       ;;
   18962     motorola)
   18963       need_lib_prefix=no
   18964       need_version=no
   18965       shlibpath_overrides_runpath=no
   18966       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18967       ;;
   18968   esac
   18969   ;;
   18970 
   18971 sysv4*MP*)
   18972   if test -d /usr/nec ;then
   18973     version_type=linux
   18974     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18975     soname_spec='$libname${shared_ext}.$major'
   18976     shlibpath_var=LD_LIBRARY_PATH
   18977   fi
   18978   ;;
   18979 
   18980 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18981   version_type=freebsd-elf
   18982   need_lib_prefix=no
   18983   need_version=no
   18984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18985   soname_spec='${libname}${release}${shared_ext}$major'
   18986   shlibpath_var=LD_LIBRARY_PATH
   18987   hardcode_into_libs=yes
   18988   if test "$with_gnu_ld" = yes; then
   18989     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18990     shlibpath_overrides_runpath=no
   18991   else
   18992     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18993     shlibpath_overrides_runpath=yes
   18994     case $host_os in
   18995       sco3.2v5*)
   18996         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18997 	;;
   18998     esac
   18999   fi
   19000   sys_lib_dlsearch_path_spec='/usr/lib'
   19001   ;;
   19002 
   19003 uts4*)
   19004   version_type=linux
   19005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19006   soname_spec='${libname}${release}${shared_ext}$major'
   19007   shlibpath_var=LD_LIBRARY_PATH
   19008   ;;
   19009 
   19010 *)
   19011   dynamic_linker=no
   19012   ;;
   19013 esac
   19014 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19015 $as_echo "$dynamic_linker" >&6; }
   19016 test "$dynamic_linker" = no && can_build_shared=no
   19017 
   19018 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19019   $as_echo_n "(cached) " >&6
   19020 else
   19021   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19022 fi
   19023 
   19024 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19025 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19026   $as_echo_n "(cached) " >&6
   19027 else
   19028   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19029 fi
   19030 
   19031 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19032 
   19033 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19034 if test "$GCC" = yes; then
   19035   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19036 fi
   19037 
   19038 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19039 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19040 hardcode_action_GCJ=
   19041 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19042    test -n "$runpath_var_GCJ" || \
   19043    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19044 
   19045   # We can hardcode non-existant directories.
   19046   if test "$hardcode_direct_GCJ" != no &&
   19047      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19048      # have to relink, otherwise we might link with an installed library
   19049      # when we should be linking with a yet-to-be-installed one
   19050      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19051      test "$hardcode_minus_L_GCJ" != no; then
   19052     # Linking always hardcodes the temporary library directory.
   19053     hardcode_action_GCJ=relink
   19054   else
   19055     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19056     hardcode_action_GCJ=immediate
   19057   fi
   19058 else
   19059   # We cannot hardcode anything, or else we can only hardcode existing
   19060   # directories.
   19061   hardcode_action_GCJ=unsupported
   19062 fi
   19063 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19064 $as_echo "$hardcode_action_GCJ" >&6; }
   19065 
   19066 if test "$hardcode_action_GCJ" = relink; then
   19067   # Fast installation is not supported
   19068   enable_fast_install=no
   19069 elif test "$shlibpath_overrides_runpath" = yes ||
   19070      test "$enable_shared" = no; then
   19071   # Fast installation is not necessary
   19072   enable_fast_install=needless
   19073 fi
   19074 
   19075 
   19076 # The else clause should only fire when bootstrapping the
   19077 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19078 # with your package, and you will get complaints that there are
   19079 # no rules to generate ltmain.sh.
   19080 if test -f "$ltmain"; then
   19081   # See if we are running on zsh, and set the options which allow our commands through
   19082   # without removal of \ escapes.
   19083   if test -n "${ZSH_VERSION+set}" ; then
   19084     setopt NO_GLOB_SUBST
   19085   fi
   19086   # Now quote all the things that may contain metacharacters while being
   19087   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19088   # variables and quote the copies for generation of the libtool script.
   19089   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19090     SED SHELL STRIP \
   19091     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19092     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19093     deplibs_check_method reload_flag reload_cmds need_locks \
   19094     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19095     lt_cv_sys_global_symbol_to_c_name_address \
   19096     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19097     old_postinstall_cmds old_postuninstall_cmds \
   19098     compiler_GCJ \
   19099     CC_GCJ \
   19100     LD_GCJ \
   19101     lt_prog_compiler_wl_GCJ \
   19102     lt_prog_compiler_pic_GCJ \
   19103     lt_prog_compiler_static_GCJ \
   19104     lt_prog_compiler_no_builtin_flag_GCJ \
   19105     export_dynamic_flag_spec_GCJ \
   19106     thread_safe_flag_spec_GCJ \
   19107     whole_archive_flag_spec_GCJ \
   19108     enable_shared_with_static_runtimes_GCJ \
   19109     old_archive_cmds_GCJ \
   19110     old_archive_from_new_cmds_GCJ \
   19111     predep_objects_GCJ \
   19112     postdep_objects_GCJ \
   19113     predeps_GCJ \
   19114     postdeps_GCJ \
   19115     compiler_lib_search_path_GCJ \
   19116     compiler_lib_search_dirs_GCJ \
   19117     archive_cmds_GCJ \
   19118     archive_expsym_cmds_GCJ \
   19119     postinstall_cmds_GCJ \
   19120     postuninstall_cmds_GCJ \
   19121     old_archive_from_expsyms_cmds_GCJ \
   19122     allow_undefined_flag_GCJ \
   19123     no_undefined_flag_GCJ \
   19124     export_symbols_cmds_GCJ \
   19125     hardcode_libdir_flag_spec_GCJ \
   19126     hardcode_libdir_flag_spec_ld_GCJ \
   19127     hardcode_libdir_separator_GCJ \
   19128     hardcode_automatic_GCJ \
   19129     module_cmds_GCJ \
   19130     module_expsym_cmds_GCJ \
   19131     lt_cv_prog_compiler_c_o_GCJ \
   19132     fix_srcfile_path_GCJ \
   19133     exclude_expsyms_GCJ \
   19134     include_expsyms_GCJ; do
   19135 
   19136     case $var in
   19137     old_archive_cmds_GCJ | \
   19138     old_archive_from_new_cmds_GCJ | \
   19139     archive_cmds_GCJ | \
   19140     archive_expsym_cmds_GCJ | \
   19141     module_cmds_GCJ | \
   19142     module_expsym_cmds_GCJ | \
   19143     old_archive_from_expsyms_cmds_GCJ | \
   19144     export_symbols_cmds_GCJ | \
   19145     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19146     postinstall_cmds | postuninstall_cmds | \
   19147     old_postinstall_cmds | old_postuninstall_cmds | \
   19148     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19149       # Double-quote double-evaled strings.
   19150       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19151       ;;
   19152     *)
   19153       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19154       ;;
   19155     esac
   19156   done
   19157 
   19158   case $lt_echo in
   19159   *'\$0 --fallback-echo"')
   19160     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19161     ;;
   19162   esac
   19163 
   19164 cfgfile="$ofile"
   19165 
   19166   cat <<__EOF__ >> "$cfgfile"
   19167 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19168 
   19169 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19170 
   19171 # Shell to use when invoking shell scripts.
   19172 SHELL=$lt_SHELL
   19173 
   19174 # Whether or not to build shared libraries.
   19175 build_libtool_libs=$enable_shared
   19176 
   19177 # Whether or not to build static libraries.
   19178 build_old_libs=$enable_static
   19179 
   19180 # Whether or not to add -lc for building shared libraries.
   19181 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19182 
   19183 # Whether or not to disallow shared libs when runtime libs are static
   19184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19185 
   19186 # Whether or not to optimize for fast installation.
   19187 fast_install=$enable_fast_install
   19188 
   19189 # The host system.
   19190 host_alias=$host_alias
   19191 host=$host
   19192 host_os=$host_os
   19193 
   19194 # The build system.
   19195 build_alias=$build_alias
   19196 build=$build
   19197 build_os=$build_os
   19198 
   19199 # An echo program that does not interpret backslashes.
   19200 echo=$lt_echo
   19201 
   19202 # The archiver.
   19203 AR=$lt_AR
   19204 AR_FLAGS=$lt_AR_FLAGS
   19205 
   19206 # A C compiler.
   19207 LTCC=$lt_LTCC
   19208 
   19209 # LTCC compiler flags.
   19210 LTCFLAGS=$lt_LTCFLAGS
   19211 
   19212 # A language-specific compiler.
   19213 CC=$lt_compiler_GCJ
   19214 
   19215 # Is the compiler the GNU C compiler?
   19216 with_gcc=$GCC_GCJ
   19217 
   19218 # An ERE matcher.
   19219 EGREP=$lt_EGREP
   19220 
   19221 # The linker used to build libraries.
   19222 LD=$lt_LD_GCJ
   19223 
   19224 # Whether we need hard or soft links.
   19225 LN_S=$lt_LN_S
   19226 
   19227 # A BSD-compatible nm program.
   19228 NM=$lt_NM
   19229 
   19230 # A symbol stripping program
   19231 STRIP=$lt_STRIP
   19232 
   19233 # Used to examine libraries when file_magic_cmd begins "file"
   19234 MAGIC_CMD=$MAGIC_CMD
   19235 
   19236 # Used on cygwin: DLL creation program.
   19237 DLLTOOL="$DLLTOOL"
   19238 
   19239 # Used on cygwin: object dumper.
   19240 OBJDUMP="$OBJDUMP"
   19241 
   19242 # Used on cygwin: assembler.
   19243 AS="$AS"
   19244 
   19245 # The name of the directory that contains temporary libtool files.
   19246 objdir=$objdir
   19247 
   19248 # How to create reloadable object files.
   19249 reload_flag=$lt_reload_flag
   19250 reload_cmds=$lt_reload_cmds
   19251 
   19252 # How to pass a linker flag through the compiler.
   19253 wl=$lt_lt_prog_compiler_wl_GCJ
   19254 
   19255 # Object file suffix (normally "o").
   19256 objext="$ac_objext"
   19257 
   19258 # Old archive suffix (normally "a").
   19259 libext="$libext"
   19260 
   19261 # Shared library suffix (normally ".so").
   19262 shrext_cmds='$shrext_cmds'
   19263 
   19264 # Executable file suffix (normally "").
   19265 exeext="$exeext"
   19266 
   19267 # Additional compiler flags for building library objects.
   19268 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19269 pic_mode=$pic_mode
   19270 
   19271 # What is the maximum length of a command?
   19272 max_cmd_len=$lt_cv_sys_max_cmd_len
   19273 
   19274 # Does compiler simultaneously support -c and -o options?
   19275 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19276 
   19277 # Must we lock files when doing compilation?
   19278 need_locks=$lt_need_locks
   19279 
   19280 # Do we need the lib prefix for modules?
   19281 need_lib_prefix=$need_lib_prefix
   19282 
   19283 # Do we need a version for libraries?
   19284 need_version=$need_version
   19285 
   19286 # Whether dlopen is supported.
   19287 dlopen_support=$enable_dlopen
   19288 
   19289 # Whether dlopen of programs is supported.
   19290 dlopen_self=$enable_dlopen_self
   19291 
   19292 # Whether dlopen of statically linked programs is supported.
   19293 dlopen_self_static=$enable_dlopen_self_static
   19294 
   19295 # Compiler flag to prevent dynamic linking.
   19296 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19297 
   19298 # Compiler flag to turn off builtin functions.
   19299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19300 
   19301 # Compiler flag to allow reflexive dlopens.
   19302 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19303 
   19304 # Compiler flag to generate shared objects directly from archives.
   19305 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19306 
   19307 # Compiler flag to generate thread-safe objects.
   19308 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19309 
   19310 # Library versioning type.
   19311 version_type=$version_type
   19312 
   19313 # Format of library name prefix.
   19314 libname_spec=$lt_libname_spec
   19315 
   19316 # List of archive names.  First name is the real one, the rest are links.
   19317 # The last name is the one that the linker finds with -lNAME.
   19318 library_names_spec=$lt_library_names_spec
   19319 
   19320 # The coded name of the library, if different from the real name.
   19321 soname_spec=$lt_soname_spec
   19322 
   19323 # Commands used to build and install an old-style archive.
   19324 RANLIB=$lt_RANLIB
   19325 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19326 old_postinstall_cmds=$lt_old_postinstall_cmds
   19327 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19328 
   19329 # Create an old-style archive from a shared archive.
   19330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19331 
   19332 # Create a temporary old-style archive to link instead of a shared archive.
   19333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19334 
   19335 # Commands used to build and install a shared archive.
   19336 archive_cmds=$lt_archive_cmds_GCJ
   19337 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19338 postinstall_cmds=$lt_postinstall_cmds
   19339 postuninstall_cmds=$lt_postuninstall_cmds
   19340 
   19341 # Commands used to build a loadable module (assumed same as above if empty)
   19342 module_cmds=$lt_module_cmds_GCJ
   19343 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19344 
   19345 # Commands to strip libraries.
   19346 old_striplib=$lt_old_striplib
   19347 striplib=$lt_striplib
   19348 
   19349 # Dependencies to place before the objects being linked to create a
   19350 # shared library.
   19351 predep_objects=$lt_predep_objects_GCJ
   19352 
   19353 # Dependencies to place after the objects being linked to create a
   19354 # shared library.
   19355 postdep_objects=$lt_postdep_objects_GCJ
   19356 
   19357 # Dependencies to place before the objects being linked to create a
   19358 # shared library.
   19359 predeps=$lt_predeps_GCJ
   19360 
   19361 # Dependencies to place after the objects being linked to create a
   19362 # shared library.
   19363 postdeps=$lt_postdeps_GCJ
   19364 
   19365 # The directories searched by this compiler when creating a shared
   19366 # library
   19367 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19368 
   19369 # The library search path used internally by the compiler when linking
   19370 # a shared library.
   19371 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19372 
   19373 # Method to check whether dependent libraries are shared objects.
   19374 deplibs_check_method=$lt_deplibs_check_method
   19375 
   19376 # Command to use when deplibs_check_method == file_magic.
   19377 file_magic_cmd=$lt_file_magic_cmd
   19378 
   19379 # Flag that allows shared libraries with undefined symbols to be built.
   19380 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19381 
   19382 # Flag that forces no undefined symbols.
   19383 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19384 
   19385 # Commands used to finish a libtool library installation in a directory.
   19386 finish_cmds=$lt_finish_cmds
   19387 
   19388 # Same as above, but a single script fragment to be evaled but not shown.
   19389 finish_eval=$lt_finish_eval
   19390 
   19391 # Take the output of nm and produce a listing of raw symbols and C names.
   19392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19393 
   19394 # Transform the output of nm in a proper C declaration
   19395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19396 
   19397 # Transform the output of nm in a C name address pair
   19398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19399 
   19400 # This is the shared library runtime path variable.
   19401 runpath_var=$runpath_var
   19402 
   19403 # This is the shared library path variable.
   19404 shlibpath_var=$shlibpath_var
   19405 
   19406 # Is shlibpath searched before the hard-coded library search path?
   19407 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19408 
   19409 # How to hardcode a shared library path into an executable.
   19410 hardcode_action=$hardcode_action_GCJ
   19411 
   19412 # Whether we should hardcode library paths into libraries.
   19413 hardcode_into_libs=$hardcode_into_libs
   19414 
   19415 # Flag to hardcode \$libdir into a binary during linking.
   19416 # This must work even if \$libdir does not exist.
   19417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19418 
   19419 # If ld is used when linking, flag to hardcode \$libdir into
   19420 # a binary during linking. This must work even if \$libdir does
   19421 # not exist.
   19422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19423 
   19424 # Whether we need a single -rpath flag with a separated argument.
   19425 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19426 
   19427 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19428 # resulting binary.
   19429 hardcode_direct=$hardcode_direct_GCJ
   19430 
   19431 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19432 # resulting binary.
   19433 hardcode_minus_L=$hardcode_minus_L_GCJ
   19434 
   19435 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19436 # the resulting binary.
   19437 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19438 
   19439 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19440 # and all subsequent libraries and executables linked against it.
   19441 hardcode_automatic=$hardcode_automatic_GCJ
   19442 
   19443 # Variables whose values should be saved in libtool wrapper scripts and
   19444 # restored at relink time.
   19445 variables_saved_for_relink="$variables_saved_for_relink"
   19446 
   19447 # Whether libtool must link a program against all its dependency libraries.
   19448 link_all_deplibs=$link_all_deplibs_GCJ
   19449 
   19450 # Compile-time system search path for libraries
   19451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19452 
   19453 # Run-time system search path for libraries
   19454 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19455 
   19456 # Fix the shell variable \$srcfile for the compiler.
   19457 fix_srcfile_path=$lt_fix_srcfile_path
   19458 
   19459 # Set to yes if exported symbols are required.
   19460 always_export_symbols=$always_export_symbols_GCJ
   19461 
   19462 # The commands to list exported symbols.
   19463 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19464 
   19465 # The commands to extract the exported symbol list from a shared archive.
   19466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19467 
   19468 # Symbols that should not be listed in the preloaded symbols.
   19469 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19470 
   19471 # Symbols that must always be exported.
   19472 include_expsyms=$lt_include_expsyms_GCJ
   19473 
   19474 # ### END LIBTOOL TAG CONFIG: $tagname
   19475 
   19476 __EOF__
   19477 
   19478 
   19479 else
   19480   # If there is no Makefile yet, we rely on a make rule to execute
   19481   # `config.status --recheck' to rerun these tests and create the
   19482   # libtool script then.
   19483   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19484   if test -f "$ltmain_in"; then
   19485     test -f Makefile && make "$ltmain"
   19486   fi
   19487 fi
   19488 
   19489 
   19490 ac_ext=c
   19491 ac_cpp='$CPP $CPPFLAGS'
   19492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19495 
   19496 CC="$lt_save_CC"
   19497 
   19498 	else
   19499 	  tagname=""
   19500 	fi
   19501 	;;
   19502 
   19503       RC)
   19504 
   19505 
   19506 # Source file extension for RC test sources.
   19507 ac_ext=rc
   19508 
   19509 # Object file extension for compiled RC test sources.
   19510 objext=o
   19511 objext_RC=$objext
   19512 
   19513 # Code to be used in simple compile tests
   19514 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19515 
   19516 # Code to be used in simple link tests
   19517 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19518 
   19519 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19520 
   19521 # If no C compiler was specified, use CC.
   19522 LTCC=${LTCC-"$CC"}
   19523 
   19524 # If no C compiler flags were specified, use CFLAGS.
   19525 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19526 
   19527 # Allow CC to be a program name with arguments.
   19528 compiler=$CC
   19529 
   19530 
   19531 # save warnings/boilerplate of simple test code
   19532 ac_outfile=conftest.$ac_objext
   19533 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19534 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19535 _lt_compiler_boilerplate=`cat conftest.err`
   19536 $rm conftest*
   19537 
   19538 ac_outfile=conftest.$ac_objext
   19539 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19540 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19541 _lt_linker_boilerplate=`cat conftest.err`
   19542 $rm -r conftest*
   19543 
   19544 
   19545 # Allow CC to be a program name with arguments.
   19546 lt_save_CC="$CC"
   19547 CC=${RC-"windres"}
   19548 compiler=$CC
   19549 compiler_RC=$CC
   19550 for cc_temp in $compiler""; do
   19551   case $cc_temp in
   19552     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19553     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19554     \-*) ;;
   19555     *) break;;
   19556   esac
   19557 done
   19558 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19559 
   19560 lt_cv_prog_compiler_c_o_RC=yes
   19561 
   19562 # The else clause should only fire when bootstrapping the
   19563 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19564 # with your package, and you will get complaints that there are
   19565 # no rules to generate ltmain.sh.
   19566 if test -f "$ltmain"; then
   19567   # See if we are running on zsh, and set the options which allow our commands through
   19568   # without removal of \ escapes.
   19569   if test -n "${ZSH_VERSION+set}" ; then
   19570     setopt NO_GLOB_SUBST
   19571   fi
   19572   # Now quote all the things that may contain metacharacters while being
   19573   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19574   # variables and quote the copies for generation of the libtool script.
   19575   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19576     SED SHELL STRIP \
   19577     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19578     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19579     deplibs_check_method reload_flag reload_cmds need_locks \
   19580     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19581     lt_cv_sys_global_symbol_to_c_name_address \
   19582     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19583     old_postinstall_cmds old_postuninstall_cmds \
   19584     compiler_RC \
   19585     CC_RC \
   19586     LD_RC \
   19587     lt_prog_compiler_wl_RC \
   19588     lt_prog_compiler_pic_RC \
   19589     lt_prog_compiler_static_RC \
   19590     lt_prog_compiler_no_builtin_flag_RC \
   19591     export_dynamic_flag_spec_RC \
   19592     thread_safe_flag_spec_RC \
   19593     whole_archive_flag_spec_RC \
   19594     enable_shared_with_static_runtimes_RC \
   19595     old_archive_cmds_RC \
   19596     old_archive_from_new_cmds_RC \
   19597     predep_objects_RC \
   19598     postdep_objects_RC \
   19599     predeps_RC \
   19600     postdeps_RC \
   19601     compiler_lib_search_path_RC \
   19602     compiler_lib_search_dirs_RC \
   19603     archive_cmds_RC \
   19604     archive_expsym_cmds_RC \
   19605     postinstall_cmds_RC \
   19606     postuninstall_cmds_RC \
   19607     old_archive_from_expsyms_cmds_RC \
   19608     allow_undefined_flag_RC \
   19609     no_undefined_flag_RC \
   19610     export_symbols_cmds_RC \
   19611     hardcode_libdir_flag_spec_RC \
   19612     hardcode_libdir_flag_spec_ld_RC \
   19613     hardcode_libdir_separator_RC \
   19614     hardcode_automatic_RC \
   19615     module_cmds_RC \
   19616     module_expsym_cmds_RC \
   19617     lt_cv_prog_compiler_c_o_RC \
   19618     fix_srcfile_path_RC \
   19619     exclude_expsyms_RC \
   19620     include_expsyms_RC; do
   19621 
   19622     case $var in
   19623     old_archive_cmds_RC | \
   19624     old_archive_from_new_cmds_RC | \
   19625     archive_cmds_RC | \
   19626     archive_expsym_cmds_RC | \
   19627     module_cmds_RC | \
   19628     module_expsym_cmds_RC | \
   19629     old_archive_from_expsyms_cmds_RC | \
   19630     export_symbols_cmds_RC | \
   19631     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19632     postinstall_cmds | postuninstall_cmds | \
   19633     old_postinstall_cmds | old_postuninstall_cmds | \
   19634     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19635       # Double-quote double-evaled strings.
   19636       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19637       ;;
   19638     *)
   19639       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19640       ;;
   19641     esac
   19642   done
   19643 
   19644   case $lt_echo in
   19645   *'\$0 --fallback-echo"')
   19646     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19647     ;;
   19648   esac
   19649 
   19650 cfgfile="$ofile"
   19651 
   19652   cat <<__EOF__ >> "$cfgfile"
   19653 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19654 
   19655 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19656 
   19657 # Shell to use when invoking shell scripts.
   19658 SHELL=$lt_SHELL
   19659 
   19660 # Whether or not to build shared libraries.
   19661 build_libtool_libs=$enable_shared
   19662 
   19663 # Whether or not to build static libraries.
   19664 build_old_libs=$enable_static
   19665 
   19666 # Whether or not to add -lc for building shared libraries.
   19667 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19668 
   19669 # Whether or not to disallow shared libs when runtime libs are static
   19670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19671 
   19672 # Whether or not to optimize for fast installation.
   19673 fast_install=$enable_fast_install
   19674 
   19675 # The host system.
   19676 host_alias=$host_alias
   19677 host=$host
   19678 host_os=$host_os
   19679 
   19680 # The build system.
   19681 build_alias=$build_alias
   19682 build=$build
   19683 build_os=$build_os
   19684 
   19685 # An echo program that does not interpret backslashes.
   19686 echo=$lt_echo
   19687 
   19688 # The archiver.
   19689 AR=$lt_AR
   19690 AR_FLAGS=$lt_AR_FLAGS
   19691 
   19692 # A C compiler.
   19693 LTCC=$lt_LTCC
   19694 
   19695 # LTCC compiler flags.
   19696 LTCFLAGS=$lt_LTCFLAGS
   19697 
   19698 # A language-specific compiler.
   19699 CC=$lt_compiler_RC
   19700 
   19701 # Is the compiler the GNU C compiler?
   19702 with_gcc=$GCC_RC
   19703 
   19704 # An ERE matcher.
   19705 EGREP=$lt_EGREP
   19706 
   19707 # The linker used to build libraries.
   19708 LD=$lt_LD_RC
   19709 
   19710 # Whether we need hard or soft links.
   19711 LN_S=$lt_LN_S
   19712 
   19713 # A BSD-compatible nm program.
   19714 NM=$lt_NM
   19715 
   19716 # A symbol stripping program
   19717 STRIP=$lt_STRIP
   19718 
   19719 # Used to examine libraries when file_magic_cmd begins "file"
   19720 MAGIC_CMD=$MAGIC_CMD
   19721 
   19722 # Used on cygwin: DLL creation program.
   19723 DLLTOOL="$DLLTOOL"
   19724 
   19725 # Used on cygwin: object dumper.
   19726 OBJDUMP="$OBJDUMP"
   19727 
   19728 # Used on cygwin: assembler.
   19729 AS="$AS"
   19730 
   19731 # The name of the directory that contains temporary libtool files.
   19732 objdir=$objdir
   19733 
   19734 # How to create reloadable object files.
   19735 reload_flag=$lt_reload_flag
   19736 reload_cmds=$lt_reload_cmds
   19737 
   19738 # How to pass a linker flag through the compiler.
   19739 wl=$lt_lt_prog_compiler_wl_RC
   19740 
   19741 # Object file suffix (normally "o").
   19742 objext="$ac_objext"
   19743 
   19744 # Old archive suffix (normally "a").
   19745 libext="$libext"
   19746 
   19747 # Shared library suffix (normally ".so").
   19748 shrext_cmds='$shrext_cmds'
   19749 
   19750 # Executable file suffix (normally "").
   19751 exeext="$exeext"
   19752 
   19753 # Additional compiler flags for building library objects.
   19754 pic_flag=$lt_lt_prog_compiler_pic_RC
   19755 pic_mode=$pic_mode
   19756 
   19757 # What is the maximum length of a command?
   19758 max_cmd_len=$lt_cv_sys_max_cmd_len
   19759 
   19760 # Does compiler simultaneously support -c and -o options?
   19761 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19762 
   19763 # Must we lock files when doing compilation?
   19764 need_locks=$lt_need_locks
   19765 
   19766 # Do we need the lib prefix for modules?
   19767 need_lib_prefix=$need_lib_prefix
   19768 
   19769 # Do we need a version for libraries?
   19770 need_version=$need_version
   19771 
   19772 # Whether dlopen is supported.
   19773 dlopen_support=$enable_dlopen
   19774 
   19775 # Whether dlopen of programs is supported.
   19776 dlopen_self=$enable_dlopen_self
   19777 
   19778 # Whether dlopen of statically linked programs is supported.
   19779 dlopen_self_static=$enable_dlopen_self_static
   19780 
   19781 # Compiler flag to prevent dynamic linking.
   19782 link_static_flag=$lt_lt_prog_compiler_static_RC
   19783 
   19784 # Compiler flag to turn off builtin functions.
   19785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19786 
   19787 # Compiler flag to allow reflexive dlopens.
   19788 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19789 
   19790 # Compiler flag to generate shared objects directly from archives.
   19791 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19792 
   19793 # Compiler flag to generate thread-safe objects.
   19794 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19795 
   19796 # Library versioning type.
   19797 version_type=$version_type
   19798 
   19799 # Format of library name prefix.
   19800 libname_spec=$lt_libname_spec
   19801 
   19802 # List of archive names.  First name is the real one, the rest are links.
   19803 # The last name is the one that the linker finds with -lNAME.
   19804 library_names_spec=$lt_library_names_spec
   19805 
   19806 # The coded name of the library, if different from the real name.
   19807 soname_spec=$lt_soname_spec
   19808 
   19809 # Commands used to build and install an old-style archive.
   19810 RANLIB=$lt_RANLIB
   19811 old_archive_cmds=$lt_old_archive_cmds_RC
   19812 old_postinstall_cmds=$lt_old_postinstall_cmds
   19813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19814 
   19815 # Create an old-style archive from a shared archive.
   19816 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19817 
   19818 # Create a temporary old-style archive to link instead of a shared archive.
   19819 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19820 
   19821 # Commands used to build and install a shared archive.
   19822 archive_cmds=$lt_archive_cmds_RC
   19823 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19824 postinstall_cmds=$lt_postinstall_cmds
   19825 postuninstall_cmds=$lt_postuninstall_cmds
   19826 
   19827 # Commands used to build a loadable module (assumed same as above if empty)
   19828 module_cmds=$lt_module_cmds_RC
   19829 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19830 
   19831 # Commands to strip libraries.
   19832 old_striplib=$lt_old_striplib
   19833 striplib=$lt_striplib
   19834 
   19835 # Dependencies to place before the objects being linked to create a
   19836 # shared library.
   19837 predep_objects=$lt_predep_objects_RC
   19838 
   19839 # Dependencies to place after the objects being linked to create a
   19840 # shared library.
   19841 postdep_objects=$lt_postdep_objects_RC
   19842 
   19843 # Dependencies to place before the objects being linked to create a
   19844 # shared library.
   19845 predeps=$lt_predeps_RC
   19846 
   19847 # Dependencies to place after the objects being linked to create a
   19848 # shared library.
   19849 postdeps=$lt_postdeps_RC
   19850 
   19851 # The directories searched by this compiler when creating a shared
   19852 # library
   19853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19854 
   19855 # The library search path used internally by the compiler when linking
   19856 # a shared library.
   19857 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19858 
   19859 # Method to check whether dependent libraries are shared objects.
   19860 deplibs_check_method=$lt_deplibs_check_method
   19861 
   19862 # Command to use when deplibs_check_method == file_magic.
   19863 file_magic_cmd=$lt_file_magic_cmd
   19864 
   19865 # Flag that allows shared libraries with undefined symbols to be built.
   19866 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19867 
   19868 # Flag that forces no undefined symbols.
   19869 no_undefined_flag=$lt_no_undefined_flag_RC
   19870 
   19871 # Commands used to finish a libtool library installation in a directory.
   19872 finish_cmds=$lt_finish_cmds
   19873 
   19874 # Same as above, but a single script fragment to be evaled but not shown.
   19875 finish_eval=$lt_finish_eval
   19876 
   19877 # Take the output of nm and produce a listing of raw symbols and C names.
   19878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19879 
   19880 # Transform the output of nm in a proper C declaration
   19881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19882 
   19883 # Transform the output of nm in a C name address pair
   19884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19885 
   19886 # This is the shared library runtime path variable.
   19887 runpath_var=$runpath_var
   19888 
   19889 # This is the shared library path variable.
   19890 shlibpath_var=$shlibpath_var
   19891 
   19892 # Is shlibpath searched before the hard-coded library search path?
   19893 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19894 
   19895 # How to hardcode a shared library path into an executable.
   19896 hardcode_action=$hardcode_action_RC
   19897 
   19898 # Whether we should hardcode library paths into libraries.
   19899 hardcode_into_libs=$hardcode_into_libs
   19900 
   19901 # Flag to hardcode \$libdir into a binary during linking.
   19902 # This must work even if \$libdir does not exist.
   19903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19904 
   19905 # If ld is used when linking, flag to hardcode \$libdir into
   19906 # a binary during linking. This must work even if \$libdir does
   19907 # not exist.
   19908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19909 
   19910 # Whether we need a single -rpath flag with a separated argument.
   19911 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19912 
   19913 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19914 # resulting binary.
   19915 hardcode_direct=$hardcode_direct_RC
   19916 
   19917 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19918 # resulting binary.
   19919 hardcode_minus_L=$hardcode_minus_L_RC
   19920 
   19921 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19922 # the resulting binary.
   19923 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19924 
   19925 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19926 # and all subsequent libraries and executables linked against it.
   19927 hardcode_automatic=$hardcode_automatic_RC
   19928 
   19929 # Variables whose values should be saved in libtool wrapper scripts and
   19930 # restored at relink time.
   19931 variables_saved_for_relink="$variables_saved_for_relink"
   19932 
   19933 # Whether libtool must link a program against all its dependency libraries.
   19934 link_all_deplibs=$link_all_deplibs_RC
   19935 
   19936 # Compile-time system search path for libraries
   19937 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19938 
   19939 # Run-time system search path for libraries
   19940 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19941 
   19942 # Fix the shell variable \$srcfile for the compiler.
   19943 fix_srcfile_path=$lt_fix_srcfile_path
   19944 
   19945 # Set to yes if exported symbols are required.
   19946 always_export_symbols=$always_export_symbols_RC
   19947 
   19948 # The commands to list exported symbols.
   19949 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19950 
   19951 # The commands to extract the exported symbol list from a shared archive.
   19952 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19953 
   19954 # Symbols that should not be listed in the preloaded symbols.
   19955 exclude_expsyms=$lt_exclude_expsyms_RC
   19956 
   19957 # Symbols that must always be exported.
   19958 include_expsyms=$lt_include_expsyms_RC
   19959 
   19960 # ### END LIBTOOL TAG CONFIG: $tagname
   19961 
   19962 __EOF__
   19963 
   19964 
   19965 else
   19966   # If there is no Makefile yet, we rely on a make rule to execute
   19967   # `config.status --recheck' to rerun these tests and create the
   19968   # libtool script then.
   19969   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19970   if test -f "$ltmain_in"; then
   19971     test -f Makefile && make "$ltmain"
   19972   fi
   19973 fi
   19974 
   19975 
   19976 ac_ext=c
   19977 ac_cpp='$CPP $CPPFLAGS'
   19978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19981 
   19982 CC="$lt_save_CC"
   19983 
   19984 	;;
   19985 
   19986       *)
   19987 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19988 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19989    { (exit 1); exit 1; }; }
   19990 	;;
   19991       esac
   19992 
   19993       # Append the new tag name to the list of available tags.
   19994       if test -n "$tagname" ; then
   19995       available_tags="$available_tags $tagname"
   19996     fi
   19997     fi
   19998   done
   19999   IFS="$lt_save_ifs"
   20000 
   20001   # Now substitute the updated list of available tags.
   20002   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20003     mv "${ofile}T" "$ofile"
   20004     chmod +x "$ofile"
   20005   else
   20006     rm -f "${ofile}T"
   20007     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20008 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20009    { (exit 1); exit 1; }; }
   20010   fi
   20011 fi
   20012 
   20013 
   20014 
   20015 # This can be used to rebuild libtool when needed
   20016 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20017 
   20018 # Always use our own libtool.
   20019 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20020 
   20021 # Prevent multiple expansion
   20022 
   20023 
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 ac_ext=c
   20043 ac_cpp='$CPP $CPPFLAGS'
   20044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20047 if test -n "$ac_tool_prefix"; then
   20048   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20049 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20050 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20051 $as_echo_n "checking for $ac_word... " >&6; }
   20052 if test "${ac_cv_prog_CC+set}" = set; then
   20053   $as_echo_n "(cached) " >&6
   20054 else
   20055   if test -n "$CC"; then
   20056   ac_cv_prog_CC="$CC" # Let the user override the test.
   20057 else
   20058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20059 for as_dir in $PATH
   20060 do
   20061   IFS=$as_save_IFS
   20062   test -z "$as_dir" && as_dir=.
   20063   for ac_exec_ext in '' $ac_executable_extensions; do
   20064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20065     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20066     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20067     break 2
   20068   fi
   20069 done
   20070 done
   20071 IFS=$as_save_IFS
   20072 
   20073 fi
   20074 fi
   20075 CC=$ac_cv_prog_CC
   20076 if test -n "$CC"; then
   20077   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20078 $as_echo "$CC" >&6; }
   20079 else
   20080   { $as_echo "$as_me:$LINENO: result: no" >&5
   20081 $as_echo "no" >&6; }
   20082 fi
   20083 
   20084 
   20085 fi
   20086 if test -z "$ac_cv_prog_CC"; then
   20087   ac_ct_CC=$CC
   20088   # Extract the first word of "gcc", so it can be a program name with args.
   20089 set dummy gcc; ac_word=$2
   20090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20091 $as_echo_n "checking for $ac_word... " >&6; }
   20092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20093   $as_echo_n "(cached) " >&6
   20094 else
   20095   if test -n "$ac_ct_CC"; then
   20096   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20097 else
   20098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20099 for as_dir in $PATH
   20100 do
   20101   IFS=$as_save_IFS
   20102   test -z "$as_dir" && as_dir=.
   20103   for ac_exec_ext in '' $ac_executable_extensions; do
   20104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20105     ac_cv_prog_ac_ct_CC="gcc"
   20106     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20107     break 2
   20108   fi
   20109 done
   20110 done
   20111 IFS=$as_save_IFS
   20112 
   20113 fi
   20114 fi
   20115 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20116 if test -n "$ac_ct_CC"; then
   20117   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20118 $as_echo "$ac_ct_CC" >&6; }
   20119 else
   20120   { $as_echo "$as_me:$LINENO: result: no" >&5
   20121 $as_echo "no" >&6; }
   20122 fi
   20123 
   20124   if test "x$ac_ct_CC" = x; then
   20125     CC=""
   20126   else
   20127     case $cross_compiling:$ac_tool_warned in
   20128 yes:)
   20129 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20131 ac_tool_warned=yes ;;
   20132 esac
   20133     CC=$ac_ct_CC
   20134   fi
   20135 else
   20136   CC="$ac_cv_prog_CC"
   20137 fi
   20138 
   20139 if test -z "$CC"; then
   20140           if test -n "$ac_tool_prefix"; then
   20141     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20142 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20144 $as_echo_n "checking for $ac_word... " >&6; }
   20145 if test "${ac_cv_prog_CC+set}" = set; then
   20146   $as_echo_n "(cached) " >&6
   20147 else
   20148   if test -n "$CC"; then
   20149   ac_cv_prog_CC="$CC" # Let the user override the test.
   20150 else
   20151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20152 for as_dir in $PATH
   20153 do
   20154   IFS=$as_save_IFS
   20155   test -z "$as_dir" && as_dir=.
   20156   for ac_exec_ext in '' $ac_executable_extensions; do
   20157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20158     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20160     break 2
   20161   fi
   20162 done
   20163 done
   20164 IFS=$as_save_IFS
   20165 
   20166 fi
   20167 fi
   20168 CC=$ac_cv_prog_CC
   20169 if test -n "$CC"; then
   20170   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20171 $as_echo "$CC" >&6; }
   20172 else
   20173   { $as_echo "$as_me:$LINENO: result: no" >&5
   20174 $as_echo "no" >&6; }
   20175 fi
   20176 
   20177 
   20178   fi
   20179 fi
   20180 if test -z "$CC"; then
   20181   # Extract the first word of "cc", so it can be a program name with args.
   20182 set dummy cc; ac_word=$2
   20183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20184 $as_echo_n "checking for $ac_word... " >&6; }
   20185 if test "${ac_cv_prog_CC+set}" = set; then
   20186   $as_echo_n "(cached) " >&6
   20187 else
   20188   if test -n "$CC"; then
   20189   ac_cv_prog_CC="$CC" # Let the user override the test.
   20190 else
   20191   ac_prog_rejected=no
   20192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20193 for as_dir in $PATH
   20194 do
   20195   IFS=$as_save_IFS
   20196   test -z "$as_dir" && as_dir=.
   20197   for ac_exec_ext in '' $ac_executable_extensions; do
   20198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20199     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20200        ac_prog_rejected=yes
   20201        continue
   20202      fi
   20203     ac_cv_prog_CC="cc"
   20204     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20205     break 2
   20206   fi
   20207 done
   20208 done
   20209 IFS=$as_save_IFS
   20210 
   20211 if test $ac_prog_rejected = yes; then
   20212   # We found a bogon in the path, so make sure we never use it.
   20213   set dummy $ac_cv_prog_CC
   20214   shift
   20215   if test $# != 0; then
   20216     # We chose a different compiler from the bogus one.
   20217     # However, it has the same basename, so the bogon will be chosen
   20218     # first if we set CC to just the basename; use the full file name.
   20219     shift
   20220     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20221   fi
   20222 fi
   20223 fi
   20224 fi
   20225 CC=$ac_cv_prog_CC
   20226 if test -n "$CC"; then
   20227   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20228 $as_echo "$CC" >&6; }
   20229 else
   20230   { $as_echo "$as_me:$LINENO: result: no" >&5
   20231 $as_echo "no" >&6; }
   20232 fi
   20233 
   20234 
   20235 fi
   20236 if test -z "$CC"; then
   20237   if test -n "$ac_tool_prefix"; then
   20238   for ac_prog in cl.exe
   20239   do
   20240     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20243 $as_echo_n "checking for $ac_word... " >&6; }
   20244 if test "${ac_cv_prog_CC+set}" = set; then
   20245   $as_echo_n "(cached) " >&6
   20246 else
   20247   if test -n "$CC"; then
   20248   ac_cv_prog_CC="$CC" # Let the user override the test.
   20249 else
   20250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20251 for as_dir in $PATH
   20252 do
   20253   IFS=$as_save_IFS
   20254   test -z "$as_dir" && as_dir=.
   20255   for ac_exec_ext in '' $ac_executable_extensions; do
   20256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20257     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20258     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20259     break 2
   20260   fi
   20261 done
   20262 done
   20263 IFS=$as_save_IFS
   20264 
   20265 fi
   20266 fi
   20267 CC=$ac_cv_prog_CC
   20268 if test -n "$CC"; then
   20269   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20270 $as_echo "$CC" >&6; }
   20271 else
   20272   { $as_echo "$as_me:$LINENO: result: no" >&5
   20273 $as_echo "no" >&6; }
   20274 fi
   20275 
   20276 
   20277     test -n "$CC" && break
   20278   done
   20279 fi
   20280 if test -z "$CC"; then
   20281   ac_ct_CC=$CC
   20282   for ac_prog in cl.exe
   20283 do
   20284   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20285 set dummy $ac_prog; ac_word=$2
   20286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20287 $as_echo_n "checking for $ac_word... " >&6; }
   20288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20289   $as_echo_n "(cached) " >&6
   20290 else
   20291   if test -n "$ac_ct_CC"; then
   20292   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20293 else
   20294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20295 for as_dir in $PATH
   20296 do
   20297   IFS=$as_save_IFS
   20298   test -z "$as_dir" && as_dir=.
   20299   for ac_exec_ext in '' $ac_executable_extensions; do
   20300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20301     ac_cv_prog_ac_ct_CC="$ac_prog"
   20302     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20303     break 2
   20304   fi
   20305 done
   20306 done
   20307 IFS=$as_save_IFS
   20308 
   20309 fi
   20310 fi
   20311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20312 if test -n "$ac_ct_CC"; then
   20313   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20314 $as_echo "$ac_ct_CC" >&6; }
   20315 else
   20316   { $as_echo "$as_me:$LINENO: result: no" >&5
   20317 $as_echo "no" >&6; }
   20318 fi
   20319 
   20320 
   20321   test -n "$ac_ct_CC" && break
   20322 done
   20323 
   20324   if test "x$ac_ct_CC" = x; then
   20325     CC=""
   20326   else
   20327     case $cross_compiling:$ac_tool_warned in
   20328 yes:)
   20329 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20331 ac_tool_warned=yes ;;
   20332 esac
   20333     CC=$ac_ct_CC
   20334   fi
   20335 fi
   20336 
   20337 fi
   20338 
   20339 
   20340 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20342 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20343 See \`config.log' for more details." >&5
   20344 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20345 See \`config.log' for more details." >&2;}
   20346    { (exit 1); exit 1; }; }; }
   20347 
   20348 # Provide some information about the compiler.
   20349 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20350 set X $ac_compile
   20351 ac_compiler=$2
   20352 { (ac_try="$ac_compiler --version >&5"
   20353 case "(($ac_try" in
   20354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20355   *) ac_try_echo=$ac_try;;
   20356 esac
   20357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20358 $as_echo "$ac_try_echo") >&5
   20359   (eval "$ac_compiler --version >&5") 2>&5
   20360   ac_status=$?
   20361   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20362   (exit $ac_status); }
   20363 { (ac_try="$ac_compiler -v >&5"
   20364 case "(($ac_try" in
   20365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20366   *) ac_try_echo=$ac_try;;
   20367 esac
   20368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20369 $as_echo "$ac_try_echo") >&5
   20370   (eval "$ac_compiler -v >&5") 2>&5
   20371   ac_status=$?
   20372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20373   (exit $ac_status); }
   20374 { (ac_try="$ac_compiler -V >&5"
   20375 case "(($ac_try" in
   20376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20377   *) ac_try_echo=$ac_try;;
   20378 esac
   20379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20380 $as_echo "$ac_try_echo") >&5
   20381   (eval "$ac_compiler -V >&5") 2>&5
   20382   ac_status=$?
   20383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20384   (exit $ac_status); }
   20385 
   20386 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20389   $as_echo_n "(cached) " >&6
   20390 else
   20391   cat >conftest.$ac_ext <<_ACEOF
   20392 /* confdefs.h.  */
   20393 _ACEOF
   20394 cat confdefs.h >>conftest.$ac_ext
   20395 cat >>conftest.$ac_ext <<_ACEOF
   20396 /* end confdefs.h.  */
   20397 
   20398 int
   20399 main ()
   20400 {
   20401 #ifndef __GNUC__
   20402        choke me
   20403 #endif
   20404 
   20405   ;
   20406   return 0;
   20407 }
   20408 _ACEOF
   20409 rm -f conftest.$ac_objext
   20410 if { (ac_try="$ac_compile"
   20411 case "(($ac_try" in
   20412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20413   *) ac_try_echo=$ac_try;;
   20414 esac
   20415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20416 $as_echo "$ac_try_echo") >&5
   20417   (eval "$ac_compile") 2>conftest.er1
   20418   ac_status=$?
   20419   grep -v '^ *+' conftest.er1 >conftest.err
   20420   rm -f conftest.er1
   20421   cat conftest.err >&5
   20422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20423   (exit $ac_status); } && {
   20424 	 test -z "$ac_c_werror_flag" ||
   20425 	 test ! -s conftest.err
   20426        } && test -s conftest.$ac_objext; then
   20427   ac_compiler_gnu=yes
   20428 else
   20429   $as_echo "$as_me: failed program was:" >&5
   20430 sed 's/^/| /' conftest.$ac_ext >&5
   20431 
   20432 	ac_compiler_gnu=no
   20433 fi
   20434 
   20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20437 
   20438 fi
   20439 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20441 if test $ac_compiler_gnu = yes; then
   20442   GCC=yes
   20443 else
   20444   GCC=
   20445 fi
   20446 ac_test_CFLAGS=${CFLAGS+set}
   20447 ac_save_CFLAGS=$CFLAGS
   20448 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20450 if test "${ac_cv_prog_cc_g+set}" = set; then
   20451   $as_echo_n "(cached) " >&6
   20452 else
   20453   ac_save_c_werror_flag=$ac_c_werror_flag
   20454    ac_c_werror_flag=yes
   20455    ac_cv_prog_cc_g=no
   20456    CFLAGS="-g"
   20457    cat >conftest.$ac_ext <<_ACEOF
   20458 /* confdefs.h.  */
   20459 _ACEOF
   20460 cat confdefs.h >>conftest.$ac_ext
   20461 cat >>conftest.$ac_ext <<_ACEOF
   20462 /* end confdefs.h.  */
   20463 
   20464 int
   20465 main ()
   20466 {
   20467 
   20468   ;
   20469   return 0;
   20470 }
   20471 _ACEOF
   20472 rm -f conftest.$ac_objext
   20473 if { (ac_try="$ac_compile"
   20474 case "(($ac_try" in
   20475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20476   *) ac_try_echo=$ac_try;;
   20477 esac
   20478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20479 $as_echo "$ac_try_echo") >&5
   20480   (eval "$ac_compile") 2>conftest.er1
   20481   ac_status=$?
   20482   grep -v '^ *+' conftest.er1 >conftest.err
   20483   rm -f conftest.er1
   20484   cat conftest.err >&5
   20485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20486   (exit $ac_status); } && {
   20487 	 test -z "$ac_c_werror_flag" ||
   20488 	 test ! -s conftest.err
   20489        } && test -s conftest.$ac_objext; then
   20490   ac_cv_prog_cc_g=yes
   20491 else
   20492   $as_echo "$as_me: failed program was:" >&5
   20493 sed 's/^/| /' conftest.$ac_ext >&5
   20494 
   20495 	CFLAGS=""
   20496       cat >conftest.$ac_ext <<_ACEOF
   20497 /* confdefs.h.  */
   20498 _ACEOF
   20499 cat confdefs.h >>conftest.$ac_ext
   20500 cat >>conftest.$ac_ext <<_ACEOF
   20501 /* end confdefs.h.  */
   20502 
   20503 int
   20504 main ()
   20505 {
   20506 
   20507   ;
   20508   return 0;
   20509 }
   20510 _ACEOF
   20511 rm -f conftest.$ac_objext
   20512 if { (ac_try="$ac_compile"
   20513 case "(($ac_try" in
   20514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20515   *) ac_try_echo=$ac_try;;
   20516 esac
   20517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20518 $as_echo "$ac_try_echo") >&5
   20519   (eval "$ac_compile") 2>conftest.er1
   20520   ac_status=$?
   20521   grep -v '^ *+' conftest.er1 >conftest.err
   20522   rm -f conftest.er1
   20523   cat conftest.err >&5
   20524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20525   (exit $ac_status); } && {
   20526 	 test -z "$ac_c_werror_flag" ||
   20527 	 test ! -s conftest.err
   20528        } && test -s conftest.$ac_objext; then
   20529   :
   20530 else
   20531   $as_echo "$as_me: failed program was:" >&5
   20532 sed 's/^/| /' conftest.$ac_ext >&5
   20533 
   20534 	ac_c_werror_flag=$ac_save_c_werror_flag
   20535 	 CFLAGS="-g"
   20536 	 cat >conftest.$ac_ext <<_ACEOF
   20537 /* confdefs.h.  */
   20538 _ACEOF
   20539 cat confdefs.h >>conftest.$ac_ext
   20540 cat >>conftest.$ac_ext <<_ACEOF
   20541 /* end confdefs.h.  */
   20542 
   20543 int
   20544 main ()
   20545 {
   20546 
   20547   ;
   20548   return 0;
   20549 }
   20550 _ACEOF
   20551 rm -f conftest.$ac_objext
   20552 if { (ac_try="$ac_compile"
   20553 case "(($ac_try" in
   20554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20555   *) ac_try_echo=$ac_try;;
   20556 esac
   20557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20558 $as_echo "$ac_try_echo") >&5
   20559   (eval "$ac_compile") 2>conftest.er1
   20560   ac_status=$?
   20561   grep -v '^ *+' conftest.er1 >conftest.err
   20562   rm -f conftest.er1
   20563   cat conftest.err >&5
   20564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20565   (exit $ac_status); } && {
   20566 	 test -z "$ac_c_werror_flag" ||
   20567 	 test ! -s conftest.err
   20568        } && test -s conftest.$ac_objext; then
   20569   ac_cv_prog_cc_g=yes
   20570 else
   20571   $as_echo "$as_me: failed program was:" >&5
   20572 sed 's/^/| /' conftest.$ac_ext >&5
   20573 
   20574 
   20575 fi
   20576 
   20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20578 fi
   20579 
   20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20581 fi
   20582 
   20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20584    ac_c_werror_flag=$ac_save_c_werror_flag
   20585 fi
   20586 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20587 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20588 if test "$ac_test_CFLAGS" = set; then
   20589   CFLAGS=$ac_save_CFLAGS
   20590 elif test $ac_cv_prog_cc_g = yes; then
   20591   if test "$GCC" = yes; then
   20592     CFLAGS="-g -O2"
   20593   else
   20594     CFLAGS="-g"
   20595   fi
   20596 else
   20597   if test "$GCC" = yes; then
   20598     CFLAGS="-O2"
   20599   else
   20600     CFLAGS=
   20601   fi
   20602 fi
   20603 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20604 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20605 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20606   $as_echo_n "(cached) " >&6
   20607 else
   20608   ac_cv_prog_cc_c89=no
   20609 ac_save_CC=$CC
   20610 cat >conftest.$ac_ext <<_ACEOF
   20611 /* confdefs.h.  */
   20612 _ACEOF
   20613 cat confdefs.h >>conftest.$ac_ext
   20614 cat >>conftest.$ac_ext <<_ACEOF
   20615 /* end confdefs.h.  */
   20616 #include <stdarg.h>
   20617 #include <stdio.h>
   20618 #include <sys/types.h>
   20619 #include <sys/stat.h>
   20620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20621 struct buf { int x; };
   20622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20623 static char *e (p, i)
   20624      char **p;
   20625      int i;
   20626 {
   20627   return p[i];
   20628 }
   20629 static char *f (char * (*g) (char **, int), char **p, ...)
   20630 {
   20631   char *s;
   20632   va_list v;
   20633   va_start (v,p);
   20634   s = g (p, va_arg (v,int));
   20635   va_end (v);
   20636   return s;
   20637 }
   20638 
   20639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20640    function prototypes and stuff, but not '\xHH' hex character constants.
   20641    These don't provoke an error unfortunately, instead are silently treated
   20642    as 'x'.  The following induces an error, until -std is added to get
   20643    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20644    array size at least.  It's necessary to write '\x00'==0 to get something
   20645    that's true only with -std.  */
   20646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20647 
   20648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20649    inside strings and character constants.  */
   20650 #define FOO(x) 'x'
   20651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20652 
   20653 int test (int i, double x);
   20654 struct s1 {int (*f) (int a);};
   20655 struct s2 {int (*f) (double a);};
   20656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20657 int argc;
   20658 char **argv;
   20659 int
   20660 main ()
   20661 {
   20662 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20663   ;
   20664   return 0;
   20665 }
   20666 _ACEOF
   20667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20668 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20669 do
   20670   CC="$ac_save_CC $ac_arg"
   20671   rm -f conftest.$ac_objext
   20672 if { (ac_try="$ac_compile"
   20673 case "(($ac_try" in
   20674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20675   *) ac_try_echo=$ac_try;;
   20676 esac
   20677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20678 $as_echo "$ac_try_echo") >&5
   20679   (eval "$ac_compile") 2>conftest.er1
   20680   ac_status=$?
   20681   grep -v '^ *+' conftest.er1 >conftest.err
   20682   rm -f conftest.er1
   20683   cat conftest.err >&5
   20684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20685   (exit $ac_status); } && {
   20686 	 test -z "$ac_c_werror_flag" ||
   20687 	 test ! -s conftest.err
   20688        } && test -s conftest.$ac_objext; then
   20689   ac_cv_prog_cc_c89=$ac_arg
   20690 else
   20691   $as_echo "$as_me: failed program was:" >&5
   20692 sed 's/^/| /' conftest.$ac_ext >&5
   20693 
   20694 
   20695 fi
   20696 
   20697 rm -f core conftest.err conftest.$ac_objext
   20698   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20699 done
   20700 rm -f conftest.$ac_ext
   20701 CC=$ac_save_CC
   20702 
   20703 fi
   20704 # AC_CACHE_VAL
   20705 case "x$ac_cv_prog_cc_c89" in
   20706   x)
   20707     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20708 $as_echo "none needed" >&6; } ;;
   20709   xno)
   20710     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20711 $as_echo "unsupported" >&6; } ;;
   20712   *)
   20713     CC="$CC $ac_cv_prog_cc_c89"
   20714     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20716 esac
   20717 
   20718 
   20719 ac_ext=c
   20720 ac_cpp='$CPP $CPPFLAGS'
   20721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20724 
   20725 depcc="$CC"   am_compiler_list=
   20726 
   20727 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20728 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20729 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20730   $as_echo_n "(cached) " >&6
   20731 else
   20732   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20733   # We make a subdir and do the tests there.  Otherwise we can end up
   20734   # making bogus files that we don't know about and never remove.  For
   20735   # instance it was reported that on HP-UX the gcc test will end up
   20736   # making a dummy file named `D' -- because `-MD' means `put the output
   20737   # in D'.
   20738   mkdir conftest.dir
   20739   # Copy depcomp to subdir because otherwise we won't find it if we're
   20740   # using a relative directory.
   20741   cp "$am_depcomp" conftest.dir
   20742   cd conftest.dir
   20743   # We will build objects and dependencies in a subdirectory because
   20744   # it helps to detect inapplicable dependency modes.  For instance
   20745   # both Tru64's cc and ICC support -MD to output dependencies as a
   20746   # side effect of compilation, but ICC will put the dependencies in
   20747   # the current directory while Tru64 will put them in the object
   20748   # directory.
   20749   mkdir sub
   20750 
   20751   am_cv_CC_dependencies_compiler_type=none
   20752   if test "$am_compiler_list" = ""; then
   20753      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20754   fi
   20755   am__universal=false
   20756   case " $depcc " in #(
   20757      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20758      esac
   20759 
   20760   for depmode in $am_compiler_list; do
   20761     # Setup a source with many dependencies, because some compilers
   20762     # like to wrap large dependency lists on column 80 (with \), and
   20763     # we should not choose a depcomp mode which is confused by this.
   20764     #
   20765     # We need to recreate these files for each test, as the compiler may
   20766     # overwrite some of them when testing with obscure command lines.
   20767     # This happens at least with the AIX C compiler.
   20768     : > sub/conftest.c
   20769     for i in 1 2 3 4 5 6; do
   20770       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20771       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20772       # Solaris 8's {/usr,}/bin/sh.
   20773       touch sub/conftst$i.h
   20774     done
   20775     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20776 
   20777     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20778     # mode.  It turns out that the SunPro C++ compiler does not properly
   20779     # handle `-M -o', and we need to detect this.  Also, some Intel
   20780     # versions had trouble with output in subdirs
   20781     am__obj=sub/conftest.${OBJEXT-o}
   20782     am__minus_obj="-o $am__obj"
   20783     case $depmode in
   20784     gcc)
   20785       # This depmode causes a compiler race in universal mode.
   20786       test "$am__universal" = false || continue
   20787       ;;
   20788     nosideeffect)
   20789       # after this tag, mechanisms are not by side-effect, so they'll
   20790       # only be used when explicitly requested
   20791       if test "x$enable_dependency_tracking" = xyes; then
   20792 	continue
   20793       else
   20794 	break
   20795       fi
   20796       ;;
   20797     msvisualcpp | msvcmsys)
   20798       # This compiler won't grok `-c -o', but also, the minuso test has
   20799       # not run yet.  These depmodes are late enough in the game, and
   20800       # so weak that their functioning should not be impacted.
   20801       am__obj=conftest.${OBJEXT-o}
   20802       am__minus_obj=
   20803       ;;
   20804     none) break ;;
   20805     esac
   20806     if depmode=$depmode \
   20807        source=sub/conftest.c object=$am__obj \
   20808        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20809        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20810          >/dev/null 2>conftest.err &&
   20811        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20812        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20813        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20814        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20815       # icc doesn't choke on unknown options, it will just issue warnings
   20816       # or remarks (even with -Werror).  So we grep stderr for any message
   20817       # that says an option was ignored or not supported.
   20818       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20819       #   icc: Command line warning: ignoring option '-M'; no argument required
   20820       # The diagnosis changed in icc 8.0:
   20821       #   icc: Command line remark: option '-MP' not supported
   20822       if (grep 'ignoring option' conftest.err ||
   20823           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20824         am_cv_CC_dependencies_compiler_type=$depmode
   20825         break
   20826       fi
   20827     fi
   20828   done
   20829 
   20830   cd ..
   20831   rm -rf conftest.dir
   20832 else
   20833   am_cv_CC_dependencies_compiler_type=none
   20834 fi
   20835 
   20836 fi
   20837 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20838 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20839 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20840 
   20841  if
   20842   test "x$enable_dependency_tracking" != xno \
   20843   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20844   am__fastdepCC_TRUE=
   20845   am__fastdepCC_FALSE='#'
   20846 else
   20847   am__fastdepCC_TRUE='#'
   20848   am__fastdepCC_FALSE=
   20849 fi
   20850 
   20851 
   20852 
   20853 
   20854 
   20855 
   20856 
   20857 # Check whether --with-xorg-module-dir was given.
   20858 if test "${with_xorg_module_dir+set}" = set; then
   20859   withval=$with_xorg_module_dir; moduledir="$withval"
   20860 else
   20861   moduledir="$libdir/xorg/modules"
   20862 fi
   20863 
   20864 
   20865 
   20866 # Checks for extensions
   20867 
   20868 	SAVE_CFLAGS="$CFLAGS"
   20869 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20870 	cat >conftest.$ac_ext <<_ACEOF
   20871 /* confdefs.h.  */
   20872 _ACEOF
   20873 cat confdefs.h >>conftest.$ac_ext
   20874 cat >>conftest.$ac_ext <<_ACEOF
   20875 /* end confdefs.h.  */
   20876 
   20877 #include "xorg-server.h"
   20878 #if !defined RANDR
   20879 #error RANDR not defined
   20880 #endif
   20881 
   20882 int
   20883 main ()
   20884 {
   20885 
   20886   ;
   20887   return 0;
   20888 }
   20889 _ACEOF
   20890 rm -f conftest.$ac_objext
   20891 if { (ac_try="$ac_compile"
   20892 case "(($ac_try" in
   20893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20894   *) ac_try_echo=$ac_try;;
   20895 esac
   20896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20897 $as_echo "$ac_try_echo") >&5
   20898   (eval "$ac_compile") 2>conftest.er1
   20899   ac_status=$?
   20900   grep -v '^ *+' conftest.er1 >conftest.err
   20901   rm -f conftest.er1
   20902   cat conftest.err >&5
   20903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20904   (exit $ac_status); } && {
   20905 	 test -z "$ac_c_werror_flag" ||
   20906 	 test ! -s conftest.err
   20907        } && test -s conftest.$ac_objext; then
   20908   _EXT_CHECK=yes
   20909 else
   20910   $as_echo "$as_me: failed program was:" >&5
   20911 sed 's/^/| /' conftest.$ac_ext >&5
   20912 
   20913 	_EXT_CHECK=no
   20914 fi
   20915 
   20916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20917 	CFLAGS="$SAVE_CFLAGS"
   20918 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20919 $as_echo_n "checking if RANDR is defined... " >&6; }
   20920 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20921 $as_echo "$_EXT_CHECK" >&6; }
   20922 	if test "$_EXT_CHECK" != no; then
   20923 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20924 	fi
   20925 
   20926 
   20927 	SAVE_CFLAGS="$CFLAGS"
   20928 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20929 	cat >conftest.$ac_ext <<_ACEOF
   20930 /* confdefs.h.  */
   20931 _ACEOF
   20932 cat confdefs.h >>conftest.$ac_ext
   20933 cat >>conftest.$ac_ext <<_ACEOF
   20934 /* end confdefs.h.  */
   20935 
   20936 #include "xorg-server.h"
   20937 #if !defined RENDER
   20938 #error RENDER not defined
   20939 #endif
   20940 
   20941 int
   20942 main ()
   20943 {
   20944 
   20945   ;
   20946   return 0;
   20947 }
   20948 _ACEOF
   20949 rm -f conftest.$ac_objext
   20950 if { (ac_try="$ac_compile"
   20951 case "(($ac_try" in
   20952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20953   *) ac_try_echo=$ac_try;;
   20954 esac
   20955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20956 $as_echo "$ac_try_echo") >&5
   20957   (eval "$ac_compile") 2>conftest.er1
   20958   ac_status=$?
   20959   grep -v '^ *+' conftest.er1 >conftest.err
   20960   rm -f conftest.er1
   20961   cat conftest.err >&5
   20962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20963   (exit $ac_status); } && {
   20964 	 test -z "$ac_c_werror_flag" ||
   20965 	 test ! -s conftest.err
   20966        } && test -s conftest.$ac_objext; then
   20967   _EXT_CHECK=yes
   20968 else
   20969   $as_echo "$as_me: failed program was:" >&5
   20970 sed 's/^/| /' conftest.$ac_ext >&5
   20971 
   20972 	_EXT_CHECK=no
   20973 fi
   20974 
   20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20976 	CFLAGS="$SAVE_CFLAGS"
   20977 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20978 $as_echo_n "checking if RENDER is defined... " >&6; }
   20979 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20980 $as_echo "$_EXT_CHECK" >&6; }
   20981 	if test "$_EXT_CHECK" != no; then
   20982 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20983 	fi
   20984 
   20985 
   20986 	SAVE_CFLAGS="$CFLAGS"
   20987 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20988 	cat >conftest.$ac_ext <<_ACEOF
   20989 /* confdefs.h.  */
   20990 _ACEOF
   20991 cat confdefs.h >>conftest.$ac_ext
   20992 cat >>conftest.$ac_ext <<_ACEOF
   20993 /* end confdefs.h.  */
   20994 
   20995 #include "xorg-server.h"
   20996 #if !defined XV
   20997 #error XV not defined
   20998 #endif
   20999 
   21000 int
   21001 main ()
   21002 {
   21003 
   21004   ;
   21005   return 0;
   21006 }
   21007 _ACEOF
   21008 rm -f conftest.$ac_objext
   21009 if { (ac_try="$ac_compile"
   21010 case "(($ac_try" in
   21011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21012   *) ac_try_echo=$ac_try;;
   21013 esac
   21014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21015 $as_echo "$ac_try_echo") >&5
   21016   (eval "$ac_compile") 2>conftest.er1
   21017   ac_status=$?
   21018   grep -v '^ *+' conftest.er1 >conftest.err
   21019   rm -f conftest.er1
   21020   cat conftest.err >&5
   21021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21022   (exit $ac_status); } && {
   21023 	 test -z "$ac_c_werror_flag" ||
   21024 	 test ! -s conftest.err
   21025        } && test -s conftest.$ac_objext; then
   21026   _EXT_CHECK=yes
   21027 else
   21028   $as_echo "$as_me: failed program was:" >&5
   21029 sed 's/^/| /' conftest.$ac_ext >&5
   21030 
   21031 	_EXT_CHECK=no
   21032 fi
   21033 
   21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21035 	CFLAGS="$SAVE_CFLAGS"
   21036 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21037 $as_echo_n "checking if XV is defined... " >&6; }
   21038 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21039 $as_echo "$_EXT_CHECK" >&6; }
   21040 	if test "$_EXT_CHECK" != no; then
   21041 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21042 	fi
   21043 
   21044 
   21045 	SAVE_CFLAGS="$CFLAGS"
   21046 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21047 	cat >conftest.$ac_ext <<_ACEOF
   21048 /* confdefs.h.  */
   21049 _ACEOF
   21050 cat confdefs.h >>conftest.$ac_ext
   21051 cat >>conftest.$ac_ext <<_ACEOF
   21052 /* end confdefs.h.  */
   21053 
   21054 #include "xorg-server.h"
   21055 #if !defined DPMSExtension
   21056 #error DPMSExtension not defined
   21057 #endif
   21058 
   21059 int
   21060 main ()
   21061 {
   21062 
   21063   ;
   21064   return 0;
   21065 }
   21066 _ACEOF
   21067 rm -f conftest.$ac_objext
   21068 if { (ac_try="$ac_compile"
   21069 case "(($ac_try" in
   21070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21071   *) ac_try_echo=$ac_try;;
   21072 esac
   21073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21074 $as_echo "$ac_try_echo") >&5
   21075   (eval "$ac_compile") 2>conftest.er1
   21076   ac_status=$?
   21077   grep -v '^ *+' conftest.er1 >conftest.err
   21078   rm -f conftest.er1
   21079   cat conftest.err >&5
   21080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21081   (exit $ac_status); } && {
   21082 	 test -z "$ac_c_werror_flag" ||
   21083 	 test ! -s conftest.err
   21084        } && test -s conftest.$ac_objext; then
   21085   _EXT_CHECK=yes
   21086 else
   21087   $as_echo "$as_me: failed program was:" >&5
   21088 sed 's/^/| /' conftest.$ac_ext >&5
   21089 
   21090 	_EXT_CHECK=no
   21091 fi
   21092 
   21093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21094 	CFLAGS="$SAVE_CFLAGS"
   21095 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21096 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21097 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21098 $as_echo "$_EXT_CHECK" >&6; }
   21099 	if test "$_EXT_CHECK" != no; then
   21100 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21101 	fi
   21102 
   21103 
   21104 	SAVE_CFLAGS="$CFLAGS"
   21105 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21106 	cat >conftest.$ac_ext <<_ACEOF
   21107 /* confdefs.h.  */
   21108 _ACEOF
   21109 cat confdefs.h >>conftest.$ac_ext
   21110 cat >>conftest.$ac_ext <<_ACEOF
   21111 /* end confdefs.h.  */
   21112 
   21113 #include "xorg-server.h"
   21114 #if !defined XFreeXDGA
   21115 #error XFreeXDGA not defined
   21116 #endif
   21117 
   21118 int
   21119 main ()
   21120 {
   21121 
   21122   ;
   21123   return 0;
   21124 }
   21125 _ACEOF
   21126 rm -f conftest.$ac_objext
   21127 if { (ac_try="$ac_compile"
   21128 case "(($ac_try" in
   21129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21130   *) ac_try_echo=$ac_try;;
   21131 esac
   21132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21133 $as_echo "$ac_try_echo") >&5
   21134   (eval "$ac_compile") 2>conftest.er1
   21135   ac_status=$?
   21136   grep -v '^ *+' conftest.er1 >conftest.err
   21137   rm -f conftest.er1
   21138   cat conftest.err >&5
   21139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21140   (exit $ac_status); } && {
   21141 	 test -z "$ac_c_werror_flag" ||
   21142 	 test ! -s conftest.err
   21143        } && test -s conftest.$ac_objext; then
   21144   _EXT_CHECK=yes
   21145 else
   21146   $as_echo "$as_me: failed program was:" >&5
   21147 sed 's/^/| /' conftest.$ac_ext >&5
   21148 
   21149 	_EXT_CHECK=no
   21150 fi
   21151 
   21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21153 	CFLAGS="$SAVE_CFLAGS"
   21154 	{ $as_echo "$as_me:$LINENO: checking if XFreeXDGA is defined" >&5
   21155 $as_echo_n "checking if XFreeXDGA is defined... " >&6; }
   21156 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21157 $as_echo "$_EXT_CHECK" >&6; }
   21158 	if test "$_EXT_CHECK" != no; then
   21159 		REQUIRED_MODULES="$REQUIRED_MODULES xf86dgaproto"
   21160 	fi
   21161 
   21162 
   21163 # Checks for pkg-config packages
   21164 
   21165 
   21166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21167 	if test -n "$ac_tool_prefix"; then
   21168   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21171 $as_echo_n "checking for $ac_word... " >&6; }
   21172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21173   $as_echo_n "(cached) " >&6
   21174 else
   21175   case $PKG_CONFIG in
   21176   [\\/]* | ?:[\\/]*)
   21177   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21178   ;;
   21179   *)
   21180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21181 for as_dir in $PATH
   21182 do
   21183   IFS=$as_save_IFS
   21184   test -z "$as_dir" && as_dir=.
   21185   for ac_exec_ext in '' $ac_executable_extensions; do
   21186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21187     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21188     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21189     break 2
   21190   fi
   21191 done
   21192 done
   21193 IFS=$as_save_IFS
   21194 
   21195   ;;
   21196 esac
   21197 fi
   21198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21199 if test -n "$PKG_CONFIG"; then
   21200   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21201 $as_echo "$PKG_CONFIG" >&6; }
   21202 else
   21203   { $as_echo "$as_me:$LINENO: result: no" >&5
   21204 $as_echo "no" >&6; }
   21205 fi
   21206 
   21207 
   21208 fi
   21209 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21210   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21211   # Extract the first word of "pkg-config", so it can be a program name with args.
   21212 set dummy pkg-config; ac_word=$2
   21213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21214 $as_echo_n "checking for $ac_word... " >&6; }
   21215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21216   $as_echo_n "(cached) " >&6
   21217 else
   21218   case $ac_pt_PKG_CONFIG in
   21219   [\\/]* | ?:[\\/]*)
   21220   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21221   ;;
   21222   *)
   21223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21224 for as_dir in $PATH
   21225 do
   21226   IFS=$as_save_IFS
   21227   test -z "$as_dir" && as_dir=.
   21228   for ac_exec_ext in '' $ac_executable_extensions; do
   21229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21230     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21231     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21232     break 2
   21233   fi
   21234 done
   21235 done
   21236 IFS=$as_save_IFS
   21237 
   21238   ;;
   21239 esac
   21240 fi
   21241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21242 if test -n "$ac_pt_PKG_CONFIG"; then
   21243   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21244 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21245 else
   21246   { $as_echo "$as_me:$LINENO: result: no" >&5
   21247 $as_echo "no" >&6; }
   21248 fi
   21249 
   21250   if test "x$ac_pt_PKG_CONFIG" = x; then
   21251     PKG_CONFIG=""
   21252   else
   21253     case $cross_compiling:$ac_tool_warned in
   21254 yes:)
   21255 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21257 ac_tool_warned=yes ;;
   21258 esac
   21259     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21260   fi
   21261 else
   21262   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21263 fi
   21264 
   21265 fi
   21266 if test -n "$PKG_CONFIG"; then
   21267 	_pkg_min_version=0.9.0
   21268 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21269 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21270 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21271 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21272 $as_echo "yes" >&6; }
   21273 	else
   21274 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21275 $as_echo "no" >&6; }
   21276 		PKG_CONFIG=""
   21277 	fi
   21278 
   21279 fi
   21280 
   21281 pkg_failed=no
   21282 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21283 $as_echo_n "checking for XORG... " >&6; }
   21284 
   21285 if test -n "$XORG_CFLAGS"; then
   21286     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21287  elif test -n "$PKG_CONFIG"; then
   21288     if test -n "$PKG_CONFIG" && \
   21289     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21290   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21291   ac_status=$?
   21292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21293   (exit $ac_status); }; then
   21294   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21295 else
   21296   pkg_failed=yes
   21297 fi
   21298  else
   21299     pkg_failed=untried
   21300 fi
   21301 if test -n "$XORG_LIBS"; then
   21302     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21303  elif test -n "$PKG_CONFIG"; then
   21304     if test -n "$PKG_CONFIG" && \
   21305     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21306   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21307   ac_status=$?
   21308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21309   (exit $ac_status); }; then
   21310   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21311 else
   21312   pkg_failed=yes
   21313 fi
   21314  else
   21315     pkg_failed=untried
   21316 fi
   21317 
   21318 
   21319 
   21320 if test $pkg_failed = yes; then
   21321 
   21322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21323         _pkg_short_errors_supported=yes
   21324 else
   21325         _pkg_short_errors_supported=no
   21326 fi
   21327         if test $_pkg_short_errors_supported = yes; then
   21328 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21329         else
   21330 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21331         fi
   21332 	# Put the nasty error message in config.log where it belongs
   21333 	echo "$XORG_PKG_ERRORS" >&5
   21334 
   21335 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21336 
   21337 $XORG_PKG_ERRORS
   21338 
   21339 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21340 installed software in a non-standard prefix.
   21341 
   21342 Alternatively, you may set the environment variables XORG_CFLAGS
   21343 and XORG_LIBS to avoid the need to call pkg-config.
   21344 See the pkg-config man page for more details.
   21345 " >&5
   21346 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21347 
   21348 $XORG_PKG_ERRORS
   21349 
   21350 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21351 installed software in a non-standard prefix.
   21352 
   21353 Alternatively, you may set the environment variables XORG_CFLAGS
   21354 and XORG_LIBS to avoid the need to call pkg-config.
   21355 See the pkg-config man page for more details.
   21356 " >&2;}
   21357    { (exit 1); exit 1; }; }
   21358 elif test $pkg_failed = untried; then
   21359 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21361 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21362 is in your PATH or set the PKG_CONFIG environment variable to the full
   21363 path to pkg-config.
   21364 
   21365 Alternatively, you may set the environment variables XORG_CFLAGS
   21366 and XORG_LIBS to avoid the need to call pkg-config.
   21367 See the pkg-config man page for more details.
   21368 
   21369 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21370 See \`config.log' for more details." >&5
   21371 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21372 is in your PATH or set the PKG_CONFIG environment variable to the full
   21373 path to pkg-config.
   21374 
   21375 Alternatively, you may set the environment variables XORG_CFLAGS
   21376 and XORG_LIBS to avoid the need to call pkg-config.
   21377 See the pkg-config man page for more details.
   21378 
   21379 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21380 See \`config.log' for more details." >&2;}
   21381    { (exit 1); exit 1; }; }; }
   21382 else
   21383 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21384 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21385         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21386 $as_echo "yes" >&6; }
   21387 	:
   21388 fi
   21389 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21390 
   21391 save_CFLAGS="$CFLAGS"
   21392 CFLAGS="$XORG_CFLAGS"
   21393 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   21394 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   21395 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   21396   $as_echo_n "(cached) " >&6
   21397 else
   21398   cat >conftest.$ac_ext <<_ACEOF
   21399 /* confdefs.h.  */
   21400 _ACEOF
   21401 cat confdefs.h >>conftest.$ac_ext
   21402 cat >>conftest.$ac_ext <<_ACEOF
   21403 /* end confdefs.h.  */
   21404 #include "xf86.h"
   21405 
   21406 int
   21407 main ()
   21408 {
   21409 #ifndef xf86ConfigIsaEntity
   21410   (void) xf86ConfigIsaEntity;
   21411 #endif
   21412 
   21413   ;
   21414   return 0;
   21415 }
   21416 _ACEOF
   21417 rm -f conftest.$ac_objext
   21418 if { (ac_try="$ac_compile"
   21419 case "(($ac_try" in
   21420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21421   *) ac_try_echo=$ac_try;;
   21422 esac
   21423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21424 $as_echo "$ac_try_echo") >&5
   21425   (eval "$ac_compile") 2>conftest.er1
   21426   ac_status=$?
   21427   grep -v '^ *+' conftest.er1 >conftest.err
   21428   rm -f conftest.er1
   21429   cat conftest.err >&5
   21430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21431   (exit $ac_status); } && {
   21432 	 test -z "$ac_c_werror_flag" ||
   21433 	 test ! -s conftest.err
   21434        } && test -s conftest.$ac_objext; then
   21435   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   21436 else
   21437   $as_echo "$as_me: failed program was:" >&5
   21438 sed 's/^/| /' conftest.$ac_ext >&5
   21439 
   21440 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   21441 fi
   21442 
   21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21444 fi
   21445 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   21446 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   21447 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   21448 
   21449 cat >>confdefs.h <<\_ACEOF
   21450 #define HAVE_ISA 1
   21451 _ACEOF
   21452 
   21453 fi
   21454 
   21455 CFLAGS="$save_CFLAGS"
   21456 
   21457 # Checks for libraries.
   21458 SAVE_CPPFLAGS="$CPPFLAGS"
   21459 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21460 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21461 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21462 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21463   $as_echo_n "(cached) " >&6
   21464 else
   21465   cat >conftest.$ac_ext <<_ACEOF
   21466 /* confdefs.h.  */
   21467 _ACEOF
   21468 cat confdefs.h >>conftest.$ac_ext
   21469 cat >>conftest.$ac_ext <<_ACEOF
   21470 /* end confdefs.h.  */
   21471 #include "xorg-server.h"
   21472 
   21473 int
   21474 main ()
   21475 {
   21476 #ifndef XSERVER_LIBPCIACCESS
   21477   (void) XSERVER_LIBPCIACCESS;
   21478 #endif
   21479 
   21480   ;
   21481   return 0;
   21482 }
   21483 _ACEOF
   21484 rm -f conftest.$ac_objext
   21485 if { (ac_try="$ac_compile"
   21486 case "(($ac_try" in
   21487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21488   *) ac_try_echo=$ac_try;;
   21489 esac
   21490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21491 $as_echo "$ac_try_echo") >&5
   21492   (eval "$ac_compile") 2>conftest.er1
   21493   ac_status=$?
   21494   grep -v '^ *+' conftest.er1 >conftest.err
   21495   rm -f conftest.er1
   21496   cat conftest.err >&5
   21497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21498   (exit $ac_status); } && {
   21499 	 test -z "$ac_c_werror_flag" ||
   21500 	 test ! -s conftest.err
   21501        } && test -s conftest.$ac_objext; then
   21502   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21503 else
   21504   $as_echo "$as_me: failed program was:" >&5
   21505 sed 's/^/| /' conftest.$ac_ext >&5
   21506 
   21507 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21508 fi
   21509 
   21510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21511 fi
   21512 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21513 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21514 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21515   XSERVER_LIBPCIACCESS=yes
   21516 else
   21517   XSERVER_LIBPCIACCESS=no
   21518 fi
   21519 
   21520 CPPFLAGS="$SAVE_CPPFLAGS"
   21521 
   21522 # Checks for header files.
   21523 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21524 $as_echo_n "checking for ANSI C header files... " >&6; }
   21525 if test "${ac_cv_header_stdc+set}" = set; then
   21526   $as_echo_n "(cached) " >&6
   21527 else
   21528   cat >conftest.$ac_ext <<_ACEOF
   21529 /* confdefs.h.  */
   21530 _ACEOF
   21531 cat confdefs.h >>conftest.$ac_ext
   21532 cat >>conftest.$ac_ext <<_ACEOF
   21533 /* end confdefs.h.  */
   21534 #include <stdlib.h>
   21535 #include <stdarg.h>
   21536 #include <string.h>
   21537 #include <float.h>
   21538 
   21539 int
   21540 main ()
   21541 {
   21542 
   21543   ;
   21544   return 0;
   21545 }
   21546 _ACEOF
   21547 rm -f conftest.$ac_objext
   21548 if { (ac_try="$ac_compile"
   21549 case "(($ac_try" in
   21550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21551   *) ac_try_echo=$ac_try;;
   21552 esac
   21553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21554 $as_echo "$ac_try_echo") >&5
   21555   (eval "$ac_compile") 2>conftest.er1
   21556   ac_status=$?
   21557   grep -v '^ *+' conftest.er1 >conftest.err
   21558   rm -f conftest.er1
   21559   cat conftest.err >&5
   21560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21561   (exit $ac_status); } && {
   21562 	 test -z "$ac_c_werror_flag" ||
   21563 	 test ! -s conftest.err
   21564        } && test -s conftest.$ac_objext; then
   21565   ac_cv_header_stdc=yes
   21566 else
   21567   $as_echo "$as_me: failed program was:" >&5
   21568 sed 's/^/| /' conftest.$ac_ext >&5
   21569 
   21570 	ac_cv_header_stdc=no
   21571 fi
   21572 
   21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21574 
   21575 if test $ac_cv_header_stdc = yes; then
   21576   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21577   cat >conftest.$ac_ext <<_ACEOF
   21578 /* confdefs.h.  */
   21579 _ACEOF
   21580 cat confdefs.h >>conftest.$ac_ext
   21581 cat >>conftest.$ac_ext <<_ACEOF
   21582 /* end confdefs.h.  */
   21583 #include <string.h>
   21584 
   21585 _ACEOF
   21586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21587   $EGREP "memchr" >/dev/null 2>&1; then
   21588   :
   21589 else
   21590   ac_cv_header_stdc=no
   21591 fi
   21592 rm -f conftest*
   21593 
   21594 fi
   21595 
   21596 if test $ac_cv_header_stdc = yes; then
   21597   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21598   cat >conftest.$ac_ext <<_ACEOF
   21599 /* confdefs.h.  */
   21600 _ACEOF
   21601 cat confdefs.h >>conftest.$ac_ext
   21602 cat >>conftest.$ac_ext <<_ACEOF
   21603 /* end confdefs.h.  */
   21604 #include <stdlib.h>
   21605 
   21606 _ACEOF
   21607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21608   $EGREP "free" >/dev/null 2>&1; then
   21609   :
   21610 else
   21611   ac_cv_header_stdc=no
   21612 fi
   21613 rm -f conftest*
   21614 
   21615 fi
   21616 
   21617 if test $ac_cv_header_stdc = yes; then
   21618   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21619   if test "$cross_compiling" = yes; then
   21620   :
   21621 else
   21622   cat >conftest.$ac_ext <<_ACEOF
   21623 /* confdefs.h.  */
   21624 _ACEOF
   21625 cat confdefs.h >>conftest.$ac_ext
   21626 cat >>conftest.$ac_ext <<_ACEOF
   21627 /* end confdefs.h.  */
   21628 #include <ctype.h>
   21629 #include <stdlib.h>
   21630 #if ((' ' & 0x0FF) == 0x020)
   21631 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21632 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21633 #else
   21634 # define ISLOWER(c) \
   21635 		   (('a' <= (c) && (c) <= 'i') \
   21636 		     || ('j' <= (c) && (c) <= 'r') \
   21637 		     || ('s' <= (c) && (c) <= 'z'))
   21638 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21639 #endif
   21640 
   21641 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21642 int
   21643 main ()
   21644 {
   21645   int i;
   21646   for (i = 0; i < 256; i++)
   21647     if (XOR (islower (i), ISLOWER (i))
   21648 	|| toupper (i) != TOUPPER (i))
   21649       return 2;
   21650   return 0;
   21651 }
   21652 _ACEOF
   21653 rm -f conftest$ac_exeext
   21654 if { (ac_try="$ac_link"
   21655 case "(($ac_try" in
   21656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21657   *) ac_try_echo=$ac_try;;
   21658 esac
   21659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21660 $as_echo "$ac_try_echo") >&5
   21661   (eval "$ac_link") 2>&5
   21662   ac_status=$?
   21663   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21664   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21665   { (case "(($ac_try" in
   21666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21667   *) ac_try_echo=$ac_try;;
   21668 esac
   21669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21670 $as_echo "$ac_try_echo") >&5
   21671   (eval "$ac_try") 2>&5
   21672   ac_status=$?
   21673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21674   (exit $ac_status); }; }; then
   21675   :
   21676 else
   21677   $as_echo "$as_me: program exited with status $ac_status" >&5
   21678 $as_echo "$as_me: failed program was:" >&5
   21679 sed 's/^/| /' conftest.$ac_ext >&5
   21680 
   21681 ( exit $ac_status )
   21682 ac_cv_header_stdc=no
   21683 fi
   21684 rm -rf conftest.dSYM
   21685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21686 fi
   21687 
   21688 
   21689 fi
   21690 fi
   21691 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21692 $as_echo "$ac_cv_header_stdc" >&6; }
   21693 if test $ac_cv_header_stdc = yes; then
   21694 
   21695 cat >>confdefs.h <<\_ACEOF
   21696 #define STDC_HEADERS 1
   21697 _ACEOF
   21698 
   21699 fi
   21700 
   21701 
   21702 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21703 
   21704 pkg_failed=no
   21705 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21706 $as_echo_n "checking for PCIACCESS... " >&6; }
   21707 
   21708 if test -n "$PCIACCESS_CFLAGS"; then
   21709     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21710  elif test -n "$PKG_CONFIG"; then
   21711     if test -n "$PKG_CONFIG" && \
   21712     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21713   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21714   ac_status=$?
   21715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21716   (exit $ac_status); }; then
   21717   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21718 else
   21719   pkg_failed=yes
   21720 fi
   21721  else
   21722     pkg_failed=untried
   21723 fi
   21724 if test -n "$PCIACCESS_LIBS"; then
   21725     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21726  elif test -n "$PKG_CONFIG"; then
   21727     if test -n "$PKG_CONFIG" && \
   21728     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21729   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21730   ac_status=$?
   21731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21732   (exit $ac_status); }; then
   21733   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21734 else
   21735   pkg_failed=yes
   21736 fi
   21737  else
   21738     pkg_failed=untried
   21739 fi
   21740 
   21741 
   21742 
   21743 if test $pkg_failed = yes; then
   21744 
   21745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21746         _pkg_short_errors_supported=yes
   21747 else
   21748         _pkg_short_errors_supported=no
   21749 fi
   21750         if test $_pkg_short_errors_supported = yes; then
   21751 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21752         else
   21753 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21754         fi
   21755 	# Put the nasty error message in config.log where it belongs
   21756 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21757 
   21758 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21759 
   21760 $PCIACCESS_PKG_ERRORS
   21761 
   21762 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21763 installed software in a non-standard prefix.
   21764 
   21765 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21766 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21767 See the pkg-config man page for more details.
   21768 " >&5
   21769 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21770 
   21771 $PCIACCESS_PKG_ERRORS
   21772 
   21773 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21774 installed software in a non-standard prefix.
   21775 
   21776 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21777 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21778 See the pkg-config man page for more details.
   21779 " >&2;}
   21780    { (exit 1); exit 1; }; }
   21781 elif test $pkg_failed = untried; then
   21782 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21784 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21785 is in your PATH or set the PKG_CONFIG environment variable to the full
   21786 path to pkg-config.
   21787 
   21788 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21789 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21790 See the pkg-config man page for more details.
   21791 
   21792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21793 See \`config.log' for more details." >&5
   21794 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21795 is in your PATH or set the PKG_CONFIG environment variable to the full
   21796 path to pkg-config.
   21797 
   21798 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21799 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21800 See the pkg-config man page for more details.
   21801 
   21802 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21803 See \`config.log' for more details." >&2;}
   21804    { (exit 1); exit 1; }; }; }
   21805 else
   21806 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21807 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21808         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21809 $as_echo "yes" >&6; }
   21810 	:
   21811 fi
   21812     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21813 fi
   21814  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21815   XSERVER_LIBPCIACCESS_TRUE=
   21816   XSERVER_LIBPCIACCESS_FALSE='#'
   21817 else
   21818   XSERVER_LIBPCIACCESS_TRUE='#'
   21819   XSERVER_LIBPCIACCESS_FALSE=
   21820 fi
   21821 
   21822 
   21823 
   21824 
   21825 
   21826 DRIVER_NAME=neomagic
   21827 
   21828 
   21829 
   21830 
   21831 
   21832 if test x$APP_MAN_SUFFIX = x    ; then
   21833     APP_MAN_SUFFIX=1
   21834 fi
   21835 if test x$APP_MAN_DIR = x    ; then
   21836     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21837 fi
   21838 
   21839 if test x$LIB_MAN_SUFFIX = x    ; then
   21840     LIB_MAN_SUFFIX=3
   21841 fi
   21842 if test x$LIB_MAN_DIR = x    ; then
   21843     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21844 fi
   21845 
   21846 if test x$FILE_MAN_SUFFIX = x    ; then
   21847     case $host_os in
   21848 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21849 	*)		FILE_MAN_SUFFIX=5  ;;
   21850     esac
   21851 fi
   21852 if test x$FILE_MAN_DIR = x    ; then
   21853     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21854 fi
   21855 
   21856 if test x$MISC_MAN_SUFFIX = x    ; then
   21857     case $host_os in
   21858 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21859 	*)		MISC_MAN_SUFFIX=7  ;;
   21860     esac
   21861 fi
   21862 if test x$MISC_MAN_DIR = x    ; then
   21863     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21864 fi
   21865 
   21866 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21867     case $host_os in
   21868 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21869 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21870     esac
   21871 fi
   21872 if test x$DRIVER_MAN_DIR = x    ; then
   21873     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21874 fi
   21875 
   21876 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21877     case $host_os in
   21878 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21879 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21880     esac
   21881 fi
   21882 if test x$ADMIN_MAN_DIR = x    ; then
   21883     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21884 fi
   21885 
   21886 
   21887 
   21888 
   21889 
   21890 
   21891 
   21892 
   21893 
   21894 
   21895 
   21896 
   21897 
   21898 
   21899 
   21900 
   21901 
   21902 # Check whether --with-release-version was given.
   21903 if test "${with_release_version+set}" = set; then
   21904   withval=$with_release_version; RELEASE_VERSION="$withval"
   21905 else
   21906   RELEASE_VERSION=""
   21907 fi
   21908 
   21909 	if test "x$RELEASE_VERSION" != "x"; then
   21910 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21911 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21912 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21913 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21914 	fi
   21915 
   21916 cat >>confdefs.h <<_ACEOF
   21917 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21918 _ACEOF
   21919 
   21920 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21921 	if test "x$PVM" = "x"; then
   21922 		PVM="0"
   21923 	fi
   21924 
   21925 cat >>confdefs.h <<_ACEOF
   21926 #define PACKAGE_VERSION_MINOR $PVM
   21927 _ACEOF
   21928 
   21929 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21930 	if test "x$PVP" = "x"; then
   21931 		PVP="0"
   21932 	fi
   21933 
   21934 cat >>confdefs.h <<_ACEOF
   21935 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21936 _ACEOF
   21937 
   21938 
   21939 
   21940 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21941 
   21942 cat >confcache <<\_ACEOF
   21943 # This file is a shell script that caches the results of configure
   21944 # tests run on this system so they can be shared between configure
   21945 # scripts and configure runs, see configure's option --config-cache.
   21946 # It is not useful on other systems.  If it contains results you don't
   21947 # want to keep, you may remove or edit it.
   21948 #
   21949 # config.status only pays attention to the cache file if you give it
   21950 # the --recheck option to rerun configure.
   21951 #
   21952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21954 # following values.
   21955 
   21956 _ACEOF
   21957 
   21958 # The following way of writing the cache mishandles newlines in values,
   21959 # but we know of no workaround that is simple, portable, and efficient.
   21960 # So, we kill variables containing newlines.
   21961 # Ultrix sh set writes to stderr and can't be redirected directly,
   21962 # and sets the high bit in the cache file unless we assign to the vars.
   21963 (
   21964   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21965     eval ac_val=\$$ac_var
   21966     case $ac_val in #(
   21967     *${as_nl}*)
   21968       case $ac_var in #(
   21969       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21971       esac
   21972       case $ac_var in #(
   21973       _ | IFS | as_nl) ;; #(
   21974       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21975       *) $as_unset $ac_var ;;
   21976       esac ;;
   21977     esac
   21978   done
   21979 
   21980   (set) 2>&1 |
   21981     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21982     *${as_nl}ac_space=\ *)
   21983       # `set' does not quote correctly, so add quotes (double-quote
   21984       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21985       sed -n \
   21986 	"s/'/'\\\\''/g;
   21987 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21988       ;; #(
   21989     *)
   21990       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21991       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21992       ;;
   21993     esac |
   21994     sort
   21995 ) |
   21996   sed '
   21997      /^ac_cv_env_/b end
   21998      t clear
   21999      :clear
   22000      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22001      t end
   22002      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22003      :end' >>confcache
   22004 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22005   if test -w "$cache_file"; then
   22006     test "x$cache_file" != "x/dev/null" &&
   22007       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22008 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22009     cat confcache >$cache_file
   22010   else
   22011     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22013   fi
   22014 fi
   22015 rm -f confcache
   22016 
   22017 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22018 # Let make expand exec_prefix.
   22019 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22020 
   22021 DEFS=-DHAVE_CONFIG_H
   22022 
   22023 ac_libobjs=
   22024 ac_ltlibobjs=
   22025 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22026   # 1. Remove the extension, and $U if already installed.
   22027   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22028   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22029   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22030   #    will be set to the directory where LIBOBJS objects are built.
   22031   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22032   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22033 done
   22034 LIBOBJS=$ac_libobjs
   22035 
   22036 LTLIBOBJS=$ac_ltlibobjs
   22037 
   22038 
   22039  if test -n "$EXEEXT"; then
   22040   am__EXEEXT_TRUE=
   22041   am__EXEEXT_FALSE='#'
   22042 else
   22043   am__EXEEXT_TRUE='#'
   22044   am__EXEEXT_FALSE=
   22045 fi
   22046 
   22047 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22048   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22049 Usually this means the macro was only invoked conditionally." >&5
   22050 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22051 Usually this means the macro was only invoked conditionally." >&2;}
   22052    { (exit 1); exit 1; }; }
   22053 fi
   22054 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22055   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22056 Usually this means the macro was only invoked conditionally." >&5
   22057 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22058 Usually this means the macro was only invoked conditionally." >&2;}
   22059    { (exit 1); exit 1; }; }
   22060 fi
   22061 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22062   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22063 Usually this means the macro was only invoked conditionally." >&5
   22064 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22065 Usually this means the macro was only invoked conditionally." >&2;}
   22066    { (exit 1); exit 1; }; }
   22067 fi
   22068 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22069   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22070 Usually this means the macro was only invoked conditionally." >&5
   22071 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22072 Usually this means the macro was only invoked conditionally." >&2;}
   22073    { (exit 1); exit 1; }; }
   22074 fi
   22075 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22076   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22077 Usually this means the macro was only invoked conditionally." >&5
   22078 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22079 Usually this means the macro was only invoked conditionally." >&2;}
   22080    { (exit 1); exit 1; }; }
   22081 fi
   22082 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22083   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22084 Usually this means the macro was only invoked conditionally." >&5
   22085 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22086 Usually this means the macro was only invoked conditionally." >&2;}
   22087    { (exit 1); exit 1; }; }
   22088 fi
   22089 
   22090 : ${CONFIG_STATUS=./config.status}
   22091 ac_write_fail=0
   22092 ac_clean_files_save=$ac_clean_files
   22093 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22094 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22095 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22096 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22097 #! $SHELL
   22098 # Generated by $as_me.
   22099 # Run this file to recreate the current configuration.
   22100 # Compiler output produced by configure, useful for debugging
   22101 # configure, is in config.log if it exists.
   22102 
   22103 debug=false
   22104 ac_cs_recheck=false
   22105 ac_cs_silent=false
   22106 SHELL=\${CONFIG_SHELL-$SHELL}
   22107 _ACEOF
   22108 
   22109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22110 ## --------------------- ##
   22111 ## M4sh Initialization.  ##
   22112 ## --------------------- ##
   22113 
   22114 # Be more Bourne compatible
   22115 DUALCASE=1; export DUALCASE # for MKS sh
   22116 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22117   emulate sh
   22118   NULLCMD=:
   22119   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22120   # is contrary to our usage.  Disable this feature.
   22121   alias -g '${1+"$@"}'='"$@"'
   22122   setopt NO_GLOB_SUBST
   22123 else
   22124   case `(set -o) 2>/dev/null` in
   22125   *posix*) set -o posix ;;
   22126 esac
   22127 
   22128 fi
   22129 
   22130 
   22131 
   22132 
   22133 # PATH needs CR
   22134 # Avoid depending upon Character Ranges.
   22135 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22136 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22137 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22138 as_cr_digits='0123456789'
   22139 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22140 
   22141 as_nl='
   22142 '
   22143 export as_nl
   22144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22148 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22149   as_echo='printf %s\n'
   22150   as_echo_n='printf %s'
   22151 else
   22152   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22153     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22154     as_echo_n='/usr/ucb/echo -n'
   22155   else
   22156     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22157     as_echo_n_body='eval
   22158       arg=$1;
   22159       case $arg in
   22160       *"$as_nl"*)
   22161 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22162 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22163       esac;
   22164       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22165     '
   22166     export as_echo_n_body
   22167     as_echo_n='sh -c $as_echo_n_body as_echo'
   22168   fi
   22169   export as_echo_body
   22170   as_echo='sh -c $as_echo_body as_echo'
   22171 fi
   22172 
   22173 # The user is always right.
   22174 if test "${PATH_SEPARATOR+set}" != set; then
   22175   PATH_SEPARATOR=:
   22176   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22177     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22178       PATH_SEPARATOR=';'
   22179   }
   22180 fi
   22181 
   22182 # Support unset when possible.
   22183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22184   as_unset=unset
   22185 else
   22186   as_unset=false
   22187 fi
   22188 
   22189 
   22190 # IFS
   22191 # We need space, tab and new line, in precisely that order.  Quoting is
   22192 # there to prevent editors from complaining about space-tab.
   22193 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22194 # splitting by setting IFS to empty value.)
   22195 IFS=" ""	$as_nl"
   22196 
   22197 # Find who we are.  Look in the path if we contain no directory separator.
   22198 case $0 in
   22199   *[\\/]* ) as_myself=$0 ;;
   22200   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22201 for as_dir in $PATH
   22202 do
   22203   IFS=$as_save_IFS
   22204   test -z "$as_dir" && as_dir=.
   22205   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22206 done
   22207 IFS=$as_save_IFS
   22208 
   22209      ;;
   22210 esac
   22211 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22212 # in which case we are not to be found in the path.
   22213 if test "x$as_myself" = x; then
   22214   as_myself=$0
   22215 fi
   22216 if test ! -f "$as_myself"; then
   22217   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22218   { (exit 1); exit 1; }
   22219 fi
   22220 
   22221 # Work around bugs in pre-3.0 UWIN ksh.
   22222 for as_var in ENV MAIL MAILPATH
   22223 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22224 done
   22225 PS1='$ '
   22226 PS2='> '
   22227 PS4='+ '
   22228 
   22229 # NLS nuisances.
   22230 LC_ALL=C
   22231 export LC_ALL
   22232 LANGUAGE=C
   22233 export LANGUAGE
   22234 
   22235 # Required to use basename.
   22236 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22237    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22238   as_expr=expr
   22239 else
   22240   as_expr=false
   22241 fi
   22242 
   22243 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22244   as_basename=basename
   22245 else
   22246   as_basename=false
   22247 fi
   22248 
   22249 
   22250 # Name of the executable.
   22251 as_me=`$as_basename -- "$0" ||
   22252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22253 	 X"$0" : 'X\(//\)$' \| \
   22254 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22255 $as_echo X/"$0" |
   22256     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22257 	    s//\1/
   22258 	    q
   22259 	  }
   22260 	  /^X\/\(\/\/\)$/{
   22261 	    s//\1/
   22262 	    q
   22263 	  }
   22264 	  /^X\/\(\/\).*/{
   22265 	    s//\1/
   22266 	    q
   22267 	  }
   22268 	  s/.*/./; q'`
   22269 
   22270 # CDPATH.
   22271 $as_unset CDPATH
   22272 
   22273 
   22274 
   22275   as_lineno_1=$LINENO
   22276   as_lineno_2=$LINENO
   22277   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22278   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22279 
   22280   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22281   # uniformly replaced by the line number.  The first 'sed' inserts a
   22282   # line-number line after each line using $LINENO; the second 'sed'
   22283   # does the real work.  The second script uses 'N' to pair each
   22284   # line-number line with the line containing $LINENO, and appends
   22285   # trailing '-' during substitution so that $LINENO is not a special
   22286   # case at line end.
   22287   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22288   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22289   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22290   sed -n '
   22291     p
   22292     /[$]LINENO/=
   22293   ' <$as_myself |
   22294     sed '
   22295       s/[$]LINENO.*/&-/
   22296       t lineno
   22297       b
   22298       :lineno
   22299       N
   22300       :loop
   22301       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22302       t loop
   22303       s/-\n.*//
   22304     ' >$as_me.lineno &&
   22305   chmod +x "$as_me.lineno" ||
   22306     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22307    { (exit 1); exit 1; }; }
   22308 
   22309   # Don't try to exec as it changes $[0], causing all sort of problems
   22310   # (the dirname of $[0] is not the place where we might find the
   22311   # original and so on.  Autoconf is especially sensitive to this).
   22312   . "./$as_me.lineno"
   22313   # Exit status is that of the last command.
   22314   exit
   22315 }
   22316 
   22317 
   22318 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22319   as_dirname=dirname
   22320 else
   22321   as_dirname=false
   22322 fi
   22323 
   22324 ECHO_C= ECHO_N= ECHO_T=
   22325 case `echo -n x` in
   22326 -n*)
   22327   case `echo 'x\c'` in
   22328   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22329   *)   ECHO_C='\c';;
   22330   esac;;
   22331 *)
   22332   ECHO_N='-n';;
   22333 esac
   22334 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22335    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22336   as_expr=expr
   22337 else
   22338   as_expr=false
   22339 fi
   22340 
   22341 rm -f conf$$ conf$$.exe conf$$.file
   22342 if test -d conf$$.dir; then
   22343   rm -f conf$$.dir/conf$$.file
   22344 else
   22345   rm -f conf$$.dir
   22346   mkdir conf$$.dir 2>/dev/null
   22347 fi
   22348 if (echo >conf$$.file) 2>/dev/null; then
   22349   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22350     as_ln_s='ln -s'
   22351     # ... but there are two gotchas:
   22352     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22353     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22354     # In both cases, we have to default to `cp -p'.
   22355     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22356       as_ln_s='cp -p'
   22357   elif ln conf$$.file conf$$ 2>/dev/null; then
   22358     as_ln_s=ln
   22359   else
   22360     as_ln_s='cp -p'
   22361   fi
   22362 else
   22363   as_ln_s='cp -p'
   22364 fi
   22365 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22366 rmdir conf$$.dir 2>/dev/null
   22367 
   22368 if mkdir -p . 2>/dev/null; then
   22369   as_mkdir_p=:
   22370 else
   22371   test -d ./-p && rmdir ./-p
   22372   as_mkdir_p=false
   22373 fi
   22374 
   22375 if test -x / >/dev/null 2>&1; then
   22376   as_test_x='test -x'
   22377 else
   22378   if ls -dL / >/dev/null 2>&1; then
   22379     as_ls_L_option=L
   22380   else
   22381     as_ls_L_option=
   22382   fi
   22383   as_test_x='
   22384     eval sh -c '\''
   22385       if test -d "$1"; then
   22386 	test -d "$1/.";
   22387       else
   22388 	case $1 in
   22389 	-*)set "./$1";;
   22390 	esac;
   22391 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22392 	???[sx]*):;;*)false;;esac;fi
   22393     '\'' sh
   22394   '
   22395 fi
   22396 as_executable_p=$as_test_x
   22397 
   22398 # Sed expression to map a string onto a valid CPP name.
   22399 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22400 
   22401 # Sed expression to map a string onto a valid variable name.
   22402 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22403 
   22404 
   22405 exec 6>&1
   22406 
   22407 # Save the log message, to keep $[0] and so on meaningful, and to
   22408 # report actual input values of CONFIG_FILES etc. instead of their
   22409 # values after options handling.
   22410 ac_log="
   22411 This file was extended by xf86-video-neomagic $as_me 1.2.4, which was
   22412 generated by GNU Autoconf 2.63.  Invocation command line was
   22413 
   22414   CONFIG_FILES    = $CONFIG_FILES
   22415   CONFIG_HEADERS  = $CONFIG_HEADERS
   22416   CONFIG_LINKS    = $CONFIG_LINKS
   22417   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22418   $ $0 $@
   22419 
   22420 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22421 "
   22422 
   22423 _ACEOF
   22424 
   22425 case $ac_config_files in *"
   22426 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22427 esac
   22428 
   22429 case $ac_config_headers in *"
   22430 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22431 esac
   22432 
   22433 
   22434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22435 # Files that config.status was made for.
   22436 config_files="$ac_config_files"
   22437 config_headers="$ac_config_headers"
   22438 config_commands="$ac_config_commands"
   22439 
   22440 _ACEOF
   22441 
   22442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22443 ac_cs_usage="\
   22444 \`$as_me' instantiates files from templates according to the
   22445 current configuration.
   22446 
   22447 Usage: $0 [OPTION]... [FILE]...
   22448 
   22449   -h, --help       print this help, then exit
   22450   -V, --version    print version number and configuration settings, then exit
   22451   -q, --quiet, --silent
   22452                    do not print progress messages
   22453   -d, --debug      don't remove temporary files
   22454       --recheck    update $as_me by reconfiguring in the same conditions
   22455       --file=FILE[:TEMPLATE]
   22456                    instantiate the configuration file FILE
   22457       --header=FILE[:TEMPLATE]
   22458                    instantiate the configuration header FILE
   22459 
   22460 Configuration files:
   22461 $config_files
   22462 
   22463 Configuration headers:
   22464 $config_headers
   22465 
   22466 Configuration commands:
   22467 $config_commands
   22468 
   22469 Report bugs to <bug-autoconf (at] gnu.org>."
   22470 
   22471 _ACEOF
   22472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22473 ac_cs_version="\\
   22474 xf86-video-neomagic config.status 1.2.4
   22475 configured by $0, generated by GNU Autoconf 2.63,
   22476   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22477 
   22478 Copyright (C) 2008 Free Software Foundation, Inc.
   22479 This config.status script is free software; the Free Software Foundation
   22480 gives unlimited permission to copy, distribute and modify it."
   22481 
   22482 ac_pwd='$ac_pwd'
   22483 srcdir='$srcdir'
   22484 INSTALL='$INSTALL'
   22485 MKDIR_P='$MKDIR_P'
   22486 AWK='$AWK'
   22487 test -n "\$AWK" || AWK=awk
   22488 _ACEOF
   22489 
   22490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22491 # The default lists apply if the user does not specify any file.
   22492 ac_need_defaults=:
   22493 while test $# != 0
   22494 do
   22495   case $1 in
   22496   --*=*)
   22497     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22498     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22499     ac_shift=:
   22500     ;;
   22501   *)
   22502     ac_option=$1
   22503     ac_optarg=$2
   22504     ac_shift=shift
   22505     ;;
   22506   esac
   22507 
   22508   case $ac_option in
   22509   # Handling of the options.
   22510   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22511     ac_cs_recheck=: ;;
   22512   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22513     $as_echo "$ac_cs_version"; exit ;;
   22514   --debug | --debu | --deb | --de | --d | -d )
   22515     debug=: ;;
   22516   --file | --fil | --fi | --f )
   22517     $ac_shift
   22518     case $ac_optarg in
   22519     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22520     esac
   22521     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22522     ac_need_defaults=false;;
   22523   --header | --heade | --head | --hea )
   22524     $ac_shift
   22525     case $ac_optarg in
   22526     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22527     esac
   22528     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22529     ac_need_defaults=false;;
   22530   --he | --h)
   22531     # Conflict between --help and --header
   22532     { $as_echo "$as_me: error: ambiguous option: $1
   22533 Try \`$0 --help' for more information." >&2
   22534    { (exit 1); exit 1; }; };;
   22535   --help | --hel | -h )
   22536     $as_echo "$ac_cs_usage"; exit ;;
   22537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22538   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22539     ac_cs_silent=: ;;
   22540 
   22541   # This is an error.
   22542   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22543 Try \`$0 --help' for more information." >&2
   22544    { (exit 1); exit 1; }; } ;;
   22545 
   22546   *) ac_config_targets="$ac_config_targets $1"
   22547      ac_need_defaults=false ;;
   22548 
   22549   esac
   22550   shift
   22551 done
   22552 
   22553 ac_configure_extra_args=
   22554 
   22555 if $ac_cs_silent; then
   22556   exec 6>/dev/null
   22557   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22558 fi
   22559 
   22560 _ACEOF
   22561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22562 if \$ac_cs_recheck; then
   22563   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22564   shift
   22565   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22566   CONFIG_SHELL='$SHELL'
   22567   export CONFIG_SHELL
   22568   exec "\$@"
   22569 fi
   22570 
   22571 _ACEOF
   22572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22573 exec 5>>config.log
   22574 {
   22575   echo
   22576   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22577 ## Running $as_me. ##
   22578 _ASBOX
   22579   $as_echo "$ac_log"
   22580 } >&5
   22581 
   22582 _ACEOF
   22583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22584 #
   22585 # INIT-COMMANDS
   22586 #
   22587 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22588 
   22589 _ACEOF
   22590 
   22591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22592 
   22593 # Handling of arguments.
   22594 for ac_config_target in $ac_config_targets
   22595 do
   22596   case $ac_config_target in
   22597     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22598     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22599     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22600     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22601     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22602 
   22603   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22604 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22605    { (exit 1); exit 1; }; };;
   22606   esac
   22607 done
   22608 
   22609 
   22610 # If the user did not use the arguments to specify the items to instantiate,
   22611 # then the envvar interface is used.  Set only those that are not.
   22612 # We use the long form for the default assignment because of an extremely
   22613 # bizarre bug on SunOS 4.1.3.
   22614 if $ac_need_defaults; then
   22615   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22616   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22617   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22618 fi
   22619 
   22620 # Have a temporary directory for convenience.  Make it in the build tree
   22621 # simply because there is no reason against having it here, and in addition,
   22622 # creating and moving files from /tmp can sometimes cause problems.
   22623 # Hook for its removal unless debugging.
   22624 # Note that there is a small window in which the directory will not be cleaned:
   22625 # after its creation but before its name has been assigned to `$tmp'.
   22626 $debug ||
   22627 {
   22628   tmp=
   22629   trap 'exit_status=$?
   22630   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22631 ' 0
   22632   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22633 }
   22634 # Create a (secure) tmp directory for tmp files.
   22635 
   22636 {
   22637   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22638   test -n "$tmp" && test -d "$tmp"
   22639 }  ||
   22640 {
   22641   tmp=./conf$$-$RANDOM
   22642   (umask 077 && mkdir "$tmp")
   22643 } ||
   22644 {
   22645    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22646    { (exit 1); exit 1; }
   22647 }
   22648 
   22649 # Set up the scripts for CONFIG_FILES section.
   22650 # No need to generate them if there are no CONFIG_FILES.
   22651 # This happens for instance with `./config.status config.h'.
   22652 if test -n "$CONFIG_FILES"; then
   22653 
   22654 
   22655 ac_cr='
'
   22657 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22658 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22659   ac_cs_awk_cr='\\r'
   22660 else
   22661   ac_cs_awk_cr=$ac_cr
   22662 fi
   22663 
   22664 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22665 _ACEOF
   22666 
   22667 
   22668 {
   22669   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22670   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22671   echo "_ACEOF"
   22672 } >conf$$subs.sh ||
   22673   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22674 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22675    { (exit 1); exit 1; }; }
   22676 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22677 ac_delim='%!_!# '
   22678 for ac_last_try in false false false false false :; do
   22679   . ./conf$$subs.sh ||
   22680     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22681 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22682    { (exit 1); exit 1; }; }
   22683 
   22684   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22685   if test $ac_delim_n = $ac_delim_num; then
   22686     break
   22687   elif $ac_last_try; then
   22688     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22689 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22690    { (exit 1); exit 1; }; }
   22691   else
   22692     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22693   fi
   22694 done
   22695 rm -f conf$$subs.sh
   22696 
   22697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22698 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22699 _ACEOF
   22700 sed -n '
   22701 h
   22702 s/^/S["/; s/!.*/"]=/
   22703 p
   22704 g
   22705 s/^[^!]*!//
   22706 :repl
   22707 t repl
   22708 s/'"$ac_delim"'$//
   22709 t delim
   22710 :nl
   22711 h
   22712 s/\(.\{148\}\).*/\1/
   22713 t more1
   22714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22715 p
   22716 n
   22717 b repl
   22718 :more1
   22719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22720 p
   22721 g
   22722 s/.\{148\}//
   22723 t nl
   22724 :delim
   22725 h
   22726 s/\(.\{148\}\).*/\1/
   22727 t more2
   22728 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22729 p
   22730 b
   22731 :more2
   22732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22733 p
   22734 g
   22735 s/.\{148\}//
   22736 t delim
   22737 ' <conf$$subs.awk | sed '
   22738 /^[^""]/{
   22739   N
   22740   s/\n//
   22741 }
   22742 ' >>$CONFIG_STATUS || ac_write_fail=1
   22743 rm -f conf$$subs.awk
   22744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22745 _ACAWK
   22746 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22747   for (key in S) S_is_set[key] = 1
   22748   FS = ""
   22749 
   22750 }
   22751 {
   22752   line = $ 0
   22753   nfields = split(line, field, "@")
   22754   substed = 0
   22755   len = length(field[1])
   22756   for (i = 2; i < nfields; i++) {
   22757     key = field[i]
   22758     keylen = length(key)
   22759     if (S_is_set[key]) {
   22760       value = S[key]
   22761       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22762       len += length(value) + length(field[++i])
   22763       substed = 1
   22764     } else
   22765       len += 1 + keylen
   22766   }
   22767 
   22768   print line
   22769 }
   22770 
   22771 _ACAWK
   22772 _ACEOF
   22773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22775   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22776 else
   22777   cat
   22778 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22779   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22780 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22781    { (exit 1); exit 1; }; }
   22782 _ACEOF
   22783 
   22784 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22786 # trailing colons and then remove the whole line if VPATH becomes empty
   22787 # (actually we leave an empty line to preserve line numbers).
   22788 if test "x$srcdir" = x.; then
   22789   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22790 s/:*\$(srcdir):*/:/
   22791 s/:*\${srcdir}:*/:/
   22792 s/:*@srcdir@:*/:/
   22793 s/^\([^=]*=[	 ]*\):*/\1/
   22794 s/:*$//
   22795 s/^[^=]*=[	 ]*$//
   22796 }'
   22797 fi
   22798 
   22799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22800 fi # test -n "$CONFIG_FILES"
   22801 
   22802 # Set up the scripts for CONFIG_HEADERS section.
   22803 # No need to generate them if there are no CONFIG_HEADERS.
   22804 # This happens for instance with `./config.status Makefile'.
   22805 if test -n "$CONFIG_HEADERS"; then
   22806 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22807 BEGIN {
   22808 _ACEOF
   22809 
   22810 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22811 # here-document in config.status, that substitutes the proper values into
   22812 # config.h.in to produce config.h.
   22813 
   22814 # Create a delimiter string that does not exist in confdefs.h, to ease
   22815 # handling of long lines.
   22816 ac_delim='%!_!# '
   22817 for ac_last_try in false false :; do
   22818   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22819   if test -z "$ac_t"; then
   22820     break
   22821   elif $ac_last_try; then
   22822     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22823 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22824    { (exit 1); exit 1; }; }
   22825   else
   22826     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22827   fi
   22828 done
   22829 
   22830 # For the awk script, D is an array of macro values keyed by name,
   22831 # likewise P contains macro parameters if any.  Preserve backslash
   22832 # newline sequences.
   22833 
   22834 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22835 sed -n '
   22836 s/.\{148\}/&'"$ac_delim"'/g
   22837 t rset
   22838 :rset
   22839 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22840 t def
   22841 d
   22842 :def
   22843 s/\\$//
   22844 t bsnl
   22845 s/["\\]/\\&/g
   22846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22847 D["\1"]=" \3"/p
   22848 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22849 d
   22850 :bsnl
   22851 s/["\\]/\\&/g
   22852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22853 D["\1"]=" \3\\\\\\n"\\/p
   22854 t cont
   22855 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22856 t cont
   22857 d
   22858 :cont
   22859 n
   22860 s/.\{148\}/&'"$ac_delim"'/g
   22861 t clear
   22862 :clear
   22863 s/\\$//
   22864 t bsnlc
   22865 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22866 d
   22867 :bsnlc
   22868 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22869 b cont
   22870 ' <confdefs.h | sed '
   22871 s/'"$ac_delim"'/"\\\
   22872 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22873 
   22874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22875   for (key in D) D_is_set[key] = 1
   22876   FS = ""
   22877 }
   22878 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22879   line = \$ 0
   22880   split(line, arg, " ")
   22881   if (arg[1] == "#") {
   22882     defundef = arg[2]
   22883     mac1 = arg[3]
   22884   } else {
   22885     defundef = substr(arg[1], 2)
   22886     mac1 = arg[2]
   22887   }
   22888   split(mac1, mac2, "(") #)
   22889   macro = mac2[1]
   22890   prefix = substr(line, 1, index(line, defundef) - 1)
   22891   if (D_is_set[macro]) {
   22892     # Preserve the white space surrounding the "#".
   22893     print prefix "define", macro P[macro] D[macro]
   22894     next
   22895   } else {
   22896     # Replace #undef with comments.  This is necessary, for example,
   22897     # in the case of _POSIX_SOURCE, which is predefined and required
   22898     # on some systems where configure will not decide to define it.
   22899     if (defundef == "undef") {
   22900       print "/*", prefix defundef, macro, "*/"
   22901       next
   22902     }
   22903   }
   22904 }
   22905 { print }
   22906 _ACAWK
   22907 _ACEOF
   22908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22909   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22910 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22911    { (exit 1); exit 1; }; }
   22912 fi # test -n "$CONFIG_HEADERS"
   22913 
   22914 
   22915 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22916 shift
   22917 for ac_tag
   22918 do
   22919   case $ac_tag in
   22920   :[FHLC]) ac_mode=$ac_tag; continue;;
   22921   esac
   22922   case $ac_mode$ac_tag in
   22923   :[FHL]*:*);;
   22924   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22925 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22926    { (exit 1); exit 1; }; };;
   22927   :[FH]-) ac_tag=-:-;;
   22928   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22929   esac
   22930   ac_save_IFS=$IFS
   22931   IFS=:
   22932   set x $ac_tag
   22933   IFS=$ac_save_IFS
   22934   shift
   22935   ac_file=$1
   22936   shift
   22937 
   22938   case $ac_mode in
   22939   :L) ac_source=$1;;
   22940   :[FH])
   22941     ac_file_inputs=
   22942     for ac_f
   22943     do
   22944       case $ac_f in
   22945       -) ac_f="$tmp/stdin";;
   22946       *) # Look for the file first in the build tree, then in the source tree
   22947 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22948 	 # because $ac_f cannot contain `:'.
   22949 	 test -f "$ac_f" ||
   22950 	   case $ac_f in
   22951 	   [\\/$]*) false;;
   22952 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22953 	   esac ||
   22954 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22955 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22956    { (exit 1); exit 1; }; };;
   22957       esac
   22958       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22959       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22960     done
   22961 
   22962     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22963     # use $as_me), people would be surprised to read:
   22964     #    /* config.h.  Generated by config.status.  */
   22965     configure_input='Generated from '`
   22966 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22967 	`' by configure.'
   22968     if test x"$ac_file" != x-; then
   22969       configure_input="$ac_file.  $configure_input"
   22970       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22971 $as_echo "$as_me: creating $ac_file" >&6;}
   22972     fi
   22973     # Neutralize special characters interpreted by sed in replacement strings.
   22974     case $configure_input in #(
   22975     *\&* | *\|* | *\\* )
   22976        ac_sed_conf_input=`$as_echo "$configure_input" |
   22977        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22978     *) ac_sed_conf_input=$configure_input;;
   22979     esac
   22980 
   22981     case $ac_tag in
   22982     *:-:* | *:-) cat >"$tmp/stdin" \
   22983       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22984 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22985    { (exit 1); exit 1; }; } ;;
   22986     esac
   22987     ;;
   22988   esac
   22989 
   22990   ac_dir=`$as_dirname -- "$ac_file" ||
   22991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22992 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22993 	 X"$ac_file" : 'X\(//\)$' \| \
   22994 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22995 $as_echo X"$ac_file" |
   22996     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22997 	    s//\1/
   22998 	    q
   22999 	  }
   23000 	  /^X\(\/\/\)[^/].*/{
   23001 	    s//\1/
   23002 	    q
   23003 	  }
   23004 	  /^X\(\/\/\)$/{
   23005 	    s//\1/
   23006 	    q
   23007 	  }
   23008 	  /^X\(\/\).*/{
   23009 	    s//\1/
   23010 	    q
   23011 	  }
   23012 	  s/.*/./; q'`
   23013   { as_dir="$ac_dir"
   23014   case $as_dir in #(
   23015   -*) as_dir=./$as_dir;;
   23016   esac
   23017   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23018     as_dirs=
   23019     while :; do
   23020       case $as_dir in #(
   23021       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23022       *) as_qdir=$as_dir;;
   23023       esac
   23024       as_dirs="'$as_qdir' $as_dirs"
   23025       as_dir=`$as_dirname -- "$as_dir" ||
   23026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23027 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23028 	 X"$as_dir" : 'X\(//\)$' \| \
   23029 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23030 $as_echo X"$as_dir" |
   23031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23032 	    s//\1/
   23033 	    q
   23034 	  }
   23035 	  /^X\(\/\/\)[^/].*/{
   23036 	    s//\1/
   23037 	    q
   23038 	  }
   23039 	  /^X\(\/\/\)$/{
   23040 	    s//\1/
   23041 	    q
   23042 	  }
   23043 	  /^X\(\/\).*/{
   23044 	    s//\1/
   23045 	    q
   23046 	  }
   23047 	  s/.*/./; q'`
   23048       test -d "$as_dir" && break
   23049     done
   23050     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23051   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23052 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23053    { (exit 1); exit 1; }; }; }
   23054   ac_builddir=.
   23055 
   23056 case "$ac_dir" in
   23057 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23058 *)
   23059   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23060   # A ".." for each directory in $ac_dir_suffix.
   23061   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23062   case $ac_top_builddir_sub in
   23063   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23064   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23065   esac ;;
   23066 esac
   23067 ac_abs_top_builddir=$ac_pwd
   23068 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23069 # for backward compatibility:
   23070 ac_top_builddir=$ac_top_build_prefix
   23071 
   23072 case $srcdir in
   23073   .)  # We are building in place.
   23074     ac_srcdir=.
   23075     ac_top_srcdir=$ac_top_builddir_sub
   23076     ac_abs_top_srcdir=$ac_pwd ;;
   23077   [\\/]* | ?:[\\/]* )  # Absolute name.
   23078     ac_srcdir=$srcdir$ac_dir_suffix;
   23079     ac_top_srcdir=$srcdir
   23080     ac_abs_top_srcdir=$srcdir ;;
   23081   *) # Relative name.
   23082     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23083     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23084     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23085 esac
   23086 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23087 
   23088 
   23089   case $ac_mode in
   23090   :F)
   23091   #
   23092   # CONFIG_FILE
   23093   #
   23094 
   23095   case $INSTALL in
   23096   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23097   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23098   esac
   23099   ac_MKDIR_P=$MKDIR_P
   23100   case $MKDIR_P in
   23101   [\\/$]* | ?:[\\/]* ) ;;
   23102   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23103   esac
   23104 _ACEOF
   23105 
   23106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23107 # If the template does not know about datarootdir, expand it.
   23108 # FIXME: This hack should be removed a few years after 2.60.
   23109 ac_datarootdir_hack=; ac_datarootdir_seen=
   23110 
   23111 ac_sed_dataroot='
   23112 /datarootdir/ {
   23113   p
   23114   q
   23115 }
   23116 /@datadir@/p
   23117 /@docdir@/p
   23118 /@infodir@/p
   23119 /@localedir@/p
   23120 /@mandir@/p
   23121 '
   23122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23123 *datarootdir*) ac_datarootdir_seen=yes;;
   23124 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23125   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23126 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23127 _ACEOF
   23128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23129   ac_datarootdir_hack='
   23130   s&@datadir@&$datadir&g
   23131   s&@docdir@&$docdir&g
   23132   s&@infodir@&$infodir&g
   23133   s&@localedir@&$localedir&g
   23134   s&@mandir@&$mandir&g
   23135     s&\\\${datarootdir}&$datarootdir&g' ;;
   23136 esac
   23137 _ACEOF
   23138 
   23139 # Neutralize VPATH when `$srcdir' = `.'.
   23140 # Shell code in configure.ac might set extrasub.
   23141 # FIXME: do we really want to maintain this feature?
   23142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23143 ac_sed_extra="$ac_vpsub
   23144 $extrasub
   23145 _ACEOF
   23146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23147 :t
   23148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23149 s|@configure_input@|$ac_sed_conf_input|;t t
   23150 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23151 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23152 s&@srcdir@&$ac_srcdir&;t t
   23153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23154 s&@top_srcdir@&$ac_top_srcdir&;t t
   23155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23156 s&@builddir@&$ac_builddir&;t t
   23157 s&@abs_builddir@&$ac_abs_builddir&;t t
   23158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23159 s&@INSTALL@&$ac_INSTALL&;t t
   23160 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23161 $ac_datarootdir_hack
   23162 "
   23163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23164   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23165 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23166    { (exit 1); exit 1; }; }
   23167 
   23168 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23169   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23170   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23171   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23172 which seems to be undefined.  Please make sure it is defined." >&5
   23173 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23174 which seems to be undefined.  Please make sure it is defined." >&2;}
   23175 
   23176   rm -f "$tmp/stdin"
   23177   case $ac_file in
   23178   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23179   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23180   esac \
   23181   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23182 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23183    { (exit 1); exit 1; }; }
   23184  ;;
   23185   :H)
   23186   #
   23187   # CONFIG_HEADER
   23188   #
   23189   if test x"$ac_file" != x-; then
   23190     {
   23191       $as_echo "/* $configure_input  */" \
   23192       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23193     } >"$tmp/config.h" \
   23194       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23195 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23196    { (exit 1); exit 1; }; }
   23197     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23198       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23199 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23200     else
   23201       rm -f "$ac_file"
   23202       mv "$tmp/config.h" "$ac_file" \
   23203 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23204 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23205    { (exit 1); exit 1; }; }
   23206     fi
   23207   else
   23208     $as_echo "/* $configure_input  */" \
   23209       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23210       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23211 $as_echo "$as_me: error: could not create -" >&2;}
   23212    { (exit 1); exit 1; }; }
   23213   fi
   23214 # Compute "$ac_file"'s index in $config_headers.
   23215 _am_arg="$ac_file"
   23216 _am_stamp_count=1
   23217 for _am_header in $config_headers :; do
   23218   case $_am_header in
   23219     $_am_arg | $_am_arg:* )
   23220       break ;;
   23221     * )
   23222       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23223   esac
   23224 done
   23225 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23226 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23227 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23228 	 X"$_am_arg" : 'X\(//\)$' \| \
   23229 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23230 $as_echo X"$_am_arg" |
   23231     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23232 	    s//\1/
   23233 	    q
   23234 	  }
   23235 	  /^X\(\/\/\)[^/].*/{
   23236 	    s//\1/
   23237 	    q
   23238 	  }
   23239 	  /^X\(\/\/\)$/{
   23240 	    s//\1/
   23241 	    q
   23242 	  }
   23243 	  /^X\(\/\).*/{
   23244 	    s//\1/
   23245 	    q
   23246 	  }
   23247 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23248  ;;
   23249 
   23250   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23251 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23252  ;;
   23253   esac
   23254 
   23255 
   23256   case $ac_file$ac_mode in
   23257     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23258   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23259   # are listed without --file.  Let's play safe and only enable the eval
   23260   # if we detect the quoting.
   23261   case $CONFIG_FILES in
   23262   *\'*) eval set x "$CONFIG_FILES" ;;
   23263   *)   set x $CONFIG_FILES ;;
   23264   esac
   23265   shift
   23266   for mf
   23267   do
   23268     # Strip MF so we end up with the name of the file.
   23269     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23270     # Check whether this is an Automake generated Makefile or not.
   23271     # We used to match only the files named `Makefile.in', but
   23272     # some people rename them; so instead we look at the file content.
   23273     # Grep'ing the first line is not enough: some people post-process
   23274     # each Makefile.in and add a new line on top of each file to say so.
   23275     # Grep'ing the whole file is not good either: AIX grep has a line
   23276     # limit of 2048, but all sed's we know have understand at least 4000.
   23277     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23278       dirpart=`$as_dirname -- "$mf" ||
   23279 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23280 	 X"$mf" : 'X\(//\)[^/]' \| \
   23281 	 X"$mf" : 'X\(//\)$' \| \
   23282 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23283 $as_echo X"$mf" |
   23284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23285 	    s//\1/
   23286 	    q
   23287 	  }
   23288 	  /^X\(\/\/\)[^/].*/{
   23289 	    s//\1/
   23290 	    q
   23291 	  }
   23292 	  /^X\(\/\/\)$/{
   23293 	    s//\1/
   23294 	    q
   23295 	  }
   23296 	  /^X\(\/\).*/{
   23297 	    s//\1/
   23298 	    q
   23299 	  }
   23300 	  s/.*/./; q'`
   23301     else
   23302       continue
   23303     fi
   23304     # Extract the definition of DEPDIR, am__include, and am__quote
   23305     # from the Makefile without running `make'.
   23306     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23307     test -z "$DEPDIR" && continue
   23308     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23309     test -z "am__include" && continue
   23310     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23311     # When using ansi2knr, U may be empty or an underscore; expand it
   23312     U=`sed -n 's/^U = //p' < "$mf"`
   23313     # Find all dependency output files, they are included files with
   23314     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23315     # simplest approach to changing $(DEPDIR) to its actual value in the
   23316     # expansion.
   23317     for file in `sed -n "
   23318       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23319 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23320       # Make sure the directory exists.
   23321       test -f "$dirpart/$file" && continue
   23322       fdir=`$as_dirname -- "$file" ||
   23323 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23324 	 X"$file" : 'X\(//\)[^/]' \| \
   23325 	 X"$file" : 'X\(//\)$' \| \
   23326 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23327 $as_echo X"$file" |
   23328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23329 	    s//\1/
   23330 	    q
   23331 	  }
   23332 	  /^X\(\/\/\)[^/].*/{
   23333 	    s//\1/
   23334 	    q
   23335 	  }
   23336 	  /^X\(\/\/\)$/{
   23337 	    s//\1/
   23338 	    q
   23339 	  }
   23340 	  /^X\(\/\).*/{
   23341 	    s//\1/
   23342 	    q
   23343 	  }
   23344 	  s/.*/./; q'`
   23345       { as_dir=$dirpart/$fdir
   23346   case $as_dir in #(
   23347   -*) as_dir=./$as_dir;;
   23348   esac
   23349   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23350     as_dirs=
   23351     while :; do
   23352       case $as_dir in #(
   23353       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23354       *) as_qdir=$as_dir;;
   23355       esac
   23356       as_dirs="'$as_qdir' $as_dirs"
   23357       as_dir=`$as_dirname -- "$as_dir" ||
   23358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23359 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23360 	 X"$as_dir" : 'X\(//\)$' \| \
   23361 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23362 $as_echo X"$as_dir" |
   23363     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23364 	    s//\1/
   23365 	    q
   23366 	  }
   23367 	  /^X\(\/\/\)[^/].*/{
   23368 	    s//\1/
   23369 	    q
   23370 	  }
   23371 	  /^X\(\/\/\)$/{
   23372 	    s//\1/
   23373 	    q
   23374 	  }
   23375 	  /^X\(\/\).*/{
   23376 	    s//\1/
   23377 	    q
   23378 	  }
   23379 	  s/.*/./; q'`
   23380       test -d "$as_dir" && break
   23381     done
   23382     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23383   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23384 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23385    { (exit 1); exit 1; }; }; }
   23386       # echo "creating $dirpart/$file"
   23387       echo '# dummy' > "$dirpart/$file"
   23388     done
   23389   done
   23390 }
   23391  ;;
   23392 
   23393   esac
   23394 done # for ac_tag
   23395 
   23396 
   23397 { (exit 0); exit 0; }
   23398 _ACEOF
   23399 chmod +x $CONFIG_STATUS
   23400 ac_clean_files=$ac_clean_files_save
   23401 
   23402 test $ac_write_fail = 0 ||
   23403   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23404 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23405    { (exit 1); exit 1; }; }
   23406 
   23407 
   23408 # configure is writing to config.log, and then calls config.status.
   23409 # config.status does its own redirection, appending to config.log.
   23410 # Unfortunately, on DOS this fails, as config.log is still kept open
   23411 # by configure, so config.status won't be able to write to it; its
   23412 # output is simply discarded.  So we exec the FD to /dev/null,
   23413 # effectively closing config.log, so it can be properly (re)opened and
   23414 # appended to by config.status.  When coming back to configure, we
   23415 # need to make the FD available again.
   23416 if test "$no_create" != yes; then
   23417   ac_cs_success=:
   23418   ac_config_status_args=
   23419   test "$silent" = yes &&
   23420     ac_config_status_args="$ac_config_status_args --quiet"
   23421   exec 5>/dev/null
   23422   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23423   exec 5>>config.log
   23424   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23425   # would make configure fail if this is the last instruction.
   23426   $ac_cs_success || { (exit 1); exit 1; }
   23427 fi
   23428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23429   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23431 fi
   23432 
   23433