Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-savage 2.3.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='xf86-video-savage'
    752 PACKAGE_TARNAME='xf86-video-savage'
    753 PACKAGE_VERSION='2.3.1'
    754 PACKAGE_STRING='xf86-video-savage 2.3.1'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 ac_unique_file="Makefile.am"
    758 # Factoring default headers for most tests.
    759 ac_includes_default="\
    760 #include <stdio.h>
    761 #ifdef HAVE_SYS_TYPES_H
    762 # include <sys/types.h>
    763 #endif
    764 #ifdef HAVE_SYS_STAT_H
    765 # include <sys/stat.h>
    766 #endif
    767 #ifdef STDC_HEADERS
    768 # include <stdlib.h>
    769 # include <stddef.h>
    770 #else
    771 # ifdef HAVE_STDLIB_H
    772 #  include <stdlib.h>
    773 # endif
    774 #endif
    775 #ifdef HAVE_STRING_H
    776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    777 #  include <memory.h>
    778 # endif
    779 # include <string.h>
    780 #endif
    781 #ifdef HAVE_STRINGS_H
    782 # include <strings.h>
    783 #endif
    784 #ifdef HAVE_INTTYPES_H
    785 # include <inttypes.h>
    786 #endif
    787 #ifdef HAVE_STDINT_H
    788 # include <stdint.h>
    789 #endif
    790 #ifdef HAVE_UNISTD_H
    791 # include <unistd.h>
    792 #endif"
    793 
    794 ac_subst_vars='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 DRIVER_NAME
    811 moduledir
    812 XSERVER_LIBPCIACCESS_FALSE
    813 XSERVER_LIBPCIACCESS_TRUE
    814 PCIACCESS_LIBS
    815 PCIACCESS_CFLAGS
    816 DRI_LIBS
    817 DRI_CFLAGS
    818 DRI_FALSE
    819 DRI_TRUE
    820 HAVE_XEXTPROTO_71_FALSE
    821 HAVE_XEXTPROTO_71_TRUE
    822 XEXT_LIBS
    823 XEXT_CFLAGS
    824 XORG_LIBS
    825 XORG_CFLAGS
    826 PKG_CONFIG
    827 LIBTOOL
    828 ac_ct_F77
    829 FFLAGS
    830 F77
    831 CXXCPP
    832 am__fastdepCXX_FALSE
    833 am__fastdepCXX_TRUE
    834 CXXDEPMODE
    835 ac_ct_CXX
    836 CXXFLAGS
    837 CXX
    838 CPP
    839 NMEDIT
    840 DSYMUTIL
    841 RANLIB
    842 AR
    843 ECHO
    844 LN_S
    845 EGREP
    846 GREP
    847 SED
    848 am__fastdepCC_FALSE
    849 am__fastdepCC_TRUE
    850 CCDEPMODE
    851 AMDEPBACKSLASH
    852 AMDEP_FALSE
    853 AMDEP_TRUE
    854 am__quote
    855 am__include
    856 DEPDIR
    857 OBJEXT
    858 EXEEXT
    859 ac_ct_CC
    860 CPPFLAGS
    861 LDFLAGS
    862 CFLAGS
    863 CC
    864 host_os
    865 host_vendor
    866 host_cpu
    867 host
    868 build_os
    869 build_vendor
    870 build_cpu
    871 build
    872 MAINT
    873 MAINTAINER_MODE_FALSE
    874 MAINTAINER_MODE_TRUE
    875 am__untar
    876 am__tar
    877 AMTAR
    878 am__leading_dot
    879 SET_MAKE
    880 AWK
    881 mkdir_p
    882 MKDIR_P
    883 INSTALL_STRIP_PROGRAM
    884 STRIP
    885 install_sh
    886 MAKEINFO
    887 AUTOHEADER
    888 AUTOMAKE
    889 AUTOCONF
    890 ACLOCAL
    891 VERSION
    892 PACKAGE
    893 CYGPATH_W
    894 am__isrc
    895 INSTALL_DATA
    896 INSTALL_SCRIPT
    897 INSTALL_PROGRAM
    898 target_alias
    899 host_alias
    900 build_alias
    901 LIBS
    902 ECHO_T
    903 ECHO_N
    904 ECHO_C
    905 DEFS
    906 mandir
    907 localedir
    908 libdir
    909 psdir
    910 pdfdir
    911 dvidir
    912 htmldir
    913 infodir
    914 docdir
    915 oldincludedir
    916 includedir
    917 localstatedir
    918 sharedstatedir
    919 sysconfdir
    920 datadir
    921 datarootdir
    922 libexecdir
    923 sbindir
    924 bindir
    925 program_transform_name
    926 prefix
    927 exec_prefix
    928 PACKAGE_BUGREPORT
    929 PACKAGE_STRING
    930 PACKAGE_VERSION
    931 PACKAGE_TARNAME
    932 PACKAGE_NAME
    933 PATH_SEPARATOR
    934 SHELL'
    935 ac_subst_files=''
    936 ac_user_opts='
    937 enable_option_checking
    938 enable_maintainer_mode
    939 enable_static
    940 enable_shared
    941 enable_fast_install
    942 enable_dependency_tracking
    943 with_gnu_ld
    944 enable_libtool_lock
    945 with_pic
    946 with_tags
    947 with_xorg_module_dir
    948 enable_dri
    949 with_release_version
    950 '
    951       ac_precious_vars='build_alias
    952 host_alias
    953 target_alias
    954 CC
    955 CFLAGS
    956 LDFLAGS
    957 LIBS
    958 CPPFLAGS
    959 CPP
    960 CXX
    961 CXXFLAGS
    962 CCC
    963 CXXCPP
    964 F77
    965 FFLAGS
    966 PKG_CONFIG
    967 XORG_CFLAGS
    968 XORG_LIBS
    969 XEXT_CFLAGS
    970 XEXT_LIBS
    971 DRI_CFLAGS
    972 DRI_LIBS
    973 PCIACCESS_CFLAGS
    974 PCIACCESS_LIBS'
    975 
    976 
    977 # Initialize some variables set by options.
    978 ac_init_help=
    979 ac_init_version=false
    980 ac_unrecognized_opts=
    981 ac_unrecognized_sep=
    982 # The variables have the same names as the options, with
    983 # dashes changed to underlines.
    984 cache_file=/dev/null
    985 exec_prefix=NONE
    986 no_create=
    987 no_recursion=
    988 prefix=NONE
    989 program_prefix=NONE
    990 program_suffix=NONE
    991 program_transform_name=s,x,x,
    992 silent=
    993 site=
    994 srcdir=
    995 verbose=
    996 x_includes=NONE
    997 x_libraries=NONE
    998 
    999 # Installation directory options.
   1000 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1001 # and all the variables that are supposed to be based on exec_prefix
   1002 # by default will actually change.
   1003 # Use braces instead of parens because sh, perl, etc. also accept them.
   1004 # (The list follows the same order as the GNU Coding Standards.)
   1005 bindir='${exec_prefix}/bin'
   1006 sbindir='${exec_prefix}/sbin'
   1007 libexecdir='${exec_prefix}/libexec'
   1008 datarootdir='${prefix}/share'
   1009 datadir='${datarootdir}'
   1010 sysconfdir='${prefix}/etc'
   1011 sharedstatedir='${prefix}/com'
   1012 localstatedir='${prefix}/var'
   1013 includedir='${prefix}/include'
   1014 oldincludedir='/usr/include'
   1015 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1016 infodir='${datarootdir}/info'
   1017 htmldir='${docdir}'
   1018 dvidir='${docdir}'
   1019 pdfdir='${docdir}'
   1020 psdir='${docdir}'
   1021 libdir='${exec_prefix}/lib'
   1022 localedir='${datarootdir}/locale'
   1023 mandir='${datarootdir}/man'
   1024 
   1025 ac_prev=
   1026 ac_dashdash=
   1027 for ac_option
   1028 do
   1029   # If the previous option needs an argument, assign it.
   1030   if test -n "$ac_prev"; then
   1031     eval $ac_prev=\$ac_option
   1032     ac_prev=
   1033     continue
   1034   fi
   1035 
   1036   case $ac_option in
   1037   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1038   *)	ac_optarg=yes ;;
   1039   esac
   1040 
   1041   # Accept the important Cygnus configure options, so we can diagnose typos.
   1042 
   1043   case $ac_dashdash$ac_option in
   1044   --)
   1045     ac_dashdash=yes ;;
   1046 
   1047   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1048     ac_prev=bindir ;;
   1049   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1050     bindir=$ac_optarg ;;
   1051 
   1052   -build | --build | --buil | --bui | --bu)
   1053     ac_prev=build_alias ;;
   1054   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1055     build_alias=$ac_optarg ;;
   1056 
   1057   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1058   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1059     ac_prev=cache_file ;;
   1060   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1061   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1062     cache_file=$ac_optarg ;;
   1063 
   1064   --config-cache | -C)
   1065     cache_file=config.cache ;;
   1066 
   1067   -datadir | --datadir | --datadi | --datad)
   1068     ac_prev=datadir ;;
   1069   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1070     datadir=$ac_optarg ;;
   1071 
   1072   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1073   | --dataroo | --dataro | --datar)
   1074     ac_prev=datarootdir ;;
   1075   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1076   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1077     datarootdir=$ac_optarg ;;
   1078 
   1079   -disable-* | --disable-*)
   1080     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1081     # Reject names that are not valid shell variable names.
   1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1083       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1084    { (exit 1); exit 1; }; }
   1085     ac_useropt_orig=$ac_useropt
   1086     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1087     case $ac_user_opts in
   1088       *"
   1089 "enable_$ac_useropt"
   1090 "*) ;;
   1091       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1092 	 ac_unrecognized_sep=', ';;
   1093     esac
   1094     eval enable_$ac_useropt=no ;;
   1095 
   1096   -docdir | --docdir | --docdi | --doc | --do)
   1097     ac_prev=docdir ;;
   1098   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1099     docdir=$ac_optarg ;;
   1100 
   1101   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1102     ac_prev=dvidir ;;
   1103   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1104     dvidir=$ac_optarg ;;
   1105 
   1106   -enable-* | --enable-*)
   1107     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1108     # Reject names that are not valid shell variable names.
   1109     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1110       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1111    { (exit 1); exit 1; }; }
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "enable_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval enable_$ac_useropt=\$ac_optarg ;;
   1122 
   1123   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1124   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1125   | --exec | --exe | --ex)
   1126     ac_prev=exec_prefix ;;
   1127   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1128   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1129   | --exec=* | --exe=* | --ex=*)
   1130     exec_prefix=$ac_optarg ;;
   1131 
   1132   -gas | --gas | --ga | --g)
   1133     # Obsolete; use --with-gas.
   1134     with_gas=yes ;;
   1135 
   1136   -help | --help | --hel | --he | -h)
   1137     ac_init_help=long ;;
   1138   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1139     ac_init_help=recursive ;;
   1140   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1141     ac_init_help=short ;;
   1142 
   1143   -host | --host | --hos | --ho)
   1144     ac_prev=host_alias ;;
   1145   -host=* | --host=* | --hos=* | --ho=*)
   1146     host_alias=$ac_optarg ;;
   1147 
   1148   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1149     ac_prev=htmldir ;;
   1150   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1151   | --ht=*)
   1152     htmldir=$ac_optarg ;;
   1153 
   1154   -includedir | --includedir | --includedi | --included | --include \
   1155   | --includ | --inclu | --incl | --inc)
   1156     ac_prev=includedir ;;
   1157   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1158   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1159     includedir=$ac_optarg ;;
   1160 
   1161   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1162     ac_prev=infodir ;;
   1163   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1164     infodir=$ac_optarg ;;
   1165 
   1166   -libdir | --libdir | --libdi | --libd)
   1167     ac_prev=libdir ;;
   1168   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1169     libdir=$ac_optarg ;;
   1170 
   1171   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1172   | --libexe | --libex | --libe)
   1173     ac_prev=libexecdir ;;
   1174   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1175   | --libexe=* | --libex=* | --libe=*)
   1176     libexecdir=$ac_optarg ;;
   1177 
   1178   -localedir | --localedir | --localedi | --localed | --locale)
   1179     ac_prev=localedir ;;
   1180   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1181     localedir=$ac_optarg ;;
   1182 
   1183   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1184   | --localstate | --localstat | --localsta | --localst | --locals)
   1185     ac_prev=localstatedir ;;
   1186   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1187   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1188     localstatedir=$ac_optarg ;;
   1189 
   1190   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1191     ac_prev=mandir ;;
   1192   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1193     mandir=$ac_optarg ;;
   1194 
   1195   -nfp | --nfp | --nf)
   1196     # Obsolete; use --without-fp.
   1197     with_fp=no ;;
   1198 
   1199   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1200   | --no-cr | --no-c | -n)
   1201     no_create=yes ;;
   1202 
   1203   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1204   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1205     no_recursion=yes ;;
   1206 
   1207   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1208   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1209   | --oldin | --oldi | --old | --ol | --o)
   1210     ac_prev=oldincludedir ;;
   1211   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1212   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1213   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1214     oldincludedir=$ac_optarg ;;
   1215 
   1216   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1217     ac_prev=prefix ;;
   1218   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1219     prefix=$ac_optarg ;;
   1220 
   1221   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1222   | --program-pre | --program-pr | --program-p)
   1223     ac_prev=program_prefix ;;
   1224   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1225   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1226     program_prefix=$ac_optarg ;;
   1227 
   1228   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1229   | --program-suf | --program-su | --program-s)
   1230     ac_prev=program_suffix ;;
   1231   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1232   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1233     program_suffix=$ac_optarg ;;
   1234 
   1235   -program-transform-name | --program-transform-name \
   1236   | --program-transform-nam | --program-transform-na \
   1237   | --program-transform-n | --program-transform- \
   1238   | --program-transform | --program-transfor \
   1239   | --program-transfo | --program-transf \
   1240   | --program-trans | --program-tran \
   1241   | --progr-tra | --program-tr | --program-t)
   1242     ac_prev=program_transform_name ;;
   1243   -program-transform-name=* | --program-transform-name=* \
   1244   | --program-transform-nam=* | --program-transform-na=* \
   1245   | --program-transform-n=* | --program-transform-=* \
   1246   | --program-transform=* | --program-transfor=* \
   1247   | --program-transfo=* | --program-transf=* \
   1248   | --program-trans=* | --program-tran=* \
   1249   | --progr-tra=* | --program-tr=* | --program-t=*)
   1250     program_transform_name=$ac_optarg ;;
   1251 
   1252   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1253     ac_prev=pdfdir ;;
   1254   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1255     pdfdir=$ac_optarg ;;
   1256 
   1257   -psdir | --psdir | --psdi | --psd | --ps)
   1258     ac_prev=psdir ;;
   1259   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1260     psdir=$ac_optarg ;;
   1261 
   1262   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1263   | -silent | --silent | --silen | --sile | --sil)
   1264     silent=yes ;;
   1265 
   1266   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1267     ac_prev=sbindir ;;
   1268   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1269   | --sbi=* | --sb=*)
   1270     sbindir=$ac_optarg ;;
   1271 
   1272   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1273   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1274   | --sharedst | --shareds | --shared | --share | --shar \
   1275   | --sha | --sh)
   1276     ac_prev=sharedstatedir ;;
   1277   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1278   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1279   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1280   | --sha=* | --sh=*)
   1281     sharedstatedir=$ac_optarg ;;
   1282 
   1283   -site | --site | --sit)
   1284     ac_prev=site ;;
   1285   -site=* | --site=* | --sit=*)
   1286     site=$ac_optarg ;;
   1287 
   1288   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1289     ac_prev=srcdir ;;
   1290   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1291     srcdir=$ac_optarg ;;
   1292 
   1293   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1294   | --syscon | --sysco | --sysc | --sys | --sy)
   1295     ac_prev=sysconfdir ;;
   1296   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1297   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1298     sysconfdir=$ac_optarg ;;
   1299 
   1300   -target | --target | --targe | --targ | --tar | --ta | --t)
   1301     ac_prev=target_alias ;;
   1302   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1303     target_alias=$ac_optarg ;;
   1304 
   1305   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1306     verbose=yes ;;
   1307 
   1308   -version | --version | --versio | --versi | --vers | -V)
   1309     ac_init_version=: ;;
   1310 
   1311   -with-* | --with-*)
   1312     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1313     # Reject names that are not valid shell variable names.
   1314     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1315       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1316    { (exit 1); exit 1; }; }
   1317     ac_useropt_orig=$ac_useropt
   1318     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1319     case $ac_user_opts in
   1320       *"
   1321 "with_$ac_useropt"
   1322 "*) ;;
   1323       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1324 	 ac_unrecognized_sep=', ';;
   1325     esac
   1326     eval with_$ac_useropt=\$ac_optarg ;;
   1327 
   1328   -without-* | --without-*)
   1329     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1330     # Reject names that are not valid shell variable names.
   1331     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1332       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1333    { (exit 1); exit 1; }; }
   1334     ac_useropt_orig=$ac_useropt
   1335     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1336     case $ac_user_opts in
   1337       *"
   1338 "with_$ac_useropt"
   1339 "*) ;;
   1340       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1341 	 ac_unrecognized_sep=', ';;
   1342     esac
   1343     eval with_$ac_useropt=no ;;
   1344 
   1345   --x)
   1346     # Obsolete; use --with-x.
   1347     with_x=yes ;;
   1348 
   1349   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1350   | --x-incl | --x-inc | --x-in | --x-i)
   1351     ac_prev=x_includes ;;
   1352   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1353   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1354     x_includes=$ac_optarg ;;
   1355 
   1356   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1357   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1358     ac_prev=x_libraries ;;
   1359   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1360   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1361     x_libraries=$ac_optarg ;;
   1362 
   1363   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1364 Try \`$0 --help' for more information." >&2
   1365    { (exit 1); exit 1; }; }
   1366     ;;
   1367 
   1368   *=*)
   1369     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1370     # Reject names that are not valid shell variable names.
   1371     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1372       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1373    { (exit 1); exit 1; }; }
   1374     eval $ac_envvar=\$ac_optarg
   1375     export $ac_envvar ;;
   1376 
   1377   *)
   1378     # FIXME: should be removed in autoconf 3.0.
   1379     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1380     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1381       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1382     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1383     ;;
   1384 
   1385   esac
   1386 done
   1387 
   1388 if test -n "$ac_prev"; then
   1389   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1390   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1391    { (exit 1); exit 1; }; }
   1392 fi
   1393 
   1394 if test -n "$ac_unrecognized_opts"; then
   1395   case $enable_option_checking in
   1396     no) ;;
   1397     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1398    { (exit 1); exit 1; }; } ;;
   1399     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1400   esac
   1401 fi
   1402 
   1403 # Check all directory arguments for consistency.
   1404 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1405 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1406 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1407 		libdir localedir mandir
   1408 do
   1409   eval ac_val=\$$ac_var
   1410   # Remove trailing slashes.
   1411   case $ac_val in
   1412     */ )
   1413       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1414       eval $ac_var=\$ac_val;;
   1415   esac
   1416   # Be sure to have absolute directory names.
   1417   case $ac_val in
   1418     [\\/$]* | ?:[\\/]* )  continue;;
   1419     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1420   esac
   1421   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1422    { (exit 1); exit 1; }; }
   1423 done
   1424 
   1425 # There might be people who depend on the old broken behavior: `$host'
   1426 # used to hold the argument of --host etc.
   1427 # FIXME: To remove some day.
   1428 build=$build_alias
   1429 host=$host_alias
   1430 target=$target_alias
   1431 
   1432 # FIXME: To remove some day.
   1433 if test "x$host_alias" != x; then
   1434   if test "x$build_alias" = x; then
   1435     cross_compiling=maybe
   1436     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1437     If a cross compiler is detected then cross compile mode will be used." >&2
   1438   elif test "x$build_alias" != "x$host_alias"; then
   1439     cross_compiling=yes
   1440   fi
   1441 fi
   1442 
   1443 ac_tool_prefix=
   1444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1445 
   1446 test "$silent" = yes && exec 6>/dev/null
   1447 
   1448 
   1449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1450 ac_ls_di=`ls -di .` &&
   1451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1452   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1453    { (exit 1); exit 1; }; }
   1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1455   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1456    { (exit 1); exit 1; }; }
   1457 
   1458 
   1459 # Find the source files, if location was not specified.
   1460 if test -z "$srcdir"; then
   1461   ac_srcdir_defaulted=yes
   1462   # Try the directory containing this script, then the parent directory.
   1463   ac_confdir=`$as_dirname -- "$as_myself" ||
   1464 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1465 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1466 	 X"$as_myself" : 'X\(//\)$' \| \
   1467 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1468 $as_echo X"$as_myself" |
   1469     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1470 	    s//\1/
   1471 	    q
   1472 	  }
   1473 	  /^X\(\/\/\)[^/].*/{
   1474 	    s//\1/
   1475 	    q
   1476 	  }
   1477 	  /^X\(\/\/\)$/{
   1478 	    s//\1/
   1479 	    q
   1480 	  }
   1481 	  /^X\(\/\).*/{
   1482 	    s//\1/
   1483 	    q
   1484 	  }
   1485 	  s/.*/./; q'`
   1486   srcdir=$ac_confdir
   1487   if test ! -r "$srcdir/$ac_unique_file"; then
   1488     srcdir=..
   1489   fi
   1490 else
   1491   ac_srcdir_defaulted=no
   1492 fi
   1493 if test ! -r "$srcdir/$ac_unique_file"; then
   1494   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1495   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1496    { (exit 1); exit 1; }; }
   1497 fi
   1498 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1499 ac_abs_confdir=`(
   1500 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1501    { (exit 1); exit 1; }; }
   1502 	pwd)`
   1503 # When building in place, set srcdir=.
   1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1505   srcdir=.
   1506 fi
   1507 # Remove unnecessary trailing slashes from srcdir.
   1508 # Double slashes in file names in object file debugging info
   1509 # mess up M-x gdb in Emacs.
   1510 case $srcdir in
   1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1512 esac
   1513 for ac_var in $ac_precious_vars; do
   1514   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1515   eval ac_env_${ac_var}_value=\$${ac_var}
   1516   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1517   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1518 done
   1519 
   1520 #
   1521 # Report the --help message.
   1522 #
   1523 if test "$ac_init_help" = "long"; then
   1524   # Omit some internal or obsolete options to make the list less imposing.
   1525   # This message is too long to be a string in the A/UX 3.1 sh.
   1526   cat <<_ACEOF
   1527 \`configure' configures xf86-video-savage 2.3.1 to adapt to many kinds of systems.
   1528 
   1529 Usage: $0 [OPTION]... [VAR=VALUE]...
   1530 
   1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1532 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1533 
   1534 Defaults for the options are specified in brackets.
   1535 
   1536 Configuration:
   1537   -h, --help              display this help and exit
   1538       --help=short        display options specific to this package
   1539       --help=recursive    display the short help of all the included packages
   1540   -V, --version           display version information and exit
   1541   -q, --quiet, --silent   do not print \`checking...' messages
   1542       --cache-file=FILE   cache test results in FILE [disabled]
   1543   -C, --config-cache      alias for \`--cache-file=config.cache'
   1544   -n, --no-create         do not create output files
   1545       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1546 
   1547 Installation directories:
   1548   --prefix=PREFIX         install architecture-independent files in PREFIX
   1549                           [$ac_default_prefix]
   1550   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1551                           [PREFIX]
   1552 
   1553 By default, \`make install' will install all the files in
   1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1556 for instance \`--prefix=\$HOME'.
   1557 
   1558 For better control, use the options below.
   1559 
   1560 Fine tuning of the installation directories:
   1561   --bindir=DIR            user executables [EPREFIX/bin]
   1562   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1563   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1564   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1565   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1566   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1567   --libdir=DIR            object code libraries [EPREFIX/lib]
   1568   --includedir=DIR        C header files [PREFIX/include]
   1569   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1570   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1571   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1572   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1573   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1574   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1575   --docdir=DIR            documentation root
   1576                           [DATAROOTDIR/doc/xf86-video-savage]
   1577   --htmldir=DIR           html documentation [DOCDIR]
   1578   --dvidir=DIR            dvi documentation [DOCDIR]
   1579   --pdfdir=DIR            pdf documentation [DOCDIR]
   1580   --psdir=DIR             ps documentation [DOCDIR]
   1581 _ACEOF
   1582 
   1583   cat <<\_ACEOF
   1584 
   1585 Program names:
   1586   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1587   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1588   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1589 
   1590 System types:
   1591   --build=BUILD     configure for building on BUILD [guessed]
   1592   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1593 _ACEOF
   1594 fi
   1595 
   1596 if test -n "$ac_init_help"; then
   1597   case $ac_init_help in
   1598      short | recursive ) echo "Configuration of xf86-video-savage 2.3.1:";;
   1599    esac
   1600   cat <<\_ACEOF
   1601 
   1602 Optional Features:
   1603   --disable-option-checking  ignore unrecognized --enable/--with options
   1604   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1605   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1606   --enable-maintainer-mode  enable make rules and dependencies not useful
   1607 			  (and sometimes confusing) to the casual installer
   1608   --enable-static[=PKGS]  build static libraries [default=no]
   1609   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1610   --enable-fast-install[=PKGS]
   1611                           optimize for fast installation [default=yes]
   1612   --disable-dependency-tracking  speeds up one-time build
   1613   --enable-dependency-tracking   do not reject slow dependency extractors
   1614   --disable-libtool-lock  avoid locking (might break parallel builds)
   1615   --disable-dri           Disable DRI support [default=auto]
   1616 
   1617 Optional Packages:
   1618   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1619   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1620   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1621   --with-pic              try to use only PIC/non-PIC objects [default=use
   1622                           both]
   1623   --with-tags[=TAGS]      include additional configurations [automatic]
   1624   --with-xorg-module-dir=DIR
   1625                           Default xorg module directory
   1626                           [default=$libdir/xorg/modules]
   1627   --with-release-version=STRING
   1628                           Use release version string in package name
   1629 
   1630 Some influential environment variables:
   1631   CC          C compiler command
   1632   CFLAGS      C compiler flags
   1633   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1634               nonstandard directory <lib dir>
   1635   LIBS        libraries to pass to the linker, e.g. -l<library>
   1636   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1637               you have headers in a nonstandard directory <include dir>
   1638   CPP         C preprocessor
   1639   CXX         C++ compiler command
   1640   CXXFLAGS    C++ compiler flags
   1641   CXXCPP      C++ preprocessor
   1642   F77         Fortran 77 compiler command
   1643   FFLAGS      Fortran 77 compiler flags
   1644   PKG_CONFIG  path to pkg-config utility
   1645   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1646   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1647   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1648   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1649   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1650   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1651   PCIACCESS_CFLAGS
   1652               C compiler flags for PCIACCESS, overriding pkg-config
   1653   PCIACCESS_LIBS
   1654               linker flags for PCIACCESS, overriding pkg-config
   1655 
   1656 Use these variables to override the choices made by `configure' or to help
   1657 it to find libraries and programs with nonstandard names/locations.
   1658 
   1659 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1660 _ACEOF
   1661 ac_status=$?
   1662 fi
   1663 
   1664 if test "$ac_init_help" = "recursive"; then
   1665   # If there are subdirs, report their specific --help.
   1666   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1667     test -d "$ac_dir" ||
   1668       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1669       continue
   1670     ac_builddir=.
   1671 
   1672 case "$ac_dir" in
   1673 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1674 *)
   1675   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1676   # A ".." for each directory in $ac_dir_suffix.
   1677   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1678   case $ac_top_builddir_sub in
   1679   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1680   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1681   esac ;;
   1682 esac
   1683 ac_abs_top_builddir=$ac_pwd
   1684 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1685 # for backward compatibility:
   1686 ac_top_builddir=$ac_top_build_prefix
   1687 
   1688 case $srcdir in
   1689   .)  # We are building in place.
   1690     ac_srcdir=.
   1691     ac_top_srcdir=$ac_top_builddir_sub
   1692     ac_abs_top_srcdir=$ac_pwd ;;
   1693   [\\/]* | ?:[\\/]* )  # Absolute name.
   1694     ac_srcdir=$srcdir$ac_dir_suffix;
   1695     ac_top_srcdir=$srcdir
   1696     ac_abs_top_srcdir=$srcdir ;;
   1697   *) # Relative name.
   1698     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1699     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1700     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1701 esac
   1702 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1703 
   1704     cd "$ac_dir" || { ac_status=$?; continue; }
   1705     # Check for guested configure.
   1706     if test -f "$ac_srcdir/configure.gnu"; then
   1707       echo &&
   1708       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1709     elif test -f "$ac_srcdir/configure"; then
   1710       echo &&
   1711       $SHELL "$ac_srcdir/configure" --help=recursive
   1712     else
   1713       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1714     fi || ac_status=$?
   1715     cd "$ac_pwd" || { ac_status=$?; break; }
   1716   done
   1717 fi
   1718 
   1719 test -n "$ac_init_help" && exit $ac_status
   1720 if $ac_init_version; then
   1721   cat <<\_ACEOF
   1722 xf86-video-savage configure 2.3.1
   1723 generated by GNU Autoconf 2.63
   1724 
   1725 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1726 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1727 This configure script is free software; the Free Software Foundation
   1728 gives unlimited permission to copy, distribute and modify it.
   1729 _ACEOF
   1730   exit
   1731 fi
   1732 cat >config.log <<_ACEOF
   1733 This file contains any messages produced by compilers while
   1734 running configure, to aid debugging if configure makes a mistake.
   1735 
   1736 It was created by xf86-video-savage $as_me 2.3.1, which was
   1737 generated by GNU Autoconf 2.63.  Invocation command line was
   1738 
   1739   $ $0 $@
   1740 
   1741 _ACEOF
   1742 exec 5>>config.log
   1743 {
   1744 cat <<_ASUNAME
   1745 ## --------- ##
   1746 ## Platform. ##
   1747 ## --------- ##
   1748 
   1749 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1750 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1751 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1752 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1753 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1754 
   1755 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1756 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1757 
   1758 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1759 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1760 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1761 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1762 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1763 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1764 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1765 
   1766 _ASUNAME
   1767 
   1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1769 for as_dir in $PATH
   1770 do
   1771   IFS=$as_save_IFS
   1772   test -z "$as_dir" && as_dir=.
   1773   $as_echo "PATH: $as_dir"
   1774 done
   1775 IFS=$as_save_IFS
   1776 
   1777 } >&5
   1778 
   1779 cat >&5 <<_ACEOF
   1780 
   1781 
   1782 ## ----------- ##
   1783 ## Core tests. ##
   1784 ## ----------- ##
   1785 
   1786 _ACEOF
   1787 
   1788 
   1789 # Keep a trace of the command line.
   1790 # Strip out --no-create and --no-recursion so they do not pile up.
   1791 # Strip out --silent because we don't want to record it for future runs.
   1792 # Also quote any args containing shell meta-characters.
   1793 # Make two passes to allow for proper duplicate-argument suppression.
   1794 ac_configure_args=
   1795 ac_configure_args0=
   1796 ac_configure_args1=
   1797 ac_must_keep_next=false
   1798 for ac_pass in 1 2
   1799 do
   1800   for ac_arg
   1801   do
   1802     case $ac_arg in
   1803     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1804     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1805     | -silent | --silent | --silen | --sile | --sil)
   1806       continue ;;
   1807     *\'*)
   1808       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1809     esac
   1810     case $ac_pass in
   1811     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1812     2)
   1813       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1814       if test $ac_must_keep_next = true; then
   1815 	ac_must_keep_next=false # Got value, back to normal.
   1816       else
   1817 	case $ac_arg in
   1818 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1819 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1820 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1821 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1822 	    case "$ac_configure_args0 " in
   1823 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1824 	    esac
   1825 	    ;;
   1826 	  -* ) ac_must_keep_next=true ;;
   1827 	esac
   1828       fi
   1829       ac_configure_args="$ac_configure_args '$ac_arg'"
   1830       ;;
   1831     esac
   1832   done
   1833 done
   1834 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1835 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1836 
   1837 # When interrupted or exit'd, cleanup temporary files, and complete
   1838 # config.log.  We remove comments because anyway the quotes in there
   1839 # would cause problems or look ugly.
   1840 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1841 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1842 trap 'exit_status=$?
   1843   # Save into config.log some information that might help in debugging.
   1844   {
   1845     echo
   1846 
   1847     cat <<\_ASBOX
   1848 ## ---------------- ##
   1849 ## Cache variables. ##
   1850 ## ---------------- ##
   1851 _ASBOX
   1852     echo
   1853     # The following way of writing the cache mishandles newlines in values,
   1854 (
   1855   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1856     eval ac_val=\$$ac_var
   1857     case $ac_val in #(
   1858     *${as_nl}*)
   1859       case $ac_var in #(
   1860       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1862       esac
   1863       case $ac_var in #(
   1864       _ | IFS | as_nl) ;; #(
   1865       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1866       *) $as_unset $ac_var ;;
   1867       esac ;;
   1868     esac
   1869   done
   1870   (set) 2>&1 |
   1871     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1872     *${as_nl}ac_space=\ *)
   1873       sed -n \
   1874 	"s/'\''/'\''\\\\'\'''\''/g;
   1875 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1876       ;; #(
   1877     *)
   1878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1879       ;;
   1880     esac |
   1881     sort
   1882 )
   1883     echo
   1884 
   1885     cat <<\_ASBOX
   1886 ## ----------------- ##
   1887 ## Output variables. ##
   1888 ## ----------------- ##
   1889 _ASBOX
   1890     echo
   1891     for ac_var in $ac_subst_vars
   1892     do
   1893       eval ac_val=\$$ac_var
   1894       case $ac_val in
   1895       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1896       esac
   1897       $as_echo "$ac_var='\''$ac_val'\''"
   1898     done | sort
   1899     echo
   1900 
   1901     if test -n "$ac_subst_files"; then
   1902       cat <<\_ASBOX
   1903 ## ------------------- ##
   1904 ## File substitutions. ##
   1905 ## ------------------- ##
   1906 _ASBOX
   1907       echo
   1908       for ac_var in $ac_subst_files
   1909       do
   1910 	eval ac_val=\$$ac_var
   1911 	case $ac_val in
   1912 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1913 	esac
   1914 	$as_echo "$ac_var='\''$ac_val'\''"
   1915       done | sort
   1916       echo
   1917     fi
   1918 
   1919     if test -s confdefs.h; then
   1920       cat <<\_ASBOX
   1921 ## ----------- ##
   1922 ## confdefs.h. ##
   1923 ## ----------- ##
   1924 _ASBOX
   1925       echo
   1926       cat confdefs.h
   1927       echo
   1928     fi
   1929     test "$ac_signal" != 0 &&
   1930       $as_echo "$as_me: caught signal $ac_signal"
   1931     $as_echo "$as_me: exit $exit_status"
   1932   } >&5
   1933   rm -f core *.core core.conftest.* &&
   1934     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1935     exit $exit_status
   1936 ' 0
   1937 for ac_signal in 1 2 13 15; do
   1938   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1939 done
   1940 ac_signal=0
   1941 
   1942 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1943 rm -f -r conftest* confdefs.h
   1944 
   1945 # Predefined preprocessor variables.
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_NAME "$PACKAGE_NAME"
   1949 _ACEOF
   1950 
   1951 
   1952 cat >>confdefs.h <<_ACEOF
   1953 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1954 _ACEOF
   1955 
   1956 
   1957 cat >>confdefs.h <<_ACEOF
   1958 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1959 _ACEOF
   1960 
   1961 
   1962 cat >>confdefs.h <<_ACEOF
   1963 #define PACKAGE_STRING "$PACKAGE_STRING"
   1964 _ACEOF
   1965 
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1969 _ACEOF
   1970 
   1971 
   1972 # Let the site file select an alternate cache file if it wants to.
   1973 # Prefer an explicitly selected file to automatically selected ones.
   1974 ac_site_file1=NONE
   1975 ac_site_file2=NONE
   1976 if test -n "$CONFIG_SITE"; then
   1977   ac_site_file1=$CONFIG_SITE
   1978 elif test "x$prefix" != xNONE; then
   1979   ac_site_file1=$prefix/share/config.site
   1980   ac_site_file2=$prefix/etc/config.site
   1981 else
   1982   ac_site_file1=$ac_default_prefix/share/config.site
   1983   ac_site_file2=$ac_default_prefix/etc/config.site
   1984 fi
   1985 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1986 do
   1987   test "x$ac_site_file" = xNONE && continue
   1988   if test -r "$ac_site_file"; then
   1989     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1990 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1991     sed 's/^/| /' "$ac_site_file" >&5
   1992     . "$ac_site_file"
   1993   fi
   1994 done
   1995 
   1996 if test -r "$cache_file"; then
   1997   # Some versions of bash will fail to source /dev/null (special
   1998   # files actually), so we avoid doing that.
   1999   if test -f "$cache_file"; then
   2000     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2001 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2002     case $cache_file in
   2003       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2004       *)                      . "./$cache_file";;
   2005     esac
   2006   fi
   2007 else
   2008   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2009 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2010   >$cache_file
   2011 fi
   2012 
   2013 # Check that the precious variables saved in the cache have kept the same
   2014 # value.
   2015 ac_cache_corrupted=false
   2016 for ac_var in $ac_precious_vars; do
   2017   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2018   eval ac_new_set=\$ac_env_${ac_var}_set
   2019   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2020   eval ac_new_val=\$ac_env_${ac_var}_value
   2021   case $ac_old_set,$ac_new_set in
   2022     set,)
   2023       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2024 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2025       ac_cache_corrupted=: ;;
   2026     ,set)
   2027       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2028 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2029       ac_cache_corrupted=: ;;
   2030     ,);;
   2031     *)
   2032       if test "x$ac_old_val" != "x$ac_new_val"; then
   2033 	# differences in whitespace do not lead to failure.
   2034 	ac_old_val_w=`echo x $ac_old_val`
   2035 	ac_new_val_w=`echo x $ac_new_val`
   2036 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2037 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2038 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2039 	  ac_cache_corrupted=:
   2040 	else
   2041 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2042 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2043 	  eval $ac_var=\$ac_old_val
   2044 	fi
   2045 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2046 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2047 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2048 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2049       fi;;
   2050   esac
   2051   # Pass precious variables to config.status.
   2052   if test "$ac_new_set" = set; then
   2053     case $ac_new_val in
   2054     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2055     *) ac_arg=$ac_var=$ac_new_val ;;
   2056     esac
   2057     case " $ac_configure_args " in
   2058       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2059       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2060     esac
   2061   fi
   2062 done
   2063 if $ac_cache_corrupted; then
   2064   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2066   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2067 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2068   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2069 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2070    { (exit 1); exit 1; }; }
   2071 fi
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 
   2096 
   2097 ac_ext=c
   2098 ac_cpp='$CPP $CPPFLAGS'
   2099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2102 
   2103 
   2104 
   2105 
   2106 ac_config_headers="$ac_config_headers config.h"
   2107 
   2108 ac_aux_dir=
   2109 for ac_dir in . "$srcdir"/.; do
   2110   if test -f "$ac_dir/install-sh"; then
   2111     ac_aux_dir=$ac_dir
   2112     ac_install_sh="$ac_aux_dir/install-sh -c"
   2113     break
   2114   elif test -f "$ac_dir/install.sh"; then
   2115     ac_aux_dir=$ac_dir
   2116     ac_install_sh="$ac_aux_dir/install.sh -c"
   2117     break
   2118   elif test -f "$ac_dir/shtool"; then
   2119     ac_aux_dir=$ac_dir
   2120     ac_install_sh="$ac_aux_dir/shtool install -c"
   2121     break
   2122   fi
   2123 done
   2124 if test -z "$ac_aux_dir"; then
   2125   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2126 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2127    { (exit 1); exit 1; }; }
   2128 fi
   2129 
   2130 # These three variables are undocumented and unsupported,
   2131 # and are intended to be withdrawn in a future Autoconf release.
   2132 # They can cause serious problems if a builder's source tree is in a directory
   2133 # whose full name contains unusual characters.
   2134 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2135 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2136 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2137 
   2138 
   2139 
   2140 am__api_version='1.11'
   2141 
   2142 # Find a good install program.  We prefer a C program (faster),
   2143 # so one script is as good as another.  But avoid the broken or
   2144 # incompatible versions:
   2145 # SysV /etc/install, /usr/sbin/install
   2146 # SunOS /usr/etc/install
   2147 # IRIX /sbin/install
   2148 # AIX /bin/install
   2149 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2153 # OS/2's system install, which has a completely different semantic
   2154 # ./install, which can be erroneously created by make from ./install.sh.
   2155 # Reject install programs that cannot install multiple files.
   2156 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2157 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2158 if test -z "$INSTALL"; then
   2159 if test "${ac_cv_path_install+set}" = set; then
   2160   $as_echo_n "(cached) " >&6
   2161 else
   2162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2163 for as_dir in $PATH
   2164 do
   2165   IFS=$as_save_IFS
   2166   test -z "$as_dir" && as_dir=.
   2167   # Account for people who put trailing slashes in PATH elements.
   2168 case $as_dir/ in
   2169   ./ | .// | /cC/* | \
   2170   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2171   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2172   /usr/ucb/* ) ;;
   2173   *)
   2174     # OSF1 and SCO ODT 3.0 have their own names for install.
   2175     # Don't use installbsd from OSF since it installs stuff as root
   2176     # by default.
   2177     for ac_prog in ginstall scoinst install; do
   2178       for ac_exec_ext in '' $ac_executable_extensions; do
   2179 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2180 	  if test $ac_prog = install &&
   2181 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2182 	    # AIX install.  It has an incompatible calling convention.
   2183 	    :
   2184 	  elif test $ac_prog = install &&
   2185 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2186 	    # program-specific install script used by HP pwplus--don't use.
   2187 	    :
   2188 	  else
   2189 	    rm -rf conftest.one conftest.two conftest.dir
   2190 	    echo one > conftest.one
   2191 	    echo two > conftest.two
   2192 	    mkdir conftest.dir
   2193 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2194 	      test -s conftest.one && test -s conftest.two &&
   2195 	      test -s conftest.dir/conftest.one &&
   2196 	      test -s conftest.dir/conftest.two
   2197 	    then
   2198 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2199 	      break 3
   2200 	    fi
   2201 	  fi
   2202 	fi
   2203       done
   2204     done
   2205     ;;
   2206 esac
   2207 
   2208 done
   2209 IFS=$as_save_IFS
   2210 
   2211 rm -rf conftest.one conftest.two conftest.dir
   2212 
   2213 fi
   2214   if test "${ac_cv_path_install+set}" = set; then
   2215     INSTALL=$ac_cv_path_install
   2216   else
   2217     # As a last resort, use the slow shell script.  Don't cache a
   2218     # value for INSTALL within a source directory, because that will
   2219     # break other packages using the cache if that directory is
   2220     # removed, or if the value is a relative name.
   2221     INSTALL=$ac_install_sh
   2222   fi
   2223 fi
   2224 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2225 $as_echo "$INSTALL" >&6; }
   2226 
   2227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2228 # It thinks the first close brace ends the variable substitution.
   2229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2230 
   2231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2232 
   2233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2234 
   2235 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2236 $as_echo_n "checking whether build environment is sane... " >&6; }
   2237 # Just in case
   2238 sleep 1
   2239 echo timestamp > conftest.file
   2240 # Reject unsafe characters in $srcdir or the absolute working directory
   2241 # name.  Accept space and tab only in the latter.
   2242 am_lf='
   2243 '
   2244 case `pwd` in
   2245   *[\\\"\#\$\&\'\`$am_lf]*)
   2246     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2247 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2248    { (exit 1); exit 1; }; };;
   2249 esac
   2250 case $srcdir in
   2251   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2252     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2253 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2254    { (exit 1); exit 1; }; };;
   2255 esac
   2256 
   2257 # Do `set' in a subshell so we don't clobber the current shell's
   2258 # arguments.  Must try -L first in case configure is actually a
   2259 # symlink; some systems play weird games with the mod time of symlinks
   2260 # (eg FreeBSD returns the mod time of the symlink's containing
   2261 # directory).
   2262 if (
   2263    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2264    if test "$*" = "X"; then
   2265       # -L didn't work.
   2266       set X `ls -t "$srcdir/configure" conftest.file`
   2267    fi
   2268    rm -f conftest.file
   2269    if test "$*" != "X $srcdir/configure conftest.file" \
   2270       && test "$*" != "X conftest.file $srcdir/configure"; then
   2271 
   2272       # If neither matched, then we have a broken ls.  This can happen
   2273       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2274       # broken ls alias from the environment.  This has actually
   2275       # happened.  Such a system could not be considered "sane".
   2276       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2277 alias in your environment" >&5
   2278 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2279 alias in your environment" >&2;}
   2280    { (exit 1); exit 1; }; }
   2281    fi
   2282 
   2283    test "$2" = conftest.file
   2284    )
   2285 then
   2286    # Ok.
   2287    :
   2288 else
   2289    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2290 Check your system clock" >&5
   2291 $as_echo "$as_me: error: newly created file is older than distributed files!
   2292 Check your system clock" >&2;}
   2293    { (exit 1); exit 1; }; }
   2294 fi
   2295 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2296 $as_echo "yes" >&6; }
   2297 test "$program_prefix" != NONE &&
   2298   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2299 # Use a double $ so make ignores it.
   2300 test "$program_suffix" != NONE &&
   2301   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2302 # Double any \ or $.
   2303 # By default was `s,x,x', remove it if useless.
   2304 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2305 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2306 
   2307 # expand $ac_aux_dir to an absolute path
   2308 am_aux_dir=`cd $ac_aux_dir && pwd`
   2309 
   2310 if test x"${MISSING+set}" != xset; then
   2311   case $am_aux_dir in
   2312   *\ * | *\	*)
   2313     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2314   *)
   2315     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2316   esac
   2317 fi
   2318 # Use eval to expand $SHELL
   2319 if eval "$MISSING --run true"; then
   2320   am_missing_run="$MISSING --run "
   2321 else
   2322   am_missing_run=
   2323   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2324 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2325 fi
   2326 
   2327 if test x"${install_sh}" != xset; then
   2328   case $am_aux_dir in
   2329   *\ * | *\	*)
   2330     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2331   *)
   2332     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2333   esac
   2334 fi
   2335 
   2336 # Installed binaries are usually stripped using `strip' when the user
   2337 # run `make install-strip'.  However `strip' might not be the right
   2338 # tool to use in cross-compilation environments, therefore Automake
   2339 # will honor the `STRIP' environment variable to overrule this program.
   2340 if test "$cross_compiling" != no; then
   2341   if test -n "$ac_tool_prefix"; then
   2342   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2343 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2345 $as_echo_n "checking for $ac_word... " >&6; }
   2346 if test "${ac_cv_prog_STRIP+set}" = set; then
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   if test -n "$STRIP"; then
   2350   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2351 else
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   test -z "$as_dir" && as_dir=.
   2357   for ac_exec_ext in '' $ac_executable_extensions; do
   2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2359     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2360     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2361     break 2
   2362   fi
   2363 done
   2364 done
   2365 IFS=$as_save_IFS
   2366 
   2367 fi
   2368 fi
   2369 STRIP=$ac_cv_prog_STRIP
   2370 if test -n "$STRIP"; then
   2371   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2372 $as_echo "$STRIP" >&6; }
   2373 else
   2374   { $as_echo "$as_me:$LINENO: result: no" >&5
   2375 $as_echo "no" >&6; }
   2376 fi
   2377 
   2378 
   2379 fi
   2380 if test -z "$ac_cv_prog_STRIP"; then
   2381   ac_ct_STRIP=$STRIP
   2382   # Extract the first word of "strip", so it can be a program name with args.
   2383 set dummy strip; ac_word=$2
   2384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2385 $as_echo_n "checking for $ac_word... " >&6; }
   2386 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2387   $as_echo_n "(cached) " >&6
   2388 else
   2389   if test -n "$ac_ct_STRIP"; then
   2390   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2391 else
   2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2393 for as_dir in $PATH
   2394 do
   2395   IFS=$as_save_IFS
   2396   test -z "$as_dir" && as_dir=.
   2397   for ac_exec_ext in '' $ac_executable_extensions; do
   2398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2399     ac_cv_prog_ac_ct_STRIP="strip"
   2400     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2401     break 2
   2402   fi
   2403 done
   2404 done
   2405 IFS=$as_save_IFS
   2406 
   2407 fi
   2408 fi
   2409 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2410 if test -n "$ac_ct_STRIP"; then
   2411   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2412 $as_echo "$ac_ct_STRIP" >&6; }
   2413 else
   2414   { $as_echo "$as_me:$LINENO: result: no" >&5
   2415 $as_echo "no" >&6; }
   2416 fi
   2417 
   2418   if test "x$ac_ct_STRIP" = x; then
   2419     STRIP=":"
   2420   else
   2421     case $cross_compiling:$ac_tool_warned in
   2422 yes:)
   2423 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2425 ac_tool_warned=yes ;;
   2426 esac
   2427     STRIP=$ac_ct_STRIP
   2428   fi
   2429 else
   2430   STRIP="$ac_cv_prog_STRIP"
   2431 fi
   2432 
   2433 fi
   2434 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2435 
   2436 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2437 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2438 if test -z "$MKDIR_P"; then
   2439   if test "${ac_cv_path_mkdir+set}" = set; then
   2440   $as_echo_n "(cached) " >&6
   2441 else
   2442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2444 do
   2445   IFS=$as_save_IFS
   2446   test -z "$as_dir" && as_dir=.
   2447   for ac_prog in mkdir gmkdir; do
   2448 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2449 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2450 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2451 	     'mkdir (GNU coreutils) '* | \
   2452 	     'mkdir (coreutils) '* | \
   2453 	     'mkdir (fileutils) '4.1*)
   2454 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2455 	       break 3;;
   2456 	   esac
   2457 	 done
   2458        done
   2459 done
   2460 IFS=$as_save_IFS
   2461 
   2462 fi
   2463 
   2464   if test "${ac_cv_path_mkdir+set}" = set; then
   2465     MKDIR_P="$ac_cv_path_mkdir -p"
   2466   else
   2467     # As a last resort, use the slow shell script.  Don't cache a
   2468     # value for MKDIR_P within a source directory, because that will
   2469     # break other packages using the cache if that directory is
   2470     # removed, or if the value is a relative name.
   2471     test -d ./--version && rmdir ./--version
   2472     MKDIR_P="$ac_install_sh -d"
   2473   fi
   2474 fi
   2475 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2476 $as_echo "$MKDIR_P" >&6; }
   2477 
   2478 mkdir_p="$MKDIR_P"
   2479 case $mkdir_p in
   2480   [\\/$]* | ?:[\\/]*) ;;
   2481   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2482 esac
   2483 
   2484 for ac_prog in gawk mawk nawk awk
   2485 do
   2486   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2487 set dummy $ac_prog; ac_word=$2
   2488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2489 $as_echo_n "checking for $ac_word... " >&6; }
   2490 if test "${ac_cv_prog_AWK+set}" = set; then
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   if test -n "$AWK"; then
   2494   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2495 else
   2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2497 for as_dir in $PATH
   2498 do
   2499   IFS=$as_save_IFS
   2500   test -z "$as_dir" && as_dir=.
   2501   for ac_exec_ext in '' $ac_executable_extensions; do
   2502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2503     ac_cv_prog_AWK="$ac_prog"
   2504     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2505     break 2
   2506   fi
   2507 done
   2508 done
   2509 IFS=$as_save_IFS
   2510 
   2511 fi
   2512 fi
   2513 AWK=$ac_cv_prog_AWK
   2514 if test -n "$AWK"; then
   2515   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2516 $as_echo "$AWK" >&6; }
   2517 else
   2518   { $as_echo "$as_me:$LINENO: result: no" >&5
   2519 $as_echo "no" >&6; }
   2520 fi
   2521 
   2522 
   2523   test -n "$AWK" && break
   2524 done
   2525 
   2526 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2527 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2528 set x ${MAKE-make}
   2529 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2530 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   cat >conftest.make <<\_ACEOF
   2534 SHELL = /bin/sh
   2535 all:
   2536 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2537 _ACEOF
   2538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2539 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2540   *@@@%%%=?*=@@@%%%*)
   2541     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2542   *)
   2543     eval ac_cv_prog_make_${ac_make}_set=no;;
   2544 esac
   2545 rm -f conftest.make
   2546 fi
   2547 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2548   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2549 $as_echo "yes" >&6; }
   2550   SET_MAKE=
   2551 else
   2552   { $as_echo "$as_me:$LINENO: result: no" >&5
   2553 $as_echo "no" >&6; }
   2554   SET_MAKE="MAKE=${MAKE-make}"
   2555 fi
   2556 
   2557 rm -rf .tst 2>/dev/null
   2558 mkdir .tst 2>/dev/null
   2559 if test -d .tst; then
   2560   am__leading_dot=.
   2561 else
   2562   am__leading_dot=_
   2563 fi
   2564 rmdir .tst 2>/dev/null
   2565 
   2566 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2567   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2568   # is not polluted with repeated "-I."
   2569   am__isrc=' -I$(srcdir)'
   2570   # test to see if srcdir already configured
   2571   if test -f $srcdir/config.status; then
   2572     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2573 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2574    { (exit 1); exit 1; }; }
   2575   fi
   2576 fi
   2577 
   2578 # test whether we have cygpath
   2579 if test -z "$CYGPATH_W"; then
   2580   if (cygpath --version) >/dev/null 2>/dev/null; then
   2581     CYGPATH_W='cygpath -w'
   2582   else
   2583     CYGPATH_W=echo
   2584   fi
   2585 fi
   2586 
   2587 
   2588 # Define the identity of the package.
   2589  PACKAGE='xf86-video-savage'
   2590  VERSION='2.3.1'
   2591 
   2592 
   2593 cat >>confdefs.h <<_ACEOF
   2594 #define PACKAGE "$PACKAGE"
   2595 _ACEOF
   2596 
   2597 
   2598 cat >>confdefs.h <<_ACEOF
   2599 #define VERSION "$VERSION"
   2600 _ACEOF
   2601 
   2602 # Some tools Automake needs.
   2603 
   2604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2605 
   2606 
   2607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2608 
   2609 
   2610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2611 
   2612 
   2613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2614 
   2615 
   2616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2617 
   2618 # We need awk for the "check" target.  The system "awk" is bad on
   2619 # some platforms.
   2620 # Always define AMTAR for backward compatibility.
   2621 
   2622 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2623 
   2624 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2633 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2634     # Check whether --enable-maintainer-mode was given.
   2635 if test "${enable_maintainer_mode+set}" = set; then
   2636   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2637 else
   2638   USE_MAINTAINER_MODE=no
   2639 fi
   2640 
   2641   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2642 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2643    if test $USE_MAINTAINER_MODE = yes; then
   2644   MAINTAINER_MODE_TRUE=
   2645   MAINTAINER_MODE_FALSE='#'
   2646 else
   2647   MAINTAINER_MODE_TRUE='#'
   2648   MAINTAINER_MODE_FALSE=
   2649 fi
   2650 
   2651   MAINT=$MAINTAINER_MODE_TRUE
   2652 
   2653 
   2654 
   2655 # Checks for programs.
   2656 # Check whether --enable-static was given.
   2657 if test "${enable_static+set}" = set; then
   2658   enableval=$enable_static; p=${PACKAGE-default}
   2659     case $enableval in
   2660     yes) enable_static=yes ;;
   2661     no) enable_static=no ;;
   2662     *)
   2663      enable_static=no
   2664       # Look at the argument we got.  We use all the common list separators.
   2665       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2666       for pkg in $enableval; do
   2667 	IFS="$lt_save_ifs"
   2668 	if test "X$pkg" = "X$p"; then
   2669 	  enable_static=yes
   2670 	fi
   2671       done
   2672       IFS="$lt_save_ifs"
   2673       ;;
   2674     esac
   2675 else
   2676   enable_static=no
   2677 fi
   2678 
   2679 
   2680 
   2681 # Check whether --enable-shared was given.
   2682 if test "${enable_shared+set}" = set; then
   2683   enableval=$enable_shared; p=${PACKAGE-default}
   2684     case $enableval in
   2685     yes) enable_shared=yes ;;
   2686     no) enable_shared=no ;;
   2687     *)
   2688       enable_shared=no
   2689       # Look at the argument we got.  We use all the common list separators.
   2690       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2691       for pkg in $enableval; do
   2692 	IFS="$lt_save_ifs"
   2693 	if test "X$pkg" = "X$p"; then
   2694 	  enable_shared=yes
   2695 	fi
   2696       done
   2697       IFS="$lt_save_ifs"
   2698       ;;
   2699     esac
   2700 else
   2701   enable_shared=yes
   2702 fi
   2703 
   2704 
   2705 # Check whether --enable-fast-install was given.
   2706 if test "${enable_fast_install+set}" = set; then
   2707   enableval=$enable_fast_install; p=${PACKAGE-default}
   2708     case $enableval in
   2709     yes) enable_fast_install=yes ;;
   2710     no) enable_fast_install=no ;;
   2711     *)
   2712       enable_fast_install=no
   2713       # Look at the argument we got.  We use all the common list separators.
   2714       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2715       for pkg in $enableval; do
   2716 	IFS="$lt_save_ifs"
   2717 	if test "X$pkg" = "X$p"; then
   2718 	  enable_fast_install=yes
   2719 	fi
   2720       done
   2721       IFS="$lt_save_ifs"
   2722       ;;
   2723     esac
   2724 else
   2725   enable_fast_install=yes
   2726 fi
   2727 
   2728 
   2729 # Make sure we can run config.sub.
   2730 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2731   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2732 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2733    { (exit 1); exit 1; }; }
   2734 
   2735 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2736 $as_echo_n "checking build system type... " >&6; }
   2737 if test "${ac_cv_build+set}" = set; then
   2738   $as_echo_n "(cached) " >&6
   2739 else
   2740   ac_build_alias=$build_alias
   2741 test "x$ac_build_alias" = x &&
   2742   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2743 test "x$ac_build_alias" = x &&
   2744   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2745 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2746    { (exit 1); exit 1; }; }
   2747 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2748   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2749 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2750    { (exit 1); exit 1; }; }
   2751 
   2752 fi
   2753 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2754 $as_echo "$ac_cv_build" >&6; }
   2755 case $ac_cv_build in
   2756 *-*-*) ;;
   2757 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2758 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2759    { (exit 1); exit 1; }; };;
   2760 esac
   2761 build=$ac_cv_build
   2762 ac_save_IFS=$IFS; IFS='-'
   2763 set x $ac_cv_build
   2764 shift
   2765 build_cpu=$1
   2766 build_vendor=$2
   2767 shift; shift
   2768 # Remember, the first character of IFS is used to create $*,
   2769 # except with old shells:
   2770 build_os=$*
   2771 IFS=$ac_save_IFS
   2772 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2773 
   2774 
   2775 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2776 $as_echo_n "checking host system type... " >&6; }
   2777 if test "${ac_cv_host+set}" = set; then
   2778   $as_echo_n "(cached) " >&6
   2779 else
   2780   if test "x$host_alias" = x; then
   2781   ac_cv_host=$ac_cv_build
   2782 else
   2783   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2784     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2785 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2786    { (exit 1); exit 1; }; }
   2787 fi
   2788 
   2789 fi
   2790 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2791 $as_echo "$ac_cv_host" >&6; }
   2792 case $ac_cv_host in
   2793 *-*-*) ;;
   2794 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2795 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2796    { (exit 1); exit 1; }; };;
   2797 esac
   2798 host=$ac_cv_host
   2799 ac_save_IFS=$IFS; IFS='-'
   2800 set x $ac_cv_host
   2801 shift
   2802 host_cpu=$1
   2803 host_vendor=$2
   2804 shift; shift
   2805 # Remember, the first character of IFS is used to create $*,
   2806 # except with old shells:
   2807 host_os=$*
   2808 IFS=$ac_save_IFS
   2809 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2810 
   2811 
   2812 DEPDIR="${am__leading_dot}deps"
   2813 
   2814 ac_config_commands="$ac_config_commands depfiles"
   2815 
   2816 
   2817 am_make=${MAKE-make}
   2818 cat > confinc << 'END'
   2819 am__doit:
   2820 	@echo this is the am__doit target
   2821 .PHONY: am__doit
   2822 END
   2823 # If we don't find an include directive, just comment out the code.
   2824 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2825 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2826 am__include="#"
   2827 am__quote=
   2828 _am_result=none
   2829 # First try GNU make style include.
   2830 echo "include confinc" > confmf
   2831 # Ignore all kinds of additional output from `make'.
   2832 case `$am_make -s -f confmf 2> /dev/null` in #(
   2833 *the\ am__doit\ target*)
   2834   am__include=include
   2835   am__quote=
   2836   _am_result=GNU
   2837   ;;
   2838 esac
   2839 # Now try BSD make style include.
   2840 if test "$am__include" = "#"; then
   2841    echo '.include "confinc"' > confmf
   2842    case `$am_make -s -f confmf 2> /dev/null` in #(
   2843    *the\ am__doit\ target*)
   2844      am__include=.include
   2845      am__quote="\""
   2846      _am_result=BSD
   2847      ;;
   2848    esac
   2849 fi
   2850 
   2851 
   2852 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2853 $as_echo "$_am_result" >&6; }
   2854 rm -f confinc confmf
   2855 
   2856 # Check whether --enable-dependency-tracking was given.
   2857 if test "${enable_dependency_tracking+set}" = set; then
   2858   enableval=$enable_dependency_tracking;
   2859 fi
   2860 
   2861 if test "x$enable_dependency_tracking" != xno; then
   2862   am_depcomp="$ac_aux_dir/depcomp"
   2863   AMDEPBACKSLASH='\'
   2864 fi
   2865  if test "x$enable_dependency_tracking" != xno; then
   2866   AMDEP_TRUE=
   2867   AMDEP_FALSE='#'
   2868 else
   2869   AMDEP_TRUE='#'
   2870   AMDEP_FALSE=
   2871 fi
   2872 
   2873 
   2874 ac_ext=c
   2875 ac_cpp='$CPP $CPPFLAGS'
   2876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2879 if test -n "$ac_tool_prefix"; then
   2880   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2881 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2883 $as_echo_n "checking for $ac_word... " >&6; }
   2884 if test "${ac_cv_prog_CC+set}" = set; then
   2885   $as_echo_n "(cached) " >&6
   2886 else
   2887   if test -n "$CC"; then
   2888   ac_cv_prog_CC="$CC" # Let the user override the test.
   2889 else
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2898     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2899     break 2
   2900   fi
   2901 done
   2902 done
   2903 IFS=$as_save_IFS
   2904 
   2905 fi
   2906 fi
   2907 CC=$ac_cv_prog_CC
   2908 if test -n "$CC"; then
   2909   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2910 $as_echo "$CC" >&6; }
   2911 else
   2912   { $as_echo "$as_me:$LINENO: result: no" >&5
   2913 $as_echo "no" >&6; }
   2914 fi
   2915 
   2916 
   2917 fi
   2918 if test -z "$ac_cv_prog_CC"; then
   2919   ac_ct_CC=$CC
   2920   # Extract the first word of "gcc", so it can be a program name with args.
   2921 set dummy gcc; ac_word=$2
   2922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2923 $as_echo_n "checking for $ac_word... " >&6; }
   2924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   if test -n "$ac_ct_CC"; then
   2928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2929 else
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   test -z "$as_dir" && as_dir=.
   2935   for ac_exec_ext in '' $ac_executable_extensions; do
   2936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2937     ac_cv_prog_ac_ct_CC="gcc"
   2938     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942 done
   2943 IFS=$as_save_IFS
   2944 
   2945 fi
   2946 fi
   2947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2948 if test -n "$ac_ct_CC"; then
   2949   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2950 $as_echo "$ac_ct_CC" >&6; }
   2951 else
   2952   { $as_echo "$as_me:$LINENO: result: no" >&5
   2953 $as_echo "no" >&6; }
   2954 fi
   2955 
   2956   if test "x$ac_ct_CC" = x; then
   2957     CC=""
   2958   else
   2959     case $cross_compiling:$ac_tool_warned in
   2960 yes:)
   2961 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2963 ac_tool_warned=yes ;;
   2964 esac
   2965     CC=$ac_ct_CC
   2966   fi
   2967 else
   2968   CC="$ac_cv_prog_CC"
   2969 fi
   2970 
   2971 if test -z "$CC"; then
   2972           if test -n "$ac_tool_prefix"; then
   2973     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2974 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2976 $as_echo_n "checking for $ac_word... " >&6; }
   2977 if test "${ac_cv_prog_CC+set}" = set; then
   2978   $as_echo_n "(cached) " >&6
   2979 else
   2980   if test -n "$CC"; then
   2981   ac_cv_prog_CC="$CC" # Let the user override the test.
   2982 else
   2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH
   2985 do
   2986   IFS=$as_save_IFS
   2987   test -z "$as_dir" && as_dir=.
   2988   for ac_exec_ext in '' $ac_executable_extensions; do
   2989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2990     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2992     break 2
   2993   fi
   2994 done
   2995 done
   2996 IFS=$as_save_IFS
   2997 
   2998 fi
   2999 fi
   3000 CC=$ac_cv_prog_CC
   3001 if test -n "$CC"; then
   3002   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3003 $as_echo "$CC" >&6; }
   3004 else
   3005   { $as_echo "$as_me:$LINENO: result: no" >&5
   3006 $as_echo "no" >&6; }
   3007 fi
   3008 
   3009 
   3010   fi
   3011 fi
   3012 if test -z "$CC"; then
   3013   # Extract the first word of "cc", so it can be a program name with args.
   3014 set dummy cc; ac_word=$2
   3015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3016 $as_echo_n "checking for $ac_word... " >&6; }
   3017 if test "${ac_cv_prog_CC+set}" = set; then
   3018   $as_echo_n "(cached) " >&6
   3019 else
   3020   if test -n "$CC"; then
   3021   ac_cv_prog_CC="$CC" # Let the user override the test.
   3022 else
   3023   ac_prog_rejected=no
   3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3025 for as_dir in $PATH
   3026 do
   3027   IFS=$as_save_IFS
   3028   test -z "$as_dir" && as_dir=.
   3029   for ac_exec_ext in '' $ac_executable_extensions; do
   3030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3031     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3032        ac_prog_rejected=yes
   3033        continue
   3034      fi
   3035     ac_cv_prog_CC="cc"
   3036     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3037     break 2
   3038   fi
   3039 done
   3040 done
   3041 IFS=$as_save_IFS
   3042 
   3043 if test $ac_prog_rejected = yes; then
   3044   # We found a bogon in the path, so make sure we never use it.
   3045   set dummy $ac_cv_prog_CC
   3046   shift
   3047   if test $# != 0; then
   3048     # We chose a different compiler from the bogus one.
   3049     # However, it has the same basename, so the bogon will be chosen
   3050     # first if we set CC to just the basename; use the full file name.
   3051     shift
   3052     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3053   fi
   3054 fi
   3055 fi
   3056 fi
   3057 CC=$ac_cv_prog_CC
   3058 if test -n "$CC"; then
   3059   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3060 $as_echo "$CC" >&6; }
   3061 else
   3062   { $as_echo "$as_me:$LINENO: result: no" >&5
   3063 $as_echo "no" >&6; }
   3064 fi
   3065 
   3066 
   3067 fi
   3068 if test -z "$CC"; then
   3069   if test -n "$ac_tool_prefix"; then
   3070   for ac_prog in cl.exe
   3071   do
   3072     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3075 $as_echo_n "checking for $ac_word... " >&6; }
   3076 if test "${ac_cv_prog_CC+set}" = set; then
   3077   $as_echo_n "(cached) " >&6
   3078 else
   3079   if test -n "$CC"; then
   3080   ac_cv_prog_CC="$CC" # Let the user override the test.
   3081 else
   3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH
   3084 do
   3085   IFS=$as_save_IFS
   3086   test -z "$as_dir" && as_dir=.
   3087   for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3089     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3090     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3091     break 2
   3092   fi
   3093 done
   3094 done
   3095 IFS=$as_save_IFS
   3096 
   3097 fi
   3098 fi
   3099 CC=$ac_cv_prog_CC
   3100 if test -n "$CC"; then
   3101   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3102 $as_echo "$CC" >&6; }
   3103 else
   3104   { $as_echo "$as_me:$LINENO: result: no" >&5
   3105 $as_echo "no" >&6; }
   3106 fi
   3107 
   3108 
   3109     test -n "$CC" && break
   3110   done
   3111 fi
   3112 if test -z "$CC"; then
   3113   ac_ct_CC=$CC
   3114   for ac_prog in cl.exe
   3115 do
   3116   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3117 set dummy $ac_prog; ac_word=$2
   3118 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3119 $as_echo_n "checking for $ac_word... " >&6; }
   3120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3121   $as_echo_n "(cached) " >&6
   3122 else
   3123   if test -n "$ac_ct_CC"; then
   3124   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3125 else
   3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3127 for as_dir in $PATH
   3128 do
   3129   IFS=$as_save_IFS
   3130   test -z "$as_dir" && as_dir=.
   3131   for ac_exec_ext in '' $ac_executable_extensions; do
   3132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3133     ac_cv_prog_ac_ct_CC="$ac_prog"
   3134     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3135     break 2
   3136   fi
   3137 done
   3138 done
   3139 IFS=$as_save_IFS
   3140 
   3141 fi
   3142 fi
   3143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3144 if test -n "$ac_ct_CC"; then
   3145   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3146 $as_echo "$ac_ct_CC" >&6; }
   3147 else
   3148   { $as_echo "$as_me:$LINENO: result: no" >&5
   3149 $as_echo "no" >&6; }
   3150 fi
   3151 
   3152 
   3153   test -n "$ac_ct_CC" && break
   3154 done
   3155 
   3156   if test "x$ac_ct_CC" = x; then
   3157     CC=""
   3158   else
   3159     case $cross_compiling:$ac_tool_warned in
   3160 yes:)
   3161 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3163 ac_tool_warned=yes ;;
   3164 esac
   3165     CC=$ac_ct_CC
   3166   fi
   3167 fi
   3168 
   3169 fi
   3170 
   3171 
   3172 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3174 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3175 See \`config.log' for more details." >&5
   3176 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3177 See \`config.log' for more details." >&2;}
   3178    { (exit 1); exit 1; }; }; }
   3179 
   3180 # Provide some information about the compiler.
   3181 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3182 set X $ac_compile
   3183 ac_compiler=$2
   3184 { (ac_try="$ac_compiler --version >&5"
   3185 case "(($ac_try" in
   3186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3187   *) ac_try_echo=$ac_try;;
   3188 esac
   3189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3190 $as_echo "$ac_try_echo") >&5
   3191   (eval "$ac_compiler --version >&5") 2>&5
   3192   ac_status=$?
   3193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3194   (exit $ac_status); }
   3195 { (ac_try="$ac_compiler -v >&5"
   3196 case "(($ac_try" in
   3197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3198   *) ac_try_echo=$ac_try;;
   3199 esac
   3200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3201 $as_echo "$ac_try_echo") >&5
   3202   (eval "$ac_compiler -v >&5") 2>&5
   3203   ac_status=$?
   3204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3205   (exit $ac_status); }
   3206 { (ac_try="$ac_compiler -V >&5"
   3207 case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3212 $as_echo "$ac_try_echo") >&5
   3213   (eval "$ac_compiler -V >&5") 2>&5
   3214   ac_status=$?
   3215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3216   (exit $ac_status); }
   3217 
   3218 cat >conftest.$ac_ext <<_ACEOF
   3219 /* confdefs.h.  */
   3220 _ACEOF
   3221 cat confdefs.h >>conftest.$ac_ext
   3222 cat >>conftest.$ac_ext <<_ACEOF
   3223 /* end confdefs.h.  */
   3224 
   3225 int
   3226 main ()
   3227 {
   3228 
   3229   ;
   3230   return 0;
   3231 }
   3232 _ACEOF
   3233 ac_clean_files_save=$ac_clean_files
   3234 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3235 # Try to create an executable without -o first, disregard a.out.
   3236 # It will help us diagnose broken compilers, and finding out an intuition
   3237 # of exeext.
   3238 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3239 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3240 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3241 
   3242 # The possible output files:
   3243 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3244 
   3245 ac_rmfiles=
   3246 for ac_file in $ac_files
   3247 do
   3248   case $ac_file in
   3249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3250     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3251   esac
   3252 done
   3253 rm -f $ac_rmfiles
   3254 
   3255 if { (ac_try="$ac_link_default"
   3256 case "(($ac_try" in
   3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3258   *) ac_try_echo=$ac_try;;
   3259 esac
   3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3261 $as_echo "$ac_try_echo") >&5
   3262   (eval "$ac_link_default") 2>&5
   3263   ac_status=$?
   3264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3265   (exit $ac_status); }; then
   3266   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3267 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3268 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3269 # so that the user can short-circuit this test for compilers unknown to
   3270 # Autoconf.
   3271 for ac_file in $ac_files ''
   3272 do
   3273   test -f "$ac_file" || continue
   3274   case $ac_file in
   3275     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3276 	;;
   3277     [ab].out )
   3278 	# We found the default executable, but exeext='' is most
   3279 	# certainly right.
   3280 	break;;
   3281     *.* )
   3282         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3283 	then :; else
   3284 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3285 	fi
   3286 	# We set ac_cv_exeext here because the later test for it is not
   3287 	# safe: cross compilers may not add the suffix if given an `-o'
   3288 	# argument, so we may need to know it at that point already.
   3289 	# Even if this section looks crufty: it has the advantage of
   3290 	# actually working.
   3291 	break;;
   3292     * )
   3293 	break;;
   3294   esac
   3295 done
   3296 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3297 
   3298 else
   3299   ac_file=''
   3300 fi
   3301 
   3302 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3303 $as_echo "$ac_file" >&6; }
   3304 if test -z "$ac_file"; then
   3305   $as_echo "$as_me: failed program was:" >&5
   3306 sed 's/^/| /' conftest.$ac_ext >&5
   3307 
   3308 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3310 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3311 See \`config.log' for more details." >&5
   3312 $as_echo "$as_me: error: C compiler cannot create executables
   3313 See \`config.log' for more details." >&2;}
   3314    { (exit 77); exit 77; }; }; }
   3315 fi
   3316 
   3317 ac_exeext=$ac_cv_exeext
   3318 
   3319 # Check that the compiler produces executables we can run.  If not, either
   3320 # the compiler is broken, or we cross compile.
   3321 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3322 $as_echo_n "checking whether the C compiler works... " >&6; }
   3323 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3324 # If not cross compiling, check that we can run a simple program.
   3325 if test "$cross_compiling" != yes; then
   3326   if { ac_try='./$ac_file'
   3327   { (case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo") >&5
   3333   (eval "$ac_try") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3336   (exit $ac_status); }; }; then
   3337     cross_compiling=no
   3338   else
   3339     if test "$cross_compiling" = maybe; then
   3340 	cross_compiling=yes
   3341     else
   3342 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3344 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3345 If you meant to cross compile, use \`--host'.
   3346 See \`config.log' for more details." >&5
   3347 $as_echo "$as_me: error: cannot run C compiled programs.
   3348 If you meant to cross compile, use \`--host'.
   3349 See \`config.log' for more details." >&2;}
   3350    { (exit 1); exit 1; }; }; }
   3351     fi
   3352   fi
   3353 fi
   3354 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3355 $as_echo "yes" >&6; }
   3356 
   3357 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3358 ac_clean_files=$ac_clean_files_save
   3359 # Check that the compiler produces executables we can run.  If not, either
   3360 # the compiler is broken, or we cross compile.
   3361 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3362 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3363 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3364 $as_echo "$cross_compiling" >&6; }
   3365 
   3366 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3367 $as_echo_n "checking for suffix of executables... " >&6; }
   3368 if { (ac_try="$ac_link"
   3369 case "(($ac_try" in
   3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3371   *) ac_try_echo=$ac_try;;
   3372 esac
   3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3374 $as_echo "$ac_try_echo") >&5
   3375   (eval "$ac_link") 2>&5
   3376   ac_status=$?
   3377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3378   (exit $ac_status); }; then
   3379   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3380 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3381 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3382 # `rm'.
   3383 for ac_file in conftest.exe conftest conftest.*; do
   3384   test -f "$ac_file" || continue
   3385   case $ac_file in
   3386     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3387     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3388 	  break;;
   3389     * ) break;;
   3390   esac
   3391 done
   3392 else
   3393   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3395 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3396 See \`config.log' for more details." >&5
   3397 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3398 See \`config.log' for more details." >&2;}
   3399    { (exit 1); exit 1; }; }; }
   3400 fi
   3401 
   3402 rm -f conftest$ac_cv_exeext
   3403 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3404 $as_echo "$ac_cv_exeext" >&6; }
   3405 
   3406 rm -f conftest.$ac_ext
   3407 EXEEXT=$ac_cv_exeext
   3408 ac_exeext=$EXEEXT
   3409 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3410 $as_echo_n "checking for suffix of object files... " >&6; }
   3411 if test "${ac_cv_objext+set}" = set; then
   3412   $as_echo_n "(cached) " >&6
   3413 else
   3414   cat >conftest.$ac_ext <<_ACEOF
   3415 /* confdefs.h.  */
   3416 _ACEOF
   3417 cat confdefs.h >>conftest.$ac_ext
   3418 cat >>conftest.$ac_ext <<_ACEOF
   3419 /* end confdefs.h.  */
   3420 
   3421 int
   3422 main ()
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 rm -f conftest.o conftest.obj
   3430 if { (ac_try="$ac_compile"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo") >&5
   3437   (eval "$ac_compile") 2>&5
   3438   ac_status=$?
   3439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3440   (exit $ac_status); }; then
   3441   for ac_file in conftest.o conftest.obj conftest.*; do
   3442   test -f "$ac_file" || continue;
   3443   case $ac_file in
   3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3445     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3446        break;;
   3447   esac
   3448 done
   3449 else
   3450   $as_echo "$as_me: failed program was:" >&5
   3451 sed 's/^/| /' conftest.$ac_ext >&5
   3452 
   3453 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3455 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3456 See \`config.log' for more details." >&5
   3457 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3458 See \`config.log' for more details." >&2;}
   3459    { (exit 1); exit 1; }; }; }
   3460 fi
   3461 
   3462 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3463 fi
   3464 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3465 $as_echo "$ac_cv_objext" >&6; }
   3466 OBJEXT=$ac_cv_objext
   3467 ac_objext=$OBJEXT
   3468 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3469 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3470 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3471   $as_echo_n "(cached) " >&6
   3472 else
   3473   cat >conftest.$ac_ext <<_ACEOF
   3474 /* confdefs.h.  */
   3475 _ACEOF
   3476 cat confdefs.h >>conftest.$ac_ext
   3477 cat >>conftest.$ac_ext <<_ACEOF
   3478 /* end confdefs.h.  */
   3479 
   3480 int
   3481 main ()
   3482 {
   3483 #ifndef __GNUC__
   3484        choke me
   3485 #endif
   3486 
   3487   ;
   3488   return 0;
   3489 }
   3490 _ACEOF
   3491 rm -f conftest.$ac_objext
   3492 if { (ac_try="$ac_compile"
   3493 case "(($ac_try" in
   3494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3495   *) ac_try_echo=$ac_try;;
   3496 esac
   3497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3498 $as_echo "$ac_try_echo") >&5
   3499   (eval "$ac_compile") 2>conftest.er1
   3500   ac_status=$?
   3501   grep -v '^ *+' conftest.er1 >conftest.err
   3502   rm -f conftest.er1
   3503   cat conftest.err >&5
   3504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3505   (exit $ac_status); } && {
   3506 	 test -z "$ac_c_werror_flag" ||
   3507 	 test ! -s conftest.err
   3508        } && test -s conftest.$ac_objext; then
   3509   ac_compiler_gnu=yes
   3510 else
   3511   $as_echo "$as_me: failed program was:" >&5
   3512 sed 's/^/| /' conftest.$ac_ext >&5
   3513 
   3514 	ac_compiler_gnu=no
   3515 fi
   3516 
   3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3518 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3519 
   3520 fi
   3521 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3522 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3523 if test $ac_compiler_gnu = yes; then
   3524   GCC=yes
   3525 else
   3526   GCC=
   3527 fi
   3528 ac_test_CFLAGS=${CFLAGS+set}
   3529 ac_save_CFLAGS=$CFLAGS
   3530 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3531 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3532 if test "${ac_cv_prog_cc_g+set}" = set; then
   3533   $as_echo_n "(cached) " >&6
   3534 else
   3535   ac_save_c_werror_flag=$ac_c_werror_flag
   3536    ac_c_werror_flag=yes
   3537    ac_cv_prog_cc_g=no
   3538    CFLAGS="-g"
   3539    cat >conftest.$ac_ext <<_ACEOF
   3540 /* confdefs.h.  */
   3541 _ACEOF
   3542 cat confdefs.h >>conftest.$ac_ext
   3543 cat >>conftest.$ac_ext <<_ACEOF
   3544 /* end confdefs.h.  */
   3545 
   3546 int
   3547 main ()
   3548 {
   3549 
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 rm -f conftest.$ac_objext
   3555 if { (ac_try="$ac_compile"
   3556 case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3561 $as_echo "$ac_try_echo") >&5
   3562   (eval "$ac_compile") 2>conftest.er1
   3563   ac_status=$?
   3564   grep -v '^ *+' conftest.er1 >conftest.err
   3565   rm -f conftest.er1
   3566   cat conftest.err >&5
   3567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3568   (exit $ac_status); } && {
   3569 	 test -z "$ac_c_werror_flag" ||
   3570 	 test ! -s conftest.err
   3571        } && test -s conftest.$ac_objext; then
   3572   ac_cv_prog_cc_g=yes
   3573 else
   3574   $as_echo "$as_me: failed program was:" >&5
   3575 sed 's/^/| /' conftest.$ac_ext >&5
   3576 
   3577 	CFLAGS=""
   3578       cat >conftest.$ac_ext <<_ACEOF
   3579 /* confdefs.h.  */
   3580 _ACEOF
   3581 cat confdefs.h >>conftest.$ac_ext
   3582 cat >>conftest.$ac_ext <<_ACEOF
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 rm -f conftest.$ac_objext
   3594 if { (ac_try="$ac_compile"
   3595 case "(($ac_try" in
   3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3597   *) ac_try_echo=$ac_try;;
   3598 esac
   3599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3600 $as_echo "$ac_try_echo") >&5
   3601   (eval "$ac_compile") 2>conftest.er1
   3602   ac_status=$?
   3603   grep -v '^ *+' conftest.er1 >conftest.err
   3604   rm -f conftest.er1
   3605   cat conftest.err >&5
   3606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3607   (exit $ac_status); } && {
   3608 	 test -z "$ac_c_werror_flag" ||
   3609 	 test ! -s conftest.err
   3610        } && test -s conftest.$ac_objext; then
   3611   :
   3612 else
   3613   $as_echo "$as_me: failed program was:" >&5
   3614 sed 's/^/| /' conftest.$ac_ext >&5
   3615 
   3616 	ac_c_werror_flag=$ac_save_c_werror_flag
   3617 	 CFLAGS="-g"
   3618 	 cat >conftest.$ac_ext <<_ACEOF
   3619 /* confdefs.h.  */
   3620 _ACEOF
   3621 cat confdefs.h >>conftest.$ac_ext
   3622 cat >>conftest.$ac_ext <<_ACEOF
   3623 /* end confdefs.h.  */
   3624 
   3625 int
   3626 main ()
   3627 {
   3628 
   3629   ;
   3630   return 0;
   3631 }
   3632 _ACEOF
   3633 rm -f conftest.$ac_objext
   3634 if { (ac_try="$ac_compile"
   3635 case "(($ac_try" in
   3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3637   *) ac_try_echo=$ac_try;;
   3638 esac
   3639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3640 $as_echo "$ac_try_echo") >&5
   3641   (eval "$ac_compile") 2>conftest.er1
   3642   ac_status=$?
   3643   grep -v '^ *+' conftest.er1 >conftest.err
   3644   rm -f conftest.er1
   3645   cat conftest.err >&5
   3646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3647   (exit $ac_status); } && {
   3648 	 test -z "$ac_c_werror_flag" ||
   3649 	 test ! -s conftest.err
   3650        } && test -s conftest.$ac_objext; then
   3651   ac_cv_prog_cc_g=yes
   3652 else
   3653   $as_echo "$as_me: failed program was:" >&5
   3654 sed 's/^/| /' conftest.$ac_ext >&5
   3655 
   3656 
   3657 fi
   3658 
   3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3660 fi
   3661 
   3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3663 fi
   3664 
   3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3666    ac_c_werror_flag=$ac_save_c_werror_flag
   3667 fi
   3668 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3669 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3670 if test "$ac_test_CFLAGS" = set; then
   3671   CFLAGS=$ac_save_CFLAGS
   3672 elif test $ac_cv_prog_cc_g = yes; then
   3673   if test "$GCC" = yes; then
   3674     CFLAGS="-g -O2"
   3675   else
   3676     CFLAGS="-g"
   3677   fi
   3678 else
   3679   if test "$GCC" = yes; then
   3680     CFLAGS="-O2"
   3681   else
   3682     CFLAGS=
   3683   fi
   3684 fi
   3685 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3686 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3687 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3688   $as_echo_n "(cached) " >&6
   3689 else
   3690   ac_cv_prog_cc_c89=no
   3691 ac_save_CC=$CC
   3692 cat >conftest.$ac_ext <<_ACEOF
   3693 /* confdefs.h.  */
   3694 _ACEOF
   3695 cat confdefs.h >>conftest.$ac_ext
   3696 cat >>conftest.$ac_ext <<_ACEOF
   3697 /* end confdefs.h.  */
   3698 #include <stdarg.h>
   3699 #include <stdio.h>
   3700 #include <sys/types.h>
   3701 #include <sys/stat.h>
   3702 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3703 struct buf { int x; };
   3704 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3705 static char *e (p, i)
   3706      char **p;
   3707      int i;
   3708 {
   3709   return p[i];
   3710 }
   3711 static char *f (char * (*g) (char **, int), char **p, ...)
   3712 {
   3713   char *s;
   3714   va_list v;
   3715   va_start (v,p);
   3716   s = g (p, va_arg (v,int));
   3717   va_end (v);
   3718   return s;
   3719 }
   3720 
   3721 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3722    function prototypes and stuff, but not '\xHH' hex character constants.
   3723    These don't provoke an error unfortunately, instead are silently treated
   3724    as 'x'.  The following induces an error, until -std is added to get
   3725    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3726    array size at least.  It's necessary to write '\x00'==0 to get something
   3727    that's true only with -std.  */
   3728 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3729 
   3730 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3731    inside strings and character constants.  */
   3732 #define FOO(x) 'x'
   3733 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3734 
   3735 int test (int i, double x);
   3736 struct s1 {int (*f) (int a);};
   3737 struct s2 {int (*f) (double a);};
   3738 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3739 int argc;
   3740 char **argv;
   3741 int
   3742 main ()
   3743 {
   3744 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3745   ;
   3746   return 0;
   3747 }
   3748 _ACEOF
   3749 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3750 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3751 do
   3752   CC="$ac_save_CC $ac_arg"
   3753   rm -f conftest.$ac_objext
   3754 if { (ac_try="$ac_compile"
   3755 case "(($ac_try" in
   3756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3757   *) ac_try_echo=$ac_try;;
   3758 esac
   3759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3760 $as_echo "$ac_try_echo") >&5
   3761   (eval "$ac_compile") 2>conftest.er1
   3762   ac_status=$?
   3763   grep -v '^ *+' conftest.er1 >conftest.err
   3764   rm -f conftest.er1
   3765   cat conftest.err >&5
   3766   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3767   (exit $ac_status); } && {
   3768 	 test -z "$ac_c_werror_flag" ||
   3769 	 test ! -s conftest.err
   3770        } && test -s conftest.$ac_objext; then
   3771   ac_cv_prog_cc_c89=$ac_arg
   3772 else
   3773   $as_echo "$as_me: failed program was:" >&5
   3774 sed 's/^/| /' conftest.$ac_ext >&5
   3775 
   3776 
   3777 fi
   3778 
   3779 rm -f core conftest.err conftest.$ac_objext
   3780   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3781 done
   3782 rm -f conftest.$ac_ext
   3783 CC=$ac_save_CC
   3784 
   3785 fi
   3786 # AC_CACHE_VAL
   3787 case "x$ac_cv_prog_cc_c89" in
   3788   x)
   3789     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3790 $as_echo "none needed" >&6; } ;;
   3791   xno)
   3792     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3793 $as_echo "unsupported" >&6; } ;;
   3794   *)
   3795     CC="$CC $ac_cv_prog_cc_c89"
   3796     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3797 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3798 esac
   3799 
   3800 
   3801 ac_ext=c
   3802 ac_cpp='$CPP $CPPFLAGS'
   3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3806 
   3807 depcc="$CC"   am_compiler_list=
   3808 
   3809 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3810 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3811 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3812   $as_echo_n "(cached) " >&6
   3813 else
   3814   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3815   # We make a subdir and do the tests there.  Otherwise we can end up
   3816   # making bogus files that we don't know about and never remove.  For
   3817   # instance it was reported that on HP-UX the gcc test will end up
   3818   # making a dummy file named `D' -- because `-MD' means `put the output
   3819   # in D'.
   3820   mkdir conftest.dir
   3821   # Copy depcomp to subdir because otherwise we won't find it if we're
   3822   # using a relative directory.
   3823   cp "$am_depcomp" conftest.dir
   3824   cd conftest.dir
   3825   # We will build objects and dependencies in a subdirectory because
   3826   # it helps to detect inapplicable dependency modes.  For instance
   3827   # both Tru64's cc and ICC support -MD to output dependencies as a
   3828   # side effect of compilation, but ICC will put the dependencies in
   3829   # the current directory while Tru64 will put them in the object
   3830   # directory.
   3831   mkdir sub
   3832 
   3833   am_cv_CC_dependencies_compiler_type=none
   3834   if test "$am_compiler_list" = ""; then
   3835      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3836   fi
   3837   am__universal=false
   3838   case " $depcc " in #(
   3839      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3840      esac
   3841 
   3842   for depmode in $am_compiler_list; do
   3843     # Setup a source with many dependencies, because some compilers
   3844     # like to wrap large dependency lists on column 80 (with \), and
   3845     # we should not choose a depcomp mode which is confused by this.
   3846     #
   3847     # We need to recreate these files for each test, as the compiler may
   3848     # overwrite some of them when testing with obscure command lines.
   3849     # This happens at least with the AIX C compiler.
   3850     : > sub/conftest.c
   3851     for i in 1 2 3 4 5 6; do
   3852       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3853       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3854       # Solaris 8's {/usr,}/bin/sh.
   3855       touch sub/conftst$i.h
   3856     done
   3857     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3858 
   3859     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3860     # mode.  It turns out that the SunPro C++ compiler does not properly
   3861     # handle `-M -o', and we need to detect this.  Also, some Intel
   3862     # versions had trouble with output in subdirs
   3863     am__obj=sub/conftest.${OBJEXT-o}
   3864     am__minus_obj="-o $am__obj"
   3865     case $depmode in
   3866     gcc)
   3867       # This depmode causes a compiler race in universal mode.
   3868       test "$am__universal" = false || continue
   3869       ;;
   3870     nosideeffect)
   3871       # after this tag, mechanisms are not by side-effect, so they'll
   3872       # only be used when explicitly requested
   3873       if test "x$enable_dependency_tracking" = xyes; then
   3874 	continue
   3875       else
   3876 	break
   3877       fi
   3878       ;;
   3879     msvisualcpp | msvcmsys)
   3880       # This compiler won't grok `-c -o', but also, the minuso test has
   3881       # not run yet.  These depmodes are late enough in the game, and
   3882       # so weak that their functioning should not be impacted.
   3883       am__obj=conftest.${OBJEXT-o}
   3884       am__minus_obj=
   3885       ;;
   3886     none) break ;;
   3887     esac
   3888     if depmode=$depmode \
   3889        source=sub/conftest.c object=$am__obj \
   3890        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3891        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3892          >/dev/null 2>conftest.err &&
   3893        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3894        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3895        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3896        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3897       # icc doesn't choke on unknown options, it will just issue warnings
   3898       # or remarks (even with -Werror).  So we grep stderr for any message
   3899       # that says an option was ignored or not supported.
   3900       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3901       #   icc: Command line warning: ignoring option '-M'; no argument required
   3902       # The diagnosis changed in icc 8.0:
   3903       #   icc: Command line remark: option '-MP' not supported
   3904       if (grep 'ignoring option' conftest.err ||
   3905           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3906         am_cv_CC_dependencies_compiler_type=$depmode
   3907         break
   3908       fi
   3909     fi
   3910   done
   3911 
   3912   cd ..
   3913   rm -rf conftest.dir
   3914 else
   3915   am_cv_CC_dependencies_compiler_type=none
   3916 fi
   3917 
   3918 fi
   3919 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3920 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3921 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3922 
   3923  if
   3924   test "x$enable_dependency_tracking" != xno \
   3925   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3926   am__fastdepCC_TRUE=
   3927   am__fastdepCC_FALSE='#'
   3928 else
   3929   am__fastdepCC_TRUE='#'
   3930   am__fastdepCC_FALSE=
   3931 fi
   3932 
   3933 
   3934 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3935 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3936 if test "${lt_cv_path_SED+set}" = set; then
   3937   $as_echo_n "(cached) " >&6
   3938 else
   3939   # Loop through the user's path and test for sed and gsed.
   3940 # Then use that list of sed's as ones to test for truncation.
   3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3942 for as_dir in $PATH
   3943 do
   3944   IFS=$as_save_IFS
   3945   test -z "$as_dir" && as_dir=.
   3946   for lt_ac_prog in sed gsed; do
   3947     for ac_exec_ext in '' $ac_executable_extensions; do
   3948       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3949         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3950       fi
   3951     done
   3952   done
   3953 done
   3954 IFS=$as_save_IFS
   3955 lt_ac_max=0
   3956 lt_ac_count=0
   3957 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3958 # along with /bin/sed that truncates output.
   3959 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3960   test ! -f $lt_ac_sed && continue
   3961   cat /dev/null > conftest.in
   3962   lt_ac_count=0
   3963   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3964   # Check for GNU sed and select it if it is found.
   3965   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3966     lt_cv_path_SED=$lt_ac_sed
   3967     break
   3968   fi
   3969   while true; do
   3970     cat conftest.in conftest.in >conftest.tmp
   3971     mv conftest.tmp conftest.in
   3972     cp conftest.in conftest.nl
   3973     echo >>conftest.nl
   3974     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3975     cmp -s conftest.out conftest.nl || break
   3976     # 10000 chars as input seems more than enough
   3977     test $lt_ac_count -gt 10 && break
   3978     lt_ac_count=`expr $lt_ac_count + 1`
   3979     if test $lt_ac_count -gt $lt_ac_max; then
   3980       lt_ac_max=$lt_ac_count
   3981       lt_cv_path_SED=$lt_ac_sed
   3982     fi
   3983   done
   3984 done
   3985 
   3986 fi
   3987 
   3988 SED=$lt_cv_path_SED
   3989 
   3990 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3991 $as_echo "$SED" >&6; }
   3992 
   3993 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3994 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3995 if test "${ac_cv_path_GREP+set}" = set; then
   3996   $as_echo_n "(cached) " >&6
   3997 else
   3998   if test -z "$GREP"; then
   3999   ac_path_GREP_found=false
   4000   # Loop through the user's path and test for each of PROGNAME-LIST
   4001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4003 do
   4004   IFS=$as_save_IFS
   4005   test -z "$as_dir" && as_dir=.
   4006   for ac_prog in grep ggrep; do
   4007     for ac_exec_ext in '' $ac_executable_extensions; do
   4008       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4009       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4010 # Check for GNU ac_path_GREP and select it if it is found.
   4011   # Check for GNU $ac_path_GREP
   4012 case `"$ac_path_GREP" --version 2>&1` in
   4013 *GNU*)
   4014   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4015 *)
   4016   ac_count=0
   4017   $as_echo_n 0123456789 >"conftest.in"
   4018   while :
   4019   do
   4020     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4021     mv "conftest.tmp" "conftest.in"
   4022     cp "conftest.in" "conftest.nl"
   4023     $as_echo 'GREP' >> "conftest.nl"
   4024     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4025     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4026     ac_count=`expr $ac_count + 1`
   4027     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4028       # Best one so far, save it but keep looking for a better one
   4029       ac_cv_path_GREP="$ac_path_GREP"
   4030       ac_path_GREP_max=$ac_count
   4031     fi
   4032     # 10*(2^10) chars as input seems more than enough
   4033     test $ac_count -gt 10 && break
   4034   done
   4035   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4036 esac
   4037 
   4038       $ac_path_GREP_found && break 3
   4039     done
   4040   done
   4041 done
   4042 IFS=$as_save_IFS
   4043   if test -z "$ac_cv_path_GREP"; then
   4044     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4045 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4046    { (exit 1); exit 1; }; }
   4047   fi
   4048 else
   4049   ac_cv_path_GREP=$GREP
   4050 fi
   4051 
   4052 fi
   4053 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4054 $as_echo "$ac_cv_path_GREP" >&6; }
   4055  GREP="$ac_cv_path_GREP"
   4056 
   4057 
   4058 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4059 $as_echo_n "checking for egrep... " >&6; }
   4060 if test "${ac_cv_path_EGREP+set}" = set; then
   4061   $as_echo_n "(cached) " >&6
   4062 else
   4063   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4064    then ac_cv_path_EGREP="$GREP -E"
   4065    else
   4066      if test -z "$EGREP"; then
   4067   ac_path_EGREP_found=false
   4068   # Loop through the user's path and test for each of PROGNAME-LIST
   4069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4070 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4071 do
   4072   IFS=$as_save_IFS
   4073   test -z "$as_dir" && as_dir=.
   4074   for ac_prog in egrep; do
   4075     for ac_exec_ext in '' $ac_executable_extensions; do
   4076       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4077       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4078 # Check for GNU ac_path_EGREP and select it if it is found.
   4079   # Check for GNU $ac_path_EGREP
   4080 case `"$ac_path_EGREP" --version 2>&1` in
   4081 *GNU*)
   4082   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4083 *)
   4084   ac_count=0
   4085   $as_echo_n 0123456789 >"conftest.in"
   4086   while :
   4087   do
   4088     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4089     mv "conftest.tmp" "conftest.in"
   4090     cp "conftest.in" "conftest.nl"
   4091     $as_echo 'EGREP' >> "conftest.nl"
   4092     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4093     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4094     ac_count=`expr $ac_count + 1`
   4095     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4096       # Best one so far, save it but keep looking for a better one
   4097       ac_cv_path_EGREP="$ac_path_EGREP"
   4098       ac_path_EGREP_max=$ac_count
   4099     fi
   4100     # 10*(2^10) chars as input seems more than enough
   4101     test $ac_count -gt 10 && break
   4102   done
   4103   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4104 esac
   4105 
   4106       $ac_path_EGREP_found && break 3
   4107     done
   4108   done
   4109 done
   4110 IFS=$as_save_IFS
   4111   if test -z "$ac_cv_path_EGREP"; then
   4112     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4113 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4114    { (exit 1); exit 1; }; }
   4115   fi
   4116 else
   4117   ac_cv_path_EGREP=$EGREP
   4118 fi
   4119 
   4120    fi
   4121 fi
   4122 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4123 $as_echo "$ac_cv_path_EGREP" >&6; }
   4124  EGREP="$ac_cv_path_EGREP"
   4125 
   4126 
   4127 
   4128 # Check whether --with-gnu-ld was given.
   4129 if test "${with_gnu_ld+set}" = set; then
   4130   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4131 else
   4132   with_gnu_ld=no
   4133 fi
   4134 
   4135 ac_prog=ld
   4136 if test "$GCC" = yes; then
   4137   # Check if gcc -print-prog-name=ld gives a path.
   4138   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4139 $as_echo_n "checking for ld used by $CC... " >&6; }
   4140   case $host in
   4141   *-*-mingw*)
   4142     # gcc leaves a trailing carriage return which upsets mingw
   4143     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4144   *)
   4145     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4146   esac
   4147   case $ac_prog in
   4148     # Accept absolute paths.
   4149     [\\/]* | ?:[\\/]*)
   4150       re_direlt='/[^/][^/]*/\.\./'
   4151       # Canonicalize the pathname of ld
   4152       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4153       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4154 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4155       done
   4156       test -z "$LD" && LD="$ac_prog"
   4157       ;;
   4158   "")
   4159     # If it fails, then pretend we aren't using GCC.
   4160     ac_prog=ld
   4161     ;;
   4162   *)
   4163     # If it is relative, then search for the first ld in PATH.
   4164     with_gnu_ld=unknown
   4165     ;;
   4166   esac
   4167 elif test "$with_gnu_ld" = yes; then
   4168   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4169 $as_echo_n "checking for GNU ld... " >&6; }
   4170 else
   4171   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4172 $as_echo_n "checking for non-GNU ld... " >&6; }
   4173 fi
   4174 if test "${lt_cv_path_LD+set}" = set; then
   4175   $as_echo_n "(cached) " >&6
   4176 else
   4177   if test -z "$LD"; then
   4178   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4179   for ac_dir in $PATH; do
   4180     IFS="$lt_save_ifs"
   4181     test -z "$ac_dir" && ac_dir=.
   4182     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4183       lt_cv_path_LD="$ac_dir/$ac_prog"
   4184       # Check to see if the program is GNU ld.  I'd rather use --version,
   4185       # but apparently some variants of GNU ld only accept -v.
   4186       # Break only if it was the GNU/non-GNU ld that we prefer.
   4187       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4188       *GNU* | *'with BFD'*)
   4189 	test "$with_gnu_ld" != no && break
   4190 	;;
   4191       *)
   4192 	test "$with_gnu_ld" != yes && break
   4193 	;;
   4194       esac
   4195     fi
   4196   done
   4197   IFS="$lt_save_ifs"
   4198 else
   4199   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4200 fi
   4201 fi
   4202 
   4203 LD="$lt_cv_path_LD"
   4204 if test -n "$LD"; then
   4205   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4206 $as_echo "$LD" >&6; }
   4207 else
   4208   { $as_echo "$as_me:$LINENO: result: no" >&5
   4209 $as_echo "no" >&6; }
   4210 fi
   4211 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4212 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4213    { (exit 1); exit 1; }; }
   4214 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4215 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4216 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4217   $as_echo_n "(cached) " >&6
   4218 else
   4219   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4220 case `$LD -v 2>&1 </dev/null` in
   4221 *GNU* | *'with BFD'*)
   4222   lt_cv_prog_gnu_ld=yes
   4223   ;;
   4224 *)
   4225   lt_cv_prog_gnu_ld=no
   4226   ;;
   4227 esac
   4228 fi
   4229 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4230 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4231 with_gnu_ld=$lt_cv_prog_gnu_ld
   4232 
   4233 
   4234 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4235 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4236 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4237   $as_echo_n "(cached) " >&6
   4238 else
   4239   lt_cv_ld_reload_flag='-r'
   4240 fi
   4241 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4242 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4243 reload_flag=$lt_cv_ld_reload_flag
   4244 case $reload_flag in
   4245 "" | " "*) ;;
   4246 *) reload_flag=" $reload_flag" ;;
   4247 esac
   4248 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4249 case $host_os in
   4250   darwin*)
   4251     if test "$GCC" = yes; then
   4252       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4253     else
   4254       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4255     fi
   4256     ;;
   4257 esac
   4258 
   4259 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4260 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4261 if test "${lt_cv_path_NM+set}" = set; then
   4262   $as_echo_n "(cached) " >&6
   4263 else
   4264   if test -n "$NM"; then
   4265   # Let the user override the test.
   4266   lt_cv_path_NM="$NM"
   4267 else
   4268   lt_nm_to_check="${ac_tool_prefix}nm"
   4269   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4270     lt_nm_to_check="$lt_nm_to_check nm"
   4271   fi
   4272   for lt_tmp_nm in $lt_nm_to_check; do
   4273     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4274     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4275       IFS="$lt_save_ifs"
   4276       test -z "$ac_dir" && ac_dir=.
   4277       tmp_nm="$ac_dir/$lt_tmp_nm"
   4278       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4279 	# Check to see if the nm accepts a BSD-compat flag.
   4280 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4281 	#   nm: unknown option "B" ignored
   4282 	# Tru64's nm complains that /dev/null is an invalid object file
   4283 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4284 	*/dev/null* | *'Invalid file or object type'*)
   4285 	  lt_cv_path_NM="$tmp_nm -B"
   4286 	  break
   4287 	  ;;
   4288 	*)
   4289 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4290 	  */dev/null*)
   4291 	    lt_cv_path_NM="$tmp_nm -p"
   4292 	    break
   4293 	    ;;
   4294 	  *)
   4295 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4296 	    continue # so that we can try to find one that supports BSD flags
   4297 	    ;;
   4298 	  esac
   4299 	  ;;
   4300 	esac
   4301       fi
   4302     done
   4303     IFS="$lt_save_ifs"
   4304   done
   4305   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4306 fi
   4307 fi
   4308 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4309 $as_echo "$lt_cv_path_NM" >&6; }
   4310 NM="$lt_cv_path_NM"
   4311 
   4312 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4313 $as_echo_n "checking whether ln -s works... " >&6; }
   4314 LN_S=$as_ln_s
   4315 if test "$LN_S" = "ln -s"; then
   4316   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4317 $as_echo "yes" >&6; }
   4318 else
   4319   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4320 $as_echo "no, using $LN_S" >&6; }
   4321 fi
   4322 
   4323 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4324 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4325 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4326   $as_echo_n "(cached) " >&6
   4327 else
   4328   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4329 lt_cv_file_magic_test_file=
   4330 lt_cv_deplibs_check_method='unknown'
   4331 # Need to set the preceding variable on all platforms that support
   4332 # interlibrary dependencies.
   4333 # 'none' -- dependencies not supported.
   4334 # `unknown' -- same as none, but documents that we really don't know.
   4335 # 'pass_all' -- all dependencies passed with no checks.
   4336 # 'test_compile' -- check by making test program.
   4337 # 'file_magic [[regex]]' -- check by looking for files in library path
   4338 # which responds to the $file_magic_cmd with a given extended regex.
   4339 # If you have `file' or equivalent on your system and you're not sure
   4340 # whether `pass_all' will *always* work, you probably want this one.
   4341 
   4342 case $host_os in
   4343 aix[4-9]*)
   4344   lt_cv_deplibs_check_method=pass_all
   4345   ;;
   4346 
   4347 beos*)
   4348   lt_cv_deplibs_check_method=pass_all
   4349   ;;
   4350 
   4351 bsdi[45]*)
   4352   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4353   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4354   lt_cv_file_magic_test_file=/shlib/libc.so
   4355   ;;
   4356 
   4357 cygwin*)
   4358   # func_win32_libid is a shell function defined in ltmain.sh
   4359   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4360   lt_cv_file_magic_cmd='func_win32_libid'
   4361   ;;
   4362 
   4363 mingw* | pw32*)
   4364   # Base MSYS/MinGW do not provide the 'file' command needed by
   4365   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4366   # unless we find 'file', for example because we are cross-compiling.
   4367   if ( file / ) >/dev/null 2>&1; then
   4368     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4369     lt_cv_file_magic_cmd='func_win32_libid'
   4370   else
   4371     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4372     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4373   fi
   4374   ;;
   4375 
   4376 darwin* | rhapsody*)
   4377   lt_cv_deplibs_check_method=pass_all
   4378   ;;
   4379 
   4380 freebsd* | dragonfly*)
   4381   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4382     case $host_cpu in
   4383     i*86 )
   4384       # Not sure whether the presence of OpenBSD here was a mistake.
   4385       # Let's accept both of them until this is cleared up.
   4386       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4387       lt_cv_file_magic_cmd=/usr/bin/file
   4388       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4389       ;;
   4390     esac
   4391   else
   4392     lt_cv_deplibs_check_method=pass_all
   4393   fi
   4394   ;;
   4395 
   4396 gnu*)
   4397   lt_cv_deplibs_check_method=pass_all
   4398   ;;
   4399 
   4400 hpux10.20* | hpux11*)
   4401   lt_cv_file_magic_cmd=/usr/bin/file
   4402   case $host_cpu in
   4403   ia64*)
   4404     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4405     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4406     ;;
   4407   hppa*64*)
   4408     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]'
   4409     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4410     ;;
   4411   *)
   4412     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4413     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4414     ;;
   4415   esac
   4416   ;;
   4417 
   4418 interix[3-9]*)
   4419   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4420   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4421   ;;
   4422 
   4423 irix5* | irix6* | nonstopux*)
   4424   case $LD in
   4425   *-32|*"-32 ") libmagic=32-bit;;
   4426   *-n32|*"-n32 ") libmagic=N32;;
   4427   *-64|*"-64 ") libmagic=64-bit;;
   4428   *) libmagic=never-match;;
   4429   esac
   4430   lt_cv_deplibs_check_method=pass_all
   4431   ;;
   4432 
   4433 # This must be Linux ELF.
   4434 linux* | k*bsd*-gnu)
   4435   lt_cv_deplibs_check_method=pass_all
   4436   ;;
   4437 
   4438 netbsd*)
   4439   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4441   else
   4442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4443   fi
   4444   ;;
   4445 
   4446 newos6*)
   4447   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4448   lt_cv_file_magic_cmd=/usr/bin/file
   4449   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4450   ;;
   4451 
   4452 nto-qnx*)
   4453   lt_cv_deplibs_check_method=unknown
   4454   ;;
   4455 
   4456 openbsd*)
   4457   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4458     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4459   else
   4460     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4461   fi
   4462   ;;
   4463 
   4464 osf3* | osf4* | osf5*)
   4465   lt_cv_deplibs_check_method=pass_all
   4466   ;;
   4467 
   4468 rdos*)
   4469   lt_cv_deplibs_check_method=pass_all
   4470   ;;
   4471 
   4472 solaris*)
   4473   lt_cv_deplibs_check_method=pass_all
   4474   ;;
   4475 
   4476 sysv4 | sysv4.3*)
   4477   case $host_vendor in
   4478   motorola)
   4479     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]'
   4480     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4481     ;;
   4482   ncr)
   4483     lt_cv_deplibs_check_method=pass_all
   4484     ;;
   4485   sequent)
   4486     lt_cv_file_magic_cmd='/bin/file'
   4487     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4488     ;;
   4489   sni)
   4490     lt_cv_file_magic_cmd='/bin/file'
   4491     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4492     lt_cv_file_magic_test_file=/lib/libc.so
   4493     ;;
   4494   siemens)
   4495     lt_cv_deplibs_check_method=pass_all
   4496     ;;
   4497   pc)
   4498     lt_cv_deplibs_check_method=pass_all
   4499     ;;
   4500   esac
   4501   ;;
   4502 
   4503 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4504   lt_cv_deplibs_check_method=pass_all
   4505   ;;
   4506 esac
   4507 
   4508 fi
   4509 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4510 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4511 file_magic_cmd=$lt_cv_file_magic_cmd
   4512 deplibs_check_method=$lt_cv_deplibs_check_method
   4513 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4514 
   4515 
   4516 
   4517 
   4518 # If no C compiler was specified, use CC.
   4519 LTCC=${LTCC-"$CC"}
   4520 
   4521 # If no C compiler flags were specified, use CFLAGS.
   4522 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4523 
   4524 # Allow CC to be a program name with arguments.
   4525 compiler=$CC
   4526 
   4527 
   4528 # Check whether --enable-libtool-lock was given.
   4529 if test "${enable_libtool_lock+set}" = set; then
   4530   enableval=$enable_libtool_lock;
   4531 fi
   4532 
   4533 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4534 
   4535 # Some flags need to be propagated to the compiler or linker for good
   4536 # libtool support.
   4537 case $host in
   4538 ia64-*-hpux*)
   4539   # Find out which ABI we are using.
   4540   echo 'int i;' > conftest.$ac_ext
   4541   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4542   (eval $ac_compile) 2>&5
   4543   ac_status=$?
   4544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4545   (exit $ac_status); }; then
   4546     case `/usr/bin/file conftest.$ac_objext` in
   4547     *ELF-32*)
   4548       HPUX_IA64_MODE="32"
   4549       ;;
   4550     *ELF-64*)
   4551       HPUX_IA64_MODE="64"
   4552       ;;
   4553     esac
   4554   fi
   4555   rm -rf conftest*
   4556   ;;
   4557 *-*-irix6*)
   4558   # Find out which ABI we are using.
   4559   echo '#line 4559 "configure"' > conftest.$ac_ext
   4560   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4561   (eval $ac_compile) 2>&5
   4562   ac_status=$?
   4563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4564   (exit $ac_status); }; then
   4565    if test "$lt_cv_prog_gnu_ld" = yes; then
   4566     case `/usr/bin/file conftest.$ac_objext` in
   4567     *32-bit*)
   4568       LD="${LD-ld} -melf32bsmip"
   4569       ;;
   4570     *N32*)
   4571       LD="${LD-ld} -melf32bmipn32"
   4572       ;;
   4573     *64-bit*)
   4574       LD="${LD-ld} -melf64bmip"
   4575       ;;
   4576     esac
   4577    else
   4578     case `/usr/bin/file conftest.$ac_objext` in
   4579     *32-bit*)
   4580       LD="${LD-ld} -32"
   4581       ;;
   4582     *N32*)
   4583       LD="${LD-ld} -n32"
   4584       ;;
   4585     *64-bit*)
   4586       LD="${LD-ld} -64"
   4587       ;;
   4588     esac
   4589    fi
   4590   fi
   4591   rm -rf conftest*
   4592   ;;
   4593 
   4594 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4595 s390*-*linux*|sparc*-*linux*)
   4596   # Find out which ABI we are using.
   4597   echo 'int i;' > conftest.$ac_ext
   4598   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4599   (eval $ac_compile) 2>&5
   4600   ac_status=$?
   4601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4602   (exit $ac_status); }; then
   4603     case `/usr/bin/file conftest.o` in
   4604     *32-bit*)
   4605       case $host in
   4606         x86_64-*kfreebsd*-gnu)
   4607           LD="${LD-ld} -m elf_i386_fbsd"
   4608           ;;
   4609         x86_64-*linux*)
   4610           LD="${LD-ld} -m elf_i386"
   4611           ;;
   4612         ppc64-*linux*|powerpc64-*linux*)
   4613           LD="${LD-ld} -m elf32ppclinux"
   4614           ;;
   4615         s390x-*linux*)
   4616           LD="${LD-ld} -m elf_s390"
   4617           ;;
   4618         sparc64-*linux*)
   4619           LD="${LD-ld} -m elf32_sparc"
   4620           ;;
   4621       esac
   4622       ;;
   4623     *64-bit*)
   4624       libsuff=64
   4625       case $host in
   4626         x86_64-*kfreebsd*-gnu)
   4627           LD="${LD-ld} -m elf_x86_64_fbsd"
   4628           ;;
   4629         x86_64-*linux*)
   4630           LD="${LD-ld} -m elf_x86_64"
   4631           ;;
   4632         ppc*-*linux*|powerpc*-*linux*)
   4633           LD="${LD-ld} -m elf64ppc"
   4634           ;;
   4635         s390*-*linux*)
   4636           LD="${LD-ld} -m elf64_s390"
   4637           ;;
   4638         sparc*-*linux*)
   4639           LD="${LD-ld} -m elf64_sparc"
   4640           ;;
   4641       esac
   4642       ;;
   4643     esac
   4644   fi
   4645   rm -rf conftest*
   4646   ;;
   4647 
   4648 *-*-sco3.2v5*)
   4649   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4650   SAVE_CFLAGS="$CFLAGS"
   4651   CFLAGS="$CFLAGS -belf"
   4652   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4653 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4654 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4655   $as_echo_n "(cached) " >&6
   4656 else
   4657   ac_ext=c
   4658 ac_cpp='$CPP $CPPFLAGS'
   4659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4662 
   4663      cat >conftest.$ac_ext <<_ACEOF
   4664 /* confdefs.h.  */
   4665 _ACEOF
   4666 cat confdefs.h >>conftest.$ac_ext
   4667 cat >>conftest.$ac_ext <<_ACEOF
   4668 /* end confdefs.h.  */
   4669 
   4670 int
   4671 main ()
   4672 {
   4673 
   4674   ;
   4675   return 0;
   4676 }
   4677 _ACEOF
   4678 rm -f conftest.$ac_objext conftest$ac_exeext
   4679 if { (ac_try="$ac_link"
   4680 case "(($ac_try" in
   4681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4682   *) ac_try_echo=$ac_try;;
   4683 esac
   4684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4685 $as_echo "$ac_try_echo") >&5
   4686   (eval "$ac_link") 2>conftest.er1
   4687   ac_status=$?
   4688   grep -v '^ *+' conftest.er1 >conftest.err
   4689   rm -f conftest.er1
   4690   cat conftest.err >&5
   4691   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4692   (exit $ac_status); } && {
   4693 	 test -z "$ac_c_werror_flag" ||
   4694 	 test ! -s conftest.err
   4695        } && test -s conftest$ac_exeext && {
   4696 	 test "$cross_compiling" = yes ||
   4697 	 $as_test_x conftest$ac_exeext
   4698        }; then
   4699   lt_cv_cc_needs_belf=yes
   4700 else
   4701   $as_echo "$as_me: failed program was:" >&5
   4702 sed 's/^/| /' conftest.$ac_ext >&5
   4703 
   4704 	lt_cv_cc_needs_belf=no
   4705 fi
   4706 
   4707 rm -rf conftest.dSYM
   4708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4709       conftest$ac_exeext conftest.$ac_ext
   4710      ac_ext=c
   4711 ac_cpp='$CPP $CPPFLAGS'
   4712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4715 
   4716 fi
   4717 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4718 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4719   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4720     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4721     CFLAGS="$SAVE_CFLAGS"
   4722   fi
   4723   ;;
   4724 sparc*-*solaris*)
   4725   # Find out which ABI we are using.
   4726   echo 'int i;' > conftest.$ac_ext
   4727   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4728   (eval $ac_compile) 2>&5
   4729   ac_status=$?
   4730   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4731   (exit $ac_status); }; then
   4732     case `/usr/bin/file conftest.o` in
   4733     *64-bit*)
   4734       case $lt_cv_prog_gnu_ld in
   4735       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4736       *)
   4737         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4738 	  LD="${LD-ld} -64"
   4739 	fi
   4740 	;;
   4741       esac
   4742       ;;
   4743     esac
   4744   fi
   4745   rm -rf conftest*
   4746   ;;
   4747 
   4748 
   4749 esac
   4750 
   4751 need_locks="$enable_libtool_lock"
   4752 
   4753 
   4754 ac_ext=c
   4755 ac_cpp='$CPP $CPPFLAGS'
   4756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4759 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4761 # On Suns, sometimes $CPP names a directory.
   4762 if test -n "$CPP" && test -d "$CPP"; then
   4763   CPP=
   4764 fi
   4765 if test -z "$CPP"; then
   4766   if test "${ac_cv_prog_CPP+set}" = set; then
   4767   $as_echo_n "(cached) " >&6
   4768 else
   4769       # Double quotes because CPP needs to be expanded
   4770     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4771     do
   4772       ac_preproc_ok=false
   4773 for ac_c_preproc_warn_flag in '' yes
   4774 do
   4775   # Use a header file that comes with gcc, so configuring glibc
   4776   # with a fresh cross-compiler works.
   4777   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4778   # <limits.h> exists even on freestanding compilers.
   4779   # On the NeXT, cc -E runs the code through the compiler's parser,
   4780   # not just through cpp. "Syntax error" is here to catch this case.
   4781   cat >conftest.$ac_ext <<_ACEOF
   4782 /* confdefs.h.  */
   4783 _ACEOF
   4784 cat confdefs.h >>conftest.$ac_ext
   4785 cat >>conftest.$ac_ext <<_ACEOF
   4786 /* end confdefs.h.  */
   4787 #ifdef __STDC__
   4788 # include <limits.h>
   4789 #else
   4790 # include <assert.h>
   4791 #endif
   4792 		     Syntax error
   4793 _ACEOF
   4794 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4795 case "(($ac_try" in
   4796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4797   *) ac_try_echo=$ac_try;;
   4798 esac
   4799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4800 $as_echo "$ac_try_echo") >&5
   4801   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4802   ac_status=$?
   4803   grep -v '^ *+' conftest.er1 >conftest.err
   4804   rm -f conftest.er1
   4805   cat conftest.err >&5
   4806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4807   (exit $ac_status); } >/dev/null && {
   4808 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4809 	 test ! -s conftest.err
   4810        }; then
   4811   :
   4812 else
   4813   $as_echo "$as_me: failed program was:" >&5
   4814 sed 's/^/| /' conftest.$ac_ext >&5
   4815 
   4816   # Broken: fails on valid input.
   4817 continue
   4818 fi
   4819 
   4820 rm -f conftest.err conftest.$ac_ext
   4821 
   4822   # OK, works on sane cases.  Now check whether nonexistent headers
   4823   # can be detected and how.
   4824   cat >conftest.$ac_ext <<_ACEOF
   4825 /* confdefs.h.  */
   4826 _ACEOF
   4827 cat confdefs.h >>conftest.$ac_ext
   4828 cat >>conftest.$ac_ext <<_ACEOF
   4829 /* end confdefs.h.  */
   4830 #include <ac_nonexistent.h>
   4831 _ACEOF
   4832 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4833 case "(($ac_try" in
   4834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4835   *) ac_try_echo=$ac_try;;
   4836 esac
   4837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4838 $as_echo "$ac_try_echo") >&5
   4839   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4840   ac_status=$?
   4841   grep -v '^ *+' conftest.er1 >conftest.err
   4842   rm -f conftest.er1
   4843   cat conftest.err >&5
   4844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4845   (exit $ac_status); } >/dev/null && {
   4846 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4847 	 test ! -s conftest.err
   4848        }; then
   4849   # Broken: success on invalid input.
   4850 continue
   4851 else
   4852   $as_echo "$as_me: failed program was:" >&5
   4853 sed 's/^/| /' conftest.$ac_ext >&5
   4854 
   4855   # Passes both tests.
   4856 ac_preproc_ok=:
   4857 break
   4858 fi
   4859 
   4860 rm -f conftest.err conftest.$ac_ext
   4861 
   4862 done
   4863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4864 rm -f conftest.err conftest.$ac_ext
   4865 if $ac_preproc_ok; then
   4866   break
   4867 fi
   4868 
   4869     done
   4870     ac_cv_prog_CPP=$CPP
   4871 
   4872 fi
   4873   CPP=$ac_cv_prog_CPP
   4874 else
   4875   ac_cv_prog_CPP=$CPP
   4876 fi
   4877 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4878 $as_echo "$CPP" >&6; }
   4879 ac_preproc_ok=false
   4880 for ac_c_preproc_warn_flag in '' yes
   4881 do
   4882   # Use a header file that comes with gcc, so configuring glibc
   4883   # with a fresh cross-compiler works.
   4884   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4885   # <limits.h> exists even on freestanding compilers.
   4886   # On the NeXT, cc -E runs the code through the compiler's parser,
   4887   # not just through cpp. "Syntax error" is here to catch this case.
   4888   cat >conftest.$ac_ext <<_ACEOF
   4889 /* confdefs.h.  */
   4890 _ACEOF
   4891 cat confdefs.h >>conftest.$ac_ext
   4892 cat >>conftest.$ac_ext <<_ACEOF
   4893 /* end confdefs.h.  */
   4894 #ifdef __STDC__
   4895 # include <limits.h>
   4896 #else
   4897 # include <assert.h>
   4898 #endif
   4899 		     Syntax error
   4900 _ACEOF
   4901 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4902 case "(($ac_try" in
   4903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4904   *) ac_try_echo=$ac_try;;
   4905 esac
   4906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4907 $as_echo "$ac_try_echo") >&5
   4908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4909   ac_status=$?
   4910   grep -v '^ *+' conftest.er1 >conftest.err
   4911   rm -f conftest.er1
   4912   cat conftest.err >&5
   4913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4914   (exit $ac_status); } >/dev/null && {
   4915 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4916 	 test ! -s conftest.err
   4917        }; then
   4918   :
   4919 else
   4920   $as_echo "$as_me: failed program was:" >&5
   4921 sed 's/^/| /' conftest.$ac_ext >&5
   4922 
   4923   # Broken: fails on valid input.
   4924 continue
   4925 fi
   4926 
   4927 rm -f conftest.err conftest.$ac_ext
   4928 
   4929   # OK, works on sane cases.  Now check whether nonexistent headers
   4930   # can be detected and how.
   4931   cat >conftest.$ac_ext <<_ACEOF
   4932 /* confdefs.h.  */
   4933 _ACEOF
   4934 cat confdefs.h >>conftest.$ac_ext
   4935 cat >>conftest.$ac_ext <<_ACEOF
   4936 /* end confdefs.h.  */
   4937 #include <ac_nonexistent.h>
   4938 _ACEOF
   4939 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4940 case "(($ac_try" in
   4941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4942   *) ac_try_echo=$ac_try;;
   4943 esac
   4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4945 $as_echo "$ac_try_echo") >&5
   4946   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4947   ac_status=$?
   4948   grep -v '^ *+' conftest.er1 >conftest.err
   4949   rm -f conftest.er1
   4950   cat conftest.err >&5
   4951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4952   (exit $ac_status); } >/dev/null && {
   4953 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4954 	 test ! -s conftest.err
   4955        }; then
   4956   # Broken: success on invalid input.
   4957 continue
   4958 else
   4959   $as_echo "$as_me: failed program was:" >&5
   4960 sed 's/^/| /' conftest.$ac_ext >&5
   4961 
   4962   # Passes both tests.
   4963 ac_preproc_ok=:
   4964 break
   4965 fi
   4966 
   4967 rm -f conftest.err conftest.$ac_ext
   4968 
   4969 done
   4970 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4971 rm -f conftest.err conftest.$ac_ext
   4972 if $ac_preproc_ok; then
   4973   :
   4974 else
   4975   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4977 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4978 See \`config.log' for more details." >&5
   4979 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4980 See \`config.log' for more details." >&2;}
   4981    { (exit 1); exit 1; }; }; }
   4982 fi
   4983 
   4984 ac_ext=c
   4985 ac_cpp='$CPP $CPPFLAGS'
   4986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4989 
   4990 
   4991 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4992 $as_echo_n "checking for ANSI C header files... " >&6; }
   4993 if test "${ac_cv_header_stdc+set}" = set; then
   4994   $as_echo_n "(cached) " >&6
   4995 else
   4996   cat >conftest.$ac_ext <<_ACEOF
   4997 /* confdefs.h.  */
   4998 _ACEOF
   4999 cat confdefs.h >>conftest.$ac_ext
   5000 cat >>conftest.$ac_ext <<_ACEOF
   5001 /* end confdefs.h.  */
   5002 #include <stdlib.h>
   5003 #include <stdarg.h>
   5004 #include <string.h>
   5005 #include <float.h>
   5006 
   5007 int
   5008 main ()
   5009 {
   5010 
   5011   ;
   5012   return 0;
   5013 }
   5014 _ACEOF
   5015 rm -f conftest.$ac_objext
   5016 if { (ac_try="$ac_compile"
   5017 case "(($ac_try" in
   5018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5019   *) ac_try_echo=$ac_try;;
   5020 esac
   5021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5022 $as_echo "$ac_try_echo") >&5
   5023   (eval "$ac_compile") 2>conftest.er1
   5024   ac_status=$?
   5025   grep -v '^ *+' conftest.er1 >conftest.err
   5026   rm -f conftest.er1
   5027   cat conftest.err >&5
   5028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5029   (exit $ac_status); } && {
   5030 	 test -z "$ac_c_werror_flag" ||
   5031 	 test ! -s conftest.err
   5032        } && test -s conftest.$ac_objext; then
   5033   ac_cv_header_stdc=yes
   5034 else
   5035   $as_echo "$as_me: failed program was:" >&5
   5036 sed 's/^/| /' conftest.$ac_ext >&5
   5037 
   5038 	ac_cv_header_stdc=no
   5039 fi
   5040 
   5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5042 
   5043 if test $ac_cv_header_stdc = yes; then
   5044   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5045   cat >conftest.$ac_ext <<_ACEOF
   5046 /* confdefs.h.  */
   5047 _ACEOF
   5048 cat confdefs.h >>conftest.$ac_ext
   5049 cat >>conftest.$ac_ext <<_ACEOF
   5050 /* end confdefs.h.  */
   5051 #include <string.h>
   5052 
   5053 _ACEOF
   5054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5055   $EGREP "memchr" >/dev/null 2>&1; then
   5056   :
   5057 else
   5058   ac_cv_header_stdc=no
   5059 fi
   5060 rm -f conftest*
   5061 
   5062 fi
   5063 
   5064 if test $ac_cv_header_stdc = yes; then
   5065   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5066   cat >conftest.$ac_ext <<_ACEOF
   5067 /* confdefs.h.  */
   5068 _ACEOF
   5069 cat confdefs.h >>conftest.$ac_ext
   5070 cat >>conftest.$ac_ext <<_ACEOF
   5071 /* end confdefs.h.  */
   5072 #include <stdlib.h>
   5073 
   5074 _ACEOF
   5075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5076   $EGREP "free" >/dev/null 2>&1; then
   5077   :
   5078 else
   5079   ac_cv_header_stdc=no
   5080 fi
   5081 rm -f conftest*
   5082 
   5083 fi
   5084 
   5085 if test $ac_cv_header_stdc = yes; then
   5086   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5087   if test "$cross_compiling" = yes; then
   5088   :
   5089 else
   5090   cat >conftest.$ac_ext <<_ACEOF
   5091 /* confdefs.h.  */
   5092 _ACEOF
   5093 cat confdefs.h >>conftest.$ac_ext
   5094 cat >>conftest.$ac_ext <<_ACEOF
   5095 /* end confdefs.h.  */
   5096 #include <ctype.h>
   5097 #include <stdlib.h>
   5098 #if ((' ' & 0x0FF) == 0x020)
   5099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5101 #else
   5102 # define ISLOWER(c) \
   5103 		   (('a' <= (c) && (c) <= 'i') \
   5104 		     || ('j' <= (c) && (c) <= 'r') \
   5105 		     || ('s' <= (c) && (c) <= 'z'))
   5106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5107 #endif
   5108 
   5109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5110 int
   5111 main ()
   5112 {
   5113   int i;
   5114   for (i = 0; i < 256; i++)
   5115     if (XOR (islower (i), ISLOWER (i))
   5116 	|| toupper (i) != TOUPPER (i))
   5117       return 2;
   5118   return 0;
   5119 }
   5120 _ACEOF
   5121 rm -f conftest$ac_exeext
   5122 if { (ac_try="$ac_link"
   5123 case "(($ac_try" in
   5124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5125   *) ac_try_echo=$ac_try;;
   5126 esac
   5127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5128 $as_echo "$ac_try_echo") >&5
   5129   (eval "$ac_link") 2>&5
   5130   ac_status=$?
   5131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5132   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5133   { (case "(($ac_try" in
   5134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5135   *) ac_try_echo=$ac_try;;
   5136 esac
   5137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5138 $as_echo "$ac_try_echo") >&5
   5139   (eval "$ac_try") 2>&5
   5140   ac_status=$?
   5141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5142   (exit $ac_status); }; }; then
   5143   :
   5144 else
   5145   $as_echo "$as_me: program exited with status $ac_status" >&5
   5146 $as_echo "$as_me: failed program was:" >&5
   5147 sed 's/^/| /' conftest.$ac_ext >&5
   5148 
   5149 ( exit $ac_status )
   5150 ac_cv_header_stdc=no
   5151 fi
   5152 rm -rf conftest.dSYM
   5153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5154 fi
   5155 
   5156 
   5157 fi
   5158 fi
   5159 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5160 $as_echo "$ac_cv_header_stdc" >&6; }
   5161 if test $ac_cv_header_stdc = yes; then
   5162 
   5163 cat >>confdefs.h <<\_ACEOF
   5164 #define STDC_HEADERS 1
   5165 _ACEOF
   5166 
   5167 fi
   5168 
   5169 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5180 		  inttypes.h stdint.h unistd.h
   5181 do
   5182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5183 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5184 $as_echo_n "checking for $ac_header... " >&6; }
   5185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   cat >conftest.$ac_ext <<_ACEOF
   5189 /* confdefs.h.  */
   5190 _ACEOF
   5191 cat confdefs.h >>conftest.$ac_ext
   5192 cat >>conftest.$ac_ext <<_ACEOF
   5193 /* end confdefs.h.  */
   5194 $ac_includes_default
   5195 
   5196 #include <$ac_header>
   5197 _ACEOF
   5198 rm -f conftest.$ac_objext
   5199 if { (ac_try="$ac_compile"
   5200 case "(($ac_try" in
   5201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5202   *) ac_try_echo=$ac_try;;
   5203 esac
   5204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5205 $as_echo "$ac_try_echo") >&5
   5206   (eval "$ac_compile") 2>conftest.er1
   5207   ac_status=$?
   5208   grep -v '^ *+' conftest.er1 >conftest.err
   5209   rm -f conftest.er1
   5210   cat conftest.err >&5
   5211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5212   (exit $ac_status); } && {
   5213 	 test -z "$ac_c_werror_flag" ||
   5214 	 test ! -s conftest.err
   5215        } && test -s conftest.$ac_objext; then
   5216   eval "$as_ac_Header=yes"
   5217 else
   5218   $as_echo "$as_me: failed program was:" >&5
   5219 sed 's/^/| /' conftest.$ac_ext >&5
   5220 
   5221 	eval "$as_ac_Header=no"
   5222 fi
   5223 
   5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5225 fi
   5226 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5227 		 $as_echo "$as_val"'`
   5228 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5229 $as_echo "$ac_res" >&6; }
   5230 as_val=`eval 'as_val=${'$as_ac_Header'}
   5231 		 $as_echo "$as_val"'`
   5232    if test "x$as_val" = x""yes; then
   5233   cat >>confdefs.h <<_ACEOF
   5234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5235 _ACEOF
   5236 
   5237 fi
   5238 
   5239 done
   5240 
   5241 
   5242 
   5243 for ac_header in dlfcn.h
   5244 do
   5245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5247   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5248 $as_echo_n "checking for $ac_header... " >&6; }
   5249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5250   $as_echo_n "(cached) " >&6
   5251 fi
   5252 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5253 		 $as_echo "$as_val"'`
   5254 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5255 $as_echo "$ac_res" >&6; }
   5256 else
   5257   # Is the header compilable?
   5258 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5259 $as_echo_n "checking $ac_header usability... " >&6; }
   5260 cat >conftest.$ac_ext <<_ACEOF
   5261 /* confdefs.h.  */
   5262 _ACEOF
   5263 cat confdefs.h >>conftest.$ac_ext
   5264 cat >>conftest.$ac_ext <<_ACEOF
   5265 /* end confdefs.h.  */
   5266 $ac_includes_default
   5267 #include <$ac_header>
   5268 _ACEOF
   5269 rm -f conftest.$ac_objext
   5270 if { (ac_try="$ac_compile"
   5271 case "(($ac_try" in
   5272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5273   *) ac_try_echo=$ac_try;;
   5274 esac
   5275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5276 $as_echo "$ac_try_echo") >&5
   5277   (eval "$ac_compile") 2>conftest.er1
   5278   ac_status=$?
   5279   grep -v '^ *+' conftest.er1 >conftest.err
   5280   rm -f conftest.er1
   5281   cat conftest.err >&5
   5282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5283   (exit $ac_status); } && {
   5284 	 test -z "$ac_c_werror_flag" ||
   5285 	 test ! -s conftest.err
   5286        } && test -s conftest.$ac_objext; then
   5287   ac_header_compiler=yes
   5288 else
   5289   $as_echo "$as_me: failed program was:" >&5
   5290 sed 's/^/| /' conftest.$ac_ext >&5
   5291 
   5292 	ac_header_compiler=no
   5293 fi
   5294 
   5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5296 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5297 $as_echo "$ac_header_compiler" >&6; }
   5298 
   5299 # Is the header present?
   5300 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5301 $as_echo_n "checking $ac_header presence... " >&6; }
   5302 cat >conftest.$ac_ext <<_ACEOF
   5303 /* confdefs.h.  */
   5304 _ACEOF
   5305 cat confdefs.h >>conftest.$ac_ext
   5306 cat >>conftest.$ac_ext <<_ACEOF
   5307 /* end confdefs.h.  */
   5308 #include <$ac_header>
   5309 _ACEOF
   5310 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5311 case "(($ac_try" in
   5312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5313   *) ac_try_echo=$ac_try;;
   5314 esac
   5315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5316 $as_echo "$ac_try_echo") >&5
   5317   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5318   ac_status=$?
   5319   grep -v '^ *+' conftest.er1 >conftest.err
   5320   rm -f conftest.er1
   5321   cat conftest.err >&5
   5322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5323   (exit $ac_status); } >/dev/null && {
   5324 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5325 	 test ! -s conftest.err
   5326        }; then
   5327   ac_header_preproc=yes
   5328 else
   5329   $as_echo "$as_me: failed program was:" >&5
   5330 sed 's/^/| /' conftest.$ac_ext >&5
   5331 
   5332   ac_header_preproc=no
   5333 fi
   5334 
   5335 rm -f conftest.err conftest.$ac_ext
   5336 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5337 $as_echo "$ac_header_preproc" >&6; }
   5338 
   5339 # So?  What about this header?
   5340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5341   yes:no: )
   5342     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5343 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5344     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5345 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5346     ac_header_preproc=yes
   5347     ;;
   5348   no:yes:* )
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5351     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5352 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5353     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5354 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5356 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5357     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5358 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5360 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5361     ( cat <<\_ASBOX
   5362 ## ---------------------------------------------------------------------- ##
   5363 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5364 ## ---------------------------------------------------------------------- ##
   5365 _ASBOX
   5366      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5367     ;;
   5368 esac
   5369 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5370 $as_echo_n "checking for $ac_header... " >&6; }
   5371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5372   $as_echo_n "(cached) " >&6
   5373 else
   5374   eval "$as_ac_Header=\$ac_header_preproc"
   5375 fi
   5376 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5377 		 $as_echo "$as_val"'`
   5378 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5379 $as_echo "$ac_res" >&6; }
   5380 
   5381 fi
   5382 as_val=`eval 'as_val=${'$as_ac_Header'}
   5383 		 $as_echo "$as_val"'`
   5384    if test "x$as_val" = x""yes; then
   5385   cat >>confdefs.h <<_ACEOF
   5386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5387 _ACEOF
   5388 
   5389 fi
   5390 
   5391 done
   5392 
   5393 ac_ext=cpp
   5394 ac_cpp='$CXXCPP $CPPFLAGS'
   5395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5398 if test -z "$CXX"; then
   5399   if test -n "$CCC"; then
   5400     CXX=$CCC
   5401   else
   5402     if test -n "$ac_tool_prefix"; then
   5403   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5404   do
   5405     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5407 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5408 $as_echo_n "checking for $ac_word... " >&6; }
   5409 if test "${ac_cv_prog_CXX+set}" = set; then
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   if test -n "$CXX"; then
   5413   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5414 else
   5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5416 for as_dir in $PATH
   5417 do
   5418   IFS=$as_save_IFS
   5419   test -z "$as_dir" && as_dir=.
   5420   for ac_exec_ext in '' $ac_executable_extensions; do
   5421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5422     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5423     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5424     break 2
   5425   fi
   5426 done
   5427 done
   5428 IFS=$as_save_IFS
   5429 
   5430 fi
   5431 fi
   5432 CXX=$ac_cv_prog_CXX
   5433 if test -n "$CXX"; then
   5434   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5435 $as_echo "$CXX" >&6; }
   5436 else
   5437   { $as_echo "$as_me:$LINENO: result: no" >&5
   5438 $as_echo "no" >&6; }
   5439 fi
   5440 
   5441 
   5442     test -n "$CXX" && break
   5443   done
   5444 fi
   5445 if test -z "$CXX"; then
   5446   ac_ct_CXX=$CXX
   5447   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5448 do
   5449   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5450 set dummy $ac_prog; ac_word=$2
   5451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5452 $as_echo_n "checking for $ac_word... " >&6; }
   5453 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   if test -n "$ac_ct_CXX"; then
   5457   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5458 else
   5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5460 for as_dir in $PATH
   5461 do
   5462   IFS=$as_save_IFS
   5463   test -z "$as_dir" && as_dir=.
   5464   for ac_exec_ext in '' $ac_executable_extensions; do
   5465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5466     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5467     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5468     break 2
   5469   fi
   5470 done
   5471 done
   5472 IFS=$as_save_IFS
   5473 
   5474 fi
   5475 fi
   5476 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5477 if test -n "$ac_ct_CXX"; then
   5478   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5479 $as_echo "$ac_ct_CXX" >&6; }
   5480 else
   5481   { $as_echo "$as_me:$LINENO: result: no" >&5
   5482 $as_echo "no" >&6; }
   5483 fi
   5484 
   5485 
   5486   test -n "$ac_ct_CXX" && break
   5487 done
   5488 
   5489   if test "x$ac_ct_CXX" = x; then
   5490     CXX="g++"
   5491   else
   5492     case $cross_compiling:$ac_tool_warned in
   5493 yes:)
   5494 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5496 ac_tool_warned=yes ;;
   5497 esac
   5498     CXX=$ac_ct_CXX
   5499   fi
   5500 fi
   5501 
   5502   fi
   5503 fi
   5504 # Provide some information about the compiler.
   5505 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5506 set X $ac_compile
   5507 ac_compiler=$2
   5508 { (ac_try="$ac_compiler --version >&5"
   5509 case "(($ac_try" in
   5510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5511   *) ac_try_echo=$ac_try;;
   5512 esac
   5513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5514 $as_echo "$ac_try_echo") >&5
   5515   (eval "$ac_compiler --version >&5") 2>&5
   5516   ac_status=$?
   5517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5518   (exit $ac_status); }
   5519 { (ac_try="$ac_compiler -v >&5"
   5520 case "(($ac_try" in
   5521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5522   *) ac_try_echo=$ac_try;;
   5523 esac
   5524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5525 $as_echo "$ac_try_echo") >&5
   5526   (eval "$ac_compiler -v >&5") 2>&5
   5527   ac_status=$?
   5528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5529   (exit $ac_status); }
   5530 { (ac_try="$ac_compiler -V >&5"
   5531 case "(($ac_try" in
   5532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5533   *) ac_try_echo=$ac_try;;
   5534 esac
   5535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5536 $as_echo "$ac_try_echo") >&5
   5537   (eval "$ac_compiler -V >&5") 2>&5
   5538   ac_status=$?
   5539   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5540   (exit $ac_status); }
   5541 
   5542 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5543 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5544 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5545   $as_echo_n "(cached) " >&6
   5546 else
   5547   cat >conftest.$ac_ext <<_ACEOF
   5548 /* confdefs.h.  */
   5549 _ACEOF
   5550 cat confdefs.h >>conftest.$ac_ext
   5551 cat >>conftest.$ac_ext <<_ACEOF
   5552 /* end confdefs.h.  */
   5553 
   5554 int
   5555 main ()
   5556 {
   5557 #ifndef __GNUC__
   5558        choke me
   5559 #endif
   5560 
   5561   ;
   5562   return 0;
   5563 }
   5564 _ACEOF
   5565 rm -f conftest.$ac_objext
   5566 if { (ac_try="$ac_compile"
   5567 case "(($ac_try" in
   5568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5569   *) ac_try_echo=$ac_try;;
   5570 esac
   5571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5572 $as_echo "$ac_try_echo") >&5
   5573   (eval "$ac_compile") 2>conftest.er1
   5574   ac_status=$?
   5575   grep -v '^ *+' conftest.er1 >conftest.err
   5576   rm -f conftest.er1
   5577   cat conftest.err >&5
   5578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5579   (exit $ac_status); } && {
   5580 	 test -z "$ac_cxx_werror_flag" ||
   5581 	 test ! -s conftest.err
   5582        } && test -s conftest.$ac_objext; then
   5583   ac_compiler_gnu=yes
   5584 else
   5585   $as_echo "$as_me: failed program was:" >&5
   5586 sed 's/^/| /' conftest.$ac_ext >&5
   5587 
   5588 	ac_compiler_gnu=no
   5589 fi
   5590 
   5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5592 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5593 
   5594 fi
   5595 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5596 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5597 if test $ac_compiler_gnu = yes; then
   5598   GXX=yes
   5599 else
   5600   GXX=
   5601 fi
   5602 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5603 ac_save_CXXFLAGS=$CXXFLAGS
   5604 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5605 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5606 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5607   $as_echo_n "(cached) " >&6
   5608 else
   5609   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5610    ac_cxx_werror_flag=yes
   5611    ac_cv_prog_cxx_g=no
   5612    CXXFLAGS="-g"
   5613    cat >conftest.$ac_ext <<_ACEOF
   5614 /* confdefs.h.  */
   5615 _ACEOF
   5616 cat confdefs.h >>conftest.$ac_ext
   5617 cat >>conftest.$ac_ext <<_ACEOF
   5618 /* end confdefs.h.  */
   5619 
   5620 int
   5621 main ()
   5622 {
   5623 
   5624   ;
   5625   return 0;
   5626 }
   5627 _ACEOF
   5628 rm -f conftest.$ac_objext
   5629 if { (ac_try="$ac_compile"
   5630 case "(($ac_try" in
   5631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5632   *) ac_try_echo=$ac_try;;
   5633 esac
   5634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5635 $as_echo "$ac_try_echo") >&5
   5636   (eval "$ac_compile") 2>conftest.er1
   5637   ac_status=$?
   5638   grep -v '^ *+' conftest.er1 >conftest.err
   5639   rm -f conftest.er1
   5640   cat conftest.err >&5
   5641   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5642   (exit $ac_status); } && {
   5643 	 test -z "$ac_cxx_werror_flag" ||
   5644 	 test ! -s conftest.err
   5645        } && test -s conftest.$ac_objext; then
   5646   ac_cv_prog_cxx_g=yes
   5647 else
   5648   $as_echo "$as_me: failed program was:" >&5
   5649 sed 's/^/| /' conftest.$ac_ext >&5
   5650 
   5651 	CXXFLAGS=""
   5652       cat >conftest.$ac_ext <<_ACEOF
   5653 /* confdefs.h.  */
   5654 _ACEOF
   5655 cat confdefs.h >>conftest.$ac_ext
   5656 cat >>conftest.$ac_ext <<_ACEOF
   5657 /* end confdefs.h.  */
   5658 
   5659 int
   5660 main ()
   5661 {
   5662 
   5663   ;
   5664   return 0;
   5665 }
   5666 _ACEOF
   5667 rm -f conftest.$ac_objext
   5668 if { (ac_try="$ac_compile"
   5669 case "(($ac_try" in
   5670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5671   *) ac_try_echo=$ac_try;;
   5672 esac
   5673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5674 $as_echo "$ac_try_echo") >&5
   5675   (eval "$ac_compile") 2>conftest.er1
   5676   ac_status=$?
   5677   grep -v '^ *+' conftest.er1 >conftest.err
   5678   rm -f conftest.er1
   5679   cat conftest.err >&5
   5680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5681   (exit $ac_status); } && {
   5682 	 test -z "$ac_cxx_werror_flag" ||
   5683 	 test ! -s conftest.err
   5684        } && test -s conftest.$ac_objext; then
   5685   :
   5686 else
   5687   $as_echo "$as_me: failed program was:" >&5
   5688 sed 's/^/| /' conftest.$ac_ext >&5
   5689 
   5690 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5691 	 CXXFLAGS="-g"
   5692 	 cat >conftest.$ac_ext <<_ACEOF
   5693 /* confdefs.h.  */
   5694 _ACEOF
   5695 cat confdefs.h >>conftest.$ac_ext
   5696 cat >>conftest.$ac_ext <<_ACEOF
   5697 /* end confdefs.h.  */
   5698 
   5699 int
   5700 main ()
   5701 {
   5702 
   5703   ;
   5704   return 0;
   5705 }
   5706 _ACEOF
   5707 rm -f conftest.$ac_objext
   5708 if { (ac_try="$ac_compile"
   5709 case "(($ac_try" in
   5710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5711   *) ac_try_echo=$ac_try;;
   5712 esac
   5713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5714 $as_echo "$ac_try_echo") >&5
   5715   (eval "$ac_compile") 2>conftest.er1
   5716   ac_status=$?
   5717   grep -v '^ *+' conftest.er1 >conftest.err
   5718   rm -f conftest.er1
   5719   cat conftest.err >&5
   5720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5721   (exit $ac_status); } && {
   5722 	 test -z "$ac_cxx_werror_flag" ||
   5723 	 test ! -s conftest.err
   5724        } && test -s conftest.$ac_objext; then
   5725   ac_cv_prog_cxx_g=yes
   5726 else
   5727   $as_echo "$as_me: failed program was:" >&5
   5728 sed 's/^/| /' conftest.$ac_ext >&5
   5729 
   5730 
   5731 fi
   5732 
   5733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5734 fi
   5735 
   5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5737 fi
   5738 
   5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5740    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5741 fi
   5742 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5743 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5744 if test "$ac_test_CXXFLAGS" = set; then
   5745   CXXFLAGS=$ac_save_CXXFLAGS
   5746 elif test $ac_cv_prog_cxx_g = yes; then
   5747   if test "$GXX" = yes; then
   5748     CXXFLAGS="-g -O2"
   5749   else
   5750     CXXFLAGS="-g"
   5751   fi
   5752 else
   5753   if test "$GXX" = yes; then
   5754     CXXFLAGS="-O2"
   5755   else
   5756     CXXFLAGS=
   5757   fi
   5758 fi
   5759 ac_ext=cpp
   5760 ac_cpp='$CXXCPP $CPPFLAGS'
   5761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5764 
   5765 depcc="$CXX"  am_compiler_list=
   5766 
   5767 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5768 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5769 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5773   # We make a subdir and do the tests there.  Otherwise we can end up
   5774   # making bogus files that we don't know about and never remove.  For
   5775   # instance it was reported that on HP-UX the gcc test will end up
   5776   # making a dummy file named `D' -- because `-MD' means `put the output
   5777   # in D'.
   5778   mkdir conftest.dir
   5779   # Copy depcomp to subdir because otherwise we won't find it if we're
   5780   # using a relative directory.
   5781   cp "$am_depcomp" conftest.dir
   5782   cd conftest.dir
   5783   # We will build objects and dependencies in a subdirectory because
   5784   # it helps to detect inapplicable dependency modes.  For instance
   5785   # both Tru64's cc and ICC support -MD to output dependencies as a
   5786   # side effect of compilation, but ICC will put the dependencies in
   5787   # the current directory while Tru64 will put them in the object
   5788   # directory.
   5789   mkdir sub
   5790 
   5791   am_cv_CXX_dependencies_compiler_type=none
   5792   if test "$am_compiler_list" = ""; then
   5793      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5794   fi
   5795   am__universal=false
   5796   case " $depcc " in #(
   5797      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5798      esac
   5799 
   5800   for depmode in $am_compiler_list; do
   5801     # Setup a source with many dependencies, because some compilers
   5802     # like to wrap large dependency lists on column 80 (with \), and
   5803     # we should not choose a depcomp mode which is confused by this.
   5804     #
   5805     # We need to recreate these files for each test, as the compiler may
   5806     # overwrite some of them when testing with obscure command lines.
   5807     # This happens at least with the AIX C compiler.
   5808     : > sub/conftest.c
   5809     for i in 1 2 3 4 5 6; do
   5810       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5811       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5812       # Solaris 8's {/usr,}/bin/sh.
   5813       touch sub/conftst$i.h
   5814     done
   5815     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5816 
   5817     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5818     # mode.  It turns out that the SunPro C++ compiler does not properly
   5819     # handle `-M -o', and we need to detect this.  Also, some Intel
   5820     # versions had trouble with output in subdirs
   5821     am__obj=sub/conftest.${OBJEXT-o}
   5822     am__minus_obj="-o $am__obj"
   5823     case $depmode in
   5824     gcc)
   5825       # This depmode causes a compiler race in universal mode.
   5826       test "$am__universal" = false || continue
   5827       ;;
   5828     nosideeffect)
   5829       # after this tag, mechanisms are not by side-effect, so they'll
   5830       # only be used when explicitly requested
   5831       if test "x$enable_dependency_tracking" = xyes; then
   5832 	continue
   5833       else
   5834 	break
   5835       fi
   5836       ;;
   5837     msvisualcpp | msvcmsys)
   5838       # This compiler won't grok `-c -o', but also, the minuso test has
   5839       # not run yet.  These depmodes are late enough in the game, and
   5840       # so weak that their functioning should not be impacted.
   5841       am__obj=conftest.${OBJEXT-o}
   5842       am__minus_obj=
   5843       ;;
   5844     none) break ;;
   5845     esac
   5846     if depmode=$depmode \
   5847        source=sub/conftest.c object=$am__obj \
   5848        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5849        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5850          >/dev/null 2>conftest.err &&
   5851        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5852        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5853        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5854        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5855       # icc doesn't choke on unknown options, it will just issue warnings
   5856       # or remarks (even with -Werror).  So we grep stderr for any message
   5857       # that says an option was ignored or not supported.
   5858       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5859       #   icc: Command line warning: ignoring option '-M'; no argument required
   5860       # The diagnosis changed in icc 8.0:
   5861       #   icc: Command line remark: option '-MP' not supported
   5862       if (grep 'ignoring option' conftest.err ||
   5863           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5864         am_cv_CXX_dependencies_compiler_type=$depmode
   5865         break
   5866       fi
   5867     fi
   5868   done
   5869 
   5870   cd ..
   5871   rm -rf conftest.dir
   5872 else
   5873   am_cv_CXX_dependencies_compiler_type=none
   5874 fi
   5875 
   5876 fi
   5877 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5878 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5879 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5880 
   5881  if
   5882   test "x$enable_dependency_tracking" != xno \
   5883   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5884   am__fastdepCXX_TRUE=
   5885   am__fastdepCXX_FALSE='#'
   5886 else
   5887   am__fastdepCXX_TRUE='#'
   5888   am__fastdepCXX_FALSE=
   5889 fi
   5890 
   5891 
   5892 
   5893 
   5894 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5895     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5896     (test "X$CXX" != "Xg++"))) ; then
   5897   ac_ext=cpp
   5898 ac_cpp='$CXXCPP $CPPFLAGS'
   5899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5902 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5903 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5904 if test -z "$CXXCPP"; then
   5905   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908       # Double quotes because CXXCPP needs to be expanded
   5909     for CXXCPP in "$CXX -E" "/lib/cpp"
   5910     do
   5911       ac_preproc_ok=false
   5912 for ac_cxx_preproc_warn_flag in '' yes
   5913 do
   5914   # Use a header file that comes with gcc, so configuring glibc
   5915   # with a fresh cross-compiler works.
   5916   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5917   # <limits.h> exists even on freestanding compilers.
   5918   # On the NeXT, cc -E runs the code through the compiler's parser,
   5919   # not just through cpp. "Syntax error" is here to catch this case.
   5920   cat >conftest.$ac_ext <<_ACEOF
   5921 /* confdefs.h.  */
   5922 _ACEOF
   5923 cat confdefs.h >>conftest.$ac_ext
   5924 cat >>conftest.$ac_ext <<_ACEOF
   5925 /* end confdefs.h.  */
   5926 #ifdef __STDC__
   5927 # include <limits.h>
   5928 #else
   5929 # include <assert.h>
   5930 #endif
   5931 		     Syntax error
   5932 _ACEOF
   5933 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5934 case "(($ac_try" in
   5935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5936   *) ac_try_echo=$ac_try;;
   5937 esac
   5938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5939 $as_echo "$ac_try_echo") >&5
   5940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5941   ac_status=$?
   5942   grep -v '^ *+' conftest.er1 >conftest.err
   5943   rm -f conftest.er1
   5944   cat conftest.err >&5
   5945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5946   (exit $ac_status); } >/dev/null && {
   5947 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5948 	 test ! -s conftest.err
   5949        }; then
   5950   :
   5951 else
   5952   $as_echo "$as_me: failed program was:" >&5
   5953 sed 's/^/| /' conftest.$ac_ext >&5
   5954 
   5955   # Broken: fails on valid input.
   5956 continue
   5957 fi
   5958 
   5959 rm -f conftest.err conftest.$ac_ext
   5960 
   5961   # OK, works on sane cases.  Now check whether nonexistent headers
   5962   # can be detected and how.
   5963   cat >conftest.$ac_ext <<_ACEOF
   5964 /* confdefs.h.  */
   5965 _ACEOF
   5966 cat confdefs.h >>conftest.$ac_ext
   5967 cat >>conftest.$ac_ext <<_ACEOF
   5968 /* end confdefs.h.  */
   5969 #include <ac_nonexistent.h>
   5970 _ACEOF
   5971 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5972 case "(($ac_try" in
   5973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5974   *) ac_try_echo=$ac_try;;
   5975 esac
   5976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5977 $as_echo "$ac_try_echo") >&5
   5978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5979   ac_status=$?
   5980   grep -v '^ *+' conftest.er1 >conftest.err
   5981   rm -f conftest.er1
   5982   cat conftest.err >&5
   5983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5984   (exit $ac_status); } >/dev/null && {
   5985 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5986 	 test ! -s conftest.err
   5987        }; then
   5988   # Broken: success on invalid input.
   5989 continue
   5990 else
   5991   $as_echo "$as_me: failed program was:" >&5
   5992 sed 's/^/| /' conftest.$ac_ext >&5
   5993 
   5994   # Passes both tests.
   5995 ac_preproc_ok=:
   5996 break
   5997 fi
   5998 
   5999 rm -f conftest.err conftest.$ac_ext
   6000 
   6001 done
   6002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6003 rm -f conftest.err conftest.$ac_ext
   6004 if $ac_preproc_ok; then
   6005   break
   6006 fi
   6007 
   6008     done
   6009     ac_cv_prog_CXXCPP=$CXXCPP
   6010 
   6011 fi
   6012   CXXCPP=$ac_cv_prog_CXXCPP
   6013 else
   6014   ac_cv_prog_CXXCPP=$CXXCPP
   6015 fi
   6016 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6017 $as_echo "$CXXCPP" >&6; }
   6018 ac_preproc_ok=false
   6019 for ac_cxx_preproc_warn_flag in '' yes
   6020 do
   6021   # Use a header file that comes with gcc, so configuring glibc
   6022   # with a fresh cross-compiler works.
   6023   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6024   # <limits.h> exists even on freestanding compilers.
   6025   # On the NeXT, cc -E runs the code through the compiler's parser,
   6026   # not just through cpp. "Syntax error" is here to catch this case.
   6027   cat >conftest.$ac_ext <<_ACEOF
   6028 /* confdefs.h.  */
   6029 _ACEOF
   6030 cat confdefs.h >>conftest.$ac_ext
   6031 cat >>conftest.$ac_ext <<_ACEOF
   6032 /* end confdefs.h.  */
   6033 #ifdef __STDC__
   6034 # include <limits.h>
   6035 #else
   6036 # include <assert.h>
   6037 #endif
   6038 		     Syntax error
   6039 _ACEOF
   6040 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6041 case "(($ac_try" in
   6042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6043   *) ac_try_echo=$ac_try;;
   6044 esac
   6045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6046 $as_echo "$ac_try_echo") >&5
   6047   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6048   ac_status=$?
   6049   grep -v '^ *+' conftest.er1 >conftest.err
   6050   rm -f conftest.er1
   6051   cat conftest.err >&5
   6052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6053   (exit $ac_status); } >/dev/null && {
   6054 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6055 	 test ! -s conftest.err
   6056        }; then
   6057   :
   6058 else
   6059   $as_echo "$as_me: failed program was:" >&5
   6060 sed 's/^/| /' conftest.$ac_ext >&5
   6061 
   6062   # Broken: fails on valid input.
   6063 continue
   6064 fi
   6065 
   6066 rm -f conftest.err conftest.$ac_ext
   6067 
   6068   # OK, works on sane cases.  Now check whether nonexistent headers
   6069   # can be detected and how.
   6070   cat >conftest.$ac_ext <<_ACEOF
   6071 /* confdefs.h.  */
   6072 _ACEOF
   6073 cat confdefs.h >>conftest.$ac_ext
   6074 cat >>conftest.$ac_ext <<_ACEOF
   6075 /* end confdefs.h.  */
   6076 #include <ac_nonexistent.h>
   6077 _ACEOF
   6078 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6079 case "(($ac_try" in
   6080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6081   *) ac_try_echo=$ac_try;;
   6082 esac
   6083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6084 $as_echo "$ac_try_echo") >&5
   6085   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6086   ac_status=$?
   6087   grep -v '^ *+' conftest.er1 >conftest.err
   6088   rm -f conftest.er1
   6089   cat conftest.err >&5
   6090   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6091   (exit $ac_status); } >/dev/null && {
   6092 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6093 	 test ! -s conftest.err
   6094        }; then
   6095   # Broken: success on invalid input.
   6096 continue
   6097 else
   6098   $as_echo "$as_me: failed program was:" >&5
   6099 sed 's/^/| /' conftest.$ac_ext >&5
   6100 
   6101   # Passes both tests.
   6102 ac_preproc_ok=:
   6103 break
   6104 fi
   6105 
   6106 rm -f conftest.err conftest.$ac_ext
   6107 
   6108 done
   6109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6110 rm -f conftest.err conftest.$ac_ext
   6111 if $ac_preproc_ok; then
   6112   :
   6113 else
   6114   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6116 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6117 See \`config.log' for more details." >&5
   6118 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6119 See \`config.log' for more details." >&2;}
   6120    { (exit 1); exit 1; }; }; }
   6121 fi
   6122 
   6123 ac_ext=cpp
   6124 ac_cpp='$CXXCPP $CPPFLAGS'
   6125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6128 
   6129 fi
   6130 
   6131 
   6132 ac_ext=f
   6133 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6134 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6135 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6136 if test -n "$ac_tool_prefix"; then
   6137   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
   6138   do
   6139     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6141 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6142 $as_echo_n "checking for $ac_word... " >&6; }
   6143 if test "${ac_cv_prog_F77+set}" = set; then
   6144   $as_echo_n "(cached) " >&6
   6145 else
   6146   if test -n "$F77"; then
   6147   ac_cv_prog_F77="$F77" # Let the user override the test.
   6148 else
   6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6150 for as_dir in $PATH
   6151 do
   6152   IFS=$as_save_IFS
   6153   test -z "$as_dir" && as_dir=.
   6154   for ac_exec_ext in '' $ac_executable_extensions; do
   6155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6156     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6157     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6158     break 2
   6159   fi
   6160 done
   6161 done
   6162 IFS=$as_save_IFS
   6163 
   6164 fi
   6165 fi
   6166 F77=$ac_cv_prog_F77
   6167 if test -n "$F77"; then
   6168   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6169 $as_echo "$F77" >&6; }
   6170 else
   6171   { $as_echo "$as_me:$LINENO: result: no" >&5
   6172 $as_echo "no" >&6; }
   6173 fi
   6174 
   6175 
   6176     test -n "$F77" && break
   6177   done
   6178 fi
   6179 if test -z "$F77"; then
   6180   ac_ct_F77=$F77
   6181   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
   6182 do
   6183   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6184 set dummy $ac_prog; ac_word=$2
   6185 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6186 $as_echo_n "checking for $ac_word... " >&6; }
   6187 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6188   $as_echo_n "(cached) " >&6
   6189 else
   6190   if test -n "$ac_ct_F77"; then
   6191   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6192 else
   6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6194 for as_dir in $PATH
   6195 do
   6196   IFS=$as_save_IFS
   6197   test -z "$as_dir" && as_dir=.
   6198   for ac_exec_ext in '' $ac_executable_extensions; do
   6199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6200     ac_cv_prog_ac_ct_F77="$ac_prog"
   6201     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6202     break 2
   6203   fi
   6204 done
   6205 done
   6206 IFS=$as_save_IFS
   6207 
   6208 fi
   6209 fi
   6210 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6211 if test -n "$ac_ct_F77"; then
   6212   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6213 $as_echo "$ac_ct_F77" >&6; }
   6214 else
   6215   { $as_echo "$as_me:$LINENO: result: no" >&5
   6216 $as_echo "no" >&6; }
   6217 fi
   6218 
   6219 
   6220   test -n "$ac_ct_F77" && break
   6221 done
   6222 
   6223   if test "x$ac_ct_F77" = x; then
   6224     F77=""
   6225   else
   6226     case $cross_compiling:$ac_tool_warned in
   6227 yes:)
   6228 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6230 ac_tool_warned=yes ;;
   6231 esac
   6232     F77=$ac_ct_F77
   6233   fi
   6234 fi
   6235 
   6236 
   6237 # Provide some information about the compiler.
   6238 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6239 set X $ac_compile
   6240 ac_compiler=$2
   6241 { (ac_try="$ac_compiler --version >&5"
   6242 case "(($ac_try" in
   6243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6244   *) ac_try_echo=$ac_try;;
   6245 esac
   6246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6247 $as_echo "$ac_try_echo") >&5
   6248   (eval "$ac_compiler --version >&5") 2>&5
   6249   ac_status=$?
   6250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6251   (exit $ac_status); }
   6252 { (ac_try="$ac_compiler -v >&5"
   6253 case "(($ac_try" in
   6254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6255   *) ac_try_echo=$ac_try;;
   6256 esac
   6257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6258 $as_echo "$ac_try_echo") >&5
   6259   (eval "$ac_compiler -v >&5") 2>&5
   6260   ac_status=$?
   6261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6262   (exit $ac_status); }
   6263 { (ac_try="$ac_compiler -V >&5"
   6264 case "(($ac_try" in
   6265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6266   *) ac_try_echo=$ac_try;;
   6267 esac
   6268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6269 $as_echo "$ac_try_echo") >&5
   6270   (eval "$ac_compiler -V >&5") 2>&5
   6271   ac_status=$?
   6272   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6273   (exit $ac_status); }
   6274 rm -f a.out
   6275 
   6276 # If we don't use `.F' as extension, the preprocessor is not run on the
   6277 # input file.  (Note that this only needs to work for GNU compilers.)
   6278 ac_save_ext=$ac_ext
   6279 ac_ext=F
   6280 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6281 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6282 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6283   $as_echo_n "(cached) " >&6
   6284 else
   6285   cat >conftest.$ac_ext <<_ACEOF
   6286       program main
   6287 #ifndef __GNUC__
   6288        choke me
   6289 #endif
   6290 
   6291       end
   6292 _ACEOF
   6293 rm -f conftest.$ac_objext
   6294 if { (ac_try="$ac_compile"
   6295 case "(($ac_try" in
   6296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6297   *) ac_try_echo=$ac_try;;
   6298 esac
   6299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6300 $as_echo "$ac_try_echo") >&5
   6301   (eval "$ac_compile") 2>conftest.er1
   6302   ac_status=$?
   6303   grep -v '^ *+' conftest.er1 >conftest.err
   6304   rm -f conftest.er1
   6305   cat conftest.err >&5
   6306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6307   (exit $ac_status); } && {
   6308 	 test -z "$ac_f77_werror_flag" ||
   6309 	 test ! -s conftest.err
   6310        } && test -s conftest.$ac_objext; then
   6311   ac_compiler_gnu=yes
   6312 else
   6313   $as_echo "$as_me: failed program was:" >&5
   6314 sed 's/^/| /' conftest.$ac_ext >&5
   6315 
   6316 	ac_compiler_gnu=no
   6317 fi
   6318 
   6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6320 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6321 
   6322 fi
   6323 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6324 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6325 ac_ext=$ac_save_ext
   6326 ac_test_FFLAGS=${FFLAGS+set}
   6327 ac_save_FFLAGS=$FFLAGS
   6328 FFLAGS=
   6329 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6330 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6331 if test "${ac_cv_prog_f77_g+set}" = set; then
   6332   $as_echo_n "(cached) " >&6
   6333 else
   6334   FFLAGS=-g
   6335 cat >conftest.$ac_ext <<_ACEOF
   6336       program main
   6337 
   6338       end
   6339 _ACEOF
   6340 rm -f conftest.$ac_objext
   6341 if { (ac_try="$ac_compile"
   6342 case "(($ac_try" in
   6343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6344   *) ac_try_echo=$ac_try;;
   6345 esac
   6346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6347 $as_echo "$ac_try_echo") >&5
   6348   (eval "$ac_compile") 2>conftest.er1
   6349   ac_status=$?
   6350   grep -v '^ *+' conftest.er1 >conftest.err
   6351   rm -f conftest.er1
   6352   cat conftest.err >&5
   6353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6354   (exit $ac_status); } && {
   6355 	 test -z "$ac_f77_werror_flag" ||
   6356 	 test ! -s conftest.err
   6357        } && test -s conftest.$ac_objext; then
   6358   ac_cv_prog_f77_g=yes
   6359 else
   6360   $as_echo "$as_me: failed program was:" >&5
   6361 sed 's/^/| /' conftest.$ac_ext >&5
   6362 
   6363 	ac_cv_prog_f77_g=no
   6364 fi
   6365 
   6366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6367 
   6368 fi
   6369 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6370 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6371 if test "$ac_test_FFLAGS" = set; then
   6372   FFLAGS=$ac_save_FFLAGS
   6373 elif test $ac_cv_prog_f77_g = yes; then
   6374   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6375     FFLAGS="-g -O2"
   6376   else
   6377     FFLAGS="-g"
   6378   fi
   6379 else
   6380   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6381     FFLAGS="-O2"
   6382   else
   6383     FFLAGS=
   6384   fi
   6385 fi
   6386 
   6387 if test $ac_compiler_gnu = yes; then
   6388   G77=yes
   6389 else
   6390   G77=
   6391 fi
   6392 ac_ext=c
   6393 ac_cpp='$CPP $CPPFLAGS'
   6394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6397 
   6398 
   6399 
   6400 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6401 # find the maximum length of command line arguments
   6402 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6403 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6404 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6405   $as_echo_n "(cached) " >&6
   6406 else
   6407     i=0
   6408   teststring="ABCD"
   6409 
   6410   case $build_os in
   6411   msdosdjgpp*)
   6412     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6413     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6414     # during glob expansion).  Even if it were fixed, the result of this
   6415     # check would be larger than it should be.
   6416     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6417     ;;
   6418 
   6419   gnu*)
   6420     # Under GNU Hurd, this test is not required because there is
   6421     # no limit to the length of command line arguments.
   6422     # Libtool will interpret -1 as no limit whatsoever
   6423     lt_cv_sys_max_cmd_len=-1;
   6424     ;;
   6425 
   6426   cygwin* | mingw*)
   6427     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6428     # about 5 minutes as the teststring grows exponentially.
   6429     # Worse, since 9x/ME are not pre-emptively multitasking,
   6430     # you end up with a "frozen" computer, even though with patience
   6431     # the test eventually succeeds (with a max line length of 256k).
   6432     # Instead, let's just punt: use the minimum linelength reported by
   6433     # all of the supported platforms: 8192 (on NT/2K/XP).
   6434     lt_cv_sys_max_cmd_len=8192;
   6435     ;;
   6436 
   6437   amigaos*)
   6438     # On AmigaOS with pdksh, this test takes hours, literally.
   6439     # So we just punt and use a minimum line length of 8192.
   6440     lt_cv_sys_max_cmd_len=8192;
   6441     ;;
   6442 
   6443   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6444     # This has been around since 386BSD, at least.  Likely further.
   6445     if test -x /sbin/sysctl; then
   6446       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6447     elif test -x /usr/sbin/sysctl; then
   6448       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6449     else
   6450       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6451     fi
   6452     # And add a safety zone
   6453     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6454     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6455     ;;
   6456 
   6457   interix*)
   6458     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6459     lt_cv_sys_max_cmd_len=196608
   6460     ;;
   6461 
   6462   osf*)
   6463     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6464     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6465     # nice to cause kernel panics so lets avoid the loop below.
   6466     # First set a reasonable default.
   6467     lt_cv_sys_max_cmd_len=16384
   6468     #
   6469     if test -x /sbin/sysconfig; then
   6470       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6471         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6472       esac
   6473     fi
   6474     ;;
   6475   sco3.2v5*)
   6476     lt_cv_sys_max_cmd_len=102400
   6477     ;;
   6478   sysv5* | sco5v6* | sysv4.2uw2*)
   6479     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6480     if test -n "$kargmax"; then
   6481       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6482     else
   6483       lt_cv_sys_max_cmd_len=32768
   6484     fi
   6485     ;;
   6486   *)
   6487     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6488     if test -n "$lt_cv_sys_max_cmd_len"; then
   6489       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6490       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6491     else
   6492       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6493       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6494 	       = "XX$teststring") >/dev/null 2>&1 &&
   6495 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6496 	      lt_cv_sys_max_cmd_len=$new_result &&
   6497 	      test $i != 17 # 1/2 MB should be enough
   6498       do
   6499         i=`expr $i + 1`
   6500         teststring=$teststring$teststring
   6501       done
   6502       teststring=
   6503       # Add a significant safety factor because C++ compilers can tack on massive
   6504       # amounts of additional arguments before passing them to the linker.
   6505       # It appears as though 1/2 is a usable value.
   6506       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6507     fi
   6508     ;;
   6509   esac
   6510 
   6511 fi
   6512 
   6513 if test -n $lt_cv_sys_max_cmd_len ; then
   6514   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6515 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6516 else
   6517   { $as_echo "$as_me:$LINENO: result: none" >&5
   6518 $as_echo "none" >&6; }
   6519 fi
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6526 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6527 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6528 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6529   $as_echo_n "(cached) " >&6
   6530 else
   6531 
   6532 # These are sane defaults that work on at least a few old systems.
   6533 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6534 
   6535 # Character class describing NM global symbol codes.
   6536 symcode='[BCDEGRST]'
   6537 
   6538 # Regexp to match symbols that can be accessed directly from C.
   6539 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6540 
   6541 # Transform an extracted symbol line into a proper C declaration
   6542 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6543 
   6544 # Transform an extracted symbol line into symbol name and symbol address
   6545 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'"
   6546 
   6547 # Define system-specific variables.
   6548 case $host_os in
   6549 aix*)
   6550   symcode='[BCDT]'
   6551   ;;
   6552 cygwin* | mingw* | pw32*)
   6553   symcode='[ABCDGISTW]'
   6554   ;;
   6555 hpux*) # Its linker distinguishes data from code symbols
   6556   if test "$host_cpu" = ia64; then
   6557     symcode='[ABCDEGRST]'
   6558   fi
   6559   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6560   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'"
   6561   ;;
   6562 linux* | k*bsd*-gnu)
   6563   if test "$host_cpu" = ia64; then
   6564     symcode='[ABCDGIRSTW]'
   6565     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6566     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'"
   6567   fi
   6568   ;;
   6569 irix* | nonstopux*)
   6570   symcode='[BCDEGRST]'
   6571   ;;
   6572 osf*)
   6573   symcode='[BCDEGQRST]'
   6574   ;;
   6575 solaris*)
   6576   symcode='[BDRT]'
   6577   ;;
   6578 sco3.2v5*)
   6579   symcode='[DT]'
   6580   ;;
   6581 sysv4.2uw2*)
   6582   symcode='[DT]'
   6583   ;;
   6584 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6585   symcode='[ABDT]'
   6586   ;;
   6587 sysv4)
   6588   symcode='[DFNSTU]'
   6589   ;;
   6590 esac
   6591 
   6592 # Handle CRLF in mingw tool chain
   6593 opt_cr=
   6594 case $build_os in
   6595 mingw*)
   6596   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6597   ;;
   6598 esac
   6599 
   6600 # If we're using GNU nm, then use its standard symbol codes.
   6601 case `$NM -V 2>&1` in
   6602 *GNU* | *'with BFD'*)
   6603   symcode='[ABCDGIRSTW]' ;;
   6604 esac
   6605 
   6606 # Try without a prefix undercore, then with it.
   6607 for ac_symprfx in "" "_"; do
   6608 
   6609   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6610   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6611 
   6612   # Write the raw and C identifiers.
   6613   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6614 
   6615   # Check to see that the pipe works correctly.
   6616   pipe_works=no
   6617 
   6618   rm -f conftest*
   6619   cat > conftest.$ac_ext <<EOF
   6620 #ifdef __cplusplus
   6621 extern "C" {
   6622 #endif
   6623 char nm_test_var;
   6624 void nm_test_func(){}
   6625 #ifdef __cplusplus
   6626 }
   6627 #endif
   6628 int main(){nm_test_var='a';nm_test_func();return(0);}
   6629 EOF
   6630 
   6631   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6632   (eval $ac_compile) 2>&5
   6633   ac_status=$?
   6634   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6635   (exit $ac_status); }; then
   6636     # Now try to grab the symbols.
   6637     nlist=conftest.nm
   6638     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6639   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6640   ac_status=$?
   6641   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6642   (exit $ac_status); } && test -s "$nlist"; then
   6643       # Try sorting and uniquifying the output.
   6644       if sort "$nlist" | uniq > "$nlist"T; then
   6645 	mv -f "$nlist"T "$nlist"
   6646       else
   6647 	rm -f "$nlist"T
   6648       fi
   6649 
   6650       # Make sure that we snagged all the symbols we need.
   6651       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6652 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6653 	  cat <<EOF > conftest.$ac_ext
   6654 #ifdef __cplusplus
   6655 extern "C" {
   6656 #endif
   6657 
   6658 EOF
   6659 	  # Now generate the symbol file.
   6660 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6661 
   6662 	  cat <<EOF >> conftest.$ac_ext
   6663 #if defined (__STDC__) && __STDC__
   6664 # define lt_ptr_t void *
   6665 #else
   6666 # define lt_ptr_t char *
   6667 # define const
   6668 #endif
   6669 
   6670 /* The mapping between symbol names and symbols. */
   6671 const struct {
   6672   const char *name;
   6673   lt_ptr_t address;
   6674 }
   6675 lt_preloaded_symbols[] =
   6676 {
   6677 EOF
   6678 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6679 	  cat <<\EOF >> conftest.$ac_ext
   6680   {0, (lt_ptr_t) 0}
   6681 };
   6682 
   6683 #ifdef __cplusplus
   6684 }
   6685 #endif
   6686 EOF
   6687 	  # Now try linking the two files.
   6688 	  mv conftest.$ac_objext conftstm.$ac_objext
   6689 	  lt_save_LIBS="$LIBS"
   6690 	  lt_save_CFLAGS="$CFLAGS"
   6691 	  LIBS="conftstm.$ac_objext"
   6692 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6693 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6694   (eval $ac_link) 2>&5
   6695   ac_status=$?
   6696   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6697   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6698 	    pipe_works=yes
   6699 	  fi
   6700 	  LIBS="$lt_save_LIBS"
   6701 	  CFLAGS="$lt_save_CFLAGS"
   6702 	else
   6703 	  echo "cannot find nm_test_func in $nlist" >&5
   6704 	fi
   6705       else
   6706 	echo "cannot find nm_test_var in $nlist" >&5
   6707       fi
   6708     else
   6709       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6710     fi
   6711   else
   6712     echo "$progname: failed program was:" >&5
   6713     cat conftest.$ac_ext >&5
   6714   fi
   6715   rm -rf conftest* conftst*
   6716 
   6717   # Do not use the global_symbol_pipe unless it works.
   6718   if test "$pipe_works" = yes; then
   6719     break
   6720   else
   6721     lt_cv_sys_global_symbol_pipe=
   6722   fi
   6723 done
   6724 
   6725 fi
   6726 
   6727 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6728   lt_cv_sys_global_symbol_to_cdecl=
   6729 fi
   6730 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6731   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6732 $as_echo "failed" >&6; }
   6733 else
   6734   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6735 $as_echo "ok" >&6; }
   6736 fi
   6737 
   6738 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6739 $as_echo_n "checking for objdir... " >&6; }
   6740 if test "${lt_cv_objdir+set}" = set; then
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   rm -f .libs 2>/dev/null
   6744 mkdir .libs 2>/dev/null
   6745 if test -d .libs; then
   6746   lt_cv_objdir=.libs
   6747 else
   6748   # MS-DOS does not allow filenames that begin with a dot.
   6749   lt_cv_objdir=_libs
   6750 fi
   6751 rmdir .libs 2>/dev/null
   6752 fi
   6753 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6754 $as_echo "$lt_cv_objdir" >&6; }
   6755 objdir=$lt_cv_objdir
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 case $host_os in
   6762 aix3*)
   6763   # AIX sometimes has problems with the GCC collect2 program.  For some
   6764   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6765   # vanish in a puff of smoke.
   6766   if test "X${COLLECT_NAMES+set}" != Xset; then
   6767     COLLECT_NAMES=
   6768     export COLLECT_NAMES
   6769   fi
   6770   ;;
   6771 esac
   6772 
   6773 # Sed substitution that helps us do robust quoting.  It backslashifies
   6774 # metacharacters that are still active within double-quoted strings.
   6775 Xsed='sed -e 1s/^X//'
   6776 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6777 
   6778 # Same as above, but do not quote variable references.
   6779 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6780 
   6781 # Sed substitution to delay expansion of an escaped shell variable in a
   6782 # double_quote_subst'ed string.
   6783 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6784 
   6785 # Sed substitution to avoid accidental globbing in evaled expressions
   6786 no_glob_subst='s/\*/\\\*/g'
   6787 
   6788 # Constants:
   6789 rm="rm -f"
   6790 
   6791 # Global variables:
   6792 default_ofile=libtool
   6793 can_build_shared=yes
   6794 
   6795 # All known linkers require a `.a' archive for static linking (except MSVC,
   6796 # which needs '.lib').
   6797 libext=a
   6798 ltmain="$ac_aux_dir/ltmain.sh"
   6799 ofile="$default_ofile"
   6800 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6801 
   6802 if test -n "$ac_tool_prefix"; then
   6803   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6804 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6805 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6806 $as_echo_n "checking for $ac_word... " >&6; }
   6807 if test "${ac_cv_prog_AR+set}" = set; then
   6808   $as_echo_n "(cached) " >&6
   6809 else
   6810   if test -n "$AR"; then
   6811   ac_cv_prog_AR="$AR" # Let the user override the test.
   6812 else
   6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6814 for as_dir in $PATH
   6815 do
   6816   IFS=$as_save_IFS
   6817   test -z "$as_dir" && as_dir=.
   6818   for ac_exec_ext in '' $ac_executable_extensions; do
   6819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6820     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6821     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6822     break 2
   6823   fi
   6824 done
   6825 done
   6826 IFS=$as_save_IFS
   6827 
   6828 fi
   6829 fi
   6830 AR=$ac_cv_prog_AR
   6831 if test -n "$AR"; then
   6832   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6833 $as_echo "$AR" >&6; }
   6834 else
   6835   { $as_echo "$as_me:$LINENO: result: no" >&5
   6836 $as_echo "no" >&6; }
   6837 fi
   6838 
   6839 
   6840 fi
   6841 if test -z "$ac_cv_prog_AR"; then
   6842   ac_ct_AR=$AR
   6843   # Extract the first word of "ar", so it can be a program name with args.
   6844 set dummy ar; ac_word=$2
   6845 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6846 $as_echo_n "checking for $ac_word... " >&6; }
   6847 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   if test -n "$ac_ct_AR"; then
   6851   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6852 else
   6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6854 for as_dir in $PATH
   6855 do
   6856   IFS=$as_save_IFS
   6857   test -z "$as_dir" && as_dir=.
   6858   for ac_exec_ext in '' $ac_executable_extensions; do
   6859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6860     ac_cv_prog_ac_ct_AR="ar"
   6861     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6862     break 2
   6863   fi
   6864 done
   6865 done
   6866 IFS=$as_save_IFS
   6867 
   6868 fi
   6869 fi
   6870 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6871 if test -n "$ac_ct_AR"; then
   6872   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6873 $as_echo "$ac_ct_AR" >&6; }
   6874 else
   6875   { $as_echo "$as_me:$LINENO: result: no" >&5
   6876 $as_echo "no" >&6; }
   6877 fi
   6878 
   6879   if test "x$ac_ct_AR" = x; then
   6880     AR="false"
   6881   else
   6882     case $cross_compiling:$ac_tool_warned in
   6883 yes:)
   6884 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6886 ac_tool_warned=yes ;;
   6887 esac
   6888     AR=$ac_ct_AR
   6889   fi
   6890 else
   6891   AR="$ac_cv_prog_AR"
   6892 fi
   6893 
   6894 if test -n "$ac_tool_prefix"; then
   6895   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6896 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6897 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6898 $as_echo_n "checking for $ac_word... " >&6; }
   6899 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6900   $as_echo_n "(cached) " >&6
   6901 else
   6902   if test -n "$RANLIB"; then
   6903   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6904 else
   6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6906 for as_dir in $PATH
   6907 do
   6908   IFS=$as_save_IFS
   6909   test -z "$as_dir" && as_dir=.
   6910   for ac_exec_ext in '' $ac_executable_extensions; do
   6911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6912     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6913     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6914     break 2
   6915   fi
   6916 done
   6917 done
   6918 IFS=$as_save_IFS
   6919 
   6920 fi
   6921 fi
   6922 RANLIB=$ac_cv_prog_RANLIB
   6923 if test -n "$RANLIB"; then
   6924   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6925 $as_echo "$RANLIB" >&6; }
   6926 else
   6927   { $as_echo "$as_me:$LINENO: result: no" >&5
   6928 $as_echo "no" >&6; }
   6929 fi
   6930 
   6931 
   6932 fi
   6933 if test -z "$ac_cv_prog_RANLIB"; then
   6934   ac_ct_RANLIB=$RANLIB
   6935   # Extract the first word of "ranlib", so it can be a program name with args.
   6936 set dummy ranlib; ac_word=$2
   6937 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6938 $as_echo_n "checking for $ac_word... " >&6; }
   6939 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6940   $as_echo_n "(cached) " >&6
   6941 else
   6942   if test -n "$ac_ct_RANLIB"; then
   6943   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6944 else
   6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6946 for as_dir in $PATH
   6947 do
   6948   IFS=$as_save_IFS
   6949   test -z "$as_dir" && as_dir=.
   6950   for ac_exec_ext in '' $ac_executable_extensions; do
   6951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6952     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6953     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6954     break 2
   6955   fi
   6956 done
   6957 done
   6958 IFS=$as_save_IFS
   6959 
   6960 fi
   6961 fi
   6962 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6963 if test -n "$ac_ct_RANLIB"; then
   6964   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6965 $as_echo "$ac_ct_RANLIB" >&6; }
   6966 else
   6967   { $as_echo "$as_me:$LINENO: result: no" >&5
   6968 $as_echo "no" >&6; }
   6969 fi
   6970 
   6971   if test "x$ac_ct_RANLIB" = x; then
   6972     RANLIB=":"
   6973   else
   6974     case $cross_compiling:$ac_tool_warned in
   6975 yes:)
   6976 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6978 ac_tool_warned=yes ;;
   6979 esac
   6980     RANLIB=$ac_ct_RANLIB
   6981   fi
   6982 else
   6983   RANLIB="$ac_cv_prog_RANLIB"
   6984 fi
   6985 
   6986 if test -n "$ac_tool_prefix"; then
   6987   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6988 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6990 $as_echo_n "checking for $ac_word... " >&6; }
   6991 if test "${ac_cv_prog_STRIP+set}" = set; then
   6992   $as_echo_n "(cached) " >&6
   6993 else
   6994   if test -n "$STRIP"; then
   6995   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6996 else
   6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6998 for as_dir in $PATH
   6999 do
   7000   IFS=$as_save_IFS
   7001   test -z "$as_dir" && as_dir=.
   7002   for ac_exec_ext in '' $ac_executable_extensions; do
   7003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7004     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7005     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7006     break 2
   7007   fi
   7008 done
   7009 done
   7010 IFS=$as_save_IFS
   7011 
   7012 fi
   7013 fi
   7014 STRIP=$ac_cv_prog_STRIP
   7015 if test -n "$STRIP"; then
   7016   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7017 $as_echo "$STRIP" >&6; }
   7018 else
   7019   { $as_echo "$as_me:$LINENO: result: no" >&5
   7020 $as_echo "no" >&6; }
   7021 fi
   7022 
   7023 
   7024 fi
   7025 if test -z "$ac_cv_prog_STRIP"; then
   7026   ac_ct_STRIP=$STRIP
   7027   # Extract the first word of "strip", so it can be a program name with args.
   7028 set dummy strip; ac_word=$2
   7029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7030 $as_echo_n "checking for $ac_word... " >&6; }
   7031 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7032   $as_echo_n "(cached) " >&6
   7033 else
   7034   if test -n "$ac_ct_STRIP"; then
   7035   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7036 else
   7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7038 for as_dir in $PATH
   7039 do
   7040   IFS=$as_save_IFS
   7041   test -z "$as_dir" && as_dir=.
   7042   for ac_exec_ext in '' $ac_executable_extensions; do
   7043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7044     ac_cv_prog_ac_ct_STRIP="strip"
   7045     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7046     break 2
   7047   fi
   7048 done
   7049 done
   7050 IFS=$as_save_IFS
   7051 
   7052 fi
   7053 fi
   7054 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7055 if test -n "$ac_ct_STRIP"; then
   7056   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7057 $as_echo "$ac_ct_STRIP" >&6; }
   7058 else
   7059   { $as_echo "$as_me:$LINENO: result: no" >&5
   7060 $as_echo "no" >&6; }
   7061 fi
   7062 
   7063   if test "x$ac_ct_STRIP" = x; then
   7064     STRIP=":"
   7065   else
   7066     case $cross_compiling:$ac_tool_warned in
   7067 yes:)
   7068 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7070 ac_tool_warned=yes ;;
   7071 esac
   7072     STRIP=$ac_ct_STRIP
   7073   fi
   7074 else
   7075   STRIP="$ac_cv_prog_STRIP"
   7076 fi
   7077 
   7078 
   7079 old_CC="$CC"
   7080 old_CFLAGS="$CFLAGS"
   7081 
   7082 # Set sane defaults for various variables
   7083 test -z "$AR" && AR=ar
   7084 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7085 test -z "$AS" && AS=as
   7086 test -z "$CC" && CC=cc
   7087 test -z "$LTCC" && LTCC=$CC
   7088 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7089 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7090 test -z "$LD" && LD=ld
   7091 test -z "$LN_S" && LN_S="ln -s"
   7092 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7093 test -z "$NM" && NM=nm
   7094 test -z "$SED" && SED=sed
   7095 test -z "$OBJDUMP" && OBJDUMP=objdump
   7096 test -z "$RANLIB" && RANLIB=:
   7097 test -z "$STRIP" && STRIP=:
   7098 test -z "$ac_objext" && ac_objext=o
   7099 
   7100 # Determine commands to create old-style static archives.
   7101 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7102 old_postinstall_cmds='chmod 644 $oldlib'
   7103 old_postuninstall_cmds=
   7104 
   7105 if test -n "$RANLIB"; then
   7106   case $host_os in
   7107   openbsd*)
   7108     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7109     ;;
   7110   *)
   7111     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7112     ;;
   7113   esac
   7114   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7115 fi
   7116 
   7117 for cc_temp in $compiler""; do
   7118   case $cc_temp in
   7119     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7120     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7121     \-*) ;;
   7122     *) break;;
   7123   esac
   7124 done
   7125 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7126 
   7127 
   7128 # Only perform the check for file, if the check method requires it
   7129 case $deplibs_check_method in
   7130 file_magic*)
   7131   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7132     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7133 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   case $MAGIC_CMD in
   7138 [\\/*] |  ?:[\\/]*)
   7139   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7140   ;;
   7141 *)
   7142   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7143   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7144   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7145   for ac_dir in $ac_dummy; do
   7146     IFS="$lt_save_ifs"
   7147     test -z "$ac_dir" && ac_dir=.
   7148     if test -f $ac_dir/${ac_tool_prefix}file; then
   7149       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7150       if test -n "$file_magic_test_file"; then
   7151 	case $deplibs_check_method in
   7152 	"file_magic "*)
   7153 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7154 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7155 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7156 	    $EGREP "$file_magic_regex" > /dev/null; then
   7157 	    :
   7158 	  else
   7159 	    cat <<EOF 1>&2
   7160 
   7161 *** Warning: the command libtool uses to detect shared libraries,
   7162 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7163 *** The result is that libtool may fail to recognize shared libraries
   7164 *** as such.  This will affect the creation of libtool libraries that
   7165 *** depend on shared libraries, but programs linked with such libtool
   7166 *** libraries will work regardless of this problem.  Nevertheless, you
   7167 *** may want to report the problem to your system manager and/or to
   7168 *** bug-libtool@gnu.org
   7169 
   7170 EOF
   7171 	  fi ;;
   7172 	esac
   7173       fi
   7174       break
   7175     fi
   7176   done
   7177   IFS="$lt_save_ifs"
   7178   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7179   ;;
   7180 esac
   7181 fi
   7182 
   7183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7184 if test -n "$MAGIC_CMD"; then
   7185   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7186 $as_echo "$MAGIC_CMD" >&6; }
   7187 else
   7188   { $as_echo "$as_me:$LINENO: result: no" >&5
   7189 $as_echo "no" >&6; }
   7190 fi
   7191 
   7192 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7193   if test -n "$ac_tool_prefix"; then
   7194     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7195 $as_echo_n "checking for file... " >&6; }
   7196 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   case $MAGIC_CMD in
   7200 [\\/*] |  ?:[\\/]*)
   7201   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7202   ;;
   7203 *)
   7204   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7205   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7206   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7207   for ac_dir in $ac_dummy; do
   7208     IFS="$lt_save_ifs"
   7209     test -z "$ac_dir" && ac_dir=.
   7210     if test -f $ac_dir/file; then
   7211       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7212       if test -n "$file_magic_test_file"; then
   7213 	case $deplibs_check_method in
   7214 	"file_magic "*)
   7215 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7216 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7217 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7218 	    $EGREP "$file_magic_regex" > /dev/null; then
   7219 	    :
   7220 	  else
   7221 	    cat <<EOF 1>&2
   7222 
   7223 *** Warning: the command libtool uses to detect shared libraries,
   7224 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7225 *** The result is that libtool may fail to recognize shared libraries
   7226 *** as such.  This will affect the creation of libtool libraries that
   7227 *** depend on shared libraries, but programs linked with such libtool
   7228 *** libraries will work regardless of this problem.  Nevertheless, you
   7229 *** may want to report the problem to your system manager and/or to
   7230 *** bug-libtool@gnu.org
   7231 
   7232 EOF
   7233 	  fi ;;
   7234 	esac
   7235       fi
   7236       break
   7237     fi
   7238   done
   7239   IFS="$lt_save_ifs"
   7240   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7241   ;;
   7242 esac
   7243 fi
   7244 
   7245 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7246 if test -n "$MAGIC_CMD"; then
   7247   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7248 $as_echo "$MAGIC_CMD" >&6; }
   7249 else
   7250   { $as_echo "$as_me:$LINENO: result: no" >&5
   7251 $as_echo "no" >&6; }
   7252 fi
   7253 
   7254   else
   7255     MAGIC_CMD=:
   7256   fi
   7257 fi
   7258 
   7259   fi
   7260   ;;
   7261 esac
   7262 
   7263 
   7264   case $host_os in
   7265     rhapsody* | darwin*)
   7266     if test -n "$ac_tool_prefix"; then
   7267   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7268 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7270 $as_echo_n "checking for $ac_word... " >&6; }
   7271 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7272   $as_echo_n "(cached) " >&6
   7273 else
   7274   if test -n "$DSYMUTIL"; then
   7275   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7276 else
   7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7278 for as_dir in $PATH
   7279 do
   7280   IFS=$as_save_IFS
   7281   test -z "$as_dir" && as_dir=.
   7282   for ac_exec_ext in '' $ac_executable_extensions; do
   7283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7284     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7285     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7286     break 2
   7287   fi
   7288 done
   7289 done
   7290 IFS=$as_save_IFS
   7291 
   7292 fi
   7293 fi
   7294 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7295 if test -n "$DSYMUTIL"; then
   7296   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7297 $as_echo "$DSYMUTIL" >&6; }
   7298 else
   7299   { $as_echo "$as_me:$LINENO: result: no" >&5
   7300 $as_echo "no" >&6; }
   7301 fi
   7302 
   7303 
   7304 fi
   7305 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7306   ac_ct_DSYMUTIL=$DSYMUTIL
   7307   # Extract the first word of "dsymutil", so it can be a program name with args.
   7308 set dummy dsymutil; ac_word=$2
   7309 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7310 $as_echo_n "checking for $ac_word... " >&6; }
   7311 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7312   $as_echo_n "(cached) " >&6
   7313 else
   7314   if test -n "$ac_ct_DSYMUTIL"; then
   7315   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7316 else
   7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7318 for as_dir in $PATH
   7319 do
   7320   IFS=$as_save_IFS
   7321   test -z "$as_dir" && as_dir=.
   7322   for ac_exec_ext in '' $ac_executable_extensions; do
   7323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7324     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7325     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7326     break 2
   7327   fi
   7328 done
   7329 done
   7330 IFS=$as_save_IFS
   7331 
   7332 fi
   7333 fi
   7334 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7335 if test -n "$ac_ct_DSYMUTIL"; then
   7336   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7337 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7338 else
   7339   { $as_echo "$as_me:$LINENO: result: no" >&5
   7340 $as_echo "no" >&6; }
   7341 fi
   7342 
   7343   if test "x$ac_ct_DSYMUTIL" = x; then
   7344     DSYMUTIL=":"
   7345   else
   7346     case $cross_compiling:$ac_tool_warned in
   7347 yes:)
   7348 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7350 ac_tool_warned=yes ;;
   7351 esac
   7352     DSYMUTIL=$ac_ct_DSYMUTIL
   7353   fi
   7354 else
   7355   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7356 fi
   7357 
   7358     if test -n "$ac_tool_prefix"; then
   7359   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7360 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7361 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7362 $as_echo_n "checking for $ac_word... " >&6; }
   7363 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7364   $as_echo_n "(cached) " >&6
   7365 else
   7366   if test -n "$NMEDIT"; then
   7367   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7368 else
   7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7370 for as_dir in $PATH
   7371 do
   7372   IFS=$as_save_IFS
   7373   test -z "$as_dir" && as_dir=.
   7374   for ac_exec_ext in '' $ac_executable_extensions; do
   7375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7376     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7377     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7378     break 2
   7379   fi
   7380 done
   7381 done
   7382 IFS=$as_save_IFS
   7383 
   7384 fi
   7385 fi
   7386 NMEDIT=$ac_cv_prog_NMEDIT
   7387 if test -n "$NMEDIT"; then
   7388   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7389 $as_echo "$NMEDIT" >&6; }
   7390 else
   7391   { $as_echo "$as_me:$LINENO: result: no" >&5
   7392 $as_echo "no" >&6; }
   7393 fi
   7394 
   7395 
   7396 fi
   7397 if test -z "$ac_cv_prog_NMEDIT"; then
   7398   ac_ct_NMEDIT=$NMEDIT
   7399   # Extract the first word of "nmedit", so it can be a program name with args.
   7400 set dummy nmedit; ac_word=$2
   7401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7402 $as_echo_n "checking for $ac_word... " >&6; }
   7403 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   if test -n "$ac_ct_NMEDIT"; then
   7407   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7408 else
   7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7410 for as_dir in $PATH
   7411 do
   7412   IFS=$as_save_IFS
   7413   test -z "$as_dir" && as_dir=.
   7414   for ac_exec_ext in '' $ac_executable_extensions; do
   7415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7416     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7417     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7418     break 2
   7419   fi
   7420 done
   7421 done
   7422 IFS=$as_save_IFS
   7423 
   7424 fi
   7425 fi
   7426 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7427 if test -n "$ac_ct_NMEDIT"; then
   7428   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7429 $as_echo "$ac_ct_NMEDIT" >&6; }
   7430 else
   7431   { $as_echo "$as_me:$LINENO: result: no" >&5
   7432 $as_echo "no" >&6; }
   7433 fi
   7434 
   7435   if test "x$ac_ct_NMEDIT" = x; then
   7436     NMEDIT=":"
   7437   else
   7438     case $cross_compiling:$ac_tool_warned in
   7439 yes:)
   7440 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7442 ac_tool_warned=yes ;;
   7443 esac
   7444     NMEDIT=$ac_ct_NMEDIT
   7445   fi
   7446 else
   7447   NMEDIT="$ac_cv_prog_NMEDIT"
   7448 fi
   7449 
   7450 
   7451     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7452 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7453 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7454   $as_echo_n "(cached) " >&6
   7455 else
   7456   lt_cv_apple_cc_single_mod=no
   7457       if test -z "${LT_MULTI_MODULE}"; then
   7458    # By default we will add the -single_module flag. You can override
   7459    # by either setting the environment variable LT_MULTI_MODULE
   7460    # non-empty at configure time, or by adding -multi_module to the
   7461    # link flags.
   7462    echo "int foo(void){return 1;}" > conftest.c
   7463    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7464      -dynamiclib ${wl}-single_module conftest.c
   7465    if test -f libconftest.dylib; then
   7466      lt_cv_apple_cc_single_mod=yes
   7467      rm -rf libconftest.dylib*
   7468    fi
   7469    rm conftest.c
   7470       fi
   7471 fi
   7472 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7473 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7474     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7475 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7476 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7477   $as_echo_n "(cached) " >&6
   7478 else
   7479   lt_cv_ld_exported_symbols_list=no
   7480       save_LDFLAGS=$LDFLAGS
   7481       echo "_main" > conftest.sym
   7482       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7483       cat >conftest.$ac_ext <<_ACEOF
   7484 /* confdefs.h.  */
   7485 _ACEOF
   7486 cat confdefs.h >>conftest.$ac_ext
   7487 cat >>conftest.$ac_ext <<_ACEOF
   7488 /* end confdefs.h.  */
   7489 
   7490 int
   7491 main ()
   7492 {
   7493 
   7494   ;
   7495   return 0;
   7496 }
   7497 _ACEOF
   7498 rm -f conftest.$ac_objext conftest$ac_exeext
   7499 if { (ac_try="$ac_link"
   7500 case "(($ac_try" in
   7501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7502   *) ac_try_echo=$ac_try;;
   7503 esac
   7504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7505 $as_echo "$ac_try_echo") >&5
   7506   (eval "$ac_link") 2>conftest.er1
   7507   ac_status=$?
   7508   grep -v '^ *+' conftest.er1 >conftest.err
   7509   rm -f conftest.er1
   7510   cat conftest.err >&5
   7511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7512   (exit $ac_status); } && {
   7513 	 test -z "$ac_c_werror_flag" ||
   7514 	 test ! -s conftest.err
   7515        } && test -s conftest$ac_exeext && {
   7516 	 test "$cross_compiling" = yes ||
   7517 	 $as_test_x conftest$ac_exeext
   7518        }; then
   7519   lt_cv_ld_exported_symbols_list=yes
   7520 else
   7521   $as_echo "$as_me: failed program was:" >&5
   7522 sed 's/^/| /' conftest.$ac_ext >&5
   7523 
   7524 	lt_cv_ld_exported_symbols_list=no
   7525 fi
   7526 
   7527 rm -rf conftest.dSYM
   7528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7529       conftest$ac_exeext conftest.$ac_ext
   7530    LDFLAGS="$save_LDFLAGS"
   7531 
   7532 fi
   7533 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7534 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7535     case $host_os in
   7536     rhapsody* | darwin1.[0123])
   7537       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7538     darwin1.*)
   7539      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7540     darwin*)
   7541       # if running on 10.5 or later, the deployment target defaults
   7542       # to the OS version, if on x86, and 10.4, the deployment
   7543       # target defaults to 10.4. Don't you love it?
   7544       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7545    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7546      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7547    10.[012]*)
   7548      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7549    10.*)
   7550      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7551       esac
   7552     ;;
   7553   esac
   7554     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7555       _lt_dar_single_mod='$single_module'
   7556     fi
   7557     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7558       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7559     else
   7560       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7561     fi
   7562     if test "$DSYMUTIL" != ":"; then
   7563       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7564     else
   7565       _lt_dsymutil=
   7566     fi
   7567     ;;
   7568   esac
   7569 
   7570 
   7571 enable_dlopen=no
   7572 enable_win32_dll=no
   7573 
   7574 # Check whether --enable-libtool-lock was given.
   7575 if test "${enable_libtool_lock+set}" = set; then
   7576   enableval=$enable_libtool_lock;
   7577 fi
   7578 
   7579 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7580 
   7581 
   7582 # Check whether --with-pic was given.
   7583 if test "${with_pic+set}" = set; then
   7584   withval=$with_pic; pic_mode="$withval"
   7585 else
   7586   pic_mode=default
   7587 fi
   7588 
   7589 test -z "$pic_mode" && pic_mode=default
   7590 
   7591 # Use C for the default configuration in the libtool script
   7592 tagname=
   7593 lt_save_CC="$CC"
   7594 ac_ext=c
   7595 ac_cpp='$CPP $CPPFLAGS'
   7596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7599 
   7600 
   7601 # Source file extension for C test sources.
   7602 ac_ext=c
   7603 
   7604 # Object file extension for compiled C test sources.
   7605 objext=o
   7606 objext=$objext
   7607 
   7608 # Code to be used in simple compile tests
   7609 lt_simple_compile_test_code="int some_variable = 0;"
   7610 
   7611 # Code to be used in simple link tests
   7612 lt_simple_link_test_code='int main(){return(0);}'
   7613 
   7614 
   7615 # If no C compiler was specified, use CC.
   7616 LTCC=${LTCC-"$CC"}
   7617 
   7618 # If no C compiler flags were specified, use CFLAGS.
   7619 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7620 
   7621 # Allow CC to be a program name with arguments.
   7622 compiler=$CC
   7623 
   7624 
   7625 # save warnings/boilerplate of simple test code
   7626 ac_outfile=conftest.$ac_objext
   7627 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7628 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7629 _lt_compiler_boilerplate=`cat conftest.err`
   7630 $rm conftest*
   7631 
   7632 ac_outfile=conftest.$ac_objext
   7633 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7634 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7635 _lt_linker_boilerplate=`cat conftest.err`
   7636 $rm -r conftest*
   7637 
   7638 
   7639 
   7640 lt_prog_compiler_no_builtin_flag=
   7641 
   7642 if test "$GCC" = yes; then
   7643   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7644 
   7645 
   7646 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7647 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7648 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7649   $as_echo_n "(cached) " >&6
   7650 else
   7651   lt_cv_prog_compiler_rtti_exceptions=no
   7652   ac_outfile=conftest.$ac_objext
   7653    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7654    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7655    # Insert the option either (1) after the last *FLAGS variable, or
   7656    # (2) before a word containing "conftest.", or (3) at the end.
   7657    # Note that $ac_compile itself does not contain backslashes and begins
   7658    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7659    # The option is referenced via a variable to avoid confusing sed.
   7660    lt_compile=`echo "$ac_compile" | $SED \
   7661    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7662    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7663    -e 's:$: $lt_compiler_flag:'`
   7664    (eval echo "\"\$as_me:7664: $lt_compile\"" >&5)
   7665    (eval "$lt_compile" 2>conftest.err)
   7666    ac_status=$?
   7667    cat conftest.err >&5
   7668    echo "$as_me:7668: \$? = $ac_status" >&5
   7669    if (exit $ac_status) && test -s "$ac_outfile"; then
   7670      # The compiler can only warn and ignore the option if not recognized
   7671      # So say no if there are warnings other than the usual output.
   7672      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7673      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7674      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7675        lt_cv_prog_compiler_rtti_exceptions=yes
   7676      fi
   7677    fi
   7678    $rm conftest*
   7679 
   7680 fi
   7681 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7682 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7683 
   7684 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7685     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7686 else
   7687     :
   7688 fi
   7689 
   7690 fi
   7691 
   7692 lt_prog_compiler_wl=
   7693 lt_prog_compiler_pic=
   7694 lt_prog_compiler_static=
   7695 
   7696 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7697 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7698 
   7699   if test "$GCC" = yes; then
   7700     lt_prog_compiler_wl='-Wl,'
   7701     lt_prog_compiler_static='-static'
   7702 
   7703     case $host_os in
   7704       aix*)
   7705       # All AIX code is PIC.
   7706       if test "$host_cpu" = ia64; then
   7707 	# AIX 5 now supports IA64 processor
   7708 	lt_prog_compiler_static='-Bstatic'
   7709       fi
   7710       ;;
   7711 
   7712     amigaos*)
   7713       # FIXME: we need at least 68020 code to build shared libraries, but
   7714       # adding the `-m68020' flag to GCC prevents building anything better,
   7715       # like `-m68040'.
   7716       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7717       ;;
   7718 
   7719     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7720       # PIC is the default for these OSes.
   7721       ;;
   7722 
   7723     mingw* | cygwin* | pw32* | os2*)
   7724       # This hack is so that the source file can tell whether it is being
   7725       # built for inclusion in a dll (and should export symbols for example).
   7726       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7727       # (--disable-auto-import) libraries
   7728       lt_prog_compiler_pic='-DDLL_EXPORT'
   7729       ;;
   7730 
   7731     darwin* | rhapsody*)
   7732       # PIC is the default on this platform
   7733       # Common symbols not allowed in MH_DYLIB files
   7734       lt_prog_compiler_pic='-fno-common'
   7735       ;;
   7736 
   7737     interix[3-9]*)
   7738       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7739       # Instead, we relocate shared libraries at runtime.
   7740       ;;
   7741 
   7742     msdosdjgpp*)
   7743       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7744       # on systems that don't support them.
   7745       lt_prog_compiler_can_build_shared=no
   7746       enable_shared=no
   7747       ;;
   7748 
   7749     sysv4*MP*)
   7750       if test -d /usr/nec; then
   7751 	lt_prog_compiler_pic=-Kconform_pic
   7752       fi
   7753       ;;
   7754 
   7755     hpux*)
   7756       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7757       # not for PA HP-UX.
   7758       case $host_cpu in
   7759       hppa*64*|ia64*)
   7760 	# +Z the default
   7761 	;;
   7762       *)
   7763 	lt_prog_compiler_pic='-fPIC'
   7764 	;;
   7765       esac
   7766       ;;
   7767 
   7768     *)
   7769       lt_prog_compiler_pic='-fPIC'
   7770       ;;
   7771     esac
   7772   else
   7773     # PORTME Check for flag to pass linker flags through the system compiler.
   7774     case $host_os in
   7775     aix*)
   7776       lt_prog_compiler_wl='-Wl,'
   7777       if test "$host_cpu" = ia64; then
   7778 	# AIX 5 now supports IA64 processor
   7779 	lt_prog_compiler_static='-Bstatic'
   7780       else
   7781 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7782       fi
   7783       ;;
   7784       darwin*)
   7785         # PIC is the default on this platform
   7786         # Common symbols not allowed in MH_DYLIB files
   7787        case $cc_basename in
   7788          xlc*)
   7789          lt_prog_compiler_pic='-qnocommon'
   7790          lt_prog_compiler_wl='-Wl,'
   7791          ;;
   7792        esac
   7793        ;;
   7794 
   7795     mingw* | cygwin* | pw32* | os2*)
   7796       # This hack is so that the source file can tell whether it is being
   7797       # built for inclusion in a dll (and should export symbols for example).
   7798       lt_prog_compiler_pic='-DDLL_EXPORT'
   7799       ;;
   7800 
   7801     hpux9* | hpux10* | hpux11*)
   7802       lt_prog_compiler_wl='-Wl,'
   7803       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7804       # not for PA HP-UX.
   7805       case $host_cpu in
   7806       hppa*64*|ia64*)
   7807 	# +Z the default
   7808 	;;
   7809       *)
   7810 	lt_prog_compiler_pic='+Z'
   7811 	;;
   7812       esac
   7813       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7814       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7815       ;;
   7816 
   7817     irix5* | irix6* | nonstopux*)
   7818       lt_prog_compiler_wl='-Wl,'
   7819       # PIC (with -KPIC) is the default.
   7820       lt_prog_compiler_static='-non_shared'
   7821       ;;
   7822 
   7823     newsos6)
   7824       lt_prog_compiler_pic='-KPIC'
   7825       lt_prog_compiler_static='-Bstatic'
   7826       ;;
   7827 
   7828     linux* | k*bsd*-gnu)
   7829       case $cc_basename in
   7830       icc* | ecc*)
   7831 	lt_prog_compiler_wl='-Wl,'
   7832 	lt_prog_compiler_pic='-KPIC'
   7833 	lt_prog_compiler_static='-static'
   7834         ;;
   7835       pgcc* | pgf77* | pgf90* | pgf95*)
   7836         # Portland Group compilers (*not* the Pentium gcc compiler,
   7837 	# which looks to be a dead project)
   7838 	lt_prog_compiler_wl='-Wl,'
   7839 	lt_prog_compiler_pic='-fpic'
   7840 	lt_prog_compiler_static='-Bstatic'
   7841         ;;
   7842       ccc*)
   7843         lt_prog_compiler_wl='-Wl,'
   7844         # All Alpha code is PIC.
   7845         lt_prog_compiler_static='-non_shared'
   7846         ;;
   7847       *)
   7848         case `$CC -V 2>&1 | sed 5q` in
   7849 	*Sun\ C*)
   7850 	  # Sun C 5.9
   7851 	  lt_prog_compiler_pic='-KPIC'
   7852 	  lt_prog_compiler_static='-Bstatic'
   7853 	  lt_prog_compiler_wl='-Wl,'
   7854 	  ;;
   7855 	*Sun\ F*)
   7856 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7857 	  lt_prog_compiler_pic='-KPIC'
   7858 	  lt_prog_compiler_static='-Bstatic'
   7859 	  lt_prog_compiler_wl=''
   7860 	  ;;
   7861 	esac
   7862 	;;
   7863       esac
   7864       ;;
   7865 
   7866     osf3* | osf4* | osf5*)
   7867       lt_prog_compiler_wl='-Wl,'
   7868       # All OSF/1 code is PIC.
   7869       lt_prog_compiler_static='-non_shared'
   7870       ;;
   7871 
   7872     rdos*)
   7873       lt_prog_compiler_static='-non_shared'
   7874       ;;
   7875 
   7876     solaris*)
   7877       lt_prog_compiler_pic='-KPIC'
   7878       lt_prog_compiler_static='-Bstatic'
   7879       case $cc_basename in
   7880       f77* | f90* | f95*)
   7881 	lt_prog_compiler_wl='-Qoption ld ';;
   7882       *)
   7883 	lt_prog_compiler_wl='-Wl,';;
   7884       esac
   7885       ;;
   7886 
   7887     sunos4*)
   7888       lt_prog_compiler_wl='-Qoption ld '
   7889       lt_prog_compiler_pic='-PIC'
   7890       lt_prog_compiler_static='-Bstatic'
   7891       ;;
   7892 
   7893     sysv4 | sysv4.2uw2* | sysv4.3*)
   7894       lt_prog_compiler_wl='-Wl,'
   7895       lt_prog_compiler_pic='-KPIC'
   7896       lt_prog_compiler_static='-Bstatic'
   7897       ;;
   7898 
   7899     sysv4*MP*)
   7900       if test -d /usr/nec ;then
   7901 	lt_prog_compiler_pic='-Kconform_pic'
   7902 	lt_prog_compiler_static='-Bstatic'
   7903       fi
   7904       ;;
   7905 
   7906     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7907       lt_prog_compiler_wl='-Wl,'
   7908       lt_prog_compiler_pic='-KPIC'
   7909       lt_prog_compiler_static='-Bstatic'
   7910       ;;
   7911 
   7912     unicos*)
   7913       lt_prog_compiler_wl='-Wl,'
   7914       lt_prog_compiler_can_build_shared=no
   7915       ;;
   7916 
   7917     uts4*)
   7918       lt_prog_compiler_pic='-pic'
   7919       lt_prog_compiler_static='-Bstatic'
   7920       ;;
   7921 
   7922     *)
   7923       lt_prog_compiler_can_build_shared=no
   7924       ;;
   7925     esac
   7926   fi
   7927 
   7928 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7929 $as_echo "$lt_prog_compiler_pic" >&6; }
   7930 
   7931 #
   7932 # Check to make sure the PIC flag actually works.
   7933 #
   7934 if test -n "$lt_prog_compiler_pic"; then
   7935 
   7936 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7937 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7938 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   lt_cv_prog_compiler_pic_works=no
   7942   ac_outfile=conftest.$ac_objext
   7943    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7944    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7945    # Insert the option either (1) after the last *FLAGS variable, or
   7946    # (2) before a word containing "conftest.", or (3) at the end.
   7947    # Note that $ac_compile itself does not contain backslashes and begins
   7948    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7949    # The option is referenced via a variable to avoid confusing sed.
   7950    lt_compile=`echo "$ac_compile" | $SED \
   7951    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7952    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7953    -e 's:$: $lt_compiler_flag:'`
   7954    (eval echo "\"\$as_me:7954: $lt_compile\"" >&5)
   7955    (eval "$lt_compile" 2>conftest.err)
   7956    ac_status=$?
   7957    cat conftest.err >&5
   7958    echo "$as_me:7958: \$? = $ac_status" >&5
   7959    if (exit $ac_status) && test -s "$ac_outfile"; then
   7960      # The compiler can only warn and ignore the option if not recognized
   7961      # So say no if there are warnings other than the usual output.
   7962      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7963      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7964      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7965        lt_cv_prog_compiler_pic_works=yes
   7966      fi
   7967    fi
   7968    $rm conftest*
   7969 
   7970 fi
   7971 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7972 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7973 
   7974 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7975     case $lt_prog_compiler_pic in
   7976      "" | " "*) ;;
   7977      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7978      esac
   7979 else
   7980     lt_prog_compiler_pic=
   7981      lt_prog_compiler_can_build_shared=no
   7982 fi
   7983 
   7984 fi
   7985 case $host_os in
   7986   # For platforms which do not support PIC, -DPIC is meaningless:
   7987   *djgpp*)
   7988     lt_prog_compiler_pic=
   7989     ;;
   7990   *)
   7991     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7992     ;;
   7993 esac
   7994 
   7995 #
   7996 # Check to make sure the static flag actually works.
   7997 #
   7998 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7999 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8000 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8001 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   lt_cv_prog_compiler_static_works=no
   8005    save_LDFLAGS="$LDFLAGS"
   8006    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8007    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8008    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8009      # The linker can only warn and ignore the option if not recognized
   8010      # So say no if there are warnings
   8011      if test -s conftest.err; then
   8012        # Append any errors to the config.log.
   8013        cat conftest.err 1>&5
   8014        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8015        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8016        if diff conftest.exp conftest.er2 >/dev/null; then
   8017          lt_cv_prog_compiler_static_works=yes
   8018        fi
   8019      else
   8020        lt_cv_prog_compiler_static_works=yes
   8021      fi
   8022    fi
   8023    $rm -r conftest*
   8024    LDFLAGS="$save_LDFLAGS"
   8025 
   8026 fi
   8027 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8028 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8029 
   8030 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8031     :
   8032 else
   8033     lt_prog_compiler_static=
   8034 fi
   8035 
   8036 
   8037 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8038 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8039 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8040   $as_echo_n "(cached) " >&6
   8041 else
   8042   lt_cv_prog_compiler_c_o=no
   8043    $rm -r conftest 2>/dev/null
   8044    mkdir conftest
   8045    cd conftest
   8046    mkdir out
   8047    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8048 
   8049    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8050    # Insert the option either (1) after the last *FLAGS variable, or
   8051    # (2) before a word containing "conftest.", or (3) at the end.
   8052    # Note that $ac_compile itself does not contain backslashes and begins
   8053    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8054    lt_compile=`echo "$ac_compile" | $SED \
   8055    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8056    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8057    -e 's:$: $lt_compiler_flag:'`
   8058    (eval echo "\"\$as_me:8058: $lt_compile\"" >&5)
   8059    (eval "$lt_compile" 2>out/conftest.err)
   8060    ac_status=$?
   8061    cat out/conftest.err >&5
   8062    echo "$as_me:8062: \$? = $ac_status" >&5
   8063    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8064    then
   8065      # The compiler can only warn and ignore the option if not recognized
   8066      # So say no if there are warnings
   8067      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8068      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8069      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8070        lt_cv_prog_compiler_c_o=yes
   8071      fi
   8072    fi
   8073    chmod u+w . 2>&5
   8074    $rm conftest*
   8075    # SGI C++ compiler will create directory out/ii_files/ for
   8076    # template instantiation
   8077    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8078    $rm out/* && rmdir out
   8079    cd ..
   8080    rmdir conftest
   8081    $rm conftest*
   8082 
   8083 fi
   8084 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8085 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8086 
   8087 
   8088 hard_links="nottested"
   8089 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8090   # do not overwrite the value of need_locks provided by the user
   8091   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8092 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8093   hard_links=yes
   8094   $rm conftest*
   8095   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8096   touch conftest.a
   8097   ln conftest.a conftest.b 2>&5 || hard_links=no
   8098   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8099   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8100 $as_echo "$hard_links" >&6; }
   8101   if test "$hard_links" = no; then
   8102     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8103 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8104     need_locks=warn
   8105   fi
   8106 else
   8107   need_locks=no
   8108 fi
   8109 
   8110 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8111 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8112 
   8113   runpath_var=
   8114   allow_undefined_flag=
   8115   enable_shared_with_static_runtimes=no
   8116   archive_cmds=
   8117   archive_expsym_cmds=
   8118   old_archive_From_new_cmds=
   8119   old_archive_from_expsyms_cmds=
   8120   export_dynamic_flag_spec=
   8121   whole_archive_flag_spec=
   8122   thread_safe_flag_spec=
   8123   hardcode_libdir_flag_spec=
   8124   hardcode_libdir_flag_spec_ld=
   8125   hardcode_libdir_separator=
   8126   hardcode_direct=no
   8127   hardcode_minus_L=no
   8128   hardcode_shlibpath_var=unsupported
   8129   link_all_deplibs=unknown
   8130   hardcode_automatic=no
   8131   module_cmds=
   8132   module_expsym_cmds=
   8133   always_export_symbols=no
   8134   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8135   # include_expsyms should be a list of space-separated symbols to be *always*
   8136   # included in the symbol list
   8137   include_expsyms=
   8138   # exclude_expsyms can be an extended regexp of symbols to exclude
   8139   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8140   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8141   # as well as any symbol that contains `d'.
   8142   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8143   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8144   # platforms (ab)use it in PIC code, but their linkers get confused if
   8145   # the symbol is explicitly referenced.  Since portable code cannot
   8146   # rely on this symbol name, it's probably fine to never include it in
   8147   # preloaded symbol tables.
   8148   # Exclude shared library initialization/finalization symbols.
   8149   extract_expsyms_cmds=
   8150   # Just being paranoid about ensuring that cc_basename is set.
   8151   for cc_temp in $compiler""; do
   8152   case $cc_temp in
   8153     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8154     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8155     \-*) ;;
   8156     *) break;;
   8157   esac
   8158 done
   8159 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8160 
   8161   case $host_os in
   8162   cygwin* | mingw* | pw32*)
   8163     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8164     # When not using gcc, we currently assume that we are using
   8165     # Microsoft Visual C++.
   8166     if test "$GCC" != yes; then
   8167       with_gnu_ld=no
   8168     fi
   8169     ;;
   8170   interix*)
   8171     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8172     with_gnu_ld=yes
   8173     ;;
   8174   openbsd*)
   8175     with_gnu_ld=no
   8176     ;;
   8177   esac
   8178 
   8179   ld_shlibs=yes
   8180   if test "$with_gnu_ld" = yes; then
   8181     # If archive_cmds runs LD, not CC, wlarc should be empty
   8182     wlarc='${wl}'
   8183 
   8184     # Set some defaults for GNU ld with shared library support. These
   8185     # are reset later if shared libraries are not supported. Putting them
   8186     # here allows them to be overridden if necessary.
   8187     runpath_var=LD_RUN_PATH
   8188     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8189     export_dynamic_flag_spec='${wl}--export-dynamic'
   8190     # ancient GNU ld didn't support --whole-archive et. al.
   8191     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8192 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8193       else
   8194   	whole_archive_flag_spec=
   8195     fi
   8196     supports_anon_versioning=no
   8197     case `$LD -v 2>/dev/null` in
   8198       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8199       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8200       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8201       *\ 2.11.*) ;; # other 2.11 versions
   8202       *) supports_anon_versioning=yes ;;
   8203     esac
   8204 
   8205     # See if GNU ld supports shared libraries.
   8206     case $host_os in
   8207     aix[3-9]*)
   8208       # On AIX/PPC, the GNU linker is very broken
   8209       if test "$host_cpu" != ia64; then
   8210 	ld_shlibs=no
   8211 	cat <<EOF 1>&2
   8212 
   8213 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8214 *** to be unable to reliably create shared libraries on AIX.
   8215 *** Therefore, libtool is disabling shared libraries support.  If you
   8216 *** really care for shared libraries, you may want to modify your PATH
   8217 *** so that a non-GNU linker is found, and then restart.
   8218 
   8219 EOF
   8220       fi
   8221       ;;
   8222 
   8223     amigaos*)
   8224       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)'
   8225       hardcode_libdir_flag_spec='-L$libdir'
   8226       hardcode_minus_L=yes
   8227 
   8228       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8229       # that the semantics of dynamic libraries on AmigaOS, at least up
   8230       # to version 4, is to share data among multiple programs linked
   8231       # with the same dynamic library.  Since this doesn't match the
   8232       # behavior of shared libraries on other platforms, we can't use
   8233       # them.
   8234       ld_shlibs=no
   8235       ;;
   8236 
   8237     beos*)
   8238       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8239 	allow_undefined_flag=unsupported
   8240 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8241 	# support --undefined.  This deserves some investigation.  FIXME
   8242 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8243       else
   8244 	ld_shlibs=no
   8245       fi
   8246       ;;
   8247 
   8248     cygwin* | mingw* | pw32*)
   8249       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8250       # as there is no search path for DLLs.
   8251       hardcode_libdir_flag_spec='-L$libdir'
   8252       allow_undefined_flag=unsupported
   8253       always_export_symbols=no
   8254       enable_shared_with_static_runtimes=yes
   8255       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8256 
   8257       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8258         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8259 	# If the export-symbols file already is a .def file (1st line
   8260 	# is EXPORTS), use it as is; otherwise, prepend...
   8261 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8262 	  cp $export_symbols $output_objdir/$soname.def;
   8263 	else
   8264 	  echo EXPORTS > $output_objdir/$soname.def;
   8265 	  cat $export_symbols >> $output_objdir/$soname.def;
   8266 	fi~
   8267 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8268       else
   8269 	ld_shlibs=no
   8270       fi
   8271       ;;
   8272 
   8273     interix[3-9]*)
   8274       hardcode_direct=no
   8275       hardcode_shlibpath_var=no
   8276       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8277       export_dynamic_flag_spec='${wl}-E'
   8278       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8279       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8280       # default) and relocated if they conflict, which is a slow very memory
   8281       # consuming and fragmenting process.  To avoid this, we pick a random,
   8282       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8283       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8284       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8285       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'
   8286       ;;
   8287 
   8288     gnu* | linux* | k*bsd*-gnu)
   8289       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8290 	tmp_addflag=
   8291 	case $cc_basename,$host_cpu in
   8292 	pgcc*)				# Portland Group C compiler
   8293 	  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'
   8294 	  tmp_addflag=' $pic_flag'
   8295 	  ;;
   8296 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8297 	  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'
   8298 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8299 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8300 	  tmp_addflag=' -i_dynamic' ;;
   8301 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8302 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8303 	ifc* | ifort*)			# Intel Fortran compiler
   8304 	  tmp_addflag=' -nofor_main' ;;
   8305 	esac
   8306 	case `$CC -V 2>&1 | sed 5q` in
   8307 	*Sun\ C*)			# Sun C 5.9
   8308 	  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'
   8309 	  tmp_sharedflag='-G' ;;
   8310 	*Sun\ F*)			# Sun Fortran 8.3
   8311 	  tmp_sharedflag='-G' ;;
   8312 	*)
   8313 	  tmp_sharedflag='-shared' ;;
   8314 	esac
   8315 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8316 
   8317 	if test $supports_anon_versioning = yes; then
   8318 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8319   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8320   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8321 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8322 	fi
   8323       else
   8324 	ld_shlibs=no
   8325       fi
   8326       ;;
   8327 
   8328     netbsd*)
   8329       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8330 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8331 	wlarc=
   8332       else
   8333 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8334 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8335       fi
   8336       ;;
   8337 
   8338     solaris*)
   8339       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8340 	ld_shlibs=no
   8341 	cat <<EOF 1>&2
   8342 
   8343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8344 *** create shared libraries on Solaris systems.  Therefore, libtool
   8345 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8346 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8347 *** your PATH or compiler configuration so that the native linker is
   8348 *** used, and then restart.
   8349 
   8350 EOF
   8351       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8352 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8353 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8354       else
   8355 	ld_shlibs=no
   8356       fi
   8357       ;;
   8358 
   8359     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8360       case `$LD -v 2>&1` in
   8361         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8362 	ld_shlibs=no
   8363 	cat <<_LT_EOF 1>&2
   8364 
   8365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8366 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8367 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8368 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8369 *** your PATH or compiler configuration so that the native linker is
   8370 *** used, and then restart.
   8371 
   8372 _LT_EOF
   8373 	;;
   8374 	*)
   8375 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8376 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8377 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8378 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8379 	  else
   8380 	    ld_shlibs=no
   8381 	  fi
   8382 	;;
   8383       esac
   8384       ;;
   8385 
   8386     sunos4*)
   8387       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8388       wlarc=
   8389       hardcode_direct=yes
   8390       hardcode_shlibpath_var=no
   8391       ;;
   8392 
   8393     *)
   8394       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8395 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8396 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8397       else
   8398 	ld_shlibs=no
   8399       fi
   8400       ;;
   8401     esac
   8402 
   8403     if test "$ld_shlibs" = no; then
   8404       runpath_var=
   8405       hardcode_libdir_flag_spec=
   8406       export_dynamic_flag_spec=
   8407       whole_archive_flag_spec=
   8408     fi
   8409   else
   8410     # PORTME fill in a description of your system's linker (not GNU ld)
   8411     case $host_os in
   8412     aix3*)
   8413       allow_undefined_flag=unsupported
   8414       always_export_symbols=yes
   8415       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'
   8416       # Note: this linker hardcodes the directories in LIBPATH if there
   8417       # are no directories specified by -L.
   8418       hardcode_minus_L=yes
   8419       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8420 	# Neither direct hardcoding nor static linking is supported with a
   8421 	# broken collect2.
   8422 	hardcode_direct=unsupported
   8423       fi
   8424       ;;
   8425 
   8426     aix[4-9]*)
   8427       if test "$host_cpu" = ia64; then
   8428 	# On IA64, the linker does run time linking by default, so we don't
   8429 	# have to do anything special.
   8430 	aix_use_runtimelinking=no
   8431 	exp_sym_flag='-Bexport'
   8432 	no_entry_flag=""
   8433       else
   8434 	# If we're using GNU nm, then we don't want the "-C" option.
   8435 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8436 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8437 	  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'
   8438 	else
   8439 	  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'
   8440 	fi
   8441 	aix_use_runtimelinking=no
   8442 
   8443 	# Test if we are trying to use run time linking or normal
   8444 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8445 	# need to do runtime linking.
   8446 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8447 	  for ld_flag in $LDFLAGS; do
   8448   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8449   	    aix_use_runtimelinking=yes
   8450   	    break
   8451   	  fi
   8452 	  done
   8453 	  ;;
   8454 	esac
   8455 
   8456 	exp_sym_flag='-bexport'
   8457 	no_entry_flag='-bnoentry'
   8458       fi
   8459 
   8460       # When large executables or shared objects are built, AIX ld can
   8461       # have problems creating the table of contents.  If linking a library
   8462       # or program results in "error TOC overflow" add -mminimal-toc to
   8463       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8464       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8465 
   8466       archive_cmds=''
   8467       hardcode_direct=yes
   8468       hardcode_libdir_separator=':'
   8469       link_all_deplibs=yes
   8470 
   8471       if test "$GCC" = yes; then
   8472 	case $host_os in aix4.[012]|aix4.[012].*)
   8473 	# We only want to do this on AIX 4.2 and lower, the check
   8474 	# below for broken collect2 doesn't work under 4.3+
   8475 	  collect2name=`${CC} -print-prog-name=collect2`
   8476 	  if test -f "$collect2name" && \
   8477   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8478 	  then
   8479   	  # We have reworked collect2
   8480   	  :
   8481 	  else
   8482   	  # We have old collect2
   8483   	  hardcode_direct=unsupported
   8484   	  # It fails to find uninstalled libraries when the uninstalled
   8485   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8486   	  # to unsupported forces relinking
   8487   	  hardcode_minus_L=yes
   8488   	  hardcode_libdir_flag_spec='-L$libdir'
   8489   	  hardcode_libdir_separator=
   8490 	  fi
   8491 	  ;;
   8492 	esac
   8493 	shared_flag='-shared'
   8494 	if test "$aix_use_runtimelinking" = yes; then
   8495 	  shared_flag="$shared_flag "'${wl}-G'
   8496 	fi
   8497       else
   8498 	# not using gcc
   8499 	if test "$host_cpu" = ia64; then
   8500   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8501   	# chokes on -Wl,-G. The following line is correct:
   8502 	  shared_flag='-G'
   8503 	else
   8504 	  if test "$aix_use_runtimelinking" = yes; then
   8505 	    shared_flag='${wl}-G'
   8506 	  else
   8507 	    shared_flag='${wl}-bM:SRE'
   8508 	  fi
   8509 	fi
   8510       fi
   8511 
   8512       # It seems that -bexpall does not export symbols beginning with
   8513       # underscore (_), so it is better to generate a list of symbols to export.
   8514       always_export_symbols=yes
   8515       if test "$aix_use_runtimelinking" = yes; then
   8516 	# Warning - without using the other runtime loading flags (-brtl),
   8517 	# -berok will link without error, but may produce a broken library.
   8518 	allow_undefined_flag='-berok'
   8519        # Determine the default libpath from the value encoded in an empty executable.
   8520        cat >conftest.$ac_ext <<_ACEOF
   8521 /* confdefs.h.  */
   8522 _ACEOF
   8523 cat confdefs.h >>conftest.$ac_ext
   8524 cat >>conftest.$ac_ext <<_ACEOF
   8525 /* end confdefs.h.  */
   8526 
   8527 int
   8528 main ()
   8529 {
   8530 
   8531   ;
   8532   return 0;
   8533 }
   8534 _ACEOF
   8535 rm -f conftest.$ac_objext conftest$ac_exeext
   8536 if { (ac_try="$ac_link"
   8537 case "(($ac_try" in
   8538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8539   *) ac_try_echo=$ac_try;;
   8540 esac
   8541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8542 $as_echo "$ac_try_echo") >&5
   8543   (eval "$ac_link") 2>conftest.er1
   8544   ac_status=$?
   8545   grep -v '^ *+' conftest.er1 >conftest.err
   8546   rm -f conftest.er1
   8547   cat conftest.err >&5
   8548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8549   (exit $ac_status); } && {
   8550 	 test -z "$ac_c_werror_flag" ||
   8551 	 test ! -s conftest.err
   8552        } && test -s conftest$ac_exeext && {
   8553 	 test "$cross_compiling" = yes ||
   8554 	 $as_test_x conftest$ac_exeext
   8555        }; then
   8556 
   8557 lt_aix_libpath_sed='
   8558     /Import File Strings/,/^$/ {
   8559 	/^0/ {
   8560 	    s/^0  *\(.*\)$/\1/
   8561 	    p
   8562 	}
   8563     }'
   8564 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8565 # Check for a 64-bit object if we didn't find anything.
   8566 if test -z "$aix_libpath"; then
   8567   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8568 fi
   8569 else
   8570   $as_echo "$as_me: failed program was:" >&5
   8571 sed 's/^/| /' conftest.$ac_ext >&5
   8572 
   8573 
   8574 fi
   8575 
   8576 rm -rf conftest.dSYM
   8577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8578       conftest$ac_exeext conftest.$ac_ext
   8579 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8580 
   8581        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8582 	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"
   8583        else
   8584 	if test "$host_cpu" = ia64; then
   8585 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8586 	  allow_undefined_flag="-z nodefs"
   8587 	  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"
   8588 	else
   8589 	 # Determine the default libpath from the value encoded in an empty executable.
   8590 	 cat >conftest.$ac_ext <<_ACEOF
   8591 /* confdefs.h.  */
   8592 _ACEOF
   8593 cat confdefs.h >>conftest.$ac_ext
   8594 cat >>conftest.$ac_ext <<_ACEOF
   8595 /* end confdefs.h.  */
   8596 
   8597 int
   8598 main ()
   8599 {
   8600 
   8601   ;
   8602   return 0;
   8603 }
   8604 _ACEOF
   8605 rm -f conftest.$ac_objext conftest$ac_exeext
   8606 if { (ac_try="$ac_link"
   8607 case "(($ac_try" in
   8608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8609   *) ac_try_echo=$ac_try;;
   8610 esac
   8611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8612 $as_echo "$ac_try_echo") >&5
   8613   (eval "$ac_link") 2>conftest.er1
   8614   ac_status=$?
   8615   grep -v '^ *+' conftest.er1 >conftest.err
   8616   rm -f conftest.er1
   8617   cat conftest.err >&5
   8618   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8619   (exit $ac_status); } && {
   8620 	 test -z "$ac_c_werror_flag" ||
   8621 	 test ! -s conftest.err
   8622        } && test -s conftest$ac_exeext && {
   8623 	 test "$cross_compiling" = yes ||
   8624 	 $as_test_x conftest$ac_exeext
   8625        }; then
   8626 
   8627 lt_aix_libpath_sed='
   8628     /Import File Strings/,/^$/ {
   8629 	/^0/ {
   8630 	    s/^0  *\(.*\)$/\1/
   8631 	    p
   8632 	}
   8633     }'
   8634 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8635 # Check for a 64-bit object if we didn't find anything.
   8636 if test -z "$aix_libpath"; then
   8637   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8638 fi
   8639 else
   8640   $as_echo "$as_me: failed program was:" >&5
   8641 sed 's/^/| /' conftest.$ac_ext >&5
   8642 
   8643 
   8644 fi
   8645 
   8646 rm -rf conftest.dSYM
   8647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8648       conftest$ac_exeext conftest.$ac_ext
   8649 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8650 
   8651 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8652 	  # Warning - without using the other run time loading flags,
   8653 	  # -berok will link without error, but may produce a broken library.
   8654 	  no_undefined_flag=' ${wl}-bernotok'
   8655 	  allow_undefined_flag=' ${wl}-berok'
   8656 	  # Exported symbols can be pulled into shared objects from archives
   8657 	  whole_archive_flag_spec='$convenience'
   8658 	  archive_cmds_need_lc=yes
   8659 	  # This is similar to how AIX traditionally builds its shared libraries.
   8660 	  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'
   8661 	fi
   8662       fi
   8663       ;;
   8664 
   8665     amigaos*)
   8666       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)'
   8667       hardcode_libdir_flag_spec='-L$libdir'
   8668       hardcode_minus_L=yes
   8669       # see comment about different semantics on the GNU ld section
   8670       ld_shlibs=no
   8671       ;;
   8672 
   8673     bsdi[45]*)
   8674       export_dynamic_flag_spec=-rdynamic
   8675       ;;
   8676 
   8677     cygwin* | mingw* | pw32*)
   8678       # When not using gcc, we currently assume that we are using
   8679       # Microsoft Visual C++.
   8680       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8681       # no search path for DLLs.
   8682       hardcode_libdir_flag_spec=' '
   8683       allow_undefined_flag=unsupported
   8684       # Tell ltmain to make .lib files, not .a files.
   8685       libext=lib
   8686       # Tell ltmain to make .dll files, not .so files.
   8687       shrext_cmds=".dll"
   8688       # FIXME: Setting linknames here is a bad hack.
   8689       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8690       # The linker will automatically build a .lib file if we build a DLL.
   8691       old_archive_From_new_cmds='true'
   8692       # FIXME: Should let the user specify the lib program.
   8693       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8694       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8695       enable_shared_with_static_runtimes=yes
   8696       ;;
   8697 
   8698     darwin* | rhapsody*)
   8699       case $host_os in
   8700         rhapsody* | darwin1.[012])
   8701          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8702          ;;
   8703        *) # Darwin 1.3 on
   8704          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8705            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8706          else
   8707            case ${MACOSX_DEPLOYMENT_TARGET} in
   8708              10.[012])
   8709                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8710                ;;
   8711              10.*)
   8712                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8713                ;;
   8714            esac
   8715          fi
   8716          ;;
   8717       esac
   8718       archive_cmds_need_lc=no
   8719       hardcode_direct=no
   8720       hardcode_automatic=yes
   8721       hardcode_shlibpath_var=unsupported
   8722       whole_archive_flag_spec=''
   8723       link_all_deplibs=yes
   8724     if test "$GCC" = yes ; then
   8725     	output_verbose_link_cmd='echo'
   8726         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8727         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8728         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}"
   8729         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}"
   8730     else
   8731       case $cc_basename in
   8732         xlc*)
   8733          output_verbose_link_cmd='echo'
   8734          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8735          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8736           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8737          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}'
   8738           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}'
   8739           ;;
   8740        *)
   8741          ld_shlibs=no
   8742           ;;
   8743       esac
   8744     fi
   8745       ;;
   8746 
   8747     dgux*)
   8748       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8749       hardcode_libdir_flag_spec='-L$libdir'
   8750       hardcode_shlibpath_var=no
   8751       ;;
   8752 
   8753     freebsd1*)
   8754       ld_shlibs=no
   8755       ;;
   8756 
   8757     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8758     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8759     # does not break anything, and helps significantly (at the cost of a little
   8760     # extra space).
   8761     freebsd2.2*)
   8762       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8763       hardcode_libdir_flag_spec='-R$libdir'
   8764       hardcode_direct=yes
   8765       hardcode_shlibpath_var=no
   8766       ;;
   8767 
   8768     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8769     freebsd2*)
   8770       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8771       hardcode_direct=yes
   8772       hardcode_minus_L=yes
   8773       hardcode_shlibpath_var=no
   8774       ;;
   8775 
   8776     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8777     freebsd* | dragonfly*)
   8778       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8779       hardcode_libdir_flag_spec='-R$libdir'
   8780       hardcode_direct=yes
   8781       hardcode_shlibpath_var=no
   8782       ;;
   8783 
   8784     hpux9*)
   8785       if test "$GCC" = yes; then
   8786 	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'
   8787       else
   8788 	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'
   8789       fi
   8790       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8791       hardcode_libdir_separator=:
   8792       hardcode_direct=yes
   8793 
   8794       # hardcode_minus_L: Not really in the search PATH,
   8795       # but as the default location of the library.
   8796       hardcode_minus_L=yes
   8797       export_dynamic_flag_spec='${wl}-E'
   8798       ;;
   8799 
   8800     hpux10*)
   8801       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8802 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8803       else
   8804 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8805       fi
   8806       if test "$with_gnu_ld" = no; then
   8807 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8808 	hardcode_libdir_separator=:
   8809 
   8810 	hardcode_direct=yes
   8811 	export_dynamic_flag_spec='${wl}-E'
   8812 
   8813 	# hardcode_minus_L: Not really in the search PATH,
   8814 	# but as the default location of the library.
   8815 	hardcode_minus_L=yes
   8816       fi
   8817       ;;
   8818 
   8819     hpux11*)
   8820       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8821 	case $host_cpu in
   8822 	hppa*64*)
   8823 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  ;;
   8825 	ia64*)
   8826 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8827 	  ;;
   8828 	*)
   8829 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8830 	  ;;
   8831 	esac
   8832       else
   8833 	case $host_cpu in
   8834 	hppa*64*)
   8835 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8836 	  ;;
   8837 	ia64*)
   8838 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8839 	  ;;
   8840 	*)
   8841 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8842 	  ;;
   8843 	esac
   8844       fi
   8845       if test "$with_gnu_ld" = no; then
   8846 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8847 	hardcode_libdir_separator=:
   8848 
   8849 	case $host_cpu in
   8850 	hppa*64*|ia64*)
   8851 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8852 	  hardcode_direct=no
   8853 	  hardcode_shlibpath_var=no
   8854 	  ;;
   8855 	*)
   8856 	  hardcode_direct=yes
   8857 	  export_dynamic_flag_spec='${wl}-E'
   8858 
   8859 	  # hardcode_minus_L: Not really in the search PATH,
   8860 	  # but as the default location of the library.
   8861 	  hardcode_minus_L=yes
   8862 	  ;;
   8863 	esac
   8864       fi
   8865       ;;
   8866 
   8867     irix5* | irix6* | nonstopux*)
   8868       if test "$GCC" = yes; then
   8869 	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'
   8870       else
   8871 	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'
   8872 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8873       fi
   8874       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8875       hardcode_libdir_separator=:
   8876       link_all_deplibs=yes
   8877       ;;
   8878 
   8879     netbsd*)
   8880       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8881 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8882       else
   8883 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8884       fi
   8885       hardcode_libdir_flag_spec='-R$libdir'
   8886       hardcode_direct=yes
   8887       hardcode_shlibpath_var=no
   8888       ;;
   8889 
   8890     newsos6)
   8891       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8892       hardcode_direct=yes
   8893       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8894       hardcode_libdir_separator=:
   8895       hardcode_shlibpath_var=no
   8896       ;;
   8897 
   8898     openbsd*)
   8899       if test -f /usr/libexec/ld.so; then
   8900 	hardcode_direct=yes
   8901 	hardcode_shlibpath_var=no
   8902 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8903 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8904 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8905 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8906 	  export_dynamic_flag_spec='${wl}-E'
   8907 	else
   8908 	  case $host_os in
   8909 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8910 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8911 	     hardcode_libdir_flag_spec='-R$libdir'
   8912 	     ;;
   8913 	   *)
   8914 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8915 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8916 	     ;;
   8917 	  esac
   8918         fi
   8919       else
   8920 	ld_shlibs=no
   8921       fi
   8922       ;;
   8923 
   8924     os2*)
   8925       hardcode_libdir_flag_spec='-L$libdir'
   8926       hardcode_minus_L=yes
   8927       allow_undefined_flag=unsupported
   8928       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'
   8929       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8930       ;;
   8931 
   8932     osf3*)
   8933       if test "$GCC" = yes; then
   8934 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8935 	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'
   8936       else
   8937 	allow_undefined_flag=' -expect_unresolved \*'
   8938 	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'
   8939       fi
   8940       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8941       hardcode_libdir_separator=:
   8942       ;;
   8943 
   8944     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8945       if test "$GCC" = yes; then
   8946 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8947 	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'
   8948 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8949       else
   8950 	allow_undefined_flag=' -expect_unresolved \*'
   8951 	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'
   8952 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8953 	$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'
   8954 
   8955 	# Both c and cxx compiler support -rpath directly
   8956 	hardcode_libdir_flag_spec='-rpath $libdir'
   8957       fi
   8958       hardcode_libdir_separator=:
   8959       ;;
   8960 
   8961     solaris*)
   8962       no_undefined_flag=' -z text'
   8963       if test "$GCC" = yes; then
   8964 	wlarc='${wl}'
   8965 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8966 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8967 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8968       else
   8969 	wlarc=''
   8970 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8971 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8972   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8973       fi
   8974       hardcode_libdir_flag_spec='-R$libdir'
   8975       hardcode_shlibpath_var=no
   8976       case $host_os in
   8977       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8978       *)
   8979 	# The compiler driver will combine and reorder linker options,
   8980 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8981 	# but is careful enough not to reorder.
   8982  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8983 	if test "$GCC" = yes; then
   8984 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8985 	else
   8986 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8987 	fi
   8988 	;;
   8989       esac
   8990       link_all_deplibs=yes
   8991       ;;
   8992 
   8993     sunos4*)
   8994       if test "x$host_vendor" = xsequent; then
   8995 	# Use $CC to link under sequent, because it throws in some extra .o
   8996 	# files that make .init and .fini sections work.
   8997 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8998       else
   8999 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9000       fi
   9001       hardcode_libdir_flag_spec='-L$libdir'
   9002       hardcode_direct=yes
   9003       hardcode_minus_L=yes
   9004       hardcode_shlibpath_var=no
   9005       ;;
   9006 
   9007     sysv4)
   9008       case $host_vendor in
   9009 	sni)
   9010 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9011 	  hardcode_direct=yes # is this really true???
   9012 	;;
   9013 	siemens)
   9014 	  ## LD is ld it makes a PLAMLIB
   9015 	  ## CC just makes a GrossModule.
   9016 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9017 	  reload_cmds='$CC -r -o $output$reload_objs'
   9018 	  hardcode_direct=no
   9019         ;;
   9020 	motorola)
   9021 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9022 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9023 	;;
   9024       esac
   9025       runpath_var='LD_RUN_PATH'
   9026       hardcode_shlibpath_var=no
   9027       ;;
   9028 
   9029     sysv4.3*)
   9030       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9031       hardcode_shlibpath_var=no
   9032       export_dynamic_flag_spec='-Bexport'
   9033       ;;
   9034 
   9035     sysv4*MP*)
   9036       if test -d /usr/nec; then
   9037 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9038 	hardcode_shlibpath_var=no
   9039 	runpath_var=LD_RUN_PATH
   9040 	hardcode_runpath_var=yes
   9041 	ld_shlibs=yes
   9042       fi
   9043       ;;
   9044 
   9045     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9046       no_undefined_flag='${wl}-z,text'
   9047       archive_cmds_need_lc=no
   9048       hardcode_shlibpath_var=no
   9049       runpath_var='LD_RUN_PATH'
   9050 
   9051       if test "$GCC" = yes; then
   9052 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9053 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9054       else
   9055 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9056 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9057       fi
   9058       ;;
   9059 
   9060     sysv5* | sco3.2v5* | sco5v6*)
   9061       # Note: We can NOT use -z defs as we might desire, because we do not
   9062       # link with -lc, and that would cause any symbols used from libc to
   9063       # always be unresolved, which means just about no library would
   9064       # ever link correctly.  If we're not using GNU ld we use -z text
   9065       # though, which does catch some bad symbols but isn't as heavy-handed
   9066       # as -z defs.
   9067       no_undefined_flag='${wl}-z,text'
   9068       allow_undefined_flag='${wl}-z,nodefs'
   9069       archive_cmds_need_lc=no
   9070       hardcode_shlibpath_var=no
   9071       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9072       hardcode_libdir_separator=':'
   9073       link_all_deplibs=yes
   9074       export_dynamic_flag_spec='${wl}-Bexport'
   9075       runpath_var='LD_RUN_PATH'
   9076 
   9077       if test "$GCC" = yes; then
   9078 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9079 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9080       else
   9081 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9082 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9083       fi
   9084       ;;
   9085 
   9086     uts4*)
   9087       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9088       hardcode_libdir_flag_spec='-L$libdir'
   9089       hardcode_shlibpath_var=no
   9090       ;;
   9091 
   9092     *)
   9093       ld_shlibs=no
   9094       ;;
   9095     esac
   9096   fi
   9097 
   9098 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9099 $as_echo "$ld_shlibs" >&6; }
   9100 test "$ld_shlibs" = no && can_build_shared=no
   9101 
   9102 #
   9103 # Do we need to explicitly link libc?
   9104 #
   9105 case "x$archive_cmds_need_lc" in
   9106 x|xyes)
   9107   # Assume -lc should be added
   9108   archive_cmds_need_lc=yes
   9109 
   9110   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9111     case $archive_cmds in
   9112     *'~'*)
   9113       # FIXME: we may have to deal with multi-command sequences.
   9114       ;;
   9115     '$CC '*)
   9116       # Test whether the compiler implicitly links with -lc since on some
   9117       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9118       # to ld, don't add -lc before -lgcc.
   9119       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9120 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9121       $rm conftest*
   9122       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9123 
   9124       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9125   (eval $ac_compile) 2>&5
   9126   ac_status=$?
   9127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9128   (exit $ac_status); } 2>conftest.err; then
   9129         soname=conftest
   9130         lib=conftest
   9131         libobjs=conftest.$ac_objext
   9132         deplibs=
   9133         wl=$lt_prog_compiler_wl
   9134 	pic_flag=$lt_prog_compiler_pic
   9135         compiler_flags=-v
   9136         linker_flags=-v
   9137         verstring=
   9138         output_objdir=.
   9139         libname=conftest
   9140         lt_save_allow_undefined_flag=$allow_undefined_flag
   9141         allow_undefined_flag=
   9142         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9143   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9144   ac_status=$?
   9145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9146   (exit $ac_status); }
   9147         then
   9148 	  archive_cmds_need_lc=no
   9149         else
   9150 	  archive_cmds_need_lc=yes
   9151         fi
   9152         allow_undefined_flag=$lt_save_allow_undefined_flag
   9153       else
   9154         cat conftest.err 1>&5
   9155       fi
   9156       $rm conftest*
   9157       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9158 $as_echo "$archive_cmds_need_lc" >&6; }
   9159       ;;
   9160     esac
   9161   fi
   9162   ;;
   9163 esac
   9164 
   9165 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9166 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9167 library_names_spec=
   9168 libname_spec='lib$name'
   9169 soname_spec=
   9170 shrext_cmds=".so"
   9171 postinstall_cmds=
   9172 postuninstall_cmds=
   9173 finish_cmds=
   9174 finish_eval=
   9175 shlibpath_var=
   9176 shlibpath_overrides_runpath=unknown
   9177 version_type=none
   9178 dynamic_linker="$host_os ld.so"
   9179 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9180 
   9181 if test "$GCC" = yes; then
   9182   case $host_os in
   9183     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9184     *) lt_awk_arg="/^libraries:/" ;;
   9185   esac
   9186   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9187   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9188     # if the path contains ";" then we assume it to be the separator
   9189     # otherwise default to the standard path separator (i.e. ":") - it is
   9190     # assumed that no part of a normal pathname contains ";" but that should
   9191     # okay in the real world where ";" in dirpaths is itself problematic.
   9192     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9193   else
   9194     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9195   fi
   9196   # Ok, now we have the path, separated by spaces, we can step through it
   9197   # and add multilib dir if necessary.
   9198   lt_tmp_lt_search_path_spec=
   9199   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9200   for lt_sys_path in $lt_search_path_spec; do
   9201     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9202       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9203     else
   9204       test -d "$lt_sys_path" && \
   9205 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9206     fi
   9207   done
   9208   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9209 BEGIN {RS=" "; FS="/|\n";} {
   9210   lt_foo="";
   9211   lt_count=0;
   9212   for (lt_i = NF; lt_i > 0; lt_i--) {
   9213     if ($lt_i != "" && $lt_i != ".") {
   9214       if ($lt_i == "..") {
   9215         lt_count++;
   9216       } else {
   9217         if (lt_count == 0) {
   9218           lt_foo="/" $lt_i lt_foo;
   9219         } else {
   9220           lt_count--;
   9221         }
   9222       }
   9223     }
   9224   }
   9225   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9226   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9227 }'`
   9228   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9229 else
   9230   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9231 fi
   9232 need_lib_prefix=unknown
   9233 hardcode_into_libs=no
   9234 
   9235 # when you set need_version to no, make sure it does not cause -set_version
   9236 # flags to be left without arguments
   9237 need_version=unknown
   9238 
   9239 case $host_os in
   9240 aix3*)
   9241   version_type=linux
   9242   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9243   shlibpath_var=LIBPATH
   9244 
   9245   # AIX 3 has no versioning support, so we append a major version to the name.
   9246   soname_spec='${libname}${release}${shared_ext}$major'
   9247   ;;
   9248 
   9249 aix[4-9]*)
   9250   version_type=linux
   9251   need_lib_prefix=no
   9252   need_version=no
   9253   hardcode_into_libs=yes
   9254   if test "$host_cpu" = ia64; then
   9255     # AIX 5 supports IA64
   9256     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9257     shlibpath_var=LD_LIBRARY_PATH
   9258   else
   9259     # With GCC up to 2.95.x, collect2 would create an import file
   9260     # for dependence libraries.  The import file would start with
   9261     # the line `#! .'.  This would cause the generated library to
   9262     # depend on `.', always an invalid library.  This was fixed in
   9263     # development snapshots of GCC prior to 3.0.
   9264     case $host_os in
   9265       aix4 | aix4.[01] | aix4.[01].*)
   9266       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9267 	   echo ' yes '
   9268 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9269 	:
   9270       else
   9271 	can_build_shared=no
   9272       fi
   9273       ;;
   9274     esac
   9275     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9276     # soname into executable. Probably we can add versioning support to
   9277     # collect2, so additional links can be useful in future.
   9278     if test "$aix_use_runtimelinking" = yes; then
   9279       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9280       # instead of lib<name>.a to let people know that these are not
   9281       # typical AIX shared libraries.
   9282       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9283     else
   9284       # We preserve .a as extension for shared libraries through AIX4.2
   9285       # and later when we are not doing run time linking.
   9286       library_names_spec='${libname}${release}.a $libname.a'
   9287       soname_spec='${libname}${release}${shared_ext}$major'
   9288     fi
   9289     shlibpath_var=LIBPATH
   9290   fi
   9291   ;;
   9292 
   9293 amigaos*)
   9294   library_names_spec='$libname.ixlibrary $libname.a'
   9295   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9296   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'
   9297   ;;
   9298 
   9299 beos*)
   9300   library_names_spec='${libname}${shared_ext}'
   9301   dynamic_linker="$host_os ld.so"
   9302   shlibpath_var=LIBRARY_PATH
   9303   ;;
   9304 
   9305 bsdi[45]*)
   9306   version_type=linux
   9307   need_version=no
   9308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9309   soname_spec='${libname}${release}${shared_ext}$major'
   9310   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9311   shlibpath_var=LD_LIBRARY_PATH
   9312   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9313   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9314   # the default ld.so.conf also contains /usr/contrib/lib and
   9315   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9316   # libtool to hard-code these into programs
   9317   ;;
   9318 
   9319 cygwin* | mingw* | pw32*)
   9320   version_type=windows
   9321   shrext_cmds=".dll"
   9322   need_version=no
   9323   need_lib_prefix=no
   9324 
   9325   case $GCC,$host_os in
   9326   yes,cygwin* | yes,mingw* | yes,pw32*)
   9327     library_names_spec='$libname.dll.a'
   9328     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9329     postinstall_cmds='base_file=`basename \${file}`~
   9330       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9331       dldir=$destdir/`dirname \$dlpath`~
   9332       test -d \$dldir || mkdir -p \$dldir~
   9333       $install_prog $dir/$dlname \$dldir/$dlname~
   9334       chmod a+x \$dldir/$dlname'
   9335     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9336       dlpath=$dir/\$dldll~
   9337        $rm \$dlpath'
   9338     shlibpath_overrides_runpath=yes
   9339 
   9340     case $host_os in
   9341     cygwin*)
   9342       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9343       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9344       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9345       ;;
   9346     mingw*)
   9347       # MinGW DLLs use traditional 'lib' prefix
   9348       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9349       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9350       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9351         # It is most probably a Windows format PATH printed by
   9352         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9353         # path with ; separators, and with drive letters. We can handle the
   9354         # drive letters (cygwin fileutils understands them), so leave them,
   9355         # especially as we might pass files found there to a mingw objdump,
   9356         # which wouldn't understand a cygwinified path. Ahh.
   9357         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9358       else
   9359         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9360       fi
   9361       ;;
   9362     pw32*)
   9363       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9364       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9365       ;;
   9366     esac
   9367     ;;
   9368 
   9369   *)
   9370     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9371     ;;
   9372   esac
   9373   dynamic_linker='Win32 ld.exe'
   9374   # FIXME: first we should search . and the directory the executable is in
   9375   shlibpath_var=PATH
   9376   ;;
   9377 
   9378 darwin* | rhapsody*)
   9379   dynamic_linker="$host_os dyld"
   9380   version_type=darwin
   9381   need_lib_prefix=no
   9382   need_version=no
   9383   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9384   soname_spec='${libname}${release}${major}$shared_ext'
   9385   shlibpath_overrides_runpath=yes
   9386   shlibpath_var=DYLD_LIBRARY_PATH
   9387   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9388 
   9389   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9390   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9391   ;;
   9392 
   9393 dgux*)
   9394   version_type=linux
   9395   need_lib_prefix=no
   9396   need_version=no
   9397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9398   soname_spec='${libname}${release}${shared_ext}$major'
   9399   shlibpath_var=LD_LIBRARY_PATH
   9400   ;;
   9401 
   9402 freebsd1*)
   9403   dynamic_linker=no
   9404   ;;
   9405 
   9406 freebsd* | dragonfly*)
   9407   # DragonFly does not have aout.  When/if they implement a new
   9408   # versioning mechanism, adjust this.
   9409   if test -x /usr/bin/objformat; then
   9410     objformat=`/usr/bin/objformat`
   9411   else
   9412     case $host_os in
   9413     freebsd[123]*) objformat=aout ;;
   9414     *) objformat=elf ;;
   9415     esac
   9416   fi
   9417   version_type=freebsd-$objformat
   9418   case $version_type in
   9419     freebsd-elf*)
   9420       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9421       need_version=no
   9422       need_lib_prefix=no
   9423       ;;
   9424     freebsd-*)
   9425       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9426       need_version=yes
   9427       ;;
   9428   esac
   9429   shlibpath_var=LD_LIBRARY_PATH
   9430   case $host_os in
   9431   freebsd2*)
   9432     shlibpath_overrides_runpath=yes
   9433     ;;
   9434   freebsd3.[01]* | freebsdelf3.[01]*)
   9435     shlibpath_overrides_runpath=yes
   9436     hardcode_into_libs=yes
   9437     ;;
   9438   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9439   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9440     shlibpath_overrides_runpath=no
   9441     hardcode_into_libs=yes
   9442     ;;
   9443   *) # from 4.6 on, and DragonFly
   9444     shlibpath_overrides_runpath=yes
   9445     hardcode_into_libs=yes
   9446     ;;
   9447   esac
   9448   ;;
   9449 
   9450 gnu*)
   9451   version_type=linux
   9452   need_lib_prefix=no
   9453   need_version=no
   9454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9455   soname_spec='${libname}${release}${shared_ext}$major'
   9456   shlibpath_var=LD_LIBRARY_PATH
   9457   hardcode_into_libs=yes
   9458   ;;
   9459 
   9460 hpux9* | hpux10* | hpux11*)
   9461   # Give a soname corresponding to the major version so that dld.sl refuses to
   9462   # link against other versions.
   9463   version_type=sunos
   9464   need_lib_prefix=no
   9465   need_version=no
   9466   case $host_cpu in
   9467   ia64*)
   9468     shrext_cmds='.so'
   9469     hardcode_into_libs=yes
   9470     dynamic_linker="$host_os dld.so"
   9471     shlibpath_var=LD_LIBRARY_PATH
   9472     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9474     soname_spec='${libname}${release}${shared_ext}$major'
   9475     if test "X$HPUX_IA64_MODE" = X32; then
   9476       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9477     else
   9478       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9479     fi
   9480     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9481     ;;
   9482    hppa*64*)
   9483      shrext_cmds='.sl'
   9484      hardcode_into_libs=yes
   9485      dynamic_linker="$host_os dld.sl"
   9486      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9487      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9488      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9489      soname_spec='${libname}${release}${shared_ext}$major'
   9490      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9491      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9492      ;;
   9493    *)
   9494     shrext_cmds='.sl'
   9495     dynamic_linker="$host_os dld.sl"
   9496     shlibpath_var=SHLIB_PATH
   9497     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9499     soname_spec='${libname}${release}${shared_ext}$major'
   9500     ;;
   9501   esac
   9502   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9503   postinstall_cmds='chmod 555 $lib'
   9504   ;;
   9505 
   9506 interix[3-9]*)
   9507   version_type=linux
   9508   need_lib_prefix=no
   9509   need_version=no
   9510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9511   soname_spec='${libname}${release}${shared_ext}$major'
   9512   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9513   shlibpath_var=LD_LIBRARY_PATH
   9514   shlibpath_overrides_runpath=no
   9515   hardcode_into_libs=yes
   9516   ;;
   9517 
   9518 irix5* | irix6* | nonstopux*)
   9519   case $host_os in
   9520     nonstopux*) version_type=nonstopux ;;
   9521     *)
   9522 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9523 		version_type=linux
   9524 	else
   9525 		version_type=irix
   9526 	fi ;;
   9527   esac
   9528   need_lib_prefix=no
   9529   need_version=no
   9530   soname_spec='${libname}${release}${shared_ext}$major'
   9531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9532   case $host_os in
   9533   irix5* | nonstopux*)
   9534     libsuff= shlibsuff=
   9535     ;;
   9536   *)
   9537     case $LD in # libtool.m4 will add one of these switches to LD
   9538     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9539       libsuff= shlibsuff= libmagic=32-bit;;
   9540     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9541       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9542     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9543       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9544     *) libsuff= shlibsuff= libmagic=never-match;;
   9545     esac
   9546     ;;
   9547   esac
   9548   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9549   shlibpath_overrides_runpath=no
   9550   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9551   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9552   hardcode_into_libs=yes
   9553   ;;
   9554 
   9555 # No shared lib support for Linux oldld, aout, or coff.
   9556 linux*oldld* | linux*aout* | linux*coff*)
   9557   dynamic_linker=no
   9558   ;;
   9559 
   9560 # This must be Linux ELF.
   9561 linux* | k*bsd*-gnu)
   9562   version_type=linux
   9563   need_lib_prefix=no
   9564   need_version=no
   9565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9566   soname_spec='${libname}${release}${shared_ext}$major'
   9567   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9568   shlibpath_var=LD_LIBRARY_PATH
   9569   shlibpath_overrides_runpath=no
   9570   # This implies no fast_install, which is unacceptable.
   9571   # Some rework will be needed to allow for fast_install
   9572   # before this can be enabled.
   9573   hardcode_into_libs=yes
   9574   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9575   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9576 
   9577   # Append ld.so.conf contents to the search path
   9578   if test -f /etc/ld.so.conf; then
   9579     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9580     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9581   fi
   9582 
   9583   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9584   # powerpc, because MkLinux only supported shared libraries with the
   9585   # GNU dynamic linker.  Since this was broken with cross compilers,
   9586   # most powerpc-linux boxes support dynamic linking these days and
   9587   # people can always --disable-shared, the test was removed, and we
   9588   # assume the GNU/Linux dynamic linker is in use.
   9589   dynamic_linker='GNU/Linux ld.so'
   9590   ;;
   9591 
   9592 netbsd*)
   9593   version_type=sunos
   9594   need_lib_prefix=no
   9595   need_version=no
   9596   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9597     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9598     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9599     dynamic_linker='NetBSD (a.out) ld.so'
   9600   else
   9601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9602     soname_spec='${libname}${release}${shared_ext}$major'
   9603     dynamic_linker='NetBSD ld.elf_so'
   9604   fi
   9605   shlibpath_var=LD_LIBRARY_PATH
   9606   shlibpath_overrides_runpath=yes
   9607   hardcode_into_libs=yes
   9608   ;;
   9609 
   9610 newsos6)
   9611   version_type=linux
   9612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9613   shlibpath_var=LD_LIBRARY_PATH
   9614   shlibpath_overrides_runpath=yes
   9615   ;;
   9616 
   9617 nto-qnx*)
   9618   version_type=linux
   9619   need_lib_prefix=no
   9620   need_version=no
   9621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9622   soname_spec='${libname}${release}${shared_ext}$major'
   9623   shlibpath_var=LD_LIBRARY_PATH
   9624   shlibpath_overrides_runpath=yes
   9625   ;;
   9626 
   9627 openbsd*)
   9628   version_type=sunos
   9629   sys_lib_dlsearch_path_spec="/usr/lib"
   9630   need_lib_prefix=no
   9631   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9632   case $host_os in
   9633     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9634     *)                         need_version=no  ;;
   9635   esac
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9637   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9640     case $host_os in
   9641       openbsd2.[89] | openbsd2.[89].*)
   9642 	shlibpath_overrides_runpath=no
   9643 	;;
   9644       *)
   9645 	shlibpath_overrides_runpath=yes
   9646 	;;
   9647       esac
   9648   else
   9649     shlibpath_overrides_runpath=yes
   9650   fi
   9651   ;;
   9652 
   9653 os2*)
   9654   libname_spec='$name'
   9655   shrext_cmds=".dll"
   9656   need_lib_prefix=no
   9657   library_names_spec='$libname${shared_ext} $libname.a'
   9658   dynamic_linker='OS/2 ld.exe'
   9659   shlibpath_var=LIBPATH
   9660   ;;
   9661 
   9662 osf3* | osf4* | osf5*)
   9663   version_type=osf
   9664   need_lib_prefix=no
   9665   need_version=no
   9666   soname_spec='${libname}${release}${shared_ext}$major'
   9667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9668   shlibpath_var=LD_LIBRARY_PATH
   9669   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9670   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9671   ;;
   9672 
   9673 rdos*)
   9674   dynamic_linker=no
   9675   ;;
   9676 
   9677 solaris*)
   9678   version_type=linux
   9679   need_lib_prefix=no
   9680   need_version=no
   9681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9682   soname_spec='${libname}${release}${shared_ext}$major'
   9683   shlibpath_var=LD_LIBRARY_PATH
   9684   shlibpath_overrides_runpath=yes
   9685   hardcode_into_libs=yes
   9686   # ldd complains unless libraries are executable
   9687   postinstall_cmds='chmod +x $lib'
   9688   ;;
   9689 
   9690 sunos4*)
   9691   version_type=sunos
   9692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9693   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9694   shlibpath_var=LD_LIBRARY_PATH
   9695   shlibpath_overrides_runpath=yes
   9696   if test "$with_gnu_ld" = yes; then
   9697     need_lib_prefix=no
   9698   fi
   9699   need_version=yes
   9700   ;;
   9701 
   9702 sysv4 | sysv4.3*)
   9703   version_type=linux
   9704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9705   soname_spec='${libname}${release}${shared_ext}$major'
   9706   shlibpath_var=LD_LIBRARY_PATH
   9707   case $host_vendor in
   9708     sni)
   9709       shlibpath_overrides_runpath=no
   9710       need_lib_prefix=no
   9711       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9712       runpath_var=LD_RUN_PATH
   9713       ;;
   9714     siemens)
   9715       need_lib_prefix=no
   9716       ;;
   9717     motorola)
   9718       need_lib_prefix=no
   9719       need_version=no
   9720       shlibpath_overrides_runpath=no
   9721       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9722       ;;
   9723   esac
   9724   ;;
   9725 
   9726 sysv4*MP*)
   9727   if test -d /usr/nec ;then
   9728     version_type=linux
   9729     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9730     soname_spec='$libname${shared_ext}.$major'
   9731     shlibpath_var=LD_LIBRARY_PATH
   9732   fi
   9733   ;;
   9734 
   9735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9736   version_type=freebsd-elf
   9737   need_lib_prefix=no
   9738   need_version=no
   9739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9740   soname_spec='${libname}${release}${shared_ext}$major'
   9741   shlibpath_var=LD_LIBRARY_PATH
   9742   hardcode_into_libs=yes
   9743   if test "$with_gnu_ld" = yes; then
   9744     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9745     shlibpath_overrides_runpath=no
   9746   else
   9747     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9748     shlibpath_overrides_runpath=yes
   9749     case $host_os in
   9750       sco3.2v5*)
   9751         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9752 	;;
   9753     esac
   9754   fi
   9755   sys_lib_dlsearch_path_spec='/usr/lib'
   9756   ;;
   9757 
   9758 uts4*)
   9759   version_type=linux
   9760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9761   soname_spec='${libname}${release}${shared_ext}$major'
   9762   shlibpath_var=LD_LIBRARY_PATH
   9763   ;;
   9764 
   9765 *)
   9766   dynamic_linker=no
   9767   ;;
   9768 esac
   9769 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9770 $as_echo "$dynamic_linker" >&6; }
   9771 test "$dynamic_linker" = no && can_build_shared=no
   9772 
   9773 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9774   $as_echo_n "(cached) " >&6
   9775 else
   9776   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9777 fi
   9778 
   9779 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9780 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9781   $as_echo_n "(cached) " >&6
   9782 else
   9783   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9784 fi
   9785 
   9786 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9787 
   9788 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9789 if test "$GCC" = yes; then
   9790   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9791 fi
   9792 
   9793 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9795 hardcode_action=
   9796 if test -n "$hardcode_libdir_flag_spec" || \
   9797    test -n "$runpath_var" || \
   9798    test "X$hardcode_automatic" = "Xyes" ; then
   9799 
   9800   # We can hardcode non-existant directories.
   9801   if test "$hardcode_direct" != no &&
   9802      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9803      # have to relink, otherwise we might link with an installed library
   9804      # when we should be linking with a yet-to-be-installed one
   9805      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9806      test "$hardcode_minus_L" != no; then
   9807     # Linking always hardcodes the temporary library directory.
   9808     hardcode_action=relink
   9809   else
   9810     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9811     hardcode_action=immediate
   9812   fi
   9813 else
   9814   # We cannot hardcode anything, or else we can only hardcode existing
   9815   # directories.
   9816   hardcode_action=unsupported
   9817 fi
   9818 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9819 $as_echo "$hardcode_action" >&6; }
   9820 
   9821 if test "$hardcode_action" = relink; then
   9822   # Fast installation is not supported
   9823   enable_fast_install=no
   9824 elif test "$shlibpath_overrides_runpath" = yes ||
   9825      test "$enable_shared" = no; then
   9826   # Fast installation is not necessary
   9827   enable_fast_install=needless
   9828 fi
   9829 
   9830 striplib=
   9831 old_striplib=
   9832 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9834 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9835   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9836   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9837   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9838 $as_echo "yes" >&6; }
   9839 else
   9840 # FIXME - insert some real tests, host_os isn't really good enough
   9841   case $host_os in
   9842    darwin*)
   9843        if test -n "$STRIP" ; then
   9844          striplib="$STRIP -x"
   9845          old_striplib="$STRIP -S"
   9846          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9847 $as_echo "yes" >&6; }
   9848        else
   9849   { $as_echo "$as_me:$LINENO: result: no" >&5
   9850 $as_echo "no" >&6; }
   9851 fi
   9852        ;;
   9853    *)
   9854   { $as_echo "$as_me:$LINENO: result: no" >&5
   9855 $as_echo "no" >&6; }
   9856     ;;
   9857   esac
   9858 fi
   9859 
   9860 if test "x$enable_dlopen" != xyes; then
   9861   enable_dlopen=unknown
   9862   enable_dlopen_self=unknown
   9863   enable_dlopen_self_static=unknown
   9864 else
   9865   lt_cv_dlopen=no
   9866   lt_cv_dlopen_libs=
   9867 
   9868   case $host_os in
   9869   beos*)
   9870     lt_cv_dlopen="load_add_on"
   9871     lt_cv_dlopen_libs=
   9872     lt_cv_dlopen_self=yes
   9873     ;;
   9874 
   9875   mingw* | pw32*)
   9876     lt_cv_dlopen="LoadLibrary"
   9877     lt_cv_dlopen_libs=
   9878    ;;
   9879 
   9880   cygwin*)
   9881     lt_cv_dlopen="dlopen"
   9882     lt_cv_dlopen_libs=
   9883    ;;
   9884 
   9885   darwin*)
   9886   # if libdl is installed we need to link against it
   9887     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9888 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9889 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9890   $as_echo_n "(cached) " >&6
   9891 else
   9892   ac_check_lib_save_LIBS=$LIBS
   9893 LIBS="-ldl  $LIBS"
   9894 cat >conftest.$ac_ext <<_ACEOF
   9895 /* confdefs.h.  */
   9896 _ACEOF
   9897 cat confdefs.h >>conftest.$ac_ext
   9898 cat >>conftest.$ac_ext <<_ACEOF
   9899 /* end confdefs.h.  */
   9900 
   9901 /* Override any GCC internal prototype to avoid an error.
   9902    Use char because int might match the return type of a GCC
   9903    builtin and then its argument prototype would still apply.  */
   9904 #ifdef __cplusplus
   9905 extern "C"
   9906 #endif
   9907 char dlopen ();
   9908 int
   9909 main ()
   9910 {
   9911 return dlopen ();
   9912   ;
   9913   return 0;
   9914 }
   9915 _ACEOF
   9916 rm -f conftest.$ac_objext conftest$ac_exeext
   9917 if { (ac_try="$ac_link"
   9918 case "(($ac_try" in
   9919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9920   *) ac_try_echo=$ac_try;;
   9921 esac
   9922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9923 $as_echo "$ac_try_echo") >&5
   9924   (eval "$ac_link") 2>conftest.er1
   9925   ac_status=$?
   9926   grep -v '^ *+' conftest.er1 >conftest.err
   9927   rm -f conftest.er1
   9928   cat conftest.err >&5
   9929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9930   (exit $ac_status); } && {
   9931 	 test -z "$ac_c_werror_flag" ||
   9932 	 test ! -s conftest.err
   9933        } && test -s conftest$ac_exeext && {
   9934 	 test "$cross_compiling" = yes ||
   9935 	 $as_test_x conftest$ac_exeext
   9936        }; then
   9937   ac_cv_lib_dl_dlopen=yes
   9938 else
   9939   $as_echo "$as_me: failed program was:" >&5
   9940 sed 's/^/| /' conftest.$ac_ext >&5
   9941 
   9942 	ac_cv_lib_dl_dlopen=no
   9943 fi
   9944 
   9945 rm -rf conftest.dSYM
   9946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9947       conftest$ac_exeext conftest.$ac_ext
   9948 LIBS=$ac_check_lib_save_LIBS
   9949 fi
   9950 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9951 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9952 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9953   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9954 else
   9955 
   9956     lt_cv_dlopen="dyld"
   9957     lt_cv_dlopen_libs=
   9958     lt_cv_dlopen_self=yes
   9959 
   9960 fi
   9961 
   9962    ;;
   9963 
   9964   *)
   9965     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9966 $as_echo_n "checking for shl_load... " >&6; }
   9967 if test "${ac_cv_func_shl_load+set}" = set; then
   9968   $as_echo_n "(cached) " >&6
   9969 else
   9970   cat >conftest.$ac_ext <<_ACEOF
   9971 /* confdefs.h.  */
   9972 _ACEOF
   9973 cat confdefs.h >>conftest.$ac_ext
   9974 cat >>conftest.$ac_ext <<_ACEOF
   9975 /* end confdefs.h.  */
   9976 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9978 #define shl_load innocuous_shl_load
   9979 
   9980 /* System header to define __stub macros and hopefully few prototypes,
   9981     which can conflict with char shl_load (); below.
   9982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9983     <limits.h> exists even on freestanding compilers.  */
   9984 
   9985 #ifdef __STDC__
   9986 # include <limits.h>
   9987 #else
   9988 # include <assert.h>
   9989 #endif
   9990 
   9991 #undef shl_load
   9992 
   9993 /* Override any GCC internal prototype to avoid an error.
   9994    Use char because int might match the return type of a GCC
   9995    builtin and then its argument prototype would still apply.  */
   9996 #ifdef __cplusplus
   9997 extern "C"
   9998 #endif
   9999 char shl_load ();
   10000 /* The GNU C library defines this for functions which it implements
   10001     to always fail with ENOSYS.  Some functions are actually named
   10002     something starting with __ and the normal name is an alias.  */
   10003 #if defined __stub_shl_load || defined __stub___shl_load
   10004 choke me
   10005 #endif
   10006 
   10007 int
   10008 main ()
   10009 {
   10010 return shl_load ();
   10011   ;
   10012   return 0;
   10013 }
   10014 _ACEOF
   10015 rm -f conftest.$ac_objext conftest$ac_exeext
   10016 if { (ac_try="$ac_link"
   10017 case "(($ac_try" in
   10018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10019   *) ac_try_echo=$ac_try;;
   10020 esac
   10021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10022 $as_echo "$ac_try_echo") >&5
   10023   (eval "$ac_link") 2>conftest.er1
   10024   ac_status=$?
   10025   grep -v '^ *+' conftest.er1 >conftest.err
   10026   rm -f conftest.er1
   10027   cat conftest.err >&5
   10028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10029   (exit $ac_status); } && {
   10030 	 test -z "$ac_c_werror_flag" ||
   10031 	 test ! -s conftest.err
   10032        } && test -s conftest$ac_exeext && {
   10033 	 test "$cross_compiling" = yes ||
   10034 	 $as_test_x conftest$ac_exeext
   10035        }; then
   10036   ac_cv_func_shl_load=yes
   10037 else
   10038   $as_echo "$as_me: failed program was:" >&5
   10039 sed 's/^/| /' conftest.$ac_ext >&5
   10040 
   10041 	ac_cv_func_shl_load=no
   10042 fi
   10043 
   10044 rm -rf conftest.dSYM
   10045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10046       conftest$ac_exeext conftest.$ac_ext
   10047 fi
   10048 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10049 $as_echo "$ac_cv_func_shl_load" >&6; }
   10050 if test "x$ac_cv_func_shl_load" = x""yes; then
   10051   lt_cv_dlopen="shl_load"
   10052 else
   10053   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10054 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10055 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10056   $as_echo_n "(cached) " >&6
   10057 else
   10058   ac_check_lib_save_LIBS=$LIBS
   10059 LIBS="-ldld  $LIBS"
   10060 cat >conftest.$ac_ext <<_ACEOF
   10061 /* confdefs.h.  */
   10062 _ACEOF
   10063 cat confdefs.h >>conftest.$ac_ext
   10064 cat >>conftest.$ac_ext <<_ACEOF
   10065 /* end confdefs.h.  */
   10066 
   10067 /* Override any GCC internal prototype to avoid an error.
   10068    Use char because int might match the return type of a GCC
   10069    builtin and then its argument prototype would still apply.  */
   10070 #ifdef __cplusplus
   10071 extern "C"
   10072 #endif
   10073 char shl_load ();
   10074 int
   10075 main ()
   10076 {
   10077 return shl_load ();
   10078   ;
   10079   return 0;
   10080 }
   10081 _ACEOF
   10082 rm -f conftest.$ac_objext conftest$ac_exeext
   10083 if { (ac_try="$ac_link"
   10084 case "(($ac_try" in
   10085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10086   *) ac_try_echo=$ac_try;;
   10087 esac
   10088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10089 $as_echo "$ac_try_echo") >&5
   10090   (eval "$ac_link") 2>conftest.er1
   10091   ac_status=$?
   10092   grep -v '^ *+' conftest.er1 >conftest.err
   10093   rm -f conftest.er1
   10094   cat conftest.err >&5
   10095   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10096   (exit $ac_status); } && {
   10097 	 test -z "$ac_c_werror_flag" ||
   10098 	 test ! -s conftest.err
   10099        } && test -s conftest$ac_exeext && {
   10100 	 test "$cross_compiling" = yes ||
   10101 	 $as_test_x conftest$ac_exeext
   10102        }; then
   10103   ac_cv_lib_dld_shl_load=yes
   10104 else
   10105   $as_echo "$as_me: failed program was:" >&5
   10106 sed 's/^/| /' conftest.$ac_ext >&5
   10107 
   10108 	ac_cv_lib_dld_shl_load=no
   10109 fi
   10110 
   10111 rm -rf conftest.dSYM
   10112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10113       conftest$ac_exeext conftest.$ac_ext
   10114 LIBS=$ac_check_lib_save_LIBS
   10115 fi
   10116 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10117 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10118 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10119   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10120 else
   10121   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10122 $as_echo_n "checking for dlopen... " >&6; }
   10123 if test "${ac_cv_func_dlopen+set}" = set; then
   10124   $as_echo_n "(cached) " >&6
   10125 else
   10126   cat >conftest.$ac_ext <<_ACEOF
   10127 /* confdefs.h.  */
   10128 _ACEOF
   10129 cat confdefs.h >>conftest.$ac_ext
   10130 cat >>conftest.$ac_ext <<_ACEOF
   10131 /* end confdefs.h.  */
   10132 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10134 #define dlopen innocuous_dlopen
   10135 
   10136 /* System header to define __stub macros and hopefully few prototypes,
   10137     which can conflict with char dlopen (); below.
   10138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10139     <limits.h> exists even on freestanding compilers.  */
   10140 
   10141 #ifdef __STDC__
   10142 # include <limits.h>
   10143 #else
   10144 # include <assert.h>
   10145 #endif
   10146 
   10147 #undef dlopen
   10148 
   10149 /* Override any GCC internal prototype to avoid an error.
   10150    Use char because int might match the return type of a GCC
   10151    builtin and then its argument prototype would still apply.  */
   10152 #ifdef __cplusplus
   10153 extern "C"
   10154 #endif
   10155 char dlopen ();
   10156 /* The GNU C library defines this for functions which it implements
   10157     to always fail with ENOSYS.  Some functions are actually named
   10158     something starting with __ and the normal name is an alias.  */
   10159 #if defined __stub_dlopen || defined __stub___dlopen
   10160 choke me
   10161 #endif
   10162 
   10163 int
   10164 main ()
   10165 {
   10166 return dlopen ();
   10167   ;
   10168   return 0;
   10169 }
   10170 _ACEOF
   10171 rm -f conftest.$ac_objext conftest$ac_exeext
   10172 if { (ac_try="$ac_link"
   10173 case "(($ac_try" in
   10174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10175   *) ac_try_echo=$ac_try;;
   10176 esac
   10177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10178 $as_echo "$ac_try_echo") >&5
   10179   (eval "$ac_link") 2>conftest.er1
   10180   ac_status=$?
   10181   grep -v '^ *+' conftest.er1 >conftest.err
   10182   rm -f conftest.er1
   10183   cat conftest.err >&5
   10184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10185   (exit $ac_status); } && {
   10186 	 test -z "$ac_c_werror_flag" ||
   10187 	 test ! -s conftest.err
   10188        } && test -s conftest$ac_exeext && {
   10189 	 test "$cross_compiling" = yes ||
   10190 	 $as_test_x conftest$ac_exeext
   10191        }; then
   10192   ac_cv_func_dlopen=yes
   10193 else
   10194   $as_echo "$as_me: failed program was:" >&5
   10195 sed 's/^/| /' conftest.$ac_ext >&5
   10196 
   10197 	ac_cv_func_dlopen=no
   10198 fi
   10199 
   10200 rm -rf conftest.dSYM
   10201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10202       conftest$ac_exeext conftest.$ac_ext
   10203 fi
   10204 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10205 $as_echo "$ac_cv_func_dlopen" >&6; }
   10206 if test "x$ac_cv_func_dlopen" = x""yes; then
   10207   lt_cv_dlopen="dlopen"
   10208 else
   10209   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10210 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10212   $as_echo_n "(cached) " >&6
   10213 else
   10214   ac_check_lib_save_LIBS=$LIBS
   10215 LIBS="-ldl  $LIBS"
   10216 cat >conftest.$ac_ext <<_ACEOF
   10217 /* confdefs.h.  */
   10218 _ACEOF
   10219 cat confdefs.h >>conftest.$ac_ext
   10220 cat >>conftest.$ac_ext <<_ACEOF
   10221 /* end confdefs.h.  */
   10222 
   10223 /* Override any GCC internal prototype to avoid an error.
   10224    Use char because int might match the return type of a GCC
   10225    builtin and then its argument prototype would still apply.  */
   10226 #ifdef __cplusplus
   10227 extern "C"
   10228 #endif
   10229 char dlopen ();
   10230 int
   10231 main ()
   10232 {
   10233 return dlopen ();
   10234   ;
   10235   return 0;
   10236 }
   10237 _ACEOF
   10238 rm -f conftest.$ac_objext conftest$ac_exeext
   10239 if { (ac_try="$ac_link"
   10240 case "(($ac_try" in
   10241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10242   *) ac_try_echo=$ac_try;;
   10243 esac
   10244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10245 $as_echo "$ac_try_echo") >&5
   10246   (eval "$ac_link") 2>conftest.er1
   10247   ac_status=$?
   10248   grep -v '^ *+' conftest.er1 >conftest.err
   10249   rm -f conftest.er1
   10250   cat conftest.err >&5
   10251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10252   (exit $ac_status); } && {
   10253 	 test -z "$ac_c_werror_flag" ||
   10254 	 test ! -s conftest.err
   10255        } && test -s conftest$ac_exeext && {
   10256 	 test "$cross_compiling" = yes ||
   10257 	 $as_test_x conftest$ac_exeext
   10258        }; then
   10259   ac_cv_lib_dl_dlopen=yes
   10260 else
   10261   $as_echo "$as_me: failed program was:" >&5
   10262 sed 's/^/| /' conftest.$ac_ext >&5
   10263 
   10264 	ac_cv_lib_dl_dlopen=no
   10265 fi
   10266 
   10267 rm -rf conftest.dSYM
   10268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10269       conftest$ac_exeext conftest.$ac_ext
   10270 LIBS=$ac_check_lib_save_LIBS
   10271 fi
   10272 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10274 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10275   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10276 else
   10277   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10278 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10279 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   ac_check_lib_save_LIBS=$LIBS
   10283 LIBS="-lsvld  $LIBS"
   10284 cat >conftest.$ac_ext <<_ACEOF
   10285 /* confdefs.h.  */
   10286 _ACEOF
   10287 cat confdefs.h >>conftest.$ac_ext
   10288 cat >>conftest.$ac_ext <<_ACEOF
   10289 /* end confdefs.h.  */
   10290 
   10291 /* Override any GCC internal prototype to avoid an error.
   10292    Use char because int might match the return type of a GCC
   10293    builtin and then its argument prototype would still apply.  */
   10294 #ifdef __cplusplus
   10295 extern "C"
   10296 #endif
   10297 char dlopen ();
   10298 int
   10299 main ()
   10300 {
   10301 return dlopen ();
   10302   ;
   10303   return 0;
   10304 }
   10305 _ACEOF
   10306 rm -f conftest.$ac_objext conftest$ac_exeext
   10307 if { (ac_try="$ac_link"
   10308 case "(($ac_try" in
   10309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10310   *) ac_try_echo=$ac_try;;
   10311 esac
   10312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10313 $as_echo "$ac_try_echo") >&5
   10314   (eval "$ac_link") 2>conftest.er1
   10315   ac_status=$?
   10316   grep -v '^ *+' conftest.er1 >conftest.err
   10317   rm -f conftest.er1
   10318   cat conftest.err >&5
   10319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10320   (exit $ac_status); } && {
   10321 	 test -z "$ac_c_werror_flag" ||
   10322 	 test ! -s conftest.err
   10323        } && test -s conftest$ac_exeext && {
   10324 	 test "$cross_compiling" = yes ||
   10325 	 $as_test_x conftest$ac_exeext
   10326        }; then
   10327   ac_cv_lib_svld_dlopen=yes
   10328 else
   10329   $as_echo "$as_me: failed program was:" >&5
   10330 sed 's/^/| /' conftest.$ac_ext >&5
   10331 
   10332 	ac_cv_lib_svld_dlopen=no
   10333 fi
   10334 
   10335 rm -rf conftest.dSYM
   10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10337       conftest$ac_exeext conftest.$ac_ext
   10338 LIBS=$ac_check_lib_save_LIBS
   10339 fi
   10340 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10341 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10342 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10343   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10344 else
   10345   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10346 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10347 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10348   $as_echo_n "(cached) " >&6
   10349 else
   10350   ac_check_lib_save_LIBS=$LIBS
   10351 LIBS="-ldld  $LIBS"
   10352 cat >conftest.$ac_ext <<_ACEOF
   10353 /* confdefs.h.  */
   10354 _ACEOF
   10355 cat confdefs.h >>conftest.$ac_ext
   10356 cat >>conftest.$ac_ext <<_ACEOF
   10357 /* end confdefs.h.  */
   10358 
   10359 /* Override any GCC internal prototype to avoid an error.
   10360    Use char because int might match the return type of a GCC
   10361    builtin and then its argument prototype would still apply.  */
   10362 #ifdef __cplusplus
   10363 extern "C"
   10364 #endif
   10365 char dld_link ();
   10366 int
   10367 main ()
   10368 {
   10369 return dld_link ();
   10370   ;
   10371   return 0;
   10372 }
   10373 _ACEOF
   10374 rm -f conftest.$ac_objext conftest$ac_exeext
   10375 if { (ac_try="$ac_link"
   10376 case "(($ac_try" in
   10377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10378   *) ac_try_echo=$ac_try;;
   10379 esac
   10380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10381 $as_echo "$ac_try_echo") >&5
   10382   (eval "$ac_link") 2>conftest.er1
   10383   ac_status=$?
   10384   grep -v '^ *+' conftest.er1 >conftest.err
   10385   rm -f conftest.er1
   10386   cat conftest.err >&5
   10387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10388   (exit $ac_status); } && {
   10389 	 test -z "$ac_c_werror_flag" ||
   10390 	 test ! -s conftest.err
   10391        } && test -s conftest$ac_exeext && {
   10392 	 test "$cross_compiling" = yes ||
   10393 	 $as_test_x conftest$ac_exeext
   10394        }; then
   10395   ac_cv_lib_dld_dld_link=yes
   10396 else
   10397   $as_echo "$as_me: failed program was:" >&5
   10398 sed 's/^/| /' conftest.$ac_ext >&5
   10399 
   10400 	ac_cv_lib_dld_dld_link=no
   10401 fi
   10402 
   10403 rm -rf conftest.dSYM
   10404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10405       conftest$ac_exeext conftest.$ac_ext
   10406 LIBS=$ac_check_lib_save_LIBS
   10407 fi
   10408 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10409 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10410 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10411   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10412 fi
   10413 
   10414 
   10415 fi
   10416 
   10417 
   10418 fi
   10419 
   10420 
   10421 fi
   10422 
   10423 
   10424 fi
   10425 
   10426 
   10427 fi
   10428 
   10429     ;;
   10430   esac
   10431 
   10432   if test "x$lt_cv_dlopen" != xno; then
   10433     enable_dlopen=yes
   10434   else
   10435     enable_dlopen=no
   10436   fi
   10437 
   10438   case $lt_cv_dlopen in
   10439   dlopen)
   10440     save_CPPFLAGS="$CPPFLAGS"
   10441     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10442 
   10443     save_LDFLAGS="$LDFLAGS"
   10444     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10445 
   10446     save_LIBS="$LIBS"
   10447     LIBS="$lt_cv_dlopen_libs $LIBS"
   10448 
   10449     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10450 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10451 if test "${lt_cv_dlopen_self+set}" = set; then
   10452   $as_echo_n "(cached) " >&6
   10453 else
   10454   	  if test "$cross_compiling" = yes; then :
   10455   lt_cv_dlopen_self=cross
   10456 else
   10457   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10458   lt_status=$lt_dlunknown
   10459   cat > conftest.$ac_ext <<EOF
   10460 #line 10460 "configure"
   10461 #include "confdefs.h"
   10462 
   10463 #if HAVE_DLFCN_H
   10464 #include <dlfcn.h>
   10465 #endif
   10466 
   10467 #include <stdio.h>
   10468 
   10469 #ifdef RTLD_GLOBAL
   10470 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10471 #else
   10472 #  ifdef DL_GLOBAL
   10473 #    define LT_DLGLOBAL		DL_GLOBAL
   10474 #  else
   10475 #    define LT_DLGLOBAL		0
   10476 #  endif
   10477 #endif
   10478 
   10479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10480    find out it does not work in some platform. */
   10481 #ifndef LT_DLLAZY_OR_NOW
   10482 #  ifdef RTLD_LAZY
   10483 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10484 #  else
   10485 #    ifdef DL_LAZY
   10486 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10487 #    else
   10488 #      ifdef RTLD_NOW
   10489 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10490 #      else
   10491 #        ifdef DL_NOW
   10492 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10493 #        else
   10494 #          define LT_DLLAZY_OR_NOW	0
   10495 #        endif
   10496 #      endif
   10497 #    endif
   10498 #  endif
   10499 #endif
   10500 
   10501 #ifdef __cplusplus
   10502 extern "C" void exit (int);
   10503 #endif
   10504 
   10505 void fnord() { int i=42;}
   10506 int main ()
   10507 {
   10508   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10509   int status = $lt_dlunknown;
   10510 
   10511   if (self)
   10512     {
   10513       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10514       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10515       /* dlclose (self); */
   10516     }
   10517   else
   10518     puts (dlerror ());
   10519 
   10520     exit (status);
   10521 }
   10522 EOF
   10523   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10524   (eval $ac_link) 2>&5
   10525   ac_status=$?
   10526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10527   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10528     (./conftest; exit; ) >&5 2>/dev/null
   10529     lt_status=$?
   10530     case x$lt_status in
   10531       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10532       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10533       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10534     esac
   10535   else :
   10536     # compilation failed
   10537     lt_cv_dlopen_self=no
   10538   fi
   10539 fi
   10540 rm -fr conftest*
   10541 
   10542 
   10543 fi
   10544 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10545 $as_echo "$lt_cv_dlopen_self" >&6; }
   10546 
   10547     if test "x$lt_cv_dlopen_self" = xyes; then
   10548       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10549       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10550 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10551 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10552   $as_echo_n "(cached) " >&6
   10553 else
   10554   	  if test "$cross_compiling" = yes; then :
   10555   lt_cv_dlopen_self_static=cross
   10556 else
   10557   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10558   lt_status=$lt_dlunknown
   10559   cat > conftest.$ac_ext <<EOF
   10560 #line 10560 "configure"
   10561 #include "confdefs.h"
   10562 
   10563 #if HAVE_DLFCN_H
   10564 #include <dlfcn.h>
   10565 #endif
   10566 
   10567 #include <stdio.h>
   10568 
   10569 #ifdef RTLD_GLOBAL
   10570 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10571 #else
   10572 #  ifdef DL_GLOBAL
   10573 #    define LT_DLGLOBAL		DL_GLOBAL
   10574 #  else
   10575 #    define LT_DLGLOBAL		0
   10576 #  endif
   10577 #endif
   10578 
   10579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10580    find out it does not work in some platform. */
   10581 #ifndef LT_DLLAZY_OR_NOW
   10582 #  ifdef RTLD_LAZY
   10583 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10584 #  else
   10585 #    ifdef DL_LAZY
   10586 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10587 #    else
   10588 #      ifdef RTLD_NOW
   10589 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10590 #      else
   10591 #        ifdef DL_NOW
   10592 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10593 #        else
   10594 #          define LT_DLLAZY_OR_NOW	0
   10595 #        endif
   10596 #      endif
   10597 #    endif
   10598 #  endif
   10599 #endif
   10600 
   10601 #ifdef __cplusplus
   10602 extern "C" void exit (int);
   10603 #endif
   10604 
   10605 void fnord() { int i=42;}
   10606 int main ()
   10607 {
   10608   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10609   int status = $lt_dlunknown;
   10610 
   10611   if (self)
   10612     {
   10613       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10614       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10615       /* dlclose (self); */
   10616     }
   10617   else
   10618     puts (dlerror ());
   10619 
   10620     exit (status);
   10621 }
   10622 EOF
   10623   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10624   (eval $ac_link) 2>&5
   10625   ac_status=$?
   10626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10627   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10628     (./conftest; exit; ) >&5 2>/dev/null
   10629     lt_status=$?
   10630     case x$lt_status in
   10631       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10632       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10633       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10634     esac
   10635   else :
   10636     # compilation failed
   10637     lt_cv_dlopen_self_static=no
   10638   fi
   10639 fi
   10640 rm -fr conftest*
   10641 
   10642 
   10643 fi
   10644 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10645 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10646     fi
   10647 
   10648     CPPFLAGS="$save_CPPFLAGS"
   10649     LDFLAGS="$save_LDFLAGS"
   10650     LIBS="$save_LIBS"
   10651     ;;
   10652   esac
   10653 
   10654   case $lt_cv_dlopen_self in
   10655   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10656   *) enable_dlopen_self=unknown ;;
   10657   esac
   10658 
   10659   case $lt_cv_dlopen_self_static in
   10660   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10661   *) enable_dlopen_self_static=unknown ;;
   10662   esac
   10663 fi
   10664 
   10665 
   10666 # Report which library types will actually be built
   10667 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10668 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10669 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10670 $as_echo "$can_build_shared" >&6; }
   10671 
   10672 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10673 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10674 test "$can_build_shared" = "no" && enable_shared=no
   10675 
   10676 # On AIX, shared libraries and static libraries use the same namespace, and
   10677 # are all built from PIC.
   10678 case $host_os in
   10679 aix3*)
   10680   test "$enable_shared" = yes && enable_static=no
   10681   if test -n "$RANLIB"; then
   10682     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10683     postinstall_cmds='$RANLIB $lib'
   10684   fi
   10685   ;;
   10686 
   10687 aix[4-9]*)
   10688   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10689     test "$enable_shared" = yes && enable_static=no
   10690   fi
   10691     ;;
   10692 esac
   10693 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10694 $as_echo "$enable_shared" >&6; }
   10695 
   10696 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10697 $as_echo_n "checking whether to build static libraries... " >&6; }
   10698 # Make sure either enable_shared or enable_static is yes.
   10699 test "$enable_shared" = yes || enable_static=yes
   10700 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10701 $as_echo "$enable_static" >&6; }
   10702 
   10703 # The else clause should only fire when bootstrapping the
   10704 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10705 # with your package, and you will get complaints that there are
   10706 # no rules to generate ltmain.sh.
   10707 if test -f "$ltmain"; then
   10708   # See if we are running on zsh, and set the options which allow our commands through
   10709   # without removal of \ escapes.
   10710   if test -n "${ZSH_VERSION+set}" ; then
   10711     setopt NO_GLOB_SUBST
   10712   fi
   10713   # Now quote all the things that may contain metacharacters while being
   10714   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10715   # variables and quote the copies for generation of the libtool script.
   10716   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10717     SED SHELL STRIP \
   10718     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10719     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10720     deplibs_check_method reload_flag reload_cmds need_locks \
   10721     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10722     lt_cv_sys_global_symbol_to_c_name_address \
   10723     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10724     old_postinstall_cmds old_postuninstall_cmds \
   10725     compiler \
   10726     CC \
   10727     LD \
   10728     lt_prog_compiler_wl \
   10729     lt_prog_compiler_pic \
   10730     lt_prog_compiler_static \
   10731     lt_prog_compiler_no_builtin_flag \
   10732     export_dynamic_flag_spec \
   10733     thread_safe_flag_spec \
   10734     whole_archive_flag_spec \
   10735     enable_shared_with_static_runtimes \
   10736     old_archive_cmds \
   10737     old_archive_from_new_cmds \
   10738     predep_objects \
   10739     postdep_objects \
   10740     predeps \
   10741     postdeps \
   10742     compiler_lib_search_path \
   10743     compiler_lib_search_dirs \
   10744     archive_cmds \
   10745     archive_expsym_cmds \
   10746     postinstall_cmds \
   10747     postuninstall_cmds \
   10748     old_archive_from_expsyms_cmds \
   10749     allow_undefined_flag \
   10750     no_undefined_flag \
   10751     export_symbols_cmds \
   10752     hardcode_libdir_flag_spec \
   10753     hardcode_libdir_flag_spec_ld \
   10754     hardcode_libdir_separator \
   10755     hardcode_automatic \
   10756     module_cmds \
   10757     module_expsym_cmds \
   10758     lt_cv_prog_compiler_c_o \
   10759     fix_srcfile_path \
   10760     exclude_expsyms \
   10761     include_expsyms; do
   10762 
   10763     case $var in
   10764     old_archive_cmds | \
   10765     old_archive_from_new_cmds | \
   10766     archive_cmds | \
   10767     archive_expsym_cmds | \
   10768     module_cmds | \
   10769     module_expsym_cmds | \
   10770     old_archive_from_expsyms_cmds | \
   10771     export_symbols_cmds | \
   10772     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10773     postinstall_cmds | postuninstall_cmds | \
   10774     old_postinstall_cmds | old_postuninstall_cmds | \
   10775     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10776       # Double-quote double-evaled strings.
   10777       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10778       ;;
   10779     *)
   10780       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10781       ;;
   10782     esac
   10783   done
   10784 
   10785   case $lt_echo in
   10786   *'\$0 --fallback-echo"')
   10787     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10788     ;;
   10789   esac
   10790 
   10791 cfgfile="${ofile}T"
   10792   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10793   $rm -f "$cfgfile"
   10794   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10795 $as_echo "$as_me: creating $ofile" >&6;}
   10796 
   10797   cat <<__EOF__ >> "$cfgfile"
   10798 #! $SHELL
   10799 
   10800 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10801 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10802 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10803 #
   10804 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10805 # Free Software Foundation, Inc.
   10806 #
   10807 # This file is part of GNU Libtool:
   10808 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10809 #
   10810 # This program is free software; you can redistribute it and/or modify
   10811 # it under the terms of the GNU General Public License as published by
   10812 # the Free Software Foundation; either version 2 of the License, or
   10813 # (at your option) any later version.
   10814 #
   10815 # This program is distributed in the hope that it will be useful, but
   10816 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10817 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10818 # General Public License for more details.
   10819 #
   10820 # You should have received a copy of the GNU General Public License
   10821 # along with this program; if not, write to the Free Software
   10822 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10823 #
   10824 # As a special exception to the GNU General Public License, if you
   10825 # distribute this file as part of a program that contains a
   10826 # configuration script generated by Autoconf, you may include it under
   10827 # the same distribution terms that you use for the rest of that program.
   10828 
   10829 # A sed program that does not truncate output.
   10830 SED=$lt_SED
   10831 
   10832 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10833 Xsed="$SED -e 1s/^X//"
   10834 
   10835 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10836 # if CDPATH is set.
   10837 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10838 
   10839 # The names of the tagged configurations supported by this script.
   10840 available_tags=
   10841 
   10842 # ### BEGIN LIBTOOL CONFIG
   10843 
   10844 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10845 
   10846 # Shell to use when invoking shell scripts.
   10847 SHELL=$lt_SHELL
   10848 
   10849 # Whether or not to build shared libraries.
   10850 build_libtool_libs=$enable_shared
   10851 
   10852 # Whether or not to build static libraries.
   10853 build_old_libs=$enable_static
   10854 
   10855 # Whether or not to add -lc for building shared libraries.
   10856 build_libtool_need_lc=$archive_cmds_need_lc
   10857 
   10858 # Whether or not to disallow shared libs when runtime libs are static
   10859 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10860 
   10861 # Whether or not to optimize for fast installation.
   10862 fast_install=$enable_fast_install
   10863 
   10864 # The host system.
   10865 host_alias=$host_alias
   10866 host=$host
   10867 host_os=$host_os
   10868 
   10869 # The build system.
   10870 build_alias=$build_alias
   10871 build=$build
   10872 build_os=$build_os
   10873 
   10874 # An echo program that does not interpret backslashes.
   10875 echo=$lt_echo
   10876 
   10877 # The archiver.
   10878 AR=$lt_AR
   10879 AR_FLAGS=$lt_AR_FLAGS
   10880 
   10881 # A C compiler.
   10882 LTCC=$lt_LTCC
   10883 
   10884 # LTCC compiler flags.
   10885 LTCFLAGS=$lt_LTCFLAGS
   10886 
   10887 # A language-specific compiler.
   10888 CC=$lt_compiler
   10889 
   10890 # Is the compiler the GNU C compiler?
   10891 with_gcc=$GCC
   10892 
   10893 # An ERE matcher.
   10894 EGREP=$lt_EGREP
   10895 
   10896 # The linker used to build libraries.
   10897 LD=$lt_LD
   10898 
   10899 # Whether we need hard or soft links.
   10900 LN_S=$lt_LN_S
   10901 
   10902 # A BSD-compatible nm program.
   10903 NM=$lt_NM
   10904 
   10905 # A symbol stripping program
   10906 STRIP=$lt_STRIP
   10907 
   10908 # Used to examine libraries when file_magic_cmd begins "file"
   10909 MAGIC_CMD=$MAGIC_CMD
   10910 
   10911 # Used on cygwin: DLL creation program.
   10912 DLLTOOL="$DLLTOOL"
   10913 
   10914 # Used on cygwin: object dumper.
   10915 OBJDUMP="$OBJDUMP"
   10916 
   10917 # Used on cygwin: assembler.
   10918 AS="$AS"
   10919 
   10920 # The name of the directory that contains temporary libtool files.
   10921 objdir=$objdir
   10922 
   10923 # How to create reloadable object files.
   10924 reload_flag=$lt_reload_flag
   10925 reload_cmds=$lt_reload_cmds
   10926 
   10927 # How to pass a linker flag through the compiler.
   10928 wl=$lt_lt_prog_compiler_wl
   10929 
   10930 # Object file suffix (normally "o").
   10931 objext="$ac_objext"
   10932 
   10933 # Old archive suffix (normally "a").
   10934 libext="$libext"
   10935 
   10936 # Shared library suffix (normally ".so").
   10937 shrext_cmds='$shrext_cmds'
   10938 
   10939 # Executable file suffix (normally "").
   10940 exeext="$exeext"
   10941 
   10942 # Additional compiler flags for building library objects.
   10943 pic_flag=$lt_lt_prog_compiler_pic
   10944 pic_mode=$pic_mode
   10945 
   10946 # What is the maximum length of a command?
   10947 max_cmd_len=$lt_cv_sys_max_cmd_len
   10948 
   10949 # Does compiler simultaneously support -c and -o options?
   10950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10951 
   10952 # Must we lock files when doing compilation?
   10953 need_locks=$lt_need_locks
   10954 
   10955 # Do we need the lib prefix for modules?
   10956 need_lib_prefix=$need_lib_prefix
   10957 
   10958 # Do we need a version for libraries?
   10959 need_version=$need_version
   10960 
   10961 # Whether dlopen is supported.
   10962 dlopen_support=$enable_dlopen
   10963 
   10964 # Whether dlopen of programs is supported.
   10965 dlopen_self=$enable_dlopen_self
   10966 
   10967 # Whether dlopen of statically linked programs is supported.
   10968 dlopen_self_static=$enable_dlopen_self_static
   10969 
   10970 # Compiler flag to prevent dynamic linking.
   10971 link_static_flag=$lt_lt_prog_compiler_static
   10972 
   10973 # Compiler flag to turn off builtin functions.
   10974 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10975 
   10976 # Compiler flag to allow reflexive dlopens.
   10977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10978 
   10979 # Compiler flag to generate shared objects directly from archives.
   10980 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10981 
   10982 # Compiler flag to generate thread-safe objects.
   10983 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10984 
   10985 # Library versioning type.
   10986 version_type=$version_type
   10987 
   10988 # Format of library name prefix.
   10989 libname_spec=$lt_libname_spec
   10990 
   10991 # List of archive names.  First name is the real one, the rest are links.
   10992 # The last name is the one that the linker finds with -lNAME.
   10993 library_names_spec=$lt_library_names_spec
   10994 
   10995 # The coded name of the library, if different from the real name.
   10996 soname_spec=$lt_soname_spec
   10997 
   10998 # Commands used to build and install an old-style archive.
   10999 RANLIB=$lt_RANLIB
   11000 old_archive_cmds=$lt_old_archive_cmds
   11001 old_postinstall_cmds=$lt_old_postinstall_cmds
   11002 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11003 
   11004 # Create an old-style archive from a shared archive.
   11005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11006 
   11007 # Create a temporary old-style archive to link instead of a shared archive.
   11008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11009 
   11010 # Commands used to build and install a shared archive.
   11011 archive_cmds=$lt_archive_cmds
   11012 archive_expsym_cmds=$lt_archive_expsym_cmds
   11013 postinstall_cmds=$lt_postinstall_cmds
   11014 postuninstall_cmds=$lt_postuninstall_cmds
   11015 
   11016 # Commands used to build a loadable module (assumed same as above if empty)
   11017 module_cmds=$lt_module_cmds
   11018 module_expsym_cmds=$lt_module_expsym_cmds
   11019 
   11020 # Commands to strip libraries.
   11021 old_striplib=$lt_old_striplib
   11022 striplib=$lt_striplib
   11023 
   11024 # Dependencies to place before the objects being linked to create a
   11025 # shared library.
   11026 predep_objects=$lt_predep_objects
   11027 
   11028 # Dependencies to place after the objects being linked to create a
   11029 # shared library.
   11030 postdep_objects=$lt_postdep_objects
   11031 
   11032 # Dependencies to place before the objects being linked to create a
   11033 # shared library.
   11034 predeps=$lt_predeps
   11035 
   11036 # Dependencies to place after the objects being linked to create a
   11037 # shared library.
   11038 postdeps=$lt_postdeps
   11039 
   11040 # The directories searched by this compiler when creating a shared
   11041 # library
   11042 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11043 
   11044 # The library search path used internally by the compiler when linking
   11045 # a shared library.
   11046 compiler_lib_search_path=$lt_compiler_lib_search_path
   11047 
   11048 # Method to check whether dependent libraries are shared objects.
   11049 deplibs_check_method=$lt_deplibs_check_method
   11050 
   11051 # Command to use when deplibs_check_method == file_magic.
   11052 file_magic_cmd=$lt_file_magic_cmd
   11053 
   11054 # Flag that allows shared libraries with undefined symbols to be built.
   11055 allow_undefined_flag=$lt_allow_undefined_flag
   11056 
   11057 # Flag that forces no undefined symbols.
   11058 no_undefined_flag=$lt_no_undefined_flag
   11059 
   11060 # Commands used to finish a libtool library installation in a directory.
   11061 finish_cmds=$lt_finish_cmds
   11062 
   11063 # Same as above, but a single script fragment to be evaled but not shown.
   11064 finish_eval=$lt_finish_eval
   11065 
   11066 # Take the output of nm and produce a listing of raw symbols and C names.
   11067 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11068 
   11069 # Transform the output of nm in a proper C declaration
   11070 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11071 
   11072 # Transform the output of nm in a C name address pair
   11073 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11074 
   11075 # This is the shared library runtime path variable.
   11076 runpath_var=$runpath_var
   11077 
   11078 # This is the shared library path variable.
   11079 shlibpath_var=$shlibpath_var
   11080 
   11081 # Is shlibpath searched before the hard-coded library search path?
   11082 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11083 
   11084 # How to hardcode a shared library path into an executable.
   11085 hardcode_action=$hardcode_action
   11086 
   11087 # Whether we should hardcode library paths into libraries.
   11088 hardcode_into_libs=$hardcode_into_libs
   11089 
   11090 # Flag to hardcode \$libdir into a binary during linking.
   11091 # This must work even if \$libdir does not exist.
   11092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11093 
   11094 # If ld is used when linking, flag to hardcode \$libdir into
   11095 # a binary during linking. This must work even if \$libdir does
   11096 # not exist.
   11097 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11098 
   11099 # Whether we need a single -rpath flag with a separated argument.
   11100 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11101 
   11102 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11103 # resulting binary.
   11104 hardcode_direct=$hardcode_direct
   11105 
   11106 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11107 # resulting binary.
   11108 hardcode_minus_L=$hardcode_minus_L
   11109 
   11110 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11111 # the resulting binary.
   11112 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11113 
   11114 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11115 # and all subsequent libraries and executables linked against it.
   11116 hardcode_automatic=$hardcode_automatic
   11117 
   11118 # Variables whose values should be saved in libtool wrapper scripts and
   11119 # restored at relink time.
   11120 variables_saved_for_relink="$variables_saved_for_relink"
   11121 
   11122 # Whether libtool must link a program against all its dependency libraries.
   11123 link_all_deplibs=$link_all_deplibs
   11124 
   11125 # Compile-time system search path for libraries
   11126 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11127 
   11128 # Run-time system search path for libraries
   11129 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11130 
   11131 # Fix the shell variable \$srcfile for the compiler.
   11132 fix_srcfile_path=$lt_fix_srcfile_path
   11133 
   11134 # Set to yes if exported symbols are required.
   11135 always_export_symbols=$always_export_symbols
   11136 
   11137 # The commands to list exported symbols.
   11138 export_symbols_cmds=$lt_export_symbols_cmds
   11139 
   11140 # The commands to extract the exported symbol list from a shared archive.
   11141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11142 
   11143 # Symbols that should not be listed in the preloaded symbols.
   11144 exclude_expsyms=$lt_exclude_expsyms
   11145 
   11146 # Symbols that must always be exported.
   11147 include_expsyms=$lt_include_expsyms
   11148 
   11149 # ### END LIBTOOL CONFIG
   11150 
   11151 __EOF__
   11152 
   11153 
   11154   case $host_os in
   11155   aix3*)
   11156     cat <<\EOF >> "$cfgfile"
   11157 
   11158 # AIX sometimes has problems with the GCC collect2 program.  For some
   11159 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11160 # vanish in a puff of smoke.
   11161 if test "X${COLLECT_NAMES+set}" != Xset; then
   11162   COLLECT_NAMES=
   11163   export COLLECT_NAMES
   11164 fi
   11165 EOF
   11166     ;;
   11167   esac
   11168 
   11169   # We use sed instead of cat because bash on DJGPP gets confused if
   11170   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11171   # text mode, it properly converts lines to CR/LF.  This bash problem
   11172   # is reportedly fixed, but why not run on old versions too?
   11173   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11174 
   11175   mv -f "$cfgfile" "$ofile" || \
   11176     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11177   chmod +x "$ofile"
   11178 
   11179 else
   11180   # If there is no Makefile yet, we rely on a make rule to execute
   11181   # `config.status --recheck' to rerun these tests and create the
   11182   # libtool script then.
   11183   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11184   if test -f "$ltmain_in"; then
   11185     test -f Makefile && make "$ltmain"
   11186   fi
   11187 fi
   11188 
   11189 
   11190 ac_ext=c
   11191 ac_cpp='$CPP $CPPFLAGS'
   11192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11195 
   11196 CC="$lt_save_CC"
   11197 
   11198 
   11199 # Check whether --with-tags was given.
   11200 if test "${with_tags+set}" = set; then
   11201   withval=$with_tags; tagnames="$withval"
   11202 fi
   11203 
   11204 
   11205 if test -f "$ltmain" && test -n "$tagnames"; then
   11206   if test ! -f "${ofile}"; then
   11207     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11208 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11209   fi
   11210 
   11211   if test -z "$LTCC"; then
   11212     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11213     if test -z "$LTCC"; then
   11214       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11215 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11216     else
   11217       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11218 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11219     fi
   11220   fi
   11221   if test -z "$LTCFLAGS"; then
   11222     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11223   fi
   11224 
   11225   # Extract list of available tagged configurations in $ofile.
   11226   # Note that this assumes the entire list is on one line.
   11227   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11228 
   11229   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11230   for tagname in $tagnames; do
   11231     IFS="$lt_save_ifs"
   11232     # Check whether tagname contains only valid characters
   11233     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11234     "") ;;
   11235     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11236 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11237    { (exit 1); exit 1; }; }
   11238 	;;
   11239     esac
   11240 
   11241     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11242     then
   11243       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11244 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11245    { (exit 1); exit 1; }; }
   11246     fi
   11247 
   11248     # Update the list of available tags.
   11249     if test -n "$tagname"; then
   11250       echo appending configuration tag \"$tagname\" to $ofile
   11251 
   11252       case $tagname in
   11253       CXX)
   11254 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11255 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11256 	    (test "X$CXX" != "Xg++"))) ; then
   11257 	  ac_ext=cpp
   11258 ac_cpp='$CXXCPP $CPPFLAGS'
   11259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11262 
   11263 
   11264 
   11265 
   11266 archive_cmds_need_lc_CXX=no
   11267 allow_undefined_flag_CXX=
   11268 always_export_symbols_CXX=no
   11269 archive_expsym_cmds_CXX=
   11270 export_dynamic_flag_spec_CXX=
   11271 hardcode_direct_CXX=no
   11272 hardcode_libdir_flag_spec_CXX=
   11273 hardcode_libdir_flag_spec_ld_CXX=
   11274 hardcode_libdir_separator_CXX=
   11275 hardcode_minus_L_CXX=no
   11276 hardcode_shlibpath_var_CXX=unsupported
   11277 hardcode_automatic_CXX=no
   11278 module_cmds_CXX=
   11279 module_expsym_cmds_CXX=
   11280 link_all_deplibs_CXX=unknown
   11281 old_archive_cmds_CXX=$old_archive_cmds
   11282 no_undefined_flag_CXX=
   11283 whole_archive_flag_spec_CXX=
   11284 enable_shared_with_static_runtimes_CXX=no
   11285 
   11286 # Dependencies to place before and after the object being linked:
   11287 predep_objects_CXX=
   11288 postdep_objects_CXX=
   11289 predeps_CXX=
   11290 postdeps_CXX=
   11291 compiler_lib_search_path_CXX=
   11292 compiler_lib_search_dirs_CXX=
   11293 
   11294 # Source file extension for C++ test sources.
   11295 ac_ext=cpp
   11296 
   11297 # Object file extension for compiled C++ test sources.
   11298 objext=o
   11299 objext_CXX=$objext
   11300 
   11301 # Code to be used in simple compile tests
   11302 lt_simple_compile_test_code="int some_variable = 0;"
   11303 
   11304 # Code to be used in simple link tests
   11305 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11306 
   11307 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11308 
   11309 # If no C compiler was specified, use CC.
   11310 LTCC=${LTCC-"$CC"}
   11311 
   11312 # If no C compiler flags were specified, use CFLAGS.
   11313 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11314 
   11315 # Allow CC to be a program name with arguments.
   11316 compiler=$CC
   11317 
   11318 
   11319 # save warnings/boilerplate of simple test code
   11320 ac_outfile=conftest.$ac_objext
   11321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11323 _lt_compiler_boilerplate=`cat conftest.err`
   11324 $rm conftest*
   11325 
   11326 ac_outfile=conftest.$ac_objext
   11327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11329 _lt_linker_boilerplate=`cat conftest.err`
   11330 $rm -r conftest*
   11331 
   11332 
   11333 # Allow CC to be a program name with arguments.
   11334 lt_save_CC=$CC
   11335 lt_save_LD=$LD
   11336 lt_save_GCC=$GCC
   11337 GCC=$GXX
   11338 lt_save_with_gnu_ld=$with_gnu_ld
   11339 lt_save_path_LD=$lt_cv_path_LD
   11340 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11341   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11342 else
   11343   $as_unset lt_cv_prog_gnu_ld
   11344 fi
   11345 if test -n "${lt_cv_path_LDCXX+set}"; then
   11346   lt_cv_path_LD=$lt_cv_path_LDCXX
   11347 else
   11348   $as_unset lt_cv_path_LD
   11349 fi
   11350 test -z "${LDCXX+set}" || LD=$LDCXX
   11351 CC=${CXX-"c++"}
   11352 compiler=$CC
   11353 compiler_CXX=$CC
   11354 for cc_temp in $compiler""; do
   11355   case $cc_temp in
   11356     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11357     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11358     \-*) ;;
   11359     *) break;;
   11360   esac
   11361 done
   11362 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11363 
   11364 
   11365 # We don't want -fno-exception wen compiling C++ code, so set the
   11366 # no_builtin_flag separately
   11367 if test "$GXX" = yes; then
   11368   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11369 else
   11370   lt_prog_compiler_no_builtin_flag_CXX=
   11371 fi
   11372 
   11373 if test "$GXX" = yes; then
   11374   # Set up default GNU C++ configuration
   11375 
   11376 
   11377 # Check whether --with-gnu-ld was given.
   11378 if test "${with_gnu_ld+set}" = set; then
   11379   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11380 else
   11381   with_gnu_ld=no
   11382 fi
   11383 
   11384 ac_prog=ld
   11385 if test "$GCC" = yes; then
   11386   # Check if gcc -print-prog-name=ld gives a path.
   11387   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11388 $as_echo_n "checking for ld used by $CC... " >&6; }
   11389   case $host in
   11390   *-*-mingw*)
   11391     # gcc leaves a trailing carriage return which upsets mingw
   11392     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11393   *)
   11394     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11395   esac
   11396   case $ac_prog in
   11397     # Accept absolute paths.
   11398     [\\/]* | ?:[\\/]*)
   11399       re_direlt='/[^/][^/]*/\.\./'
   11400       # Canonicalize the pathname of ld
   11401       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11402       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11403 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11404       done
   11405       test -z "$LD" && LD="$ac_prog"
   11406       ;;
   11407   "")
   11408     # If it fails, then pretend we aren't using GCC.
   11409     ac_prog=ld
   11410     ;;
   11411   *)
   11412     # If it is relative, then search for the first ld in PATH.
   11413     with_gnu_ld=unknown
   11414     ;;
   11415   esac
   11416 elif test "$with_gnu_ld" = yes; then
   11417   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11418 $as_echo_n "checking for GNU ld... " >&6; }
   11419 else
   11420   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11421 $as_echo_n "checking for non-GNU ld... " >&6; }
   11422 fi
   11423 if test "${lt_cv_path_LD+set}" = set; then
   11424   $as_echo_n "(cached) " >&6
   11425 else
   11426   if test -z "$LD"; then
   11427   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11428   for ac_dir in $PATH; do
   11429     IFS="$lt_save_ifs"
   11430     test -z "$ac_dir" && ac_dir=.
   11431     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11432       lt_cv_path_LD="$ac_dir/$ac_prog"
   11433       # Check to see if the program is GNU ld.  I'd rather use --version,
   11434       # but apparently some variants of GNU ld only accept -v.
   11435       # Break only if it was the GNU/non-GNU ld that we prefer.
   11436       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11437       *GNU* | *'with BFD'*)
   11438 	test "$with_gnu_ld" != no && break
   11439 	;;
   11440       *)
   11441 	test "$with_gnu_ld" != yes && break
   11442 	;;
   11443       esac
   11444     fi
   11445   done
   11446   IFS="$lt_save_ifs"
   11447 else
   11448   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11449 fi
   11450 fi
   11451 
   11452 LD="$lt_cv_path_LD"
   11453 if test -n "$LD"; then
   11454   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11455 $as_echo "$LD" >&6; }
   11456 else
   11457   { $as_echo "$as_me:$LINENO: result: no" >&5
   11458 $as_echo "no" >&6; }
   11459 fi
   11460 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11461 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11462    { (exit 1); exit 1; }; }
   11463 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11464 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11465 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11466   $as_echo_n "(cached) " >&6
   11467 else
   11468   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11469 case `$LD -v 2>&1 </dev/null` in
   11470 *GNU* | *'with BFD'*)
   11471   lt_cv_prog_gnu_ld=yes
   11472   ;;
   11473 *)
   11474   lt_cv_prog_gnu_ld=no
   11475   ;;
   11476 esac
   11477 fi
   11478 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11479 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11480 with_gnu_ld=$lt_cv_prog_gnu_ld
   11481 
   11482 
   11483 
   11484   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11485   # archiving commands below assume that GNU ld is being used.
   11486   if test "$with_gnu_ld" = yes; then
   11487     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11488     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11489 
   11490     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11491     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11492 
   11493     # If archive_cmds runs LD, not CC, wlarc should be empty
   11494     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11495     #     investigate it a little bit more. (MM)
   11496     wlarc='${wl}'
   11497 
   11498     # ancient GNU ld didn't support --whole-archive et. al.
   11499     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11500 	grep 'no-whole-archive' > /dev/null; then
   11501       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11502     else
   11503       whole_archive_flag_spec_CXX=
   11504     fi
   11505   else
   11506     with_gnu_ld=no
   11507     wlarc=
   11508 
   11509     # A generic and very simple default shared library creation
   11510     # command for GNU C++ for the case where it uses the native
   11511     # linker, instead of GNU ld.  If possible, this setting should
   11512     # overridden to take advantage of the native linker features on
   11513     # the platform it is being used on.
   11514     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11515   fi
   11516 
   11517   # Commands to make compiler produce verbose output that lists
   11518   # what "hidden" libraries, object files and flags are used when
   11519   # linking a shared library.
   11520   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11521 
   11522 else
   11523   GXX=no
   11524   with_gnu_ld=no
   11525   wlarc=
   11526 fi
   11527 
   11528 # PORTME: fill in a description of your system's C++ link characteristics
   11529 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11530 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11531 ld_shlibs_CXX=yes
   11532 case $host_os in
   11533   aix3*)
   11534     # FIXME: insert proper C++ library support
   11535     ld_shlibs_CXX=no
   11536     ;;
   11537   aix[4-9]*)
   11538     if test "$host_cpu" = ia64; then
   11539       # On IA64, the linker does run time linking by default, so we don't
   11540       # have to do anything special.
   11541       aix_use_runtimelinking=no
   11542       exp_sym_flag='-Bexport'
   11543       no_entry_flag=""
   11544     else
   11545       aix_use_runtimelinking=no
   11546 
   11547       # Test if we are trying to use run time linking or normal
   11548       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11549       # need to do runtime linking.
   11550       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11551 	for ld_flag in $LDFLAGS; do
   11552 	  case $ld_flag in
   11553 	  *-brtl*)
   11554 	    aix_use_runtimelinking=yes
   11555 	    break
   11556 	    ;;
   11557 	  esac
   11558 	done
   11559 	;;
   11560       esac
   11561 
   11562       exp_sym_flag='-bexport'
   11563       no_entry_flag='-bnoentry'
   11564     fi
   11565 
   11566     # When large executables or shared objects are built, AIX ld can
   11567     # have problems creating the table of contents.  If linking a library
   11568     # or program results in "error TOC overflow" add -mminimal-toc to
   11569     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11570     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11571 
   11572     archive_cmds_CXX=''
   11573     hardcode_direct_CXX=yes
   11574     hardcode_libdir_separator_CXX=':'
   11575     link_all_deplibs_CXX=yes
   11576 
   11577     if test "$GXX" = yes; then
   11578       case $host_os in aix4.[012]|aix4.[012].*)
   11579       # We only want to do this on AIX 4.2 and lower, the check
   11580       # below for broken collect2 doesn't work under 4.3+
   11581 	collect2name=`${CC} -print-prog-name=collect2`
   11582 	if test -f "$collect2name" && \
   11583 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11584 	then
   11585 	  # We have reworked collect2
   11586 	  :
   11587 	else
   11588 	  # We have old collect2
   11589 	  hardcode_direct_CXX=unsupported
   11590 	  # It fails to find uninstalled libraries when the uninstalled
   11591 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11592 	  # to unsupported forces relinking
   11593 	  hardcode_minus_L_CXX=yes
   11594 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11595 	  hardcode_libdir_separator_CXX=
   11596 	fi
   11597 	;;
   11598       esac
   11599       shared_flag='-shared'
   11600       if test "$aix_use_runtimelinking" = yes; then
   11601 	shared_flag="$shared_flag "'${wl}-G'
   11602       fi
   11603     else
   11604       # not using gcc
   11605       if test "$host_cpu" = ia64; then
   11606 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11607 	# chokes on -Wl,-G. The following line is correct:
   11608 	shared_flag='-G'
   11609       else
   11610 	if test "$aix_use_runtimelinking" = yes; then
   11611 	  shared_flag='${wl}-G'
   11612 	else
   11613 	  shared_flag='${wl}-bM:SRE'
   11614 	fi
   11615       fi
   11616     fi
   11617 
   11618     # It seems that -bexpall does not export symbols beginning with
   11619     # underscore (_), so it is better to generate a list of symbols to export.
   11620     always_export_symbols_CXX=yes
   11621     if test "$aix_use_runtimelinking" = yes; then
   11622       # Warning - without using the other runtime loading flags (-brtl),
   11623       # -berok will link without error, but may produce a broken library.
   11624       allow_undefined_flag_CXX='-berok'
   11625       # Determine the default libpath from the value encoded in an empty executable.
   11626       cat >conftest.$ac_ext <<_ACEOF
   11627 /* confdefs.h.  */
   11628 _ACEOF
   11629 cat confdefs.h >>conftest.$ac_ext
   11630 cat >>conftest.$ac_ext <<_ACEOF
   11631 /* end confdefs.h.  */
   11632 
   11633 int
   11634 main ()
   11635 {
   11636 
   11637   ;
   11638   return 0;
   11639 }
   11640 _ACEOF
   11641 rm -f conftest.$ac_objext conftest$ac_exeext
   11642 if { (ac_try="$ac_link"
   11643 case "(($ac_try" in
   11644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11645   *) ac_try_echo=$ac_try;;
   11646 esac
   11647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11648 $as_echo "$ac_try_echo") >&5
   11649   (eval "$ac_link") 2>conftest.er1
   11650   ac_status=$?
   11651   grep -v '^ *+' conftest.er1 >conftest.err
   11652   rm -f conftest.er1
   11653   cat conftest.err >&5
   11654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11655   (exit $ac_status); } && {
   11656 	 test -z "$ac_cxx_werror_flag" ||
   11657 	 test ! -s conftest.err
   11658        } && test -s conftest$ac_exeext && {
   11659 	 test "$cross_compiling" = yes ||
   11660 	 $as_test_x conftest$ac_exeext
   11661        }; then
   11662 
   11663 lt_aix_libpath_sed='
   11664     /Import File Strings/,/^$/ {
   11665 	/^0/ {
   11666 	    s/^0  *\(.*\)$/\1/
   11667 	    p
   11668 	}
   11669     }'
   11670 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11671 # Check for a 64-bit object if we didn't find anything.
   11672 if test -z "$aix_libpath"; then
   11673   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11674 fi
   11675 else
   11676   $as_echo "$as_me: failed program was:" >&5
   11677 sed 's/^/| /' conftest.$ac_ext >&5
   11678 
   11679 
   11680 fi
   11681 
   11682 rm -rf conftest.dSYM
   11683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11684       conftest$ac_exeext conftest.$ac_ext
   11685 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11686 
   11687       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11688 
   11689       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11690      else
   11691       if test "$host_cpu" = ia64; then
   11692 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11693 	allow_undefined_flag_CXX="-z nodefs"
   11694 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   11695       else
   11696 	# Determine the default libpath from the value encoded in an empty executable.
   11697 	cat >conftest.$ac_ext <<_ACEOF
   11698 /* confdefs.h.  */
   11699 _ACEOF
   11700 cat confdefs.h >>conftest.$ac_ext
   11701 cat >>conftest.$ac_ext <<_ACEOF
   11702 /* end confdefs.h.  */
   11703 
   11704 int
   11705 main ()
   11706 {
   11707 
   11708   ;
   11709   return 0;
   11710 }
   11711 _ACEOF
   11712 rm -f conftest.$ac_objext conftest$ac_exeext
   11713 if { (ac_try="$ac_link"
   11714 case "(($ac_try" in
   11715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11716   *) ac_try_echo=$ac_try;;
   11717 esac
   11718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11719 $as_echo "$ac_try_echo") >&5
   11720   (eval "$ac_link") 2>conftest.er1
   11721   ac_status=$?
   11722   grep -v '^ *+' conftest.er1 >conftest.err
   11723   rm -f conftest.er1
   11724   cat conftest.err >&5
   11725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11726   (exit $ac_status); } && {
   11727 	 test -z "$ac_cxx_werror_flag" ||
   11728 	 test ! -s conftest.err
   11729        } && test -s conftest$ac_exeext && {
   11730 	 test "$cross_compiling" = yes ||
   11731 	 $as_test_x conftest$ac_exeext
   11732        }; then
   11733 
   11734 lt_aix_libpath_sed='
   11735     /Import File Strings/,/^$/ {
   11736 	/^0/ {
   11737 	    s/^0  *\(.*\)$/\1/
   11738 	    p
   11739 	}
   11740     }'
   11741 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11742 # Check for a 64-bit object if we didn't find anything.
   11743 if test -z "$aix_libpath"; then
   11744   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11745 fi
   11746 else
   11747   $as_echo "$as_me: failed program was:" >&5
   11748 sed 's/^/| /' conftest.$ac_ext >&5
   11749 
   11750 
   11751 fi
   11752 
   11753 rm -rf conftest.dSYM
   11754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11755       conftest$ac_exeext conftest.$ac_ext
   11756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11757 
   11758 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11759 	# Warning - without using the other run time loading flags,
   11760 	# -berok will link without error, but may produce a broken library.
   11761 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11762 	allow_undefined_flag_CXX=' ${wl}-berok'
   11763 	# Exported symbols can be pulled into shared objects from archives
   11764 	whole_archive_flag_spec_CXX='$convenience'
   11765 	archive_cmds_need_lc_CXX=yes
   11766 	# This is similar to how AIX traditionally builds its shared libraries.
   11767 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   11768       fi
   11769     fi
   11770     ;;
   11771 
   11772   beos*)
   11773     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11774       allow_undefined_flag_CXX=unsupported
   11775       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11776       # support --undefined.  This deserves some investigation.  FIXME
   11777       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11778     else
   11779       ld_shlibs_CXX=no
   11780     fi
   11781     ;;
   11782 
   11783   chorus*)
   11784     case $cc_basename in
   11785       *)
   11786 	# FIXME: insert proper C++ library support
   11787 	ld_shlibs_CXX=no
   11788 	;;
   11789     esac
   11790     ;;
   11791 
   11792   cygwin* | mingw* | pw32*)
   11793     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11794     # as there is no search path for DLLs.
   11795     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11796     allow_undefined_flag_CXX=unsupported
   11797     always_export_symbols_CXX=no
   11798     enable_shared_with_static_runtimes_CXX=yes
   11799 
   11800     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11801       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11802       # If the export-symbols file already is a .def file (1st line
   11803       # is EXPORTS), use it as is; otherwise, prepend...
   11804       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11805 	cp $export_symbols $output_objdir/$soname.def;
   11806       else
   11807 	echo EXPORTS > $output_objdir/$soname.def;
   11808 	cat $export_symbols >> $output_objdir/$soname.def;
   11809       fi~
   11810       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11811     else
   11812       ld_shlibs_CXX=no
   11813     fi
   11814   ;;
   11815       darwin* | rhapsody*)
   11816       archive_cmds_need_lc_CXX=no
   11817       hardcode_direct_CXX=no
   11818       hardcode_automatic_CXX=yes
   11819       hardcode_shlibpath_var_CXX=unsupported
   11820       whole_archive_flag_spec_CXX=''
   11821       link_all_deplibs_CXX=yes
   11822       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11823       if test "$GXX" = yes ; then
   11824       output_verbose_link_cmd='echo'
   11825       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11826       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11827       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11828       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11829       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11830         archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   11831         archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   11832       fi
   11833       else
   11834       case $cc_basename in
   11835         xlc*)
   11836          output_verbose_link_cmd='echo'
   11837           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11838           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11839           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11840           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11841           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11842           ;;
   11843        *)
   11844          ld_shlibs_CXX=no
   11845           ;;
   11846       esac
   11847       fi
   11848         ;;
   11849 
   11850   dgux*)
   11851     case $cc_basename in
   11852       ec++*)
   11853 	# FIXME: insert proper C++ library support
   11854 	ld_shlibs_CXX=no
   11855 	;;
   11856       ghcx*)
   11857 	# Green Hills C++ Compiler
   11858 	# FIXME: insert proper C++ library support
   11859 	ld_shlibs_CXX=no
   11860 	;;
   11861       *)
   11862 	# FIXME: insert proper C++ library support
   11863 	ld_shlibs_CXX=no
   11864 	;;
   11865     esac
   11866     ;;
   11867   freebsd[12]*)
   11868     # C++ shared libraries reported to be fairly broken before switch to ELF
   11869     ld_shlibs_CXX=no
   11870     ;;
   11871   freebsd-elf*)
   11872     archive_cmds_need_lc_CXX=no
   11873     ;;
   11874   freebsd* | dragonfly*)
   11875     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11876     # conventions
   11877     ld_shlibs_CXX=yes
   11878     ;;
   11879   gnu*)
   11880     ;;
   11881   hpux9*)
   11882     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11883     hardcode_libdir_separator_CXX=:
   11884     export_dynamic_flag_spec_CXX='${wl}-E'
   11885     hardcode_direct_CXX=yes
   11886     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11887 				# but as the default
   11888 				# location of the library.
   11889 
   11890     case $cc_basename in
   11891     CC*)
   11892       # FIXME: insert proper C++ library support
   11893       ld_shlibs_CXX=no
   11894       ;;
   11895     aCC*)
   11896       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11897       # Commands to make compiler produce verbose output that lists
   11898       # what "hidden" libraries, object files and flags are used when
   11899       # linking a shared library.
   11900       #
   11901       # There doesn't appear to be a way to prevent this compiler from
   11902       # explicitly linking system object files so we need to strip them
   11903       # from the output so that they don't get included in the library
   11904       # dependencies.
   11905       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11906       ;;
   11907     *)
   11908       if test "$GXX" = yes; then
   11909         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11910       else
   11911         # FIXME: insert proper C++ library support
   11912         ld_shlibs_CXX=no
   11913       fi
   11914       ;;
   11915     esac
   11916     ;;
   11917   hpux10*|hpux11*)
   11918     if test $with_gnu_ld = no; then
   11919       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11920       hardcode_libdir_separator_CXX=:
   11921 
   11922       case $host_cpu in
   11923       hppa*64*|ia64*) ;;
   11924       *)
   11925 	export_dynamic_flag_spec_CXX='${wl}-E'
   11926         ;;
   11927       esac
   11928     fi
   11929     case $host_cpu in
   11930     hppa*64*|ia64*)
   11931       hardcode_direct_CXX=no
   11932       hardcode_shlibpath_var_CXX=no
   11933       ;;
   11934     *)
   11935       hardcode_direct_CXX=yes
   11936       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11937 					      # but as the default
   11938 					      # location of the library.
   11939       ;;
   11940     esac
   11941 
   11942     case $cc_basename in
   11943       CC*)
   11944 	# FIXME: insert proper C++ library support
   11945 	ld_shlibs_CXX=no
   11946 	;;
   11947       aCC*)
   11948 	case $host_cpu in
   11949 	hppa*64*)
   11950 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11951 	  ;;
   11952 	ia64*)
   11953 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11954 	  ;;
   11955 	*)
   11956 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11957 	  ;;
   11958 	esac
   11959 	# Commands to make compiler produce verbose output that lists
   11960 	# what "hidden" libraries, object files and flags are used when
   11961 	# linking a shared library.
   11962 	#
   11963 	# There doesn't appear to be a way to prevent this compiler from
   11964 	# explicitly linking system object files so we need to strip them
   11965 	# from the output so that they don't get included in the library
   11966 	# dependencies.
   11967 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   11968 	;;
   11969       *)
   11970 	if test "$GXX" = yes; then
   11971 	  if test $with_gnu_ld = no; then
   11972 	    case $host_cpu in
   11973 	    hppa*64*)
   11974 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11975 	      ;;
   11976 	    ia64*)
   11977 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11978 	      ;;
   11979 	    *)
   11980 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11981 	      ;;
   11982 	    esac
   11983 	  fi
   11984 	else
   11985 	  # FIXME: insert proper C++ library support
   11986 	  ld_shlibs_CXX=no
   11987 	fi
   11988 	;;
   11989     esac
   11990     ;;
   11991   interix[3-9]*)
   11992     hardcode_direct_CXX=no
   11993     hardcode_shlibpath_var_CXX=no
   11994     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11995     export_dynamic_flag_spec_CXX='${wl}-E'
   11996     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11997     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11998     # default) and relocated if they conflict, which is a slow very memory
   11999     # consuming and fragmenting process.  To avoid this, we pick a random,
   12000     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12001     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12002     archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   12003     archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   12004     ;;
   12005   irix5* | irix6*)
   12006     case $cc_basename in
   12007       CC*)
   12008 	# SGI C++
   12009 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12010 
   12011 	# Archives containing C++ object files must be created using
   12012 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12013 	# necessary to make sure instantiated templates are included
   12014 	# in the archive.
   12015 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12016 	;;
   12017       *)
   12018 	if test "$GXX" = yes; then
   12019 	  if test "$with_gnu_ld" = no; then
   12020 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12021 	  else
   12022 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   12023 	  fi
   12024 	fi
   12025 	link_all_deplibs_CXX=yes
   12026 	;;
   12027     esac
   12028     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12029     hardcode_libdir_separator_CXX=:
   12030     ;;
   12031   linux* | k*bsd*-gnu)
   12032     case $cc_basename in
   12033       KCC*)
   12034 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12035 
   12036 	# KCC will only create a shared library if the output file
   12037 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12038 	# to its proper name (with version) after linking.
   12039 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12040 	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   12041 	# Commands to make compiler produce verbose output that lists
   12042 	# what "hidden" libraries, object files and flags are used when
   12043 	# linking a shared library.
   12044 	#
   12045 	# There doesn't appear to be a way to prevent this compiler from
   12046 	# explicitly linking system object files so we need to strip them
   12047 	# from the output so that they don't get included in the library
   12048 	# dependencies.
   12049 	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12050 
   12051 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12052 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12053 
   12054 	# Archives containing C++ object files must be created using
   12055 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12056 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12057 	;;
   12058       icpc*)
   12059 	# Intel C++
   12060 	with_gnu_ld=yes
   12061 	# version 8.0 and above of icpc choke on multiply defined symbols
   12062 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12063 	# earlier do not add the objects themselves.
   12064 	case `$CC -V 2>&1` in
   12065 	*"Version 7."*)
   12066   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12067   	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12068 	  ;;
   12069 	*)  # Version 8.0 or newer
   12070 	  tmp_idyn=
   12071 	  case $host_cpu in
   12072 	    ia64*) tmp_idyn=' -i_dynamic';;
   12073 	  esac
   12074   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12075 	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12076 	  ;;
   12077 	esac
   12078 	archive_cmds_need_lc_CXX=no
   12079 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12080 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12081 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12082 	;;
   12083       pgCC* | pgcpp*)
   12084         # Portland Group C++ compiler
   12085 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12086   	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12087 
   12088 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12089 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12090 	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12091         ;;
   12092       cxx*)
   12093 	# Compaq C++
   12094 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12095 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   12096 
   12097 	runpath_var=LD_RUN_PATH
   12098 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12099 	hardcode_libdir_separator_CXX=:
   12100 
   12101 	# Commands to make compiler produce verbose output that lists
   12102 	# what "hidden" libraries, object files and flags are used when
   12103 	# linking a shared library.
   12104 	#
   12105 	# There doesn't appear to be a way to prevent this compiler from
   12106 	# explicitly linking system object files so we need to strip them
   12107 	# from the output so that they don't get included in the library
   12108 	# dependencies.
   12109 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12110 	;;
   12111       *)
   12112 	case `$CC -V 2>&1 | sed 5q` in
   12113 	*Sun\ C*)
   12114 	  # Sun C++ 5.9
   12115 	  no_undefined_flag_CXX=' -zdefs'
   12116 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12117 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12118 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12119 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12120 
   12121 	  # Not sure whether something based on
   12122 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12123 	  # would be better.
   12124 	  output_verbose_link_cmd='echo'
   12125 
   12126 	  # Archives containing C++ object files must be created using
   12127 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12128 	  # necessary to make sure instantiated templates are included
   12129 	  # in the archive.
   12130 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12131 	  ;;
   12132 	esac
   12133 	;;
   12134     esac
   12135     ;;
   12136   lynxos*)
   12137     # FIXME: insert proper C++ library support
   12138     ld_shlibs_CXX=no
   12139     ;;
   12140   m88k*)
   12141     # FIXME: insert proper C++ library support
   12142     ld_shlibs_CXX=no
   12143     ;;
   12144   mvs*)
   12145     case $cc_basename in
   12146       cxx*)
   12147 	# FIXME: insert proper C++ library support
   12148 	ld_shlibs_CXX=no
   12149 	;;
   12150       *)
   12151 	# FIXME: insert proper C++ library support
   12152 	ld_shlibs_CXX=no
   12153 	;;
   12154     esac
   12155     ;;
   12156   netbsd*)
   12157     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12158       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12159       wlarc=
   12160       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12161       hardcode_direct_CXX=yes
   12162       hardcode_shlibpath_var_CXX=no
   12163     fi
   12164     # Workaround some broken pre-1.5 toolchains
   12165     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12166     ;;
   12167   openbsd2*)
   12168     # C++ shared libraries are fairly broken
   12169     ld_shlibs_CXX=no
   12170     ;;
   12171   openbsd*)
   12172     if test -f /usr/libexec/ld.so; then
   12173       hardcode_direct_CXX=yes
   12174       hardcode_shlibpath_var_CXX=no
   12175       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12176       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12177       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12178 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12179 	export_dynamic_flag_spec_CXX='${wl}-E'
   12180 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12181       fi
   12182       output_verbose_link_cmd='echo'
   12183     else
   12184       ld_shlibs_CXX=no
   12185     fi
   12186     ;;
   12187   osf3*)
   12188     case $cc_basename in
   12189       KCC*)
   12190 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12191 
   12192 	# KCC will only create a shared library if the output file
   12193 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12194 	# to its proper name (with version) after linking.
   12195 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12196 
   12197 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12198 	hardcode_libdir_separator_CXX=:
   12199 
   12200 	# Archives containing C++ object files must be created using
   12201 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12202 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12203 
   12204 	;;
   12205       RCC*)
   12206 	# Rational C++ 2.4.1
   12207 	# FIXME: insert proper C++ library support
   12208 	ld_shlibs_CXX=no
   12209 	;;
   12210       cxx*)
   12211 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12212 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12213 
   12214 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12215 	hardcode_libdir_separator_CXX=:
   12216 
   12217 	# Commands to make compiler produce verbose output that lists
   12218 	# what "hidden" libraries, object files and flags are used when
   12219 	# linking a shared library.
   12220 	#
   12221 	# There doesn't appear to be a way to prevent this compiler from
   12222 	# explicitly linking system object files so we need to strip them
   12223 	# from the output so that they don't get included in the library
   12224 	# dependencies.
   12225 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12226 	;;
   12227       *)
   12228 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12229 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12230 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12231 
   12232 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12233 	  hardcode_libdir_separator_CXX=:
   12234 
   12235 	  # Commands to make compiler produce verbose output that lists
   12236 	  # what "hidden" libraries, object files and flags are used when
   12237 	  # linking a shared library.
   12238 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12239 
   12240 	else
   12241 	  # FIXME: insert proper C++ library support
   12242 	  ld_shlibs_CXX=no
   12243 	fi
   12244 	;;
   12245     esac
   12246     ;;
   12247   osf4* | osf5*)
   12248     case $cc_basename in
   12249       KCC*)
   12250 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12251 
   12252 	# KCC will only create a shared library if the output file
   12253 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12254 	# to its proper name (with version) after linking.
   12255 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12256 
   12257 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12258 	hardcode_libdir_separator_CXX=:
   12259 
   12260 	# Archives containing C++ object files must be created using
   12261 	# the KAI C++ compiler.
   12262 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12263 	;;
   12264       RCC*)
   12265 	# Rational C++ 2.4.1
   12266 	# FIXME: insert proper C++ library support
   12267 	ld_shlibs_CXX=no
   12268 	;;
   12269       cxx*)
   12270 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12271 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   12272 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12273 	  echo "-hidden">> $lib.exp~
   12274 	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
   12275 	  $rm $lib.exp'
   12276 
   12277 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12278 	hardcode_libdir_separator_CXX=:
   12279 
   12280 	# Commands to make compiler produce verbose output that lists
   12281 	# what "hidden" libraries, object files and flags are used when
   12282 	# linking a shared library.
   12283 	#
   12284 	# There doesn't appear to be a way to prevent this compiler from
   12285 	# explicitly linking system object files so we need to strip them
   12286 	# from the output so that they don't get included in the library
   12287 	# dependencies.
   12288 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   12289 	;;
   12290       *)
   12291 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12292 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12293 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12294 
   12295 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12296 	  hardcode_libdir_separator_CXX=:
   12297 
   12298 	  # Commands to make compiler produce verbose output that lists
   12299 	  # what "hidden" libraries, object files and flags are used when
   12300 	  # linking a shared library.
   12301 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12302 
   12303 	else
   12304 	  # FIXME: insert proper C++ library support
   12305 	  ld_shlibs_CXX=no
   12306 	fi
   12307 	;;
   12308     esac
   12309     ;;
   12310   psos*)
   12311     # FIXME: insert proper C++ library support
   12312     ld_shlibs_CXX=no
   12313     ;;
   12314   sunos4*)
   12315     case $cc_basename in
   12316       CC*)
   12317 	# Sun C++ 4.x
   12318 	# FIXME: insert proper C++ library support
   12319 	ld_shlibs_CXX=no
   12320 	;;
   12321       lcc*)
   12322 	# Lucid
   12323 	# FIXME: insert proper C++ library support
   12324 	ld_shlibs_CXX=no
   12325 	;;
   12326       *)
   12327 	# FIXME: insert proper C++ library support
   12328 	ld_shlibs_CXX=no
   12329 	;;
   12330     esac
   12331     ;;
   12332   solaris*)
   12333     case $cc_basename in
   12334       CC*)
   12335 	# Sun C++ 4.2, 5.x and Centerline C++
   12336         archive_cmds_need_lc_CXX=yes
   12337 	no_undefined_flag_CXX=' -zdefs'
   12338 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12339 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12340 	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12341 
   12342 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12343 	hardcode_shlibpath_var_CXX=no
   12344 	case $host_os in
   12345 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12346 	  *)
   12347 	    # The compiler driver will combine and reorder linker options,
   12348 	    # but understands `-z linker_flag'.
   12349 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12350 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12351 	    ;;
   12352 	esac
   12353 	link_all_deplibs_CXX=yes
   12354 
   12355 	output_verbose_link_cmd='echo'
   12356 
   12357 	# Archives containing C++ object files must be created using
   12358 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12359 	# necessary to make sure instantiated templates are included
   12360 	# in the archive.
   12361 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12362 	;;
   12363       gcx*)
   12364 	# Green Hills C++ Compiler
   12365 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12366 
   12367 	# The C++ compiler must be used to create the archive.
   12368 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12369 	;;
   12370       *)
   12371 	# GNU C++ compiler with Solaris linker
   12372 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12373 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12374 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12375 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12376 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12377 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12378 
   12379 	    # Commands to make compiler produce verbose output that lists
   12380 	    # what "hidden" libraries, object files and flags are used when
   12381 	    # linking a shared library.
   12382 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12383 	  else
   12384 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12385 	    # platform.
   12386 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12387 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12388 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12389 
   12390 	    # Commands to make compiler produce verbose output that lists
   12391 	    # what "hidden" libraries, object files and flags are used when
   12392 	    # linking a shared library.
   12393 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12394 	  fi
   12395 
   12396 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12397 	  case $host_os in
   12398 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12399 	  *)
   12400 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12401 	    ;;
   12402 	  esac
   12403 	fi
   12404 	;;
   12405     esac
   12406     ;;
   12407   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12408     no_undefined_flag_CXX='${wl}-z,text'
   12409     archive_cmds_need_lc_CXX=no
   12410     hardcode_shlibpath_var_CXX=no
   12411     runpath_var='LD_RUN_PATH'
   12412 
   12413     case $cc_basename in
   12414       CC*)
   12415 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12416 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12417 	;;
   12418       *)
   12419 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12420 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12421 	;;
   12422     esac
   12423     ;;
   12424   sysv5* | sco3.2v5* | sco5v6*)
   12425     # Note: We can NOT use -z defs as we might desire, because we do not
   12426     # link with -lc, and that would cause any symbols used from libc to
   12427     # always be unresolved, which means just about no library would
   12428     # ever link correctly.  If we're not using GNU ld we use -z text
   12429     # though, which does catch some bad symbols but isn't as heavy-handed
   12430     # as -z defs.
   12431     # For security reasons, it is highly recommended that you always
   12432     # use absolute paths for naming shared libraries, and exclude the
   12433     # DT_RUNPATH tag from executables and libraries.  But doing so
   12434     # requires that you compile everything twice, which is a pain.
   12435     # So that behaviour is only enabled if SCOABSPATH is set to a
   12436     # non-empty value in the environment.  Most likely only useful for
   12437     # creating official distributions of packages.
   12438     # This is a hack until libtool officially supports absolute path
   12439     # names for shared libraries.
   12440     no_undefined_flag_CXX='${wl}-z,text'
   12441     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12442     archive_cmds_need_lc_CXX=no
   12443     hardcode_shlibpath_var_CXX=no
   12444     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12445     hardcode_libdir_separator_CXX=':'
   12446     link_all_deplibs_CXX=yes
   12447     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12448     runpath_var='LD_RUN_PATH'
   12449 
   12450     case $cc_basename in
   12451       CC*)
   12452 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12453 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12454 	;;
   12455       *)
   12456 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12457 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12458 	;;
   12459     esac
   12460     ;;
   12461   tandem*)
   12462     case $cc_basename in
   12463       NCC*)
   12464 	# NonStop-UX NCC 3.20
   12465 	# FIXME: insert proper C++ library support
   12466 	ld_shlibs_CXX=no
   12467 	;;
   12468       *)
   12469 	# FIXME: insert proper C++ library support
   12470 	ld_shlibs_CXX=no
   12471 	;;
   12472     esac
   12473     ;;
   12474   vxworks*)
   12475     # FIXME: insert proper C++ library support
   12476     ld_shlibs_CXX=no
   12477     ;;
   12478   *)
   12479     # FIXME: insert proper C++ library support
   12480     ld_shlibs_CXX=no
   12481     ;;
   12482 esac
   12483 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12484 $as_echo "$ld_shlibs_CXX" >&6; }
   12485 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12486 
   12487 GCC_CXX="$GXX"
   12488 LD_CXX="$LD"
   12489 
   12490 cat > conftest.$ac_ext <<EOF
   12491 class Foo
   12492 {
   12493 public:
   12494   Foo (void) { a = 0; }
   12495 private:
   12496   int a;
   12497 };
   12498 EOF
   12499 
   12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12501   (eval $ac_compile) 2>&5
   12502   ac_status=$?
   12503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12504   (exit $ac_status); }; then
   12505   # Parse the compiler output and extract the necessary
   12506   # objects, libraries and library flags.
   12507 
   12508   # Sentinel used to keep track of whether or not we are before
   12509   # the conftest object file.
   12510   pre_test_object_deps_done=no
   12511 
   12512   # The `*' in the case matches for architectures that use `case' in
   12513   # $output_verbose_cmd can trigger glob expansion during the loop
   12514   # eval without this substitution.
   12515   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12516 
   12517   for p in `eval $output_verbose_link_cmd`; do
   12518     case $p in
   12519 
   12520     -L* | -R* | -l*)
   12521        # Some compilers place space between "-{L,R}" and the path.
   12522        # Remove the space.
   12523        if test $p = "-L" \
   12524 	  || test $p = "-R"; then
   12525 	 prev=$p
   12526 	 continue
   12527        else
   12528 	 prev=
   12529        fi
   12530 
   12531        if test "$pre_test_object_deps_done" = no; then
   12532 	 case $p in
   12533 	 -L* | -R*)
   12534 	   # Internal compiler library paths should come after those
   12535 	   # provided the user.  The postdeps already come after the
   12536 	   # user supplied libs so there is no need to process them.
   12537 	   if test -z "$compiler_lib_search_path_CXX"; then
   12538 	     compiler_lib_search_path_CXX="${prev}${p}"
   12539 	   else
   12540 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12541 	   fi
   12542 	   ;;
   12543 	 # The "-l" case would never come before the object being
   12544 	 # linked, so don't bother handling this case.
   12545 	 esac
   12546        else
   12547 	 if test -z "$postdeps_CXX"; then
   12548 	   postdeps_CXX="${prev}${p}"
   12549 	 else
   12550 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12551 	 fi
   12552        fi
   12553        ;;
   12554 
   12555     *.$objext)
   12556        # This assumes that the test object file only shows up
   12557        # once in the compiler output.
   12558        if test "$p" = "conftest.$objext"; then
   12559 	 pre_test_object_deps_done=yes
   12560 	 continue
   12561        fi
   12562 
   12563        if test "$pre_test_object_deps_done" = no; then
   12564 	 if test -z "$predep_objects_CXX"; then
   12565 	   predep_objects_CXX="$p"
   12566 	 else
   12567 	   predep_objects_CXX="$predep_objects_CXX $p"
   12568 	 fi
   12569        else
   12570 	 if test -z "$postdep_objects_CXX"; then
   12571 	   postdep_objects_CXX="$p"
   12572 	 else
   12573 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12574 	 fi
   12575        fi
   12576        ;;
   12577 
   12578     *) ;; # Ignore the rest.
   12579 
   12580     esac
   12581   done
   12582 
   12583   # Clean up.
   12584   rm -f a.out a.exe
   12585 else
   12586   echo "libtool.m4: error: problem compiling CXX test program"
   12587 fi
   12588 
   12589 $rm -f confest.$objext
   12590 
   12591 compiler_lib_search_dirs_CXX=
   12592 if test -n "$compiler_lib_search_path_CXX"; then
   12593   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12594 fi
   12595 
   12596 # PORTME: override above test on systems where it is broken
   12597 case $host_os in
   12598 interix[3-9]*)
   12599   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12600   # hack all around it, let's just trust "g++" to DTRT.
   12601   predep_objects_CXX=
   12602   postdep_objects_CXX=
   12603   postdeps_CXX=
   12604   ;;
   12605 
   12606 linux*)
   12607   case `$CC -V 2>&1 | sed 5q` in
   12608   *Sun\ C*)
   12609     # Sun C++ 5.9
   12610     #
   12611     # The more standards-conforming stlport4 library is
   12612     # incompatible with the Cstd library. Avoid specifying
   12613     # it if it's in CXXFLAGS. Ignore libCrun as
   12614     # -library=stlport4 depends on it.
   12615     case " $CXX $CXXFLAGS " in
   12616     *" -library=stlport4 "*)
   12617       solaris_use_stlport4=yes
   12618       ;;
   12619     esac
   12620     if test "$solaris_use_stlport4" != yes; then
   12621       postdeps_CXX='-library=Cstd -library=Crun'
   12622     fi
   12623     ;;
   12624   esac
   12625   ;;
   12626 
   12627 solaris*)
   12628   case $cc_basename in
   12629   CC*)
   12630     # The more standards-conforming stlport4 library is
   12631     # incompatible with the Cstd library. Avoid specifying
   12632     # it if it's in CXXFLAGS. Ignore libCrun as
   12633     # -library=stlport4 depends on it.
   12634     case " $CXX $CXXFLAGS " in
   12635     *" -library=stlport4 "*)
   12636       solaris_use_stlport4=yes
   12637       ;;
   12638     esac
   12639 
   12640     # Adding this requires a known-good setup of shared libraries for
   12641     # Sun compiler versions before 5.6, else PIC objects from an old
   12642     # archive will be linked into the output, leading to subtle bugs.
   12643     if test "$solaris_use_stlport4" != yes; then
   12644       postdeps_CXX='-library=Cstd -library=Crun'
   12645     fi
   12646     ;;
   12647   esac
   12648   ;;
   12649 esac
   12650 
   12651 case " $postdeps_CXX " in
   12652 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12653 esac
   12654 
   12655 lt_prog_compiler_wl_CXX=
   12656 lt_prog_compiler_pic_CXX=
   12657 lt_prog_compiler_static_CXX=
   12658 
   12659 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12660 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12661 
   12662   # C++ specific cases for pic, static, wl, etc.
   12663   if test "$GXX" = yes; then
   12664     lt_prog_compiler_wl_CXX='-Wl,'
   12665     lt_prog_compiler_static_CXX='-static'
   12666 
   12667     case $host_os in
   12668     aix*)
   12669       # All AIX code is PIC.
   12670       if test "$host_cpu" = ia64; then
   12671 	# AIX 5 now supports IA64 processor
   12672 	lt_prog_compiler_static_CXX='-Bstatic'
   12673       fi
   12674       ;;
   12675     amigaos*)
   12676       # FIXME: we need at least 68020 code to build shared libraries, but
   12677       # adding the `-m68020' flag to GCC prevents building anything better,
   12678       # like `-m68040'.
   12679       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12680       ;;
   12681     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12682       # PIC is the default for these OSes.
   12683       ;;
   12684     mingw* | cygwin* | os2* | pw32*)
   12685       # This hack is so that the source file can tell whether it is being
   12686       # built for inclusion in a dll (and should export symbols for example).
   12687       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12688       # (--disable-auto-import) libraries
   12689       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12690       ;;
   12691     darwin* | rhapsody*)
   12692       # PIC is the default on this platform
   12693       # Common symbols not allowed in MH_DYLIB files
   12694       lt_prog_compiler_pic_CXX='-fno-common'
   12695       ;;
   12696     *djgpp*)
   12697       # DJGPP does not support shared libraries at all
   12698       lt_prog_compiler_pic_CXX=
   12699       ;;
   12700     interix[3-9]*)
   12701       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12702       # Instead, we relocate shared libraries at runtime.
   12703       ;;
   12704     sysv4*MP*)
   12705       if test -d /usr/nec; then
   12706 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12707       fi
   12708       ;;
   12709     hpux*)
   12710       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12711       # not for PA HP-UX.
   12712       case $host_cpu in
   12713       hppa*64*|ia64*)
   12714 	;;
   12715       *)
   12716 	lt_prog_compiler_pic_CXX='-fPIC'
   12717 	;;
   12718       esac
   12719       ;;
   12720     *)
   12721       lt_prog_compiler_pic_CXX='-fPIC'
   12722       ;;
   12723     esac
   12724   else
   12725     case $host_os in
   12726       aix[4-9]*)
   12727 	# All AIX code is PIC.
   12728 	if test "$host_cpu" = ia64; then
   12729 	  # AIX 5 now supports IA64 processor
   12730 	  lt_prog_compiler_static_CXX='-Bstatic'
   12731 	else
   12732 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12733 	fi
   12734 	;;
   12735       chorus*)
   12736 	case $cc_basename in
   12737 	cxch68*)
   12738 	  # Green Hills C++ Compiler
   12739 	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   12740 	  ;;
   12741 	esac
   12742 	;;
   12743        darwin*)
   12744          # PIC is the default on this platform
   12745          # Common symbols not allowed in MH_DYLIB files
   12746          case $cc_basename in
   12747            xlc*)
   12748            lt_prog_compiler_pic_CXX='-qnocommon'
   12749            lt_prog_compiler_wl_CXX='-Wl,'
   12750            ;;
   12751          esac
   12752        ;;
   12753       dgux*)
   12754 	case $cc_basename in
   12755 	  ec++*)
   12756 	    lt_prog_compiler_pic_CXX='-KPIC'
   12757 	    ;;
   12758 	  ghcx*)
   12759 	    # Green Hills C++ Compiler
   12760 	    lt_prog_compiler_pic_CXX='-pic'
   12761 	    ;;
   12762 	  *)
   12763 	    ;;
   12764 	esac
   12765 	;;
   12766       freebsd* | dragonfly*)
   12767 	# FreeBSD uses GNU C++
   12768 	;;
   12769       hpux9* | hpux10* | hpux11*)
   12770 	case $cc_basename in
   12771 	  CC*)
   12772 	    lt_prog_compiler_wl_CXX='-Wl,'
   12773 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12774 	    if test "$host_cpu" != ia64; then
   12775 	      lt_prog_compiler_pic_CXX='+Z'
   12776 	    fi
   12777 	    ;;
   12778 	  aCC*)
   12779 	    lt_prog_compiler_wl_CXX='-Wl,'
   12780 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12781 	    case $host_cpu in
   12782 	    hppa*64*|ia64*)
   12783 	      # +Z the default
   12784 	      ;;
   12785 	    *)
   12786 	      lt_prog_compiler_pic_CXX='+Z'
   12787 	      ;;
   12788 	    esac
   12789 	    ;;
   12790 	  *)
   12791 	    ;;
   12792 	esac
   12793 	;;
   12794       interix*)
   12795 	# This is c89, which is MS Visual C++ (no shared libs)
   12796 	# Anyone wants to do a port?
   12797 	;;
   12798       irix5* | irix6* | nonstopux*)
   12799 	case $cc_basename in
   12800 	  CC*)
   12801 	    lt_prog_compiler_wl_CXX='-Wl,'
   12802 	    lt_prog_compiler_static_CXX='-non_shared'
   12803 	    # CC pic flag -KPIC is the default.
   12804 	    ;;
   12805 	  *)
   12806 	    ;;
   12807 	esac
   12808 	;;
   12809       linux* | k*bsd*-gnu)
   12810 	case $cc_basename in
   12811 	  KCC*)
   12812 	    # KAI C++ Compiler
   12813 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12814 	    lt_prog_compiler_pic_CXX='-fPIC'
   12815 	    ;;
   12816 	  icpc* | ecpc*)
   12817 	    # Intel C++
   12818 	    lt_prog_compiler_wl_CXX='-Wl,'
   12819 	    lt_prog_compiler_pic_CXX='-KPIC'
   12820 	    lt_prog_compiler_static_CXX='-static'
   12821 	    ;;
   12822 	  pgCC* | pgcpp*)
   12823 	    # Portland Group C++ compiler.
   12824 	    lt_prog_compiler_wl_CXX='-Wl,'
   12825 	    lt_prog_compiler_pic_CXX='-fpic'
   12826 	    lt_prog_compiler_static_CXX='-Bstatic'
   12827 	    ;;
   12828 	  cxx*)
   12829 	    # Compaq C++
   12830 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12831 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12832 	    lt_prog_compiler_pic_CXX=
   12833 	    lt_prog_compiler_static_CXX='-non_shared'
   12834 	    ;;
   12835 	  *)
   12836 	    case `$CC -V 2>&1 | sed 5q` in
   12837 	    *Sun\ C*)
   12838 	      # Sun C++ 5.9
   12839 	      lt_prog_compiler_pic_CXX='-KPIC'
   12840 	      lt_prog_compiler_static_CXX='-Bstatic'
   12841 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12842 	      ;;
   12843 	    esac
   12844 	    ;;
   12845 	esac
   12846 	;;
   12847       lynxos*)
   12848 	;;
   12849       m88k*)
   12850 	;;
   12851       mvs*)
   12852 	case $cc_basename in
   12853 	  cxx*)
   12854 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12855 	    ;;
   12856 	  *)
   12857 	    ;;
   12858 	esac
   12859 	;;
   12860       netbsd*)
   12861 	;;
   12862       osf3* | osf4* | osf5*)
   12863 	case $cc_basename in
   12864 	  KCC*)
   12865 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12866 	    ;;
   12867 	  RCC*)
   12868 	    # Rational C++ 2.4.1
   12869 	    lt_prog_compiler_pic_CXX='-pic'
   12870 	    ;;
   12871 	  cxx*)
   12872 	    # Digital/Compaq C++
   12873 	    lt_prog_compiler_wl_CXX='-Wl,'
   12874 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12875 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12876 	    lt_prog_compiler_pic_CXX=
   12877 	    lt_prog_compiler_static_CXX='-non_shared'
   12878 	    ;;
   12879 	  *)
   12880 	    ;;
   12881 	esac
   12882 	;;
   12883       psos*)
   12884 	;;
   12885       solaris*)
   12886 	case $cc_basename in
   12887 	  CC*)
   12888 	    # Sun C++ 4.2, 5.x and Centerline C++
   12889 	    lt_prog_compiler_pic_CXX='-KPIC'
   12890 	    lt_prog_compiler_static_CXX='-Bstatic'
   12891 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12892 	    ;;
   12893 	  gcx*)
   12894 	    # Green Hills C++ Compiler
   12895 	    lt_prog_compiler_pic_CXX='-PIC'
   12896 	    ;;
   12897 	  *)
   12898 	    ;;
   12899 	esac
   12900 	;;
   12901       sunos4*)
   12902 	case $cc_basename in
   12903 	  CC*)
   12904 	    # Sun C++ 4.x
   12905 	    lt_prog_compiler_pic_CXX='-pic'
   12906 	    lt_prog_compiler_static_CXX='-Bstatic'
   12907 	    ;;
   12908 	  lcc*)
   12909 	    # Lucid
   12910 	    lt_prog_compiler_pic_CXX='-pic'
   12911 	    ;;
   12912 	  *)
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       tandem*)
   12917 	case $cc_basename in
   12918 	  NCC*)
   12919 	    # NonStop-UX NCC 3.20
   12920 	    lt_prog_compiler_pic_CXX='-KPIC'
   12921 	    ;;
   12922 	  *)
   12923 	    ;;
   12924 	esac
   12925 	;;
   12926       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12927 	case $cc_basename in
   12928 	  CC*)
   12929 	    lt_prog_compiler_wl_CXX='-Wl,'
   12930 	    lt_prog_compiler_pic_CXX='-KPIC'
   12931 	    lt_prog_compiler_static_CXX='-Bstatic'
   12932 	    ;;
   12933 	esac
   12934 	;;
   12935       vxworks*)
   12936 	;;
   12937       *)
   12938 	lt_prog_compiler_can_build_shared_CXX=no
   12939 	;;
   12940     esac
   12941   fi
   12942 
   12943 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12944 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12945 
   12946 #
   12947 # Check to make sure the PIC flag actually works.
   12948 #
   12949 if test -n "$lt_prog_compiler_pic_CXX"; then
   12950 
   12951 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12952 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12953 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12954   $as_echo_n "(cached) " >&6
   12955 else
   12956   lt_cv_prog_compiler_pic_works_CXX=no
   12957   ac_outfile=conftest.$ac_objext
   12958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12959    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12960    # Insert the option either (1) after the last *FLAGS variable, or
   12961    # (2) before a word containing "conftest.", or (3) at the end.
   12962    # Note that $ac_compile itself does not contain backslashes and begins
   12963    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12964    # The option is referenced via a variable to avoid confusing sed.
   12965    lt_compile=`echo "$ac_compile" | $SED \
   12966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12968    -e 's:$: $lt_compiler_flag:'`
   12969    (eval echo "\"\$as_me:12969: $lt_compile\"" >&5)
   12970    (eval "$lt_compile" 2>conftest.err)
   12971    ac_status=$?
   12972    cat conftest.err >&5
   12973    echo "$as_me:12973: \$? = $ac_status" >&5
   12974    if (exit $ac_status) && test -s "$ac_outfile"; then
   12975      # The compiler can only warn and ignore the option if not recognized
   12976      # So say no if there are warnings other than the usual output.
   12977      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12978      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12979      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12980        lt_cv_prog_compiler_pic_works_CXX=yes
   12981      fi
   12982    fi
   12983    $rm conftest*
   12984 
   12985 fi
   12986 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12987 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12988 
   12989 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12990     case $lt_prog_compiler_pic_CXX in
   12991      "" | " "*) ;;
   12992      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12993      esac
   12994 else
   12995     lt_prog_compiler_pic_CXX=
   12996      lt_prog_compiler_can_build_shared_CXX=no
   12997 fi
   12998 
   12999 fi
   13000 case $host_os in
   13001   # For platforms which do not support PIC, -DPIC is meaningless:
   13002   *djgpp*)
   13003     lt_prog_compiler_pic_CXX=
   13004     ;;
   13005   *)
   13006     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13007     ;;
   13008 esac
   13009 
   13010 #
   13011 # Check to make sure the static flag actually works.
   13012 #
   13013 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13014 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13015 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13016 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13017   $as_echo_n "(cached) " >&6
   13018 else
   13019   lt_cv_prog_compiler_static_works_CXX=no
   13020    save_LDFLAGS="$LDFLAGS"
   13021    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13022    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13023    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13024      # The linker can only warn and ignore the option if not recognized
   13025      # So say no if there are warnings
   13026      if test -s conftest.err; then
   13027        # Append any errors to the config.log.
   13028        cat conftest.err 1>&5
   13029        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13030        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13031        if diff conftest.exp conftest.er2 >/dev/null; then
   13032          lt_cv_prog_compiler_static_works_CXX=yes
   13033        fi
   13034      else
   13035        lt_cv_prog_compiler_static_works_CXX=yes
   13036      fi
   13037    fi
   13038    $rm -r conftest*
   13039    LDFLAGS="$save_LDFLAGS"
   13040 
   13041 fi
   13042 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13043 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13044 
   13045 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13046     :
   13047 else
   13048     lt_prog_compiler_static_CXX=
   13049 fi
   13050 
   13051 
   13052 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13053 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13054 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13055   $as_echo_n "(cached) " >&6
   13056 else
   13057   lt_cv_prog_compiler_c_o_CXX=no
   13058    $rm -r conftest 2>/dev/null
   13059    mkdir conftest
   13060    cd conftest
   13061    mkdir out
   13062    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13063 
   13064    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13065    # Insert the option either (1) after the last *FLAGS variable, or
   13066    # (2) before a word containing "conftest.", or (3) at the end.
   13067    # Note that $ac_compile itself does not contain backslashes and begins
   13068    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13069    lt_compile=`echo "$ac_compile" | $SED \
   13070    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13071    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13072    -e 's:$: $lt_compiler_flag:'`
   13073    (eval echo "\"\$as_me:13073: $lt_compile\"" >&5)
   13074    (eval "$lt_compile" 2>out/conftest.err)
   13075    ac_status=$?
   13076    cat out/conftest.err >&5
   13077    echo "$as_me:13077: \$? = $ac_status" >&5
   13078    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13079    then
   13080      # The compiler can only warn and ignore the option if not recognized
   13081      # So say no if there are warnings
   13082      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13083      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13084      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13085        lt_cv_prog_compiler_c_o_CXX=yes
   13086      fi
   13087    fi
   13088    chmod u+w . 2>&5
   13089    $rm conftest*
   13090    # SGI C++ compiler will create directory out/ii_files/ for
   13091    # template instantiation
   13092    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13093    $rm out/* && rmdir out
   13094    cd ..
   13095    rmdir conftest
   13096    $rm conftest*
   13097 
   13098 fi
   13099 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13100 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13101 
   13102 
   13103 hard_links="nottested"
   13104 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13105   # do not overwrite the value of need_locks provided by the user
   13106   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13107 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13108   hard_links=yes
   13109   $rm conftest*
   13110   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13111   touch conftest.a
   13112   ln conftest.a conftest.b 2>&5 || hard_links=no
   13113   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13114   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13115 $as_echo "$hard_links" >&6; }
   13116   if test "$hard_links" = no; then
   13117     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13118 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13119     need_locks=warn
   13120   fi
   13121 else
   13122   need_locks=no
   13123 fi
   13124 
   13125 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13126 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13127 
   13128   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13129   case $host_os in
   13130   aix[4-9]*)
   13131     # If we're using GNU nm, then we don't want the "-C" option.
   13132     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13133     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13134       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13135     else
   13136       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   13137     fi
   13138     ;;
   13139   pw32*)
   13140     export_symbols_cmds_CXX="$ltdll_cmds"
   13141   ;;
   13142   cygwin* | mingw*)
   13143     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   13144   ;;
   13145   *)
   13146     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13147   ;;
   13148   esac
   13149   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13150 
   13151 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13152 $as_echo "$ld_shlibs_CXX" >&6; }
   13153 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13154 
   13155 #
   13156 # Do we need to explicitly link libc?
   13157 #
   13158 case "x$archive_cmds_need_lc_CXX" in
   13159 x|xyes)
   13160   # Assume -lc should be added
   13161   archive_cmds_need_lc_CXX=yes
   13162 
   13163   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13164     case $archive_cmds_CXX in
   13165     *'~'*)
   13166       # FIXME: we may have to deal with multi-command sequences.
   13167       ;;
   13168     '$CC '*)
   13169       # Test whether the compiler implicitly links with -lc since on some
   13170       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13171       # to ld, don't add -lc before -lgcc.
   13172       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13173 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13174       $rm conftest*
   13175       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13176 
   13177       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13178   (eval $ac_compile) 2>&5
   13179   ac_status=$?
   13180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13181   (exit $ac_status); } 2>conftest.err; then
   13182         soname=conftest
   13183         lib=conftest
   13184         libobjs=conftest.$ac_objext
   13185         deplibs=
   13186         wl=$lt_prog_compiler_wl_CXX
   13187 	pic_flag=$lt_prog_compiler_pic_CXX
   13188         compiler_flags=-v
   13189         linker_flags=-v
   13190         verstring=
   13191         output_objdir=.
   13192         libname=conftest
   13193         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13194         allow_undefined_flag_CXX=
   13195         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13196   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13197   ac_status=$?
   13198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13199   (exit $ac_status); }
   13200         then
   13201 	  archive_cmds_need_lc_CXX=no
   13202         else
   13203 	  archive_cmds_need_lc_CXX=yes
   13204         fi
   13205         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13206       else
   13207         cat conftest.err 1>&5
   13208       fi
   13209       $rm conftest*
   13210       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13211 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13212       ;;
   13213     esac
   13214   fi
   13215   ;;
   13216 esac
   13217 
   13218 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13219 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13220 library_names_spec=
   13221 libname_spec='lib$name'
   13222 soname_spec=
   13223 shrext_cmds=".so"
   13224 postinstall_cmds=
   13225 postuninstall_cmds=
   13226 finish_cmds=
   13227 finish_eval=
   13228 shlibpath_var=
   13229 shlibpath_overrides_runpath=unknown
   13230 version_type=none
   13231 dynamic_linker="$host_os ld.so"
   13232 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13233 
   13234 need_lib_prefix=unknown
   13235 hardcode_into_libs=no
   13236 
   13237 # when you set need_version to no, make sure it does not cause -set_version
   13238 # flags to be left without arguments
   13239 need_version=unknown
   13240 
   13241 case $host_os in
   13242 aix3*)
   13243   version_type=linux
   13244   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13245   shlibpath_var=LIBPATH
   13246 
   13247   # AIX 3 has no versioning support, so we append a major version to the name.
   13248   soname_spec='${libname}${release}${shared_ext}$major'
   13249   ;;
   13250 
   13251 aix[4-9]*)
   13252   version_type=linux
   13253   need_lib_prefix=no
   13254   need_version=no
   13255   hardcode_into_libs=yes
   13256   if test "$host_cpu" = ia64; then
   13257     # AIX 5 supports IA64
   13258     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13259     shlibpath_var=LD_LIBRARY_PATH
   13260   else
   13261     # With GCC up to 2.95.x, collect2 would create an import file
   13262     # for dependence libraries.  The import file would start with
   13263     # the line `#! .'.  This would cause the generated library to
   13264     # depend on `.', always an invalid library.  This was fixed in
   13265     # development snapshots of GCC prior to 3.0.
   13266     case $host_os in
   13267       aix4 | aix4.[01] | aix4.[01].*)
   13268       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13269 	   echo ' yes '
   13270 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13271 	:
   13272       else
   13273 	can_build_shared=no
   13274       fi
   13275       ;;
   13276     esac
   13277     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13278     # soname into executable. Probably we can add versioning support to
   13279     # collect2, so additional links can be useful in future.
   13280     if test "$aix_use_runtimelinking" = yes; then
   13281       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13282       # instead of lib<name>.a to let people know that these are not
   13283       # typical AIX shared libraries.
   13284       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13285     else
   13286       # We preserve .a as extension for shared libraries through AIX4.2
   13287       # and later when we are not doing run time linking.
   13288       library_names_spec='${libname}${release}.a $libname.a'
   13289       soname_spec='${libname}${release}${shared_ext}$major'
   13290     fi
   13291     shlibpath_var=LIBPATH
   13292   fi
   13293   ;;
   13294 
   13295 amigaos*)
   13296   library_names_spec='$libname.ixlibrary $libname.a'
   13297   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13298   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   13299   ;;
   13300 
   13301 beos*)
   13302   library_names_spec='${libname}${shared_ext}'
   13303   dynamic_linker="$host_os ld.so"
   13304   shlibpath_var=LIBRARY_PATH
   13305   ;;
   13306 
   13307 bsdi[45]*)
   13308   version_type=linux
   13309   need_version=no
   13310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13311   soname_spec='${libname}${release}${shared_ext}$major'
   13312   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13313   shlibpath_var=LD_LIBRARY_PATH
   13314   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13315   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13316   # the default ld.so.conf also contains /usr/contrib/lib and
   13317   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13318   # libtool to hard-code these into programs
   13319   ;;
   13320 
   13321 cygwin* | mingw* | pw32*)
   13322   version_type=windows
   13323   shrext_cmds=".dll"
   13324   need_version=no
   13325   need_lib_prefix=no
   13326 
   13327   case $GCC,$host_os in
   13328   yes,cygwin* | yes,mingw* | yes,pw32*)
   13329     library_names_spec='$libname.dll.a'
   13330     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13331     postinstall_cmds='base_file=`basename \${file}`~
   13332       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13333       dldir=$destdir/`dirname \$dlpath`~
   13334       test -d \$dldir || mkdir -p \$dldir~
   13335       $install_prog $dir/$dlname \$dldir/$dlname~
   13336       chmod a+x \$dldir/$dlname'
   13337     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13338       dlpath=$dir/\$dldll~
   13339        $rm \$dlpath'
   13340     shlibpath_overrides_runpath=yes
   13341 
   13342     case $host_os in
   13343     cygwin*)
   13344       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13345       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13346       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13347       ;;
   13348     mingw*)
   13349       # MinGW DLLs use traditional 'lib' prefix
   13350       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13351       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13352       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13353         # It is most probably a Windows format PATH printed by
   13354         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13355         # path with ; separators, and with drive letters. We can handle the
   13356         # drive letters (cygwin fileutils understands them), so leave them,
   13357         # especially as we might pass files found there to a mingw objdump,
   13358         # which wouldn't understand a cygwinified path. Ahh.
   13359         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13360       else
   13361         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13362       fi
   13363       ;;
   13364     pw32*)
   13365       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13366       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13367       ;;
   13368     esac
   13369     ;;
   13370 
   13371   *)
   13372     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13373     ;;
   13374   esac
   13375   dynamic_linker='Win32 ld.exe'
   13376   # FIXME: first we should search . and the directory the executable is in
   13377   shlibpath_var=PATH
   13378   ;;
   13379 
   13380 darwin* | rhapsody*)
   13381   dynamic_linker="$host_os dyld"
   13382   version_type=darwin
   13383   need_lib_prefix=no
   13384   need_version=no
   13385   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13386   soname_spec='${libname}${release}${major}$shared_ext'
   13387   shlibpath_overrides_runpath=yes
   13388   shlibpath_var=DYLD_LIBRARY_PATH
   13389   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13390 
   13391   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13392   ;;
   13393 
   13394 dgux*)
   13395   version_type=linux
   13396   need_lib_prefix=no
   13397   need_version=no
   13398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13399   soname_spec='${libname}${release}${shared_ext}$major'
   13400   shlibpath_var=LD_LIBRARY_PATH
   13401   ;;
   13402 
   13403 freebsd1*)
   13404   dynamic_linker=no
   13405   ;;
   13406 
   13407 freebsd* | dragonfly*)
   13408   # DragonFly does not have aout.  When/if they implement a new
   13409   # versioning mechanism, adjust this.
   13410   if test -x /usr/bin/objformat; then
   13411     objformat=`/usr/bin/objformat`
   13412   else
   13413     case $host_os in
   13414     freebsd[123]*) objformat=aout ;;
   13415     *) objformat=elf ;;
   13416     esac
   13417   fi
   13418   version_type=freebsd-$objformat
   13419   case $version_type in
   13420     freebsd-elf*)
   13421       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13422       need_version=no
   13423       need_lib_prefix=no
   13424       ;;
   13425     freebsd-*)
   13426       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13427       need_version=yes
   13428       ;;
   13429   esac
   13430   shlibpath_var=LD_LIBRARY_PATH
   13431   case $host_os in
   13432   freebsd2*)
   13433     shlibpath_overrides_runpath=yes
   13434     ;;
   13435   freebsd3.[01]* | freebsdelf3.[01]*)
   13436     shlibpath_overrides_runpath=yes
   13437     hardcode_into_libs=yes
   13438     ;;
   13439   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13440   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13441     shlibpath_overrides_runpath=no
   13442     hardcode_into_libs=yes
   13443     ;;
   13444   *) # from 4.6 on, and DragonFly
   13445     shlibpath_overrides_runpath=yes
   13446     hardcode_into_libs=yes
   13447     ;;
   13448   esac
   13449   ;;
   13450 
   13451 gnu*)
   13452   version_type=linux
   13453   need_lib_prefix=no
   13454   need_version=no
   13455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13456   soname_spec='${libname}${release}${shared_ext}$major'
   13457   shlibpath_var=LD_LIBRARY_PATH
   13458   hardcode_into_libs=yes
   13459   ;;
   13460 
   13461 hpux9* | hpux10* | hpux11*)
   13462   # Give a soname corresponding to the major version so that dld.sl refuses to
   13463   # link against other versions.
   13464   version_type=sunos
   13465   need_lib_prefix=no
   13466   need_version=no
   13467   case $host_cpu in
   13468   ia64*)
   13469     shrext_cmds='.so'
   13470     hardcode_into_libs=yes
   13471     dynamic_linker="$host_os dld.so"
   13472     shlibpath_var=LD_LIBRARY_PATH
   13473     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13475     soname_spec='${libname}${release}${shared_ext}$major'
   13476     if test "X$HPUX_IA64_MODE" = X32; then
   13477       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13478     else
   13479       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13480     fi
   13481     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13482     ;;
   13483    hppa*64*)
   13484      shrext_cmds='.sl'
   13485      hardcode_into_libs=yes
   13486      dynamic_linker="$host_os dld.sl"
   13487      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13488      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13489      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13490      soname_spec='${libname}${release}${shared_ext}$major'
   13491      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13492      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13493      ;;
   13494    *)
   13495     shrext_cmds='.sl'
   13496     dynamic_linker="$host_os dld.sl"
   13497     shlibpath_var=SHLIB_PATH
   13498     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13499     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13500     soname_spec='${libname}${release}${shared_ext}$major'
   13501     ;;
   13502   esac
   13503   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13504   postinstall_cmds='chmod 555 $lib'
   13505   ;;
   13506 
   13507 interix[3-9]*)
   13508   version_type=linux
   13509   need_lib_prefix=no
   13510   need_version=no
   13511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13512   soname_spec='${libname}${release}${shared_ext}$major'
   13513   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13514   shlibpath_var=LD_LIBRARY_PATH
   13515   shlibpath_overrides_runpath=no
   13516   hardcode_into_libs=yes
   13517   ;;
   13518 
   13519 irix5* | irix6* | nonstopux*)
   13520   case $host_os in
   13521     nonstopux*) version_type=nonstopux ;;
   13522     *)
   13523 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13524 		version_type=linux
   13525 	else
   13526 		version_type=irix
   13527 	fi ;;
   13528   esac
   13529   need_lib_prefix=no
   13530   need_version=no
   13531   soname_spec='${libname}${release}${shared_ext}$major'
   13532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13533   case $host_os in
   13534   irix5* | nonstopux*)
   13535     libsuff= shlibsuff=
   13536     ;;
   13537   *)
   13538     case $LD in # libtool.m4 will add one of these switches to LD
   13539     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13540       libsuff= shlibsuff= libmagic=32-bit;;
   13541     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13542       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13543     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13544       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13545     *) libsuff= shlibsuff= libmagic=never-match;;
   13546     esac
   13547     ;;
   13548   esac
   13549   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13550   shlibpath_overrides_runpath=no
   13551   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13552   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13553   hardcode_into_libs=yes
   13554   ;;
   13555 
   13556 # No shared lib support for Linux oldld, aout, or coff.
   13557 linux*oldld* | linux*aout* | linux*coff*)
   13558   dynamic_linker=no
   13559   ;;
   13560 
   13561 # This must be Linux ELF.
   13562 linux* | k*bsd*-gnu)
   13563   version_type=linux
   13564   need_lib_prefix=no
   13565   need_version=no
   13566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13567   soname_spec='${libname}${release}${shared_ext}$major'
   13568   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13569   shlibpath_var=LD_LIBRARY_PATH
   13570   shlibpath_overrides_runpath=no
   13571   # This implies no fast_install, which is unacceptable.
   13572   # Some rework will be needed to allow for fast_install
   13573   # before this can be enabled.
   13574   hardcode_into_libs=yes
   13575   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13576   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13577 
   13578   # Append ld.so.conf contents to the search path
   13579   if test -f /etc/ld.so.conf; then
   13580     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' ' '`
   13581     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13582   fi
   13583 
   13584   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13585   # powerpc, because MkLinux only supported shared libraries with the
   13586   # GNU dynamic linker.  Since this was broken with cross compilers,
   13587   # most powerpc-linux boxes support dynamic linking these days and
   13588   # people can always --disable-shared, the test was removed, and we
   13589   # assume the GNU/Linux dynamic linker is in use.
   13590   dynamic_linker='GNU/Linux ld.so'
   13591   ;;
   13592 
   13593 netbsd*)
   13594   version_type=sunos
   13595   need_lib_prefix=no
   13596   need_version=no
   13597   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13598     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13599     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13600     dynamic_linker='NetBSD (a.out) ld.so'
   13601   else
   13602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13603     soname_spec='${libname}${release}${shared_ext}$major'
   13604     dynamic_linker='NetBSD ld.elf_so'
   13605   fi
   13606   shlibpath_var=LD_LIBRARY_PATH
   13607   shlibpath_overrides_runpath=yes
   13608   hardcode_into_libs=yes
   13609   ;;
   13610 
   13611 newsos6)
   13612   version_type=linux
   13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13614   shlibpath_var=LD_LIBRARY_PATH
   13615   shlibpath_overrides_runpath=yes
   13616   ;;
   13617 
   13618 nto-qnx*)
   13619   version_type=linux
   13620   need_lib_prefix=no
   13621   need_version=no
   13622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13623   soname_spec='${libname}${release}${shared_ext}$major'
   13624   shlibpath_var=LD_LIBRARY_PATH
   13625   shlibpath_overrides_runpath=yes
   13626   ;;
   13627 
   13628 openbsd*)
   13629   version_type=sunos
   13630   sys_lib_dlsearch_path_spec="/usr/lib"
   13631   need_lib_prefix=no
   13632   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13633   case $host_os in
   13634     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13635     *)                         need_version=no  ;;
   13636   esac
   13637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13638   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13639   shlibpath_var=LD_LIBRARY_PATH
   13640   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13641     case $host_os in
   13642       openbsd2.[89] | openbsd2.[89].*)
   13643 	shlibpath_overrides_runpath=no
   13644 	;;
   13645       *)
   13646 	shlibpath_overrides_runpath=yes
   13647 	;;
   13648       esac
   13649   else
   13650     shlibpath_overrides_runpath=yes
   13651   fi
   13652   ;;
   13653 
   13654 os2*)
   13655   libname_spec='$name'
   13656   shrext_cmds=".dll"
   13657   need_lib_prefix=no
   13658   library_names_spec='$libname${shared_ext} $libname.a'
   13659   dynamic_linker='OS/2 ld.exe'
   13660   shlibpath_var=LIBPATH
   13661   ;;
   13662 
   13663 osf3* | osf4* | osf5*)
   13664   version_type=osf
   13665   need_lib_prefix=no
   13666   need_version=no
   13667   soname_spec='${libname}${release}${shared_ext}$major'
   13668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13669   shlibpath_var=LD_LIBRARY_PATH
   13670   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13671   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13672   ;;
   13673 
   13674 rdos*)
   13675   dynamic_linker=no
   13676   ;;
   13677 
   13678 solaris*)
   13679   version_type=linux
   13680   need_lib_prefix=no
   13681   need_version=no
   13682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13683   soname_spec='${libname}${release}${shared_ext}$major'
   13684   shlibpath_var=LD_LIBRARY_PATH
   13685   shlibpath_overrides_runpath=yes
   13686   hardcode_into_libs=yes
   13687   # ldd complains unless libraries are executable
   13688   postinstall_cmds='chmod +x $lib'
   13689   ;;
   13690 
   13691 sunos4*)
   13692   version_type=sunos
   13693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13694   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13695   shlibpath_var=LD_LIBRARY_PATH
   13696   shlibpath_overrides_runpath=yes
   13697   if test "$with_gnu_ld" = yes; then
   13698     need_lib_prefix=no
   13699   fi
   13700   need_version=yes
   13701   ;;
   13702 
   13703 sysv4 | sysv4.3*)
   13704   version_type=linux
   13705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13706   soname_spec='${libname}${release}${shared_ext}$major'
   13707   shlibpath_var=LD_LIBRARY_PATH
   13708   case $host_vendor in
   13709     sni)
   13710       shlibpath_overrides_runpath=no
   13711       need_lib_prefix=no
   13712       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13713       runpath_var=LD_RUN_PATH
   13714       ;;
   13715     siemens)
   13716       need_lib_prefix=no
   13717       ;;
   13718     motorola)
   13719       need_lib_prefix=no
   13720       need_version=no
   13721       shlibpath_overrides_runpath=no
   13722       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13723       ;;
   13724   esac
   13725   ;;
   13726 
   13727 sysv4*MP*)
   13728   if test -d /usr/nec ;then
   13729     version_type=linux
   13730     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13731     soname_spec='$libname${shared_ext}.$major'
   13732     shlibpath_var=LD_LIBRARY_PATH
   13733   fi
   13734   ;;
   13735 
   13736 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13737   version_type=freebsd-elf
   13738   need_lib_prefix=no
   13739   need_version=no
   13740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13741   soname_spec='${libname}${release}${shared_ext}$major'
   13742   shlibpath_var=LD_LIBRARY_PATH
   13743   hardcode_into_libs=yes
   13744   if test "$with_gnu_ld" = yes; then
   13745     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13746     shlibpath_overrides_runpath=no
   13747   else
   13748     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13749     shlibpath_overrides_runpath=yes
   13750     case $host_os in
   13751       sco3.2v5*)
   13752         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13753 	;;
   13754     esac
   13755   fi
   13756   sys_lib_dlsearch_path_spec='/usr/lib'
   13757   ;;
   13758 
   13759 uts4*)
   13760   version_type=linux
   13761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13762   soname_spec='${libname}${release}${shared_ext}$major'
   13763   shlibpath_var=LD_LIBRARY_PATH
   13764   ;;
   13765 
   13766 *)
   13767   dynamic_linker=no
   13768   ;;
   13769 esac
   13770 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13771 $as_echo "$dynamic_linker" >&6; }
   13772 test "$dynamic_linker" = no && can_build_shared=no
   13773 
   13774 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13775   $as_echo_n "(cached) " >&6
   13776 else
   13777   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13778 fi
   13779 
   13780 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13781 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13782   $as_echo_n "(cached) " >&6
   13783 else
   13784   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13785 fi
   13786 
   13787 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13788 
   13789 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13790 if test "$GCC" = yes; then
   13791   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13792 fi
   13793 
   13794 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13796 hardcode_action_CXX=
   13797 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13798    test -n "$runpath_var_CXX" || \
   13799    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13800 
   13801   # We can hardcode non-existant directories.
   13802   if test "$hardcode_direct_CXX" != no &&
   13803      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13804      # have to relink, otherwise we might link with an installed library
   13805      # when we should be linking with a yet-to-be-installed one
   13806      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13807      test "$hardcode_minus_L_CXX" != no; then
   13808     # Linking always hardcodes the temporary library directory.
   13809     hardcode_action_CXX=relink
   13810   else
   13811     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13812     hardcode_action_CXX=immediate
   13813   fi
   13814 else
   13815   # We cannot hardcode anything, or else we can only hardcode existing
   13816   # directories.
   13817   hardcode_action_CXX=unsupported
   13818 fi
   13819 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13820 $as_echo "$hardcode_action_CXX" >&6; }
   13821 
   13822 if test "$hardcode_action_CXX" = relink; then
   13823   # Fast installation is not supported
   13824   enable_fast_install=no
   13825 elif test "$shlibpath_overrides_runpath" = yes ||
   13826      test "$enable_shared" = no; then
   13827   # Fast installation is not necessary
   13828   enable_fast_install=needless
   13829 fi
   13830 
   13831 
   13832 # The else clause should only fire when bootstrapping the
   13833 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13834 # with your package, and you will get complaints that there are
   13835 # no rules to generate ltmain.sh.
   13836 if test -f "$ltmain"; then
   13837   # See if we are running on zsh, and set the options which allow our commands through
   13838   # without removal of \ escapes.
   13839   if test -n "${ZSH_VERSION+set}" ; then
   13840     setopt NO_GLOB_SUBST
   13841   fi
   13842   # Now quote all the things that may contain metacharacters while being
   13843   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13844   # variables and quote the copies for generation of the libtool script.
   13845   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13846     SED SHELL STRIP \
   13847     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13848     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13849     deplibs_check_method reload_flag reload_cmds need_locks \
   13850     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13851     lt_cv_sys_global_symbol_to_c_name_address \
   13852     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13853     old_postinstall_cmds old_postuninstall_cmds \
   13854     compiler_CXX \
   13855     CC_CXX \
   13856     LD_CXX \
   13857     lt_prog_compiler_wl_CXX \
   13858     lt_prog_compiler_pic_CXX \
   13859     lt_prog_compiler_static_CXX \
   13860     lt_prog_compiler_no_builtin_flag_CXX \
   13861     export_dynamic_flag_spec_CXX \
   13862     thread_safe_flag_spec_CXX \
   13863     whole_archive_flag_spec_CXX \
   13864     enable_shared_with_static_runtimes_CXX \
   13865     old_archive_cmds_CXX \
   13866     old_archive_from_new_cmds_CXX \
   13867     predep_objects_CXX \
   13868     postdep_objects_CXX \
   13869     predeps_CXX \
   13870     postdeps_CXX \
   13871     compiler_lib_search_path_CXX \
   13872     compiler_lib_search_dirs_CXX \
   13873     archive_cmds_CXX \
   13874     archive_expsym_cmds_CXX \
   13875     postinstall_cmds_CXX \
   13876     postuninstall_cmds_CXX \
   13877     old_archive_from_expsyms_cmds_CXX \
   13878     allow_undefined_flag_CXX \
   13879     no_undefined_flag_CXX \
   13880     export_symbols_cmds_CXX \
   13881     hardcode_libdir_flag_spec_CXX \
   13882     hardcode_libdir_flag_spec_ld_CXX \
   13883     hardcode_libdir_separator_CXX \
   13884     hardcode_automatic_CXX \
   13885     module_cmds_CXX \
   13886     module_expsym_cmds_CXX \
   13887     lt_cv_prog_compiler_c_o_CXX \
   13888     fix_srcfile_path_CXX \
   13889     exclude_expsyms_CXX \
   13890     include_expsyms_CXX; do
   13891 
   13892     case $var in
   13893     old_archive_cmds_CXX | \
   13894     old_archive_from_new_cmds_CXX | \
   13895     archive_cmds_CXX | \
   13896     archive_expsym_cmds_CXX | \
   13897     module_cmds_CXX | \
   13898     module_expsym_cmds_CXX | \
   13899     old_archive_from_expsyms_cmds_CXX | \
   13900     export_symbols_cmds_CXX | \
   13901     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13902     postinstall_cmds | postuninstall_cmds | \
   13903     old_postinstall_cmds | old_postuninstall_cmds | \
   13904     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13905       # Double-quote double-evaled strings.
   13906       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13907       ;;
   13908     *)
   13909       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13910       ;;
   13911     esac
   13912   done
   13913 
   13914   case $lt_echo in
   13915   *'\$0 --fallback-echo"')
   13916     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13917     ;;
   13918   esac
   13919 
   13920 cfgfile="$ofile"
   13921 
   13922   cat <<__EOF__ >> "$cfgfile"
   13923 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13924 
   13925 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13926 
   13927 # Shell to use when invoking shell scripts.
   13928 SHELL=$lt_SHELL
   13929 
   13930 # Whether or not to build shared libraries.
   13931 build_libtool_libs=$enable_shared
   13932 
   13933 # Whether or not to build static libraries.
   13934 build_old_libs=$enable_static
   13935 
   13936 # Whether or not to add -lc for building shared libraries.
   13937 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13938 
   13939 # Whether or not to disallow shared libs when runtime libs are static
   13940 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13941 
   13942 # Whether or not to optimize for fast installation.
   13943 fast_install=$enable_fast_install
   13944 
   13945 # The host system.
   13946 host_alias=$host_alias
   13947 host=$host
   13948 host_os=$host_os
   13949 
   13950 # The build system.
   13951 build_alias=$build_alias
   13952 build=$build
   13953 build_os=$build_os
   13954 
   13955 # An echo program that does not interpret backslashes.
   13956 echo=$lt_echo
   13957 
   13958 # The archiver.
   13959 AR=$lt_AR
   13960 AR_FLAGS=$lt_AR_FLAGS
   13961 
   13962 # A C compiler.
   13963 LTCC=$lt_LTCC
   13964 
   13965 # LTCC compiler flags.
   13966 LTCFLAGS=$lt_LTCFLAGS
   13967 
   13968 # A language-specific compiler.
   13969 CC=$lt_compiler_CXX
   13970 
   13971 # Is the compiler the GNU C compiler?
   13972 with_gcc=$GCC_CXX
   13973 
   13974 # An ERE matcher.
   13975 EGREP=$lt_EGREP
   13976 
   13977 # The linker used to build libraries.
   13978 LD=$lt_LD_CXX
   13979 
   13980 # Whether we need hard or soft links.
   13981 LN_S=$lt_LN_S
   13982 
   13983 # A BSD-compatible nm program.
   13984 NM=$lt_NM
   13985 
   13986 # A symbol stripping program
   13987 STRIP=$lt_STRIP
   13988 
   13989 # Used to examine libraries when file_magic_cmd begins "file"
   13990 MAGIC_CMD=$MAGIC_CMD
   13991 
   13992 # Used on cygwin: DLL creation program.
   13993 DLLTOOL="$DLLTOOL"
   13994 
   13995 # Used on cygwin: object dumper.
   13996 OBJDUMP="$OBJDUMP"
   13997 
   13998 # Used on cygwin: assembler.
   13999 AS="$AS"
   14000 
   14001 # The name of the directory that contains temporary libtool files.
   14002 objdir=$objdir
   14003 
   14004 # How to create reloadable object files.
   14005 reload_flag=$lt_reload_flag
   14006 reload_cmds=$lt_reload_cmds
   14007 
   14008 # How to pass a linker flag through the compiler.
   14009 wl=$lt_lt_prog_compiler_wl_CXX
   14010 
   14011 # Object file suffix (normally "o").
   14012 objext="$ac_objext"
   14013 
   14014 # Old archive suffix (normally "a").
   14015 libext="$libext"
   14016 
   14017 # Shared library suffix (normally ".so").
   14018 shrext_cmds='$shrext_cmds'
   14019 
   14020 # Executable file suffix (normally "").
   14021 exeext="$exeext"
   14022 
   14023 # Additional compiler flags for building library objects.
   14024 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14025 pic_mode=$pic_mode
   14026 
   14027 # What is the maximum length of a command?
   14028 max_cmd_len=$lt_cv_sys_max_cmd_len
   14029 
   14030 # Does compiler simultaneously support -c and -o options?
   14031 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14032 
   14033 # Must we lock files when doing compilation?
   14034 need_locks=$lt_need_locks
   14035 
   14036 # Do we need the lib prefix for modules?
   14037 need_lib_prefix=$need_lib_prefix
   14038 
   14039 # Do we need a version for libraries?
   14040 need_version=$need_version
   14041 
   14042 # Whether dlopen is supported.
   14043 dlopen_support=$enable_dlopen
   14044 
   14045 # Whether dlopen of programs is supported.
   14046 dlopen_self=$enable_dlopen_self
   14047 
   14048 # Whether dlopen of statically linked programs is supported.
   14049 dlopen_self_static=$enable_dlopen_self_static
   14050 
   14051 # Compiler flag to prevent dynamic linking.
   14052 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14053 
   14054 # Compiler flag to turn off builtin functions.
   14055 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14056 
   14057 # Compiler flag to allow reflexive dlopens.
   14058 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14059 
   14060 # Compiler flag to generate shared objects directly from archives.
   14061 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14062 
   14063 # Compiler flag to generate thread-safe objects.
   14064 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14065 
   14066 # Library versioning type.
   14067 version_type=$version_type
   14068 
   14069 # Format of library name prefix.
   14070 libname_spec=$lt_libname_spec
   14071 
   14072 # List of archive names.  First name is the real one, the rest are links.
   14073 # The last name is the one that the linker finds with -lNAME.
   14074 library_names_spec=$lt_library_names_spec
   14075 
   14076 # The coded name of the library, if different from the real name.
   14077 soname_spec=$lt_soname_spec
   14078 
   14079 # Commands used to build and install an old-style archive.
   14080 RANLIB=$lt_RANLIB
   14081 old_archive_cmds=$lt_old_archive_cmds_CXX
   14082 old_postinstall_cmds=$lt_old_postinstall_cmds
   14083 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14084 
   14085 # Create an old-style archive from a shared archive.
   14086 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14087 
   14088 # Create a temporary old-style archive to link instead of a shared archive.
   14089 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14090 
   14091 # Commands used to build and install a shared archive.
   14092 archive_cmds=$lt_archive_cmds_CXX
   14093 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14094 postinstall_cmds=$lt_postinstall_cmds
   14095 postuninstall_cmds=$lt_postuninstall_cmds
   14096 
   14097 # Commands used to build a loadable module (assumed same as above if empty)
   14098 module_cmds=$lt_module_cmds_CXX
   14099 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14100 
   14101 # Commands to strip libraries.
   14102 old_striplib=$lt_old_striplib
   14103 striplib=$lt_striplib
   14104 
   14105 # Dependencies to place before the objects being linked to create a
   14106 # shared library.
   14107 predep_objects=$lt_predep_objects_CXX
   14108 
   14109 # Dependencies to place after the objects being linked to create a
   14110 # shared library.
   14111 postdep_objects=$lt_postdep_objects_CXX
   14112 
   14113 # Dependencies to place before the objects being linked to create a
   14114 # shared library.
   14115 predeps=$lt_predeps_CXX
   14116 
   14117 # Dependencies to place after the objects being linked to create a
   14118 # shared library.
   14119 postdeps=$lt_postdeps_CXX
   14120 
   14121 # The directories searched by this compiler when creating a shared
   14122 # library
   14123 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14124 
   14125 # The library search path used internally by the compiler when linking
   14126 # a shared library.
   14127 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14128 
   14129 # Method to check whether dependent libraries are shared objects.
   14130 deplibs_check_method=$lt_deplibs_check_method
   14131 
   14132 # Command to use when deplibs_check_method == file_magic.
   14133 file_magic_cmd=$lt_file_magic_cmd
   14134 
   14135 # Flag that allows shared libraries with undefined symbols to be built.
   14136 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14137 
   14138 # Flag that forces no undefined symbols.
   14139 no_undefined_flag=$lt_no_undefined_flag_CXX
   14140 
   14141 # Commands used to finish a libtool library installation in a directory.
   14142 finish_cmds=$lt_finish_cmds
   14143 
   14144 # Same as above, but a single script fragment to be evaled but not shown.
   14145 finish_eval=$lt_finish_eval
   14146 
   14147 # Take the output of nm and produce a listing of raw symbols and C names.
   14148 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14149 
   14150 # Transform the output of nm in a proper C declaration
   14151 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14152 
   14153 # Transform the output of nm in a C name address pair
   14154 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14155 
   14156 # This is the shared library runtime path variable.
   14157 runpath_var=$runpath_var
   14158 
   14159 # This is the shared library path variable.
   14160 shlibpath_var=$shlibpath_var
   14161 
   14162 # Is shlibpath searched before the hard-coded library search path?
   14163 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14164 
   14165 # How to hardcode a shared library path into an executable.
   14166 hardcode_action=$hardcode_action_CXX
   14167 
   14168 # Whether we should hardcode library paths into libraries.
   14169 hardcode_into_libs=$hardcode_into_libs
   14170 
   14171 # Flag to hardcode \$libdir into a binary during linking.
   14172 # This must work even if \$libdir does not exist.
   14173 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14174 
   14175 # If ld is used when linking, flag to hardcode \$libdir into
   14176 # a binary during linking. This must work even if \$libdir does
   14177 # not exist.
   14178 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14179 
   14180 # Whether we need a single -rpath flag with a separated argument.
   14181 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14182 
   14183 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14184 # resulting binary.
   14185 hardcode_direct=$hardcode_direct_CXX
   14186 
   14187 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14188 # resulting binary.
   14189 hardcode_minus_L=$hardcode_minus_L_CXX
   14190 
   14191 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14192 # the resulting binary.
   14193 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14194 
   14195 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14196 # and all subsequent libraries and executables linked against it.
   14197 hardcode_automatic=$hardcode_automatic_CXX
   14198 
   14199 # Variables whose values should be saved in libtool wrapper scripts and
   14200 # restored at relink time.
   14201 variables_saved_for_relink="$variables_saved_for_relink"
   14202 
   14203 # Whether libtool must link a program against all its dependency libraries.
   14204 link_all_deplibs=$link_all_deplibs_CXX
   14205 
   14206 # Compile-time system search path for libraries
   14207 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14208 
   14209 # Run-time system search path for libraries
   14210 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14211 
   14212 # Fix the shell variable \$srcfile for the compiler.
   14213 fix_srcfile_path=$lt_fix_srcfile_path
   14214 
   14215 # Set to yes if exported symbols are required.
   14216 always_export_symbols=$always_export_symbols_CXX
   14217 
   14218 # The commands to list exported symbols.
   14219 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14220 
   14221 # The commands to extract the exported symbol list from a shared archive.
   14222 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14223 
   14224 # Symbols that should not be listed in the preloaded symbols.
   14225 exclude_expsyms=$lt_exclude_expsyms_CXX
   14226 
   14227 # Symbols that must always be exported.
   14228 include_expsyms=$lt_include_expsyms_CXX
   14229 
   14230 # ### END LIBTOOL TAG CONFIG: $tagname
   14231 
   14232 __EOF__
   14233 
   14234 
   14235 else
   14236   # If there is no Makefile yet, we rely on a make rule to execute
   14237   # `config.status --recheck' to rerun these tests and create the
   14238   # libtool script then.
   14239   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14240   if test -f "$ltmain_in"; then
   14241     test -f Makefile && make "$ltmain"
   14242   fi
   14243 fi
   14244 
   14245 
   14246 ac_ext=c
   14247 ac_cpp='$CPP $CPPFLAGS'
   14248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14251 
   14252 CC=$lt_save_CC
   14253 LDCXX=$LD
   14254 LD=$lt_save_LD
   14255 GCC=$lt_save_GCC
   14256 with_gnu_ldcxx=$with_gnu_ld
   14257 with_gnu_ld=$lt_save_with_gnu_ld
   14258 lt_cv_path_LDCXX=$lt_cv_path_LD
   14259 lt_cv_path_LD=$lt_save_path_LD
   14260 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14261 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14262 
   14263 	else
   14264 	  tagname=""
   14265 	fi
   14266 	;;
   14267 
   14268       F77)
   14269 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14270 
   14271 ac_ext=f
   14272 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14273 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14274 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14275 
   14276 
   14277 archive_cmds_need_lc_F77=no
   14278 allow_undefined_flag_F77=
   14279 always_export_symbols_F77=no
   14280 archive_expsym_cmds_F77=
   14281 export_dynamic_flag_spec_F77=
   14282 hardcode_direct_F77=no
   14283 hardcode_libdir_flag_spec_F77=
   14284 hardcode_libdir_flag_spec_ld_F77=
   14285 hardcode_libdir_separator_F77=
   14286 hardcode_minus_L_F77=no
   14287 hardcode_automatic_F77=no
   14288 module_cmds_F77=
   14289 module_expsym_cmds_F77=
   14290 link_all_deplibs_F77=unknown
   14291 old_archive_cmds_F77=$old_archive_cmds
   14292 no_undefined_flag_F77=
   14293 whole_archive_flag_spec_F77=
   14294 enable_shared_with_static_runtimes_F77=no
   14295 
   14296 # Source file extension for f77 test sources.
   14297 ac_ext=f
   14298 
   14299 # Object file extension for compiled f77 test sources.
   14300 objext=o
   14301 objext_F77=$objext
   14302 
   14303 # Code to be used in simple compile tests
   14304 lt_simple_compile_test_code="\
   14305       subroutine t
   14306       return
   14307       end
   14308 "
   14309 
   14310 # Code to be used in simple link tests
   14311 lt_simple_link_test_code="\
   14312       program t
   14313       end
   14314 "
   14315 
   14316 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14317 
   14318 # If no C compiler was specified, use CC.
   14319 LTCC=${LTCC-"$CC"}
   14320 
   14321 # If no C compiler flags were specified, use CFLAGS.
   14322 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14323 
   14324 # Allow CC to be a program name with arguments.
   14325 compiler=$CC
   14326 
   14327 
   14328 # save warnings/boilerplate of simple test code
   14329 ac_outfile=conftest.$ac_objext
   14330 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14331 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14332 _lt_compiler_boilerplate=`cat conftest.err`
   14333 $rm conftest*
   14334 
   14335 ac_outfile=conftest.$ac_objext
   14336 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14337 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14338 _lt_linker_boilerplate=`cat conftest.err`
   14339 $rm -r conftest*
   14340 
   14341 
   14342 # Allow CC to be a program name with arguments.
   14343 lt_save_CC="$CC"
   14344 CC=${F77-"f77"}
   14345 compiler=$CC
   14346 compiler_F77=$CC
   14347 for cc_temp in $compiler""; do
   14348   case $cc_temp in
   14349     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14350     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14351     \-*) ;;
   14352     *) break;;
   14353   esac
   14354 done
   14355 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14356 
   14357 
   14358 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14359 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14360 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14361 $as_echo "$can_build_shared" >&6; }
   14362 
   14363 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14364 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14365 test "$can_build_shared" = "no" && enable_shared=no
   14366 
   14367 # On AIX, shared libraries and static libraries use the same namespace, and
   14368 # are all built from PIC.
   14369 case $host_os in
   14370 aix3*)
   14371   test "$enable_shared" = yes && enable_static=no
   14372   if test -n "$RANLIB"; then
   14373     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14374     postinstall_cmds='$RANLIB $lib'
   14375   fi
   14376   ;;
   14377 aix[4-9]*)
   14378   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14379     test "$enable_shared" = yes && enable_static=no
   14380   fi
   14381   ;;
   14382 esac
   14383 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14384 $as_echo "$enable_shared" >&6; }
   14385 
   14386 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14387 $as_echo_n "checking whether to build static libraries... " >&6; }
   14388 # Make sure either enable_shared or enable_static is yes.
   14389 test "$enable_shared" = yes || enable_static=yes
   14390 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14391 $as_echo "$enable_static" >&6; }
   14392 
   14393 GCC_F77="$G77"
   14394 LD_F77="$LD"
   14395 
   14396 lt_prog_compiler_wl_F77=
   14397 lt_prog_compiler_pic_F77=
   14398 lt_prog_compiler_static_F77=
   14399 
   14400 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14401 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14402 
   14403   if test "$GCC" = yes; then
   14404     lt_prog_compiler_wl_F77='-Wl,'
   14405     lt_prog_compiler_static_F77='-static'
   14406 
   14407     case $host_os in
   14408       aix*)
   14409       # All AIX code is PIC.
   14410       if test "$host_cpu" = ia64; then
   14411 	# AIX 5 now supports IA64 processor
   14412 	lt_prog_compiler_static_F77='-Bstatic'
   14413       fi
   14414       ;;
   14415 
   14416     amigaos*)
   14417       # FIXME: we need at least 68020 code to build shared libraries, but
   14418       # adding the `-m68020' flag to GCC prevents building anything better,
   14419       # like `-m68040'.
   14420       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14421       ;;
   14422 
   14423     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14424       # PIC is the default for these OSes.
   14425       ;;
   14426 
   14427     mingw* | cygwin* | pw32* | os2*)
   14428       # This hack is so that the source file can tell whether it is being
   14429       # built for inclusion in a dll (and should export symbols for example).
   14430       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14431       # (--disable-auto-import) libraries
   14432       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14433       ;;
   14434 
   14435     darwin* | rhapsody*)
   14436       # PIC is the default on this platform
   14437       # Common symbols not allowed in MH_DYLIB files
   14438       lt_prog_compiler_pic_F77='-fno-common'
   14439       ;;
   14440 
   14441     interix[3-9]*)
   14442       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14443       # Instead, we relocate shared libraries at runtime.
   14444       ;;
   14445 
   14446     msdosdjgpp*)
   14447       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14448       # on systems that don't support them.
   14449       lt_prog_compiler_can_build_shared_F77=no
   14450       enable_shared=no
   14451       ;;
   14452 
   14453     sysv4*MP*)
   14454       if test -d /usr/nec; then
   14455 	lt_prog_compiler_pic_F77=-Kconform_pic
   14456       fi
   14457       ;;
   14458 
   14459     hpux*)
   14460       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14461       # not for PA HP-UX.
   14462       case $host_cpu in
   14463       hppa*64*|ia64*)
   14464 	# +Z the default
   14465 	;;
   14466       *)
   14467 	lt_prog_compiler_pic_F77='-fPIC'
   14468 	;;
   14469       esac
   14470       ;;
   14471 
   14472     *)
   14473       lt_prog_compiler_pic_F77='-fPIC'
   14474       ;;
   14475     esac
   14476   else
   14477     # PORTME Check for flag to pass linker flags through the system compiler.
   14478     case $host_os in
   14479     aix*)
   14480       lt_prog_compiler_wl_F77='-Wl,'
   14481       if test "$host_cpu" = ia64; then
   14482 	# AIX 5 now supports IA64 processor
   14483 	lt_prog_compiler_static_F77='-Bstatic'
   14484       else
   14485 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14486       fi
   14487       ;;
   14488       darwin*)
   14489         # PIC is the default on this platform
   14490         # Common symbols not allowed in MH_DYLIB files
   14491        case $cc_basename in
   14492          xlc*)
   14493          lt_prog_compiler_pic_F77='-qnocommon'
   14494          lt_prog_compiler_wl_F77='-Wl,'
   14495          ;;
   14496        esac
   14497        ;;
   14498 
   14499     mingw* | cygwin* | pw32* | os2*)
   14500       # This hack is so that the source file can tell whether it is being
   14501       # built for inclusion in a dll (and should export symbols for example).
   14502       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14503       ;;
   14504 
   14505     hpux9* | hpux10* | hpux11*)
   14506       lt_prog_compiler_wl_F77='-Wl,'
   14507       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14508       # not for PA HP-UX.
   14509       case $host_cpu in
   14510       hppa*64*|ia64*)
   14511 	# +Z the default
   14512 	;;
   14513       *)
   14514 	lt_prog_compiler_pic_F77='+Z'
   14515 	;;
   14516       esac
   14517       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14518       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14519       ;;
   14520 
   14521     irix5* | irix6* | nonstopux*)
   14522       lt_prog_compiler_wl_F77='-Wl,'
   14523       # PIC (with -KPIC) is the default.
   14524       lt_prog_compiler_static_F77='-non_shared'
   14525       ;;
   14526 
   14527     newsos6)
   14528       lt_prog_compiler_pic_F77='-KPIC'
   14529       lt_prog_compiler_static_F77='-Bstatic'
   14530       ;;
   14531 
   14532     linux* | k*bsd*-gnu)
   14533       case $cc_basename in
   14534       icc* | ecc*)
   14535 	lt_prog_compiler_wl_F77='-Wl,'
   14536 	lt_prog_compiler_pic_F77='-KPIC'
   14537 	lt_prog_compiler_static_F77='-static'
   14538         ;;
   14539       pgcc* | pgf77* | pgf90* | pgf95*)
   14540         # Portland Group compilers (*not* the Pentium gcc compiler,
   14541 	# which looks to be a dead project)
   14542 	lt_prog_compiler_wl_F77='-Wl,'
   14543 	lt_prog_compiler_pic_F77='-fpic'
   14544 	lt_prog_compiler_static_F77='-Bstatic'
   14545         ;;
   14546       ccc*)
   14547         lt_prog_compiler_wl_F77='-Wl,'
   14548         # All Alpha code is PIC.
   14549         lt_prog_compiler_static_F77='-non_shared'
   14550         ;;
   14551       *)
   14552         case `$CC -V 2>&1 | sed 5q` in
   14553 	*Sun\ C*)
   14554 	  # Sun C 5.9
   14555 	  lt_prog_compiler_pic_F77='-KPIC'
   14556 	  lt_prog_compiler_static_F77='-Bstatic'
   14557 	  lt_prog_compiler_wl_F77='-Wl,'
   14558 	  ;;
   14559 	*Sun\ F*)
   14560 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14561 	  lt_prog_compiler_pic_F77='-KPIC'
   14562 	  lt_prog_compiler_static_F77='-Bstatic'
   14563 	  lt_prog_compiler_wl_F77=''
   14564 	  ;;
   14565 	esac
   14566 	;;
   14567       esac
   14568       ;;
   14569 
   14570     osf3* | osf4* | osf5*)
   14571       lt_prog_compiler_wl_F77='-Wl,'
   14572       # All OSF/1 code is PIC.
   14573       lt_prog_compiler_static_F77='-non_shared'
   14574       ;;
   14575 
   14576     rdos*)
   14577       lt_prog_compiler_static_F77='-non_shared'
   14578       ;;
   14579 
   14580     solaris*)
   14581       lt_prog_compiler_pic_F77='-KPIC'
   14582       lt_prog_compiler_static_F77='-Bstatic'
   14583       case $cc_basename in
   14584       f77* | f90* | f95*)
   14585 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14586       *)
   14587 	lt_prog_compiler_wl_F77='-Wl,';;
   14588       esac
   14589       ;;
   14590 
   14591     sunos4*)
   14592       lt_prog_compiler_wl_F77='-Qoption ld '
   14593       lt_prog_compiler_pic_F77='-PIC'
   14594       lt_prog_compiler_static_F77='-Bstatic'
   14595       ;;
   14596 
   14597     sysv4 | sysv4.2uw2* | sysv4.3*)
   14598       lt_prog_compiler_wl_F77='-Wl,'
   14599       lt_prog_compiler_pic_F77='-KPIC'
   14600       lt_prog_compiler_static_F77='-Bstatic'
   14601       ;;
   14602 
   14603     sysv4*MP*)
   14604       if test -d /usr/nec ;then
   14605 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14606 	lt_prog_compiler_static_F77='-Bstatic'
   14607       fi
   14608       ;;
   14609 
   14610     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14611       lt_prog_compiler_wl_F77='-Wl,'
   14612       lt_prog_compiler_pic_F77='-KPIC'
   14613       lt_prog_compiler_static_F77='-Bstatic'
   14614       ;;
   14615 
   14616     unicos*)
   14617       lt_prog_compiler_wl_F77='-Wl,'
   14618       lt_prog_compiler_can_build_shared_F77=no
   14619       ;;
   14620 
   14621     uts4*)
   14622       lt_prog_compiler_pic_F77='-pic'
   14623       lt_prog_compiler_static_F77='-Bstatic'
   14624       ;;
   14625 
   14626     *)
   14627       lt_prog_compiler_can_build_shared_F77=no
   14628       ;;
   14629     esac
   14630   fi
   14631 
   14632 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14633 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14634 
   14635 #
   14636 # Check to make sure the PIC flag actually works.
   14637 #
   14638 if test -n "$lt_prog_compiler_pic_F77"; then
   14639 
   14640 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14641 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14642 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14643   $as_echo_n "(cached) " >&6
   14644 else
   14645   lt_cv_prog_compiler_pic_works_F77=no
   14646   ac_outfile=conftest.$ac_objext
   14647    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14648    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14649    # Insert the option either (1) after the last *FLAGS variable, or
   14650    # (2) before a word containing "conftest.", or (3) at the end.
   14651    # Note that $ac_compile itself does not contain backslashes and begins
   14652    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14653    # The option is referenced via a variable to avoid confusing sed.
   14654    lt_compile=`echo "$ac_compile" | $SED \
   14655    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14656    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14657    -e 's:$: $lt_compiler_flag:'`
   14658    (eval echo "\"\$as_me:14658: $lt_compile\"" >&5)
   14659    (eval "$lt_compile" 2>conftest.err)
   14660    ac_status=$?
   14661    cat conftest.err >&5
   14662    echo "$as_me:14662: \$? = $ac_status" >&5
   14663    if (exit $ac_status) && test -s "$ac_outfile"; then
   14664      # The compiler can only warn and ignore the option if not recognized
   14665      # So say no if there are warnings other than the usual output.
   14666      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14667      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14668      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14669        lt_cv_prog_compiler_pic_works_F77=yes
   14670      fi
   14671    fi
   14672    $rm conftest*
   14673 
   14674 fi
   14675 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14676 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14677 
   14678 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14679     case $lt_prog_compiler_pic_F77 in
   14680      "" | " "*) ;;
   14681      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14682      esac
   14683 else
   14684     lt_prog_compiler_pic_F77=
   14685      lt_prog_compiler_can_build_shared_F77=no
   14686 fi
   14687 
   14688 fi
   14689 case $host_os in
   14690   # For platforms which do not support PIC, -DPIC is meaningless:
   14691   *djgpp*)
   14692     lt_prog_compiler_pic_F77=
   14693     ;;
   14694   *)
   14695     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14696     ;;
   14697 esac
   14698 
   14699 #
   14700 # Check to make sure the static flag actually works.
   14701 #
   14702 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14703 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14705 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14706   $as_echo_n "(cached) " >&6
   14707 else
   14708   lt_cv_prog_compiler_static_works_F77=no
   14709    save_LDFLAGS="$LDFLAGS"
   14710    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14711    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14712    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14713      # The linker can only warn and ignore the option if not recognized
   14714      # So say no if there are warnings
   14715      if test -s conftest.err; then
   14716        # Append any errors to the config.log.
   14717        cat conftest.err 1>&5
   14718        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14719        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14720        if diff conftest.exp conftest.er2 >/dev/null; then
   14721          lt_cv_prog_compiler_static_works_F77=yes
   14722        fi
   14723      else
   14724        lt_cv_prog_compiler_static_works_F77=yes
   14725      fi
   14726    fi
   14727    $rm -r conftest*
   14728    LDFLAGS="$save_LDFLAGS"
   14729 
   14730 fi
   14731 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14732 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14733 
   14734 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14735     :
   14736 else
   14737     lt_prog_compiler_static_F77=
   14738 fi
   14739 
   14740 
   14741 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14742 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14743 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14744   $as_echo_n "(cached) " >&6
   14745 else
   14746   lt_cv_prog_compiler_c_o_F77=no
   14747    $rm -r conftest 2>/dev/null
   14748    mkdir conftest
   14749    cd conftest
   14750    mkdir out
   14751    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14752 
   14753    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14754    # Insert the option either (1) after the last *FLAGS variable, or
   14755    # (2) before a word containing "conftest.", or (3) at the end.
   14756    # Note that $ac_compile itself does not contain backslashes and begins
   14757    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14758    lt_compile=`echo "$ac_compile" | $SED \
   14759    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14760    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14761    -e 's:$: $lt_compiler_flag:'`
   14762    (eval echo "\"\$as_me:14762: $lt_compile\"" >&5)
   14763    (eval "$lt_compile" 2>out/conftest.err)
   14764    ac_status=$?
   14765    cat out/conftest.err >&5
   14766    echo "$as_me:14766: \$? = $ac_status" >&5
   14767    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14768    then
   14769      # The compiler can only warn and ignore the option if not recognized
   14770      # So say no if there are warnings
   14771      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14772      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14773      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14774        lt_cv_prog_compiler_c_o_F77=yes
   14775      fi
   14776    fi
   14777    chmod u+w . 2>&5
   14778    $rm conftest*
   14779    # SGI C++ compiler will create directory out/ii_files/ for
   14780    # template instantiation
   14781    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14782    $rm out/* && rmdir out
   14783    cd ..
   14784    rmdir conftest
   14785    $rm conftest*
   14786 
   14787 fi
   14788 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14789 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14790 
   14791 
   14792 hard_links="nottested"
   14793 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14794   # do not overwrite the value of need_locks provided by the user
   14795   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14796 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14797   hard_links=yes
   14798   $rm conftest*
   14799   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14800   touch conftest.a
   14801   ln conftest.a conftest.b 2>&5 || hard_links=no
   14802   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14803   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14804 $as_echo "$hard_links" >&6; }
   14805   if test "$hard_links" = no; then
   14806     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14807 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14808     need_locks=warn
   14809   fi
   14810 else
   14811   need_locks=no
   14812 fi
   14813 
   14814 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14815 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14816 
   14817   runpath_var=
   14818   allow_undefined_flag_F77=
   14819   enable_shared_with_static_runtimes_F77=no
   14820   archive_cmds_F77=
   14821   archive_expsym_cmds_F77=
   14822   old_archive_From_new_cmds_F77=
   14823   old_archive_from_expsyms_cmds_F77=
   14824   export_dynamic_flag_spec_F77=
   14825   whole_archive_flag_spec_F77=
   14826   thread_safe_flag_spec_F77=
   14827   hardcode_libdir_flag_spec_F77=
   14828   hardcode_libdir_flag_spec_ld_F77=
   14829   hardcode_libdir_separator_F77=
   14830   hardcode_direct_F77=no
   14831   hardcode_minus_L_F77=no
   14832   hardcode_shlibpath_var_F77=unsupported
   14833   link_all_deplibs_F77=unknown
   14834   hardcode_automatic_F77=no
   14835   module_cmds_F77=
   14836   module_expsym_cmds_F77=
   14837   always_export_symbols_F77=no
   14838   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14839   # include_expsyms should be a list of space-separated symbols to be *always*
   14840   # included in the symbol list
   14841   include_expsyms_F77=
   14842   # exclude_expsyms can be an extended regexp of symbols to exclude
   14843   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14844   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14845   # as well as any symbol that contains `d'.
   14846   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14847   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14848   # platforms (ab)use it in PIC code, but their linkers get confused if
   14849   # the symbol is explicitly referenced.  Since portable code cannot
   14850   # rely on this symbol name, it's probably fine to never include it in
   14851   # preloaded symbol tables.
   14852   # Exclude shared library initialization/finalization symbols.
   14853   extract_expsyms_cmds=
   14854   # Just being paranoid about ensuring that cc_basename is set.
   14855   for cc_temp in $compiler""; do
   14856   case $cc_temp in
   14857     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14858     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14859     \-*) ;;
   14860     *) break;;
   14861   esac
   14862 done
   14863 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14864 
   14865   case $host_os in
   14866   cygwin* | mingw* | pw32*)
   14867     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14868     # When not using gcc, we currently assume that we are using
   14869     # Microsoft Visual C++.
   14870     if test "$GCC" != yes; then
   14871       with_gnu_ld=no
   14872     fi
   14873     ;;
   14874   interix*)
   14875     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14876     with_gnu_ld=yes
   14877     ;;
   14878   openbsd*)
   14879     with_gnu_ld=no
   14880     ;;
   14881   esac
   14882 
   14883   ld_shlibs_F77=yes
   14884   if test "$with_gnu_ld" = yes; then
   14885     # If archive_cmds runs LD, not CC, wlarc should be empty
   14886     wlarc='${wl}'
   14887 
   14888     # Set some defaults for GNU ld with shared library support. These
   14889     # are reset later if shared libraries are not supported. Putting them
   14890     # here allows them to be overridden if necessary.
   14891     runpath_var=LD_RUN_PATH
   14892     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14893     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14894     # ancient GNU ld didn't support --whole-archive et. al.
   14895     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14896 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14897       else
   14898   	whole_archive_flag_spec_F77=
   14899     fi
   14900     supports_anon_versioning=no
   14901     case `$LD -v 2>/dev/null` in
   14902       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14903       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14904       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14905       *\ 2.11.*) ;; # other 2.11 versions
   14906       *) supports_anon_versioning=yes ;;
   14907     esac
   14908 
   14909     # See if GNU ld supports shared libraries.
   14910     case $host_os in
   14911     aix[3-9]*)
   14912       # On AIX/PPC, the GNU linker is very broken
   14913       if test "$host_cpu" != ia64; then
   14914 	ld_shlibs_F77=no
   14915 	cat <<EOF 1>&2
   14916 
   14917 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14918 *** to be unable to reliably create shared libraries on AIX.
   14919 *** Therefore, libtool is disabling shared libraries support.  If you
   14920 *** really care for shared libraries, you may want to modify your PATH
   14921 *** so that a non-GNU linker is found, and then restart.
   14922 
   14923 EOF
   14924       fi
   14925       ;;
   14926 
   14927     amigaos*)
   14928       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)'
   14929       hardcode_libdir_flag_spec_F77='-L$libdir'
   14930       hardcode_minus_L_F77=yes
   14931 
   14932       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14933       # that the semantics of dynamic libraries on AmigaOS, at least up
   14934       # to version 4, is to share data among multiple programs linked
   14935       # with the same dynamic library.  Since this doesn't match the
   14936       # behavior of shared libraries on other platforms, we can't use
   14937       # them.
   14938       ld_shlibs_F77=no
   14939       ;;
   14940 
   14941     beos*)
   14942       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14943 	allow_undefined_flag_F77=unsupported
   14944 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14945 	# support --undefined.  This deserves some investigation.  FIXME
   14946 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14947       else
   14948 	ld_shlibs_F77=no
   14949       fi
   14950       ;;
   14951 
   14952     cygwin* | mingw* | pw32*)
   14953       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14954       # as there is no search path for DLLs.
   14955       hardcode_libdir_flag_spec_F77='-L$libdir'
   14956       allow_undefined_flag_F77=unsupported
   14957       always_export_symbols_F77=no
   14958       enable_shared_with_static_runtimes_F77=yes
   14959       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14960 
   14961       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14962         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14963 	# If the export-symbols file already is a .def file (1st line
   14964 	# is EXPORTS), use it as is; otherwise, prepend...
   14965 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14966 	  cp $export_symbols $output_objdir/$soname.def;
   14967 	else
   14968 	  echo EXPORTS > $output_objdir/$soname.def;
   14969 	  cat $export_symbols >> $output_objdir/$soname.def;
   14970 	fi~
   14971 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14972       else
   14973 	ld_shlibs_F77=no
   14974       fi
   14975       ;;
   14976 
   14977     interix[3-9]*)
   14978       hardcode_direct_F77=no
   14979       hardcode_shlibpath_var_F77=no
   14980       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14981       export_dynamic_flag_spec_F77='${wl}-E'
   14982       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14983       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14984       # default) and relocated if they conflict, which is a slow very memory
   14985       # consuming and fragmenting process.  To avoid this, we pick a random,
   14986       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14987       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14988       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'
   14989       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'
   14990       ;;
   14991 
   14992     gnu* | linux* | k*bsd*-gnu)
   14993       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14994 	tmp_addflag=
   14995 	case $cc_basename,$host_cpu in
   14996 	pgcc*)				# Portland Group C compiler
   14997 	  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'
   14998 	  tmp_addflag=' $pic_flag'
   14999 	  ;;
   15000 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15001 	  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'
   15002 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15003 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15004 	  tmp_addflag=' -i_dynamic' ;;
   15005 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15006 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15007 	ifc* | ifort*)			# Intel Fortran compiler
   15008 	  tmp_addflag=' -nofor_main' ;;
   15009 	esac
   15010 	case `$CC -V 2>&1 | sed 5q` in
   15011 	*Sun\ C*)			# Sun C 5.9
   15012 	  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'
   15013 	  tmp_sharedflag='-G' ;;
   15014 	*Sun\ F*)			# Sun Fortran 8.3
   15015 	  tmp_sharedflag='-G' ;;
   15016 	*)
   15017 	  tmp_sharedflag='-shared' ;;
   15018 	esac
   15019 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15020 
   15021 	if test $supports_anon_versioning = yes; then
   15022 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15023   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15024   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15025 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15026 	fi
   15027       else
   15028 	ld_shlibs_F77=no
   15029       fi
   15030       ;;
   15031 
   15032     netbsd*)
   15033       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15034 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15035 	wlarc=
   15036       else
   15037 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15038 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15039       fi
   15040       ;;
   15041 
   15042     solaris*)
   15043       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15044 	ld_shlibs_F77=no
   15045 	cat <<EOF 1>&2
   15046 
   15047 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15048 *** create shared libraries on Solaris systems.  Therefore, libtool
   15049 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15050 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15051 *** your PATH or compiler configuration so that the native linker is
   15052 *** used, and then restart.
   15053 
   15054 EOF
   15055       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15056 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15057 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15058       else
   15059 	ld_shlibs_F77=no
   15060       fi
   15061       ;;
   15062 
   15063     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15064       case `$LD -v 2>&1` in
   15065         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15066 	ld_shlibs_F77=no
   15067 	cat <<_LT_EOF 1>&2
   15068 
   15069 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15070 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15071 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15072 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15073 *** your PATH or compiler configuration so that the native linker is
   15074 *** used, and then restart.
   15075 
   15076 _LT_EOF
   15077 	;;
   15078 	*)
   15079 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15080 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15081 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15082 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15083 	  else
   15084 	    ld_shlibs_F77=no
   15085 	  fi
   15086 	;;
   15087       esac
   15088       ;;
   15089 
   15090     sunos4*)
   15091       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15092       wlarc=
   15093       hardcode_direct_F77=yes
   15094       hardcode_shlibpath_var_F77=no
   15095       ;;
   15096 
   15097     *)
   15098       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15099 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15100 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15101       else
   15102 	ld_shlibs_F77=no
   15103       fi
   15104       ;;
   15105     esac
   15106 
   15107     if test "$ld_shlibs_F77" = no; then
   15108       runpath_var=
   15109       hardcode_libdir_flag_spec_F77=
   15110       export_dynamic_flag_spec_F77=
   15111       whole_archive_flag_spec_F77=
   15112     fi
   15113   else
   15114     # PORTME fill in a description of your system's linker (not GNU ld)
   15115     case $host_os in
   15116     aix3*)
   15117       allow_undefined_flag_F77=unsupported
   15118       always_export_symbols_F77=yes
   15119       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'
   15120       # Note: this linker hardcodes the directories in LIBPATH if there
   15121       # are no directories specified by -L.
   15122       hardcode_minus_L_F77=yes
   15123       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15124 	# Neither direct hardcoding nor static linking is supported with a
   15125 	# broken collect2.
   15126 	hardcode_direct_F77=unsupported
   15127       fi
   15128       ;;
   15129 
   15130     aix[4-9]*)
   15131       if test "$host_cpu" = ia64; then
   15132 	# On IA64, the linker does run time linking by default, so we don't
   15133 	# have to do anything special.
   15134 	aix_use_runtimelinking=no
   15135 	exp_sym_flag='-Bexport'
   15136 	no_entry_flag=""
   15137       else
   15138 	# If we're using GNU nm, then we don't want the "-C" option.
   15139 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15140 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15141 	  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'
   15142 	else
   15143 	  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'
   15144 	fi
   15145 	aix_use_runtimelinking=no
   15146 
   15147 	# Test if we are trying to use run time linking or normal
   15148 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15149 	# need to do runtime linking.
   15150 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15151 	  for ld_flag in $LDFLAGS; do
   15152   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15153   	    aix_use_runtimelinking=yes
   15154   	    break
   15155   	  fi
   15156 	  done
   15157 	  ;;
   15158 	esac
   15159 
   15160 	exp_sym_flag='-bexport'
   15161 	no_entry_flag='-bnoentry'
   15162       fi
   15163 
   15164       # When large executables or shared objects are built, AIX ld can
   15165       # have problems creating the table of contents.  If linking a library
   15166       # or program results in "error TOC overflow" add -mminimal-toc to
   15167       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15168       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15169 
   15170       archive_cmds_F77=''
   15171       hardcode_direct_F77=yes
   15172       hardcode_libdir_separator_F77=':'
   15173       link_all_deplibs_F77=yes
   15174 
   15175       if test "$GCC" = yes; then
   15176 	case $host_os in aix4.[012]|aix4.[012].*)
   15177 	# We only want to do this on AIX 4.2 and lower, the check
   15178 	# below for broken collect2 doesn't work under 4.3+
   15179 	  collect2name=`${CC} -print-prog-name=collect2`
   15180 	  if test -f "$collect2name" && \
   15181   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15182 	  then
   15183   	  # We have reworked collect2
   15184   	  :
   15185 	  else
   15186   	  # We have old collect2
   15187   	  hardcode_direct_F77=unsupported
   15188   	  # It fails to find uninstalled libraries when the uninstalled
   15189   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15190   	  # to unsupported forces relinking
   15191   	  hardcode_minus_L_F77=yes
   15192   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15193   	  hardcode_libdir_separator_F77=
   15194 	  fi
   15195 	  ;;
   15196 	esac
   15197 	shared_flag='-shared'
   15198 	if test "$aix_use_runtimelinking" = yes; then
   15199 	  shared_flag="$shared_flag "'${wl}-G'
   15200 	fi
   15201       else
   15202 	# not using gcc
   15203 	if test "$host_cpu" = ia64; then
   15204   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15205   	# chokes on -Wl,-G. The following line is correct:
   15206 	  shared_flag='-G'
   15207 	else
   15208 	  if test "$aix_use_runtimelinking" = yes; then
   15209 	    shared_flag='${wl}-G'
   15210 	  else
   15211 	    shared_flag='${wl}-bM:SRE'
   15212 	  fi
   15213 	fi
   15214       fi
   15215 
   15216       # It seems that -bexpall does not export symbols beginning with
   15217       # underscore (_), so it is better to generate a list of symbols to export.
   15218       always_export_symbols_F77=yes
   15219       if test "$aix_use_runtimelinking" = yes; then
   15220 	# Warning - without using the other runtime loading flags (-brtl),
   15221 	# -berok will link without error, but may produce a broken library.
   15222 	allow_undefined_flag_F77='-berok'
   15223        # Determine the default libpath from the value encoded in an empty executable.
   15224        cat >conftest.$ac_ext <<_ACEOF
   15225       program main
   15226 
   15227       end
   15228 _ACEOF
   15229 rm -f conftest.$ac_objext conftest$ac_exeext
   15230 if { (ac_try="$ac_link"
   15231 case "(($ac_try" in
   15232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15233   *) ac_try_echo=$ac_try;;
   15234 esac
   15235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15236 $as_echo "$ac_try_echo") >&5
   15237   (eval "$ac_link") 2>conftest.er1
   15238   ac_status=$?
   15239   grep -v '^ *+' conftest.er1 >conftest.err
   15240   rm -f conftest.er1
   15241   cat conftest.err >&5
   15242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15243   (exit $ac_status); } && {
   15244 	 test -z "$ac_f77_werror_flag" ||
   15245 	 test ! -s conftest.err
   15246        } && test -s conftest$ac_exeext && {
   15247 	 test "$cross_compiling" = yes ||
   15248 	 $as_test_x conftest$ac_exeext
   15249        }; then
   15250 
   15251 lt_aix_libpath_sed='
   15252     /Import File Strings/,/^$/ {
   15253 	/^0/ {
   15254 	    s/^0  *\(.*\)$/\1/
   15255 	    p
   15256 	}
   15257     }'
   15258 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15259 # Check for a 64-bit object if we didn't find anything.
   15260 if test -z "$aix_libpath"; then
   15261   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15262 fi
   15263 else
   15264   $as_echo "$as_me: failed program was:" >&5
   15265 sed 's/^/| /' conftest.$ac_ext >&5
   15266 
   15267 
   15268 fi
   15269 
   15270 rm -rf conftest.dSYM
   15271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15272       conftest$ac_exeext conftest.$ac_ext
   15273 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15274 
   15275        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15276 	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"
   15277        else
   15278 	if test "$host_cpu" = ia64; then
   15279 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15280 	  allow_undefined_flag_F77="-z nodefs"
   15281 	  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"
   15282 	else
   15283 	 # Determine the default libpath from the value encoded in an empty executable.
   15284 	 cat >conftest.$ac_ext <<_ACEOF
   15285       program main
   15286 
   15287       end
   15288 _ACEOF
   15289 rm -f conftest.$ac_objext conftest$ac_exeext
   15290 if { (ac_try="$ac_link"
   15291 case "(($ac_try" in
   15292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15293   *) ac_try_echo=$ac_try;;
   15294 esac
   15295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15296 $as_echo "$ac_try_echo") >&5
   15297   (eval "$ac_link") 2>conftest.er1
   15298   ac_status=$?
   15299   grep -v '^ *+' conftest.er1 >conftest.err
   15300   rm -f conftest.er1
   15301   cat conftest.err >&5
   15302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15303   (exit $ac_status); } && {
   15304 	 test -z "$ac_f77_werror_flag" ||
   15305 	 test ! -s conftest.err
   15306        } && test -s conftest$ac_exeext && {
   15307 	 test "$cross_compiling" = yes ||
   15308 	 $as_test_x conftest$ac_exeext
   15309        }; then
   15310 
   15311 lt_aix_libpath_sed='
   15312     /Import File Strings/,/^$/ {
   15313 	/^0/ {
   15314 	    s/^0  *\(.*\)$/\1/
   15315 	    p
   15316 	}
   15317     }'
   15318 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15319 # Check for a 64-bit object if we didn't find anything.
   15320 if test -z "$aix_libpath"; then
   15321   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15322 fi
   15323 else
   15324   $as_echo "$as_me: failed program was:" >&5
   15325 sed 's/^/| /' conftest.$ac_ext >&5
   15326 
   15327 
   15328 fi
   15329 
   15330 rm -rf conftest.dSYM
   15331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15332       conftest$ac_exeext conftest.$ac_ext
   15333 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15334 
   15335 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15336 	  # Warning - without using the other run time loading flags,
   15337 	  # -berok will link without error, but may produce a broken library.
   15338 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15339 	  allow_undefined_flag_F77=' ${wl}-berok'
   15340 	  # Exported symbols can be pulled into shared objects from archives
   15341 	  whole_archive_flag_spec_F77='$convenience'
   15342 	  archive_cmds_need_lc_F77=yes
   15343 	  # This is similar to how AIX traditionally builds its shared libraries.
   15344 	  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'
   15345 	fi
   15346       fi
   15347       ;;
   15348 
   15349     amigaos*)
   15350       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)'
   15351       hardcode_libdir_flag_spec_F77='-L$libdir'
   15352       hardcode_minus_L_F77=yes
   15353       # see comment about different semantics on the GNU ld section
   15354       ld_shlibs_F77=no
   15355       ;;
   15356 
   15357     bsdi[45]*)
   15358       export_dynamic_flag_spec_F77=-rdynamic
   15359       ;;
   15360 
   15361     cygwin* | mingw* | pw32*)
   15362       # When not using gcc, we currently assume that we are using
   15363       # Microsoft Visual C++.
   15364       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15365       # no search path for DLLs.
   15366       hardcode_libdir_flag_spec_F77=' '
   15367       allow_undefined_flag_F77=unsupported
   15368       # Tell ltmain to make .lib files, not .a files.
   15369       libext=lib
   15370       # Tell ltmain to make .dll files, not .so files.
   15371       shrext_cmds=".dll"
   15372       # FIXME: Setting linknames here is a bad hack.
   15373       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15374       # The linker will automatically build a .lib file if we build a DLL.
   15375       old_archive_From_new_cmds_F77='true'
   15376       # FIXME: Should let the user specify the lib program.
   15377       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15378       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15379       enable_shared_with_static_runtimes_F77=yes
   15380       ;;
   15381 
   15382     darwin* | rhapsody*)
   15383       case $host_os in
   15384         rhapsody* | darwin1.[012])
   15385          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15386          ;;
   15387        *) # Darwin 1.3 on
   15388          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15389            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15390          else
   15391            case ${MACOSX_DEPLOYMENT_TARGET} in
   15392              10.[012])
   15393                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15394                ;;
   15395              10.*)
   15396                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15397                ;;
   15398            esac
   15399          fi
   15400          ;;
   15401       esac
   15402       archive_cmds_need_lc_F77=no
   15403       hardcode_direct_F77=no
   15404       hardcode_automatic_F77=yes
   15405       hardcode_shlibpath_var_F77=unsupported
   15406       whole_archive_flag_spec_F77=''
   15407       link_all_deplibs_F77=yes
   15408     if test "$GCC" = yes ; then
   15409     	output_verbose_link_cmd='echo'
   15410         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}"
   15411         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15412         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}"
   15413         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}"
   15414     else
   15415       case $cc_basename in
   15416         xlc*)
   15417          output_verbose_link_cmd='echo'
   15418          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15419          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15420           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15421          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}'
   15422           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}'
   15423           ;;
   15424        *)
   15425          ld_shlibs_F77=no
   15426           ;;
   15427       esac
   15428     fi
   15429       ;;
   15430 
   15431     dgux*)
   15432       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15433       hardcode_libdir_flag_spec_F77='-L$libdir'
   15434       hardcode_shlibpath_var_F77=no
   15435       ;;
   15436 
   15437     freebsd1*)
   15438       ld_shlibs_F77=no
   15439       ;;
   15440 
   15441     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15442     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15443     # does not break anything, and helps significantly (at the cost of a little
   15444     # extra space).
   15445     freebsd2.2*)
   15446       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15447       hardcode_libdir_flag_spec_F77='-R$libdir'
   15448       hardcode_direct_F77=yes
   15449       hardcode_shlibpath_var_F77=no
   15450       ;;
   15451 
   15452     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15453     freebsd2*)
   15454       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15455       hardcode_direct_F77=yes
   15456       hardcode_minus_L_F77=yes
   15457       hardcode_shlibpath_var_F77=no
   15458       ;;
   15459 
   15460     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15461     freebsd* | dragonfly*)
   15462       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15463       hardcode_libdir_flag_spec_F77='-R$libdir'
   15464       hardcode_direct_F77=yes
   15465       hardcode_shlibpath_var_F77=no
   15466       ;;
   15467 
   15468     hpux9*)
   15469       if test "$GCC" = yes; then
   15470 	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'
   15471       else
   15472 	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'
   15473       fi
   15474       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15475       hardcode_libdir_separator_F77=:
   15476       hardcode_direct_F77=yes
   15477 
   15478       # hardcode_minus_L: Not really in the search PATH,
   15479       # but as the default location of the library.
   15480       hardcode_minus_L_F77=yes
   15481       export_dynamic_flag_spec_F77='${wl}-E'
   15482       ;;
   15483 
   15484     hpux10*)
   15485       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15486 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15487       else
   15488 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15489       fi
   15490       if test "$with_gnu_ld" = no; then
   15491 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15492 	hardcode_libdir_separator_F77=:
   15493 
   15494 	hardcode_direct_F77=yes
   15495 	export_dynamic_flag_spec_F77='${wl}-E'
   15496 
   15497 	# hardcode_minus_L: Not really in the search PATH,
   15498 	# but as the default location of the library.
   15499 	hardcode_minus_L_F77=yes
   15500       fi
   15501       ;;
   15502 
   15503     hpux11*)
   15504       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15505 	case $host_cpu in
   15506 	hppa*64*)
   15507 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  ;;
   15509 	ia64*)
   15510 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15511 	  ;;
   15512 	*)
   15513 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15514 	  ;;
   15515 	esac
   15516       else
   15517 	case $host_cpu in
   15518 	hppa*64*)
   15519 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15520 	  ;;
   15521 	ia64*)
   15522 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15523 	  ;;
   15524 	*)
   15525 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15526 	  ;;
   15527 	esac
   15528       fi
   15529       if test "$with_gnu_ld" = no; then
   15530 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15531 	hardcode_libdir_separator_F77=:
   15532 
   15533 	case $host_cpu in
   15534 	hppa*64*|ia64*)
   15535 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15536 	  hardcode_direct_F77=no
   15537 	  hardcode_shlibpath_var_F77=no
   15538 	  ;;
   15539 	*)
   15540 	  hardcode_direct_F77=yes
   15541 	  export_dynamic_flag_spec_F77='${wl}-E'
   15542 
   15543 	  # hardcode_minus_L: Not really in the search PATH,
   15544 	  # but as the default location of the library.
   15545 	  hardcode_minus_L_F77=yes
   15546 	  ;;
   15547 	esac
   15548       fi
   15549       ;;
   15550 
   15551     irix5* | irix6* | nonstopux*)
   15552       if test "$GCC" = yes; then
   15553 	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'
   15554       else
   15555 	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'
   15556 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15557       fi
   15558       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15559       hardcode_libdir_separator_F77=:
   15560       link_all_deplibs_F77=yes
   15561       ;;
   15562 
   15563     netbsd*)
   15564       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15565 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15566       else
   15567 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15568       fi
   15569       hardcode_libdir_flag_spec_F77='-R$libdir'
   15570       hardcode_direct_F77=yes
   15571       hardcode_shlibpath_var_F77=no
   15572       ;;
   15573 
   15574     newsos6)
   15575       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15576       hardcode_direct_F77=yes
   15577       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15578       hardcode_libdir_separator_F77=:
   15579       hardcode_shlibpath_var_F77=no
   15580       ;;
   15581 
   15582     openbsd*)
   15583       if test -f /usr/libexec/ld.so; then
   15584 	hardcode_direct_F77=yes
   15585 	hardcode_shlibpath_var_F77=no
   15586 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15587 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15588 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15589 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15590 	  export_dynamic_flag_spec_F77='${wl}-E'
   15591 	else
   15592 	  case $host_os in
   15593 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15594 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15595 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15596 	     ;;
   15597 	   *)
   15598 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15599 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15600 	     ;;
   15601 	  esac
   15602         fi
   15603       else
   15604 	ld_shlibs_F77=no
   15605       fi
   15606       ;;
   15607 
   15608     os2*)
   15609       hardcode_libdir_flag_spec_F77='-L$libdir'
   15610       hardcode_minus_L_F77=yes
   15611       allow_undefined_flag_F77=unsupported
   15612       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'
   15613       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15614       ;;
   15615 
   15616     osf3*)
   15617       if test "$GCC" = yes; then
   15618 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15619 	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'
   15620       else
   15621 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15622 	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'
   15623       fi
   15624       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15625       hardcode_libdir_separator_F77=:
   15626       ;;
   15627 
   15628     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15629       if test "$GCC" = yes; then
   15630 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15631 	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'
   15632 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15633       else
   15634 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15635 	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'
   15636 	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~
   15637 	$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'
   15638 
   15639 	# Both c and cxx compiler support -rpath directly
   15640 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15641       fi
   15642       hardcode_libdir_separator_F77=:
   15643       ;;
   15644 
   15645     solaris*)
   15646       no_undefined_flag_F77=' -z text'
   15647       if test "$GCC" = yes; then
   15648 	wlarc='${wl}'
   15649 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15650 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15651 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15652       else
   15653 	wlarc=''
   15654 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15655 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15656   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15657       fi
   15658       hardcode_libdir_flag_spec_F77='-R$libdir'
   15659       hardcode_shlibpath_var_F77=no
   15660       case $host_os in
   15661       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15662       *)
   15663 	# The compiler driver will combine and reorder linker options,
   15664 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15665 	# but is careful enough not to reorder.
   15666  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15667 	if test "$GCC" = yes; then
   15668 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15669 	else
   15670 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15671 	fi
   15672 	;;
   15673       esac
   15674       link_all_deplibs_F77=yes
   15675       ;;
   15676 
   15677     sunos4*)
   15678       if test "x$host_vendor" = xsequent; then
   15679 	# Use $CC to link under sequent, because it throws in some extra .o
   15680 	# files that make .init and .fini sections work.
   15681 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15682       else
   15683 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15684       fi
   15685       hardcode_libdir_flag_spec_F77='-L$libdir'
   15686       hardcode_direct_F77=yes
   15687       hardcode_minus_L_F77=yes
   15688       hardcode_shlibpath_var_F77=no
   15689       ;;
   15690 
   15691     sysv4)
   15692       case $host_vendor in
   15693 	sni)
   15694 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15695 	  hardcode_direct_F77=yes # is this really true???
   15696 	;;
   15697 	siemens)
   15698 	  ## LD is ld it makes a PLAMLIB
   15699 	  ## CC just makes a GrossModule.
   15700 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15701 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15702 	  hardcode_direct_F77=no
   15703         ;;
   15704 	motorola)
   15705 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15706 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15707 	;;
   15708       esac
   15709       runpath_var='LD_RUN_PATH'
   15710       hardcode_shlibpath_var_F77=no
   15711       ;;
   15712 
   15713     sysv4.3*)
   15714       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15715       hardcode_shlibpath_var_F77=no
   15716       export_dynamic_flag_spec_F77='-Bexport'
   15717       ;;
   15718 
   15719     sysv4*MP*)
   15720       if test -d /usr/nec; then
   15721 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15722 	hardcode_shlibpath_var_F77=no
   15723 	runpath_var=LD_RUN_PATH
   15724 	hardcode_runpath_var=yes
   15725 	ld_shlibs_F77=yes
   15726       fi
   15727       ;;
   15728 
   15729     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15730       no_undefined_flag_F77='${wl}-z,text'
   15731       archive_cmds_need_lc_F77=no
   15732       hardcode_shlibpath_var_F77=no
   15733       runpath_var='LD_RUN_PATH'
   15734 
   15735       if test "$GCC" = yes; then
   15736 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15737 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15738       else
   15739 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15740 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15741       fi
   15742       ;;
   15743 
   15744     sysv5* | sco3.2v5* | sco5v6*)
   15745       # Note: We can NOT use -z defs as we might desire, because we do not
   15746       # link with -lc, and that would cause any symbols used from libc to
   15747       # always be unresolved, which means just about no library would
   15748       # ever link correctly.  If we're not using GNU ld we use -z text
   15749       # though, which does catch some bad symbols but isn't as heavy-handed
   15750       # as -z defs.
   15751       no_undefined_flag_F77='${wl}-z,text'
   15752       allow_undefined_flag_F77='${wl}-z,nodefs'
   15753       archive_cmds_need_lc_F77=no
   15754       hardcode_shlibpath_var_F77=no
   15755       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15756       hardcode_libdir_separator_F77=':'
   15757       link_all_deplibs_F77=yes
   15758       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15759       runpath_var='LD_RUN_PATH'
   15760 
   15761       if test "$GCC" = yes; then
   15762 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15763 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15764       else
   15765 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15766 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15767       fi
   15768       ;;
   15769 
   15770     uts4*)
   15771       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15772       hardcode_libdir_flag_spec_F77='-L$libdir'
   15773       hardcode_shlibpath_var_F77=no
   15774       ;;
   15775 
   15776     *)
   15777       ld_shlibs_F77=no
   15778       ;;
   15779     esac
   15780   fi
   15781 
   15782 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15783 $as_echo "$ld_shlibs_F77" >&6; }
   15784 test "$ld_shlibs_F77" = no && can_build_shared=no
   15785 
   15786 #
   15787 # Do we need to explicitly link libc?
   15788 #
   15789 case "x$archive_cmds_need_lc_F77" in
   15790 x|xyes)
   15791   # Assume -lc should be added
   15792   archive_cmds_need_lc_F77=yes
   15793 
   15794   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15795     case $archive_cmds_F77 in
   15796     *'~'*)
   15797       # FIXME: we may have to deal with multi-command sequences.
   15798       ;;
   15799     '$CC '*)
   15800       # Test whether the compiler implicitly links with -lc since on some
   15801       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15802       # to ld, don't add -lc before -lgcc.
   15803       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15804 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15805       $rm conftest*
   15806       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15807 
   15808       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15809   (eval $ac_compile) 2>&5
   15810   ac_status=$?
   15811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15812   (exit $ac_status); } 2>conftest.err; then
   15813         soname=conftest
   15814         lib=conftest
   15815         libobjs=conftest.$ac_objext
   15816         deplibs=
   15817         wl=$lt_prog_compiler_wl_F77
   15818 	pic_flag=$lt_prog_compiler_pic_F77
   15819         compiler_flags=-v
   15820         linker_flags=-v
   15821         verstring=
   15822         output_objdir=.
   15823         libname=conftest
   15824         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15825         allow_undefined_flag_F77=
   15826         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15827   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15828   ac_status=$?
   15829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15830   (exit $ac_status); }
   15831         then
   15832 	  archive_cmds_need_lc_F77=no
   15833         else
   15834 	  archive_cmds_need_lc_F77=yes
   15835         fi
   15836         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15837       else
   15838         cat conftest.err 1>&5
   15839       fi
   15840       $rm conftest*
   15841       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15842 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15843       ;;
   15844     esac
   15845   fi
   15846   ;;
   15847 esac
   15848 
   15849 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15850 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15851 library_names_spec=
   15852 libname_spec='lib$name'
   15853 soname_spec=
   15854 shrext_cmds=".so"
   15855 postinstall_cmds=
   15856 postuninstall_cmds=
   15857 finish_cmds=
   15858 finish_eval=
   15859 shlibpath_var=
   15860 shlibpath_overrides_runpath=unknown
   15861 version_type=none
   15862 dynamic_linker="$host_os ld.so"
   15863 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15864 
   15865 need_lib_prefix=unknown
   15866 hardcode_into_libs=no
   15867 
   15868 # when you set need_version to no, make sure it does not cause -set_version
   15869 # flags to be left without arguments
   15870 need_version=unknown
   15871 
   15872 case $host_os in
   15873 aix3*)
   15874   version_type=linux
   15875   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15876   shlibpath_var=LIBPATH
   15877 
   15878   # AIX 3 has no versioning support, so we append a major version to the name.
   15879   soname_spec='${libname}${release}${shared_ext}$major'
   15880   ;;
   15881 
   15882 aix[4-9]*)
   15883   version_type=linux
   15884   need_lib_prefix=no
   15885   need_version=no
   15886   hardcode_into_libs=yes
   15887   if test "$host_cpu" = ia64; then
   15888     # AIX 5 supports IA64
   15889     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15890     shlibpath_var=LD_LIBRARY_PATH
   15891   else
   15892     # With GCC up to 2.95.x, collect2 would create an import file
   15893     # for dependence libraries.  The import file would start with
   15894     # the line `#! .'.  This would cause the generated library to
   15895     # depend on `.', always an invalid library.  This was fixed in
   15896     # development snapshots of GCC prior to 3.0.
   15897     case $host_os in
   15898       aix4 | aix4.[01] | aix4.[01].*)
   15899       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15900 	   echo ' yes '
   15901 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15902 	:
   15903       else
   15904 	can_build_shared=no
   15905       fi
   15906       ;;
   15907     esac
   15908     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15909     # soname into executable. Probably we can add versioning support to
   15910     # collect2, so additional links can be useful in future.
   15911     if test "$aix_use_runtimelinking" = yes; then
   15912       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15913       # instead of lib<name>.a to let people know that these are not
   15914       # typical AIX shared libraries.
   15915       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15916     else
   15917       # We preserve .a as extension for shared libraries through AIX4.2
   15918       # and later when we are not doing run time linking.
   15919       library_names_spec='${libname}${release}.a $libname.a'
   15920       soname_spec='${libname}${release}${shared_ext}$major'
   15921     fi
   15922     shlibpath_var=LIBPATH
   15923   fi
   15924   ;;
   15925 
   15926 amigaos*)
   15927   library_names_spec='$libname.ixlibrary $libname.a'
   15928   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15929   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'
   15930   ;;
   15931 
   15932 beos*)
   15933   library_names_spec='${libname}${shared_ext}'
   15934   dynamic_linker="$host_os ld.so"
   15935   shlibpath_var=LIBRARY_PATH
   15936   ;;
   15937 
   15938 bsdi[45]*)
   15939   version_type=linux
   15940   need_version=no
   15941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15942   soname_spec='${libname}${release}${shared_ext}$major'
   15943   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15944   shlibpath_var=LD_LIBRARY_PATH
   15945   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15946   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15947   # the default ld.so.conf also contains /usr/contrib/lib and
   15948   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15949   # libtool to hard-code these into programs
   15950   ;;
   15951 
   15952 cygwin* | mingw* | pw32*)
   15953   version_type=windows
   15954   shrext_cmds=".dll"
   15955   need_version=no
   15956   need_lib_prefix=no
   15957 
   15958   case $GCC,$host_os in
   15959   yes,cygwin* | yes,mingw* | yes,pw32*)
   15960     library_names_spec='$libname.dll.a'
   15961     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15962     postinstall_cmds='base_file=`basename \${file}`~
   15963       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15964       dldir=$destdir/`dirname \$dlpath`~
   15965       test -d \$dldir || mkdir -p \$dldir~
   15966       $install_prog $dir/$dlname \$dldir/$dlname~
   15967       chmod a+x \$dldir/$dlname'
   15968     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15969       dlpath=$dir/\$dldll~
   15970        $rm \$dlpath'
   15971     shlibpath_overrides_runpath=yes
   15972 
   15973     case $host_os in
   15974     cygwin*)
   15975       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15976       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15977       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15978       ;;
   15979     mingw*)
   15980       # MinGW DLLs use traditional 'lib' prefix
   15981       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15982       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15983       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15984         # It is most probably a Windows format PATH printed by
   15985         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15986         # path with ; separators, and with drive letters. We can handle the
   15987         # drive letters (cygwin fileutils understands them), so leave them,
   15988         # especially as we might pass files found there to a mingw objdump,
   15989         # which wouldn't understand a cygwinified path. Ahh.
   15990         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15991       else
   15992         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15993       fi
   15994       ;;
   15995     pw32*)
   15996       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15997       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15998       ;;
   15999     esac
   16000     ;;
   16001 
   16002   *)
   16003     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16004     ;;
   16005   esac
   16006   dynamic_linker='Win32 ld.exe'
   16007   # FIXME: first we should search . and the directory the executable is in
   16008   shlibpath_var=PATH
   16009   ;;
   16010 
   16011 darwin* | rhapsody*)
   16012   dynamic_linker="$host_os dyld"
   16013   version_type=darwin
   16014   need_lib_prefix=no
   16015   need_version=no
   16016   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16017   soname_spec='${libname}${release}${major}$shared_ext'
   16018   shlibpath_overrides_runpath=yes
   16019   shlibpath_var=DYLD_LIBRARY_PATH
   16020   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16021 
   16022   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16023   ;;
   16024 
   16025 dgux*)
   16026   version_type=linux
   16027   need_lib_prefix=no
   16028   need_version=no
   16029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16030   soname_spec='${libname}${release}${shared_ext}$major'
   16031   shlibpath_var=LD_LIBRARY_PATH
   16032   ;;
   16033 
   16034 freebsd1*)
   16035   dynamic_linker=no
   16036   ;;
   16037 
   16038 freebsd* | dragonfly*)
   16039   # DragonFly does not have aout.  When/if they implement a new
   16040   # versioning mechanism, adjust this.
   16041   if test -x /usr/bin/objformat; then
   16042     objformat=`/usr/bin/objformat`
   16043   else
   16044     case $host_os in
   16045     freebsd[123]*) objformat=aout ;;
   16046     *) objformat=elf ;;
   16047     esac
   16048   fi
   16049   version_type=freebsd-$objformat
   16050   case $version_type in
   16051     freebsd-elf*)
   16052       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16053       need_version=no
   16054       need_lib_prefix=no
   16055       ;;
   16056     freebsd-*)
   16057       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16058       need_version=yes
   16059       ;;
   16060   esac
   16061   shlibpath_var=LD_LIBRARY_PATH
   16062   case $host_os in
   16063   freebsd2*)
   16064     shlibpath_overrides_runpath=yes
   16065     ;;
   16066   freebsd3.[01]* | freebsdelf3.[01]*)
   16067     shlibpath_overrides_runpath=yes
   16068     hardcode_into_libs=yes
   16069     ;;
   16070   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16071   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16072     shlibpath_overrides_runpath=no
   16073     hardcode_into_libs=yes
   16074     ;;
   16075   *) # from 4.6 on, and DragonFly
   16076     shlibpath_overrides_runpath=yes
   16077     hardcode_into_libs=yes
   16078     ;;
   16079   esac
   16080   ;;
   16081 
   16082 gnu*)
   16083   version_type=linux
   16084   need_lib_prefix=no
   16085   need_version=no
   16086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16087   soname_spec='${libname}${release}${shared_ext}$major'
   16088   shlibpath_var=LD_LIBRARY_PATH
   16089   hardcode_into_libs=yes
   16090   ;;
   16091 
   16092 hpux9* | hpux10* | hpux11*)
   16093   # Give a soname corresponding to the major version so that dld.sl refuses to
   16094   # link against other versions.
   16095   version_type=sunos
   16096   need_lib_prefix=no
   16097   need_version=no
   16098   case $host_cpu in
   16099   ia64*)
   16100     shrext_cmds='.so'
   16101     hardcode_into_libs=yes
   16102     dynamic_linker="$host_os dld.so"
   16103     shlibpath_var=LD_LIBRARY_PATH
   16104     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16105     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16106     soname_spec='${libname}${release}${shared_ext}$major'
   16107     if test "X$HPUX_IA64_MODE" = X32; then
   16108       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16109     else
   16110       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16111     fi
   16112     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16113     ;;
   16114    hppa*64*)
   16115      shrext_cmds='.sl'
   16116      hardcode_into_libs=yes
   16117      dynamic_linker="$host_os dld.sl"
   16118      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16119      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16120      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16121      soname_spec='${libname}${release}${shared_ext}$major'
   16122      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16123      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16124      ;;
   16125    *)
   16126     shrext_cmds='.sl'
   16127     dynamic_linker="$host_os dld.sl"
   16128     shlibpath_var=SHLIB_PATH
   16129     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16130     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16131     soname_spec='${libname}${release}${shared_ext}$major'
   16132     ;;
   16133   esac
   16134   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16135   postinstall_cmds='chmod 555 $lib'
   16136   ;;
   16137 
   16138 interix[3-9]*)
   16139   version_type=linux
   16140   need_lib_prefix=no
   16141   need_version=no
   16142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16143   soname_spec='${libname}${release}${shared_ext}$major'
   16144   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16145   shlibpath_var=LD_LIBRARY_PATH
   16146   shlibpath_overrides_runpath=no
   16147   hardcode_into_libs=yes
   16148   ;;
   16149 
   16150 irix5* | irix6* | nonstopux*)
   16151   case $host_os in
   16152     nonstopux*) version_type=nonstopux ;;
   16153     *)
   16154 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16155 		version_type=linux
   16156 	else
   16157 		version_type=irix
   16158 	fi ;;
   16159   esac
   16160   need_lib_prefix=no
   16161   need_version=no
   16162   soname_spec='${libname}${release}${shared_ext}$major'
   16163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16164   case $host_os in
   16165   irix5* | nonstopux*)
   16166     libsuff= shlibsuff=
   16167     ;;
   16168   *)
   16169     case $LD in # libtool.m4 will add one of these switches to LD
   16170     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16171       libsuff= shlibsuff= libmagic=32-bit;;
   16172     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16173       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16174     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16175       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16176     *) libsuff= shlibsuff= libmagic=never-match;;
   16177     esac
   16178     ;;
   16179   esac
   16180   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16181   shlibpath_overrides_runpath=no
   16182   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16183   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16184   hardcode_into_libs=yes
   16185   ;;
   16186 
   16187 # No shared lib support for Linux oldld, aout, or coff.
   16188 linux*oldld* | linux*aout* | linux*coff*)
   16189   dynamic_linker=no
   16190   ;;
   16191 
   16192 # This must be Linux ELF.
   16193 linux* | k*bsd*-gnu)
   16194   version_type=linux
   16195   need_lib_prefix=no
   16196   need_version=no
   16197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16198   soname_spec='${libname}${release}${shared_ext}$major'
   16199   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16200   shlibpath_var=LD_LIBRARY_PATH
   16201   shlibpath_overrides_runpath=no
   16202   # This implies no fast_install, which is unacceptable.
   16203   # Some rework will be needed to allow for fast_install
   16204   # before this can be enabled.
   16205   hardcode_into_libs=yes
   16206   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16207   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16208 
   16209   # Append ld.so.conf contents to the search path
   16210   if test -f /etc/ld.so.conf; then
   16211     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' ' '`
   16212     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16213   fi
   16214 
   16215   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16216   # powerpc, because MkLinux only supported shared libraries with the
   16217   # GNU dynamic linker.  Since this was broken with cross compilers,
   16218   # most powerpc-linux boxes support dynamic linking these days and
   16219   # people can always --disable-shared, the test was removed, and we
   16220   # assume the GNU/Linux dynamic linker is in use.
   16221   dynamic_linker='GNU/Linux ld.so'
   16222   ;;
   16223 
   16224 netbsd*)
   16225   version_type=sunos
   16226   need_lib_prefix=no
   16227   need_version=no
   16228   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16230     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16231     dynamic_linker='NetBSD (a.out) ld.so'
   16232   else
   16233     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16234     soname_spec='${libname}${release}${shared_ext}$major'
   16235     dynamic_linker='NetBSD ld.elf_so'
   16236   fi
   16237   shlibpath_var=LD_LIBRARY_PATH
   16238   shlibpath_overrides_runpath=yes
   16239   hardcode_into_libs=yes
   16240   ;;
   16241 
   16242 newsos6)
   16243   version_type=linux
   16244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16245   shlibpath_var=LD_LIBRARY_PATH
   16246   shlibpath_overrides_runpath=yes
   16247   ;;
   16248 
   16249 nto-qnx*)
   16250   version_type=linux
   16251   need_lib_prefix=no
   16252   need_version=no
   16253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16254   soname_spec='${libname}${release}${shared_ext}$major'
   16255   shlibpath_var=LD_LIBRARY_PATH
   16256   shlibpath_overrides_runpath=yes
   16257   ;;
   16258 
   16259 openbsd*)
   16260   version_type=sunos
   16261   sys_lib_dlsearch_path_spec="/usr/lib"
   16262   need_lib_prefix=no
   16263   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16264   case $host_os in
   16265     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16266     *)                         need_version=no  ;;
   16267   esac
   16268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16269   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16270   shlibpath_var=LD_LIBRARY_PATH
   16271   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16272     case $host_os in
   16273       openbsd2.[89] | openbsd2.[89].*)
   16274 	shlibpath_overrides_runpath=no
   16275 	;;
   16276       *)
   16277 	shlibpath_overrides_runpath=yes
   16278 	;;
   16279       esac
   16280   else
   16281     shlibpath_overrides_runpath=yes
   16282   fi
   16283   ;;
   16284 
   16285 os2*)
   16286   libname_spec='$name'
   16287   shrext_cmds=".dll"
   16288   need_lib_prefix=no
   16289   library_names_spec='$libname${shared_ext} $libname.a'
   16290   dynamic_linker='OS/2 ld.exe'
   16291   shlibpath_var=LIBPATH
   16292   ;;
   16293 
   16294 osf3* | osf4* | osf5*)
   16295   version_type=osf
   16296   need_lib_prefix=no
   16297   need_version=no
   16298   soname_spec='${libname}${release}${shared_ext}$major'
   16299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16300   shlibpath_var=LD_LIBRARY_PATH
   16301   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16302   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16303   ;;
   16304 
   16305 rdos*)
   16306   dynamic_linker=no
   16307   ;;
   16308 
   16309 solaris*)
   16310   version_type=linux
   16311   need_lib_prefix=no
   16312   need_version=no
   16313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16314   soname_spec='${libname}${release}${shared_ext}$major'
   16315   shlibpath_var=LD_LIBRARY_PATH
   16316   shlibpath_overrides_runpath=yes
   16317   hardcode_into_libs=yes
   16318   # ldd complains unless libraries are executable
   16319   postinstall_cmds='chmod +x $lib'
   16320   ;;
   16321 
   16322 sunos4*)
   16323   version_type=sunos
   16324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16325   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16326   shlibpath_var=LD_LIBRARY_PATH
   16327   shlibpath_overrides_runpath=yes
   16328   if test "$with_gnu_ld" = yes; then
   16329     need_lib_prefix=no
   16330   fi
   16331   need_version=yes
   16332   ;;
   16333 
   16334 sysv4 | sysv4.3*)
   16335   version_type=linux
   16336   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16337   soname_spec='${libname}${release}${shared_ext}$major'
   16338   shlibpath_var=LD_LIBRARY_PATH
   16339   case $host_vendor in
   16340     sni)
   16341       shlibpath_overrides_runpath=no
   16342       need_lib_prefix=no
   16343       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16344       runpath_var=LD_RUN_PATH
   16345       ;;
   16346     siemens)
   16347       need_lib_prefix=no
   16348       ;;
   16349     motorola)
   16350       need_lib_prefix=no
   16351       need_version=no
   16352       shlibpath_overrides_runpath=no
   16353       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16354       ;;
   16355   esac
   16356   ;;
   16357 
   16358 sysv4*MP*)
   16359   if test -d /usr/nec ;then
   16360     version_type=linux
   16361     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16362     soname_spec='$libname${shared_ext}.$major'
   16363     shlibpath_var=LD_LIBRARY_PATH
   16364   fi
   16365   ;;
   16366 
   16367 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16368   version_type=freebsd-elf
   16369   need_lib_prefix=no
   16370   need_version=no
   16371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16372   soname_spec='${libname}${release}${shared_ext}$major'
   16373   shlibpath_var=LD_LIBRARY_PATH
   16374   hardcode_into_libs=yes
   16375   if test "$with_gnu_ld" = yes; then
   16376     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16377     shlibpath_overrides_runpath=no
   16378   else
   16379     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16380     shlibpath_overrides_runpath=yes
   16381     case $host_os in
   16382       sco3.2v5*)
   16383         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16384 	;;
   16385     esac
   16386   fi
   16387   sys_lib_dlsearch_path_spec='/usr/lib'
   16388   ;;
   16389 
   16390 uts4*)
   16391   version_type=linux
   16392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16393   soname_spec='${libname}${release}${shared_ext}$major'
   16394   shlibpath_var=LD_LIBRARY_PATH
   16395   ;;
   16396 
   16397 *)
   16398   dynamic_linker=no
   16399   ;;
   16400 esac
   16401 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16402 $as_echo "$dynamic_linker" >&6; }
   16403 test "$dynamic_linker" = no && can_build_shared=no
   16404 
   16405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16406   $as_echo_n "(cached) " >&6
   16407 else
   16408   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16409 fi
   16410 
   16411 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16412 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16413   $as_echo_n "(cached) " >&6
   16414 else
   16415   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16416 fi
   16417 
   16418 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16419 
   16420 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16421 if test "$GCC" = yes; then
   16422   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16423 fi
   16424 
   16425 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16426 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16427 hardcode_action_F77=
   16428 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16429    test -n "$runpath_var_F77" || \
   16430    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16431 
   16432   # We can hardcode non-existant directories.
   16433   if test "$hardcode_direct_F77" != no &&
   16434      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16435      # have to relink, otherwise we might link with an installed library
   16436      # when we should be linking with a yet-to-be-installed one
   16437      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16438      test "$hardcode_minus_L_F77" != no; then
   16439     # Linking always hardcodes the temporary library directory.
   16440     hardcode_action_F77=relink
   16441   else
   16442     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16443     hardcode_action_F77=immediate
   16444   fi
   16445 else
   16446   # We cannot hardcode anything, or else we can only hardcode existing
   16447   # directories.
   16448   hardcode_action_F77=unsupported
   16449 fi
   16450 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16451 $as_echo "$hardcode_action_F77" >&6; }
   16452 
   16453 if test "$hardcode_action_F77" = relink; then
   16454   # Fast installation is not supported
   16455   enable_fast_install=no
   16456 elif test "$shlibpath_overrides_runpath" = yes ||
   16457      test "$enable_shared" = no; then
   16458   # Fast installation is not necessary
   16459   enable_fast_install=needless
   16460 fi
   16461 
   16462 
   16463 # The else clause should only fire when bootstrapping the
   16464 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16465 # with your package, and you will get complaints that there are
   16466 # no rules to generate ltmain.sh.
   16467 if test -f "$ltmain"; then
   16468   # See if we are running on zsh, and set the options which allow our commands through
   16469   # without removal of \ escapes.
   16470   if test -n "${ZSH_VERSION+set}" ; then
   16471     setopt NO_GLOB_SUBST
   16472   fi
   16473   # Now quote all the things that may contain metacharacters while being
   16474   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16475   # variables and quote the copies for generation of the libtool script.
   16476   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16477     SED SHELL STRIP \
   16478     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16479     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16480     deplibs_check_method reload_flag reload_cmds need_locks \
   16481     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16482     lt_cv_sys_global_symbol_to_c_name_address \
   16483     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16484     old_postinstall_cmds old_postuninstall_cmds \
   16485     compiler_F77 \
   16486     CC_F77 \
   16487     LD_F77 \
   16488     lt_prog_compiler_wl_F77 \
   16489     lt_prog_compiler_pic_F77 \
   16490     lt_prog_compiler_static_F77 \
   16491     lt_prog_compiler_no_builtin_flag_F77 \
   16492     export_dynamic_flag_spec_F77 \
   16493     thread_safe_flag_spec_F77 \
   16494     whole_archive_flag_spec_F77 \
   16495     enable_shared_with_static_runtimes_F77 \
   16496     old_archive_cmds_F77 \
   16497     old_archive_from_new_cmds_F77 \
   16498     predep_objects_F77 \
   16499     postdep_objects_F77 \
   16500     predeps_F77 \
   16501     postdeps_F77 \
   16502     compiler_lib_search_path_F77 \
   16503     compiler_lib_search_dirs_F77 \
   16504     archive_cmds_F77 \
   16505     archive_expsym_cmds_F77 \
   16506     postinstall_cmds_F77 \
   16507     postuninstall_cmds_F77 \
   16508     old_archive_from_expsyms_cmds_F77 \
   16509     allow_undefined_flag_F77 \
   16510     no_undefined_flag_F77 \
   16511     export_symbols_cmds_F77 \
   16512     hardcode_libdir_flag_spec_F77 \
   16513     hardcode_libdir_flag_spec_ld_F77 \
   16514     hardcode_libdir_separator_F77 \
   16515     hardcode_automatic_F77 \
   16516     module_cmds_F77 \
   16517     module_expsym_cmds_F77 \
   16518     lt_cv_prog_compiler_c_o_F77 \
   16519     fix_srcfile_path_F77 \
   16520     exclude_expsyms_F77 \
   16521     include_expsyms_F77; do
   16522 
   16523     case $var in
   16524     old_archive_cmds_F77 | \
   16525     old_archive_from_new_cmds_F77 | \
   16526     archive_cmds_F77 | \
   16527     archive_expsym_cmds_F77 | \
   16528     module_cmds_F77 | \
   16529     module_expsym_cmds_F77 | \
   16530     old_archive_from_expsyms_cmds_F77 | \
   16531     export_symbols_cmds_F77 | \
   16532     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16533     postinstall_cmds | postuninstall_cmds | \
   16534     old_postinstall_cmds | old_postuninstall_cmds | \
   16535     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16536       # Double-quote double-evaled strings.
   16537       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16538       ;;
   16539     *)
   16540       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16541       ;;
   16542     esac
   16543   done
   16544 
   16545   case $lt_echo in
   16546   *'\$0 --fallback-echo"')
   16547     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16548     ;;
   16549   esac
   16550 
   16551 cfgfile="$ofile"
   16552 
   16553   cat <<__EOF__ >> "$cfgfile"
   16554 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16555 
   16556 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16557 
   16558 # Shell to use when invoking shell scripts.
   16559 SHELL=$lt_SHELL
   16560 
   16561 # Whether or not to build shared libraries.
   16562 build_libtool_libs=$enable_shared
   16563 
   16564 # Whether or not to build static libraries.
   16565 build_old_libs=$enable_static
   16566 
   16567 # Whether or not to add -lc for building shared libraries.
   16568 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16569 
   16570 # Whether or not to disallow shared libs when runtime libs are static
   16571 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16572 
   16573 # Whether or not to optimize for fast installation.
   16574 fast_install=$enable_fast_install
   16575 
   16576 # The host system.
   16577 host_alias=$host_alias
   16578 host=$host
   16579 host_os=$host_os
   16580 
   16581 # The build system.
   16582 build_alias=$build_alias
   16583 build=$build
   16584 build_os=$build_os
   16585 
   16586 # An echo program that does not interpret backslashes.
   16587 echo=$lt_echo
   16588 
   16589 # The archiver.
   16590 AR=$lt_AR
   16591 AR_FLAGS=$lt_AR_FLAGS
   16592 
   16593 # A C compiler.
   16594 LTCC=$lt_LTCC
   16595 
   16596 # LTCC compiler flags.
   16597 LTCFLAGS=$lt_LTCFLAGS
   16598 
   16599 # A language-specific compiler.
   16600 CC=$lt_compiler_F77
   16601 
   16602 # Is the compiler the GNU C compiler?
   16603 with_gcc=$GCC_F77
   16604 
   16605 # An ERE matcher.
   16606 EGREP=$lt_EGREP
   16607 
   16608 # The linker used to build libraries.
   16609 LD=$lt_LD_F77
   16610 
   16611 # Whether we need hard or soft links.
   16612 LN_S=$lt_LN_S
   16613 
   16614 # A BSD-compatible nm program.
   16615 NM=$lt_NM
   16616 
   16617 # A symbol stripping program
   16618 STRIP=$lt_STRIP
   16619 
   16620 # Used to examine libraries when file_magic_cmd begins "file"
   16621 MAGIC_CMD=$MAGIC_CMD
   16622 
   16623 # Used on cygwin: DLL creation program.
   16624 DLLTOOL="$DLLTOOL"
   16625 
   16626 # Used on cygwin: object dumper.
   16627 OBJDUMP="$OBJDUMP"
   16628 
   16629 # Used on cygwin: assembler.
   16630 AS="$AS"
   16631 
   16632 # The name of the directory that contains temporary libtool files.
   16633 objdir=$objdir
   16634 
   16635 # How to create reloadable object files.
   16636 reload_flag=$lt_reload_flag
   16637 reload_cmds=$lt_reload_cmds
   16638 
   16639 # How to pass a linker flag through the compiler.
   16640 wl=$lt_lt_prog_compiler_wl_F77
   16641 
   16642 # Object file suffix (normally "o").
   16643 objext="$ac_objext"
   16644 
   16645 # Old archive suffix (normally "a").
   16646 libext="$libext"
   16647 
   16648 # Shared library suffix (normally ".so").
   16649 shrext_cmds='$shrext_cmds'
   16650 
   16651 # Executable file suffix (normally "").
   16652 exeext="$exeext"
   16653 
   16654 # Additional compiler flags for building library objects.
   16655 pic_flag=$lt_lt_prog_compiler_pic_F77
   16656 pic_mode=$pic_mode
   16657 
   16658 # What is the maximum length of a command?
   16659 max_cmd_len=$lt_cv_sys_max_cmd_len
   16660 
   16661 # Does compiler simultaneously support -c and -o options?
   16662 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16663 
   16664 # Must we lock files when doing compilation?
   16665 need_locks=$lt_need_locks
   16666 
   16667 # Do we need the lib prefix for modules?
   16668 need_lib_prefix=$need_lib_prefix
   16669 
   16670 # Do we need a version for libraries?
   16671 need_version=$need_version
   16672 
   16673 # Whether dlopen is supported.
   16674 dlopen_support=$enable_dlopen
   16675 
   16676 # Whether dlopen of programs is supported.
   16677 dlopen_self=$enable_dlopen_self
   16678 
   16679 # Whether dlopen of statically linked programs is supported.
   16680 dlopen_self_static=$enable_dlopen_self_static
   16681 
   16682 # Compiler flag to prevent dynamic linking.
   16683 link_static_flag=$lt_lt_prog_compiler_static_F77
   16684 
   16685 # Compiler flag to turn off builtin functions.
   16686 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16687 
   16688 # Compiler flag to allow reflexive dlopens.
   16689 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16690 
   16691 # Compiler flag to generate shared objects directly from archives.
   16692 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16693 
   16694 # Compiler flag to generate thread-safe objects.
   16695 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16696 
   16697 # Library versioning type.
   16698 version_type=$version_type
   16699 
   16700 # Format of library name prefix.
   16701 libname_spec=$lt_libname_spec
   16702 
   16703 # List of archive names.  First name is the real one, the rest are links.
   16704 # The last name is the one that the linker finds with -lNAME.
   16705 library_names_spec=$lt_library_names_spec
   16706 
   16707 # The coded name of the library, if different from the real name.
   16708 soname_spec=$lt_soname_spec
   16709 
   16710 # Commands used to build and install an old-style archive.
   16711 RANLIB=$lt_RANLIB
   16712 old_archive_cmds=$lt_old_archive_cmds_F77
   16713 old_postinstall_cmds=$lt_old_postinstall_cmds
   16714 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16715 
   16716 # Create an old-style archive from a shared archive.
   16717 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16718 
   16719 # Create a temporary old-style archive to link instead of a shared archive.
   16720 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16721 
   16722 # Commands used to build and install a shared archive.
   16723 archive_cmds=$lt_archive_cmds_F77
   16724 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16725 postinstall_cmds=$lt_postinstall_cmds
   16726 postuninstall_cmds=$lt_postuninstall_cmds
   16727 
   16728 # Commands used to build a loadable module (assumed same as above if empty)
   16729 module_cmds=$lt_module_cmds_F77
   16730 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16731 
   16732 # Commands to strip libraries.
   16733 old_striplib=$lt_old_striplib
   16734 striplib=$lt_striplib
   16735 
   16736 # Dependencies to place before the objects being linked to create a
   16737 # shared library.
   16738 predep_objects=$lt_predep_objects_F77
   16739 
   16740 # Dependencies to place after the objects being linked to create a
   16741 # shared library.
   16742 postdep_objects=$lt_postdep_objects_F77
   16743 
   16744 # Dependencies to place before the objects being linked to create a
   16745 # shared library.
   16746 predeps=$lt_predeps_F77
   16747 
   16748 # Dependencies to place after the objects being linked to create a
   16749 # shared library.
   16750 postdeps=$lt_postdeps_F77
   16751 
   16752 # The directories searched by this compiler when creating a shared
   16753 # library
   16754 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16755 
   16756 # The library search path used internally by the compiler when linking
   16757 # a shared library.
   16758 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16759 
   16760 # Method to check whether dependent libraries are shared objects.
   16761 deplibs_check_method=$lt_deplibs_check_method
   16762 
   16763 # Command to use when deplibs_check_method == file_magic.
   16764 file_magic_cmd=$lt_file_magic_cmd
   16765 
   16766 # Flag that allows shared libraries with undefined symbols to be built.
   16767 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16768 
   16769 # Flag that forces no undefined symbols.
   16770 no_undefined_flag=$lt_no_undefined_flag_F77
   16771 
   16772 # Commands used to finish a libtool library installation in a directory.
   16773 finish_cmds=$lt_finish_cmds
   16774 
   16775 # Same as above, but a single script fragment to be evaled but not shown.
   16776 finish_eval=$lt_finish_eval
   16777 
   16778 # Take the output of nm and produce a listing of raw symbols and C names.
   16779 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16780 
   16781 # Transform the output of nm in a proper C declaration
   16782 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16783 
   16784 # Transform the output of nm in a C name address pair
   16785 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16786 
   16787 # This is the shared library runtime path variable.
   16788 runpath_var=$runpath_var
   16789 
   16790 # This is the shared library path variable.
   16791 shlibpath_var=$shlibpath_var
   16792 
   16793 # Is shlibpath searched before the hard-coded library search path?
   16794 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16795 
   16796 # How to hardcode a shared library path into an executable.
   16797 hardcode_action=$hardcode_action_F77
   16798 
   16799 # Whether we should hardcode library paths into libraries.
   16800 hardcode_into_libs=$hardcode_into_libs
   16801 
   16802 # Flag to hardcode \$libdir into a binary during linking.
   16803 # This must work even if \$libdir does not exist.
   16804 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16805 
   16806 # If ld is used when linking, flag to hardcode \$libdir into
   16807 # a binary during linking. This must work even if \$libdir does
   16808 # not exist.
   16809 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16810 
   16811 # Whether we need a single -rpath flag with a separated argument.
   16812 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16813 
   16814 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16815 # resulting binary.
   16816 hardcode_direct=$hardcode_direct_F77
   16817 
   16818 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16819 # resulting binary.
   16820 hardcode_minus_L=$hardcode_minus_L_F77
   16821 
   16822 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16823 # the resulting binary.
   16824 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16825 
   16826 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16827 # and all subsequent libraries and executables linked against it.
   16828 hardcode_automatic=$hardcode_automatic_F77
   16829 
   16830 # Variables whose values should be saved in libtool wrapper scripts and
   16831 # restored at relink time.
   16832 variables_saved_for_relink="$variables_saved_for_relink"
   16833 
   16834 # Whether libtool must link a program against all its dependency libraries.
   16835 link_all_deplibs=$link_all_deplibs_F77
   16836 
   16837 # Compile-time system search path for libraries
   16838 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16839 
   16840 # Run-time system search path for libraries
   16841 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16842 
   16843 # Fix the shell variable \$srcfile for the compiler.
   16844 fix_srcfile_path=$lt_fix_srcfile_path
   16845 
   16846 # Set to yes if exported symbols are required.
   16847 always_export_symbols=$always_export_symbols_F77
   16848 
   16849 # The commands to list exported symbols.
   16850 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16851 
   16852 # The commands to extract the exported symbol list from a shared archive.
   16853 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16854 
   16855 # Symbols that should not be listed in the preloaded symbols.
   16856 exclude_expsyms=$lt_exclude_expsyms_F77
   16857 
   16858 # Symbols that must always be exported.
   16859 include_expsyms=$lt_include_expsyms_F77
   16860 
   16861 # ### END LIBTOOL TAG CONFIG: $tagname
   16862 
   16863 __EOF__
   16864 
   16865 
   16866 else
   16867   # If there is no Makefile yet, we rely on a make rule to execute
   16868   # `config.status --recheck' to rerun these tests and create the
   16869   # libtool script then.
   16870   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16871   if test -f "$ltmain_in"; then
   16872     test -f Makefile && make "$ltmain"
   16873   fi
   16874 fi
   16875 
   16876 
   16877 ac_ext=c
   16878 ac_cpp='$CPP $CPPFLAGS'
   16879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16882 
   16883 CC="$lt_save_CC"
   16884 
   16885 	else
   16886 	  tagname=""
   16887 	fi
   16888 	;;
   16889 
   16890       GCJ)
   16891 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16892 
   16893 
   16894 # Source file extension for Java test sources.
   16895 ac_ext=java
   16896 
   16897 # Object file extension for compiled Java test sources.
   16898 objext=o
   16899 objext_GCJ=$objext
   16900 
   16901 # Code to be used in simple compile tests
   16902 lt_simple_compile_test_code="class foo {}"
   16903 
   16904 # Code to be used in simple link tests
   16905 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16906 
   16907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16908 
   16909 # If no C compiler was specified, use CC.
   16910 LTCC=${LTCC-"$CC"}
   16911 
   16912 # If no C compiler flags were specified, use CFLAGS.
   16913 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16914 
   16915 # Allow CC to be a program name with arguments.
   16916 compiler=$CC
   16917 
   16918 
   16919 # save warnings/boilerplate of simple test code
   16920 ac_outfile=conftest.$ac_objext
   16921 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16922 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16923 _lt_compiler_boilerplate=`cat conftest.err`
   16924 $rm conftest*
   16925 
   16926 ac_outfile=conftest.$ac_objext
   16927 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16928 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16929 _lt_linker_boilerplate=`cat conftest.err`
   16930 $rm -r conftest*
   16931 
   16932 
   16933 # Allow CC to be a program name with arguments.
   16934 lt_save_CC="$CC"
   16935 CC=${GCJ-"gcj"}
   16936 compiler=$CC
   16937 compiler_GCJ=$CC
   16938 for cc_temp in $compiler""; do
   16939   case $cc_temp in
   16940     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16941     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16942     \-*) ;;
   16943     *) break;;
   16944   esac
   16945 done
   16946 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16947 
   16948 
   16949 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16950 archive_cmds_need_lc_GCJ=no
   16951 
   16952 old_archive_cmds_GCJ=$old_archive_cmds
   16953 
   16954 
   16955 lt_prog_compiler_no_builtin_flag_GCJ=
   16956 
   16957 if test "$GCC" = yes; then
   16958   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16959 
   16960 
   16961 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16962 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16963 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16964   $as_echo_n "(cached) " >&6
   16965 else
   16966   lt_cv_prog_compiler_rtti_exceptions=no
   16967   ac_outfile=conftest.$ac_objext
   16968    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16969    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16970    # Insert the option either (1) after the last *FLAGS variable, or
   16971    # (2) before a word containing "conftest.", or (3) at the end.
   16972    # Note that $ac_compile itself does not contain backslashes and begins
   16973    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16974    # The option is referenced via a variable to avoid confusing sed.
   16975    lt_compile=`echo "$ac_compile" | $SED \
   16976    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16977    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16978    -e 's:$: $lt_compiler_flag:'`
   16979    (eval echo "\"\$as_me:16979: $lt_compile\"" >&5)
   16980    (eval "$lt_compile" 2>conftest.err)
   16981    ac_status=$?
   16982    cat conftest.err >&5
   16983    echo "$as_me:16983: \$? = $ac_status" >&5
   16984    if (exit $ac_status) && test -s "$ac_outfile"; then
   16985      # The compiler can only warn and ignore the option if not recognized
   16986      # So say no if there are warnings other than the usual output.
   16987      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16988      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16989      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16990        lt_cv_prog_compiler_rtti_exceptions=yes
   16991      fi
   16992    fi
   16993    $rm conftest*
   16994 
   16995 fi
   16996 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16997 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16998 
   16999 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17000     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17001 else
   17002     :
   17003 fi
   17004 
   17005 fi
   17006 
   17007 lt_prog_compiler_wl_GCJ=
   17008 lt_prog_compiler_pic_GCJ=
   17009 lt_prog_compiler_static_GCJ=
   17010 
   17011 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17012 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17013 
   17014   if test "$GCC" = yes; then
   17015     lt_prog_compiler_wl_GCJ='-Wl,'
   17016     lt_prog_compiler_static_GCJ='-static'
   17017 
   17018     case $host_os in
   17019       aix*)
   17020       # All AIX code is PIC.
   17021       if test "$host_cpu" = ia64; then
   17022 	# AIX 5 now supports IA64 processor
   17023 	lt_prog_compiler_static_GCJ='-Bstatic'
   17024       fi
   17025       ;;
   17026 
   17027     amigaos*)
   17028       # FIXME: we need at least 68020 code to build shared libraries, but
   17029       # adding the `-m68020' flag to GCC prevents building anything better,
   17030       # like `-m68040'.
   17031       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17032       ;;
   17033 
   17034     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17035       # PIC is the default for these OSes.
   17036       ;;
   17037 
   17038     mingw* | cygwin* | pw32* | os2*)
   17039       # This hack is so that the source file can tell whether it is being
   17040       # built for inclusion in a dll (and should export symbols for example).
   17041       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17042       # (--disable-auto-import) libraries
   17043 
   17044       ;;
   17045 
   17046     darwin* | rhapsody*)
   17047       # PIC is the default on this platform
   17048       # Common symbols not allowed in MH_DYLIB files
   17049       lt_prog_compiler_pic_GCJ='-fno-common'
   17050       ;;
   17051 
   17052     interix[3-9]*)
   17053       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17054       # Instead, we relocate shared libraries at runtime.
   17055       ;;
   17056 
   17057     msdosdjgpp*)
   17058       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17059       # on systems that don't support them.
   17060       lt_prog_compiler_can_build_shared_GCJ=no
   17061       enable_shared=no
   17062       ;;
   17063 
   17064     sysv4*MP*)
   17065       if test -d /usr/nec; then
   17066 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17067       fi
   17068       ;;
   17069 
   17070     hpux*)
   17071       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17072       # not for PA HP-UX.
   17073       case $host_cpu in
   17074       hppa*64*|ia64*)
   17075 	# +Z the default
   17076 	;;
   17077       *)
   17078 	lt_prog_compiler_pic_GCJ='-fPIC'
   17079 	;;
   17080       esac
   17081       ;;
   17082 
   17083     *)
   17084       lt_prog_compiler_pic_GCJ='-fPIC'
   17085       ;;
   17086     esac
   17087   else
   17088     # PORTME Check for flag to pass linker flags through the system compiler.
   17089     case $host_os in
   17090     aix*)
   17091       lt_prog_compiler_wl_GCJ='-Wl,'
   17092       if test "$host_cpu" = ia64; then
   17093 	# AIX 5 now supports IA64 processor
   17094 	lt_prog_compiler_static_GCJ='-Bstatic'
   17095       else
   17096 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17097       fi
   17098       ;;
   17099       darwin*)
   17100         # PIC is the default on this platform
   17101         # Common symbols not allowed in MH_DYLIB files
   17102        case $cc_basename in
   17103          xlc*)
   17104          lt_prog_compiler_pic_GCJ='-qnocommon'
   17105          lt_prog_compiler_wl_GCJ='-Wl,'
   17106          ;;
   17107        esac
   17108        ;;
   17109 
   17110     mingw* | cygwin* | pw32* | os2*)
   17111       # This hack is so that the source file can tell whether it is being
   17112       # built for inclusion in a dll (and should export symbols for example).
   17113 
   17114       ;;
   17115 
   17116     hpux9* | hpux10* | hpux11*)
   17117       lt_prog_compiler_wl_GCJ='-Wl,'
   17118       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17119       # not for PA HP-UX.
   17120       case $host_cpu in
   17121       hppa*64*|ia64*)
   17122 	# +Z the default
   17123 	;;
   17124       *)
   17125 	lt_prog_compiler_pic_GCJ='+Z'
   17126 	;;
   17127       esac
   17128       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17129       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17130       ;;
   17131 
   17132     irix5* | irix6* | nonstopux*)
   17133       lt_prog_compiler_wl_GCJ='-Wl,'
   17134       # PIC (with -KPIC) is the default.
   17135       lt_prog_compiler_static_GCJ='-non_shared'
   17136       ;;
   17137 
   17138     newsos6)
   17139       lt_prog_compiler_pic_GCJ='-KPIC'
   17140       lt_prog_compiler_static_GCJ='-Bstatic'
   17141       ;;
   17142 
   17143     linux* | k*bsd*-gnu)
   17144       case $cc_basename in
   17145       icc* | ecc*)
   17146 	lt_prog_compiler_wl_GCJ='-Wl,'
   17147 	lt_prog_compiler_pic_GCJ='-KPIC'
   17148 	lt_prog_compiler_static_GCJ='-static'
   17149         ;;
   17150       pgcc* | pgf77* | pgf90* | pgf95*)
   17151         # Portland Group compilers (*not* the Pentium gcc compiler,
   17152 	# which looks to be a dead project)
   17153 	lt_prog_compiler_wl_GCJ='-Wl,'
   17154 	lt_prog_compiler_pic_GCJ='-fpic'
   17155 	lt_prog_compiler_static_GCJ='-Bstatic'
   17156         ;;
   17157       ccc*)
   17158         lt_prog_compiler_wl_GCJ='-Wl,'
   17159         # All Alpha code is PIC.
   17160         lt_prog_compiler_static_GCJ='-non_shared'
   17161         ;;
   17162       *)
   17163         case `$CC -V 2>&1 | sed 5q` in
   17164 	*Sun\ C*)
   17165 	  # Sun C 5.9
   17166 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17167 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17168 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17169 	  ;;
   17170 	*Sun\ F*)
   17171 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17172 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17173 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17174 	  lt_prog_compiler_wl_GCJ=''
   17175 	  ;;
   17176 	esac
   17177 	;;
   17178       esac
   17179       ;;
   17180 
   17181     osf3* | osf4* | osf5*)
   17182       lt_prog_compiler_wl_GCJ='-Wl,'
   17183       # All OSF/1 code is PIC.
   17184       lt_prog_compiler_static_GCJ='-non_shared'
   17185       ;;
   17186 
   17187     rdos*)
   17188       lt_prog_compiler_static_GCJ='-non_shared'
   17189       ;;
   17190 
   17191     solaris*)
   17192       lt_prog_compiler_pic_GCJ='-KPIC'
   17193       lt_prog_compiler_static_GCJ='-Bstatic'
   17194       case $cc_basename in
   17195       f77* | f90* | f95*)
   17196 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17197       *)
   17198 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17199       esac
   17200       ;;
   17201 
   17202     sunos4*)
   17203       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17204       lt_prog_compiler_pic_GCJ='-PIC'
   17205       lt_prog_compiler_static_GCJ='-Bstatic'
   17206       ;;
   17207 
   17208     sysv4 | sysv4.2uw2* | sysv4.3*)
   17209       lt_prog_compiler_wl_GCJ='-Wl,'
   17210       lt_prog_compiler_pic_GCJ='-KPIC'
   17211       lt_prog_compiler_static_GCJ='-Bstatic'
   17212       ;;
   17213 
   17214     sysv4*MP*)
   17215       if test -d /usr/nec ;then
   17216 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17217 	lt_prog_compiler_static_GCJ='-Bstatic'
   17218       fi
   17219       ;;
   17220 
   17221     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17222       lt_prog_compiler_wl_GCJ='-Wl,'
   17223       lt_prog_compiler_pic_GCJ='-KPIC'
   17224       lt_prog_compiler_static_GCJ='-Bstatic'
   17225       ;;
   17226 
   17227     unicos*)
   17228       lt_prog_compiler_wl_GCJ='-Wl,'
   17229       lt_prog_compiler_can_build_shared_GCJ=no
   17230       ;;
   17231 
   17232     uts4*)
   17233       lt_prog_compiler_pic_GCJ='-pic'
   17234       lt_prog_compiler_static_GCJ='-Bstatic'
   17235       ;;
   17236 
   17237     *)
   17238       lt_prog_compiler_can_build_shared_GCJ=no
   17239       ;;
   17240     esac
   17241   fi
   17242 
   17243 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17244 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17245 
   17246 #
   17247 # Check to make sure the PIC flag actually works.
   17248 #
   17249 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17250 
   17251 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17252 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17253 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17254   $as_echo_n "(cached) " >&6
   17255 else
   17256   lt_cv_prog_compiler_pic_works_GCJ=no
   17257   ac_outfile=conftest.$ac_objext
   17258    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17259    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17260    # Insert the option either (1) after the last *FLAGS variable, or
   17261    # (2) before a word containing "conftest.", or (3) at the end.
   17262    # Note that $ac_compile itself does not contain backslashes and begins
   17263    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17264    # The option is referenced via a variable to avoid confusing sed.
   17265    lt_compile=`echo "$ac_compile" | $SED \
   17266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17268    -e 's:$: $lt_compiler_flag:'`
   17269    (eval echo "\"\$as_me:17269: $lt_compile\"" >&5)
   17270    (eval "$lt_compile" 2>conftest.err)
   17271    ac_status=$?
   17272    cat conftest.err >&5
   17273    echo "$as_me:17273: \$? = $ac_status" >&5
   17274    if (exit $ac_status) && test -s "$ac_outfile"; then
   17275      # The compiler can only warn and ignore the option if not recognized
   17276      # So say no if there are warnings other than the usual output.
   17277      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17278      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17279      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17280        lt_cv_prog_compiler_pic_works_GCJ=yes
   17281      fi
   17282    fi
   17283    $rm conftest*
   17284 
   17285 fi
   17286 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17287 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17288 
   17289 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17290     case $lt_prog_compiler_pic_GCJ in
   17291      "" | " "*) ;;
   17292      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17293      esac
   17294 else
   17295     lt_prog_compiler_pic_GCJ=
   17296      lt_prog_compiler_can_build_shared_GCJ=no
   17297 fi
   17298 
   17299 fi
   17300 case $host_os in
   17301   # For platforms which do not support PIC, -DPIC is meaningless:
   17302   *djgpp*)
   17303     lt_prog_compiler_pic_GCJ=
   17304     ;;
   17305   *)
   17306     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17307     ;;
   17308 esac
   17309 
   17310 #
   17311 # Check to make sure the static flag actually works.
   17312 #
   17313 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17314 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17315 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17316 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17317   $as_echo_n "(cached) " >&6
   17318 else
   17319   lt_cv_prog_compiler_static_works_GCJ=no
   17320    save_LDFLAGS="$LDFLAGS"
   17321    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17322    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17323    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17324      # The linker can only warn and ignore the option if not recognized
   17325      # So say no if there are warnings
   17326      if test -s conftest.err; then
   17327        # Append any errors to the config.log.
   17328        cat conftest.err 1>&5
   17329        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17330        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17331        if diff conftest.exp conftest.er2 >/dev/null; then
   17332          lt_cv_prog_compiler_static_works_GCJ=yes
   17333        fi
   17334      else
   17335        lt_cv_prog_compiler_static_works_GCJ=yes
   17336      fi
   17337    fi
   17338    $rm -r conftest*
   17339    LDFLAGS="$save_LDFLAGS"
   17340 
   17341 fi
   17342 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17343 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17344 
   17345 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17346     :
   17347 else
   17348     lt_prog_compiler_static_GCJ=
   17349 fi
   17350 
   17351 
   17352 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17353 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17354 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17355   $as_echo_n "(cached) " >&6
   17356 else
   17357   lt_cv_prog_compiler_c_o_GCJ=no
   17358    $rm -r conftest 2>/dev/null
   17359    mkdir conftest
   17360    cd conftest
   17361    mkdir out
   17362    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17363 
   17364    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17365    # Insert the option either (1) after the last *FLAGS variable, or
   17366    # (2) before a word containing "conftest.", or (3) at the end.
   17367    # Note that $ac_compile itself does not contain backslashes and begins
   17368    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17369    lt_compile=`echo "$ac_compile" | $SED \
   17370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17372    -e 's:$: $lt_compiler_flag:'`
   17373    (eval echo "\"\$as_me:17373: $lt_compile\"" >&5)
   17374    (eval "$lt_compile" 2>out/conftest.err)
   17375    ac_status=$?
   17376    cat out/conftest.err >&5
   17377    echo "$as_me:17377: \$? = $ac_status" >&5
   17378    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17379    then
   17380      # The compiler can only warn and ignore the option if not recognized
   17381      # So say no if there are warnings
   17382      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17383      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17384      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17385        lt_cv_prog_compiler_c_o_GCJ=yes
   17386      fi
   17387    fi
   17388    chmod u+w . 2>&5
   17389    $rm conftest*
   17390    # SGI C++ compiler will create directory out/ii_files/ for
   17391    # template instantiation
   17392    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17393    $rm out/* && rmdir out
   17394    cd ..
   17395    rmdir conftest
   17396    $rm conftest*
   17397 
   17398 fi
   17399 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17400 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17401 
   17402 
   17403 hard_links="nottested"
   17404 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17405   # do not overwrite the value of need_locks provided by the user
   17406   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17407 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17408   hard_links=yes
   17409   $rm conftest*
   17410   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17411   touch conftest.a
   17412   ln conftest.a conftest.b 2>&5 || hard_links=no
   17413   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17414   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17415 $as_echo "$hard_links" >&6; }
   17416   if test "$hard_links" = no; then
   17417     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17418 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17419     need_locks=warn
   17420   fi
   17421 else
   17422   need_locks=no
   17423 fi
   17424 
   17425 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17426 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17427 
   17428   runpath_var=
   17429   allow_undefined_flag_GCJ=
   17430   enable_shared_with_static_runtimes_GCJ=no
   17431   archive_cmds_GCJ=
   17432   archive_expsym_cmds_GCJ=
   17433   old_archive_From_new_cmds_GCJ=
   17434   old_archive_from_expsyms_cmds_GCJ=
   17435   export_dynamic_flag_spec_GCJ=
   17436   whole_archive_flag_spec_GCJ=
   17437   thread_safe_flag_spec_GCJ=
   17438   hardcode_libdir_flag_spec_GCJ=
   17439   hardcode_libdir_flag_spec_ld_GCJ=
   17440   hardcode_libdir_separator_GCJ=
   17441   hardcode_direct_GCJ=no
   17442   hardcode_minus_L_GCJ=no
   17443   hardcode_shlibpath_var_GCJ=unsupported
   17444   link_all_deplibs_GCJ=unknown
   17445   hardcode_automatic_GCJ=no
   17446   module_cmds_GCJ=
   17447   module_expsym_cmds_GCJ=
   17448   always_export_symbols_GCJ=no
   17449   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17450   # include_expsyms should be a list of space-separated symbols to be *always*
   17451   # included in the symbol list
   17452   include_expsyms_GCJ=
   17453   # exclude_expsyms can be an extended regexp of symbols to exclude
   17454   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17455   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17456   # as well as any symbol that contains `d'.
   17457   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17458   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17459   # platforms (ab)use it in PIC code, but their linkers get confused if
   17460   # the symbol is explicitly referenced.  Since portable code cannot
   17461   # rely on this symbol name, it's probably fine to never include it in
   17462   # preloaded symbol tables.
   17463   # Exclude shared library initialization/finalization symbols.
   17464   extract_expsyms_cmds=
   17465   # Just being paranoid about ensuring that cc_basename is set.
   17466   for cc_temp in $compiler""; do
   17467   case $cc_temp in
   17468     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17469     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17470     \-*) ;;
   17471     *) break;;
   17472   esac
   17473 done
   17474 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17475 
   17476   case $host_os in
   17477   cygwin* | mingw* | pw32*)
   17478     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17479     # When not using gcc, we currently assume that we are using
   17480     # Microsoft Visual C++.
   17481     if test "$GCC" != yes; then
   17482       with_gnu_ld=no
   17483     fi
   17484     ;;
   17485   interix*)
   17486     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17487     with_gnu_ld=yes
   17488     ;;
   17489   openbsd*)
   17490     with_gnu_ld=no
   17491     ;;
   17492   esac
   17493 
   17494   ld_shlibs_GCJ=yes
   17495   if test "$with_gnu_ld" = yes; then
   17496     # If archive_cmds runs LD, not CC, wlarc should be empty
   17497     wlarc='${wl}'
   17498 
   17499     # Set some defaults for GNU ld with shared library support. These
   17500     # are reset later if shared libraries are not supported. Putting them
   17501     # here allows them to be overridden if necessary.
   17502     runpath_var=LD_RUN_PATH
   17503     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17504     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17505     # ancient GNU ld didn't support --whole-archive et. al.
   17506     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17507 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17508       else
   17509   	whole_archive_flag_spec_GCJ=
   17510     fi
   17511     supports_anon_versioning=no
   17512     case `$LD -v 2>/dev/null` in
   17513       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17514       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17515       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17516       *\ 2.11.*) ;; # other 2.11 versions
   17517       *) supports_anon_versioning=yes ;;
   17518     esac
   17519 
   17520     # See if GNU ld supports shared libraries.
   17521     case $host_os in
   17522     aix[3-9]*)
   17523       # On AIX/PPC, the GNU linker is very broken
   17524       if test "$host_cpu" != ia64; then
   17525 	ld_shlibs_GCJ=no
   17526 	cat <<EOF 1>&2
   17527 
   17528 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17529 *** to be unable to reliably create shared libraries on AIX.
   17530 *** Therefore, libtool is disabling shared libraries support.  If you
   17531 *** really care for shared libraries, you may want to modify your PATH
   17532 *** so that a non-GNU linker is found, and then restart.
   17533 
   17534 EOF
   17535       fi
   17536       ;;
   17537 
   17538     amigaos*)
   17539       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)'
   17540       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17541       hardcode_minus_L_GCJ=yes
   17542 
   17543       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17544       # that the semantics of dynamic libraries on AmigaOS, at least up
   17545       # to version 4, is to share data among multiple programs linked
   17546       # with the same dynamic library.  Since this doesn't match the
   17547       # behavior of shared libraries on other platforms, we can't use
   17548       # them.
   17549       ld_shlibs_GCJ=no
   17550       ;;
   17551 
   17552     beos*)
   17553       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17554 	allow_undefined_flag_GCJ=unsupported
   17555 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17556 	# support --undefined.  This deserves some investigation.  FIXME
   17557 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17558       else
   17559 	ld_shlibs_GCJ=no
   17560       fi
   17561       ;;
   17562 
   17563     cygwin* | mingw* | pw32*)
   17564       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17565       # as there is no search path for DLLs.
   17566       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17567       allow_undefined_flag_GCJ=unsupported
   17568       always_export_symbols_GCJ=no
   17569       enable_shared_with_static_runtimes_GCJ=yes
   17570       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17571 
   17572       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17573         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17574 	# If the export-symbols file already is a .def file (1st line
   17575 	# is EXPORTS), use it as is; otherwise, prepend...
   17576 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17577 	  cp $export_symbols $output_objdir/$soname.def;
   17578 	else
   17579 	  echo EXPORTS > $output_objdir/$soname.def;
   17580 	  cat $export_symbols >> $output_objdir/$soname.def;
   17581 	fi~
   17582 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17583       else
   17584 	ld_shlibs_GCJ=no
   17585       fi
   17586       ;;
   17587 
   17588     interix[3-9]*)
   17589       hardcode_direct_GCJ=no
   17590       hardcode_shlibpath_var_GCJ=no
   17591       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17592       export_dynamic_flag_spec_GCJ='${wl}-E'
   17593       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17594       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17595       # default) and relocated if they conflict, which is a slow very memory
   17596       # consuming and fragmenting process.  To avoid this, we pick a random,
   17597       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17598       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17599       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'
   17600       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'
   17601       ;;
   17602 
   17603     gnu* | linux* | k*bsd*-gnu)
   17604       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17605 	tmp_addflag=
   17606 	case $cc_basename,$host_cpu in
   17607 	pgcc*)				# Portland Group C compiler
   17608 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17609 	  tmp_addflag=' $pic_flag'
   17610 	  ;;
   17611 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17612 	  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'
   17613 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17614 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17615 	  tmp_addflag=' -i_dynamic' ;;
   17616 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17617 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17618 	ifc* | ifort*)			# Intel Fortran compiler
   17619 	  tmp_addflag=' -nofor_main' ;;
   17620 	esac
   17621 	case `$CC -V 2>&1 | sed 5q` in
   17622 	*Sun\ C*)			# Sun C 5.9
   17623 	  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'
   17624 	  tmp_sharedflag='-G' ;;
   17625 	*Sun\ F*)			# Sun Fortran 8.3
   17626 	  tmp_sharedflag='-G' ;;
   17627 	*)
   17628 	  tmp_sharedflag='-shared' ;;
   17629 	esac
   17630 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17631 
   17632 	if test $supports_anon_versioning = yes; then
   17633 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17634   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17635   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17636 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17637 	fi
   17638       else
   17639 	ld_shlibs_GCJ=no
   17640       fi
   17641       ;;
   17642 
   17643     netbsd*)
   17644       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17645 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17646 	wlarc=
   17647       else
   17648 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17649 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17650       fi
   17651       ;;
   17652 
   17653     solaris*)
   17654       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17655 	ld_shlibs_GCJ=no
   17656 	cat <<EOF 1>&2
   17657 
   17658 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17659 *** create shared libraries on Solaris systems.  Therefore, libtool
   17660 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17661 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17662 *** your PATH or compiler configuration so that the native linker is
   17663 *** used, and then restart.
   17664 
   17665 EOF
   17666       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17667 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17668 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17669       else
   17670 	ld_shlibs_GCJ=no
   17671       fi
   17672       ;;
   17673 
   17674     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17675       case `$LD -v 2>&1` in
   17676         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17677 	ld_shlibs_GCJ=no
   17678 	cat <<_LT_EOF 1>&2
   17679 
   17680 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17681 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17682 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17683 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17684 *** your PATH or compiler configuration so that the native linker is
   17685 *** used, and then restart.
   17686 
   17687 _LT_EOF
   17688 	;;
   17689 	*)
   17690 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17691 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17692 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17693 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17694 	  else
   17695 	    ld_shlibs_GCJ=no
   17696 	  fi
   17697 	;;
   17698       esac
   17699       ;;
   17700 
   17701     sunos4*)
   17702       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17703       wlarc=
   17704       hardcode_direct_GCJ=yes
   17705       hardcode_shlibpath_var_GCJ=no
   17706       ;;
   17707 
   17708     *)
   17709       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17710 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17711 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17712       else
   17713 	ld_shlibs_GCJ=no
   17714       fi
   17715       ;;
   17716     esac
   17717 
   17718     if test "$ld_shlibs_GCJ" = no; then
   17719       runpath_var=
   17720       hardcode_libdir_flag_spec_GCJ=
   17721       export_dynamic_flag_spec_GCJ=
   17722       whole_archive_flag_spec_GCJ=
   17723     fi
   17724   else
   17725     # PORTME fill in a description of your system's linker (not GNU ld)
   17726     case $host_os in
   17727     aix3*)
   17728       allow_undefined_flag_GCJ=unsupported
   17729       always_export_symbols_GCJ=yes
   17730       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'
   17731       # Note: this linker hardcodes the directories in LIBPATH if there
   17732       # are no directories specified by -L.
   17733       hardcode_minus_L_GCJ=yes
   17734       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17735 	# Neither direct hardcoding nor static linking is supported with a
   17736 	# broken collect2.
   17737 	hardcode_direct_GCJ=unsupported
   17738       fi
   17739       ;;
   17740 
   17741     aix[4-9]*)
   17742       if test "$host_cpu" = ia64; then
   17743 	# On IA64, the linker does run time linking by default, so we don't
   17744 	# have to do anything special.
   17745 	aix_use_runtimelinking=no
   17746 	exp_sym_flag='-Bexport'
   17747 	no_entry_flag=""
   17748       else
   17749 	# If we're using GNU nm, then we don't want the "-C" option.
   17750 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17751 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17752 	  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'
   17753 	else
   17754 	  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'
   17755 	fi
   17756 	aix_use_runtimelinking=no
   17757 
   17758 	# Test if we are trying to use run time linking or normal
   17759 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17760 	# need to do runtime linking.
   17761 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17762 	  for ld_flag in $LDFLAGS; do
   17763   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17764   	    aix_use_runtimelinking=yes
   17765   	    break
   17766   	  fi
   17767 	  done
   17768 	  ;;
   17769 	esac
   17770 
   17771 	exp_sym_flag='-bexport'
   17772 	no_entry_flag='-bnoentry'
   17773       fi
   17774 
   17775       # When large executables or shared objects are built, AIX ld can
   17776       # have problems creating the table of contents.  If linking a library
   17777       # or program results in "error TOC overflow" add -mminimal-toc to
   17778       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17779       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17780 
   17781       archive_cmds_GCJ=''
   17782       hardcode_direct_GCJ=yes
   17783       hardcode_libdir_separator_GCJ=':'
   17784       link_all_deplibs_GCJ=yes
   17785 
   17786       if test "$GCC" = yes; then
   17787 	case $host_os in aix4.[012]|aix4.[012].*)
   17788 	# We only want to do this on AIX 4.2 and lower, the check
   17789 	# below for broken collect2 doesn't work under 4.3+
   17790 	  collect2name=`${CC} -print-prog-name=collect2`
   17791 	  if test -f "$collect2name" && \
   17792   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17793 	  then
   17794   	  # We have reworked collect2
   17795   	  :
   17796 	  else
   17797   	  # We have old collect2
   17798   	  hardcode_direct_GCJ=unsupported
   17799   	  # It fails to find uninstalled libraries when the uninstalled
   17800   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17801   	  # to unsupported forces relinking
   17802   	  hardcode_minus_L_GCJ=yes
   17803   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17804   	  hardcode_libdir_separator_GCJ=
   17805 	  fi
   17806 	  ;;
   17807 	esac
   17808 	shared_flag='-shared'
   17809 	if test "$aix_use_runtimelinking" = yes; then
   17810 	  shared_flag="$shared_flag "'${wl}-G'
   17811 	fi
   17812       else
   17813 	# not using gcc
   17814 	if test "$host_cpu" = ia64; then
   17815   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17816   	# chokes on -Wl,-G. The following line is correct:
   17817 	  shared_flag='-G'
   17818 	else
   17819 	  if test "$aix_use_runtimelinking" = yes; then
   17820 	    shared_flag='${wl}-G'
   17821 	  else
   17822 	    shared_flag='${wl}-bM:SRE'
   17823 	  fi
   17824 	fi
   17825       fi
   17826 
   17827       # It seems that -bexpall does not export symbols beginning with
   17828       # underscore (_), so it is better to generate a list of symbols to export.
   17829       always_export_symbols_GCJ=yes
   17830       if test "$aix_use_runtimelinking" = yes; then
   17831 	# Warning - without using the other runtime loading flags (-brtl),
   17832 	# -berok will link without error, but may produce a broken library.
   17833 	allow_undefined_flag_GCJ='-berok'
   17834        # Determine the default libpath from the value encoded in an empty executable.
   17835        cat >conftest.$ac_ext <<_ACEOF
   17836 /* confdefs.h.  */
   17837 _ACEOF
   17838 cat confdefs.h >>conftest.$ac_ext
   17839 cat >>conftest.$ac_ext <<_ACEOF
   17840 /* end confdefs.h.  */
   17841 
   17842 int
   17843 main ()
   17844 {
   17845 
   17846   ;
   17847   return 0;
   17848 }
   17849 _ACEOF
   17850 rm -f conftest.$ac_objext conftest$ac_exeext
   17851 if { (ac_try="$ac_link"
   17852 case "(($ac_try" in
   17853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17854   *) ac_try_echo=$ac_try;;
   17855 esac
   17856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17857 $as_echo "$ac_try_echo") >&5
   17858   (eval "$ac_link") 2>conftest.er1
   17859   ac_status=$?
   17860   grep -v '^ *+' conftest.er1 >conftest.err
   17861   rm -f conftest.er1
   17862   cat conftest.err >&5
   17863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17864   (exit $ac_status); } && {
   17865 	 test -z "$ac_c_werror_flag" ||
   17866 	 test ! -s conftest.err
   17867        } && test -s conftest$ac_exeext && {
   17868 	 test "$cross_compiling" = yes ||
   17869 	 $as_test_x conftest$ac_exeext
   17870        }; then
   17871 
   17872 lt_aix_libpath_sed='
   17873     /Import File Strings/,/^$/ {
   17874 	/^0/ {
   17875 	    s/^0  *\(.*\)$/\1/
   17876 	    p
   17877 	}
   17878     }'
   17879 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17880 # Check for a 64-bit object if we didn't find anything.
   17881 if test -z "$aix_libpath"; then
   17882   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17883 fi
   17884 else
   17885   $as_echo "$as_me: failed program was:" >&5
   17886 sed 's/^/| /' conftest.$ac_ext >&5
   17887 
   17888 
   17889 fi
   17890 
   17891 rm -rf conftest.dSYM
   17892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17893       conftest$ac_exeext conftest.$ac_ext
   17894 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17895 
   17896        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17897 	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"
   17898        else
   17899 	if test "$host_cpu" = ia64; then
   17900 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17901 	  allow_undefined_flag_GCJ="-z nodefs"
   17902 	  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"
   17903 	else
   17904 	 # Determine the default libpath from the value encoded in an empty executable.
   17905 	 cat >conftest.$ac_ext <<_ACEOF
   17906 /* confdefs.h.  */
   17907 _ACEOF
   17908 cat confdefs.h >>conftest.$ac_ext
   17909 cat >>conftest.$ac_ext <<_ACEOF
   17910 /* end confdefs.h.  */
   17911 
   17912 int
   17913 main ()
   17914 {
   17915 
   17916   ;
   17917   return 0;
   17918 }
   17919 _ACEOF
   17920 rm -f conftest.$ac_objext conftest$ac_exeext
   17921 if { (ac_try="$ac_link"
   17922 case "(($ac_try" in
   17923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17924   *) ac_try_echo=$ac_try;;
   17925 esac
   17926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17927 $as_echo "$ac_try_echo") >&5
   17928   (eval "$ac_link") 2>conftest.er1
   17929   ac_status=$?
   17930   grep -v '^ *+' conftest.er1 >conftest.err
   17931   rm -f conftest.er1
   17932   cat conftest.err >&5
   17933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17934   (exit $ac_status); } && {
   17935 	 test -z "$ac_c_werror_flag" ||
   17936 	 test ! -s conftest.err
   17937        } && test -s conftest$ac_exeext && {
   17938 	 test "$cross_compiling" = yes ||
   17939 	 $as_test_x conftest$ac_exeext
   17940        }; then
   17941 
   17942 lt_aix_libpath_sed='
   17943     /Import File Strings/,/^$/ {
   17944 	/^0/ {
   17945 	    s/^0  *\(.*\)$/\1/
   17946 	    p
   17947 	}
   17948     }'
   17949 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17950 # Check for a 64-bit object if we didn't find anything.
   17951 if test -z "$aix_libpath"; then
   17952   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17953 fi
   17954 else
   17955   $as_echo "$as_me: failed program was:" >&5
   17956 sed 's/^/| /' conftest.$ac_ext >&5
   17957 
   17958 
   17959 fi
   17960 
   17961 rm -rf conftest.dSYM
   17962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17963       conftest$ac_exeext conftest.$ac_ext
   17964 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17965 
   17966 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17967 	  # Warning - without using the other run time loading flags,
   17968 	  # -berok will link without error, but may produce a broken library.
   17969 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17970 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17971 	  # Exported symbols can be pulled into shared objects from archives
   17972 	  whole_archive_flag_spec_GCJ='$convenience'
   17973 	  archive_cmds_need_lc_GCJ=yes
   17974 	  # This is similar to how AIX traditionally builds its shared libraries.
   17975 	  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'
   17976 	fi
   17977       fi
   17978       ;;
   17979 
   17980     amigaos*)
   17981       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)'
   17982       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17983       hardcode_minus_L_GCJ=yes
   17984       # see comment about different semantics on the GNU ld section
   17985       ld_shlibs_GCJ=no
   17986       ;;
   17987 
   17988     bsdi[45]*)
   17989       export_dynamic_flag_spec_GCJ=-rdynamic
   17990       ;;
   17991 
   17992     cygwin* | mingw* | pw32*)
   17993       # When not using gcc, we currently assume that we are using
   17994       # Microsoft Visual C++.
   17995       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17996       # no search path for DLLs.
   17997       hardcode_libdir_flag_spec_GCJ=' '
   17998       allow_undefined_flag_GCJ=unsupported
   17999       # Tell ltmain to make .lib files, not .a files.
   18000       libext=lib
   18001       # Tell ltmain to make .dll files, not .so files.
   18002       shrext_cmds=".dll"
   18003       # FIXME: Setting linknames here is a bad hack.
   18004       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18005       # The linker will automatically build a .lib file if we build a DLL.
   18006       old_archive_From_new_cmds_GCJ='true'
   18007       # FIXME: Should let the user specify the lib program.
   18008       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18009       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18010       enable_shared_with_static_runtimes_GCJ=yes
   18011       ;;
   18012 
   18013     darwin* | rhapsody*)
   18014       case $host_os in
   18015         rhapsody* | darwin1.[012])
   18016          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18017          ;;
   18018        *) # Darwin 1.3 on
   18019          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18020            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18021          else
   18022            case ${MACOSX_DEPLOYMENT_TARGET} in
   18023              10.[012])
   18024                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18025                ;;
   18026              10.*)
   18027                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18028                ;;
   18029            esac
   18030          fi
   18031          ;;
   18032       esac
   18033       archive_cmds_need_lc_GCJ=no
   18034       hardcode_direct_GCJ=no
   18035       hardcode_automatic_GCJ=yes
   18036       hardcode_shlibpath_var_GCJ=unsupported
   18037       whole_archive_flag_spec_GCJ=''
   18038       link_all_deplibs_GCJ=yes
   18039     if test "$GCC" = yes ; then
   18040     	output_verbose_link_cmd='echo'
   18041         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}"
   18042         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18043         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}"
   18044         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}"
   18045     else
   18046       case $cc_basename in
   18047         xlc*)
   18048          output_verbose_link_cmd='echo'
   18049          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18050          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18051           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18052          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}'
   18053           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}'
   18054           ;;
   18055        *)
   18056          ld_shlibs_GCJ=no
   18057           ;;
   18058       esac
   18059     fi
   18060       ;;
   18061 
   18062     dgux*)
   18063       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18064       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18065       hardcode_shlibpath_var_GCJ=no
   18066       ;;
   18067 
   18068     freebsd1*)
   18069       ld_shlibs_GCJ=no
   18070       ;;
   18071 
   18072     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18073     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18074     # does not break anything, and helps significantly (at the cost of a little
   18075     # extra space).
   18076     freebsd2.2*)
   18077       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18078       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18079       hardcode_direct_GCJ=yes
   18080       hardcode_shlibpath_var_GCJ=no
   18081       ;;
   18082 
   18083     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18084     freebsd2*)
   18085       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18086       hardcode_direct_GCJ=yes
   18087       hardcode_minus_L_GCJ=yes
   18088       hardcode_shlibpath_var_GCJ=no
   18089       ;;
   18090 
   18091     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18092     freebsd* | dragonfly*)
   18093       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18094       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18095       hardcode_direct_GCJ=yes
   18096       hardcode_shlibpath_var_GCJ=no
   18097       ;;
   18098 
   18099     hpux9*)
   18100       if test "$GCC" = yes; then
   18101 	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'
   18102       else
   18103 	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'
   18104       fi
   18105       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18106       hardcode_libdir_separator_GCJ=:
   18107       hardcode_direct_GCJ=yes
   18108 
   18109       # hardcode_minus_L: Not really in the search PATH,
   18110       # but as the default location of the library.
   18111       hardcode_minus_L_GCJ=yes
   18112       export_dynamic_flag_spec_GCJ='${wl}-E'
   18113       ;;
   18114 
   18115     hpux10*)
   18116       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18117 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18118       else
   18119 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18120       fi
   18121       if test "$with_gnu_ld" = no; then
   18122 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18123 	hardcode_libdir_separator_GCJ=:
   18124 
   18125 	hardcode_direct_GCJ=yes
   18126 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18127 
   18128 	# hardcode_minus_L: Not really in the search PATH,
   18129 	# but as the default location of the library.
   18130 	hardcode_minus_L_GCJ=yes
   18131       fi
   18132       ;;
   18133 
   18134     hpux11*)
   18135       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18136 	case $host_cpu in
   18137 	hppa*64*)
   18138 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18139 	  ;;
   18140 	ia64*)
   18141 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18142 	  ;;
   18143 	*)
   18144 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18145 	  ;;
   18146 	esac
   18147       else
   18148 	case $host_cpu in
   18149 	hppa*64*)
   18150 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18151 	  ;;
   18152 	ia64*)
   18153 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18154 	  ;;
   18155 	*)
   18156 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18157 	  ;;
   18158 	esac
   18159       fi
   18160       if test "$with_gnu_ld" = no; then
   18161 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18162 	hardcode_libdir_separator_GCJ=:
   18163 
   18164 	case $host_cpu in
   18165 	hppa*64*|ia64*)
   18166 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18167 	  hardcode_direct_GCJ=no
   18168 	  hardcode_shlibpath_var_GCJ=no
   18169 	  ;;
   18170 	*)
   18171 	  hardcode_direct_GCJ=yes
   18172 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18173 
   18174 	  # hardcode_minus_L: Not really in the search PATH,
   18175 	  # but as the default location of the library.
   18176 	  hardcode_minus_L_GCJ=yes
   18177 	  ;;
   18178 	esac
   18179       fi
   18180       ;;
   18181 
   18182     irix5* | irix6* | nonstopux*)
   18183       if test "$GCC" = yes; then
   18184 	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'
   18185       else
   18186 	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'
   18187 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18188       fi
   18189       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18190       hardcode_libdir_separator_GCJ=:
   18191       link_all_deplibs_GCJ=yes
   18192       ;;
   18193 
   18194     netbsd*)
   18195       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18196 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18197       else
   18198 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18199       fi
   18200       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18201       hardcode_direct_GCJ=yes
   18202       hardcode_shlibpath_var_GCJ=no
   18203       ;;
   18204 
   18205     newsos6)
   18206       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18207       hardcode_direct_GCJ=yes
   18208       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18209       hardcode_libdir_separator_GCJ=:
   18210       hardcode_shlibpath_var_GCJ=no
   18211       ;;
   18212 
   18213     openbsd*)
   18214       if test -f /usr/libexec/ld.so; then
   18215 	hardcode_direct_GCJ=yes
   18216 	hardcode_shlibpath_var_GCJ=no
   18217 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18218 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18219 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18220 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18221 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18222 	else
   18223 	  case $host_os in
   18224 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18225 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18226 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18227 	     ;;
   18228 	   *)
   18229 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18230 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18231 	     ;;
   18232 	  esac
   18233         fi
   18234       else
   18235 	ld_shlibs_GCJ=no
   18236       fi
   18237       ;;
   18238 
   18239     os2*)
   18240       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18241       hardcode_minus_L_GCJ=yes
   18242       allow_undefined_flag_GCJ=unsupported
   18243       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'
   18244       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18245       ;;
   18246 
   18247     osf3*)
   18248       if test "$GCC" = yes; then
   18249 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18250 	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'
   18251       else
   18252 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18253 	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'
   18254       fi
   18255       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18256       hardcode_libdir_separator_GCJ=:
   18257       ;;
   18258 
   18259     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18260       if test "$GCC" = yes; then
   18261 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18262 	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'
   18263 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18264       else
   18265 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18266 	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'
   18267 	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~
   18268 	$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'
   18269 
   18270 	# Both c and cxx compiler support -rpath directly
   18271 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18272       fi
   18273       hardcode_libdir_separator_GCJ=:
   18274       ;;
   18275 
   18276     solaris*)
   18277       no_undefined_flag_GCJ=' -z text'
   18278       if test "$GCC" = yes; then
   18279 	wlarc='${wl}'
   18280 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18281 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18282 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18283       else
   18284 	wlarc=''
   18285 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18286 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18287   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18288       fi
   18289       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18290       hardcode_shlibpath_var_GCJ=no
   18291       case $host_os in
   18292       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18293       *)
   18294 	# The compiler driver will combine and reorder linker options,
   18295 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18296 	# but is careful enough not to reorder.
   18297  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18298 	if test "$GCC" = yes; then
   18299 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18300 	else
   18301 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18302 	fi
   18303 	;;
   18304       esac
   18305       link_all_deplibs_GCJ=yes
   18306       ;;
   18307 
   18308     sunos4*)
   18309       if test "x$host_vendor" = xsequent; then
   18310 	# Use $CC to link under sequent, because it throws in some extra .o
   18311 	# files that make .init and .fini sections work.
   18312 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18313       else
   18314 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18315       fi
   18316       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18317       hardcode_direct_GCJ=yes
   18318       hardcode_minus_L_GCJ=yes
   18319       hardcode_shlibpath_var_GCJ=no
   18320       ;;
   18321 
   18322     sysv4)
   18323       case $host_vendor in
   18324 	sni)
   18325 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18326 	  hardcode_direct_GCJ=yes # is this really true???
   18327 	;;
   18328 	siemens)
   18329 	  ## LD is ld it makes a PLAMLIB
   18330 	  ## CC just makes a GrossModule.
   18331 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18332 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18333 	  hardcode_direct_GCJ=no
   18334         ;;
   18335 	motorola)
   18336 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18337 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18338 	;;
   18339       esac
   18340       runpath_var='LD_RUN_PATH'
   18341       hardcode_shlibpath_var_GCJ=no
   18342       ;;
   18343 
   18344     sysv4.3*)
   18345       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18346       hardcode_shlibpath_var_GCJ=no
   18347       export_dynamic_flag_spec_GCJ='-Bexport'
   18348       ;;
   18349 
   18350     sysv4*MP*)
   18351       if test -d /usr/nec; then
   18352 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18353 	hardcode_shlibpath_var_GCJ=no
   18354 	runpath_var=LD_RUN_PATH
   18355 	hardcode_runpath_var=yes
   18356 	ld_shlibs_GCJ=yes
   18357       fi
   18358       ;;
   18359 
   18360     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18361       no_undefined_flag_GCJ='${wl}-z,text'
   18362       archive_cmds_need_lc_GCJ=no
   18363       hardcode_shlibpath_var_GCJ=no
   18364       runpath_var='LD_RUN_PATH'
   18365 
   18366       if test "$GCC" = yes; then
   18367 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18368 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18369       else
   18370 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18371 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18372       fi
   18373       ;;
   18374 
   18375     sysv5* | sco3.2v5* | sco5v6*)
   18376       # Note: We can NOT use -z defs as we might desire, because we do not
   18377       # link with -lc, and that would cause any symbols used from libc to
   18378       # always be unresolved, which means just about no library would
   18379       # ever link correctly.  If we're not using GNU ld we use -z text
   18380       # though, which does catch some bad symbols but isn't as heavy-handed
   18381       # as -z defs.
   18382       no_undefined_flag_GCJ='${wl}-z,text'
   18383       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18384       archive_cmds_need_lc_GCJ=no
   18385       hardcode_shlibpath_var_GCJ=no
   18386       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18387       hardcode_libdir_separator_GCJ=':'
   18388       link_all_deplibs_GCJ=yes
   18389       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18390       runpath_var='LD_RUN_PATH'
   18391 
   18392       if test "$GCC" = yes; then
   18393 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18394 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18395       else
   18396 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18397 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18398       fi
   18399       ;;
   18400 
   18401     uts4*)
   18402       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18403       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18404       hardcode_shlibpath_var_GCJ=no
   18405       ;;
   18406 
   18407     *)
   18408       ld_shlibs_GCJ=no
   18409       ;;
   18410     esac
   18411   fi
   18412 
   18413 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18414 $as_echo "$ld_shlibs_GCJ" >&6; }
   18415 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18416 
   18417 #
   18418 # Do we need to explicitly link libc?
   18419 #
   18420 case "x$archive_cmds_need_lc_GCJ" in
   18421 x|xyes)
   18422   # Assume -lc should be added
   18423   archive_cmds_need_lc_GCJ=yes
   18424 
   18425   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18426     case $archive_cmds_GCJ in
   18427     *'~'*)
   18428       # FIXME: we may have to deal with multi-command sequences.
   18429       ;;
   18430     '$CC '*)
   18431       # Test whether the compiler implicitly links with -lc since on some
   18432       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18433       # to ld, don't add -lc before -lgcc.
   18434       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18435 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18436       $rm conftest*
   18437       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18438 
   18439       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18440   (eval $ac_compile) 2>&5
   18441   ac_status=$?
   18442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18443   (exit $ac_status); } 2>conftest.err; then
   18444         soname=conftest
   18445         lib=conftest
   18446         libobjs=conftest.$ac_objext
   18447         deplibs=
   18448         wl=$lt_prog_compiler_wl_GCJ
   18449 	pic_flag=$lt_prog_compiler_pic_GCJ
   18450         compiler_flags=-v
   18451         linker_flags=-v
   18452         verstring=
   18453         output_objdir=.
   18454         libname=conftest
   18455         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18456         allow_undefined_flag_GCJ=
   18457         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18458   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18459   ac_status=$?
   18460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18461   (exit $ac_status); }
   18462         then
   18463 	  archive_cmds_need_lc_GCJ=no
   18464         else
   18465 	  archive_cmds_need_lc_GCJ=yes
   18466         fi
   18467         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18468       else
   18469         cat conftest.err 1>&5
   18470       fi
   18471       $rm conftest*
   18472       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18473 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18474       ;;
   18475     esac
   18476   fi
   18477   ;;
   18478 esac
   18479 
   18480 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18481 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18482 library_names_spec=
   18483 libname_spec='lib$name'
   18484 soname_spec=
   18485 shrext_cmds=".so"
   18486 postinstall_cmds=
   18487 postuninstall_cmds=
   18488 finish_cmds=
   18489 finish_eval=
   18490 shlibpath_var=
   18491 shlibpath_overrides_runpath=unknown
   18492 version_type=none
   18493 dynamic_linker="$host_os ld.so"
   18494 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18495 
   18496 need_lib_prefix=unknown
   18497 hardcode_into_libs=no
   18498 
   18499 # when you set need_version to no, make sure it does not cause -set_version
   18500 # flags to be left without arguments
   18501 need_version=unknown
   18502 
   18503 case $host_os in
   18504 aix3*)
   18505   version_type=linux
   18506   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18507   shlibpath_var=LIBPATH
   18508 
   18509   # AIX 3 has no versioning support, so we append a major version to the name.
   18510   soname_spec='${libname}${release}${shared_ext}$major'
   18511   ;;
   18512 
   18513 aix[4-9]*)
   18514   version_type=linux
   18515   need_lib_prefix=no
   18516   need_version=no
   18517   hardcode_into_libs=yes
   18518   if test "$host_cpu" = ia64; then
   18519     # AIX 5 supports IA64
   18520     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18521     shlibpath_var=LD_LIBRARY_PATH
   18522   else
   18523     # With GCC up to 2.95.x, collect2 would create an import file
   18524     # for dependence libraries.  The import file would start with
   18525     # the line `#! .'.  This would cause the generated library to
   18526     # depend on `.', always an invalid library.  This was fixed in
   18527     # development snapshots of GCC prior to 3.0.
   18528     case $host_os in
   18529       aix4 | aix4.[01] | aix4.[01].*)
   18530       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18531 	   echo ' yes '
   18532 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18533 	:
   18534       else
   18535 	can_build_shared=no
   18536       fi
   18537       ;;
   18538     esac
   18539     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18540     # soname into executable. Probably we can add versioning support to
   18541     # collect2, so additional links can be useful in future.
   18542     if test "$aix_use_runtimelinking" = yes; then
   18543       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18544       # instead of lib<name>.a to let people know that these are not
   18545       # typical AIX shared libraries.
   18546       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18547     else
   18548       # We preserve .a as extension for shared libraries through AIX4.2
   18549       # and later when we are not doing run time linking.
   18550       library_names_spec='${libname}${release}.a $libname.a'
   18551       soname_spec='${libname}${release}${shared_ext}$major'
   18552     fi
   18553     shlibpath_var=LIBPATH
   18554   fi
   18555   ;;
   18556 
   18557 amigaos*)
   18558   library_names_spec='$libname.ixlibrary $libname.a'
   18559   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18560   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'
   18561   ;;
   18562 
   18563 beos*)
   18564   library_names_spec='${libname}${shared_ext}'
   18565   dynamic_linker="$host_os ld.so"
   18566   shlibpath_var=LIBRARY_PATH
   18567   ;;
   18568 
   18569 bsdi[45]*)
   18570   version_type=linux
   18571   need_version=no
   18572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18573   soname_spec='${libname}${release}${shared_ext}$major'
   18574   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18575   shlibpath_var=LD_LIBRARY_PATH
   18576   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18577   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18578   # the default ld.so.conf also contains /usr/contrib/lib and
   18579   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18580   # libtool to hard-code these into programs
   18581   ;;
   18582 
   18583 cygwin* | mingw* | pw32*)
   18584   version_type=windows
   18585   shrext_cmds=".dll"
   18586   need_version=no
   18587   need_lib_prefix=no
   18588 
   18589   case $GCC,$host_os in
   18590   yes,cygwin* | yes,mingw* | yes,pw32*)
   18591     library_names_spec='$libname.dll.a'
   18592     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18593     postinstall_cmds='base_file=`basename \${file}`~
   18594       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18595       dldir=$destdir/`dirname \$dlpath`~
   18596       test -d \$dldir || mkdir -p \$dldir~
   18597       $install_prog $dir/$dlname \$dldir/$dlname~
   18598       chmod a+x \$dldir/$dlname'
   18599     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18600       dlpath=$dir/\$dldll~
   18601        $rm \$dlpath'
   18602     shlibpath_overrides_runpath=yes
   18603 
   18604     case $host_os in
   18605     cygwin*)
   18606       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18607       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18608       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18609       ;;
   18610     mingw*)
   18611       # MinGW DLLs use traditional 'lib' prefix
   18612       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18613       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18614       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18615         # It is most probably a Windows format PATH printed by
   18616         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18617         # path with ; separators, and with drive letters. We can handle the
   18618         # drive letters (cygwin fileutils understands them), so leave them,
   18619         # especially as we might pass files found there to a mingw objdump,
   18620         # which wouldn't understand a cygwinified path. Ahh.
   18621         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18622       else
   18623         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18624       fi
   18625       ;;
   18626     pw32*)
   18627       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18628       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18629       ;;
   18630     esac
   18631     ;;
   18632 
   18633   *)
   18634     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18635     ;;
   18636   esac
   18637   dynamic_linker='Win32 ld.exe'
   18638   # FIXME: first we should search . and the directory the executable is in
   18639   shlibpath_var=PATH
   18640   ;;
   18641 
   18642 darwin* | rhapsody*)
   18643   dynamic_linker="$host_os dyld"
   18644   version_type=darwin
   18645   need_lib_prefix=no
   18646   need_version=no
   18647   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18648   soname_spec='${libname}${release}${major}$shared_ext'
   18649   shlibpath_overrides_runpath=yes
   18650   shlibpath_var=DYLD_LIBRARY_PATH
   18651   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18652 
   18653   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18654   ;;
   18655 
   18656 dgux*)
   18657   version_type=linux
   18658   need_lib_prefix=no
   18659   need_version=no
   18660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18661   soname_spec='${libname}${release}${shared_ext}$major'
   18662   shlibpath_var=LD_LIBRARY_PATH
   18663   ;;
   18664 
   18665 freebsd1*)
   18666   dynamic_linker=no
   18667   ;;
   18668 
   18669 freebsd* | dragonfly*)
   18670   # DragonFly does not have aout.  When/if they implement a new
   18671   # versioning mechanism, adjust this.
   18672   if test -x /usr/bin/objformat; then
   18673     objformat=`/usr/bin/objformat`
   18674   else
   18675     case $host_os in
   18676     freebsd[123]*) objformat=aout ;;
   18677     *) objformat=elf ;;
   18678     esac
   18679   fi
   18680   version_type=freebsd-$objformat
   18681   case $version_type in
   18682     freebsd-elf*)
   18683       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18684       need_version=no
   18685       need_lib_prefix=no
   18686       ;;
   18687     freebsd-*)
   18688       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18689       need_version=yes
   18690       ;;
   18691   esac
   18692   shlibpath_var=LD_LIBRARY_PATH
   18693   case $host_os in
   18694   freebsd2*)
   18695     shlibpath_overrides_runpath=yes
   18696     ;;
   18697   freebsd3.[01]* | freebsdelf3.[01]*)
   18698     shlibpath_overrides_runpath=yes
   18699     hardcode_into_libs=yes
   18700     ;;
   18701   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18702   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18703     shlibpath_overrides_runpath=no
   18704     hardcode_into_libs=yes
   18705     ;;
   18706   *) # from 4.6 on, and DragonFly
   18707     shlibpath_overrides_runpath=yes
   18708     hardcode_into_libs=yes
   18709     ;;
   18710   esac
   18711   ;;
   18712 
   18713 gnu*)
   18714   version_type=linux
   18715   need_lib_prefix=no
   18716   need_version=no
   18717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18718   soname_spec='${libname}${release}${shared_ext}$major'
   18719   shlibpath_var=LD_LIBRARY_PATH
   18720   hardcode_into_libs=yes
   18721   ;;
   18722 
   18723 hpux9* | hpux10* | hpux11*)
   18724   # Give a soname corresponding to the major version so that dld.sl refuses to
   18725   # link against other versions.
   18726   version_type=sunos
   18727   need_lib_prefix=no
   18728   need_version=no
   18729   case $host_cpu in
   18730   ia64*)
   18731     shrext_cmds='.so'
   18732     hardcode_into_libs=yes
   18733     dynamic_linker="$host_os dld.so"
   18734     shlibpath_var=LD_LIBRARY_PATH
   18735     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18736     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18737     soname_spec='${libname}${release}${shared_ext}$major'
   18738     if test "X$HPUX_IA64_MODE" = X32; then
   18739       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18740     else
   18741       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18742     fi
   18743     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18744     ;;
   18745    hppa*64*)
   18746      shrext_cmds='.sl'
   18747      hardcode_into_libs=yes
   18748      dynamic_linker="$host_os dld.sl"
   18749      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18750      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18751      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18752      soname_spec='${libname}${release}${shared_ext}$major'
   18753      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18754      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18755      ;;
   18756    *)
   18757     shrext_cmds='.sl'
   18758     dynamic_linker="$host_os dld.sl"
   18759     shlibpath_var=SHLIB_PATH
   18760     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18761     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18762     soname_spec='${libname}${release}${shared_ext}$major'
   18763     ;;
   18764   esac
   18765   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18766   postinstall_cmds='chmod 555 $lib'
   18767   ;;
   18768 
   18769 interix[3-9]*)
   18770   version_type=linux
   18771   need_lib_prefix=no
   18772   need_version=no
   18773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18774   soname_spec='${libname}${release}${shared_ext}$major'
   18775   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18776   shlibpath_var=LD_LIBRARY_PATH
   18777   shlibpath_overrides_runpath=no
   18778   hardcode_into_libs=yes
   18779   ;;
   18780 
   18781 irix5* | irix6* | nonstopux*)
   18782   case $host_os in
   18783     nonstopux*) version_type=nonstopux ;;
   18784     *)
   18785 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18786 		version_type=linux
   18787 	else
   18788 		version_type=irix
   18789 	fi ;;
   18790   esac
   18791   need_lib_prefix=no
   18792   need_version=no
   18793   soname_spec='${libname}${release}${shared_ext}$major'
   18794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18795   case $host_os in
   18796   irix5* | nonstopux*)
   18797     libsuff= shlibsuff=
   18798     ;;
   18799   *)
   18800     case $LD in # libtool.m4 will add one of these switches to LD
   18801     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18802       libsuff= shlibsuff= libmagic=32-bit;;
   18803     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18804       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18805     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18806       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18807     *) libsuff= shlibsuff= libmagic=never-match;;
   18808     esac
   18809     ;;
   18810   esac
   18811   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18812   shlibpath_overrides_runpath=no
   18813   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18814   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18815   hardcode_into_libs=yes
   18816   ;;
   18817 
   18818 # No shared lib support for Linux oldld, aout, or coff.
   18819 linux*oldld* | linux*aout* | linux*coff*)
   18820   dynamic_linker=no
   18821   ;;
   18822 
   18823 # This must be Linux ELF.
   18824 linux* | k*bsd*-gnu)
   18825   version_type=linux
   18826   need_lib_prefix=no
   18827   need_version=no
   18828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18829   soname_spec='${libname}${release}${shared_ext}$major'
   18830   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18831   shlibpath_var=LD_LIBRARY_PATH
   18832   shlibpath_overrides_runpath=no
   18833   # This implies no fast_install, which is unacceptable.
   18834   # Some rework will be needed to allow for fast_install
   18835   # before this can be enabled.
   18836   hardcode_into_libs=yes
   18837   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18838   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18839 
   18840   # Append ld.so.conf contents to the search path
   18841   if test -f /etc/ld.so.conf; then
   18842     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' ' '`
   18843     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18844   fi
   18845 
   18846   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18847   # powerpc, because MkLinux only supported shared libraries with the
   18848   # GNU dynamic linker.  Since this was broken with cross compilers,
   18849   # most powerpc-linux boxes support dynamic linking these days and
   18850   # people can always --disable-shared, the test was removed, and we
   18851   # assume the GNU/Linux dynamic linker is in use.
   18852   dynamic_linker='GNU/Linux ld.so'
   18853   ;;
   18854 
   18855 netbsd*)
   18856   version_type=sunos
   18857   need_lib_prefix=no
   18858   need_version=no
   18859   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18860     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18861     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18862     dynamic_linker='NetBSD (a.out) ld.so'
   18863   else
   18864     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18865     soname_spec='${libname}${release}${shared_ext}$major'
   18866     dynamic_linker='NetBSD ld.elf_so'
   18867   fi
   18868   shlibpath_var=LD_LIBRARY_PATH
   18869   shlibpath_overrides_runpath=yes
   18870   hardcode_into_libs=yes
   18871   ;;
   18872 
   18873 newsos6)
   18874   version_type=linux
   18875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18876   shlibpath_var=LD_LIBRARY_PATH
   18877   shlibpath_overrides_runpath=yes
   18878   ;;
   18879 
   18880 nto-qnx*)
   18881   version_type=linux
   18882   need_lib_prefix=no
   18883   need_version=no
   18884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18885   soname_spec='${libname}${release}${shared_ext}$major'
   18886   shlibpath_var=LD_LIBRARY_PATH
   18887   shlibpath_overrides_runpath=yes
   18888   ;;
   18889 
   18890 openbsd*)
   18891   version_type=sunos
   18892   sys_lib_dlsearch_path_spec="/usr/lib"
   18893   need_lib_prefix=no
   18894   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18895   case $host_os in
   18896     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18897     *)                         need_version=no  ;;
   18898   esac
   18899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18900   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18901   shlibpath_var=LD_LIBRARY_PATH
   18902   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18903     case $host_os in
   18904       openbsd2.[89] | openbsd2.[89].*)
   18905 	shlibpath_overrides_runpath=no
   18906 	;;
   18907       *)
   18908 	shlibpath_overrides_runpath=yes
   18909 	;;
   18910       esac
   18911   else
   18912     shlibpath_overrides_runpath=yes
   18913   fi
   18914   ;;
   18915 
   18916 os2*)
   18917   libname_spec='$name'
   18918   shrext_cmds=".dll"
   18919   need_lib_prefix=no
   18920   library_names_spec='$libname${shared_ext} $libname.a'
   18921   dynamic_linker='OS/2 ld.exe'
   18922   shlibpath_var=LIBPATH
   18923   ;;
   18924 
   18925 osf3* | osf4* | osf5*)
   18926   version_type=osf
   18927   need_lib_prefix=no
   18928   need_version=no
   18929   soname_spec='${libname}${release}${shared_ext}$major'
   18930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18931   shlibpath_var=LD_LIBRARY_PATH
   18932   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18933   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18934   ;;
   18935 
   18936 rdos*)
   18937   dynamic_linker=no
   18938   ;;
   18939 
   18940 solaris*)
   18941   version_type=linux
   18942   need_lib_prefix=no
   18943   need_version=no
   18944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18945   soname_spec='${libname}${release}${shared_ext}$major'
   18946   shlibpath_var=LD_LIBRARY_PATH
   18947   shlibpath_overrides_runpath=yes
   18948   hardcode_into_libs=yes
   18949   # ldd complains unless libraries are executable
   18950   postinstall_cmds='chmod +x $lib'
   18951   ;;
   18952 
   18953 sunos4*)
   18954   version_type=sunos
   18955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18956   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18957   shlibpath_var=LD_LIBRARY_PATH
   18958   shlibpath_overrides_runpath=yes
   18959   if test "$with_gnu_ld" = yes; then
   18960     need_lib_prefix=no
   18961   fi
   18962   need_version=yes
   18963   ;;
   18964 
   18965 sysv4 | sysv4.3*)
   18966   version_type=linux
   18967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18968   soname_spec='${libname}${release}${shared_ext}$major'
   18969   shlibpath_var=LD_LIBRARY_PATH
   18970   case $host_vendor in
   18971     sni)
   18972       shlibpath_overrides_runpath=no
   18973       need_lib_prefix=no
   18974       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18975       runpath_var=LD_RUN_PATH
   18976       ;;
   18977     siemens)
   18978       need_lib_prefix=no
   18979       ;;
   18980     motorola)
   18981       need_lib_prefix=no
   18982       need_version=no
   18983       shlibpath_overrides_runpath=no
   18984       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18985       ;;
   18986   esac
   18987   ;;
   18988 
   18989 sysv4*MP*)
   18990   if test -d /usr/nec ;then
   18991     version_type=linux
   18992     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18993     soname_spec='$libname${shared_ext}.$major'
   18994     shlibpath_var=LD_LIBRARY_PATH
   18995   fi
   18996   ;;
   18997 
   18998 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18999   version_type=freebsd-elf
   19000   need_lib_prefix=no
   19001   need_version=no
   19002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19003   soname_spec='${libname}${release}${shared_ext}$major'
   19004   shlibpath_var=LD_LIBRARY_PATH
   19005   hardcode_into_libs=yes
   19006   if test "$with_gnu_ld" = yes; then
   19007     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19008     shlibpath_overrides_runpath=no
   19009   else
   19010     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19011     shlibpath_overrides_runpath=yes
   19012     case $host_os in
   19013       sco3.2v5*)
   19014         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19015 	;;
   19016     esac
   19017   fi
   19018   sys_lib_dlsearch_path_spec='/usr/lib'
   19019   ;;
   19020 
   19021 uts4*)
   19022   version_type=linux
   19023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19024   soname_spec='${libname}${release}${shared_ext}$major'
   19025   shlibpath_var=LD_LIBRARY_PATH
   19026   ;;
   19027 
   19028 *)
   19029   dynamic_linker=no
   19030   ;;
   19031 esac
   19032 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19033 $as_echo "$dynamic_linker" >&6; }
   19034 test "$dynamic_linker" = no && can_build_shared=no
   19035 
   19036 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19037   $as_echo_n "(cached) " >&6
   19038 else
   19039   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19040 fi
   19041 
   19042 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19043 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19044   $as_echo_n "(cached) " >&6
   19045 else
   19046   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19047 fi
   19048 
   19049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19050 
   19051 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19052 if test "$GCC" = yes; then
   19053   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19054 fi
   19055 
   19056 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19057 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19058 hardcode_action_GCJ=
   19059 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19060    test -n "$runpath_var_GCJ" || \
   19061    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19062 
   19063   # We can hardcode non-existant directories.
   19064   if test "$hardcode_direct_GCJ" != no &&
   19065      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19066      # have to relink, otherwise we might link with an installed library
   19067      # when we should be linking with a yet-to-be-installed one
   19068      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19069      test "$hardcode_minus_L_GCJ" != no; then
   19070     # Linking always hardcodes the temporary library directory.
   19071     hardcode_action_GCJ=relink
   19072   else
   19073     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19074     hardcode_action_GCJ=immediate
   19075   fi
   19076 else
   19077   # We cannot hardcode anything, or else we can only hardcode existing
   19078   # directories.
   19079   hardcode_action_GCJ=unsupported
   19080 fi
   19081 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19082 $as_echo "$hardcode_action_GCJ" >&6; }
   19083 
   19084 if test "$hardcode_action_GCJ" = relink; then
   19085   # Fast installation is not supported
   19086   enable_fast_install=no
   19087 elif test "$shlibpath_overrides_runpath" = yes ||
   19088      test "$enable_shared" = no; then
   19089   # Fast installation is not necessary
   19090   enable_fast_install=needless
   19091 fi
   19092 
   19093 
   19094 # The else clause should only fire when bootstrapping the
   19095 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19096 # with your package, and you will get complaints that there are
   19097 # no rules to generate ltmain.sh.
   19098 if test -f "$ltmain"; then
   19099   # See if we are running on zsh, and set the options which allow our commands through
   19100   # without removal of \ escapes.
   19101   if test -n "${ZSH_VERSION+set}" ; then
   19102     setopt NO_GLOB_SUBST
   19103   fi
   19104   # Now quote all the things that may contain metacharacters while being
   19105   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19106   # variables and quote the copies for generation of the libtool script.
   19107   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19108     SED SHELL STRIP \
   19109     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19110     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19111     deplibs_check_method reload_flag reload_cmds need_locks \
   19112     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19113     lt_cv_sys_global_symbol_to_c_name_address \
   19114     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19115     old_postinstall_cmds old_postuninstall_cmds \
   19116     compiler_GCJ \
   19117     CC_GCJ \
   19118     LD_GCJ \
   19119     lt_prog_compiler_wl_GCJ \
   19120     lt_prog_compiler_pic_GCJ \
   19121     lt_prog_compiler_static_GCJ \
   19122     lt_prog_compiler_no_builtin_flag_GCJ \
   19123     export_dynamic_flag_spec_GCJ \
   19124     thread_safe_flag_spec_GCJ \
   19125     whole_archive_flag_spec_GCJ \
   19126     enable_shared_with_static_runtimes_GCJ \
   19127     old_archive_cmds_GCJ \
   19128     old_archive_from_new_cmds_GCJ \
   19129     predep_objects_GCJ \
   19130     postdep_objects_GCJ \
   19131     predeps_GCJ \
   19132     postdeps_GCJ \
   19133     compiler_lib_search_path_GCJ \
   19134     compiler_lib_search_dirs_GCJ \
   19135     archive_cmds_GCJ \
   19136     archive_expsym_cmds_GCJ \
   19137     postinstall_cmds_GCJ \
   19138     postuninstall_cmds_GCJ \
   19139     old_archive_from_expsyms_cmds_GCJ \
   19140     allow_undefined_flag_GCJ \
   19141     no_undefined_flag_GCJ \
   19142     export_symbols_cmds_GCJ \
   19143     hardcode_libdir_flag_spec_GCJ \
   19144     hardcode_libdir_flag_spec_ld_GCJ \
   19145     hardcode_libdir_separator_GCJ \
   19146     hardcode_automatic_GCJ \
   19147     module_cmds_GCJ \
   19148     module_expsym_cmds_GCJ \
   19149     lt_cv_prog_compiler_c_o_GCJ \
   19150     fix_srcfile_path_GCJ \
   19151     exclude_expsyms_GCJ \
   19152     include_expsyms_GCJ; do
   19153 
   19154     case $var in
   19155     old_archive_cmds_GCJ | \
   19156     old_archive_from_new_cmds_GCJ | \
   19157     archive_cmds_GCJ | \
   19158     archive_expsym_cmds_GCJ | \
   19159     module_cmds_GCJ | \
   19160     module_expsym_cmds_GCJ | \
   19161     old_archive_from_expsyms_cmds_GCJ | \
   19162     export_symbols_cmds_GCJ | \
   19163     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19164     postinstall_cmds | postuninstall_cmds | \
   19165     old_postinstall_cmds | old_postuninstall_cmds | \
   19166     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19167       # Double-quote double-evaled strings.
   19168       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19169       ;;
   19170     *)
   19171       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19172       ;;
   19173     esac
   19174   done
   19175 
   19176   case $lt_echo in
   19177   *'\$0 --fallback-echo"')
   19178     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19179     ;;
   19180   esac
   19181 
   19182 cfgfile="$ofile"
   19183 
   19184   cat <<__EOF__ >> "$cfgfile"
   19185 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19186 
   19187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19188 
   19189 # Shell to use when invoking shell scripts.
   19190 SHELL=$lt_SHELL
   19191 
   19192 # Whether or not to build shared libraries.
   19193 build_libtool_libs=$enable_shared
   19194 
   19195 # Whether or not to build static libraries.
   19196 build_old_libs=$enable_static
   19197 
   19198 # Whether or not to add -lc for building shared libraries.
   19199 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19200 
   19201 # Whether or not to disallow shared libs when runtime libs are static
   19202 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19203 
   19204 # Whether or not to optimize for fast installation.
   19205 fast_install=$enable_fast_install
   19206 
   19207 # The host system.
   19208 host_alias=$host_alias
   19209 host=$host
   19210 host_os=$host_os
   19211 
   19212 # The build system.
   19213 build_alias=$build_alias
   19214 build=$build
   19215 build_os=$build_os
   19216 
   19217 # An echo program that does not interpret backslashes.
   19218 echo=$lt_echo
   19219 
   19220 # The archiver.
   19221 AR=$lt_AR
   19222 AR_FLAGS=$lt_AR_FLAGS
   19223 
   19224 # A C compiler.
   19225 LTCC=$lt_LTCC
   19226 
   19227 # LTCC compiler flags.
   19228 LTCFLAGS=$lt_LTCFLAGS
   19229 
   19230 # A language-specific compiler.
   19231 CC=$lt_compiler_GCJ
   19232 
   19233 # Is the compiler the GNU C compiler?
   19234 with_gcc=$GCC_GCJ
   19235 
   19236 # An ERE matcher.
   19237 EGREP=$lt_EGREP
   19238 
   19239 # The linker used to build libraries.
   19240 LD=$lt_LD_GCJ
   19241 
   19242 # Whether we need hard or soft links.
   19243 LN_S=$lt_LN_S
   19244 
   19245 # A BSD-compatible nm program.
   19246 NM=$lt_NM
   19247 
   19248 # A symbol stripping program
   19249 STRIP=$lt_STRIP
   19250 
   19251 # Used to examine libraries when file_magic_cmd begins "file"
   19252 MAGIC_CMD=$MAGIC_CMD
   19253 
   19254 # Used on cygwin: DLL creation program.
   19255 DLLTOOL="$DLLTOOL"
   19256 
   19257 # Used on cygwin: object dumper.
   19258 OBJDUMP="$OBJDUMP"
   19259 
   19260 # Used on cygwin: assembler.
   19261 AS="$AS"
   19262 
   19263 # The name of the directory that contains temporary libtool files.
   19264 objdir=$objdir
   19265 
   19266 # How to create reloadable object files.
   19267 reload_flag=$lt_reload_flag
   19268 reload_cmds=$lt_reload_cmds
   19269 
   19270 # How to pass a linker flag through the compiler.
   19271 wl=$lt_lt_prog_compiler_wl_GCJ
   19272 
   19273 # Object file suffix (normally "o").
   19274 objext="$ac_objext"
   19275 
   19276 # Old archive suffix (normally "a").
   19277 libext="$libext"
   19278 
   19279 # Shared library suffix (normally ".so").
   19280 shrext_cmds='$shrext_cmds'
   19281 
   19282 # Executable file suffix (normally "").
   19283 exeext="$exeext"
   19284 
   19285 # Additional compiler flags for building library objects.
   19286 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19287 pic_mode=$pic_mode
   19288 
   19289 # What is the maximum length of a command?
   19290 max_cmd_len=$lt_cv_sys_max_cmd_len
   19291 
   19292 # Does compiler simultaneously support -c and -o options?
   19293 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19294 
   19295 # Must we lock files when doing compilation?
   19296 need_locks=$lt_need_locks
   19297 
   19298 # Do we need the lib prefix for modules?
   19299 need_lib_prefix=$need_lib_prefix
   19300 
   19301 # Do we need a version for libraries?
   19302 need_version=$need_version
   19303 
   19304 # Whether dlopen is supported.
   19305 dlopen_support=$enable_dlopen
   19306 
   19307 # Whether dlopen of programs is supported.
   19308 dlopen_self=$enable_dlopen_self
   19309 
   19310 # Whether dlopen of statically linked programs is supported.
   19311 dlopen_self_static=$enable_dlopen_self_static
   19312 
   19313 # Compiler flag to prevent dynamic linking.
   19314 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19315 
   19316 # Compiler flag to turn off builtin functions.
   19317 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19318 
   19319 # Compiler flag to allow reflexive dlopens.
   19320 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19321 
   19322 # Compiler flag to generate shared objects directly from archives.
   19323 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19324 
   19325 # Compiler flag to generate thread-safe objects.
   19326 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19327 
   19328 # Library versioning type.
   19329 version_type=$version_type
   19330 
   19331 # Format of library name prefix.
   19332 libname_spec=$lt_libname_spec
   19333 
   19334 # List of archive names.  First name is the real one, the rest are links.
   19335 # The last name is the one that the linker finds with -lNAME.
   19336 library_names_spec=$lt_library_names_spec
   19337 
   19338 # The coded name of the library, if different from the real name.
   19339 soname_spec=$lt_soname_spec
   19340 
   19341 # Commands used to build and install an old-style archive.
   19342 RANLIB=$lt_RANLIB
   19343 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19344 old_postinstall_cmds=$lt_old_postinstall_cmds
   19345 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19346 
   19347 # Create an old-style archive from a shared archive.
   19348 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19349 
   19350 # Create a temporary old-style archive to link instead of a shared archive.
   19351 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19352 
   19353 # Commands used to build and install a shared archive.
   19354 archive_cmds=$lt_archive_cmds_GCJ
   19355 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19356 postinstall_cmds=$lt_postinstall_cmds
   19357 postuninstall_cmds=$lt_postuninstall_cmds
   19358 
   19359 # Commands used to build a loadable module (assumed same as above if empty)
   19360 module_cmds=$lt_module_cmds_GCJ
   19361 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19362 
   19363 # Commands to strip libraries.
   19364 old_striplib=$lt_old_striplib
   19365 striplib=$lt_striplib
   19366 
   19367 # Dependencies to place before the objects being linked to create a
   19368 # shared library.
   19369 predep_objects=$lt_predep_objects_GCJ
   19370 
   19371 # Dependencies to place after the objects being linked to create a
   19372 # shared library.
   19373 postdep_objects=$lt_postdep_objects_GCJ
   19374 
   19375 # Dependencies to place before the objects being linked to create a
   19376 # shared library.
   19377 predeps=$lt_predeps_GCJ
   19378 
   19379 # Dependencies to place after the objects being linked to create a
   19380 # shared library.
   19381 postdeps=$lt_postdeps_GCJ
   19382 
   19383 # The directories searched by this compiler when creating a shared
   19384 # library
   19385 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19386 
   19387 # The library search path used internally by the compiler when linking
   19388 # a shared library.
   19389 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19390 
   19391 # Method to check whether dependent libraries are shared objects.
   19392 deplibs_check_method=$lt_deplibs_check_method
   19393 
   19394 # Command to use when deplibs_check_method == file_magic.
   19395 file_magic_cmd=$lt_file_magic_cmd
   19396 
   19397 # Flag that allows shared libraries with undefined symbols to be built.
   19398 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19399 
   19400 # Flag that forces no undefined symbols.
   19401 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19402 
   19403 # Commands used to finish a libtool library installation in a directory.
   19404 finish_cmds=$lt_finish_cmds
   19405 
   19406 # Same as above, but a single script fragment to be evaled but not shown.
   19407 finish_eval=$lt_finish_eval
   19408 
   19409 # Take the output of nm and produce a listing of raw symbols and C names.
   19410 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19411 
   19412 # Transform the output of nm in a proper C declaration
   19413 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19414 
   19415 # Transform the output of nm in a C name address pair
   19416 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19417 
   19418 # This is the shared library runtime path variable.
   19419 runpath_var=$runpath_var
   19420 
   19421 # This is the shared library path variable.
   19422 shlibpath_var=$shlibpath_var
   19423 
   19424 # Is shlibpath searched before the hard-coded library search path?
   19425 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19426 
   19427 # How to hardcode a shared library path into an executable.
   19428 hardcode_action=$hardcode_action_GCJ
   19429 
   19430 # Whether we should hardcode library paths into libraries.
   19431 hardcode_into_libs=$hardcode_into_libs
   19432 
   19433 # Flag to hardcode \$libdir into a binary during linking.
   19434 # This must work even if \$libdir does not exist.
   19435 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19436 
   19437 # If ld is used when linking, flag to hardcode \$libdir into
   19438 # a binary during linking. This must work even if \$libdir does
   19439 # not exist.
   19440 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19441 
   19442 # Whether we need a single -rpath flag with a separated argument.
   19443 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19444 
   19445 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19446 # resulting binary.
   19447 hardcode_direct=$hardcode_direct_GCJ
   19448 
   19449 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19450 # resulting binary.
   19451 hardcode_minus_L=$hardcode_minus_L_GCJ
   19452 
   19453 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19454 # the resulting binary.
   19455 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19456 
   19457 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19458 # and all subsequent libraries and executables linked against it.
   19459 hardcode_automatic=$hardcode_automatic_GCJ
   19460 
   19461 # Variables whose values should be saved in libtool wrapper scripts and
   19462 # restored at relink time.
   19463 variables_saved_for_relink="$variables_saved_for_relink"
   19464 
   19465 # Whether libtool must link a program against all its dependency libraries.
   19466 link_all_deplibs=$link_all_deplibs_GCJ
   19467 
   19468 # Compile-time system search path for libraries
   19469 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19470 
   19471 # Run-time system search path for libraries
   19472 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19473 
   19474 # Fix the shell variable \$srcfile for the compiler.
   19475 fix_srcfile_path=$lt_fix_srcfile_path
   19476 
   19477 # Set to yes if exported symbols are required.
   19478 always_export_symbols=$always_export_symbols_GCJ
   19479 
   19480 # The commands to list exported symbols.
   19481 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19482 
   19483 # The commands to extract the exported symbol list from a shared archive.
   19484 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19485 
   19486 # Symbols that should not be listed in the preloaded symbols.
   19487 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19488 
   19489 # Symbols that must always be exported.
   19490 include_expsyms=$lt_include_expsyms_GCJ
   19491 
   19492 # ### END LIBTOOL TAG CONFIG: $tagname
   19493 
   19494 __EOF__
   19495 
   19496 
   19497 else
   19498   # If there is no Makefile yet, we rely on a make rule to execute
   19499   # `config.status --recheck' to rerun these tests and create the
   19500   # libtool script then.
   19501   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19502   if test -f "$ltmain_in"; then
   19503     test -f Makefile && make "$ltmain"
   19504   fi
   19505 fi
   19506 
   19507 
   19508 ac_ext=c
   19509 ac_cpp='$CPP $CPPFLAGS'
   19510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19513 
   19514 CC="$lt_save_CC"
   19515 
   19516 	else
   19517 	  tagname=""
   19518 	fi
   19519 	;;
   19520 
   19521       RC)
   19522 
   19523 
   19524 # Source file extension for RC test sources.
   19525 ac_ext=rc
   19526 
   19527 # Object file extension for compiled RC test sources.
   19528 objext=o
   19529 objext_RC=$objext
   19530 
   19531 # Code to be used in simple compile tests
   19532 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19533 
   19534 # Code to be used in simple link tests
   19535 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19536 
   19537 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19538 
   19539 # If no C compiler was specified, use CC.
   19540 LTCC=${LTCC-"$CC"}
   19541 
   19542 # If no C compiler flags were specified, use CFLAGS.
   19543 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19544 
   19545 # Allow CC to be a program name with arguments.
   19546 compiler=$CC
   19547 
   19548 
   19549 # save warnings/boilerplate of simple test code
   19550 ac_outfile=conftest.$ac_objext
   19551 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19552 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19553 _lt_compiler_boilerplate=`cat conftest.err`
   19554 $rm conftest*
   19555 
   19556 ac_outfile=conftest.$ac_objext
   19557 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19558 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19559 _lt_linker_boilerplate=`cat conftest.err`
   19560 $rm -r conftest*
   19561 
   19562 
   19563 # Allow CC to be a program name with arguments.
   19564 lt_save_CC="$CC"
   19565 CC=${RC-"windres"}
   19566 compiler=$CC
   19567 compiler_RC=$CC
   19568 for cc_temp in $compiler""; do
   19569   case $cc_temp in
   19570     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19571     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19572     \-*) ;;
   19573     *) break;;
   19574   esac
   19575 done
   19576 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19577 
   19578 lt_cv_prog_compiler_c_o_RC=yes
   19579 
   19580 # The else clause should only fire when bootstrapping the
   19581 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19582 # with your package, and you will get complaints that there are
   19583 # no rules to generate ltmain.sh.
   19584 if test -f "$ltmain"; then
   19585   # See if we are running on zsh, and set the options which allow our commands through
   19586   # without removal of \ escapes.
   19587   if test -n "${ZSH_VERSION+set}" ; then
   19588     setopt NO_GLOB_SUBST
   19589   fi
   19590   # Now quote all the things that may contain metacharacters while being
   19591   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19592   # variables and quote the copies for generation of the libtool script.
   19593   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19594     SED SHELL STRIP \
   19595     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19596     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19597     deplibs_check_method reload_flag reload_cmds need_locks \
   19598     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19599     lt_cv_sys_global_symbol_to_c_name_address \
   19600     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19601     old_postinstall_cmds old_postuninstall_cmds \
   19602     compiler_RC \
   19603     CC_RC \
   19604     LD_RC \
   19605     lt_prog_compiler_wl_RC \
   19606     lt_prog_compiler_pic_RC \
   19607     lt_prog_compiler_static_RC \
   19608     lt_prog_compiler_no_builtin_flag_RC \
   19609     export_dynamic_flag_spec_RC \
   19610     thread_safe_flag_spec_RC \
   19611     whole_archive_flag_spec_RC \
   19612     enable_shared_with_static_runtimes_RC \
   19613     old_archive_cmds_RC \
   19614     old_archive_from_new_cmds_RC \
   19615     predep_objects_RC \
   19616     postdep_objects_RC \
   19617     predeps_RC \
   19618     postdeps_RC \
   19619     compiler_lib_search_path_RC \
   19620     compiler_lib_search_dirs_RC \
   19621     archive_cmds_RC \
   19622     archive_expsym_cmds_RC \
   19623     postinstall_cmds_RC \
   19624     postuninstall_cmds_RC \
   19625     old_archive_from_expsyms_cmds_RC \
   19626     allow_undefined_flag_RC \
   19627     no_undefined_flag_RC \
   19628     export_symbols_cmds_RC \
   19629     hardcode_libdir_flag_spec_RC \
   19630     hardcode_libdir_flag_spec_ld_RC \
   19631     hardcode_libdir_separator_RC \
   19632     hardcode_automatic_RC \
   19633     module_cmds_RC \
   19634     module_expsym_cmds_RC \
   19635     lt_cv_prog_compiler_c_o_RC \
   19636     fix_srcfile_path_RC \
   19637     exclude_expsyms_RC \
   19638     include_expsyms_RC; do
   19639 
   19640     case $var in
   19641     old_archive_cmds_RC | \
   19642     old_archive_from_new_cmds_RC | \
   19643     archive_cmds_RC | \
   19644     archive_expsym_cmds_RC | \
   19645     module_cmds_RC | \
   19646     module_expsym_cmds_RC | \
   19647     old_archive_from_expsyms_cmds_RC | \
   19648     export_symbols_cmds_RC | \
   19649     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19650     postinstall_cmds | postuninstall_cmds | \
   19651     old_postinstall_cmds | old_postuninstall_cmds | \
   19652     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19653       # Double-quote double-evaled strings.
   19654       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19655       ;;
   19656     *)
   19657       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19658       ;;
   19659     esac
   19660   done
   19661 
   19662   case $lt_echo in
   19663   *'\$0 --fallback-echo"')
   19664     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19665     ;;
   19666   esac
   19667 
   19668 cfgfile="$ofile"
   19669 
   19670   cat <<__EOF__ >> "$cfgfile"
   19671 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19672 
   19673 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19674 
   19675 # Shell to use when invoking shell scripts.
   19676 SHELL=$lt_SHELL
   19677 
   19678 # Whether or not to build shared libraries.
   19679 build_libtool_libs=$enable_shared
   19680 
   19681 # Whether or not to build static libraries.
   19682 build_old_libs=$enable_static
   19683 
   19684 # Whether or not to add -lc for building shared libraries.
   19685 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19686 
   19687 # Whether or not to disallow shared libs when runtime libs are static
   19688 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19689 
   19690 # Whether or not to optimize for fast installation.
   19691 fast_install=$enable_fast_install
   19692 
   19693 # The host system.
   19694 host_alias=$host_alias
   19695 host=$host
   19696 host_os=$host_os
   19697 
   19698 # The build system.
   19699 build_alias=$build_alias
   19700 build=$build
   19701 build_os=$build_os
   19702 
   19703 # An echo program that does not interpret backslashes.
   19704 echo=$lt_echo
   19705 
   19706 # The archiver.
   19707 AR=$lt_AR
   19708 AR_FLAGS=$lt_AR_FLAGS
   19709 
   19710 # A C compiler.
   19711 LTCC=$lt_LTCC
   19712 
   19713 # LTCC compiler flags.
   19714 LTCFLAGS=$lt_LTCFLAGS
   19715 
   19716 # A language-specific compiler.
   19717 CC=$lt_compiler_RC
   19718 
   19719 # Is the compiler the GNU C compiler?
   19720 with_gcc=$GCC_RC
   19721 
   19722 # An ERE matcher.
   19723 EGREP=$lt_EGREP
   19724 
   19725 # The linker used to build libraries.
   19726 LD=$lt_LD_RC
   19727 
   19728 # Whether we need hard or soft links.
   19729 LN_S=$lt_LN_S
   19730 
   19731 # A BSD-compatible nm program.
   19732 NM=$lt_NM
   19733 
   19734 # A symbol stripping program
   19735 STRIP=$lt_STRIP
   19736 
   19737 # Used to examine libraries when file_magic_cmd begins "file"
   19738 MAGIC_CMD=$MAGIC_CMD
   19739 
   19740 # Used on cygwin: DLL creation program.
   19741 DLLTOOL="$DLLTOOL"
   19742 
   19743 # Used on cygwin: object dumper.
   19744 OBJDUMP="$OBJDUMP"
   19745 
   19746 # Used on cygwin: assembler.
   19747 AS="$AS"
   19748 
   19749 # The name of the directory that contains temporary libtool files.
   19750 objdir=$objdir
   19751 
   19752 # How to create reloadable object files.
   19753 reload_flag=$lt_reload_flag
   19754 reload_cmds=$lt_reload_cmds
   19755 
   19756 # How to pass a linker flag through the compiler.
   19757 wl=$lt_lt_prog_compiler_wl_RC
   19758 
   19759 # Object file suffix (normally "o").
   19760 objext="$ac_objext"
   19761 
   19762 # Old archive suffix (normally "a").
   19763 libext="$libext"
   19764 
   19765 # Shared library suffix (normally ".so").
   19766 shrext_cmds='$shrext_cmds'
   19767 
   19768 # Executable file suffix (normally "").
   19769 exeext="$exeext"
   19770 
   19771 # Additional compiler flags for building library objects.
   19772 pic_flag=$lt_lt_prog_compiler_pic_RC
   19773 pic_mode=$pic_mode
   19774 
   19775 # What is the maximum length of a command?
   19776 max_cmd_len=$lt_cv_sys_max_cmd_len
   19777 
   19778 # Does compiler simultaneously support -c and -o options?
   19779 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19780 
   19781 # Must we lock files when doing compilation?
   19782 need_locks=$lt_need_locks
   19783 
   19784 # Do we need the lib prefix for modules?
   19785 need_lib_prefix=$need_lib_prefix
   19786 
   19787 # Do we need a version for libraries?
   19788 need_version=$need_version
   19789 
   19790 # Whether dlopen is supported.
   19791 dlopen_support=$enable_dlopen
   19792 
   19793 # Whether dlopen of programs is supported.
   19794 dlopen_self=$enable_dlopen_self
   19795 
   19796 # Whether dlopen of statically linked programs is supported.
   19797 dlopen_self_static=$enable_dlopen_self_static
   19798 
   19799 # Compiler flag to prevent dynamic linking.
   19800 link_static_flag=$lt_lt_prog_compiler_static_RC
   19801 
   19802 # Compiler flag to turn off builtin functions.
   19803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19804 
   19805 # Compiler flag to allow reflexive dlopens.
   19806 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19807 
   19808 # Compiler flag to generate shared objects directly from archives.
   19809 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19810 
   19811 # Compiler flag to generate thread-safe objects.
   19812 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19813 
   19814 # Library versioning type.
   19815 version_type=$version_type
   19816 
   19817 # Format of library name prefix.
   19818 libname_spec=$lt_libname_spec
   19819 
   19820 # List of archive names.  First name is the real one, the rest are links.
   19821 # The last name is the one that the linker finds with -lNAME.
   19822 library_names_spec=$lt_library_names_spec
   19823 
   19824 # The coded name of the library, if different from the real name.
   19825 soname_spec=$lt_soname_spec
   19826 
   19827 # Commands used to build and install an old-style archive.
   19828 RANLIB=$lt_RANLIB
   19829 old_archive_cmds=$lt_old_archive_cmds_RC
   19830 old_postinstall_cmds=$lt_old_postinstall_cmds
   19831 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19832 
   19833 # Create an old-style archive from a shared archive.
   19834 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19835 
   19836 # Create a temporary old-style archive to link instead of a shared archive.
   19837 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19838 
   19839 # Commands used to build and install a shared archive.
   19840 archive_cmds=$lt_archive_cmds_RC
   19841 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19842 postinstall_cmds=$lt_postinstall_cmds
   19843 postuninstall_cmds=$lt_postuninstall_cmds
   19844 
   19845 # Commands used to build a loadable module (assumed same as above if empty)
   19846 module_cmds=$lt_module_cmds_RC
   19847 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19848 
   19849 # Commands to strip libraries.
   19850 old_striplib=$lt_old_striplib
   19851 striplib=$lt_striplib
   19852 
   19853 # Dependencies to place before the objects being linked to create a
   19854 # shared library.
   19855 predep_objects=$lt_predep_objects_RC
   19856 
   19857 # Dependencies to place after the objects being linked to create a
   19858 # shared library.
   19859 postdep_objects=$lt_postdep_objects_RC
   19860 
   19861 # Dependencies to place before the objects being linked to create a
   19862 # shared library.
   19863 predeps=$lt_predeps_RC
   19864 
   19865 # Dependencies to place after the objects being linked to create a
   19866 # shared library.
   19867 postdeps=$lt_postdeps_RC
   19868 
   19869 # The directories searched by this compiler when creating a shared
   19870 # library
   19871 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19872 
   19873 # The library search path used internally by the compiler when linking
   19874 # a shared library.
   19875 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19876 
   19877 # Method to check whether dependent libraries are shared objects.
   19878 deplibs_check_method=$lt_deplibs_check_method
   19879 
   19880 # Command to use when deplibs_check_method == file_magic.
   19881 file_magic_cmd=$lt_file_magic_cmd
   19882 
   19883 # Flag that allows shared libraries with undefined symbols to be built.
   19884 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19885 
   19886 # Flag that forces no undefined symbols.
   19887 no_undefined_flag=$lt_no_undefined_flag_RC
   19888 
   19889 # Commands used to finish a libtool library installation in a directory.
   19890 finish_cmds=$lt_finish_cmds
   19891 
   19892 # Same as above, but a single script fragment to be evaled but not shown.
   19893 finish_eval=$lt_finish_eval
   19894 
   19895 # Take the output of nm and produce a listing of raw symbols and C names.
   19896 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19897 
   19898 # Transform the output of nm in a proper C declaration
   19899 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19900 
   19901 # Transform the output of nm in a C name address pair
   19902 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19903 
   19904 # This is the shared library runtime path variable.
   19905 runpath_var=$runpath_var
   19906 
   19907 # This is the shared library path variable.
   19908 shlibpath_var=$shlibpath_var
   19909 
   19910 # Is shlibpath searched before the hard-coded library search path?
   19911 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19912 
   19913 # How to hardcode a shared library path into an executable.
   19914 hardcode_action=$hardcode_action_RC
   19915 
   19916 # Whether we should hardcode library paths into libraries.
   19917 hardcode_into_libs=$hardcode_into_libs
   19918 
   19919 # Flag to hardcode \$libdir into a binary during linking.
   19920 # This must work even if \$libdir does not exist.
   19921 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19922 
   19923 # If ld is used when linking, flag to hardcode \$libdir into
   19924 # a binary during linking. This must work even if \$libdir does
   19925 # not exist.
   19926 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19927 
   19928 # Whether we need a single -rpath flag with a separated argument.
   19929 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19930 
   19931 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19932 # resulting binary.
   19933 hardcode_direct=$hardcode_direct_RC
   19934 
   19935 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19936 # resulting binary.
   19937 hardcode_minus_L=$hardcode_minus_L_RC
   19938 
   19939 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19940 # the resulting binary.
   19941 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19942 
   19943 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19944 # and all subsequent libraries and executables linked against it.
   19945 hardcode_automatic=$hardcode_automatic_RC
   19946 
   19947 # Variables whose values should be saved in libtool wrapper scripts and
   19948 # restored at relink time.
   19949 variables_saved_for_relink="$variables_saved_for_relink"
   19950 
   19951 # Whether libtool must link a program against all its dependency libraries.
   19952 link_all_deplibs=$link_all_deplibs_RC
   19953 
   19954 # Compile-time system search path for libraries
   19955 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19956 
   19957 # Run-time system search path for libraries
   19958 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19959 
   19960 # Fix the shell variable \$srcfile for the compiler.
   19961 fix_srcfile_path=$lt_fix_srcfile_path
   19962 
   19963 # Set to yes if exported symbols are required.
   19964 always_export_symbols=$always_export_symbols_RC
   19965 
   19966 # The commands to list exported symbols.
   19967 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19968 
   19969 # The commands to extract the exported symbol list from a shared archive.
   19970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19971 
   19972 # Symbols that should not be listed in the preloaded symbols.
   19973 exclude_expsyms=$lt_exclude_expsyms_RC
   19974 
   19975 # Symbols that must always be exported.
   19976 include_expsyms=$lt_include_expsyms_RC
   19977 
   19978 # ### END LIBTOOL TAG CONFIG: $tagname
   19979 
   19980 __EOF__
   19981 
   19982 
   19983 else
   19984   # If there is no Makefile yet, we rely on a make rule to execute
   19985   # `config.status --recheck' to rerun these tests and create the
   19986   # libtool script then.
   19987   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19988   if test -f "$ltmain_in"; then
   19989     test -f Makefile && make "$ltmain"
   19990   fi
   19991 fi
   19992 
   19993 
   19994 ac_ext=c
   19995 ac_cpp='$CPP $CPPFLAGS'
   19996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19999 
   20000 CC="$lt_save_CC"
   20001 
   20002 	;;
   20003 
   20004       *)
   20005 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20006 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20007    { (exit 1); exit 1; }; }
   20008 	;;
   20009       esac
   20010 
   20011       # Append the new tag name to the list of available tags.
   20012       if test -n "$tagname" ; then
   20013       available_tags="$available_tags $tagname"
   20014     fi
   20015     fi
   20016   done
   20017   IFS="$lt_save_ifs"
   20018 
   20019   # Now substitute the updated list of available tags.
   20020   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20021     mv "${ofile}T" "$ofile"
   20022     chmod +x "$ofile"
   20023   else
   20024     rm -f "${ofile}T"
   20025     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20026 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20027    { (exit 1); exit 1; }; }
   20028   fi
   20029 fi
   20030 
   20031 
   20032 
   20033 # This can be used to rebuild libtool when needed
   20034 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20035 
   20036 # Always use our own libtool.
   20037 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20038 
   20039 # Prevent multiple expansion
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 ac_ext=c
   20061 ac_cpp='$CPP $CPPFLAGS'
   20062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20065 if test -n "$ac_tool_prefix"; then
   20066   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20069 $as_echo_n "checking for $ac_word... " >&6; }
   20070 if test "${ac_cv_prog_CC+set}" = set; then
   20071   $as_echo_n "(cached) " >&6
   20072 else
   20073   if test -n "$CC"; then
   20074   ac_cv_prog_CC="$CC" # Let the user override the test.
   20075 else
   20076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20077 for as_dir in $PATH
   20078 do
   20079   IFS=$as_save_IFS
   20080   test -z "$as_dir" && as_dir=.
   20081   for ac_exec_ext in '' $ac_executable_extensions; do
   20082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20083     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20084     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20085     break 2
   20086   fi
   20087 done
   20088 done
   20089 IFS=$as_save_IFS
   20090 
   20091 fi
   20092 fi
   20093 CC=$ac_cv_prog_CC
   20094 if test -n "$CC"; then
   20095   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20096 $as_echo "$CC" >&6; }
   20097 else
   20098   { $as_echo "$as_me:$LINENO: result: no" >&5
   20099 $as_echo "no" >&6; }
   20100 fi
   20101 
   20102 
   20103 fi
   20104 if test -z "$ac_cv_prog_CC"; then
   20105   ac_ct_CC=$CC
   20106   # Extract the first word of "gcc", so it can be a program name with args.
   20107 set dummy gcc; ac_word=$2
   20108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20109 $as_echo_n "checking for $ac_word... " >&6; }
   20110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20111   $as_echo_n "(cached) " >&6
   20112 else
   20113   if test -n "$ac_ct_CC"; then
   20114   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20115 else
   20116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20117 for as_dir in $PATH
   20118 do
   20119   IFS=$as_save_IFS
   20120   test -z "$as_dir" && as_dir=.
   20121   for ac_exec_ext in '' $ac_executable_extensions; do
   20122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20123     ac_cv_prog_ac_ct_CC="gcc"
   20124     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20125     break 2
   20126   fi
   20127 done
   20128 done
   20129 IFS=$as_save_IFS
   20130 
   20131 fi
   20132 fi
   20133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20134 if test -n "$ac_ct_CC"; then
   20135   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20136 $as_echo "$ac_ct_CC" >&6; }
   20137 else
   20138   { $as_echo "$as_me:$LINENO: result: no" >&5
   20139 $as_echo "no" >&6; }
   20140 fi
   20141 
   20142   if test "x$ac_ct_CC" = x; then
   20143     CC=""
   20144   else
   20145     case $cross_compiling:$ac_tool_warned in
   20146 yes:)
   20147 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20149 ac_tool_warned=yes ;;
   20150 esac
   20151     CC=$ac_ct_CC
   20152   fi
   20153 else
   20154   CC="$ac_cv_prog_CC"
   20155 fi
   20156 
   20157 if test -z "$CC"; then
   20158           if test -n "$ac_tool_prefix"; then
   20159     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20160 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20162 $as_echo_n "checking for $ac_word... " >&6; }
   20163 if test "${ac_cv_prog_CC+set}" = set; then
   20164   $as_echo_n "(cached) " >&6
   20165 else
   20166   if test -n "$CC"; then
   20167   ac_cv_prog_CC="$CC" # Let the user override the test.
   20168 else
   20169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20170 for as_dir in $PATH
   20171 do
   20172   IFS=$as_save_IFS
   20173   test -z "$as_dir" && as_dir=.
   20174   for ac_exec_ext in '' $ac_executable_extensions; do
   20175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20176     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20177     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20178     break 2
   20179   fi
   20180 done
   20181 done
   20182 IFS=$as_save_IFS
   20183 
   20184 fi
   20185 fi
   20186 CC=$ac_cv_prog_CC
   20187 if test -n "$CC"; then
   20188   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20189 $as_echo "$CC" >&6; }
   20190 else
   20191   { $as_echo "$as_me:$LINENO: result: no" >&5
   20192 $as_echo "no" >&6; }
   20193 fi
   20194 
   20195 
   20196   fi
   20197 fi
   20198 if test -z "$CC"; then
   20199   # Extract the first word of "cc", so it can be a program name with args.
   20200 set dummy cc; ac_word=$2
   20201 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20202 $as_echo_n "checking for $ac_word... " >&6; }
   20203 if test "${ac_cv_prog_CC+set}" = set; then
   20204   $as_echo_n "(cached) " >&6
   20205 else
   20206   if test -n "$CC"; then
   20207   ac_cv_prog_CC="$CC" # Let the user override the test.
   20208 else
   20209   ac_prog_rejected=no
   20210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20211 for as_dir in $PATH
   20212 do
   20213   IFS=$as_save_IFS
   20214   test -z "$as_dir" && as_dir=.
   20215   for ac_exec_ext in '' $ac_executable_extensions; do
   20216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20217     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20218        ac_prog_rejected=yes
   20219        continue
   20220      fi
   20221     ac_cv_prog_CC="cc"
   20222     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20223     break 2
   20224   fi
   20225 done
   20226 done
   20227 IFS=$as_save_IFS
   20228 
   20229 if test $ac_prog_rejected = yes; then
   20230   # We found a bogon in the path, so make sure we never use it.
   20231   set dummy $ac_cv_prog_CC
   20232   shift
   20233   if test $# != 0; then
   20234     # We chose a different compiler from the bogus one.
   20235     # However, it has the same basename, so the bogon will be chosen
   20236     # first if we set CC to just the basename; use the full file name.
   20237     shift
   20238     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20239   fi
   20240 fi
   20241 fi
   20242 fi
   20243 CC=$ac_cv_prog_CC
   20244 if test -n "$CC"; then
   20245   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20246 $as_echo "$CC" >&6; }
   20247 else
   20248   { $as_echo "$as_me:$LINENO: result: no" >&5
   20249 $as_echo "no" >&6; }
   20250 fi
   20251 
   20252 
   20253 fi
   20254 if test -z "$CC"; then
   20255   if test -n "$ac_tool_prefix"; then
   20256   for ac_prog in cl.exe
   20257   do
   20258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20261 $as_echo_n "checking for $ac_word... " >&6; }
   20262 if test "${ac_cv_prog_CC+set}" = set; then
   20263   $as_echo_n "(cached) " >&6
   20264 else
   20265   if test -n "$CC"; then
   20266   ac_cv_prog_CC="$CC" # Let the user override the test.
   20267 else
   20268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20269 for as_dir in $PATH
   20270 do
   20271   IFS=$as_save_IFS
   20272   test -z "$as_dir" && as_dir=.
   20273   for ac_exec_ext in '' $ac_executable_extensions; do
   20274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20275     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20277     break 2
   20278   fi
   20279 done
   20280 done
   20281 IFS=$as_save_IFS
   20282 
   20283 fi
   20284 fi
   20285 CC=$ac_cv_prog_CC
   20286 if test -n "$CC"; then
   20287   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20288 $as_echo "$CC" >&6; }
   20289 else
   20290   { $as_echo "$as_me:$LINENO: result: no" >&5
   20291 $as_echo "no" >&6; }
   20292 fi
   20293 
   20294 
   20295     test -n "$CC" && break
   20296   done
   20297 fi
   20298 if test -z "$CC"; then
   20299   ac_ct_CC=$CC
   20300   for ac_prog in cl.exe
   20301 do
   20302   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20303 set dummy $ac_prog; ac_word=$2
   20304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20305 $as_echo_n "checking for $ac_word... " >&6; }
   20306 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20307   $as_echo_n "(cached) " >&6
   20308 else
   20309   if test -n "$ac_ct_CC"; then
   20310   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20311 else
   20312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20313 for as_dir in $PATH
   20314 do
   20315   IFS=$as_save_IFS
   20316   test -z "$as_dir" && as_dir=.
   20317   for ac_exec_ext in '' $ac_executable_extensions; do
   20318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20319     ac_cv_prog_ac_ct_CC="$ac_prog"
   20320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20321     break 2
   20322   fi
   20323 done
   20324 done
   20325 IFS=$as_save_IFS
   20326 
   20327 fi
   20328 fi
   20329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20330 if test -n "$ac_ct_CC"; then
   20331   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20332 $as_echo "$ac_ct_CC" >&6; }
   20333 else
   20334   { $as_echo "$as_me:$LINENO: result: no" >&5
   20335 $as_echo "no" >&6; }
   20336 fi
   20337 
   20338 
   20339   test -n "$ac_ct_CC" && break
   20340 done
   20341 
   20342   if test "x$ac_ct_CC" = x; then
   20343     CC=""
   20344   else
   20345     case $cross_compiling:$ac_tool_warned in
   20346 yes:)
   20347 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20349 ac_tool_warned=yes ;;
   20350 esac
   20351     CC=$ac_ct_CC
   20352   fi
   20353 fi
   20354 
   20355 fi
   20356 
   20357 
   20358 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20360 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20361 See \`config.log' for more details." >&5
   20362 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20363 See \`config.log' for more details." >&2;}
   20364    { (exit 1); exit 1; }; }; }
   20365 
   20366 # Provide some information about the compiler.
   20367 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20368 set X $ac_compile
   20369 ac_compiler=$2
   20370 { (ac_try="$ac_compiler --version >&5"
   20371 case "(($ac_try" in
   20372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20373   *) ac_try_echo=$ac_try;;
   20374 esac
   20375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20376 $as_echo "$ac_try_echo") >&5
   20377   (eval "$ac_compiler --version >&5") 2>&5
   20378   ac_status=$?
   20379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20380   (exit $ac_status); }
   20381 { (ac_try="$ac_compiler -v >&5"
   20382 case "(($ac_try" in
   20383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20384   *) ac_try_echo=$ac_try;;
   20385 esac
   20386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20387 $as_echo "$ac_try_echo") >&5
   20388   (eval "$ac_compiler -v >&5") 2>&5
   20389   ac_status=$?
   20390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20391   (exit $ac_status); }
   20392 { (ac_try="$ac_compiler -V >&5"
   20393 case "(($ac_try" in
   20394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20395   *) ac_try_echo=$ac_try;;
   20396 esac
   20397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20398 $as_echo "$ac_try_echo") >&5
   20399   (eval "$ac_compiler -V >&5") 2>&5
   20400   ac_status=$?
   20401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20402   (exit $ac_status); }
   20403 
   20404 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20405 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20406 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20407   $as_echo_n "(cached) " >&6
   20408 else
   20409   cat >conftest.$ac_ext <<_ACEOF
   20410 /* confdefs.h.  */
   20411 _ACEOF
   20412 cat confdefs.h >>conftest.$ac_ext
   20413 cat >>conftest.$ac_ext <<_ACEOF
   20414 /* end confdefs.h.  */
   20415 
   20416 int
   20417 main ()
   20418 {
   20419 #ifndef __GNUC__
   20420        choke me
   20421 #endif
   20422 
   20423   ;
   20424   return 0;
   20425 }
   20426 _ACEOF
   20427 rm -f conftest.$ac_objext
   20428 if { (ac_try="$ac_compile"
   20429 case "(($ac_try" in
   20430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20431   *) ac_try_echo=$ac_try;;
   20432 esac
   20433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20434 $as_echo "$ac_try_echo") >&5
   20435   (eval "$ac_compile") 2>conftest.er1
   20436   ac_status=$?
   20437   grep -v '^ *+' conftest.er1 >conftest.err
   20438   rm -f conftest.er1
   20439   cat conftest.err >&5
   20440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20441   (exit $ac_status); } && {
   20442 	 test -z "$ac_c_werror_flag" ||
   20443 	 test ! -s conftest.err
   20444        } && test -s conftest.$ac_objext; then
   20445   ac_compiler_gnu=yes
   20446 else
   20447   $as_echo "$as_me: failed program was:" >&5
   20448 sed 's/^/| /' conftest.$ac_ext >&5
   20449 
   20450 	ac_compiler_gnu=no
   20451 fi
   20452 
   20453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20455 
   20456 fi
   20457 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20458 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20459 if test $ac_compiler_gnu = yes; then
   20460   GCC=yes
   20461 else
   20462   GCC=
   20463 fi
   20464 ac_test_CFLAGS=${CFLAGS+set}
   20465 ac_save_CFLAGS=$CFLAGS
   20466 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20467 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20468 if test "${ac_cv_prog_cc_g+set}" = set; then
   20469   $as_echo_n "(cached) " >&6
   20470 else
   20471   ac_save_c_werror_flag=$ac_c_werror_flag
   20472    ac_c_werror_flag=yes
   20473    ac_cv_prog_cc_g=no
   20474    CFLAGS="-g"
   20475    cat >conftest.$ac_ext <<_ACEOF
   20476 /* confdefs.h.  */
   20477 _ACEOF
   20478 cat confdefs.h >>conftest.$ac_ext
   20479 cat >>conftest.$ac_ext <<_ACEOF
   20480 /* end confdefs.h.  */
   20481 
   20482 int
   20483 main ()
   20484 {
   20485 
   20486   ;
   20487   return 0;
   20488 }
   20489 _ACEOF
   20490 rm -f conftest.$ac_objext
   20491 if { (ac_try="$ac_compile"
   20492 case "(($ac_try" in
   20493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20494   *) ac_try_echo=$ac_try;;
   20495 esac
   20496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20497 $as_echo "$ac_try_echo") >&5
   20498   (eval "$ac_compile") 2>conftest.er1
   20499   ac_status=$?
   20500   grep -v '^ *+' conftest.er1 >conftest.err
   20501   rm -f conftest.er1
   20502   cat conftest.err >&5
   20503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20504   (exit $ac_status); } && {
   20505 	 test -z "$ac_c_werror_flag" ||
   20506 	 test ! -s conftest.err
   20507        } && test -s conftest.$ac_objext; then
   20508   ac_cv_prog_cc_g=yes
   20509 else
   20510   $as_echo "$as_me: failed program was:" >&5
   20511 sed 's/^/| /' conftest.$ac_ext >&5
   20512 
   20513 	CFLAGS=""
   20514       cat >conftest.$ac_ext <<_ACEOF
   20515 /* confdefs.h.  */
   20516 _ACEOF
   20517 cat confdefs.h >>conftest.$ac_ext
   20518 cat >>conftest.$ac_ext <<_ACEOF
   20519 /* end confdefs.h.  */
   20520 
   20521 int
   20522 main ()
   20523 {
   20524 
   20525   ;
   20526   return 0;
   20527 }
   20528 _ACEOF
   20529 rm -f conftest.$ac_objext
   20530 if { (ac_try="$ac_compile"
   20531 case "(($ac_try" in
   20532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20533   *) ac_try_echo=$ac_try;;
   20534 esac
   20535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20536 $as_echo "$ac_try_echo") >&5
   20537   (eval "$ac_compile") 2>conftest.er1
   20538   ac_status=$?
   20539   grep -v '^ *+' conftest.er1 >conftest.err
   20540   rm -f conftest.er1
   20541   cat conftest.err >&5
   20542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20543   (exit $ac_status); } && {
   20544 	 test -z "$ac_c_werror_flag" ||
   20545 	 test ! -s conftest.err
   20546        } && test -s conftest.$ac_objext; then
   20547   :
   20548 else
   20549   $as_echo "$as_me: failed program was:" >&5
   20550 sed 's/^/| /' conftest.$ac_ext >&5
   20551 
   20552 	ac_c_werror_flag=$ac_save_c_werror_flag
   20553 	 CFLAGS="-g"
   20554 	 cat >conftest.$ac_ext <<_ACEOF
   20555 /* confdefs.h.  */
   20556 _ACEOF
   20557 cat confdefs.h >>conftest.$ac_ext
   20558 cat >>conftest.$ac_ext <<_ACEOF
   20559 /* end confdefs.h.  */
   20560 
   20561 int
   20562 main ()
   20563 {
   20564 
   20565   ;
   20566   return 0;
   20567 }
   20568 _ACEOF
   20569 rm -f conftest.$ac_objext
   20570 if { (ac_try="$ac_compile"
   20571 case "(($ac_try" in
   20572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20573   *) ac_try_echo=$ac_try;;
   20574 esac
   20575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20576 $as_echo "$ac_try_echo") >&5
   20577   (eval "$ac_compile") 2>conftest.er1
   20578   ac_status=$?
   20579   grep -v '^ *+' conftest.er1 >conftest.err
   20580   rm -f conftest.er1
   20581   cat conftest.err >&5
   20582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20583   (exit $ac_status); } && {
   20584 	 test -z "$ac_c_werror_flag" ||
   20585 	 test ! -s conftest.err
   20586        } && test -s conftest.$ac_objext; then
   20587   ac_cv_prog_cc_g=yes
   20588 else
   20589   $as_echo "$as_me: failed program was:" >&5
   20590 sed 's/^/| /' conftest.$ac_ext >&5
   20591 
   20592 
   20593 fi
   20594 
   20595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20596 fi
   20597 
   20598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20599 fi
   20600 
   20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20602    ac_c_werror_flag=$ac_save_c_werror_flag
   20603 fi
   20604 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20605 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20606 if test "$ac_test_CFLAGS" = set; then
   20607   CFLAGS=$ac_save_CFLAGS
   20608 elif test $ac_cv_prog_cc_g = yes; then
   20609   if test "$GCC" = yes; then
   20610     CFLAGS="-g -O2"
   20611   else
   20612     CFLAGS="-g"
   20613   fi
   20614 else
   20615   if test "$GCC" = yes; then
   20616     CFLAGS="-O2"
   20617   else
   20618     CFLAGS=
   20619   fi
   20620 fi
   20621 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20622 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20623 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20624   $as_echo_n "(cached) " >&6
   20625 else
   20626   ac_cv_prog_cc_c89=no
   20627 ac_save_CC=$CC
   20628 cat >conftest.$ac_ext <<_ACEOF
   20629 /* confdefs.h.  */
   20630 _ACEOF
   20631 cat confdefs.h >>conftest.$ac_ext
   20632 cat >>conftest.$ac_ext <<_ACEOF
   20633 /* end confdefs.h.  */
   20634 #include <stdarg.h>
   20635 #include <stdio.h>
   20636 #include <sys/types.h>
   20637 #include <sys/stat.h>
   20638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20639 struct buf { int x; };
   20640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20641 static char *e (p, i)
   20642      char **p;
   20643      int i;
   20644 {
   20645   return p[i];
   20646 }
   20647 static char *f (char * (*g) (char **, int), char **p, ...)
   20648 {
   20649   char *s;
   20650   va_list v;
   20651   va_start (v,p);
   20652   s = g (p, va_arg (v,int));
   20653   va_end (v);
   20654   return s;
   20655 }
   20656 
   20657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20658    function prototypes and stuff, but not '\xHH' hex character constants.
   20659    These don't provoke an error unfortunately, instead are silently treated
   20660    as 'x'.  The following induces an error, until -std is added to get
   20661    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20662    array size at least.  It's necessary to write '\x00'==0 to get something
   20663    that's true only with -std.  */
   20664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20665 
   20666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20667    inside strings and character constants.  */
   20668 #define FOO(x) 'x'
   20669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20670 
   20671 int test (int i, double x);
   20672 struct s1 {int (*f) (int a);};
   20673 struct s2 {int (*f) (double a);};
   20674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20675 int argc;
   20676 char **argv;
   20677 int
   20678 main ()
   20679 {
   20680 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20681   ;
   20682   return 0;
   20683 }
   20684 _ACEOF
   20685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20686 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20687 do
   20688   CC="$ac_save_CC $ac_arg"
   20689   rm -f conftest.$ac_objext
   20690 if { (ac_try="$ac_compile"
   20691 case "(($ac_try" in
   20692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20693   *) ac_try_echo=$ac_try;;
   20694 esac
   20695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20696 $as_echo "$ac_try_echo") >&5
   20697   (eval "$ac_compile") 2>conftest.er1
   20698   ac_status=$?
   20699   grep -v '^ *+' conftest.er1 >conftest.err
   20700   rm -f conftest.er1
   20701   cat conftest.err >&5
   20702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20703   (exit $ac_status); } && {
   20704 	 test -z "$ac_c_werror_flag" ||
   20705 	 test ! -s conftest.err
   20706        } && test -s conftest.$ac_objext; then
   20707   ac_cv_prog_cc_c89=$ac_arg
   20708 else
   20709   $as_echo "$as_me: failed program was:" >&5
   20710 sed 's/^/| /' conftest.$ac_ext >&5
   20711 
   20712 
   20713 fi
   20714 
   20715 rm -f core conftest.err conftest.$ac_objext
   20716   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20717 done
   20718 rm -f conftest.$ac_ext
   20719 CC=$ac_save_CC
   20720 
   20721 fi
   20722 # AC_CACHE_VAL
   20723 case "x$ac_cv_prog_cc_c89" in
   20724   x)
   20725     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20726 $as_echo "none needed" >&6; } ;;
   20727   xno)
   20728     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20729 $as_echo "unsupported" >&6; } ;;
   20730   *)
   20731     CC="$CC $ac_cv_prog_cc_c89"
   20732     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20734 esac
   20735 
   20736 
   20737 ac_ext=c
   20738 ac_cpp='$CPP $CPPFLAGS'
   20739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20742 
   20743 depcc="$CC"   am_compiler_list=
   20744 
   20745 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20746 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20747 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20748   $as_echo_n "(cached) " >&6
   20749 else
   20750   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20751   # We make a subdir and do the tests there.  Otherwise we can end up
   20752   # making bogus files that we don't know about and never remove.  For
   20753   # instance it was reported that on HP-UX the gcc test will end up
   20754   # making a dummy file named `D' -- because `-MD' means `put the output
   20755   # in D'.
   20756   mkdir conftest.dir
   20757   # Copy depcomp to subdir because otherwise we won't find it if we're
   20758   # using a relative directory.
   20759   cp "$am_depcomp" conftest.dir
   20760   cd conftest.dir
   20761   # We will build objects and dependencies in a subdirectory because
   20762   # it helps to detect inapplicable dependency modes.  For instance
   20763   # both Tru64's cc and ICC support -MD to output dependencies as a
   20764   # side effect of compilation, but ICC will put the dependencies in
   20765   # the current directory while Tru64 will put them in the object
   20766   # directory.
   20767   mkdir sub
   20768 
   20769   am_cv_CC_dependencies_compiler_type=none
   20770   if test "$am_compiler_list" = ""; then
   20771      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20772   fi
   20773   am__universal=false
   20774   case " $depcc " in #(
   20775      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20776      esac
   20777 
   20778   for depmode in $am_compiler_list; do
   20779     # Setup a source with many dependencies, because some compilers
   20780     # like to wrap large dependency lists on column 80 (with \), and
   20781     # we should not choose a depcomp mode which is confused by this.
   20782     #
   20783     # We need to recreate these files for each test, as the compiler may
   20784     # overwrite some of them when testing with obscure command lines.
   20785     # This happens at least with the AIX C compiler.
   20786     : > sub/conftest.c
   20787     for i in 1 2 3 4 5 6; do
   20788       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20789       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20790       # Solaris 8's {/usr,}/bin/sh.
   20791       touch sub/conftst$i.h
   20792     done
   20793     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20794 
   20795     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20796     # mode.  It turns out that the SunPro C++ compiler does not properly
   20797     # handle `-M -o', and we need to detect this.  Also, some Intel
   20798     # versions had trouble with output in subdirs
   20799     am__obj=sub/conftest.${OBJEXT-o}
   20800     am__minus_obj="-o $am__obj"
   20801     case $depmode in
   20802     gcc)
   20803       # This depmode causes a compiler race in universal mode.
   20804       test "$am__universal" = false || continue
   20805       ;;
   20806     nosideeffect)
   20807       # after this tag, mechanisms are not by side-effect, so they'll
   20808       # only be used when explicitly requested
   20809       if test "x$enable_dependency_tracking" = xyes; then
   20810 	continue
   20811       else
   20812 	break
   20813       fi
   20814       ;;
   20815     msvisualcpp | msvcmsys)
   20816       # This compiler won't grok `-c -o', but also, the minuso test has
   20817       # not run yet.  These depmodes are late enough in the game, and
   20818       # so weak that their functioning should not be impacted.
   20819       am__obj=conftest.${OBJEXT-o}
   20820       am__minus_obj=
   20821       ;;
   20822     none) break ;;
   20823     esac
   20824     if depmode=$depmode \
   20825        source=sub/conftest.c object=$am__obj \
   20826        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20827        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20828          >/dev/null 2>conftest.err &&
   20829        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20830        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20831        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20832        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20833       # icc doesn't choke on unknown options, it will just issue warnings
   20834       # or remarks (even with -Werror).  So we grep stderr for any message
   20835       # that says an option was ignored or not supported.
   20836       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20837       #   icc: Command line warning: ignoring option '-M'; no argument required
   20838       # The diagnosis changed in icc 8.0:
   20839       #   icc: Command line remark: option '-MP' not supported
   20840       if (grep 'ignoring option' conftest.err ||
   20841           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20842         am_cv_CC_dependencies_compiler_type=$depmode
   20843         break
   20844       fi
   20845     fi
   20846   done
   20847 
   20848   cd ..
   20849   rm -rf conftest.dir
   20850 else
   20851   am_cv_CC_dependencies_compiler_type=none
   20852 fi
   20853 
   20854 fi
   20855 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20856 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20858 
   20859  if
   20860   test "x$enable_dependency_tracking" != xno \
   20861   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20862   am__fastdepCC_TRUE=
   20863   am__fastdepCC_FALSE='#'
   20864 else
   20865   am__fastdepCC_TRUE='#'
   20866   am__fastdepCC_FALSE=
   20867 fi
   20868 
   20869 
   20870 
   20871 
   20872 
   20873 
   20874 
   20875 # Check whether --with-xorg-module-dir was given.
   20876 if test "${with_xorg_module_dir+set}" = set; then
   20877   withval=$with_xorg_module_dir; moduledir="$withval"
   20878 else
   20879   moduledir="$libdir/xorg/modules"
   20880 fi
   20881 
   20882 
   20883 # Check whether --enable-dri was given.
   20884 if test "${enable_dri+set}" = set; then
   20885   enableval=$enable_dri; DRI="$enableval"
   20886 else
   20887   DRI=auto
   20888 fi
   20889 
   20890 
   20891 # Checks for extensions
   20892 
   20893 	SAVE_CFLAGS="$CFLAGS"
   20894 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20895 	cat >conftest.$ac_ext <<_ACEOF
   20896 /* confdefs.h.  */
   20897 _ACEOF
   20898 cat confdefs.h >>conftest.$ac_ext
   20899 cat >>conftest.$ac_ext <<_ACEOF
   20900 /* end confdefs.h.  */
   20901 
   20902 #include "xorg-server.h"
   20903 #if !defined RANDR
   20904 #error RANDR not defined
   20905 #endif
   20906 
   20907 int
   20908 main ()
   20909 {
   20910 
   20911   ;
   20912   return 0;
   20913 }
   20914 _ACEOF
   20915 rm -f conftest.$ac_objext
   20916 if { (ac_try="$ac_compile"
   20917 case "(($ac_try" in
   20918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20919   *) ac_try_echo=$ac_try;;
   20920 esac
   20921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20922 $as_echo "$ac_try_echo") >&5
   20923   (eval "$ac_compile") 2>conftest.er1
   20924   ac_status=$?
   20925   grep -v '^ *+' conftest.er1 >conftest.err
   20926   rm -f conftest.er1
   20927   cat conftest.err >&5
   20928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20929   (exit $ac_status); } && {
   20930 	 test -z "$ac_c_werror_flag" ||
   20931 	 test ! -s conftest.err
   20932        } && test -s conftest.$ac_objext; then
   20933   _EXT_CHECK=yes
   20934 else
   20935   $as_echo "$as_me: failed program was:" >&5
   20936 sed 's/^/| /' conftest.$ac_ext >&5
   20937 
   20938 	_EXT_CHECK=no
   20939 fi
   20940 
   20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20942 	CFLAGS="$SAVE_CFLAGS"
   20943 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20944 $as_echo_n "checking if RANDR is defined... " >&6; }
   20945 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20946 $as_echo "$_EXT_CHECK" >&6; }
   20947 	if test "$_EXT_CHECK" != no; then
   20948 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20949 	fi
   20950 
   20951 
   20952 	SAVE_CFLAGS="$CFLAGS"
   20953 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20954 	cat >conftest.$ac_ext <<_ACEOF
   20955 /* confdefs.h.  */
   20956 _ACEOF
   20957 cat confdefs.h >>conftest.$ac_ext
   20958 cat >>conftest.$ac_ext <<_ACEOF
   20959 /* end confdefs.h.  */
   20960 
   20961 #include "xorg-server.h"
   20962 #if !defined RENDER
   20963 #error RENDER not defined
   20964 #endif
   20965 
   20966 int
   20967 main ()
   20968 {
   20969 
   20970   ;
   20971   return 0;
   20972 }
   20973 _ACEOF
   20974 rm -f conftest.$ac_objext
   20975 if { (ac_try="$ac_compile"
   20976 case "(($ac_try" in
   20977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20978   *) ac_try_echo=$ac_try;;
   20979 esac
   20980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20981 $as_echo "$ac_try_echo") >&5
   20982   (eval "$ac_compile") 2>conftest.er1
   20983   ac_status=$?
   20984   grep -v '^ *+' conftest.er1 >conftest.err
   20985   rm -f conftest.er1
   20986   cat conftest.err >&5
   20987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20988   (exit $ac_status); } && {
   20989 	 test -z "$ac_c_werror_flag" ||
   20990 	 test ! -s conftest.err
   20991        } && test -s conftest.$ac_objext; then
   20992   _EXT_CHECK=yes
   20993 else
   20994   $as_echo "$as_me: failed program was:" >&5
   20995 sed 's/^/| /' conftest.$ac_ext >&5
   20996 
   20997 	_EXT_CHECK=no
   20998 fi
   20999 
   21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21001 	CFLAGS="$SAVE_CFLAGS"
   21002 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   21003 $as_echo_n "checking if RENDER is defined... " >&6; }
   21004 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21005 $as_echo "$_EXT_CHECK" >&6; }
   21006 	if test "$_EXT_CHECK" != no; then
   21007 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   21008 	fi
   21009 
   21010 
   21011 	SAVE_CFLAGS="$CFLAGS"
   21012 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21013 	cat >conftest.$ac_ext <<_ACEOF
   21014 /* confdefs.h.  */
   21015 _ACEOF
   21016 cat confdefs.h >>conftest.$ac_ext
   21017 cat >>conftest.$ac_ext <<_ACEOF
   21018 /* end confdefs.h.  */
   21019 
   21020 #include "xorg-server.h"
   21021 #if !defined XV
   21022 #error XV not defined
   21023 #endif
   21024 
   21025 int
   21026 main ()
   21027 {
   21028 
   21029   ;
   21030   return 0;
   21031 }
   21032 _ACEOF
   21033 rm -f conftest.$ac_objext
   21034 if { (ac_try="$ac_compile"
   21035 case "(($ac_try" in
   21036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21037   *) ac_try_echo=$ac_try;;
   21038 esac
   21039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21040 $as_echo "$ac_try_echo") >&5
   21041   (eval "$ac_compile") 2>conftest.er1
   21042   ac_status=$?
   21043   grep -v '^ *+' conftest.er1 >conftest.err
   21044   rm -f conftest.er1
   21045   cat conftest.err >&5
   21046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21047   (exit $ac_status); } && {
   21048 	 test -z "$ac_c_werror_flag" ||
   21049 	 test ! -s conftest.err
   21050        } && test -s conftest.$ac_objext; then
   21051   _EXT_CHECK=yes
   21052 else
   21053   $as_echo "$as_me: failed program was:" >&5
   21054 sed 's/^/| /' conftest.$ac_ext >&5
   21055 
   21056 	_EXT_CHECK=no
   21057 fi
   21058 
   21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21060 	CFLAGS="$SAVE_CFLAGS"
   21061 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21062 $as_echo_n "checking if XV is defined... " >&6; }
   21063 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21064 $as_echo "$_EXT_CHECK" >&6; }
   21065 	if test "$_EXT_CHECK" != no; then
   21066 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21067 	fi
   21068 
   21069 
   21070 	SAVE_CFLAGS="$CFLAGS"
   21071 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21072 	cat >conftest.$ac_ext <<_ACEOF
   21073 /* confdefs.h.  */
   21074 _ACEOF
   21075 cat confdefs.h >>conftest.$ac_ext
   21076 cat >>conftest.$ac_ext <<_ACEOF
   21077 /* end confdefs.h.  */
   21078 
   21079 #include "xorg-server.h"
   21080 #if !defined DPMSExtension
   21081 #error DPMSExtension not defined
   21082 #endif
   21083 
   21084 int
   21085 main ()
   21086 {
   21087 
   21088   ;
   21089   return 0;
   21090 }
   21091 _ACEOF
   21092 rm -f conftest.$ac_objext
   21093 if { (ac_try="$ac_compile"
   21094 case "(($ac_try" in
   21095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21096   *) ac_try_echo=$ac_try;;
   21097 esac
   21098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21099 $as_echo "$ac_try_echo") >&5
   21100   (eval "$ac_compile") 2>conftest.er1
   21101   ac_status=$?
   21102   grep -v '^ *+' conftest.er1 >conftest.err
   21103   rm -f conftest.er1
   21104   cat conftest.err >&5
   21105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21106   (exit $ac_status); } && {
   21107 	 test -z "$ac_c_werror_flag" ||
   21108 	 test ! -s conftest.err
   21109        } && test -s conftest.$ac_objext; then
   21110   _EXT_CHECK=yes
   21111 else
   21112   $as_echo "$as_me: failed program was:" >&5
   21113 sed 's/^/| /' conftest.$ac_ext >&5
   21114 
   21115 	_EXT_CHECK=no
   21116 fi
   21117 
   21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21119 	CFLAGS="$SAVE_CFLAGS"
   21120 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21121 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21122 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21123 $as_echo "$_EXT_CHECK" >&6; }
   21124 	if test "$_EXT_CHECK" != no; then
   21125 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21126 	fi
   21127 
   21128 
   21129 # Checks for pkg-config packages
   21130 
   21131 
   21132 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21133 	if test -n "$ac_tool_prefix"; then
   21134   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21137 $as_echo_n "checking for $ac_word... " >&6; }
   21138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21139   $as_echo_n "(cached) " >&6
   21140 else
   21141   case $PKG_CONFIG in
   21142   [\\/]* | ?:[\\/]*)
   21143   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21144   ;;
   21145   *)
   21146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21147 for as_dir in $PATH
   21148 do
   21149   IFS=$as_save_IFS
   21150   test -z "$as_dir" && as_dir=.
   21151   for ac_exec_ext in '' $ac_executable_extensions; do
   21152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21153     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21154     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21155     break 2
   21156   fi
   21157 done
   21158 done
   21159 IFS=$as_save_IFS
   21160 
   21161   ;;
   21162 esac
   21163 fi
   21164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21165 if test -n "$PKG_CONFIG"; then
   21166   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21167 $as_echo "$PKG_CONFIG" >&6; }
   21168 else
   21169   { $as_echo "$as_me:$LINENO: result: no" >&5
   21170 $as_echo "no" >&6; }
   21171 fi
   21172 
   21173 
   21174 fi
   21175 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21176   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21177   # Extract the first word of "pkg-config", so it can be a program name with args.
   21178 set dummy pkg-config; ac_word=$2
   21179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21180 $as_echo_n "checking for $ac_word... " >&6; }
   21181 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21182   $as_echo_n "(cached) " >&6
   21183 else
   21184   case $ac_pt_PKG_CONFIG in
   21185   [\\/]* | ?:[\\/]*)
   21186   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21187   ;;
   21188   *)
   21189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21190 for as_dir in $PATH
   21191 do
   21192   IFS=$as_save_IFS
   21193   test -z "$as_dir" && as_dir=.
   21194   for ac_exec_ext in '' $ac_executable_extensions; do
   21195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21196     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21197     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21198     break 2
   21199   fi
   21200 done
   21201 done
   21202 IFS=$as_save_IFS
   21203 
   21204   ;;
   21205 esac
   21206 fi
   21207 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21208 if test -n "$ac_pt_PKG_CONFIG"; then
   21209   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21210 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21211 else
   21212   { $as_echo "$as_me:$LINENO: result: no" >&5
   21213 $as_echo "no" >&6; }
   21214 fi
   21215 
   21216   if test "x$ac_pt_PKG_CONFIG" = x; then
   21217     PKG_CONFIG=""
   21218   else
   21219     case $cross_compiling:$ac_tool_warned in
   21220 yes:)
   21221 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21223 ac_tool_warned=yes ;;
   21224 esac
   21225     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21226   fi
   21227 else
   21228   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21229 fi
   21230 
   21231 fi
   21232 if test -n "$PKG_CONFIG"; then
   21233 	_pkg_min_version=0.9.0
   21234 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21235 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21236 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21237 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21238 $as_echo "yes" >&6; }
   21239 	else
   21240 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21241 $as_echo "no" >&6; }
   21242 		PKG_CONFIG=""
   21243 	fi
   21244 
   21245 fi
   21246 
   21247 pkg_failed=no
   21248 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21249 $as_echo_n "checking for XORG... " >&6; }
   21250 
   21251 if test -n "$XORG_CFLAGS"; then
   21252     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21253  elif test -n "$PKG_CONFIG"; then
   21254     if test -n "$PKG_CONFIG" && \
   21255     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21256   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21257   ac_status=$?
   21258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21259   (exit $ac_status); }; then
   21260   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21261 else
   21262   pkg_failed=yes
   21263 fi
   21264  else
   21265     pkg_failed=untried
   21266 fi
   21267 if test -n "$XORG_LIBS"; then
   21268     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21269  elif test -n "$PKG_CONFIG"; then
   21270     if test -n "$PKG_CONFIG" && \
   21271     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21272   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21273   ac_status=$?
   21274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21275   (exit $ac_status); }; then
   21276   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21277 else
   21278   pkg_failed=yes
   21279 fi
   21280  else
   21281     pkg_failed=untried
   21282 fi
   21283 
   21284 
   21285 
   21286 if test $pkg_failed = yes; then
   21287 
   21288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21289         _pkg_short_errors_supported=yes
   21290 else
   21291         _pkg_short_errors_supported=no
   21292 fi
   21293         if test $_pkg_short_errors_supported = yes; then
   21294 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21295         else
   21296 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21297         fi
   21298 	# Put the nasty error message in config.log where it belongs
   21299 	echo "$XORG_PKG_ERRORS" >&5
   21300 
   21301 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   21302 
   21303 $XORG_PKG_ERRORS
   21304 
   21305 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21306 installed software in a non-standard prefix.
   21307 
   21308 Alternatively, you may set the environment variables XORG_CFLAGS
   21309 and XORG_LIBS to avoid the need to call pkg-config.
   21310 See the pkg-config man page for more details.
   21311 " >&5
   21312 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   21313 
   21314 $XORG_PKG_ERRORS
   21315 
   21316 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21317 installed software in a non-standard prefix.
   21318 
   21319 Alternatively, you may set the environment variables XORG_CFLAGS
   21320 and XORG_LIBS to avoid the need to call pkg-config.
   21321 See the pkg-config man page for more details.
   21322 " >&2;}
   21323    { (exit 1); exit 1; }; }
   21324 elif test $pkg_failed = untried; then
   21325 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21327 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21328 is in your PATH or set the PKG_CONFIG environment variable to the full
   21329 path to pkg-config.
   21330 
   21331 Alternatively, you may set the environment variables XORG_CFLAGS
   21332 and XORG_LIBS to avoid the need to call pkg-config.
   21333 See the pkg-config man page for more details.
   21334 
   21335 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21336 See \`config.log' for more details." >&5
   21337 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21338 is in your PATH or set the PKG_CONFIG environment variable to the full
   21339 path to pkg-config.
   21340 
   21341 Alternatively, you may set the environment variables XORG_CFLAGS
   21342 and XORG_LIBS to avoid the need to call pkg-config.
   21343 See the pkg-config man page for more details.
   21344 
   21345 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21346 See \`config.log' for more details." >&2;}
   21347    { (exit 1); exit 1; }; }; }
   21348 else
   21349 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21350 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21351         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21352 $as_echo "yes" >&6; }
   21353 	:
   21354 fi
   21355 
   21356 pkg_failed=no
   21357 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21358 $as_echo_n "checking for XEXT... " >&6; }
   21359 
   21360 if test -n "$XEXT_CFLAGS"; then
   21361     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21362  elif test -n "$PKG_CONFIG"; then
   21363     if test -n "$PKG_CONFIG" && \
   21364     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21365   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21366   ac_status=$?
   21367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21368   (exit $ac_status); }; then
   21369   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21370 else
   21371   pkg_failed=yes
   21372 fi
   21373  else
   21374     pkg_failed=untried
   21375 fi
   21376 if test -n "$XEXT_LIBS"; then
   21377     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21378  elif test -n "$PKG_CONFIG"; then
   21379     if test -n "$PKG_CONFIG" && \
   21380     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21381   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21382   ac_status=$?
   21383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21384   (exit $ac_status); }; then
   21385   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21386 else
   21387   pkg_failed=yes
   21388 fi
   21389  else
   21390     pkg_failed=untried
   21391 fi
   21392 
   21393 
   21394 
   21395 if test $pkg_failed = yes; then
   21396 
   21397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21398         _pkg_short_errors_supported=yes
   21399 else
   21400         _pkg_short_errors_supported=no
   21401 fi
   21402         if test $_pkg_short_errors_supported = yes; then
   21403 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21404         else
   21405 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21406         fi
   21407 	# Put the nasty error message in config.log where it belongs
   21408 	echo "$XEXT_PKG_ERRORS" >&5
   21409 
   21410 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21411 $as_echo "no" >&6; }
   21412                 HAVE_XEXTPROTO_71="no"
   21413 elif test $pkg_failed = untried; then
   21414 	HAVE_XEXTPROTO_71="no"
   21415 else
   21416 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21417 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21418         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21419 $as_echo "yes" >&6; }
   21420 	HAVE_XEXTPROTO_71="yes";
   21421 cat >>confdefs.h <<\_ACEOF
   21422 #define HAVE_XEXTPROTO_71 1
   21423 _ACEOF
   21424 
   21425 fi
   21426  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21427   HAVE_XEXTPROTO_71_TRUE=
   21428   HAVE_XEXTPROTO_71_FALSE='#'
   21429 else
   21430   HAVE_XEXTPROTO_71_TRUE='#'
   21431   HAVE_XEXTPROTO_71_FALSE=
   21432 fi
   21433 
   21434 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21435 
   21436 # Checks for libraries.
   21437 
   21438 # Checks for header files.
   21439 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21440 $as_echo_n "checking for ANSI C header files... " >&6; }
   21441 if test "${ac_cv_header_stdc+set}" = set; then
   21442   $as_echo_n "(cached) " >&6
   21443 else
   21444   cat >conftest.$ac_ext <<_ACEOF
   21445 /* confdefs.h.  */
   21446 _ACEOF
   21447 cat confdefs.h >>conftest.$ac_ext
   21448 cat >>conftest.$ac_ext <<_ACEOF
   21449 /* end confdefs.h.  */
   21450 #include <stdlib.h>
   21451 #include <stdarg.h>
   21452 #include <string.h>
   21453 #include <float.h>
   21454 
   21455 int
   21456 main ()
   21457 {
   21458 
   21459   ;
   21460   return 0;
   21461 }
   21462 _ACEOF
   21463 rm -f conftest.$ac_objext
   21464 if { (ac_try="$ac_compile"
   21465 case "(($ac_try" in
   21466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21467   *) ac_try_echo=$ac_try;;
   21468 esac
   21469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21470 $as_echo "$ac_try_echo") >&5
   21471   (eval "$ac_compile") 2>conftest.er1
   21472   ac_status=$?
   21473   grep -v '^ *+' conftest.er1 >conftest.err
   21474   rm -f conftest.er1
   21475   cat conftest.err >&5
   21476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21477   (exit $ac_status); } && {
   21478 	 test -z "$ac_c_werror_flag" ||
   21479 	 test ! -s conftest.err
   21480        } && test -s conftest.$ac_objext; then
   21481   ac_cv_header_stdc=yes
   21482 else
   21483   $as_echo "$as_me: failed program was:" >&5
   21484 sed 's/^/| /' conftest.$ac_ext >&5
   21485 
   21486 	ac_cv_header_stdc=no
   21487 fi
   21488 
   21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21490 
   21491 if test $ac_cv_header_stdc = yes; then
   21492   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21493   cat >conftest.$ac_ext <<_ACEOF
   21494 /* confdefs.h.  */
   21495 _ACEOF
   21496 cat confdefs.h >>conftest.$ac_ext
   21497 cat >>conftest.$ac_ext <<_ACEOF
   21498 /* end confdefs.h.  */
   21499 #include <string.h>
   21500 
   21501 _ACEOF
   21502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21503   $EGREP "memchr" >/dev/null 2>&1; then
   21504   :
   21505 else
   21506   ac_cv_header_stdc=no
   21507 fi
   21508 rm -f conftest*
   21509 
   21510 fi
   21511 
   21512 if test $ac_cv_header_stdc = yes; then
   21513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21514   cat >conftest.$ac_ext <<_ACEOF
   21515 /* confdefs.h.  */
   21516 _ACEOF
   21517 cat confdefs.h >>conftest.$ac_ext
   21518 cat >>conftest.$ac_ext <<_ACEOF
   21519 /* end confdefs.h.  */
   21520 #include <stdlib.h>
   21521 
   21522 _ACEOF
   21523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21524   $EGREP "free" >/dev/null 2>&1; then
   21525   :
   21526 else
   21527   ac_cv_header_stdc=no
   21528 fi
   21529 rm -f conftest*
   21530 
   21531 fi
   21532 
   21533 if test $ac_cv_header_stdc = yes; then
   21534   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21535   if test "$cross_compiling" = yes; then
   21536   :
   21537 else
   21538   cat >conftest.$ac_ext <<_ACEOF
   21539 /* confdefs.h.  */
   21540 _ACEOF
   21541 cat confdefs.h >>conftest.$ac_ext
   21542 cat >>conftest.$ac_ext <<_ACEOF
   21543 /* end confdefs.h.  */
   21544 #include <ctype.h>
   21545 #include <stdlib.h>
   21546 #if ((' ' & 0x0FF) == 0x020)
   21547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21549 #else
   21550 # define ISLOWER(c) \
   21551 		   (('a' <= (c) && (c) <= 'i') \
   21552 		     || ('j' <= (c) && (c) <= 'r') \
   21553 		     || ('s' <= (c) && (c) <= 'z'))
   21554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21555 #endif
   21556 
   21557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21558 int
   21559 main ()
   21560 {
   21561   int i;
   21562   for (i = 0; i < 256; i++)
   21563     if (XOR (islower (i), ISLOWER (i))
   21564 	|| toupper (i) != TOUPPER (i))
   21565       return 2;
   21566   return 0;
   21567 }
   21568 _ACEOF
   21569 rm -f conftest$ac_exeext
   21570 if { (ac_try="$ac_link"
   21571 case "(($ac_try" in
   21572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21573   *) ac_try_echo=$ac_try;;
   21574 esac
   21575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21576 $as_echo "$ac_try_echo") >&5
   21577   (eval "$ac_link") 2>&5
   21578   ac_status=$?
   21579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21580   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21581   { (case "(($ac_try" in
   21582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21583   *) ac_try_echo=$ac_try;;
   21584 esac
   21585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21586 $as_echo "$ac_try_echo") >&5
   21587   (eval "$ac_try") 2>&5
   21588   ac_status=$?
   21589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21590   (exit $ac_status); }; }; then
   21591   :
   21592 else
   21593   $as_echo "$as_me: program exited with status $ac_status" >&5
   21594 $as_echo "$as_me: failed program was:" >&5
   21595 sed 's/^/| /' conftest.$ac_ext >&5
   21596 
   21597 ( exit $ac_status )
   21598 ac_cv_header_stdc=no
   21599 fi
   21600 rm -rf conftest.dSYM
   21601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21602 fi
   21603 
   21604 
   21605 fi
   21606 fi
   21607 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21608 $as_echo "$ac_cv_header_stdc" >&6; }
   21609 if test $ac_cv_header_stdc = yes; then
   21610 
   21611 cat >>confdefs.h <<\_ACEOF
   21612 #define STDC_HEADERS 1
   21613 _ACEOF
   21614 
   21615 fi
   21616 
   21617 
   21618 if test "$DRI" != no; then
   21619         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   21620 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
   21621 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   21622 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21623   $as_echo_n "(cached) " >&6
   21624 else
   21625   test "$cross_compiling" = yes &&
   21626   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21627 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21628    { (exit 1); exit 1; }; }
   21629 if test -r "${sdkdir}/dri.h"; then
   21630   eval "$as_ac_File=yes"
   21631 else
   21632   eval "$as_ac_File=no"
   21633 fi
   21634 fi
   21635 ac_res=`eval 'as_val=${'$as_ac_File'}
   21636 		 $as_echo "$as_val"'`
   21637 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21638 $as_echo "$ac_res" >&6; }
   21639 as_val=`eval 'as_val=${'$as_ac_File'}
   21640 		 $as_echo "$as_val"'`
   21641    if test "x$as_val" = x""yes; then
   21642   have_dri_h="yes"
   21643 else
   21644   have_dri_h="no"
   21645 fi
   21646 
   21647         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   21648 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/sarea.h" >&5
   21649 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   21650 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21651   $as_echo_n "(cached) " >&6
   21652 else
   21653   test "$cross_compiling" = yes &&
   21654   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21655 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21656    { (exit 1); exit 1; }; }
   21657 if test -r "${sdkdir}/sarea.h"; then
   21658   eval "$as_ac_File=yes"
   21659 else
   21660   eval "$as_ac_File=no"
   21661 fi
   21662 fi
   21663 ac_res=`eval 'as_val=${'$as_ac_File'}
   21664 		 $as_echo "$as_val"'`
   21665 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21666 $as_echo "$ac_res" >&6; }
   21667 as_val=`eval 'as_val=${'$as_ac_File'}
   21668 		 $as_echo "$as_val"'`
   21669    if test "x$as_val" = x""yes; then
   21670   have_sarea_h="yes"
   21671 else
   21672   have_sarea_h="no"
   21673 fi
   21674 
   21675         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   21676 { $as_echo "$as_me:$LINENO: checking for ${sdkdir}/dristruct.h" >&5
   21677 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   21678 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   21679   $as_echo_n "(cached) " >&6
   21680 else
   21681   test "$cross_compiling" = yes &&
   21682   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   21683 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   21684    { (exit 1); exit 1; }; }
   21685 if test -r "${sdkdir}/dristruct.h"; then
   21686   eval "$as_ac_File=yes"
   21687 else
   21688   eval "$as_ac_File=no"
   21689 fi
   21690 fi
   21691 ac_res=`eval 'as_val=${'$as_ac_File'}
   21692 		 $as_echo "$as_val"'`
   21693 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21694 $as_echo "$ac_res" >&6; }
   21695 as_val=`eval 'as_val=${'$as_ac_File'}
   21696 		 $as_echo "$as_val"'`
   21697    if test "x$as_val" = x""yes; then
   21698   have_dristruct_h="yes"
   21699 else
   21700   have_dristruct_h="no"
   21701 fi
   21702 
   21703 fi
   21704 
   21705 { $as_echo "$as_me:$LINENO: checking whether to include DRI support" >&5
   21706 $as_echo_n "checking whether to include DRI support... " >&6; }
   21707 if test x$DRI = xauto; then
   21708         if test "$have_dri_h" = yes -a \
   21709                 "$have_sarea_h" = yes -a \
   21710                 "$have_dristruct_h" = yes; then
   21711                 DRI="yes"
   21712         else
   21713                 DRI="no"
   21714         fi
   21715 fi
   21716 { $as_echo "$as_me:$LINENO: result: $DRI" >&5
   21717 $as_echo "$DRI" >&6; }
   21718 
   21719  if test x$DRI = xyes; then
   21720   DRI_TRUE=
   21721   DRI_FALSE='#'
   21722 else
   21723   DRI_TRUE='#'
   21724   DRI_FALSE=
   21725 fi
   21726 
   21727 if test "$DRI" = yes; then
   21728 
   21729 pkg_failed=no
   21730 { $as_echo "$as_me:$LINENO: checking for DRI" >&5
   21731 $as_echo_n "checking for DRI... " >&6; }
   21732 
   21733 if test -n "$DRI_CFLAGS"; then
   21734     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   21735  elif test -n "$PKG_CONFIG"; then
   21736     if test -n "$PKG_CONFIG" && \
   21737     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   21738   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   21739   ac_status=$?
   21740   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21741   (exit $ac_status); }; then
   21742   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   21743 else
   21744   pkg_failed=yes
   21745 fi
   21746  else
   21747     pkg_failed=untried
   21748 fi
   21749 if test -n "$DRI_LIBS"; then
   21750     pkg_cv_DRI_LIBS="$DRI_LIBS"
   21751  elif test -n "$PKG_CONFIG"; then
   21752     if test -n "$PKG_CONFIG" && \
   21753     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\"") >&5
   21754   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   21755   ac_status=$?
   21756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21757   (exit $ac_status); }; then
   21758   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   21759 else
   21760   pkg_failed=yes
   21761 fi
   21762  else
   21763     pkg_failed=untried
   21764 fi
   21765 
   21766 
   21767 
   21768 if test $pkg_failed = yes; then
   21769 
   21770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21771         _pkg_short_errors_supported=yes
   21772 else
   21773         _pkg_short_errors_supported=no
   21774 fi
   21775         if test $_pkg_short_errors_supported = yes; then
   21776 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   21777         else
   21778 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   21779         fi
   21780 	# Put the nasty error message in config.log where it belongs
   21781 	echo "$DRI_PKG_ERRORS" >&5
   21782 
   21783 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   21784 
   21785 $DRI_PKG_ERRORS
   21786 
   21787 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21788 installed software in a non-standard prefix.
   21789 
   21790 Alternatively, you may set the environment variables DRI_CFLAGS
   21791 and DRI_LIBS to avoid the need to call pkg-config.
   21792 See the pkg-config man page for more details.
   21793 " >&5
   21794 $as_echo "$as_me: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   21795 
   21796 $DRI_PKG_ERRORS
   21797 
   21798 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21799 installed software in a non-standard prefix.
   21800 
   21801 Alternatively, you may set the environment variables DRI_CFLAGS
   21802 and DRI_LIBS to avoid the need to call pkg-config.
   21803 See the pkg-config man page for more details.
   21804 " >&2;}
   21805    { (exit 1); exit 1; }; }
   21806 elif test $pkg_failed = untried; then
   21807 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21809 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21810 is in your PATH or set the PKG_CONFIG environment variable to the full
   21811 path to pkg-config.
   21812 
   21813 Alternatively, you may set the environment variables DRI_CFLAGS
   21814 and DRI_LIBS to avoid the need to call pkg-config.
   21815 See the pkg-config man page for more details.
   21816 
   21817 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21818 See \`config.log' for more details." >&5
   21819 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21820 is in your PATH or set the PKG_CONFIG environment variable to the full
   21821 path to pkg-config.
   21822 
   21823 Alternatively, you may set the environment variables DRI_CFLAGS
   21824 and DRI_LIBS to avoid the need to call pkg-config.
   21825 See the pkg-config man page for more details.
   21826 
   21827 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21828 See \`config.log' for more details." >&2;}
   21829    { (exit 1); exit 1; }; }; }
   21830 else
   21831 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   21832 	DRI_LIBS=$pkg_cv_DRI_LIBS
   21833         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21834 $as_echo "yes" >&6; }
   21835 	:
   21836 fi
   21837 
   21838 cat >>confdefs.h <<\_ACEOF
   21839 #define XF86DRI 1
   21840 _ACEOF
   21841 
   21842 
   21843 cat >>confdefs.h <<\_ACEOF
   21844 #define XF86DRI_DEVEL 1
   21845 _ACEOF
   21846 
   21847 fi
   21848 
   21849 save_CFLAGS="$CFLAGS"
   21850 CFLAGS="$XORG_CFLAGS"
   21851 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21852 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21853 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21854   $as_echo_n "(cached) " >&6
   21855 else
   21856   cat >conftest.$ac_ext <<_ACEOF
   21857 /* confdefs.h.  */
   21858 _ACEOF
   21859 cat confdefs.h >>conftest.$ac_ext
   21860 cat >>conftest.$ac_ext <<_ACEOF
   21861 /* end confdefs.h.  */
   21862 #include "xorg-server.h"
   21863 
   21864 int
   21865 main ()
   21866 {
   21867 #ifndef XSERVER_LIBPCIACCESS
   21868   (void) XSERVER_LIBPCIACCESS;
   21869 #endif
   21870 
   21871   ;
   21872   return 0;
   21873 }
   21874 _ACEOF
   21875 rm -f conftest.$ac_objext
   21876 if { (ac_try="$ac_compile"
   21877 case "(($ac_try" in
   21878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21879   *) ac_try_echo=$ac_try;;
   21880 esac
   21881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21882 $as_echo "$ac_try_echo") >&5
   21883   (eval "$ac_compile") 2>conftest.er1
   21884   ac_status=$?
   21885   grep -v '^ *+' conftest.er1 >conftest.err
   21886   rm -f conftest.er1
   21887   cat conftest.err >&5
   21888   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21889   (exit $ac_status); } && {
   21890 	 test -z "$ac_c_werror_flag" ||
   21891 	 test ! -s conftest.err
   21892        } && test -s conftest.$ac_objext; then
   21893   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21894 else
   21895   $as_echo "$as_me: failed program was:" >&5
   21896 sed 's/^/| /' conftest.$ac_ext >&5
   21897 
   21898 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21899 fi
   21900 
   21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21902 fi
   21903 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21904 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21905 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21906   XSERVER_LIBPCIACCESS=yes
   21907 else
   21908   XSERVER_LIBPCIACCESS=no
   21909 fi
   21910 
   21911 { $as_echo "$as_me:$LINENO: checking whether xf86XVFillKeyHelperDrawable is declared" >&5
   21912 $as_echo_n "checking whether xf86XVFillKeyHelperDrawable is declared... " >&6; }
   21913 if test "${ac_cv_have_decl_xf86XVFillKeyHelperDrawable+set}" = set; then
   21914   $as_echo_n "(cached) " >&6
   21915 else
   21916   cat >conftest.$ac_ext <<_ACEOF
   21917 /* confdefs.h.  */
   21918 _ACEOF
   21919 cat confdefs.h >>conftest.$ac_ext
   21920 cat >>conftest.$ac_ext <<_ACEOF
   21921 /* end confdefs.h.  */
   21922 #include "xf86xv.h"
   21923 
   21924 int
   21925 main ()
   21926 {
   21927 #ifndef xf86XVFillKeyHelperDrawable
   21928   (void) xf86XVFillKeyHelperDrawable;
   21929 #endif
   21930 
   21931   ;
   21932   return 0;
   21933 }
   21934 _ACEOF
   21935 rm -f conftest.$ac_objext
   21936 if { (ac_try="$ac_compile"
   21937 case "(($ac_try" in
   21938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21939   *) ac_try_echo=$ac_try;;
   21940 esac
   21941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21942 $as_echo "$ac_try_echo") >&5
   21943   (eval "$ac_compile") 2>conftest.er1
   21944   ac_status=$?
   21945   grep -v '^ *+' conftest.er1 >conftest.err
   21946   rm -f conftest.er1
   21947   cat conftest.err >&5
   21948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21949   (exit $ac_status); } && {
   21950 	 test -z "$ac_c_werror_flag" ||
   21951 	 test ! -s conftest.err
   21952        } && test -s conftest.$ac_objext; then
   21953   ac_cv_have_decl_xf86XVFillKeyHelperDrawable=yes
   21954 else
   21955   $as_echo "$as_me: failed program was:" >&5
   21956 sed 's/^/| /' conftest.$ac_ext >&5
   21957 
   21958 	ac_cv_have_decl_xf86XVFillKeyHelperDrawable=no
   21959 fi
   21960 
   21961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21962 fi
   21963 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&5
   21964 $as_echo "$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" >&6; }
   21965 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = x""yes; then
   21966 
   21967 cat >>confdefs.h <<\_ACEOF
   21968 #define HAVE_XV_DRAWABLE_HELPER 1
   21969 _ACEOF
   21970 
   21971 fi
   21972 
   21973 CFLAGS="$save_CFLAGS"
   21974 
   21975 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21976 
   21977 pkg_failed=no
   21978 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21979 $as_echo_n "checking for PCIACCESS... " >&6; }
   21980 
   21981 if test -n "$PCIACCESS_CFLAGS"; then
   21982     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21983  elif test -n "$PKG_CONFIG"; then
   21984     if test -n "$PKG_CONFIG" && \
   21985     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   21986   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   21987   ac_status=$?
   21988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21989   (exit $ac_status); }; then
   21990   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   21991 else
   21992   pkg_failed=yes
   21993 fi
   21994  else
   21995     pkg_failed=untried
   21996 fi
   21997 if test -n "$PCIACCESS_LIBS"; then
   21998     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21999  elif test -n "$PKG_CONFIG"; then
   22000     if test -n "$PKG_CONFIG" && \
   22001     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   22002   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   22003   ac_status=$?
   22004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22005   (exit $ac_status); }; then
   22006   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   22007 else
   22008   pkg_failed=yes
   22009 fi
   22010  else
   22011     pkg_failed=untried
   22012 fi
   22013 
   22014 
   22015 
   22016 if test $pkg_failed = yes; then
   22017 
   22018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22019         _pkg_short_errors_supported=yes
   22020 else
   22021         _pkg_short_errors_supported=no
   22022 fi
   22023         if test $_pkg_short_errors_supported = yes; then
   22024 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   22025         else
   22026 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   22027         fi
   22028 	# Put the nasty error message in config.log where it belongs
   22029 	echo "$PCIACCESS_PKG_ERRORS" >&5
   22030 
   22031 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   22032 
   22033 $PCIACCESS_PKG_ERRORS
   22034 
   22035 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22036 installed software in a non-standard prefix.
   22037 
   22038 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22039 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22040 See the pkg-config man page for more details.
   22041 " >&5
   22042 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   22043 
   22044 $PCIACCESS_PKG_ERRORS
   22045 
   22046 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22047 installed software in a non-standard prefix.
   22048 
   22049 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22050 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22051 See the pkg-config man page for more details.
   22052 " >&2;}
   22053    { (exit 1); exit 1; }; }
   22054 elif test $pkg_failed = untried; then
   22055 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   22056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22057 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22058 is in your PATH or set the PKG_CONFIG environment variable to the full
   22059 path to pkg-config.
   22060 
   22061 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22062 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22063 See the pkg-config man page for more details.
   22064 
   22065 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22066 See \`config.log' for more details." >&5
   22067 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22068 is in your PATH or set the PKG_CONFIG environment variable to the full
   22069 path to pkg-config.
   22070 
   22071 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22072 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22073 See the pkg-config man page for more details.
   22074 
   22075 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22076 See \`config.log' for more details." >&2;}
   22077    { (exit 1); exit 1; }; }; }
   22078 else
   22079 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   22080 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   22081         { $as_echo "$as_me:$LINENO: result: yes" >&5
   22082 $as_echo "yes" >&6; }
   22083 	:
   22084 fi
   22085 fi
   22086  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   22087   XSERVER_LIBPCIACCESS_TRUE=
   22088   XSERVER_LIBPCIACCESS_FALSE='#'
   22089 else
   22090   XSERVER_LIBPCIACCESS_TRUE='#'
   22091   XSERVER_LIBPCIACCESS_FALSE=
   22092 fi
   22093 
   22094 
   22095 
   22096 
   22097 
   22098 
   22099 DRIVER_NAME=savage
   22100 
   22101 
   22102 
   22103 
   22104 
   22105 if test x$APP_MAN_SUFFIX = x    ; then
   22106     APP_MAN_SUFFIX=1
   22107 fi
   22108 if test x$APP_MAN_DIR = x    ; then
   22109     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   22110 fi
   22111 
   22112 if test x$LIB_MAN_SUFFIX = x    ; then
   22113     LIB_MAN_SUFFIX=3
   22114 fi
   22115 if test x$LIB_MAN_DIR = x    ; then
   22116     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   22117 fi
   22118 
   22119 if test x$FILE_MAN_SUFFIX = x    ; then
   22120     case $host_os in
   22121 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   22122 	*)		FILE_MAN_SUFFIX=5  ;;
   22123     esac
   22124 fi
   22125 if test x$FILE_MAN_DIR = x    ; then
   22126     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   22127 fi
   22128 
   22129 if test x$MISC_MAN_SUFFIX = x    ; then
   22130     case $host_os in
   22131 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   22132 	*)		MISC_MAN_SUFFIX=7  ;;
   22133     esac
   22134 fi
   22135 if test x$MISC_MAN_DIR = x    ; then
   22136     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   22137 fi
   22138 
   22139 if test x$DRIVER_MAN_SUFFIX = x    ; then
   22140     case $host_os in
   22141 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   22142 	*)		DRIVER_MAN_SUFFIX=4  ;;
   22143     esac
   22144 fi
   22145 if test x$DRIVER_MAN_DIR = x    ; then
   22146     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   22147 fi
   22148 
   22149 if test x$ADMIN_MAN_SUFFIX = x    ; then
   22150     case $host_os in
   22151 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   22152 	*)		ADMIN_MAN_SUFFIX=8  ;;
   22153     esac
   22154 fi
   22155 if test x$ADMIN_MAN_DIR = x    ; then
   22156     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   22157 fi
   22158 
   22159 
   22160 
   22161 
   22162 
   22163 
   22164 
   22165 
   22166 
   22167 
   22168 
   22169 
   22170 
   22171 
   22172 
   22173 
   22174 
   22175 # Check whether --with-release-version was given.
   22176 if test "${with_release_version+set}" = set; then
   22177   withval=$with_release_version; RELEASE_VERSION="$withval"
   22178 else
   22179   RELEASE_VERSION=""
   22180 fi
   22181 
   22182 	if test "x$RELEASE_VERSION" != "x"; then
   22183 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   22184 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   22185 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   22186 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   22187 	fi
   22188 
   22189 cat >>confdefs.h <<_ACEOF
   22190 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   22191 _ACEOF
   22192 
   22193 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   22194 	if test "x$PVM" = "x"; then
   22195 		PVM="0"
   22196 	fi
   22197 
   22198 cat >>confdefs.h <<_ACEOF
   22199 #define PACKAGE_VERSION_MINOR $PVM
   22200 _ACEOF
   22201 
   22202 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   22203 	if test "x$PVP" = "x"; then
   22204 		PVP="0"
   22205 	fi
   22206 
   22207 cat >>confdefs.h <<_ACEOF
   22208 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   22209 _ACEOF
   22210 
   22211 
   22212 
   22213 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   22214 
   22215 cat >confcache <<\_ACEOF
   22216 # This file is a shell script that caches the results of configure
   22217 # tests run on this system so they can be shared between configure
   22218 # scripts and configure runs, see configure's option --config-cache.
   22219 # It is not useful on other systems.  If it contains results you don't
   22220 # want to keep, you may remove or edit it.
   22221 #
   22222 # config.status only pays attention to the cache file if you give it
   22223 # the --recheck option to rerun configure.
   22224 #
   22225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22227 # following values.
   22228 
   22229 _ACEOF
   22230 
   22231 # The following way of writing the cache mishandles newlines in values,
   22232 # but we know of no workaround that is simple, portable, and efficient.
   22233 # So, we kill variables containing newlines.
   22234 # Ultrix sh set writes to stderr and can't be redirected directly,
   22235 # and sets the high bit in the cache file unless we assign to the vars.
   22236 (
   22237   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22238     eval ac_val=\$$ac_var
   22239     case $ac_val in #(
   22240     *${as_nl}*)
   22241       case $ac_var in #(
   22242       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22244       esac
   22245       case $ac_var in #(
   22246       _ | IFS | as_nl) ;; #(
   22247       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22248       *) $as_unset $ac_var ;;
   22249       esac ;;
   22250     esac
   22251   done
   22252 
   22253   (set) 2>&1 |
   22254     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22255     *${as_nl}ac_space=\ *)
   22256       # `set' does not quote correctly, so add quotes (double-quote
   22257       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22258       sed -n \
   22259 	"s/'/'\\\\''/g;
   22260 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22261       ;; #(
   22262     *)
   22263       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22264       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22265       ;;
   22266     esac |
   22267     sort
   22268 ) |
   22269   sed '
   22270      /^ac_cv_env_/b end
   22271      t clear
   22272      :clear
   22273      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22274      t end
   22275      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22276      :end' >>confcache
   22277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22278   if test -w "$cache_file"; then
   22279     test "x$cache_file" != "x/dev/null" &&
   22280       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22281 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22282     cat confcache >$cache_file
   22283   else
   22284     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22286   fi
   22287 fi
   22288 rm -f confcache
   22289 
   22290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22291 # Let make expand exec_prefix.
   22292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22293 
   22294 DEFS=-DHAVE_CONFIG_H
   22295 
   22296 ac_libobjs=
   22297 ac_ltlibobjs=
   22298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22299   # 1. Remove the extension, and $U if already installed.
   22300   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22301   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22302   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22303   #    will be set to the directory where LIBOBJS objects are built.
   22304   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22305   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22306 done
   22307 LIBOBJS=$ac_libobjs
   22308 
   22309 LTLIBOBJS=$ac_ltlibobjs
   22310 
   22311 
   22312  if test -n "$EXEEXT"; then
   22313   am__EXEEXT_TRUE=
   22314   am__EXEEXT_FALSE='#'
   22315 else
   22316   am__EXEEXT_TRUE='#'
   22317   am__EXEEXT_FALSE=
   22318 fi
   22319 
   22320 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22321   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22322 Usually this means the macro was only invoked conditionally." >&5
   22323 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22324 Usually this means the macro was only invoked conditionally." >&2;}
   22325    { (exit 1); exit 1; }; }
   22326 fi
   22327 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22328   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22329 Usually this means the macro was only invoked conditionally." >&5
   22330 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22331 Usually this means the macro was only invoked conditionally." >&2;}
   22332    { (exit 1); exit 1; }; }
   22333 fi
   22334 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22335   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22336 Usually this means the macro was only invoked conditionally." >&5
   22337 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22338 Usually this means the macro was only invoked conditionally." >&2;}
   22339    { (exit 1); exit 1; }; }
   22340 fi
   22341 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22342   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22343 Usually this means the macro was only invoked conditionally." >&5
   22344 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22345 Usually this means the macro was only invoked conditionally." >&2;}
   22346    { (exit 1); exit 1; }; }
   22347 fi
   22348 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22349   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22350 Usually this means the macro was only invoked conditionally." >&5
   22351 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22352 Usually this means the macro was only invoked conditionally." >&2;}
   22353    { (exit 1); exit 1; }; }
   22354 fi
   22355 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   22356   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22357 Usually this means the macro was only invoked conditionally." >&5
   22358 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22359 Usually this means the macro was only invoked conditionally." >&2;}
   22360    { (exit 1); exit 1; }; }
   22361 fi
   22362 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   22363   { { $as_echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
   22364 Usually this means the macro was only invoked conditionally." >&5
   22365 $as_echo "$as_me: error: conditional \"DRI\" was never defined.
   22366 Usually this means the macro was only invoked conditionally." >&2;}
   22367    { (exit 1); exit 1; }; }
   22368 fi
   22369 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22370   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22371 Usually this means the macro was only invoked conditionally." >&5
   22372 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22373 Usually this means the macro was only invoked conditionally." >&2;}
   22374    { (exit 1); exit 1; }; }
   22375 fi
   22376 
   22377 : ${CONFIG_STATUS=./config.status}
   22378 ac_write_fail=0
   22379 ac_clean_files_save=$ac_clean_files
   22380 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22381 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22382 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22383 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22384 #! $SHELL
   22385 # Generated by $as_me.
   22386 # Run this file to recreate the current configuration.
   22387 # Compiler output produced by configure, useful for debugging
   22388 # configure, is in config.log if it exists.
   22389 
   22390 debug=false
   22391 ac_cs_recheck=false
   22392 ac_cs_silent=false
   22393 SHELL=\${CONFIG_SHELL-$SHELL}
   22394 _ACEOF
   22395 
   22396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22397 ## --------------------- ##
   22398 ## M4sh Initialization.  ##
   22399 ## --------------------- ##
   22400 
   22401 # Be more Bourne compatible
   22402 DUALCASE=1; export DUALCASE # for MKS sh
   22403 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22404   emulate sh
   22405   NULLCMD=:
   22406   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22407   # is contrary to our usage.  Disable this feature.
   22408   alias -g '${1+"$@"}'='"$@"'
   22409   setopt NO_GLOB_SUBST
   22410 else
   22411   case `(set -o) 2>/dev/null` in
   22412   *posix*) set -o posix ;;
   22413 esac
   22414 
   22415 fi
   22416 
   22417 
   22418 
   22419 
   22420 # PATH needs CR
   22421 # Avoid depending upon Character Ranges.
   22422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22425 as_cr_digits='0123456789'
   22426 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22427 
   22428 as_nl='
   22429 '
   22430 export as_nl
   22431 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22432 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22433 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22434 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22435 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22436   as_echo='printf %s\n'
   22437   as_echo_n='printf %s'
   22438 else
   22439   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22440     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22441     as_echo_n='/usr/ucb/echo -n'
   22442   else
   22443     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22444     as_echo_n_body='eval
   22445       arg=$1;
   22446       case $arg in
   22447       *"$as_nl"*)
   22448 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22449 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22450       esac;
   22451       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22452     '
   22453     export as_echo_n_body
   22454     as_echo_n='sh -c $as_echo_n_body as_echo'
   22455   fi
   22456   export as_echo_body
   22457   as_echo='sh -c $as_echo_body as_echo'
   22458 fi
   22459 
   22460 # The user is always right.
   22461 if test "${PATH_SEPARATOR+set}" != set; then
   22462   PATH_SEPARATOR=:
   22463   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22464     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22465       PATH_SEPARATOR=';'
   22466   }
   22467 fi
   22468 
   22469 # Support unset when possible.
   22470 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22471   as_unset=unset
   22472 else
   22473   as_unset=false
   22474 fi
   22475 
   22476 
   22477 # IFS
   22478 # We need space, tab and new line, in precisely that order.  Quoting is
   22479 # there to prevent editors from complaining about space-tab.
   22480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22481 # splitting by setting IFS to empty value.)
   22482 IFS=" ""	$as_nl"
   22483 
   22484 # Find who we are.  Look in the path if we contain no directory separator.
   22485 case $0 in
   22486   *[\\/]* ) as_myself=$0 ;;
   22487   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22488 for as_dir in $PATH
   22489 do
   22490   IFS=$as_save_IFS
   22491   test -z "$as_dir" && as_dir=.
   22492   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22493 done
   22494 IFS=$as_save_IFS
   22495 
   22496      ;;
   22497 esac
   22498 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22499 # in which case we are not to be found in the path.
   22500 if test "x$as_myself" = x; then
   22501   as_myself=$0
   22502 fi
   22503 if test ! -f "$as_myself"; then
   22504   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22505   { (exit 1); exit 1; }
   22506 fi
   22507 
   22508 # Work around bugs in pre-3.0 UWIN ksh.
   22509 for as_var in ENV MAIL MAILPATH
   22510 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22511 done
   22512 PS1='$ '
   22513 PS2='> '
   22514 PS4='+ '
   22515 
   22516 # NLS nuisances.
   22517 LC_ALL=C
   22518 export LC_ALL
   22519 LANGUAGE=C
   22520 export LANGUAGE
   22521 
   22522 # Required to use basename.
   22523 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22524    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22525   as_expr=expr
   22526 else
   22527   as_expr=false
   22528 fi
   22529 
   22530 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22531   as_basename=basename
   22532 else
   22533   as_basename=false
   22534 fi
   22535 
   22536 
   22537 # Name of the executable.
   22538 as_me=`$as_basename -- "$0" ||
   22539 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22540 	 X"$0" : 'X\(//\)$' \| \
   22541 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22542 $as_echo X/"$0" |
   22543     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22544 	    s//\1/
   22545 	    q
   22546 	  }
   22547 	  /^X\/\(\/\/\)$/{
   22548 	    s//\1/
   22549 	    q
   22550 	  }
   22551 	  /^X\/\(\/\).*/{
   22552 	    s//\1/
   22553 	    q
   22554 	  }
   22555 	  s/.*/./; q'`
   22556 
   22557 # CDPATH.
   22558 $as_unset CDPATH
   22559 
   22560 
   22561 
   22562   as_lineno_1=$LINENO
   22563   as_lineno_2=$LINENO
   22564   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22565   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22566 
   22567   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22568   # uniformly replaced by the line number.  The first 'sed' inserts a
   22569   # line-number line after each line using $LINENO; the second 'sed'
   22570   # does the real work.  The second script uses 'N' to pair each
   22571   # line-number line with the line containing $LINENO, and appends
   22572   # trailing '-' during substitution so that $LINENO is not a special
   22573   # case at line end.
   22574   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22575   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22576   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22577   sed -n '
   22578     p
   22579     /[$]LINENO/=
   22580   ' <$as_myself |
   22581     sed '
   22582       s/[$]LINENO.*/&-/
   22583       t lineno
   22584       b
   22585       :lineno
   22586       N
   22587       :loop
   22588       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22589       t loop
   22590       s/-\n.*//
   22591     ' >$as_me.lineno &&
   22592   chmod +x "$as_me.lineno" ||
   22593     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22594    { (exit 1); exit 1; }; }
   22595 
   22596   # Don't try to exec as it changes $[0], causing all sort of problems
   22597   # (the dirname of $[0] is not the place where we might find the
   22598   # original and so on.  Autoconf is especially sensitive to this).
   22599   . "./$as_me.lineno"
   22600   # Exit status is that of the last command.
   22601   exit
   22602 }
   22603 
   22604 
   22605 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22606   as_dirname=dirname
   22607 else
   22608   as_dirname=false
   22609 fi
   22610 
   22611 ECHO_C= ECHO_N= ECHO_T=
   22612 case `echo -n x` in
   22613 -n*)
   22614   case `echo 'x\c'` in
   22615   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22616   *)   ECHO_C='\c';;
   22617   esac;;
   22618 *)
   22619   ECHO_N='-n';;
   22620 esac
   22621 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22622    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22623   as_expr=expr
   22624 else
   22625   as_expr=false
   22626 fi
   22627 
   22628 rm -f conf$$ conf$$.exe conf$$.file
   22629 if test -d conf$$.dir; then
   22630   rm -f conf$$.dir/conf$$.file
   22631 else
   22632   rm -f conf$$.dir
   22633   mkdir conf$$.dir 2>/dev/null
   22634 fi
   22635 if (echo >conf$$.file) 2>/dev/null; then
   22636   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22637     as_ln_s='ln -s'
   22638     # ... but there are two gotchas:
   22639     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22640     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22641     # In both cases, we have to default to `cp -p'.
   22642     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22643       as_ln_s='cp -p'
   22644   elif ln conf$$.file conf$$ 2>/dev/null; then
   22645     as_ln_s=ln
   22646   else
   22647     as_ln_s='cp -p'
   22648   fi
   22649 else
   22650   as_ln_s='cp -p'
   22651 fi
   22652 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22653 rmdir conf$$.dir 2>/dev/null
   22654 
   22655 if mkdir -p . 2>/dev/null; then
   22656   as_mkdir_p=:
   22657 else
   22658   test -d ./-p && rmdir ./-p
   22659   as_mkdir_p=false
   22660 fi
   22661 
   22662 if test -x / >/dev/null 2>&1; then
   22663   as_test_x='test -x'
   22664 else
   22665   if ls -dL / >/dev/null 2>&1; then
   22666     as_ls_L_option=L
   22667   else
   22668     as_ls_L_option=
   22669   fi
   22670   as_test_x='
   22671     eval sh -c '\''
   22672       if test -d "$1"; then
   22673 	test -d "$1/.";
   22674       else
   22675 	case $1 in
   22676 	-*)set "./$1";;
   22677 	esac;
   22678 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22679 	???[sx]*):;;*)false;;esac;fi
   22680     '\'' sh
   22681   '
   22682 fi
   22683 as_executable_p=$as_test_x
   22684 
   22685 # Sed expression to map a string onto a valid CPP name.
   22686 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22687 
   22688 # Sed expression to map a string onto a valid variable name.
   22689 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22690 
   22691 
   22692 exec 6>&1
   22693 
   22694 # Save the log message, to keep $[0] and so on meaningful, and to
   22695 # report actual input values of CONFIG_FILES etc. instead of their
   22696 # values after options handling.
   22697 ac_log="
   22698 This file was extended by xf86-video-savage $as_me 2.3.1, which was
   22699 generated by GNU Autoconf 2.63.  Invocation command line was
   22700 
   22701   CONFIG_FILES    = $CONFIG_FILES
   22702   CONFIG_HEADERS  = $CONFIG_HEADERS
   22703   CONFIG_LINKS    = $CONFIG_LINKS
   22704   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22705   $ $0 $@
   22706 
   22707 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22708 "
   22709 
   22710 _ACEOF
   22711 
   22712 case $ac_config_files in *"
   22713 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22714 esac
   22715 
   22716 case $ac_config_headers in *"
   22717 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22718 esac
   22719 
   22720 
   22721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22722 # Files that config.status was made for.
   22723 config_files="$ac_config_files"
   22724 config_headers="$ac_config_headers"
   22725 config_commands="$ac_config_commands"
   22726 
   22727 _ACEOF
   22728 
   22729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22730 ac_cs_usage="\
   22731 \`$as_me' instantiates files from templates according to the
   22732 current configuration.
   22733 
   22734 Usage: $0 [OPTION]... [FILE]...
   22735 
   22736   -h, --help       print this help, then exit
   22737   -V, --version    print version number and configuration settings, then exit
   22738   -q, --quiet, --silent
   22739                    do not print progress messages
   22740   -d, --debug      don't remove temporary files
   22741       --recheck    update $as_me by reconfiguring in the same conditions
   22742       --file=FILE[:TEMPLATE]
   22743                    instantiate the configuration file FILE
   22744       --header=FILE[:TEMPLATE]
   22745                    instantiate the configuration header FILE
   22746 
   22747 Configuration files:
   22748 $config_files
   22749 
   22750 Configuration headers:
   22751 $config_headers
   22752 
   22753 Configuration commands:
   22754 $config_commands
   22755 
   22756 Report bugs to <bug-autoconf (at] gnu.org>."
   22757 
   22758 _ACEOF
   22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22760 ac_cs_version="\\
   22761 xf86-video-savage config.status 2.3.1
   22762 configured by $0, generated by GNU Autoconf 2.63,
   22763   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22764 
   22765 Copyright (C) 2008 Free Software Foundation, Inc.
   22766 This config.status script is free software; the Free Software Foundation
   22767 gives unlimited permission to copy, distribute and modify it."
   22768 
   22769 ac_pwd='$ac_pwd'
   22770 srcdir='$srcdir'
   22771 INSTALL='$INSTALL'
   22772 MKDIR_P='$MKDIR_P'
   22773 AWK='$AWK'
   22774 test -n "\$AWK" || AWK=awk
   22775 _ACEOF
   22776 
   22777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22778 # The default lists apply if the user does not specify any file.
   22779 ac_need_defaults=:
   22780 while test $# != 0
   22781 do
   22782   case $1 in
   22783   --*=*)
   22784     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22785     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22786     ac_shift=:
   22787     ;;
   22788   *)
   22789     ac_option=$1
   22790     ac_optarg=$2
   22791     ac_shift=shift
   22792     ;;
   22793   esac
   22794 
   22795   case $ac_option in
   22796   # Handling of the options.
   22797   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22798     ac_cs_recheck=: ;;
   22799   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22800     $as_echo "$ac_cs_version"; exit ;;
   22801   --debug | --debu | --deb | --de | --d | -d )
   22802     debug=: ;;
   22803   --file | --fil | --fi | --f )
   22804     $ac_shift
   22805     case $ac_optarg in
   22806     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22807     esac
   22808     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22809     ac_need_defaults=false;;
   22810   --header | --heade | --head | --hea )
   22811     $ac_shift
   22812     case $ac_optarg in
   22813     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22814     esac
   22815     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22816     ac_need_defaults=false;;
   22817   --he | --h)
   22818     # Conflict between --help and --header
   22819     { $as_echo "$as_me: error: ambiguous option: $1
   22820 Try \`$0 --help' for more information." >&2
   22821    { (exit 1); exit 1; }; };;
   22822   --help | --hel | -h )
   22823     $as_echo "$ac_cs_usage"; exit ;;
   22824   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22825   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22826     ac_cs_silent=: ;;
   22827 
   22828   # This is an error.
   22829   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22830 Try \`$0 --help' for more information." >&2
   22831    { (exit 1); exit 1; }; } ;;
   22832 
   22833   *) ac_config_targets="$ac_config_targets $1"
   22834      ac_need_defaults=false ;;
   22835 
   22836   esac
   22837   shift
   22838 done
   22839 
   22840 ac_configure_extra_args=
   22841 
   22842 if $ac_cs_silent; then
   22843   exec 6>/dev/null
   22844   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22845 fi
   22846 
   22847 _ACEOF
   22848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22849 if \$ac_cs_recheck; then
   22850   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22851   shift
   22852   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22853   CONFIG_SHELL='$SHELL'
   22854   export CONFIG_SHELL
   22855   exec "\$@"
   22856 fi
   22857 
   22858 _ACEOF
   22859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22860 exec 5>>config.log
   22861 {
   22862   echo
   22863   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22864 ## Running $as_me. ##
   22865 _ASBOX
   22866   $as_echo "$ac_log"
   22867 } >&5
   22868 
   22869 _ACEOF
   22870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22871 #
   22872 # INIT-COMMANDS
   22873 #
   22874 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22875 
   22876 _ACEOF
   22877 
   22878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22879 
   22880 # Handling of arguments.
   22881 for ac_config_target in $ac_config_targets
   22882 do
   22883   case $ac_config_target in
   22884     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22885     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22886     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22887     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22888     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22889 
   22890   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22891 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22892    { (exit 1); exit 1; }; };;
   22893   esac
   22894 done
   22895 
   22896 
   22897 # If the user did not use the arguments to specify the items to instantiate,
   22898 # then the envvar interface is used.  Set only those that are not.
   22899 # We use the long form for the default assignment because of an extremely
   22900 # bizarre bug on SunOS 4.1.3.
   22901 if $ac_need_defaults; then
   22902   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22903   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22904   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22905 fi
   22906 
   22907 # Have a temporary directory for convenience.  Make it in the build tree
   22908 # simply because there is no reason against having it here, and in addition,
   22909 # creating and moving files from /tmp can sometimes cause problems.
   22910 # Hook for its removal unless debugging.
   22911 # Note that there is a small window in which the directory will not be cleaned:
   22912 # after its creation but before its name has been assigned to `$tmp'.
   22913 $debug ||
   22914 {
   22915   tmp=
   22916   trap 'exit_status=$?
   22917   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22918 ' 0
   22919   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22920 }
   22921 # Create a (secure) tmp directory for tmp files.
   22922 
   22923 {
   22924   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22925   test -n "$tmp" && test -d "$tmp"
   22926 }  ||
   22927 {
   22928   tmp=./conf$$-$RANDOM
   22929   (umask 077 && mkdir "$tmp")
   22930 } ||
   22931 {
   22932    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22933    { (exit 1); exit 1; }
   22934 }
   22935 
   22936 # Set up the scripts for CONFIG_FILES section.
   22937 # No need to generate them if there are no CONFIG_FILES.
   22938 # This happens for instance with `./config.status config.h'.
   22939 if test -n "$CONFIG_FILES"; then
   22940 
   22941 
   22942 ac_cr='
'
   22944 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22945 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22946   ac_cs_awk_cr='\\r'
   22947 else
   22948   ac_cs_awk_cr=$ac_cr
   22949 fi
   22950 
   22951 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22952 _ACEOF
   22953 
   22954 
   22955 {
   22956   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22957   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22958   echo "_ACEOF"
   22959 } >conf$$subs.sh ||
   22960   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22961 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22962    { (exit 1); exit 1; }; }
   22963 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22964 ac_delim='%!_!# '
   22965 for ac_last_try in false false false false false :; do
   22966   . ./conf$$subs.sh ||
   22967     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22968 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22969    { (exit 1); exit 1; }; }
   22970 
   22971   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22972   if test $ac_delim_n = $ac_delim_num; then
   22973     break
   22974   elif $ac_last_try; then
   22975     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22976 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22977    { (exit 1); exit 1; }; }
   22978   else
   22979     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22980   fi
   22981 done
   22982 rm -f conf$$subs.sh
   22983 
   22984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22985 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22986 _ACEOF
   22987 sed -n '
   22988 h
   22989 s/^/S["/; s/!.*/"]=/
   22990 p
   22991 g
   22992 s/^[^!]*!//
   22993 :repl
   22994 t repl
   22995 s/'"$ac_delim"'$//
   22996 t delim
   22997 :nl
   22998 h
   22999 s/\(.\{148\}\).*/\1/
   23000 t more1
   23001 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23002 p
   23003 n
   23004 b repl
   23005 :more1
   23006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23007 p
   23008 g
   23009 s/.\{148\}//
   23010 t nl
   23011 :delim
   23012 h
   23013 s/\(.\{148\}\).*/\1/
   23014 t more2
   23015 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23016 p
   23017 b
   23018 :more2
   23019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23020 p
   23021 g
   23022 s/.\{148\}//
   23023 t delim
   23024 ' <conf$$subs.awk | sed '
   23025 /^[^""]/{
   23026   N
   23027   s/\n//
   23028 }
   23029 ' >>$CONFIG_STATUS || ac_write_fail=1
   23030 rm -f conf$$subs.awk
   23031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23032 _ACAWK
   23033 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23034   for (key in S) S_is_set[key] = 1
   23035   FS = ""
   23036 
   23037 }
   23038 {
   23039   line = $ 0
   23040   nfields = split(line, field, "@")
   23041   substed = 0
   23042   len = length(field[1])
   23043   for (i = 2; i < nfields; i++) {
   23044     key = field[i]
   23045     keylen = length(key)
   23046     if (S_is_set[key]) {
   23047       value = S[key]
   23048       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23049       len += length(value) + length(field[++i])
   23050       substed = 1
   23051     } else
   23052       len += 1 + keylen
   23053   }
   23054 
   23055   print line
   23056 }
   23057 
   23058 _ACAWK
   23059 _ACEOF
   23060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23061 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23062   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23063 else
   23064   cat
   23065 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23066   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23067 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23068    { (exit 1); exit 1; }; }
   23069 _ACEOF
   23070 
   23071 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23072 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23073 # trailing colons and then remove the whole line if VPATH becomes empty
   23074 # (actually we leave an empty line to preserve line numbers).
   23075 if test "x$srcdir" = x.; then
   23076   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23077 s/:*\$(srcdir):*/:/
   23078 s/:*\${srcdir}:*/:/
   23079 s/:*@srcdir@:*/:/
   23080 s/^\([^=]*=[	 ]*\):*/\1/
   23081 s/:*$//
   23082 s/^[^=]*=[	 ]*$//
   23083 }'
   23084 fi
   23085 
   23086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23087 fi # test -n "$CONFIG_FILES"
   23088 
   23089 # Set up the scripts for CONFIG_HEADERS section.
   23090 # No need to generate them if there are no CONFIG_HEADERS.
   23091 # This happens for instance with `./config.status Makefile'.
   23092 if test -n "$CONFIG_HEADERS"; then
   23093 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23094 BEGIN {
   23095 _ACEOF
   23096 
   23097 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23098 # here-document in config.status, that substitutes the proper values into
   23099 # config.h.in to produce config.h.
   23100 
   23101 # Create a delimiter string that does not exist in confdefs.h, to ease
   23102 # handling of long lines.
   23103 ac_delim='%!_!# '
   23104 for ac_last_try in false false :; do
   23105   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23106   if test -z "$ac_t"; then
   23107     break
   23108   elif $ac_last_try; then
   23109     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23110 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23111    { (exit 1); exit 1; }; }
   23112   else
   23113     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23114   fi
   23115 done
   23116 
   23117 # For the awk script, D is an array of macro values keyed by name,
   23118 # likewise P contains macro parameters if any.  Preserve backslash
   23119 # newline sequences.
   23120 
   23121 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23122 sed -n '
   23123 s/.\{148\}/&'"$ac_delim"'/g
   23124 t rset
   23125 :rset
   23126 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23127 t def
   23128 d
   23129 :def
   23130 s/\\$//
   23131 t bsnl
   23132 s/["\\]/\\&/g
   23133 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23134 D["\1"]=" \3"/p
   23135 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23136 d
   23137 :bsnl
   23138 s/["\\]/\\&/g
   23139 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23140 D["\1"]=" \3\\\\\\n"\\/p
   23141 t cont
   23142 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23143 t cont
   23144 d
   23145 :cont
   23146 n
   23147 s/.\{148\}/&'"$ac_delim"'/g
   23148 t clear
   23149 :clear
   23150 s/\\$//
   23151 t bsnlc
   23152 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23153 d
   23154 :bsnlc
   23155 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23156 b cont
   23157 ' <confdefs.h | sed '
   23158 s/'"$ac_delim"'/"\\\
   23159 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23160 
   23161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23162   for (key in D) D_is_set[key] = 1
   23163   FS = ""
   23164 }
   23165 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23166   line = \$ 0
   23167   split(line, arg, " ")
   23168   if (arg[1] == "#") {
   23169     defundef = arg[2]
   23170     mac1 = arg[3]
   23171   } else {
   23172     defundef = substr(arg[1], 2)
   23173     mac1 = arg[2]
   23174   }
   23175   split(mac1, mac2, "(") #)
   23176   macro = mac2[1]
   23177   prefix = substr(line, 1, index(line, defundef) - 1)
   23178   if (D_is_set[macro]) {
   23179     # Preserve the white space surrounding the "#".
   23180     print prefix "define", macro P[macro] D[macro]
   23181     next
   23182   } else {
   23183     # Replace #undef with comments.  This is necessary, for example,
   23184     # in the case of _POSIX_SOURCE, which is predefined and required
   23185     # on some systems where configure will not decide to define it.
   23186     if (defundef == "undef") {
   23187       print "/*", prefix defundef, macro, "*/"
   23188       next
   23189     }
   23190   }
   23191 }
   23192 { print }
   23193 _ACAWK
   23194 _ACEOF
   23195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23196   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23197 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23198    { (exit 1); exit 1; }; }
   23199 fi # test -n "$CONFIG_HEADERS"
   23200 
   23201 
   23202 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23203 shift
   23204 for ac_tag
   23205 do
   23206   case $ac_tag in
   23207   :[FHLC]) ac_mode=$ac_tag; continue;;
   23208   esac
   23209   case $ac_mode$ac_tag in
   23210   :[FHL]*:*);;
   23211   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23212 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23213    { (exit 1); exit 1; }; };;
   23214   :[FH]-) ac_tag=-:-;;
   23215   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23216   esac
   23217   ac_save_IFS=$IFS
   23218   IFS=:
   23219   set x $ac_tag
   23220   IFS=$ac_save_IFS
   23221   shift
   23222   ac_file=$1
   23223   shift
   23224 
   23225   case $ac_mode in
   23226   :L) ac_source=$1;;
   23227   :[FH])
   23228     ac_file_inputs=
   23229     for ac_f
   23230     do
   23231       case $ac_f in
   23232       -) ac_f="$tmp/stdin";;
   23233       *) # Look for the file first in the build tree, then in the source tree
   23234 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23235 	 # because $ac_f cannot contain `:'.
   23236 	 test -f "$ac_f" ||
   23237 	   case $ac_f in
   23238 	   [\\/$]*) false;;
   23239 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23240 	   esac ||
   23241 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23242 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23243    { (exit 1); exit 1; }; };;
   23244       esac
   23245       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23246       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23247     done
   23248 
   23249     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23250     # use $as_me), people would be surprised to read:
   23251     #    /* config.h.  Generated by config.status.  */
   23252     configure_input='Generated from '`
   23253 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23254 	`' by configure.'
   23255     if test x"$ac_file" != x-; then
   23256       configure_input="$ac_file.  $configure_input"
   23257       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23258 $as_echo "$as_me: creating $ac_file" >&6;}
   23259     fi
   23260     # Neutralize special characters interpreted by sed in replacement strings.
   23261     case $configure_input in #(
   23262     *\&* | *\|* | *\\* )
   23263        ac_sed_conf_input=`$as_echo "$configure_input" |
   23264        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23265     *) ac_sed_conf_input=$configure_input;;
   23266     esac
   23267 
   23268     case $ac_tag in
   23269     *:-:* | *:-) cat >"$tmp/stdin" \
   23270       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23271 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23272    { (exit 1); exit 1; }; } ;;
   23273     esac
   23274     ;;
   23275   esac
   23276 
   23277   ac_dir=`$as_dirname -- "$ac_file" ||
   23278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23279 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23280 	 X"$ac_file" : 'X\(//\)$' \| \
   23281 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23282 $as_echo X"$ac_file" |
   23283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23284 	    s//\1/
   23285 	    q
   23286 	  }
   23287 	  /^X\(\/\/\)[^/].*/{
   23288 	    s//\1/
   23289 	    q
   23290 	  }
   23291 	  /^X\(\/\/\)$/{
   23292 	    s//\1/
   23293 	    q
   23294 	  }
   23295 	  /^X\(\/\).*/{
   23296 	    s//\1/
   23297 	    q
   23298 	  }
   23299 	  s/.*/./; q'`
   23300   { as_dir="$ac_dir"
   23301   case $as_dir in #(
   23302   -*) as_dir=./$as_dir;;
   23303   esac
   23304   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23305     as_dirs=
   23306     while :; do
   23307       case $as_dir in #(
   23308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23309       *) as_qdir=$as_dir;;
   23310       esac
   23311       as_dirs="'$as_qdir' $as_dirs"
   23312       as_dir=`$as_dirname -- "$as_dir" ||
   23313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23314 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23315 	 X"$as_dir" : 'X\(//\)$' \| \
   23316 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23317 $as_echo X"$as_dir" |
   23318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23319 	    s//\1/
   23320 	    q
   23321 	  }
   23322 	  /^X\(\/\/\)[^/].*/{
   23323 	    s//\1/
   23324 	    q
   23325 	  }
   23326 	  /^X\(\/\/\)$/{
   23327 	    s//\1/
   23328 	    q
   23329 	  }
   23330 	  /^X\(\/\).*/{
   23331 	    s//\1/
   23332 	    q
   23333 	  }
   23334 	  s/.*/./; q'`
   23335       test -d "$as_dir" && break
   23336     done
   23337     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23338   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23339 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23340    { (exit 1); exit 1; }; }; }
   23341   ac_builddir=.
   23342 
   23343 case "$ac_dir" in
   23344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23345 *)
   23346   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23347   # A ".." for each directory in $ac_dir_suffix.
   23348   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23349   case $ac_top_builddir_sub in
   23350   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23351   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23352   esac ;;
   23353 esac
   23354 ac_abs_top_builddir=$ac_pwd
   23355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23356 # for backward compatibility:
   23357 ac_top_builddir=$ac_top_build_prefix
   23358 
   23359 case $srcdir in
   23360   .)  # We are building in place.
   23361     ac_srcdir=.
   23362     ac_top_srcdir=$ac_top_builddir_sub
   23363     ac_abs_top_srcdir=$ac_pwd ;;
   23364   [\\/]* | ?:[\\/]* )  # Absolute name.
   23365     ac_srcdir=$srcdir$ac_dir_suffix;
   23366     ac_top_srcdir=$srcdir
   23367     ac_abs_top_srcdir=$srcdir ;;
   23368   *) # Relative name.
   23369     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23370     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23371     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23372 esac
   23373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23374 
   23375 
   23376   case $ac_mode in
   23377   :F)
   23378   #
   23379   # CONFIG_FILE
   23380   #
   23381 
   23382   case $INSTALL in
   23383   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23384   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23385   esac
   23386   ac_MKDIR_P=$MKDIR_P
   23387   case $MKDIR_P in
   23388   [\\/$]* | ?:[\\/]* ) ;;
   23389   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23390   esac
   23391 _ACEOF
   23392 
   23393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23394 # If the template does not know about datarootdir, expand it.
   23395 # FIXME: This hack should be removed a few years after 2.60.
   23396 ac_datarootdir_hack=; ac_datarootdir_seen=
   23397 
   23398 ac_sed_dataroot='
   23399 /datarootdir/ {
   23400   p
   23401   q
   23402 }
   23403 /@datadir@/p
   23404 /@docdir@/p
   23405 /@infodir@/p
   23406 /@localedir@/p
   23407 /@mandir@/p
   23408 '
   23409 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23410 *datarootdir*) ac_datarootdir_seen=yes;;
   23411 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23412   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23413 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23414 _ACEOF
   23415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23416   ac_datarootdir_hack='
   23417   s&@datadir@&$datadir&g
   23418   s&@docdir@&$docdir&g
   23419   s&@infodir@&$infodir&g
   23420   s&@localedir@&$localedir&g
   23421   s&@mandir@&$mandir&g
   23422     s&\\\${datarootdir}&$datarootdir&g' ;;
   23423 esac
   23424 _ACEOF
   23425 
   23426 # Neutralize VPATH when `$srcdir' = `.'.
   23427 # Shell code in configure.ac might set extrasub.
   23428 # FIXME: do we really want to maintain this feature?
   23429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23430 ac_sed_extra="$ac_vpsub
   23431 $extrasub
   23432 _ACEOF
   23433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23434 :t
   23435 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23436 s|@configure_input@|$ac_sed_conf_input|;t t
   23437 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23438 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23439 s&@srcdir@&$ac_srcdir&;t t
   23440 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23441 s&@top_srcdir@&$ac_top_srcdir&;t t
   23442 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23443 s&@builddir@&$ac_builddir&;t t
   23444 s&@abs_builddir@&$ac_abs_builddir&;t t
   23445 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23446 s&@INSTALL@&$ac_INSTALL&;t t
   23447 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23448 $ac_datarootdir_hack
   23449 "
   23450 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23451   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23452 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23453    { (exit 1); exit 1; }; }
   23454 
   23455 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23456   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23457   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23458   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23459 which seems to be undefined.  Please make sure it is defined." >&5
   23460 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23461 which seems to be undefined.  Please make sure it is defined." >&2;}
   23462 
   23463   rm -f "$tmp/stdin"
   23464   case $ac_file in
   23465   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23466   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23467   esac \
   23468   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23469 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23470    { (exit 1); exit 1; }; }
   23471  ;;
   23472   :H)
   23473   #
   23474   # CONFIG_HEADER
   23475   #
   23476   if test x"$ac_file" != x-; then
   23477     {
   23478       $as_echo "/* $configure_input  */" \
   23479       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23480     } >"$tmp/config.h" \
   23481       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23482 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23483    { (exit 1); exit 1; }; }
   23484     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23485       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23486 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23487     else
   23488       rm -f "$ac_file"
   23489       mv "$tmp/config.h" "$ac_file" \
   23490 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23491 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23492    { (exit 1); exit 1; }; }
   23493     fi
   23494   else
   23495     $as_echo "/* $configure_input  */" \
   23496       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23497       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23498 $as_echo "$as_me: error: could not create -" >&2;}
   23499    { (exit 1); exit 1; }; }
   23500   fi
   23501 # Compute "$ac_file"'s index in $config_headers.
   23502 _am_arg="$ac_file"
   23503 _am_stamp_count=1
   23504 for _am_header in $config_headers :; do
   23505   case $_am_header in
   23506     $_am_arg | $_am_arg:* )
   23507       break ;;
   23508     * )
   23509       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23510   esac
   23511 done
   23512 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23513 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23514 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23515 	 X"$_am_arg" : 'X\(//\)$' \| \
   23516 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23517 $as_echo X"$_am_arg" |
   23518     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23519 	    s//\1/
   23520 	    q
   23521 	  }
   23522 	  /^X\(\/\/\)[^/].*/{
   23523 	    s//\1/
   23524 	    q
   23525 	  }
   23526 	  /^X\(\/\/\)$/{
   23527 	    s//\1/
   23528 	    q
   23529 	  }
   23530 	  /^X\(\/\).*/{
   23531 	    s//\1/
   23532 	    q
   23533 	  }
   23534 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23535  ;;
   23536 
   23537   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23538 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23539  ;;
   23540   esac
   23541 
   23542 
   23543   case $ac_file$ac_mode in
   23544     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23545   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23546   # are listed without --file.  Let's play safe and only enable the eval
   23547   # if we detect the quoting.
   23548   case $CONFIG_FILES in
   23549   *\'*) eval set x "$CONFIG_FILES" ;;
   23550   *)   set x $CONFIG_FILES ;;
   23551   esac
   23552   shift
   23553   for mf
   23554   do
   23555     # Strip MF so we end up with the name of the file.
   23556     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23557     # Check whether this is an Automake generated Makefile or not.
   23558     # We used to match only the files named `Makefile.in', but
   23559     # some people rename them; so instead we look at the file content.
   23560     # Grep'ing the first line is not enough: some people post-process
   23561     # each Makefile.in and add a new line on top of each file to say so.
   23562     # Grep'ing the whole file is not good either: AIX grep has a line
   23563     # limit of 2048, but all sed's we know have understand at least 4000.
   23564     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23565       dirpart=`$as_dirname -- "$mf" ||
   23566 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23567 	 X"$mf" : 'X\(//\)[^/]' \| \
   23568 	 X"$mf" : 'X\(//\)$' \| \
   23569 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23570 $as_echo X"$mf" |
   23571     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23572 	    s//\1/
   23573 	    q
   23574 	  }
   23575 	  /^X\(\/\/\)[^/].*/{
   23576 	    s//\1/
   23577 	    q
   23578 	  }
   23579 	  /^X\(\/\/\)$/{
   23580 	    s//\1/
   23581 	    q
   23582 	  }
   23583 	  /^X\(\/\).*/{
   23584 	    s//\1/
   23585 	    q
   23586 	  }
   23587 	  s/.*/./; q'`
   23588     else
   23589       continue
   23590     fi
   23591     # Extract the definition of DEPDIR, am__include, and am__quote
   23592     # from the Makefile without running `make'.
   23593     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23594     test -z "$DEPDIR" && continue
   23595     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23596     test -z "am__include" && continue
   23597     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23598     # When using ansi2knr, U may be empty or an underscore; expand it
   23599     U=`sed -n 's/^U = //p' < "$mf"`
   23600     # Find all dependency output files, they are included files with
   23601     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23602     # simplest approach to changing $(DEPDIR) to its actual value in the
   23603     # expansion.
   23604     for file in `sed -n "
   23605       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23606 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23607       # Make sure the directory exists.
   23608       test -f "$dirpart/$file" && continue
   23609       fdir=`$as_dirname -- "$file" ||
   23610 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23611 	 X"$file" : 'X\(//\)[^/]' \| \
   23612 	 X"$file" : 'X\(//\)$' \| \
   23613 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23614 $as_echo X"$file" |
   23615     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23616 	    s//\1/
   23617 	    q
   23618 	  }
   23619 	  /^X\(\/\/\)[^/].*/{
   23620 	    s//\1/
   23621 	    q
   23622 	  }
   23623 	  /^X\(\/\/\)$/{
   23624 	    s//\1/
   23625 	    q
   23626 	  }
   23627 	  /^X\(\/\).*/{
   23628 	    s//\1/
   23629 	    q
   23630 	  }
   23631 	  s/.*/./; q'`
   23632       { as_dir=$dirpart/$fdir
   23633   case $as_dir in #(
   23634   -*) as_dir=./$as_dir;;
   23635   esac
   23636   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23637     as_dirs=
   23638     while :; do
   23639       case $as_dir in #(
   23640       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23641       *) as_qdir=$as_dir;;
   23642       esac
   23643       as_dirs="'$as_qdir' $as_dirs"
   23644       as_dir=`$as_dirname -- "$as_dir" ||
   23645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23646 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23647 	 X"$as_dir" : 'X\(//\)$' \| \
   23648 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23649 $as_echo X"$as_dir" |
   23650     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23651 	    s//\1/
   23652 	    q
   23653 	  }
   23654 	  /^X\(\/\/\)[^/].*/{
   23655 	    s//\1/
   23656 	    q
   23657 	  }
   23658 	  /^X\(\/\/\)$/{
   23659 	    s//\1/
   23660 	    q
   23661 	  }
   23662 	  /^X\(\/\).*/{
   23663 	    s//\1/
   23664 	    q
   23665 	  }
   23666 	  s/.*/./; q'`
   23667       test -d "$as_dir" && break
   23668     done
   23669     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23670   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23671 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23672    { (exit 1); exit 1; }; }; }
   23673       # echo "creating $dirpart/$file"
   23674       echo '# dummy' > "$dirpart/$file"
   23675     done
   23676   done
   23677 }
   23678  ;;
   23679 
   23680   esac
   23681 done # for ac_tag
   23682 
   23683 
   23684 { (exit 0); exit 0; }
   23685 _ACEOF
   23686 chmod +x $CONFIG_STATUS
   23687 ac_clean_files=$ac_clean_files_save
   23688 
   23689 test $ac_write_fail = 0 ||
   23690   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23691 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23692    { (exit 1); exit 1; }; }
   23693 
   23694 
   23695 # configure is writing to config.log, and then calls config.status.
   23696 # config.status does its own redirection, appending to config.log.
   23697 # Unfortunately, on DOS this fails, as config.log is still kept open
   23698 # by configure, so config.status won't be able to write to it; its
   23699 # output is simply discarded.  So we exec the FD to /dev/null,
   23700 # effectively closing config.log, so it can be properly (re)opened and
   23701 # appended to by config.status.  When coming back to configure, we
   23702 # need to make the FD available again.
   23703 if test "$no_create" != yes; then
   23704   ac_cs_success=:
   23705   ac_config_status_args=
   23706   test "$silent" = yes &&
   23707     ac_config_status_args="$ac_config_status_args --quiet"
   23708   exec 5>/dev/null
   23709   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23710   exec 5>>config.log
   23711   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23712   # would make configure fail if this is the last instruction.
   23713   $ac_cs_success || { (exit 1); exit 1; }
   23714 fi
   23715 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23716   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23717 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23718 fi
   23719 
   23720