Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-openchrome 0.2.904.
      4 #
      5 # Report bugs to <http://www.openchrome.org/trac/report/1>.
      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-openchrome'
    752 PACKAGE_TARNAME='xf86-video-openchrome'
    753 PACKAGE_VERSION='0.2.904'
    754 PACKAGE_STRING='xf86-video-openchrome 0.2.904'
    755 PACKAGE_BUGREPORT='http://www.openchrome.org/trac/report/1'
    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 DRIVER_MAN_SUFFIX
    799 DRIVER_NAME
    800 moduledir
    801 XV_DEBUG_FALSE
    802 XV_DEBUG_TRUE
    803 DEBUG_FALSE
    804 DEBUG_TRUE
    805 XSERVER_LIBPCIACCESS_FALSE
    806 XSERVER_LIBPCIACCESS_TRUE
    807 XVMC_FALSE
    808 XVMC_TRUE
    809 XVMC_LIBS
    810 XVMC_CFLAGS
    811 DRI_LIBS
    812 DRI_CFLAGS
    813 DRI_FALSE
    814 DRI_TRUE
    815 PCIACCESS_LIBS
    816 PCIACCESS_CFLAGS
    817 HAVE_XEXTPROTO_71_FALSE
    818 HAVE_XEXTPROTO_71_TRUE
    819 XEXT_LIBS
    820 XEXT_CFLAGS
    821 XORG_LIBS
    822 XORG_CFLAGS
    823 PKG_CONFIG
    824 LIBTOOL
    825 ac_ct_F77
    826 FFLAGS
    827 F77
    828 CXXCPP
    829 am__fastdepCXX_FALSE
    830 am__fastdepCXX_TRUE
    831 CXXDEPMODE
    832 ac_ct_CXX
    833 CXXFLAGS
    834 CXX
    835 CPP
    836 NMEDIT
    837 DSYMUTIL
    838 RANLIB
    839 AR
    840 ECHO
    841 LN_S
    842 EGREP
    843 GREP
    844 SED
    845 am__fastdepCC_FALSE
    846 am__fastdepCC_TRUE
    847 CCDEPMODE
    848 AMDEPBACKSLASH
    849 AMDEP_FALSE
    850 AMDEP_TRUE
    851 am__quote
    852 am__include
    853 DEPDIR
    854 OBJEXT
    855 EXEEXT
    856 ac_ct_CC
    857 CPPFLAGS
    858 LDFLAGS
    859 CFLAGS
    860 CC
    861 host_os
    862 host_vendor
    863 host_cpu
    864 host
    865 build_os
    866 build_vendor
    867 build_cpu
    868 build
    869 MAINT
    870 MAINTAINER_MODE_FALSE
    871 MAINTAINER_MODE_TRUE
    872 am__untar
    873 am__tar
    874 AMTAR
    875 am__leading_dot
    876 SET_MAKE
    877 AWK
    878 mkdir_p
    879 MKDIR_P
    880 INSTALL_STRIP_PROGRAM
    881 STRIP
    882 install_sh
    883 MAKEINFO
    884 AUTOHEADER
    885 AUTOMAKE
    886 AUTOCONF
    887 ACLOCAL
    888 VERSION
    889 PACKAGE
    890 CYGPATH_W
    891 am__isrc
    892 INSTALL_DATA
    893 INSTALL_SCRIPT
    894 INSTALL_PROGRAM
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 ECHO_T
    900 ECHO_N
    901 ECHO_C
    902 DEFS
    903 mandir
    904 localedir
    905 libdir
    906 psdir
    907 pdfdir
    908 dvidir
    909 htmldir
    910 infodir
    911 docdir
    912 oldincludedir
    913 includedir
    914 localstatedir
    915 sharedstatedir
    916 sysconfdir
    917 datadir
    918 datarootdir
    919 libexecdir
    920 sbindir
    921 bindir
    922 program_transform_name
    923 prefix
    924 exec_prefix
    925 PACKAGE_BUGREPORT
    926 PACKAGE_STRING
    927 PACKAGE_VERSION
    928 PACKAGE_TARNAME
    929 PACKAGE_NAME
    930 PATH_SEPARATOR
    931 SHELL'
    932 ac_subst_files=''
    933 ac_user_opts='
    934 enable_option_checking
    935 enable_maintainer_mode
    936 enable_static
    937 enable_shared
    938 enable_fast_install
    939 enable_dependency_tracking
    940 with_gnu_ld
    941 enable_libtool_lock
    942 with_pic
    943 with_tags
    944 with_xorg_module_dir
    945 enable_dri
    946 enable_debug
    947 enable_xv_debug
    948 with_release_version
    949 '
    950       ac_precious_vars='build_alias
    951 host_alias
    952 target_alias
    953 CC
    954 CFLAGS
    955 LDFLAGS
    956 LIBS
    957 CPPFLAGS
    958 CPP
    959 CXX
    960 CXXFLAGS
    961 CCC
    962 CXXCPP
    963 F77
    964 FFLAGS
    965 PKG_CONFIG
    966 XORG_CFLAGS
    967 XORG_LIBS
    968 XEXT_CFLAGS
    969 XEXT_LIBS
    970 PCIACCESS_CFLAGS
    971 PCIACCESS_LIBS
    972 DRI_CFLAGS
    973 DRI_LIBS
    974 XVMC_CFLAGS
    975 XVMC_LIBS'
    976 
    977 
    978 # Initialize some variables set by options.
    979 ac_init_help=
    980 ac_init_version=false
    981 ac_unrecognized_opts=
    982 ac_unrecognized_sep=
    983 # The variables have the same names as the options, with
    984 # dashes changed to underlines.
    985 cache_file=/dev/null
    986 exec_prefix=NONE
    987 no_create=
    988 no_recursion=
    989 prefix=NONE
    990 program_prefix=NONE
    991 program_suffix=NONE
    992 program_transform_name=s,x,x,
    993 silent=
    994 site=
    995 srcdir=
    996 verbose=
    997 x_includes=NONE
    998 x_libraries=NONE
    999 
   1000 # Installation directory options.
   1001 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1002 # and all the variables that are supposed to be based on exec_prefix
   1003 # by default will actually change.
   1004 # Use braces instead of parens because sh, perl, etc. also accept them.
   1005 # (The list follows the same order as the GNU Coding Standards.)
   1006 bindir='${exec_prefix}/bin'
   1007 sbindir='${exec_prefix}/sbin'
   1008 libexecdir='${exec_prefix}/libexec'
   1009 datarootdir='${prefix}/share'
   1010 datadir='${datarootdir}'
   1011 sysconfdir='${prefix}/etc'
   1012 sharedstatedir='${prefix}/com'
   1013 localstatedir='${prefix}/var'
   1014 includedir='${prefix}/include'
   1015 oldincludedir='/usr/include'
   1016 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1017 infodir='${datarootdir}/info'
   1018 htmldir='${docdir}'
   1019 dvidir='${docdir}'
   1020 pdfdir='${docdir}'
   1021 psdir='${docdir}'
   1022 libdir='${exec_prefix}/lib'
   1023 localedir='${datarootdir}/locale'
   1024 mandir='${datarootdir}/man'
   1025 
   1026 ac_prev=
   1027 ac_dashdash=
   1028 for ac_option
   1029 do
   1030   # If the previous option needs an argument, assign it.
   1031   if test -n "$ac_prev"; then
   1032     eval $ac_prev=\$ac_option
   1033     ac_prev=
   1034     continue
   1035   fi
   1036 
   1037   case $ac_option in
   1038   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1039   *)	ac_optarg=yes ;;
   1040   esac
   1041 
   1042   # Accept the important Cygnus configure options, so we can diagnose typos.
   1043 
   1044   case $ac_dashdash$ac_option in
   1045   --)
   1046     ac_dashdash=yes ;;
   1047 
   1048   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1049     ac_prev=bindir ;;
   1050   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1051     bindir=$ac_optarg ;;
   1052 
   1053   -build | --build | --buil | --bui | --bu)
   1054     ac_prev=build_alias ;;
   1055   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1056     build_alias=$ac_optarg ;;
   1057 
   1058   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1059   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1060     ac_prev=cache_file ;;
   1061   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1062   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1063     cache_file=$ac_optarg ;;
   1064 
   1065   --config-cache | -C)
   1066     cache_file=config.cache ;;
   1067 
   1068   -datadir | --datadir | --datadi | --datad)
   1069     ac_prev=datadir ;;
   1070   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1071     datadir=$ac_optarg ;;
   1072 
   1073   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1074   | --dataroo | --dataro | --datar)
   1075     ac_prev=datarootdir ;;
   1076   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1077   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1078     datarootdir=$ac_optarg ;;
   1079 
   1080   -disable-* | --disable-*)
   1081     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1082     # Reject names that are not valid shell variable names.
   1083     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1084       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1085    { (exit 1); exit 1; }; }
   1086     ac_useropt_orig=$ac_useropt
   1087     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1088     case $ac_user_opts in
   1089       *"
   1090 "enable_$ac_useropt"
   1091 "*) ;;
   1092       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1093 	 ac_unrecognized_sep=', ';;
   1094     esac
   1095     eval enable_$ac_useropt=no ;;
   1096 
   1097   -docdir | --docdir | --docdi | --doc | --do)
   1098     ac_prev=docdir ;;
   1099   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1100     docdir=$ac_optarg ;;
   1101 
   1102   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1103     ac_prev=dvidir ;;
   1104   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1105     dvidir=$ac_optarg ;;
   1106 
   1107   -enable-* | --enable-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1112    { (exit 1); exit 1; }; }
   1113     ac_useropt_orig=$ac_useropt
   1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1115     case $ac_user_opts in
   1116       *"
   1117 "enable_$ac_useropt"
   1118 "*) ;;
   1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1120 	 ac_unrecognized_sep=', ';;
   1121     esac
   1122     eval enable_$ac_useropt=\$ac_optarg ;;
   1123 
   1124   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1125   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1126   | --exec | --exe | --ex)
   1127     ac_prev=exec_prefix ;;
   1128   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1129   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1130   | --exec=* | --exe=* | --ex=*)
   1131     exec_prefix=$ac_optarg ;;
   1132 
   1133   -gas | --gas | --ga | --g)
   1134     # Obsolete; use --with-gas.
   1135     with_gas=yes ;;
   1136 
   1137   -help | --help | --hel | --he | -h)
   1138     ac_init_help=long ;;
   1139   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1140     ac_init_help=recursive ;;
   1141   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1142     ac_init_help=short ;;
   1143 
   1144   -host | --host | --hos | --ho)
   1145     ac_prev=host_alias ;;
   1146   -host=* | --host=* | --hos=* | --ho=*)
   1147     host_alias=$ac_optarg ;;
   1148 
   1149   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1150     ac_prev=htmldir ;;
   1151   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1152   | --ht=*)
   1153     htmldir=$ac_optarg ;;
   1154 
   1155   -includedir | --includedir | --includedi | --included | --include \
   1156   | --includ | --inclu | --incl | --inc)
   1157     ac_prev=includedir ;;
   1158   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1159   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1160     includedir=$ac_optarg ;;
   1161 
   1162   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1163     ac_prev=infodir ;;
   1164   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1165     infodir=$ac_optarg ;;
   1166 
   1167   -libdir | --libdir | --libdi | --libd)
   1168     ac_prev=libdir ;;
   1169   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1170     libdir=$ac_optarg ;;
   1171 
   1172   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1173   | --libexe | --libex | --libe)
   1174     ac_prev=libexecdir ;;
   1175   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1176   | --libexe=* | --libex=* | --libe=*)
   1177     libexecdir=$ac_optarg ;;
   1178 
   1179   -localedir | --localedir | --localedi | --localed | --locale)
   1180     ac_prev=localedir ;;
   1181   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1182     localedir=$ac_optarg ;;
   1183 
   1184   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1185   | --localstate | --localstat | --localsta | --localst | --locals)
   1186     ac_prev=localstatedir ;;
   1187   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1188   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1189     localstatedir=$ac_optarg ;;
   1190 
   1191   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1192     ac_prev=mandir ;;
   1193   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1194     mandir=$ac_optarg ;;
   1195 
   1196   -nfp | --nfp | --nf)
   1197     # Obsolete; use --without-fp.
   1198     with_fp=no ;;
   1199 
   1200   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1201   | --no-cr | --no-c | -n)
   1202     no_create=yes ;;
   1203 
   1204   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1205   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1206     no_recursion=yes ;;
   1207 
   1208   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1209   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1210   | --oldin | --oldi | --old | --ol | --o)
   1211     ac_prev=oldincludedir ;;
   1212   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1213   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1214   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1215     oldincludedir=$ac_optarg ;;
   1216 
   1217   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1218     ac_prev=prefix ;;
   1219   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1220     prefix=$ac_optarg ;;
   1221 
   1222   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1223   | --program-pre | --program-pr | --program-p)
   1224     ac_prev=program_prefix ;;
   1225   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1226   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1227     program_prefix=$ac_optarg ;;
   1228 
   1229   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1230   | --program-suf | --program-su | --program-s)
   1231     ac_prev=program_suffix ;;
   1232   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1233   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1234     program_suffix=$ac_optarg ;;
   1235 
   1236   -program-transform-name | --program-transform-name \
   1237   | --program-transform-nam | --program-transform-na \
   1238   | --program-transform-n | --program-transform- \
   1239   | --program-transform | --program-transfor \
   1240   | --program-transfo | --program-transf \
   1241   | --program-trans | --program-tran \
   1242   | --progr-tra | --program-tr | --program-t)
   1243     ac_prev=program_transform_name ;;
   1244   -program-transform-name=* | --program-transform-name=* \
   1245   | --program-transform-nam=* | --program-transform-na=* \
   1246   | --program-transform-n=* | --program-transform-=* \
   1247   | --program-transform=* | --program-transfor=* \
   1248   | --program-transfo=* | --program-transf=* \
   1249   | --program-trans=* | --program-tran=* \
   1250   | --progr-tra=* | --program-tr=* | --program-t=*)
   1251     program_transform_name=$ac_optarg ;;
   1252 
   1253   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1254     ac_prev=pdfdir ;;
   1255   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1256     pdfdir=$ac_optarg ;;
   1257 
   1258   -psdir | --psdir | --psdi | --psd | --ps)
   1259     ac_prev=psdir ;;
   1260   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1261     psdir=$ac_optarg ;;
   1262 
   1263   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1264   | -silent | --silent | --silen | --sile | --sil)
   1265     silent=yes ;;
   1266 
   1267   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1268     ac_prev=sbindir ;;
   1269   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1270   | --sbi=* | --sb=*)
   1271     sbindir=$ac_optarg ;;
   1272 
   1273   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1274   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1275   | --sharedst | --shareds | --shared | --share | --shar \
   1276   | --sha | --sh)
   1277     ac_prev=sharedstatedir ;;
   1278   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1279   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1280   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1281   | --sha=* | --sh=*)
   1282     sharedstatedir=$ac_optarg ;;
   1283 
   1284   -site | --site | --sit)
   1285     ac_prev=site ;;
   1286   -site=* | --site=* | --sit=*)
   1287     site=$ac_optarg ;;
   1288 
   1289   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1290     ac_prev=srcdir ;;
   1291   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1292     srcdir=$ac_optarg ;;
   1293 
   1294   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1295   | --syscon | --sysco | --sysc | --sys | --sy)
   1296     ac_prev=sysconfdir ;;
   1297   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1298   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1299     sysconfdir=$ac_optarg ;;
   1300 
   1301   -target | --target | --targe | --targ | --tar | --ta | --t)
   1302     ac_prev=target_alias ;;
   1303   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1304     target_alias=$ac_optarg ;;
   1305 
   1306   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1307     verbose=yes ;;
   1308 
   1309   -version | --version | --versio | --versi | --vers | -V)
   1310     ac_init_version=: ;;
   1311 
   1312   -with-* | --with-*)
   1313     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1314     # Reject names that are not valid shell variable names.
   1315     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1316       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1317    { (exit 1); exit 1; }; }
   1318     ac_useropt_orig=$ac_useropt
   1319     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1320     case $ac_user_opts in
   1321       *"
   1322 "with_$ac_useropt"
   1323 "*) ;;
   1324       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1325 	 ac_unrecognized_sep=', ';;
   1326     esac
   1327     eval with_$ac_useropt=\$ac_optarg ;;
   1328 
   1329   -without-* | --without-*)
   1330     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1331     # Reject names that are not valid shell variable names.
   1332     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1333       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1334    { (exit 1); exit 1; }; }
   1335     ac_useropt_orig=$ac_useropt
   1336     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1337     case $ac_user_opts in
   1338       *"
   1339 "with_$ac_useropt"
   1340 "*) ;;
   1341       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1342 	 ac_unrecognized_sep=', ';;
   1343     esac
   1344     eval with_$ac_useropt=no ;;
   1345 
   1346   --x)
   1347     # Obsolete; use --with-x.
   1348     with_x=yes ;;
   1349 
   1350   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1351   | --x-incl | --x-inc | --x-in | --x-i)
   1352     ac_prev=x_includes ;;
   1353   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1354   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1355     x_includes=$ac_optarg ;;
   1356 
   1357   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1358   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1359     ac_prev=x_libraries ;;
   1360   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1361   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1362     x_libraries=$ac_optarg ;;
   1363 
   1364   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1365 Try \`$0 --help' for more information." >&2
   1366    { (exit 1); exit 1; }; }
   1367     ;;
   1368 
   1369   *=*)
   1370     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1371     # Reject names that are not valid shell variable names.
   1372     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1373       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1374    { (exit 1); exit 1; }; }
   1375     eval $ac_envvar=\$ac_optarg
   1376     export $ac_envvar ;;
   1377 
   1378   *)
   1379     # FIXME: should be removed in autoconf 3.0.
   1380     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1381     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1382       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1383     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1384     ;;
   1385 
   1386   esac
   1387 done
   1388 
   1389 if test -n "$ac_prev"; then
   1390   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1391   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1392    { (exit 1); exit 1; }; }
   1393 fi
   1394 
   1395 if test -n "$ac_unrecognized_opts"; then
   1396   case $enable_option_checking in
   1397     no) ;;
   1398     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1399    { (exit 1); exit 1; }; } ;;
   1400     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1401   esac
   1402 fi
   1403 
   1404 # Check all directory arguments for consistency.
   1405 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1406 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1407 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1408 		libdir localedir mandir
   1409 do
   1410   eval ac_val=\$$ac_var
   1411   # Remove trailing slashes.
   1412   case $ac_val in
   1413     */ )
   1414       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1415       eval $ac_var=\$ac_val;;
   1416   esac
   1417   # Be sure to have absolute directory names.
   1418   case $ac_val in
   1419     [\\/$]* | ?:[\\/]* )  continue;;
   1420     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1421   esac
   1422   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1423    { (exit 1); exit 1; }; }
   1424 done
   1425 
   1426 # There might be people who depend on the old broken behavior: `$host'
   1427 # used to hold the argument of --host etc.
   1428 # FIXME: To remove some day.
   1429 build=$build_alias
   1430 host=$host_alias
   1431 target=$target_alias
   1432 
   1433 # FIXME: To remove some day.
   1434 if test "x$host_alias" != x; then
   1435   if test "x$build_alias" = x; then
   1436     cross_compiling=maybe
   1437     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1438     If a cross compiler is detected then cross compile mode will be used." >&2
   1439   elif test "x$build_alias" != "x$host_alias"; then
   1440     cross_compiling=yes
   1441   fi
   1442 fi
   1443 
   1444 ac_tool_prefix=
   1445 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1446 
   1447 test "$silent" = yes && exec 6>/dev/null
   1448 
   1449 
   1450 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1451 ac_ls_di=`ls -di .` &&
   1452 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1453   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1454    { (exit 1); exit 1; }; }
   1455 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1456   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1457    { (exit 1); exit 1; }; }
   1458 
   1459 
   1460 # Find the source files, if location was not specified.
   1461 if test -z "$srcdir"; then
   1462   ac_srcdir_defaulted=yes
   1463   # Try the directory containing this script, then the parent directory.
   1464   ac_confdir=`$as_dirname -- "$as_myself" ||
   1465 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1466 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1467 	 X"$as_myself" : 'X\(//\)$' \| \
   1468 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1469 $as_echo X"$as_myself" |
   1470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\/\)[^/].*/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  /^X\(\/\/\)$/{
   1479 	    s//\1/
   1480 	    q
   1481 	  }
   1482 	  /^X\(\/\).*/{
   1483 	    s//\1/
   1484 	    q
   1485 	  }
   1486 	  s/.*/./; q'`
   1487   srcdir=$ac_confdir
   1488   if test ! -r "$srcdir/$ac_unique_file"; then
   1489     srcdir=..
   1490   fi
   1491 else
   1492   ac_srcdir_defaulted=no
   1493 fi
   1494 if test ! -r "$srcdir/$ac_unique_file"; then
   1495   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1496   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1497    { (exit 1); exit 1; }; }
   1498 fi
   1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1500 ac_abs_confdir=`(
   1501 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1502    { (exit 1); exit 1; }; }
   1503 	pwd)`
   1504 # When building in place, set srcdir=.
   1505 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1506   srcdir=.
   1507 fi
   1508 # Remove unnecessary trailing slashes from srcdir.
   1509 # Double slashes in file names in object file debugging info
   1510 # mess up M-x gdb in Emacs.
   1511 case $srcdir in
   1512 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1513 esac
   1514 for ac_var in $ac_precious_vars; do
   1515   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1516   eval ac_env_${ac_var}_value=\$${ac_var}
   1517   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1518   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1519 done
   1520 
   1521 #
   1522 # Report the --help message.
   1523 #
   1524 if test "$ac_init_help" = "long"; then
   1525   # Omit some internal or obsolete options to make the list less imposing.
   1526   # This message is too long to be a string in the A/UX 3.1 sh.
   1527   cat <<_ACEOF
   1528 \`configure' configures xf86-video-openchrome 0.2.904 to adapt to many kinds of systems.
   1529 
   1530 Usage: $0 [OPTION]... [VAR=VALUE]...
   1531 
   1532 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1533 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1534 
   1535 Defaults for the options are specified in brackets.
   1536 
   1537 Configuration:
   1538   -h, --help              display this help and exit
   1539       --help=short        display options specific to this package
   1540       --help=recursive    display the short help of all the included packages
   1541   -V, --version           display version information and exit
   1542   -q, --quiet, --silent   do not print \`checking...' messages
   1543       --cache-file=FILE   cache test results in FILE [disabled]
   1544   -C, --config-cache      alias for \`--cache-file=config.cache'
   1545   -n, --no-create         do not create output files
   1546       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1547 
   1548 Installation directories:
   1549   --prefix=PREFIX         install architecture-independent files in PREFIX
   1550                           [$ac_default_prefix]
   1551   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1552                           [PREFIX]
   1553 
   1554 By default, \`make install' will install all the files in
   1555 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1556 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1557 for instance \`--prefix=\$HOME'.
   1558 
   1559 For better control, use the options below.
   1560 
   1561 Fine tuning of the installation directories:
   1562   --bindir=DIR            user executables [EPREFIX/bin]
   1563   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1564   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1565   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1566   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1567   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1568   --libdir=DIR            object code libraries [EPREFIX/lib]
   1569   --includedir=DIR        C header files [PREFIX/include]
   1570   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1571   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1572   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1573   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1574   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1575   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1576   --docdir=DIR            documentation root
   1577                           [DATAROOTDIR/doc/xf86-video-openchrome]
   1578   --htmldir=DIR           html documentation [DOCDIR]
   1579   --dvidir=DIR            dvi documentation [DOCDIR]
   1580   --pdfdir=DIR            pdf documentation [DOCDIR]
   1581   --psdir=DIR             ps documentation [DOCDIR]
   1582 _ACEOF
   1583 
   1584   cat <<\_ACEOF
   1585 
   1586 Program names:
   1587   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1588   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1589   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1590 
   1591 System types:
   1592   --build=BUILD     configure for building on BUILD [guessed]
   1593   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1594 _ACEOF
   1595 fi
   1596 
   1597 if test -n "$ac_init_help"; then
   1598   case $ac_init_help in
   1599      short | recursive ) echo "Configuration of xf86-video-openchrome 0.2.904:";;
   1600    esac
   1601   cat <<\_ACEOF
   1602 
   1603 Optional Features:
   1604   --disable-option-checking  ignore unrecognized --enable/--with options
   1605   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1606   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1607   --enable-maintainer-mode  enable make rules and dependencies not useful
   1608 			  (and sometimes confusing) to the casual installer
   1609   --enable-static[=PKGS]  build static libraries [default=no]
   1610   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1611   --enable-fast-install[=PKGS]
   1612                           optimize for fast installation [default=yes]
   1613   --disable-dependency-tracking  speeds up one-time build
   1614   --enable-dependency-tracking   do not reject slow dependency extractors
   1615   --disable-libtool-lock  avoid locking (might break parallel builds)
   1616   --disable-dri           Disable DRI support [default=auto]
   1617   --enable-debug          Enable debugging support [default=no]
   1618   --enable-xv-debug       Enable XVideo debugging support [default=no]
   1619 
   1620 Optional Packages:
   1621   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1622   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1623   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1624   --with-pic              try to use only PIC/non-PIC objects [default=use
   1625                           both]
   1626   --with-tags[=TAGS]      include additional configurations [automatic]
   1627   --with-xorg-module-dir=DIR
   1628                           Default xorg module directory
   1629                           [default=$libdir/xorg/modules]
   1630   --with-release-version=STRING
   1631                           Use release version string in package name
   1632 
   1633 Some influential environment variables:
   1634   CC          C compiler command
   1635   CFLAGS      C compiler flags
   1636   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1637               nonstandard directory <lib dir>
   1638   LIBS        libraries to pass to the linker, e.g. -l<library>
   1639   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1640               you have headers in a nonstandard directory <include dir>
   1641   CPP         C preprocessor
   1642   CXX         C++ compiler command
   1643   CXXFLAGS    C++ compiler flags
   1644   CXXCPP      C++ preprocessor
   1645   F77         Fortran 77 compiler command
   1646   FFLAGS      Fortran 77 compiler flags
   1647   PKG_CONFIG  path to pkg-config utility
   1648   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1649   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1650   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1651   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1652   PCIACCESS_CFLAGS
   1653               C compiler flags for PCIACCESS, overriding pkg-config
   1654   PCIACCESS_LIBS
   1655               linker flags for PCIACCESS, overriding pkg-config
   1656   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1657   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1658   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1659   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1660 
   1661 Use these variables to override the choices made by `configure' or to help
   1662 it to find libraries and programs with nonstandard names/locations.
   1663 
   1664 Report bugs to <http://www.openchrome.org/trac/report/1>.
   1665 _ACEOF
   1666 ac_status=$?
   1667 fi
   1668 
   1669 if test "$ac_init_help" = "recursive"; then
   1670   # If there are subdirs, report their specific --help.
   1671   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1672     test -d "$ac_dir" ||
   1673       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1674       continue
   1675     ac_builddir=.
   1676 
   1677 case "$ac_dir" in
   1678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1679 *)
   1680   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1681   # A ".." for each directory in $ac_dir_suffix.
   1682   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1683   case $ac_top_builddir_sub in
   1684   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1685   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1686   esac ;;
   1687 esac
   1688 ac_abs_top_builddir=$ac_pwd
   1689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1690 # for backward compatibility:
   1691 ac_top_builddir=$ac_top_build_prefix
   1692 
   1693 case $srcdir in
   1694   .)  # We are building in place.
   1695     ac_srcdir=.
   1696     ac_top_srcdir=$ac_top_builddir_sub
   1697     ac_abs_top_srcdir=$ac_pwd ;;
   1698   [\\/]* | ?:[\\/]* )  # Absolute name.
   1699     ac_srcdir=$srcdir$ac_dir_suffix;
   1700     ac_top_srcdir=$srcdir
   1701     ac_abs_top_srcdir=$srcdir ;;
   1702   *) # Relative name.
   1703     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1704     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1705     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1706 esac
   1707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1708 
   1709     cd "$ac_dir" || { ac_status=$?; continue; }
   1710     # Check for guested configure.
   1711     if test -f "$ac_srcdir/configure.gnu"; then
   1712       echo &&
   1713       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1714     elif test -f "$ac_srcdir/configure"; then
   1715       echo &&
   1716       $SHELL "$ac_srcdir/configure" --help=recursive
   1717     else
   1718       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1719     fi || ac_status=$?
   1720     cd "$ac_pwd" || { ac_status=$?; break; }
   1721   done
   1722 fi
   1723 
   1724 test -n "$ac_init_help" && exit $ac_status
   1725 if $ac_init_version; then
   1726   cat <<\_ACEOF
   1727 xf86-video-openchrome configure 0.2.904
   1728 generated by GNU Autoconf 2.63
   1729 
   1730 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1731 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1732 This configure script is free software; the Free Software Foundation
   1733 gives unlimited permission to copy, distribute and modify it.
   1734 _ACEOF
   1735   exit
   1736 fi
   1737 cat >config.log <<_ACEOF
   1738 This file contains any messages produced by compilers while
   1739 running configure, to aid debugging if configure makes a mistake.
   1740 
   1741 It was created by xf86-video-openchrome $as_me 0.2.904, which was
   1742 generated by GNU Autoconf 2.63.  Invocation command line was
   1743 
   1744   $ $0 $@
   1745 
   1746 _ACEOF
   1747 exec 5>>config.log
   1748 {
   1749 cat <<_ASUNAME
   1750 ## --------- ##
   1751 ## Platform. ##
   1752 ## --------- ##
   1753 
   1754 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1755 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1756 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1757 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1758 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1759 
   1760 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1761 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1762 
   1763 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1764 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1765 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1766 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1767 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1768 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1769 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1770 
   1771 _ASUNAME
   1772 
   1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1774 for as_dir in $PATH
   1775 do
   1776   IFS=$as_save_IFS
   1777   test -z "$as_dir" && as_dir=.
   1778   $as_echo "PATH: $as_dir"
   1779 done
   1780 IFS=$as_save_IFS
   1781 
   1782 } >&5
   1783 
   1784 cat >&5 <<_ACEOF
   1785 
   1786 
   1787 ## ----------- ##
   1788 ## Core tests. ##
   1789 ## ----------- ##
   1790 
   1791 _ACEOF
   1792 
   1793 
   1794 # Keep a trace of the command line.
   1795 # Strip out --no-create and --no-recursion so they do not pile up.
   1796 # Strip out --silent because we don't want to record it for future runs.
   1797 # Also quote any args containing shell meta-characters.
   1798 # Make two passes to allow for proper duplicate-argument suppression.
   1799 ac_configure_args=
   1800 ac_configure_args0=
   1801 ac_configure_args1=
   1802 ac_must_keep_next=false
   1803 for ac_pass in 1 2
   1804 do
   1805   for ac_arg
   1806   do
   1807     case $ac_arg in
   1808     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1809     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1810     | -silent | --silent | --silen | --sile | --sil)
   1811       continue ;;
   1812     *\'*)
   1813       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1814     esac
   1815     case $ac_pass in
   1816     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1817     2)
   1818       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1819       if test $ac_must_keep_next = true; then
   1820 	ac_must_keep_next=false # Got value, back to normal.
   1821       else
   1822 	case $ac_arg in
   1823 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1824 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1825 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1826 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1827 	    case "$ac_configure_args0 " in
   1828 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1829 	    esac
   1830 	    ;;
   1831 	  -* ) ac_must_keep_next=true ;;
   1832 	esac
   1833       fi
   1834       ac_configure_args="$ac_configure_args '$ac_arg'"
   1835       ;;
   1836     esac
   1837   done
   1838 done
   1839 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1840 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1841 
   1842 # When interrupted or exit'd, cleanup temporary files, and complete
   1843 # config.log.  We remove comments because anyway the quotes in there
   1844 # would cause problems or look ugly.
   1845 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1846 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1847 trap 'exit_status=$?
   1848   # Save into config.log some information that might help in debugging.
   1849   {
   1850     echo
   1851 
   1852     cat <<\_ASBOX
   1853 ## ---------------- ##
   1854 ## Cache variables. ##
   1855 ## ---------------- ##
   1856 _ASBOX
   1857     echo
   1858     # The following way of writing the cache mishandles newlines in values,
   1859 (
   1860   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1861     eval ac_val=\$$ac_var
   1862     case $ac_val in #(
   1863     *${as_nl}*)
   1864       case $ac_var in #(
   1865       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1866 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1867       esac
   1868       case $ac_var in #(
   1869       _ | IFS | as_nl) ;; #(
   1870       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1871       *) $as_unset $ac_var ;;
   1872       esac ;;
   1873     esac
   1874   done
   1875   (set) 2>&1 |
   1876     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1877     *${as_nl}ac_space=\ *)
   1878       sed -n \
   1879 	"s/'\''/'\''\\\\'\'''\''/g;
   1880 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1881       ;; #(
   1882     *)
   1883       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1884       ;;
   1885     esac |
   1886     sort
   1887 )
   1888     echo
   1889 
   1890     cat <<\_ASBOX
   1891 ## ----------------- ##
   1892 ## Output variables. ##
   1893 ## ----------------- ##
   1894 _ASBOX
   1895     echo
   1896     for ac_var in $ac_subst_vars
   1897     do
   1898       eval ac_val=\$$ac_var
   1899       case $ac_val in
   1900       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1901       esac
   1902       $as_echo "$ac_var='\''$ac_val'\''"
   1903     done | sort
   1904     echo
   1905 
   1906     if test -n "$ac_subst_files"; then
   1907       cat <<\_ASBOX
   1908 ## ------------------- ##
   1909 ## File substitutions. ##
   1910 ## ------------------- ##
   1911 _ASBOX
   1912       echo
   1913       for ac_var in $ac_subst_files
   1914       do
   1915 	eval ac_val=\$$ac_var
   1916 	case $ac_val in
   1917 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1918 	esac
   1919 	$as_echo "$ac_var='\''$ac_val'\''"
   1920       done | sort
   1921       echo
   1922     fi
   1923 
   1924     if test -s confdefs.h; then
   1925       cat <<\_ASBOX
   1926 ## ----------- ##
   1927 ## confdefs.h. ##
   1928 ## ----------- ##
   1929 _ASBOX
   1930       echo
   1931       cat confdefs.h
   1932       echo
   1933     fi
   1934     test "$ac_signal" != 0 &&
   1935       $as_echo "$as_me: caught signal $ac_signal"
   1936     $as_echo "$as_me: exit $exit_status"
   1937   } >&5
   1938   rm -f core *.core core.conftest.* &&
   1939     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1940     exit $exit_status
   1941 ' 0
   1942 for ac_signal in 1 2 13 15; do
   1943   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1944 done
   1945 ac_signal=0
   1946 
   1947 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1948 rm -f -r conftest* confdefs.h
   1949 
   1950 # Predefined preprocessor variables.
   1951 
   1952 cat >>confdefs.h <<_ACEOF
   1953 #define PACKAGE_NAME "$PACKAGE_NAME"
   1954 _ACEOF
   1955 
   1956 
   1957 cat >>confdefs.h <<_ACEOF
   1958 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1959 _ACEOF
   1960 
   1961 
   1962 cat >>confdefs.h <<_ACEOF
   1963 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1964 _ACEOF
   1965 
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_STRING "$PACKAGE_STRING"
   1969 _ACEOF
   1970 
   1971 
   1972 cat >>confdefs.h <<_ACEOF
   1973 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1974 _ACEOF
   1975 
   1976 
   1977 # Let the site file select an alternate cache file if it wants to.
   1978 # Prefer an explicitly selected file to automatically selected ones.
   1979 ac_site_file1=NONE
   1980 ac_site_file2=NONE
   1981 if test -n "$CONFIG_SITE"; then
   1982   ac_site_file1=$CONFIG_SITE
   1983 elif test "x$prefix" != xNONE; then
   1984   ac_site_file1=$prefix/share/config.site
   1985   ac_site_file2=$prefix/etc/config.site
   1986 else
   1987   ac_site_file1=$ac_default_prefix/share/config.site
   1988   ac_site_file2=$ac_default_prefix/etc/config.site
   1989 fi
   1990 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1991 do
   1992   test "x$ac_site_file" = xNONE && continue
   1993   if test -r "$ac_site_file"; then
   1994     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1995 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1996     sed 's/^/| /' "$ac_site_file" >&5
   1997     . "$ac_site_file"
   1998   fi
   1999 done
   2000 
   2001 if test -r "$cache_file"; then
   2002   # Some versions of bash will fail to source /dev/null (special
   2003   # files actually), so we avoid doing that.
   2004   if test -f "$cache_file"; then
   2005     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2006 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2007     case $cache_file in
   2008       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2009       *)                      . "./$cache_file";;
   2010     esac
   2011   fi
   2012 else
   2013   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2014 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2015   >$cache_file
   2016 fi
   2017 
   2018 # Check that the precious variables saved in the cache have kept the same
   2019 # value.
   2020 ac_cache_corrupted=false
   2021 for ac_var in $ac_precious_vars; do
   2022   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2023   eval ac_new_set=\$ac_env_${ac_var}_set
   2024   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2025   eval ac_new_val=\$ac_env_${ac_var}_value
   2026   case $ac_old_set,$ac_new_set in
   2027     set,)
   2028       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2029 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2030       ac_cache_corrupted=: ;;
   2031     ,set)
   2032       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2033 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2034       ac_cache_corrupted=: ;;
   2035     ,);;
   2036     *)
   2037       if test "x$ac_old_val" != "x$ac_new_val"; then
   2038 	# differences in whitespace do not lead to failure.
   2039 	ac_old_val_w=`echo x $ac_old_val`
   2040 	ac_new_val_w=`echo x $ac_new_val`
   2041 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2042 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2043 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2044 	  ac_cache_corrupted=:
   2045 	else
   2046 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2047 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2048 	  eval $ac_var=\$ac_old_val
   2049 	fi
   2050 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2051 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2052 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2053 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2054       fi;;
   2055   esac
   2056   # Pass precious variables to config.status.
   2057   if test "$ac_new_set" = set; then
   2058     case $ac_new_val in
   2059     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2060     *) ac_arg=$ac_var=$ac_new_val ;;
   2061     esac
   2062     case " $ac_configure_args " in
   2063       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2064       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2065     esac
   2066   fi
   2067 done
   2068 if $ac_cache_corrupted; then
   2069   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2071   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2072 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2073   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2074 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2075    { (exit 1); exit 1; }; }
   2076 fi
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 
   2096 
   2097 
   2098 
   2099 
   2100 
   2101 
   2102 ac_ext=c
   2103 ac_cpp='$CPP $CPPFLAGS'
   2104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2107 
   2108 
   2109 
   2110 
   2111 ac_config_headers="$ac_config_headers config.h"
   2112 
   2113 ac_aux_dir=
   2114 for ac_dir in . "$srcdir"/.; do
   2115   if test -f "$ac_dir/install-sh"; then
   2116     ac_aux_dir=$ac_dir
   2117     ac_install_sh="$ac_aux_dir/install-sh -c"
   2118     break
   2119   elif test -f "$ac_dir/install.sh"; then
   2120     ac_aux_dir=$ac_dir
   2121     ac_install_sh="$ac_aux_dir/install.sh -c"
   2122     break
   2123   elif test -f "$ac_dir/shtool"; then
   2124     ac_aux_dir=$ac_dir
   2125     ac_install_sh="$ac_aux_dir/shtool install -c"
   2126     break
   2127   fi
   2128 done
   2129 if test -z "$ac_aux_dir"; then
   2130   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2131 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2132    { (exit 1); exit 1; }; }
   2133 fi
   2134 
   2135 # These three variables are undocumented and unsupported,
   2136 # and are intended to be withdrawn in a future Autoconf release.
   2137 # They can cause serious problems if a builder's source tree is in a directory
   2138 # whose full name contains unusual characters.
   2139 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2140 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2141 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2142 
   2143 
   2144 
   2145 am__api_version='1.11'
   2146 
   2147 # Find a good install program.  We prefer a C program (faster),
   2148 # so one script is as good as another.  But avoid the broken or
   2149 # incompatible versions:
   2150 # SysV /etc/install, /usr/sbin/install
   2151 # SunOS /usr/etc/install
   2152 # IRIX /sbin/install
   2153 # AIX /bin/install
   2154 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2158 # OS/2's system install, which has a completely different semantic
   2159 # ./install, which can be erroneously created by make from ./install.sh.
   2160 # Reject install programs that cannot install multiple files.
   2161 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2162 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2163 if test -z "$INSTALL"; then
   2164 if test "${ac_cv_path_install+set}" = set; then
   2165   $as_echo_n "(cached) " >&6
   2166 else
   2167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2168 for as_dir in $PATH
   2169 do
   2170   IFS=$as_save_IFS
   2171   test -z "$as_dir" && as_dir=.
   2172   # Account for people who put trailing slashes in PATH elements.
   2173 case $as_dir/ in
   2174   ./ | .// | /cC/* | \
   2175   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2176   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2177   /usr/ucb/* ) ;;
   2178   *)
   2179     # OSF1 and SCO ODT 3.0 have their own names for install.
   2180     # Don't use installbsd from OSF since it installs stuff as root
   2181     # by default.
   2182     for ac_prog in ginstall scoinst install; do
   2183       for ac_exec_ext in '' $ac_executable_extensions; do
   2184 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2185 	  if test $ac_prog = install &&
   2186 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2187 	    # AIX install.  It has an incompatible calling convention.
   2188 	    :
   2189 	  elif test $ac_prog = install &&
   2190 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2191 	    # program-specific install script used by HP pwplus--don't use.
   2192 	    :
   2193 	  else
   2194 	    rm -rf conftest.one conftest.two conftest.dir
   2195 	    echo one > conftest.one
   2196 	    echo two > conftest.two
   2197 	    mkdir conftest.dir
   2198 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2199 	      test -s conftest.one && test -s conftest.two &&
   2200 	      test -s conftest.dir/conftest.one &&
   2201 	      test -s conftest.dir/conftest.two
   2202 	    then
   2203 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2204 	      break 3
   2205 	    fi
   2206 	  fi
   2207 	fi
   2208       done
   2209     done
   2210     ;;
   2211 esac
   2212 
   2213 done
   2214 IFS=$as_save_IFS
   2215 
   2216 rm -rf conftest.one conftest.two conftest.dir
   2217 
   2218 fi
   2219   if test "${ac_cv_path_install+set}" = set; then
   2220     INSTALL=$ac_cv_path_install
   2221   else
   2222     # As a last resort, use the slow shell script.  Don't cache a
   2223     # value for INSTALL within a source directory, because that will
   2224     # break other packages using the cache if that directory is
   2225     # removed, or if the value is a relative name.
   2226     INSTALL=$ac_install_sh
   2227   fi
   2228 fi
   2229 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2230 $as_echo "$INSTALL" >&6; }
   2231 
   2232 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2233 # It thinks the first close brace ends the variable substitution.
   2234 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2235 
   2236 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2237 
   2238 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2239 
   2240 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2241 $as_echo_n "checking whether build environment is sane... " >&6; }
   2242 # Just in case
   2243 sleep 1
   2244 echo timestamp > conftest.file
   2245 # Reject unsafe characters in $srcdir or the absolute working directory
   2246 # name.  Accept space and tab only in the latter.
   2247 am_lf='
   2248 '
   2249 case `pwd` in
   2250   *[\\\"\#\$\&\'\`$am_lf]*)
   2251     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2252 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2253    { (exit 1); exit 1; }; };;
   2254 esac
   2255 case $srcdir in
   2256   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2257     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2258 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2259    { (exit 1); exit 1; }; };;
   2260 esac
   2261 
   2262 # Do `set' in a subshell so we don't clobber the current shell's
   2263 # arguments.  Must try -L first in case configure is actually a
   2264 # symlink; some systems play weird games with the mod time of symlinks
   2265 # (eg FreeBSD returns the mod time of the symlink's containing
   2266 # directory).
   2267 if (
   2268    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2269    if test "$*" = "X"; then
   2270       # -L didn't work.
   2271       set X `ls -t "$srcdir/configure" conftest.file`
   2272    fi
   2273    rm -f conftest.file
   2274    if test "$*" != "X $srcdir/configure conftest.file" \
   2275       && test "$*" != "X conftest.file $srcdir/configure"; then
   2276 
   2277       # If neither matched, then we have a broken ls.  This can happen
   2278       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2279       # broken ls alias from the environment.  This has actually
   2280       # happened.  Such a system could not be considered "sane".
   2281       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2282 alias in your environment" >&5
   2283 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2284 alias in your environment" >&2;}
   2285    { (exit 1); exit 1; }; }
   2286    fi
   2287 
   2288    test "$2" = conftest.file
   2289    )
   2290 then
   2291    # Ok.
   2292    :
   2293 else
   2294    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2295 Check your system clock" >&5
   2296 $as_echo "$as_me: error: newly created file is older than distributed files!
   2297 Check your system clock" >&2;}
   2298    { (exit 1); exit 1; }; }
   2299 fi
   2300 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2301 $as_echo "yes" >&6; }
   2302 test "$program_prefix" != NONE &&
   2303   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2304 # Use a double $ so make ignores it.
   2305 test "$program_suffix" != NONE &&
   2306   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2307 # Double any \ or $.
   2308 # By default was `s,x,x', remove it if useless.
   2309 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2310 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2311 
   2312 # expand $ac_aux_dir to an absolute path
   2313 am_aux_dir=`cd $ac_aux_dir && pwd`
   2314 
   2315 if test x"${MISSING+set}" != xset; then
   2316   case $am_aux_dir in
   2317   *\ * | *\	*)
   2318     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2319   *)
   2320     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2321   esac
   2322 fi
   2323 # Use eval to expand $SHELL
   2324 if eval "$MISSING --run true"; then
   2325   am_missing_run="$MISSING --run "
   2326 else
   2327   am_missing_run=
   2328   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2329 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2330 fi
   2331 
   2332 if test x"${install_sh}" != xset; then
   2333   case $am_aux_dir in
   2334   *\ * | *\	*)
   2335     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2336   *)
   2337     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2338   esac
   2339 fi
   2340 
   2341 # Installed binaries are usually stripped using `strip' when the user
   2342 # run `make install-strip'.  However `strip' might not be the right
   2343 # tool to use in cross-compilation environments, therefore Automake
   2344 # will honor the `STRIP' environment variable to overrule this program.
   2345 if test "$cross_compiling" != no; then
   2346   if test -n "$ac_tool_prefix"; then
   2347   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2348 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2350 $as_echo_n "checking for $ac_word... " >&6; }
   2351 if test "${ac_cv_prog_STRIP+set}" = set; then
   2352   $as_echo_n "(cached) " >&6
   2353 else
   2354   if test -n "$STRIP"; then
   2355   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362   for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2364     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369 done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 STRIP=$ac_cv_prog_STRIP
   2375 if test -n "$STRIP"; then
   2376   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2377 $as_echo "$STRIP" >&6; }
   2378 else
   2379   { $as_echo "$as_me:$LINENO: result: no" >&5
   2380 $as_echo "no" >&6; }
   2381 fi
   2382 
   2383 
   2384 fi
   2385 if test -z "$ac_cv_prog_STRIP"; then
   2386   ac_ct_STRIP=$STRIP
   2387   # Extract the first word of "strip", so it can be a program name with args.
   2388 set dummy strip; ac_word=$2
   2389 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2390 $as_echo_n "checking for $ac_word... " >&6; }
   2391 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2392   $as_echo_n "(cached) " >&6
   2393 else
   2394   if test -n "$ac_ct_STRIP"; then
   2395   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2396 else
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402   for ac_exec_ext in '' $ac_executable_extensions; do
   2403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2404     ac_cv_prog_ac_ct_STRIP="strip"
   2405     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2406     break 2
   2407   fi
   2408 done
   2409 done
   2410 IFS=$as_save_IFS
   2411 
   2412 fi
   2413 fi
   2414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2415 if test -n "$ac_ct_STRIP"; then
   2416   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2417 $as_echo "$ac_ct_STRIP" >&6; }
   2418 else
   2419   { $as_echo "$as_me:$LINENO: result: no" >&5
   2420 $as_echo "no" >&6; }
   2421 fi
   2422 
   2423   if test "x$ac_ct_STRIP" = x; then
   2424     STRIP=":"
   2425   else
   2426     case $cross_compiling:$ac_tool_warned in
   2427 yes:)
   2428 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2430 ac_tool_warned=yes ;;
   2431 esac
   2432     STRIP=$ac_ct_STRIP
   2433   fi
   2434 else
   2435   STRIP="$ac_cv_prog_STRIP"
   2436 fi
   2437 
   2438 fi
   2439 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2440 
   2441 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2442 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2443 if test -z "$MKDIR_P"; then
   2444   if test "${ac_cv_path_mkdir+set}" = set; then
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2449 do
   2450   IFS=$as_save_IFS
   2451   test -z "$as_dir" && as_dir=.
   2452   for ac_prog in mkdir gmkdir; do
   2453 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2454 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2455 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2456 	     'mkdir (GNU coreutils) '* | \
   2457 	     'mkdir (coreutils) '* | \
   2458 	     'mkdir (fileutils) '4.1*)
   2459 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2460 	       break 3;;
   2461 	   esac
   2462 	 done
   2463        done
   2464 done
   2465 IFS=$as_save_IFS
   2466 
   2467 fi
   2468 
   2469   if test "${ac_cv_path_mkdir+set}" = set; then
   2470     MKDIR_P="$ac_cv_path_mkdir -p"
   2471   else
   2472     # As a last resort, use the slow shell script.  Don't cache a
   2473     # value for MKDIR_P within a source directory, because that will
   2474     # break other packages using the cache if that directory is
   2475     # removed, or if the value is a relative name.
   2476     test -d ./--version && rmdir ./--version
   2477     MKDIR_P="$ac_install_sh -d"
   2478   fi
   2479 fi
   2480 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2481 $as_echo "$MKDIR_P" >&6; }
   2482 
   2483 mkdir_p="$MKDIR_P"
   2484 case $mkdir_p in
   2485   [\\/$]* | ?:[\\/]*) ;;
   2486   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2487 esac
   2488 
   2489 for ac_prog in gawk mawk nawk awk
   2490 do
   2491   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2492 set dummy $ac_prog; ac_word=$2
   2493 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2494 $as_echo_n "checking for $ac_word... " >&6; }
   2495 if test "${ac_cv_prog_AWK+set}" = set; then
   2496   $as_echo_n "(cached) " >&6
   2497 else
   2498   if test -n "$AWK"; then
   2499   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2500 else
   2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2502 for as_dir in $PATH
   2503 do
   2504   IFS=$as_save_IFS
   2505   test -z "$as_dir" && as_dir=.
   2506   for ac_exec_ext in '' $ac_executable_extensions; do
   2507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2508     ac_cv_prog_AWK="$ac_prog"
   2509     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2510     break 2
   2511   fi
   2512 done
   2513 done
   2514 IFS=$as_save_IFS
   2515 
   2516 fi
   2517 fi
   2518 AWK=$ac_cv_prog_AWK
   2519 if test -n "$AWK"; then
   2520   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2521 $as_echo "$AWK" >&6; }
   2522 else
   2523   { $as_echo "$as_me:$LINENO: result: no" >&5
   2524 $as_echo "no" >&6; }
   2525 fi
   2526 
   2527 
   2528   test -n "$AWK" && break
   2529 done
   2530 
   2531 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2532 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2533 set x ${MAKE-make}
   2534 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2535 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2536   $as_echo_n "(cached) " >&6
   2537 else
   2538   cat >conftest.make <<\_ACEOF
   2539 SHELL = /bin/sh
   2540 all:
   2541 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2542 _ACEOF
   2543 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2544 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2545   *@@@%%%=?*=@@@%%%*)
   2546     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2547   *)
   2548     eval ac_cv_prog_make_${ac_make}_set=no;;
   2549 esac
   2550 rm -f conftest.make
   2551 fi
   2552 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2553   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2554 $as_echo "yes" >&6; }
   2555   SET_MAKE=
   2556 else
   2557   { $as_echo "$as_me:$LINENO: result: no" >&5
   2558 $as_echo "no" >&6; }
   2559   SET_MAKE="MAKE=${MAKE-make}"
   2560 fi
   2561 
   2562 rm -rf .tst 2>/dev/null
   2563 mkdir .tst 2>/dev/null
   2564 if test -d .tst; then
   2565   am__leading_dot=.
   2566 else
   2567   am__leading_dot=_
   2568 fi
   2569 rmdir .tst 2>/dev/null
   2570 
   2571 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2572   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2573   # is not polluted with repeated "-I."
   2574   am__isrc=' -I$(srcdir)'
   2575   # test to see if srcdir already configured
   2576   if test -f $srcdir/config.status; then
   2577     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2578 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2579    { (exit 1); exit 1; }; }
   2580   fi
   2581 fi
   2582 
   2583 # test whether we have cygpath
   2584 if test -z "$CYGPATH_W"; then
   2585   if (cygpath --version) >/dev/null 2>/dev/null; then
   2586     CYGPATH_W='cygpath -w'
   2587   else
   2588     CYGPATH_W=echo
   2589   fi
   2590 fi
   2591 
   2592 
   2593 # Define the identity of the package.
   2594  PACKAGE='xf86-video-openchrome'
   2595  VERSION='0.2.904'
   2596 
   2597 
   2598 cat >>confdefs.h <<_ACEOF
   2599 #define PACKAGE "$PACKAGE"
   2600 _ACEOF
   2601 
   2602 
   2603 cat >>confdefs.h <<_ACEOF
   2604 #define VERSION "$VERSION"
   2605 _ACEOF
   2606 
   2607 # Some tools Automake needs.
   2608 
   2609 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2610 
   2611 
   2612 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2613 
   2614 
   2615 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2616 
   2617 
   2618 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2619 
   2620 
   2621 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2622 
   2623 # We need awk for the "check" target.  The system "awk" is bad on
   2624 # some platforms.
   2625 # Always define AMTAR for backward compatibility.
   2626 
   2627 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2628 
   2629 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2638 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2639     # Check whether --enable-maintainer-mode was given.
   2640 if test "${enable_maintainer_mode+set}" = set; then
   2641   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2642 else
   2643   USE_MAINTAINER_MODE=no
   2644 fi
   2645 
   2646   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2647 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2648    if test $USE_MAINTAINER_MODE = yes; then
   2649   MAINTAINER_MODE_TRUE=
   2650   MAINTAINER_MODE_FALSE='#'
   2651 else
   2652   MAINTAINER_MODE_TRUE='#'
   2653   MAINTAINER_MODE_FALSE=
   2654 fi
   2655 
   2656   MAINT=$MAINTAINER_MODE_TRUE
   2657 
   2658 
   2659 
   2660 # Checks for programs.
   2661 # Check whether --enable-static was given.
   2662 if test "${enable_static+set}" = set; then
   2663   enableval=$enable_static; p=${PACKAGE-default}
   2664     case $enableval in
   2665     yes) enable_static=yes ;;
   2666     no) enable_static=no ;;
   2667     *)
   2668      enable_static=no
   2669       # Look at the argument we got.  We use all the common list separators.
   2670       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2671       for pkg in $enableval; do
   2672 	IFS="$lt_save_ifs"
   2673 	if test "X$pkg" = "X$p"; then
   2674 	  enable_static=yes
   2675 	fi
   2676       done
   2677       IFS="$lt_save_ifs"
   2678       ;;
   2679     esac
   2680 else
   2681   enable_static=no
   2682 fi
   2683 
   2684 
   2685 
   2686 # Check whether --enable-shared was given.
   2687 if test "${enable_shared+set}" = set; then
   2688   enableval=$enable_shared; p=${PACKAGE-default}
   2689     case $enableval in
   2690     yes) enable_shared=yes ;;
   2691     no) enable_shared=no ;;
   2692     *)
   2693       enable_shared=no
   2694       # Look at the argument we got.  We use all the common list separators.
   2695       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2696       for pkg in $enableval; do
   2697 	IFS="$lt_save_ifs"
   2698 	if test "X$pkg" = "X$p"; then
   2699 	  enable_shared=yes
   2700 	fi
   2701       done
   2702       IFS="$lt_save_ifs"
   2703       ;;
   2704     esac
   2705 else
   2706   enable_shared=yes
   2707 fi
   2708 
   2709 
   2710 # Check whether --enable-fast-install was given.
   2711 if test "${enable_fast_install+set}" = set; then
   2712   enableval=$enable_fast_install; p=${PACKAGE-default}
   2713     case $enableval in
   2714     yes) enable_fast_install=yes ;;
   2715     no) enable_fast_install=no ;;
   2716     *)
   2717       enable_fast_install=no
   2718       # Look at the argument we got.  We use all the common list separators.
   2719       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2720       for pkg in $enableval; do
   2721 	IFS="$lt_save_ifs"
   2722 	if test "X$pkg" = "X$p"; then
   2723 	  enable_fast_install=yes
   2724 	fi
   2725       done
   2726       IFS="$lt_save_ifs"
   2727       ;;
   2728     esac
   2729 else
   2730   enable_fast_install=yes
   2731 fi
   2732 
   2733 
   2734 # Make sure we can run config.sub.
   2735 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2736   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2737 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2738    { (exit 1); exit 1; }; }
   2739 
   2740 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2741 $as_echo_n "checking build system type... " >&6; }
   2742 if test "${ac_cv_build+set}" = set; then
   2743   $as_echo_n "(cached) " >&6
   2744 else
   2745   ac_build_alias=$build_alias
   2746 test "x$ac_build_alias" = x &&
   2747   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2748 test "x$ac_build_alias" = x &&
   2749   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2750 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2751    { (exit 1); exit 1; }; }
   2752 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2753   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2754 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2755    { (exit 1); exit 1; }; }
   2756 
   2757 fi
   2758 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2759 $as_echo "$ac_cv_build" >&6; }
   2760 case $ac_cv_build in
   2761 *-*-*) ;;
   2762 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2763 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2764    { (exit 1); exit 1; }; };;
   2765 esac
   2766 build=$ac_cv_build
   2767 ac_save_IFS=$IFS; IFS='-'
   2768 set x $ac_cv_build
   2769 shift
   2770 build_cpu=$1
   2771 build_vendor=$2
   2772 shift; shift
   2773 # Remember, the first character of IFS is used to create $*,
   2774 # except with old shells:
   2775 build_os=$*
   2776 IFS=$ac_save_IFS
   2777 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2778 
   2779 
   2780 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2781 $as_echo_n "checking host system type... " >&6; }
   2782 if test "${ac_cv_host+set}" = set; then
   2783   $as_echo_n "(cached) " >&6
   2784 else
   2785   if test "x$host_alias" = x; then
   2786   ac_cv_host=$ac_cv_build
   2787 else
   2788   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2789     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2790 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2791    { (exit 1); exit 1; }; }
   2792 fi
   2793 
   2794 fi
   2795 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2796 $as_echo "$ac_cv_host" >&6; }
   2797 case $ac_cv_host in
   2798 *-*-*) ;;
   2799 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2800 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2801    { (exit 1); exit 1; }; };;
   2802 esac
   2803 host=$ac_cv_host
   2804 ac_save_IFS=$IFS; IFS='-'
   2805 set x $ac_cv_host
   2806 shift
   2807 host_cpu=$1
   2808 host_vendor=$2
   2809 shift; shift
   2810 # Remember, the first character of IFS is used to create $*,
   2811 # except with old shells:
   2812 host_os=$*
   2813 IFS=$ac_save_IFS
   2814 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2815 
   2816 
   2817 DEPDIR="${am__leading_dot}deps"
   2818 
   2819 ac_config_commands="$ac_config_commands depfiles"
   2820 
   2821 
   2822 am_make=${MAKE-make}
   2823 cat > confinc << 'END'
   2824 am__doit:
   2825 	@echo this is the am__doit target
   2826 .PHONY: am__doit
   2827 END
   2828 # If we don't find an include directive, just comment out the code.
   2829 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2830 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2831 am__include="#"
   2832 am__quote=
   2833 _am_result=none
   2834 # First try GNU make style include.
   2835 echo "include confinc" > confmf
   2836 # Ignore all kinds of additional output from `make'.
   2837 case `$am_make -s -f confmf 2> /dev/null` in #(
   2838 *the\ am__doit\ target*)
   2839   am__include=include
   2840   am__quote=
   2841   _am_result=GNU
   2842   ;;
   2843 esac
   2844 # Now try BSD make style include.
   2845 if test "$am__include" = "#"; then
   2846    echo '.include "confinc"' > confmf
   2847    case `$am_make -s -f confmf 2> /dev/null` in #(
   2848    *the\ am__doit\ target*)
   2849      am__include=.include
   2850      am__quote="\""
   2851      _am_result=BSD
   2852      ;;
   2853    esac
   2854 fi
   2855 
   2856 
   2857 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2858 $as_echo "$_am_result" >&6; }
   2859 rm -f confinc confmf
   2860 
   2861 # Check whether --enable-dependency-tracking was given.
   2862 if test "${enable_dependency_tracking+set}" = set; then
   2863   enableval=$enable_dependency_tracking;
   2864 fi
   2865 
   2866 if test "x$enable_dependency_tracking" != xno; then
   2867   am_depcomp="$ac_aux_dir/depcomp"
   2868   AMDEPBACKSLASH='\'
   2869 fi
   2870  if test "x$enable_dependency_tracking" != xno; then
   2871   AMDEP_TRUE=
   2872   AMDEP_FALSE='#'
   2873 else
   2874   AMDEP_TRUE='#'
   2875   AMDEP_FALSE=
   2876 fi
   2877 
   2878 
   2879 ac_ext=c
   2880 ac_cpp='$CPP $CPPFLAGS'
   2881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2884 if test -n "$ac_tool_prefix"; then
   2885   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2886 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2888 $as_echo_n "checking for $ac_word... " >&6; }
   2889 if test "${ac_cv_prog_CC+set}" = set; then
   2890   $as_echo_n "(cached) " >&6
   2891 else
   2892   if test -n "$CC"; then
   2893   ac_cv_prog_CC="$CC" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   test -z "$as_dir" && as_dir=.
   2900   for ac_exec_ext in '' $ac_executable_extensions; do
   2901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2902     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2903     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2904     break 2
   2905   fi
   2906 done
   2907 done
   2908 IFS=$as_save_IFS
   2909 
   2910 fi
   2911 fi
   2912 CC=$ac_cv_prog_CC
   2913 if test -n "$CC"; then
   2914   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2915 $as_echo "$CC" >&6; }
   2916 else
   2917   { $as_echo "$as_me:$LINENO: result: no" >&5
   2918 $as_echo "no" >&6; }
   2919 fi
   2920 
   2921 
   2922 fi
   2923 if test -z "$ac_cv_prog_CC"; then
   2924   ac_ct_CC=$CC
   2925   # Extract the first word of "gcc", so it can be a program name with args.
   2926 set dummy gcc; ac_word=$2
   2927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2928 $as_echo_n "checking for $ac_word... " >&6; }
   2929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2930   $as_echo_n "(cached) " >&6
   2931 else
   2932   if test -n "$ac_ct_CC"; then
   2933   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2934 else
   2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2936 for as_dir in $PATH
   2937 do
   2938   IFS=$as_save_IFS
   2939   test -z "$as_dir" && as_dir=.
   2940   for ac_exec_ext in '' $ac_executable_extensions; do
   2941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2942     ac_cv_prog_ac_ct_CC="gcc"
   2943     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2944     break 2
   2945   fi
   2946 done
   2947 done
   2948 IFS=$as_save_IFS
   2949 
   2950 fi
   2951 fi
   2952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2953 if test -n "$ac_ct_CC"; then
   2954   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2955 $as_echo "$ac_ct_CC" >&6; }
   2956 else
   2957   { $as_echo "$as_me:$LINENO: result: no" >&5
   2958 $as_echo "no" >&6; }
   2959 fi
   2960 
   2961   if test "x$ac_ct_CC" = x; then
   2962     CC=""
   2963   else
   2964     case $cross_compiling:$ac_tool_warned in
   2965 yes:)
   2966 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2968 ac_tool_warned=yes ;;
   2969 esac
   2970     CC=$ac_ct_CC
   2971   fi
   2972 else
   2973   CC="$ac_cv_prog_CC"
   2974 fi
   2975 
   2976 if test -z "$CC"; then
   2977           if test -n "$ac_tool_prefix"; then
   2978     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2979 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2981 $as_echo_n "checking for $ac_word... " >&6; }
   2982 if test "${ac_cv_prog_CC+set}" = set; then
   2983   $as_echo_n "(cached) " >&6
   2984 else
   2985   if test -n "$CC"; then
   2986   ac_cv_prog_CC="$CC" # Let the user override the test.
   2987 else
   2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2989 for as_dir in $PATH
   2990 do
   2991   IFS=$as_save_IFS
   2992   test -z "$as_dir" && as_dir=.
   2993   for ac_exec_ext in '' $ac_executable_extensions; do
   2994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2995     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2996     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2997     break 2
   2998   fi
   2999 done
   3000 done
   3001 IFS=$as_save_IFS
   3002 
   3003 fi
   3004 fi
   3005 CC=$ac_cv_prog_CC
   3006 if test -n "$CC"; then
   3007   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3008 $as_echo "$CC" >&6; }
   3009 else
   3010   { $as_echo "$as_me:$LINENO: result: no" >&5
   3011 $as_echo "no" >&6; }
   3012 fi
   3013 
   3014 
   3015   fi
   3016 fi
   3017 if test -z "$CC"; then
   3018   # Extract the first word of "cc", so it can be a program name with args.
   3019 set dummy cc; ac_word=$2
   3020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3021 $as_echo_n "checking for $ac_word... " >&6; }
   3022 if test "${ac_cv_prog_CC+set}" = set; then
   3023   $as_echo_n "(cached) " >&6
   3024 else
   3025   if test -n "$CC"; then
   3026   ac_cv_prog_CC="$CC" # Let the user override the test.
   3027 else
   3028   ac_prog_rejected=no
   3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3030 for as_dir in $PATH
   3031 do
   3032   IFS=$as_save_IFS
   3033   test -z "$as_dir" && as_dir=.
   3034   for ac_exec_ext in '' $ac_executable_extensions; do
   3035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3036     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3037        ac_prog_rejected=yes
   3038        continue
   3039      fi
   3040     ac_cv_prog_CC="cc"
   3041     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045 done
   3046 IFS=$as_save_IFS
   3047 
   3048 if test $ac_prog_rejected = yes; then
   3049   # We found a bogon in the path, so make sure we never use it.
   3050   set dummy $ac_cv_prog_CC
   3051   shift
   3052   if test $# != 0; then
   3053     # We chose a different compiler from the bogus one.
   3054     # However, it has the same basename, so the bogon will be chosen
   3055     # first if we set CC to just the basename; use the full file name.
   3056     shift
   3057     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3058   fi
   3059 fi
   3060 fi
   3061 fi
   3062 CC=$ac_cv_prog_CC
   3063 if test -n "$CC"; then
   3064   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3065 $as_echo "$CC" >&6; }
   3066 else
   3067   { $as_echo "$as_me:$LINENO: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072 fi
   3073 if test -z "$CC"; then
   3074   if test -n "$ac_tool_prefix"; then
   3075   for ac_prog in cl.exe
   3076   do
   3077     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3080 $as_echo_n "checking for $ac_word... " >&6; }
   3081 if test "${ac_cv_prog_CC+set}" = set; then
   3082   $as_echo_n "(cached) " >&6
   3083 else
   3084   if test -n "$CC"; then
   3085   ac_cv_prog_CC="$CC" # Let the user override the test.
   3086 else
   3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3088 for as_dir in $PATH
   3089 do
   3090   IFS=$as_save_IFS
   3091   test -z "$as_dir" && as_dir=.
   3092   for ac_exec_ext in '' $ac_executable_extensions; do
   3093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3094     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3096     break 2
   3097   fi
   3098 done
   3099 done
   3100 IFS=$as_save_IFS
   3101 
   3102 fi
   3103 fi
   3104 CC=$ac_cv_prog_CC
   3105 if test -n "$CC"; then
   3106   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3107 $as_echo "$CC" >&6; }
   3108 else
   3109   { $as_echo "$as_me:$LINENO: result: no" >&5
   3110 $as_echo "no" >&6; }
   3111 fi
   3112 
   3113 
   3114     test -n "$CC" && break
   3115   done
   3116 fi
   3117 if test -z "$CC"; then
   3118   ac_ct_CC=$CC
   3119   for ac_prog in cl.exe
   3120 do
   3121   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3122 set dummy $ac_prog; ac_word=$2
   3123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3124 $as_echo_n "checking for $ac_word... " >&6; }
   3125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3126   $as_echo_n "(cached) " >&6
   3127 else
   3128   if test -n "$ac_ct_CC"; then
   3129   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3130 else
   3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3132 for as_dir in $PATH
   3133 do
   3134   IFS=$as_save_IFS
   3135   test -z "$as_dir" && as_dir=.
   3136   for ac_exec_ext in '' $ac_executable_extensions; do
   3137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3138     ac_cv_prog_ac_ct_CC="$ac_prog"
   3139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3140     break 2
   3141   fi
   3142 done
   3143 done
   3144 IFS=$as_save_IFS
   3145 
   3146 fi
   3147 fi
   3148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3149 if test -n "$ac_ct_CC"; then
   3150   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3151 $as_echo "$ac_ct_CC" >&6; }
   3152 else
   3153   { $as_echo "$as_me:$LINENO: result: no" >&5
   3154 $as_echo "no" >&6; }
   3155 fi
   3156 
   3157 
   3158   test -n "$ac_ct_CC" && break
   3159 done
   3160 
   3161   if test "x$ac_ct_CC" = x; then
   3162     CC=""
   3163   else
   3164     case $cross_compiling:$ac_tool_warned in
   3165 yes:)
   3166 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3168 ac_tool_warned=yes ;;
   3169 esac
   3170     CC=$ac_ct_CC
   3171   fi
   3172 fi
   3173 
   3174 fi
   3175 
   3176 
   3177 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3179 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3180 See \`config.log' for more details." >&5
   3181 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3182 See \`config.log' for more details." >&2;}
   3183    { (exit 1); exit 1; }; }; }
   3184 
   3185 # Provide some information about the compiler.
   3186 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3187 set X $ac_compile
   3188 ac_compiler=$2
   3189 { (ac_try="$ac_compiler --version >&5"
   3190 case "(($ac_try" in
   3191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3192   *) ac_try_echo=$ac_try;;
   3193 esac
   3194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3195 $as_echo "$ac_try_echo") >&5
   3196   (eval "$ac_compiler --version >&5") 2>&5
   3197   ac_status=$?
   3198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3199   (exit $ac_status); }
   3200 { (ac_try="$ac_compiler -v >&5"
   3201 case "(($ac_try" in
   3202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3203   *) ac_try_echo=$ac_try;;
   3204 esac
   3205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3206 $as_echo "$ac_try_echo") >&5
   3207   (eval "$ac_compiler -v >&5") 2>&5
   3208   ac_status=$?
   3209   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3210   (exit $ac_status); }
   3211 { (ac_try="$ac_compiler -V >&5"
   3212 case "(($ac_try" in
   3213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3214   *) ac_try_echo=$ac_try;;
   3215 esac
   3216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3217 $as_echo "$ac_try_echo") >&5
   3218   (eval "$ac_compiler -V >&5") 2>&5
   3219   ac_status=$?
   3220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3221   (exit $ac_status); }
   3222 
   3223 cat >conftest.$ac_ext <<_ACEOF
   3224 /* confdefs.h.  */
   3225 _ACEOF
   3226 cat confdefs.h >>conftest.$ac_ext
   3227 cat >>conftest.$ac_ext <<_ACEOF
   3228 /* end confdefs.h.  */
   3229 
   3230 int
   3231 main ()
   3232 {
   3233 
   3234   ;
   3235   return 0;
   3236 }
   3237 _ACEOF
   3238 ac_clean_files_save=$ac_clean_files
   3239 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3240 # Try to create an executable without -o first, disregard a.out.
   3241 # It will help us diagnose broken compilers, and finding out an intuition
   3242 # of exeext.
   3243 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3244 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3245 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3246 
   3247 # The possible output files:
   3248 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3249 
   3250 ac_rmfiles=
   3251 for ac_file in $ac_files
   3252 do
   3253   case $ac_file in
   3254     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3255     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3256   esac
   3257 done
   3258 rm -f $ac_rmfiles
   3259 
   3260 if { (ac_try="$ac_link_default"
   3261 case "(($ac_try" in
   3262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3263   *) ac_try_echo=$ac_try;;
   3264 esac
   3265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3266 $as_echo "$ac_try_echo") >&5
   3267   (eval "$ac_link_default") 2>&5
   3268   ac_status=$?
   3269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3270   (exit $ac_status); }; then
   3271   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3272 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3273 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3274 # so that the user can short-circuit this test for compilers unknown to
   3275 # Autoconf.
   3276 for ac_file in $ac_files ''
   3277 do
   3278   test -f "$ac_file" || continue
   3279   case $ac_file in
   3280     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3281 	;;
   3282     [ab].out )
   3283 	# We found the default executable, but exeext='' is most
   3284 	# certainly right.
   3285 	break;;
   3286     *.* )
   3287         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3288 	then :; else
   3289 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3290 	fi
   3291 	# We set ac_cv_exeext here because the later test for it is not
   3292 	# safe: cross compilers may not add the suffix if given an `-o'
   3293 	# argument, so we may need to know it at that point already.
   3294 	# Even if this section looks crufty: it has the advantage of
   3295 	# actually working.
   3296 	break;;
   3297     * )
   3298 	break;;
   3299   esac
   3300 done
   3301 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3302 
   3303 else
   3304   ac_file=''
   3305 fi
   3306 
   3307 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3308 $as_echo "$ac_file" >&6; }
   3309 if test -z "$ac_file"; then
   3310   $as_echo "$as_me: failed program was:" >&5
   3311 sed 's/^/| /' conftest.$ac_ext >&5
   3312 
   3313 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3315 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3316 See \`config.log' for more details." >&5
   3317 $as_echo "$as_me: error: C compiler cannot create executables
   3318 See \`config.log' for more details." >&2;}
   3319    { (exit 77); exit 77; }; }; }
   3320 fi
   3321 
   3322 ac_exeext=$ac_cv_exeext
   3323 
   3324 # Check that the compiler produces executables we can run.  If not, either
   3325 # the compiler is broken, or we cross compile.
   3326 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3327 $as_echo_n "checking whether the C compiler works... " >&6; }
   3328 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3329 # If not cross compiling, check that we can run a simple program.
   3330 if test "$cross_compiling" != yes; then
   3331   if { ac_try='./$ac_file'
   3332   { (case "(($ac_try" in
   3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3334   *) ac_try_echo=$ac_try;;
   3335 esac
   3336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3337 $as_echo "$ac_try_echo") >&5
   3338   (eval "$ac_try") 2>&5
   3339   ac_status=$?
   3340   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3341   (exit $ac_status); }; }; then
   3342     cross_compiling=no
   3343   else
   3344     if test "$cross_compiling" = maybe; then
   3345 	cross_compiling=yes
   3346     else
   3347 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3349 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3350 If you meant to cross compile, use \`--host'.
   3351 See \`config.log' for more details." >&5
   3352 $as_echo "$as_me: error: cannot run C compiled programs.
   3353 If you meant to cross compile, use \`--host'.
   3354 See \`config.log' for more details." >&2;}
   3355    { (exit 1); exit 1; }; }; }
   3356     fi
   3357   fi
   3358 fi
   3359 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3360 $as_echo "yes" >&6; }
   3361 
   3362 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3363 ac_clean_files=$ac_clean_files_save
   3364 # Check that the compiler produces executables we can run.  If not, either
   3365 # the compiler is broken, or we cross compile.
   3366 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3367 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3368 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3369 $as_echo "$cross_compiling" >&6; }
   3370 
   3371 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3372 $as_echo_n "checking for suffix of executables... " >&6; }
   3373 if { (ac_try="$ac_link"
   3374 case "(($ac_try" in
   3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3376   *) ac_try_echo=$ac_try;;
   3377 esac
   3378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3379 $as_echo "$ac_try_echo") >&5
   3380   (eval "$ac_link") 2>&5
   3381   ac_status=$?
   3382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3383   (exit $ac_status); }; then
   3384   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3385 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3386 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3387 # `rm'.
   3388 for ac_file in conftest.exe conftest conftest.*; do
   3389   test -f "$ac_file" || continue
   3390   case $ac_file in
   3391     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3392     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3393 	  break;;
   3394     * ) break;;
   3395   esac
   3396 done
   3397 else
   3398   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3400 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3401 See \`config.log' for more details." >&5
   3402 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3403 See \`config.log' for more details." >&2;}
   3404    { (exit 1); exit 1; }; }; }
   3405 fi
   3406 
   3407 rm -f conftest$ac_cv_exeext
   3408 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3409 $as_echo "$ac_cv_exeext" >&6; }
   3410 
   3411 rm -f conftest.$ac_ext
   3412 EXEEXT=$ac_cv_exeext
   3413 ac_exeext=$EXEEXT
   3414 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3415 $as_echo_n "checking for suffix of object files... " >&6; }
   3416 if test "${ac_cv_objext+set}" = set; then
   3417   $as_echo_n "(cached) " >&6
   3418 else
   3419   cat >conftest.$ac_ext <<_ACEOF
   3420 /* confdefs.h.  */
   3421 _ACEOF
   3422 cat confdefs.h >>conftest.$ac_ext
   3423 cat >>conftest.$ac_ext <<_ACEOF
   3424 /* end confdefs.h.  */
   3425 
   3426 int
   3427 main ()
   3428 {
   3429 
   3430   ;
   3431   return 0;
   3432 }
   3433 _ACEOF
   3434 rm -f conftest.o conftest.obj
   3435 if { (ac_try="$ac_compile"
   3436 case "(($ac_try" in
   3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3438   *) ac_try_echo=$ac_try;;
   3439 esac
   3440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3441 $as_echo "$ac_try_echo") >&5
   3442   (eval "$ac_compile") 2>&5
   3443   ac_status=$?
   3444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3445   (exit $ac_status); }; then
   3446   for ac_file in conftest.o conftest.obj conftest.*; do
   3447   test -f "$ac_file" || continue;
   3448   case $ac_file in
   3449     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3450     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3451        break;;
   3452   esac
   3453 done
   3454 else
   3455   $as_echo "$as_me: failed program was:" >&5
   3456 sed 's/^/| /' conftest.$ac_ext >&5
   3457 
   3458 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3460 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3461 See \`config.log' for more details." >&5
   3462 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3463 See \`config.log' for more details." >&2;}
   3464    { (exit 1); exit 1; }; }; }
   3465 fi
   3466 
   3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3468 fi
   3469 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3470 $as_echo "$ac_cv_objext" >&6; }
   3471 OBJEXT=$ac_cv_objext
   3472 ac_objext=$OBJEXT
   3473 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3475 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   cat >conftest.$ac_ext <<_ACEOF
   3479 /* confdefs.h.  */
   3480 _ACEOF
   3481 cat confdefs.h >>conftest.$ac_ext
   3482 cat >>conftest.$ac_ext <<_ACEOF
   3483 /* end confdefs.h.  */
   3484 
   3485 int
   3486 main ()
   3487 {
   3488 #ifndef __GNUC__
   3489        choke me
   3490 #endif
   3491 
   3492   ;
   3493   return 0;
   3494 }
   3495 _ACEOF
   3496 rm -f conftest.$ac_objext
   3497 if { (ac_try="$ac_compile"
   3498 case "(($ac_try" in
   3499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3500   *) ac_try_echo=$ac_try;;
   3501 esac
   3502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3503 $as_echo "$ac_try_echo") >&5
   3504   (eval "$ac_compile") 2>conftest.er1
   3505   ac_status=$?
   3506   grep -v '^ *+' conftest.er1 >conftest.err
   3507   rm -f conftest.er1
   3508   cat conftest.err >&5
   3509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3510   (exit $ac_status); } && {
   3511 	 test -z "$ac_c_werror_flag" ||
   3512 	 test ! -s conftest.err
   3513        } && test -s conftest.$ac_objext; then
   3514   ac_compiler_gnu=yes
   3515 else
   3516   $as_echo "$as_me: failed program was:" >&5
   3517 sed 's/^/| /' conftest.$ac_ext >&5
   3518 
   3519 	ac_compiler_gnu=no
   3520 fi
   3521 
   3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3524 
   3525 fi
   3526 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3527 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3528 if test $ac_compiler_gnu = yes; then
   3529   GCC=yes
   3530 else
   3531   GCC=
   3532 fi
   3533 ac_test_CFLAGS=${CFLAGS+set}
   3534 ac_save_CFLAGS=$CFLAGS
   3535 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3536 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3537 if test "${ac_cv_prog_cc_g+set}" = set; then
   3538   $as_echo_n "(cached) " >&6
   3539 else
   3540   ac_save_c_werror_flag=$ac_c_werror_flag
   3541    ac_c_werror_flag=yes
   3542    ac_cv_prog_cc_g=no
   3543    CFLAGS="-g"
   3544    cat >conftest.$ac_ext <<_ACEOF
   3545 /* confdefs.h.  */
   3546 _ACEOF
   3547 cat confdefs.h >>conftest.$ac_ext
   3548 cat >>conftest.$ac_ext <<_ACEOF
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 
   3555   ;
   3556   return 0;
   3557 }
   3558 _ACEOF
   3559 rm -f conftest.$ac_objext
   3560 if { (ac_try="$ac_compile"
   3561 case "(($ac_try" in
   3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3563   *) ac_try_echo=$ac_try;;
   3564 esac
   3565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3566 $as_echo "$ac_try_echo") >&5
   3567   (eval "$ac_compile") 2>conftest.er1
   3568   ac_status=$?
   3569   grep -v '^ *+' conftest.er1 >conftest.err
   3570   rm -f conftest.er1
   3571   cat conftest.err >&5
   3572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3573   (exit $ac_status); } && {
   3574 	 test -z "$ac_c_werror_flag" ||
   3575 	 test ! -s conftest.err
   3576        } && test -s conftest.$ac_objext; then
   3577   ac_cv_prog_cc_g=yes
   3578 else
   3579   $as_echo "$as_me: failed program was:" >&5
   3580 sed 's/^/| /' conftest.$ac_ext >&5
   3581 
   3582 	CFLAGS=""
   3583       cat >conftest.$ac_ext <<_ACEOF
   3584 /* confdefs.h.  */
   3585 _ACEOF
   3586 cat confdefs.h >>conftest.$ac_ext
   3587 cat >>conftest.$ac_ext <<_ACEOF
   3588 /* end confdefs.h.  */
   3589 
   3590 int
   3591 main ()
   3592 {
   3593 
   3594   ;
   3595   return 0;
   3596 }
   3597 _ACEOF
   3598 rm -f conftest.$ac_objext
   3599 if { (ac_try="$ac_compile"
   3600 case "(($ac_try" in
   3601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3602   *) ac_try_echo=$ac_try;;
   3603 esac
   3604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3605 $as_echo "$ac_try_echo") >&5
   3606   (eval "$ac_compile") 2>conftest.er1
   3607   ac_status=$?
   3608   grep -v '^ *+' conftest.er1 >conftest.err
   3609   rm -f conftest.er1
   3610   cat conftest.err >&5
   3611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3612   (exit $ac_status); } && {
   3613 	 test -z "$ac_c_werror_flag" ||
   3614 	 test ! -s conftest.err
   3615        } && test -s conftest.$ac_objext; then
   3616   :
   3617 else
   3618   $as_echo "$as_me: failed program was:" >&5
   3619 sed 's/^/| /' conftest.$ac_ext >&5
   3620 
   3621 	ac_c_werror_flag=$ac_save_c_werror_flag
   3622 	 CFLAGS="-g"
   3623 	 cat >conftest.$ac_ext <<_ACEOF
   3624 /* confdefs.h.  */
   3625 _ACEOF
   3626 cat confdefs.h >>conftest.$ac_ext
   3627 cat >>conftest.$ac_ext <<_ACEOF
   3628 /* end confdefs.h.  */
   3629 
   3630 int
   3631 main ()
   3632 {
   3633 
   3634   ;
   3635   return 0;
   3636 }
   3637 _ACEOF
   3638 rm -f conftest.$ac_objext
   3639 if { (ac_try="$ac_compile"
   3640 case "(($ac_try" in
   3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3642   *) ac_try_echo=$ac_try;;
   3643 esac
   3644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3645 $as_echo "$ac_try_echo") >&5
   3646   (eval "$ac_compile") 2>conftest.er1
   3647   ac_status=$?
   3648   grep -v '^ *+' conftest.er1 >conftest.err
   3649   rm -f conftest.er1
   3650   cat conftest.err >&5
   3651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3652   (exit $ac_status); } && {
   3653 	 test -z "$ac_c_werror_flag" ||
   3654 	 test ! -s conftest.err
   3655        } && test -s conftest.$ac_objext; then
   3656   ac_cv_prog_cc_g=yes
   3657 else
   3658   $as_echo "$as_me: failed program was:" >&5
   3659 sed 's/^/| /' conftest.$ac_ext >&5
   3660 
   3661 
   3662 fi
   3663 
   3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3665 fi
   3666 
   3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3668 fi
   3669 
   3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3671    ac_c_werror_flag=$ac_save_c_werror_flag
   3672 fi
   3673 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3674 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3675 if test "$ac_test_CFLAGS" = set; then
   3676   CFLAGS=$ac_save_CFLAGS
   3677 elif test $ac_cv_prog_cc_g = yes; then
   3678   if test "$GCC" = yes; then
   3679     CFLAGS="-g -O2"
   3680   else
   3681     CFLAGS="-g"
   3682   fi
   3683 else
   3684   if test "$GCC" = yes; then
   3685     CFLAGS="-O2"
   3686   else
   3687     CFLAGS=
   3688   fi
   3689 fi
   3690 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3691 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3692 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3693   $as_echo_n "(cached) " >&6
   3694 else
   3695   ac_cv_prog_cc_c89=no
   3696 ac_save_CC=$CC
   3697 cat >conftest.$ac_ext <<_ACEOF
   3698 /* confdefs.h.  */
   3699 _ACEOF
   3700 cat confdefs.h >>conftest.$ac_ext
   3701 cat >>conftest.$ac_ext <<_ACEOF
   3702 /* end confdefs.h.  */
   3703 #include <stdarg.h>
   3704 #include <stdio.h>
   3705 #include <sys/types.h>
   3706 #include <sys/stat.h>
   3707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3708 struct buf { int x; };
   3709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3710 static char *e (p, i)
   3711      char **p;
   3712      int i;
   3713 {
   3714   return p[i];
   3715 }
   3716 static char *f (char * (*g) (char **, int), char **p, ...)
   3717 {
   3718   char *s;
   3719   va_list v;
   3720   va_start (v,p);
   3721   s = g (p, va_arg (v,int));
   3722   va_end (v);
   3723   return s;
   3724 }
   3725 
   3726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3727    function prototypes and stuff, but not '\xHH' hex character constants.
   3728    These don't provoke an error unfortunately, instead are silently treated
   3729    as 'x'.  The following induces an error, until -std is added to get
   3730    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3731    array size at least.  It's necessary to write '\x00'==0 to get something
   3732    that's true only with -std.  */
   3733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3734 
   3735 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3736    inside strings and character constants.  */
   3737 #define FOO(x) 'x'
   3738 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3739 
   3740 int test (int i, double x);
   3741 struct s1 {int (*f) (int a);};
   3742 struct s2 {int (*f) (double a);};
   3743 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3744 int argc;
   3745 char **argv;
   3746 int
   3747 main ()
   3748 {
   3749 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3750   ;
   3751   return 0;
   3752 }
   3753 _ACEOF
   3754 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3755 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3756 do
   3757   CC="$ac_save_CC $ac_arg"
   3758   rm -f conftest.$ac_objext
   3759 if { (ac_try="$ac_compile"
   3760 case "(($ac_try" in
   3761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3762   *) ac_try_echo=$ac_try;;
   3763 esac
   3764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3765 $as_echo "$ac_try_echo") >&5
   3766   (eval "$ac_compile") 2>conftest.er1
   3767   ac_status=$?
   3768   grep -v '^ *+' conftest.er1 >conftest.err
   3769   rm -f conftest.er1
   3770   cat conftest.err >&5
   3771   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3772   (exit $ac_status); } && {
   3773 	 test -z "$ac_c_werror_flag" ||
   3774 	 test ! -s conftest.err
   3775        } && test -s conftest.$ac_objext; then
   3776   ac_cv_prog_cc_c89=$ac_arg
   3777 else
   3778   $as_echo "$as_me: failed program was:" >&5
   3779 sed 's/^/| /' conftest.$ac_ext >&5
   3780 
   3781 
   3782 fi
   3783 
   3784 rm -f core conftest.err conftest.$ac_objext
   3785   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3786 done
   3787 rm -f conftest.$ac_ext
   3788 CC=$ac_save_CC
   3789 
   3790 fi
   3791 # AC_CACHE_VAL
   3792 case "x$ac_cv_prog_cc_c89" in
   3793   x)
   3794     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3795 $as_echo "none needed" >&6; } ;;
   3796   xno)
   3797     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3798 $as_echo "unsupported" >&6; } ;;
   3799   *)
   3800     CC="$CC $ac_cv_prog_cc_c89"
   3801     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3802 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3803 esac
   3804 
   3805 
   3806 ac_ext=c
   3807 ac_cpp='$CPP $CPPFLAGS'
   3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3811 
   3812 depcc="$CC"   am_compiler_list=
   3813 
   3814 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3816 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3817   $as_echo_n "(cached) " >&6
   3818 else
   3819   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3820   # We make a subdir and do the tests there.  Otherwise we can end up
   3821   # making bogus files that we don't know about and never remove.  For
   3822   # instance it was reported that on HP-UX the gcc test will end up
   3823   # making a dummy file named `D' -- because `-MD' means `put the output
   3824   # in D'.
   3825   mkdir conftest.dir
   3826   # Copy depcomp to subdir because otherwise we won't find it if we're
   3827   # using a relative directory.
   3828   cp "$am_depcomp" conftest.dir
   3829   cd conftest.dir
   3830   # We will build objects and dependencies in a subdirectory because
   3831   # it helps to detect inapplicable dependency modes.  For instance
   3832   # both Tru64's cc and ICC support -MD to output dependencies as a
   3833   # side effect of compilation, but ICC will put the dependencies in
   3834   # the current directory while Tru64 will put them in the object
   3835   # directory.
   3836   mkdir sub
   3837 
   3838   am_cv_CC_dependencies_compiler_type=none
   3839   if test "$am_compiler_list" = ""; then
   3840      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3841   fi
   3842   am__universal=false
   3843   case " $depcc " in #(
   3844      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3845      esac
   3846 
   3847   for depmode in $am_compiler_list; do
   3848     # Setup a source with many dependencies, because some compilers
   3849     # like to wrap large dependency lists on column 80 (with \), and
   3850     # we should not choose a depcomp mode which is confused by this.
   3851     #
   3852     # We need to recreate these files for each test, as the compiler may
   3853     # overwrite some of them when testing with obscure command lines.
   3854     # This happens at least with the AIX C compiler.
   3855     : > sub/conftest.c
   3856     for i in 1 2 3 4 5 6; do
   3857       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3858       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3859       # Solaris 8's {/usr,}/bin/sh.
   3860       touch sub/conftst$i.h
   3861     done
   3862     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3863 
   3864     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3865     # mode.  It turns out that the SunPro C++ compiler does not properly
   3866     # handle `-M -o', and we need to detect this.  Also, some Intel
   3867     # versions had trouble with output in subdirs
   3868     am__obj=sub/conftest.${OBJEXT-o}
   3869     am__minus_obj="-o $am__obj"
   3870     case $depmode in
   3871     gcc)
   3872       # This depmode causes a compiler race in universal mode.
   3873       test "$am__universal" = false || continue
   3874       ;;
   3875     nosideeffect)
   3876       # after this tag, mechanisms are not by side-effect, so they'll
   3877       # only be used when explicitly requested
   3878       if test "x$enable_dependency_tracking" = xyes; then
   3879 	continue
   3880       else
   3881 	break
   3882       fi
   3883       ;;
   3884     msvisualcpp | msvcmsys)
   3885       # This compiler won't grok `-c -o', but also, the minuso test has
   3886       # not run yet.  These depmodes are late enough in the game, and
   3887       # so weak that their functioning should not be impacted.
   3888       am__obj=conftest.${OBJEXT-o}
   3889       am__minus_obj=
   3890       ;;
   3891     none) break ;;
   3892     esac
   3893     if depmode=$depmode \
   3894        source=sub/conftest.c object=$am__obj \
   3895        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3896        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3897          >/dev/null 2>conftest.err &&
   3898        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3899        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3900        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3901        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3902       # icc doesn't choke on unknown options, it will just issue warnings
   3903       # or remarks (even with -Werror).  So we grep stderr for any message
   3904       # that says an option was ignored or not supported.
   3905       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3906       #   icc: Command line warning: ignoring option '-M'; no argument required
   3907       # The diagnosis changed in icc 8.0:
   3908       #   icc: Command line remark: option '-MP' not supported
   3909       if (grep 'ignoring option' conftest.err ||
   3910           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3911         am_cv_CC_dependencies_compiler_type=$depmode
   3912         break
   3913       fi
   3914     fi
   3915   done
   3916 
   3917   cd ..
   3918   rm -rf conftest.dir
   3919 else
   3920   am_cv_CC_dependencies_compiler_type=none
   3921 fi
   3922 
   3923 fi
   3924 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3926 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3927 
   3928  if
   3929   test "x$enable_dependency_tracking" != xno \
   3930   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3931   am__fastdepCC_TRUE=
   3932   am__fastdepCC_FALSE='#'
   3933 else
   3934   am__fastdepCC_TRUE='#'
   3935   am__fastdepCC_FALSE=
   3936 fi
   3937 
   3938 
   3939 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3940 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3941 if test "${lt_cv_path_SED+set}" = set; then
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944   # Loop through the user's path and test for sed and gsed.
   3945 # Then use that list of sed's as ones to test for truncation.
   3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3947 for as_dir in $PATH
   3948 do
   3949   IFS=$as_save_IFS
   3950   test -z "$as_dir" && as_dir=.
   3951   for lt_ac_prog in sed gsed; do
   3952     for ac_exec_ext in '' $ac_executable_extensions; do
   3953       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3954         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3955       fi
   3956     done
   3957   done
   3958 done
   3959 IFS=$as_save_IFS
   3960 lt_ac_max=0
   3961 lt_ac_count=0
   3962 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3963 # along with /bin/sed that truncates output.
   3964 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3965   test ! -f $lt_ac_sed && continue
   3966   cat /dev/null > conftest.in
   3967   lt_ac_count=0
   3968   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3969   # Check for GNU sed and select it if it is found.
   3970   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3971     lt_cv_path_SED=$lt_ac_sed
   3972     break
   3973   fi
   3974   while true; do
   3975     cat conftest.in conftest.in >conftest.tmp
   3976     mv conftest.tmp conftest.in
   3977     cp conftest.in conftest.nl
   3978     echo >>conftest.nl
   3979     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3980     cmp -s conftest.out conftest.nl || break
   3981     # 10000 chars as input seems more than enough
   3982     test $lt_ac_count -gt 10 && break
   3983     lt_ac_count=`expr $lt_ac_count + 1`
   3984     if test $lt_ac_count -gt $lt_ac_max; then
   3985       lt_ac_max=$lt_ac_count
   3986       lt_cv_path_SED=$lt_ac_sed
   3987     fi
   3988   done
   3989 done
   3990 
   3991 fi
   3992 
   3993 SED=$lt_cv_path_SED
   3994 
   3995 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3996 $as_echo "$SED" >&6; }
   3997 
   3998 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3999 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4000 if test "${ac_cv_path_GREP+set}" = set; then
   4001   $as_echo_n "(cached) " >&6
   4002 else
   4003   if test -z "$GREP"; then
   4004   ac_path_GREP_found=false
   4005   # Loop through the user's path and test for each of PROGNAME-LIST
   4006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4008 do
   4009   IFS=$as_save_IFS
   4010   test -z "$as_dir" && as_dir=.
   4011   for ac_prog in grep ggrep; do
   4012     for ac_exec_ext in '' $ac_executable_extensions; do
   4013       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4014       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4015 # Check for GNU ac_path_GREP and select it if it is found.
   4016   # Check for GNU $ac_path_GREP
   4017 case `"$ac_path_GREP" --version 2>&1` in
   4018 *GNU*)
   4019   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4020 *)
   4021   ac_count=0
   4022   $as_echo_n 0123456789 >"conftest.in"
   4023   while :
   4024   do
   4025     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4026     mv "conftest.tmp" "conftest.in"
   4027     cp "conftest.in" "conftest.nl"
   4028     $as_echo 'GREP' >> "conftest.nl"
   4029     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4030     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4031     ac_count=`expr $ac_count + 1`
   4032     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4033       # Best one so far, save it but keep looking for a better one
   4034       ac_cv_path_GREP="$ac_path_GREP"
   4035       ac_path_GREP_max=$ac_count
   4036     fi
   4037     # 10*(2^10) chars as input seems more than enough
   4038     test $ac_count -gt 10 && break
   4039   done
   4040   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4041 esac
   4042 
   4043       $ac_path_GREP_found && break 3
   4044     done
   4045   done
   4046 done
   4047 IFS=$as_save_IFS
   4048   if test -z "$ac_cv_path_GREP"; then
   4049     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4050 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4051    { (exit 1); exit 1; }; }
   4052   fi
   4053 else
   4054   ac_cv_path_GREP=$GREP
   4055 fi
   4056 
   4057 fi
   4058 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4059 $as_echo "$ac_cv_path_GREP" >&6; }
   4060  GREP="$ac_cv_path_GREP"
   4061 
   4062 
   4063 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4064 $as_echo_n "checking for egrep... " >&6; }
   4065 if test "${ac_cv_path_EGREP+set}" = set; then
   4066   $as_echo_n "(cached) " >&6
   4067 else
   4068   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4069    then ac_cv_path_EGREP="$GREP -E"
   4070    else
   4071      if test -z "$EGREP"; then
   4072   ac_path_EGREP_found=false
   4073   # Loop through the user's path and test for each of PROGNAME-LIST
   4074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4075 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4076 do
   4077   IFS=$as_save_IFS
   4078   test -z "$as_dir" && as_dir=.
   4079   for ac_prog in egrep; do
   4080     for ac_exec_ext in '' $ac_executable_extensions; do
   4081       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4082       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4083 # Check for GNU ac_path_EGREP and select it if it is found.
   4084   # Check for GNU $ac_path_EGREP
   4085 case `"$ac_path_EGREP" --version 2>&1` in
   4086 *GNU*)
   4087   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4088 *)
   4089   ac_count=0
   4090   $as_echo_n 0123456789 >"conftest.in"
   4091   while :
   4092   do
   4093     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4094     mv "conftest.tmp" "conftest.in"
   4095     cp "conftest.in" "conftest.nl"
   4096     $as_echo 'EGREP' >> "conftest.nl"
   4097     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4098     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4099     ac_count=`expr $ac_count + 1`
   4100     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4101       # Best one so far, save it but keep looking for a better one
   4102       ac_cv_path_EGREP="$ac_path_EGREP"
   4103       ac_path_EGREP_max=$ac_count
   4104     fi
   4105     # 10*(2^10) chars as input seems more than enough
   4106     test $ac_count -gt 10 && break
   4107   done
   4108   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4109 esac
   4110 
   4111       $ac_path_EGREP_found && break 3
   4112     done
   4113   done
   4114 done
   4115 IFS=$as_save_IFS
   4116   if test -z "$ac_cv_path_EGREP"; then
   4117     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4118 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4119    { (exit 1); exit 1; }; }
   4120   fi
   4121 else
   4122   ac_cv_path_EGREP=$EGREP
   4123 fi
   4124 
   4125    fi
   4126 fi
   4127 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4128 $as_echo "$ac_cv_path_EGREP" >&6; }
   4129  EGREP="$ac_cv_path_EGREP"
   4130 
   4131 
   4132 
   4133 # Check whether --with-gnu-ld was given.
   4134 if test "${with_gnu_ld+set}" = set; then
   4135   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4136 else
   4137   with_gnu_ld=no
   4138 fi
   4139 
   4140 ac_prog=ld
   4141 if test "$GCC" = yes; then
   4142   # Check if gcc -print-prog-name=ld gives a path.
   4143   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4144 $as_echo_n "checking for ld used by $CC... " >&6; }
   4145   case $host in
   4146   *-*-mingw*)
   4147     # gcc leaves a trailing carriage return which upsets mingw
   4148     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4149   *)
   4150     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4151   esac
   4152   case $ac_prog in
   4153     # Accept absolute paths.
   4154     [\\/]* | ?:[\\/]*)
   4155       re_direlt='/[^/][^/]*/\.\./'
   4156       # Canonicalize the pathname of ld
   4157       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4158       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4159 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4160       done
   4161       test -z "$LD" && LD="$ac_prog"
   4162       ;;
   4163   "")
   4164     # If it fails, then pretend we aren't using GCC.
   4165     ac_prog=ld
   4166     ;;
   4167   *)
   4168     # If it is relative, then search for the first ld in PATH.
   4169     with_gnu_ld=unknown
   4170     ;;
   4171   esac
   4172 elif test "$with_gnu_ld" = yes; then
   4173   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4174 $as_echo_n "checking for GNU ld... " >&6; }
   4175 else
   4176   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4177 $as_echo_n "checking for non-GNU ld... " >&6; }
   4178 fi
   4179 if test "${lt_cv_path_LD+set}" = set; then
   4180   $as_echo_n "(cached) " >&6
   4181 else
   4182   if test -z "$LD"; then
   4183   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4184   for ac_dir in $PATH; do
   4185     IFS="$lt_save_ifs"
   4186     test -z "$ac_dir" && ac_dir=.
   4187     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4188       lt_cv_path_LD="$ac_dir/$ac_prog"
   4189       # Check to see if the program is GNU ld.  I'd rather use --version,
   4190       # but apparently some variants of GNU ld only accept -v.
   4191       # Break only if it was the GNU/non-GNU ld that we prefer.
   4192       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4193       *GNU* | *'with BFD'*)
   4194 	test "$with_gnu_ld" != no && break
   4195 	;;
   4196       *)
   4197 	test "$with_gnu_ld" != yes && break
   4198 	;;
   4199       esac
   4200     fi
   4201   done
   4202   IFS="$lt_save_ifs"
   4203 else
   4204   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4205 fi
   4206 fi
   4207 
   4208 LD="$lt_cv_path_LD"
   4209 if test -n "$LD"; then
   4210   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4211 $as_echo "$LD" >&6; }
   4212 else
   4213   { $as_echo "$as_me:$LINENO: result: no" >&5
   4214 $as_echo "no" >&6; }
   4215 fi
   4216 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4217 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4218    { (exit 1); exit 1; }; }
   4219 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4220 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4221 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4225 case `$LD -v 2>&1 </dev/null` in
   4226 *GNU* | *'with BFD'*)
   4227   lt_cv_prog_gnu_ld=yes
   4228   ;;
   4229 *)
   4230   lt_cv_prog_gnu_ld=no
   4231   ;;
   4232 esac
   4233 fi
   4234 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4235 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4236 with_gnu_ld=$lt_cv_prog_gnu_ld
   4237 
   4238 
   4239 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4240 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4241 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4242   $as_echo_n "(cached) " >&6
   4243 else
   4244   lt_cv_ld_reload_flag='-r'
   4245 fi
   4246 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4247 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4248 reload_flag=$lt_cv_ld_reload_flag
   4249 case $reload_flag in
   4250 "" | " "*) ;;
   4251 *) reload_flag=" $reload_flag" ;;
   4252 esac
   4253 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4254 case $host_os in
   4255   darwin*)
   4256     if test "$GCC" = yes; then
   4257       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4258     else
   4259       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4260     fi
   4261     ;;
   4262 esac
   4263 
   4264 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4265 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4266 if test "${lt_cv_path_NM+set}" = set; then
   4267   $as_echo_n "(cached) " >&6
   4268 else
   4269   if test -n "$NM"; then
   4270   # Let the user override the test.
   4271   lt_cv_path_NM="$NM"
   4272 else
   4273   lt_nm_to_check="${ac_tool_prefix}nm"
   4274   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4275     lt_nm_to_check="$lt_nm_to_check nm"
   4276   fi
   4277   for lt_tmp_nm in $lt_nm_to_check; do
   4278     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4279     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4280       IFS="$lt_save_ifs"
   4281       test -z "$ac_dir" && ac_dir=.
   4282       tmp_nm="$ac_dir/$lt_tmp_nm"
   4283       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4284 	# Check to see if the nm accepts a BSD-compat flag.
   4285 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4286 	#   nm: unknown option "B" ignored
   4287 	# Tru64's nm complains that /dev/null is an invalid object file
   4288 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4289 	*/dev/null* | *'Invalid file or object type'*)
   4290 	  lt_cv_path_NM="$tmp_nm -B"
   4291 	  break
   4292 	  ;;
   4293 	*)
   4294 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4295 	  */dev/null*)
   4296 	    lt_cv_path_NM="$tmp_nm -p"
   4297 	    break
   4298 	    ;;
   4299 	  *)
   4300 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4301 	    continue # so that we can try to find one that supports BSD flags
   4302 	    ;;
   4303 	  esac
   4304 	  ;;
   4305 	esac
   4306       fi
   4307     done
   4308     IFS="$lt_save_ifs"
   4309   done
   4310   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4311 fi
   4312 fi
   4313 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4314 $as_echo "$lt_cv_path_NM" >&6; }
   4315 NM="$lt_cv_path_NM"
   4316 
   4317 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4318 $as_echo_n "checking whether ln -s works... " >&6; }
   4319 LN_S=$as_ln_s
   4320 if test "$LN_S" = "ln -s"; then
   4321   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4322 $as_echo "yes" >&6; }
   4323 else
   4324   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4325 $as_echo "no, using $LN_S" >&6; }
   4326 fi
   4327 
   4328 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4329 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4330 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4331   $as_echo_n "(cached) " >&6
   4332 else
   4333   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4334 lt_cv_file_magic_test_file=
   4335 lt_cv_deplibs_check_method='unknown'
   4336 # Need to set the preceding variable on all platforms that support
   4337 # interlibrary dependencies.
   4338 # 'none' -- dependencies not supported.
   4339 # `unknown' -- same as none, but documents that we really don't know.
   4340 # 'pass_all' -- all dependencies passed with no checks.
   4341 # 'test_compile' -- check by making test program.
   4342 # 'file_magic [[regex]]' -- check by looking for files in library path
   4343 # which responds to the $file_magic_cmd with a given extended regex.
   4344 # If you have `file' or equivalent on your system and you're not sure
   4345 # whether `pass_all' will *always* work, you probably want this one.
   4346 
   4347 case $host_os in
   4348 aix[4-9]*)
   4349   lt_cv_deplibs_check_method=pass_all
   4350   ;;
   4351 
   4352 beos*)
   4353   lt_cv_deplibs_check_method=pass_all
   4354   ;;
   4355 
   4356 bsdi[45]*)
   4357   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4358   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4359   lt_cv_file_magic_test_file=/shlib/libc.so
   4360   ;;
   4361 
   4362 cygwin*)
   4363   # func_win32_libid is a shell function defined in ltmain.sh
   4364   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4365   lt_cv_file_magic_cmd='func_win32_libid'
   4366   ;;
   4367 
   4368 mingw* | pw32*)
   4369   # Base MSYS/MinGW do not provide the 'file' command needed by
   4370   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4371   # unless we find 'file', for example because we are cross-compiling.
   4372   if ( file / ) >/dev/null 2>&1; then
   4373     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4374     lt_cv_file_magic_cmd='func_win32_libid'
   4375   else
   4376     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4377     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4378   fi
   4379   ;;
   4380 
   4381 darwin* | rhapsody*)
   4382   lt_cv_deplibs_check_method=pass_all
   4383   ;;
   4384 
   4385 freebsd* | dragonfly*)
   4386   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4387     case $host_cpu in
   4388     i*86 )
   4389       # Not sure whether the presence of OpenBSD here was a mistake.
   4390       # Let's accept both of them until this is cleared up.
   4391       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4392       lt_cv_file_magic_cmd=/usr/bin/file
   4393       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4394       ;;
   4395     esac
   4396   else
   4397     lt_cv_deplibs_check_method=pass_all
   4398   fi
   4399   ;;
   4400 
   4401 gnu*)
   4402   lt_cv_deplibs_check_method=pass_all
   4403   ;;
   4404 
   4405 hpux10.20* | hpux11*)
   4406   lt_cv_file_magic_cmd=/usr/bin/file
   4407   case $host_cpu in
   4408   ia64*)
   4409     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4410     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4411     ;;
   4412   hppa*64*)
   4413     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]'
   4414     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4415     ;;
   4416   *)
   4417     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4418     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4419     ;;
   4420   esac
   4421   ;;
   4422 
   4423 interix[3-9]*)
   4424   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4425   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4426   ;;
   4427 
   4428 irix5* | irix6* | nonstopux*)
   4429   case $LD in
   4430   *-32|*"-32 ") libmagic=32-bit;;
   4431   *-n32|*"-n32 ") libmagic=N32;;
   4432   *-64|*"-64 ") libmagic=64-bit;;
   4433   *) libmagic=never-match;;
   4434   esac
   4435   lt_cv_deplibs_check_method=pass_all
   4436   ;;
   4437 
   4438 # This must be Linux ELF.
   4439 linux* | k*bsd*-gnu)
   4440   lt_cv_deplibs_check_method=pass_all
   4441   ;;
   4442 
   4443 netbsd*)
   4444   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4445     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4446   else
   4447     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4448   fi
   4449   ;;
   4450 
   4451 newos6*)
   4452   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4453   lt_cv_file_magic_cmd=/usr/bin/file
   4454   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4455   ;;
   4456 
   4457 nto-qnx*)
   4458   lt_cv_deplibs_check_method=unknown
   4459   ;;
   4460 
   4461 openbsd*)
   4462   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4463     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4464   else
   4465     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4466   fi
   4467   ;;
   4468 
   4469 osf3* | osf4* | osf5*)
   4470   lt_cv_deplibs_check_method=pass_all
   4471   ;;
   4472 
   4473 rdos*)
   4474   lt_cv_deplibs_check_method=pass_all
   4475   ;;
   4476 
   4477 solaris*)
   4478   lt_cv_deplibs_check_method=pass_all
   4479   ;;
   4480 
   4481 sysv4 | sysv4.3*)
   4482   case $host_vendor in
   4483   motorola)
   4484     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]'
   4485     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4486     ;;
   4487   ncr)
   4488     lt_cv_deplibs_check_method=pass_all
   4489     ;;
   4490   sequent)
   4491     lt_cv_file_magic_cmd='/bin/file'
   4492     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4493     ;;
   4494   sni)
   4495     lt_cv_file_magic_cmd='/bin/file'
   4496     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4497     lt_cv_file_magic_test_file=/lib/libc.so
   4498     ;;
   4499   siemens)
   4500     lt_cv_deplibs_check_method=pass_all
   4501     ;;
   4502   pc)
   4503     lt_cv_deplibs_check_method=pass_all
   4504     ;;
   4505   esac
   4506   ;;
   4507 
   4508 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4509   lt_cv_deplibs_check_method=pass_all
   4510   ;;
   4511 esac
   4512 
   4513 fi
   4514 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4515 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4516 file_magic_cmd=$lt_cv_file_magic_cmd
   4517 deplibs_check_method=$lt_cv_deplibs_check_method
   4518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4519 
   4520 
   4521 
   4522 
   4523 # If no C compiler was specified, use CC.
   4524 LTCC=${LTCC-"$CC"}
   4525 
   4526 # If no C compiler flags were specified, use CFLAGS.
   4527 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4528 
   4529 # Allow CC to be a program name with arguments.
   4530 compiler=$CC
   4531 
   4532 
   4533 # Check whether --enable-libtool-lock was given.
   4534 if test "${enable_libtool_lock+set}" = set; then
   4535   enableval=$enable_libtool_lock;
   4536 fi
   4537 
   4538 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4539 
   4540 # Some flags need to be propagated to the compiler or linker for good
   4541 # libtool support.
   4542 case $host in
   4543 ia64-*-hpux*)
   4544   # Find out which ABI we are using.
   4545   echo 'int i;' > conftest.$ac_ext
   4546   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4547   (eval $ac_compile) 2>&5
   4548   ac_status=$?
   4549   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4550   (exit $ac_status); }; then
   4551     case `/usr/bin/file conftest.$ac_objext` in
   4552     *ELF-32*)
   4553       HPUX_IA64_MODE="32"
   4554       ;;
   4555     *ELF-64*)
   4556       HPUX_IA64_MODE="64"
   4557       ;;
   4558     esac
   4559   fi
   4560   rm -rf conftest*
   4561   ;;
   4562 *-*-irix6*)
   4563   # Find out which ABI we are using.
   4564   echo '#line 4564 "configure"' > conftest.$ac_ext
   4565   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4566   (eval $ac_compile) 2>&5
   4567   ac_status=$?
   4568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4569   (exit $ac_status); }; then
   4570    if test "$lt_cv_prog_gnu_ld" = yes; then
   4571     case `/usr/bin/file conftest.$ac_objext` in
   4572     *32-bit*)
   4573       LD="${LD-ld} -melf32bsmip"
   4574       ;;
   4575     *N32*)
   4576       LD="${LD-ld} -melf32bmipn32"
   4577       ;;
   4578     *64-bit*)
   4579       LD="${LD-ld} -melf64bmip"
   4580       ;;
   4581     esac
   4582    else
   4583     case `/usr/bin/file conftest.$ac_objext` in
   4584     *32-bit*)
   4585       LD="${LD-ld} -32"
   4586       ;;
   4587     *N32*)
   4588       LD="${LD-ld} -n32"
   4589       ;;
   4590     *64-bit*)
   4591       LD="${LD-ld} -64"
   4592       ;;
   4593     esac
   4594    fi
   4595   fi
   4596   rm -rf conftest*
   4597   ;;
   4598 
   4599 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4600 s390*-*linux*|sparc*-*linux*)
   4601   # Find out which ABI we are using.
   4602   echo 'int i;' > conftest.$ac_ext
   4603   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4604   (eval $ac_compile) 2>&5
   4605   ac_status=$?
   4606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4607   (exit $ac_status); }; then
   4608     case `/usr/bin/file conftest.o` in
   4609     *32-bit*)
   4610       case $host in
   4611         x86_64-*kfreebsd*-gnu)
   4612           LD="${LD-ld} -m elf_i386_fbsd"
   4613           ;;
   4614         x86_64-*linux*)
   4615           LD="${LD-ld} -m elf_i386"
   4616           ;;
   4617         ppc64-*linux*|powerpc64-*linux*)
   4618           LD="${LD-ld} -m elf32ppclinux"
   4619           ;;
   4620         s390x-*linux*)
   4621           LD="${LD-ld} -m elf_s390"
   4622           ;;
   4623         sparc64-*linux*)
   4624           LD="${LD-ld} -m elf32_sparc"
   4625           ;;
   4626       esac
   4627       ;;
   4628     *64-bit*)
   4629       libsuff=64
   4630       case $host in
   4631         x86_64-*kfreebsd*-gnu)
   4632           LD="${LD-ld} -m elf_x86_64_fbsd"
   4633           ;;
   4634         x86_64-*linux*)
   4635           LD="${LD-ld} -m elf_x86_64"
   4636           ;;
   4637         ppc*-*linux*|powerpc*-*linux*)
   4638           LD="${LD-ld} -m elf64ppc"
   4639           ;;
   4640         s390*-*linux*)
   4641           LD="${LD-ld} -m elf64_s390"
   4642           ;;
   4643         sparc*-*linux*)
   4644           LD="${LD-ld} -m elf64_sparc"
   4645           ;;
   4646       esac
   4647       ;;
   4648     esac
   4649   fi
   4650   rm -rf conftest*
   4651   ;;
   4652 
   4653 *-*-sco3.2v5*)
   4654   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4655   SAVE_CFLAGS="$CFLAGS"
   4656   CFLAGS="$CFLAGS -belf"
   4657   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4658 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4659 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4660   $as_echo_n "(cached) " >&6
   4661 else
   4662   ac_ext=c
   4663 ac_cpp='$CPP $CPPFLAGS'
   4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4667 
   4668      cat >conftest.$ac_ext <<_ACEOF
   4669 /* confdefs.h.  */
   4670 _ACEOF
   4671 cat confdefs.h >>conftest.$ac_ext
   4672 cat >>conftest.$ac_ext <<_ACEOF
   4673 /* end confdefs.h.  */
   4674 
   4675 int
   4676 main ()
   4677 {
   4678 
   4679   ;
   4680   return 0;
   4681 }
   4682 _ACEOF
   4683 rm -f conftest.$ac_objext conftest$ac_exeext
   4684 if { (ac_try="$ac_link"
   4685 case "(($ac_try" in
   4686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4687   *) ac_try_echo=$ac_try;;
   4688 esac
   4689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4690 $as_echo "$ac_try_echo") >&5
   4691   (eval "$ac_link") 2>conftest.er1
   4692   ac_status=$?
   4693   grep -v '^ *+' conftest.er1 >conftest.err
   4694   rm -f conftest.er1
   4695   cat conftest.err >&5
   4696   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4697   (exit $ac_status); } && {
   4698 	 test -z "$ac_c_werror_flag" ||
   4699 	 test ! -s conftest.err
   4700        } && test -s conftest$ac_exeext && {
   4701 	 test "$cross_compiling" = yes ||
   4702 	 $as_test_x conftest$ac_exeext
   4703        }; then
   4704   lt_cv_cc_needs_belf=yes
   4705 else
   4706   $as_echo "$as_me: failed program was:" >&5
   4707 sed 's/^/| /' conftest.$ac_ext >&5
   4708 
   4709 	lt_cv_cc_needs_belf=no
   4710 fi
   4711 
   4712 rm -rf conftest.dSYM
   4713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4714       conftest$ac_exeext conftest.$ac_ext
   4715      ac_ext=c
   4716 ac_cpp='$CPP $CPPFLAGS'
   4717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4720 
   4721 fi
   4722 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4723 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4724   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4725     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4726     CFLAGS="$SAVE_CFLAGS"
   4727   fi
   4728   ;;
   4729 sparc*-*solaris*)
   4730   # Find out which ABI we are using.
   4731   echo 'int i;' > conftest.$ac_ext
   4732   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4733   (eval $ac_compile) 2>&5
   4734   ac_status=$?
   4735   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4736   (exit $ac_status); }; then
   4737     case `/usr/bin/file conftest.o` in
   4738     *64-bit*)
   4739       case $lt_cv_prog_gnu_ld in
   4740       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4741       *)
   4742         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4743 	  LD="${LD-ld} -64"
   4744 	fi
   4745 	;;
   4746       esac
   4747       ;;
   4748     esac
   4749   fi
   4750   rm -rf conftest*
   4751   ;;
   4752 
   4753 
   4754 esac
   4755 
   4756 need_locks="$enable_libtool_lock"
   4757 
   4758 
   4759 ac_ext=c
   4760 ac_cpp='$CPP $CPPFLAGS'
   4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4764 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4765 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4766 # On Suns, sometimes $CPP names a directory.
   4767 if test -n "$CPP" && test -d "$CPP"; then
   4768   CPP=
   4769 fi
   4770 if test -z "$CPP"; then
   4771   if test "${ac_cv_prog_CPP+set}" = set; then
   4772   $as_echo_n "(cached) " >&6
   4773 else
   4774       # Double quotes because CPP needs to be expanded
   4775     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4776     do
   4777       ac_preproc_ok=false
   4778 for ac_c_preproc_warn_flag in '' yes
   4779 do
   4780   # Use a header file that comes with gcc, so configuring glibc
   4781   # with a fresh cross-compiler works.
   4782   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4783   # <limits.h> exists even on freestanding compilers.
   4784   # On the NeXT, cc -E runs the code through the compiler's parser,
   4785   # not just through cpp. "Syntax error" is here to catch this case.
   4786   cat >conftest.$ac_ext <<_ACEOF
   4787 /* confdefs.h.  */
   4788 _ACEOF
   4789 cat confdefs.h >>conftest.$ac_ext
   4790 cat >>conftest.$ac_ext <<_ACEOF
   4791 /* end confdefs.h.  */
   4792 #ifdef __STDC__
   4793 # include <limits.h>
   4794 #else
   4795 # include <assert.h>
   4796 #endif
   4797 		     Syntax error
   4798 _ACEOF
   4799 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4800 case "(($ac_try" in
   4801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4802   *) ac_try_echo=$ac_try;;
   4803 esac
   4804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4805 $as_echo "$ac_try_echo") >&5
   4806   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4807   ac_status=$?
   4808   grep -v '^ *+' conftest.er1 >conftest.err
   4809   rm -f conftest.er1
   4810   cat conftest.err >&5
   4811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4812   (exit $ac_status); } >/dev/null && {
   4813 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4814 	 test ! -s conftest.err
   4815        }; then
   4816   :
   4817 else
   4818   $as_echo "$as_me: failed program was:" >&5
   4819 sed 's/^/| /' conftest.$ac_ext >&5
   4820 
   4821   # Broken: fails on valid input.
   4822 continue
   4823 fi
   4824 
   4825 rm -f conftest.err conftest.$ac_ext
   4826 
   4827   # OK, works on sane cases.  Now check whether nonexistent headers
   4828   # can be detected and how.
   4829   cat >conftest.$ac_ext <<_ACEOF
   4830 /* confdefs.h.  */
   4831 _ACEOF
   4832 cat confdefs.h >>conftest.$ac_ext
   4833 cat >>conftest.$ac_ext <<_ACEOF
   4834 /* end confdefs.h.  */
   4835 #include <ac_nonexistent.h>
   4836 _ACEOF
   4837 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4838 case "(($ac_try" in
   4839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4840   *) ac_try_echo=$ac_try;;
   4841 esac
   4842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4843 $as_echo "$ac_try_echo") >&5
   4844   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4845   ac_status=$?
   4846   grep -v '^ *+' conftest.er1 >conftest.err
   4847   rm -f conftest.er1
   4848   cat conftest.err >&5
   4849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4850   (exit $ac_status); } >/dev/null && {
   4851 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4852 	 test ! -s conftest.err
   4853        }; then
   4854   # Broken: success on invalid input.
   4855 continue
   4856 else
   4857   $as_echo "$as_me: failed program was:" >&5
   4858 sed 's/^/| /' conftest.$ac_ext >&5
   4859 
   4860   # Passes both tests.
   4861 ac_preproc_ok=:
   4862 break
   4863 fi
   4864 
   4865 rm -f conftest.err conftest.$ac_ext
   4866 
   4867 done
   4868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4869 rm -f conftest.err conftest.$ac_ext
   4870 if $ac_preproc_ok; then
   4871   break
   4872 fi
   4873 
   4874     done
   4875     ac_cv_prog_CPP=$CPP
   4876 
   4877 fi
   4878   CPP=$ac_cv_prog_CPP
   4879 else
   4880   ac_cv_prog_CPP=$CPP
   4881 fi
   4882 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4883 $as_echo "$CPP" >&6; }
   4884 ac_preproc_ok=false
   4885 for ac_c_preproc_warn_flag in '' yes
   4886 do
   4887   # Use a header file that comes with gcc, so configuring glibc
   4888   # with a fresh cross-compiler works.
   4889   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4890   # <limits.h> exists even on freestanding compilers.
   4891   # On the NeXT, cc -E runs the code through the compiler's parser,
   4892   # not just through cpp. "Syntax error" is here to catch this case.
   4893   cat >conftest.$ac_ext <<_ACEOF
   4894 /* confdefs.h.  */
   4895 _ACEOF
   4896 cat confdefs.h >>conftest.$ac_ext
   4897 cat >>conftest.$ac_ext <<_ACEOF
   4898 /* end confdefs.h.  */
   4899 #ifdef __STDC__
   4900 # include <limits.h>
   4901 #else
   4902 # include <assert.h>
   4903 #endif
   4904 		     Syntax error
   4905 _ACEOF
   4906 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4907 case "(($ac_try" in
   4908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4909   *) ac_try_echo=$ac_try;;
   4910 esac
   4911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4912 $as_echo "$ac_try_echo") >&5
   4913   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4914   ac_status=$?
   4915   grep -v '^ *+' conftest.er1 >conftest.err
   4916   rm -f conftest.er1
   4917   cat conftest.err >&5
   4918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4919   (exit $ac_status); } >/dev/null && {
   4920 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4921 	 test ! -s conftest.err
   4922        }; then
   4923   :
   4924 else
   4925   $as_echo "$as_me: failed program was:" >&5
   4926 sed 's/^/| /' conftest.$ac_ext >&5
   4927 
   4928   # Broken: fails on valid input.
   4929 continue
   4930 fi
   4931 
   4932 rm -f conftest.err conftest.$ac_ext
   4933 
   4934   # OK, works on sane cases.  Now check whether nonexistent headers
   4935   # can be detected and how.
   4936   cat >conftest.$ac_ext <<_ACEOF
   4937 /* confdefs.h.  */
   4938 _ACEOF
   4939 cat confdefs.h >>conftest.$ac_ext
   4940 cat >>conftest.$ac_ext <<_ACEOF
   4941 /* end confdefs.h.  */
   4942 #include <ac_nonexistent.h>
   4943 _ACEOF
   4944 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4945 case "(($ac_try" in
   4946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4947   *) ac_try_echo=$ac_try;;
   4948 esac
   4949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4950 $as_echo "$ac_try_echo") >&5
   4951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4952   ac_status=$?
   4953   grep -v '^ *+' conftest.er1 >conftest.err
   4954   rm -f conftest.er1
   4955   cat conftest.err >&5
   4956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4957   (exit $ac_status); } >/dev/null && {
   4958 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4959 	 test ! -s conftest.err
   4960        }; then
   4961   # Broken: success on invalid input.
   4962 continue
   4963 else
   4964   $as_echo "$as_me: failed program was:" >&5
   4965 sed 's/^/| /' conftest.$ac_ext >&5
   4966 
   4967   # Passes both tests.
   4968 ac_preproc_ok=:
   4969 break
   4970 fi
   4971 
   4972 rm -f conftest.err conftest.$ac_ext
   4973 
   4974 done
   4975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4976 rm -f conftest.err conftest.$ac_ext
   4977 if $ac_preproc_ok; then
   4978   :
   4979 else
   4980   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4982 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4983 See \`config.log' for more details." >&5
   4984 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4985 See \`config.log' for more details." >&2;}
   4986    { (exit 1); exit 1; }; }; }
   4987 fi
   4988 
   4989 ac_ext=c
   4990 ac_cpp='$CPP $CPPFLAGS'
   4991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4994 
   4995 
   4996 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4997 $as_echo_n "checking for ANSI C header files... " >&6; }
   4998 if test "${ac_cv_header_stdc+set}" = set; then
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   cat >conftest.$ac_ext <<_ACEOF
   5002 /* confdefs.h.  */
   5003 _ACEOF
   5004 cat confdefs.h >>conftest.$ac_ext
   5005 cat >>conftest.$ac_ext <<_ACEOF
   5006 /* end confdefs.h.  */
   5007 #include <stdlib.h>
   5008 #include <stdarg.h>
   5009 #include <string.h>
   5010 #include <float.h>
   5011 
   5012 int
   5013 main ()
   5014 {
   5015 
   5016   ;
   5017   return 0;
   5018 }
   5019 _ACEOF
   5020 rm -f conftest.$ac_objext
   5021 if { (ac_try="$ac_compile"
   5022 case "(($ac_try" in
   5023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5024   *) ac_try_echo=$ac_try;;
   5025 esac
   5026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5027 $as_echo "$ac_try_echo") >&5
   5028   (eval "$ac_compile") 2>conftest.er1
   5029   ac_status=$?
   5030   grep -v '^ *+' conftest.er1 >conftest.err
   5031   rm -f conftest.er1
   5032   cat conftest.err >&5
   5033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5034   (exit $ac_status); } && {
   5035 	 test -z "$ac_c_werror_flag" ||
   5036 	 test ! -s conftest.err
   5037        } && test -s conftest.$ac_objext; then
   5038   ac_cv_header_stdc=yes
   5039 else
   5040   $as_echo "$as_me: failed program was:" >&5
   5041 sed 's/^/| /' conftest.$ac_ext >&5
   5042 
   5043 	ac_cv_header_stdc=no
   5044 fi
   5045 
   5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5047 
   5048 if test $ac_cv_header_stdc = yes; then
   5049   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5050   cat >conftest.$ac_ext <<_ACEOF
   5051 /* confdefs.h.  */
   5052 _ACEOF
   5053 cat confdefs.h >>conftest.$ac_ext
   5054 cat >>conftest.$ac_ext <<_ACEOF
   5055 /* end confdefs.h.  */
   5056 #include <string.h>
   5057 
   5058 _ACEOF
   5059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5060   $EGREP "memchr" >/dev/null 2>&1; then
   5061   :
   5062 else
   5063   ac_cv_header_stdc=no
   5064 fi
   5065 rm -f conftest*
   5066 
   5067 fi
   5068 
   5069 if test $ac_cv_header_stdc = yes; then
   5070   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5071   cat >conftest.$ac_ext <<_ACEOF
   5072 /* confdefs.h.  */
   5073 _ACEOF
   5074 cat confdefs.h >>conftest.$ac_ext
   5075 cat >>conftest.$ac_ext <<_ACEOF
   5076 /* end confdefs.h.  */
   5077 #include <stdlib.h>
   5078 
   5079 _ACEOF
   5080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5081   $EGREP "free" >/dev/null 2>&1; then
   5082   :
   5083 else
   5084   ac_cv_header_stdc=no
   5085 fi
   5086 rm -f conftest*
   5087 
   5088 fi
   5089 
   5090 if test $ac_cv_header_stdc = yes; then
   5091   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5092   if test "$cross_compiling" = yes; then
   5093   :
   5094 else
   5095   cat >conftest.$ac_ext <<_ACEOF
   5096 /* confdefs.h.  */
   5097 _ACEOF
   5098 cat confdefs.h >>conftest.$ac_ext
   5099 cat >>conftest.$ac_ext <<_ACEOF
   5100 /* end confdefs.h.  */
   5101 #include <ctype.h>
   5102 #include <stdlib.h>
   5103 #if ((' ' & 0x0FF) == 0x020)
   5104 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5105 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5106 #else
   5107 # define ISLOWER(c) \
   5108 		   (('a' <= (c) && (c) <= 'i') \
   5109 		     || ('j' <= (c) && (c) <= 'r') \
   5110 		     || ('s' <= (c) && (c) <= 'z'))
   5111 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5112 #endif
   5113 
   5114 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5115 int
   5116 main ()
   5117 {
   5118   int i;
   5119   for (i = 0; i < 256; i++)
   5120     if (XOR (islower (i), ISLOWER (i))
   5121 	|| toupper (i) != TOUPPER (i))
   5122       return 2;
   5123   return 0;
   5124 }
   5125 _ACEOF
   5126 rm -f conftest$ac_exeext
   5127 if { (ac_try="$ac_link"
   5128 case "(($ac_try" in
   5129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5130   *) ac_try_echo=$ac_try;;
   5131 esac
   5132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5133 $as_echo "$ac_try_echo") >&5
   5134   (eval "$ac_link") 2>&5
   5135   ac_status=$?
   5136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5137   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5138   { (case "(($ac_try" in
   5139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5140   *) ac_try_echo=$ac_try;;
   5141 esac
   5142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5143 $as_echo "$ac_try_echo") >&5
   5144   (eval "$ac_try") 2>&5
   5145   ac_status=$?
   5146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5147   (exit $ac_status); }; }; then
   5148   :
   5149 else
   5150   $as_echo "$as_me: program exited with status $ac_status" >&5
   5151 $as_echo "$as_me: failed program was:" >&5
   5152 sed 's/^/| /' conftest.$ac_ext >&5
   5153 
   5154 ( exit $ac_status )
   5155 ac_cv_header_stdc=no
   5156 fi
   5157 rm -rf conftest.dSYM
   5158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5159 fi
   5160 
   5161 
   5162 fi
   5163 fi
   5164 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5165 $as_echo "$ac_cv_header_stdc" >&6; }
   5166 if test $ac_cv_header_stdc = yes; then
   5167 
   5168 cat >>confdefs.h <<\_ACEOF
   5169 #define STDC_HEADERS 1
   5170 _ACEOF
   5171 
   5172 fi
   5173 
   5174 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5185 		  inttypes.h stdint.h unistd.h
   5186 do
   5187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5188 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5189 $as_echo_n "checking for $ac_header... " >&6; }
   5190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5191   $as_echo_n "(cached) " >&6
   5192 else
   5193   cat >conftest.$ac_ext <<_ACEOF
   5194 /* confdefs.h.  */
   5195 _ACEOF
   5196 cat confdefs.h >>conftest.$ac_ext
   5197 cat >>conftest.$ac_ext <<_ACEOF
   5198 /* end confdefs.h.  */
   5199 $ac_includes_default
   5200 
   5201 #include <$ac_header>
   5202 _ACEOF
   5203 rm -f conftest.$ac_objext
   5204 if { (ac_try="$ac_compile"
   5205 case "(($ac_try" in
   5206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5207   *) ac_try_echo=$ac_try;;
   5208 esac
   5209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5210 $as_echo "$ac_try_echo") >&5
   5211   (eval "$ac_compile") 2>conftest.er1
   5212   ac_status=$?
   5213   grep -v '^ *+' conftest.er1 >conftest.err
   5214   rm -f conftest.er1
   5215   cat conftest.err >&5
   5216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5217   (exit $ac_status); } && {
   5218 	 test -z "$ac_c_werror_flag" ||
   5219 	 test ! -s conftest.err
   5220        } && test -s conftest.$ac_objext; then
   5221   eval "$as_ac_Header=yes"
   5222 else
   5223   $as_echo "$as_me: failed program was:" >&5
   5224 sed 's/^/| /' conftest.$ac_ext >&5
   5225 
   5226 	eval "$as_ac_Header=no"
   5227 fi
   5228 
   5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5230 fi
   5231 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5232 		 $as_echo "$as_val"'`
   5233 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5234 $as_echo "$ac_res" >&6; }
   5235 as_val=`eval 'as_val=${'$as_ac_Header'}
   5236 		 $as_echo "$as_val"'`
   5237    if test "x$as_val" = x""yes; then
   5238   cat >>confdefs.h <<_ACEOF
   5239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5240 _ACEOF
   5241 
   5242 fi
   5243 
   5244 done
   5245 
   5246 
   5247 
   5248 for ac_header in dlfcn.h
   5249 do
   5250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5252   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5253 $as_echo_n "checking for $ac_header... " >&6; }
   5254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5255   $as_echo_n "(cached) " >&6
   5256 fi
   5257 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5258 		 $as_echo "$as_val"'`
   5259 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5260 $as_echo "$ac_res" >&6; }
   5261 else
   5262   # Is the header compilable?
   5263 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5264 $as_echo_n "checking $ac_header usability... " >&6; }
   5265 cat >conftest.$ac_ext <<_ACEOF
   5266 /* confdefs.h.  */
   5267 _ACEOF
   5268 cat confdefs.h >>conftest.$ac_ext
   5269 cat >>conftest.$ac_ext <<_ACEOF
   5270 /* end confdefs.h.  */
   5271 $ac_includes_default
   5272 #include <$ac_header>
   5273 _ACEOF
   5274 rm -f conftest.$ac_objext
   5275 if { (ac_try="$ac_compile"
   5276 case "(($ac_try" in
   5277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5278   *) ac_try_echo=$ac_try;;
   5279 esac
   5280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5281 $as_echo "$ac_try_echo") >&5
   5282   (eval "$ac_compile") 2>conftest.er1
   5283   ac_status=$?
   5284   grep -v '^ *+' conftest.er1 >conftest.err
   5285   rm -f conftest.er1
   5286   cat conftest.err >&5
   5287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5288   (exit $ac_status); } && {
   5289 	 test -z "$ac_c_werror_flag" ||
   5290 	 test ! -s conftest.err
   5291        } && test -s conftest.$ac_objext; then
   5292   ac_header_compiler=yes
   5293 else
   5294   $as_echo "$as_me: failed program was:" >&5
   5295 sed 's/^/| /' conftest.$ac_ext >&5
   5296 
   5297 	ac_header_compiler=no
   5298 fi
   5299 
   5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5301 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5302 $as_echo "$ac_header_compiler" >&6; }
   5303 
   5304 # Is the header present?
   5305 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5306 $as_echo_n "checking $ac_header presence... " >&6; }
   5307 cat >conftest.$ac_ext <<_ACEOF
   5308 /* confdefs.h.  */
   5309 _ACEOF
   5310 cat confdefs.h >>conftest.$ac_ext
   5311 cat >>conftest.$ac_ext <<_ACEOF
   5312 /* end confdefs.h.  */
   5313 #include <$ac_header>
   5314 _ACEOF
   5315 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5316 case "(($ac_try" in
   5317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5318   *) ac_try_echo=$ac_try;;
   5319 esac
   5320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5321 $as_echo "$ac_try_echo") >&5
   5322   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5323   ac_status=$?
   5324   grep -v '^ *+' conftest.er1 >conftest.err
   5325   rm -f conftest.er1
   5326   cat conftest.err >&5
   5327   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5328   (exit $ac_status); } >/dev/null && {
   5329 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5330 	 test ! -s conftest.err
   5331        }; then
   5332   ac_header_preproc=yes
   5333 else
   5334   $as_echo "$as_me: failed program was:" >&5
   5335 sed 's/^/| /' conftest.$ac_ext >&5
   5336 
   5337   ac_header_preproc=no
   5338 fi
   5339 
   5340 rm -f conftest.err conftest.$ac_ext
   5341 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5342 $as_echo "$ac_header_preproc" >&6; }
   5343 
   5344 # So?  What about this header?
   5345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5346   yes:no: )
   5347     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5348 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5351     ac_header_preproc=yes
   5352     ;;
   5353   no:yes:* )
   5354     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5355 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5356     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5357 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5358     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5359 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5360     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5361 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5362     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5363 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5364     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5365 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5366     ( cat <<\_ASBOX
   5367 ## ------------------------------------------------------ ##
   5368 ## Report this to http://www.openchrome.org/trac/report/1 ##
   5369 ## ------------------------------------------------------ ##
   5370 _ASBOX
   5371      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5372     ;;
   5373 esac
   5374 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5375 $as_echo_n "checking for $ac_header... " >&6; }
   5376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5377   $as_echo_n "(cached) " >&6
   5378 else
   5379   eval "$as_ac_Header=\$ac_header_preproc"
   5380 fi
   5381 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5382 		 $as_echo "$as_val"'`
   5383 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5384 $as_echo "$ac_res" >&6; }
   5385 
   5386 fi
   5387 as_val=`eval 'as_val=${'$as_ac_Header'}
   5388 		 $as_echo "$as_val"'`
   5389    if test "x$as_val" = x""yes; then
   5390   cat >>confdefs.h <<_ACEOF
   5391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5392 _ACEOF
   5393 
   5394 fi
   5395 
   5396 done
   5397 
   5398 ac_ext=cpp
   5399 ac_cpp='$CXXCPP $CPPFLAGS'
   5400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5403 if test -z "$CXX"; then
   5404   if test -n "$CCC"; then
   5405     CXX=$CCC
   5406   else
   5407     if test -n "$ac_tool_prefix"; then
   5408   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5409   do
   5410     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5413 $as_echo_n "checking for $ac_word... " >&6; }
   5414 if test "${ac_cv_prog_CXX+set}" = set; then
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   if test -n "$CXX"; then
   5418   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5419 else
   5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5421 for as_dir in $PATH
   5422 do
   5423   IFS=$as_save_IFS
   5424   test -z "$as_dir" && as_dir=.
   5425   for ac_exec_ext in '' $ac_executable_extensions; do
   5426   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5427     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5428     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5429     break 2
   5430   fi
   5431 done
   5432 done
   5433 IFS=$as_save_IFS
   5434 
   5435 fi
   5436 fi
   5437 CXX=$ac_cv_prog_CXX
   5438 if test -n "$CXX"; then
   5439   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5440 $as_echo "$CXX" >&6; }
   5441 else
   5442   { $as_echo "$as_me:$LINENO: result: no" >&5
   5443 $as_echo "no" >&6; }
   5444 fi
   5445 
   5446 
   5447     test -n "$CXX" && break
   5448   done
   5449 fi
   5450 if test -z "$CXX"; then
   5451   ac_ct_CXX=$CXX
   5452   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5453 do
   5454   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5455 set dummy $ac_prog; ac_word=$2
   5456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5457 $as_echo_n "checking for $ac_word... " >&6; }
   5458 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   if test -n "$ac_ct_CXX"; then
   5462   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5463 else
   5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5465 for as_dir in $PATH
   5466 do
   5467   IFS=$as_save_IFS
   5468   test -z "$as_dir" && as_dir=.
   5469   for ac_exec_ext in '' $ac_executable_extensions; do
   5470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5471     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5472     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5473     break 2
   5474   fi
   5475 done
   5476 done
   5477 IFS=$as_save_IFS
   5478 
   5479 fi
   5480 fi
   5481 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5482 if test -n "$ac_ct_CXX"; then
   5483   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5484 $as_echo "$ac_ct_CXX" >&6; }
   5485 else
   5486   { $as_echo "$as_me:$LINENO: result: no" >&5
   5487 $as_echo "no" >&6; }
   5488 fi
   5489 
   5490 
   5491   test -n "$ac_ct_CXX" && break
   5492 done
   5493 
   5494   if test "x$ac_ct_CXX" = x; then
   5495     CXX="g++"
   5496   else
   5497     case $cross_compiling:$ac_tool_warned in
   5498 yes:)
   5499 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5501 ac_tool_warned=yes ;;
   5502 esac
   5503     CXX=$ac_ct_CXX
   5504   fi
   5505 fi
   5506 
   5507   fi
   5508 fi
   5509 # Provide some information about the compiler.
   5510 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5511 set X $ac_compile
   5512 ac_compiler=$2
   5513 { (ac_try="$ac_compiler --version >&5"
   5514 case "(($ac_try" in
   5515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5516   *) ac_try_echo=$ac_try;;
   5517 esac
   5518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5519 $as_echo "$ac_try_echo") >&5
   5520   (eval "$ac_compiler --version >&5") 2>&5
   5521   ac_status=$?
   5522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5523   (exit $ac_status); }
   5524 { (ac_try="$ac_compiler -v >&5"
   5525 case "(($ac_try" in
   5526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5527   *) ac_try_echo=$ac_try;;
   5528 esac
   5529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5530 $as_echo "$ac_try_echo") >&5
   5531   (eval "$ac_compiler -v >&5") 2>&5
   5532   ac_status=$?
   5533   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5534   (exit $ac_status); }
   5535 { (ac_try="$ac_compiler -V >&5"
   5536 case "(($ac_try" in
   5537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5538   *) ac_try_echo=$ac_try;;
   5539 esac
   5540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5541 $as_echo "$ac_try_echo") >&5
   5542   (eval "$ac_compiler -V >&5") 2>&5
   5543   ac_status=$?
   5544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5545   (exit $ac_status); }
   5546 
   5547 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5548 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   cat >conftest.$ac_ext <<_ACEOF
   5553 /* confdefs.h.  */
   5554 _ACEOF
   5555 cat confdefs.h >>conftest.$ac_ext
   5556 cat >>conftest.$ac_ext <<_ACEOF
   5557 /* end confdefs.h.  */
   5558 
   5559 int
   5560 main ()
   5561 {
   5562 #ifndef __GNUC__
   5563        choke me
   5564 #endif
   5565 
   5566   ;
   5567   return 0;
   5568 }
   5569 _ACEOF
   5570 rm -f conftest.$ac_objext
   5571 if { (ac_try="$ac_compile"
   5572 case "(($ac_try" in
   5573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5574   *) ac_try_echo=$ac_try;;
   5575 esac
   5576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5577 $as_echo "$ac_try_echo") >&5
   5578   (eval "$ac_compile") 2>conftest.er1
   5579   ac_status=$?
   5580   grep -v '^ *+' conftest.er1 >conftest.err
   5581   rm -f conftest.er1
   5582   cat conftest.err >&5
   5583   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5584   (exit $ac_status); } && {
   5585 	 test -z "$ac_cxx_werror_flag" ||
   5586 	 test ! -s conftest.err
   5587        } && test -s conftest.$ac_objext; then
   5588   ac_compiler_gnu=yes
   5589 else
   5590   $as_echo "$as_me: failed program was:" >&5
   5591 sed 's/^/| /' conftest.$ac_ext >&5
   5592 
   5593 	ac_compiler_gnu=no
   5594 fi
   5595 
   5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5597 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5598 
   5599 fi
   5600 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5601 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5602 if test $ac_compiler_gnu = yes; then
   5603   GXX=yes
   5604 else
   5605   GXX=
   5606 fi
   5607 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5608 ac_save_CXXFLAGS=$CXXFLAGS
   5609 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5610 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5611 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5612   $as_echo_n "(cached) " >&6
   5613 else
   5614   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5615    ac_cxx_werror_flag=yes
   5616    ac_cv_prog_cxx_g=no
   5617    CXXFLAGS="-g"
   5618    cat >conftest.$ac_ext <<_ACEOF
   5619 /* confdefs.h.  */
   5620 _ACEOF
   5621 cat confdefs.h >>conftest.$ac_ext
   5622 cat >>conftest.$ac_ext <<_ACEOF
   5623 /* end confdefs.h.  */
   5624 
   5625 int
   5626 main ()
   5627 {
   5628 
   5629   ;
   5630   return 0;
   5631 }
   5632 _ACEOF
   5633 rm -f conftest.$ac_objext
   5634 if { (ac_try="$ac_compile"
   5635 case "(($ac_try" in
   5636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5637   *) ac_try_echo=$ac_try;;
   5638 esac
   5639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5640 $as_echo "$ac_try_echo") >&5
   5641   (eval "$ac_compile") 2>conftest.er1
   5642   ac_status=$?
   5643   grep -v '^ *+' conftest.er1 >conftest.err
   5644   rm -f conftest.er1
   5645   cat conftest.err >&5
   5646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5647   (exit $ac_status); } && {
   5648 	 test -z "$ac_cxx_werror_flag" ||
   5649 	 test ! -s conftest.err
   5650        } && test -s conftest.$ac_objext; then
   5651   ac_cv_prog_cxx_g=yes
   5652 else
   5653   $as_echo "$as_me: failed program was:" >&5
   5654 sed 's/^/| /' conftest.$ac_ext >&5
   5655 
   5656 	CXXFLAGS=""
   5657       cat >conftest.$ac_ext <<_ACEOF
   5658 /* confdefs.h.  */
   5659 _ACEOF
   5660 cat confdefs.h >>conftest.$ac_ext
   5661 cat >>conftest.$ac_ext <<_ACEOF
   5662 /* end confdefs.h.  */
   5663 
   5664 int
   5665 main ()
   5666 {
   5667 
   5668   ;
   5669   return 0;
   5670 }
   5671 _ACEOF
   5672 rm -f conftest.$ac_objext
   5673 if { (ac_try="$ac_compile"
   5674 case "(($ac_try" in
   5675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5676   *) ac_try_echo=$ac_try;;
   5677 esac
   5678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5679 $as_echo "$ac_try_echo") >&5
   5680   (eval "$ac_compile") 2>conftest.er1
   5681   ac_status=$?
   5682   grep -v '^ *+' conftest.er1 >conftest.err
   5683   rm -f conftest.er1
   5684   cat conftest.err >&5
   5685   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5686   (exit $ac_status); } && {
   5687 	 test -z "$ac_cxx_werror_flag" ||
   5688 	 test ! -s conftest.err
   5689        } && test -s conftest.$ac_objext; then
   5690   :
   5691 else
   5692   $as_echo "$as_me: failed program was:" >&5
   5693 sed 's/^/| /' conftest.$ac_ext >&5
   5694 
   5695 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5696 	 CXXFLAGS="-g"
   5697 	 cat >conftest.$ac_ext <<_ACEOF
   5698 /* confdefs.h.  */
   5699 _ACEOF
   5700 cat confdefs.h >>conftest.$ac_ext
   5701 cat >>conftest.$ac_ext <<_ACEOF
   5702 /* end confdefs.h.  */
   5703 
   5704 int
   5705 main ()
   5706 {
   5707 
   5708   ;
   5709   return 0;
   5710 }
   5711 _ACEOF
   5712 rm -f conftest.$ac_objext
   5713 if { (ac_try="$ac_compile"
   5714 case "(($ac_try" in
   5715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5716   *) ac_try_echo=$ac_try;;
   5717 esac
   5718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5719 $as_echo "$ac_try_echo") >&5
   5720   (eval "$ac_compile") 2>conftest.er1
   5721   ac_status=$?
   5722   grep -v '^ *+' conftest.er1 >conftest.err
   5723   rm -f conftest.er1
   5724   cat conftest.err >&5
   5725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5726   (exit $ac_status); } && {
   5727 	 test -z "$ac_cxx_werror_flag" ||
   5728 	 test ! -s conftest.err
   5729        } && test -s conftest.$ac_objext; then
   5730   ac_cv_prog_cxx_g=yes
   5731 else
   5732   $as_echo "$as_me: failed program was:" >&5
   5733 sed 's/^/| /' conftest.$ac_ext >&5
   5734 
   5735 
   5736 fi
   5737 
   5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5739 fi
   5740 
   5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5742 fi
   5743 
   5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5745    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5746 fi
   5747 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5748 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5749 if test "$ac_test_CXXFLAGS" = set; then
   5750   CXXFLAGS=$ac_save_CXXFLAGS
   5751 elif test $ac_cv_prog_cxx_g = yes; then
   5752   if test "$GXX" = yes; then
   5753     CXXFLAGS="-g -O2"
   5754   else
   5755     CXXFLAGS="-g"
   5756   fi
   5757 else
   5758   if test "$GXX" = yes; then
   5759     CXXFLAGS="-O2"
   5760   else
   5761     CXXFLAGS=
   5762   fi
   5763 fi
   5764 ac_ext=cpp
   5765 ac_cpp='$CXXCPP $CPPFLAGS'
   5766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5769 
   5770 depcc="$CXX"  am_compiler_list=
   5771 
   5772 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5773 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5774 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5778   # We make a subdir and do the tests there.  Otherwise we can end up
   5779   # making bogus files that we don't know about and never remove.  For
   5780   # instance it was reported that on HP-UX the gcc test will end up
   5781   # making a dummy file named `D' -- because `-MD' means `put the output
   5782   # in D'.
   5783   mkdir conftest.dir
   5784   # Copy depcomp to subdir because otherwise we won't find it if we're
   5785   # using a relative directory.
   5786   cp "$am_depcomp" conftest.dir
   5787   cd conftest.dir
   5788   # We will build objects and dependencies in a subdirectory because
   5789   # it helps to detect inapplicable dependency modes.  For instance
   5790   # both Tru64's cc and ICC support -MD to output dependencies as a
   5791   # side effect of compilation, but ICC will put the dependencies in
   5792   # the current directory while Tru64 will put them in the object
   5793   # directory.
   5794   mkdir sub
   5795 
   5796   am_cv_CXX_dependencies_compiler_type=none
   5797   if test "$am_compiler_list" = ""; then
   5798      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5799   fi
   5800   am__universal=false
   5801   case " $depcc " in #(
   5802      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5803      esac
   5804 
   5805   for depmode in $am_compiler_list; do
   5806     # Setup a source with many dependencies, because some compilers
   5807     # like to wrap large dependency lists on column 80 (with \), and
   5808     # we should not choose a depcomp mode which is confused by this.
   5809     #
   5810     # We need to recreate these files for each test, as the compiler may
   5811     # overwrite some of them when testing with obscure command lines.
   5812     # This happens at least with the AIX C compiler.
   5813     : > sub/conftest.c
   5814     for i in 1 2 3 4 5 6; do
   5815       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5816       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5817       # Solaris 8's {/usr,}/bin/sh.
   5818       touch sub/conftst$i.h
   5819     done
   5820     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5821 
   5822     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5823     # mode.  It turns out that the SunPro C++ compiler does not properly
   5824     # handle `-M -o', and we need to detect this.  Also, some Intel
   5825     # versions had trouble with output in subdirs
   5826     am__obj=sub/conftest.${OBJEXT-o}
   5827     am__minus_obj="-o $am__obj"
   5828     case $depmode in
   5829     gcc)
   5830       # This depmode causes a compiler race in universal mode.
   5831       test "$am__universal" = false || continue
   5832       ;;
   5833     nosideeffect)
   5834       # after this tag, mechanisms are not by side-effect, so they'll
   5835       # only be used when explicitly requested
   5836       if test "x$enable_dependency_tracking" = xyes; then
   5837 	continue
   5838       else
   5839 	break
   5840       fi
   5841       ;;
   5842     msvisualcpp | msvcmsys)
   5843       # This compiler won't grok `-c -o', but also, the minuso test has
   5844       # not run yet.  These depmodes are late enough in the game, and
   5845       # so weak that their functioning should not be impacted.
   5846       am__obj=conftest.${OBJEXT-o}
   5847       am__minus_obj=
   5848       ;;
   5849     none) break ;;
   5850     esac
   5851     if depmode=$depmode \
   5852        source=sub/conftest.c object=$am__obj \
   5853        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5854        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5855          >/dev/null 2>conftest.err &&
   5856        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5857        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5858        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5859        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5860       # icc doesn't choke on unknown options, it will just issue warnings
   5861       # or remarks (even with -Werror).  So we grep stderr for any message
   5862       # that says an option was ignored or not supported.
   5863       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5864       #   icc: Command line warning: ignoring option '-M'; no argument required
   5865       # The diagnosis changed in icc 8.0:
   5866       #   icc: Command line remark: option '-MP' not supported
   5867       if (grep 'ignoring option' conftest.err ||
   5868           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5869         am_cv_CXX_dependencies_compiler_type=$depmode
   5870         break
   5871       fi
   5872     fi
   5873   done
   5874 
   5875   cd ..
   5876   rm -rf conftest.dir
   5877 else
   5878   am_cv_CXX_dependencies_compiler_type=none
   5879 fi
   5880 
   5881 fi
   5882 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5883 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5884 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5885 
   5886  if
   5887   test "x$enable_dependency_tracking" != xno \
   5888   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5889   am__fastdepCXX_TRUE=
   5890   am__fastdepCXX_FALSE='#'
   5891 else
   5892   am__fastdepCXX_TRUE='#'
   5893   am__fastdepCXX_FALSE=
   5894 fi
   5895 
   5896 
   5897 
   5898 
   5899 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5900     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5901     (test "X$CXX" != "Xg++"))) ; then
   5902   ac_ext=cpp
   5903 ac_cpp='$CXXCPP $CPPFLAGS'
   5904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5907 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5908 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5909 if test -z "$CXXCPP"; then
   5910   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5911   $as_echo_n "(cached) " >&6
   5912 else
   5913       # Double quotes because CXXCPP needs to be expanded
   5914     for CXXCPP in "$CXX -E" "/lib/cpp"
   5915     do
   5916       ac_preproc_ok=false
   5917 for ac_cxx_preproc_warn_flag in '' yes
   5918 do
   5919   # Use a header file that comes with gcc, so configuring glibc
   5920   # with a fresh cross-compiler works.
   5921   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5922   # <limits.h> exists even on freestanding compilers.
   5923   # On the NeXT, cc -E runs the code through the compiler's parser,
   5924   # not just through cpp. "Syntax error" is here to catch this case.
   5925   cat >conftest.$ac_ext <<_ACEOF
   5926 /* confdefs.h.  */
   5927 _ACEOF
   5928 cat confdefs.h >>conftest.$ac_ext
   5929 cat >>conftest.$ac_ext <<_ACEOF
   5930 /* end confdefs.h.  */
   5931 #ifdef __STDC__
   5932 # include <limits.h>
   5933 #else
   5934 # include <assert.h>
   5935 #endif
   5936 		     Syntax error
   5937 _ACEOF
   5938 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5939 case "(($ac_try" in
   5940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5941   *) ac_try_echo=$ac_try;;
   5942 esac
   5943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5944 $as_echo "$ac_try_echo") >&5
   5945   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5946   ac_status=$?
   5947   grep -v '^ *+' conftest.er1 >conftest.err
   5948   rm -f conftest.er1
   5949   cat conftest.err >&5
   5950   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5951   (exit $ac_status); } >/dev/null && {
   5952 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5953 	 test ! -s conftest.err
   5954        }; then
   5955   :
   5956 else
   5957   $as_echo "$as_me: failed program was:" >&5
   5958 sed 's/^/| /' conftest.$ac_ext >&5
   5959 
   5960   # Broken: fails on valid input.
   5961 continue
   5962 fi
   5963 
   5964 rm -f conftest.err conftest.$ac_ext
   5965 
   5966   # OK, works on sane cases.  Now check whether nonexistent headers
   5967   # can be detected and how.
   5968   cat >conftest.$ac_ext <<_ACEOF
   5969 /* confdefs.h.  */
   5970 _ACEOF
   5971 cat confdefs.h >>conftest.$ac_ext
   5972 cat >>conftest.$ac_ext <<_ACEOF
   5973 /* end confdefs.h.  */
   5974 #include <ac_nonexistent.h>
   5975 _ACEOF
   5976 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5977 case "(($ac_try" in
   5978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5979   *) ac_try_echo=$ac_try;;
   5980 esac
   5981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5982 $as_echo "$ac_try_echo") >&5
   5983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5984   ac_status=$?
   5985   grep -v '^ *+' conftest.er1 >conftest.err
   5986   rm -f conftest.er1
   5987   cat conftest.err >&5
   5988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5989   (exit $ac_status); } >/dev/null && {
   5990 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5991 	 test ! -s conftest.err
   5992        }; then
   5993   # Broken: success on invalid input.
   5994 continue
   5995 else
   5996   $as_echo "$as_me: failed program was:" >&5
   5997 sed 's/^/| /' conftest.$ac_ext >&5
   5998 
   5999   # Passes both tests.
   6000 ac_preproc_ok=:
   6001 break
   6002 fi
   6003 
   6004 rm -f conftest.err conftest.$ac_ext
   6005 
   6006 done
   6007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6008 rm -f conftest.err conftest.$ac_ext
   6009 if $ac_preproc_ok; then
   6010   break
   6011 fi
   6012 
   6013     done
   6014     ac_cv_prog_CXXCPP=$CXXCPP
   6015 
   6016 fi
   6017   CXXCPP=$ac_cv_prog_CXXCPP
   6018 else
   6019   ac_cv_prog_CXXCPP=$CXXCPP
   6020 fi
   6021 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6022 $as_echo "$CXXCPP" >&6; }
   6023 ac_preproc_ok=false
   6024 for ac_cxx_preproc_warn_flag in '' yes
   6025 do
   6026   # Use a header file that comes with gcc, so configuring glibc
   6027   # with a fresh cross-compiler works.
   6028   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6029   # <limits.h> exists even on freestanding compilers.
   6030   # On the NeXT, cc -E runs the code through the compiler's parser,
   6031   # not just through cpp. "Syntax error" is here to catch this case.
   6032   cat >conftest.$ac_ext <<_ACEOF
   6033 /* confdefs.h.  */
   6034 _ACEOF
   6035 cat confdefs.h >>conftest.$ac_ext
   6036 cat >>conftest.$ac_ext <<_ACEOF
   6037 /* end confdefs.h.  */
   6038 #ifdef __STDC__
   6039 # include <limits.h>
   6040 #else
   6041 # include <assert.h>
   6042 #endif
   6043 		     Syntax error
   6044 _ACEOF
   6045 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6046 case "(($ac_try" in
   6047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6048   *) ac_try_echo=$ac_try;;
   6049 esac
   6050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6051 $as_echo "$ac_try_echo") >&5
   6052   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6053   ac_status=$?
   6054   grep -v '^ *+' conftest.er1 >conftest.err
   6055   rm -f conftest.er1
   6056   cat conftest.err >&5
   6057   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6058   (exit $ac_status); } >/dev/null && {
   6059 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6060 	 test ! -s conftest.err
   6061        }; then
   6062   :
   6063 else
   6064   $as_echo "$as_me: failed program was:" >&5
   6065 sed 's/^/| /' conftest.$ac_ext >&5
   6066 
   6067   # Broken: fails on valid input.
   6068 continue
   6069 fi
   6070 
   6071 rm -f conftest.err conftest.$ac_ext
   6072 
   6073   # OK, works on sane cases.  Now check whether nonexistent headers
   6074   # can be detected and how.
   6075   cat >conftest.$ac_ext <<_ACEOF
   6076 /* confdefs.h.  */
   6077 _ACEOF
   6078 cat confdefs.h >>conftest.$ac_ext
   6079 cat >>conftest.$ac_ext <<_ACEOF
   6080 /* end confdefs.h.  */
   6081 #include <ac_nonexistent.h>
   6082 _ACEOF
   6083 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6084 case "(($ac_try" in
   6085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6086   *) ac_try_echo=$ac_try;;
   6087 esac
   6088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6089 $as_echo "$ac_try_echo") >&5
   6090   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6091   ac_status=$?
   6092   grep -v '^ *+' conftest.er1 >conftest.err
   6093   rm -f conftest.er1
   6094   cat conftest.err >&5
   6095   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6096   (exit $ac_status); } >/dev/null && {
   6097 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6098 	 test ! -s conftest.err
   6099        }; then
   6100   # Broken: success on invalid input.
   6101 continue
   6102 else
   6103   $as_echo "$as_me: failed program was:" >&5
   6104 sed 's/^/| /' conftest.$ac_ext >&5
   6105 
   6106   # Passes both tests.
   6107 ac_preproc_ok=:
   6108 break
   6109 fi
   6110 
   6111 rm -f conftest.err conftest.$ac_ext
   6112 
   6113 done
   6114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6115 rm -f conftest.err conftest.$ac_ext
   6116 if $ac_preproc_ok; then
   6117   :
   6118 else
   6119   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6121 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6122 See \`config.log' for more details." >&5
   6123 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6124 See \`config.log' for more details." >&2;}
   6125    { (exit 1); exit 1; }; }; }
   6126 fi
   6127 
   6128 ac_ext=cpp
   6129 ac_cpp='$CXXCPP $CPPFLAGS'
   6130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6133 
   6134 fi
   6135 
   6136 
   6137 ac_ext=f
   6138 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6139 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6140 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6141 if test -n "$ac_tool_prefix"; then
   6142   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
   6143   do
   6144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6146 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6147 $as_echo_n "checking for $ac_word... " >&6; }
   6148 if test "${ac_cv_prog_F77+set}" = set; then
   6149   $as_echo_n "(cached) " >&6
   6150 else
   6151   if test -n "$F77"; then
   6152   ac_cv_prog_F77="$F77" # Let the user override the test.
   6153 else
   6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6155 for as_dir in $PATH
   6156 do
   6157   IFS=$as_save_IFS
   6158   test -z "$as_dir" && as_dir=.
   6159   for ac_exec_ext in '' $ac_executable_extensions; do
   6160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6161     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6162     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6163     break 2
   6164   fi
   6165 done
   6166 done
   6167 IFS=$as_save_IFS
   6168 
   6169 fi
   6170 fi
   6171 F77=$ac_cv_prog_F77
   6172 if test -n "$F77"; then
   6173   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6174 $as_echo "$F77" >&6; }
   6175 else
   6176   { $as_echo "$as_me:$LINENO: result: no" >&5
   6177 $as_echo "no" >&6; }
   6178 fi
   6179 
   6180 
   6181     test -n "$F77" && break
   6182   done
   6183 fi
   6184 if test -z "$F77"; then
   6185   ac_ct_F77=$F77
   6186   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
   6187 do
   6188   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6189 set dummy $ac_prog; ac_word=$2
   6190 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6191 $as_echo_n "checking for $ac_word... " >&6; }
   6192 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6193   $as_echo_n "(cached) " >&6
   6194 else
   6195   if test -n "$ac_ct_F77"; then
   6196   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6197 else
   6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6199 for as_dir in $PATH
   6200 do
   6201   IFS=$as_save_IFS
   6202   test -z "$as_dir" && as_dir=.
   6203   for ac_exec_ext in '' $ac_executable_extensions; do
   6204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6205     ac_cv_prog_ac_ct_F77="$ac_prog"
   6206     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6207     break 2
   6208   fi
   6209 done
   6210 done
   6211 IFS=$as_save_IFS
   6212 
   6213 fi
   6214 fi
   6215 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6216 if test -n "$ac_ct_F77"; then
   6217   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6218 $as_echo "$ac_ct_F77" >&6; }
   6219 else
   6220   { $as_echo "$as_me:$LINENO: result: no" >&5
   6221 $as_echo "no" >&6; }
   6222 fi
   6223 
   6224 
   6225   test -n "$ac_ct_F77" && break
   6226 done
   6227 
   6228   if test "x$ac_ct_F77" = x; then
   6229     F77=""
   6230   else
   6231     case $cross_compiling:$ac_tool_warned in
   6232 yes:)
   6233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6235 ac_tool_warned=yes ;;
   6236 esac
   6237     F77=$ac_ct_F77
   6238   fi
   6239 fi
   6240 
   6241 
   6242 # Provide some information about the compiler.
   6243 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6244 set X $ac_compile
   6245 ac_compiler=$2
   6246 { (ac_try="$ac_compiler --version >&5"
   6247 case "(($ac_try" in
   6248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6249   *) ac_try_echo=$ac_try;;
   6250 esac
   6251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6252 $as_echo "$ac_try_echo") >&5
   6253   (eval "$ac_compiler --version >&5") 2>&5
   6254   ac_status=$?
   6255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6256   (exit $ac_status); }
   6257 { (ac_try="$ac_compiler -v >&5"
   6258 case "(($ac_try" in
   6259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6260   *) ac_try_echo=$ac_try;;
   6261 esac
   6262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6263 $as_echo "$ac_try_echo") >&5
   6264   (eval "$ac_compiler -v >&5") 2>&5
   6265   ac_status=$?
   6266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6267   (exit $ac_status); }
   6268 { (ac_try="$ac_compiler -V >&5"
   6269 case "(($ac_try" in
   6270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6271   *) ac_try_echo=$ac_try;;
   6272 esac
   6273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6274 $as_echo "$ac_try_echo") >&5
   6275   (eval "$ac_compiler -V >&5") 2>&5
   6276   ac_status=$?
   6277   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6278   (exit $ac_status); }
   6279 rm -f a.out
   6280 
   6281 # If we don't use `.F' as extension, the preprocessor is not run on the
   6282 # input file.  (Note that this only needs to work for GNU compilers.)
   6283 ac_save_ext=$ac_ext
   6284 ac_ext=F
   6285 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6286 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6287 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6288   $as_echo_n "(cached) " >&6
   6289 else
   6290   cat >conftest.$ac_ext <<_ACEOF
   6291       program main
   6292 #ifndef __GNUC__
   6293        choke me
   6294 #endif
   6295 
   6296       end
   6297 _ACEOF
   6298 rm -f conftest.$ac_objext
   6299 if { (ac_try="$ac_compile"
   6300 case "(($ac_try" in
   6301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6302   *) ac_try_echo=$ac_try;;
   6303 esac
   6304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6305 $as_echo "$ac_try_echo") >&5
   6306   (eval "$ac_compile") 2>conftest.er1
   6307   ac_status=$?
   6308   grep -v '^ *+' conftest.er1 >conftest.err
   6309   rm -f conftest.er1
   6310   cat conftest.err >&5
   6311   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6312   (exit $ac_status); } && {
   6313 	 test -z "$ac_f77_werror_flag" ||
   6314 	 test ! -s conftest.err
   6315        } && test -s conftest.$ac_objext; then
   6316   ac_compiler_gnu=yes
   6317 else
   6318   $as_echo "$as_me: failed program was:" >&5
   6319 sed 's/^/| /' conftest.$ac_ext >&5
   6320 
   6321 	ac_compiler_gnu=no
   6322 fi
   6323 
   6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6325 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6326 
   6327 fi
   6328 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6329 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6330 ac_ext=$ac_save_ext
   6331 ac_test_FFLAGS=${FFLAGS+set}
   6332 ac_save_FFLAGS=$FFLAGS
   6333 FFLAGS=
   6334 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6335 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6336 if test "${ac_cv_prog_f77_g+set}" = set; then
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   FFLAGS=-g
   6340 cat >conftest.$ac_ext <<_ACEOF
   6341       program main
   6342 
   6343       end
   6344 _ACEOF
   6345 rm -f conftest.$ac_objext
   6346 if { (ac_try="$ac_compile"
   6347 case "(($ac_try" in
   6348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6349   *) ac_try_echo=$ac_try;;
   6350 esac
   6351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6352 $as_echo "$ac_try_echo") >&5
   6353   (eval "$ac_compile") 2>conftest.er1
   6354   ac_status=$?
   6355   grep -v '^ *+' conftest.er1 >conftest.err
   6356   rm -f conftest.er1
   6357   cat conftest.err >&5
   6358   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6359   (exit $ac_status); } && {
   6360 	 test -z "$ac_f77_werror_flag" ||
   6361 	 test ! -s conftest.err
   6362        } && test -s conftest.$ac_objext; then
   6363   ac_cv_prog_f77_g=yes
   6364 else
   6365   $as_echo "$as_me: failed program was:" >&5
   6366 sed 's/^/| /' conftest.$ac_ext >&5
   6367 
   6368 	ac_cv_prog_f77_g=no
   6369 fi
   6370 
   6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6372 
   6373 fi
   6374 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6375 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6376 if test "$ac_test_FFLAGS" = set; then
   6377   FFLAGS=$ac_save_FFLAGS
   6378 elif test $ac_cv_prog_f77_g = yes; then
   6379   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6380     FFLAGS="-g -O2"
   6381   else
   6382     FFLAGS="-g"
   6383   fi
   6384 else
   6385   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6386     FFLAGS="-O2"
   6387   else
   6388     FFLAGS=
   6389   fi
   6390 fi
   6391 
   6392 if test $ac_compiler_gnu = yes; then
   6393   G77=yes
   6394 else
   6395   G77=
   6396 fi
   6397 ac_ext=c
   6398 ac_cpp='$CPP $CPPFLAGS'
   6399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6402 
   6403 
   6404 
   6405 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6406 # find the maximum length of command line arguments
   6407 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6408 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6409 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6410   $as_echo_n "(cached) " >&6
   6411 else
   6412     i=0
   6413   teststring="ABCD"
   6414 
   6415   case $build_os in
   6416   msdosdjgpp*)
   6417     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6418     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6419     # during glob expansion).  Even if it were fixed, the result of this
   6420     # check would be larger than it should be.
   6421     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6422     ;;
   6423 
   6424   gnu*)
   6425     # Under GNU Hurd, this test is not required because there is
   6426     # no limit to the length of command line arguments.
   6427     # Libtool will interpret -1 as no limit whatsoever
   6428     lt_cv_sys_max_cmd_len=-1;
   6429     ;;
   6430 
   6431   cygwin* | mingw*)
   6432     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6433     # about 5 minutes as the teststring grows exponentially.
   6434     # Worse, since 9x/ME are not pre-emptively multitasking,
   6435     # you end up with a "frozen" computer, even though with patience
   6436     # the test eventually succeeds (with a max line length of 256k).
   6437     # Instead, let's just punt: use the minimum linelength reported by
   6438     # all of the supported platforms: 8192 (on NT/2K/XP).
   6439     lt_cv_sys_max_cmd_len=8192;
   6440     ;;
   6441 
   6442   amigaos*)
   6443     # On AmigaOS with pdksh, this test takes hours, literally.
   6444     # So we just punt and use a minimum line length of 8192.
   6445     lt_cv_sys_max_cmd_len=8192;
   6446     ;;
   6447 
   6448   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6449     # This has been around since 386BSD, at least.  Likely further.
   6450     if test -x /sbin/sysctl; then
   6451       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6452     elif test -x /usr/sbin/sysctl; then
   6453       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6454     else
   6455       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6456     fi
   6457     # And add a safety zone
   6458     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6459     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6460     ;;
   6461 
   6462   interix*)
   6463     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6464     lt_cv_sys_max_cmd_len=196608
   6465     ;;
   6466 
   6467   osf*)
   6468     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6469     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6470     # nice to cause kernel panics so lets avoid the loop below.
   6471     # First set a reasonable default.
   6472     lt_cv_sys_max_cmd_len=16384
   6473     #
   6474     if test -x /sbin/sysconfig; then
   6475       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6476         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6477       esac
   6478     fi
   6479     ;;
   6480   sco3.2v5*)
   6481     lt_cv_sys_max_cmd_len=102400
   6482     ;;
   6483   sysv5* | sco5v6* | sysv4.2uw2*)
   6484     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6485     if test -n "$kargmax"; then
   6486       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6487     else
   6488       lt_cv_sys_max_cmd_len=32768
   6489     fi
   6490     ;;
   6491   *)
   6492     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6493     if test -n "$lt_cv_sys_max_cmd_len"; then
   6494       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6495       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6496     else
   6497       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6498       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6499 	       = "XX$teststring") >/dev/null 2>&1 &&
   6500 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6501 	      lt_cv_sys_max_cmd_len=$new_result &&
   6502 	      test $i != 17 # 1/2 MB should be enough
   6503       do
   6504         i=`expr $i + 1`
   6505         teststring=$teststring$teststring
   6506       done
   6507       teststring=
   6508       # Add a significant safety factor because C++ compilers can tack on massive
   6509       # amounts of additional arguments before passing them to the linker.
   6510       # It appears as though 1/2 is a usable value.
   6511       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6512     fi
   6513     ;;
   6514   esac
   6515 
   6516 fi
   6517 
   6518 if test -n $lt_cv_sys_max_cmd_len ; then
   6519   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6520 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6521 else
   6522   { $as_echo "$as_me:$LINENO: result: none" >&5
   6523 $as_echo "none" >&6; }
   6524 fi
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6531 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6532 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6533 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6534   $as_echo_n "(cached) " >&6
   6535 else
   6536 
   6537 # These are sane defaults that work on at least a few old systems.
   6538 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6539 
   6540 # Character class describing NM global symbol codes.
   6541 symcode='[BCDEGRST]'
   6542 
   6543 # Regexp to match symbols that can be accessed directly from C.
   6544 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6545 
   6546 # Transform an extracted symbol line into a proper C declaration
   6547 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6548 
   6549 # Transform an extracted symbol line into symbol name and symbol address
   6550 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'"
   6551 
   6552 # Define system-specific variables.
   6553 case $host_os in
   6554 aix*)
   6555   symcode='[BCDT]'
   6556   ;;
   6557 cygwin* | mingw* | pw32*)
   6558   symcode='[ABCDGISTW]'
   6559   ;;
   6560 hpux*) # Its linker distinguishes data from code symbols
   6561   if test "$host_cpu" = ia64; then
   6562     symcode='[ABCDEGRST]'
   6563   fi
   6564   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6565   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'"
   6566   ;;
   6567 linux* | k*bsd*-gnu)
   6568   if test "$host_cpu" = ia64; then
   6569     symcode='[ABCDGIRSTW]'
   6570     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6571     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'"
   6572   fi
   6573   ;;
   6574 irix* | nonstopux*)
   6575   symcode='[BCDEGRST]'
   6576   ;;
   6577 osf*)
   6578   symcode='[BCDEGQRST]'
   6579   ;;
   6580 solaris*)
   6581   symcode='[BDRT]'
   6582   ;;
   6583 sco3.2v5*)
   6584   symcode='[DT]'
   6585   ;;
   6586 sysv4.2uw2*)
   6587   symcode='[DT]'
   6588   ;;
   6589 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6590   symcode='[ABDT]'
   6591   ;;
   6592 sysv4)
   6593   symcode='[DFNSTU]'
   6594   ;;
   6595 esac
   6596 
   6597 # Handle CRLF in mingw tool chain
   6598 opt_cr=
   6599 case $build_os in
   6600 mingw*)
   6601   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6602   ;;
   6603 esac
   6604 
   6605 # If we're using GNU nm, then use its standard symbol codes.
   6606 case `$NM -V 2>&1` in
   6607 *GNU* | *'with BFD'*)
   6608   symcode='[ABCDGIRSTW]' ;;
   6609 esac
   6610 
   6611 # Try without a prefix undercore, then with it.
   6612 for ac_symprfx in "" "_"; do
   6613 
   6614   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6615   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6616 
   6617   # Write the raw and C identifiers.
   6618   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6619 
   6620   # Check to see that the pipe works correctly.
   6621   pipe_works=no
   6622 
   6623   rm -f conftest*
   6624   cat > conftest.$ac_ext <<EOF
   6625 #ifdef __cplusplus
   6626 extern "C" {
   6627 #endif
   6628 char nm_test_var;
   6629 void nm_test_func(){}
   6630 #ifdef __cplusplus
   6631 }
   6632 #endif
   6633 int main(){nm_test_var='a';nm_test_func();return(0);}
   6634 EOF
   6635 
   6636   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6637   (eval $ac_compile) 2>&5
   6638   ac_status=$?
   6639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6640   (exit $ac_status); }; then
   6641     # Now try to grab the symbols.
   6642     nlist=conftest.nm
   6643     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6644   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6645   ac_status=$?
   6646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6647   (exit $ac_status); } && test -s "$nlist"; then
   6648       # Try sorting and uniquifying the output.
   6649       if sort "$nlist" | uniq > "$nlist"T; then
   6650 	mv -f "$nlist"T "$nlist"
   6651       else
   6652 	rm -f "$nlist"T
   6653       fi
   6654 
   6655       # Make sure that we snagged all the symbols we need.
   6656       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6657 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6658 	  cat <<EOF > conftest.$ac_ext
   6659 #ifdef __cplusplus
   6660 extern "C" {
   6661 #endif
   6662 
   6663 EOF
   6664 	  # Now generate the symbol file.
   6665 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6666 
   6667 	  cat <<EOF >> conftest.$ac_ext
   6668 #if defined (__STDC__) && __STDC__
   6669 # define lt_ptr_t void *
   6670 #else
   6671 # define lt_ptr_t char *
   6672 # define const
   6673 #endif
   6674 
   6675 /* The mapping between symbol names and symbols. */
   6676 const struct {
   6677   const char *name;
   6678   lt_ptr_t address;
   6679 }
   6680 lt_preloaded_symbols[] =
   6681 {
   6682 EOF
   6683 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6684 	  cat <<\EOF >> conftest.$ac_ext
   6685   {0, (lt_ptr_t) 0}
   6686 };
   6687 
   6688 #ifdef __cplusplus
   6689 }
   6690 #endif
   6691 EOF
   6692 	  # Now try linking the two files.
   6693 	  mv conftest.$ac_objext conftstm.$ac_objext
   6694 	  lt_save_LIBS="$LIBS"
   6695 	  lt_save_CFLAGS="$CFLAGS"
   6696 	  LIBS="conftstm.$ac_objext"
   6697 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6698 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6699   (eval $ac_link) 2>&5
   6700   ac_status=$?
   6701   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6702   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6703 	    pipe_works=yes
   6704 	  fi
   6705 	  LIBS="$lt_save_LIBS"
   6706 	  CFLAGS="$lt_save_CFLAGS"
   6707 	else
   6708 	  echo "cannot find nm_test_func in $nlist" >&5
   6709 	fi
   6710       else
   6711 	echo "cannot find nm_test_var in $nlist" >&5
   6712       fi
   6713     else
   6714       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6715     fi
   6716   else
   6717     echo "$progname: failed program was:" >&5
   6718     cat conftest.$ac_ext >&5
   6719   fi
   6720   rm -rf conftest* conftst*
   6721 
   6722   # Do not use the global_symbol_pipe unless it works.
   6723   if test "$pipe_works" = yes; then
   6724     break
   6725   else
   6726     lt_cv_sys_global_symbol_pipe=
   6727   fi
   6728 done
   6729 
   6730 fi
   6731 
   6732 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6733   lt_cv_sys_global_symbol_to_cdecl=
   6734 fi
   6735 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6736   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6737 $as_echo "failed" >&6; }
   6738 else
   6739   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6740 $as_echo "ok" >&6; }
   6741 fi
   6742 
   6743 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6744 $as_echo_n "checking for objdir... " >&6; }
   6745 if test "${lt_cv_objdir+set}" = set; then
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748   rm -f .libs 2>/dev/null
   6749 mkdir .libs 2>/dev/null
   6750 if test -d .libs; then
   6751   lt_cv_objdir=.libs
   6752 else
   6753   # MS-DOS does not allow filenames that begin with a dot.
   6754   lt_cv_objdir=_libs
   6755 fi
   6756 rmdir .libs 2>/dev/null
   6757 fi
   6758 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6759 $as_echo "$lt_cv_objdir" >&6; }
   6760 objdir=$lt_cv_objdir
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 case $host_os in
   6767 aix3*)
   6768   # AIX sometimes has problems with the GCC collect2 program.  For some
   6769   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6770   # vanish in a puff of smoke.
   6771   if test "X${COLLECT_NAMES+set}" != Xset; then
   6772     COLLECT_NAMES=
   6773     export COLLECT_NAMES
   6774   fi
   6775   ;;
   6776 esac
   6777 
   6778 # Sed substitution that helps us do robust quoting.  It backslashifies
   6779 # metacharacters that are still active within double-quoted strings.
   6780 Xsed='sed -e 1s/^X//'
   6781 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6782 
   6783 # Same as above, but do not quote variable references.
   6784 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6785 
   6786 # Sed substitution to delay expansion of an escaped shell variable in a
   6787 # double_quote_subst'ed string.
   6788 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6789 
   6790 # Sed substitution to avoid accidental globbing in evaled expressions
   6791 no_glob_subst='s/\*/\\\*/g'
   6792 
   6793 # Constants:
   6794 rm="rm -f"
   6795 
   6796 # Global variables:
   6797 default_ofile=libtool
   6798 can_build_shared=yes
   6799 
   6800 # All known linkers require a `.a' archive for static linking (except MSVC,
   6801 # which needs '.lib').
   6802 libext=a
   6803 ltmain="$ac_aux_dir/ltmain.sh"
   6804 ofile="$default_ofile"
   6805 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6806 
   6807 if test -n "$ac_tool_prefix"; then
   6808   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6809 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6810 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6811 $as_echo_n "checking for $ac_word... " >&6; }
   6812 if test "${ac_cv_prog_AR+set}" = set; then
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   if test -n "$AR"; then
   6816   ac_cv_prog_AR="$AR" # Let the user override the test.
   6817 else
   6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6819 for as_dir in $PATH
   6820 do
   6821   IFS=$as_save_IFS
   6822   test -z "$as_dir" && as_dir=.
   6823   for ac_exec_ext in '' $ac_executable_extensions; do
   6824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6825     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6826     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6827     break 2
   6828   fi
   6829 done
   6830 done
   6831 IFS=$as_save_IFS
   6832 
   6833 fi
   6834 fi
   6835 AR=$ac_cv_prog_AR
   6836 if test -n "$AR"; then
   6837   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6838 $as_echo "$AR" >&6; }
   6839 else
   6840   { $as_echo "$as_me:$LINENO: result: no" >&5
   6841 $as_echo "no" >&6; }
   6842 fi
   6843 
   6844 
   6845 fi
   6846 if test -z "$ac_cv_prog_AR"; then
   6847   ac_ct_AR=$AR
   6848   # Extract the first word of "ar", so it can be a program name with args.
   6849 set dummy ar; ac_word=$2
   6850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6851 $as_echo_n "checking for $ac_word... " >&6; }
   6852 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   if test -n "$ac_ct_AR"; then
   6856   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6857 else
   6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6859 for as_dir in $PATH
   6860 do
   6861   IFS=$as_save_IFS
   6862   test -z "$as_dir" && as_dir=.
   6863   for ac_exec_ext in '' $ac_executable_extensions; do
   6864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6865     ac_cv_prog_ac_ct_AR="ar"
   6866     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6867     break 2
   6868   fi
   6869 done
   6870 done
   6871 IFS=$as_save_IFS
   6872 
   6873 fi
   6874 fi
   6875 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6876 if test -n "$ac_ct_AR"; then
   6877   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6878 $as_echo "$ac_ct_AR" >&6; }
   6879 else
   6880   { $as_echo "$as_me:$LINENO: result: no" >&5
   6881 $as_echo "no" >&6; }
   6882 fi
   6883 
   6884   if test "x$ac_ct_AR" = x; then
   6885     AR="false"
   6886   else
   6887     case $cross_compiling:$ac_tool_warned in
   6888 yes:)
   6889 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6891 ac_tool_warned=yes ;;
   6892 esac
   6893     AR=$ac_ct_AR
   6894   fi
   6895 else
   6896   AR="$ac_cv_prog_AR"
   6897 fi
   6898 
   6899 if test -n "$ac_tool_prefix"; then
   6900   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6901 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6903 $as_echo_n "checking for $ac_word... " >&6; }
   6904 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6905   $as_echo_n "(cached) " >&6
   6906 else
   6907   if test -n "$RANLIB"; then
   6908   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6909 else
   6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6911 for as_dir in $PATH
   6912 do
   6913   IFS=$as_save_IFS
   6914   test -z "$as_dir" && as_dir=.
   6915   for ac_exec_ext in '' $ac_executable_extensions; do
   6916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6917     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6918     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6919     break 2
   6920   fi
   6921 done
   6922 done
   6923 IFS=$as_save_IFS
   6924 
   6925 fi
   6926 fi
   6927 RANLIB=$ac_cv_prog_RANLIB
   6928 if test -n "$RANLIB"; then
   6929   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6930 $as_echo "$RANLIB" >&6; }
   6931 else
   6932   { $as_echo "$as_me:$LINENO: result: no" >&5
   6933 $as_echo "no" >&6; }
   6934 fi
   6935 
   6936 
   6937 fi
   6938 if test -z "$ac_cv_prog_RANLIB"; then
   6939   ac_ct_RANLIB=$RANLIB
   6940   # Extract the first word of "ranlib", so it can be a program name with args.
   6941 set dummy ranlib; ac_word=$2
   6942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6943 $as_echo_n "checking for $ac_word... " >&6; }
   6944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6945   $as_echo_n "(cached) " >&6
   6946 else
   6947   if test -n "$ac_ct_RANLIB"; then
   6948   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6949 else
   6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6951 for as_dir in $PATH
   6952 do
   6953   IFS=$as_save_IFS
   6954   test -z "$as_dir" && as_dir=.
   6955   for ac_exec_ext in '' $ac_executable_extensions; do
   6956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6957     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6958     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6959     break 2
   6960   fi
   6961 done
   6962 done
   6963 IFS=$as_save_IFS
   6964 
   6965 fi
   6966 fi
   6967 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6968 if test -n "$ac_ct_RANLIB"; then
   6969   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6970 $as_echo "$ac_ct_RANLIB" >&6; }
   6971 else
   6972   { $as_echo "$as_me:$LINENO: result: no" >&5
   6973 $as_echo "no" >&6; }
   6974 fi
   6975 
   6976   if test "x$ac_ct_RANLIB" = x; then
   6977     RANLIB=":"
   6978   else
   6979     case $cross_compiling:$ac_tool_warned in
   6980 yes:)
   6981 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6983 ac_tool_warned=yes ;;
   6984 esac
   6985     RANLIB=$ac_ct_RANLIB
   6986   fi
   6987 else
   6988   RANLIB="$ac_cv_prog_RANLIB"
   6989 fi
   6990 
   6991 if test -n "$ac_tool_prefix"; then
   6992   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6993 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6994 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6995 $as_echo_n "checking for $ac_word... " >&6; }
   6996 if test "${ac_cv_prog_STRIP+set}" = set; then
   6997   $as_echo_n "(cached) " >&6
   6998 else
   6999   if test -n "$STRIP"; then
   7000   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7001 else
   7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7003 for as_dir in $PATH
   7004 do
   7005   IFS=$as_save_IFS
   7006   test -z "$as_dir" && as_dir=.
   7007   for ac_exec_ext in '' $ac_executable_extensions; do
   7008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7009     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7010     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7011     break 2
   7012   fi
   7013 done
   7014 done
   7015 IFS=$as_save_IFS
   7016 
   7017 fi
   7018 fi
   7019 STRIP=$ac_cv_prog_STRIP
   7020 if test -n "$STRIP"; then
   7021   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7022 $as_echo "$STRIP" >&6; }
   7023 else
   7024   { $as_echo "$as_me:$LINENO: result: no" >&5
   7025 $as_echo "no" >&6; }
   7026 fi
   7027 
   7028 
   7029 fi
   7030 if test -z "$ac_cv_prog_STRIP"; then
   7031   ac_ct_STRIP=$STRIP
   7032   # Extract the first word of "strip", so it can be a program name with args.
   7033 set dummy strip; ac_word=$2
   7034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7035 $as_echo_n "checking for $ac_word... " >&6; }
   7036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7037   $as_echo_n "(cached) " >&6
   7038 else
   7039   if test -n "$ac_ct_STRIP"; then
   7040   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7041 else
   7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7043 for as_dir in $PATH
   7044 do
   7045   IFS=$as_save_IFS
   7046   test -z "$as_dir" && as_dir=.
   7047   for ac_exec_ext in '' $ac_executable_extensions; do
   7048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7049     ac_cv_prog_ac_ct_STRIP="strip"
   7050     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7051     break 2
   7052   fi
   7053 done
   7054 done
   7055 IFS=$as_save_IFS
   7056 
   7057 fi
   7058 fi
   7059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7060 if test -n "$ac_ct_STRIP"; then
   7061   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7062 $as_echo "$ac_ct_STRIP" >&6; }
   7063 else
   7064   { $as_echo "$as_me:$LINENO: result: no" >&5
   7065 $as_echo "no" >&6; }
   7066 fi
   7067 
   7068   if test "x$ac_ct_STRIP" = x; then
   7069     STRIP=":"
   7070   else
   7071     case $cross_compiling:$ac_tool_warned in
   7072 yes:)
   7073 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7075 ac_tool_warned=yes ;;
   7076 esac
   7077     STRIP=$ac_ct_STRIP
   7078   fi
   7079 else
   7080   STRIP="$ac_cv_prog_STRIP"
   7081 fi
   7082 
   7083 
   7084 old_CC="$CC"
   7085 old_CFLAGS="$CFLAGS"
   7086 
   7087 # Set sane defaults for various variables
   7088 test -z "$AR" && AR=ar
   7089 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7090 test -z "$AS" && AS=as
   7091 test -z "$CC" && CC=cc
   7092 test -z "$LTCC" && LTCC=$CC
   7093 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7094 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7095 test -z "$LD" && LD=ld
   7096 test -z "$LN_S" && LN_S="ln -s"
   7097 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7098 test -z "$NM" && NM=nm
   7099 test -z "$SED" && SED=sed
   7100 test -z "$OBJDUMP" && OBJDUMP=objdump
   7101 test -z "$RANLIB" && RANLIB=:
   7102 test -z "$STRIP" && STRIP=:
   7103 test -z "$ac_objext" && ac_objext=o
   7104 
   7105 # Determine commands to create old-style static archives.
   7106 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7107 old_postinstall_cmds='chmod 644 $oldlib'
   7108 old_postuninstall_cmds=
   7109 
   7110 if test -n "$RANLIB"; then
   7111   case $host_os in
   7112   openbsd*)
   7113     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7114     ;;
   7115   *)
   7116     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7117     ;;
   7118   esac
   7119   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7120 fi
   7121 
   7122 for cc_temp in $compiler""; do
   7123   case $cc_temp in
   7124     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7125     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7126     \-*) ;;
   7127     *) break;;
   7128   esac
   7129 done
   7130 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7131 
   7132 
   7133 # Only perform the check for file, if the check method requires it
   7134 case $deplibs_check_method in
   7135 file_magic*)
   7136   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7137     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7138 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7139 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   case $MAGIC_CMD in
   7143 [\\/*] |  ?:[\\/]*)
   7144   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7145   ;;
   7146 *)
   7147   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7148   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7149   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7150   for ac_dir in $ac_dummy; do
   7151     IFS="$lt_save_ifs"
   7152     test -z "$ac_dir" && ac_dir=.
   7153     if test -f $ac_dir/${ac_tool_prefix}file; then
   7154       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7155       if test -n "$file_magic_test_file"; then
   7156 	case $deplibs_check_method in
   7157 	"file_magic "*)
   7158 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7159 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7160 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7161 	    $EGREP "$file_magic_regex" > /dev/null; then
   7162 	    :
   7163 	  else
   7164 	    cat <<EOF 1>&2
   7165 
   7166 *** Warning: the command libtool uses to detect shared libraries,
   7167 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7168 *** The result is that libtool may fail to recognize shared libraries
   7169 *** as such.  This will affect the creation of libtool libraries that
   7170 *** depend on shared libraries, but programs linked with such libtool
   7171 *** libraries will work regardless of this problem.  Nevertheless, you
   7172 *** may want to report the problem to your system manager and/or to
   7173 *** bug-libtool@gnu.org
   7174 
   7175 EOF
   7176 	  fi ;;
   7177 	esac
   7178       fi
   7179       break
   7180     fi
   7181   done
   7182   IFS="$lt_save_ifs"
   7183   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7184   ;;
   7185 esac
   7186 fi
   7187 
   7188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7189 if test -n "$MAGIC_CMD"; then
   7190   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7191 $as_echo "$MAGIC_CMD" >&6; }
   7192 else
   7193   { $as_echo "$as_me:$LINENO: result: no" >&5
   7194 $as_echo "no" >&6; }
   7195 fi
   7196 
   7197 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7198   if test -n "$ac_tool_prefix"; then
   7199     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7200 $as_echo_n "checking for file... " >&6; }
   7201 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7202   $as_echo_n "(cached) " >&6
   7203 else
   7204   case $MAGIC_CMD in
   7205 [\\/*] |  ?:[\\/]*)
   7206   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7207   ;;
   7208 *)
   7209   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7210   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7211   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7212   for ac_dir in $ac_dummy; do
   7213     IFS="$lt_save_ifs"
   7214     test -z "$ac_dir" && ac_dir=.
   7215     if test -f $ac_dir/file; then
   7216       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7217       if test -n "$file_magic_test_file"; then
   7218 	case $deplibs_check_method in
   7219 	"file_magic "*)
   7220 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7221 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7222 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7223 	    $EGREP "$file_magic_regex" > /dev/null; then
   7224 	    :
   7225 	  else
   7226 	    cat <<EOF 1>&2
   7227 
   7228 *** Warning: the command libtool uses to detect shared libraries,
   7229 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7230 *** The result is that libtool may fail to recognize shared libraries
   7231 *** as such.  This will affect the creation of libtool libraries that
   7232 *** depend on shared libraries, but programs linked with such libtool
   7233 *** libraries will work regardless of this problem.  Nevertheless, you
   7234 *** may want to report the problem to your system manager and/or to
   7235 *** bug-libtool@gnu.org
   7236 
   7237 EOF
   7238 	  fi ;;
   7239 	esac
   7240       fi
   7241       break
   7242     fi
   7243   done
   7244   IFS="$lt_save_ifs"
   7245   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7246   ;;
   7247 esac
   7248 fi
   7249 
   7250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7251 if test -n "$MAGIC_CMD"; then
   7252   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7253 $as_echo "$MAGIC_CMD" >&6; }
   7254 else
   7255   { $as_echo "$as_me:$LINENO: result: no" >&5
   7256 $as_echo "no" >&6; }
   7257 fi
   7258 
   7259   else
   7260     MAGIC_CMD=:
   7261   fi
   7262 fi
   7263 
   7264   fi
   7265   ;;
   7266 esac
   7267 
   7268 
   7269   case $host_os in
   7270     rhapsody* | darwin*)
   7271     if test -n "$ac_tool_prefix"; then
   7272   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7273 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7274 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7275 $as_echo_n "checking for $ac_word... " >&6; }
   7276 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7277   $as_echo_n "(cached) " >&6
   7278 else
   7279   if test -n "$DSYMUTIL"; then
   7280   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7281 else
   7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7283 for as_dir in $PATH
   7284 do
   7285   IFS=$as_save_IFS
   7286   test -z "$as_dir" && as_dir=.
   7287   for ac_exec_ext in '' $ac_executable_extensions; do
   7288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7289     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7290     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7291     break 2
   7292   fi
   7293 done
   7294 done
   7295 IFS=$as_save_IFS
   7296 
   7297 fi
   7298 fi
   7299 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7300 if test -n "$DSYMUTIL"; then
   7301   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7302 $as_echo "$DSYMUTIL" >&6; }
   7303 else
   7304   { $as_echo "$as_me:$LINENO: result: no" >&5
   7305 $as_echo "no" >&6; }
   7306 fi
   7307 
   7308 
   7309 fi
   7310 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7311   ac_ct_DSYMUTIL=$DSYMUTIL
   7312   # Extract the first word of "dsymutil", so it can be a program name with args.
   7313 set dummy dsymutil; ac_word=$2
   7314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7315 $as_echo_n "checking for $ac_word... " >&6; }
   7316 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   if test -n "$ac_ct_DSYMUTIL"; then
   7320   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7321 else
   7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7323 for as_dir in $PATH
   7324 do
   7325   IFS=$as_save_IFS
   7326   test -z "$as_dir" && as_dir=.
   7327   for ac_exec_ext in '' $ac_executable_extensions; do
   7328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7329     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7330     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7331     break 2
   7332   fi
   7333 done
   7334 done
   7335 IFS=$as_save_IFS
   7336 
   7337 fi
   7338 fi
   7339 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7340 if test -n "$ac_ct_DSYMUTIL"; then
   7341   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7342 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7343 else
   7344   { $as_echo "$as_me:$LINENO: result: no" >&5
   7345 $as_echo "no" >&6; }
   7346 fi
   7347 
   7348   if test "x$ac_ct_DSYMUTIL" = x; then
   7349     DSYMUTIL=":"
   7350   else
   7351     case $cross_compiling:$ac_tool_warned in
   7352 yes:)
   7353 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7355 ac_tool_warned=yes ;;
   7356 esac
   7357     DSYMUTIL=$ac_ct_DSYMUTIL
   7358   fi
   7359 else
   7360   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7361 fi
   7362 
   7363     if test -n "$ac_tool_prefix"; then
   7364   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7365 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7367 $as_echo_n "checking for $ac_word... " >&6; }
   7368 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7369   $as_echo_n "(cached) " >&6
   7370 else
   7371   if test -n "$NMEDIT"; then
   7372   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7373 else
   7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7375 for as_dir in $PATH
   7376 do
   7377   IFS=$as_save_IFS
   7378   test -z "$as_dir" && as_dir=.
   7379   for ac_exec_ext in '' $ac_executable_extensions; do
   7380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7381     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7382     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7383     break 2
   7384   fi
   7385 done
   7386 done
   7387 IFS=$as_save_IFS
   7388 
   7389 fi
   7390 fi
   7391 NMEDIT=$ac_cv_prog_NMEDIT
   7392 if test -n "$NMEDIT"; then
   7393   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7394 $as_echo "$NMEDIT" >&6; }
   7395 else
   7396   { $as_echo "$as_me:$LINENO: result: no" >&5
   7397 $as_echo "no" >&6; }
   7398 fi
   7399 
   7400 
   7401 fi
   7402 if test -z "$ac_cv_prog_NMEDIT"; then
   7403   ac_ct_NMEDIT=$NMEDIT
   7404   # Extract the first word of "nmedit", so it can be a program name with args.
   7405 set dummy nmedit; ac_word=$2
   7406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7407 $as_echo_n "checking for $ac_word... " >&6; }
   7408 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7409   $as_echo_n "(cached) " >&6
   7410 else
   7411   if test -n "$ac_ct_NMEDIT"; then
   7412   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7413 else
   7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7415 for as_dir in $PATH
   7416 do
   7417   IFS=$as_save_IFS
   7418   test -z "$as_dir" && as_dir=.
   7419   for ac_exec_ext in '' $ac_executable_extensions; do
   7420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7421     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7422     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7423     break 2
   7424   fi
   7425 done
   7426 done
   7427 IFS=$as_save_IFS
   7428 
   7429 fi
   7430 fi
   7431 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7432 if test -n "$ac_ct_NMEDIT"; then
   7433   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7434 $as_echo "$ac_ct_NMEDIT" >&6; }
   7435 else
   7436   { $as_echo "$as_me:$LINENO: result: no" >&5
   7437 $as_echo "no" >&6; }
   7438 fi
   7439 
   7440   if test "x$ac_ct_NMEDIT" = x; then
   7441     NMEDIT=":"
   7442   else
   7443     case $cross_compiling:$ac_tool_warned in
   7444 yes:)
   7445 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7447 ac_tool_warned=yes ;;
   7448 esac
   7449     NMEDIT=$ac_ct_NMEDIT
   7450   fi
   7451 else
   7452   NMEDIT="$ac_cv_prog_NMEDIT"
   7453 fi
   7454 
   7455 
   7456     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7457 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7458 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7459   $as_echo_n "(cached) " >&6
   7460 else
   7461   lt_cv_apple_cc_single_mod=no
   7462       if test -z "${LT_MULTI_MODULE}"; then
   7463    # By default we will add the -single_module flag. You can override
   7464    # by either setting the environment variable LT_MULTI_MODULE
   7465    # non-empty at configure time, or by adding -multi_module to the
   7466    # link flags.
   7467    echo "int foo(void){return 1;}" > conftest.c
   7468    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7469      -dynamiclib ${wl}-single_module conftest.c
   7470    if test -f libconftest.dylib; then
   7471      lt_cv_apple_cc_single_mod=yes
   7472      rm -rf libconftest.dylib*
   7473    fi
   7474    rm conftest.c
   7475       fi
   7476 fi
   7477 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7478 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7479     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7480 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7481 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7482   $as_echo_n "(cached) " >&6
   7483 else
   7484   lt_cv_ld_exported_symbols_list=no
   7485       save_LDFLAGS=$LDFLAGS
   7486       echo "_main" > conftest.sym
   7487       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7488       cat >conftest.$ac_ext <<_ACEOF
   7489 /* confdefs.h.  */
   7490 _ACEOF
   7491 cat confdefs.h >>conftest.$ac_ext
   7492 cat >>conftest.$ac_ext <<_ACEOF
   7493 /* end confdefs.h.  */
   7494 
   7495 int
   7496 main ()
   7497 {
   7498 
   7499   ;
   7500   return 0;
   7501 }
   7502 _ACEOF
   7503 rm -f conftest.$ac_objext conftest$ac_exeext
   7504 if { (ac_try="$ac_link"
   7505 case "(($ac_try" in
   7506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7507   *) ac_try_echo=$ac_try;;
   7508 esac
   7509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7510 $as_echo "$ac_try_echo") >&5
   7511   (eval "$ac_link") 2>conftest.er1
   7512   ac_status=$?
   7513   grep -v '^ *+' conftest.er1 >conftest.err
   7514   rm -f conftest.er1
   7515   cat conftest.err >&5
   7516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7517   (exit $ac_status); } && {
   7518 	 test -z "$ac_c_werror_flag" ||
   7519 	 test ! -s conftest.err
   7520        } && test -s conftest$ac_exeext && {
   7521 	 test "$cross_compiling" = yes ||
   7522 	 $as_test_x conftest$ac_exeext
   7523        }; then
   7524   lt_cv_ld_exported_symbols_list=yes
   7525 else
   7526   $as_echo "$as_me: failed program was:" >&5
   7527 sed 's/^/| /' conftest.$ac_ext >&5
   7528 
   7529 	lt_cv_ld_exported_symbols_list=no
   7530 fi
   7531 
   7532 rm -rf conftest.dSYM
   7533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7534       conftest$ac_exeext conftest.$ac_ext
   7535    LDFLAGS="$save_LDFLAGS"
   7536 
   7537 fi
   7538 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7539 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7540     case $host_os in
   7541     rhapsody* | darwin1.[0123])
   7542       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7543     darwin1.*)
   7544      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7545     darwin*)
   7546       # if running on 10.5 or later, the deployment target defaults
   7547       # to the OS version, if on x86, and 10.4, the deployment
   7548       # target defaults to 10.4. Don't you love it?
   7549       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7550    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7551      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7552    10.[012]*)
   7553      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7554    10.*)
   7555      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7556       esac
   7557     ;;
   7558   esac
   7559     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7560       _lt_dar_single_mod='$single_module'
   7561     fi
   7562     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7563       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7564     else
   7565       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7566     fi
   7567     if test "$DSYMUTIL" != ":"; then
   7568       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7569     else
   7570       _lt_dsymutil=
   7571     fi
   7572     ;;
   7573   esac
   7574 
   7575 
   7576 enable_dlopen=no
   7577 enable_win32_dll=no
   7578 
   7579 # Check whether --enable-libtool-lock was given.
   7580 if test "${enable_libtool_lock+set}" = set; then
   7581   enableval=$enable_libtool_lock;
   7582 fi
   7583 
   7584 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7585 
   7586 
   7587 # Check whether --with-pic was given.
   7588 if test "${with_pic+set}" = set; then
   7589   withval=$with_pic; pic_mode="$withval"
   7590 else
   7591   pic_mode=default
   7592 fi
   7593 
   7594 test -z "$pic_mode" && pic_mode=default
   7595 
   7596 # Use C for the default configuration in the libtool script
   7597 tagname=
   7598 lt_save_CC="$CC"
   7599 ac_ext=c
   7600 ac_cpp='$CPP $CPPFLAGS'
   7601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7604 
   7605 
   7606 # Source file extension for C test sources.
   7607 ac_ext=c
   7608 
   7609 # Object file extension for compiled C test sources.
   7610 objext=o
   7611 objext=$objext
   7612 
   7613 # Code to be used in simple compile tests
   7614 lt_simple_compile_test_code="int some_variable = 0;"
   7615 
   7616 # Code to be used in simple link tests
   7617 lt_simple_link_test_code='int main(){return(0);}'
   7618 
   7619 
   7620 # If no C compiler was specified, use CC.
   7621 LTCC=${LTCC-"$CC"}
   7622 
   7623 # If no C compiler flags were specified, use CFLAGS.
   7624 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7625 
   7626 # Allow CC to be a program name with arguments.
   7627 compiler=$CC
   7628 
   7629 
   7630 # save warnings/boilerplate of simple test code
   7631 ac_outfile=conftest.$ac_objext
   7632 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7633 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7634 _lt_compiler_boilerplate=`cat conftest.err`
   7635 $rm conftest*
   7636 
   7637 ac_outfile=conftest.$ac_objext
   7638 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7639 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7640 _lt_linker_boilerplate=`cat conftest.err`
   7641 $rm -r conftest*
   7642 
   7643 
   7644 
   7645 lt_prog_compiler_no_builtin_flag=
   7646 
   7647 if test "$GCC" = yes; then
   7648   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7649 
   7650 
   7651 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7652 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7653 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7654   $as_echo_n "(cached) " >&6
   7655 else
   7656   lt_cv_prog_compiler_rtti_exceptions=no
   7657   ac_outfile=conftest.$ac_objext
   7658    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7659    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7660    # Insert the option either (1) after the last *FLAGS variable, or
   7661    # (2) before a word containing "conftest.", or (3) at the end.
   7662    # Note that $ac_compile itself does not contain backslashes and begins
   7663    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7664    # The option is referenced via a variable to avoid confusing sed.
   7665    lt_compile=`echo "$ac_compile" | $SED \
   7666    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7667    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7668    -e 's:$: $lt_compiler_flag:'`
   7669    (eval echo "\"\$as_me:7669: $lt_compile\"" >&5)
   7670    (eval "$lt_compile" 2>conftest.err)
   7671    ac_status=$?
   7672    cat conftest.err >&5
   7673    echo "$as_me:7673: \$? = $ac_status" >&5
   7674    if (exit $ac_status) && test -s "$ac_outfile"; then
   7675      # The compiler can only warn and ignore the option if not recognized
   7676      # So say no if there are warnings other than the usual output.
   7677      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7678      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7679      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7680        lt_cv_prog_compiler_rtti_exceptions=yes
   7681      fi
   7682    fi
   7683    $rm conftest*
   7684 
   7685 fi
   7686 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7687 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7688 
   7689 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7690     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7691 else
   7692     :
   7693 fi
   7694 
   7695 fi
   7696 
   7697 lt_prog_compiler_wl=
   7698 lt_prog_compiler_pic=
   7699 lt_prog_compiler_static=
   7700 
   7701 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7702 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7703 
   7704   if test "$GCC" = yes; then
   7705     lt_prog_compiler_wl='-Wl,'
   7706     lt_prog_compiler_static='-static'
   7707 
   7708     case $host_os in
   7709       aix*)
   7710       # All AIX code is PIC.
   7711       if test "$host_cpu" = ia64; then
   7712 	# AIX 5 now supports IA64 processor
   7713 	lt_prog_compiler_static='-Bstatic'
   7714       fi
   7715       ;;
   7716 
   7717     amigaos*)
   7718       # FIXME: we need at least 68020 code to build shared libraries, but
   7719       # adding the `-m68020' flag to GCC prevents building anything better,
   7720       # like `-m68040'.
   7721       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7722       ;;
   7723 
   7724     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7725       # PIC is the default for these OSes.
   7726       ;;
   7727 
   7728     mingw* | cygwin* | pw32* | os2*)
   7729       # This hack is so that the source file can tell whether it is being
   7730       # built for inclusion in a dll (and should export symbols for example).
   7731       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7732       # (--disable-auto-import) libraries
   7733       lt_prog_compiler_pic='-DDLL_EXPORT'
   7734       ;;
   7735 
   7736     darwin* | rhapsody*)
   7737       # PIC is the default on this platform
   7738       # Common symbols not allowed in MH_DYLIB files
   7739       lt_prog_compiler_pic='-fno-common'
   7740       ;;
   7741 
   7742     interix[3-9]*)
   7743       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7744       # Instead, we relocate shared libraries at runtime.
   7745       ;;
   7746 
   7747     msdosdjgpp*)
   7748       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7749       # on systems that don't support them.
   7750       lt_prog_compiler_can_build_shared=no
   7751       enable_shared=no
   7752       ;;
   7753 
   7754     sysv4*MP*)
   7755       if test -d /usr/nec; then
   7756 	lt_prog_compiler_pic=-Kconform_pic
   7757       fi
   7758       ;;
   7759 
   7760     hpux*)
   7761       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7762       # not for PA HP-UX.
   7763       case $host_cpu in
   7764       hppa*64*|ia64*)
   7765 	# +Z the default
   7766 	;;
   7767       *)
   7768 	lt_prog_compiler_pic='-fPIC'
   7769 	;;
   7770       esac
   7771       ;;
   7772 
   7773     *)
   7774       lt_prog_compiler_pic='-fPIC'
   7775       ;;
   7776     esac
   7777   else
   7778     # PORTME Check for flag to pass linker flags through the system compiler.
   7779     case $host_os in
   7780     aix*)
   7781       lt_prog_compiler_wl='-Wl,'
   7782       if test "$host_cpu" = ia64; then
   7783 	# AIX 5 now supports IA64 processor
   7784 	lt_prog_compiler_static='-Bstatic'
   7785       else
   7786 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7787       fi
   7788       ;;
   7789       darwin*)
   7790         # PIC is the default on this platform
   7791         # Common symbols not allowed in MH_DYLIB files
   7792        case $cc_basename in
   7793          xlc*)
   7794          lt_prog_compiler_pic='-qnocommon'
   7795          lt_prog_compiler_wl='-Wl,'
   7796          ;;
   7797        esac
   7798        ;;
   7799 
   7800     mingw* | cygwin* | pw32* | os2*)
   7801       # This hack is so that the source file can tell whether it is being
   7802       # built for inclusion in a dll (and should export symbols for example).
   7803       lt_prog_compiler_pic='-DDLL_EXPORT'
   7804       ;;
   7805 
   7806     hpux9* | hpux10* | hpux11*)
   7807       lt_prog_compiler_wl='-Wl,'
   7808       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7809       # not for PA HP-UX.
   7810       case $host_cpu in
   7811       hppa*64*|ia64*)
   7812 	# +Z the default
   7813 	;;
   7814       *)
   7815 	lt_prog_compiler_pic='+Z'
   7816 	;;
   7817       esac
   7818       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7819       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7820       ;;
   7821 
   7822     irix5* | irix6* | nonstopux*)
   7823       lt_prog_compiler_wl='-Wl,'
   7824       # PIC (with -KPIC) is the default.
   7825       lt_prog_compiler_static='-non_shared'
   7826       ;;
   7827 
   7828     newsos6)
   7829       lt_prog_compiler_pic='-KPIC'
   7830       lt_prog_compiler_static='-Bstatic'
   7831       ;;
   7832 
   7833     linux* | k*bsd*-gnu)
   7834       case $cc_basename in
   7835       icc* | ecc*)
   7836 	lt_prog_compiler_wl='-Wl,'
   7837 	lt_prog_compiler_pic='-KPIC'
   7838 	lt_prog_compiler_static='-static'
   7839         ;;
   7840       pgcc* | pgf77* | pgf90* | pgf95*)
   7841         # Portland Group compilers (*not* the Pentium gcc compiler,
   7842 	# which looks to be a dead project)
   7843 	lt_prog_compiler_wl='-Wl,'
   7844 	lt_prog_compiler_pic='-fpic'
   7845 	lt_prog_compiler_static='-Bstatic'
   7846         ;;
   7847       ccc*)
   7848         lt_prog_compiler_wl='-Wl,'
   7849         # All Alpha code is PIC.
   7850         lt_prog_compiler_static='-non_shared'
   7851         ;;
   7852       *)
   7853         case `$CC -V 2>&1 | sed 5q` in
   7854 	*Sun\ C*)
   7855 	  # Sun C 5.9
   7856 	  lt_prog_compiler_pic='-KPIC'
   7857 	  lt_prog_compiler_static='-Bstatic'
   7858 	  lt_prog_compiler_wl='-Wl,'
   7859 	  ;;
   7860 	*Sun\ F*)
   7861 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7862 	  lt_prog_compiler_pic='-KPIC'
   7863 	  lt_prog_compiler_static='-Bstatic'
   7864 	  lt_prog_compiler_wl=''
   7865 	  ;;
   7866 	esac
   7867 	;;
   7868       esac
   7869       ;;
   7870 
   7871     osf3* | osf4* | osf5*)
   7872       lt_prog_compiler_wl='-Wl,'
   7873       # All OSF/1 code is PIC.
   7874       lt_prog_compiler_static='-non_shared'
   7875       ;;
   7876 
   7877     rdos*)
   7878       lt_prog_compiler_static='-non_shared'
   7879       ;;
   7880 
   7881     solaris*)
   7882       lt_prog_compiler_pic='-KPIC'
   7883       lt_prog_compiler_static='-Bstatic'
   7884       case $cc_basename in
   7885       f77* | f90* | f95*)
   7886 	lt_prog_compiler_wl='-Qoption ld ';;
   7887       *)
   7888 	lt_prog_compiler_wl='-Wl,';;
   7889       esac
   7890       ;;
   7891 
   7892     sunos4*)
   7893       lt_prog_compiler_wl='-Qoption ld '
   7894       lt_prog_compiler_pic='-PIC'
   7895       lt_prog_compiler_static='-Bstatic'
   7896       ;;
   7897 
   7898     sysv4 | sysv4.2uw2* | sysv4.3*)
   7899       lt_prog_compiler_wl='-Wl,'
   7900       lt_prog_compiler_pic='-KPIC'
   7901       lt_prog_compiler_static='-Bstatic'
   7902       ;;
   7903 
   7904     sysv4*MP*)
   7905       if test -d /usr/nec ;then
   7906 	lt_prog_compiler_pic='-Kconform_pic'
   7907 	lt_prog_compiler_static='-Bstatic'
   7908       fi
   7909       ;;
   7910 
   7911     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7912       lt_prog_compiler_wl='-Wl,'
   7913       lt_prog_compiler_pic='-KPIC'
   7914       lt_prog_compiler_static='-Bstatic'
   7915       ;;
   7916 
   7917     unicos*)
   7918       lt_prog_compiler_wl='-Wl,'
   7919       lt_prog_compiler_can_build_shared=no
   7920       ;;
   7921 
   7922     uts4*)
   7923       lt_prog_compiler_pic='-pic'
   7924       lt_prog_compiler_static='-Bstatic'
   7925       ;;
   7926 
   7927     *)
   7928       lt_prog_compiler_can_build_shared=no
   7929       ;;
   7930     esac
   7931   fi
   7932 
   7933 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7934 $as_echo "$lt_prog_compiler_pic" >&6; }
   7935 
   7936 #
   7937 # Check to make sure the PIC flag actually works.
   7938 #
   7939 if test -n "$lt_prog_compiler_pic"; then
   7940 
   7941 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7943 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7944   $as_echo_n "(cached) " >&6
   7945 else
   7946   lt_cv_prog_compiler_pic_works=no
   7947   ac_outfile=conftest.$ac_objext
   7948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7949    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7950    # Insert the option either (1) after the last *FLAGS variable, or
   7951    # (2) before a word containing "conftest.", or (3) at the end.
   7952    # Note that $ac_compile itself does not contain backslashes and begins
   7953    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7954    # The option is referenced via a variable to avoid confusing sed.
   7955    lt_compile=`echo "$ac_compile" | $SED \
   7956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7958    -e 's:$: $lt_compiler_flag:'`
   7959    (eval echo "\"\$as_me:7959: $lt_compile\"" >&5)
   7960    (eval "$lt_compile" 2>conftest.err)
   7961    ac_status=$?
   7962    cat conftest.err >&5
   7963    echo "$as_me:7963: \$? = $ac_status" >&5
   7964    if (exit $ac_status) && test -s "$ac_outfile"; then
   7965      # The compiler can only warn and ignore the option if not recognized
   7966      # So say no if there are warnings other than the usual output.
   7967      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7970        lt_cv_prog_compiler_pic_works=yes
   7971      fi
   7972    fi
   7973    $rm conftest*
   7974 
   7975 fi
   7976 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7977 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7978 
   7979 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7980     case $lt_prog_compiler_pic in
   7981      "" | " "*) ;;
   7982      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7983      esac
   7984 else
   7985     lt_prog_compiler_pic=
   7986      lt_prog_compiler_can_build_shared=no
   7987 fi
   7988 
   7989 fi
   7990 case $host_os in
   7991   # For platforms which do not support PIC, -DPIC is meaningless:
   7992   *djgpp*)
   7993     lt_prog_compiler_pic=
   7994     ;;
   7995   *)
   7996     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7997     ;;
   7998 esac
   7999 
   8000 #
   8001 # Check to make sure the static flag actually works.
   8002 #
   8003 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8004 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8005 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8006 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8007   $as_echo_n "(cached) " >&6
   8008 else
   8009   lt_cv_prog_compiler_static_works=no
   8010    save_LDFLAGS="$LDFLAGS"
   8011    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8012    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8013    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8014      # The linker can only warn and ignore the option if not recognized
   8015      # So say no if there are warnings
   8016      if test -s conftest.err; then
   8017        # Append any errors to the config.log.
   8018        cat conftest.err 1>&5
   8019        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8020        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8021        if diff conftest.exp conftest.er2 >/dev/null; then
   8022          lt_cv_prog_compiler_static_works=yes
   8023        fi
   8024      else
   8025        lt_cv_prog_compiler_static_works=yes
   8026      fi
   8027    fi
   8028    $rm -r conftest*
   8029    LDFLAGS="$save_LDFLAGS"
   8030 
   8031 fi
   8032 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8033 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8034 
   8035 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8036     :
   8037 else
   8038     lt_prog_compiler_static=
   8039 fi
   8040 
   8041 
   8042 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8043 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8044 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8045   $as_echo_n "(cached) " >&6
   8046 else
   8047   lt_cv_prog_compiler_c_o=no
   8048    $rm -r conftest 2>/dev/null
   8049    mkdir conftest
   8050    cd conftest
   8051    mkdir out
   8052    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8053 
   8054    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8055    # Insert the option either (1) after the last *FLAGS variable, or
   8056    # (2) before a word containing "conftest.", or (3) at the end.
   8057    # Note that $ac_compile itself does not contain backslashes and begins
   8058    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8059    lt_compile=`echo "$ac_compile" | $SED \
   8060    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8061    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8062    -e 's:$: $lt_compiler_flag:'`
   8063    (eval echo "\"\$as_me:8063: $lt_compile\"" >&5)
   8064    (eval "$lt_compile" 2>out/conftest.err)
   8065    ac_status=$?
   8066    cat out/conftest.err >&5
   8067    echo "$as_me:8067: \$? = $ac_status" >&5
   8068    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8069    then
   8070      # The compiler can only warn and ignore the option if not recognized
   8071      # So say no if there are warnings
   8072      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8073      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8074      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8075        lt_cv_prog_compiler_c_o=yes
   8076      fi
   8077    fi
   8078    chmod u+w . 2>&5
   8079    $rm conftest*
   8080    # SGI C++ compiler will create directory out/ii_files/ for
   8081    # template instantiation
   8082    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8083    $rm out/* && rmdir out
   8084    cd ..
   8085    rmdir conftest
   8086    $rm conftest*
   8087 
   8088 fi
   8089 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8090 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8091 
   8092 
   8093 hard_links="nottested"
   8094 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8095   # do not overwrite the value of need_locks provided by the user
   8096   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8097 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8098   hard_links=yes
   8099   $rm conftest*
   8100   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8101   touch conftest.a
   8102   ln conftest.a conftest.b 2>&5 || hard_links=no
   8103   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8104   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8105 $as_echo "$hard_links" >&6; }
   8106   if test "$hard_links" = no; then
   8107     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8108 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8109     need_locks=warn
   8110   fi
   8111 else
   8112   need_locks=no
   8113 fi
   8114 
   8115 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8117 
   8118   runpath_var=
   8119   allow_undefined_flag=
   8120   enable_shared_with_static_runtimes=no
   8121   archive_cmds=
   8122   archive_expsym_cmds=
   8123   old_archive_From_new_cmds=
   8124   old_archive_from_expsyms_cmds=
   8125   export_dynamic_flag_spec=
   8126   whole_archive_flag_spec=
   8127   thread_safe_flag_spec=
   8128   hardcode_libdir_flag_spec=
   8129   hardcode_libdir_flag_spec_ld=
   8130   hardcode_libdir_separator=
   8131   hardcode_direct=no
   8132   hardcode_minus_L=no
   8133   hardcode_shlibpath_var=unsupported
   8134   link_all_deplibs=unknown
   8135   hardcode_automatic=no
   8136   module_cmds=
   8137   module_expsym_cmds=
   8138   always_export_symbols=no
   8139   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8140   # include_expsyms should be a list of space-separated symbols to be *always*
   8141   # included in the symbol list
   8142   include_expsyms=
   8143   # exclude_expsyms can be an extended regexp of symbols to exclude
   8144   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8145   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8146   # as well as any symbol that contains `d'.
   8147   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8148   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8149   # platforms (ab)use it in PIC code, but their linkers get confused if
   8150   # the symbol is explicitly referenced.  Since portable code cannot
   8151   # rely on this symbol name, it's probably fine to never include it in
   8152   # preloaded symbol tables.
   8153   # Exclude shared library initialization/finalization symbols.
   8154   extract_expsyms_cmds=
   8155   # Just being paranoid about ensuring that cc_basename is set.
   8156   for cc_temp in $compiler""; do
   8157   case $cc_temp in
   8158     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8159     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8160     \-*) ;;
   8161     *) break;;
   8162   esac
   8163 done
   8164 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8165 
   8166   case $host_os in
   8167   cygwin* | mingw* | pw32*)
   8168     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8169     # When not using gcc, we currently assume that we are using
   8170     # Microsoft Visual C++.
   8171     if test "$GCC" != yes; then
   8172       with_gnu_ld=no
   8173     fi
   8174     ;;
   8175   interix*)
   8176     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8177     with_gnu_ld=yes
   8178     ;;
   8179   openbsd*)
   8180     with_gnu_ld=no
   8181     ;;
   8182   esac
   8183 
   8184   ld_shlibs=yes
   8185   if test "$with_gnu_ld" = yes; then
   8186     # If archive_cmds runs LD, not CC, wlarc should be empty
   8187     wlarc='${wl}'
   8188 
   8189     # Set some defaults for GNU ld with shared library support. These
   8190     # are reset later if shared libraries are not supported. Putting them
   8191     # here allows them to be overridden if necessary.
   8192     runpath_var=LD_RUN_PATH
   8193     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8194     export_dynamic_flag_spec='${wl}--export-dynamic'
   8195     # ancient GNU ld didn't support --whole-archive et. al.
   8196     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8197 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8198       else
   8199   	whole_archive_flag_spec=
   8200     fi
   8201     supports_anon_versioning=no
   8202     case `$LD -v 2>/dev/null` in
   8203       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8204       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8205       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8206       *\ 2.11.*) ;; # other 2.11 versions
   8207       *) supports_anon_versioning=yes ;;
   8208     esac
   8209 
   8210     # See if GNU ld supports shared libraries.
   8211     case $host_os in
   8212     aix[3-9]*)
   8213       # On AIX/PPC, the GNU linker is very broken
   8214       if test "$host_cpu" != ia64; then
   8215 	ld_shlibs=no
   8216 	cat <<EOF 1>&2
   8217 
   8218 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8219 *** to be unable to reliably create shared libraries on AIX.
   8220 *** Therefore, libtool is disabling shared libraries support.  If you
   8221 *** really care for shared libraries, you may want to modify your PATH
   8222 *** so that a non-GNU linker is found, and then restart.
   8223 
   8224 EOF
   8225       fi
   8226       ;;
   8227 
   8228     amigaos*)
   8229       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)'
   8230       hardcode_libdir_flag_spec='-L$libdir'
   8231       hardcode_minus_L=yes
   8232 
   8233       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8234       # that the semantics of dynamic libraries on AmigaOS, at least up
   8235       # to version 4, is to share data among multiple programs linked
   8236       # with the same dynamic library.  Since this doesn't match the
   8237       # behavior of shared libraries on other platforms, we can't use
   8238       # them.
   8239       ld_shlibs=no
   8240       ;;
   8241 
   8242     beos*)
   8243       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8244 	allow_undefined_flag=unsupported
   8245 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8246 	# support --undefined.  This deserves some investigation.  FIXME
   8247 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8248       else
   8249 	ld_shlibs=no
   8250       fi
   8251       ;;
   8252 
   8253     cygwin* | mingw* | pw32*)
   8254       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8255       # as there is no search path for DLLs.
   8256       hardcode_libdir_flag_spec='-L$libdir'
   8257       allow_undefined_flag=unsupported
   8258       always_export_symbols=no
   8259       enable_shared_with_static_runtimes=yes
   8260       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8261 
   8262       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8263         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8264 	# If the export-symbols file already is a .def file (1st line
   8265 	# is EXPORTS), use it as is; otherwise, prepend...
   8266 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8267 	  cp $export_symbols $output_objdir/$soname.def;
   8268 	else
   8269 	  echo EXPORTS > $output_objdir/$soname.def;
   8270 	  cat $export_symbols >> $output_objdir/$soname.def;
   8271 	fi~
   8272 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8273       else
   8274 	ld_shlibs=no
   8275       fi
   8276       ;;
   8277 
   8278     interix[3-9]*)
   8279       hardcode_direct=no
   8280       hardcode_shlibpath_var=no
   8281       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8282       export_dynamic_flag_spec='${wl}-E'
   8283       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8284       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8285       # default) and relocated if they conflict, which is a slow very memory
   8286       # consuming and fragmenting process.  To avoid this, we pick a random,
   8287       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8288       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8289       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8290       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'
   8291       ;;
   8292 
   8293     gnu* | linux* | k*bsd*-gnu)
   8294       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8295 	tmp_addflag=
   8296 	case $cc_basename,$host_cpu in
   8297 	pgcc*)				# Portland Group C compiler
   8298 	  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'
   8299 	  tmp_addflag=' $pic_flag'
   8300 	  ;;
   8301 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8302 	  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'
   8303 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8304 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8305 	  tmp_addflag=' -i_dynamic' ;;
   8306 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8307 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8308 	ifc* | ifort*)			# Intel Fortran compiler
   8309 	  tmp_addflag=' -nofor_main' ;;
   8310 	esac
   8311 	case `$CC -V 2>&1 | sed 5q` in
   8312 	*Sun\ C*)			# Sun C 5.9
   8313 	  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'
   8314 	  tmp_sharedflag='-G' ;;
   8315 	*Sun\ F*)			# Sun Fortran 8.3
   8316 	  tmp_sharedflag='-G' ;;
   8317 	*)
   8318 	  tmp_sharedflag='-shared' ;;
   8319 	esac
   8320 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8321 
   8322 	if test $supports_anon_versioning = yes; then
   8323 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8324   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8325   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8326 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8327 	fi
   8328       else
   8329 	ld_shlibs=no
   8330       fi
   8331       ;;
   8332 
   8333     netbsd*)
   8334       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8335 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8336 	wlarc=
   8337       else
   8338 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8339 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8340       fi
   8341       ;;
   8342 
   8343     solaris*)
   8344       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8345 	ld_shlibs=no
   8346 	cat <<EOF 1>&2
   8347 
   8348 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8349 *** create shared libraries on Solaris systems.  Therefore, libtool
   8350 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8351 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8352 *** your PATH or compiler configuration so that the native linker is
   8353 *** used, and then restart.
   8354 
   8355 EOF
   8356       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8357 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8358 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8359       else
   8360 	ld_shlibs=no
   8361       fi
   8362       ;;
   8363 
   8364     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8365       case `$LD -v 2>&1` in
   8366         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8367 	ld_shlibs=no
   8368 	cat <<_LT_EOF 1>&2
   8369 
   8370 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8371 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8372 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8373 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8374 *** your PATH or compiler configuration so that the native linker is
   8375 *** used, and then restart.
   8376 
   8377 _LT_EOF
   8378 	;;
   8379 	*)
   8380 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8381 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8382 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8383 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8384 	  else
   8385 	    ld_shlibs=no
   8386 	  fi
   8387 	;;
   8388       esac
   8389       ;;
   8390 
   8391     sunos4*)
   8392       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8393       wlarc=
   8394       hardcode_direct=yes
   8395       hardcode_shlibpath_var=no
   8396       ;;
   8397 
   8398     *)
   8399       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8400 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8401 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8402       else
   8403 	ld_shlibs=no
   8404       fi
   8405       ;;
   8406     esac
   8407 
   8408     if test "$ld_shlibs" = no; then
   8409       runpath_var=
   8410       hardcode_libdir_flag_spec=
   8411       export_dynamic_flag_spec=
   8412       whole_archive_flag_spec=
   8413     fi
   8414   else
   8415     # PORTME fill in a description of your system's linker (not GNU ld)
   8416     case $host_os in
   8417     aix3*)
   8418       allow_undefined_flag=unsupported
   8419       always_export_symbols=yes
   8420       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'
   8421       # Note: this linker hardcodes the directories in LIBPATH if there
   8422       # are no directories specified by -L.
   8423       hardcode_minus_L=yes
   8424       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8425 	# Neither direct hardcoding nor static linking is supported with a
   8426 	# broken collect2.
   8427 	hardcode_direct=unsupported
   8428       fi
   8429       ;;
   8430 
   8431     aix[4-9]*)
   8432       if test "$host_cpu" = ia64; then
   8433 	# On IA64, the linker does run time linking by default, so we don't
   8434 	# have to do anything special.
   8435 	aix_use_runtimelinking=no
   8436 	exp_sym_flag='-Bexport'
   8437 	no_entry_flag=""
   8438       else
   8439 	# If we're using GNU nm, then we don't want the "-C" option.
   8440 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8441 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8442 	  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'
   8443 	else
   8444 	  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'
   8445 	fi
   8446 	aix_use_runtimelinking=no
   8447 
   8448 	# Test if we are trying to use run time linking or normal
   8449 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8450 	# need to do runtime linking.
   8451 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8452 	  for ld_flag in $LDFLAGS; do
   8453   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8454   	    aix_use_runtimelinking=yes
   8455   	    break
   8456   	  fi
   8457 	  done
   8458 	  ;;
   8459 	esac
   8460 
   8461 	exp_sym_flag='-bexport'
   8462 	no_entry_flag='-bnoentry'
   8463       fi
   8464 
   8465       # When large executables or shared objects are built, AIX ld can
   8466       # have problems creating the table of contents.  If linking a library
   8467       # or program results in "error TOC overflow" add -mminimal-toc to
   8468       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8469       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8470 
   8471       archive_cmds=''
   8472       hardcode_direct=yes
   8473       hardcode_libdir_separator=':'
   8474       link_all_deplibs=yes
   8475 
   8476       if test "$GCC" = yes; then
   8477 	case $host_os in aix4.[012]|aix4.[012].*)
   8478 	# We only want to do this on AIX 4.2 and lower, the check
   8479 	# below for broken collect2 doesn't work under 4.3+
   8480 	  collect2name=`${CC} -print-prog-name=collect2`
   8481 	  if test -f "$collect2name" && \
   8482   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8483 	  then
   8484   	  # We have reworked collect2
   8485   	  :
   8486 	  else
   8487   	  # We have old collect2
   8488   	  hardcode_direct=unsupported
   8489   	  # It fails to find uninstalled libraries when the uninstalled
   8490   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8491   	  # to unsupported forces relinking
   8492   	  hardcode_minus_L=yes
   8493   	  hardcode_libdir_flag_spec='-L$libdir'
   8494   	  hardcode_libdir_separator=
   8495 	  fi
   8496 	  ;;
   8497 	esac
   8498 	shared_flag='-shared'
   8499 	if test "$aix_use_runtimelinking" = yes; then
   8500 	  shared_flag="$shared_flag "'${wl}-G'
   8501 	fi
   8502       else
   8503 	# not using gcc
   8504 	if test "$host_cpu" = ia64; then
   8505   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8506   	# chokes on -Wl,-G. The following line is correct:
   8507 	  shared_flag='-G'
   8508 	else
   8509 	  if test "$aix_use_runtimelinking" = yes; then
   8510 	    shared_flag='${wl}-G'
   8511 	  else
   8512 	    shared_flag='${wl}-bM:SRE'
   8513 	  fi
   8514 	fi
   8515       fi
   8516 
   8517       # It seems that -bexpall does not export symbols beginning with
   8518       # underscore (_), so it is better to generate a list of symbols to export.
   8519       always_export_symbols=yes
   8520       if test "$aix_use_runtimelinking" = yes; then
   8521 	# Warning - without using the other runtime loading flags (-brtl),
   8522 	# -berok will link without error, but may produce a broken library.
   8523 	allow_undefined_flag='-berok'
   8524        # Determine the default libpath from the value encoded in an empty executable.
   8525        cat >conftest.$ac_ext <<_ACEOF
   8526 /* confdefs.h.  */
   8527 _ACEOF
   8528 cat confdefs.h >>conftest.$ac_ext
   8529 cat >>conftest.$ac_ext <<_ACEOF
   8530 /* end confdefs.h.  */
   8531 
   8532 int
   8533 main ()
   8534 {
   8535 
   8536   ;
   8537   return 0;
   8538 }
   8539 _ACEOF
   8540 rm -f conftest.$ac_objext conftest$ac_exeext
   8541 if { (ac_try="$ac_link"
   8542 case "(($ac_try" in
   8543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8544   *) ac_try_echo=$ac_try;;
   8545 esac
   8546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8547 $as_echo "$ac_try_echo") >&5
   8548   (eval "$ac_link") 2>conftest.er1
   8549   ac_status=$?
   8550   grep -v '^ *+' conftest.er1 >conftest.err
   8551   rm -f conftest.er1
   8552   cat conftest.err >&5
   8553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8554   (exit $ac_status); } && {
   8555 	 test -z "$ac_c_werror_flag" ||
   8556 	 test ! -s conftest.err
   8557        } && test -s conftest$ac_exeext && {
   8558 	 test "$cross_compiling" = yes ||
   8559 	 $as_test_x conftest$ac_exeext
   8560        }; then
   8561 
   8562 lt_aix_libpath_sed='
   8563     /Import File Strings/,/^$/ {
   8564 	/^0/ {
   8565 	    s/^0  *\(.*\)$/\1/
   8566 	    p
   8567 	}
   8568     }'
   8569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8570 # Check for a 64-bit object if we didn't find anything.
   8571 if test -z "$aix_libpath"; then
   8572   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8573 fi
   8574 else
   8575   $as_echo "$as_me: failed program was:" >&5
   8576 sed 's/^/| /' conftest.$ac_ext >&5
   8577 
   8578 
   8579 fi
   8580 
   8581 rm -rf conftest.dSYM
   8582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8583       conftest$ac_exeext conftest.$ac_ext
   8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8585 
   8586        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8587 	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"
   8588        else
   8589 	if test "$host_cpu" = ia64; then
   8590 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8591 	  allow_undefined_flag="-z nodefs"
   8592 	  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"
   8593 	else
   8594 	 # Determine the default libpath from the value encoded in an empty executable.
   8595 	 cat >conftest.$ac_ext <<_ACEOF
   8596 /* confdefs.h.  */
   8597 _ACEOF
   8598 cat confdefs.h >>conftest.$ac_ext
   8599 cat >>conftest.$ac_ext <<_ACEOF
   8600 /* end confdefs.h.  */
   8601 
   8602 int
   8603 main ()
   8604 {
   8605 
   8606   ;
   8607   return 0;
   8608 }
   8609 _ACEOF
   8610 rm -f conftest.$ac_objext conftest$ac_exeext
   8611 if { (ac_try="$ac_link"
   8612 case "(($ac_try" in
   8613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8614   *) ac_try_echo=$ac_try;;
   8615 esac
   8616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8617 $as_echo "$ac_try_echo") >&5
   8618   (eval "$ac_link") 2>conftest.er1
   8619   ac_status=$?
   8620   grep -v '^ *+' conftest.er1 >conftest.err
   8621   rm -f conftest.er1
   8622   cat conftest.err >&5
   8623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8624   (exit $ac_status); } && {
   8625 	 test -z "$ac_c_werror_flag" ||
   8626 	 test ! -s conftest.err
   8627        } && test -s conftest$ac_exeext && {
   8628 	 test "$cross_compiling" = yes ||
   8629 	 $as_test_x conftest$ac_exeext
   8630        }; then
   8631 
   8632 lt_aix_libpath_sed='
   8633     /Import File Strings/,/^$/ {
   8634 	/^0/ {
   8635 	    s/^0  *\(.*\)$/\1/
   8636 	    p
   8637 	}
   8638     }'
   8639 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8640 # Check for a 64-bit object if we didn't find anything.
   8641 if test -z "$aix_libpath"; then
   8642   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8643 fi
   8644 else
   8645   $as_echo "$as_me: failed program was:" >&5
   8646 sed 's/^/| /' conftest.$ac_ext >&5
   8647 
   8648 
   8649 fi
   8650 
   8651 rm -rf conftest.dSYM
   8652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8653       conftest$ac_exeext conftest.$ac_ext
   8654 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8655 
   8656 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8657 	  # Warning - without using the other run time loading flags,
   8658 	  # -berok will link without error, but may produce a broken library.
   8659 	  no_undefined_flag=' ${wl}-bernotok'
   8660 	  allow_undefined_flag=' ${wl}-berok'
   8661 	  # Exported symbols can be pulled into shared objects from archives
   8662 	  whole_archive_flag_spec='$convenience'
   8663 	  archive_cmds_need_lc=yes
   8664 	  # This is similar to how AIX traditionally builds its shared libraries.
   8665 	  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'
   8666 	fi
   8667       fi
   8668       ;;
   8669 
   8670     amigaos*)
   8671       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)'
   8672       hardcode_libdir_flag_spec='-L$libdir'
   8673       hardcode_minus_L=yes
   8674       # see comment about different semantics on the GNU ld section
   8675       ld_shlibs=no
   8676       ;;
   8677 
   8678     bsdi[45]*)
   8679       export_dynamic_flag_spec=-rdynamic
   8680       ;;
   8681 
   8682     cygwin* | mingw* | pw32*)
   8683       # When not using gcc, we currently assume that we are using
   8684       # Microsoft Visual C++.
   8685       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8686       # no search path for DLLs.
   8687       hardcode_libdir_flag_spec=' '
   8688       allow_undefined_flag=unsupported
   8689       # Tell ltmain to make .lib files, not .a files.
   8690       libext=lib
   8691       # Tell ltmain to make .dll files, not .so files.
   8692       shrext_cmds=".dll"
   8693       # FIXME: Setting linknames here is a bad hack.
   8694       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8695       # The linker will automatically build a .lib file if we build a DLL.
   8696       old_archive_From_new_cmds='true'
   8697       # FIXME: Should let the user specify the lib program.
   8698       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8699       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8700       enable_shared_with_static_runtimes=yes
   8701       ;;
   8702 
   8703     darwin* | rhapsody*)
   8704       case $host_os in
   8705         rhapsody* | darwin1.[012])
   8706          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8707          ;;
   8708        *) # Darwin 1.3 on
   8709          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8710            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8711          else
   8712            case ${MACOSX_DEPLOYMENT_TARGET} in
   8713              10.[012])
   8714                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8715                ;;
   8716              10.*)
   8717                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8718                ;;
   8719            esac
   8720          fi
   8721          ;;
   8722       esac
   8723       archive_cmds_need_lc=no
   8724       hardcode_direct=no
   8725       hardcode_automatic=yes
   8726       hardcode_shlibpath_var=unsupported
   8727       whole_archive_flag_spec=''
   8728       link_all_deplibs=yes
   8729     if test "$GCC" = yes ; then
   8730     	output_verbose_link_cmd='echo'
   8731         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8732         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8733         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}"
   8734         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}"
   8735     else
   8736       case $cc_basename in
   8737         xlc*)
   8738          output_verbose_link_cmd='echo'
   8739          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8740          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8741           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8742          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}'
   8743           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}'
   8744           ;;
   8745        *)
   8746          ld_shlibs=no
   8747           ;;
   8748       esac
   8749     fi
   8750       ;;
   8751 
   8752     dgux*)
   8753       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8754       hardcode_libdir_flag_spec='-L$libdir'
   8755       hardcode_shlibpath_var=no
   8756       ;;
   8757 
   8758     freebsd1*)
   8759       ld_shlibs=no
   8760       ;;
   8761 
   8762     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8763     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8764     # does not break anything, and helps significantly (at the cost of a little
   8765     # extra space).
   8766     freebsd2.2*)
   8767       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8768       hardcode_libdir_flag_spec='-R$libdir'
   8769       hardcode_direct=yes
   8770       hardcode_shlibpath_var=no
   8771       ;;
   8772 
   8773     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8774     freebsd2*)
   8775       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8776       hardcode_direct=yes
   8777       hardcode_minus_L=yes
   8778       hardcode_shlibpath_var=no
   8779       ;;
   8780 
   8781     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8782     freebsd* | dragonfly*)
   8783       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8784       hardcode_libdir_flag_spec='-R$libdir'
   8785       hardcode_direct=yes
   8786       hardcode_shlibpath_var=no
   8787       ;;
   8788 
   8789     hpux9*)
   8790       if test "$GCC" = yes; then
   8791 	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'
   8792       else
   8793 	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'
   8794       fi
   8795       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8796       hardcode_libdir_separator=:
   8797       hardcode_direct=yes
   8798 
   8799       # hardcode_minus_L: Not really in the search PATH,
   8800       # but as the default location of the library.
   8801       hardcode_minus_L=yes
   8802       export_dynamic_flag_spec='${wl}-E'
   8803       ;;
   8804 
   8805     hpux10*)
   8806       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8807 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8808       else
   8809 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8810       fi
   8811       if test "$with_gnu_ld" = no; then
   8812 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8813 	hardcode_libdir_separator=:
   8814 
   8815 	hardcode_direct=yes
   8816 	export_dynamic_flag_spec='${wl}-E'
   8817 
   8818 	# hardcode_minus_L: Not really in the search PATH,
   8819 	# but as the default location of the library.
   8820 	hardcode_minus_L=yes
   8821       fi
   8822       ;;
   8823 
   8824     hpux11*)
   8825       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8826 	case $host_cpu in
   8827 	hppa*64*)
   8828 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8829 	  ;;
   8830 	ia64*)
   8831 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8832 	  ;;
   8833 	*)
   8834 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8835 	  ;;
   8836 	esac
   8837       else
   8838 	case $host_cpu in
   8839 	hppa*64*)
   8840 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8841 	  ;;
   8842 	ia64*)
   8843 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8844 	  ;;
   8845 	*)
   8846 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8847 	  ;;
   8848 	esac
   8849       fi
   8850       if test "$with_gnu_ld" = no; then
   8851 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8852 	hardcode_libdir_separator=:
   8853 
   8854 	case $host_cpu in
   8855 	hppa*64*|ia64*)
   8856 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8857 	  hardcode_direct=no
   8858 	  hardcode_shlibpath_var=no
   8859 	  ;;
   8860 	*)
   8861 	  hardcode_direct=yes
   8862 	  export_dynamic_flag_spec='${wl}-E'
   8863 
   8864 	  # hardcode_minus_L: Not really in the search PATH,
   8865 	  # but as the default location of the library.
   8866 	  hardcode_minus_L=yes
   8867 	  ;;
   8868 	esac
   8869       fi
   8870       ;;
   8871 
   8872     irix5* | irix6* | nonstopux*)
   8873       if test "$GCC" = yes; then
   8874 	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'
   8875       else
   8876 	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'
   8877 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8878       fi
   8879       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8880       hardcode_libdir_separator=:
   8881       link_all_deplibs=yes
   8882       ;;
   8883 
   8884     netbsd*)
   8885       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8886 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8887       else
   8888 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8889       fi
   8890       hardcode_libdir_flag_spec='-R$libdir'
   8891       hardcode_direct=yes
   8892       hardcode_shlibpath_var=no
   8893       ;;
   8894 
   8895     newsos6)
   8896       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8897       hardcode_direct=yes
   8898       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8899       hardcode_libdir_separator=:
   8900       hardcode_shlibpath_var=no
   8901       ;;
   8902 
   8903     openbsd*)
   8904       if test -f /usr/libexec/ld.so; then
   8905 	hardcode_direct=yes
   8906 	hardcode_shlibpath_var=no
   8907 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8908 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8909 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8910 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8911 	  export_dynamic_flag_spec='${wl}-E'
   8912 	else
   8913 	  case $host_os in
   8914 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8915 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8916 	     hardcode_libdir_flag_spec='-R$libdir'
   8917 	     ;;
   8918 	   *)
   8919 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8920 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8921 	     ;;
   8922 	  esac
   8923         fi
   8924       else
   8925 	ld_shlibs=no
   8926       fi
   8927       ;;
   8928 
   8929     os2*)
   8930       hardcode_libdir_flag_spec='-L$libdir'
   8931       hardcode_minus_L=yes
   8932       allow_undefined_flag=unsupported
   8933       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'
   8934       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8935       ;;
   8936 
   8937     osf3*)
   8938       if test "$GCC" = yes; then
   8939 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8940 	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'
   8941       else
   8942 	allow_undefined_flag=' -expect_unresolved \*'
   8943 	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'
   8944       fi
   8945       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8946       hardcode_libdir_separator=:
   8947       ;;
   8948 
   8949     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8950       if test "$GCC" = yes; then
   8951 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8952 	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'
   8953 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8954       else
   8955 	allow_undefined_flag=' -expect_unresolved \*'
   8956 	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'
   8957 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8958 	$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'
   8959 
   8960 	# Both c and cxx compiler support -rpath directly
   8961 	hardcode_libdir_flag_spec='-rpath $libdir'
   8962       fi
   8963       hardcode_libdir_separator=:
   8964       ;;
   8965 
   8966     solaris*)
   8967       no_undefined_flag=' -z text'
   8968       if test "$GCC" = yes; then
   8969 	wlarc='${wl}'
   8970 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8971 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8972 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8973       else
   8974 	wlarc=''
   8975 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8976 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8977   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8978       fi
   8979       hardcode_libdir_flag_spec='-R$libdir'
   8980       hardcode_shlibpath_var=no
   8981       case $host_os in
   8982       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8983       *)
   8984 	# The compiler driver will combine and reorder linker options,
   8985 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8986 	# but is careful enough not to reorder.
   8987  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8988 	if test "$GCC" = yes; then
   8989 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8990 	else
   8991 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8992 	fi
   8993 	;;
   8994       esac
   8995       link_all_deplibs=yes
   8996       ;;
   8997 
   8998     sunos4*)
   8999       if test "x$host_vendor" = xsequent; then
   9000 	# Use $CC to link under sequent, because it throws in some extra .o
   9001 	# files that make .init and .fini sections work.
   9002 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9003       else
   9004 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9005       fi
   9006       hardcode_libdir_flag_spec='-L$libdir'
   9007       hardcode_direct=yes
   9008       hardcode_minus_L=yes
   9009       hardcode_shlibpath_var=no
   9010       ;;
   9011 
   9012     sysv4)
   9013       case $host_vendor in
   9014 	sni)
   9015 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9016 	  hardcode_direct=yes # is this really true???
   9017 	;;
   9018 	siemens)
   9019 	  ## LD is ld it makes a PLAMLIB
   9020 	  ## CC just makes a GrossModule.
   9021 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9022 	  reload_cmds='$CC -r -o $output$reload_objs'
   9023 	  hardcode_direct=no
   9024         ;;
   9025 	motorola)
   9026 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9027 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9028 	;;
   9029       esac
   9030       runpath_var='LD_RUN_PATH'
   9031       hardcode_shlibpath_var=no
   9032       ;;
   9033 
   9034     sysv4.3*)
   9035       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9036       hardcode_shlibpath_var=no
   9037       export_dynamic_flag_spec='-Bexport'
   9038       ;;
   9039 
   9040     sysv4*MP*)
   9041       if test -d /usr/nec; then
   9042 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9043 	hardcode_shlibpath_var=no
   9044 	runpath_var=LD_RUN_PATH
   9045 	hardcode_runpath_var=yes
   9046 	ld_shlibs=yes
   9047       fi
   9048       ;;
   9049 
   9050     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9051       no_undefined_flag='${wl}-z,text'
   9052       archive_cmds_need_lc=no
   9053       hardcode_shlibpath_var=no
   9054       runpath_var='LD_RUN_PATH'
   9055 
   9056       if test "$GCC" = yes; then
   9057 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9058 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9059       else
   9060 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9061 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9062       fi
   9063       ;;
   9064 
   9065     sysv5* | sco3.2v5* | sco5v6*)
   9066       # Note: We can NOT use -z defs as we might desire, because we do not
   9067       # link with -lc, and that would cause any symbols used from libc to
   9068       # always be unresolved, which means just about no library would
   9069       # ever link correctly.  If we're not using GNU ld we use -z text
   9070       # though, which does catch some bad symbols but isn't as heavy-handed
   9071       # as -z defs.
   9072       no_undefined_flag='${wl}-z,text'
   9073       allow_undefined_flag='${wl}-z,nodefs'
   9074       archive_cmds_need_lc=no
   9075       hardcode_shlibpath_var=no
   9076       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9077       hardcode_libdir_separator=':'
   9078       link_all_deplibs=yes
   9079       export_dynamic_flag_spec='${wl}-Bexport'
   9080       runpath_var='LD_RUN_PATH'
   9081 
   9082       if test "$GCC" = yes; then
   9083 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9084 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9085       else
   9086 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9087 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9088       fi
   9089       ;;
   9090 
   9091     uts4*)
   9092       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9093       hardcode_libdir_flag_spec='-L$libdir'
   9094       hardcode_shlibpath_var=no
   9095       ;;
   9096 
   9097     *)
   9098       ld_shlibs=no
   9099       ;;
   9100     esac
   9101   fi
   9102 
   9103 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9104 $as_echo "$ld_shlibs" >&6; }
   9105 test "$ld_shlibs" = no && can_build_shared=no
   9106 
   9107 #
   9108 # Do we need to explicitly link libc?
   9109 #
   9110 case "x$archive_cmds_need_lc" in
   9111 x|xyes)
   9112   # Assume -lc should be added
   9113   archive_cmds_need_lc=yes
   9114 
   9115   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9116     case $archive_cmds in
   9117     *'~'*)
   9118       # FIXME: we may have to deal with multi-command sequences.
   9119       ;;
   9120     '$CC '*)
   9121       # Test whether the compiler implicitly links with -lc since on some
   9122       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9123       # to ld, don't add -lc before -lgcc.
   9124       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9125 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9126       $rm conftest*
   9127       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9128 
   9129       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9130   (eval $ac_compile) 2>&5
   9131   ac_status=$?
   9132   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9133   (exit $ac_status); } 2>conftest.err; then
   9134         soname=conftest
   9135         lib=conftest
   9136         libobjs=conftest.$ac_objext
   9137         deplibs=
   9138         wl=$lt_prog_compiler_wl
   9139 	pic_flag=$lt_prog_compiler_pic
   9140         compiler_flags=-v
   9141         linker_flags=-v
   9142         verstring=
   9143         output_objdir=.
   9144         libname=conftest
   9145         lt_save_allow_undefined_flag=$allow_undefined_flag
   9146         allow_undefined_flag=
   9147         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9148   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9149   ac_status=$?
   9150   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9151   (exit $ac_status); }
   9152         then
   9153 	  archive_cmds_need_lc=no
   9154         else
   9155 	  archive_cmds_need_lc=yes
   9156         fi
   9157         allow_undefined_flag=$lt_save_allow_undefined_flag
   9158       else
   9159         cat conftest.err 1>&5
   9160       fi
   9161       $rm conftest*
   9162       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9163 $as_echo "$archive_cmds_need_lc" >&6; }
   9164       ;;
   9165     esac
   9166   fi
   9167   ;;
   9168 esac
   9169 
   9170 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9171 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9172 library_names_spec=
   9173 libname_spec='lib$name'
   9174 soname_spec=
   9175 shrext_cmds=".so"
   9176 postinstall_cmds=
   9177 postuninstall_cmds=
   9178 finish_cmds=
   9179 finish_eval=
   9180 shlibpath_var=
   9181 shlibpath_overrides_runpath=unknown
   9182 version_type=none
   9183 dynamic_linker="$host_os ld.so"
   9184 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9185 
   9186 if test "$GCC" = yes; then
   9187   case $host_os in
   9188     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9189     *) lt_awk_arg="/^libraries:/" ;;
   9190   esac
   9191   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9192   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9193     # if the path contains ";" then we assume it to be the separator
   9194     # otherwise default to the standard path separator (i.e. ":") - it is
   9195     # assumed that no part of a normal pathname contains ";" but that should
   9196     # okay in the real world where ";" in dirpaths is itself problematic.
   9197     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9198   else
   9199     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9200   fi
   9201   # Ok, now we have the path, separated by spaces, we can step through it
   9202   # and add multilib dir if necessary.
   9203   lt_tmp_lt_search_path_spec=
   9204   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9205   for lt_sys_path in $lt_search_path_spec; do
   9206     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9207       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9208     else
   9209       test -d "$lt_sys_path" && \
   9210 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9211     fi
   9212   done
   9213   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9214 BEGIN {RS=" "; FS="/|\n";} {
   9215   lt_foo="";
   9216   lt_count=0;
   9217   for (lt_i = NF; lt_i > 0; lt_i--) {
   9218     if ($lt_i != "" && $lt_i != ".") {
   9219       if ($lt_i == "..") {
   9220         lt_count++;
   9221       } else {
   9222         if (lt_count == 0) {
   9223           lt_foo="/" $lt_i lt_foo;
   9224         } else {
   9225           lt_count--;
   9226         }
   9227       }
   9228     }
   9229   }
   9230   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9231   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9232 }'`
   9233   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9234 else
   9235   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9236 fi
   9237 need_lib_prefix=unknown
   9238 hardcode_into_libs=no
   9239 
   9240 # when you set need_version to no, make sure it does not cause -set_version
   9241 # flags to be left without arguments
   9242 need_version=unknown
   9243 
   9244 case $host_os in
   9245 aix3*)
   9246   version_type=linux
   9247   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9248   shlibpath_var=LIBPATH
   9249 
   9250   # AIX 3 has no versioning support, so we append a major version to the name.
   9251   soname_spec='${libname}${release}${shared_ext}$major'
   9252   ;;
   9253 
   9254 aix[4-9]*)
   9255   version_type=linux
   9256   need_lib_prefix=no
   9257   need_version=no
   9258   hardcode_into_libs=yes
   9259   if test "$host_cpu" = ia64; then
   9260     # AIX 5 supports IA64
   9261     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9262     shlibpath_var=LD_LIBRARY_PATH
   9263   else
   9264     # With GCC up to 2.95.x, collect2 would create an import file
   9265     # for dependence libraries.  The import file would start with
   9266     # the line `#! .'.  This would cause the generated library to
   9267     # depend on `.', always an invalid library.  This was fixed in
   9268     # development snapshots of GCC prior to 3.0.
   9269     case $host_os in
   9270       aix4 | aix4.[01] | aix4.[01].*)
   9271       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9272 	   echo ' yes '
   9273 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9274 	:
   9275       else
   9276 	can_build_shared=no
   9277       fi
   9278       ;;
   9279     esac
   9280     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9281     # soname into executable. Probably we can add versioning support to
   9282     # collect2, so additional links can be useful in future.
   9283     if test "$aix_use_runtimelinking" = yes; then
   9284       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9285       # instead of lib<name>.a to let people know that these are not
   9286       # typical AIX shared libraries.
   9287       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9288     else
   9289       # We preserve .a as extension for shared libraries through AIX4.2
   9290       # and later when we are not doing run time linking.
   9291       library_names_spec='${libname}${release}.a $libname.a'
   9292       soname_spec='${libname}${release}${shared_ext}$major'
   9293     fi
   9294     shlibpath_var=LIBPATH
   9295   fi
   9296   ;;
   9297 
   9298 amigaos*)
   9299   library_names_spec='$libname.ixlibrary $libname.a'
   9300   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9301   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'
   9302   ;;
   9303 
   9304 beos*)
   9305   library_names_spec='${libname}${shared_ext}'
   9306   dynamic_linker="$host_os ld.so"
   9307   shlibpath_var=LIBRARY_PATH
   9308   ;;
   9309 
   9310 bsdi[45]*)
   9311   version_type=linux
   9312   need_version=no
   9313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9314   soname_spec='${libname}${release}${shared_ext}$major'
   9315   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9316   shlibpath_var=LD_LIBRARY_PATH
   9317   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9318   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9319   # the default ld.so.conf also contains /usr/contrib/lib and
   9320   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9321   # libtool to hard-code these into programs
   9322   ;;
   9323 
   9324 cygwin* | mingw* | pw32*)
   9325   version_type=windows
   9326   shrext_cmds=".dll"
   9327   need_version=no
   9328   need_lib_prefix=no
   9329 
   9330   case $GCC,$host_os in
   9331   yes,cygwin* | yes,mingw* | yes,pw32*)
   9332     library_names_spec='$libname.dll.a'
   9333     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9334     postinstall_cmds='base_file=`basename \${file}`~
   9335       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9336       dldir=$destdir/`dirname \$dlpath`~
   9337       test -d \$dldir || mkdir -p \$dldir~
   9338       $install_prog $dir/$dlname \$dldir/$dlname~
   9339       chmod a+x \$dldir/$dlname'
   9340     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9341       dlpath=$dir/\$dldll~
   9342        $rm \$dlpath'
   9343     shlibpath_overrides_runpath=yes
   9344 
   9345     case $host_os in
   9346     cygwin*)
   9347       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9348       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9349       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9350       ;;
   9351     mingw*)
   9352       # MinGW DLLs use traditional 'lib' prefix
   9353       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9354       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9355       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9356         # It is most probably a Windows format PATH printed by
   9357         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9358         # path with ; separators, and with drive letters. We can handle the
   9359         # drive letters (cygwin fileutils understands them), so leave them,
   9360         # especially as we might pass files found there to a mingw objdump,
   9361         # which wouldn't understand a cygwinified path. Ahh.
   9362         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9363       else
   9364         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9365       fi
   9366       ;;
   9367     pw32*)
   9368       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9369       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9370       ;;
   9371     esac
   9372     ;;
   9373 
   9374   *)
   9375     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9376     ;;
   9377   esac
   9378   dynamic_linker='Win32 ld.exe'
   9379   # FIXME: first we should search . and the directory the executable is in
   9380   shlibpath_var=PATH
   9381   ;;
   9382 
   9383 darwin* | rhapsody*)
   9384   dynamic_linker="$host_os dyld"
   9385   version_type=darwin
   9386   need_lib_prefix=no
   9387   need_version=no
   9388   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9389   soname_spec='${libname}${release}${major}$shared_ext'
   9390   shlibpath_overrides_runpath=yes
   9391   shlibpath_var=DYLD_LIBRARY_PATH
   9392   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9393 
   9394   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9395   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9396   ;;
   9397 
   9398 dgux*)
   9399   version_type=linux
   9400   need_lib_prefix=no
   9401   need_version=no
   9402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9403   soname_spec='${libname}${release}${shared_ext}$major'
   9404   shlibpath_var=LD_LIBRARY_PATH
   9405   ;;
   9406 
   9407 freebsd1*)
   9408   dynamic_linker=no
   9409   ;;
   9410 
   9411 freebsd* | dragonfly*)
   9412   # DragonFly does not have aout.  When/if they implement a new
   9413   # versioning mechanism, adjust this.
   9414   if test -x /usr/bin/objformat; then
   9415     objformat=`/usr/bin/objformat`
   9416   else
   9417     case $host_os in
   9418     freebsd[123]*) objformat=aout ;;
   9419     *) objformat=elf ;;
   9420     esac
   9421   fi
   9422   version_type=freebsd-$objformat
   9423   case $version_type in
   9424     freebsd-elf*)
   9425       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9426       need_version=no
   9427       need_lib_prefix=no
   9428       ;;
   9429     freebsd-*)
   9430       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9431       need_version=yes
   9432       ;;
   9433   esac
   9434   shlibpath_var=LD_LIBRARY_PATH
   9435   case $host_os in
   9436   freebsd2*)
   9437     shlibpath_overrides_runpath=yes
   9438     ;;
   9439   freebsd3.[01]* | freebsdelf3.[01]*)
   9440     shlibpath_overrides_runpath=yes
   9441     hardcode_into_libs=yes
   9442     ;;
   9443   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9444   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9445     shlibpath_overrides_runpath=no
   9446     hardcode_into_libs=yes
   9447     ;;
   9448   *) # from 4.6 on, and DragonFly
   9449     shlibpath_overrides_runpath=yes
   9450     hardcode_into_libs=yes
   9451     ;;
   9452   esac
   9453   ;;
   9454 
   9455 gnu*)
   9456   version_type=linux
   9457   need_lib_prefix=no
   9458   need_version=no
   9459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9460   soname_spec='${libname}${release}${shared_ext}$major'
   9461   shlibpath_var=LD_LIBRARY_PATH
   9462   hardcode_into_libs=yes
   9463   ;;
   9464 
   9465 hpux9* | hpux10* | hpux11*)
   9466   # Give a soname corresponding to the major version so that dld.sl refuses to
   9467   # link against other versions.
   9468   version_type=sunos
   9469   need_lib_prefix=no
   9470   need_version=no
   9471   case $host_cpu in
   9472   ia64*)
   9473     shrext_cmds='.so'
   9474     hardcode_into_libs=yes
   9475     dynamic_linker="$host_os dld.so"
   9476     shlibpath_var=LD_LIBRARY_PATH
   9477     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9478     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9479     soname_spec='${libname}${release}${shared_ext}$major'
   9480     if test "X$HPUX_IA64_MODE" = X32; then
   9481       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9482     else
   9483       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9484     fi
   9485     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9486     ;;
   9487    hppa*64*)
   9488      shrext_cmds='.sl'
   9489      hardcode_into_libs=yes
   9490      dynamic_linker="$host_os dld.sl"
   9491      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9492      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9493      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9494      soname_spec='${libname}${release}${shared_ext}$major'
   9495      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9496      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9497      ;;
   9498    *)
   9499     shrext_cmds='.sl'
   9500     dynamic_linker="$host_os dld.sl"
   9501     shlibpath_var=SHLIB_PATH
   9502     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9504     soname_spec='${libname}${release}${shared_ext}$major'
   9505     ;;
   9506   esac
   9507   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9508   postinstall_cmds='chmod 555 $lib'
   9509   ;;
   9510 
   9511 interix[3-9]*)
   9512   version_type=linux
   9513   need_lib_prefix=no
   9514   need_version=no
   9515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9516   soname_spec='${libname}${release}${shared_ext}$major'
   9517   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9518   shlibpath_var=LD_LIBRARY_PATH
   9519   shlibpath_overrides_runpath=no
   9520   hardcode_into_libs=yes
   9521   ;;
   9522 
   9523 irix5* | irix6* | nonstopux*)
   9524   case $host_os in
   9525     nonstopux*) version_type=nonstopux ;;
   9526     *)
   9527 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9528 		version_type=linux
   9529 	else
   9530 		version_type=irix
   9531 	fi ;;
   9532   esac
   9533   need_lib_prefix=no
   9534   need_version=no
   9535   soname_spec='${libname}${release}${shared_ext}$major'
   9536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9537   case $host_os in
   9538   irix5* | nonstopux*)
   9539     libsuff= shlibsuff=
   9540     ;;
   9541   *)
   9542     case $LD in # libtool.m4 will add one of these switches to LD
   9543     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9544       libsuff= shlibsuff= libmagic=32-bit;;
   9545     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9546       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9547     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9548       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9549     *) libsuff= shlibsuff= libmagic=never-match;;
   9550     esac
   9551     ;;
   9552   esac
   9553   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9554   shlibpath_overrides_runpath=no
   9555   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9556   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9557   hardcode_into_libs=yes
   9558   ;;
   9559 
   9560 # No shared lib support for Linux oldld, aout, or coff.
   9561 linux*oldld* | linux*aout* | linux*coff*)
   9562   dynamic_linker=no
   9563   ;;
   9564 
   9565 # This must be Linux ELF.
   9566 linux* | k*bsd*-gnu)
   9567   version_type=linux
   9568   need_lib_prefix=no
   9569   need_version=no
   9570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9571   soname_spec='${libname}${release}${shared_ext}$major'
   9572   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9573   shlibpath_var=LD_LIBRARY_PATH
   9574   shlibpath_overrides_runpath=no
   9575   # This implies no fast_install, which is unacceptable.
   9576   # Some rework will be needed to allow for fast_install
   9577   # before this can be enabled.
   9578   hardcode_into_libs=yes
   9579   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9580   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9581 
   9582   # Append ld.so.conf contents to the search path
   9583   if test -f /etc/ld.so.conf; then
   9584     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' ' '`
   9585     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9586   fi
   9587 
   9588   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9589   # powerpc, because MkLinux only supported shared libraries with the
   9590   # GNU dynamic linker.  Since this was broken with cross compilers,
   9591   # most powerpc-linux boxes support dynamic linking these days and
   9592   # people can always --disable-shared, the test was removed, and we
   9593   # assume the GNU/Linux dynamic linker is in use.
   9594   dynamic_linker='GNU/Linux ld.so'
   9595   ;;
   9596 
   9597 netbsd*)
   9598   version_type=sunos
   9599   need_lib_prefix=no
   9600   need_version=no
   9601   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9603     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9604     dynamic_linker='NetBSD (a.out) ld.so'
   9605   else
   9606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9607     soname_spec='${libname}${release}${shared_ext}$major'
   9608     dynamic_linker='NetBSD ld.elf_so'
   9609   fi
   9610   shlibpath_var=LD_LIBRARY_PATH
   9611   shlibpath_overrides_runpath=yes
   9612   hardcode_into_libs=yes
   9613   ;;
   9614 
   9615 newsos6)
   9616   version_type=linux
   9617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9618   shlibpath_var=LD_LIBRARY_PATH
   9619   shlibpath_overrides_runpath=yes
   9620   ;;
   9621 
   9622 nto-qnx*)
   9623   version_type=linux
   9624   need_lib_prefix=no
   9625   need_version=no
   9626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9627   soname_spec='${libname}${release}${shared_ext}$major'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   shlibpath_overrides_runpath=yes
   9630   ;;
   9631 
   9632 openbsd*)
   9633   version_type=sunos
   9634   sys_lib_dlsearch_path_spec="/usr/lib"
   9635   need_lib_prefix=no
   9636   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9637   case $host_os in
   9638     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9639     *)                         need_version=no  ;;
   9640   esac
   9641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9642   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9643   shlibpath_var=LD_LIBRARY_PATH
   9644   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9645     case $host_os in
   9646       openbsd2.[89] | openbsd2.[89].*)
   9647 	shlibpath_overrides_runpath=no
   9648 	;;
   9649       *)
   9650 	shlibpath_overrides_runpath=yes
   9651 	;;
   9652       esac
   9653   else
   9654     shlibpath_overrides_runpath=yes
   9655   fi
   9656   ;;
   9657 
   9658 os2*)
   9659   libname_spec='$name'
   9660   shrext_cmds=".dll"
   9661   need_lib_prefix=no
   9662   library_names_spec='$libname${shared_ext} $libname.a'
   9663   dynamic_linker='OS/2 ld.exe'
   9664   shlibpath_var=LIBPATH
   9665   ;;
   9666 
   9667 osf3* | osf4* | osf5*)
   9668   version_type=osf
   9669   need_lib_prefix=no
   9670   need_version=no
   9671   soname_spec='${libname}${release}${shared_ext}$major'
   9672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9673   shlibpath_var=LD_LIBRARY_PATH
   9674   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9675   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9676   ;;
   9677 
   9678 rdos*)
   9679   dynamic_linker=no
   9680   ;;
   9681 
   9682 solaris*)
   9683   version_type=linux
   9684   need_lib_prefix=no
   9685   need_version=no
   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   shlibpath_overrides_runpath=yes
   9690   hardcode_into_libs=yes
   9691   # ldd complains unless libraries are executable
   9692   postinstall_cmds='chmod +x $lib'
   9693   ;;
   9694 
   9695 sunos4*)
   9696   version_type=sunos
   9697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9698   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9699   shlibpath_var=LD_LIBRARY_PATH
   9700   shlibpath_overrides_runpath=yes
   9701   if test "$with_gnu_ld" = yes; then
   9702     need_lib_prefix=no
   9703   fi
   9704   need_version=yes
   9705   ;;
   9706 
   9707 sysv4 | sysv4.3*)
   9708   version_type=linux
   9709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9710   soname_spec='${libname}${release}${shared_ext}$major'
   9711   shlibpath_var=LD_LIBRARY_PATH
   9712   case $host_vendor in
   9713     sni)
   9714       shlibpath_overrides_runpath=no
   9715       need_lib_prefix=no
   9716       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9717       runpath_var=LD_RUN_PATH
   9718       ;;
   9719     siemens)
   9720       need_lib_prefix=no
   9721       ;;
   9722     motorola)
   9723       need_lib_prefix=no
   9724       need_version=no
   9725       shlibpath_overrides_runpath=no
   9726       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9727       ;;
   9728   esac
   9729   ;;
   9730 
   9731 sysv4*MP*)
   9732   if test -d /usr/nec ;then
   9733     version_type=linux
   9734     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9735     soname_spec='$libname${shared_ext}.$major'
   9736     shlibpath_var=LD_LIBRARY_PATH
   9737   fi
   9738   ;;
   9739 
   9740 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9741   version_type=freebsd-elf
   9742   need_lib_prefix=no
   9743   need_version=no
   9744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9745   soname_spec='${libname}${release}${shared_ext}$major'
   9746   shlibpath_var=LD_LIBRARY_PATH
   9747   hardcode_into_libs=yes
   9748   if test "$with_gnu_ld" = yes; then
   9749     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9750     shlibpath_overrides_runpath=no
   9751   else
   9752     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9753     shlibpath_overrides_runpath=yes
   9754     case $host_os in
   9755       sco3.2v5*)
   9756         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9757 	;;
   9758     esac
   9759   fi
   9760   sys_lib_dlsearch_path_spec='/usr/lib'
   9761   ;;
   9762 
   9763 uts4*)
   9764   version_type=linux
   9765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9766   soname_spec='${libname}${release}${shared_ext}$major'
   9767   shlibpath_var=LD_LIBRARY_PATH
   9768   ;;
   9769 
   9770 *)
   9771   dynamic_linker=no
   9772   ;;
   9773 esac
   9774 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9775 $as_echo "$dynamic_linker" >&6; }
   9776 test "$dynamic_linker" = no && can_build_shared=no
   9777 
   9778 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9779   $as_echo_n "(cached) " >&6
   9780 else
   9781   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9782 fi
   9783 
   9784 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9785 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9789 fi
   9790 
   9791 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9792 
   9793 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9794 if test "$GCC" = yes; then
   9795   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9796 fi
   9797 
   9798 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9799 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9800 hardcode_action=
   9801 if test -n "$hardcode_libdir_flag_spec" || \
   9802    test -n "$runpath_var" || \
   9803    test "X$hardcode_automatic" = "Xyes" ; then
   9804 
   9805   # We can hardcode non-existant directories.
   9806   if test "$hardcode_direct" != no &&
   9807      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9808      # have to relink, otherwise we might link with an installed library
   9809      # when we should be linking with a yet-to-be-installed one
   9810      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9811      test "$hardcode_minus_L" != no; then
   9812     # Linking always hardcodes the temporary library directory.
   9813     hardcode_action=relink
   9814   else
   9815     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9816     hardcode_action=immediate
   9817   fi
   9818 else
   9819   # We cannot hardcode anything, or else we can only hardcode existing
   9820   # directories.
   9821   hardcode_action=unsupported
   9822 fi
   9823 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9824 $as_echo "$hardcode_action" >&6; }
   9825 
   9826 if test "$hardcode_action" = relink; then
   9827   # Fast installation is not supported
   9828   enable_fast_install=no
   9829 elif test "$shlibpath_overrides_runpath" = yes ||
   9830      test "$enable_shared" = no; then
   9831   # Fast installation is not necessary
   9832   enable_fast_install=needless
   9833 fi
   9834 
   9835 striplib=
   9836 old_striplib=
   9837 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9838 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9839 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9840   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9841   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9842   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9843 $as_echo "yes" >&6; }
   9844 else
   9845 # FIXME - insert some real tests, host_os isn't really good enough
   9846   case $host_os in
   9847    darwin*)
   9848        if test -n "$STRIP" ; then
   9849          striplib="$STRIP -x"
   9850          old_striplib="$STRIP -S"
   9851          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9852 $as_echo "yes" >&6; }
   9853        else
   9854   { $as_echo "$as_me:$LINENO: result: no" >&5
   9855 $as_echo "no" >&6; }
   9856 fi
   9857        ;;
   9858    *)
   9859   { $as_echo "$as_me:$LINENO: result: no" >&5
   9860 $as_echo "no" >&6; }
   9861     ;;
   9862   esac
   9863 fi
   9864 
   9865 if test "x$enable_dlopen" != xyes; then
   9866   enable_dlopen=unknown
   9867   enable_dlopen_self=unknown
   9868   enable_dlopen_self_static=unknown
   9869 else
   9870   lt_cv_dlopen=no
   9871   lt_cv_dlopen_libs=
   9872 
   9873   case $host_os in
   9874   beos*)
   9875     lt_cv_dlopen="load_add_on"
   9876     lt_cv_dlopen_libs=
   9877     lt_cv_dlopen_self=yes
   9878     ;;
   9879 
   9880   mingw* | pw32*)
   9881     lt_cv_dlopen="LoadLibrary"
   9882     lt_cv_dlopen_libs=
   9883    ;;
   9884 
   9885   cygwin*)
   9886     lt_cv_dlopen="dlopen"
   9887     lt_cv_dlopen_libs=
   9888    ;;
   9889 
   9890   darwin*)
   9891   # if libdl is installed we need to link against it
   9892     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9893 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9894 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9895   $as_echo_n "(cached) " >&6
   9896 else
   9897   ac_check_lib_save_LIBS=$LIBS
   9898 LIBS="-ldl  $LIBS"
   9899 cat >conftest.$ac_ext <<_ACEOF
   9900 /* confdefs.h.  */
   9901 _ACEOF
   9902 cat confdefs.h >>conftest.$ac_ext
   9903 cat >>conftest.$ac_ext <<_ACEOF
   9904 /* end confdefs.h.  */
   9905 
   9906 /* Override any GCC internal prototype to avoid an error.
   9907    Use char because int might match the return type of a GCC
   9908    builtin and then its argument prototype would still apply.  */
   9909 #ifdef __cplusplus
   9910 extern "C"
   9911 #endif
   9912 char dlopen ();
   9913 int
   9914 main ()
   9915 {
   9916 return dlopen ();
   9917   ;
   9918   return 0;
   9919 }
   9920 _ACEOF
   9921 rm -f conftest.$ac_objext conftest$ac_exeext
   9922 if { (ac_try="$ac_link"
   9923 case "(($ac_try" in
   9924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9925   *) ac_try_echo=$ac_try;;
   9926 esac
   9927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9928 $as_echo "$ac_try_echo") >&5
   9929   (eval "$ac_link") 2>conftest.er1
   9930   ac_status=$?
   9931   grep -v '^ *+' conftest.er1 >conftest.err
   9932   rm -f conftest.er1
   9933   cat conftest.err >&5
   9934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9935   (exit $ac_status); } && {
   9936 	 test -z "$ac_c_werror_flag" ||
   9937 	 test ! -s conftest.err
   9938        } && test -s conftest$ac_exeext && {
   9939 	 test "$cross_compiling" = yes ||
   9940 	 $as_test_x conftest$ac_exeext
   9941        }; then
   9942   ac_cv_lib_dl_dlopen=yes
   9943 else
   9944   $as_echo "$as_me: failed program was:" >&5
   9945 sed 's/^/| /' conftest.$ac_ext >&5
   9946 
   9947 	ac_cv_lib_dl_dlopen=no
   9948 fi
   9949 
   9950 rm -rf conftest.dSYM
   9951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9952       conftest$ac_exeext conftest.$ac_ext
   9953 LIBS=$ac_check_lib_save_LIBS
   9954 fi
   9955 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9957 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9958   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9959 else
   9960 
   9961     lt_cv_dlopen="dyld"
   9962     lt_cv_dlopen_libs=
   9963     lt_cv_dlopen_self=yes
   9964 
   9965 fi
   9966 
   9967    ;;
   9968 
   9969   *)
   9970     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9971 $as_echo_n "checking for shl_load... " >&6; }
   9972 if test "${ac_cv_func_shl_load+set}" = set; then
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat >conftest.$ac_ext <<_ACEOF
   9976 /* confdefs.h.  */
   9977 _ACEOF
   9978 cat confdefs.h >>conftest.$ac_ext
   9979 cat >>conftest.$ac_ext <<_ACEOF
   9980 /* end confdefs.h.  */
   9981 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9983 #define shl_load innocuous_shl_load
   9984 
   9985 /* System header to define __stub macros and hopefully few prototypes,
   9986     which can conflict with char shl_load (); below.
   9987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9988     <limits.h> exists even on freestanding compilers.  */
   9989 
   9990 #ifdef __STDC__
   9991 # include <limits.h>
   9992 #else
   9993 # include <assert.h>
   9994 #endif
   9995 
   9996 #undef shl_load
   9997 
   9998 /* Override any GCC internal prototype to avoid an error.
   9999    Use char because int might match the return type of a GCC
   10000    builtin and then its argument prototype would still apply.  */
   10001 #ifdef __cplusplus
   10002 extern "C"
   10003 #endif
   10004 char shl_load ();
   10005 /* The GNU C library defines this for functions which it implements
   10006     to always fail with ENOSYS.  Some functions are actually named
   10007     something starting with __ and the normal name is an alias.  */
   10008 #if defined __stub_shl_load || defined __stub___shl_load
   10009 choke me
   10010 #endif
   10011 
   10012 int
   10013 main ()
   10014 {
   10015 return shl_load ();
   10016   ;
   10017   return 0;
   10018 }
   10019 _ACEOF
   10020 rm -f conftest.$ac_objext conftest$ac_exeext
   10021 if { (ac_try="$ac_link"
   10022 case "(($ac_try" in
   10023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10024   *) ac_try_echo=$ac_try;;
   10025 esac
   10026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10027 $as_echo "$ac_try_echo") >&5
   10028   (eval "$ac_link") 2>conftest.er1
   10029   ac_status=$?
   10030   grep -v '^ *+' conftest.er1 >conftest.err
   10031   rm -f conftest.er1
   10032   cat conftest.err >&5
   10033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10034   (exit $ac_status); } && {
   10035 	 test -z "$ac_c_werror_flag" ||
   10036 	 test ! -s conftest.err
   10037        } && test -s conftest$ac_exeext && {
   10038 	 test "$cross_compiling" = yes ||
   10039 	 $as_test_x conftest$ac_exeext
   10040        }; then
   10041   ac_cv_func_shl_load=yes
   10042 else
   10043   $as_echo "$as_me: failed program was:" >&5
   10044 sed 's/^/| /' conftest.$ac_ext >&5
   10045 
   10046 	ac_cv_func_shl_load=no
   10047 fi
   10048 
   10049 rm -rf conftest.dSYM
   10050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10051       conftest$ac_exeext conftest.$ac_ext
   10052 fi
   10053 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10054 $as_echo "$ac_cv_func_shl_load" >&6; }
   10055 if test "x$ac_cv_func_shl_load" = x""yes; then
   10056   lt_cv_dlopen="shl_load"
   10057 else
   10058   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10059 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10060 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10061   $as_echo_n "(cached) " >&6
   10062 else
   10063   ac_check_lib_save_LIBS=$LIBS
   10064 LIBS="-ldld  $LIBS"
   10065 cat >conftest.$ac_ext <<_ACEOF
   10066 /* confdefs.h.  */
   10067 _ACEOF
   10068 cat confdefs.h >>conftest.$ac_ext
   10069 cat >>conftest.$ac_ext <<_ACEOF
   10070 /* end confdefs.h.  */
   10071 
   10072 /* Override any GCC internal prototype to avoid an error.
   10073    Use char because int might match the return type of a GCC
   10074    builtin and then its argument prototype would still apply.  */
   10075 #ifdef __cplusplus
   10076 extern "C"
   10077 #endif
   10078 char shl_load ();
   10079 int
   10080 main ()
   10081 {
   10082 return shl_load ();
   10083   ;
   10084   return 0;
   10085 }
   10086 _ACEOF
   10087 rm -f conftest.$ac_objext conftest$ac_exeext
   10088 if { (ac_try="$ac_link"
   10089 case "(($ac_try" in
   10090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10091   *) ac_try_echo=$ac_try;;
   10092 esac
   10093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10094 $as_echo "$ac_try_echo") >&5
   10095   (eval "$ac_link") 2>conftest.er1
   10096   ac_status=$?
   10097   grep -v '^ *+' conftest.er1 >conftest.err
   10098   rm -f conftest.er1
   10099   cat conftest.err >&5
   10100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10101   (exit $ac_status); } && {
   10102 	 test -z "$ac_c_werror_flag" ||
   10103 	 test ! -s conftest.err
   10104        } && test -s conftest$ac_exeext && {
   10105 	 test "$cross_compiling" = yes ||
   10106 	 $as_test_x conftest$ac_exeext
   10107        }; then
   10108   ac_cv_lib_dld_shl_load=yes
   10109 else
   10110   $as_echo "$as_me: failed program was:" >&5
   10111 sed 's/^/| /' conftest.$ac_ext >&5
   10112 
   10113 	ac_cv_lib_dld_shl_load=no
   10114 fi
   10115 
   10116 rm -rf conftest.dSYM
   10117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10118       conftest$ac_exeext conftest.$ac_ext
   10119 LIBS=$ac_check_lib_save_LIBS
   10120 fi
   10121 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10122 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10123 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10124   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10125 else
   10126   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10127 $as_echo_n "checking for dlopen... " >&6; }
   10128 if test "${ac_cv_func_dlopen+set}" = set; then
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat >conftest.$ac_ext <<_ACEOF
   10132 /* confdefs.h.  */
   10133 _ACEOF
   10134 cat confdefs.h >>conftest.$ac_ext
   10135 cat >>conftest.$ac_ext <<_ACEOF
   10136 /* end confdefs.h.  */
   10137 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10139 #define dlopen innocuous_dlopen
   10140 
   10141 /* System header to define __stub macros and hopefully few prototypes,
   10142     which can conflict with char dlopen (); below.
   10143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10144     <limits.h> exists even on freestanding compilers.  */
   10145 
   10146 #ifdef __STDC__
   10147 # include <limits.h>
   10148 #else
   10149 # include <assert.h>
   10150 #endif
   10151 
   10152 #undef dlopen
   10153 
   10154 /* Override any GCC internal prototype to avoid an error.
   10155    Use char because int might match the return type of a GCC
   10156    builtin and then its argument prototype would still apply.  */
   10157 #ifdef __cplusplus
   10158 extern "C"
   10159 #endif
   10160 char dlopen ();
   10161 /* The GNU C library defines this for functions which it implements
   10162     to always fail with ENOSYS.  Some functions are actually named
   10163     something starting with __ and the normal name is an alias.  */
   10164 #if defined __stub_dlopen || defined __stub___dlopen
   10165 choke me
   10166 #endif
   10167 
   10168 int
   10169 main ()
   10170 {
   10171 return dlopen ();
   10172   ;
   10173   return 0;
   10174 }
   10175 _ACEOF
   10176 rm -f conftest.$ac_objext conftest$ac_exeext
   10177 if { (ac_try="$ac_link"
   10178 case "(($ac_try" in
   10179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10180   *) ac_try_echo=$ac_try;;
   10181 esac
   10182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10183 $as_echo "$ac_try_echo") >&5
   10184   (eval "$ac_link") 2>conftest.er1
   10185   ac_status=$?
   10186   grep -v '^ *+' conftest.er1 >conftest.err
   10187   rm -f conftest.er1
   10188   cat conftest.err >&5
   10189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10190   (exit $ac_status); } && {
   10191 	 test -z "$ac_c_werror_flag" ||
   10192 	 test ! -s conftest.err
   10193        } && test -s conftest$ac_exeext && {
   10194 	 test "$cross_compiling" = yes ||
   10195 	 $as_test_x conftest$ac_exeext
   10196        }; then
   10197   ac_cv_func_dlopen=yes
   10198 else
   10199   $as_echo "$as_me: failed program was:" >&5
   10200 sed 's/^/| /' conftest.$ac_ext >&5
   10201 
   10202 	ac_cv_func_dlopen=no
   10203 fi
   10204 
   10205 rm -rf conftest.dSYM
   10206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10207       conftest$ac_exeext conftest.$ac_ext
   10208 fi
   10209 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10210 $as_echo "$ac_cv_func_dlopen" >&6; }
   10211 if test "x$ac_cv_func_dlopen" = x""yes; then
   10212   lt_cv_dlopen="dlopen"
   10213 else
   10214   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10216 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10217   $as_echo_n "(cached) " >&6
   10218 else
   10219   ac_check_lib_save_LIBS=$LIBS
   10220 LIBS="-ldl  $LIBS"
   10221 cat >conftest.$ac_ext <<_ACEOF
   10222 /* confdefs.h.  */
   10223 _ACEOF
   10224 cat confdefs.h >>conftest.$ac_ext
   10225 cat >>conftest.$ac_ext <<_ACEOF
   10226 /* end confdefs.h.  */
   10227 
   10228 /* Override any GCC internal prototype to avoid an error.
   10229    Use char because int might match the return type of a GCC
   10230    builtin and then its argument prototype would still apply.  */
   10231 #ifdef __cplusplus
   10232 extern "C"
   10233 #endif
   10234 char dlopen ();
   10235 int
   10236 main ()
   10237 {
   10238 return dlopen ();
   10239   ;
   10240   return 0;
   10241 }
   10242 _ACEOF
   10243 rm -f conftest.$ac_objext conftest$ac_exeext
   10244 if { (ac_try="$ac_link"
   10245 case "(($ac_try" in
   10246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10247   *) ac_try_echo=$ac_try;;
   10248 esac
   10249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10250 $as_echo "$ac_try_echo") >&5
   10251   (eval "$ac_link") 2>conftest.er1
   10252   ac_status=$?
   10253   grep -v '^ *+' conftest.er1 >conftest.err
   10254   rm -f conftest.er1
   10255   cat conftest.err >&5
   10256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10257   (exit $ac_status); } && {
   10258 	 test -z "$ac_c_werror_flag" ||
   10259 	 test ! -s conftest.err
   10260        } && test -s conftest$ac_exeext && {
   10261 	 test "$cross_compiling" = yes ||
   10262 	 $as_test_x conftest$ac_exeext
   10263        }; then
   10264   ac_cv_lib_dl_dlopen=yes
   10265 else
   10266   $as_echo "$as_me: failed program was:" >&5
   10267 sed 's/^/| /' conftest.$ac_ext >&5
   10268 
   10269 	ac_cv_lib_dl_dlopen=no
   10270 fi
   10271 
   10272 rm -rf conftest.dSYM
   10273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10274       conftest$ac_exeext conftest.$ac_ext
   10275 LIBS=$ac_check_lib_save_LIBS
   10276 fi
   10277 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10278 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10279 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10280   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10281 else
   10282   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10283 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10284 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10285   $as_echo_n "(cached) " >&6
   10286 else
   10287   ac_check_lib_save_LIBS=$LIBS
   10288 LIBS="-lsvld  $LIBS"
   10289 cat >conftest.$ac_ext <<_ACEOF
   10290 /* confdefs.h.  */
   10291 _ACEOF
   10292 cat confdefs.h >>conftest.$ac_ext
   10293 cat >>conftest.$ac_ext <<_ACEOF
   10294 /* end confdefs.h.  */
   10295 
   10296 /* Override any GCC internal prototype to avoid an error.
   10297    Use char because int might match the return type of a GCC
   10298    builtin and then its argument prototype would still apply.  */
   10299 #ifdef __cplusplus
   10300 extern "C"
   10301 #endif
   10302 char dlopen ();
   10303 int
   10304 main ()
   10305 {
   10306 return dlopen ();
   10307   ;
   10308   return 0;
   10309 }
   10310 _ACEOF
   10311 rm -f conftest.$ac_objext conftest$ac_exeext
   10312 if { (ac_try="$ac_link"
   10313 case "(($ac_try" in
   10314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10315   *) ac_try_echo=$ac_try;;
   10316 esac
   10317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10318 $as_echo "$ac_try_echo") >&5
   10319   (eval "$ac_link") 2>conftest.er1
   10320   ac_status=$?
   10321   grep -v '^ *+' conftest.er1 >conftest.err
   10322   rm -f conftest.er1
   10323   cat conftest.err >&5
   10324   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10325   (exit $ac_status); } && {
   10326 	 test -z "$ac_c_werror_flag" ||
   10327 	 test ! -s conftest.err
   10328        } && test -s conftest$ac_exeext && {
   10329 	 test "$cross_compiling" = yes ||
   10330 	 $as_test_x conftest$ac_exeext
   10331        }; then
   10332   ac_cv_lib_svld_dlopen=yes
   10333 else
   10334   $as_echo "$as_me: failed program was:" >&5
   10335 sed 's/^/| /' conftest.$ac_ext >&5
   10336 
   10337 	ac_cv_lib_svld_dlopen=no
   10338 fi
   10339 
   10340 rm -rf conftest.dSYM
   10341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10342       conftest$ac_exeext conftest.$ac_ext
   10343 LIBS=$ac_check_lib_save_LIBS
   10344 fi
   10345 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10346 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10347 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10348   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10349 else
   10350   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10351 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10352 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10353   $as_echo_n "(cached) " >&6
   10354 else
   10355   ac_check_lib_save_LIBS=$LIBS
   10356 LIBS="-ldld  $LIBS"
   10357 cat >conftest.$ac_ext <<_ACEOF
   10358 /* confdefs.h.  */
   10359 _ACEOF
   10360 cat confdefs.h >>conftest.$ac_ext
   10361 cat >>conftest.$ac_ext <<_ACEOF
   10362 /* end confdefs.h.  */
   10363 
   10364 /* Override any GCC internal prototype to avoid an error.
   10365    Use char because int might match the return type of a GCC
   10366    builtin and then its argument prototype would still apply.  */
   10367 #ifdef __cplusplus
   10368 extern "C"
   10369 #endif
   10370 char dld_link ();
   10371 int
   10372 main ()
   10373 {
   10374 return dld_link ();
   10375   ;
   10376   return 0;
   10377 }
   10378 _ACEOF
   10379 rm -f conftest.$ac_objext conftest$ac_exeext
   10380 if { (ac_try="$ac_link"
   10381 case "(($ac_try" in
   10382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10383   *) ac_try_echo=$ac_try;;
   10384 esac
   10385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10386 $as_echo "$ac_try_echo") >&5
   10387   (eval "$ac_link") 2>conftest.er1
   10388   ac_status=$?
   10389   grep -v '^ *+' conftest.er1 >conftest.err
   10390   rm -f conftest.er1
   10391   cat conftest.err >&5
   10392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10393   (exit $ac_status); } && {
   10394 	 test -z "$ac_c_werror_flag" ||
   10395 	 test ! -s conftest.err
   10396        } && test -s conftest$ac_exeext && {
   10397 	 test "$cross_compiling" = yes ||
   10398 	 $as_test_x conftest$ac_exeext
   10399        }; then
   10400   ac_cv_lib_dld_dld_link=yes
   10401 else
   10402   $as_echo "$as_me: failed program was:" >&5
   10403 sed 's/^/| /' conftest.$ac_ext >&5
   10404 
   10405 	ac_cv_lib_dld_dld_link=no
   10406 fi
   10407 
   10408 rm -rf conftest.dSYM
   10409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10410       conftest$ac_exeext conftest.$ac_ext
   10411 LIBS=$ac_check_lib_save_LIBS
   10412 fi
   10413 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10414 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10415 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10416   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10417 fi
   10418 
   10419 
   10420 fi
   10421 
   10422 
   10423 fi
   10424 
   10425 
   10426 fi
   10427 
   10428 
   10429 fi
   10430 
   10431 
   10432 fi
   10433 
   10434     ;;
   10435   esac
   10436 
   10437   if test "x$lt_cv_dlopen" != xno; then
   10438     enable_dlopen=yes
   10439   else
   10440     enable_dlopen=no
   10441   fi
   10442 
   10443   case $lt_cv_dlopen in
   10444   dlopen)
   10445     save_CPPFLAGS="$CPPFLAGS"
   10446     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10447 
   10448     save_LDFLAGS="$LDFLAGS"
   10449     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10450 
   10451     save_LIBS="$LIBS"
   10452     LIBS="$lt_cv_dlopen_libs $LIBS"
   10453 
   10454     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10455 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10456 if test "${lt_cv_dlopen_self+set}" = set; then
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   	  if test "$cross_compiling" = yes; then :
   10460   lt_cv_dlopen_self=cross
   10461 else
   10462   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10463   lt_status=$lt_dlunknown
   10464   cat > conftest.$ac_ext <<EOF
   10465 #line 10465 "configure"
   10466 #include "confdefs.h"
   10467 
   10468 #if HAVE_DLFCN_H
   10469 #include <dlfcn.h>
   10470 #endif
   10471 
   10472 #include <stdio.h>
   10473 
   10474 #ifdef RTLD_GLOBAL
   10475 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10476 #else
   10477 #  ifdef DL_GLOBAL
   10478 #    define LT_DLGLOBAL		DL_GLOBAL
   10479 #  else
   10480 #    define LT_DLGLOBAL		0
   10481 #  endif
   10482 #endif
   10483 
   10484 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10485    find out it does not work in some platform. */
   10486 #ifndef LT_DLLAZY_OR_NOW
   10487 #  ifdef RTLD_LAZY
   10488 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10489 #  else
   10490 #    ifdef DL_LAZY
   10491 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10492 #    else
   10493 #      ifdef RTLD_NOW
   10494 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10495 #      else
   10496 #        ifdef DL_NOW
   10497 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10498 #        else
   10499 #          define LT_DLLAZY_OR_NOW	0
   10500 #        endif
   10501 #      endif
   10502 #    endif
   10503 #  endif
   10504 #endif
   10505 
   10506 #ifdef __cplusplus
   10507 extern "C" void exit (int);
   10508 #endif
   10509 
   10510 void fnord() { int i=42;}
   10511 int main ()
   10512 {
   10513   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10514   int status = $lt_dlunknown;
   10515 
   10516   if (self)
   10517     {
   10518       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10519       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10520       /* dlclose (self); */
   10521     }
   10522   else
   10523     puts (dlerror ());
   10524 
   10525     exit (status);
   10526 }
   10527 EOF
   10528   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10529   (eval $ac_link) 2>&5
   10530   ac_status=$?
   10531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10532   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10533     (./conftest; exit; ) >&5 2>/dev/null
   10534     lt_status=$?
   10535     case x$lt_status in
   10536       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10537       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10538       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10539     esac
   10540   else :
   10541     # compilation failed
   10542     lt_cv_dlopen_self=no
   10543   fi
   10544 fi
   10545 rm -fr conftest*
   10546 
   10547 
   10548 fi
   10549 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10550 $as_echo "$lt_cv_dlopen_self" >&6; }
   10551 
   10552     if test "x$lt_cv_dlopen_self" = xyes; then
   10553       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10554       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10555 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10556 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10557   $as_echo_n "(cached) " >&6
   10558 else
   10559   	  if test "$cross_compiling" = yes; then :
   10560   lt_cv_dlopen_self_static=cross
   10561 else
   10562   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10563   lt_status=$lt_dlunknown
   10564   cat > conftest.$ac_ext <<EOF
   10565 #line 10565 "configure"
   10566 #include "confdefs.h"
   10567 
   10568 #if HAVE_DLFCN_H
   10569 #include <dlfcn.h>
   10570 #endif
   10571 
   10572 #include <stdio.h>
   10573 
   10574 #ifdef RTLD_GLOBAL
   10575 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10576 #else
   10577 #  ifdef DL_GLOBAL
   10578 #    define LT_DLGLOBAL		DL_GLOBAL
   10579 #  else
   10580 #    define LT_DLGLOBAL		0
   10581 #  endif
   10582 #endif
   10583 
   10584 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10585    find out it does not work in some platform. */
   10586 #ifndef LT_DLLAZY_OR_NOW
   10587 #  ifdef RTLD_LAZY
   10588 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10589 #  else
   10590 #    ifdef DL_LAZY
   10591 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10592 #    else
   10593 #      ifdef RTLD_NOW
   10594 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10595 #      else
   10596 #        ifdef DL_NOW
   10597 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10598 #        else
   10599 #          define LT_DLLAZY_OR_NOW	0
   10600 #        endif
   10601 #      endif
   10602 #    endif
   10603 #  endif
   10604 #endif
   10605 
   10606 #ifdef __cplusplus
   10607 extern "C" void exit (int);
   10608 #endif
   10609 
   10610 void fnord() { int i=42;}
   10611 int main ()
   10612 {
   10613   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10614   int status = $lt_dlunknown;
   10615 
   10616   if (self)
   10617     {
   10618       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10619       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10620       /* dlclose (self); */
   10621     }
   10622   else
   10623     puts (dlerror ());
   10624 
   10625     exit (status);
   10626 }
   10627 EOF
   10628   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10629   (eval $ac_link) 2>&5
   10630   ac_status=$?
   10631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10632   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10633     (./conftest; exit; ) >&5 2>/dev/null
   10634     lt_status=$?
   10635     case x$lt_status in
   10636       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10637       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10638       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10639     esac
   10640   else :
   10641     # compilation failed
   10642     lt_cv_dlopen_self_static=no
   10643   fi
   10644 fi
   10645 rm -fr conftest*
   10646 
   10647 
   10648 fi
   10649 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10650 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10651     fi
   10652 
   10653     CPPFLAGS="$save_CPPFLAGS"
   10654     LDFLAGS="$save_LDFLAGS"
   10655     LIBS="$save_LIBS"
   10656     ;;
   10657   esac
   10658 
   10659   case $lt_cv_dlopen_self in
   10660   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10661   *) enable_dlopen_self=unknown ;;
   10662   esac
   10663 
   10664   case $lt_cv_dlopen_self_static in
   10665   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10666   *) enable_dlopen_self_static=unknown ;;
   10667   esac
   10668 fi
   10669 
   10670 
   10671 # Report which library types will actually be built
   10672 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10673 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10674 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10675 $as_echo "$can_build_shared" >&6; }
   10676 
   10677 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10678 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10679 test "$can_build_shared" = "no" && enable_shared=no
   10680 
   10681 # On AIX, shared libraries and static libraries use the same namespace, and
   10682 # are all built from PIC.
   10683 case $host_os in
   10684 aix3*)
   10685   test "$enable_shared" = yes && enable_static=no
   10686   if test -n "$RANLIB"; then
   10687     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10688     postinstall_cmds='$RANLIB $lib'
   10689   fi
   10690   ;;
   10691 
   10692 aix[4-9]*)
   10693   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10694     test "$enable_shared" = yes && enable_static=no
   10695   fi
   10696     ;;
   10697 esac
   10698 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10699 $as_echo "$enable_shared" >&6; }
   10700 
   10701 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10702 $as_echo_n "checking whether to build static libraries... " >&6; }
   10703 # Make sure either enable_shared or enable_static is yes.
   10704 test "$enable_shared" = yes || enable_static=yes
   10705 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10706 $as_echo "$enable_static" >&6; }
   10707 
   10708 # The else clause should only fire when bootstrapping the
   10709 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10710 # with your package, and you will get complaints that there are
   10711 # no rules to generate ltmain.sh.
   10712 if test -f "$ltmain"; then
   10713   # See if we are running on zsh, and set the options which allow our commands through
   10714   # without removal of \ escapes.
   10715   if test -n "${ZSH_VERSION+set}" ; then
   10716     setopt NO_GLOB_SUBST
   10717   fi
   10718   # Now quote all the things that may contain metacharacters while being
   10719   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10720   # variables and quote the copies for generation of the libtool script.
   10721   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10722     SED SHELL STRIP \
   10723     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10724     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10725     deplibs_check_method reload_flag reload_cmds need_locks \
   10726     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10727     lt_cv_sys_global_symbol_to_c_name_address \
   10728     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10729     old_postinstall_cmds old_postuninstall_cmds \
   10730     compiler \
   10731     CC \
   10732     LD \
   10733     lt_prog_compiler_wl \
   10734     lt_prog_compiler_pic \
   10735     lt_prog_compiler_static \
   10736     lt_prog_compiler_no_builtin_flag \
   10737     export_dynamic_flag_spec \
   10738     thread_safe_flag_spec \
   10739     whole_archive_flag_spec \
   10740     enable_shared_with_static_runtimes \
   10741     old_archive_cmds \
   10742     old_archive_from_new_cmds \
   10743     predep_objects \
   10744     postdep_objects \
   10745     predeps \
   10746     postdeps \
   10747     compiler_lib_search_path \
   10748     compiler_lib_search_dirs \
   10749     archive_cmds \
   10750     archive_expsym_cmds \
   10751     postinstall_cmds \
   10752     postuninstall_cmds \
   10753     old_archive_from_expsyms_cmds \
   10754     allow_undefined_flag \
   10755     no_undefined_flag \
   10756     export_symbols_cmds \
   10757     hardcode_libdir_flag_spec \
   10758     hardcode_libdir_flag_spec_ld \
   10759     hardcode_libdir_separator \
   10760     hardcode_automatic \
   10761     module_cmds \
   10762     module_expsym_cmds \
   10763     lt_cv_prog_compiler_c_o \
   10764     fix_srcfile_path \
   10765     exclude_expsyms \
   10766     include_expsyms; do
   10767 
   10768     case $var in
   10769     old_archive_cmds | \
   10770     old_archive_from_new_cmds | \
   10771     archive_cmds | \
   10772     archive_expsym_cmds | \
   10773     module_cmds | \
   10774     module_expsym_cmds | \
   10775     old_archive_from_expsyms_cmds | \
   10776     export_symbols_cmds | \
   10777     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10778     postinstall_cmds | postuninstall_cmds | \
   10779     old_postinstall_cmds | old_postuninstall_cmds | \
   10780     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10781       # Double-quote double-evaled strings.
   10782       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10783       ;;
   10784     *)
   10785       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10786       ;;
   10787     esac
   10788   done
   10789 
   10790   case $lt_echo in
   10791   *'\$0 --fallback-echo"')
   10792     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10793     ;;
   10794   esac
   10795 
   10796 cfgfile="${ofile}T"
   10797   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10798   $rm -f "$cfgfile"
   10799   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10800 $as_echo "$as_me: creating $ofile" >&6;}
   10801 
   10802   cat <<__EOF__ >> "$cfgfile"
   10803 #! $SHELL
   10804 
   10805 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10806 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10807 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10808 #
   10809 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10810 # Free Software Foundation, Inc.
   10811 #
   10812 # This file is part of GNU Libtool:
   10813 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10814 #
   10815 # This program is free software; you can redistribute it and/or modify
   10816 # it under the terms of the GNU General Public License as published by
   10817 # the Free Software Foundation; either version 2 of the License, or
   10818 # (at your option) any later version.
   10819 #
   10820 # This program is distributed in the hope that it will be useful, but
   10821 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10822 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10823 # General Public License for more details.
   10824 #
   10825 # You should have received a copy of the GNU General Public License
   10826 # along with this program; if not, write to the Free Software
   10827 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10828 #
   10829 # As a special exception to the GNU General Public License, if you
   10830 # distribute this file as part of a program that contains a
   10831 # configuration script generated by Autoconf, you may include it under
   10832 # the same distribution terms that you use for the rest of that program.
   10833 
   10834 # A sed program that does not truncate output.
   10835 SED=$lt_SED
   10836 
   10837 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10838 Xsed="$SED -e 1s/^X//"
   10839 
   10840 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10841 # if CDPATH is set.
   10842 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10843 
   10844 # The names of the tagged configurations supported by this script.
   10845 available_tags=
   10846 
   10847 # ### BEGIN LIBTOOL CONFIG
   10848 
   10849 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10850 
   10851 # Shell to use when invoking shell scripts.
   10852 SHELL=$lt_SHELL
   10853 
   10854 # Whether or not to build shared libraries.
   10855 build_libtool_libs=$enable_shared
   10856 
   10857 # Whether or not to build static libraries.
   10858 build_old_libs=$enable_static
   10859 
   10860 # Whether or not to add -lc for building shared libraries.
   10861 build_libtool_need_lc=$archive_cmds_need_lc
   10862 
   10863 # Whether or not to disallow shared libs when runtime libs are static
   10864 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10865 
   10866 # Whether or not to optimize for fast installation.
   10867 fast_install=$enable_fast_install
   10868 
   10869 # The host system.
   10870 host_alias=$host_alias
   10871 host=$host
   10872 host_os=$host_os
   10873 
   10874 # The build system.
   10875 build_alias=$build_alias
   10876 build=$build
   10877 build_os=$build_os
   10878 
   10879 # An echo program that does not interpret backslashes.
   10880 echo=$lt_echo
   10881 
   10882 # The archiver.
   10883 AR=$lt_AR
   10884 AR_FLAGS=$lt_AR_FLAGS
   10885 
   10886 # A C compiler.
   10887 LTCC=$lt_LTCC
   10888 
   10889 # LTCC compiler flags.
   10890 LTCFLAGS=$lt_LTCFLAGS
   10891 
   10892 # A language-specific compiler.
   10893 CC=$lt_compiler
   10894 
   10895 # Is the compiler the GNU C compiler?
   10896 with_gcc=$GCC
   10897 
   10898 # An ERE matcher.
   10899 EGREP=$lt_EGREP
   10900 
   10901 # The linker used to build libraries.
   10902 LD=$lt_LD
   10903 
   10904 # Whether we need hard or soft links.
   10905 LN_S=$lt_LN_S
   10906 
   10907 # A BSD-compatible nm program.
   10908 NM=$lt_NM
   10909 
   10910 # A symbol stripping program
   10911 STRIP=$lt_STRIP
   10912 
   10913 # Used to examine libraries when file_magic_cmd begins "file"
   10914 MAGIC_CMD=$MAGIC_CMD
   10915 
   10916 # Used on cygwin: DLL creation program.
   10917 DLLTOOL="$DLLTOOL"
   10918 
   10919 # Used on cygwin: object dumper.
   10920 OBJDUMP="$OBJDUMP"
   10921 
   10922 # Used on cygwin: assembler.
   10923 AS="$AS"
   10924 
   10925 # The name of the directory that contains temporary libtool files.
   10926 objdir=$objdir
   10927 
   10928 # How to create reloadable object files.
   10929 reload_flag=$lt_reload_flag
   10930 reload_cmds=$lt_reload_cmds
   10931 
   10932 # How to pass a linker flag through the compiler.
   10933 wl=$lt_lt_prog_compiler_wl
   10934 
   10935 # Object file suffix (normally "o").
   10936 objext="$ac_objext"
   10937 
   10938 # Old archive suffix (normally "a").
   10939 libext="$libext"
   10940 
   10941 # Shared library suffix (normally ".so").
   10942 shrext_cmds='$shrext_cmds'
   10943 
   10944 # Executable file suffix (normally "").
   10945 exeext="$exeext"
   10946 
   10947 # Additional compiler flags for building library objects.
   10948 pic_flag=$lt_lt_prog_compiler_pic
   10949 pic_mode=$pic_mode
   10950 
   10951 # What is the maximum length of a command?
   10952 max_cmd_len=$lt_cv_sys_max_cmd_len
   10953 
   10954 # Does compiler simultaneously support -c and -o options?
   10955 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10956 
   10957 # Must we lock files when doing compilation?
   10958 need_locks=$lt_need_locks
   10959 
   10960 # Do we need the lib prefix for modules?
   10961 need_lib_prefix=$need_lib_prefix
   10962 
   10963 # Do we need a version for libraries?
   10964 need_version=$need_version
   10965 
   10966 # Whether dlopen is supported.
   10967 dlopen_support=$enable_dlopen
   10968 
   10969 # Whether dlopen of programs is supported.
   10970 dlopen_self=$enable_dlopen_self
   10971 
   10972 # Whether dlopen of statically linked programs is supported.
   10973 dlopen_self_static=$enable_dlopen_self_static
   10974 
   10975 # Compiler flag to prevent dynamic linking.
   10976 link_static_flag=$lt_lt_prog_compiler_static
   10977 
   10978 # Compiler flag to turn off builtin functions.
   10979 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10980 
   10981 # Compiler flag to allow reflexive dlopens.
   10982 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10983 
   10984 # Compiler flag to generate shared objects directly from archives.
   10985 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10986 
   10987 # Compiler flag to generate thread-safe objects.
   10988 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10989 
   10990 # Library versioning type.
   10991 version_type=$version_type
   10992 
   10993 # Format of library name prefix.
   10994 libname_spec=$lt_libname_spec
   10995 
   10996 # List of archive names.  First name is the real one, the rest are links.
   10997 # The last name is the one that the linker finds with -lNAME.
   10998 library_names_spec=$lt_library_names_spec
   10999 
   11000 # The coded name of the library, if different from the real name.
   11001 soname_spec=$lt_soname_spec
   11002 
   11003 # Commands used to build and install an old-style archive.
   11004 RANLIB=$lt_RANLIB
   11005 old_archive_cmds=$lt_old_archive_cmds
   11006 old_postinstall_cmds=$lt_old_postinstall_cmds
   11007 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11008 
   11009 # Create an old-style archive from a shared archive.
   11010 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11011 
   11012 # Create a temporary old-style archive to link instead of a shared archive.
   11013 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11014 
   11015 # Commands used to build and install a shared archive.
   11016 archive_cmds=$lt_archive_cmds
   11017 archive_expsym_cmds=$lt_archive_expsym_cmds
   11018 postinstall_cmds=$lt_postinstall_cmds
   11019 postuninstall_cmds=$lt_postuninstall_cmds
   11020 
   11021 # Commands used to build a loadable module (assumed same as above if empty)
   11022 module_cmds=$lt_module_cmds
   11023 module_expsym_cmds=$lt_module_expsym_cmds
   11024 
   11025 # Commands to strip libraries.
   11026 old_striplib=$lt_old_striplib
   11027 striplib=$lt_striplib
   11028 
   11029 # Dependencies to place before the objects being linked to create a
   11030 # shared library.
   11031 predep_objects=$lt_predep_objects
   11032 
   11033 # Dependencies to place after the objects being linked to create a
   11034 # shared library.
   11035 postdep_objects=$lt_postdep_objects
   11036 
   11037 # Dependencies to place before the objects being linked to create a
   11038 # shared library.
   11039 predeps=$lt_predeps
   11040 
   11041 # Dependencies to place after the objects being linked to create a
   11042 # shared library.
   11043 postdeps=$lt_postdeps
   11044 
   11045 # The directories searched by this compiler when creating a shared
   11046 # library
   11047 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11048 
   11049 # The library search path used internally by the compiler when linking
   11050 # a shared library.
   11051 compiler_lib_search_path=$lt_compiler_lib_search_path
   11052 
   11053 # Method to check whether dependent libraries are shared objects.
   11054 deplibs_check_method=$lt_deplibs_check_method
   11055 
   11056 # Command to use when deplibs_check_method == file_magic.
   11057 file_magic_cmd=$lt_file_magic_cmd
   11058 
   11059 # Flag that allows shared libraries with undefined symbols to be built.
   11060 allow_undefined_flag=$lt_allow_undefined_flag
   11061 
   11062 # Flag that forces no undefined symbols.
   11063 no_undefined_flag=$lt_no_undefined_flag
   11064 
   11065 # Commands used to finish a libtool library installation in a directory.
   11066 finish_cmds=$lt_finish_cmds
   11067 
   11068 # Same as above, but a single script fragment to be evaled but not shown.
   11069 finish_eval=$lt_finish_eval
   11070 
   11071 # Take the output of nm and produce a listing of raw symbols and C names.
   11072 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11073 
   11074 # Transform the output of nm in a proper C declaration
   11075 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11076 
   11077 # Transform the output of nm in a C name address pair
   11078 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11079 
   11080 # This is the shared library runtime path variable.
   11081 runpath_var=$runpath_var
   11082 
   11083 # This is the shared library path variable.
   11084 shlibpath_var=$shlibpath_var
   11085 
   11086 # Is shlibpath searched before the hard-coded library search path?
   11087 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11088 
   11089 # How to hardcode a shared library path into an executable.
   11090 hardcode_action=$hardcode_action
   11091 
   11092 # Whether we should hardcode library paths into libraries.
   11093 hardcode_into_libs=$hardcode_into_libs
   11094 
   11095 # Flag to hardcode \$libdir into a binary during linking.
   11096 # This must work even if \$libdir does not exist.
   11097 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11098 
   11099 # If ld is used when linking, flag to hardcode \$libdir into
   11100 # a binary during linking. This must work even if \$libdir does
   11101 # not exist.
   11102 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11103 
   11104 # Whether we need a single -rpath flag with a separated argument.
   11105 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11106 
   11107 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11108 # resulting binary.
   11109 hardcode_direct=$hardcode_direct
   11110 
   11111 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11112 # resulting binary.
   11113 hardcode_minus_L=$hardcode_minus_L
   11114 
   11115 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11116 # the resulting binary.
   11117 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11118 
   11119 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11120 # and all subsequent libraries and executables linked against it.
   11121 hardcode_automatic=$hardcode_automatic
   11122 
   11123 # Variables whose values should be saved in libtool wrapper scripts and
   11124 # restored at relink time.
   11125 variables_saved_for_relink="$variables_saved_for_relink"
   11126 
   11127 # Whether libtool must link a program against all its dependency libraries.
   11128 link_all_deplibs=$link_all_deplibs
   11129 
   11130 # Compile-time system search path for libraries
   11131 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11132 
   11133 # Run-time system search path for libraries
   11134 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11135 
   11136 # Fix the shell variable \$srcfile for the compiler.
   11137 fix_srcfile_path=$lt_fix_srcfile_path
   11138 
   11139 # Set to yes if exported symbols are required.
   11140 always_export_symbols=$always_export_symbols
   11141 
   11142 # The commands to list exported symbols.
   11143 export_symbols_cmds=$lt_export_symbols_cmds
   11144 
   11145 # The commands to extract the exported symbol list from a shared archive.
   11146 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11147 
   11148 # Symbols that should not be listed in the preloaded symbols.
   11149 exclude_expsyms=$lt_exclude_expsyms
   11150 
   11151 # Symbols that must always be exported.
   11152 include_expsyms=$lt_include_expsyms
   11153 
   11154 # ### END LIBTOOL CONFIG
   11155 
   11156 __EOF__
   11157 
   11158 
   11159   case $host_os in
   11160   aix3*)
   11161     cat <<\EOF >> "$cfgfile"
   11162 
   11163 # AIX sometimes has problems with the GCC collect2 program.  For some
   11164 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11165 # vanish in a puff of smoke.
   11166 if test "X${COLLECT_NAMES+set}" != Xset; then
   11167   COLLECT_NAMES=
   11168   export COLLECT_NAMES
   11169 fi
   11170 EOF
   11171     ;;
   11172   esac
   11173 
   11174   # We use sed instead of cat because bash on DJGPP gets confused if
   11175   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11176   # text mode, it properly converts lines to CR/LF.  This bash problem
   11177   # is reportedly fixed, but why not run on old versions too?
   11178   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11179 
   11180   mv -f "$cfgfile" "$ofile" || \
   11181     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11182   chmod +x "$ofile"
   11183 
   11184 else
   11185   # If there is no Makefile yet, we rely on a make rule to execute
   11186   # `config.status --recheck' to rerun these tests and create the
   11187   # libtool script then.
   11188   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11189   if test -f "$ltmain_in"; then
   11190     test -f Makefile && make "$ltmain"
   11191   fi
   11192 fi
   11193 
   11194 
   11195 ac_ext=c
   11196 ac_cpp='$CPP $CPPFLAGS'
   11197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11200 
   11201 CC="$lt_save_CC"
   11202 
   11203 
   11204 # Check whether --with-tags was given.
   11205 if test "${with_tags+set}" = set; then
   11206   withval=$with_tags; tagnames="$withval"
   11207 fi
   11208 
   11209 
   11210 if test -f "$ltmain" && test -n "$tagnames"; then
   11211   if test ! -f "${ofile}"; then
   11212     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11213 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11214   fi
   11215 
   11216   if test -z "$LTCC"; then
   11217     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11218     if test -z "$LTCC"; then
   11219       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11220 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11221     else
   11222       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11223 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11224     fi
   11225   fi
   11226   if test -z "$LTCFLAGS"; then
   11227     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11228   fi
   11229 
   11230   # Extract list of available tagged configurations in $ofile.
   11231   # Note that this assumes the entire list is on one line.
   11232   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11233 
   11234   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11235   for tagname in $tagnames; do
   11236     IFS="$lt_save_ifs"
   11237     # Check whether tagname contains only valid characters
   11238     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11239     "") ;;
   11240     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11241 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11242    { (exit 1); exit 1; }; }
   11243 	;;
   11244     esac
   11245 
   11246     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11247     then
   11248       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11249 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11250    { (exit 1); exit 1; }; }
   11251     fi
   11252 
   11253     # Update the list of available tags.
   11254     if test -n "$tagname"; then
   11255       echo appending configuration tag \"$tagname\" to $ofile
   11256 
   11257       case $tagname in
   11258       CXX)
   11259 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11260 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11261 	    (test "X$CXX" != "Xg++"))) ; then
   11262 	  ac_ext=cpp
   11263 ac_cpp='$CXXCPP $CPPFLAGS'
   11264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11267 
   11268 
   11269 
   11270 
   11271 archive_cmds_need_lc_CXX=no
   11272 allow_undefined_flag_CXX=
   11273 always_export_symbols_CXX=no
   11274 archive_expsym_cmds_CXX=
   11275 export_dynamic_flag_spec_CXX=
   11276 hardcode_direct_CXX=no
   11277 hardcode_libdir_flag_spec_CXX=
   11278 hardcode_libdir_flag_spec_ld_CXX=
   11279 hardcode_libdir_separator_CXX=
   11280 hardcode_minus_L_CXX=no
   11281 hardcode_shlibpath_var_CXX=unsupported
   11282 hardcode_automatic_CXX=no
   11283 module_cmds_CXX=
   11284 module_expsym_cmds_CXX=
   11285 link_all_deplibs_CXX=unknown
   11286 old_archive_cmds_CXX=$old_archive_cmds
   11287 no_undefined_flag_CXX=
   11288 whole_archive_flag_spec_CXX=
   11289 enable_shared_with_static_runtimes_CXX=no
   11290 
   11291 # Dependencies to place before and after the object being linked:
   11292 predep_objects_CXX=
   11293 postdep_objects_CXX=
   11294 predeps_CXX=
   11295 postdeps_CXX=
   11296 compiler_lib_search_path_CXX=
   11297 compiler_lib_search_dirs_CXX=
   11298 
   11299 # Source file extension for C++ test sources.
   11300 ac_ext=cpp
   11301 
   11302 # Object file extension for compiled C++ test sources.
   11303 objext=o
   11304 objext_CXX=$objext
   11305 
   11306 # Code to be used in simple compile tests
   11307 lt_simple_compile_test_code="int some_variable = 0;"
   11308 
   11309 # Code to be used in simple link tests
   11310 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11311 
   11312 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11313 
   11314 # If no C compiler was specified, use CC.
   11315 LTCC=${LTCC-"$CC"}
   11316 
   11317 # If no C compiler flags were specified, use CFLAGS.
   11318 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11319 
   11320 # Allow CC to be a program name with arguments.
   11321 compiler=$CC
   11322 
   11323 
   11324 # save warnings/boilerplate of simple test code
   11325 ac_outfile=conftest.$ac_objext
   11326 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11327 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11328 _lt_compiler_boilerplate=`cat conftest.err`
   11329 $rm conftest*
   11330 
   11331 ac_outfile=conftest.$ac_objext
   11332 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11333 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11334 _lt_linker_boilerplate=`cat conftest.err`
   11335 $rm -r conftest*
   11336 
   11337 
   11338 # Allow CC to be a program name with arguments.
   11339 lt_save_CC=$CC
   11340 lt_save_LD=$LD
   11341 lt_save_GCC=$GCC
   11342 GCC=$GXX
   11343 lt_save_with_gnu_ld=$with_gnu_ld
   11344 lt_save_path_LD=$lt_cv_path_LD
   11345 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11346   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11347 else
   11348   $as_unset lt_cv_prog_gnu_ld
   11349 fi
   11350 if test -n "${lt_cv_path_LDCXX+set}"; then
   11351   lt_cv_path_LD=$lt_cv_path_LDCXX
   11352 else
   11353   $as_unset lt_cv_path_LD
   11354 fi
   11355 test -z "${LDCXX+set}" || LD=$LDCXX
   11356 CC=${CXX-"c++"}
   11357 compiler=$CC
   11358 compiler_CXX=$CC
   11359 for cc_temp in $compiler""; do
   11360   case $cc_temp in
   11361     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11362     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11363     \-*) ;;
   11364     *) break;;
   11365   esac
   11366 done
   11367 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11368 
   11369 
   11370 # We don't want -fno-exception wen compiling C++ code, so set the
   11371 # no_builtin_flag separately
   11372 if test "$GXX" = yes; then
   11373   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11374 else
   11375   lt_prog_compiler_no_builtin_flag_CXX=
   11376 fi
   11377 
   11378 if test "$GXX" = yes; then
   11379   # Set up default GNU C++ configuration
   11380 
   11381 
   11382 # Check whether --with-gnu-ld was given.
   11383 if test "${with_gnu_ld+set}" = set; then
   11384   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11385 else
   11386   with_gnu_ld=no
   11387 fi
   11388 
   11389 ac_prog=ld
   11390 if test "$GCC" = yes; then
   11391   # Check if gcc -print-prog-name=ld gives a path.
   11392   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11393 $as_echo_n "checking for ld used by $CC... " >&6; }
   11394   case $host in
   11395   *-*-mingw*)
   11396     # gcc leaves a trailing carriage return which upsets mingw
   11397     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11398   *)
   11399     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11400   esac
   11401   case $ac_prog in
   11402     # Accept absolute paths.
   11403     [\\/]* | ?:[\\/]*)
   11404       re_direlt='/[^/][^/]*/\.\./'
   11405       # Canonicalize the pathname of ld
   11406       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11407       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11408 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11409       done
   11410       test -z "$LD" && LD="$ac_prog"
   11411       ;;
   11412   "")
   11413     # If it fails, then pretend we aren't using GCC.
   11414     ac_prog=ld
   11415     ;;
   11416   *)
   11417     # If it is relative, then search for the first ld in PATH.
   11418     with_gnu_ld=unknown
   11419     ;;
   11420   esac
   11421 elif test "$with_gnu_ld" = yes; then
   11422   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11423 $as_echo_n "checking for GNU ld... " >&6; }
   11424 else
   11425   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11426 $as_echo_n "checking for non-GNU ld... " >&6; }
   11427 fi
   11428 if test "${lt_cv_path_LD+set}" = set; then
   11429   $as_echo_n "(cached) " >&6
   11430 else
   11431   if test -z "$LD"; then
   11432   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11433   for ac_dir in $PATH; do
   11434     IFS="$lt_save_ifs"
   11435     test -z "$ac_dir" && ac_dir=.
   11436     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11437       lt_cv_path_LD="$ac_dir/$ac_prog"
   11438       # Check to see if the program is GNU ld.  I'd rather use --version,
   11439       # but apparently some variants of GNU ld only accept -v.
   11440       # Break only if it was the GNU/non-GNU ld that we prefer.
   11441       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11442       *GNU* | *'with BFD'*)
   11443 	test "$with_gnu_ld" != no && break
   11444 	;;
   11445       *)
   11446 	test "$with_gnu_ld" != yes && break
   11447 	;;
   11448       esac
   11449     fi
   11450   done
   11451   IFS="$lt_save_ifs"
   11452 else
   11453   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11454 fi
   11455 fi
   11456 
   11457 LD="$lt_cv_path_LD"
   11458 if test -n "$LD"; then
   11459   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11460 $as_echo "$LD" >&6; }
   11461 else
   11462   { $as_echo "$as_me:$LINENO: result: no" >&5
   11463 $as_echo "no" >&6; }
   11464 fi
   11465 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11466 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11467    { (exit 1); exit 1; }; }
   11468 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11469 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11470 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11471   $as_echo_n "(cached) " >&6
   11472 else
   11473   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11474 case `$LD -v 2>&1 </dev/null` in
   11475 *GNU* | *'with BFD'*)
   11476   lt_cv_prog_gnu_ld=yes
   11477   ;;
   11478 *)
   11479   lt_cv_prog_gnu_ld=no
   11480   ;;
   11481 esac
   11482 fi
   11483 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11484 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11485 with_gnu_ld=$lt_cv_prog_gnu_ld
   11486 
   11487 
   11488 
   11489   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11490   # archiving commands below assume that GNU ld is being used.
   11491   if test "$with_gnu_ld" = yes; then
   11492     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11493     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'
   11494 
   11495     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11496     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11497 
   11498     # If archive_cmds runs LD, not CC, wlarc should be empty
   11499     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11500     #     investigate it a little bit more. (MM)
   11501     wlarc='${wl}'
   11502 
   11503     # ancient GNU ld didn't support --whole-archive et. al.
   11504     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11505 	grep 'no-whole-archive' > /dev/null; then
   11506       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11507     else
   11508       whole_archive_flag_spec_CXX=
   11509     fi
   11510   else
   11511     with_gnu_ld=no
   11512     wlarc=
   11513 
   11514     # A generic and very simple default shared library creation
   11515     # command for GNU C++ for the case where it uses the native
   11516     # linker, instead of GNU ld.  If possible, this setting should
   11517     # overridden to take advantage of the native linker features on
   11518     # the platform it is being used on.
   11519     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11520   fi
   11521 
   11522   # Commands to make compiler produce verbose output that lists
   11523   # what "hidden" libraries, object files and flags are used when
   11524   # linking a shared library.
   11525   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11526 
   11527 else
   11528   GXX=no
   11529   with_gnu_ld=no
   11530   wlarc=
   11531 fi
   11532 
   11533 # PORTME: fill in a description of your system's C++ link characteristics
   11534 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11535 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11536 ld_shlibs_CXX=yes
   11537 case $host_os in
   11538   aix3*)
   11539     # FIXME: insert proper C++ library support
   11540     ld_shlibs_CXX=no
   11541     ;;
   11542   aix[4-9]*)
   11543     if test "$host_cpu" = ia64; then
   11544       # On IA64, the linker does run time linking by default, so we don't
   11545       # have to do anything special.
   11546       aix_use_runtimelinking=no
   11547       exp_sym_flag='-Bexport'
   11548       no_entry_flag=""
   11549     else
   11550       aix_use_runtimelinking=no
   11551 
   11552       # Test if we are trying to use run time linking or normal
   11553       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11554       # need to do runtime linking.
   11555       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11556 	for ld_flag in $LDFLAGS; do
   11557 	  case $ld_flag in
   11558 	  *-brtl*)
   11559 	    aix_use_runtimelinking=yes
   11560 	    break
   11561 	    ;;
   11562 	  esac
   11563 	done
   11564 	;;
   11565       esac
   11566 
   11567       exp_sym_flag='-bexport'
   11568       no_entry_flag='-bnoentry'
   11569     fi
   11570 
   11571     # When large executables or shared objects are built, AIX ld can
   11572     # have problems creating the table of contents.  If linking a library
   11573     # or program results in "error TOC overflow" add -mminimal-toc to
   11574     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11575     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11576 
   11577     archive_cmds_CXX=''
   11578     hardcode_direct_CXX=yes
   11579     hardcode_libdir_separator_CXX=':'
   11580     link_all_deplibs_CXX=yes
   11581 
   11582     if test "$GXX" = yes; then
   11583       case $host_os in aix4.[012]|aix4.[012].*)
   11584       # We only want to do this on AIX 4.2 and lower, the check
   11585       # below for broken collect2 doesn't work under 4.3+
   11586 	collect2name=`${CC} -print-prog-name=collect2`
   11587 	if test -f "$collect2name" && \
   11588 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11589 	then
   11590 	  # We have reworked collect2
   11591 	  :
   11592 	else
   11593 	  # We have old collect2
   11594 	  hardcode_direct_CXX=unsupported
   11595 	  # It fails to find uninstalled libraries when the uninstalled
   11596 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11597 	  # to unsupported forces relinking
   11598 	  hardcode_minus_L_CXX=yes
   11599 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11600 	  hardcode_libdir_separator_CXX=
   11601 	fi
   11602 	;;
   11603       esac
   11604       shared_flag='-shared'
   11605       if test "$aix_use_runtimelinking" = yes; then
   11606 	shared_flag="$shared_flag "'${wl}-G'
   11607       fi
   11608     else
   11609       # not using gcc
   11610       if test "$host_cpu" = ia64; then
   11611 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11612 	# chokes on -Wl,-G. The following line is correct:
   11613 	shared_flag='-G'
   11614       else
   11615 	if test "$aix_use_runtimelinking" = yes; then
   11616 	  shared_flag='${wl}-G'
   11617 	else
   11618 	  shared_flag='${wl}-bM:SRE'
   11619 	fi
   11620       fi
   11621     fi
   11622 
   11623     # It seems that -bexpall does not export symbols beginning with
   11624     # underscore (_), so it is better to generate a list of symbols to export.
   11625     always_export_symbols_CXX=yes
   11626     if test "$aix_use_runtimelinking" = yes; then
   11627       # Warning - without using the other runtime loading flags (-brtl),
   11628       # -berok will link without error, but may produce a broken library.
   11629       allow_undefined_flag_CXX='-berok'
   11630       # Determine the default libpath from the value encoded in an empty executable.
   11631       cat >conftest.$ac_ext <<_ACEOF
   11632 /* confdefs.h.  */
   11633 _ACEOF
   11634 cat confdefs.h >>conftest.$ac_ext
   11635 cat >>conftest.$ac_ext <<_ACEOF
   11636 /* end confdefs.h.  */
   11637 
   11638 int
   11639 main ()
   11640 {
   11641 
   11642   ;
   11643   return 0;
   11644 }
   11645 _ACEOF
   11646 rm -f conftest.$ac_objext conftest$ac_exeext
   11647 if { (ac_try="$ac_link"
   11648 case "(($ac_try" in
   11649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11650   *) ac_try_echo=$ac_try;;
   11651 esac
   11652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11653 $as_echo "$ac_try_echo") >&5
   11654   (eval "$ac_link") 2>conftest.er1
   11655   ac_status=$?
   11656   grep -v '^ *+' conftest.er1 >conftest.err
   11657   rm -f conftest.er1
   11658   cat conftest.err >&5
   11659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11660   (exit $ac_status); } && {
   11661 	 test -z "$ac_cxx_werror_flag" ||
   11662 	 test ! -s conftest.err
   11663        } && test -s conftest$ac_exeext && {
   11664 	 test "$cross_compiling" = yes ||
   11665 	 $as_test_x conftest$ac_exeext
   11666        }; then
   11667 
   11668 lt_aix_libpath_sed='
   11669     /Import File Strings/,/^$/ {
   11670 	/^0/ {
   11671 	    s/^0  *\(.*\)$/\1/
   11672 	    p
   11673 	}
   11674     }'
   11675 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11676 # Check for a 64-bit object if we didn't find anything.
   11677 if test -z "$aix_libpath"; then
   11678   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11679 fi
   11680 else
   11681   $as_echo "$as_me: failed program was:" >&5
   11682 sed 's/^/| /' conftest.$ac_ext >&5
   11683 
   11684 
   11685 fi
   11686 
   11687 rm -rf conftest.dSYM
   11688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11689       conftest$ac_exeext conftest.$ac_ext
   11690 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11691 
   11692       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11693 
   11694       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"
   11695      else
   11696       if test "$host_cpu" = ia64; then
   11697 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11698 	allow_undefined_flag_CXX="-z nodefs"
   11699 	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"
   11700       else
   11701 	# Determine the default libpath from the value encoded in an empty executable.
   11702 	cat >conftest.$ac_ext <<_ACEOF
   11703 /* confdefs.h.  */
   11704 _ACEOF
   11705 cat confdefs.h >>conftest.$ac_ext
   11706 cat >>conftest.$ac_ext <<_ACEOF
   11707 /* end confdefs.h.  */
   11708 
   11709 int
   11710 main ()
   11711 {
   11712 
   11713   ;
   11714   return 0;
   11715 }
   11716 _ACEOF
   11717 rm -f conftest.$ac_objext conftest$ac_exeext
   11718 if { (ac_try="$ac_link"
   11719 case "(($ac_try" in
   11720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11721   *) ac_try_echo=$ac_try;;
   11722 esac
   11723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11724 $as_echo "$ac_try_echo") >&5
   11725   (eval "$ac_link") 2>conftest.er1
   11726   ac_status=$?
   11727   grep -v '^ *+' conftest.er1 >conftest.err
   11728   rm -f conftest.er1
   11729   cat conftest.err >&5
   11730   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11731   (exit $ac_status); } && {
   11732 	 test -z "$ac_cxx_werror_flag" ||
   11733 	 test ! -s conftest.err
   11734        } && test -s conftest$ac_exeext && {
   11735 	 test "$cross_compiling" = yes ||
   11736 	 $as_test_x conftest$ac_exeext
   11737        }; then
   11738 
   11739 lt_aix_libpath_sed='
   11740     /Import File Strings/,/^$/ {
   11741 	/^0/ {
   11742 	    s/^0  *\(.*\)$/\1/
   11743 	    p
   11744 	}
   11745     }'
   11746 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11747 # Check for a 64-bit object if we didn't find anything.
   11748 if test -z "$aix_libpath"; then
   11749   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11750 fi
   11751 else
   11752   $as_echo "$as_me: failed program was:" >&5
   11753 sed 's/^/| /' conftest.$ac_ext >&5
   11754 
   11755 
   11756 fi
   11757 
   11758 rm -rf conftest.dSYM
   11759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11760       conftest$ac_exeext conftest.$ac_ext
   11761 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11762 
   11763 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11764 	# Warning - without using the other run time loading flags,
   11765 	# -berok will link without error, but may produce a broken library.
   11766 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11767 	allow_undefined_flag_CXX=' ${wl}-berok'
   11768 	# Exported symbols can be pulled into shared objects from archives
   11769 	whole_archive_flag_spec_CXX='$convenience'
   11770 	archive_cmds_need_lc_CXX=yes
   11771 	# This is similar to how AIX traditionally builds its shared libraries.
   11772 	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'
   11773       fi
   11774     fi
   11775     ;;
   11776 
   11777   beos*)
   11778     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11779       allow_undefined_flag_CXX=unsupported
   11780       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11781       # support --undefined.  This deserves some investigation.  FIXME
   11782       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11783     else
   11784       ld_shlibs_CXX=no
   11785     fi
   11786     ;;
   11787 
   11788   chorus*)
   11789     case $cc_basename in
   11790       *)
   11791 	# FIXME: insert proper C++ library support
   11792 	ld_shlibs_CXX=no
   11793 	;;
   11794     esac
   11795     ;;
   11796 
   11797   cygwin* | mingw* | pw32*)
   11798     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11799     # as there is no search path for DLLs.
   11800     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11801     allow_undefined_flag_CXX=unsupported
   11802     always_export_symbols_CXX=no
   11803     enable_shared_with_static_runtimes_CXX=yes
   11804 
   11805     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11806       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'
   11807       # If the export-symbols file already is a .def file (1st line
   11808       # is EXPORTS), use it as is; otherwise, prepend...
   11809       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11810 	cp $export_symbols $output_objdir/$soname.def;
   11811       else
   11812 	echo EXPORTS > $output_objdir/$soname.def;
   11813 	cat $export_symbols >> $output_objdir/$soname.def;
   11814       fi~
   11815       $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'
   11816     else
   11817       ld_shlibs_CXX=no
   11818     fi
   11819   ;;
   11820       darwin* | rhapsody*)
   11821       archive_cmds_need_lc_CXX=no
   11822       hardcode_direct_CXX=no
   11823       hardcode_automatic_CXX=yes
   11824       hardcode_shlibpath_var_CXX=unsupported
   11825       whole_archive_flag_spec_CXX=''
   11826       link_all_deplibs_CXX=yes
   11827       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11828       if test "$GXX" = yes ; then
   11829       output_verbose_link_cmd='echo'
   11830       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}"
   11831       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11832       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}"
   11833       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}"
   11834       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11835         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}"
   11836         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}"
   11837       fi
   11838       else
   11839       case $cc_basename in
   11840         xlc*)
   11841          output_verbose_link_cmd='echo'
   11842           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'
   11843           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11844           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11845           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}'
   11846           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}'
   11847           ;;
   11848        *)
   11849          ld_shlibs_CXX=no
   11850           ;;
   11851       esac
   11852       fi
   11853         ;;
   11854 
   11855   dgux*)
   11856     case $cc_basename in
   11857       ec++*)
   11858 	# FIXME: insert proper C++ library support
   11859 	ld_shlibs_CXX=no
   11860 	;;
   11861       ghcx*)
   11862 	# Green Hills C++ Compiler
   11863 	# FIXME: insert proper C++ library support
   11864 	ld_shlibs_CXX=no
   11865 	;;
   11866       *)
   11867 	# FIXME: insert proper C++ library support
   11868 	ld_shlibs_CXX=no
   11869 	;;
   11870     esac
   11871     ;;
   11872   freebsd[12]*)
   11873     # C++ shared libraries reported to be fairly broken before switch to ELF
   11874     ld_shlibs_CXX=no
   11875     ;;
   11876   freebsd-elf*)
   11877     archive_cmds_need_lc_CXX=no
   11878     ;;
   11879   freebsd* | dragonfly*)
   11880     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11881     # conventions
   11882     ld_shlibs_CXX=yes
   11883     ;;
   11884   gnu*)
   11885     ;;
   11886   hpux9*)
   11887     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11888     hardcode_libdir_separator_CXX=:
   11889     export_dynamic_flag_spec_CXX='${wl}-E'
   11890     hardcode_direct_CXX=yes
   11891     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11892 				# but as the default
   11893 				# location of the library.
   11894 
   11895     case $cc_basename in
   11896     CC*)
   11897       # FIXME: insert proper C++ library support
   11898       ld_shlibs_CXX=no
   11899       ;;
   11900     aCC*)
   11901       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'
   11902       # Commands to make compiler produce verbose output that lists
   11903       # what "hidden" libraries, object files and flags are used when
   11904       # linking a shared library.
   11905       #
   11906       # There doesn't appear to be a way to prevent this compiler from
   11907       # explicitly linking system object files so we need to strip them
   11908       # from the output so that they don't get included in the library
   11909       # dependencies.
   11910       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'
   11911       ;;
   11912     *)
   11913       if test "$GXX" = yes; then
   11914         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'
   11915       else
   11916         # FIXME: insert proper C++ library support
   11917         ld_shlibs_CXX=no
   11918       fi
   11919       ;;
   11920     esac
   11921     ;;
   11922   hpux10*|hpux11*)
   11923     if test $with_gnu_ld = no; then
   11924       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11925       hardcode_libdir_separator_CXX=:
   11926 
   11927       case $host_cpu in
   11928       hppa*64*|ia64*) ;;
   11929       *)
   11930 	export_dynamic_flag_spec_CXX='${wl}-E'
   11931         ;;
   11932       esac
   11933     fi
   11934     case $host_cpu in
   11935     hppa*64*|ia64*)
   11936       hardcode_direct_CXX=no
   11937       hardcode_shlibpath_var_CXX=no
   11938       ;;
   11939     *)
   11940       hardcode_direct_CXX=yes
   11941       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11942 					      # but as the default
   11943 					      # location of the library.
   11944       ;;
   11945     esac
   11946 
   11947     case $cc_basename in
   11948       CC*)
   11949 	# FIXME: insert proper C++ library support
   11950 	ld_shlibs_CXX=no
   11951 	;;
   11952       aCC*)
   11953 	case $host_cpu in
   11954 	hppa*64*)
   11955 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11956 	  ;;
   11957 	ia64*)
   11958 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11959 	  ;;
   11960 	*)
   11961 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11962 	  ;;
   11963 	esac
   11964 	# Commands to make compiler produce verbose output that lists
   11965 	# what "hidden" libraries, object files and flags are used when
   11966 	# linking a shared library.
   11967 	#
   11968 	# There doesn't appear to be a way to prevent this compiler from
   11969 	# explicitly linking system object files so we need to strip them
   11970 	# from the output so that they don't get included in the library
   11971 	# dependencies.
   11972 	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'
   11973 	;;
   11974       *)
   11975 	if test "$GXX" = yes; then
   11976 	  if test $with_gnu_ld = no; then
   11977 	    case $host_cpu in
   11978 	    hppa*64*)
   11979 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11980 	      ;;
   11981 	    ia64*)
   11982 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11983 	      ;;
   11984 	    *)
   11985 	      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'
   11986 	      ;;
   11987 	    esac
   11988 	  fi
   11989 	else
   11990 	  # FIXME: insert proper C++ library support
   11991 	  ld_shlibs_CXX=no
   11992 	fi
   11993 	;;
   11994     esac
   11995     ;;
   11996   interix[3-9]*)
   11997     hardcode_direct_CXX=no
   11998     hardcode_shlibpath_var_CXX=no
   11999     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12000     export_dynamic_flag_spec_CXX='${wl}-E'
   12001     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12002     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12003     # default) and relocated if they conflict, which is a slow very memory
   12004     # consuming and fragmenting process.  To avoid this, we pick a random,
   12005     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12006     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12007     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'
   12008     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'
   12009     ;;
   12010   irix5* | irix6*)
   12011     case $cc_basename in
   12012       CC*)
   12013 	# SGI C++
   12014 	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'
   12015 
   12016 	# Archives containing C++ object files must be created using
   12017 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12018 	# necessary to make sure instantiated templates are included
   12019 	# in the archive.
   12020 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12021 	;;
   12022       *)
   12023 	if test "$GXX" = yes; then
   12024 	  if test "$with_gnu_ld" = no; then
   12025 	    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'
   12026 	  else
   12027 	    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'
   12028 	  fi
   12029 	fi
   12030 	link_all_deplibs_CXX=yes
   12031 	;;
   12032     esac
   12033     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12034     hardcode_libdir_separator_CXX=:
   12035     ;;
   12036   linux* | k*bsd*-gnu)
   12037     case $cc_basename in
   12038       KCC*)
   12039 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12040 
   12041 	# KCC will only create a shared library if the output file
   12042 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12043 	# to its proper name (with version) after linking.
   12044 	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'
   12045 	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'
   12046 	# Commands to make compiler produce verbose output that lists
   12047 	# what "hidden" libraries, object files and flags are used when
   12048 	# linking a shared library.
   12049 	#
   12050 	# There doesn't appear to be a way to prevent this compiler from
   12051 	# explicitly linking system object files so we need to strip them
   12052 	# from the output so that they don't get included in the library
   12053 	# dependencies.
   12054 	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'
   12055 
   12056 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12057 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12058 
   12059 	# Archives containing C++ object files must be created using
   12060 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12061 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12062 	;;
   12063       icpc*)
   12064 	# Intel C++
   12065 	with_gnu_ld=yes
   12066 	# version 8.0 and above of icpc choke on multiply defined symbols
   12067 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12068 	# earlier do not add the objects themselves.
   12069 	case `$CC -V 2>&1` in
   12070 	*"Version 7."*)
   12071   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12072   	  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'
   12073 	  ;;
   12074 	*)  # Version 8.0 or newer
   12075 	  tmp_idyn=
   12076 	  case $host_cpu in
   12077 	    ia64*) tmp_idyn=' -i_dynamic';;
   12078 	  esac
   12079   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12080 	  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'
   12081 	  ;;
   12082 	esac
   12083 	archive_cmds_need_lc_CXX=no
   12084 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12085 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12086 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12087 	;;
   12088       pgCC* | pgcpp*)
   12089         # Portland Group C++ compiler
   12090 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12091   	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'
   12092 
   12093 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12094 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12095 	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'
   12096         ;;
   12097       cxx*)
   12098 	# Compaq C++
   12099 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12100 	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'
   12101 
   12102 	runpath_var=LD_RUN_PATH
   12103 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12104 	hardcode_libdir_separator_CXX=:
   12105 
   12106 	# Commands to make compiler produce verbose output that lists
   12107 	# what "hidden" libraries, object files and flags are used when
   12108 	# linking a shared library.
   12109 	#
   12110 	# There doesn't appear to be a way to prevent this compiler from
   12111 	# explicitly linking system object files so we need to strip them
   12112 	# from the output so that they don't get included in the library
   12113 	# dependencies.
   12114 	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'
   12115 	;;
   12116       *)
   12117 	case `$CC -V 2>&1 | sed 5q` in
   12118 	*Sun\ C*)
   12119 	  # Sun C++ 5.9
   12120 	  no_undefined_flag_CXX=' -zdefs'
   12121 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12122 	  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'
   12123 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12124 	  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'
   12125 
   12126 	  # Not sure whether something based on
   12127 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12128 	  # would be better.
   12129 	  output_verbose_link_cmd='echo'
   12130 
   12131 	  # Archives containing C++ object files must be created using
   12132 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12133 	  # necessary to make sure instantiated templates are included
   12134 	  # in the archive.
   12135 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12136 	  ;;
   12137 	esac
   12138 	;;
   12139     esac
   12140     ;;
   12141   lynxos*)
   12142     # FIXME: insert proper C++ library support
   12143     ld_shlibs_CXX=no
   12144     ;;
   12145   m88k*)
   12146     # FIXME: insert proper C++ library support
   12147     ld_shlibs_CXX=no
   12148     ;;
   12149   mvs*)
   12150     case $cc_basename in
   12151       cxx*)
   12152 	# FIXME: insert proper C++ library support
   12153 	ld_shlibs_CXX=no
   12154 	;;
   12155       *)
   12156 	# FIXME: insert proper C++ library support
   12157 	ld_shlibs_CXX=no
   12158 	;;
   12159     esac
   12160     ;;
   12161   netbsd*)
   12162     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12163       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12164       wlarc=
   12165       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12166       hardcode_direct_CXX=yes
   12167       hardcode_shlibpath_var_CXX=no
   12168     fi
   12169     # Workaround some broken pre-1.5 toolchains
   12170     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12171     ;;
   12172   openbsd2*)
   12173     # C++ shared libraries are fairly broken
   12174     ld_shlibs_CXX=no
   12175     ;;
   12176   openbsd*)
   12177     if test -f /usr/libexec/ld.so; then
   12178       hardcode_direct_CXX=yes
   12179       hardcode_shlibpath_var_CXX=no
   12180       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12181       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12182       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12183 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12184 	export_dynamic_flag_spec_CXX='${wl}-E'
   12185 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12186       fi
   12187       output_verbose_link_cmd='echo'
   12188     else
   12189       ld_shlibs_CXX=no
   12190     fi
   12191     ;;
   12192   osf3*)
   12193     case $cc_basename in
   12194       KCC*)
   12195 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12196 
   12197 	# KCC will only create a shared library if the output file
   12198 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12199 	# to its proper name (with version) after linking.
   12200 	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'
   12201 
   12202 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12203 	hardcode_libdir_separator_CXX=:
   12204 
   12205 	# Archives containing C++ object files must be created using
   12206 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12207 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12208 
   12209 	;;
   12210       RCC*)
   12211 	# Rational C++ 2.4.1
   12212 	# FIXME: insert proper C++ library support
   12213 	ld_shlibs_CXX=no
   12214 	;;
   12215       cxx*)
   12216 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12217 	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'
   12218 
   12219 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12220 	hardcode_libdir_separator_CXX=:
   12221 
   12222 	# Commands to make compiler produce verbose output that lists
   12223 	# what "hidden" libraries, object files and flags are used when
   12224 	# linking a shared library.
   12225 	#
   12226 	# There doesn't appear to be a way to prevent this compiler from
   12227 	# explicitly linking system object files so we need to strip them
   12228 	# from the output so that they don't get included in the library
   12229 	# dependencies.
   12230 	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'
   12231 	;;
   12232       *)
   12233 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12234 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12235 	  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'
   12236 
   12237 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12238 	  hardcode_libdir_separator_CXX=:
   12239 
   12240 	  # Commands to make compiler produce verbose output that lists
   12241 	  # what "hidden" libraries, object files and flags are used when
   12242 	  # linking a shared library.
   12243 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12244 
   12245 	else
   12246 	  # FIXME: insert proper C++ library support
   12247 	  ld_shlibs_CXX=no
   12248 	fi
   12249 	;;
   12250     esac
   12251     ;;
   12252   osf4* | osf5*)
   12253     case $cc_basename in
   12254       KCC*)
   12255 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12256 
   12257 	# KCC will only create a shared library if the output file
   12258 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12259 	# to its proper name (with version) after linking.
   12260 	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'
   12261 
   12262 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12263 	hardcode_libdir_separator_CXX=:
   12264 
   12265 	# Archives containing C++ object files must be created using
   12266 	# the KAI C++ compiler.
   12267 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12268 	;;
   12269       RCC*)
   12270 	# Rational C++ 2.4.1
   12271 	# FIXME: insert proper C++ library support
   12272 	ld_shlibs_CXX=no
   12273 	;;
   12274       cxx*)
   12275 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12276 	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'
   12277 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12278 	  echo "-hidden">> $lib.exp~
   12279 	  $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~
   12280 	  $rm $lib.exp'
   12281 
   12282 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12283 	hardcode_libdir_separator_CXX=:
   12284 
   12285 	# Commands to make compiler produce verbose output that lists
   12286 	# what "hidden" libraries, object files and flags are used when
   12287 	# linking a shared library.
   12288 	#
   12289 	# There doesn't appear to be a way to prevent this compiler from
   12290 	# explicitly linking system object files so we need to strip them
   12291 	# from the output so that they don't get included in the library
   12292 	# dependencies.
   12293 	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'
   12294 	;;
   12295       *)
   12296 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12297 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12298 	 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'
   12299 
   12300 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12301 	  hardcode_libdir_separator_CXX=:
   12302 
   12303 	  # Commands to make compiler produce verbose output that lists
   12304 	  # what "hidden" libraries, object files and flags are used when
   12305 	  # linking a shared library.
   12306 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12307 
   12308 	else
   12309 	  # FIXME: insert proper C++ library support
   12310 	  ld_shlibs_CXX=no
   12311 	fi
   12312 	;;
   12313     esac
   12314     ;;
   12315   psos*)
   12316     # FIXME: insert proper C++ library support
   12317     ld_shlibs_CXX=no
   12318     ;;
   12319   sunos4*)
   12320     case $cc_basename in
   12321       CC*)
   12322 	# Sun C++ 4.x
   12323 	# FIXME: insert proper C++ library support
   12324 	ld_shlibs_CXX=no
   12325 	;;
   12326       lcc*)
   12327 	# Lucid
   12328 	# FIXME: insert proper C++ library support
   12329 	ld_shlibs_CXX=no
   12330 	;;
   12331       *)
   12332 	# FIXME: insert proper C++ library support
   12333 	ld_shlibs_CXX=no
   12334 	;;
   12335     esac
   12336     ;;
   12337   solaris*)
   12338     case $cc_basename in
   12339       CC*)
   12340 	# Sun C++ 4.2, 5.x and Centerline C++
   12341         archive_cmds_need_lc_CXX=yes
   12342 	no_undefined_flag_CXX=' -zdefs'
   12343 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12344 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12345 	$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'
   12346 
   12347 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12348 	hardcode_shlibpath_var_CXX=no
   12349 	case $host_os in
   12350 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12351 	  *)
   12352 	    # The compiler driver will combine and reorder linker options,
   12353 	    # but understands `-z linker_flag'.
   12354 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12355 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12356 	    ;;
   12357 	esac
   12358 	link_all_deplibs_CXX=yes
   12359 
   12360 	output_verbose_link_cmd='echo'
   12361 
   12362 	# Archives containing C++ object files must be created using
   12363 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12364 	# necessary to make sure instantiated templates are included
   12365 	# in the archive.
   12366 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12367 	;;
   12368       gcx*)
   12369 	# Green Hills C++ Compiler
   12370 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12371 
   12372 	# The C++ compiler must be used to create the archive.
   12373 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12374 	;;
   12375       *)
   12376 	# GNU C++ compiler with Solaris linker
   12377 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12378 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12379 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12380 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12381 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12382 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12383 
   12384 	    # Commands to make compiler produce verbose output that lists
   12385 	    # what "hidden" libraries, object files and flags are used when
   12386 	    # linking a shared library.
   12387 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12388 	  else
   12389 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12390 	    # platform.
   12391 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12392 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12393 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12394 
   12395 	    # Commands to make compiler produce verbose output that lists
   12396 	    # what "hidden" libraries, object files and flags are used when
   12397 	    # linking a shared library.
   12398 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12399 	  fi
   12400 
   12401 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12402 	  case $host_os in
   12403 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12404 	  *)
   12405 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12406 	    ;;
   12407 	  esac
   12408 	fi
   12409 	;;
   12410     esac
   12411     ;;
   12412   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12413     no_undefined_flag_CXX='${wl}-z,text'
   12414     archive_cmds_need_lc_CXX=no
   12415     hardcode_shlibpath_var_CXX=no
   12416     runpath_var='LD_RUN_PATH'
   12417 
   12418     case $cc_basename in
   12419       CC*)
   12420 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12421 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12422 	;;
   12423       *)
   12424 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12425 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12426 	;;
   12427     esac
   12428     ;;
   12429   sysv5* | sco3.2v5* | sco5v6*)
   12430     # Note: We can NOT use -z defs as we might desire, because we do not
   12431     # link with -lc, and that would cause any symbols used from libc to
   12432     # always be unresolved, which means just about no library would
   12433     # ever link correctly.  If we're not using GNU ld we use -z text
   12434     # though, which does catch some bad symbols but isn't as heavy-handed
   12435     # as -z defs.
   12436     # For security reasons, it is highly recommended that you always
   12437     # use absolute paths for naming shared libraries, and exclude the
   12438     # DT_RUNPATH tag from executables and libraries.  But doing so
   12439     # requires that you compile everything twice, which is a pain.
   12440     # So that behaviour is only enabled if SCOABSPATH is set to a
   12441     # non-empty value in the environment.  Most likely only useful for
   12442     # creating official distributions of packages.
   12443     # This is a hack until libtool officially supports absolute path
   12444     # names for shared libraries.
   12445     no_undefined_flag_CXX='${wl}-z,text'
   12446     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12447     archive_cmds_need_lc_CXX=no
   12448     hardcode_shlibpath_var_CXX=no
   12449     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12450     hardcode_libdir_separator_CXX=':'
   12451     link_all_deplibs_CXX=yes
   12452     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12453     runpath_var='LD_RUN_PATH'
   12454 
   12455     case $cc_basename in
   12456       CC*)
   12457 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12458 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12459 	;;
   12460       *)
   12461 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12462 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12463 	;;
   12464     esac
   12465     ;;
   12466   tandem*)
   12467     case $cc_basename in
   12468       NCC*)
   12469 	# NonStop-UX NCC 3.20
   12470 	# FIXME: insert proper C++ library support
   12471 	ld_shlibs_CXX=no
   12472 	;;
   12473       *)
   12474 	# FIXME: insert proper C++ library support
   12475 	ld_shlibs_CXX=no
   12476 	;;
   12477     esac
   12478     ;;
   12479   vxworks*)
   12480     # FIXME: insert proper C++ library support
   12481     ld_shlibs_CXX=no
   12482     ;;
   12483   *)
   12484     # FIXME: insert proper C++ library support
   12485     ld_shlibs_CXX=no
   12486     ;;
   12487 esac
   12488 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12489 $as_echo "$ld_shlibs_CXX" >&6; }
   12490 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12491 
   12492 GCC_CXX="$GXX"
   12493 LD_CXX="$LD"
   12494 
   12495 cat > conftest.$ac_ext <<EOF
   12496 class Foo
   12497 {
   12498 public:
   12499   Foo (void) { a = 0; }
   12500 private:
   12501   int a;
   12502 };
   12503 EOF
   12504 
   12505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12506   (eval $ac_compile) 2>&5
   12507   ac_status=$?
   12508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12509   (exit $ac_status); }; then
   12510   # Parse the compiler output and extract the necessary
   12511   # objects, libraries and library flags.
   12512 
   12513   # Sentinel used to keep track of whether or not we are before
   12514   # the conftest object file.
   12515   pre_test_object_deps_done=no
   12516 
   12517   # The `*' in the case matches for architectures that use `case' in
   12518   # $output_verbose_cmd can trigger glob expansion during the loop
   12519   # eval without this substitution.
   12520   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12521 
   12522   for p in `eval $output_verbose_link_cmd`; do
   12523     case $p in
   12524 
   12525     -L* | -R* | -l*)
   12526        # Some compilers place space between "-{L,R}" and the path.
   12527        # Remove the space.
   12528        if test $p = "-L" \
   12529 	  || test $p = "-R"; then
   12530 	 prev=$p
   12531 	 continue
   12532        else
   12533 	 prev=
   12534        fi
   12535 
   12536        if test "$pre_test_object_deps_done" = no; then
   12537 	 case $p in
   12538 	 -L* | -R*)
   12539 	   # Internal compiler library paths should come after those
   12540 	   # provided the user.  The postdeps already come after the
   12541 	   # user supplied libs so there is no need to process them.
   12542 	   if test -z "$compiler_lib_search_path_CXX"; then
   12543 	     compiler_lib_search_path_CXX="${prev}${p}"
   12544 	   else
   12545 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12546 	   fi
   12547 	   ;;
   12548 	 # The "-l" case would never come before the object being
   12549 	 # linked, so don't bother handling this case.
   12550 	 esac
   12551        else
   12552 	 if test -z "$postdeps_CXX"; then
   12553 	   postdeps_CXX="${prev}${p}"
   12554 	 else
   12555 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12556 	 fi
   12557        fi
   12558        ;;
   12559 
   12560     *.$objext)
   12561        # This assumes that the test object file only shows up
   12562        # once in the compiler output.
   12563        if test "$p" = "conftest.$objext"; then
   12564 	 pre_test_object_deps_done=yes
   12565 	 continue
   12566        fi
   12567 
   12568        if test "$pre_test_object_deps_done" = no; then
   12569 	 if test -z "$predep_objects_CXX"; then
   12570 	   predep_objects_CXX="$p"
   12571 	 else
   12572 	   predep_objects_CXX="$predep_objects_CXX $p"
   12573 	 fi
   12574        else
   12575 	 if test -z "$postdep_objects_CXX"; then
   12576 	   postdep_objects_CXX="$p"
   12577 	 else
   12578 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12579 	 fi
   12580        fi
   12581        ;;
   12582 
   12583     *) ;; # Ignore the rest.
   12584 
   12585     esac
   12586   done
   12587 
   12588   # Clean up.
   12589   rm -f a.out a.exe
   12590 else
   12591   echo "libtool.m4: error: problem compiling CXX test program"
   12592 fi
   12593 
   12594 $rm -f confest.$objext
   12595 
   12596 compiler_lib_search_dirs_CXX=
   12597 if test -n "$compiler_lib_search_path_CXX"; then
   12598   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12599 fi
   12600 
   12601 # PORTME: override above test on systems where it is broken
   12602 case $host_os in
   12603 interix[3-9]*)
   12604   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12605   # hack all around it, let's just trust "g++" to DTRT.
   12606   predep_objects_CXX=
   12607   postdep_objects_CXX=
   12608   postdeps_CXX=
   12609   ;;
   12610 
   12611 linux*)
   12612   case `$CC -V 2>&1 | sed 5q` in
   12613   *Sun\ C*)
   12614     # Sun C++ 5.9
   12615     #
   12616     # The more standards-conforming stlport4 library is
   12617     # incompatible with the Cstd library. Avoid specifying
   12618     # it if it's in CXXFLAGS. Ignore libCrun as
   12619     # -library=stlport4 depends on it.
   12620     case " $CXX $CXXFLAGS " in
   12621     *" -library=stlport4 "*)
   12622       solaris_use_stlport4=yes
   12623       ;;
   12624     esac
   12625     if test "$solaris_use_stlport4" != yes; then
   12626       postdeps_CXX='-library=Cstd -library=Crun'
   12627     fi
   12628     ;;
   12629   esac
   12630   ;;
   12631 
   12632 solaris*)
   12633   case $cc_basename in
   12634   CC*)
   12635     # The more standards-conforming stlport4 library is
   12636     # incompatible with the Cstd library. Avoid specifying
   12637     # it if it's in CXXFLAGS. Ignore libCrun as
   12638     # -library=stlport4 depends on it.
   12639     case " $CXX $CXXFLAGS " in
   12640     *" -library=stlport4 "*)
   12641       solaris_use_stlport4=yes
   12642       ;;
   12643     esac
   12644 
   12645     # Adding this requires a known-good setup of shared libraries for
   12646     # Sun compiler versions before 5.6, else PIC objects from an old
   12647     # archive will be linked into the output, leading to subtle bugs.
   12648     if test "$solaris_use_stlport4" != yes; then
   12649       postdeps_CXX='-library=Cstd -library=Crun'
   12650     fi
   12651     ;;
   12652   esac
   12653   ;;
   12654 esac
   12655 
   12656 case " $postdeps_CXX " in
   12657 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12658 esac
   12659 
   12660 lt_prog_compiler_wl_CXX=
   12661 lt_prog_compiler_pic_CXX=
   12662 lt_prog_compiler_static_CXX=
   12663 
   12664 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12665 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12666 
   12667   # C++ specific cases for pic, static, wl, etc.
   12668   if test "$GXX" = yes; then
   12669     lt_prog_compiler_wl_CXX='-Wl,'
   12670     lt_prog_compiler_static_CXX='-static'
   12671 
   12672     case $host_os in
   12673     aix*)
   12674       # All AIX code is PIC.
   12675       if test "$host_cpu" = ia64; then
   12676 	# AIX 5 now supports IA64 processor
   12677 	lt_prog_compiler_static_CXX='-Bstatic'
   12678       fi
   12679       ;;
   12680     amigaos*)
   12681       # FIXME: we need at least 68020 code to build shared libraries, but
   12682       # adding the `-m68020' flag to GCC prevents building anything better,
   12683       # like `-m68040'.
   12684       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12685       ;;
   12686     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12687       # PIC is the default for these OSes.
   12688       ;;
   12689     mingw* | cygwin* | os2* | pw32*)
   12690       # This hack is so that the source file can tell whether it is being
   12691       # built for inclusion in a dll (and should export symbols for example).
   12692       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12693       # (--disable-auto-import) libraries
   12694       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12695       ;;
   12696     darwin* | rhapsody*)
   12697       # PIC is the default on this platform
   12698       # Common symbols not allowed in MH_DYLIB files
   12699       lt_prog_compiler_pic_CXX='-fno-common'
   12700       ;;
   12701     *djgpp*)
   12702       # DJGPP does not support shared libraries at all
   12703       lt_prog_compiler_pic_CXX=
   12704       ;;
   12705     interix[3-9]*)
   12706       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12707       # Instead, we relocate shared libraries at runtime.
   12708       ;;
   12709     sysv4*MP*)
   12710       if test -d /usr/nec; then
   12711 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12712       fi
   12713       ;;
   12714     hpux*)
   12715       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12716       # not for PA HP-UX.
   12717       case $host_cpu in
   12718       hppa*64*|ia64*)
   12719 	;;
   12720       *)
   12721 	lt_prog_compiler_pic_CXX='-fPIC'
   12722 	;;
   12723       esac
   12724       ;;
   12725     *)
   12726       lt_prog_compiler_pic_CXX='-fPIC'
   12727       ;;
   12728     esac
   12729   else
   12730     case $host_os in
   12731       aix[4-9]*)
   12732 	# All AIX code is PIC.
   12733 	if test "$host_cpu" = ia64; then
   12734 	  # AIX 5 now supports IA64 processor
   12735 	  lt_prog_compiler_static_CXX='-Bstatic'
   12736 	else
   12737 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12738 	fi
   12739 	;;
   12740       chorus*)
   12741 	case $cc_basename in
   12742 	cxch68*)
   12743 	  # Green Hills C++ Compiler
   12744 	  # _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"
   12745 	  ;;
   12746 	esac
   12747 	;;
   12748        darwin*)
   12749          # PIC is the default on this platform
   12750          # Common symbols not allowed in MH_DYLIB files
   12751          case $cc_basename in
   12752            xlc*)
   12753            lt_prog_compiler_pic_CXX='-qnocommon'
   12754            lt_prog_compiler_wl_CXX='-Wl,'
   12755            ;;
   12756          esac
   12757        ;;
   12758       dgux*)
   12759 	case $cc_basename in
   12760 	  ec++*)
   12761 	    lt_prog_compiler_pic_CXX='-KPIC'
   12762 	    ;;
   12763 	  ghcx*)
   12764 	    # Green Hills C++ Compiler
   12765 	    lt_prog_compiler_pic_CXX='-pic'
   12766 	    ;;
   12767 	  *)
   12768 	    ;;
   12769 	esac
   12770 	;;
   12771       freebsd* | dragonfly*)
   12772 	# FreeBSD uses GNU C++
   12773 	;;
   12774       hpux9* | hpux10* | hpux11*)
   12775 	case $cc_basename in
   12776 	  CC*)
   12777 	    lt_prog_compiler_wl_CXX='-Wl,'
   12778 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12779 	    if test "$host_cpu" != ia64; then
   12780 	      lt_prog_compiler_pic_CXX='+Z'
   12781 	    fi
   12782 	    ;;
   12783 	  aCC*)
   12784 	    lt_prog_compiler_wl_CXX='-Wl,'
   12785 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12786 	    case $host_cpu in
   12787 	    hppa*64*|ia64*)
   12788 	      # +Z the default
   12789 	      ;;
   12790 	    *)
   12791 	      lt_prog_compiler_pic_CXX='+Z'
   12792 	      ;;
   12793 	    esac
   12794 	    ;;
   12795 	  *)
   12796 	    ;;
   12797 	esac
   12798 	;;
   12799       interix*)
   12800 	# This is c89, which is MS Visual C++ (no shared libs)
   12801 	# Anyone wants to do a port?
   12802 	;;
   12803       irix5* | irix6* | nonstopux*)
   12804 	case $cc_basename in
   12805 	  CC*)
   12806 	    lt_prog_compiler_wl_CXX='-Wl,'
   12807 	    lt_prog_compiler_static_CXX='-non_shared'
   12808 	    # CC pic flag -KPIC is the default.
   12809 	    ;;
   12810 	  *)
   12811 	    ;;
   12812 	esac
   12813 	;;
   12814       linux* | k*bsd*-gnu)
   12815 	case $cc_basename in
   12816 	  KCC*)
   12817 	    # KAI C++ Compiler
   12818 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12819 	    lt_prog_compiler_pic_CXX='-fPIC'
   12820 	    ;;
   12821 	  icpc* | ecpc*)
   12822 	    # Intel C++
   12823 	    lt_prog_compiler_wl_CXX='-Wl,'
   12824 	    lt_prog_compiler_pic_CXX='-KPIC'
   12825 	    lt_prog_compiler_static_CXX='-static'
   12826 	    ;;
   12827 	  pgCC* | pgcpp*)
   12828 	    # Portland Group C++ compiler.
   12829 	    lt_prog_compiler_wl_CXX='-Wl,'
   12830 	    lt_prog_compiler_pic_CXX='-fpic'
   12831 	    lt_prog_compiler_static_CXX='-Bstatic'
   12832 	    ;;
   12833 	  cxx*)
   12834 	    # Compaq C++
   12835 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12836 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12837 	    lt_prog_compiler_pic_CXX=
   12838 	    lt_prog_compiler_static_CXX='-non_shared'
   12839 	    ;;
   12840 	  *)
   12841 	    case `$CC -V 2>&1 | sed 5q` in
   12842 	    *Sun\ C*)
   12843 	      # Sun C++ 5.9
   12844 	      lt_prog_compiler_pic_CXX='-KPIC'
   12845 	      lt_prog_compiler_static_CXX='-Bstatic'
   12846 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12847 	      ;;
   12848 	    esac
   12849 	    ;;
   12850 	esac
   12851 	;;
   12852       lynxos*)
   12853 	;;
   12854       m88k*)
   12855 	;;
   12856       mvs*)
   12857 	case $cc_basename in
   12858 	  cxx*)
   12859 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12860 	    ;;
   12861 	  *)
   12862 	    ;;
   12863 	esac
   12864 	;;
   12865       netbsd*)
   12866 	;;
   12867       osf3* | osf4* | osf5*)
   12868 	case $cc_basename in
   12869 	  KCC*)
   12870 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12871 	    ;;
   12872 	  RCC*)
   12873 	    # Rational C++ 2.4.1
   12874 	    lt_prog_compiler_pic_CXX='-pic'
   12875 	    ;;
   12876 	  cxx*)
   12877 	    # Digital/Compaq C++
   12878 	    lt_prog_compiler_wl_CXX='-Wl,'
   12879 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12880 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12881 	    lt_prog_compiler_pic_CXX=
   12882 	    lt_prog_compiler_static_CXX='-non_shared'
   12883 	    ;;
   12884 	  *)
   12885 	    ;;
   12886 	esac
   12887 	;;
   12888       psos*)
   12889 	;;
   12890       solaris*)
   12891 	case $cc_basename in
   12892 	  CC*)
   12893 	    # Sun C++ 4.2, 5.x and Centerline C++
   12894 	    lt_prog_compiler_pic_CXX='-KPIC'
   12895 	    lt_prog_compiler_static_CXX='-Bstatic'
   12896 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12897 	    ;;
   12898 	  gcx*)
   12899 	    # Green Hills C++ Compiler
   12900 	    lt_prog_compiler_pic_CXX='-PIC'
   12901 	    ;;
   12902 	  *)
   12903 	    ;;
   12904 	esac
   12905 	;;
   12906       sunos4*)
   12907 	case $cc_basename in
   12908 	  CC*)
   12909 	    # Sun C++ 4.x
   12910 	    lt_prog_compiler_pic_CXX='-pic'
   12911 	    lt_prog_compiler_static_CXX='-Bstatic'
   12912 	    ;;
   12913 	  lcc*)
   12914 	    # Lucid
   12915 	    lt_prog_compiler_pic_CXX='-pic'
   12916 	    ;;
   12917 	  *)
   12918 	    ;;
   12919 	esac
   12920 	;;
   12921       tandem*)
   12922 	case $cc_basename in
   12923 	  NCC*)
   12924 	    # NonStop-UX NCC 3.20
   12925 	    lt_prog_compiler_pic_CXX='-KPIC'
   12926 	    ;;
   12927 	  *)
   12928 	    ;;
   12929 	esac
   12930 	;;
   12931       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12932 	case $cc_basename in
   12933 	  CC*)
   12934 	    lt_prog_compiler_wl_CXX='-Wl,'
   12935 	    lt_prog_compiler_pic_CXX='-KPIC'
   12936 	    lt_prog_compiler_static_CXX='-Bstatic'
   12937 	    ;;
   12938 	esac
   12939 	;;
   12940       vxworks*)
   12941 	;;
   12942       *)
   12943 	lt_prog_compiler_can_build_shared_CXX=no
   12944 	;;
   12945     esac
   12946   fi
   12947 
   12948 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12949 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12950 
   12951 #
   12952 # Check to make sure the PIC flag actually works.
   12953 #
   12954 if test -n "$lt_prog_compiler_pic_CXX"; then
   12955 
   12956 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12957 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12958 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12959   $as_echo_n "(cached) " >&6
   12960 else
   12961   lt_cv_prog_compiler_pic_works_CXX=no
   12962   ac_outfile=conftest.$ac_objext
   12963    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12964    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12965    # Insert the option either (1) after the last *FLAGS variable, or
   12966    # (2) before a word containing "conftest.", or (3) at the end.
   12967    # Note that $ac_compile itself does not contain backslashes and begins
   12968    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12969    # The option is referenced via a variable to avoid confusing sed.
   12970    lt_compile=`echo "$ac_compile" | $SED \
   12971    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12972    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12973    -e 's:$: $lt_compiler_flag:'`
   12974    (eval echo "\"\$as_me:12974: $lt_compile\"" >&5)
   12975    (eval "$lt_compile" 2>conftest.err)
   12976    ac_status=$?
   12977    cat conftest.err >&5
   12978    echo "$as_me:12978: \$? = $ac_status" >&5
   12979    if (exit $ac_status) && test -s "$ac_outfile"; then
   12980      # The compiler can only warn and ignore the option if not recognized
   12981      # So say no if there are warnings other than the usual output.
   12982      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12983      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12984      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12985        lt_cv_prog_compiler_pic_works_CXX=yes
   12986      fi
   12987    fi
   12988    $rm conftest*
   12989 
   12990 fi
   12991 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12992 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12993 
   12994 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12995     case $lt_prog_compiler_pic_CXX in
   12996      "" | " "*) ;;
   12997      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12998      esac
   12999 else
   13000     lt_prog_compiler_pic_CXX=
   13001      lt_prog_compiler_can_build_shared_CXX=no
   13002 fi
   13003 
   13004 fi
   13005 case $host_os in
   13006   # For platforms which do not support PIC, -DPIC is meaningless:
   13007   *djgpp*)
   13008     lt_prog_compiler_pic_CXX=
   13009     ;;
   13010   *)
   13011     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13012     ;;
   13013 esac
   13014 
   13015 #
   13016 # Check to make sure the static flag actually works.
   13017 #
   13018 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13019 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13020 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13021 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13022   $as_echo_n "(cached) " >&6
   13023 else
   13024   lt_cv_prog_compiler_static_works_CXX=no
   13025    save_LDFLAGS="$LDFLAGS"
   13026    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13027    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13028    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13029      # The linker can only warn and ignore the option if not recognized
   13030      # So say no if there are warnings
   13031      if test -s conftest.err; then
   13032        # Append any errors to the config.log.
   13033        cat conftest.err 1>&5
   13034        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13035        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13036        if diff conftest.exp conftest.er2 >/dev/null; then
   13037          lt_cv_prog_compiler_static_works_CXX=yes
   13038        fi
   13039      else
   13040        lt_cv_prog_compiler_static_works_CXX=yes
   13041      fi
   13042    fi
   13043    $rm -r conftest*
   13044    LDFLAGS="$save_LDFLAGS"
   13045 
   13046 fi
   13047 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13048 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13049 
   13050 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13051     :
   13052 else
   13053     lt_prog_compiler_static_CXX=
   13054 fi
   13055 
   13056 
   13057 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13058 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13059 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13060   $as_echo_n "(cached) " >&6
   13061 else
   13062   lt_cv_prog_compiler_c_o_CXX=no
   13063    $rm -r conftest 2>/dev/null
   13064    mkdir conftest
   13065    cd conftest
   13066    mkdir out
   13067    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13068 
   13069    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13070    # Insert the option either (1) after the last *FLAGS variable, or
   13071    # (2) before a word containing "conftest.", or (3) at the end.
   13072    # Note that $ac_compile itself does not contain backslashes and begins
   13073    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13074    lt_compile=`echo "$ac_compile" | $SED \
   13075    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13076    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13077    -e 's:$: $lt_compiler_flag:'`
   13078    (eval echo "\"\$as_me:13078: $lt_compile\"" >&5)
   13079    (eval "$lt_compile" 2>out/conftest.err)
   13080    ac_status=$?
   13081    cat out/conftest.err >&5
   13082    echo "$as_me:13082: \$? = $ac_status" >&5
   13083    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13084    then
   13085      # The compiler can only warn and ignore the option if not recognized
   13086      # So say no if there are warnings
   13087      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13088      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13089      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13090        lt_cv_prog_compiler_c_o_CXX=yes
   13091      fi
   13092    fi
   13093    chmod u+w . 2>&5
   13094    $rm conftest*
   13095    # SGI C++ compiler will create directory out/ii_files/ for
   13096    # template instantiation
   13097    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13098    $rm out/* && rmdir out
   13099    cd ..
   13100    rmdir conftest
   13101    $rm conftest*
   13102 
   13103 fi
   13104 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13105 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13106 
   13107 
   13108 hard_links="nottested"
   13109 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13110   # do not overwrite the value of need_locks provided by the user
   13111   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13112 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13113   hard_links=yes
   13114   $rm conftest*
   13115   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13116   touch conftest.a
   13117   ln conftest.a conftest.b 2>&5 || hard_links=no
   13118   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13119   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13120 $as_echo "$hard_links" >&6; }
   13121   if test "$hard_links" = no; then
   13122     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13123 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13124     need_locks=warn
   13125   fi
   13126 else
   13127   need_locks=no
   13128 fi
   13129 
   13130 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13131 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13132 
   13133   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13134   case $host_os in
   13135   aix[4-9]*)
   13136     # If we're using GNU nm, then we don't want the "-C" option.
   13137     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13138     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13139       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'
   13140     else
   13141       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'
   13142     fi
   13143     ;;
   13144   pw32*)
   13145     export_symbols_cmds_CXX="$ltdll_cmds"
   13146   ;;
   13147   cygwin* | mingw*)
   13148     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'
   13149   ;;
   13150   *)
   13151     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13152   ;;
   13153   esac
   13154   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13155 
   13156 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13157 $as_echo "$ld_shlibs_CXX" >&6; }
   13158 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13159 
   13160 #
   13161 # Do we need to explicitly link libc?
   13162 #
   13163 case "x$archive_cmds_need_lc_CXX" in
   13164 x|xyes)
   13165   # Assume -lc should be added
   13166   archive_cmds_need_lc_CXX=yes
   13167 
   13168   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13169     case $archive_cmds_CXX in
   13170     *'~'*)
   13171       # FIXME: we may have to deal with multi-command sequences.
   13172       ;;
   13173     '$CC '*)
   13174       # Test whether the compiler implicitly links with -lc since on some
   13175       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13176       # to ld, don't add -lc before -lgcc.
   13177       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13178 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13179       $rm conftest*
   13180       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13181 
   13182       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13183   (eval $ac_compile) 2>&5
   13184   ac_status=$?
   13185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13186   (exit $ac_status); } 2>conftest.err; then
   13187         soname=conftest
   13188         lib=conftest
   13189         libobjs=conftest.$ac_objext
   13190         deplibs=
   13191         wl=$lt_prog_compiler_wl_CXX
   13192 	pic_flag=$lt_prog_compiler_pic_CXX
   13193         compiler_flags=-v
   13194         linker_flags=-v
   13195         verstring=
   13196         output_objdir=.
   13197         libname=conftest
   13198         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13199         allow_undefined_flag_CXX=
   13200         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13201   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13202   ac_status=$?
   13203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13204   (exit $ac_status); }
   13205         then
   13206 	  archive_cmds_need_lc_CXX=no
   13207         else
   13208 	  archive_cmds_need_lc_CXX=yes
   13209         fi
   13210         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13211       else
   13212         cat conftest.err 1>&5
   13213       fi
   13214       $rm conftest*
   13215       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13216 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13217       ;;
   13218     esac
   13219   fi
   13220   ;;
   13221 esac
   13222 
   13223 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13224 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13225 library_names_spec=
   13226 libname_spec='lib$name'
   13227 soname_spec=
   13228 shrext_cmds=".so"
   13229 postinstall_cmds=
   13230 postuninstall_cmds=
   13231 finish_cmds=
   13232 finish_eval=
   13233 shlibpath_var=
   13234 shlibpath_overrides_runpath=unknown
   13235 version_type=none
   13236 dynamic_linker="$host_os ld.so"
   13237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13238 
   13239 need_lib_prefix=unknown
   13240 hardcode_into_libs=no
   13241 
   13242 # when you set need_version to no, make sure it does not cause -set_version
   13243 # flags to be left without arguments
   13244 need_version=unknown
   13245 
   13246 case $host_os in
   13247 aix3*)
   13248   version_type=linux
   13249   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13250   shlibpath_var=LIBPATH
   13251 
   13252   # AIX 3 has no versioning support, so we append a major version to the name.
   13253   soname_spec='${libname}${release}${shared_ext}$major'
   13254   ;;
   13255 
   13256 aix[4-9]*)
   13257   version_type=linux
   13258   need_lib_prefix=no
   13259   need_version=no
   13260   hardcode_into_libs=yes
   13261   if test "$host_cpu" = ia64; then
   13262     # AIX 5 supports IA64
   13263     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13264     shlibpath_var=LD_LIBRARY_PATH
   13265   else
   13266     # With GCC up to 2.95.x, collect2 would create an import file
   13267     # for dependence libraries.  The import file would start with
   13268     # the line `#! .'.  This would cause the generated library to
   13269     # depend on `.', always an invalid library.  This was fixed in
   13270     # development snapshots of GCC prior to 3.0.
   13271     case $host_os in
   13272       aix4 | aix4.[01] | aix4.[01].*)
   13273       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13274 	   echo ' yes '
   13275 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13276 	:
   13277       else
   13278 	can_build_shared=no
   13279       fi
   13280       ;;
   13281     esac
   13282     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13283     # soname into executable. Probably we can add versioning support to
   13284     # collect2, so additional links can be useful in future.
   13285     if test "$aix_use_runtimelinking" = yes; then
   13286       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13287       # instead of lib<name>.a to let people know that these are not
   13288       # typical AIX shared libraries.
   13289       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13290     else
   13291       # We preserve .a as extension for shared libraries through AIX4.2
   13292       # and later when we are not doing run time linking.
   13293       library_names_spec='${libname}${release}.a $libname.a'
   13294       soname_spec='${libname}${release}${shared_ext}$major'
   13295     fi
   13296     shlibpath_var=LIBPATH
   13297   fi
   13298   ;;
   13299 
   13300 amigaos*)
   13301   library_names_spec='$libname.ixlibrary $libname.a'
   13302   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13303   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'
   13304   ;;
   13305 
   13306 beos*)
   13307   library_names_spec='${libname}${shared_ext}'
   13308   dynamic_linker="$host_os ld.so"
   13309   shlibpath_var=LIBRARY_PATH
   13310   ;;
   13311 
   13312 bsdi[45]*)
   13313   version_type=linux
   13314   need_version=no
   13315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13316   soname_spec='${libname}${release}${shared_ext}$major'
   13317   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13318   shlibpath_var=LD_LIBRARY_PATH
   13319   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13320   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13321   # the default ld.so.conf also contains /usr/contrib/lib and
   13322   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13323   # libtool to hard-code these into programs
   13324   ;;
   13325 
   13326 cygwin* | mingw* | pw32*)
   13327   version_type=windows
   13328   shrext_cmds=".dll"
   13329   need_version=no
   13330   need_lib_prefix=no
   13331 
   13332   case $GCC,$host_os in
   13333   yes,cygwin* | yes,mingw* | yes,pw32*)
   13334     library_names_spec='$libname.dll.a'
   13335     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13336     postinstall_cmds='base_file=`basename \${file}`~
   13337       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13338       dldir=$destdir/`dirname \$dlpath`~
   13339       test -d \$dldir || mkdir -p \$dldir~
   13340       $install_prog $dir/$dlname \$dldir/$dlname~
   13341       chmod a+x \$dldir/$dlname'
   13342     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13343       dlpath=$dir/\$dldll~
   13344        $rm \$dlpath'
   13345     shlibpath_overrides_runpath=yes
   13346 
   13347     case $host_os in
   13348     cygwin*)
   13349       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13350       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13351       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13352       ;;
   13353     mingw*)
   13354       # MinGW DLLs use traditional 'lib' prefix
   13355       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13356       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13357       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13358         # It is most probably a Windows format PATH printed by
   13359         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13360         # path with ; separators, and with drive letters. We can handle the
   13361         # drive letters (cygwin fileutils understands them), so leave them,
   13362         # especially as we might pass files found there to a mingw objdump,
   13363         # which wouldn't understand a cygwinified path. Ahh.
   13364         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13365       else
   13366         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13367       fi
   13368       ;;
   13369     pw32*)
   13370       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13371       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13372       ;;
   13373     esac
   13374     ;;
   13375 
   13376   *)
   13377     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13378     ;;
   13379   esac
   13380   dynamic_linker='Win32 ld.exe'
   13381   # FIXME: first we should search . and the directory the executable is in
   13382   shlibpath_var=PATH
   13383   ;;
   13384 
   13385 darwin* | rhapsody*)
   13386   dynamic_linker="$host_os dyld"
   13387   version_type=darwin
   13388   need_lib_prefix=no
   13389   need_version=no
   13390   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13391   soname_spec='${libname}${release}${major}$shared_ext'
   13392   shlibpath_overrides_runpath=yes
   13393   shlibpath_var=DYLD_LIBRARY_PATH
   13394   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13395 
   13396   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13397   ;;
   13398 
   13399 dgux*)
   13400   version_type=linux
   13401   need_lib_prefix=no
   13402   need_version=no
   13403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13404   soname_spec='${libname}${release}${shared_ext}$major'
   13405   shlibpath_var=LD_LIBRARY_PATH
   13406   ;;
   13407 
   13408 freebsd1*)
   13409   dynamic_linker=no
   13410   ;;
   13411 
   13412 freebsd* | dragonfly*)
   13413   # DragonFly does not have aout.  When/if they implement a new
   13414   # versioning mechanism, adjust this.
   13415   if test -x /usr/bin/objformat; then
   13416     objformat=`/usr/bin/objformat`
   13417   else
   13418     case $host_os in
   13419     freebsd[123]*) objformat=aout ;;
   13420     *) objformat=elf ;;
   13421     esac
   13422   fi
   13423   version_type=freebsd-$objformat
   13424   case $version_type in
   13425     freebsd-elf*)
   13426       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13427       need_version=no
   13428       need_lib_prefix=no
   13429       ;;
   13430     freebsd-*)
   13431       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13432       need_version=yes
   13433       ;;
   13434   esac
   13435   shlibpath_var=LD_LIBRARY_PATH
   13436   case $host_os in
   13437   freebsd2*)
   13438     shlibpath_overrides_runpath=yes
   13439     ;;
   13440   freebsd3.[01]* | freebsdelf3.[01]*)
   13441     shlibpath_overrides_runpath=yes
   13442     hardcode_into_libs=yes
   13443     ;;
   13444   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13445   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13446     shlibpath_overrides_runpath=no
   13447     hardcode_into_libs=yes
   13448     ;;
   13449   *) # from 4.6 on, and DragonFly
   13450     shlibpath_overrides_runpath=yes
   13451     hardcode_into_libs=yes
   13452     ;;
   13453   esac
   13454   ;;
   13455 
   13456 gnu*)
   13457   version_type=linux
   13458   need_lib_prefix=no
   13459   need_version=no
   13460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13461   soname_spec='${libname}${release}${shared_ext}$major'
   13462   shlibpath_var=LD_LIBRARY_PATH
   13463   hardcode_into_libs=yes
   13464   ;;
   13465 
   13466 hpux9* | hpux10* | hpux11*)
   13467   # Give a soname corresponding to the major version so that dld.sl refuses to
   13468   # link against other versions.
   13469   version_type=sunos
   13470   need_lib_prefix=no
   13471   need_version=no
   13472   case $host_cpu in
   13473   ia64*)
   13474     shrext_cmds='.so'
   13475     hardcode_into_libs=yes
   13476     dynamic_linker="$host_os dld.so"
   13477     shlibpath_var=LD_LIBRARY_PATH
   13478     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13479     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13480     soname_spec='${libname}${release}${shared_ext}$major'
   13481     if test "X$HPUX_IA64_MODE" = X32; then
   13482       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13483     else
   13484       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13485     fi
   13486     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13487     ;;
   13488    hppa*64*)
   13489      shrext_cmds='.sl'
   13490      hardcode_into_libs=yes
   13491      dynamic_linker="$host_os dld.sl"
   13492      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13493      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13494      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13495      soname_spec='${libname}${release}${shared_ext}$major'
   13496      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13497      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13498      ;;
   13499    *)
   13500     shrext_cmds='.sl'
   13501     dynamic_linker="$host_os dld.sl"
   13502     shlibpath_var=SHLIB_PATH
   13503     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13505     soname_spec='${libname}${release}${shared_ext}$major'
   13506     ;;
   13507   esac
   13508   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13509   postinstall_cmds='chmod 555 $lib'
   13510   ;;
   13511 
   13512 interix[3-9]*)
   13513   version_type=linux
   13514   need_lib_prefix=no
   13515   need_version=no
   13516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13517   soname_spec='${libname}${release}${shared_ext}$major'
   13518   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13519   shlibpath_var=LD_LIBRARY_PATH
   13520   shlibpath_overrides_runpath=no
   13521   hardcode_into_libs=yes
   13522   ;;
   13523 
   13524 irix5* | irix6* | nonstopux*)
   13525   case $host_os in
   13526     nonstopux*) version_type=nonstopux ;;
   13527     *)
   13528 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13529 		version_type=linux
   13530 	else
   13531 		version_type=irix
   13532 	fi ;;
   13533   esac
   13534   need_lib_prefix=no
   13535   need_version=no
   13536   soname_spec='${libname}${release}${shared_ext}$major'
   13537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13538   case $host_os in
   13539   irix5* | nonstopux*)
   13540     libsuff= shlibsuff=
   13541     ;;
   13542   *)
   13543     case $LD in # libtool.m4 will add one of these switches to LD
   13544     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13545       libsuff= shlibsuff= libmagic=32-bit;;
   13546     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13547       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13548     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13549       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13550     *) libsuff= shlibsuff= libmagic=never-match;;
   13551     esac
   13552     ;;
   13553   esac
   13554   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13555   shlibpath_overrides_runpath=no
   13556   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13557   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13558   hardcode_into_libs=yes
   13559   ;;
   13560 
   13561 # No shared lib support for Linux oldld, aout, or coff.
   13562 linux*oldld* | linux*aout* | linux*coff*)
   13563   dynamic_linker=no
   13564   ;;
   13565 
   13566 # This must be Linux ELF.
   13567 linux* | k*bsd*-gnu)
   13568   version_type=linux
   13569   need_lib_prefix=no
   13570   need_version=no
   13571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13572   soname_spec='${libname}${release}${shared_ext}$major'
   13573   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13574   shlibpath_var=LD_LIBRARY_PATH
   13575   shlibpath_overrides_runpath=no
   13576   # This implies no fast_install, which is unacceptable.
   13577   # Some rework will be needed to allow for fast_install
   13578   # before this can be enabled.
   13579   hardcode_into_libs=yes
   13580   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13581   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13582 
   13583   # Append ld.so.conf contents to the search path
   13584   if test -f /etc/ld.so.conf; then
   13585     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' ' '`
   13586     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13587   fi
   13588 
   13589   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13590   # powerpc, because MkLinux only supported shared libraries with the
   13591   # GNU dynamic linker.  Since this was broken with cross compilers,
   13592   # most powerpc-linux boxes support dynamic linking these days and
   13593   # people can always --disable-shared, the test was removed, and we
   13594   # assume the GNU/Linux dynamic linker is in use.
   13595   dynamic_linker='GNU/Linux ld.so'
   13596   ;;
   13597 
   13598 netbsd*)
   13599   version_type=sunos
   13600   need_lib_prefix=no
   13601   need_version=no
   13602   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13603     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13604     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13605     dynamic_linker='NetBSD (a.out) ld.so'
   13606   else
   13607     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13608     soname_spec='${libname}${release}${shared_ext}$major'
   13609     dynamic_linker='NetBSD ld.elf_so'
   13610   fi
   13611   shlibpath_var=LD_LIBRARY_PATH
   13612   shlibpath_overrides_runpath=yes
   13613   hardcode_into_libs=yes
   13614   ;;
   13615 
   13616 newsos6)
   13617   version_type=linux
   13618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13619   shlibpath_var=LD_LIBRARY_PATH
   13620   shlibpath_overrides_runpath=yes
   13621   ;;
   13622 
   13623 nto-qnx*)
   13624   version_type=linux
   13625   need_lib_prefix=no
   13626   need_version=no
   13627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13628   soname_spec='${libname}${release}${shared_ext}$major'
   13629   shlibpath_var=LD_LIBRARY_PATH
   13630   shlibpath_overrides_runpath=yes
   13631   ;;
   13632 
   13633 openbsd*)
   13634   version_type=sunos
   13635   sys_lib_dlsearch_path_spec="/usr/lib"
   13636   need_lib_prefix=no
   13637   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13638   case $host_os in
   13639     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13640     *)                         need_version=no  ;;
   13641   esac
   13642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13643   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13644   shlibpath_var=LD_LIBRARY_PATH
   13645   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13646     case $host_os in
   13647       openbsd2.[89] | openbsd2.[89].*)
   13648 	shlibpath_overrides_runpath=no
   13649 	;;
   13650       *)
   13651 	shlibpath_overrides_runpath=yes
   13652 	;;
   13653       esac
   13654   else
   13655     shlibpath_overrides_runpath=yes
   13656   fi
   13657   ;;
   13658 
   13659 os2*)
   13660   libname_spec='$name'
   13661   shrext_cmds=".dll"
   13662   need_lib_prefix=no
   13663   library_names_spec='$libname${shared_ext} $libname.a'
   13664   dynamic_linker='OS/2 ld.exe'
   13665   shlibpath_var=LIBPATH
   13666   ;;
   13667 
   13668 osf3* | osf4* | osf5*)
   13669   version_type=osf
   13670   need_lib_prefix=no
   13671   need_version=no
   13672   soname_spec='${libname}${release}${shared_ext}$major'
   13673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13674   shlibpath_var=LD_LIBRARY_PATH
   13675   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13676   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13677   ;;
   13678 
   13679 rdos*)
   13680   dynamic_linker=no
   13681   ;;
   13682 
   13683 solaris*)
   13684   version_type=linux
   13685   need_lib_prefix=no
   13686   need_version=no
   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   shlibpath_overrides_runpath=yes
   13691   hardcode_into_libs=yes
   13692   # ldd complains unless libraries are executable
   13693   postinstall_cmds='chmod +x $lib'
   13694   ;;
   13695 
   13696 sunos4*)
   13697   version_type=sunos
   13698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13699   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13700   shlibpath_var=LD_LIBRARY_PATH
   13701   shlibpath_overrides_runpath=yes
   13702   if test "$with_gnu_ld" = yes; then
   13703     need_lib_prefix=no
   13704   fi
   13705   need_version=yes
   13706   ;;
   13707 
   13708 sysv4 | sysv4.3*)
   13709   version_type=linux
   13710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13711   soname_spec='${libname}${release}${shared_ext}$major'
   13712   shlibpath_var=LD_LIBRARY_PATH
   13713   case $host_vendor in
   13714     sni)
   13715       shlibpath_overrides_runpath=no
   13716       need_lib_prefix=no
   13717       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13718       runpath_var=LD_RUN_PATH
   13719       ;;
   13720     siemens)
   13721       need_lib_prefix=no
   13722       ;;
   13723     motorola)
   13724       need_lib_prefix=no
   13725       need_version=no
   13726       shlibpath_overrides_runpath=no
   13727       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13728       ;;
   13729   esac
   13730   ;;
   13731 
   13732 sysv4*MP*)
   13733   if test -d /usr/nec ;then
   13734     version_type=linux
   13735     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13736     soname_spec='$libname${shared_ext}.$major'
   13737     shlibpath_var=LD_LIBRARY_PATH
   13738   fi
   13739   ;;
   13740 
   13741 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13742   version_type=freebsd-elf
   13743   need_lib_prefix=no
   13744   need_version=no
   13745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13746   soname_spec='${libname}${release}${shared_ext}$major'
   13747   shlibpath_var=LD_LIBRARY_PATH
   13748   hardcode_into_libs=yes
   13749   if test "$with_gnu_ld" = yes; then
   13750     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13751     shlibpath_overrides_runpath=no
   13752   else
   13753     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13754     shlibpath_overrides_runpath=yes
   13755     case $host_os in
   13756       sco3.2v5*)
   13757         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13758 	;;
   13759     esac
   13760   fi
   13761   sys_lib_dlsearch_path_spec='/usr/lib'
   13762   ;;
   13763 
   13764 uts4*)
   13765   version_type=linux
   13766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13767   soname_spec='${libname}${release}${shared_ext}$major'
   13768   shlibpath_var=LD_LIBRARY_PATH
   13769   ;;
   13770 
   13771 *)
   13772   dynamic_linker=no
   13773   ;;
   13774 esac
   13775 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13776 $as_echo "$dynamic_linker" >&6; }
   13777 test "$dynamic_linker" = no && can_build_shared=no
   13778 
   13779 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13780   $as_echo_n "(cached) " >&6
   13781 else
   13782   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13783 fi
   13784 
   13785 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13787   $as_echo_n "(cached) " >&6
   13788 else
   13789   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13790 fi
   13791 
   13792 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13793 
   13794 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13795 if test "$GCC" = yes; then
   13796   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13797 fi
   13798 
   13799 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13800 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13801 hardcode_action_CXX=
   13802 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13803    test -n "$runpath_var_CXX" || \
   13804    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13805 
   13806   # We can hardcode non-existant directories.
   13807   if test "$hardcode_direct_CXX" != no &&
   13808      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13809      # have to relink, otherwise we might link with an installed library
   13810      # when we should be linking with a yet-to-be-installed one
   13811      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13812      test "$hardcode_minus_L_CXX" != no; then
   13813     # Linking always hardcodes the temporary library directory.
   13814     hardcode_action_CXX=relink
   13815   else
   13816     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13817     hardcode_action_CXX=immediate
   13818   fi
   13819 else
   13820   # We cannot hardcode anything, or else we can only hardcode existing
   13821   # directories.
   13822   hardcode_action_CXX=unsupported
   13823 fi
   13824 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13825 $as_echo "$hardcode_action_CXX" >&6; }
   13826 
   13827 if test "$hardcode_action_CXX" = relink; then
   13828   # Fast installation is not supported
   13829   enable_fast_install=no
   13830 elif test "$shlibpath_overrides_runpath" = yes ||
   13831      test "$enable_shared" = no; then
   13832   # Fast installation is not necessary
   13833   enable_fast_install=needless
   13834 fi
   13835 
   13836 
   13837 # The else clause should only fire when bootstrapping the
   13838 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13839 # with your package, and you will get complaints that there are
   13840 # no rules to generate ltmain.sh.
   13841 if test -f "$ltmain"; then
   13842   # See if we are running on zsh, and set the options which allow our commands through
   13843   # without removal of \ escapes.
   13844   if test -n "${ZSH_VERSION+set}" ; then
   13845     setopt NO_GLOB_SUBST
   13846   fi
   13847   # Now quote all the things that may contain metacharacters while being
   13848   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13849   # variables and quote the copies for generation of the libtool script.
   13850   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13851     SED SHELL STRIP \
   13852     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13853     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13854     deplibs_check_method reload_flag reload_cmds need_locks \
   13855     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13856     lt_cv_sys_global_symbol_to_c_name_address \
   13857     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13858     old_postinstall_cmds old_postuninstall_cmds \
   13859     compiler_CXX \
   13860     CC_CXX \
   13861     LD_CXX \
   13862     lt_prog_compiler_wl_CXX \
   13863     lt_prog_compiler_pic_CXX \
   13864     lt_prog_compiler_static_CXX \
   13865     lt_prog_compiler_no_builtin_flag_CXX \
   13866     export_dynamic_flag_spec_CXX \
   13867     thread_safe_flag_spec_CXX \
   13868     whole_archive_flag_spec_CXX \
   13869     enable_shared_with_static_runtimes_CXX \
   13870     old_archive_cmds_CXX \
   13871     old_archive_from_new_cmds_CXX \
   13872     predep_objects_CXX \
   13873     postdep_objects_CXX \
   13874     predeps_CXX \
   13875     postdeps_CXX \
   13876     compiler_lib_search_path_CXX \
   13877     compiler_lib_search_dirs_CXX \
   13878     archive_cmds_CXX \
   13879     archive_expsym_cmds_CXX \
   13880     postinstall_cmds_CXX \
   13881     postuninstall_cmds_CXX \
   13882     old_archive_from_expsyms_cmds_CXX \
   13883     allow_undefined_flag_CXX \
   13884     no_undefined_flag_CXX \
   13885     export_symbols_cmds_CXX \
   13886     hardcode_libdir_flag_spec_CXX \
   13887     hardcode_libdir_flag_spec_ld_CXX \
   13888     hardcode_libdir_separator_CXX \
   13889     hardcode_automatic_CXX \
   13890     module_cmds_CXX \
   13891     module_expsym_cmds_CXX \
   13892     lt_cv_prog_compiler_c_o_CXX \
   13893     fix_srcfile_path_CXX \
   13894     exclude_expsyms_CXX \
   13895     include_expsyms_CXX; do
   13896 
   13897     case $var in
   13898     old_archive_cmds_CXX | \
   13899     old_archive_from_new_cmds_CXX | \
   13900     archive_cmds_CXX | \
   13901     archive_expsym_cmds_CXX | \
   13902     module_cmds_CXX | \
   13903     module_expsym_cmds_CXX | \
   13904     old_archive_from_expsyms_cmds_CXX | \
   13905     export_symbols_cmds_CXX | \
   13906     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13907     postinstall_cmds | postuninstall_cmds | \
   13908     old_postinstall_cmds | old_postuninstall_cmds | \
   13909     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13910       # Double-quote double-evaled strings.
   13911       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13912       ;;
   13913     *)
   13914       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13915       ;;
   13916     esac
   13917   done
   13918 
   13919   case $lt_echo in
   13920   *'\$0 --fallback-echo"')
   13921     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13922     ;;
   13923   esac
   13924 
   13925 cfgfile="$ofile"
   13926 
   13927   cat <<__EOF__ >> "$cfgfile"
   13928 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13929 
   13930 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13931 
   13932 # Shell to use when invoking shell scripts.
   13933 SHELL=$lt_SHELL
   13934 
   13935 # Whether or not to build shared libraries.
   13936 build_libtool_libs=$enable_shared
   13937 
   13938 # Whether or not to build static libraries.
   13939 build_old_libs=$enable_static
   13940 
   13941 # Whether or not to add -lc for building shared libraries.
   13942 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13943 
   13944 # Whether or not to disallow shared libs when runtime libs are static
   13945 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13946 
   13947 # Whether or not to optimize for fast installation.
   13948 fast_install=$enable_fast_install
   13949 
   13950 # The host system.
   13951 host_alias=$host_alias
   13952 host=$host
   13953 host_os=$host_os
   13954 
   13955 # The build system.
   13956 build_alias=$build_alias
   13957 build=$build
   13958 build_os=$build_os
   13959 
   13960 # An echo program that does not interpret backslashes.
   13961 echo=$lt_echo
   13962 
   13963 # The archiver.
   13964 AR=$lt_AR
   13965 AR_FLAGS=$lt_AR_FLAGS
   13966 
   13967 # A C compiler.
   13968 LTCC=$lt_LTCC
   13969 
   13970 # LTCC compiler flags.
   13971 LTCFLAGS=$lt_LTCFLAGS
   13972 
   13973 # A language-specific compiler.
   13974 CC=$lt_compiler_CXX
   13975 
   13976 # Is the compiler the GNU C compiler?
   13977 with_gcc=$GCC_CXX
   13978 
   13979 # An ERE matcher.
   13980 EGREP=$lt_EGREP
   13981 
   13982 # The linker used to build libraries.
   13983 LD=$lt_LD_CXX
   13984 
   13985 # Whether we need hard or soft links.
   13986 LN_S=$lt_LN_S
   13987 
   13988 # A BSD-compatible nm program.
   13989 NM=$lt_NM
   13990 
   13991 # A symbol stripping program
   13992 STRIP=$lt_STRIP
   13993 
   13994 # Used to examine libraries when file_magic_cmd begins "file"
   13995 MAGIC_CMD=$MAGIC_CMD
   13996 
   13997 # Used on cygwin: DLL creation program.
   13998 DLLTOOL="$DLLTOOL"
   13999 
   14000 # Used on cygwin: object dumper.
   14001 OBJDUMP="$OBJDUMP"
   14002 
   14003 # Used on cygwin: assembler.
   14004 AS="$AS"
   14005 
   14006 # The name of the directory that contains temporary libtool files.
   14007 objdir=$objdir
   14008 
   14009 # How to create reloadable object files.
   14010 reload_flag=$lt_reload_flag
   14011 reload_cmds=$lt_reload_cmds
   14012 
   14013 # How to pass a linker flag through the compiler.
   14014 wl=$lt_lt_prog_compiler_wl_CXX
   14015 
   14016 # Object file suffix (normally "o").
   14017 objext="$ac_objext"
   14018 
   14019 # Old archive suffix (normally "a").
   14020 libext="$libext"
   14021 
   14022 # Shared library suffix (normally ".so").
   14023 shrext_cmds='$shrext_cmds'
   14024 
   14025 # Executable file suffix (normally "").
   14026 exeext="$exeext"
   14027 
   14028 # Additional compiler flags for building library objects.
   14029 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14030 pic_mode=$pic_mode
   14031 
   14032 # What is the maximum length of a command?
   14033 max_cmd_len=$lt_cv_sys_max_cmd_len
   14034 
   14035 # Does compiler simultaneously support -c and -o options?
   14036 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14037 
   14038 # Must we lock files when doing compilation?
   14039 need_locks=$lt_need_locks
   14040 
   14041 # Do we need the lib prefix for modules?
   14042 need_lib_prefix=$need_lib_prefix
   14043 
   14044 # Do we need a version for libraries?
   14045 need_version=$need_version
   14046 
   14047 # Whether dlopen is supported.
   14048 dlopen_support=$enable_dlopen
   14049 
   14050 # Whether dlopen of programs is supported.
   14051 dlopen_self=$enable_dlopen_self
   14052 
   14053 # Whether dlopen of statically linked programs is supported.
   14054 dlopen_self_static=$enable_dlopen_self_static
   14055 
   14056 # Compiler flag to prevent dynamic linking.
   14057 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14058 
   14059 # Compiler flag to turn off builtin functions.
   14060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14061 
   14062 # Compiler flag to allow reflexive dlopens.
   14063 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14064 
   14065 # Compiler flag to generate shared objects directly from archives.
   14066 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14067 
   14068 # Compiler flag to generate thread-safe objects.
   14069 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14070 
   14071 # Library versioning type.
   14072 version_type=$version_type
   14073 
   14074 # Format of library name prefix.
   14075 libname_spec=$lt_libname_spec
   14076 
   14077 # List of archive names.  First name is the real one, the rest are links.
   14078 # The last name is the one that the linker finds with -lNAME.
   14079 library_names_spec=$lt_library_names_spec
   14080 
   14081 # The coded name of the library, if different from the real name.
   14082 soname_spec=$lt_soname_spec
   14083 
   14084 # Commands used to build and install an old-style archive.
   14085 RANLIB=$lt_RANLIB
   14086 old_archive_cmds=$lt_old_archive_cmds_CXX
   14087 old_postinstall_cmds=$lt_old_postinstall_cmds
   14088 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14089 
   14090 # Create an old-style archive from a shared archive.
   14091 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14092 
   14093 # Create a temporary old-style archive to link instead of a shared archive.
   14094 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14095 
   14096 # Commands used to build and install a shared archive.
   14097 archive_cmds=$lt_archive_cmds_CXX
   14098 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14099 postinstall_cmds=$lt_postinstall_cmds
   14100 postuninstall_cmds=$lt_postuninstall_cmds
   14101 
   14102 # Commands used to build a loadable module (assumed same as above if empty)
   14103 module_cmds=$lt_module_cmds_CXX
   14104 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14105 
   14106 # Commands to strip libraries.
   14107 old_striplib=$lt_old_striplib
   14108 striplib=$lt_striplib
   14109 
   14110 # Dependencies to place before the objects being linked to create a
   14111 # shared library.
   14112 predep_objects=$lt_predep_objects_CXX
   14113 
   14114 # Dependencies to place after the objects being linked to create a
   14115 # shared library.
   14116 postdep_objects=$lt_postdep_objects_CXX
   14117 
   14118 # Dependencies to place before the objects being linked to create a
   14119 # shared library.
   14120 predeps=$lt_predeps_CXX
   14121 
   14122 # Dependencies to place after the objects being linked to create a
   14123 # shared library.
   14124 postdeps=$lt_postdeps_CXX
   14125 
   14126 # The directories searched by this compiler when creating a shared
   14127 # library
   14128 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14129 
   14130 # The library search path used internally by the compiler when linking
   14131 # a shared library.
   14132 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14133 
   14134 # Method to check whether dependent libraries are shared objects.
   14135 deplibs_check_method=$lt_deplibs_check_method
   14136 
   14137 # Command to use when deplibs_check_method == file_magic.
   14138 file_magic_cmd=$lt_file_magic_cmd
   14139 
   14140 # Flag that allows shared libraries with undefined symbols to be built.
   14141 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14142 
   14143 # Flag that forces no undefined symbols.
   14144 no_undefined_flag=$lt_no_undefined_flag_CXX
   14145 
   14146 # Commands used to finish a libtool library installation in a directory.
   14147 finish_cmds=$lt_finish_cmds
   14148 
   14149 # Same as above, but a single script fragment to be evaled but not shown.
   14150 finish_eval=$lt_finish_eval
   14151 
   14152 # Take the output of nm and produce a listing of raw symbols and C names.
   14153 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14154 
   14155 # Transform the output of nm in a proper C declaration
   14156 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14157 
   14158 # Transform the output of nm in a C name address pair
   14159 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14160 
   14161 # This is the shared library runtime path variable.
   14162 runpath_var=$runpath_var
   14163 
   14164 # This is the shared library path variable.
   14165 shlibpath_var=$shlibpath_var
   14166 
   14167 # Is shlibpath searched before the hard-coded library search path?
   14168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14169 
   14170 # How to hardcode a shared library path into an executable.
   14171 hardcode_action=$hardcode_action_CXX
   14172 
   14173 # Whether we should hardcode library paths into libraries.
   14174 hardcode_into_libs=$hardcode_into_libs
   14175 
   14176 # Flag to hardcode \$libdir into a binary during linking.
   14177 # This must work even if \$libdir does not exist.
   14178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14179 
   14180 # If ld is used when linking, flag to hardcode \$libdir into
   14181 # a binary during linking. This must work even if \$libdir does
   14182 # not exist.
   14183 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14184 
   14185 # Whether we need a single -rpath flag with a separated argument.
   14186 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14187 
   14188 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14189 # resulting binary.
   14190 hardcode_direct=$hardcode_direct_CXX
   14191 
   14192 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14193 # resulting binary.
   14194 hardcode_minus_L=$hardcode_minus_L_CXX
   14195 
   14196 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14197 # the resulting binary.
   14198 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14199 
   14200 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14201 # and all subsequent libraries and executables linked against it.
   14202 hardcode_automatic=$hardcode_automatic_CXX
   14203 
   14204 # Variables whose values should be saved in libtool wrapper scripts and
   14205 # restored at relink time.
   14206 variables_saved_for_relink="$variables_saved_for_relink"
   14207 
   14208 # Whether libtool must link a program against all its dependency libraries.
   14209 link_all_deplibs=$link_all_deplibs_CXX
   14210 
   14211 # Compile-time system search path for libraries
   14212 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14213 
   14214 # Run-time system search path for libraries
   14215 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14216 
   14217 # Fix the shell variable \$srcfile for the compiler.
   14218 fix_srcfile_path=$lt_fix_srcfile_path
   14219 
   14220 # Set to yes if exported symbols are required.
   14221 always_export_symbols=$always_export_symbols_CXX
   14222 
   14223 # The commands to list exported symbols.
   14224 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14225 
   14226 # The commands to extract the exported symbol list from a shared archive.
   14227 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14228 
   14229 # Symbols that should not be listed in the preloaded symbols.
   14230 exclude_expsyms=$lt_exclude_expsyms_CXX
   14231 
   14232 # Symbols that must always be exported.
   14233 include_expsyms=$lt_include_expsyms_CXX
   14234 
   14235 # ### END LIBTOOL TAG CONFIG: $tagname
   14236 
   14237 __EOF__
   14238 
   14239 
   14240 else
   14241   # If there is no Makefile yet, we rely on a make rule to execute
   14242   # `config.status --recheck' to rerun these tests and create the
   14243   # libtool script then.
   14244   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14245   if test -f "$ltmain_in"; then
   14246     test -f Makefile && make "$ltmain"
   14247   fi
   14248 fi
   14249 
   14250 
   14251 ac_ext=c
   14252 ac_cpp='$CPP $CPPFLAGS'
   14253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14256 
   14257 CC=$lt_save_CC
   14258 LDCXX=$LD
   14259 LD=$lt_save_LD
   14260 GCC=$lt_save_GCC
   14261 with_gnu_ldcxx=$with_gnu_ld
   14262 with_gnu_ld=$lt_save_with_gnu_ld
   14263 lt_cv_path_LDCXX=$lt_cv_path_LD
   14264 lt_cv_path_LD=$lt_save_path_LD
   14265 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14266 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14267 
   14268 	else
   14269 	  tagname=""
   14270 	fi
   14271 	;;
   14272 
   14273       F77)
   14274 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14275 
   14276 ac_ext=f
   14277 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14278 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14279 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14280 
   14281 
   14282 archive_cmds_need_lc_F77=no
   14283 allow_undefined_flag_F77=
   14284 always_export_symbols_F77=no
   14285 archive_expsym_cmds_F77=
   14286 export_dynamic_flag_spec_F77=
   14287 hardcode_direct_F77=no
   14288 hardcode_libdir_flag_spec_F77=
   14289 hardcode_libdir_flag_spec_ld_F77=
   14290 hardcode_libdir_separator_F77=
   14291 hardcode_minus_L_F77=no
   14292 hardcode_automatic_F77=no
   14293 module_cmds_F77=
   14294 module_expsym_cmds_F77=
   14295 link_all_deplibs_F77=unknown
   14296 old_archive_cmds_F77=$old_archive_cmds
   14297 no_undefined_flag_F77=
   14298 whole_archive_flag_spec_F77=
   14299 enable_shared_with_static_runtimes_F77=no
   14300 
   14301 # Source file extension for f77 test sources.
   14302 ac_ext=f
   14303 
   14304 # Object file extension for compiled f77 test sources.
   14305 objext=o
   14306 objext_F77=$objext
   14307 
   14308 # Code to be used in simple compile tests
   14309 lt_simple_compile_test_code="\
   14310       subroutine t
   14311       return
   14312       end
   14313 "
   14314 
   14315 # Code to be used in simple link tests
   14316 lt_simple_link_test_code="\
   14317       program t
   14318       end
   14319 "
   14320 
   14321 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14322 
   14323 # If no C compiler was specified, use CC.
   14324 LTCC=${LTCC-"$CC"}
   14325 
   14326 # If no C compiler flags were specified, use CFLAGS.
   14327 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14328 
   14329 # Allow CC to be a program name with arguments.
   14330 compiler=$CC
   14331 
   14332 
   14333 # save warnings/boilerplate of simple test code
   14334 ac_outfile=conftest.$ac_objext
   14335 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14336 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14337 _lt_compiler_boilerplate=`cat conftest.err`
   14338 $rm conftest*
   14339 
   14340 ac_outfile=conftest.$ac_objext
   14341 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14342 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14343 _lt_linker_boilerplate=`cat conftest.err`
   14344 $rm -r conftest*
   14345 
   14346 
   14347 # Allow CC to be a program name with arguments.
   14348 lt_save_CC="$CC"
   14349 CC=${F77-"f77"}
   14350 compiler=$CC
   14351 compiler_F77=$CC
   14352 for cc_temp in $compiler""; do
   14353   case $cc_temp in
   14354     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14355     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14356     \-*) ;;
   14357     *) break;;
   14358   esac
   14359 done
   14360 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14361 
   14362 
   14363 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14364 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14365 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14366 $as_echo "$can_build_shared" >&6; }
   14367 
   14368 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14369 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14370 test "$can_build_shared" = "no" && enable_shared=no
   14371 
   14372 # On AIX, shared libraries and static libraries use the same namespace, and
   14373 # are all built from PIC.
   14374 case $host_os in
   14375 aix3*)
   14376   test "$enable_shared" = yes && enable_static=no
   14377   if test -n "$RANLIB"; then
   14378     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14379     postinstall_cmds='$RANLIB $lib'
   14380   fi
   14381   ;;
   14382 aix[4-9]*)
   14383   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14384     test "$enable_shared" = yes && enable_static=no
   14385   fi
   14386   ;;
   14387 esac
   14388 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14389 $as_echo "$enable_shared" >&6; }
   14390 
   14391 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14392 $as_echo_n "checking whether to build static libraries... " >&6; }
   14393 # Make sure either enable_shared or enable_static is yes.
   14394 test "$enable_shared" = yes || enable_static=yes
   14395 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14396 $as_echo "$enable_static" >&6; }
   14397 
   14398 GCC_F77="$G77"
   14399 LD_F77="$LD"
   14400 
   14401 lt_prog_compiler_wl_F77=
   14402 lt_prog_compiler_pic_F77=
   14403 lt_prog_compiler_static_F77=
   14404 
   14405 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14406 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14407 
   14408   if test "$GCC" = yes; then
   14409     lt_prog_compiler_wl_F77='-Wl,'
   14410     lt_prog_compiler_static_F77='-static'
   14411 
   14412     case $host_os in
   14413       aix*)
   14414       # All AIX code is PIC.
   14415       if test "$host_cpu" = ia64; then
   14416 	# AIX 5 now supports IA64 processor
   14417 	lt_prog_compiler_static_F77='-Bstatic'
   14418       fi
   14419       ;;
   14420 
   14421     amigaos*)
   14422       # FIXME: we need at least 68020 code to build shared libraries, but
   14423       # adding the `-m68020' flag to GCC prevents building anything better,
   14424       # like `-m68040'.
   14425       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14426       ;;
   14427 
   14428     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14429       # PIC is the default for these OSes.
   14430       ;;
   14431 
   14432     mingw* | cygwin* | pw32* | os2*)
   14433       # This hack is so that the source file can tell whether it is being
   14434       # built for inclusion in a dll (and should export symbols for example).
   14435       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14436       # (--disable-auto-import) libraries
   14437       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14438       ;;
   14439 
   14440     darwin* | rhapsody*)
   14441       # PIC is the default on this platform
   14442       # Common symbols not allowed in MH_DYLIB files
   14443       lt_prog_compiler_pic_F77='-fno-common'
   14444       ;;
   14445 
   14446     interix[3-9]*)
   14447       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14448       # Instead, we relocate shared libraries at runtime.
   14449       ;;
   14450 
   14451     msdosdjgpp*)
   14452       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14453       # on systems that don't support them.
   14454       lt_prog_compiler_can_build_shared_F77=no
   14455       enable_shared=no
   14456       ;;
   14457 
   14458     sysv4*MP*)
   14459       if test -d /usr/nec; then
   14460 	lt_prog_compiler_pic_F77=-Kconform_pic
   14461       fi
   14462       ;;
   14463 
   14464     hpux*)
   14465       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14466       # not for PA HP-UX.
   14467       case $host_cpu in
   14468       hppa*64*|ia64*)
   14469 	# +Z the default
   14470 	;;
   14471       *)
   14472 	lt_prog_compiler_pic_F77='-fPIC'
   14473 	;;
   14474       esac
   14475       ;;
   14476 
   14477     *)
   14478       lt_prog_compiler_pic_F77='-fPIC'
   14479       ;;
   14480     esac
   14481   else
   14482     # PORTME Check for flag to pass linker flags through the system compiler.
   14483     case $host_os in
   14484     aix*)
   14485       lt_prog_compiler_wl_F77='-Wl,'
   14486       if test "$host_cpu" = ia64; then
   14487 	# AIX 5 now supports IA64 processor
   14488 	lt_prog_compiler_static_F77='-Bstatic'
   14489       else
   14490 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14491       fi
   14492       ;;
   14493       darwin*)
   14494         # PIC is the default on this platform
   14495         # Common symbols not allowed in MH_DYLIB files
   14496        case $cc_basename in
   14497          xlc*)
   14498          lt_prog_compiler_pic_F77='-qnocommon'
   14499          lt_prog_compiler_wl_F77='-Wl,'
   14500          ;;
   14501        esac
   14502        ;;
   14503 
   14504     mingw* | cygwin* | pw32* | os2*)
   14505       # This hack is so that the source file can tell whether it is being
   14506       # built for inclusion in a dll (and should export symbols for example).
   14507       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14508       ;;
   14509 
   14510     hpux9* | hpux10* | hpux11*)
   14511       lt_prog_compiler_wl_F77='-Wl,'
   14512       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14513       # not for PA HP-UX.
   14514       case $host_cpu in
   14515       hppa*64*|ia64*)
   14516 	# +Z the default
   14517 	;;
   14518       *)
   14519 	lt_prog_compiler_pic_F77='+Z'
   14520 	;;
   14521       esac
   14522       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14523       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14524       ;;
   14525 
   14526     irix5* | irix6* | nonstopux*)
   14527       lt_prog_compiler_wl_F77='-Wl,'
   14528       # PIC (with -KPIC) is the default.
   14529       lt_prog_compiler_static_F77='-non_shared'
   14530       ;;
   14531 
   14532     newsos6)
   14533       lt_prog_compiler_pic_F77='-KPIC'
   14534       lt_prog_compiler_static_F77='-Bstatic'
   14535       ;;
   14536 
   14537     linux* | k*bsd*-gnu)
   14538       case $cc_basename in
   14539       icc* | ecc*)
   14540 	lt_prog_compiler_wl_F77='-Wl,'
   14541 	lt_prog_compiler_pic_F77='-KPIC'
   14542 	lt_prog_compiler_static_F77='-static'
   14543         ;;
   14544       pgcc* | pgf77* | pgf90* | pgf95*)
   14545         # Portland Group compilers (*not* the Pentium gcc compiler,
   14546 	# which looks to be a dead project)
   14547 	lt_prog_compiler_wl_F77='-Wl,'
   14548 	lt_prog_compiler_pic_F77='-fpic'
   14549 	lt_prog_compiler_static_F77='-Bstatic'
   14550         ;;
   14551       ccc*)
   14552         lt_prog_compiler_wl_F77='-Wl,'
   14553         # All Alpha code is PIC.
   14554         lt_prog_compiler_static_F77='-non_shared'
   14555         ;;
   14556       *)
   14557         case `$CC -V 2>&1 | sed 5q` in
   14558 	*Sun\ C*)
   14559 	  # Sun C 5.9
   14560 	  lt_prog_compiler_pic_F77='-KPIC'
   14561 	  lt_prog_compiler_static_F77='-Bstatic'
   14562 	  lt_prog_compiler_wl_F77='-Wl,'
   14563 	  ;;
   14564 	*Sun\ F*)
   14565 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14566 	  lt_prog_compiler_pic_F77='-KPIC'
   14567 	  lt_prog_compiler_static_F77='-Bstatic'
   14568 	  lt_prog_compiler_wl_F77=''
   14569 	  ;;
   14570 	esac
   14571 	;;
   14572       esac
   14573       ;;
   14574 
   14575     osf3* | osf4* | osf5*)
   14576       lt_prog_compiler_wl_F77='-Wl,'
   14577       # All OSF/1 code is PIC.
   14578       lt_prog_compiler_static_F77='-non_shared'
   14579       ;;
   14580 
   14581     rdos*)
   14582       lt_prog_compiler_static_F77='-non_shared'
   14583       ;;
   14584 
   14585     solaris*)
   14586       lt_prog_compiler_pic_F77='-KPIC'
   14587       lt_prog_compiler_static_F77='-Bstatic'
   14588       case $cc_basename in
   14589       f77* | f90* | f95*)
   14590 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14591       *)
   14592 	lt_prog_compiler_wl_F77='-Wl,';;
   14593       esac
   14594       ;;
   14595 
   14596     sunos4*)
   14597       lt_prog_compiler_wl_F77='-Qoption ld '
   14598       lt_prog_compiler_pic_F77='-PIC'
   14599       lt_prog_compiler_static_F77='-Bstatic'
   14600       ;;
   14601 
   14602     sysv4 | sysv4.2uw2* | sysv4.3*)
   14603       lt_prog_compiler_wl_F77='-Wl,'
   14604       lt_prog_compiler_pic_F77='-KPIC'
   14605       lt_prog_compiler_static_F77='-Bstatic'
   14606       ;;
   14607 
   14608     sysv4*MP*)
   14609       if test -d /usr/nec ;then
   14610 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14611 	lt_prog_compiler_static_F77='-Bstatic'
   14612       fi
   14613       ;;
   14614 
   14615     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14616       lt_prog_compiler_wl_F77='-Wl,'
   14617       lt_prog_compiler_pic_F77='-KPIC'
   14618       lt_prog_compiler_static_F77='-Bstatic'
   14619       ;;
   14620 
   14621     unicos*)
   14622       lt_prog_compiler_wl_F77='-Wl,'
   14623       lt_prog_compiler_can_build_shared_F77=no
   14624       ;;
   14625 
   14626     uts4*)
   14627       lt_prog_compiler_pic_F77='-pic'
   14628       lt_prog_compiler_static_F77='-Bstatic'
   14629       ;;
   14630 
   14631     *)
   14632       lt_prog_compiler_can_build_shared_F77=no
   14633       ;;
   14634     esac
   14635   fi
   14636 
   14637 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14638 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14639 
   14640 #
   14641 # Check to make sure the PIC flag actually works.
   14642 #
   14643 if test -n "$lt_prog_compiler_pic_F77"; then
   14644 
   14645 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14647 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14648   $as_echo_n "(cached) " >&6
   14649 else
   14650   lt_cv_prog_compiler_pic_works_F77=no
   14651   ac_outfile=conftest.$ac_objext
   14652    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14653    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14654    # Insert the option either (1) after the last *FLAGS variable, or
   14655    # (2) before a word containing "conftest.", or (3) at the end.
   14656    # Note that $ac_compile itself does not contain backslashes and begins
   14657    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14658    # The option is referenced via a variable to avoid confusing sed.
   14659    lt_compile=`echo "$ac_compile" | $SED \
   14660    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14661    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14662    -e 's:$: $lt_compiler_flag:'`
   14663    (eval echo "\"\$as_me:14663: $lt_compile\"" >&5)
   14664    (eval "$lt_compile" 2>conftest.err)
   14665    ac_status=$?
   14666    cat conftest.err >&5
   14667    echo "$as_me:14667: \$? = $ac_status" >&5
   14668    if (exit $ac_status) && test -s "$ac_outfile"; then
   14669      # The compiler can only warn and ignore the option if not recognized
   14670      # So say no if there are warnings other than the usual output.
   14671      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14672      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14673      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14674        lt_cv_prog_compiler_pic_works_F77=yes
   14675      fi
   14676    fi
   14677    $rm conftest*
   14678 
   14679 fi
   14680 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14681 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14682 
   14683 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14684     case $lt_prog_compiler_pic_F77 in
   14685      "" | " "*) ;;
   14686      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14687      esac
   14688 else
   14689     lt_prog_compiler_pic_F77=
   14690      lt_prog_compiler_can_build_shared_F77=no
   14691 fi
   14692 
   14693 fi
   14694 case $host_os in
   14695   # For platforms which do not support PIC, -DPIC is meaningless:
   14696   *djgpp*)
   14697     lt_prog_compiler_pic_F77=
   14698     ;;
   14699   *)
   14700     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14701     ;;
   14702 esac
   14703 
   14704 #
   14705 # Check to make sure the static flag actually works.
   14706 #
   14707 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14708 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14709 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14710 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14711   $as_echo_n "(cached) " >&6
   14712 else
   14713   lt_cv_prog_compiler_static_works_F77=no
   14714    save_LDFLAGS="$LDFLAGS"
   14715    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14716    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14717    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14718      # The linker can only warn and ignore the option if not recognized
   14719      # So say no if there are warnings
   14720      if test -s conftest.err; then
   14721        # Append any errors to the config.log.
   14722        cat conftest.err 1>&5
   14723        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14724        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14725        if diff conftest.exp conftest.er2 >/dev/null; then
   14726          lt_cv_prog_compiler_static_works_F77=yes
   14727        fi
   14728      else
   14729        lt_cv_prog_compiler_static_works_F77=yes
   14730      fi
   14731    fi
   14732    $rm -r conftest*
   14733    LDFLAGS="$save_LDFLAGS"
   14734 
   14735 fi
   14736 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14737 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14738 
   14739 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14740     :
   14741 else
   14742     lt_prog_compiler_static_F77=
   14743 fi
   14744 
   14745 
   14746 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14747 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14748 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14749   $as_echo_n "(cached) " >&6
   14750 else
   14751   lt_cv_prog_compiler_c_o_F77=no
   14752    $rm -r conftest 2>/dev/null
   14753    mkdir conftest
   14754    cd conftest
   14755    mkdir out
   14756    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14757 
   14758    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14759    # Insert the option either (1) after the last *FLAGS variable, or
   14760    # (2) before a word containing "conftest.", or (3) at the end.
   14761    # Note that $ac_compile itself does not contain backslashes and begins
   14762    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14763    lt_compile=`echo "$ac_compile" | $SED \
   14764    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14765    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14766    -e 's:$: $lt_compiler_flag:'`
   14767    (eval echo "\"\$as_me:14767: $lt_compile\"" >&5)
   14768    (eval "$lt_compile" 2>out/conftest.err)
   14769    ac_status=$?
   14770    cat out/conftest.err >&5
   14771    echo "$as_me:14771: \$? = $ac_status" >&5
   14772    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14773    then
   14774      # The compiler can only warn and ignore the option if not recognized
   14775      # So say no if there are warnings
   14776      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14777      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14778      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14779        lt_cv_prog_compiler_c_o_F77=yes
   14780      fi
   14781    fi
   14782    chmod u+w . 2>&5
   14783    $rm conftest*
   14784    # SGI C++ compiler will create directory out/ii_files/ for
   14785    # template instantiation
   14786    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14787    $rm out/* && rmdir out
   14788    cd ..
   14789    rmdir conftest
   14790    $rm conftest*
   14791 
   14792 fi
   14793 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14794 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14795 
   14796 
   14797 hard_links="nottested"
   14798 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14799   # do not overwrite the value of need_locks provided by the user
   14800   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14801 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14802   hard_links=yes
   14803   $rm conftest*
   14804   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14805   touch conftest.a
   14806   ln conftest.a conftest.b 2>&5 || hard_links=no
   14807   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14808   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14809 $as_echo "$hard_links" >&6; }
   14810   if test "$hard_links" = no; then
   14811     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14812 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14813     need_locks=warn
   14814   fi
   14815 else
   14816   need_locks=no
   14817 fi
   14818 
   14819 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14820 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14821 
   14822   runpath_var=
   14823   allow_undefined_flag_F77=
   14824   enable_shared_with_static_runtimes_F77=no
   14825   archive_cmds_F77=
   14826   archive_expsym_cmds_F77=
   14827   old_archive_From_new_cmds_F77=
   14828   old_archive_from_expsyms_cmds_F77=
   14829   export_dynamic_flag_spec_F77=
   14830   whole_archive_flag_spec_F77=
   14831   thread_safe_flag_spec_F77=
   14832   hardcode_libdir_flag_spec_F77=
   14833   hardcode_libdir_flag_spec_ld_F77=
   14834   hardcode_libdir_separator_F77=
   14835   hardcode_direct_F77=no
   14836   hardcode_minus_L_F77=no
   14837   hardcode_shlibpath_var_F77=unsupported
   14838   link_all_deplibs_F77=unknown
   14839   hardcode_automatic_F77=no
   14840   module_cmds_F77=
   14841   module_expsym_cmds_F77=
   14842   always_export_symbols_F77=no
   14843   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14844   # include_expsyms should be a list of space-separated symbols to be *always*
   14845   # included in the symbol list
   14846   include_expsyms_F77=
   14847   # exclude_expsyms can be an extended regexp of symbols to exclude
   14848   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14849   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14850   # as well as any symbol that contains `d'.
   14851   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14852   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14853   # platforms (ab)use it in PIC code, but their linkers get confused if
   14854   # the symbol is explicitly referenced.  Since portable code cannot
   14855   # rely on this symbol name, it's probably fine to never include it in
   14856   # preloaded symbol tables.
   14857   # Exclude shared library initialization/finalization symbols.
   14858   extract_expsyms_cmds=
   14859   # Just being paranoid about ensuring that cc_basename is set.
   14860   for cc_temp in $compiler""; do
   14861   case $cc_temp in
   14862     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14863     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14864     \-*) ;;
   14865     *) break;;
   14866   esac
   14867 done
   14868 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14869 
   14870   case $host_os in
   14871   cygwin* | mingw* | pw32*)
   14872     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14873     # When not using gcc, we currently assume that we are using
   14874     # Microsoft Visual C++.
   14875     if test "$GCC" != yes; then
   14876       with_gnu_ld=no
   14877     fi
   14878     ;;
   14879   interix*)
   14880     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14881     with_gnu_ld=yes
   14882     ;;
   14883   openbsd*)
   14884     with_gnu_ld=no
   14885     ;;
   14886   esac
   14887 
   14888   ld_shlibs_F77=yes
   14889   if test "$with_gnu_ld" = yes; then
   14890     # If archive_cmds runs LD, not CC, wlarc should be empty
   14891     wlarc='${wl}'
   14892 
   14893     # Set some defaults for GNU ld with shared library support. These
   14894     # are reset later if shared libraries are not supported. Putting them
   14895     # here allows them to be overridden if necessary.
   14896     runpath_var=LD_RUN_PATH
   14897     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14898     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14899     # ancient GNU ld didn't support --whole-archive et. al.
   14900     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14901 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14902       else
   14903   	whole_archive_flag_spec_F77=
   14904     fi
   14905     supports_anon_versioning=no
   14906     case `$LD -v 2>/dev/null` in
   14907       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14908       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14909       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14910       *\ 2.11.*) ;; # other 2.11 versions
   14911       *) supports_anon_versioning=yes ;;
   14912     esac
   14913 
   14914     # See if GNU ld supports shared libraries.
   14915     case $host_os in
   14916     aix[3-9]*)
   14917       # On AIX/PPC, the GNU linker is very broken
   14918       if test "$host_cpu" != ia64; then
   14919 	ld_shlibs_F77=no
   14920 	cat <<EOF 1>&2
   14921 
   14922 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14923 *** to be unable to reliably create shared libraries on AIX.
   14924 *** Therefore, libtool is disabling shared libraries support.  If you
   14925 *** really care for shared libraries, you may want to modify your PATH
   14926 *** so that a non-GNU linker is found, and then restart.
   14927 
   14928 EOF
   14929       fi
   14930       ;;
   14931 
   14932     amigaos*)
   14933       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)'
   14934       hardcode_libdir_flag_spec_F77='-L$libdir'
   14935       hardcode_minus_L_F77=yes
   14936 
   14937       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14938       # that the semantics of dynamic libraries on AmigaOS, at least up
   14939       # to version 4, is to share data among multiple programs linked
   14940       # with the same dynamic library.  Since this doesn't match the
   14941       # behavior of shared libraries on other platforms, we can't use
   14942       # them.
   14943       ld_shlibs_F77=no
   14944       ;;
   14945 
   14946     beos*)
   14947       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14948 	allow_undefined_flag_F77=unsupported
   14949 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14950 	# support --undefined.  This deserves some investigation.  FIXME
   14951 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14952       else
   14953 	ld_shlibs_F77=no
   14954       fi
   14955       ;;
   14956 
   14957     cygwin* | mingw* | pw32*)
   14958       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14959       # as there is no search path for DLLs.
   14960       hardcode_libdir_flag_spec_F77='-L$libdir'
   14961       allow_undefined_flag_F77=unsupported
   14962       always_export_symbols_F77=no
   14963       enable_shared_with_static_runtimes_F77=yes
   14964       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14965 
   14966       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14967         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14968 	# If the export-symbols file already is a .def file (1st line
   14969 	# is EXPORTS), use it as is; otherwise, prepend...
   14970 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14971 	  cp $export_symbols $output_objdir/$soname.def;
   14972 	else
   14973 	  echo EXPORTS > $output_objdir/$soname.def;
   14974 	  cat $export_symbols >> $output_objdir/$soname.def;
   14975 	fi~
   14976 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14977       else
   14978 	ld_shlibs_F77=no
   14979       fi
   14980       ;;
   14981 
   14982     interix[3-9]*)
   14983       hardcode_direct_F77=no
   14984       hardcode_shlibpath_var_F77=no
   14985       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14986       export_dynamic_flag_spec_F77='${wl}-E'
   14987       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14988       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14989       # default) and relocated if they conflict, which is a slow very memory
   14990       # consuming and fragmenting process.  To avoid this, we pick a random,
   14991       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14992       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14993       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'
   14994       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'
   14995       ;;
   14996 
   14997     gnu* | linux* | k*bsd*-gnu)
   14998       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14999 	tmp_addflag=
   15000 	case $cc_basename,$host_cpu in
   15001 	pgcc*)				# Portland Group C compiler
   15002 	  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'
   15003 	  tmp_addflag=' $pic_flag'
   15004 	  ;;
   15005 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15006 	  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'
   15007 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15008 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15009 	  tmp_addflag=' -i_dynamic' ;;
   15010 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15011 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15012 	ifc* | ifort*)			# Intel Fortran compiler
   15013 	  tmp_addflag=' -nofor_main' ;;
   15014 	esac
   15015 	case `$CC -V 2>&1 | sed 5q` in
   15016 	*Sun\ C*)			# Sun C 5.9
   15017 	  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'
   15018 	  tmp_sharedflag='-G' ;;
   15019 	*Sun\ F*)			# Sun Fortran 8.3
   15020 	  tmp_sharedflag='-G' ;;
   15021 	*)
   15022 	  tmp_sharedflag='-shared' ;;
   15023 	esac
   15024 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15025 
   15026 	if test $supports_anon_versioning = yes; then
   15027 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15028   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15029   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15030 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15031 	fi
   15032       else
   15033 	ld_shlibs_F77=no
   15034       fi
   15035       ;;
   15036 
   15037     netbsd*)
   15038       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15039 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15040 	wlarc=
   15041       else
   15042 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15043 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15044       fi
   15045       ;;
   15046 
   15047     solaris*)
   15048       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15049 	ld_shlibs_F77=no
   15050 	cat <<EOF 1>&2
   15051 
   15052 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15053 *** create shared libraries on Solaris systems.  Therefore, libtool
   15054 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15055 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15056 *** your PATH or compiler configuration so that the native linker is
   15057 *** used, and then restart.
   15058 
   15059 EOF
   15060       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15061 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15062 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15063       else
   15064 	ld_shlibs_F77=no
   15065       fi
   15066       ;;
   15067 
   15068     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15069       case `$LD -v 2>&1` in
   15070         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15071 	ld_shlibs_F77=no
   15072 	cat <<_LT_EOF 1>&2
   15073 
   15074 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15075 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15076 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15077 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15078 *** your PATH or compiler configuration so that the native linker is
   15079 *** used, and then restart.
   15080 
   15081 _LT_EOF
   15082 	;;
   15083 	*)
   15084 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15085 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15086 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15087 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15088 	  else
   15089 	    ld_shlibs_F77=no
   15090 	  fi
   15091 	;;
   15092       esac
   15093       ;;
   15094 
   15095     sunos4*)
   15096       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15097       wlarc=
   15098       hardcode_direct_F77=yes
   15099       hardcode_shlibpath_var_F77=no
   15100       ;;
   15101 
   15102     *)
   15103       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15104 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15105 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15106       else
   15107 	ld_shlibs_F77=no
   15108       fi
   15109       ;;
   15110     esac
   15111 
   15112     if test "$ld_shlibs_F77" = no; then
   15113       runpath_var=
   15114       hardcode_libdir_flag_spec_F77=
   15115       export_dynamic_flag_spec_F77=
   15116       whole_archive_flag_spec_F77=
   15117     fi
   15118   else
   15119     # PORTME fill in a description of your system's linker (not GNU ld)
   15120     case $host_os in
   15121     aix3*)
   15122       allow_undefined_flag_F77=unsupported
   15123       always_export_symbols_F77=yes
   15124       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'
   15125       # Note: this linker hardcodes the directories in LIBPATH if there
   15126       # are no directories specified by -L.
   15127       hardcode_minus_L_F77=yes
   15128       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15129 	# Neither direct hardcoding nor static linking is supported with a
   15130 	# broken collect2.
   15131 	hardcode_direct_F77=unsupported
   15132       fi
   15133       ;;
   15134 
   15135     aix[4-9]*)
   15136       if test "$host_cpu" = ia64; then
   15137 	# On IA64, the linker does run time linking by default, so we don't
   15138 	# have to do anything special.
   15139 	aix_use_runtimelinking=no
   15140 	exp_sym_flag='-Bexport'
   15141 	no_entry_flag=""
   15142       else
   15143 	# If we're using GNU nm, then we don't want the "-C" option.
   15144 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15145 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15146 	  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'
   15147 	else
   15148 	  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'
   15149 	fi
   15150 	aix_use_runtimelinking=no
   15151 
   15152 	# Test if we are trying to use run time linking or normal
   15153 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15154 	# need to do runtime linking.
   15155 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15156 	  for ld_flag in $LDFLAGS; do
   15157   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15158   	    aix_use_runtimelinking=yes
   15159   	    break
   15160   	  fi
   15161 	  done
   15162 	  ;;
   15163 	esac
   15164 
   15165 	exp_sym_flag='-bexport'
   15166 	no_entry_flag='-bnoentry'
   15167       fi
   15168 
   15169       # When large executables or shared objects are built, AIX ld can
   15170       # have problems creating the table of contents.  If linking a library
   15171       # or program results in "error TOC overflow" add -mminimal-toc to
   15172       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15173       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15174 
   15175       archive_cmds_F77=''
   15176       hardcode_direct_F77=yes
   15177       hardcode_libdir_separator_F77=':'
   15178       link_all_deplibs_F77=yes
   15179 
   15180       if test "$GCC" = yes; then
   15181 	case $host_os in aix4.[012]|aix4.[012].*)
   15182 	# We only want to do this on AIX 4.2 and lower, the check
   15183 	# below for broken collect2 doesn't work under 4.3+
   15184 	  collect2name=`${CC} -print-prog-name=collect2`
   15185 	  if test -f "$collect2name" && \
   15186   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15187 	  then
   15188   	  # We have reworked collect2
   15189   	  :
   15190 	  else
   15191   	  # We have old collect2
   15192   	  hardcode_direct_F77=unsupported
   15193   	  # It fails to find uninstalled libraries when the uninstalled
   15194   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15195   	  # to unsupported forces relinking
   15196   	  hardcode_minus_L_F77=yes
   15197   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15198   	  hardcode_libdir_separator_F77=
   15199 	  fi
   15200 	  ;;
   15201 	esac
   15202 	shared_flag='-shared'
   15203 	if test "$aix_use_runtimelinking" = yes; then
   15204 	  shared_flag="$shared_flag "'${wl}-G'
   15205 	fi
   15206       else
   15207 	# not using gcc
   15208 	if test "$host_cpu" = ia64; then
   15209   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15210   	# chokes on -Wl,-G. The following line is correct:
   15211 	  shared_flag='-G'
   15212 	else
   15213 	  if test "$aix_use_runtimelinking" = yes; then
   15214 	    shared_flag='${wl}-G'
   15215 	  else
   15216 	    shared_flag='${wl}-bM:SRE'
   15217 	  fi
   15218 	fi
   15219       fi
   15220 
   15221       # It seems that -bexpall does not export symbols beginning with
   15222       # underscore (_), so it is better to generate a list of symbols to export.
   15223       always_export_symbols_F77=yes
   15224       if test "$aix_use_runtimelinking" = yes; then
   15225 	# Warning - without using the other runtime loading flags (-brtl),
   15226 	# -berok will link without error, but may produce a broken library.
   15227 	allow_undefined_flag_F77='-berok'
   15228        # Determine the default libpath from the value encoded in an empty executable.
   15229        cat >conftest.$ac_ext <<_ACEOF
   15230       program main
   15231 
   15232       end
   15233 _ACEOF
   15234 rm -f conftest.$ac_objext conftest$ac_exeext
   15235 if { (ac_try="$ac_link"
   15236 case "(($ac_try" in
   15237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15238   *) ac_try_echo=$ac_try;;
   15239 esac
   15240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15241 $as_echo "$ac_try_echo") >&5
   15242   (eval "$ac_link") 2>conftest.er1
   15243   ac_status=$?
   15244   grep -v '^ *+' conftest.er1 >conftest.err
   15245   rm -f conftest.er1
   15246   cat conftest.err >&5
   15247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15248   (exit $ac_status); } && {
   15249 	 test -z "$ac_f77_werror_flag" ||
   15250 	 test ! -s conftest.err
   15251        } && test -s conftest$ac_exeext && {
   15252 	 test "$cross_compiling" = yes ||
   15253 	 $as_test_x conftest$ac_exeext
   15254        }; then
   15255 
   15256 lt_aix_libpath_sed='
   15257     /Import File Strings/,/^$/ {
   15258 	/^0/ {
   15259 	    s/^0  *\(.*\)$/\1/
   15260 	    p
   15261 	}
   15262     }'
   15263 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15264 # Check for a 64-bit object if we didn't find anything.
   15265 if test -z "$aix_libpath"; then
   15266   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15267 fi
   15268 else
   15269   $as_echo "$as_me: failed program was:" >&5
   15270 sed 's/^/| /' conftest.$ac_ext >&5
   15271 
   15272 
   15273 fi
   15274 
   15275 rm -rf conftest.dSYM
   15276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15277       conftest$ac_exeext conftest.$ac_ext
   15278 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15279 
   15280        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15281 	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"
   15282        else
   15283 	if test "$host_cpu" = ia64; then
   15284 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15285 	  allow_undefined_flag_F77="-z nodefs"
   15286 	  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"
   15287 	else
   15288 	 # Determine the default libpath from the value encoded in an empty executable.
   15289 	 cat >conftest.$ac_ext <<_ACEOF
   15290       program main
   15291 
   15292       end
   15293 _ACEOF
   15294 rm -f conftest.$ac_objext conftest$ac_exeext
   15295 if { (ac_try="$ac_link"
   15296 case "(($ac_try" in
   15297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15298   *) ac_try_echo=$ac_try;;
   15299 esac
   15300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15301 $as_echo "$ac_try_echo") >&5
   15302   (eval "$ac_link") 2>conftest.er1
   15303   ac_status=$?
   15304   grep -v '^ *+' conftest.er1 >conftest.err
   15305   rm -f conftest.er1
   15306   cat conftest.err >&5
   15307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15308   (exit $ac_status); } && {
   15309 	 test -z "$ac_f77_werror_flag" ||
   15310 	 test ! -s conftest.err
   15311        } && test -s conftest$ac_exeext && {
   15312 	 test "$cross_compiling" = yes ||
   15313 	 $as_test_x conftest$ac_exeext
   15314        }; then
   15315 
   15316 lt_aix_libpath_sed='
   15317     /Import File Strings/,/^$/ {
   15318 	/^0/ {
   15319 	    s/^0  *\(.*\)$/\1/
   15320 	    p
   15321 	}
   15322     }'
   15323 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15324 # Check for a 64-bit object if we didn't find anything.
   15325 if test -z "$aix_libpath"; then
   15326   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15327 fi
   15328 else
   15329   $as_echo "$as_me: failed program was:" >&5
   15330 sed 's/^/| /' conftest.$ac_ext >&5
   15331 
   15332 
   15333 fi
   15334 
   15335 rm -rf conftest.dSYM
   15336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15337       conftest$ac_exeext conftest.$ac_ext
   15338 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15339 
   15340 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15341 	  # Warning - without using the other run time loading flags,
   15342 	  # -berok will link without error, but may produce a broken library.
   15343 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15344 	  allow_undefined_flag_F77=' ${wl}-berok'
   15345 	  # Exported symbols can be pulled into shared objects from archives
   15346 	  whole_archive_flag_spec_F77='$convenience'
   15347 	  archive_cmds_need_lc_F77=yes
   15348 	  # This is similar to how AIX traditionally builds its shared libraries.
   15349 	  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'
   15350 	fi
   15351       fi
   15352       ;;
   15353 
   15354     amigaos*)
   15355       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)'
   15356       hardcode_libdir_flag_spec_F77='-L$libdir'
   15357       hardcode_minus_L_F77=yes
   15358       # see comment about different semantics on the GNU ld section
   15359       ld_shlibs_F77=no
   15360       ;;
   15361 
   15362     bsdi[45]*)
   15363       export_dynamic_flag_spec_F77=-rdynamic
   15364       ;;
   15365 
   15366     cygwin* | mingw* | pw32*)
   15367       # When not using gcc, we currently assume that we are using
   15368       # Microsoft Visual C++.
   15369       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15370       # no search path for DLLs.
   15371       hardcode_libdir_flag_spec_F77=' '
   15372       allow_undefined_flag_F77=unsupported
   15373       # Tell ltmain to make .lib files, not .a files.
   15374       libext=lib
   15375       # Tell ltmain to make .dll files, not .so files.
   15376       shrext_cmds=".dll"
   15377       # FIXME: Setting linknames here is a bad hack.
   15378       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15379       # The linker will automatically build a .lib file if we build a DLL.
   15380       old_archive_From_new_cmds_F77='true'
   15381       # FIXME: Should let the user specify the lib program.
   15382       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15383       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15384       enable_shared_with_static_runtimes_F77=yes
   15385       ;;
   15386 
   15387     darwin* | rhapsody*)
   15388       case $host_os in
   15389         rhapsody* | darwin1.[012])
   15390          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15391          ;;
   15392        *) # Darwin 1.3 on
   15393          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15394            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15395          else
   15396            case ${MACOSX_DEPLOYMENT_TARGET} in
   15397              10.[012])
   15398                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15399                ;;
   15400              10.*)
   15401                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15402                ;;
   15403            esac
   15404          fi
   15405          ;;
   15406       esac
   15407       archive_cmds_need_lc_F77=no
   15408       hardcode_direct_F77=no
   15409       hardcode_automatic_F77=yes
   15410       hardcode_shlibpath_var_F77=unsupported
   15411       whole_archive_flag_spec_F77=''
   15412       link_all_deplibs_F77=yes
   15413     if test "$GCC" = yes ; then
   15414     	output_verbose_link_cmd='echo'
   15415         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}"
   15416         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15417         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}"
   15418         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}"
   15419     else
   15420       case $cc_basename in
   15421         xlc*)
   15422          output_verbose_link_cmd='echo'
   15423          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15424          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15425           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15426          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}'
   15427           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}'
   15428           ;;
   15429        *)
   15430          ld_shlibs_F77=no
   15431           ;;
   15432       esac
   15433     fi
   15434       ;;
   15435 
   15436     dgux*)
   15437       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15438       hardcode_libdir_flag_spec_F77='-L$libdir'
   15439       hardcode_shlibpath_var_F77=no
   15440       ;;
   15441 
   15442     freebsd1*)
   15443       ld_shlibs_F77=no
   15444       ;;
   15445 
   15446     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15447     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15448     # does not break anything, and helps significantly (at the cost of a little
   15449     # extra space).
   15450     freebsd2.2*)
   15451       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15452       hardcode_libdir_flag_spec_F77='-R$libdir'
   15453       hardcode_direct_F77=yes
   15454       hardcode_shlibpath_var_F77=no
   15455       ;;
   15456 
   15457     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15458     freebsd2*)
   15459       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15460       hardcode_direct_F77=yes
   15461       hardcode_minus_L_F77=yes
   15462       hardcode_shlibpath_var_F77=no
   15463       ;;
   15464 
   15465     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15466     freebsd* | dragonfly*)
   15467       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15468       hardcode_libdir_flag_spec_F77='-R$libdir'
   15469       hardcode_direct_F77=yes
   15470       hardcode_shlibpath_var_F77=no
   15471       ;;
   15472 
   15473     hpux9*)
   15474       if test "$GCC" = yes; then
   15475 	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'
   15476       else
   15477 	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'
   15478       fi
   15479       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15480       hardcode_libdir_separator_F77=:
   15481       hardcode_direct_F77=yes
   15482 
   15483       # hardcode_minus_L: Not really in the search PATH,
   15484       # but as the default location of the library.
   15485       hardcode_minus_L_F77=yes
   15486       export_dynamic_flag_spec_F77='${wl}-E'
   15487       ;;
   15488 
   15489     hpux10*)
   15490       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15491 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15492       else
   15493 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15494       fi
   15495       if test "$with_gnu_ld" = no; then
   15496 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15497 	hardcode_libdir_separator_F77=:
   15498 
   15499 	hardcode_direct_F77=yes
   15500 	export_dynamic_flag_spec_F77='${wl}-E'
   15501 
   15502 	# hardcode_minus_L: Not really in the search PATH,
   15503 	# but as the default location of the library.
   15504 	hardcode_minus_L_F77=yes
   15505       fi
   15506       ;;
   15507 
   15508     hpux11*)
   15509       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15510 	case $host_cpu in
   15511 	hppa*64*)
   15512 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15513 	  ;;
   15514 	ia64*)
   15515 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15516 	  ;;
   15517 	*)
   15518 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15519 	  ;;
   15520 	esac
   15521       else
   15522 	case $host_cpu in
   15523 	hppa*64*)
   15524 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15525 	  ;;
   15526 	ia64*)
   15527 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15528 	  ;;
   15529 	*)
   15530 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15531 	  ;;
   15532 	esac
   15533       fi
   15534       if test "$with_gnu_ld" = no; then
   15535 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15536 	hardcode_libdir_separator_F77=:
   15537 
   15538 	case $host_cpu in
   15539 	hppa*64*|ia64*)
   15540 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15541 	  hardcode_direct_F77=no
   15542 	  hardcode_shlibpath_var_F77=no
   15543 	  ;;
   15544 	*)
   15545 	  hardcode_direct_F77=yes
   15546 	  export_dynamic_flag_spec_F77='${wl}-E'
   15547 
   15548 	  # hardcode_minus_L: Not really in the search PATH,
   15549 	  # but as the default location of the library.
   15550 	  hardcode_minus_L_F77=yes
   15551 	  ;;
   15552 	esac
   15553       fi
   15554       ;;
   15555 
   15556     irix5* | irix6* | nonstopux*)
   15557       if test "$GCC" = yes; then
   15558 	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'
   15559       else
   15560 	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'
   15561 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15562       fi
   15563       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15564       hardcode_libdir_separator_F77=:
   15565       link_all_deplibs_F77=yes
   15566       ;;
   15567 
   15568     netbsd*)
   15569       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15570 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15571       else
   15572 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15573       fi
   15574       hardcode_libdir_flag_spec_F77='-R$libdir'
   15575       hardcode_direct_F77=yes
   15576       hardcode_shlibpath_var_F77=no
   15577       ;;
   15578 
   15579     newsos6)
   15580       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15581       hardcode_direct_F77=yes
   15582       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15583       hardcode_libdir_separator_F77=:
   15584       hardcode_shlibpath_var_F77=no
   15585       ;;
   15586 
   15587     openbsd*)
   15588       if test -f /usr/libexec/ld.so; then
   15589 	hardcode_direct_F77=yes
   15590 	hardcode_shlibpath_var_F77=no
   15591 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15592 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15593 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15594 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15595 	  export_dynamic_flag_spec_F77='${wl}-E'
   15596 	else
   15597 	  case $host_os in
   15598 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15599 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15600 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15601 	     ;;
   15602 	   *)
   15603 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15604 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15605 	     ;;
   15606 	  esac
   15607         fi
   15608       else
   15609 	ld_shlibs_F77=no
   15610       fi
   15611       ;;
   15612 
   15613     os2*)
   15614       hardcode_libdir_flag_spec_F77='-L$libdir'
   15615       hardcode_minus_L_F77=yes
   15616       allow_undefined_flag_F77=unsupported
   15617       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'
   15618       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15619       ;;
   15620 
   15621     osf3*)
   15622       if test "$GCC" = yes; then
   15623 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15624 	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'
   15625       else
   15626 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15627 	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'
   15628       fi
   15629       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15630       hardcode_libdir_separator_F77=:
   15631       ;;
   15632 
   15633     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15634       if test "$GCC" = yes; then
   15635 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15636 	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'
   15637 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15638       else
   15639 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15640 	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'
   15641 	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~
   15642 	$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'
   15643 
   15644 	# Both c and cxx compiler support -rpath directly
   15645 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15646       fi
   15647       hardcode_libdir_separator_F77=:
   15648       ;;
   15649 
   15650     solaris*)
   15651       no_undefined_flag_F77=' -z text'
   15652       if test "$GCC" = yes; then
   15653 	wlarc='${wl}'
   15654 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15655 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15656 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15657       else
   15658 	wlarc=''
   15659 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15660 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15661   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15662       fi
   15663       hardcode_libdir_flag_spec_F77='-R$libdir'
   15664       hardcode_shlibpath_var_F77=no
   15665       case $host_os in
   15666       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15667       *)
   15668 	# The compiler driver will combine and reorder linker options,
   15669 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15670 	# but is careful enough not to reorder.
   15671  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15672 	if test "$GCC" = yes; then
   15673 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15674 	else
   15675 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15676 	fi
   15677 	;;
   15678       esac
   15679       link_all_deplibs_F77=yes
   15680       ;;
   15681 
   15682     sunos4*)
   15683       if test "x$host_vendor" = xsequent; then
   15684 	# Use $CC to link under sequent, because it throws in some extra .o
   15685 	# files that make .init and .fini sections work.
   15686 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15687       else
   15688 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15689       fi
   15690       hardcode_libdir_flag_spec_F77='-L$libdir'
   15691       hardcode_direct_F77=yes
   15692       hardcode_minus_L_F77=yes
   15693       hardcode_shlibpath_var_F77=no
   15694       ;;
   15695 
   15696     sysv4)
   15697       case $host_vendor in
   15698 	sni)
   15699 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15700 	  hardcode_direct_F77=yes # is this really true???
   15701 	;;
   15702 	siemens)
   15703 	  ## LD is ld it makes a PLAMLIB
   15704 	  ## CC just makes a GrossModule.
   15705 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15706 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15707 	  hardcode_direct_F77=no
   15708         ;;
   15709 	motorola)
   15710 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15711 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15712 	;;
   15713       esac
   15714       runpath_var='LD_RUN_PATH'
   15715       hardcode_shlibpath_var_F77=no
   15716       ;;
   15717 
   15718     sysv4.3*)
   15719       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15720       hardcode_shlibpath_var_F77=no
   15721       export_dynamic_flag_spec_F77='-Bexport'
   15722       ;;
   15723 
   15724     sysv4*MP*)
   15725       if test -d /usr/nec; then
   15726 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15727 	hardcode_shlibpath_var_F77=no
   15728 	runpath_var=LD_RUN_PATH
   15729 	hardcode_runpath_var=yes
   15730 	ld_shlibs_F77=yes
   15731       fi
   15732       ;;
   15733 
   15734     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15735       no_undefined_flag_F77='${wl}-z,text'
   15736       archive_cmds_need_lc_F77=no
   15737       hardcode_shlibpath_var_F77=no
   15738       runpath_var='LD_RUN_PATH'
   15739 
   15740       if test "$GCC" = yes; then
   15741 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15742 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15743       else
   15744 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15745 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15746       fi
   15747       ;;
   15748 
   15749     sysv5* | sco3.2v5* | sco5v6*)
   15750       # Note: We can NOT use -z defs as we might desire, because we do not
   15751       # link with -lc, and that would cause any symbols used from libc to
   15752       # always be unresolved, which means just about no library would
   15753       # ever link correctly.  If we're not using GNU ld we use -z text
   15754       # though, which does catch some bad symbols but isn't as heavy-handed
   15755       # as -z defs.
   15756       no_undefined_flag_F77='${wl}-z,text'
   15757       allow_undefined_flag_F77='${wl}-z,nodefs'
   15758       archive_cmds_need_lc_F77=no
   15759       hardcode_shlibpath_var_F77=no
   15760       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15761       hardcode_libdir_separator_F77=':'
   15762       link_all_deplibs_F77=yes
   15763       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15764       runpath_var='LD_RUN_PATH'
   15765 
   15766       if test "$GCC" = yes; then
   15767 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15768 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15769       else
   15770 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15771 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15772       fi
   15773       ;;
   15774 
   15775     uts4*)
   15776       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15777       hardcode_libdir_flag_spec_F77='-L$libdir'
   15778       hardcode_shlibpath_var_F77=no
   15779       ;;
   15780 
   15781     *)
   15782       ld_shlibs_F77=no
   15783       ;;
   15784     esac
   15785   fi
   15786 
   15787 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15788 $as_echo "$ld_shlibs_F77" >&6; }
   15789 test "$ld_shlibs_F77" = no && can_build_shared=no
   15790 
   15791 #
   15792 # Do we need to explicitly link libc?
   15793 #
   15794 case "x$archive_cmds_need_lc_F77" in
   15795 x|xyes)
   15796   # Assume -lc should be added
   15797   archive_cmds_need_lc_F77=yes
   15798 
   15799   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15800     case $archive_cmds_F77 in
   15801     *'~'*)
   15802       # FIXME: we may have to deal with multi-command sequences.
   15803       ;;
   15804     '$CC '*)
   15805       # Test whether the compiler implicitly links with -lc since on some
   15806       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15807       # to ld, don't add -lc before -lgcc.
   15808       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15810       $rm conftest*
   15811       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15812 
   15813       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15814   (eval $ac_compile) 2>&5
   15815   ac_status=$?
   15816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15817   (exit $ac_status); } 2>conftest.err; then
   15818         soname=conftest
   15819         lib=conftest
   15820         libobjs=conftest.$ac_objext
   15821         deplibs=
   15822         wl=$lt_prog_compiler_wl_F77
   15823 	pic_flag=$lt_prog_compiler_pic_F77
   15824         compiler_flags=-v
   15825         linker_flags=-v
   15826         verstring=
   15827         output_objdir=.
   15828         libname=conftest
   15829         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15830         allow_undefined_flag_F77=
   15831         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15832   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15833   ac_status=$?
   15834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15835   (exit $ac_status); }
   15836         then
   15837 	  archive_cmds_need_lc_F77=no
   15838         else
   15839 	  archive_cmds_need_lc_F77=yes
   15840         fi
   15841         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15842       else
   15843         cat conftest.err 1>&5
   15844       fi
   15845       $rm conftest*
   15846       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15847 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15848       ;;
   15849     esac
   15850   fi
   15851   ;;
   15852 esac
   15853 
   15854 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15855 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15856 library_names_spec=
   15857 libname_spec='lib$name'
   15858 soname_spec=
   15859 shrext_cmds=".so"
   15860 postinstall_cmds=
   15861 postuninstall_cmds=
   15862 finish_cmds=
   15863 finish_eval=
   15864 shlibpath_var=
   15865 shlibpath_overrides_runpath=unknown
   15866 version_type=none
   15867 dynamic_linker="$host_os ld.so"
   15868 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15869 
   15870 need_lib_prefix=unknown
   15871 hardcode_into_libs=no
   15872 
   15873 # when you set need_version to no, make sure it does not cause -set_version
   15874 # flags to be left without arguments
   15875 need_version=unknown
   15876 
   15877 case $host_os in
   15878 aix3*)
   15879   version_type=linux
   15880   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15881   shlibpath_var=LIBPATH
   15882 
   15883   # AIX 3 has no versioning support, so we append a major version to the name.
   15884   soname_spec='${libname}${release}${shared_ext}$major'
   15885   ;;
   15886 
   15887 aix[4-9]*)
   15888   version_type=linux
   15889   need_lib_prefix=no
   15890   need_version=no
   15891   hardcode_into_libs=yes
   15892   if test "$host_cpu" = ia64; then
   15893     # AIX 5 supports IA64
   15894     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15895     shlibpath_var=LD_LIBRARY_PATH
   15896   else
   15897     # With GCC up to 2.95.x, collect2 would create an import file
   15898     # for dependence libraries.  The import file would start with
   15899     # the line `#! .'.  This would cause the generated library to
   15900     # depend on `.', always an invalid library.  This was fixed in
   15901     # development snapshots of GCC prior to 3.0.
   15902     case $host_os in
   15903       aix4 | aix4.[01] | aix4.[01].*)
   15904       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15905 	   echo ' yes '
   15906 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15907 	:
   15908       else
   15909 	can_build_shared=no
   15910       fi
   15911       ;;
   15912     esac
   15913     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15914     # soname into executable. Probably we can add versioning support to
   15915     # collect2, so additional links can be useful in future.
   15916     if test "$aix_use_runtimelinking" = yes; then
   15917       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15918       # instead of lib<name>.a to let people know that these are not
   15919       # typical AIX shared libraries.
   15920       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15921     else
   15922       # We preserve .a as extension for shared libraries through AIX4.2
   15923       # and later when we are not doing run time linking.
   15924       library_names_spec='${libname}${release}.a $libname.a'
   15925       soname_spec='${libname}${release}${shared_ext}$major'
   15926     fi
   15927     shlibpath_var=LIBPATH
   15928   fi
   15929   ;;
   15930 
   15931 amigaos*)
   15932   library_names_spec='$libname.ixlibrary $libname.a'
   15933   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15934   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'
   15935   ;;
   15936 
   15937 beos*)
   15938   library_names_spec='${libname}${shared_ext}'
   15939   dynamic_linker="$host_os ld.so"
   15940   shlibpath_var=LIBRARY_PATH
   15941   ;;
   15942 
   15943 bsdi[45]*)
   15944   version_type=linux
   15945   need_version=no
   15946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15947   soname_spec='${libname}${release}${shared_ext}$major'
   15948   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15949   shlibpath_var=LD_LIBRARY_PATH
   15950   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15951   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15952   # the default ld.so.conf also contains /usr/contrib/lib and
   15953   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15954   # libtool to hard-code these into programs
   15955   ;;
   15956 
   15957 cygwin* | mingw* | pw32*)
   15958   version_type=windows
   15959   shrext_cmds=".dll"
   15960   need_version=no
   15961   need_lib_prefix=no
   15962 
   15963   case $GCC,$host_os in
   15964   yes,cygwin* | yes,mingw* | yes,pw32*)
   15965     library_names_spec='$libname.dll.a'
   15966     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15967     postinstall_cmds='base_file=`basename \${file}`~
   15968       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15969       dldir=$destdir/`dirname \$dlpath`~
   15970       test -d \$dldir || mkdir -p \$dldir~
   15971       $install_prog $dir/$dlname \$dldir/$dlname~
   15972       chmod a+x \$dldir/$dlname'
   15973     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15974       dlpath=$dir/\$dldll~
   15975        $rm \$dlpath'
   15976     shlibpath_overrides_runpath=yes
   15977 
   15978     case $host_os in
   15979     cygwin*)
   15980       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15981       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15982       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15983       ;;
   15984     mingw*)
   15985       # MinGW DLLs use traditional 'lib' prefix
   15986       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15987       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15988       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15989         # It is most probably a Windows format PATH printed by
   15990         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15991         # path with ; separators, and with drive letters. We can handle the
   15992         # drive letters (cygwin fileutils understands them), so leave them,
   15993         # especially as we might pass files found there to a mingw objdump,
   15994         # which wouldn't understand a cygwinified path. Ahh.
   15995         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15996       else
   15997         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15998       fi
   15999       ;;
   16000     pw32*)
   16001       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16002       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16003       ;;
   16004     esac
   16005     ;;
   16006 
   16007   *)
   16008     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16009     ;;
   16010   esac
   16011   dynamic_linker='Win32 ld.exe'
   16012   # FIXME: first we should search . and the directory the executable is in
   16013   shlibpath_var=PATH
   16014   ;;
   16015 
   16016 darwin* | rhapsody*)
   16017   dynamic_linker="$host_os dyld"
   16018   version_type=darwin
   16019   need_lib_prefix=no
   16020   need_version=no
   16021   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16022   soname_spec='${libname}${release}${major}$shared_ext'
   16023   shlibpath_overrides_runpath=yes
   16024   shlibpath_var=DYLD_LIBRARY_PATH
   16025   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16026 
   16027   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16028   ;;
   16029 
   16030 dgux*)
   16031   version_type=linux
   16032   need_lib_prefix=no
   16033   need_version=no
   16034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16035   soname_spec='${libname}${release}${shared_ext}$major'
   16036   shlibpath_var=LD_LIBRARY_PATH
   16037   ;;
   16038 
   16039 freebsd1*)
   16040   dynamic_linker=no
   16041   ;;
   16042 
   16043 freebsd* | dragonfly*)
   16044   # DragonFly does not have aout.  When/if they implement a new
   16045   # versioning mechanism, adjust this.
   16046   if test -x /usr/bin/objformat; then
   16047     objformat=`/usr/bin/objformat`
   16048   else
   16049     case $host_os in
   16050     freebsd[123]*) objformat=aout ;;
   16051     *) objformat=elf ;;
   16052     esac
   16053   fi
   16054   version_type=freebsd-$objformat
   16055   case $version_type in
   16056     freebsd-elf*)
   16057       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16058       need_version=no
   16059       need_lib_prefix=no
   16060       ;;
   16061     freebsd-*)
   16062       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16063       need_version=yes
   16064       ;;
   16065   esac
   16066   shlibpath_var=LD_LIBRARY_PATH
   16067   case $host_os in
   16068   freebsd2*)
   16069     shlibpath_overrides_runpath=yes
   16070     ;;
   16071   freebsd3.[01]* | freebsdelf3.[01]*)
   16072     shlibpath_overrides_runpath=yes
   16073     hardcode_into_libs=yes
   16074     ;;
   16075   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16076   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16077     shlibpath_overrides_runpath=no
   16078     hardcode_into_libs=yes
   16079     ;;
   16080   *) # from 4.6 on, and DragonFly
   16081     shlibpath_overrides_runpath=yes
   16082     hardcode_into_libs=yes
   16083     ;;
   16084   esac
   16085   ;;
   16086 
   16087 gnu*)
   16088   version_type=linux
   16089   need_lib_prefix=no
   16090   need_version=no
   16091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16092   soname_spec='${libname}${release}${shared_ext}$major'
   16093   shlibpath_var=LD_LIBRARY_PATH
   16094   hardcode_into_libs=yes
   16095   ;;
   16096 
   16097 hpux9* | hpux10* | hpux11*)
   16098   # Give a soname corresponding to the major version so that dld.sl refuses to
   16099   # link against other versions.
   16100   version_type=sunos
   16101   need_lib_prefix=no
   16102   need_version=no
   16103   case $host_cpu in
   16104   ia64*)
   16105     shrext_cmds='.so'
   16106     hardcode_into_libs=yes
   16107     dynamic_linker="$host_os dld.so"
   16108     shlibpath_var=LD_LIBRARY_PATH
   16109     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16110     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16111     soname_spec='${libname}${release}${shared_ext}$major'
   16112     if test "X$HPUX_IA64_MODE" = X32; then
   16113       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16114     else
   16115       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16116     fi
   16117     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16118     ;;
   16119    hppa*64*)
   16120      shrext_cmds='.sl'
   16121      hardcode_into_libs=yes
   16122      dynamic_linker="$host_os dld.sl"
   16123      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16124      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16125      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16126      soname_spec='${libname}${release}${shared_ext}$major'
   16127      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16128      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16129      ;;
   16130    *)
   16131     shrext_cmds='.sl'
   16132     dynamic_linker="$host_os dld.sl"
   16133     shlibpath_var=SHLIB_PATH
   16134     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16135     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16136     soname_spec='${libname}${release}${shared_ext}$major'
   16137     ;;
   16138   esac
   16139   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16140   postinstall_cmds='chmod 555 $lib'
   16141   ;;
   16142 
   16143 interix[3-9]*)
   16144   version_type=linux
   16145   need_lib_prefix=no
   16146   need_version=no
   16147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16148   soname_spec='${libname}${release}${shared_ext}$major'
   16149   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16150   shlibpath_var=LD_LIBRARY_PATH
   16151   shlibpath_overrides_runpath=no
   16152   hardcode_into_libs=yes
   16153   ;;
   16154 
   16155 irix5* | irix6* | nonstopux*)
   16156   case $host_os in
   16157     nonstopux*) version_type=nonstopux ;;
   16158     *)
   16159 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16160 		version_type=linux
   16161 	else
   16162 		version_type=irix
   16163 	fi ;;
   16164   esac
   16165   need_lib_prefix=no
   16166   need_version=no
   16167   soname_spec='${libname}${release}${shared_ext}$major'
   16168   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16169   case $host_os in
   16170   irix5* | nonstopux*)
   16171     libsuff= shlibsuff=
   16172     ;;
   16173   *)
   16174     case $LD in # libtool.m4 will add one of these switches to LD
   16175     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16176       libsuff= shlibsuff= libmagic=32-bit;;
   16177     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16178       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16179     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16180       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16181     *) libsuff= shlibsuff= libmagic=never-match;;
   16182     esac
   16183     ;;
   16184   esac
   16185   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16186   shlibpath_overrides_runpath=no
   16187   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16188   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16189   hardcode_into_libs=yes
   16190   ;;
   16191 
   16192 # No shared lib support for Linux oldld, aout, or coff.
   16193 linux*oldld* | linux*aout* | linux*coff*)
   16194   dynamic_linker=no
   16195   ;;
   16196 
   16197 # This must be Linux ELF.
   16198 linux* | k*bsd*-gnu)
   16199   version_type=linux
   16200   need_lib_prefix=no
   16201   need_version=no
   16202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16203   soname_spec='${libname}${release}${shared_ext}$major'
   16204   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16205   shlibpath_var=LD_LIBRARY_PATH
   16206   shlibpath_overrides_runpath=no
   16207   # This implies no fast_install, which is unacceptable.
   16208   # Some rework will be needed to allow for fast_install
   16209   # before this can be enabled.
   16210   hardcode_into_libs=yes
   16211   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16212   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16213 
   16214   # Append ld.so.conf contents to the search path
   16215   if test -f /etc/ld.so.conf; then
   16216     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' ' '`
   16217     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16218   fi
   16219 
   16220   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16221   # powerpc, because MkLinux only supported shared libraries with the
   16222   # GNU dynamic linker.  Since this was broken with cross compilers,
   16223   # most powerpc-linux boxes support dynamic linking these days and
   16224   # people can always --disable-shared, the test was removed, and we
   16225   # assume the GNU/Linux dynamic linker is in use.
   16226   dynamic_linker='GNU/Linux ld.so'
   16227   ;;
   16228 
   16229 netbsd*)
   16230   version_type=sunos
   16231   need_lib_prefix=no
   16232   need_version=no
   16233   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16234     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16235     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16236     dynamic_linker='NetBSD (a.out) ld.so'
   16237   else
   16238     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16239     soname_spec='${libname}${release}${shared_ext}$major'
   16240     dynamic_linker='NetBSD ld.elf_so'
   16241   fi
   16242   shlibpath_var=LD_LIBRARY_PATH
   16243   shlibpath_overrides_runpath=yes
   16244   hardcode_into_libs=yes
   16245   ;;
   16246 
   16247 newsos6)
   16248   version_type=linux
   16249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16250   shlibpath_var=LD_LIBRARY_PATH
   16251   shlibpath_overrides_runpath=yes
   16252   ;;
   16253 
   16254 nto-qnx*)
   16255   version_type=linux
   16256   need_lib_prefix=no
   16257   need_version=no
   16258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16259   soname_spec='${libname}${release}${shared_ext}$major'
   16260   shlibpath_var=LD_LIBRARY_PATH
   16261   shlibpath_overrides_runpath=yes
   16262   ;;
   16263 
   16264 openbsd*)
   16265   version_type=sunos
   16266   sys_lib_dlsearch_path_spec="/usr/lib"
   16267   need_lib_prefix=no
   16268   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16269   case $host_os in
   16270     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16271     *)                         need_version=no  ;;
   16272   esac
   16273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16274   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16275   shlibpath_var=LD_LIBRARY_PATH
   16276   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16277     case $host_os in
   16278       openbsd2.[89] | openbsd2.[89].*)
   16279 	shlibpath_overrides_runpath=no
   16280 	;;
   16281       *)
   16282 	shlibpath_overrides_runpath=yes
   16283 	;;
   16284       esac
   16285   else
   16286     shlibpath_overrides_runpath=yes
   16287   fi
   16288   ;;
   16289 
   16290 os2*)
   16291   libname_spec='$name'
   16292   shrext_cmds=".dll"
   16293   need_lib_prefix=no
   16294   library_names_spec='$libname${shared_ext} $libname.a'
   16295   dynamic_linker='OS/2 ld.exe'
   16296   shlibpath_var=LIBPATH
   16297   ;;
   16298 
   16299 osf3* | osf4* | osf5*)
   16300   version_type=osf
   16301   need_lib_prefix=no
   16302   need_version=no
   16303   soname_spec='${libname}${release}${shared_ext}$major'
   16304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16305   shlibpath_var=LD_LIBRARY_PATH
   16306   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16307   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16308   ;;
   16309 
   16310 rdos*)
   16311   dynamic_linker=no
   16312   ;;
   16313 
   16314 solaris*)
   16315   version_type=linux
   16316   need_lib_prefix=no
   16317   need_version=no
   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   shlibpath_overrides_runpath=yes
   16322   hardcode_into_libs=yes
   16323   # ldd complains unless libraries are executable
   16324   postinstall_cmds='chmod +x $lib'
   16325   ;;
   16326 
   16327 sunos4*)
   16328   version_type=sunos
   16329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16330   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16331   shlibpath_var=LD_LIBRARY_PATH
   16332   shlibpath_overrides_runpath=yes
   16333   if test "$with_gnu_ld" = yes; then
   16334     need_lib_prefix=no
   16335   fi
   16336   need_version=yes
   16337   ;;
   16338 
   16339 sysv4 | sysv4.3*)
   16340   version_type=linux
   16341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16342   soname_spec='${libname}${release}${shared_ext}$major'
   16343   shlibpath_var=LD_LIBRARY_PATH
   16344   case $host_vendor in
   16345     sni)
   16346       shlibpath_overrides_runpath=no
   16347       need_lib_prefix=no
   16348       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16349       runpath_var=LD_RUN_PATH
   16350       ;;
   16351     siemens)
   16352       need_lib_prefix=no
   16353       ;;
   16354     motorola)
   16355       need_lib_prefix=no
   16356       need_version=no
   16357       shlibpath_overrides_runpath=no
   16358       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16359       ;;
   16360   esac
   16361   ;;
   16362 
   16363 sysv4*MP*)
   16364   if test -d /usr/nec ;then
   16365     version_type=linux
   16366     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16367     soname_spec='$libname${shared_ext}.$major'
   16368     shlibpath_var=LD_LIBRARY_PATH
   16369   fi
   16370   ;;
   16371 
   16372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16373   version_type=freebsd-elf
   16374   need_lib_prefix=no
   16375   need_version=no
   16376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16377   soname_spec='${libname}${release}${shared_ext}$major'
   16378   shlibpath_var=LD_LIBRARY_PATH
   16379   hardcode_into_libs=yes
   16380   if test "$with_gnu_ld" = yes; then
   16381     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16382     shlibpath_overrides_runpath=no
   16383   else
   16384     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16385     shlibpath_overrides_runpath=yes
   16386     case $host_os in
   16387       sco3.2v5*)
   16388         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16389 	;;
   16390     esac
   16391   fi
   16392   sys_lib_dlsearch_path_spec='/usr/lib'
   16393   ;;
   16394 
   16395 uts4*)
   16396   version_type=linux
   16397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16398   soname_spec='${libname}${release}${shared_ext}$major'
   16399   shlibpath_var=LD_LIBRARY_PATH
   16400   ;;
   16401 
   16402 *)
   16403   dynamic_linker=no
   16404   ;;
   16405 esac
   16406 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16407 $as_echo "$dynamic_linker" >&6; }
   16408 test "$dynamic_linker" = no && can_build_shared=no
   16409 
   16410 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16411   $as_echo_n "(cached) " >&6
   16412 else
   16413   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16414 fi
   16415 
   16416 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16417 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16418   $as_echo_n "(cached) " >&6
   16419 else
   16420   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16421 fi
   16422 
   16423 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16424 
   16425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16426 if test "$GCC" = yes; then
   16427   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16428 fi
   16429 
   16430 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16431 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16432 hardcode_action_F77=
   16433 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16434    test -n "$runpath_var_F77" || \
   16435    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16436 
   16437   # We can hardcode non-existant directories.
   16438   if test "$hardcode_direct_F77" != no &&
   16439      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16440      # have to relink, otherwise we might link with an installed library
   16441      # when we should be linking with a yet-to-be-installed one
   16442      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16443      test "$hardcode_minus_L_F77" != no; then
   16444     # Linking always hardcodes the temporary library directory.
   16445     hardcode_action_F77=relink
   16446   else
   16447     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16448     hardcode_action_F77=immediate
   16449   fi
   16450 else
   16451   # We cannot hardcode anything, or else we can only hardcode existing
   16452   # directories.
   16453   hardcode_action_F77=unsupported
   16454 fi
   16455 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16456 $as_echo "$hardcode_action_F77" >&6; }
   16457 
   16458 if test "$hardcode_action_F77" = relink; then
   16459   # Fast installation is not supported
   16460   enable_fast_install=no
   16461 elif test "$shlibpath_overrides_runpath" = yes ||
   16462      test "$enable_shared" = no; then
   16463   # Fast installation is not necessary
   16464   enable_fast_install=needless
   16465 fi
   16466 
   16467 
   16468 # The else clause should only fire when bootstrapping the
   16469 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16470 # with your package, and you will get complaints that there are
   16471 # no rules to generate ltmain.sh.
   16472 if test -f "$ltmain"; then
   16473   # See if we are running on zsh, and set the options which allow our commands through
   16474   # without removal of \ escapes.
   16475   if test -n "${ZSH_VERSION+set}" ; then
   16476     setopt NO_GLOB_SUBST
   16477   fi
   16478   # Now quote all the things that may contain metacharacters while being
   16479   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16480   # variables and quote the copies for generation of the libtool script.
   16481   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16482     SED SHELL STRIP \
   16483     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16484     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16485     deplibs_check_method reload_flag reload_cmds need_locks \
   16486     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16487     lt_cv_sys_global_symbol_to_c_name_address \
   16488     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16489     old_postinstall_cmds old_postuninstall_cmds \
   16490     compiler_F77 \
   16491     CC_F77 \
   16492     LD_F77 \
   16493     lt_prog_compiler_wl_F77 \
   16494     lt_prog_compiler_pic_F77 \
   16495     lt_prog_compiler_static_F77 \
   16496     lt_prog_compiler_no_builtin_flag_F77 \
   16497     export_dynamic_flag_spec_F77 \
   16498     thread_safe_flag_spec_F77 \
   16499     whole_archive_flag_spec_F77 \
   16500     enable_shared_with_static_runtimes_F77 \
   16501     old_archive_cmds_F77 \
   16502     old_archive_from_new_cmds_F77 \
   16503     predep_objects_F77 \
   16504     postdep_objects_F77 \
   16505     predeps_F77 \
   16506     postdeps_F77 \
   16507     compiler_lib_search_path_F77 \
   16508     compiler_lib_search_dirs_F77 \
   16509     archive_cmds_F77 \
   16510     archive_expsym_cmds_F77 \
   16511     postinstall_cmds_F77 \
   16512     postuninstall_cmds_F77 \
   16513     old_archive_from_expsyms_cmds_F77 \
   16514     allow_undefined_flag_F77 \
   16515     no_undefined_flag_F77 \
   16516     export_symbols_cmds_F77 \
   16517     hardcode_libdir_flag_spec_F77 \
   16518     hardcode_libdir_flag_spec_ld_F77 \
   16519     hardcode_libdir_separator_F77 \
   16520     hardcode_automatic_F77 \
   16521     module_cmds_F77 \
   16522     module_expsym_cmds_F77 \
   16523     lt_cv_prog_compiler_c_o_F77 \
   16524     fix_srcfile_path_F77 \
   16525     exclude_expsyms_F77 \
   16526     include_expsyms_F77; do
   16527 
   16528     case $var in
   16529     old_archive_cmds_F77 | \
   16530     old_archive_from_new_cmds_F77 | \
   16531     archive_cmds_F77 | \
   16532     archive_expsym_cmds_F77 | \
   16533     module_cmds_F77 | \
   16534     module_expsym_cmds_F77 | \
   16535     old_archive_from_expsyms_cmds_F77 | \
   16536     export_symbols_cmds_F77 | \
   16537     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16538     postinstall_cmds | postuninstall_cmds | \
   16539     old_postinstall_cmds | old_postuninstall_cmds | \
   16540     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16541       # Double-quote double-evaled strings.
   16542       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16543       ;;
   16544     *)
   16545       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16546       ;;
   16547     esac
   16548   done
   16549 
   16550   case $lt_echo in
   16551   *'\$0 --fallback-echo"')
   16552     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16553     ;;
   16554   esac
   16555 
   16556 cfgfile="$ofile"
   16557 
   16558   cat <<__EOF__ >> "$cfgfile"
   16559 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16560 
   16561 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16562 
   16563 # Shell to use when invoking shell scripts.
   16564 SHELL=$lt_SHELL
   16565 
   16566 # Whether or not to build shared libraries.
   16567 build_libtool_libs=$enable_shared
   16568 
   16569 # Whether or not to build static libraries.
   16570 build_old_libs=$enable_static
   16571 
   16572 # Whether or not to add -lc for building shared libraries.
   16573 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16574 
   16575 # Whether or not to disallow shared libs when runtime libs are static
   16576 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16577 
   16578 # Whether or not to optimize for fast installation.
   16579 fast_install=$enable_fast_install
   16580 
   16581 # The host system.
   16582 host_alias=$host_alias
   16583 host=$host
   16584 host_os=$host_os
   16585 
   16586 # The build system.
   16587 build_alias=$build_alias
   16588 build=$build
   16589 build_os=$build_os
   16590 
   16591 # An echo program that does not interpret backslashes.
   16592 echo=$lt_echo
   16593 
   16594 # The archiver.
   16595 AR=$lt_AR
   16596 AR_FLAGS=$lt_AR_FLAGS
   16597 
   16598 # A C compiler.
   16599 LTCC=$lt_LTCC
   16600 
   16601 # LTCC compiler flags.
   16602 LTCFLAGS=$lt_LTCFLAGS
   16603 
   16604 # A language-specific compiler.
   16605 CC=$lt_compiler_F77
   16606 
   16607 # Is the compiler the GNU C compiler?
   16608 with_gcc=$GCC_F77
   16609 
   16610 # An ERE matcher.
   16611 EGREP=$lt_EGREP
   16612 
   16613 # The linker used to build libraries.
   16614 LD=$lt_LD_F77
   16615 
   16616 # Whether we need hard or soft links.
   16617 LN_S=$lt_LN_S
   16618 
   16619 # A BSD-compatible nm program.
   16620 NM=$lt_NM
   16621 
   16622 # A symbol stripping program
   16623 STRIP=$lt_STRIP
   16624 
   16625 # Used to examine libraries when file_magic_cmd begins "file"
   16626 MAGIC_CMD=$MAGIC_CMD
   16627 
   16628 # Used on cygwin: DLL creation program.
   16629 DLLTOOL="$DLLTOOL"
   16630 
   16631 # Used on cygwin: object dumper.
   16632 OBJDUMP="$OBJDUMP"
   16633 
   16634 # Used on cygwin: assembler.
   16635 AS="$AS"
   16636 
   16637 # The name of the directory that contains temporary libtool files.
   16638 objdir=$objdir
   16639 
   16640 # How to create reloadable object files.
   16641 reload_flag=$lt_reload_flag
   16642 reload_cmds=$lt_reload_cmds
   16643 
   16644 # How to pass a linker flag through the compiler.
   16645 wl=$lt_lt_prog_compiler_wl_F77
   16646 
   16647 # Object file suffix (normally "o").
   16648 objext="$ac_objext"
   16649 
   16650 # Old archive suffix (normally "a").
   16651 libext="$libext"
   16652 
   16653 # Shared library suffix (normally ".so").
   16654 shrext_cmds='$shrext_cmds'
   16655 
   16656 # Executable file suffix (normally "").
   16657 exeext="$exeext"
   16658 
   16659 # Additional compiler flags for building library objects.
   16660 pic_flag=$lt_lt_prog_compiler_pic_F77
   16661 pic_mode=$pic_mode
   16662 
   16663 # What is the maximum length of a command?
   16664 max_cmd_len=$lt_cv_sys_max_cmd_len
   16665 
   16666 # Does compiler simultaneously support -c and -o options?
   16667 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16668 
   16669 # Must we lock files when doing compilation?
   16670 need_locks=$lt_need_locks
   16671 
   16672 # Do we need the lib prefix for modules?
   16673 need_lib_prefix=$need_lib_prefix
   16674 
   16675 # Do we need a version for libraries?
   16676 need_version=$need_version
   16677 
   16678 # Whether dlopen is supported.
   16679 dlopen_support=$enable_dlopen
   16680 
   16681 # Whether dlopen of programs is supported.
   16682 dlopen_self=$enable_dlopen_self
   16683 
   16684 # Whether dlopen of statically linked programs is supported.
   16685 dlopen_self_static=$enable_dlopen_self_static
   16686 
   16687 # Compiler flag to prevent dynamic linking.
   16688 link_static_flag=$lt_lt_prog_compiler_static_F77
   16689 
   16690 # Compiler flag to turn off builtin functions.
   16691 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16692 
   16693 # Compiler flag to allow reflexive dlopens.
   16694 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16695 
   16696 # Compiler flag to generate shared objects directly from archives.
   16697 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16698 
   16699 # Compiler flag to generate thread-safe objects.
   16700 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16701 
   16702 # Library versioning type.
   16703 version_type=$version_type
   16704 
   16705 # Format of library name prefix.
   16706 libname_spec=$lt_libname_spec
   16707 
   16708 # List of archive names.  First name is the real one, the rest are links.
   16709 # The last name is the one that the linker finds with -lNAME.
   16710 library_names_spec=$lt_library_names_spec
   16711 
   16712 # The coded name of the library, if different from the real name.
   16713 soname_spec=$lt_soname_spec
   16714 
   16715 # Commands used to build and install an old-style archive.
   16716 RANLIB=$lt_RANLIB
   16717 old_archive_cmds=$lt_old_archive_cmds_F77
   16718 old_postinstall_cmds=$lt_old_postinstall_cmds
   16719 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16720 
   16721 # Create an old-style archive from a shared archive.
   16722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16723 
   16724 # Create a temporary old-style archive to link instead of a shared archive.
   16725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16726 
   16727 # Commands used to build and install a shared archive.
   16728 archive_cmds=$lt_archive_cmds_F77
   16729 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16730 postinstall_cmds=$lt_postinstall_cmds
   16731 postuninstall_cmds=$lt_postuninstall_cmds
   16732 
   16733 # Commands used to build a loadable module (assumed same as above if empty)
   16734 module_cmds=$lt_module_cmds_F77
   16735 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16736 
   16737 # Commands to strip libraries.
   16738 old_striplib=$lt_old_striplib
   16739 striplib=$lt_striplib
   16740 
   16741 # Dependencies to place before the objects being linked to create a
   16742 # shared library.
   16743 predep_objects=$lt_predep_objects_F77
   16744 
   16745 # Dependencies to place after the objects being linked to create a
   16746 # shared library.
   16747 postdep_objects=$lt_postdep_objects_F77
   16748 
   16749 # Dependencies to place before the objects being linked to create a
   16750 # shared library.
   16751 predeps=$lt_predeps_F77
   16752 
   16753 # Dependencies to place after the objects being linked to create a
   16754 # shared library.
   16755 postdeps=$lt_postdeps_F77
   16756 
   16757 # The directories searched by this compiler when creating a shared
   16758 # library
   16759 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16760 
   16761 # The library search path used internally by the compiler when linking
   16762 # a shared library.
   16763 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16764 
   16765 # Method to check whether dependent libraries are shared objects.
   16766 deplibs_check_method=$lt_deplibs_check_method
   16767 
   16768 # Command to use when deplibs_check_method == file_magic.
   16769 file_magic_cmd=$lt_file_magic_cmd
   16770 
   16771 # Flag that allows shared libraries with undefined symbols to be built.
   16772 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16773 
   16774 # Flag that forces no undefined symbols.
   16775 no_undefined_flag=$lt_no_undefined_flag_F77
   16776 
   16777 # Commands used to finish a libtool library installation in a directory.
   16778 finish_cmds=$lt_finish_cmds
   16779 
   16780 # Same as above, but a single script fragment to be evaled but not shown.
   16781 finish_eval=$lt_finish_eval
   16782 
   16783 # Take the output of nm and produce a listing of raw symbols and C names.
   16784 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16785 
   16786 # Transform the output of nm in a proper C declaration
   16787 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16788 
   16789 # Transform the output of nm in a C name address pair
   16790 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16791 
   16792 # This is the shared library runtime path variable.
   16793 runpath_var=$runpath_var
   16794 
   16795 # This is the shared library path variable.
   16796 shlibpath_var=$shlibpath_var
   16797 
   16798 # Is shlibpath searched before the hard-coded library search path?
   16799 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16800 
   16801 # How to hardcode a shared library path into an executable.
   16802 hardcode_action=$hardcode_action_F77
   16803 
   16804 # Whether we should hardcode library paths into libraries.
   16805 hardcode_into_libs=$hardcode_into_libs
   16806 
   16807 # Flag to hardcode \$libdir into a binary during linking.
   16808 # This must work even if \$libdir does not exist.
   16809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16810 
   16811 # If ld is used when linking, flag to hardcode \$libdir into
   16812 # a binary during linking. This must work even if \$libdir does
   16813 # not exist.
   16814 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16815 
   16816 # Whether we need a single -rpath flag with a separated argument.
   16817 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16818 
   16819 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16820 # resulting binary.
   16821 hardcode_direct=$hardcode_direct_F77
   16822 
   16823 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16824 # resulting binary.
   16825 hardcode_minus_L=$hardcode_minus_L_F77
   16826 
   16827 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16828 # the resulting binary.
   16829 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16830 
   16831 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16832 # and all subsequent libraries and executables linked against it.
   16833 hardcode_automatic=$hardcode_automatic_F77
   16834 
   16835 # Variables whose values should be saved in libtool wrapper scripts and
   16836 # restored at relink time.
   16837 variables_saved_for_relink="$variables_saved_for_relink"
   16838 
   16839 # Whether libtool must link a program against all its dependency libraries.
   16840 link_all_deplibs=$link_all_deplibs_F77
   16841 
   16842 # Compile-time system search path for libraries
   16843 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16844 
   16845 # Run-time system search path for libraries
   16846 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16847 
   16848 # Fix the shell variable \$srcfile for the compiler.
   16849 fix_srcfile_path=$lt_fix_srcfile_path
   16850 
   16851 # Set to yes if exported symbols are required.
   16852 always_export_symbols=$always_export_symbols_F77
   16853 
   16854 # The commands to list exported symbols.
   16855 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16856 
   16857 # The commands to extract the exported symbol list from a shared archive.
   16858 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16859 
   16860 # Symbols that should not be listed in the preloaded symbols.
   16861 exclude_expsyms=$lt_exclude_expsyms_F77
   16862 
   16863 # Symbols that must always be exported.
   16864 include_expsyms=$lt_include_expsyms_F77
   16865 
   16866 # ### END LIBTOOL TAG CONFIG: $tagname
   16867 
   16868 __EOF__
   16869 
   16870 
   16871 else
   16872   # If there is no Makefile yet, we rely on a make rule to execute
   16873   # `config.status --recheck' to rerun these tests and create the
   16874   # libtool script then.
   16875   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16876   if test -f "$ltmain_in"; then
   16877     test -f Makefile && make "$ltmain"
   16878   fi
   16879 fi
   16880 
   16881 
   16882 ac_ext=c
   16883 ac_cpp='$CPP $CPPFLAGS'
   16884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16887 
   16888 CC="$lt_save_CC"
   16889 
   16890 	else
   16891 	  tagname=""
   16892 	fi
   16893 	;;
   16894 
   16895       GCJ)
   16896 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16897 
   16898 
   16899 # Source file extension for Java test sources.
   16900 ac_ext=java
   16901 
   16902 # Object file extension for compiled Java test sources.
   16903 objext=o
   16904 objext_GCJ=$objext
   16905 
   16906 # Code to be used in simple compile tests
   16907 lt_simple_compile_test_code="class foo {}"
   16908 
   16909 # Code to be used in simple link tests
   16910 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16911 
   16912 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16913 
   16914 # If no C compiler was specified, use CC.
   16915 LTCC=${LTCC-"$CC"}
   16916 
   16917 # If no C compiler flags were specified, use CFLAGS.
   16918 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16919 
   16920 # Allow CC to be a program name with arguments.
   16921 compiler=$CC
   16922 
   16923 
   16924 # save warnings/boilerplate of simple test code
   16925 ac_outfile=conftest.$ac_objext
   16926 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16927 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16928 _lt_compiler_boilerplate=`cat conftest.err`
   16929 $rm conftest*
   16930 
   16931 ac_outfile=conftest.$ac_objext
   16932 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16933 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16934 _lt_linker_boilerplate=`cat conftest.err`
   16935 $rm -r conftest*
   16936 
   16937 
   16938 # Allow CC to be a program name with arguments.
   16939 lt_save_CC="$CC"
   16940 CC=${GCJ-"gcj"}
   16941 compiler=$CC
   16942 compiler_GCJ=$CC
   16943 for cc_temp in $compiler""; do
   16944   case $cc_temp in
   16945     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16946     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16947     \-*) ;;
   16948     *) break;;
   16949   esac
   16950 done
   16951 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16952 
   16953 
   16954 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16955 archive_cmds_need_lc_GCJ=no
   16956 
   16957 old_archive_cmds_GCJ=$old_archive_cmds
   16958 
   16959 
   16960 lt_prog_compiler_no_builtin_flag_GCJ=
   16961 
   16962 if test "$GCC" = yes; then
   16963   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16964 
   16965 
   16966 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16967 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16968 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16969   $as_echo_n "(cached) " >&6
   16970 else
   16971   lt_cv_prog_compiler_rtti_exceptions=no
   16972   ac_outfile=conftest.$ac_objext
   16973    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16974    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16975    # Insert the option either (1) after the last *FLAGS variable, or
   16976    # (2) before a word containing "conftest.", or (3) at the end.
   16977    # Note that $ac_compile itself does not contain backslashes and begins
   16978    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16979    # The option is referenced via a variable to avoid confusing sed.
   16980    lt_compile=`echo "$ac_compile" | $SED \
   16981    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16982    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16983    -e 's:$: $lt_compiler_flag:'`
   16984    (eval echo "\"\$as_me:16984: $lt_compile\"" >&5)
   16985    (eval "$lt_compile" 2>conftest.err)
   16986    ac_status=$?
   16987    cat conftest.err >&5
   16988    echo "$as_me:16988: \$? = $ac_status" >&5
   16989    if (exit $ac_status) && test -s "$ac_outfile"; then
   16990      # The compiler can only warn and ignore the option if not recognized
   16991      # So say no if there are warnings other than the usual output.
   16992      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16993      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16994      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16995        lt_cv_prog_compiler_rtti_exceptions=yes
   16996      fi
   16997    fi
   16998    $rm conftest*
   16999 
   17000 fi
   17001 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17002 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17003 
   17004 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17005     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17006 else
   17007     :
   17008 fi
   17009 
   17010 fi
   17011 
   17012 lt_prog_compiler_wl_GCJ=
   17013 lt_prog_compiler_pic_GCJ=
   17014 lt_prog_compiler_static_GCJ=
   17015 
   17016 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17017 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17018 
   17019   if test "$GCC" = yes; then
   17020     lt_prog_compiler_wl_GCJ='-Wl,'
   17021     lt_prog_compiler_static_GCJ='-static'
   17022 
   17023     case $host_os in
   17024       aix*)
   17025       # All AIX code is PIC.
   17026       if test "$host_cpu" = ia64; then
   17027 	# AIX 5 now supports IA64 processor
   17028 	lt_prog_compiler_static_GCJ='-Bstatic'
   17029       fi
   17030       ;;
   17031 
   17032     amigaos*)
   17033       # FIXME: we need at least 68020 code to build shared libraries, but
   17034       # adding the `-m68020' flag to GCC prevents building anything better,
   17035       # like `-m68040'.
   17036       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17037       ;;
   17038 
   17039     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17040       # PIC is the default for these OSes.
   17041       ;;
   17042 
   17043     mingw* | cygwin* | pw32* | os2*)
   17044       # This hack is so that the source file can tell whether it is being
   17045       # built for inclusion in a dll (and should export symbols for example).
   17046       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17047       # (--disable-auto-import) libraries
   17048 
   17049       ;;
   17050 
   17051     darwin* | rhapsody*)
   17052       # PIC is the default on this platform
   17053       # Common symbols not allowed in MH_DYLIB files
   17054       lt_prog_compiler_pic_GCJ='-fno-common'
   17055       ;;
   17056 
   17057     interix[3-9]*)
   17058       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17059       # Instead, we relocate shared libraries at runtime.
   17060       ;;
   17061 
   17062     msdosdjgpp*)
   17063       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17064       # on systems that don't support them.
   17065       lt_prog_compiler_can_build_shared_GCJ=no
   17066       enable_shared=no
   17067       ;;
   17068 
   17069     sysv4*MP*)
   17070       if test -d /usr/nec; then
   17071 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17072       fi
   17073       ;;
   17074 
   17075     hpux*)
   17076       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17077       # not for PA HP-UX.
   17078       case $host_cpu in
   17079       hppa*64*|ia64*)
   17080 	# +Z the default
   17081 	;;
   17082       *)
   17083 	lt_prog_compiler_pic_GCJ='-fPIC'
   17084 	;;
   17085       esac
   17086       ;;
   17087 
   17088     *)
   17089       lt_prog_compiler_pic_GCJ='-fPIC'
   17090       ;;
   17091     esac
   17092   else
   17093     # PORTME Check for flag to pass linker flags through the system compiler.
   17094     case $host_os in
   17095     aix*)
   17096       lt_prog_compiler_wl_GCJ='-Wl,'
   17097       if test "$host_cpu" = ia64; then
   17098 	# AIX 5 now supports IA64 processor
   17099 	lt_prog_compiler_static_GCJ='-Bstatic'
   17100       else
   17101 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17102       fi
   17103       ;;
   17104       darwin*)
   17105         # PIC is the default on this platform
   17106         # Common symbols not allowed in MH_DYLIB files
   17107        case $cc_basename in
   17108          xlc*)
   17109          lt_prog_compiler_pic_GCJ='-qnocommon'
   17110          lt_prog_compiler_wl_GCJ='-Wl,'
   17111          ;;
   17112        esac
   17113        ;;
   17114 
   17115     mingw* | cygwin* | pw32* | os2*)
   17116       # This hack is so that the source file can tell whether it is being
   17117       # built for inclusion in a dll (and should export symbols for example).
   17118 
   17119       ;;
   17120 
   17121     hpux9* | hpux10* | hpux11*)
   17122       lt_prog_compiler_wl_GCJ='-Wl,'
   17123       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17124       # not for PA HP-UX.
   17125       case $host_cpu in
   17126       hppa*64*|ia64*)
   17127 	# +Z the default
   17128 	;;
   17129       *)
   17130 	lt_prog_compiler_pic_GCJ='+Z'
   17131 	;;
   17132       esac
   17133       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17134       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17135       ;;
   17136 
   17137     irix5* | irix6* | nonstopux*)
   17138       lt_prog_compiler_wl_GCJ='-Wl,'
   17139       # PIC (with -KPIC) is the default.
   17140       lt_prog_compiler_static_GCJ='-non_shared'
   17141       ;;
   17142 
   17143     newsos6)
   17144       lt_prog_compiler_pic_GCJ='-KPIC'
   17145       lt_prog_compiler_static_GCJ='-Bstatic'
   17146       ;;
   17147 
   17148     linux* | k*bsd*-gnu)
   17149       case $cc_basename in
   17150       icc* | ecc*)
   17151 	lt_prog_compiler_wl_GCJ='-Wl,'
   17152 	lt_prog_compiler_pic_GCJ='-KPIC'
   17153 	lt_prog_compiler_static_GCJ='-static'
   17154         ;;
   17155       pgcc* | pgf77* | pgf90* | pgf95*)
   17156         # Portland Group compilers (*not* the Pentium gcc compiler,
   17157 	# which looks to be a dead project)
   17158 	lt_prog_compiler_wl_GCJ='-Wl,'
   17159 	lt_prog_compiler_pic_GCJ='-fpic'
   17160 	lt_prog_compiler_static_GCJ='-Bstatic'
   17161         ;;
   17162       ccc*)
   17163         lt_prog_compiler_wl_GCJ='-Wl,'
   17164         # All Alpha code is PIC.
   17165         lt_prog_compiler_static_GCJ='-non_shared'
   17166         ;;
   17167       *)
   17168         case `$CC -V 2>&1 | sed 5q` in
   17169 	*Sun\ C*)
   17170 	  # Sun C 5.9
   17171 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17172 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17173 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17174 	  ;;
   17175 	*Sun\ F*)
   17176 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17177 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17178 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17179 	  lt_prog_compiler_wl_GCJ=''
   17180 	  ;;
   17181 	esac
   17182 	;;
   17183       esac
   17184       ;;
   17185 
   17186     osf3* | osf4* | osf5*)
   17187       lt_prog_compiler_wl_GCJ='-Wl,'
   17188       # All OSF/1 code is PIC.
   17189       lt_prog_compiler_static_GCJ='-non_shared'
   17190       ;;
   17191 
   17192     rdos*)
   17193       lt_prog_compiler_static_GCJ='-non_shared'
   17194       ;;
   17195 
   17196     solaris*)
   17197       lt_prog_compiler_pic_GCJ='-KPIC'
   17198       lt_prog_compiler_static_GCJ='-Bstatic'
   17199       case $cc_basename in
   17200       f77* | f90* | f95*)
   17201 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17202       *)
   17203 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17204       esac
   17205       ;;
   17206 
   17207     sunos4*)
   17208       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17209       lt_prog_compiler_pic_GCJ='-PIC'
   17210       lt_prog_compiler_static_GCJ='-Bstatic'
   17211       ;;
   17212 
   17213     sysv4 | sysv4.2uw2* | sysv4.3*)
   17214       lt_prog_compiler_wl_GCJ='-Wl,'
   17215       lt_prog_compiler_pic_GCJ='-KPIC'
   17216       lt_prog_compiler_static_GCJ='-Bstatic'
   17217       ;;
   17218 
   17219     sysv4*MP*)
   17220       if test -d /usr/nec ;then
   17221 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17222 	lt_prog_compiler_static_GCJ='-Bstatic'
   17223       fi
   17224       ;;
   17225 
   17226     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17227       lt_prog_compiler_wl_GCJ='-Wl,'
   17228       lt_prog_compiler_pic_GCJ='-KPIC'
   17229       lt_prog_compiler_static_GCJ='-Bstatic'
   17230       ;;
   17231 
   17232     unicos*)
   17233       lt_prog_compiler_wl_GCJ='-Wl,'
   17234       lt_prog_compiler_can_build_shared_GCJ=no
   17235       ;;
   17236 
   17237     uts4*)
   17238       lt_prog_compiler_pic_GCJ='-pic'
   17239       lt_prog_compiler_static_GCJ='-Bstatic'
   17240       ;;
   17241 
   17242     *)
   17243       lt_prog_compiler_can_build_shared_GCJ=no
   17244       ;;
   17245     esac
   17246   fi
   17247 
   17248 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17249 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17250 
   17251 #
   17252 # Check to make sure the PIC flag actually works.
   17253 #
   17254 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17255 
   17256 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17257 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17258 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17259   $as_echo_n "(cached) " >&6
   17260 else
   17261   lt_cv_prog_compiler_pic_works_GCJ=no
   17262   ac_outfile=conftest.$ac_objext
   17263    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17264    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17265    # Insert the option either (1) after the last *FLAGS variable, or
   17266    # (2) before a word containing "conftest.", or (3) at the end.
   17267    # Note that $ac_compile itself does not contain backslashes and begins
   17268    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17269    # The option is referenced via a variable to avoid confusing sed.
   17270    lt_compile=`echo "$ac_compile" | $SED \
   17271    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17272    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17273    -e 's:$: $lt_compiler_flag:'`
   17274    (eval echo "\"\$as_me:17274: $lt_compile\"" >&5)
   17275    (eval "$lt_compile" 2>conftest.err)
   17276    ac_status=$?
   17277    cat conftest.err >&5
   17278    echo "$as_me:17278: \$? = $ac_status" >&5
   17279    if (exit $ac_status) && test -s "$ac_outfile"; then
   17280      # The compiler can only warn and ignore the option if not recognized
   17281      # So say no if there are warnings other than the usual output.
   17282      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17283      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17284      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17285        lt_cv_prog_compiler_pic_works_GCJ=yes
   17286      fi
   17287    fi
   17288    $rm conftest*
   17289 
   17290 fi
   17291 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17292 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17293 
   17294 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17295     case $lt_prog_compiler_pic_GCJ in
   17296      "" | " "*) ;;
   17297      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17298      esac
   17299 else
   17300     lt_prog_compiler_pic_GCJ=
   17301      lt_prog_compiler_can_build_shared_GCJ=no
   17302 fi
   17303 
   17304 fi
   17305 case $host_os in
   17306   # For platforms which do not support PIC, -DPIC is meaningless:
   17307   *djgpp*)
   17308     lt_prog_compiler_pic_GCJ=
   17309     ;;
   17310   *)
   17311     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17312     ;;
   17313 esac
   17314 
   17315 #
   17316 # Check to make sure the static flag actually works.
   17317 #
   17318 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17319 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17320 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17321 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17322   $as_echo_n "(cached) " >&6
   17323 else
   17324   lt_cv_prog_compiler_static_works_GCJ=no
   17325    save_LDFLAGS="$LDFLAGS"
   17326    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17327    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17328    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17329      # The linker can only warn and ignore the option if not recognized
   17330      # So say no if there are warnings
   17331      if test -s conftest.err; then
   17332        # Append any errors to the config.log.
   17333        cat conftest.err 1>&5
   17334        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17335        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17336        if diff conftest.exp conftest.er2 >/dev/null; then
   17337          lt_cv_prog_compiler_static_works_GCJ=yes
   17338        fi
   17339      else
   17340        lt_cv_prog_compiler_static_works_GCJ=yes
   17341      fi
   17342    fi
   17343    $rm -r conftest*
   17344    LDFLAGS="$save_LDFLAGS"
   17345 
   17346 fi
   17347 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17348 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17349 
   17350 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17351     :
   17352 else
   17353     lt_prog_compiler_static_GCJ=
   17354 fi
   17355 
   17356 
   17357 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17358 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17359 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17360   $as_echo_n "(cached) " >&6
   17361 else
   17362   lt_cv_prog_compiler_c_o_GCJ=no
   17363    $rm -r conftest 2>/dev/null
   17364    mkdir conftest
   17365    cd conftest
   17366    mkdir out
   17367    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17368 
   17369    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17370    # Insert the option either (1) after the last *FLAGS variable, or
   17371    # (2) before a word containing "conftest.", or (3) at the end.
   17372    # Note that $ac_compile itself does not contain backslashes and begins
   17373    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17374    lt_compile=`echo "$ac_compile" | $SED \
   17375    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17376    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17377    -e 's:$: $lt_compiler_flag:'`
   17378    (eval echo "\"\$as_me:17378: $lt_compile\"" >&5)
   17379    (eval "$lt_compile" 2>out/conftest.err)
   17380    ac_status=$?
   17381    cat out/conftest.err >&5
   17382    echo "$as_me:17382: \$? = $ac_status" >&5
   17383    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17384    then
   17385      # The compiler can only warn and ignore the option if not recognized
   17386      # So say no if there are warnings
   17387      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17388      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17389      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17390        lt_cv_prog_compiler_c_o_GCJ=yes
   17391      fi
   17392    fi
   17393    chmod u+w . 2>&5
   17394    $rm conftest*
   17395    # SGI C++ compiler will create directory out/ii_files/ for
   17396    # template instantiation
   17397    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17398    $rm out/* && rmdir out
   17399    cd ..
   17400    rmdir conftest
   17401    $rm conftest*
   17402 
   17403 fi
   17404 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17405 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17406 
   17407 
   17408 hard_links="nottested"
   17409 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17410   # do not overwrite the value of need_locks provided by the user
   17411   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17412 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17413   hard_links=yes
   17414   $rm conftest*
   17415   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17416   touch conftest.a
   17417   ln conftest.a conftest.b 2>&5 || hard_links=no
   17418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17419   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17420 $as_echo "$hard_links" >&6; }
   17421   if test "$hard_links" = no; then
   17422     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17423 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17424     need_locks=warn
   17425   fi
   17426 else
   17427   need_locks=no
   17428 fi
   17429 
   17430 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17431 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17432 
   17433   runpath_var=
   17434   allow_undefined_flag_GCJ=
   17435   enable_shared_with_static_runtimes_GCJ=no
   17436   archive_cmds_GCJ=
   17437   archive_expsym_cmds_GCJ=
   17438   old_archive_From_new_cmds_GCJ=
   17439   old_archive_from_expsyms_cmds_GCJ=
   17440   export_dynamic_flag_spec_GCJ=
   17441   whole_archive_flag_spec_GCJ=
   17442   thread_safe_flag_spec_GCJ=
   17443   hardcode_libdir_flag_spec_GCJ=
   17444   hardcode_libdir_flag_spec_ld_GCJ=
   17445   hardcode_libdir_separator_GCJ=
   17446   hardcode_direct_GCJ=no
   17447   hardcode_minus_L_GCJ=no
   17448   hardcode_shlibpath_var_GCJ=unsupported
   17449   link_all_deplibs_GCJ=unknown
   17450   hardcode_automatic_GCJ=no
   17451   module_cmds_GCJ=
   17452   module_expsym_cmds_GCJ=
   17453   always_export_symbols_GCJ=no
   17454   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17455   # include_expsyms should be a list of space-separated symbols to be *always*
   17456   # included in the symbol list
   17457   include_expsyms_GCJ=
   17458   # exclude_expsyms can be an extended regexp of symbols to exclude
   17459   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17460   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17461   # as well as any symbol that contains `d'.
   17462   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17463   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17464   # platforms (ab)use it in PIC code, but their linkers get confused if
   17465   # the symbol is explicitly referenced.  Since portable code cannot
   17466   # rely on this symbol name, it's probably fine to never include it in
   17467   # preloaded symbol tables.
   17468   # Exclude shared library initialization/finalization symbols.
   17469   extract_expsyms_cmds=
   17470   # Just being paranoid about ensuring that cc_basename is set.
   17471   for cc_temp in $compiler""; do
   17472   case $cc_temp in
   17473     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17474     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17475     \-*) ;;
   17476     *) break;;
   17477   esac
   17478 done
   17479 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17480 
   17481   case $host_os in
   17482   cygwin* | mingw* | pw32*)
   17483     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17484     # When not using gcc, we currently assume that we are using
   17485     # Microsoft Visual C++.
   17486     if test "$GCC" != yes; then
   17487       with_gnu_ld=no
   17488     fi
   17489     ;;
   17490   interix*)
   17491     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17492     with_gnu_ld=yes
   17493     ;;
   17494   openbsd*)
   17495     with_gnu_ld=no
   17496     ;;
   17497   esac
   17498 
   17499   ld_shlibs_GCJ=yes
   17500   if test "$with_gnu_ld" = yes; then
   17501     # If archive_cmds runs LD, not CC, wlarc should be empty
   17502     wlarc='${wl}'
   17503 
   17504     # Set some defaults for GNU ld with shared library support. These
   17505     # are reset later if shared libraries are not supported. Putting them
   17506     # here allows them to be overridden if necessary.
   17507     runpath_var=LD_RUN_PATH
   17508     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17509     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17510     # ancient GNU ld didn't support --whole-archive et. al.
   17511     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17512 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17513       else
   17514   	whole_archive_flag_spec_GCJ=
   17515     fi
   17516     supports_anon_versioning=no
   17517     case `$LD -v 2>/dev/null` in
   17518       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17519       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17520       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17521       *\ 2.11.*) ;; # other 2.11 versions
   17522       *) supports_anon_versioning=yes ;;
   17523     esac
   17524 
   17525     # See if GNU ld supports shared libraries.
   17526     case $host_os in
   17527     aix[3-9]*)
   17528       # On AIX/PPC, the GNU linker is very broken
   17529       if test "$host_cpu" != ia64; then
   17530 	ld_shlibs_GCJ=no
   17531 	cat <<EOF 1>&2
   17532 
   17533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17534 *** to be unable to reliably create shared libraries on AIX.
   17535 *** Therefore, libtool is disabling shared libraries support.  If you
   17536 *** really care for shared libraries, you may want to modify your PATH
   17537 *** so that a non-GNU linker is found, and then restart.
   17538 
   17539 EOF
   17540       fi
   17541       ;;
   17542 
   17543     amigaos*)
   17544       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)'
   17545       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17546       hardcode_minus_L_GCJ=yes
   17547 
   17548       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17549       # that the semantics of dynamic libraries on AmigaOS, at least up
   17550       # to version 4, is to share data among multiple programs linked
   17551       # with the same dynamic library.  Since this doesn't match the
   17552       # behavior of shared libraries on other platforms, we can't use
   17553       # them.
   17554       ld_shlibs_GCJ=no
   17555       ;;
   17556 
   17557     beos*)
   17558       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17559 	allow_undefined_flag_GCJ=unsupported
   17560 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17561 	# support --undefined.  This deserves some investigation.  FIXME
   17562 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17563       else
   17564 	ld_shlibs_GCJ=no
   17565       fi
   17566       ;;
   17567 
   17568     cygwin* | mingw* | pw32*)
   17569       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17570       # as there is no search path for DLLs.
   17571       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17572       allow_undefined_flag_GCJ=unsupported
   17573       always_export_symbols_GCJ=no
   17574       enable_shared_with_static_runtimes_GCJ=yes
   17575       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17576 
   17577       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17578         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17579 	# If the export-symbols file already is a .def file (1st line
   17580 	# is EXPORTS), use it as is; otherwise, prepend...
   17581 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17582 	  cp $export_symbols $output_objdir/$soname.def;
   17583 	else
   17584 	  echo EXPORTS > $output_objdir/$soname.def;
   17585 	  cat $export_symbols >> $output_objdir/$soname.def;
   17586 	fi~
   17587 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17588       else
   17589 	ld_shlibs_GCJ=no
   17590       fi
   17591       ;;
   17592 
   17593     interix[3-9]*)
   17594       hardcode_direct_GCJ=no
   17595       hardcode_shlibpath_var_GCJ=no
   17596       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17597       export_dynamic_flag_spec_GCJ='${wl}-E'
   17598       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17599       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17600       # default) and relocated if they conflict, which is a slow very memory
   17601       # consuming and fragmenting process.  To avoid this, we pick a random,
   17602       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17603       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17604       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'
   17605       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'
   17606       ;;
   17607 
   17608     gnu* | linux* | k*bsd*-gnu)
   17609       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17610 	tmp_addflag=
   17611 	case $cc_basename,$host_cpu in
   17612 	pgcc*)				# Portland Group C compiler
   17613 	  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'
   17614 	  tmp_addflag=' $pic_flag'
   17615 	  ;;
   17616 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17617 	  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'
   17618 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17619 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17620 	  tmp_addflag=' -i_dynamic' ;;
   17621 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17622 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17623 	ifc* | ifort*)			# Intel Fortran compiler
   17624 	  tmp_addflag=' -nofor_main' ;;
   17625 	esac
   17626 	case `$CC -V 2>&1 | sed 5q` in
   17627 	*Sun\ C*)			# Sun C 5.9
   17628 	  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'
   17629 	  tmp_sharedflag='-G' ;;
   17630 	*Sun\ F*)			# Sun Fortran 8.3
   17631 	  tmp_sharedflag='-G' ;;
   17632 	*)
   17633 	  tmp_sharedflag='-shared' ;;
   17634 	esac
   17635 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17636 
   17637 	if test $supports_anon_versioning = yes; then
   17638 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17639   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17640   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17641 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17642 	fi
   17643       else
   17644 	ld_shlibs_GCJ=no
   17645       fi
   17646       ;;
   17647 
   17648     netbsd*)
   17649       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17650 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17651 	wlarc=
   17652       else
   17653 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17654 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17655       fi
   17656       ;;
   17657 
   17658     solaris*)
   17659       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17660 	ld_shlibs_GCJ=no
   17661 	cat <<EOF 1>&2
   17662 
   17663 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17664 *** create shared libraries on Solaris systems.  Therefore, libtool
   17665 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17666 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17667 *** your PATH or compiler configuration so that the native linker is
   17668 *** used, and then restart.
   17669 
   17670 EOF
   17671       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17672 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17673 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17674       else
   17675 	ld_shlibs_GCJ=no
   17676       fi
   17677       ;;
   17678 
   17679     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17680       case `$LD -v 2>&1` in
   17681         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17682 	ld_shlibs_GCJ=no
   17683 	cat <<_LT_EOF 1>&2
   17684 
   17685 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17686 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17687 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17688 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17689 *** your PATH or compiler configuration so that the native linker is
   17690 *** used, and then restart.
   17691 
   17692 _LT_EOF
   17693 	;;
   17694 	*)
   17695 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17696 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17697 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17698 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17699 	  else
   17700 	    ld_shlibs_GCJ=no
   17701 	  fi
   17702 	;;
   17703       esac
   17704       ;;
   17705 
   17706     sunos4*)
   17707       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17708       wlarc=
   17709       hardcode_direct_GCJ=yes
   17710       hardcode_shlibpath_var_GCJ=no
   17711       ;;
   17712 
   17713     *)
   17714       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17715 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17716 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17717       else
   17718 	ld_shlibs_GCJ=no
   17719       fi
   17720       ;;
   17721     esac
   17722 
   17723     if test "$ld_shlibs_GCJ" = no; then
   17724       runpath_var=
   17725       hardcode_libdir_flag_spec_GCJ=
   17726       export_dynamic_flag_spec_GCJ=
   17727       whole_archive_flag_spec_GCJ=
   17728     fi
   17729   else
   17730     # PORTME fill in a description of your system's linker (not GNU ld)
   17731     case $host_os in
   17732     aix3*)
   17733       allow_undefined_flag_GCJ=unsupported
   17734       always_export_symbols_GCJ=yes
   17735       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'
   17736       # Note: this linker hardcodes the directories in LIBPATH if there
   17737       # are no directories specified by -L.
   17738       hardcode_minus_L_GCJ=yes
   17739       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17740 	# Neither direct hardcoding nor static linking is supported with a
   17741 	# broken collect2.
   17742 	hardcode_direct_GCJ=unsupported
   17743       fi
   17744       ;;
   17745 
   17746     aix[4-9]*)
   17747       if test "$host_cpu" = ia64; then
   17748 	# On IA64, the linker does run time linking by default, so we don't
   17749 	# have to do anything special.
   17750 	aix_use_runtimelinking=no
   17751 	exp_sym_flag='-Bexport'
   17752 	no_entry_flag=""
   17753       else
   17754 	# If we're using GNU nm, then we don't want the "-C" option.
   17755 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17756 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17757 	  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'
   17758 	else
   17759 	  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'
   17760 	fi
   17761 	aix_use_runtimelinking=no
   17762 
   17763 	# Test if we are trying to use run time linking or normal
   17764 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17765 	# need to do runtime linking.
   17766 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17767 	  for ld_flag in $LDFLAGS; do
   17768   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17769   	    aix_use_runtimelinking=yes
   17770   	    break
   17771   	  fi
   17772 	  done
   17773 	  ;;
   17774 	esac
   17775 
   17776 	exp_sym_flag='-bexport'
   17777 	no_entry_flag='-bnoentry'
   17778       fi
   17779 
   17780       # When large executables or shared objects are built, AIX ld can
   17781       # have problems creating the table of contents.  If linking a library
   17782       # or program results in "error TOC overflow" add -mminimal-toc to
   17783       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17784       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17785 
   17786       archive_cmds_GCJ=''
   17787       hardcode_direct_GCJ=yes
   17788       hardcode_libdir_separator_GCJ=':'
   17789       link_all_deplibs_GCJ=yes
   17790 
   17791       if test "$GCC" = yes; then
   17792 	case $host_os in aix4.[012]|aix4.[012].*)
   17793 	# We only want to do this on AIX 4.2 and lower, the check
   17794 	# below for broken collect2 doesn't work under 4.3+
   17795 	  collect2name=`${CC} -print-prog-name=collect2`
   17796 	  if test -f "$collect2name" && \
   17797   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17798 	  then
   17799   	  # We have reworked collect2
   17800   	  :
   17801 	  else
   17802   	  # We have old collect2
   17803   	  hardcode_direct_GCJ=unsupported
   17804   	  # It fails to find uninstalled libraries when the uninstalled
   17805   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17806   	  # to unsupported forces relinking
   17807   	  hardcode_minus_L_GCJ=yes
   17808   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17809   	  hardcode_libdir_separator_GCJ=
   17810 	  fi
   17811 	  ;;
   17812 	esac
   17813 	shared_flag='-shared'
   17814 	if test "$aix_use_runtimelinking" = yes; then
   17815 	  shared_flag="$shared_flag "'${wl}-G'
   17816 	fi
   17817       else
   17818 	# not using gcc
   17819 	if test "$host_cpu" = ia64; then
   17820   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17821   	# chokes on -Wl,-G. The following line is correct:
   17822 	  shared_flag='-G'
   17823 	else
   17824 	  if test "$aix_use_runtimelinking" = yes; then
   17825 	    shared_flag='${wl}-G'
   17826 	  else
   17827 	    shared_flag='${wl}-bM:SRE'
   17828 	  fi
   17829 	fi
   17830       fi
   17831 
   17832       # It seems that -bexpall does not export symbols beginning with
   17833       # underscore (_), so it is better to generate a list of symbols to export.
   17834       always_export_symbols_GCJ=yes
   17835       if test "$aix_use_runtimelinking" = yes; then
   17836 	# Warning - without using the other runtime loading flags (-brtl),
   17837 	# -berok will link without error, but may produce a broken library.
   17838 	allow_undefined_flag_GCJ='-berok'
   17839        # Determine the default libpath from the value encoded in an empty executable.
   17840        cat >conftest.$ac_ext <<_ACEOF
   17841 /* confdefs.h.  */
   17842 _ACEOF
   17843 cat confdefs.h >>conftest.$ac_ext
   17844 cat >>conftest.$ac_ext <<_ACEOF
   17845 /* end confdefs.h.  */
   17846 
   17847 int
   17848 main ()
   17849 {
   17850 
   17851   ;
   17852   return 0;
   17853 }
   17854 _ACEOF
   17855 rm -f conftest.$ac_objext conftest$ac_exeext
   17856 if { (ac_try="$ac_link"
   17857 case "(($ac_try" in
   17858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17859   *) ac_try_echo=$ac_try;;
   17860 esac
   17861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17862 $as_echo "$ac_try_echo") >&5
   17863   (eval "$ac_link") 2>conftest.er1
   17864   ac_status=$?
   17865   grep -v '^ *+' conftest.er1 >conftest.err
   17866   rm -f conftest.er1
   17867   cat conftest.err >&5
   17868   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17869   (exit $ac_status); } && {
   17870 	 test -z "$ac_c_werror_flag" ||
   17871 	 test ! -s conftest.err
   17872        } && test -s conftest$ac_exeext && {
   17873 	 test "$cross_compiling" = yes ||
   17874 	 $as_test_x conftest$ac_exeext
   17875        }; then
   17876 
   17877 lt_aix_libpath_sed='
   17878     /Import File Strings/,/^$/ {
   17879 	/^0/ {
   17880 	    s/^0  *\(.*\)$/\1/
   17881 	    p
   17882 	}
   17883     }'
   17884 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17885 # Check for a 64-bit object if we didn't find anything.
   17886 if test -z "$aix_libpath"; then
   17887   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17888 fi
   17889 else
   17890   $as_echo "$as_me: failed program was:" >&5
   17891 sed 's/^/| /' conftest.$ac_ext >&5
   17892 
   17893 
   17894 fi
   17895 
   17896 rm -rf conftest.dSYM
   17897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17898       conftest$ac_exeext conftest.$ac_ext
   17899 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17900 
   17901        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17902 	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"
   17903        else
   17904 	if test "$host_cpu" = ia64; then
   17905 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17906 	  allow_undefined_flag_GCJ="-z nodefs"
   17907 	  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"
   17908 	else
   17909 	 # Determine the default libpath from the value encoded in an empty executable.
   17910 	 cat >conftest.$ac_ext <<_ACEOF
   17911 /* confdefs.h.  */
   17912 _ACEOF
   17913 cat confdefs.h >>conftest.$ac_ext
   17914 cat >>conftest.$ac_ext <<_ACEOF
   17915 /* end confdefs.h.  */
   17916 
   17917 int
   17918 main ()
   17919 {
   17920 
   17921   ;
   17922   return 0;
   17923 }
   17924 _ACEOF
   17925 rm -f conftest.$ac_objext conftest$ac_exeext
   17926 if { (ac_try="$ac_link"
   17927 case "(($ac_try" in
   17928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17929   *) ac_try_echo=$ac_try;;
   17930 esac
   17931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17932 $as_echo "$ac_try_echo") >&5
   17933   (eval "$ac_link") 2>conftest.er1
   17934   ac_status=$?
   17935   grep -v '^ *+' conftest.er1 >conftest.err
   17936   rm -f conftest.er1
   17937   cat conftest.err >&5
   17938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17939   (exit $ac_status); } && {
   17940 	 test -z "$ac_c_werror_flag" ||
   17941 	 test ! -s conftest.err
   17942        } && test -s conftest$ac_exeext && {
   17943 	 test "$cross_compiling" = yes ||
   17944 	 $as_test_x conftest$ac_exeext
   17945        }; then
   17946 
   17947 lt_aix_libpath_sed='
   17948     /Import File Strings/,/^$/ {
   17949 	/^0/ {
   17950 	    s/^0  *\(.*\)$/\1/
   17951 	    p
   17952 	}
   17953     }'
   17954 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17955 # Check for a 64-bit object if we didn't find anything.
   17956 if test -z "$aix_libpath"; then
   17957   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17958 fi
   17959 else
   17960   $as_echo "$as_me: failed program was:" >&5
   17961 sed 's/^/| /' conftest.$ac_ext >&5
   17962 
   17963 
   17964 fi
   17965 
   17966 rm -rf conftest.dSYM
   17967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17968       conftest$ac_exeext conftest.$ac_ext
   17969 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17970 
   17971 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17972 	  # Warning - without using the other run time loading flags,
   17973 	  # -berok will link without error, but may produce a broken library.
   17974 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17975 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17976 	  # Exported symbols can be pulled into shared objects from archives
   17977 	  whole_archive_flag_spec_GCJ='$convenience'
   17978 	  archive_cmds_need_lc_GCJ=yes
   17979 	  # This is similar to how AIX traditionally builds its shared libraries.
   17980 	  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'
   17981 	fi
   17982       fi
   17983       ;;
   17984 
   17985     amigaos*)
   17986       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)'
   17987       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17988       hardcode_minus_L_GCJ=yes
   17989       # see comment about different semantics on the GNU ld section
   17990       ld_shlibs_GCJ=no
   17991       ;;
   17992 
   17993     bsdi[45]*)
   17994       export_dynamic_flag_spec_GCJ=-rdynamic
   17995       ;;
   17996 
   17997     cygwin* | mingw* | pw32*)
   17998       # When not using gcc, we currently assume that we are using
   17999       # Microsoft Visual C++.
   18000       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18001       # no search path for DLLs.
   18002       hardcode_libdir_flag_spec_GCJ=' '
   18003       allow_undefined_flag_GCJ=unsupported
   18004       # Tell ltmain to make .lib files, not .a files.
   18005       libext=lib
   18006       # Tell ltmain to make .dll files, not .so files.
   18007       shrext_cmds=".dll"
   18008       # FIXME: Setting linknames here is a bad hack.
   18009       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18010       # The linker will automatically build a .lib file if we build a DLL.
   18011       old_archive_From_new_cmds_GCJ='true'
   18012       # FIXME: Should let the user specify the lib program.
   18013       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18014       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18015       enable_shared_with_static_runtimes_GCJ=yes
   18016       ;;
   18017 
   18018     darwin* | rhapsody*)
   18019       case $host_os in
   18020         rhapsody* | darwin1.[012])
   18021          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18022          ;;
   18023        *) # Darwin 1.3 on
   18024          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18025            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18026          else
   18027            case ${MACOSX_DEPLOYMENT_TARGET} in
   18028              10.[012])
   18029                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18030                ;;
   18031              10.*)
   18032                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18033                ;;
   18034            esac
   18035          fi
   18036          ;;
   18037       esac
   18038       archive_cmds_need_lc_GCJ=no
   18039       hardcode_direct_GCJ=no
   18040       hardcode_automatic_GCJ=yes
   18041       hardcode_shlibpath_var_GCJ=unsupported
   18042       whole_archive_flag_spec_GCJ=''
   18043       link_all_deplibs_GCJ=yes
   18044     if test "$GCC" = yes ; then
   18045     	output_verbose_link_cmd='echo'
   18046         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}"
   18047         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18048         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}"
   18049         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}"
   18050     else
   18051       case $cc_basename in
   18052         xlc*)
   18053          output_verbose_link_cmd='echo'
   18054          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18055          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18056           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18057          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}'
   18058           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}'
   18059           ;;
   18060        *)
   18061          ld_shlibs_GCJ=no
   18062           ;;
   18063       esac
   18064     fi
   18065       ;;
   18066 
   18067     dgux*)
   18068       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18069       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18070       hardcode_shlibpath_var_GCJ=no
   18071       ;;
   18072 
   18073     freebsd1*)
   18074       ld_shlibs_GCJ=no
   18075       ;;
   18076 
   18077     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18078     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18079     # does not break anything, and helps significantly (at the cost of a little
   18080     # extra space).
   18081     freebsd2.2*)
   18082       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18083       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18084       hardcode_direct_GCJ=yes
   18085       hardcode_shlibpath_var_GCJ=no
   18086       ;;
   18087 
   18088     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18089     freebsd2*)
   18090       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18091       hardcode_direct_GCJ=yes
   18092       hardcode_minus_L_GCJ=yes
   18093       hardcode_shlibpath_var_GCJ=no
   18094       ;;
   18095 
   18096     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18097     freebsd* | dragonfly*)
   18098       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18099       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18100       hardcode_direct_GCJ=yes
   18101       hardcode_shlibpath_var_GCJ=no
   18102       ;;
   18103 
   18104     hpux9*)
   18105       if test "$GCC" = yes; then
   18106 	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'
   18107       else
   18108 	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'
   18109       fi
   18110       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18111       hardcode_libdir_separator_GCJ=:
   18112       hardcode_direct_GCJ=yes
   18113 
   18114       # hardcode_minus_L: Not really in the search PATH,
   18115       # but as the default location of the library.
   18116       hardcode_minus_L_GCJ=yes
   18117       export_dynamic_flag_spec_GCJ='${wl}-E'
   18118       ;;
   18119 
   18120     hpux10*)
   18121       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18122 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18123       else
   18124 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18125       fi
   18126       if test "$with_gnu_ld" = no; then
   18127 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18128 	hardcode_libdir_separator_GCJ=:
   18129 
   18130 	hardcode_direct_GCJ=yes
   18131 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18132 
   18133 	# hardcode_minus_L: Not really in the search PATH,
   18134 	# but as the default location of the library.
   18135 	hardcode_minus_L_GCJ=yes
   18136       fi
   18137       ;;
   18138 
   18139     hpux11*)
   18140       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18141 	case $host_cpu in
   18142 	hppa*64*)
   18143 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18144 	  ;;
   18145 	ia64*)
   18146 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18147 	  ;;
   18148 	*)
   18149 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18150 	  ;;
   18151 	esac
   18152       else
   18153 	case $host_cpu in
   18154 	hppa*64*)
   18155 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18156 	  ;;
   18157 	ia64*)
   18158 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18159 	  ;;
   18160 	*)
   18161 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18162 	  ;;
   18163 	esac
   18164       fi
   18165       if test "$with_gnu_ld" = no; then
   18166 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18167 	hardcode_libdir_separator_GCJ=:
   18168 
   18169 	case $host_cpu in
   18170 	hppa*64*|ia64*)
   18171 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18172 	  hardcode_direct_GCJ=no
   18173 	  hardcode_shlibpath_var_GCJ=no
   18174 	  ;;
   18175 	*)
   18176 	  hardcode_direct_GCJ=yes
   18177 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18178 
   18179 	  # hardcode_minus_L: Not really in the search PATH,
   18180 	  # but as the default location of the library.
   18181 	  hardcode_minus_L_GCJ=yes
   18182 	  ;;
   18183 	esac
   18184       fi
   18185       ;;
   18186 
   18187     irix5* | irix6* | nonstopux*)
   18188       if test "$GCC" = yes; then
   18189 	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'
   18190       else
   18191 	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'
   18192 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18193       fi
   18194       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18195       hardcode_libdir_separator_GCJ=:
   18196       link_all_deplibs_GCJ=yes
   18197       ;;
   18198 
   18199     netbsd*)
   18200       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18201 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18202       else
   18203 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18204       fi
   18205       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18206       hardcode_direct_GCJ=yes
   18207       hardcode_shlibpath_var_GCJ=no
   18208       ;;
   18209 
   18210     newsos6)
   18211       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18212       hardcode_direct_GCJ=yes
   18213       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18214       hardcode_libdir_separator_GCJ=:
   18215       hardcode_shlibpath_var_GCJ=no
   18216       ;;
   18217 
   18218     openbsd*)
   18219       if test -f /usr/libexec/ld.so; then
   18220 	hardcode_direct_GCJ=yes
   18221 	hardcode_shlibpath_var_GCJ=no
   18222 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18223 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18224 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18225 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18226 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18227 	else
   18228 	  case $host_os in
   18229 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18230 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18231 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18232 	     ;;
   18233 	   *)
   18234 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18235 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18236 	     ;;
   18237 	  esac
   18238         fi
   18239       else
   18240 	ld_shlibs_GCJ=no
   18241       fi
   18242       ;;
   18243 
   18244     os2*)
   18245       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18246       hardcode_minus_L_GCJ=yes
   18247       allow_undefined_flag_GCJ=unsupported
   18248       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'
   18249       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18250       ;;
   18251 
   18252     osf3*)
   18253       if test "$GCC" = yes; then
   18254 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18255 	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'
   18256       else
   18257 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18258 	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'
   18259       fi
   18260       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18261       hardcode_libdir_separator_GCJ=:
   18262       ;;
   18263 
   18264     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18265       if test "$GCC" = yes; then
   18266 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18267 	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'
   18268 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18269       else
   18270 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18271 	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'
   18272 	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~
   18273 	$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'
   18274 
   18275 	# Both c and cxx compiler support -rpath directly
   18276 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18277       fi
   18278       hardcode_libdir_separator_GCJ=:
   18279       ;;
   18280 
   18281     solaris*)
   18282       no_undefined_flag_GCJ=' -z text'
   18283       if test "$GCC" = yes; then
   18284 	wlarc='${wl}'
   18285 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18286 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18287 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18288       else
   18289 	wlarc=''
   18290 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18291 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18292   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18293       fi
   18294       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18295       hardcode_shlibpath_var_GCJ=no
   18296       case $host_os in
   18297       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18298       *)
   18299 	# The compiler driver will combine and reorder linker options,
   18300 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18301 	# but is careful enough not to reorder.
   18302  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18303 	if test "$GCC" = yes; then
   18304 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18305 	else
   18306 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18307 	fi
   18308 	;;
   18309       esac
   18310       link_all_deplibs_GCJ=yes
   18311       ;;
   18312 
   18313     sunos4*)
   18314       if test "x$host_vendor" = xsequent; then
   18315 	# Use $CC to link under sequent, because it throws in some extra .o
   18316 	# files that make .init and .fini sections work.
   18317 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18318       else
   18319 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18320       fi
   18321       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18322       hardcode_direct_GCJ=yes
   18323       hardcode_minus_L_GCJ=yes
   18324       hardcode_shlibpath_var_GCJ=no
   18325       ;;
   18326 
   18327     sysv4)
   18328       case $host_vendor in
   18329 	sni)
   18330 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18331 	  hardcode_direct_GCJ=yes # is this really true???
   18332 	;;
   18333 	siemens)
   18334 	  ## LD is ld it makes a PLAMLIB
   18335 	  ## CC just makes a GrossModule.
   18336 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18337 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18338 	  hardcode_direct_GCJ=no
   18339         ;;
   18340 	motorola)
   18341 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18342 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18343 	;;
   18344       esac
   18345       runpath_var='LD_RUN_PATH'
   18346       hardcode_shlibpath_var_GCJ=no
   18347       ;;
   18348 
   18349     sysv4.3*)
   18350       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18351       hardcode_shlibpath_var_GCJ=no
   18352       export_dynamic_flag_spec_GCJ='-Bexport'
   18353       ;;
   18354 
   18355     sysv4*MP*)
   18356       if test -d /usr/nec; then
   18357 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18358 	hardcode_shlibpath_var_GCJ=no
   18359 	runpath_var=LD_RUN_PATH
   18360 	hardcode_runpath_var=yes
   18361 	ld_shlibs_GCJ=yes
   18362       fi
   18363       ;;
   18364 
   18365     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18366       no_undefined_flag_GCJ='${wl}-z,text'
   18367       archive_cmds_need_lc_GCJ=no
   18368       hardcode_shlibpath_var_GCJ=no
   18369       runpath_var='LD_RUN_PATH'
   18370 
   18371       if test "$GCC" = yes; then
   18372 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18373 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18374       else
   18375 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18376 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18377       fi
   18378       ;;
   18379 
   18380     sysv5* | sco3.2v5* | sco5v6*)
   18381       # Note: We can NOT use -z defs as we might desire, because we do not
   18382       # link with -lc, and that would cause any symbols used from libc to
   18383       # always be unresolved, which means just about no library would
   18384       # ever link correctly.  If we're not using GNU ld we use -z text
   18385       # though, which does catch some bad symbols but isn't as heavy-handed
   18386       # as -z defs.
   18387       no_undefined_flag_GCJ='${wl}-z,text'
   18388       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18389       archive_cmds_need_lc_GCJ=no
   18390       hardcode_shlibpath_var_GCJ=no
   18391       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18392       hardcode_libdir_separator_GCJ=':'
   18393       link_all_deplibs_GCJ=yes
   18394       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18395       runpath_var='LD_RUN_PATH'
   18396 
   18397       if test "$GCC" = yes; then
   18398 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18399 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18400       else
   18401 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18402 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18403       fi
   18404       ;;
   18405 
   18406     uts4*)
   18407       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18408       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18409       hardcode_shlibpath_var_GCJ=no
   18410       ;;
   18411 
   18412     *)
   18413       ld_shlibs_GCJ=no
   18414       ;;
   18415     esac
   18416   fi
   18417 
   18418 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18419 $as_echo "$ld_shlibs_GCJ" >&6; }
   18420 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18421 
   18422 #
   18423 # Do we need to explicitly link libc?
   18424 #
   18425 case "x$archive_cmds_need_lc_GCJ" in
   18426 x|xyes)
   18427   # Assume -lc should be added
   18428   archive_cmds_need_lc_GCJ=yes
   18429 
   18430   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18431     case $archive_cmds_GCJ in
   18432     *'~'*)
   18433       # FIXME: we may have to deal with multi-command sequences.
   18434       ;;
   18435     '$CC '*)
   18436       # Test whether the compiler implicitly links with -lc since on some
   18437       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18438       # to ld, don't add -lc before -lgcc.
   18439       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18440 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18441       $rm conftest*
   18442       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18443 
   18444       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18445   (eval $ac_compile) 2>&5
   18446   ac_status=$?
   18447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18448   (exit $ac_status); } 2>conftest.err; then
   18449         soname=conftest
   18450         lib=conftest
   18451         libobjs=conftest.$ac_objext
   18452         deplibs=
   18453         wl=$lt_prog_compiler_wl_GCJ
   18454 	pic_flag=$lt_prog_compiler_pic_GCJ
   18455         compiler_flags=-v
   18456         linker_flags=-v
   18457         verstring=
   18458         output_objdir=.
   18459         libname=conftest
   18460         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18461         allow_undefined_flag_GCJ=
   18462         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18463   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18464   ac_status=$?
   18465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18466   (exit $ac_status); }
   18467         then
   18468 	  archive_cmds_need_lc_GCJ=no
   18469         else
   18470 	  archive_cmds_need_lc_GCJ=yes
   18471         fi
   18472         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18473       else
   18474         cat conftest.err 1>&5
   18475       fi
   18476       $rm conftest*
   18477       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18478 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18479       ;;
   18480     esac
   18481   fi
   18482   ;;
   18483 esac
   18484 
   18485 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18486 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18487 library_names_spec=
   18488 libname_spec='lib$name'
   18489 soname_spec=
   18490 shrext_cmds=".so"
   18491 postinstall_cmds=
   18492 postuninstall_cmds=
   18493 finish_cmds=
   18494 finish_eval=
   18495 shlibpath_var=
   18496 shlibpath_overrides_runpath=unknown
   18497 version_type=none
   18498 dynamic_linker="$host_os ld.so"
   18499 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18500 
   18501 need_lib_prefix=unknown
   18502 hardcode_into_libs=no
   18503 
   18504 # when you set need_version to no, make sure it does not cause -set_version
   18505 # flags to be left without arguments
   18506 need_version=unknown
   18507 
   18508 case $host_os in
   18509 aix3*)
   18510   version_type=linux
   18511   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18512   shlibpath_var=LIBPATH
   18513 
   18514   # AIX 3 has no versioning support, so we append a major version to the name.
   18515   soname_spec='${libname}${release}${shared_ext}$major'
   18516   ;;
   18517 
   18518 aix[4-9]*)
   18519   version_type=linux
   18520   need_lib_prefix=no
   18521   need_version=no
   18522   hardcode_into_libs=yes
   18523   if test "$host_cpu" = ia64; then
   18524     # AIX 5 supports IA64
   18525     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18526     shlibpath_var=LD_LIBRARY_PATH
   18527   else
   18528     # With GCC up to 2.95.x, collect2 would create an import file
   18529     # for dependence libraries.  The import file would start with
   18530     # the line `#! .'.  This would cause the generated library to
   18531     # depend on `.', always an invalid library.  This was fixed in
   18532     # development snapshots of GCC prior to 3.0.
   18533     case $host_os in
   18534       aix4 | aix4.[01] | aix4.[01].*)
   18535       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18536 	   echo ' yes '
   18537 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18538 	:
   18539       else
   18540 	can_build_shared=no
   18541       fi
   18542       ;;
   18543     esac
   18544     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18545     # soname into executable. Probably we can add versioning support to
   18546     # collect2, so additional links can be useful in future.
   18547     if test "$aix_use_runtimelinking" = yes; then
   18548       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18549       # instead of lib<name>.a to let people know that these are not
   18550       # typical AIX shared libraries.
   18551       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18552     else
   18553       # We preserve .a as extension for shared libraries through AIX4.2
   18554       # and later when we are not doing run time linking.
   18555       library_names_spec='${libname}${release}.a $libname.a'
   18556       soname_spec='${libname}${release}${shared_ext}$major'
   18557     fi
   18558     shlibpath_var=LIBPATH
   18559   fi
   18560   ;;
   18561 
   18562 amigaos*)
   18563   library_names_spec='$libname.ixlibrary $libname.a'
   18564   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18565   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'
   18566   ;;
   18567 
   18568 beos*)
   18569   library_names_spec='${libname}${shared_ext}'
   18570   dynamic_linker="$host_os ld.so"
   18571   shlibpath_var=LIBRARY_PATH
   18572   ;;
   18573 
   18574 bsdi[45]*)
   18575   version_type=linux
   18576   need_version=no
   18577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18578   soname_spec='${libname}${release}${shared_ext}$major'
   18579   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18580   shlibpath_var=LD_LIBRARY_PATH
   18581   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18582   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18583   # the default ld.so.conf also contains /usr/contrib/lib and
   18584   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18585   # libtool to hard-code these into programs
   18586   ;;
   18587 
   18588 cygwin* | mingw* | pw32*)
   18589   version_type=windows
   18590   shrext_cmds=".dll"
   18591   need_version=no
   18592   need_lib_prefix=no
   18593 
   18594   case $GCC,$host_os in
   18595   yes,cygwin* | yes,mingw* | yes,pw32*)
   18596     library_names_spec='$libname.dll.a'
   18597     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18598     postinstall_cmds='base_file=`basename \${file}`~
   18599       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18600       dldir=$destdir/`dirname \$dlpath`~
   18601       test -d \$dldir || mkdir -p \$dldir~
   18602       $install_prog $dir/$dlname \$dldir/$dlname~
   18603       chmod a+x \$dldir/$dlname'
   18604     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18605       dlpath=$dir/\$dldll~
   18606        $rm \$dlpath'
   18607     shlibpath_overrides_runpath=yes
   18608 
   18609     case $host_os in
   18610     cygwin*)
   18611       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18612       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18613       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18614       ;;
   18615     mingw*)
   18616       # MinGW DLLs use traditional 'lib' prefix
   18617       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18618       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18619       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18620         # It is most probably a Windows format PATH printed by
   18621         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18622         # path with ; separators, and with drive letters. We can handle the
   18623         # drive letters (cygwin fileutils understands them), so leave them,
   18624         # especially as we might pass files found there to a mingw objdump,
   18625         # which wouldn't understand a cygwinified path. Ahh.
   18626         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18627       else
   18628         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18629       fi
   18630       ;;
   18631     pw32*)
   18632       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18633       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18634       ;;
   18635     esac
   18636     ;;
   18637 
   18638   *)
   18639     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18640     ;;
   18641   esac
   18642   dynamic_linker='Win32 ld.exe'
   18643   # FIXME: first we should search . and the directory the executable is in
   18644   shlibpath_var=PATH
   18645   ;;
   18646 
   18647 darwin* | rhapsody*)
   18648   dynamic_linker="$host_os dyld"
   18649   version_type=darwin
   18650   need_lib_prefix=no
   18651   need_version=no
   18652   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18653   soname_spec='${libname}${release}${major}$shared_ext'
   18654   shlibpath_overrides_runpath=yes
   18655   shlibpath_var=DYLD_LIBRARY_PATH
   18656   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18657 
   18658   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18659   ;;
   18660 
   18661 dgux*)
   18662   version_type=linux
   18663   need_lib_prefix=no
   18664   need_version=no
   18665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18666   soname_spec='${libname}${release}${shared_ext}$major'
   18667   shlibpath_var=LD_LIBRARY_PATH
   18668   ;;
   18669 
   18670 freebsd1*)
   18671   dynamic_linker=no
   18672   ;;
   18673 
   18674 freebsd* | dragonfly*)
   18675   # DragonFly does not have aout.  When/if they implement a new
   18676   # versioning mechanism, adjust this.
   18677   if test -x /usr/bin/objformat; then
   18678     objformat=`/usr/bin/objformat`
   18679   else
   18680     case $host_os in
   18681     freebsd[123]*) objformat=aout ;;
   18682     *) objformat=elf ;;
   18683     esac
   18684   fi
   18685   version_type=freebsd-$objformat
   18686   case $version_type in
   18687     freebsd-elf*)
   18688       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18689       need_version=no
   18690       need_lib_prefix=no
   18691       ;;
   18692     freebsd-*)
   18693       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18694       need_version=yes
   18695       ;;
   18696   esac
   18697   shlibpath_var=LD_LIBRARY_PATH
   18698   case $host_os in
   18699   freebsd2*)
   18700     shlibpath_overrides_runpath=yes
   18701     ;;
   18702   freebsd3.[01]* | freebsdelf3.[01]*)
   18703     shlibpath_overrides_runpath=yes
   18704     hardcode_into_libs=yes
   18705     ;;
   18706   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18707   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18708     shlibpath_overrides_runpath=no
   18709     hardcode_into_libs=yes
   18710     ;;
   18711   *) # from 4.6 on, and DragonFly
   18712     shlibpath_overrides_runpath=yes
   18713     hardcode_into_libs=yes
   18714     ;;
   18715   esac
   18716   ;;
   18717 
   18718 gnu*)
   18719   version_type=linux
   18720   need_lib_prefix=no
   18721   need_version=no
   18722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18723   soname_spec='${libname}${release}${shared_ext}$major'
   18724   shlibpath_var=LD_LIBRARY_PATH
   18725   hardcode_into_libs=yes
   18726   ;;
   18727 
   18728 hpux9* | hpux10* | hpux11*)
   18729   # Give a soname corresponding to the major version so that dld.sl refuses to
   18730   # link against other versions.
   18731   version_type=sunos
   18732   need_lib_prefix=no
   18733   need_version=no
   18734   case $host_cpu in
   18735   ia64*)
   18736     shrext_cmds='.so'
   18737     hardcode_into_libs=yes
   18738     dynamic_linker="$host_os dld.so"
   18739     shlibpath_var=LD_LIBRARY_PATH
   18740     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18741     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18742     soname_spec='${libname}${release}${shared_ext}$major'
   18743     if test "X$HPUX_IA64_MODE" = X32; then
   18744       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18745     else
   18746       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18747     fi
   18748     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18749     ;;
   18750    hppa*64*)
   18751      shrext_cmds='.sl'
   18752      hardcode_into_libs=yes
   18753      dynamic_linker="$host_os dld.sl"
   18754      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18755      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18756      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18757      soname_spec='${libname}${release}${shared_ext}$major'
   18758      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18759      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18760      ;;
   18761    *)
   18762     shrext_cmds='.sl'
   18763     dynamic_linker="$host_os dld.sl"
   18764     shlibpath_var=SHLIB_PATH
   18765     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18766     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18767     soname_spec='${libname}${release}${shared_ext}$major'
   18768     ;;
   18769   esac
   18770   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18771   postinstall_cmds='chmod 555 $lib'
   18772   ;;
   18773 
   18774 interix[3-9]*)
   18775   version_type=linux
   18776   need_lib_prefix=no
   18777   need_version=no
   18778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18779   soname_spec='${libname}${release}${shared_ext}$major'
   18780   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18781   shlibpath_var=LD_LIBRARY_PATH
   18782   shlibpath_overrides_runpath=no
   18783   hardcode_into_libs=yes
   18784   ;;
   18785 
   18786 irix5* | irix6* | nonstopux*)
   18787   case $host_os in
   18788     nonstopux*) version_type=nonstopux ;;
   18789     *)
   18790 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18791 		version_type=linux
   18792 	else
   18793 		version_type=irix
   18794 	fi ;;
   18795   esac
   18796   need_lib_prefix=no
   18797   need_version=no
   18798   soname_spec='${libname}${release}${shared_ext}$major'
   18799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18800   case $host_os in
   18801   irix5* | nonstopux*)
   18802     libsuff= shlibsuff=
   18803     ;;
   18804   *)
   18805     case $LD in # libtool.m4 will add one of these switches to LD
   18806     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18807       libsuff= shlibsuff= libmagic=32-bit;;
   18808     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18809       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18810     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18811       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18812     *) libsuff= shlibsuff= libmagic=never-match;;
   18813     esac
   18814     ;;
   18815   esac
   18816   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18817   shlibpath_overrides_runpath=no
   18818   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18819   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18820   hardcode_into_libs=yes
   18821   ;;
   18822 
   18823 # No shared lib support for Linux oldld, aout, or coff.
   18824 linux*oldld* | linux*aout* | linux*coff*)
   18825   dynamic_linker=no
   18826   ;;
   18827 
   18828 # This must be Linux ELF.
   18829 linux* | k*bsd*-gnu)
   18830   version_type=linux
   18831   need_lib_prefix=no
   18832   need_version=no
   18833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18834   soname_spec='${libname}${release}${shared_ext}$major'
   18835   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18836   shlibpath_var=LD_LIBRARY_PATH
   18837   shlibpath_overrides_runpath=no
   18838   # This implies no fast_install, which is unacceptable.
   18839   # Some rework will be needed to allow for fast_install
   18840   # before this can be enabled.
   18841   hardcode_into_libs=yes
   18842   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18843   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18844 
   18845   # Append ld.so.conf contents to the search path
   18846   if test -f /etc/ld.so.conf; then
   18847     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' ' '`
   18848     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18849   fi
   18850 
   18851   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18852   # powerpc, because MkLinux only supported shared libraries with the
   18853   # GNU dynamic linker.  Since this was broken with cross compilers,
   18854   # most powerpc-linux boxes support dynamic linking these days and
   18855   # people can always --disable-shared, the test was removed, and we
   18856   # assume the GNU/Linux dynamic linker is in use.
   18857   dynamic_linker='GNU/Linux ld.so'
   18858   ;;
   18859 
   18860 netbsd*)
   18861   version_type=sunos
   18862   need_lib_prefix=no
   18863   need_version=no
   18864   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18866     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18867     dynamic_linker='NetBSD (a.out) ld.so'
   18868   else
   18869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18870     soname_spec='${libname}${release}${shared_ext}$major'
   18871     dynamic_linker='NetBSD ld.elf_so'
   18872   fi
   18873   shlibpath_var=LD_LIBRARY_PATH
   18874   shlibpath_overrides_runpath=yes
   18875   hardcode_into_libs=yes
   18876   ;;
   18877 
   18878 newsos6)
   18879   version_type=linux
   18880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18881   shlibpath_var=LD_LIBRARY_PATH
   18882   shlibpath_overrides_runpath=yes
   18883   ;;
   18884 
   18885 nto-qnx*)
   18886   version_type=linux
   18887   need_lib_prefix=no
   18888   need_version=no
   18889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18890   soname_spec='${libname}${release}${shared_ext}$major'
   18891   shlibpath_var=LD_LIBRARY_PATH
   18892   shlibpath_overrides_runpath=yes
   18893   ;;
   18894 
   18895 openbsd*)
   18896   version_type=sunos
   18897   sys_lib_dlsearch_path_spec="/usr/lib"
   18898   need_lib_prefix=no
   18899   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18900   case $host_os in
   18901     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18902     *)                         need_version=no  ;;
   18903   esac
   18904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18905   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18906   shlibpath_var=LD_LIBRARY_PATH
   18907   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18908     case $host_os in
   18909       openbsd2.[89] | openbsd2.[89].*)
   18910 	shlibpath_overrides_runpath=no
   18911 	;;
   18912       *)
   18913 	shlibpath_overrides_runpath=yes
   18914 	;;
   18915       esac
   18916   else
   18917     shlibpath_overrides_runpath=yes
   18918   fi
   18919   ;;
   18920 
   18921 os2*)
   18922   libname_spec='$name'
   18923   shrext_cmds=".dll"
   18924   need_lib_prefix=no
   18925   library_names_spec='$libname${shared_ext} $libname.a'
   18926   dynamic_linker='OS/2 ld.exe'
   18927   shlibpath_var=LIBPATH
   18928   ;;
   18929 
   18930 osf3* | osf4* | osf5*)
   18931   version_type=osf
   18932   need_lib_prefix=no
   18933   need_version=no
   18934   soname_spec='${libname}${release}${shared_ext}$major'
   18935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18936   shlibpath_var=LD_LIBRARY_PATH
   18937   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18938   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18939   ;;
   18940 
   18941 rdos*)
   18942   dynamic_linker=no
   18943   ;;
   18944 
   18945 solaris*)
   18946   version_type=linux
   18947   need_lib_prefix=no
   18948   need_version=no
   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   shlibpath_overrides_runpath=yes
   18953   hardcode_into_libs=yes
   18954   # ldd complains unless libraries are executable
   18955   postinstall_cmds='chmod +x $lib'
   18956   ;;
   18957 
   18958 sunos4*)
   18959   version_type=sunos
   18960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18961   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18962   shlibpath_var=LD_LIBRARY_PATH
   18963   shlibpath_overrides_runpath=yes
   18964   if test "$with_gnu_ld" = yes; then
   18965     need_lib_prefix=no
   18966   fi
   18967   need_version=yes
   18968   ;;
   18969 
   18970 sysv4 | sysv4.3*)
   18971   version_type=linux
   18972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18973   soname_spec='${libname}${release}${shared_ext}$major'
   18974   shlibpath_var=LD_LIBRARY_PATH
   18975   case $host_vendor in
   18976     sni)
   18977       shlibpath_overrides_runpath=no
   18978       need_lib_prefix=no
   18979       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18980       runpath_var=LD_RUN_PATH
   18981       ;;
   18982     siemens)
   18983       need_lib_prefix=no
   18984       ;;
   18985     motorola)
   18986       need_lib_prefix=no
   18987       need_version=no
   18988       shlibpath_overrides_runpath=no
   18989       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18990       ;;
   18991   esac
   18992   ;;
   18993 
   18994 sysv4*MP*)
   18995   if test -d /usr/nec ;then
   18996     version_type=linux
   18997     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18998     soname_spec='$libname${shared_ext}.$major'
   18999     shlibpath_var=LD_LIBRARY_PATH
   19000   fi
   19001   ;;
   19002 
   19003 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19004   version_type=freebsd-elf
   19005   need_lib_prefix=no
   19006   need_version=no
   19007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19008   soname_spec='${libname}${release}${shared_ext}$major'
   19009   shlibpath_var=LD_LIBRARY_PATH
   19010   hardcode_into_libs=yes
   19011   if test "$with_gnu_ld" = yes; then
   19012     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19013     shlibpath_overrides_runpath=no
   19014   else
   19015     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19016     shlibpath_overrides_runpath=yes
   19017     case $host_os in
   19018       sco3.2v5*)
   19019         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19020 	;;
   19021     esac
   19022   fi
   19023   sys_lib_dlsearch_path_spec='/usr/lib'
   19024   ;;
   19025 
   19026 uts4*)
   19027   version_type=linux
   19028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19029   soname_spec='${libname}${release}${shared_ext}$major'
   19030   shlibpath_var=LD_LIBRARY_PATH
   19031   ;;
   19032 
   19033 *)
   19034   dynamic_linker=no
   19035   ;;
   19036 esac
   19037 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19038 $as_echo "$dynamic_linker" >&6; }
   19039 test "$dynamic_linker" = no && can_build_shared=no
   19040 
   19041 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19042   $as_echo_n "(cached) " >&6
   19043 else
   19044   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19045 fi
   19046 
   19047 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19048 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19049   $as_echo_n "(cached) " >&6
   19050 else
   19051   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19052 fi
   19053 
   19054 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19055 
   19056 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19057 if test "$GCC" = yes; then
   19058   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19059 fi
   19060 
   19061 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19062 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19063 hardcode_action_GCJ=
   19064 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19065    test -n "$runpath_var_GCJ" || \
   19066    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19067 
   19068   # We can hardcode non-existant directories.
   19069   if test "$hardcode_direct_GCJ" != no &&
   19070      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19071      # have to relink, otherwise we might link with an installed library
   19072      # when we should be linking with a yet-to-be-installed one
   19073      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19074      test "$hardcode_minus_L_GCJ" != no; then
   19075     # Linking always hardcodes the temporary library directory.
   19076     hardcode_action_GCJ=relink
   19077   else
   19078     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19079     hardcode_action_GCJ=immediate
   19080   fi
   19081 else
   19082   # We cannot hardcode anything, or else we can only hardcode existing
   19083   # directories.
   19084   hardcode_action_GCJ=unsupported
   19085 fi
   19086 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19087 $as_echo "$hardcode_action_GCJ" >&6; }
   19088 
   19089 if test "$hardcode_action_GCJ" = relink; then
   19090   # Fast installation is not supported
   19091   enable_fast_install=no
   19092 elif test "$shlibpath_overrides_runpath" = yes ||
   19093      test "$enable_shared" = no; then
   19094   # Fast installation is not necessary
   19095   enable_fast_install=needless
   19096 fi
   19097 
   19098 
   19099 # The else clause should only fire when bootstrapping the
   19100 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19101 # with your package, and you will get complaints that there are
   19102 # no rules to generate ltmain.sh.
   19103 if test -f "$ltmain"; then
   19104   # See if we are running on zsh, and set the options which allow our commands through
   19105   # without removal of \ escapes.
   19106   if test -n "${ZSH_VERSION+set}" ; then
   19107     setopt NO_GLOB_SUBST
   19108   fi
   19109   # Now quote all the things that may contain metacharacters while being
   19110   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19111   # variables and quote the copies for generation of the libtool script.
   19112   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19113     SED SHELL STRIP \
   19114     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19115     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19116     deplibs_check_method reload_flag reload_cmds need_locks \
   19117     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19118     lt_cv_sys_global_symbol_to_c_name_address \
   19119     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19120     old_postinstall_cmds old_postuninstall_cmds \
   19121     compiler_GCJ \
   19122     CC_GCJ \
   19123     LD_GCJ \
   19124     lt_prog_compiler_wl_GCJ \
   19125     lt_prog_compiler_pic_GCJ \
   19126     lt_prog_compiler_static_GCJ \
   19127     lt_prog_compiler_no_builtin_flag_GCJ \
   19128     export_dynamic_flag_spec_GCJ \
   19129     thread_safe_flag_spec_GCJ \
   19130     whole_archive_flag_spec_GCJ \
   19131     enable_shared_with_static_runtimes_GCJ \
   19132     old_archive_cmds_GCJ \
   19133     old_archive_from_new_cmds_GCJ \
   19134     predep_objects_GCJ \
   19135     postdep_objects_GCJ \
   19136     predeps_GCJ \
   19137     postdeps_GCJ \
   19138     compiler_lib_search_path_GCJ \
   19139     compiler_lib_search_dirs_GCJ \
   19140     archive_cmds_GCJ \
   19141     archive_expsym_cmds_GCJ \
   19142     postinstall_cmds_GCJ \
   19143     postuninstall_cmds_GCJ \
   19144     old_archive_from_expsyms_cmds_GCJ \
   19145     allow_undefined_flag_GCJ \
   19146     no_undefined_flag_GCJ \
   19147     export_symbols_cmds_GCJ \
   19148     hardcode_libdir_flag_spec_GCJ \
   19149     hardcode_libdir_flag_spec_ld_GCJ \
   19150     hardcode_libdir_separator_GCJ \
   19151     hardcode_automatic_GCJ \
   19152     module_cmds_GCJ \
   19153     module_expsym_cmds_GCJ \
   19154     lt_cv_prog_compiler_c_o_GCJ \
   19155     fix_srcfile_path_GCJ \
   19156     exclude_expsyms_GCJ \
   19157     include_expsyms_GCJ; do
   19158 
   19159     case $var in
   19160     old_archive_cmds_GCJ | \
   19161     old_archive_from_new_cmds_GCJ | \
   19162     archive_cmds_GCJ | \
   19163     archive_expsym_cmds_GCJ | \
   19164     module_cmds_GCJ | \
   19165     module_expsym_cmds_GCJ | \
   19166     old_archive_from_expsyms_cmds_GCJ | \
   19167     export_symbols_cmds_GCJ | \
   19168     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19169     postinstall_cmds | postuninstall_cmds | \
   19170     old_postinstall_cmds | old_postuninstall_cmds | \
   19171     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19172       # Double-quote double-evaled strings.
   19173       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19174       ;;
   19175     *)
   19176       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19177       ;;
   19178     esac
   19179   done
   19180 
   19181   case $lt_echo in
   19182   *'\$0 --fallback-echo"')
   19183     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19184     ;;
   19185   esac
   19186 
   19187 cfgfile="$ofile"
   19188 
   19189   cat <<__EOF__ >> "$cfgfile"
   19190 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19191 
   19192 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19193 
   19194 # Shell to use when invoking shell scripts.
   19195 SHELL=$lt_SHELL
   19196 
   19197 # Whether or not to build shared libraries.
   19198 build_libtool_libs=$enable_shared
   19199 
   19200 # Whether or not to build static libraries.
   19201 build_old_libs=$enable_static
   19202 
   19203 # Whether or not to add -lc for building shared libraries.
   19204 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19205 
   19206 # Whether or not to disallow shared libs when runtime libs are static
   19207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19208 
   19209 # Whether or not to optimize for fast installation.
   19210 fast_install=$enable_fast_install
   19211 
   19212 # The host system.
   19213 host_alias=$host_alias
   19214 host=$host
   19215 host_os=$host_os
   19216 
   19217 # The build system.
   19218 build_alias=$build_alias
   19219 build=$build
   19220 build_os=$build_os
   19221 
   19222 # An echo program that does not interpret backslashes.
   19223 echo=$lt_echo
   19224 
   19225 # The archiver.
   19226 AR=$lt_AR
   19227 AR_FLAGS=$lt_AR_FLAGS
   19228 
   19229 # A C compiler.
   19230 LTCC=$lt_LTCC
   19231 
   19232 # LTCC compiler flags.
   19233 LTCFLAGS=$lt_LTCFLAGS
   19234 
   19235 # A language-specific compiler.
   19236 CC=$lt_compiler_GCJ
   19237 
   19238 # Is the compiler the GNU C compiler?
   19239 with_gcc=$GCC_GCJ
   19240 
   19241 # An ERE matcher.
   19242 EGREP=$lt_EGREP
   19243 
   19244 # The linker used to build libraries.
   19245 LD=$lt_LD_GCJ
   19246 
   19247 # Whether we need hard or soft links.
   19248 LN_S=$lt_LN_S
   19249 
   19250 # A BSD-compatible nm program.
   19251 NM=$lt_NM
   19252 
   19253 # A symbol stripping program
   19254 STRIP=$lt_STRIP
   19255 
   19256 # Used to examine libraries when file_magic_cmd begins "file"
   19257 MAGIC_CMD=$MAGIC_CMD
   19258 
   19259 # Used on cygwin: DLL creation program.
   19260 DLLTOOL="$DLLTOOL"
   19261 
   19262 # Used on cygwin: object dumper.
   19263 OBJDUMP="$OBJDUMP"
   19264 
   19265 # Used on cygwin: assembler.
   19266 AS="$AS"
   19267 
   19268 # The name of the directory that contains temporary libtool files.
   19269 objdir=$objdir
   19270 
   19271 # How to create reloadable object files.
   19272 reload_flag=$lt_reload_flag
   19273 reload_cmds=$lt_reload_cmds
   19274 
   19275 # How to pass a linker flag through the compiler.
   19276 wl=$lt_lt_prog_compiler_wl_GCJ
   19277 
   19278 # Object file suffix (normally "o").
   19279 objext="$ac_objext"
   19280 
   19281 # Old archive suffix (normally "a").
   19282 libext="$libext"
   19283 
   19284 # Shared library suffix (normally ".so").
   19285 shrext_cmds='$shrext_cmds'
   19286 
   19287 # Executable file suffix (normally "").
   19288 exeext="$exeext"
   19289 
   19290 # Additional compiler flags for building library objects.
   19291 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19292 pic_mode=$pic_mode
   19293 
   19294 # What is the maximum length of a command?
   19295 max_cmd_len=$lt_cv_sys_max_cmd_len
   19296 
   19297 # Does compiler simultaneously support -c and -o options?
   19298 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19299 
   19300 # Must we lock files when doing compilation?
   19301 need_locks=$lt_need_locks
   19302 
   19303 # Do we need the lib prefix for modules?
   19304 need_lib_prefix=$need_lib_prefix
   19305 
   19306 # Do we need a version for libraries?
   19307 need_version=$need_version
   19308 
   19309 # Whether dlopen is supported.
   19310 dlopen_support=$enable_dlopen
   19311 
   19312 # Whether dlopen of programs is supported.
   19313 dlopen_self=$enable_dlopen_self
   19314 
   19315 # Whether dlopen of statically linked programs is supported.
   19316 dlopen_self_static=$enable_dlopen_self_static
   19317 
   19318 # Compiler flag to prevent dynamic linking.
   19319 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19320 
   19321 # Compiler flag to turn off builtin functions.
   19322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19323 
   19324 # Compiler flag to allow reflexive dlopens.
   19325 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19326 
   19327 # Compiler flag to generate shared objects directly from archives.
   19328 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19329 
   19330 # Compiler flag to generate thread-safe objects.
   19331 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19332 
   19333 # Library versioning type.
   19334 version_type=$version_type
   19335 
   19336 # Format of library name prefix.
   19337 libname_spec=$lt_libname_spec
   19338 
   19339 # List of archive names.  First name is the real one, the rest are links.
   19340 # The last name is the one that the linker finds with -lNAME.
   19341 library_names_spec=$lt_library_names_spec
   19342 
   19343 # The coded name of the library, if different from the real name.
   19344 soname_spec=$lt_soname_spec
   19345 
   19346 # Commands used to build and install an old-style archive.
   19347 RANLIB=$lt_RANLIB
   19348 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19349 old_postinstall_cmds=$lt_old_postinstall_cmds
   19350 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19351 
   19352 # Create an old-style archive from a shared archive.
   19353 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19354 
   19355 # Create a temporary old-style archive to link instead of a shared archive.
   19356 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19357 
   19358 # Commands used to build and install a shared archive.
   19359 archive_cmds=$lt_archive_cmds_GCJ
   19360 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19361 postinstall_cmds=$lt_postinstall_cmds
   19362 postuninstall_cmds=$lt_postuninstall_cmds
   19363 
   19364 # Commands used to build a loadable module (assumed same as above if empty)
   19365 module_cmds=$lt_module_cmds_GCJ
   19366 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19367 
   19368 # Commands to strip libraries.
   19369 old_striplib=$lt_old_striplib
   19370 striplib=$lt_striplib
   19371 
   19372 # Dependencies to place before the objects being linked to create a
   19373 # shared library.
   19374 predep_objects=$lt_predep_objects_GCJ
   19375 
   19376 # Dependencies to place after the objects being linked to create a
   19377 # shared library.
   19378 postdep_objects=$lt_postdep_objects_GCJ
   19379 
   19380 # Dependencies to place before the objects being linked to create a
   19381 # shared library.
   19382 predeps=$lt_predeps_GCJ
   19383 
   19384 # Dependencies to place after the objects being linked to create a
   19385 # shared library.
   19386 postdeps=$lt_postdeps_GCJ
   19387 
   19388 # The directories searched by this compiler when creating a shared
   19389 # library
   19390 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19391 
   19392 # The library search path used internally by the compiler when linking
   19393 # a shared library.
   19394 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19395 
   19396 # Method to check whether dependent libraries are shared objects.
   19397 deplibs_check_method=$lt_deplibs_check_method
   19398 
   19399 # Command to use when deplibs_check_method == file_magic.
   19400 file_magic_cmd=$lt_file_magic_cmd
   19401 
   19402 # Flag that allows shared libraries with undefined symbols to be built.
   19403 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19404 
   19405 # Flag that forces no undefined symbols.
   19406 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19407 
   19408 # Commands used to finish a libtool library installation in a directory.
   19409 finish_cmds=$lt_finish_cmds
   19410 
   19411 # Same as above, but a single script fragment to be evaled but not shown.
   19412 finish_eval=$lt_finish_eval
   19413 
   19414 # Take the output of nm and produce a listing of raw symbols and C names.
   19415 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19416 
   19417 # Transform the output of nm in a proper C declaration
   19418 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19419 
   19420 # Transform the output of nm in a C name address pair
   19421 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19422 
   19423 # This is the shared library runtime path variable.
   19424 runpath_var=$runpath_var
   19425 
   19426 # This is the shared library path variable.
   19427 shlibpath_var=$shlibpath_var
   19428 
   19429 # Is shlibpath searched before the hard-coded library search path?
   19430 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19431 
   19432 # How to hardcode a shared library path into an executable.
   19433 hardcode_action=$hardcode_action_GCJ
   19434 
   19435 # Whether we should hardcode library paths into libraries.
   19436 hardcode_into_libs=$hardcode_into_libs
   19437 
   19438 # Flag to hardcode \$libdir into a binary during linking.
   19439 # This must work even if \$libdir does not exist.
   19440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19441 
   19442 # If ld is used when linking, flag to hardcode \$libdir into
   19443 # a binary during linking. This must work even if \$libdir does
   19444 # not exist.
   19445 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19446 
   19447 # Whether we need a single -rpath flag with a separated argument.
   19448 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19449 
   19450 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19451 # resulting binary.
   19452 hardcode_direct=$hardcode_direct_GCJ
   19453 
   19454 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19455 # resulting binary.
   19456 hardcode_minus_L=$hardcode_minus_L_GCJ
   19457 
   19458 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19459 # the resulting binary.
   19460 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19461 
   19462 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19463 # and all subsequent libraries and executables linked against it.
   19464 hardcode_automatic=$hardcode_automatic_GCJ
   19465 
   19466 # Variables whose values should be saved in libtool wrapper scripts and
   19467 # restored at relink time.
   19468 variables_saved_for_relink="$variables_saved_for_relink"
   19469 
   19470 # Whether libtool must link a program against all its dependency libraries.
   19471 link_all_deplibs=$link_all_deplibs_GCJ
   19472 
   19473 # Compile-time system search path for libraries
   19474 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19475 
   19476 # Run-time system search path for libraries
   19477 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19478 
   19479 # Fix the shell variable \$srcfile for the compiler.
   19480 fix_srcfile_path=$lt_fix_srcfile_path
   19481 
   19482 # Set to yes if exported symbols are required.
   19483 always_export_symbols=$always_export_symbols_GCJ
   19484 
   19485 # The commands to list exported symbols.
   19486 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19487 
   19488 # The commands to extract the exported symbol list from a shared archive.
   19489 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19490 
   19491 # Symbols that should not be listed in the preloaded symbols.
   19492 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19493 
   19494 # Symbols that must always be exported.
   19495 include_expsyms=$lt_include_expsyms_GCJ
   19496 
   19497 # ### END LIBTOOL TAG CONFIG: $tagname
   19498 
   19499 __EOF__
   19500 
   19501 
   19502 else
   19503   # If there is no Makefile yet, we rely on a make rule to execute
   19504   # `config.status --recheck' to rerun these tests and create the
   19505   # libtool script then.
   19506   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19507   if test -f "$ltmain_in"; then
   19508     test -f Makefile && make "$ltmain"
   19509   fi
   19510 fi
   19511 
   19512 
   19513 ac_ext=c
   19514 ac_cpp='$CPP $CPPFLAGS'
   19515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19518 
   19519 CC="$lt_save_CC"
   19520 
   19521 	else
   19522 	  tagname=""
   19523 	fi
   19524 	;;
   19525 
   19526       RC)
   19527 
   19528 
   19529 # Source file extension for RC test sources.
   19530 ac_ext=rc
   19531 
   19532 # Object file extension for compiled RC test sources.
   19533 objext=o
   19534 objext_RC=$objext
   19535 
   19536 # Code to be used in simple compile tests
   19537 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19538 
   19539 # Code to be used in simple link tests
   19540 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19541 
   19542 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19543 
   19544 # If no C compiler was specified, use CC.
   19545 LTCC=${LTCC-"$CC"}
   19546 
   19547 # If no C compiler flags were specified, use CFLAGS.
   19548 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19549 
   19550 # Allow CC to be a program name with arguments.
   19551 compiler=$CC
   19552 
   19553 
   19554 # save warnings/boilerplate of simple test code
   19555 ac_outfile=conftest.$ac_objext
   19556 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19557 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19558 _lt_compiler_boilerplate=`cat conftest.err`
   19559 $rm conftest*
   19560 
   19561 ac_outfile=conftest.$ac_objext
   19562 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19563 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19564 _lt_linker_boilerplate=`cat conftest.err`
   19565 $rm -r conftest*
   19566 
   19567 
   19568 # Allow CC to be a program name with arguments.
   19569 lt_save_CC="$CC"
   19570 CC=${RC-"windres"}
   19571 compiler=$CC
   19572 compiler_RC=$CC
   19573 for cc_temp in $compiler""; do
   19574   case $cc_temp in
   19575     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19576     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19577     \-*) ;;
   19578     *) break;;
   19579   esac
   19580 done
   19581 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19582 
   19583 lt_cv_prog_compiler_c_o_RC=yes
   19584 
   19585 # The else clause should only fire when bootstrapping the
   19586 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19587 # with your package, and you will get complaints that there are
   19588 # no rules to generate ltmain.sh.
   19589 if test -f "$ltmain"; then
   19590   # See if we are running on zsh, and set the options which allow our commands through
   19591   # without removal of \ escapes.
   19592   if test -n "${ZSH_VERSION+set}" ; then
   19593     setopt NO_GLOB_SUBST
   19594   fi
   19595   # Now quote all the things that may contain metacharacters while being
   19596   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19597   # variables and quote the copies for generation of the libtool script.
   19598   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19599     SED SHELL STRIP \
   19600     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19601     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19602     deplibs_check_method reload_flag reload_cmds need_locks \
   19603     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19604     lt_cv_sys_global_symbol_to_c_name_address \
   19605     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19606     old_postinstall_cmds old_postuninstall_cmds \
   19607     compiler_RC \
   19608     CC_RC \
   19609     LD_RC \
   19610     lt_prog_compiler_wl_RC \
   19611     lt_prog_compiler_pic_RC \
   19612     lt_prog_compiler_static_RC \
   19613     lt_prog_compiler_no_builtin_flag_RC \
   19614     export_dynamic_flag_spec_RC \
   19615     thread_safe_flag_spec_RC \
   19616     whole_archive_flag_spec_RC \
   19617     enable_shared_with_static_runtimes_RC \
   19618     old_archive_cmds_RC \
   19619     old_archive_from_new_cmds_RC \
   19620     predep_objects_RC \
   19621     postdep_objects_RC \
   19622     predeps_RC \
   19623     postdeps_RC \
   19624     compiler_lib_search_path_RC \
   19625     compiler_lib_search_dirs_RC \
   19626     archive_cmds_RC \
   19627     archive_expsym_cmds_RC \
   19628     postinstall_cmds_RC \
   19629     postuninstall_cmds_RC \
   19630     old_archive_from_expsyms_cmds_RC \
   19631     allow_undefined_flag_RC \
   19632     no_undefined_flag_RC \
   19633     export_symbols_cmds_RC \
   19634     hardcode_libdir_flag_spec_RC \
   19635     hardcode_libdir_flag_spec_ld_RC \
   19636     hardcode_libdir_separator_RC \
   19637     hardcode_automatic_RC \
   19638     module_cmds_RC \
   19639     module_expsym_cmds_RC \
   19640     lt_cv_prog_compiler_c_o_RC \
   19641     fix_srcfile_path_RC \
   19642     exclude_expsyms_RC \
   19643     include_expsyms_RC; do
   19644 
   19645     case $var in
   19646     old_archive_cmds_RC | \
   19647     old_archive_from_new_cmds_RC | \
   19648     archive_cmds_RC | \
   19649     archive_expsym_cmds_RC | \
   19650     module_cmds_RC | \
   19651     module_expsym_cmds_RC | \
   19652     old_archive_from_expsyms_cmds_RC | \
   19653     export_symbols_cmds_RC | \
   19654     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19655     postinstall_cmds | postuninstall_cmds | \
   19656     old_postinstall_cmds | old_postuninstall_cmds | \
   19657     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19658       # Double-quote double-evaled strings.
   19659       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19660       ;;
   19661     *)
   19662       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19663       ;;
   19664     esac
   19665   done
   19666 
   19667   case $lt_echo in
   19668   *'\$0 --fallback-echo"')
   19669     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19670     ;;
   19671   esac
   19672 
   19673 cfgfile="$ofile"
   19674 
   19675   cat <<__EOF__ >> "$cfgfile"
   19676 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19677 
   19678 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19679 
   19680 # Shell to use when invoking shell scripts.
   19681 SHELL=$lt_SHELL
   19682 
   19683 # Whether or not to build shared libraries.
   19684 build_libtool_libs=$enable_shared
   19685 
   19686 # Whether or not to build static libraries.
   19687 build_old_libs=$enable_static
   19688 
   19689 # Whether or not to add -lc for building shared libraries.
   19690 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19691 
   19692 # Whether or not to disallow shared libs when runtime libs are static
   19693 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19694 
   19695 # Whether or not to optimize for fast installation.
   19696 fast_install=$enable_fast_install
   19697 
   19698 # The host system.
   19699 host_alias=$host_alias
   19700 host=$host
   19701 host_os=$host_os
   19702 
   19703 # The build system.
   19704 build_alias=$build_alias
   19705 build=$build
   19706 build_os=$build_os
   19707 
   19708 # An echo program that does not interpret backslashes.
   19709 echo=$lt_echo
   19710 
   19711 # The archiver.
   19712 AR=$lt_AR
   19713 AR_FLAGS=$lt_AR_FLAGS
   19714 
   19715 # A C compiler.
   19716 LTCC=$lt_LTCC
   19717 
   19718 # LTCC compiler flags.
   19719 LTCFLAGS=$lt_LTCFLAGS
   19720 
   19721 # A language-specific compiler.
   19722 CC=$lt_compiler_RC
   19723 
   19724 # Is the compiler the GNU C compiler?
   19725 with_gcc=$GCC_RC
   19726 
   19727 # An ERE matcher.
   19728 EGREP=$lt_EGREP
   19729 
   19730 # The linker used to build libraries.
   19731 LD=$lt_LD_RC
   19732 
   19733 # Whether we need hard or soft links.
   19734 LN_S=$lt_LN_S
   19735 
   19736 # A BSD-compatible nm program.
   19737 NM=$lt_NM
   19738 
   19739 # A symbol stripping program
   19740 STRIP=$lt_STRIP
   19741 
   19742 # Used to examine libraries when file_magic_cmd begins "file"
   19743 MAGIC_CMD=$MAGIC_CMD
   19744 
   19745 # Used on cygwin: DLL creation program.
   19746 DLLTOOL="$DLLTOOL"
   19747 
   19748 # Used on cygwin: object dumper.
   19749 OBJDUMP="$OBJDUMP"
   19750 
   19751 # Used on cygwin: assembler.
   19752 AS="$AS"
   19753 
   19754 # The name of the directory that contains temporary libtool files.
   19755 objdir=$objdir
   19756 
   19757 # How to create reloadable object files.
   19758 reload_flag=$lt_reload_flag
   19759 reload_cmds=$lt_reload_cmds
   19760 
   19761 # How to pass a linker flag through the compiler.
   19762 wl=$lt_lt_prog_compiler_wl_RC
   19763 
   19764 # Object file suffix (normally "o").
   19765 objext="$ac_objext"
   19766 
   19767 # Old archive suffix (normally "a").
   19768 libext="$libext"
   19769 
   19770 # Shared library suffix (normally ".so").
   19771 shrext_cmds='$shrext_cmds'
   19772 
   19773 # Executable file suffix (normally "").
   19774 exeext="$exeext"
   19775 
   19776 # Additional compiler flags for building library objects.
   19777 pic_flag=$lt_lt_prog_compiler_pic_RC
   19778 pic_mode=$pic_mode
   19779 
   19780 # What is the maximum length of a command?
   19781 max_cmd_len=$lt_cv_sys_max_cmd_len
   19782 
   19783 # Does compiler simultaneously support -c and -o options?
   19784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19785 
   19786 # Must we lock files when doing compilation?
   19787 need_locks=$lt_need_locks
   19788 
   19789 # Do we need the lib prefix for modules?
   19790 need_lib_prefix=$need_lib_prefix
   19791 
   19792 # Do we need a version for libraries?
   19793 need_version=$need_version
   19794 
   19795 # Whether dlopen is supported.
   19796 dlopen_support=$enable_dlopen
   19797 
   19798 # Whether dlopen of programs is supported.
   19799 dlopen_self=$enable_dlopen_self
   19800 
   19801 # Whether dlopen of statically linked programs is supported.
   19802 dlopen_self_static=$enable_dlopen_self_static
   19803 
   19804 # Compiler flag to prevent dynamic linking.
   19805 link_static_flag=$lt_lt_prog_compiler_static_RC
   19806 
   19807 # Compiler flag to turn off builtin functions.
   19808 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19809 
   19810 # Compiler flag to allow reflexive dlopens.
   19811 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19812 
   19813 # Compiler flag to generate shared objects directly from archives.
   19814 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19815 
   19816 # Compiler flag to generate thread-safe objects.
   19817 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19818 
   19819 # Library versioning type.
   19820 version_type=$version_type
   19821 
   19822 # Format of library name prefix.
   19823 libname_spec=$lt_libname_spec
   19824 
   19825 # List of archive names.  First name is the real one, the rest are links.
   19826 # The last name is the one that the linker finds with -lNAME.
   19827 library_names_spec=$lt_library_names_spec
   19828 
   19829 # The coded name of the library, if different from the real name.
   19830 soname_spec=$lt_soname_spec
   19831 
   19832 # Commands used to build and install an old-style archive.
   19833 RANLIB=$lt_RANLIB
   19834 old_archive_cmds=$lt_old_archive_cmds_RC
   19835 old_postinstall_cmds=$lt_old_postinstall_cmds
   19836 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19837 
   19838 # Create an old-style archive from a shared archive.
   19839 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19840 
   19841 # Create a temporary old-style archive to link instead of a shared archive.
   19842 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19843 
   19844 # Commands used to build and install a shared archive.
   19845 archive_cmds=$lt_archive_cmds_RC
   19846 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19847 postinstall_cmds=$lt_postinstall_cmds
   19848 postuninstall_cmds=$lt_postuninstall_cmds
   19849 
   19850 # Commands used to build a loadable module (assumed same as above if empty)
   19851 module_cmds=$lt_module_cmds_RC
   19852 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19853 
   19854 # Commands to strip libraries.
   19855 old_striplib=$lt_old_striplib
   19856 striplib=$lt_striplib
   19857 
   19858 # Dependencies to place before the objects being linked to create a
   19859 # shared library.
   19860 predep_objects=$lt_predep_objects_RC
   19861 
   19862 # Dependencies to place after the objects being linked to create a
   19863 # shared library.
   19864 postdep_objects=$lt_postdep_objects_RC
   19865 
   19866 # Dependencies to place before the objects being linked to create a
   19867 # shared library.
   19868 predeps=$lt_predeps_RC
   19869 
   19870 # Dependencies to place after the objects being linked to create a
   19871 # shared library.
   19872 postdeps=$lt_postdeps_RC
   19873 
   19874 # The directories searched by this compiler when creating a shared
   19875 # library
   19876 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19877 
   19878 # The library search path used internally by the compiler when linking
   19879 # a shared library.
   19880 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19881 
   19882 # Method to check whether dependent libraries are shared objects.
   19883 deplibs_check_method=$lt_deplibs_check_method
   19884 
   19885 # Command to use when deplibs_check_method == file_magic.
   19886 file_magic_cmd=$lt_file_magic_cmd
   19887 
   19888 # Flag that allows shared libraries with undefined symbols to be built.
   19889 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19890 
   19891 # Flag that forces no undefined symbols.
   19892 no_undefined_flag=$lt_no_undefined_flag_RC
   19893 
   19894 # Commands used to finish a libtool library installation in a directory.
   19895 finish_cmds=$lt_finish_cmds
   19896 
   19897 # Same as above, but a single script fragment to be evaled but not shown.
   19898 finish_eval=$lt_finish_eval
   19899 
   19900 # Take the output of nm and produce a listing of raw symbols and C names.
   19901 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19902 
   19903 # Transform the output of nm in a proper C declaration
   19904 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19905 
   19906 # Transform the output of nm in a C name address pair
   19907 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19908 
   19909 # This is the shared library runtime path variable.
   19910 runpath_var=$runpath_var
   19911 
   19912 # This is the shared library path variable.
   19913 shlibpath_var=$shlibpath_var
   19914 
   19915 # Is shlibpath searched before the hard-coded library search path?
   19916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19917 
   19918 # How to hardcode a shared library path into an executable.
   19919 hardcode_action=$hardcode_action_RC
   19920 
   19921 # Whether we should hardcode library paths into libraries.
   19922 hardcode_into_libs=$hardcode_into_libs
   19923 
   19924 # Flag to hardcode \$libdir into a binary during linking.
   19925 # This must work even if \$libdir does not exist.
   19926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19927 
   19928 # If ld is used when linking, flag to hardcode \$libdir into
   19929 # a binary during linking. This must work even if \$libdir does
   19930 # not exist.
   19931 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19932 
   19933 # Whether we need a single -rpath flag with a separated argument.
   19934 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19935 
   19936 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19937 # resulting binary.
   19938 hardcode_direct=$hardcode_direct_RC
   19939 
   19940 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19941 # resulting binary.
   19942 hardcode_minus_L=$hardcode_minus_L_RC
   19943 
   19944 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19945 # the resulting binary.
   19946 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19947 
   19948 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19949 # and all subsequent libraries and executables linked against it.
   19950 hardcode_automatic=$hardcode_automatic_RC
   19951 
   19952 # Variables whose values should be saved in libtool wrapper scripts and
   19953 # restored at relink time.
   19954 variables_saved_for_relink="$variables_saved_for_relink"
   19955 
   19956 # Whether libtool must link a program against all its dependency libraries.
   19957 link_all_deplibs=$link_all_deplibs_RC
   19958 
   19959 # Compile-time system search path for libraries
   19960 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19961 
   19962 # Run-time system search path for libraries
   19963 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19964 
   19965 # Fix the shell variable \$srcfile for the compiler.
   19966 fix_srcfile_path=$lt_fix_srcfile_path
   19967 
   19968 # Set to yes if exported symbols are required.
   19969 always_export_symbols=$always_export_symbols_RC
   19970 
   19971 # The commands to list exported symbols.
   19972 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19973 
   19974 # The commands to extract the exported symbol list from a shared archive.
   19975 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19976 
   19977 # Symbols that should not be listed in the preloaded symbols.
   19978 exclude_expsyms=$lt_exclude_expsyms_RC
   19979 
   19980 # Symbols that must always be exported.
   19981 include_expsyms=$lt_include_expsyms_RC
   19982 
   19983 # ### END LIBTOOL TAG CONFIG: $tagname
   19984 
   19985 __EOF__
   19986 
   19987 
   19988 else
   19989   # If there is no Makefile yet, we rely on a make rule to execute
   19990   # `config.status --recheck' to rerun these tests and create the
   19991   # libtool script then.
   19992   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19993   if test -f "$ltmain_in"; then
   19994     test -f Makefile && make "$ltmain"
   19995   fi
   19996 fi
   19997 
   19998 
   19999 ac_ext=c
   20000 ac_cpp='$CPP $CPPFLAGS'
   20001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20004 
   20005 CC="$lt_save_CC"
   20006 
   20007 	;;
   20008 
   20009       *)
   20010 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20011 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20012    { (exit 1); exit 1; }; }
   20013 	;;
   20014       esac
   20015 
   20016       # Append the new tag name to the list of available tags.
   20017       if test -n "$tagname" ; then
   20018       available_tags="$available_tags $tagname"
   20019     fi
   20020     fi
   20021   done
   20022   IFS="$lt_save_ifs"
   20023 
   20024   # Now substitute the updated list of available tags.
   20025   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20026     mv "${ofile}T" "$ofile"
   20027     chmod +x "$ofile"
   20028   else
   20029     rm -f "${ofile}T"
   20030     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20031 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20032    { (exit 1); exit 1; }; }
   20033   fi
   20034 fi
   20035 
   20036 
   20037 
   20038 # This can be used to rebuild libtool when needed
   20039 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20040 
   20041 # Always use our own libtool.
   20042 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20043 
   20044 # Prevent multiple expansion
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 ac_ext=c
   20066 ac_cpp='$CPP $CPPFLAGS'
   20067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20070 if test -n "$ac_tool_prefix"; then
   20071   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20074 $as_echo_n "checking for $ac_word... " >&6; }
   20075 if test "${ac_cv_prog_CC+set}" = set; then
   20076   $as_echo_n "(cached) " >&6
   20077 else
   20078   if test -n "$CC"; then
   20079   ac_cv_prog_CC="$CC" # Let the user override the test.
   20080 else
   20081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20082 for as_dir in $PATH
   20083 do
   20084   IFS=$as_save_IFS
   20085   test -z "$as_dir" && as_dir=.
   20086   for ac_exec_ext in '' $ac_executable_extensions; do
   20087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20088     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20089     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20090     break 2
   20091   fi
   20092 done
   20093 done
   20094 IFS=$as_save_IFS
   20095 
   20096 fi
   20097 fi
   20098 CC=$ac_cv_prog_CC
   20099 if test -n "$CC"; then
   20100   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20101 $as_echo "$CC" >&6; }
   20102 else
   20103   { $as_echo "$as_me:$LINENO: result: no" >&5
   20104 $as_echo "no" >&6; }
   20105 fi
   20106 
   20107 
   20108 fi
   20109 if test -z "$ac_cv_prog_CC"; then
   20110   ac_ct_CC=$CC
   20111   # Extract the first word of "gcc", so it can be a program name with args.
   20112 set dummy gcc; ac_word=$2
   20113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20114 $as_echo_n "checking for $ac_word... " >&6; }
   20115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20116   $as_echo_n "(cached) " >&6
   20117 else
   20118   if test -n "$ac_ct_CC"; then
   20119   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20120 else
   20121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20122 for as_dir in $PATH
   20123 do
   20124   IFS=$as_save_IFS
   20125   test -z "$as_dir" && as_dir=.
   20126   for ac_exec_ext in '' $ac_executable_extensions; do
   20127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20128     ac_cv_prog_ac_ct_CC="gcc"
   20129     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20130     break 2
   20131   fi
   20132 done
   20133 done
   20134 IFS=$as_save_IFS
   20135 
   20136 fi
   20137 fi
   20138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20139 if test -n "$ac_ct_CC"; then
   20140   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20141 $as_echo "$ac_ct_CC" >&6; }
   20142 else
   20143   { $as_echo "$as_me:$LINENO: result: no" >&5
   20144 $as_echo "no" >&6; }
   20145 fi
   20146 
   20147   if test "x$ac_ct_CC" = x; then
   20148     CC=""
   20149   else
   20150     case $cross_compiling:$ac_tool_warned in
   20151 yes:)
   20152 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20154 ac_tool_warned=yes ;;
   20155 esac
   20156     CC=$ac_ct_CC
   20157   fi
   20158 else
   20159   CC="$ac_cv_prog_CC"
   20160 fi
   20161 
   20162 if test -z "$CC"; then
   20163           if test -n "$ac_tool_prefix"; then
   20164     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20165 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20167 $as_echo_n "checking for $ac_word... " >&6; }
   20168 if test "${ac_cv_prog_CC+set}" = set; then
   20169   $as_echo_n "(cached) " >&6
   20170 else
   20171   if test -n "$CC"; then
   20172   ac_cv_prog_CC="$CC" # Let the user override the test.
   20173 else
   20174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20175 for as_dir in $PATH
   20176 do
   20177   IFS=$as_save_IFS
   20178   test -z "$as_dir" && as_dir=.
   20179   for ac_exec_ext in '' $ac_executable_extensions; do
   20180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20181     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20182     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20183     break 2
   20184   fi
   20185 done
   20186 done
   20187 IFS=$as_save_IFS
   20188 
   20189 fi
   20190 fi
   20191 CC=$ac_cv_prog_CC
   20192 if test -n "$CC"; then
   20193   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20194 $as_echo "$CC" >&6; }
   20195 else
   20196   { $as_echo "$as_me:$LINENO: result: no" >&5
   20197 $as_echo "no" >&6; }
   20198 fi
   20199 
   20200 
   20201   fi
   20202 fi
   20203 if test -z "$CC"; then
   20204   # Extract the first word of "cc", so it can be a program name with args.
   20205 set dummy cc; ac_word=$2
   20206 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20207 $as_echo_n "checking for $ac_word... " >&6; }
   20208 if test "${ac_cv_prog_CC+set}" = set; then
   20209   $as_echo_n "(cached) " >&6
   20210 else
   20211   if test -n "$CC"; then
   20212   ac_cv_prog_CC="$CC" # Let the user override the test.
   20213 else
   20214   ac_prog_rejected=no
   20215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20216 for as_dir in $PATH
   20217 do
   20218   IFS=$as_save_IFS
   20219   test -z "$as_dir" && as_dir=.
   20220   for ac_exec_ext in '' $ac_executable_extensions; do
   20221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20222     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20223        ac_prog_rejected=yes
   20224        continue
   20225      fi
   20226     ac_cv_prog_CC="cc"
   20227     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20228     break 2
   20229   fi
   20230 done
   20231 done
   20232 IFS=$as_save_IFS
   20233 
   20234 if test $ac_prog_rejected = yes; then
   20235   # We found a bogon in the path, so make sure we never use it.
   20236   set dummy $ac_cv_prog_CC
   20237   shift
   20238   if test $# != 0; then
   20239     # We chose a different compiler from the bogus one.
   20240     # However, it has the same basename, so the bogon will be chosen
   20241     # first if we set CC to just the basename; use the full file name.
   20242     shift
   20243     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20244   fi
   20245 fi
   20246 fi
   20247 fi
   20248 CC=$ac_cv_prog_CC
   20249 if test -n "$CC"; then
   20250   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20251 $as_echo "$CC" >&6; }
   20252 else
   20253   { $as_echo "$as_me:$LINENO: result: no" >&5
   20254 $as_echo "no" >&6; }
   20255 fi
   20256 
   20257 
   20258 fi
   20259 if test -z "$CC"; then
   20260   if test -n "$ac_tool_prefix"; then
   20261   for ac_prog in cl.exe
   20262   do
   20263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20266 $as_echo_n "checking for $ac_word... " >&6; }
   20267 if test "${ac_cv_prog_CC+set}" = set; then
   20268   $as_echo_n "(cached) " >&6
   20269 else
   20270   if test -n "$CC"; then
   20271   ac_cv_prog_CC="$CC" # Let the user override the test.
   20272 else
   20273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20274 for as_dir in $PATH
   20275 do
   20276   IFS=$as_save_IFS
   20277   test -z "$as_dir" && as_dir=.
   20278   for ac_exec_ext in '' $ac_executable_extensions; do
   20279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20280     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20281     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20282     break 2
   20283   fi
   20284 done
   20285 done
   20286 IFS=$as_save_IFS
   20287 
   20288 fi
   20289 fi
   20290 CC=$ac_cv_prog_CC
   20291 if test -n "$CC"; then
   20292   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20293 $as_echo "$CC" >&6; }
   20294 else
   20295   { $as_echo "$as_me:$LINENO: result: no" >&5
   20296 $as_echo "no" >&6; }
   20297 fi
   20298 
   20299 
   20300     test -n "$CC" && break
   20301   done
   20302 fi
   20303 if test -z "$CC"; then
   20304   ac_ct_CC=$CC
   20305   for ac_prog in cl.exe
   20306 do
   20307   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20308 set dummy $ac_prog; ac_word=$2
   20309 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20310 $as_echo_n "checking for $ac_word... " >&6; }
   20311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20312   $as_echo_n "(cached) " >&6
   20313 else
   20314   if test -n "$ac_ct_CC"; then
   20315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20316 else
   20317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20318 for as_dir in $PATH
   20319 do
   20320   IFS=$as_save_IFS
   20321   test -z "$as_dir" && as_dir=.
   20322   for ac_exec_ext in '' $ac_executable_extensions; do
   20323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20324     ac_cv_prog_ac_ct_CC="$ac_prog"
   20325     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20326     break 2
   20327   fi
   20328 done
   20329 done
   20330 IFS=$as_save_IFS
   20331 
   20332 fi
   20333 fi
   20334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20335 if test -n "$ac_ct_CC"; then
   20336   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20337 $as_echo "$ac_ct_CC" >&6; }
   20338 else
   20339   { $as_echo "$as_me:$LINENO: result: no" >&5
   20340 $as_echo "no" >&6; }
   20341 fi
   20342 
   20343 
   20344   test -n "$ac_ct_CC" && break
   20345 done
   20346 
   20347   if test "x$ac_ct_CC" = x; then
   20348     CC=""
   20349   else
   20350     case $cross_compiling:$ac_tool_warned in
   20351 yes:)
   20352 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20354 ac_tool_warned=yes ;;
   20355 esac
   20356     CC=$ac_ct_CC
   20357   fi
   20358 fi
   20359 
   20360 fi
   20361 
   20362 
   20363 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20365 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20366 See \`config.log' for more details." >&5
   20367 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20368 See \`config.log' for more details." >&2;}
   20369    { (exit 1); exit 1; }; }; }
   20370 
   20371 # Provide some information about the compiler.
   20372 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20373 set X $ac_compile
   20374 ac_compiler=$2
   20375 { (ac_try="$ac_compiler --version >&5"
   20376 case "(($ac_try" in
   20377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20378   *) ac_try_echo=$ac_try;;
   20379 esac
   20380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20381 $as_echo "$ac_try_echo") >&5
   20382   (eval "$ac_compiler --version >&5") 2>&5
   20383   ac_status=$?
   20384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20385   (exit $ac_status); }
   20386 { (ac_try="$ac_compiler -v >&5"
   20387 case "(($ac_try" in
   20388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20389   *) ac_try_echo=$ac_try;;
   20390 esac
   20391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20392 $as_echo "$ac_try_echo") >&5
   20393   (eval "$ac_compiler -v >&5") 2>&5
   20394   ac_status=$?
   20395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20396   (exit $ac_status); }
   20397 { (ac_try="$ac_compiler -V >&5"
   20398 case "(($ac_try" in
   20399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20400   *) ac_try_echo=$ac_try;;
   20401 esac
   20402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20403 $as_echo "$ac_try_echo") >&5
   20404   (eval "$ac_compiler -V >&5") 2>&5
   20405   ac_status=$?
   20406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20407   (exit $ac_status); }
   20408 
   20409 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20411 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20412   $as_echo_n "(cached) " >&6
   20413 else
   20414   cat >conftest.$ac_ext <<_ACEOF
   20415 /* confdefs.h.  */
   20416 _ACEOF
   20417 cat confdefs.h >>conftest.$ac_ext
   20418 cat >>conftest.$ac_ext <<_ACEOF
   20419 /* end confdefs.h.  */
   20420 
   20421 int
   20422 main ()
   20423 {
   20424 #ifndef __GNUC__
   20425        choke me
   20426 #endif
   20427 
   20428   ;
   20429   return 0;
   20430 }
   20431 _ACEOF
   20432 rm -f conftest.$ac_objext
   20433 if { (ac_try="$ac_compile"
   20434 case "(($ac_try" in
   20435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20436   *) ac_try_echo=$ac_try;;
   20437 esac
   20438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20439 $as_echo "$ac_try_echo") >&5
   20440   (eval "$ac_compile") 2>conftest.er1
   20441   ac_status=$?
   20442   grep -v '^ *+' conftest.er1 >conftest.err
   20443   rm -f conftest.er1
   20444   cat conftest.err >&5
   20445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20446   (exit $ac_status); } && {
   20447 	 test -z "$ac_c_werror_flag" ||
   20448 	 test ! -s conftest.err
   20449        } && test -s conftest.$ac_objext; then
   20450   ac_compiler_gnu=yes
   20451 else
   20452   $as_echo "$as_me: failed program was:" >&5
   20453 sed 's/^/| /' conftest.$ac_ext >&5
   20454 
   20455 	ac_compiler_gnu=no
   20456 fi
   20457 
   20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20459 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20460 
   20461 fi
   20462 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20463 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20464 if test $ac_compiler_gnu = yes; then
   20465   GCC=yes
   20466 else
   20467   GCC=
   20468 fi
   20469 ac_test_CFLAGS=${CFLAGS+set}
   20470 ac_save_CFLAGS=$CFLAGS
   20471 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20472 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20473 if test "${ac_cv_prog_cc_g+set}" = set; then
   20474   $as_echo_n "(cached) " >&6
   20475 else
   20476   ac_save_c_werror_flag=$ac_c_werror_flag
   20477    ac_c_werror_flag=yes
   20478    ac_cv_prog_cc_g=no
   20479    CFLAGS="-g"
   20480    cat >conftest.$ac_ext <<_ACEOF
   20481 /* confdefs.h.  */
   20482 _ACEOF
   20483 cat confdefs.h >>conftest.$ac_ext
   20484 cat >>conftest.$ac_ext <<_ACEOF
   20485 /* end confdefs.h.  */
   20486 
   20487 int
   20488 main ()
   20489 {
   20490 
   20491   ;
   20492   return 0;
   20493 }
   20494 _ACEOF
   20495 rm -f conftest.$ac_objext
   20496 if { (ac_try="$ac_compile"
   20497 case "(($ac_try" in
   20498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20499   *) ac_try_echo=$ac_try;;
   20500 esac
   20501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20502 $as_echo "$ac_try_echo") >&5
   20503   (eval "$ac_compile") 2>conftest.er1
   20504   ac_status=$?
   20505   grep -v '^ *+' conftest.er1 >conftest.err
   20506   rm -f conftest.er1
   20507   cat conftest.err >&5
   20508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20509   (exit $ac_status); } && {
   20510 	 test -z "$ac_c_werror_flag" ||
   20511 	 test ! -s conftest.err
   20512        } && test -s conftest.$ac_objext; then
   20513   ac_cv_prog_cc_g=yes
   20514 else
   20515   $as_echo "$as_me: failed program was:" >&5
   20516 sed 's/^/| /' conftest.$ac_ext >&5
   20517 
   20518 	CFLAGS=""
   20519       cat >conftest.$ac_ext <<_ACEOF
   20520 /* confdefs.h.  */
   20521 _ACEOF
   20522 cat confdefs.h >>conftest.$ac_ext
   20523 cat >>conftest.$ac_ext <<_ACEOF
   20524 /* end confdefs.h.  */
   20525 
   20526 int
   20527 main ()
   20528 {
   20529 
   20530   ;
   20531   return 0;
   20532 }
   20533 _ACEOF
   20534 rm -f conftest.$ac_objext
   20535 if { (ac_try="$ac_compile"
   20536 case "(($ac_try" in
   20537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20538   *) ac_try_echo=$ac_try;;
   20539 esac
   20540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20541 $as_echo "$ac_try_echo") >&5
   20542   (eval "$ac_compile") 2>conftest.er1
   20543   ac_status=$?
   20544   grep -v '^ *+' conftest.er1 >conftest.err
   20545   rm -f conftest.er1
   20546   cat conftest.err >&5
   20547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20548   (exit $ac_status); } && {
   20549 	 test -z "$ac_c_werror_flag" ||
   20550 	 test ! -s conftest.err
   20551        } && test -s conftest.$ac_objext; then
   20552   :
   20553 else
   20554   $as_echo "$as_me: failed program was:" >&5
   20555 sed 's/^/| /' conftest.$ac_ext >&5
   20556 
   20557 	ac_c_werror_flag=$ac_save_c_werror_flag
   20558 	 CFLAGS="-g"
   20559 	 cat >conftest.$ac_ext <<_ACEOF
   20560 /* confdefs.h.  */
   20561 _ACEOF
   20562 cat confdefs.h >>conftest.$ac_ext
   20563 cat >>conftest.$ac_ext <<_ACEOF
   20564 /* end confdefs.h.  */
   20565 
   20566 int
   20567 main ()
   20568 {
   20569 
   20570   ;
   20571   return 0;
   20572 }
   20573 _ACEOF
   20574 rm -f conftest.$ac_objext
   20575 if { (ac_try="$ac_compile"
   20576 case "(($ac_try" in
   20577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20578   *) ac_try_echo=$ac_try;;
   20579 esac
   20580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20581 $as_echo "$ac_try_echo") >&5
   20582   (eval "$ac_compile") 2>conftest.er1
   20583   ac_status=$?
   20584   grep -v '^ *+' conftest.er1 >conftest.err
   20585   rm -f conftest.er1
   20586   cat conftest.err >&5
   20587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20588   (exit $ac_status); } && {
   20589 	 test -z "$ac_c_werror_flag" ||
   20590 	 test ! -s conftest.err
   20591        } && test -s conftest.$ac_objext; then
   20592   ac_cv_prog_cc_g=yes
   20593 else
   20594   $as_echo "$as_me: failed program was:" >&5
   20595 sed 's/^/| /' conftest.$ac_ext >&5
   20596 
   20597 
   20598 fi
   20599 
   20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20601 fi
   20602 
   20603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20604 fi
   20605 
   20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20607    ac_c_werror_flag=$ac_save_c_werror_flag
   20608 fi
   20609 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20610 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20611 if test "$ac_test_CFLAGS" = set; then
   20612   CFLAGS=$ac_save_CFLAGS
   20613 elif test $ac_cv_prog_cc_g = yes; then
   20614   if test "$GCC" = yes; then
   20615     CFLAGS="-g -O2"
   20616   else
   20617     CFLAGS="-g"
   20618   fi
   20619 else
   20620   if test "$GCC" = yes; then
   20621     CFLAGS="-O2"
   20622   else
   20623     CFLAGS=
   20624   fi
   20625 fi
   20626 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20628 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20629   $as_echo_n "(cached) " >&6
   20630 else
   20631   ac_cv_prog_cc_c89=no
   20632 ac_save_CC=$CC
   20633 cat >conftest.$ac_ext <<_ACEOF
   20634 /* confdefs.h.  */
   20635 _ACEOF
   20636 cat confdefs.h >>conftest.$ac_ext
   20637 cat >>conftest.$ac_ext <<_ACEOF
   20638 /* end confdefs.h.  */
   20639 #include <stdarg.h>
   20640 #include <stdio.h>
   20641 #include <sys/types.h>
   20642 #include <sys/stat.h>
   20643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20644 struct buf { int x; };
   20645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20646 static char *e (p, i)
   20647      char **p;
   20648      int i;
   20649 {
   20650   return p[i];
   20651 }
   20652 static char *f (char * (*g) (char **, int), char **p, ...)
   20653 {
   20654   char *s;
   20655   va_list v;
   20656   va_start (v,p);
   20657   s = g (p, va_arg (v,int));
   20658   va_end (v);
   20659   return s;
   20660 }
   20661 
   20662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20663    function prototypes and stuff, but not '\xHH' hex character constants.
   20664    These don't provoke an error unfortunately, instead are silently treated
   20665    as 'x'.  The following induces an error, until -std is added to get
   20666    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20667    array size at least.  It's necessary to write '\x00'==0 to get something
   20668    that's true only with -std.  */
   20669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20670 
   20671 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20672    inside strings and character constants.  */
   20673 #define FOO(x) 'x'
   20674 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20675 
   20676 int test (int i, double x);
   20677 struct s1 {int (*f) (int a);};
   20678 struct s2 {int (*f) (double a);};
   20679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20680 int argc;
   20681 char **argv;
   20682 int
   20683 main ()
   20684 {
   20685 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20686   ;
   20687   return 0;
   20688 }
   20689 _ACEOF
   20690 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20691 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20692 do
   20693   CC="$ac_save_CC $ac_arg"
   20694   rm -f conftest.$ac_objext
   20695 if { (ac_try="$ac_compile"
   20696 case "(($ac_try" in
   20697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20698   *) ac_try_echo=$ac_try;;
   20699 esac
   20700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20701 $as_echo "$ac_try_echo") >&5
   20702   (eval "$ac_compile") 2>conftest.er1
   20703   ac_status=$?
   20704   grep -v '^ *+' conftest.er1 >conftest.err
   20705   rm -f conftest.er1
   20706   cat conftest.err >&5
   20707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20708   (exit $ac_status); } && {
   20709 	 test -z "$ac_c_werror_flag" ||
   20710 	 test ! -s conftest.err
   20711        } && test -s conftest.$ac_objext; then
   20712   ac_cv_prog_cc_c89=$ac_arg
   20713 else
   20714   $as_echo "$as_me: failed program was:" >&5
   20715 sed 's/^/| /' conftest.$ac_ext >&5
   20716 
   20717 
   20718 fi
   20719 
   20720 rm -f core conftest.err conftest.$ac_objext
   20721   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20722 done
   20723 rm -f conftest.$ac_ext
   20724 CC=$ac_save_CC
   20725 
   20726 fi
   20727 # AC_CACHE_VAL
   20728 case "x$ac_cv_prog_cc_c89" in
   20729   x)
   20730     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20731 $as_echo "none needed" >&6; } ;;
   20732   xno)
   20733     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20734 $as_echo "unsupported" >&6; } ;;
   20735   *)
   20736     CC="$CC $ac_cv_prog_cc_c89"
   20737     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20738 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20739 esac
   20740 
   20741 
   20742 ac_ext=c
   20743 ac_cpp='$CPP $CPPFLAGS'
   20744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20747 
   20748 depcc="$CC"   am_compiler_list=
   20749 
   20750 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20751 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20752 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20753   $as_echo_n "(cached) " >&6
   20754 else
   20755   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20756   # We make a subdir and do the tests there.  Otherwise we can end up
   20757   # making bogus files that we don't know about and never remove.  For
   20758   # instance it was reported that on HP-UX the gcc test will end up
   20759   # making a dummy file named `D' -- because `-MD' means `put the output
   20760   # in D'.
   20761   mkdir conftest.dir
   20762   # Copy depcomp to subdir because otherwise we won't find it if we're
   20763   # using a relative directory.
   20764   cp "$am_depcomp" conftest.dir
   20765   cd conftest.dir
   20766   # We will build objects and dependencies in a subdirectory because
   20767   # it helps to detect inapplicable dependency modes.  For instance
   20768   # both Tru64's cc and ICC support -MD to output dependencies as a
   20769   # side effect of compilation, but ICC will put the dependencies in
   20770   # the current directory while Tru64 will put them in the object
   20771   # directory.
   20772   mkdir sub
   20773 
   20774   am_cv_CC_dependencies_compiler_type=none
   20775   if test "$am_compiler_list" = ""; then
   20776      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20777   fi
   20778   am__universal=false
   20779   case " $depcc " in #(
   20780      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20781      esac
   20782 
   20783   for depmode in $am_compiler_list; do
   20784     # Setup a source with many dependencies, because some compilers
   20785     # like to wrap large dependency lists on column 80 (with \), and
   20786     # we should not choose a depcomp mode which is confused by this.
   20787     #
   20788     # We need to recreate these files for each test, as the compiler may
   20789     # overwrite some of them when testing with obscure command lines.
   20790     # This happens at least with the AIX C compiler.
   20791     : > sub/conftest.c
   20792     for i in 1 2 3 4 5 6; do
   20793       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20794       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20795       # Solaris 8's {/usr,}/bin/sh.
   20796       touch sub/conftst$i.h
   20797     done
   20798     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20799 
   20800     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20801     # mode.  It turns out that the SunPro C++ compiler does not properly
   20802     # handle `-M -o', and we need to detect this.  Also, some Intel
   20803     # versions had trouble with output in subdirs
   20804     am__obj=sub/conftest.${OBJEXT-o}
   20805     am__minus_obj="-o $am__obj"
   20806     case $depmode in
   20807     gcc)
   20808       # This depmode causes a compiler race in universal mode.
   20809       test "$am__universal" = false || continue
   20810       ;;
   20811     nosideeffect)
   20812       # after this tag, mechanisms are not by side-effect, so they'll
   20813       # only be used when explicitly requested
   20814       if test "x$enable_dependency_tracking" = xyes; then
   20815 	continue
   20816       else
   20817 	break
   20818       fi
   20819       ;;
   20820     msvisualcpp | msvcmsys)
   20821       # This compiler won't grok `-c -o', but also, the minuso test has
   20822       # not run yet.  These depmodes are late enough in the game, and
   20823       # so weak that their functioning should not be impacted.
   20824       am__obj=conftest.${OBJEXT-o}
   20825       am__minus_obj=
   20826       ;;
   20827     none) break ;;
   20828     esac
   20829     if depmode=$depmode \
   20830        source=sub/conftest.c object=$am__obj \
   20831        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20832        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20833          >/dev/null 2>conftest.err &&
   20834        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20835        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20836        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20837        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20838       # icc doesn't choke on unknown options, it will just issue warnings
   20839       # or remarks (even with -Werror).  So we grep stderr for any message
   20840       # that says an option was ignored or not supported.
   20841       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20842       #   icc: Command line warning: ignoring option '-M'; no argument required
   20843       # The diagnosis changed in icc 8.0:
   20844       #   icc: Command line remark: option '-MP' not supported
   20845       if (grep 'ignoring option' conftest.err ||
   20846           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20847         am_cv_CC_dependencies_compiler_type=$depmode
   20848         break
   20849       fi
   20850     fi
   20851   done
   20852 
   20853   cd ..
   20854   rm -rf conftest.dir
   20855 else
   20856   am_cv_CC_dependencies_compiler_type=none
   20857 fi
   20858 
   20859 fi
   20860 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20861 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20862 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20863 
   20864  if
   20865   test "x$enable_dependency_tracking" != xno \
   20866   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20867   am__fastdepCC_TRUE=
   20868   am__fastdepCC_FALSE='#'
   20869 else
   20870   am__fastdepCC_TRUE='#'
   20871   am__fastdepCC_FALSE=
   20872 fi
   20873 
   20874 
   20875 
   20876 
   20877 
   20878 
   20879 
   20880 # Check whether --with-xorg-module-dir was given.
   20881 if test "${with_xorg_module_dir+set}" = set; then
   20882   withval=$with_xorg_module_dir; moduledir="$withval"
   20883 else
   20884   moduledir="$libdir/xorg/modules"
   20885 fi
   20886 
   20887 
   20888 # Check whether --enable-dri was given.
   20889 if test "${enable_dri+set}" = set; then
   20890   enableval=$enable_dri; DRI="$enableval"
   20891 else
   20892   DRI=auto
   20893 fi
   20894 
   20895 
   20896 # Check whether --enable-debug was given.
   20897 if test "${enable_debug+set}" = set; then
   20898   enableval=$enable_debug; DEBUG="$enableval"
   20899 else
   20900   DEBUG=no
   20901 fi
   20902 
   20903 
   20904 # Check whether --enable-xv-debug was given.
   20905 if test "${enable_xv_debug+set}" = set; then
   20906   enableval=$enable_xv_debug; XV_DEBUG="$enableval"
   20907 else
   20908   XV_DEBUG=no
   20909 fi
   20910 
   20911 
   20912 # Checks for extensions
   20913 
   20914 	SAVE_CFLAGS="$CFLAGS"
   20915 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20916 	cat >conftest.$ac_ext <<_ACEOF
   20917 /* confdefs.h.  */
   20918 _ACEOF
   20919 cat confdefs.h >>conftest.$ac_ext
   20920 cat >>conftest.$ac_ext <<_ACEOF
   20921 /* end confdefs.h.  */
   20922 
   20923 #include "xorg-server.h"
   20924 #if !defined RANDR
   20925 #error RANDR not defined
   20926 #endif
   20927 
   20928 int
   20929 main ()
   20930 {
   20931 
   20932   ;
   20933   return 0;
   20934 }
   20935 _ACEOF
   20936 rm -f conftest.$ac_objext
   20937 if { (ac_try="$ac_compile"
   20938 case "(($ac_try" in
   20939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20940   *) ac_try_echo=$ac_try;;
   20941 esac
   20942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20943 $as_echo "$ac_try_echo") >&5
   20944   (eval "$ac_compile") 2>conftest.er1
   20945   ac_status=$?
   20946   grep -v '^ *+' conftest.er1 >conftest.err
   20947   rm -f conftest.er1
   20948   cat conftest.err >&5
   20949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20950   (exit $ac_status); } && {
   20951 	 test -z "$ac_c_werror_flag" ||
   20952 	 test ! -s conftest.err
   20953        } && test -s conftest.$ac_objext; then
   20954   _EXT_CHECK=yes
   20955 else
   20956   $as_echo "$as_me: failed program was:" >&5
   20957 sed 's/^/| /' conftest.$ac_ext >&5
   20958 
   20959 	_EXT_CHECK=no
   20960 fi
   20961 
   20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20963 	CFLAGS="$SAVE_CFLAGS"
   20964 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20965 $as_echo_n "checking if RANDR is defined... " >&6; }
   20966 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20967 $as_echo "$_EXT_CHECK" >&6; }
   20968 	if test "$_EXT_CHECK" != no; then
   20969 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20970 	fi
   20971 
   20972 
   20973 	SAVE_CFLAGS="$CFLAGS"
   20974 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20975 	cat >conftest.$ac_ext <<_ACEOF
   20976 /* confdefs.h.  */
   20977 _ACEOF
   20978 cat confdefs.h >>conftest.$ac_ext
   20979 cat >>conftest.$ac_ext <<_ACEOF
   20980 /* end confdefs.h.  */
   20981 
   20982 #include "xorg-server.h"
   20983 #if !defined RENDER
   20984 #error RENDER not defined
   20985 #endif
   20986 
   20987 int
   20988 main ()
   20989 {
   20990 
   20991   ;
   20992   return 0;
   20993 }
   20994 _ACEOF
   20995 rm -f conftest.$ac_objext
   20996 if { (ac_try="$ac_compile"
   20997 case "(($ac_try" in
   20998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20999   *) ac_try_echo=$ac_try;;
   21000 esac
   21001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21002 $as_echo "$ac_try_echo") >&5
   21003   (eval "$ac_compile") 2>conftest.er1
   21004   ac_status=$?
   21005   grep -v '^ *+' conftest.er1 >conftest.err
   21006   rm -f conftest.er1
   21007   cat conftest.err >&5
   21008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21009   (exit $ac_status); } && {
   21010 	 test -z "$ac_c_werror_flag" ||
   21011 	 test ! -s conftest.err
   21012        } && test -s conftest.$ac_objext; then
   21013   _EXT_CHECK=yes
   21014 else
   21015   $as_echo "$as_me: failed program was:" >&5
   21016 sed 's/^/| /' conftest.$ac_ext >&5
   21017 
   21018 	_EXT_CHECK=no
   21019 fi
   21020 
   21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21022 	CFLAGS="$SAVE_CFLAGS"
   21023 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   21024 $as_echo_n "checking if RENDER is defined... " >&6; }
   21025 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21026 $as_echo "$_EXT_CHECK" >&6; }
   21027 	if test "$_EXT_CHECK" != no; then
   21028 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   21029 	fi
   21030 
   21031 
   21032 	SAVE_CFLAGS="$CFLAGS"
   21033 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21034 	cat >conftest.$ac_ext <<_ACEOF
   21035 /* confdefs.h.  */
   21036 _ACEOF
   21037 cat confdefs.h >>conftest.$ac_ext
   21038 cat >>conftest.$ac_ext <<_ACEOF
   21039 /* end confdefs.h.  */
   21040 
   21041 #include "xorg-server.h"
   21042 #if !defined XV
   21043 #error XV not defined
   21044 #endif
   21045 
   21046 int
   21047 main ()
   21048 {
   21049 
   21050   ;
   21051   return 0;
   21052 }
   21053 _ACEOF
   21054 rm -f conftest.$ac_objext
   21055 if { (ac_try="$ac_compile"
   21056 case "(($ac_try" in
   21057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21058   *) ac_try_echo=$ac_try;;
   21059 esac
   21060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21061 $as_echo "$ac_try_echo") >&5
   21062   (eval "$ac_compile") 2>conftest.er1
   21063   ac_status=$?
   21064   grep -v '^ *+' conftest.er1 >conftest.err
   21065   rm -f conftest.er1
   21066   cat conftest.err >&5
   21067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21068   (exit $ac_status); } && {
   21069 	 test -z "$ac_c_werror_flag" ||
   21070 	 test ! -s conftest.err
   21071        } && test -s conftest.$ac_objext; then
   21072   _EXT_CHECK=yes
   21073 else
   21074   $as_echo "$as_me: failed program was:" >&5
   21075 sed 's/^/| /' conftest.$ac_ext >&5
   21076 
   21077 	_EXT_CHECK=no
   21078 fi
   21079 
   21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21081 	CFLAGS="$SAVE_CFLAGS"
   21082 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21083 $as_echo_n "checking if XV is defined... " >&6; }
   21084 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21085 $as_echo "$_EXT_CHECK" >&6; }
   21086 	if test "$_EXT_CHECK" != no; then
   21087 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21088 	fi
   21089 
   21090 
   21091 	SAVE_CFLAGS="$CFLAGS"
   21092 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21093 	cat >conftest.$ac_ext <<_ACEOF
   21094 /* confdefs.h.  */
   21095 _ACEOF
   21096 cat confdefs.h >>conftest.$ac_ext
   21097 cat >>conftest.$ac_ext <<_ACEOF
   21098 /* end confdefs.h.  */
   21099 
   21100 #include "xorg-server.h"
   21101 #if !defined XF86DRI
   21102 #error XF86DRI not defined
   21103 #endif
   21104 
   21105 int
   21106 main ()
   21107 {
   21108 
   21109   ;
   21110   return 0;
   21111 }
   21112 _ACEOF
   21113 rm -f conftest.$ac_objext
   21114 if { (ac_try="$ac_compile"
   21115 case "(($ac_try" in
   21116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21117   *) ac_try_echo=$ac_try;;
   21118 esac
   21119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21120 $as_echo "$ac_try_echo") >&5
   21121   (eval "$ac_compile") 2>conftest.er1
   21122   ac_status=$?
   21123   grep -v '^ *+' conftest.er1 >conftest.err
   21124   rm -f conftest.er1
   21125   cat conftest.err >&5
   21126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21127   (exit $ac_status); } && {
   21128 	 test -z "$ac_c_werror_flag" ||
   21129 	 test ! -s conftest.err
   21130        } && test -s conftest.$ac_objext; then
   21131   _EXT_CHECK=yes
   21132 else
   21133   $as_echo "$as_me: failed program was:" >&5
   21134 sed 's/^/| /' conftest.$ac_ext >&5
   21135 
   21136 	_EXT_CHECK=no
   21137 fi
   21138 
   21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21140 	CFLAGS="$SAVE_CFLAGS"
   21141 	{ $as_echo "$as_me:$LINENO: checking if XF86DRI is defined" >&5
   21142 $as_echo_n "checking if XF86DRI is defined... " >&6; }
   21143 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21144 $as_echo "$_EXT_CHECK" >&6; }
   21145 	if test "$_EXT_CHECK" != no; then
   21146 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto x11"
   21147 	fi
   21148 
   21149 
   21150 	SAVE_CFLAGS="$CFLAGS"
   21151 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21152 	cat >conftest.$ac_ext <<_ACEOF
   21153 /* confdefs.h.  */
   21154 _ACEOF
   21155 cat confdefs.h >>conftest.$ac_ext
   21156 cat >>conftest.$ac_ext <<_ACEOF
   21157 /* end confdefs.h.  */
   21158 
   21159 #include "xorg-server.h"
   21160 #if !defined DPMSExtension
   21161 #error DPMSExtension not defined
   21162 #endif
   21163 
   21164 int
   21165 main ()
   21166 {
   21167 
   21168   ;
   21169   return 0;
   21170 }
   21171 _ACEOF
   21172 rm -f conftest.$ac_objext
   21173 if { (ac_try="$ac_compile"
   21174 case "(($ac_try" in
   21175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21176   *) ac_try_echo=$ac_try;;
   21177 esac
   21178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21179 $as_echo "$ac_try_echo") >&5
   21180   (eval "$ac_compile") 2>conftest.er1
   21181   ac_status=$?
   21182   grep -v '^ *+' conftest.er1 >conftest.err
   21183   rm -f conftest.er1
   21184   cat conftest.err >&5
   21185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21186   (exit $ac_status); } && {
   21187 	 test -z "$ac_c_werror_flag" ||
   21188 	 test ! -s conftest.err
   21189        } && test -s conftest.$ac_objext; then
   21190   _EXT_CHECK=yes
   21191 else
   21192   $as_echo "$as_me: failed program was:" >&5
   21193 sed 's/^/| /' conftest.$ac_ext >&5
   21194 
   21195 	_EXT_CHECK=no
   21196 fi
   21197 
   21198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21199 	CFLAGS="$SAVE_CFLAGS"
   21200 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21201 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21202 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21203 $as_echo "$_EXT_CHECK" >&6; }
   21204 	if test "$_EXT_CHECK" != no; then
   21205 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21206 	fi
   21207 
   21208 
   21209 # Checks for pkg-config packages
   21210 
   21211 
   21212 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21213 	if test -n "$ac_tool_prefix"; then
   21214   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21215 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21217 $as_echo_n "checking for $ac_word... " >&6; }
   21218 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21219   $as_echo_n "(cached) " >&6
   21220 else
   21221   case $PKG_CONFIG in
   21222   [\\/]* | ?:[\\/]*)
   21223   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21224   ;;
   21225   *)
   21226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21227 for as_dir in $PATH
   21228 do
   21229   IFS=$as_save_IFS
   21230   test -z "$as_dir" && as_dir=.
   21231   for ac_exec_ext in '' $ac_executable_extensions; do
   21232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21233     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21234     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21235     break 2
   21236   fi
   21237 done
   21238 done
   21239 IFS=$as_save_IFS
   21240 
   21241   ;;
   21242 esac
   21243 fi
   21244 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21245 if test -n "$PKG_CONFIG"; then
   21246   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21247 $as_echo "$PKG_CONFIG" >&6; }
   21248 else
   21249   { $as_echo "$as_me:$LINENO: result: no" >&5
   21250 $as_echo "no" >&6; }
   21251 fi
   21252 
   21253 
   21254 fi
   21255 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21256   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21257   # Extract the first word of "pkg-config", so it can be a program name with args.
   21258 set dummy pkg-config; ac_word=$2
   21259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21260 $as_echo_n "checking for $ac_word... " >&6; }
   21261 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21262   $as_echo_n "(cached) " >&6
   21263 else
   21264   case $ac_pt_PKG_CONFIG in
   21265   [\\/]* | ?:[\\/]*)
   21266   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21267   ;;
   21268   *)
   21269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21270 for as_dir in $PATH
   21271 do
   21272   IFS=$as_save_IFS
   21273   test -z "$as_dir" && as_dir=.
   21274   for ac_exec_ext in '' $ac_executable_extensions; do
   21275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21276     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21277     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21278     break 2
   21279   fi
   21280 done
   21281 done
   21282 IFS=$as_save_IFS
   21283 
   21284   ;;
   21285 esac
   21286 fi
   21287 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21288 if test -n "$ac_pt_PKG_CONFIG"; then
   21289   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21290 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21291 else
   21292   { $as_echo "$as_me:$LINENO: result: no" >&5
   21293 $as_echo "no" >&6; }
   21294 fi
   21295 
   21296   if test "x$ac_pt_PKG_CONFIG" = x; then
   21297     PKG_CONFIG=""
   21298   else
   21299     case $cross_compiling:$ac_tool_warned in
   21300 yes:)
   21301 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21303 ac_tool_warned=yes ;;
   21304 esac
   21305     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21306   fi
   21307 else
   21308   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21309 fi
   21310 
   21311 fi
   21312 if test -n "$PKG_CONFIG"; then
   21313 	_pkg_min_version=0.9.0
   21314 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21315 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21316 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21317 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21318 $as_echo "yes" >&6; }
   21319 	else
   21320 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21321 $as_echo "no" >&6; }
   21322 		PKG_CONFIG=""
   21323 	fi
   21324 
   21325 fi
   21326 
   21327 pkg_failed=no
   21328 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21329 $as_echo_n "checking for XORG... " >&6; }
   21330 
   21331 if test -n "$XORG_CFLAGS"; then
   21332     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21333  elif test -n "$PKG_CONFIG"; then
   21334     if test -n "$PKG_CONFIG" && \
   21335     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto libdrm \$REQUIRED_MODULES\"") >&5
   21336   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES") 2>&5
   21337   ac_status=$?
   21338   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21339   (exit $ac_status); }; then
   21340   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES" 2>/dev/null`
   21341 else
   21342   pkg_failed=yes
   21343 fi
   21344  else
   21345     pkg_failed=untried
   21346 fi
   21347 if test -n "$XORG_LIBS"; then
   21348     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21349  elif test -n "$PKG_CONFIG"; then
   21350     if test -n "$PKG_CONFIG" && \
   21351     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto libdrm \$REQUIRED_MODULES\"") >&5
   21352   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES") 2>&5
   21353   ac_status=$?
   21354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21355   (exit $ac_status); }; then
   21356   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES" 2>/dev/null`
   21357 else
   21358   pkg_failed=yes
   21359 fi
   21360  else
   21361     pkg_failed=untried
   21362 fi
   21363 
   21364 
   21365 
   21366 if test $pkg_failed = yes; then
   21367 
   21368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21369         _pkg_short_errors_supported=yes
   21370 else
   21371         _pkg_short_errors_supported=no
   21372 fi
   21373         if test $_pkg_short_errors_supported = yes; then
   21374 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES" 2>&1`
   21375         else
   21376 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server xproto fontsproto libdrm $REQUIRED_MODULES" 2>&1`
   21377         fi
   21378 	# Put the nasty error message in config.log where it belongs
   21379 	echo "$XORG_PKG_ERRORS" >&5
   21380 
   21381 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server xproto fontsproto libdrm $REQUIRED_MODULES) were not met:
   21382 
   21383 $XORG_PKG_ERRORS
   21384 
   21385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21386 installed software in a non-standard prefix.
   21387 
   21388 Alternatively, you may set the environment variables XORG_CFLAGS
   21389 and XORG_LIBS to avoid the need to call pkg-config.
   21390 See the pkg-config man page for more details.
   21391 " >&5
   21392 $as_echo "$as_me: error: Package requirements (xorg-server xproto fontsproto libdrm $REQUIRED_MODULES) were not met:
   21393 
   21394 $XORG_PKG_ERRORS
   21395 
   21396 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21397 installed software in a non-standard prefix.
   21398 
   21399 Alternatively, you may set the environment variables XORG_CFLAGS
   21400 and XORG_LIBS to avoid the need to call pkg-config.
   21401 See the pkg-config man page for more details.
   21402 " >&2;}
   21403    { (exit 1); exit 1; }; }
   21404 elif test $pkg_failed = untried; then
   21405 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21407 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21408 is in your PATH or set the PKG_CONFIG environment variable to the full
   21409 path to pkg-config.
   21410 
   21411 Alternatively, you may set the environment variables XORG_CFLAGS
   21412 and XORG_LIBS to avoid the need to call pkg-config.
   21413 See the pkg-config man page for more details.
   21414 
   21415 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21416 See \`config.log' for more details." >&5
   21417 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21418 is in your PATH or set the PKG_CONFIG environment variable to the full
   21419 path to pkg-config.
   21420 
   21421 Alternatively, you may set the environment variables XORG_CFLAGS
   21422 and XORG_LIBS to avoid the need to call pkg-config.
   21423 See the pkg-config man page for more details.
   21424 
   21425 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21426 See \`config.log' for more details." >&2;}
   21427    { (exit 1); exit 1; }; }; }
   21428 else
   21429 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21430 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21431         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21432 $as_echo "yes" >&6; }
   21433 	:
   21434 fi
   21435 
   21436 pkg_failed=no
   21437 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21438 $as_echo_n "checking for XEXT... " >&6; }
   21439 
   21440 if test -n "$XEXT_CFLAGS"; then
   21441     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21442  elif test -n "$PKG_CONFIG"; then
   21443     if test -n "$PKG_CONFIG" && \
   21444     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21445   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21446   ac_status=$?
   21447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21448   (exit $ac_status); }; then
   21449   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21450 else
   21451   pkg_failed=yes
   21452 fi
   21453  else
   21454     pkg_failed=untried
   21455 fi
   21456 if test -n "$XEXT_LIBS"; then
   21457     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21458  elif test -n "$PKG_CONFIG"; then
   21459     if test -n "$PKG_CONFIG" && \
   21460     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21461   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21462   ac_status=$?
   21463   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21464   (exit $ac_status); }; then
   21465   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21466 else
   21467   pkg_failed=yes
   21468 fi
   21469  else
   21470     pkg_failed=untried
   21471 fi
   21472 
   21473 
   21474 
   21475 if test $pkg_failed = yes; then
   21476 
   21477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21478         _pkg_short_errors_supported=yes
   21479 else
   21480         _pkg_short_errors_supported=no
   21481 fi
   21482         if test $_pkg_short_errors_supported = yes; then
   21483 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21484         else
   21485 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21486         fi
   21487 	# Put the nasty error message in config.log where it belongs
   21488 	echo "$XEXT_PKG_ERRORS" >&5
   21489 
   21490 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21491 $as_echo "no" >&6; }
   21492                 HAVE_XEXTPROTO_71="no"
   21493 elif test $pkg_failed = untried; then
   21494 	HAVE_XEXTPROTO_71="no"
   21495 else
   21496 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21497 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21498         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21499 $as_echo "yes" >&6; }
   21500 	HAVE_XEXTPROTO_71="yes";
   21501 cat >>confdefs.h <<\_ACEOF
   21502 #define HAVE_XEXTPROTO_71 1
   21503 _ACEOF
   21504 
   21505 fi
   21506  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21507   HAVE_XEXTPROTO_71_TRUE=
   21508   HAVE_XEXTPROTO_71_FALSE='#'
   21509 else
   21510   HAVE_XEXTPROTO_71_TRUE='#'
   21511   HAVE_XEXTPROTO_71_FALSE=
   21512 fi
   21513 
   21514 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21515 
   21516 # Checks for libraries.
   21517 
   21518 # Checks for header files.
   21519 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21520 $as_echo_n "checking for ANSI C header files... " >&6; }
   21521 if test "${ac_cv_header_stdc+set}" = set; then
   21522   $as_echo_n "(cached) " >&6
   21523 else
   21524   cat >conftest.$ac_ext <<_ACEOF
   21525 /* confdefs.h.  */
   21526 _ACEOF
   21527 cat confdefs.h >>conftest.$ac_ext
   21528 cat >>conftest.$ac_ext <<_ACEOF
   21529 /* end confdefs.h.  */
   21530 #include <stdlib.h>
   21531 #include <stdarg.h>
   21532 #include <string.h>
   21533 #include <float.h>
   21534 
   21535 int
   21536 main ()
   21537 {
   21538 
   21539   ;
   21540   return 0;
   21541 }
   21542 _ACEOF
   21543 rm -f conftest.$ac_objext
   21544 if { (ac_try="$ac_compile"
   21545 case "(($ac_try" in
   21546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21547   *) ac_try_echo=$ac_try;;
   21548 esac
   21549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21550 $as_echo "$ac_try_echo") >&5
   21551   (eval "$ac_compile") 2>conftest.er1
   21552   ac_status=$?
   21553   grep -v '^ *+' conftest.er1 >conftest.err
   21554   rm -f conftest.er1
   21555   cat conftest.err >&5
   21556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21557   (exit $ac_status); } && {
   21558 	 test -z "$ac_c_werror_flag" ||
   21559 	 test ! -s conftest.err
   21560        } && test -s conftest.$ac_objext; then
   21561   ac_cv_header_stdc=yes
   21562 else
   21563   $as_echo "$as_me: failed program was:" >&5
   21564 sed 's/^/| /' conftest.$ac_ext >&5
   21565 
   21566 	ac_cv_header_stdc=no
   21567 fi
   21568 
   21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21570 
   21571 if test $ac_cv_header_stdc = yes; then
   21572   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21573   cat >conftest.$ac_ext <<_ACEOF
   21574 /* confdefs.h.  */
   21575 _ACEOF
   21576 cat confdefs.h >>conftest.$ac_ext
   21577 cat >>conftest.$ac_ext <<_ACEOF
   21578 /* end confdefs.h.  */
   21579 #include <string.h>
   21580 
   21581 _ACEOF
   21582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21583   $EGREP "memchr" >/dev/null 2>&1; then
   21584   :
   21585 else
   21586   ac_cv_header_stdc=no
   21587 fi
   21588 rm -f conftest*
   21589 
   21590 fi
   21591 
   21592 if test $ac_cv_header_stdc = yes; then
   21593   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21594   cat >conftest.$ac_ext <<_ACEOF
   21595 /* confdefs.h.  */
   21596 _ACEOF
   21597 cat confdefs.h >>conftest.$ac_ext
   21598 cat >>conftest.$ac_ext <<_ACEOF
   21599 /* end confdefs.h.  */
   21600 #include <stdlib.h>
   21601 
   21602 _ACEOF
   21603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21604   $EGREP "free" >/dev/null 2>&1; then
   21605   :
   21606 else
   21607   ac_cv_header_stdc=no
   21608 fi
   21609 rm -f conftest*
   21610 
   21611 fi
   21612 
   21613 if test $ac_cv_header_stdc = yes; then
   21614   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21615   if test "$cross_compiling" = yes; then
   21616   :
   21617 else
   21618   cat >conftest.$ac_ext <<_ACEOF
   21619 /* confdefs.h.  */
   21620 _ACEOF
   21621 cat confdefs.h >>conftest.$ac_ext
   21622 cat >>conftest.$ac_ext <<_ACEOF
   21623 /* end confdefs.h.  */
   21624 #include <ctype.h>
   21625 #include <stdlib.h>
   21626 #if ((' ' & 0x0FF) == 0x020)
   21627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21629 #else
   21630 # define ISLOWER(c) \
   21631 		   (('a' <= (c) && (c) <= 'i') \
   21632 		     || ('j' <= (c) && (c) <= 'r') \
   21633 		     || ('s' <= (c) && (c) <= 'z'))
   21634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21635 #endif
   21636 
   21637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21638 int
   21639 main ()
   21640 {
   21641   int i;
   21642   for (i = 0; i < 256; i++)
   21643     if (XOR (islower (i), ISLOWER (i))
   21644 	|| toupper (i) != TOUPPER (i))
   21645       return 2;
   21646   return 0;
   21647 }
   21648 _ACEOF
   21649 rm -f conftest$ac_exeext
   21650 if { (ac_try="$ac_link"
   21651 case "(($ac_try" in
   21652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21653   *) ac_try_echo=$ac_try;;
   21654 esac
   21655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21656 $as_echo "$ac_try_echo") >&5
   21657   (eval "$ac_link") 2>&5
   21658   ac_status=$?
   21659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21660   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21661   { (case "(($ac_try" in
   21662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21663   *) ac_try_echo=$ac_try;;
   21664 esac
   21665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21666 $as_echo "$ac_try_echo") >&5
   21667   (eval "$ac_try") 2>&5
   21668   ac_status=$?
   21669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21670   (exit $ac_status); }; }; then
   21671   :
   21672 else
   21673   $as_echo "$as_me: program exited with status $ac_status" >&5
   21674 $as_echo "$as_me: failed program was:" >&5
   21675 sed 's/^/| /' conftest.$ac_ext >&5
   21676 
   21677 ( exit $ac_status )
   21678 ac_cv_header_stdc=no
   21679 fi
   21680 rm -rf conftest.dSYM
   21681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21682 fi
   21683 
   21684 
   21685 fi
   21686 fi
   21687 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21688 $as_echo "$ac_cv_header_stdc" >&6; }
   21689 if test $ac_cv_header_stdc = yes; then
   21690 
   21691 cat >>confdefs.h <<\_ACEOF
   21692 #define STDC_HEADERS 1
   21693 _ACEOF
   21694 
   21695 fi
   21696 
   21697 { $as_echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   21698 $as_echo_n "checking for xf86Modes.h... " >&6; }
   21699 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   21700   $as_echo_n "(cached) " >&6
   21701 else
   21702   cat >conftest.$ac_ext <<_ACEOF
   21703 /* confdefs.h.  */
   21704 _ACEOF
   21705 cat confdefs.h >>conftest.$ac_ext
   21706 cat >>conftest.$ac_ext <<_ACEOF
   21707 /* end confdefs.h.  */
   21708 #include "xorg-server.h"
   21709 
   21710 #include <xf86Modes.h>
   21711 _ACEOF
   21712 rm -f conftest.$ac_objext
   21713 if { (ac_try="$ac_compile"
   21714 case "(($ac_try" in
   21715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21716   *) ac_try_echo=$ac_try;;
   21717 esac
   21718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21719 $as_echo "$ac_try_echo") >&5
   21720   (eval "$ac_compile") 2>conftest.er1
   21721   ac_status=$?
   21722   grep -v '^ *+' conftest.er1 >conftest.err
   21723   rm -f conftest.er1
   21724   cat conftest.err >&5
   21725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21726   (exit $ac_status); } && {
   21727 	 test -z "$ac_c_werror_flag" ||
   21728 	 test ! -s conftest.err
   21729        } && test -s conftest.$ac_objext; then
   21730   ac_cv_header_xf86Modes_h=yes
   21731 else
   21732   $as_echo "$as_me: failed program was:" >&5
   21733 sed 's/^/| /' conftest.$ac_ext >&5
   21734 
   21735 	ac_cv_header_xf86Modes_h=no
   21736 fi
   21737 
   21738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21739 fi
   21740 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   21741 $as_echo "$ac_cv_header_xf86Modes_h" >&6; }
   21742 if test "x$ac_cv_header_xf86Modes_h" = x""yes; then
   21743   XMODES=yes
   21744 else
   21745   XMODES=no
   21746 fi
   21747 
   21748 
   21749 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21750 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21751 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21752   $as_echo_n "(cached) " >&6
   21753 else
   21754   cat >conftest.$ac_ext <<_ACEOF
   21755 /* confdefs.h.  */
   21756 _ACEOF
   21757 cat confdefs.h >>conftest.$ac_ext
   21758 cat >>conftest.$ac_ext <<_ACEOF
   21759 /* end confdefs.h.  */
   21760 #include "xorg/xorg-server.h"
   21761 
   21762 int
   21763 main ()
   21764 {
   21765 #ifndef XSERVER_LIBPCIACCESS
   21766   (void) XSERVER_LIBPCIACCESS;
   21767 #endif
   21768 
   21769   ;
   21770   return 0;
   21771 }
   21772 _ACEOF
   21773 rm -f conftest.$ac_objext
   21774 if { (ac_try="$ac_compile"
   21775 case "(($ac_try" in
   21776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21777   *) ac_try_echo=$ac_try;;
   21778 esac
   21779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21780 $as_echo "$ac_try_echo") >&5
   21781   (eval "$ac_compile") 2>conftest.er1
   21782   ac_status=$?
   21783   grep -v '^ *+' conftest.er1 >conftest.err
   21784   rm -f conftest.er1
   21785   cat conftest.err >&5
   21786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21787   (exit $ac_status); } && {
   21788 	 test -z "$ac_c_werror_flag" ||
   21789 	 test ! -s conftest.err
   21790        } && test -s conftest.$ac_objext; then
   21791   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21792 else
   21793   $as_echo "$as_me: failed program was:" >&5
   21794 sed 's/^/| /' conftest.$ac_ext >&5
   21795 
   21796 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21797 fi
   21798 
   21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21800 fi
   21801 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21802 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21803 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21804   XSERVER_LIBPCIACCESS=yes
   21805 else
   21806   XSERVER_LIBPCIACCESS=no
   21807 fi
   21808 
   21809 
   21810 if test x$XSERVER_LIBPCIACCESS = xyes; then
   21811 
   21812 pkg_failed=no
   21813 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21814 $as_echo_n "checking for PCIACCESS... " >&6; }
   21815 
   21816 if test -n "$PCIACCESS_CFLAGS"; then
   21817     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21818  elif test -n "$PKG_CONFIG"; then
   21819     if test -n "$PKG_CONFIG" && \
   21820     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21821   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21822   ac_status=$?
   21823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21824   (exit $ac_status); }; then
   21825   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21826 else
   21827   pkg_failed=yes
   21828 fi
   21829  else
   21830     pkg_failed=untried
   21831 fi
   21832 if test -n "$PCIACCESS_LIBS"; then
   21833     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21834  elif test -n "$PKG_CONFIG"; then
   21835     if test -n "$PKG_CONFIG" && \
   21836     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21837   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21838   ac_status=$?
   21839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21840   (exit $ac_status); }; then
   21841   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21842 else
   21843   pkg_failed=yes
   21844 fi
   21845  else
   21846     pkg_failed=untried
   21847 fi
   21848 
   21849 
   21850 
   21851 if test $pkg_failed = yes; then
   21852 
   21853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21854         _pkg_short_errors_supported=yes
   21855 else
   21856         _pkg_short_errors_supported=no
   21857 fi
   21858         if test $_pkg_short_errors_supported = yes; then
   21859 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21860         else
   21861 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21862         fi
   21863 	# Put the nasty error message in config.log where it belongs
   21864 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21865 
   21866 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21867 
   21868 $PCIACCESS_PKG_ERRORS
   21869 
   21870 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21871 installed software in a non-standard prefix.
   21872 
   21873 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21874 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21875 See the pkg-config man page for more details.
   21876 " >&5
   21877 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21878 
   21879 $PCIACCESS_PKG_ERRORS
   21880 
   21881 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21882 installed software in a non-standard prefix.
   21883 
   21884 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21885 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21886 See the pkg-config man page for more details.
   21887 " >&2;}
   21888    { (exit 1); exit 1; }; }
   21889 elif test $pkg_failed = untried; then
   21890 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21892 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21893 is in your PATH or set the PKG_CONFIG environment variable to the full
   21894 path to pkg-config.
   21895 
   21896 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21897 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21898 See the pkg-config man page for more details.
   21899 
   21900 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21901 See \`config.log' for more details." >&5
   21902 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21903 is in your PATH or set the PKG_CONFIG environment variable to the full
   21904 path to pkg-config.
   21905 
   21906 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21907 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21908 See the pkg-config man page for more details.
   21909 
   21910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21911 See \`config.log' for more details." >&2;}
   21912    { (exit 1); exit 1; }; }; }
   21913 else
   21914 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21915 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21916         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21917 $as_echo "yes" >&6; }
   21918 	:
   21919 fi
   21920 fi
   21921 
   21922 if test "$DRI" != no; then
   21923         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   21924 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   21925 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   21926 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21927   $as_echo_n "(cached) " >&6
   21928 else
   21929   test "$cross_compiling" = yes &&
   21930   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21931 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21932    { (exit 1); exit 1; }; }
   21933 if test -r "${sdkdir}/dri.h"; then
   21934   eval "$as_ac_File=yes"
   21935 else
   21936   eval "$as_ac_File=no"
   21937 fi
   21938 fi
   21939 ac_res=`eval 'as_val=${'$as_ac_File'}
   21940 		 $as_echo "$as_val"'`
   21941 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21942 $as_echo "$ac_res" >&6; }
   21943 as_val=`eval 'as_val=${'$as_ac_File'}
   21944 		 $as_echo "$as_val"'`
   21945    if test "x$as_val" = x""yes; then
   21946   have_dri_h="yes"
   21947 else
   21948   have_dri_h="no"
   21949 fi
   21950 
   21951         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   21952 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   21953 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   21954 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21955   $as_echo_n "(cached) " >&6
   21956 else
   21957   test "$cross_compiling" = yes &&
   21958   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21959 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21960    { (exit 1); exit 1; }; }
   21961 if test -r "${sdkdir}/sarea.h"; then
   21962   eval "$as_ac_File=yes"
   21963 else
   21964   eval "$as_ac_File=no"
   21965 fi
   21966 fi
   21967 ac_res=`eval 'as_val=${'$as_ac_File'}
   21968 		 $as_echo "$as_val"'`
   21969 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21970 $as_echo "$ac_res" >&6; }
   21971 as_val=`eval 'as_val=${'$as_ac_File'}
   21972 		 $as_echo "$as_val"'`
   21973    if test "x$as_val" = x""yes; then
   21974   have_sarea_h="yes"
   21975 else
   21976   have_sarea_h="no"
   21977 fi
   21978 
   21979         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   21980 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   21981 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   21982 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21983   $as_echo_n "(cached) " >&6
   21984 else
   21985   test "$cross_compiling" = yes &&
   21986   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21987 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21988    { (exit 1); exit 1; }; }
   21989 if test -r "${sdkdir}/dristruct.h"; then
   21990   eval "$as_ac_File=yes"
   21991 else
   21992   eval "$as_ac_File=no"
   21993 fi
   21994 fi
   21995 ac_res=`eval 'as_val=${'$as_ac_File'}
   21996 		 $as_echo "$as_val"'`
   21997 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21998 $as_echo "$ac_res" >&6; }
   21999 as_val=`eval 'as_val=${'$as_ac_File'}
   22000 		 $as_echo "$as_val"'`
   22001    if test "x$as_val" = x""yes; then
   22002   have_dristruct_h="yes"
   22003 else
   22004   have_dristruct_h="no"
   22005 fi
   22006 
   22007 fi
   22008 
   22009 { $as_echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   22010 $as_echo_n "checking whether to include DRI support... " >&6; }
   22011 if test x$DRI = xauto; then
   22012         if test "$have_dri_h" = yes -a \
   22013                 "$have_sarea_h" = yes -a \
   22014                 "$have_dristruct_h" = yes; then
   22015                 DRI="yes"
   22016         else
   22017                 DRI="no"
   22018         fi
   22019 fi
   22020 { $as_echo "$as_me:$LINENO: result: $DRI" >&5
   22021 $as_echo "$DRI" >&6; }
   22022 
   22023  if test x$DRI = xyes; then
   22024   DRI_TRUE=
   22025   DRI_FALSE='#'
   22026 else
   22027   DRI_TRUE='#'
   22028   DRI_FALSE=
   22029 fi
   22030 
   22031 if test "$DRI" = yes; then
   22032 
   22033 pkg_failed=no
   22034 { $as_echo "$as_me:$LINENO: checking for DRI" >&5
   22035 $as_echo_n "checking for DRI... " >&6; }
   22036 
   22037 if test -n "$DRI_CFLAGS"; then
   22038     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   22039  elif test -n "$PKG_CONFIG"; then
   22040     if test -n "$PKG_CONFIG" && \
   22041     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm xf86driproto\"") >&5
   22042   ($PKG_CONFIG --exists --print-errors "libdrm xf86driproto") 2>&5
   22043   ac_status=$?
   22044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22045   (exit $ac_status); }; then
   22046   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm xf86driproto" 2>/dev/null`
   22047 else
   22048   pkg_failed=yes
   22049 fi
   22050  else
   22051     pkg_failed=untried
   22052 fi
   22053 if test -n "$DRI_LIBS"; then
   22054     pkg_cv_DRI_LIBS="$DRI_LIBS"
   22055  elif test -n "$PKG_CONFIG"; then
   22056     if test -n "$PKG_CONFIG" && \
   22057     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm xf86driproto\"") >&5
   22058   ($PKG_CONFIG --exists --print-errors "libdrm xf86driproto") 2>&5
   22059   ac_status=$?
   22060   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22061   (exit $ac_status); }; then
   22062   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm xf86driproto" 2>/dev/null`
   22063 else
   22064   pkg_failed=yes
   22065 fi
   22066  else
   22067     pkg_failed=untried
   22068 fi
   22069 
   22070 
   22071 
   22072 if test $pkg_failed = yes; then
   22073 
   22074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22075         _pkg_short_errors_supported=yes
   22076 else
   22077         _pkg_short_errors_supported=no
   22078 fi
   22079         if test $_pkg_short_errors_supported = yes; then
   22080 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm xf86driproto" 2>&1`
   22081         else
   22082 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm xf86driproto" 2>&1`
   22083         fi
   22084 	# Put the nasty error message in config.log where it belongs
   22085 	echo "$DRI_PKG_ERRORS" >&5
   22086 
   22087 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libdrm xf86driproto) were not met:
   22088 
   22089 $DRI_PKG_ERRORS
   22090 
   22091 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22092 installed software in a non-standard prefix.
   22093 
   22094 Alternatively, you may set the environment variables DRI_CFLAGS
   22095 and DRI_LIBS to avoid the need to call pkg-config.
   22096 See the pkg-config man page for more details.
   22097 " >&5
   22098 $as_echo "$as_me: error: Package requirements (libdrm xf86driproto) were not met:
   22099 
   22100 $DRI_PKG_ERRORS
   22101 
   22102 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22103 installed software in a non-standard prefix.
   22104 
   22105 Alternatively, you may set the environment variables DRI_CFLAGS
   22106 and DRI_LIBS to avoid the need to call pkg-config.
   22107 See the pkg-config man page for more details.
   22108 " >&2;}
   22109    { (exit 1); exit 1; }; }
   22110 elif test $pkg_failed = untried; then
   22111 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   22112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22113 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22114 is in your PATH or set the PKG_CONFIG environment variable to the full
   22115 path to pkg-config.
   22116 
   22117 Alternatively, you may set the environment variables DRI_CFLAGS
   22118 and DRI_LIBS to avoid the need to call pkg-config.
   22119 See the pkg-config man page for more details.
   22120 
   22121 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22122 See \`config.log' for more details." >&5
   22123 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22124 is in your PATH or set the PKG_CONFIG environment variable to the full
   22125 path to pkg-config.
   22126 
   22127 Alternatively, you may set the environment variables DRI_CFLAGS
   22128 and DRI_LIBS to avoid the need to call pkg-config.
   22129 See the pkg-config man page for more details.
   22130 
   22131 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22132 See \`config.log' for more details." >&2;}
   22133    { (exit 1); exit 1; }; }; }
   22134 else
   22135 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   22136 	DRI_LIBS=$pkg_cv_DRI_LIBS
   22137         { $as_echo "$as_me:$LINENO: result: yes" >&5
   22138 $as_echo "yes" >&6; }
   22139 	:
   22140 fi
   22141 
   22142 cat >>confdefs.h <<\_ACEOF
   22143 #define XF86DRI 1
   22144 _ACEOF
   22145 
   22146 
   22147 cat >>confdefs.h <<\_ACEOF
   22148 #define XF86DRI_DEVEL 1
   22149 _ACEOF
   22150 
   22151         case "$host_cpu" in
   22152             i*86)
   22153                 XVMC=yes ;;
   22154             amd64*|x86_64*)
   22155                 XVMC=yes ;;
   22156             *)
   22157                 XVMC=no ;;
   22158         esac
   22159 else
   22160         XVMC="no"
   22161 fi
   22162 
   22163 if test "x$XVMC" = xyes; then
   22164 
   22165 
   22166 
   22167 
   22168 for ac_header in pthread.h sys/ioctl.h sys/time.h time.h
   22169 do
   22170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   22171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22172   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   22173 $as_echo_n "checking for $ac_header... " >&6; }
   22174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22175   $as_echo_n "(cached) " >&6
   22176 fi
   22177 ac_res=`eval 'as_val=${'$as_ac_Header'}
   22178 		 $as_echo "$as_val"'`
   22179 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   22180 $as_echo "$ac_res" >&6; }
   22181 else
   22182   # Is the header compilable?
   22183 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   22184 $as_echo_n "checking $ac_header usability... " >&6; }
   22185 cat >conftest.$ac_ext <<_ACEOF
   22186 /* confdefs.h.  */
   22187 _ACEOF
   22188 cat confdefs.h >>conftest.$ac_ext
   22189 cat >>conftest.$ac_ext <<_ACEOF
   22190 /* end confdefs.h.  */
   22191 $ac_includes_default
   22192 #include <$ac_header>
   22193 _ACEOF
   22194 rm -f conftest.$ac_objext
   22195 if { (ac_try="$ac_compile"
   22196 case "(($ac_try" in
   22197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22198   *) ac_try_echo=$ac_try;;
   22199 esac
   22200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22201 $as_echo "$ac_try_echo") >&5
   22202   (eval "$ac_compile") 2>conftest.er1
   22203   ac_status=$?
   22204   grep -v '^ *+' conftest.er1 >conftest.err
   22205   rm -f conftest.er1
   22206   cat conftest.err >&5
   22207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22208   (exit $ac_status); } && {
   22209 	 test -z "$ac_c_werror_flag" ||
   22210 	 test ! -s conftest.err
   22211        } && test -s conftest.$ac_objext; then
   22212   ac_header_compiler=yes
   22213 else
   22214   $as_echo "$as_me: failed program was:" >&5
   22215 sed 's/^/| /' conftest.$ac_ext >&5
   22216 
   22217 	ac_header_compiler=no
   22218 fi
   22219 
   22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22221 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   22222 $as_echo "$ac_header_compiler" >&6; }
   22223 
   22224 # Is the header present?
   22225 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   22226 $as_echo_n "checking $ac_header presence... " >&6; }
   22227 cat >conftest.$ac_ext <<_ACEOF
   22228 /* confdefs.h.  */
   22229 _ACEOF
   22230 cat confdefs.h >>conftest.$ac_ext
   22231 cat >>conftest.$ac_ext <<_ACEOF
   22232 /* end confdefs.h.  */
   22233 #include <$ac_header>
   22234 _ACEOF
   22235 if { (ac_try="$ac_cpp conftest.$ac_ext"
   22236 case "(($ac_try" in
   22237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22238   *) ac_try_echo=$ac_try;;
   22239 esac
   22240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22241 $as_echo "$ac_try_echo") >&5
   22242   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   22243   ac_status=$?
   22244   grep -v '^ *+' conftest.er1 >conftest.err
   22245   rm -f conftest.er1
   22246   cat conftest.err >&5
   22247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22248   (exit $ac_status); } >/dev/null && {
   22249 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   22250 	 test ! -s conftest.err
   22251        }; then
   22252   ac_header_preproc=yes
   22253 else
   22254   $as_echo "$as_me: failed program was:" >&5
   22255 sed 's/^/| /' conftest.$ac_ext >&5
   22256 
   22257   ac_header_preproc=no
   22258 fi
   22259 
   22260 rm -f conftest.err conftest.$ac_ext
   22261 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   22262 $as_echo "$ac_header_preproc" >&6; }
   22263 
   22264 # So?  What about this header?
   22265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   22266   yes:no: )
   22267     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   22268 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   22269     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   22270 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   22271     ac_header_preproc=yes
   22272     ;;
   22273   no:yes:* )
   22274     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   22275 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   22276     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   22277 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   22278     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   22279 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   22280     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   22281 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   22282     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   22283 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   22284     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   22285 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   22286     ( cat <<\_ASBOX
   22287 ## ------------------------------------------------------ ##
   22288 ## Report this to http://www.openchrome.org/trac/report/1 ##
   22289 ## ------------------------------------------------------ ##
   22290 _ASBOX
   22291      ) | sed "s/^/$as_me: WARNING:     /" >&2
   22292     ;;
   22293 esac
   22294 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   22295 $as_echo_n "checking for $ac_header... " >&6; }
   22296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   22297   $as_echo_n "(cached) " >&6
   22298 else
   22299   eval "$as_ac_Header=\$ac_header_preproc"
   22300 fi
   22301 ac_res=`eval 'as_val=${'$as_ac_Header'}
   22302 		 $as_echo "$as_val"'`
   22303 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   22304 $as_echo "$ac_res" >&6; }
   22305 
   22306 fi
   22307 as_val=`eval 'as_val=${'$as_ac_Header'}
   22308 		 $as_echo "$as_val"'`
   22309    if test "x$as_val" = x""yes; then
   22310   cat >>confdefs.h <<_ACEOF
   22311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   22312 _ACEOF
   22313 
   22314 else
   22315   XVMC="no"; break
   22316 fi
   22317 
   22318 done
   22319 
   22320 
   22321 pkg_failed=no
   22322 { $as_echo "$as_me:$LINENO: checking for XVMC" >&5
   22323 $as_echo_n "checking for XVMC... " >&6; }
   22324 
   22325 if test -n "$XVMC_CFLAGS"; then
   22326     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   22327  elif test -n "$PKG_CONFIG"; then
   22328     if test -n "$PKG_CONFIG" && \
   22329     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xvmc\"") >&5
   22330   ($PKG_CONFIG --exists --print-errors "x11 xext xvmc") 2>&5
   22331   ac_status=$?
   22332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22333   (exit $ac_status); }; then
   22334   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xvmc" 2>/dev/null`
   22335 else
   22336   pkg_failed=yes
   22337 fi
   22338  else
   22339     pkg_failed=untried
   22340 fi
   22341 if test -n "$XVMC_LIBS"; then
   22342     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   22343  elif test -n "$PKG_CONFIG"; then
   22344     if test -n "$PKG_CONFIG" && \
   22345     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xvmc\"") >&5
   22346   ($PKG_CONFIG --exists --print-errors "x11 xext xvmc") 2>&5
   22347   ac_status=$?
   22348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22349   (exit $ac_status); }; then
   22350   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 xext xvmc" 2>/dev/null`
   22351 else
   22352   pkg_failed=yes
   22353 fi
   22354  else
   22355     pkg_failed=untried
   22356 fi
   22357 
   22358 
   22359 
   22360 if test $pkg_failed = yes; then
   22361 
   22362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22363         _pkg_short_errors_supported=yes
   22364 else
   22365         _pkg_short_errors_supported=no
   22366 fi
   22367         if test $_pkg_short_errors_supported = yes; then
   22368 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xvmc" 2>&1`
   22369         else
   22370 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xvmc" 2>&1`
   22371         fi
   22372 	# Put the nasty error message in config.log where it belongs
   22373 	echo "$XVMC_PKG_ERRORS" >&5
   22374 
   22375 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xext xvmc) were not met:
   22376 
   22377 $XVMC_PKG_ERRORS
   22378 
   22379 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22380 installed software in a non-standard prefix.
   22381 
   22382 Alternatively, you may set the environment variables XVMC_CFLAGS
   22383 and XVMC_LIBS to avoid the need to call pkg-config.
   22384 See the pkg-config man page for more details.
   22385 " >&5
   22386 $as_echo "$as_me: error: Package requirements (x11 xext xvmc) were not met:
   22387 
   22388 $XVMC_PKG_ERRORS
   22389 
   22390 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22391 installed software in a non-standard prefix.
   22392 
   22393 Alternatively, you may set the environment variables XVMC_CFLAGS
   22394 and XVMC_LIBS to avoid the need to call pkg-config.
   22395 See the pkg-config man page for more details.
   22396 " >&2;}
   22397    { (exit 1); exit 1; }; }
   22398 elif test $pkg_failed = untried; then
   22399 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   22400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22401 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22402 is in your PATH or set the PKG_CONFIG environment variable to the full
   22403 path to pkg-config.
   22404 
   22405 Alternatively, you may set the environment variables XVMC_CFLAGS
   22406 and XVMC_LIBS to avoid the need to call pkg-config.
   22407 See the pkg-config man page for more details.
   22408 
   22409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22410 See \`config.log' for more details." >&5
   22411 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22412 is in your PATH or set the PKG_CONFIG environment variable to the full
   22413 path to pkg-config.
   22414 
   22415 Alternatively, you may set the environment variables XVMC_CFLAGS
   22416 and XVMC_LIBS to avoid the need to call pkg-config.
   22417 See the pkg-config man page for more details.
   22418 
   22419 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22420 See \`config.log' for more details." >&2;}
   22421    { (exit 1); exit 1; }; }; }
   22422 else
   22423 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   22424 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   22425         { $as_echo "$as_me:$LINENO: result: yes" >&5
   22426 $as_echo "yes" >&6; }
   22427 	:
   22428 fi
   22429 fi
   22430 
   22431 { $as_echo "$as_me:$LINENO: checking whether to build XvMC driver support" >&5
   22432 $as_echo_n "checking whether to build XvMC driver support... " >&6; }
   22433 { $as_echo "$as_me:$LINENO: result: $XVMC" >&5
   22434 $as_echo "$XVMC" >&6; }
   22435 
   22436  if test x$XVMC = xyes; then
   22437   XVMC_TRUE=
   22438   XVMC_FALSE='#'
   22439 else
   22440   XVMC_TRUE='#'
   22441   XVMC_FALSE=
   22442 fi
   22443 
   22444 
   22445 # Check the ABI_VIDEODRV_VERSION
   22446 SAVE_CFLAGS="$CFLAGS"
   22447 CFLAGS="$CFLAGS $XORG_CFLAGS"
   22448 
   22449  if test x$XSERVER_LIBPCIACCESS = xyes; then
   22450   XSERVER_LIBPCIACCESS_TRUE=
   22451   XSERVER_LIBPCIACCESS_FALSE='#'
   22452 else
   22453   XSERVER_LIBPCIACCESS_TRUE='#'
   22454   XSERVER_LIBPCIACCESS_FALSE=
   22455 fi
   22456 
   22457 if test "$XSERVER_LIBPCIACCESS" = yes; then
   22458 
   22459 cat >>confdefs.h <<\_ACEOF
   22460 #define XSERVER_LIBPCIACCESS 1
   22461 _ACEOF
   22462 
   22463 fi
   22464 
   22465  if test x$DEBUG = xyes; then
   22466   DEBUG_TRUE=
   22467   DEBUG_FALSE='#'
   22468 else
   22469   DEBUG_TRUE='#'
   22470   DEBUG_FALSE=
   22471 fi
   22472 
   22473 if test "$DEBUG" = yes; then
   22474 
   22475 cat >>confdefs.h <<\_ACEOF
   22476 #define HAVE_DEBUG 1
   22477 _ACEOF
   22478 
   22479 fi
   22480 
   22481  if test x$XV_DEBUG = xyes; then
   22482   XV_DEBUG_TRUE=
   22483   XV_DEBUG_FALSE='#'
   22484 else
   22485   XV_DEBUG_TRUE='#'
   22486   XV_DEBUG_FALSE=
   22487 fi
   22488 
   22489 if test "$XV_DEBUG" = yes; then
   22490 
   22491 cat >>confdefs.h <<\_ACEOF
   22492 #define XV_DEBUG 1
   22493 _ACEOF
   22494 
   22495 fi
   22496 
   22497 
   22498 
   22499 
   22500 
   22501 DRIVER_NAME=openchrome
   22502 
   22503 
   22504 
   22505 cat >>confdefs.h <<\_ACEOF
   22506 #define X_USE_LINEARFB 1
   22507 _ACEOF
   22508 
   22509 
   22510 cat >>confdefs.h <<\_ACEOF
   22511 #define X_USE_REGION_NULL 1
   22512 _ACEOF
   22513 
   22514 
   22515 cat >>confdefs.h <<\_ACEOF
   22516 #define X_HAVE_XAAGETROP 1
   22517 _ACEOF
   22518 
   22519 
   22520 cat >>confdefs.h <<\_ACEOF
   22521 #define X_NEED_I2CSTART 1
   22522 _ACEOF
   22523 
   22524 
   22525 DRIVER_MAN_SUFFIX="4"
   22526 
   22527 
   22528 
   22529 
   22530 # Check whether --with-release-version was given.
   22531 if test "${with_release_version+set}" = set; then
   22532   withval=$with_release_version; RELEASE_VERSION="$withval"
   22533 else
   22534   RELEASE_VERSION=""
   22535 fi
   22536 
   22537 	if test "x$RELEASE_VERSION" != "x"; then
   22538 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   22539 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   22540 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   22541 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   22542 	fi
   22543 
   22544 
   22545 ac_config_files="$ac_config_files Makefile libxvmc/Makefile man/Makefile src/Makefile"
   22546 
   22547 cat >confcache <<\_ACEOF
   22548 # This file is a shell script that caches the results of configure
   22549 # tests run on this system so they can be shared between configure
   22550 # scripts and configure runs, see configure's option --config-cache.
   22551 # It is not useful on other systems.  If it contains results you don't
   22552 # want to keep, you may remove or edit it.
   22553 #
   22554 # config.status only pays attention to the cache file if you give it
   22555 # the --recheck option to rerun configure.
   22556 #
   22557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22559 # following values.
   22560 
   22561 _ACEOF
   22562 
   22563 # The following way of writing the cache mishandles newlines in values,
   22564 # but we know of no workaround that is simple, portable, and efficient.
   22565 # So, we kill variables containing newlines.
   22566 # Ultrix sh set writes to stderr and can't be redirected directly,
   22567 # and sets the high bit in the cache file unless we assign to the vars.
   22568 (
   22569   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22570     eval ac_val=\$$ac_var
   22571     case $ac_val in #(
   22572     *${as_nl}*)
   22573       case $ac_var in #(
   22574       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22576       esac
   22577       case $ac_var in #(
   22578       _ | IFS | as_nl) ;; #(
   22579       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22580       *) $as_unset $ac_var ;;
   22581       esac ;;
   22582     esac
   22583   done
   22584 
   22585   (set) 2>&1 |
   22586     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22587     *${as_nl}ac_space=\ *)
   22588       # `set' does not quote correctly, so add quotes (double-quote
   22589       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22590       sed -n \
   22591 	"s/'/'\\\\''/g;
   22592 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22593       ;; #(
   22594     *)
   22595       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22596       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22597       ;;
   22598     esac |
   22599     sort
   22600 ) |
   22601   sed '
   22602      /^ac_cv_env_/b end
   22603      t clear
   22604      :clear
   22605      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22606      t end
   22607      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22608      :end' >>confcache
   22609 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22610   if test -w "$cache_file"; then
   22611     test "x$cache_file" != "x/dev/null" &&
   22612       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22613 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22614     cat confcache >$cache_file
   22615   else
   22616     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22617 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22618   fi
   22619 fi
   22620 rm -f confcache
   22621 
   22622 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22623 # Let make expand exec_prefix.
   22624 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22625 
   22626 DEFS=-DHAVE_CONFIG_H
   22627 
   22628 ac_libobjs=
   22629 ac_ltlibobjs=
   22630 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22631   # 1. Remove the extension, and $U if already installed.
   22632   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22633   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22634   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22635   #    will be set to the directory where LIBOBJS objects are built.
   22636   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22637   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22638 done
   22639 LIBOBJS=$ac_libobjs
   22640 
   22641 LTLIBOBJS=$ac_ltlibobjs
   22642 
   22643 
   22644  if test -n "$EXEEXT"; then
   22645   am__EXEEXT_TRUE=
   22646   am__EXEEXT_FALSE='#'
   22647 else
   22648   am__EXEEXT_TRUE='#'
   22649   am__EXEEXT_FALSE=
   22650 fi
   22651 
   22652 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22653   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22654 Usually this means the macro was only invoked conditionally." >&5
   22655 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22656 Usually this means the macro was only invoked conditionally." >&2;}
   22657    { (exit 1); exit 1; }; }
   22658 fi
   22659 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22660   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22661 Usually this means the macro was only invoked conditionally." >&5
   22662 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22663 Usually this means the macro was only invoked conditionally." >&2;}
   22664    { (exit 1); exit 1; }; }
   22665 fi
   22666 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22667   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22668 Usually this means the macro was only invoked conditionally." >&5
   22669 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22670 Usually this means the macro was only invoked conditionally." >&2;}
   22671    { (exit 1); exit 1; }; }
   22672 fi
   22673 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22674   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22675 Usually this means the macro was only invoked conditionally." >&5
   22676 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22677 Usually this means the macro was only invoked conditionally." >&2;}
   22678    { (exit 1); exit 1; }; }
   22679 fi
   22680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22681   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22682 Usually this means the macro was only invoked conditionally." >&5
   22683 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22684 Usually this means the macro was only invoked conditionally." >&2;}
   22685    { (exit 1); exit 1; }; }
   22686 fi
   22687 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   22688   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22689 Usually this means the macro was only invoked conditionally." >&5
   22690 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22691 Usually this means the macro was only invoked conditionally." >&2;}
   22692    { (exit 1); exit 1; }; }
   22693 fi
   22694 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   22695   { { $as_echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   22696 Usually this means the macro was only invoked conditionally." >&5
   22697 $as_echo "$as_me: error: conditional \"DRI\" was never defined.
   22698 Usually this means the macro was only invoked conditionally." >&2;}
   22699    { (exit 1); exit 1; }; }
   22700 fi
   22701 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
   22702   { { $as_echo "$as_me:$LINENO: error: conditional \"XVMC\" was never defined.
   22703 Usually this means the macro was only invoked conditionally." >&5
   22704 $as_echo "$as_me: error: conditional \"XVMC\" was never defined.
   22705 Usually this means the macro was only invoked conditionally." >&2;}
   22706    { (exit 1); exit 1; }; }
   22707 fi
   22708 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22709   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22710 Usually this means the macro was only invoked conditionally." >&5
   22711 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22712 Usually this means the macro was only invoked conditionally." >&2;}
   22713    { (exit 1); exit 1; }; }
   22714 fi
   22715 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
   22716   { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
   22717 Usually this means the macro was only invoked conditionally." >&5
   22718 $as_echo "$as_me: error: conditional \"DEBUG\" was never defined.
   22719 Usually this means the macro was only invoked conditionally." >&2;}
   22720    { (exit 1); exit 1; }; }
   22721 fi
   22722 if test -z "${XV_DEBUG_TRUE}" && test -z "${XV_DEBUG_FALSE}"; then
   22723   { { $as_echo "$as_me:$LINENO: error: conditional \"XV_DEBUG\" was never defined.
   22724 Usually this means the macro was only invoked conditionally." >&5
   22725 $as_echo "$as_me: error: conditional \"XV_DEBUG\" was never defined.
   22726 Usually this means the macro was only invoked conditionally." >&2;}
   22727    { (exit 1); exit 1; }; }
   22728 fi
   22729 
   22730 : ${CONFIG_STATUS=./config.status}
   22731 ac_write_fail=0
   22732 ac_clean_files_save=$ac_clean_files
   22733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22734 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22736 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22737 #! $SHELL
   22738 # Generated by $as_me.
   22739 # Run this file to recreate the current configuration.
   22740 # Compiler output produced by configure, useful for debugging
   22741 # configure, is in config.log if it exists.
   22742 
   22743 debug=false
   22744 ac_cs_recheck=false
   22745 ac_cs_silent=false
   22746 SHELL=\${CONFIG_SHELL-$SHELL}
   22747 _ACEOF
   22748 
   22749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22750 ## --------------------- ##
   22751 ## M4sh Initialization.  ##
   22752 ## --------------------- ##
   22753 
   22754 # Be more Bourne compatible
   22755 DUALCASE=1; export DUALCASE # for MKS sh
   22756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22757   emulate sh
   22758   NULLCMD=:
   22759   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22760   # is contrary to our usage.  Disable this feature.
   22761   alias -g '${1+"$@"}'='"$@"'
   22762   setopt NO_GLOB_SUBST
   22763 else
   22764   case `(set -o) 2>/dev/null` in
   22765   *posix*) set -o posix ;;
   22766 esac
   22767 
   22768 fi
   22769 
   22770 
   22771 
   22772 
   22773 # PATH needs CR
   22774 # Avoid depending upon Character Ranges.
   22775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22778 as_cr_digits='0123456789'
   22779 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22780 
   22781 as_nl='
   22782 '
   22783 export as_nl
   22784 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22785 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22786 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22788 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22789   as_echo='printf %s\n'
   22790   as_echo_n='printf %s'
   22791 else
   22792   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22793     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22794     as_echo_n='/usr/ucb/echo -n'
   22795   else
   22796     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22797     as_echo_n_body='eval
   22798       arg=$1;
   22799       case $arg in
   22800       *"$as_nl"*)
   22801 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22802 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22803       esac;
   22804       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22805     '
   22806     export as_echo_n_body
   22807     as_echo_n='sh -c $as_echo_n_body as_echo'
   22808   fi
   22809   export as_echo_body
   22810   as_echo='sh -c $as_echo_body as_echo'
   22811 fi
   22812 
   22813 # The user is always right.
   22814 if test "${PATH_SEPARATOR+set}" != set; then
   22815   PATH_SEPARATOR=:
   22816   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22817     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22818       PATH_SEPARATOR=';'
   22819   }
   22820 fi
   22821 
   22822 # Support unset when possible.
   22823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22824   as_unset=unset
   22825 else
   22826   as_unset=false
   22827 fi
   22828 
   22829 
   22830 # IFS
   22831 # We need space, tab and new line, in precisely that order.  Quoting is
   22832 # there to prevent editors from complaining about space-tab.
   22833 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22834 # splitting by setting IFS to empty value.)
   22835 IFS=" ""	$as_nl"
   22836 
   22837 # Find who we are.  Look in the path if we contain no directory separator.
   22838 case $0 in
   22839   *[\\/]* ) as_myself=$0 ;;
   22840   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22841 for as_dir in $PATH
   22842 do
   22843   IFS=$as_save_IFS
   22844   test -z "$as_dir" && as_dir=.
   22845   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22846 done
   22847 IFS=$as_save_IFS
   22848 
   22849      ;;
   22850 esac
   22851 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22852 # in which case we are not to be found in the path.
   22853 if test "x$as_myself" = x; then
   22854   as_myself=$0
   22855 fi
   22856 if test ! -f "$as_myself"; then
   22857   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22858   { (exit 1); exit 1; }
   22859 fi
   22860 
   22861 # Work around bugs in pre-3.0 UWIN ksh.
   22862 for as_var in ENV MAIL MAILPATH
   22863 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22864 done
   22865 PS1='$ '
   22866 PS2='> '
   22867 PS4='+ '
   22868 
   22869 # NLS nuisances.
   22870 LC_ALL=C
   22871 export LC_ALL
   22872 LANGUAGE=C
   22873 export LANGUAGE
   22874 
   22875 # Required to use basename.
   22876 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22877    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22878   as_expr=expr
   22879 else
   22880   as_expr=false
   22881 fi
   22882 
   22883 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22884   as_basename=basename
   22885 else
   22886   as_basename=false
   22887 fi
   22888 
   22889 
   22890 # Name of the executable.
   22891 as_me=`$as_basename -- "$0" ||
   22892 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22893 	 X"$0" : 'X\(//\)$' \| \
   22894 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22895 $as_echo X/"$0" |
   22896     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22897 	    s//\1/
   22898 	    q
   22899 	  }
   22900 	  /^X\/\(\/\/\)$/{
   22901 	    s//\1/
   22902 	    q
   22903 	  }
   22904 	  /^X\/\(\/\).*/{
   22905 	    s//\1/
   22906 	    q
   22907 	  }
   22908 	  s/.*/./; q'`
   22909 
   22910 # CDPATH.
   22911 $as_unset CDPATH
   22912 
   22913 
   22914 
   22915   as_lineno_1=$LINENO
   22916   as_lineno_2=$LINENO
   22917   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22918   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22919 
   22920   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22921   # uniformly replaced by the line number.  The first 'sed' inserts a
   22922   # line-number line after each line using $LINENO; the second 'sed'
   22923   # does the real work.  The second script uses 'N' to pair each
   22924   # line-number line with the line containing $LINENO, and appends
   22925   # trailing '-' during substitution so that $LINENO is not a special
   22926   # case at line end.
   22927   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22928   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22929   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22930   sed -n '
   22931     p
   22932     /[$]LINENO/=
   22933   ' <$as_myself |
   22934     sed '
   22935       s/[$]LINENO.*/&-/
   22936       t lineno
   22937       b
   22938       :lineno
   22939       N
   22940       :loop
   22941       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22942       t loop
   22943       s/-\n.*//
   22944     ' >$as_me.lineno &&
   22945   chmod +x "$as_me.lineno" ||
   22946     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22947    { (exit 1); exit 1; }; }
   22948 
   22949   # Don't try to exec as it changes $[0], causing all sort of problems
   22950   # (the dirname of $[0] is not the place where we might find the
   22951   # original and so on.  Autoconf is especially sensitive to this).
   22952   . "./$as_me.lineno"
   22953   # Exit status is that of the last command.
   22954   exit
   22955 }
   22956 
   22957 
   22958 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22959   as_dirname=dirname
   22960 else
   22961   as_dirname=false
   22962 fi
   22963 
   22964 ECHO_C= ECHO_N= ECHO_T=
   22965 case `echo -n x` in
   22966 -n*)
   22967   case `echo 'x\c'` in
   22968   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22969   *)   ECHO_C='\c';;
   22970   esac;;
   22971 *)
   22972   ECHO_N='-n';;
   22973 esac
   22974 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22975    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22976   as_expr=expr
   22977 else
   22978   as_expr=false
   22979 fi
   22980 
   22981 rm -f conf$$ conf$$.exe conf$$.file
   22982 if test -d conf$$.dir; then
   22983   rm -f conf$$.dir/conf$$.file
   22984 else
   22985   rm -f conf$$.dir
   22986   mkdir conf$$.dir 2>/dev/null
   22987 fi
   22988 if (echo >conf$$.file) 2>/dev/null; then
   22989   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22990     as_ln_s='ln -s'
   22991     # ... but there are two gotchas:
   22992     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22993     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22994     # In both cases, we have to default to `cp -p'.
   22995     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22996       as_ln_s='cp -p'
   22997   elif ln conf$$.file conf$$ 2>/dev/null; then
   22998     as_ln_s=ln
   22999   else
   23000     as_ln_s='cp -p'
   23001   fi
   23002 else
   23003   as_ln_s='cp -p'
   23004 fi
   23005 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23006 rmdir conf$$.dir 2>/dev/null
   23007 
   23008 if mkdir -p . 2>/dev/null; then
   23009   as_mkdir_p=:
   23010 else
   23011   test -d ./-p && rmdir ./-p
   23012   as_mkdir_p=false
   23013 fi
   23014 
   23015 if test -x / >/dev/null 2>&1; then
   23016   as_test_x='test -x'
   23017 else
   23018   if ls -dL / >/dev/null 2>&1; then
   23019     as_ls_L_option=L
   23020   else
   23021     as_ls_L_option=
   23022   fi
   23023   as_test_x='
   23024     eval sh -c '\''
   23025       if test -d "$1"; then
   23026 	test -d "$1/.";
   23027       else
   23028 	case $1 in
   23029 	-*)set "./$1";;
   23030 	esac;
   23031 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23032 	???[sx]*):;;*)false;;esac;fi
   23033     '\'' sh
   23034   '
   23035 fi
   23036 as_executable_p=$as_test_x
   23037 
   23038 # Sed expression to map a string onto a valid CPP name.
   23039 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23040 
   23041 # Sed expression to map a string onto a valid variable name.
   23042 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23043 
   23044 
   23045 exec 6>&1
   23046 
   23047 # Save the log message, to keep $[0] and so on meaningful, and to
   23048 # report actual input values of CONFIG_FILES etc. instead of their
   23049 # values after options handling.
   23050 ac_log="
   23051 This file was extended by xf86-video-openchrome $as_me 0.2.904, which was
   23052 generated by GNU Autoconf 2.63.  Invocation command line was
   23053 
   23054   CONFIG_FILES    = $CONFIG_FILES
   23055   CONFIG_HEADERS  = $CONFIG_HEADERS
   23056   CONFIG_LINKS    = $CONFIG_LINKS
   23057   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23058   $ $0 $@
   23059 
   23060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23061 "
   23062 
   23063 _ACEOF
   23064 
   23065 case $ac_config_files in *"
   23066 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23067 esac
   23068 
   23069 case $ac_config_headers in *"
   23070 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23071 esac
   23072 
   23073 
   23074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23075 # Files that config.status was made for.
   23076 config_files="$ac_config_files"
   23077 config_headers="$ac_config_headers"
   23078 config_commands="$ac_config_commands"
   23079 
   23080 _ACEOF
   23081 
   23082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23083 ac_cs_usage="\
   23084 \`$as_me' instantiates files from templates according to the
   23085 current configuration.
   23086 
   23087 Usage: $0 [OPTION]... [FILE]...
   23088 
   23089   -h, --help       print this help, then exit
   23090   -V, --version    print version number and configuration settings, then exit
   23091   -q, --quiet, --silent
   23092                    do not print progress messages
   23093   -d, --debug      don't remove temporary files
   23094       --recheck    update $as_me by reconfiguring in the same conditions
   23095       --file=FILE[:TEMPLATE]
   23096                    instantiate the configuration file FILE
   23097       --header=FILE[:TEMPLATE]
   23098                    instantiate the configuration header FILE
   23099 
   23100 Configuration files:
   23101 $config_files
   23102 
   23103 Configuration headers:
   23104 $config_headers
   23105 
   23106 Configuration commands:
   23107 $config_commands
   23108 
   23109 Report bugs to <bug-autoconf (at] gnu.org>."
   23110 
   23111 _ACEOF
   23112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23113 ac_cs_version="\\
   23114 xf86-video-openchrome config.status 0.2.904
   23115 configured by $0, generated by GNU Autoconf 2.63,
   23116   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23117 
   23118 Copyright (C) 2008 Free Software Foundation, Inc.
   23119 This config.status script is free software; the Free Software Foundation
   23120 gives unlimited permission to copy, distribute and modify it."
   23121 
   23122 ac_pwd='$ac_pwd'
   23123 srcdir='$srcdir'
   23124 INSTALL='$INSTALL'
   23125 MKDIR_P='$MKDIR_P'
   23126 AWK='$AWK'
   23127 test -n "\$AWK" || AWK=awk
   23128 _ACEOF
   23129 
   23130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23131 # The default lists apply if the user does not specify any file.
   23132 ac_need_defaults=:
   23133 while test $# != 0
   23134 do
   23135   case $1 in
   23136   --*=*)
   23137     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23138     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23139     ac_shift=:
   23140     ;;
   23141   *)
   23142     ac_option=$1
   23143     ac_optarg=$2
   23144     ac_shift=shift
   23145     ;;
   23146   esac
   23147 
   23148   case $ac_option in
   23149   # Handling of the options.
   23150   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23151     ac_cs_recheck=: ;;
   23152   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23153     $as_echo "$ac_cs_version"; exit ;;
   23154   --debug | --debu | --deb | --de | --d | -d )
   23155     debug=: ;;
   23156   --file | --fil | --fi | --f )
   23157     $ac_shift
   23158     case $ac_optarg in
   23159     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23160     esac
   23161     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   23162     ac_need_defaults=false;;
   23163   --header | --heade | --head | --hea )
   23164     $ac_shift
   23165     case $ac_optarg in
   23166     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23167     esac
   23168     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   23169     ac_need_defaults=false;;
   23170   --he | --h)
   23171     # Conflict between --help and --header
   23172     { $as_echo "$as_me: error: ambiguous option: $1
   23173 Try \`$0 --help' for more information." >&2
   23174    { (exit 1); exit 1; }; };;
   23175   --help | --hel | -h )
   23176     $as_echo "$ac_cs_usage"; exit ;;
   23177   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23178   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23179     ac_cs_silent=: ;;
   23180 
   23181   # This is an error.
   23182   -*) { $as_echo "$as_me: error: unrecognized option: $1
   23183 Try \`$0 --help' for more information." >&2
   23184    { (exit 1); exit 1; }; } ;;
   23185 
   23186   *) ac_config_targets="$ac_config_targets $1"
   23187      ac_need_defaults=false ;;
   23188 
   23189   esac
   23190   shift
   23191 done
   23192 
   23193 ac_configure_extra_args=
   23194 
   23195 if $ac_cs_silent; then
   23196   exec 6>/dev/null
   23197   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23198 fi
   23199 
   23200 _ACEOF
   23201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23202 if \$ac_cs_recheck; then
   23203   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23204   shift
   23205   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   23206   CONFIG_SHELL='$SHELL'
   23207   export CONFIG_SHELL
   23208   exec "\$@"
   23209 fi
   23210 
   23211 _ACEOF
   23212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23213 exec 5>>config.log
   23214 {
   23215   echo
   23216   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23217 ## Running $as_me. ##
   23218 _ASBOX
   23219   $as_echo "$ac_log"
   23220 } >&5
   23221 
   23222 _ACEOF
   23223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23224 #
   23225 # INIT-COMMANDS
   23226 #
   23227 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23228 
   23229 _ACEOF
   23230 
   23231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23232 
   23233 # Handling of arguments.
   23234 for ac_config_target in $ac_config_targets
   23235 do
   23236   case $ac_config_target in
   23237     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23238     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23239     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23240     "libxvmc/Makefile") CONFIG_FILES="$CONFIG_FILES libxvmc/Makefile" ;;
   23241     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23242     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23243 
   23244   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23245 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23246    { (exit 1); exit 1; }; };;
   23247   esac
   23248 done
   23249 
   23250 
   23251 # If the user did not use the arguments to specify the items to instantiate,
   23252 # then the envvar interface is used.  Set only those that are not.
   23253 # We use the long form for the default assignment because of an extremely
   23254 # bizarre bug on SunOS 4.1.3.
   23255 if $ac_need_defaults; then
   23256   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23257   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23258   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23259 fi
   23260 
   23261 # Have a temporary directory for convenience.  Make it in the build tree
   23262 # simply because there is no reason against having it here, and in addition,
   23263 # creating and moving files from /tmp can sometimes cause problems.
   23264 # Hook for its removal unless debugging.
   23265 # Note that there is a small window in which the directory will not be cleaned:
   23266 # after its creation but before its name has been assigned to `$tmp'.
   23267 $debug ||
   23268 {
   23269   tmp=
   23270   trap 'exit_status=$?
   23271   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23272 ' 0
   23273   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23274 }
   23275 # Create a (secure) tmp directory for tmp files.
   23276 
   23277 {
   23278   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23279   test -n "$tmp" && test -d "$tmp"
   23280 }  ||
   23281 {
   23282   tmp=./conf$$-$RANDOM
   23283   (umask 077 && mkdir "$tmp")
   23284 } ||
   23285 {
   23286    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   23287    { (exit 1); exit 1; }
   23288 }
   23289 
   23290 # Set up the scripts for CONFIG_FILES section.
   23291 # No need to generate them if there are no CONFIG_FILES.
   23292 # This happens for instance with `./config.status config.h'.
   23293 if test -n "$CONFIG_FILES"; then
   23294 
   23295 
   23296 ac_cr='
'
   23298 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23299 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23300   ac_cs_awk_cr='\\r'
   23301 else
   23302   ac_cs_awk_cr=$ac_cr
   23303 fi
   23304 
   23305 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   23306 _ACEOF
   23307 
   23308 
   23309 {
   23310   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23311   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23312   echo "_ACEOF"
   23313 } >conf$$subs.sh ||
   23314   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23315 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23316    { (exit 1); exit 1; }; }
   23317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   23318 ac_delim='%!_!# '
   23319 for ac_last_try in false false false false false :; do
   23320   . ./conf$$subs.sh ||
   23321     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23322 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23323    { (exit 1); exit 1; }; }
   23324 
   23325   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23326   if test $ac_delim_n = $ac_delim_num; then
   23327     break
   23328   elif $ac_last_try; then
   23329     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23330 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23331    { (exit 1); exit 1; }; }
   23332   else
   23333     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23334   fi
   23335 done
   23336 rm -f conf$$subs.sh
   23337 
   23338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23339 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   23340 _ACEOF
   23341 sed -n '
   23342 h
   23343 s/^/S["/; s/!.*/"]=/
   23344 p
   23345 g
   23346 s/^[^!]*!//
   23347 :repl
   23348 t repl
   23349 s/'"$ac_delim"'$//
   23350 t delim
   23351 :nl
   23352 h
   23353 s/\(.\{148\}\).*/\1/
   23354 t more1
   23355 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23356 p
   23357 n
   23358 b repl
   23359 :more1
   23360 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23361 p
   23362 g
   23363 s/.\{148\}//
   23364 t nl
   23365 :delim
   23366 h
   23367 s/\(.\{148\}\).*/\1/
   23368 t more2
   23369 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23370 p
   23371 b
   23372 :more2
   23373 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23374 p
   23375 g
   23376 s/.\{148\}//
   23377 t delim
   23378 ' <conf$$subs.awk | sed '
   23379 /^[^""]/{
   23380   N
   23381   s/\n//
   23382 }
   23383 ' >>$CONFIG_STATUS || ac_write_fail=1
   23384 rm -f conf$$subs.awk
   23385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23386 _ACAWK
   23387 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23388   for (key in S) S_is_set[key] = 1
   23389   FS = ""
   23390 
   23391 }
   23392 {
   23393   line = $ 0
   23394   nfields = split(line, field, "@")
   23395   substed = 0
   23396   len = length(field[1])
   23397   for (i = 2; i < nfields; i++) {
   23398     key = field[i]
   23399     keylen = length(key)
   23400     if (S_is_set[key]) {
   23401       value = S[key]
   23402       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23403       len += length(value) + length(field[++i])
   23404       substed = 1
   23405     } else
   23406       len += 1 + keylen
   23407   }
   23408 
   23409   print line
   23410 }
   23411 
   23412 _ACAWK
   23413 _ACEOF
   23414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23415 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23416   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23417 else
   23418   cat
   23419 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23420   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23421 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23422    { (exit 1); exit 1; }; }
   23423 _ACEOF
   23424 
   23425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23427 # trailing colons and then remove the whole line if VPATH becomes empty
   23428 # (actually we leave an empty line to preserve line numbers).
   23429 if test "x$srcdir" = x.; then
   23430   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23431 s/:*\$(srcdir):*/:/
   23432 s/:*\${srcdir}:*/:/
   23433 s/:*@srcdir@:*/:/
   23434 s/^\([^=]*=[	 ]*\):*/\1/
   23435 s/:*$//
   23436 s/^[^=]*=[	 ]*$//
   23437 }'
   23438 fi
   23439 
   23440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23441 fi # test -n "$CONFIG_FILES"
   23442 
   23443 # Set up the scripts for CONFIG_HEADERS section.
   23444 # No need to generate them if there are no CONFIG_HEADERS.
   23445 # This happens for instance with `./config.status Makefile'.
   23446 if test -n "$CONFIG_HEADERS"; then
   23447 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23448 BEGIN {
   23449 _ACEOF
   23450 
   23451 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23452 # here-document in config.status, that substitutes the proper values into
   23453 # config.h.in to produce config.h.
   23454 
   23455 # Create a delimiter string that does not exist in confdefs.h, to ease
   23456 # handling of long lines.
   23457 ac_delim='%!_!# '
   23458 for ac_last_try in false false :; do
   23459   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23460   if test -z "$ac_t"; then
   23461     break
   23462   elif $ac_last_try; then
   23463     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23464 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23465    { (exit 1); exit 1; }; }
   23466   else
   23467     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23468   fi
   23469 done
   23470 
   23471 # For the awk script, D is an array of macro values keyed by name,
   23472 # likewise P contains macro parameters if any.  Preserve backslash
   23473 # newline sequences.
   23474 
   23475 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23476 sed -n '
   23477 s/.\{148\}/&'"$ac_delim"'/g
   23478 t rset
   23479 :rset
   23480 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23481 t def
   23482 d
   23483 :def
   23484 s/\\$//
   23485 t bsnl
   23486 s/["\\]/\\&/g
   23487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23488 D["\1"]=" \3"/p
   23489 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23490 d
   23491 :bsnl
   23492 s/["\\]/\\&/g
   23493 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23494 D["\1"]=" \3\\\\\\n"\\/p
   23495 t cont
   23496 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23497 t cont
   23498 d
   23499 :cont
   23500 n
   23501 s/.\{148\}/&'"$ac_delim"'/g
   23502 t clear
   23503 :clear
   23504 s/\\$//
   23505 t bsnlc
   23506 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23507 d
   23508 :bsnlc
   23509 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23510 b cont
   23511 ' <confdefs.h | sed '
   23512 s/'"$ac_delim"'/"\\\
   23513 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23514 
   23515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23516   for (key in D) D_is_set[key] = 1
   23517   FS = ""
   23518 }
   23519 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23520   line = \$ 0
   23521   split(line, arg, " ")
   23522   if (arg[1] == "#") {
   23523     defundef = arg[2]
   23524     mac1 = arg[3]
   23525   } else {
   23526     defundef = substr(arg[1], 2)
   23527     mac1 = arg[2]
   23528   }
   23529   split(mac1, mac2, "(") #)
   23530   macro = mac2[1]
   23531   prefix = substr(line, 1, index(line, defundef) - 1)
   23532   if (D_is_set[macro]) {
   23533     # Preserve the white space surrounding the "#".
   23534     print prefix "define", macro P[macro] D[macro]
   23535     next
   23536   } else {
   23537     # Replace #undef with comments.  This is necessary, for example,
   23538     # in the case of _POSIX_SOURCE, which is predefined and required
   23539     # on some systems where configure will not decide to define it.
   23540     if (defundef == "undef") {
   23541       print "/*", prefix defundef, macro, "*/"
   23542       next
   23543     }
   23544   }
   23545 }
   23546 { print }
   23547 _ACAWK
   23548 _ACEOF
   23549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23550   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23551 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23552    { (exit 1); exit 1; }; }
   23553 fi # test -n "$CONFIG_HEADERS"
   23554 
   23555 
   23556 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23557 shift
   23558 for ac_tag
   23559 do
   23560   case $ac_tag in
   23561   :[FHLC]) ac_mode=$ac_tag; continue;;
   23562   esac
   23563   case $ac_mode$ac_tag in
   23564   :[FHL]*:*);;
   23565   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23566 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23567    { (exit 1); exit 1; }; };;
   23568   :[FH]-) ac_tag=-:-;;
   23569   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23570   esac
   23571   ac_save_IFS=$IFS
   23572   IFS=:
   23573   set x $ac_tag
   23574   IFS=$ac_save_IFS
   23575   shift
   23576   ac_file=$1
   23577   shift
   23578 
   23579   case $ac_mode in
   23580   :L) ac_source=$1;;
   23581   :[FH])
   23582     ac_file_inputs=
   23583     for ac_f
   23584     do
   23585       case $ac_f in
   23586       -) ac_f="$tmp/stdin";;
   23587       *) # Look for the file first in the build tree, then in the source tree
   23588 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23589 	 # because $ac_f cannot contain `:'.
   23590 	 test -f "$ac_f" ||
   23591 	   case $ac_f in
   23592 	   [\\/$]*) false;;
   23593 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23594 	   esac ||
   23595 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23596 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23597    { (exit 1); exit 1; }; };;
   23598       esac
   23599       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23600       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23601     done
   23602 
   23603     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23604     # use $as_me), people would be surprised to read:
   23605     #    /* config.h.  Generated by config.status.  */
   23606     configure_input='Generated from '`
   23607 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23608 	`' by configure.'
   23609     if test x"$ac_file" != x-; then
   23610       configure_input="$ac_file.  $configure_input"
   23611       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23612 $as_echo "$as_me: creating $ac_file" >&6;}
   23613     fi
   23614     # Neutralize special characters interpreted by sed in replacement strings.
   23615     case $configure_input in #(
   23616     *\&* | *\|* | *\\* )
   23617        ac_sed_conf_input=`$as_echo "$configure_input" |
   23618        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23619     *) ac_sed_conf_input=$configure_input;;
   23620     esac
   23621 
   23622     case $ac_tag in
   23623     *:-:* | *:-) cat >"$tmp/stdin" \
   23624       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23625 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23626    { (exit 1); exit 1; }; } ;;
   23627     esac
   23628     ;;
   23629   esac
   23630 
   23631   ac_dir=`$as_dirname -- "$ac_file" ||
   23632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23633 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23634 	 X"$ac_file" : 'X\(//\)$' \| \
   23635 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23636 $as_echo X"$ac_file" |
   23637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23638 	    s//\1/
   23639 	    q
   23640 	  }
   23641 	  /^X\(\/\/\)[^/].*/{
   23642 	    s//\1/
   23643 	    q
   23644 	  }
   23645 	  /^X\(\/\/\)$/{
   23646 	    s//\1/
   23647 	    q
   23648 	  }
   23649 	  /^X\(\/\).*/{
   23650 	    s//\1/
   23651 	    q
   23652 	  }
   23653 	  s/.*/./; q'`
   23654   { as_dir="$ac_dir"
   23655   case $as_dir in #(
   23656   -*) as_dir=./$as_dir;;
   23657   esac
   23658   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23659     as_dirs=
   23660     while :; do
   23661       case $as_dir in #(
   23662       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23663       *) as_qdir=$as_dir;;
   23664       esac
   23665       as_dirs="'$as_qdir' $as_dirs"
   23666       as_dir=`$as_dirname -- "$as_dir" ||
   23667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23668 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23669 	 X"$as_dir" : 'X\(//\)$' \| \
   23670 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23671 $as_echo X"$as_dir" |
   23672     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23673 	    s//\1/
   23674 	    q
   23675 	  }
   23676 	  /^X\(\/\/\)[^/].*/{
   23677 	    s//\1/
   23678 	    q
   23679 	  }
   23680 	  /^X\(\/\/\)$/{
   23681 	    s//\1/
   23682 	    q
   23683 	  }
   23684 	  /^X\(\/\).*/{
   23685 	    s//\1/
   23686 	    q
   23687 	  }
   23688 	  s/.*/./; q'`
   23689       test -d "$as_dir" && break
   23690     done
   23691     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23692   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23693 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23694    { (exit 1); exit 1; }; }; }
   23695   ac_builddir=.
   23696 
   23697 case "$ac_dir" in
   23698 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23699 *)
   23700   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23701   # A ".." for each directory in $ac_dir_suffix.
   23702   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23703   case $ac_top_builddir_sub in
   23704   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23705   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23706   esac ;;
   23707 esac
   23708 ac_abs_top_builddir=$ac_pwd
   23709 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23710 # for backward compatibility:
   23711 ac_top_builddir=$ac_top_build_prefix
   23712 
   23713 case $srcdir in
   23714   .)  # We are building in place.
   23715     ac_srcdir=.
   23716     ac_top_srcdir=$ac_top_builddir_sub
   23717     ac_abs_top_srcdir=$ac_pwd ;;
   23718   [\\/]* | ?:[\\/]* )  # Absolute name.
   23719     ac_srcdir=$srcdir$ac_dir_suffix;
   23720     ac_top_srcdir=$srcdir
   23721     ac_abs_top_srcdir=$srcdir ;;
   23722   *) # Relative name.
   23723     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23724     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23725     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23726 esac
   23727 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23728 
   23729 
   23730   case $ac_mode in
   23731   :F)
   23732   #
   23733   # CONFIG_FILE
   23734   #
   23735 
   23736   case $INSTALL in
   23737   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23738   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23739   esac
   23740   ac_MKDIR_P=$MKDIR_P
   23741   case $MKDIR_P in
   23742   [\\/$]* | ?:[\\/]* ) ;;
   23743   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23744   esac
   23745 _ACEOF
   23746 
   23747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23748 # If the template does not know about datarootdir, expand it.
   23749 # FIXME: This hack should be removed a few years after 2.60.
   23750 ac_datarootdir_hack=; ac_datarootdir_seen=
   23751 
   23752 ac_sed_dataroot='
   23753 /datarootdir/ {
   23754   p
   23755   q
   23756 }
   23757 /@datadir@/p
   23758 /@docdir@/p
   23759 /@infodir@/p
   23760 /@localedir@/p
   23761 /@mandir@/p
   23762 '
   23763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23764 *datarootdir*) ac_datarootdir_seen=yes;;
   23765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23766   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23768 _ACEOF
   23769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23770   ac_datarootdir_hack='
   23771   s&@datadir@&$datadir&g
   23772   s&@docdir@&$docdir&g
   23773   s&@infodir@&$infodir&g
   23774   s&@localedir@&$localedir&g
   23775   s&@mandir@&$mandir&g
   23776     s&\\\${datarootdir}&$datarootdir&g' ;;
   23777 esac
   23778 _ACEOF
   23779 
   23780 # Neutralize VPATH when `$srcdir' = `.'.
   23781 # Shell code in configure.ac might set extrasub.
   23782 # FIXME: do we really want to maintain this feature?
   23783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23784 ac_sed_extra="$ac_vpsub
   23785 $extrasub
   23786 _ACEOF
   23787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23788 :t
   23789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23790 s|@configure_input@|$ac_sed_conf_input|;t t
   23791 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23793 s&@srcdir@&$ac_srcdir&;t t
   23794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23795 s&@top_srcdir@&$ac_top_srcdir&;t t
   23796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23797 s&@builddir@&$ac_builddir&;t t
   23798 s&@abs_builddir@&$ac_abs_builddir&;t t
   23799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23800 s&@INSTALL@&$ac_INSTALL&;t t
   23801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23802 $ac_datarootdir_hack
   23803 "
   23804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23805   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23806 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23807    { (exit 1); exit 1; }; }
   23808 
   23809 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23810   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23811   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23812   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23813 which seems to be undefined.  Please make sure it is defined." >&5
   23814 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23815 which seems to be undefined.  Please make sure it is defined." >&2;}
   23816 
   23817   rm -f "$tmp/stdin"
   23818   case $ac_file in
   23819   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23820   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23821   esac \
   23822   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23823 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23824    { (exit 1); exit 1; }; }
   23825  ;;
   23826   :H)
   23827   #
   23828   # CONFIG_HEADER
   23829   #
   23830   if test x"$ac_file" != x-; then
   23831     {
   23832       $as_echo "/* $configure_input  */" \
   23833       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23834     } >"$tmp/config.h" \
   23835       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23836 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23837    { (exit 1); exit 1; }; }
   23838     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23839       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23840 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23841     else
   23842       rm -f "$ac_file"
   23843       mv "$tmp/config.h" "$ac_file" \
   23844 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23845 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23846    { (exit 1); exit 1; }; }
   23847     fi
   23848   else
   23849     $as_echo "/* $configure_input  */" \
   23850       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23851       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23852 $as_echo "$as_me: error: could not create -" >&2;}
   23853    { (exit 1); exit 1; }; }
   23854   fi
   23855 # Compute "$ac_file"'s index in $config_headers.
   23856 _am_arg="$ac_file"
   23857 _am_stamp_count=1
   23858 for _am_header in $config_headers :; do
   23859   case $_am_header in
   23860     $_am_arg | $_am_arg:* )
   23861       break ;;
   23862     * )
   23863       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23864   esac
   23865 done
   23866 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23867 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23868 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23869 	 X"$_am_arg" : 'X\(//\)$' \| \
   23870 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23871 $as_echo X"$_am_arg" |
   23872     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23873 	    s//\1/
   23874 	    q
   23875 	  }
   23876 	  /^X\(\/\/\)[^/].*/{
   23877 	    s//\1/
   23878 	    q
   23879 	  }
   23880 	  /^X\(\/\/\)$/{
   23881 	    s//\1/
   23882 	    q
   23883 	  }
   23884 	  /^X\(\/\).*/{
   23885 	    s//\1/
   23886 	    q
   23887 	  }
   23888 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23889  ;;
   23890 
   23891   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23892 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23893  ;;
   23894   esac
   23895 
   23896 
   23897   case $ac_file$ac_mode in
   23898     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23899   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23900   # are listed without --file.  Let's play safe and only enable the eval
   23901   # if we detect the quoting.
   23902   case $CONFIG_FILES in
   23903   *\'*) eval set x "$CONFIG_FILES" ;;
   23904   *)   set x $CONFIG_FILES ;;
   23905   esac
   23906   shift
   23907   for mf
   23908   do
   23909     # Strip MF so we end up with the name of the file.
   23910     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23911     # Check whether this is an Automake generated Makefile or not.
   23912     # We used to match only the files named `Makefile.in', but
   23913     # some people rename them; so instead we look at the file content.
   23914     # Grep'ing the first line is not enough: some people post-process
   23915     # each Makefile.in and add a new line on top of each file to say so.
   23916     # Grep'ing the whole file is not good either: AIX grep has a line
   23917     # limit of 2048, but all sed's we know have understand at least 4000.
   23918     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23919       dirpart=`$as_dirname -- "$mf" ||
   23920 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23921 	 X"$mf" : 'X\(//\)[^/]' \| \
   23922 	 X"$mf" : 'X\(//\)$' \| \
   23923 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23924 $as_echo X"$mf" |
   23925     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23926 	    s//\1/
   23927 	    q
   23928 	  }
   23929 	  /^X\(\/\/\)[^/].*/{
   23930 	    s//\1/
   23931 	    q
   23932 	  }
   23933 	  /^X\(\/\/\)$/{
   23934 	    s//\1/
   23935 	    q
   23936 	  }
   23937 	  /^X\(\/\).*/{
   23938 	    s//\1/
   23939 	    q
   23940 	  }
   23941 	  s/.*/./; q'`
   23942     else
   23943       continue
   23944     fi
   23945     # Extract the definition of DEPDIR, am__include, and am__quote
   23946     # from the Makefile without running `make'.
   23947     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23948     test -z "$DEPDIR" && continue
   23949     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23950     test -z "am__include" && continue
   23951     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23952     # When using ansi2knr, U may be empty or an underscore; expand it
   23953     U=`sed -n 's/^U = //p' < "$mf"`
   23954     # Find all dependency output files, they are included files with
   23955     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23956     # simplest approach to changing $(DEPDIR) to its actual value in the
   23957     # expansion.
   23958     for file in `sed -n "
   23959       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23960 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23961       # Make sure the directory exists.
   23962       test -f "$dirpart/$file" && continue
   23963       fdir=`$as_dirname -- "$file" ||
   23964 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23965 	 X"$file" : 'X\(//\)[^/]' \| \
   23966 	 X"$file" : 'X\(//\)$' \| \
   23967 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23968 $as_echo X"$file" |
   23969     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23970 	    s//\1/
   23971 	    q
   23972 	  }
   23973 	  /^X\(\/\/\)[^/].*/{
   23974 	    s//\1/
   23975 	    q
   23976 	  }
   23977 	  /^X\(\/\/\)$/{
   23978 	    s//\1/
   23979 	    q
   23980 	  }
   23981 	  /^X\(\/\).*/{
   23982 	    s//\1/
   23983 	    q
   23984 	  }
   23985 	  s/.*/./; q'`
   23986       { as_dir=$dirpart/$fdir
   23987   case $as_dir in #(
   23988   -*) as_dir=./$as_dir;;
   23989   esac
   23990   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23991     as_dirs=
   23992     while :; do
   23993       case $as_dir in #(
   23994       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23995       *) as_qdir=$as_dir;;
   23996       esac
   23997       as_dirs="'$as_qdir' $as_dirs"
   23998       as_dir=`$as_dirname -- "$as_dir" ||
   23999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24000 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24001 	 X"$as_dir" : 'X\(//\)$' \| \
   24002 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24003 $as_echo X"$as_dir" |
   24004     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24005 	    s//\1/
   24006 	    q
   24007 	  }
   24008 	  /^X\(\/\/\)[^/].*/{
   24009 	    s//\1/
   24010 	    q
   24011 	  }
   24012 	  /^X\(\/\/\)$/{
   24013 	    s//\1/
   24014 	    q
   24015 	  }
   24016 	  /^X\(\/\).*/{
   24017 	    s//\1/
   24018 	    q
   24019 	  }
   24020 	  s/.*/./; q'`
   24021       test -d "$as_dir" && break
   24022     done
   24023     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24024   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24025 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24026    { (exit 1); exit 1; }; }; }
   24027       # echo "creating $dirpart/$file"
   24028       echo '# dummy' > "$dirpart/$file"
   24029     done
   24030   done
   24031 }
   24032  ;;
   24033 
   24034   esac
   24035 done # for ac_tag
   24036 
   24037 
   24038 { (exit 0); exit 0; }
   24039 _ACEOF
   24040 chmod +x $CONFIG_STATUS
   24041 ac_clean_files=$ac_clean_files_save
   24042 
   24043 test $ac_write_fail = 0 ||
   24044   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   24045 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   24046    { (exit 1); exit 1; }; }
   24047 
   24048 
   24049 # configure is writing to config.log, and then calls config.status.
   24050 # config.status does its own redirection, appending to config.log.
   24051 # Unfortunately, on DOS this fails, as config.log is still kept open
   24052 # by configure, so config.status won't be able to write to it; its
   24053 # output is simply discarded.  So we exec the FD to /dev/null,
   24054 # effectively closing config.log, so it can be properly (re)opened and
   24055 # appended to by config.status.  When coming back to configure, we
   24056 # need to make the FD available again.
   24057 if test "$no_create" != yes; then
   24058   ac_cs_success=:
   24059   ac_config_status_args=
   24060   test "$silent" = yes &&
   24061     ac_config_status_args="$ac_config_status_args --quiet"
   24062   exec 5>/dev/null
   24063   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24064   exec 5>>config.log
   24065   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24066   # would make configure fail if this is the last instruction.
   24067   $ac_cs_success || { (exit 1); exit 1; }
   24068 fi
   24069 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24070   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24071 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24072 fi
   24073 
   24074