Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-vesa 2.2.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-vesa'
    752 PACKAGE_TARNAME='xf86-video-vesa'
    753 PACKAGE_VERSION='2.2.1'
    754 PACKAGE_STRING='xf86-video-vesa 2.2.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 INCLUDES
    812 XSERVER_LIBPCIACCESS_FALSE
    813 XSERVER_LIBPCIACCESS_TRUE
    814 PCIACCESS_LIBS
    815 PCIACCESS_CFLAGS
    816 HAVE_XEXTPROTO_71_FALSE
    817 HAVE_XEXTPROTO_71_TRUE
    818 XEXT_LIBS
    819 XEXT_CFLAGS
    820 XORG_LIBS
    821 XORG_CFLAGS
    822 PKG_CONFIG
    823 moduledir
    824 LIBTOOL
    825 ac_ct_F77
    826 FFLAGS
    827 F77
    828 CXXCPP
    829 am__fastdepCXX_FALSE
    830 am__fastdepCXX_TRUE
    831 CXXDEPMODE
    832 ac_ct_CXX
    833 CXXFLAGS
    834 CXX
    835 CPP
    836 NMEDIT
    837 DSYMUTIL
    838 RANLIB
    839 AR
    840 ECHO
    841 LN_S
    842 EGREP
    843 GREP
    844 SED
    845 am__fastdepCC_FALSE
    846 am__fastdepCC_TRUE
    847 CCDEPMODE
    848 AMDEPBACKSLASH
    849 AMDEP_FALSE
    850 AMDEP_TRUE
    851 am__quote
    852 am__include
    853 DEPDIR
    854 OBJEXT
    855 EXEEXT
    856 ac_ct_CC
    857 CPPFLAGS
    858 LDFLAGS
    859 CFLAGS
    860 CC
    861 host_os
    862 host_vendor
    863 host_cpu
    864 host
    865 build_os
    866 build_vendor
    867 build_cpu
    868 build
    869 MAINT
    870 MAINTAINER_MODE_FALSE
    871 MAINTAINER_MODE_TRUE
    872 am__untar
    873 am__tar
    874 AMTAR
    875 am__leading_dot
    876 SET_MAKE
    877 AWK
    878 mkdir_p
    879 MKDIR_P
    880 INSTALL_STRIP_PROGRAM
    881 STRIP
    882 install_sh
    883 MAKEINFO
    884 AUTOHEADER
    885 AUTOMAKE
    886 AUTOCONF
    887 ACLOCAL
    888 VERSION
    889 PACKAGE
    890 CYGPATH_W
    891 am__isrc
    892 INSTALL_DATA
    893 INSTALL_SCRIPT
    894 INSTALL_PROGRAM
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 ECHO_T
    900 ECHO_N
    901 ECHO_C
    902 DEFS
    903 mandir
    904 localedir
    905 libdir
    906 psdir
    907 pdfdir
    908 dvidir
    909 htmldir
    910 infodir
    911 docdir
    912 oldincludedir
    913 includedir
    914 localstatedir
    915 sharedstatedir
    916 sysconfdir
    917 datadir
    918 datarootdir
    919 libexecdir
    920 sbindir
    921 bindir
    922 program_transform_name
    923 prefix
    924 exec_prefix
    925 PACKAGE_BUGREPORT
    926 PACKAGE_STRING
    927 PACKAGE_VERSION
    928 PACKAGE_TARNAME
    929 PACKAGE_NAME
    930 PATH_SEPARATOR
    931 SHELL'
    932 ac_subst_files=''
    933 ac_user_opts='
    934 enable_option_checking
    935 enable_maintainer_mode
    936 enable_static
    937 enable_shared
    938 enable_fast_install
    939 enable_dependency_tracking
    940 with_gnu_ld
    941 enable_libtool_lock
    942 with_pic
    943 with_tags
    944 with_xorg_module_dir
    945 with_release_version
    946 '
    947       ac_precious_vars='build_alias
    948 host_alias
    949 target_alias
    950 CC
    951 CFLAGS
    952 LDFLAGS
    953 LIBS
    954 CPPFLAGS
    955 CPP
    956 CXX
    957 CXXFLAGS
    958 CCC
    959 CXXCPP
    960 F77
    961 FFLAGS
    962 PKG_CONFIG
    963 XORG_CFLAGS
    964 XORG_LIBS
    965 XEXT_CFLAGS
    966 XEXT_LIBS
    967 PCIACCESS_CFLAGS
    968 PCIACCESS_LIBS'
    969 
    970 
    971 # Initialize some variables set by options.
    972 ac_init_help=
    973 ac_init_version=false
    974 ac_unrecognized_opts=
    975 ac_unrecognized_sep=
    976 # The variables have the same names as the options, with
    977 # dashes changed to underlines.
    978 cache_file=/dev/null
    979 exec_prefix=NONE
    980 no_create=
    981 no_recursion=
    982 prefix=NONE
    983 program_prefix=NONE
    984 program_suffix=NONE
    985 program_transform_name=s,x,x,
    986 silent=
    987 site=
    988 srcdir=
    989 verbose=
    990 x_includes=NONE
    991 x_libraries=NONE
    992 
    993 # Installation directory options.
    994 # These are left unexpanded so users can "make install exec_prefix=/foo"
    995 # and all the variables that are supposed to be based on exec_prefix
    996 # by default will actually change.
    997 # Use braces instead of parens because sh, perl, etc. also accept them.
    998 # (The list follows the same order as the GNU Coding Standards.)
    999 bindir='${exec_prefix}/bin'
   1000 sbindir='${exec_prefix}/sbin'
   1001 libexecdir='${exec_prefix}/libexec'
   1002 datarootdir='${prefix}/share'
   1003 datadir='${datarootdir}'
   1004 sysconfdir='${prefix}/etc'
   1005 sharedstatedir='${prefix}/com'
   1006 localstatedir='${prefix}/var'
   1007 includedir='${prefix}/include'
   1008 oldincludedir='/usr/include'
   1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1010 infodir='${datarootdir}/info'
   1011 htmldir='${docdir}'
   1012 dvidir='${docdir}'
   1013 pdfdir='${docdir}'
   1014 psdir='${docdir}'
   1015 libdir='${exec_prefix}/lib'
   1016 localedir='${datarootdir}/locale'
   1017 mandir='${datarootdir}/man'
   1018 
   1019 ac_prev=
   1020 ac_dashdash=
   1021 for ac_option
   1022 do
   1023   # If the previous option needs an argument, assign it.
   1024   if test -n "$ac_prev"; then
   1025     eval $ac_prev=\$ac_option
   1026     ac_prev=
   1027     continue
   1028   fi
   1029 
   1030   case $ac_option in
   1031   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1032   *)	ac_optarg=yes ;;
   1033   esac
   1034 
   1035   # Accept the important Cygnus configure options, so we can diagnose typos.
   1036 
   1037   case $ac_dashdash$ac_option in
   1038   --)
   1039     ac_dashdash=yes ;;
   1040 
   1041   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1042     ac_prev=bindir ;;
   1043   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1044     bindir=$ac_optarg ;;
   1045 
   1046   -build | --build | --buil | --bui | --bu)
   1047     ac_prev=build_alias ;;
   1048   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1049     build_alias=$ac_optarg ;;
   1050 
   1051   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1052   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1053     ac_prev=cache_file ;;
   1054   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1055   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1056     cache_file=$ac_optarg ;;
   1057 
   1058   --config-cache | -C)
   1059     cache_file=config.cache ;;
   1060 
   1061   -datadir | --datadir | --datadi | --datad)
   1062     ac_prev=datadir ;;
   1063   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1064     datadir=$ac_optarg ;;
   1065 
   1066   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1067   | --dataroo | --dataro | --datar)
   1068     ac_prev=datarootdir ;;
   1069   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1070   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1071     datarootdir=$ac_optarg ;;
   1072 
   1073   -disable-* | --disable-*)
   1074     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1075     # Reject names that are not valid shell variable names.
   1076     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1077       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1078    { (exit 1); exit 1; }; }
   1079     ac_useropt_orig=$ac_useropt
   1080     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1081     case $ac_user_opts in
   1082       *"
   1083 "enable_$ac_useropt"
   1084 "*) ;;
   1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1086 	 ac_unrecognized_sep=', ';;
   1087     esac
   1088     eval enable_$ac_useropt=no ;;
   1089 
   1090   -docdir | --docdir | --docdi | --doc | --do)
   1091     ac_prev=docdir ;;
   1092   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1093     docdir=$ac_optarg ;;
   1094 
   1095   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1096     ac_prev=dvidir ;;
   1097   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1098     dvidir=$ac_optarg ;;
   1099 
   1100   -enable-* | --enable-*)
   1101     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1102     # Reject names that are not valid shell variable names.
   1103     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1104       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1105    { (exit 1); exit 1; }; }
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "enable_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval enable_$ac_useropt=\$ac_optarg ;;
   1116 
   1117   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1118   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1119   | --exec | --exe | --ex)
   1120     ac_prev=exec_prefix ;;
   1121   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1122   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1123   | --exec=* | --exe=* | --ex=*)
   1124     exec_prefix=$ac_optarg ;;
   1125 
   1126   -gas | --gas | --ga | --g)
   1127     # Obsolete; use --with-gas.
   1128     with_gas=yes ;;
   1129 
   1130   -help | --help | --hel | --he | -h)
   1131     ac_init_help=long ;;
   1132   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1133     ac_init_help=recursive ;;
   1134   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1135     ac_init_help=short ;;
   1136 
   1137   -host | --host | --hos | --ho)
   1138     ac_prev=host_alias ;;
   1139   -host=* | --host=* | --hos=* | --ho=*)
   1140     host_alias=$ac_optarg ;;
   1141 
   1142   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1143     ac_prev=htmldir ;;
   1144   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1145   | --ht=*)
   1146     htmldir=$ac_optarg ;;
   1147 
   1148   -includedir | --includedir | --includedi | --included | --include \
   1149   | --includ | --inclu | --incl | --inc)
   1150     ac_prev=includedir ;;
   1151   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1152   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1153     includedir=$ac_optarg ;;
   1154 
   1155   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1156     ac_prev=infodir ;;
   1157   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1158     infodir=$ac_optarg ;;
   1159 
   1160   -libdir | --libdir | --libdi | --libd)
   1161     ac_prev=libdir ;;
   1162   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1163     libdir=$ac_optarg ;;
   1164 
   1165   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1166   | --libexe | --libex | --libe)
   1167     ac_prev=libexecdir ;;
   1168   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1169   | --libexe=* | --libex=* | --libe=*)
   1170     libexecdir=$ac_optarg ;;
   1171 
   1172   -localedir | --localedir | --localedi | --localed | --locale)
   1173     ac_prev=localedir ;;
   1174   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1175     localedir=$ac_optarg ;;
   1176 
   1177   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1178   | --localstate | --localstat | --localsta | --localst | --locals)
   1179     ac_prev=localstatedir ;;
   1180   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1181   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1182     localstatedir=$ac_optarg ;;
   1183 
   1184   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1185     ac_prev=mandir ;;
   1186   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1187     mandir=$ac_optarg ;;
   1188 
   1189   -nfp | --nfp | --nf)
   1190     # Obsolete; use --without-fp.
   1191     with_fp=no ;;
   1192 
   1193   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1194   | --no-cr | --no-c | -n)
   1195     no_create=yes ;;
   1196 
   1197   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1198   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1199     no_recursion=yes ;;
   1200 
   1201   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1202   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1203   | --oldin | --oldi | --old | --ol | --o)
   1204     ac_prev=oldincludedir ;;
   1205   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1206   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1207   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1208     oldincludedir=$ac_optarg ;;
   1209 
   1210   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1211     ac_prev=prefix ;;
   1212   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1213     prefix=$ac_optarg ;;
   1214 
   1215   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1216   | --program-pre | --program-pr | --program-p)
   1217     ac_prev=program_prefix ;;
   1218   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1219   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1220     program_prefix=$ac_optarg ;;
   1221 
   1222   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1223   | --program-suf | --program-su | --program-s)
   1224     ac_prev=program_suffix ;;
   1225   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1226   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1227     program_suffix=$ac_optarg ;;
   1228 
   1229   -program-transform-name | --program-transform-name \
   1230   | --program-transform-nam | --program-transform-na \
   1231   | --program-transform-n | --program-transform- \
   1232   | --program-transform | --program-transfor \
   1233   | --program-transfo | --program-transf \
   1234   | --program-trans | --program-tran \
   1235   | --progr-tra | --program-tr | --program-t)
   1236     ac_prev=program_transform_name ;;
   1237   -program-transform-name=* | --program-transform-name=* \
   1238   | --program-transform-nam=* | --program-transform-na=* \
   1239   | --program-transform-n=* | --program-transform-=* \
   1240   | --program-transform=* | --program-transfor=* \
   1241   | --program-transfo=* | --program-transf=* \
   1242   | --program-trans=* | --program-tran=* \
   1243   | --progr-tra=* | --program-tr=* | --program-t=*)
   1244     program_transform_name=$ac_optarg ;;
   1245 
   1246   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1247     ac_prev=pdfdir ;;
   1248   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1249     pdfdir=$ac_optarg ;;
   1250 
   1251   -psdir | --psdir | --psdi | --psd | --ps)
   1252     ac_prev=psdir ;;
   1253   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1254     psdir=$ac_optarg ;;
   1255 
   1256   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1257   | -silent | --silent | --silen | --sile | --sil)
   1258     silent=yes ;;
   1259 
   1260   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1261     ac_prev=sbindir ;;
   1262   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1263   | --sbi=* | --sb=*)
   1264     sbindir=$ac_optarg ;;
   1265 
   1266   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1267   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1268   | --sharedst | --shareds | --shared | --share | --shar \
   1269   | --sha | --sh)
   1270     ac_prev=sharedstatedir ;;
   1271   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1272   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1273   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1274   | --sha=* | --sh=*)
   1275     sharedstatedir=$ac_optarg ;;
   1276 
   1277   -site | --site | --sit)
   1278     ac_prev=site ;;
   1279   -site=* | --site=* | --sit=*)
   1280     site=$ac_optarg ;;
   1281 
   1282   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1283     ac_prev=srcdir ;;
   1284   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1285     srcdir=$ac_optarg ;;
   1286 
   1287   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1288   | --syscon | --sysco | --sysc | --sys | --sy)
   1289     ac_prev=sysconfdir ;;
   1290   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1291   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1292     sysconfdir=$ac_optarg ;;
   1293 
   1294   -target | --target | --targe | --targ | --tar | --ta | --t)
   1295     ac_prev=target_alias ;;
   1296   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1297     target_alias=$ac_optarg ;;
   1298 
   1299   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1300     verbose=yes ;;
   1301 
   1302   -version | --version | --versio | --versi | --vers | -V)
   1303     ac_init_version=: ;;
   1304 
   1305   -with-* | --with-*)
   1306     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1307     # Reject names that are not valid shell variable names.
   1308     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1309       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1310    { (exit 1); exit 1; }; }
   1311     ac_useropt_orig=$ac_useropt
   1312     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1313     case $ac_user_opts in
   1314       *"
   1315 "with_$ac_useropt"
   1316 "*) ;;
   1317       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1318 	 ac_unrecognized_sep=', ';;
   1319     esac
   1320     eval with_$ac_useropt=\$ac_optarg ;;
   1321 
   1322   -without-* | --without-*)
   1323     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1324     # Reject names that are not valid shell variable names.
   1325     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1326       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1327    { (exit 1); exit 1; }; }
   1328     ac_useropt_orig=$ac_useropt
   1329     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1330     case $ac_user_opts in
   1331       *"
   1332 "with_$ac_useropt"
   1333 "*) ;;
   1334       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1335 	 ac_unrecognized_sep=', ';;
   1336     esac
   1337     eval with_$ac_useropt=no ;;
   1338 
   1339   --x)
   1340     # Obsolete; use --with-x.
   1341     with_x=yes ;;
   1342 
   1343   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1344   | --x-incl | --x-inc | --x-in | --x-i)
   1345     ac_prev=x_includes ;;
   1346   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1347   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1348     x_includes=$ac_optarg ;;
   1349 
   1350   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1351   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1352     ac_prev=x_libraries ;;
   1353   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1354   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1355     x_libraries=$ac_optarg ;;
   1356 
   1357   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1358 Try \`$0 --help' for more information." >&2
   1359    { (exit 1); exit 1; }; }
   1360     ;;
   1361 
   1362   *=*)
   1363     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1364     # Reject names that are not valid shell variable names.
   1365     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1366       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1367    { (exit 1); exit 1; }; }
   1368     eval $ac_envvar=\$ac_optarg
   1369     export $ac_envvar ;;
   1370 
   1371   *)
   1372     # FIXME: should be removed in autoconf 3.0.
   1373     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1374     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1375       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1376     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1377     ;;
   1378 
   1379   esac
   1380 done
   1381 
   1382 if test -n "$ac_prev"; then
   1383   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1384   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1385    { (exit 1); exit 1; }; }
   1386 fi
   1387 
   1388 if test -n "$ac_unrecognized_opts"; then
   1389   case $enable_option_checking in
   1390     no) ;;
   1391     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1392    { (exit 1); exit 1; }; } ;;
   1393     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1394   esac
   1395 fi
   1396 
   1397 # Check all directory arguments for consistency.
   1398 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1399 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1400 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1401 		libdir localedir mandir
   1402 do
   1403   eval ac_val=\$$ac_var
   1404   # Remove trailing slashes.
   1405   case $ac_val in
   1406     */ )
   1407       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1408       eval $ac_var=\$ac_val;;
   1409   esac
   1410   # Be sure to have absolute directory names.
   1411   case $ac_val in
   1412     [\\/$]* | ?:[\\/]* )  continue;;
   1413     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1414   esac
   1415   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1416    { (exit 1); exit 1; }; }
   1417 done
   1418 
   1419 # There might be people who depend on the old broken behavior: `$host'
   1420 # used to hold the argument of --host etc.
   1421 # FIXME: To remove some day.
   1422 build=$build_alias
   1423 host=$host_alias
   1424 target=$target_alias
   1425 
   1426 # FIXME: To remove some day.
   1427 if test "x$host_alias" != x; then
   1428   if test "x$build_alias" = x; then
   1429     cross_compiling=maybe
   1430     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1431     If a cross compiler is detected then cross compile mode will be used." >&2
   1432   elif test "x$build_alias" != "x$host_alias"; then
   1433     cross_compiling=yes
   1434   fi
   1435 fi
   1436 
   1437 ac_tool_prefix=
   1438 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1439 
   1440 test "$silent" = yes && exec 6>/dev/null
   1441 
   1442 
   1443 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1444 ac_ls_di=`ls -di .` &&
   1445 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1446   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1447    { (exit 1); exit 1; }; }
   1448 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1449   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1450    { (exit 1); exit 1; }; }
   1451 
   1452 
   1453 # Find the source files, if location was not specified.
   1454 if test -z "$srcdir"; then
   1455   ac_srcdir_defaulted=yes
   1456   # Try the directory containing this script, then the parent directory.
   1457   ac_confdir=`$as_dirname -- "$as_myself" ||
   1458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1459 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1460 	 X"$as_myself" : 'X\(//\)$' \| \
   1461 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1462 $as_echo X"$as_myself" |
   1463     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1464 	    s//\1/
   1465 	    q
   1466 	  }
   1467 	  /^X\(\/\/\)[^/].*/{
   1468 	    s//\1/
   1469 	    q
   1470 	  }
   1471 	  /^X\(\/\/\)$/{
   1472 	    s//\1/
   1473 	    q
   1474 	  }
   1475 	  /^X\(\/\).*/{
   1476 	    s//\1/
   1477 	    q
   1478 	  }
   1479 	  s/.*/./; q'`
   1480   srcdir=$ac_confdir
   1481   if test ! -r "$srcdir/$ac_unique_file"; then
   1482     srcdir=..
   1483   fi
   1484 else
   1485   ac_srcdir_defaulted=no
   1486 fi
   1487 if test ! -r "$srcdir/$ac_unique_file"; then
   1488   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1489   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1490    { (exit 1); exit 1; }; }
   1491 fi
   1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1493 ac_abs_confdir=`(
   1494 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1495    { (exit 1); exit 1; }; }
   1496 	pwd)`
   1497 # When building in place, set srcdir=.
   1498 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1499   srcdir=.
   1500 fi
   1501 # Remove unnecessary trailing slashes from srcdir.
   1502 # Double slashes in file names in object file debugging info
   1503 # mess up M-x gdb in Emacs.
   1504 case $srcdir in
   1505 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1506 esac
   1507 for ac_var in $ac_precious_vars; do
   1508   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1509   eval ac_env_${ac_var}_value=\$${ac_var}
   1510   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1511   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1512 done
   1513 
   1514 #
   1515 # Report the --help message.
   1516 #
   1517 if test "$ac_init_help" = "long"; then
   1518   # Omit some internal or obsolete options to make the list less imposing.
   1519   # This message is too long to be a string in the A/UX 3.1 sh.
   1520   cat <<_ACEOF
   1521 \`configure' configures xf86-video-vesa 2.2.1 to adapt to many kinds of systems.
   1522 
   1523 Usage: $0 [OPTION]... [VAR=VALUE]...
   1524 
   1525 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1526 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1527 
   1528 Defaults for the options are specified in brackets.
   1529 
   1530 Configuration:
   1531   -h, --help              display this help and exit
   1532       --help=short        display options specific to this package
   1533       --help=recursive    display the short help of all the included packages
   1534   -V, --version           display version information and exit
   1535   -q, --quiet, --silent   do not print \`checking...' messages
   1536       --cache-file=FILE   cache test results in FILE [disabled]
   1537   -C, --config-cache      alias for \`--cache-file=config.cache'
   1538   -n, --no-create         do not create output files
   1539       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1540 
   1541 Installation directories:
   1542   --prefix=PREFIX         install architecture-independent files in PREFIX
   1543                           [$ac_default_prefix]
   1544   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1545                           [PREFIX]
   1546 
   1547 By default, \`make install' will install all the files in
   1548 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1549 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1550 for instance \`--prefix=\$HOME'.
   1551 
   1552 For better control, use the options below.
   1553 
   1554 Fine tuning of the installation directories:
   1555   --bindir=DIR            user executables [EPREFIX/bin]
   1556   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1557   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1558   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1559   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1560   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1561   --libdir=DIR            object code libraries [EPREFIX/lib]
   1562   --includedir=DIR        C header files [PREFIX/include]
   1563   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1564   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1565   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1566   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1567   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1568   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1569   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-vesa]
   1570   --htmldir=DIR           html documentation [DOCDIR]
   1571   --dvidir=DIR            dvi documentation [DOCDIR]
   1572   --pdfdir=DIR            pdf documentation [DOCDIR]
   1573   --psdir=DIR             ps documentation [DOCDIR]
   1574 _ACEOF
   1575 
   1576   cat <<\_ACEOF
   1577 
   1578 Program names:
   1579   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1580   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1581   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1582 
   1583 System types:
   1584   --build=BUILD     configure for building on BUILD [guessed]
   1585   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1586 _ACEOF
   1587 fi
   1588 
   1589 if test -n "$ac_init_help"; then
   1590   case $ac_init_help in
   1591      short | recursive ) echo "Configuration of xf86-video-vesa 2.2.1:";;
   1592    esac
   1593   cat <<\_ACEOF
   1594 
   1595 Optional Features:
   1596   --disable-option-checking  ignore unrecognized --enable/--with options
   1597   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1598   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1599   --enable-maintainer-mode  enable make rules and dependencies not useful
   1600 			  (and sometimes confusing) to the casual installer
   1601   --enable-static[=PKGS]  build static libraries [default=no]
   1602   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1603   --enable-fast-install[=PKGS]
   1604                           optimize for fast installation [default=yes]
   1605   --disable-dependency-tracking  speeds up one-time build
   1606   --enable-dependency-tracking   do not reject slow dependency extractors
   1607   --disable-libtool-lock  avoid locking (might break parallel builds)
   1608 
   1609 Optional Packages:
   1610   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1611   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1612   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1613   --with-pic              try to use only PIC/non-PIC objects [default=use
   1614                           both]
   1615   --with-tags[=TAGS]      include additional configurations [automatic]
   1616   --with-xorg-module-dir=DIR
   1617   --with-release-version=STRING
   1618                           Use release version string in package name
   1619 
   1620 Some influential environment variables:
   1621   CC          C compiler command
   1622   CFLAGS      C compiler flags
   1623   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1624               nonstandard directory <lib dir>
   1625   LIBS        libraries to pass to the linker, e.g. -l<library>
   1626   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1627               you have headers in a nonstandard directory <include dir>
   1628   CPP         C preprocessor
   1629   CXX         C++ compiler command
   1630   CXXFLAGS    C++ compiler flags
   1631   CXXCPP      C++ preprocessor
   1632   F77         Fortran 77 compiler command
   1633   FFLAGS      Fortran 77 compiler flags
   1634   PKG_CONFIG  path to pkg-config utility
   1635   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1636   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1637   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1638   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1639   PCIACCESS_CFLAGS
   1640               C compiler flags for PCIACCESS, overriding pkg-config
   1641   PCIACCESS_LIBS
   1642               linker flags for PCIACCESS, overriding pkg-config
   1643 
   1644 Use these variables to override the choices made by `configure' or to help
   1645 it to find libraries and programs with nonstandard names/locations.
   1646 
   1647 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1648 _ACEOF
   1649 ac_status=$?
   1650 fi
   1651 
   1652 if test "$ac_init_help" = "recursive"; then
   1653   # If there are subdirs, report their specific --help.
   1654   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1655     test -d "$ac_dir" ||
   1656       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1657       continue
   1658     ac_builddir=.
   1659 
   1660 case "$ac_dir" in
   1661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1662 *)
   1663   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1664   # A ".." for each directory in $ac_dir_suffix.
   1665   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1666   case $ac_top_builddir_sub in
   1667   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1668   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1669   esac ;;
   1670 esac
   1671 ac_abs_top_builddir=$ac_pwd
   1672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1673 # for backward compatibility:
   1674 ac_top_builddir=$ac_top_build_prefix
   1675 
   1676 case $srcdir in
   1677   .)  # We are building in place.
   1678     ac_srcdir=.
   1679     ac_top_srcdir=$ac_top_builddir_sub
   1680     ac_abs_top_srcdir=$ac_pwd ;;
   1681   [\\/]* | ?:[\\/]* )  # Absolute name.
   1682     ac_srcdir=$srcdir$ac_dir_suffix;
   1683     ac_top_srcdir=$srcdir
   1684     ac_abs_top_srcdir=$srcdir ;;
   1685   *) # Relative name.
   1686     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1687     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1688     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1689 esac
   1690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1691 
   1692     cd "$ac_dir" || { ac_status=$?; continue; }
   1693     # Check for guested configure.
   1694     if test -f "$ac_srcdir/configure.gnu"; then
   1695       echo &&
   1696       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1697     elif test -f "$ac_srcdir/configure"; then
   1698       echo &&
   1699       $SHELL "$ac_srcdir/configure" --help=recursive
   1700     else
   1701       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1702     fi || ac_status=$?
   1703     cd "$ac_pwd" || { ac_status=$?; break; }
   1704   done
   1705 fi
   1706 
   1707 test -n "$ac_init_help" && exit $ac_status
   1708 if $ac_init_version; then
   1709   cat <<\_ACEOF
   1710 xf86-video-vesa configure 2.2.1
   1711 generated by GNU Autoconf 2.63
   1712 
   1713 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1714 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1715 This configure script is free software; the Free Software Foundation
   1716 gives unlimited permission to copy, distribute and modify it.
   1717 _ACEOF
   1718   exit
   1719 fi
   1720 cat >config.log <<_ACEOF
   1721 This file contains any messages produced by compilers while
   1722 running configure, to aid debugging if configure makes a mistake.
   1723 
   1724 It was created by xf86-video-vesa $as_me 2.2.1, which was
   1725 generated by GNU Autoconf 2.63.  Invocation command line was
   1726 
   1727   $ $0 $@
   1728 
   1729 _ACEOF
   1730 exec 5>>config.log
   1731 {
   1732 cat <<_ASUNAME
   1733 ## --------- ##
   1734 ## Platform. ##
   1735 ## --------- ##
   1736 
   1737 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1738 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1739 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1740 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1741 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1742 
   1743 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1744 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1745 
   1746 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1747 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1748 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1749 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1750 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1751 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1752 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1753 
   1754 _ASUNAME
   1755 
   1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1757 for as_dir in $PATH
   1758 do
   1759   IFS=$as_save_IFS
   1760   test -z "$as_dir" && as_dir=.
   1761   $as_echo "PATH: $as_dir"
   1762 done
   1763 IFS=$as_save_IFS
   1764 
   1765 } >&5
   1766 
   1767 cat >&5 <<_ACEOF
   1768 
   1769 
   1770 ## ----------- ##
   1771 ## Core tests. ##
   1772 ## ----------- ##
   1773 
   1774 _ACEOF
   1775 
   1776 
   1777 # Keep a trace of the command line.
   1778 # Strip out --no-create and --no-recursion so they do not pile up.
   1779 # Strip out --silent because we don't want to record it for future runs.
   1780 # Also quote any args containing shell meta-characters.
   1781 # Make two passes to allow for proper duplicate-argument suppression.
   1782 ac_configure_args=
   1783 ac_configure_args0=
   1784 ac_configure_args1=
   1785 ac_must_keep_next=false
   1786 for ac_pass in 1 2
   1787 do
   1788   for ac_arg
   1789   do
   1790     case $ac_arg in
   1791     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1792     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1793     | -silent | --silent | --silen | --sile | --sil)
   1794       continue ;;
   1795     *\'*)
   1796       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1797     esac
   1798     case $ac_pass in
   1799     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1800     2)
   1801       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1802       if test $ac_must_keep_next = true; then
   1803 	ac_must_keep_next=false # Got value, back to normal.
   1804       else
   1805 	case $ac_arg in
   1806 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1807 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1808 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1809 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1810 	    case "$ac_configure_args0 " in
   1811 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1812 	    esac
   1813 	    ;;
   1814 	  -* ) ac_must_keep_next=true ;;
   1815 	esac
   1816       fi
   1817       ac_configure_args="$ac_configure_args '$ac_arg'"
   1818       ;;
   1819     esac
   1820   done
   1821 done
   1822 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1823 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1824 
   1825 # When interrupted or exit'd, cleanup temporary files, and complete
   1826 # config.log.  We remove comments because anyway the quotes in there
   1827 # would cause problems or look ugly.
   1828 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1829 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1830 trap 'exit_status=$?
   1831   # Save into config.log some information that might help in debugging.
   1832   {
   1833     echo
   1834 
   1835     cat <<\_ASBOX
   1836 ## ---------------- ##
   1837 ## Cache variables. ##
   1838 ## ---------------- ##
   1839 _ASBOX
   1840     echo
   1841     # The following way of writing the cache mishandles newlines in values,
   1842 (
   1843   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1844     eval ac_val=\$$ac_var
   1845     case $ac_val in #(
   1846     *${as_nl}*)
   1847       case $ac_var in #(
   1848       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1849 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1850       esac
   1851       case $ac_var in #(
   1852       _ | IFS | as_nl) ;; #(
   1853       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1854       *) $as_unset $ac_var ;;
   1855       esac ;;
   1856     esac
   1857   done
   1858   (set) 2>&1 |
   1859     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1860     *${as_nl}ac_space=\ *)
   1861       sed -n \
   1862 	"s/'\''/'\''\\\\'\'''\''/g;
   1863 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1864       ;; #(
   1865     *)
   1866       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1867       ;;
   1868     esac |
   1869     sort
   1870 )
   1871     echo
   1872 
   1873     cat <<\_ASBOX
   1874 ## ----------------- ##
   1875 ## Output variables. ##
   1876 ## ----------------- ##
   1877 _ASBOX
   1878     echo
   1879     for ac_var in $ac_subst_vars
   1880     do
   1881       eval ac_val=\$$ac_var
   1882       case $ac_val in
   1883       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1884       esac
   1885       $as_echo "$ac_var='\''$ac_val'\''"
   1886     done | sort
   1887     echo
   1888 
   1889     if test -n "$ac_subst_files"; then
   1890       cat <<\_ASBOX
   1891 ## ------------------- ##
   1892 ## File substitutions. ##
   1893 ## ------------------- ##
   1894 _ASBOX
   1895       echo
   1896       for ac_var in $ac_subst_files
   1897       do
   1898 	eval ac_val=\$$ac_var
   1899 	case $ac_val in
   1900 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1901 	esac
   1902 	$as_echo "$ac_var='\''$ac_val'\''"
   1903       done | sort
   1904       echo
   1905     fi
   1906 
   1907     if test -s confdefs.h; then
   1908       cat <<\_ASBOX
   1909 ## ----------- ##
   1910 ## confdefs.h. ##
   1911 ## ----------- ##
   1912 _ASBOX
   1913       echo
   1914       cat confdefs.h
   1915       echo
   1916     fi
   1917     test "$ac_signal" != 0 &&
   1918       $as_echo "$as_me: caught signal $ac_signal"
   1919     $as_echo "$as_me: exit $exit_status"
   1920   } >&5
   1921   rm -f core *.core core.conftest.* &&
   1922     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1923     exit $exit_status
   1924 ' 0
   1925 for ac_signal in 1 2 13 15; do
   1926   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1927 done
   1928 ac_signal=0
   1929 
   1930 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1931 rm -f -r conftest* confdefs.h
   1932 
   1933 # Predefined preprocessor variables.
   1934 
   1935 cat >>confdefs.h <<_ACEOF
   1936 #define PACKAGE_NAME "$PACKAGE_NAME"
   1937 _ACEOF
   1938 
   1939 
   1940 cat >>confdefs.h <<_ACEOF
   1941 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1942 _ACEOF
   1943 
   1944 
   1945 cat >>confdefs.h <<_ACEOF
   1946 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1947 _ACEOF
   1948 
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_STRING "$PACKAGE_STRING"
   1952 _ACEOF
   1953 
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1957 _ACEOF
   1958 
   1959 
   1960 # Let the site file select an alternate cache file if it wants to.
   1961 # Prefer an explicitly selected file to automatically selected ones.
   1962 ac_site_file1=NONE
   1963 ac_site_file2=NONE
   1964 if test -n "$CONFIG_SITE"; then
   1965   ac_site_file1=$CONFIG_SITE
   1966 elif test "x$prefix" != xNONE; then
   1967   ac_site_file1=$prefix/share/config.site
   1968   ac_site_file2=$prefix/etc/config.site
   1969 else
   1970   ac_site_file1=$ac_default_prefix/share/config.site
   1971   ac_site_file2=$ac_default_prefix/etc/config.site
   1972 fi
   1973 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1974 do
   1975   test "x$ac_site_file" = xNONE && continue
   1976   if test -r "$ac_site_file"; then
   1977     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1978 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1979     sed 's/^/| /' "$ac_site_file" >&5
   1980     . "$ac_site_file"
   1981   fi
   1982 done
   1983 
   1984 if test -r "$cache_file"; then
   1985   # Some versions of bash will fail to source /dev/null (special
   1986   # files actually), so we avoid doing that.
   1987   if test -f "$cache_file"; then
   1988     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1989 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1990     case $cache_file in
   1991       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1992       *)                      . "./$cache_file";;
   1993     esac
   1994   fi
   1995 else
   1996   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1997 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1998   >$cache_file
   1999 fi
   2000 
   2001 # Check that the precious variables saved in the cache have kept the same
   2002 # value.
   2003 ac_cache_corrupted=false
   2004 for ac_var in $ac_precious_vars; do
   2005   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2006   eval ac_new_set=\$ac_env_${ac_var}_set
   2007   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2008   eval ac_new_val=\$ac_env_${ac_var}_value
   2009   case $ac_old_set,$ac_new_set in
   2010     set,)
   2011       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2012 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2013       ac_cache_corrupted=: ;;
   2014     ,set)
   2015       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2016 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2017       ac_cache_corrupted=: ;;
   2018     ,);;
   2019     *)
   2020       if test "x$ac_old_val" != "x$ac_new_val"; then
   2021 	# differences in whitespace do not lead to failure.
   2022 	ac_old_val_w=`echo x $ac_old_val`
   2023 	ac_new_val_w=`echo x $ac_new_val`
   2024 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2025 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2026 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2027 	  ac_cache_corrupted=:
   2028 	else
   2029 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2030 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2031 	  eval $ac_var=\$ac_old_val
   2032 	fi
   2033 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2034 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2035 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2036 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2037       fi;;
   2038   esac
   2039   # Pass precious variables to config.status.
   2040   if test "$ac_new_set" = set; then
   2041     case $ac_new_val in
   2042     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2043     *) ac_arg=$ac_var=$ac_new_val ;;
   2044     esac
   2045     case " $ac_configure_args " in
   2046       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2047       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2048     esac
   2049   fi
   2050 done
   2051 if $ac_cache_corrupted; then
   2052   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2054   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2055 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2056   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2057 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2058    { (exit 1); exit 1; }; }
   2059 fi
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 ac_ext=c
   2086 ac_cpp='$CPP $CPPFLAGS'
   2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2090 
   2091 
   2092 
   2093 
   2094 ac_config_headers="$ac_config_headers config.h"
   2095 
   2096 ac_aux_dir=
   2097 for ac_dir in . "$srcdir"/.; do
   2098   if test -f "$ac_dir/install-sh"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/install-sh -c"
   2101     break
   2102   elif test -f "$ac_dir/install.sh"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/install.sh -c"
   2105     break
   2106   elif test -f "$ac_dir/shtool"; then
   2107     ac_aux_dir=$ac_dir
   2108     ac_install_sh="$ac_aux_dir/shtool install -c"
   2109     break
   2110   fi
   2111 done
   2112 if test -z "$ac_aux_dir"; then
   2113   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2114 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2115    { (exit 1); exit 1; }; }
   2116 fi
   2117 
   2118 # These three variables are undocumented and unsupported,
   2119 # and are intended to be withdrawn in a future Autoconf release.
   2120 # They can cause serious problems if a builder's source tree is in a directory
   2121 # whose full name contains unusual characters.
   2122 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2123 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2124 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2125 
   2126 
   2127 
   2128 am__api_version='1.11'
   2129 
   2130 # Find a good install program.  We prefer a C program (faster),
   2131 # so one script is as good as another.  But avoid the broken or
   2132 # incompatible versions:
   2133 # SysV /etc/install, /usr/sbin/install
   2134 # SunOS /usr/etc/install
   2135 # IRIX /sbin/install
   2136 # AIX /bin/install
   2137 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2138 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2139 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2140 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2141 # OS/2's system install, which has a completely different semantic
   2142 # ./install, which can be erroneously created by make from ./install.sh.
   2143 # Reject install programs that cannot install multiple files.
   2144 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2145 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2146 if test -z "$INSTALL"; then
   2147 if test "${ac_cv_path_install+set}" = set; then
   2148   $as_echo_n "(cached) " >&6
   2149 else
   2150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2151 for as_dir in $PATH
   2152 do
   2153   IFS=$as_save_IFS
   2154   test -z "$as_dir" && as_dir=.
   2155   # Account for people who put trailing slashes in PATH elements.
   2156 case $as_dir/ in
   2157   ./ | .// | /cC/* | \
   2158   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2159   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2160   /usr/ucb/* ) ;;
   2161   *)
   2162     # OSF1 and SCO ODT 3.0 have their own names for install.
   2163     # Don't use installbsd from OSF since it installs stuff as root
   2164     # by default.
   2165     for ac_prog in ginstall scoinst install; do
   2166       for ac_exec_ext in '' $ac_executable_extensions; do
   2167 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2168 	  if test $ac_prog = install &&
   2169 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2170 	    # AIX install.  It has an incompatible calling convention.
   2171 	    :
   2172 	  elif test $ac_prog = install &&
   2173 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2174 	    # program-specific install script used by HP pwplus--don't use.
   2175 	    :
   2176 	  else
   2177 	    rm -rf conftest.one conftest.two conftest.dir
   2178 	    echo one > conftest.one
   2179 	    echo two > conftest.two
   2180 	    mkdir conftest.dir
   2181 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2182 	      test -s conftest.one && test -s conftest.two &&
   2183 	      test -s conftest.dir/conftest.one &&
   2184 	      test -s conftest.dir/conftest.two
   2185 	    then
   2186 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2187 	      break 3
   2188 	    fi
   2189 	  fi
   2190 	fi
   2191       done
   2192     done
   2193     ;;
   2194 esac
   2195 
   2196 done
   2197 IFS=$as_save_IFS
   2198 
   2199 rm -rf conftest.one conftest.two conftest.dir
   2200 
   2201 fi
   2202   if test "${ac_cv_path_install+set}" = set; then
   2203     INSTALL=$ac_cv_path_install
   2204   else
   2205     # As a last resort, use the slow shell script.  Don't cache a
   2206     # value for INSTALL within a source directory, because that will
   2207     # break other packages using the cache if that directory is
   2208     # removed, or if the value is a relative name.
   2209     INSTALL=$ac_install_sh
   2210   fi
   2211 fi
   2212 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2213 $as_echo "$INSTALL" >&6; }
   2214 
   2215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2216 # It thinks the first close brace ends the variable substitution.
   2217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2218 
   2219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2220 
   2221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2222 
   2223 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2224 $as_echo_n "checking whether build environment is sane... " >&6; }
   2225 # Just in case
   2226 sleep 1
   2227 echo timestamp > conftest.file
   2228 # Reject unsafe characters in $srcdir or the absolute working directory
   2229 # name.  Accept space and tab only in the latter.
   2230 am_lf='
   2231 '
   2232 case `pwd` in
   2233   *[\\\"\#\$\&\'\`$am_lf]*)
   2234     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2235 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2236    { (exit 1); exit 1; }; };;
   2237 esac
   2238 case $srcdir in
   2239   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2240     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2241 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2242    { (exit 1); exit 1; }; };;
   2243 esac
   2244 
   2245 # Do `set' in a subshell so we don't clobber the current shell's
   2246 # arguments.  Must try -L first in case configure is actually a
   2247 # symlink; some systems play weird games with the mod time of symlinks
   2248 # (eg FreeBSD returns the mod time of the symlink's containing
   2249 # directory).
   2250 if (
   2251    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2252    if test "$*" = "X"; then
   2253       # -L didn't work.
   2254       set X `ls -t "$srcdir/configure" conftest.file`
   2255    fi
   2256    rm -f conftest.file
   2257    if test "$*" != "X $srcdir/configure conftest.file" \
   2258       && test "$*" != "X conftest.file $srcdir/configure"; then
   2259 
   2260       # If neither matched, then we have a broken ls.  This can happen
   2261       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2262       # broken ls alias from the environment.  This has actually
   2263       # happened.  Such a system could not be considered "sane".
   2264       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2265 alias in your environment" >&5
   2266 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2267 alias in your environment" >&2;}
   2268    { (exit 1); exit 1; }; }
   2269    fi
   2270 
   2271    test "$2" = conftest.file
   2272    )
   2273 then
   2274    # Ok.
   2275    :
   2276 else
   2277    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2278 Check your system clock" >&5
   2279 $as_echo "$as_me: error: newly created file is older than distributed files!
   2280 Check your system clock" >&2;}
   2281    { (exit 1); exit 1; }; }
   2282 fi
   2283 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2284 $as_echo "yes" >&6; }
   2285 test "$program_prefix" != NONE &&
   2286   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2287 # Use a double $ so make ignores it.
   2288 test "$program_suffix" != NONE &&
   2289   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2290 # Double any \ or $.
   2291 # By default was `s,x,x', remove it if useless.
   2292 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2293 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2294 
   2295 # expand $ac_aux_dir to an absolute path
   2296 am_aux_dir=`cd $ac_aux_dir && pwd`
   2297 
   2298 if test x"${MISSING+set}" != xset; then
   2299   case $am_aux_dir in
   2300   *\ * | *\	*)
   2301     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2302   *)
   2303     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2304   esac
   2305 fi
   2306 # Use eval to expand $SHELL
   2307 if eval "$MISSING --run true"; then
   2308   am_missing_run="$MISSING --run "
   2309 else
   2310   am_missing_run=
   2311   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2312 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2313 fi
   2314 
   2315 if test x"${install_sh}" != xset; then
   2316   case $am_aux_dir in
   2317   *\ * | *\	*)
   2318     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2319   *)
   2320     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2321   esac
   2322 fi
   2323 
   2324 # Installed binaries are usually stripped using `strip' when the user
   2325 # run `make install-strip'.  However `strip' might not be the right
   2326 # tool to use in cross-compilation environments, therefore Automake
   2327 # will honor the `STRIP' environment variable to overrule this program.
   2328 if test "$cross_compiling" != no; then
   2329   if test -n "$ac_tool_prefix"; then
   2330   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2331 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2332 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2333 $as_echo_n "checking for $ac_word... " >&6; }
   2334 if test "${ac_cv_prog_STRIP+set}" = set; then
   2335   $as_echo_n "(cached) " >&6
   2336 else
   2337   if test -n "$STRIP"; then
   2338   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2339 else
   2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2341 for as_dir in $PATH
   2342 do
   2343   IFS=$as_save_IFS
   2344   test -z "$as_dir" && as_dir=.
   2345   for ac_exec_ext in '' $ac_executable_extensions; do
   2346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2347     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2348     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2349     break 2
   2350   fi
   2351 done
   2352 done
   2353 IFS=$as_save_IFS
   2354 
   2355 fi
   2356 fi
   2357 STRIP=$ac_cv_prog_STRIP
   2358 if test -n "$STRIP"; then
   2359   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2360 $as_echo "$STRIP" >&6; }
   2361 else
   2362   { $as_echo "$as_me:$LINENO: result: no" >&5
   2363 $as_echo "no" >&6; }
   2364 fi
   2365 
   2366 
   2367 fi
   2368 if test -z "$ac_cv_prog_STRIP"; then
   2369   ac_ct_STRIP=$STRIP
   2370   # Extract the first word of "strip", so it can be a program name with args.
   2371 set dummy strip; ac_word=$2
   2372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2373 $as_echo_n "checking for $ac_word... " >&6; }
   2374 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2375   $as_echo_n "(cached) " >&6
   2376 else
   2377   if test -n "$ac_ct_STRIP"; then
   2378   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2379 else
   2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2381 for as_dir in $PATH
   2382 do
   2383   IFS=$as_save_IFS
   2384   test -z "$as_dir" && as_dir=.
   2385   for ac_exec_ext in '' $ac_executable_extensions; do
   2386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2387     ac_cv_prog_ac_ct_STRIP="strip"
   2388     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2389     break 2
   2390   fi
   2391 done
   2392 done
   2393 IFS=$as_save_IFS
   2394 
   2395 fi
   2396 fi
   2397 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2398 if test -n "$ac_ct_STRIP"; then
   2399   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2400 $as_echo "$ac_ct_STRIP" >&6; }
   2401 else
   2402   { $as_echo "$as_me:$LINENO: result: no" >&5
   2403 $as_echo "no" >&6; }
   2404 fi
   2405 
   2406   if test "x$ac_ct_STRIP" = x; then
   2407     STRIP=":"
   2408   else
   2409     case $cross_compiling:$ac_tool_warned in
   2410 yes:)
   2411 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2413 ac_tool_warned=yes ;;
   2414 esac
   2415     STRIP=$ac_ct_STRIP
   2416   fi
   2417 else
   2418   STRIP="$ac_cv_prog_STRIP"
   2419 fi
   2420 
   2421 fi
   2422 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2423 
   2424 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2425 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2426 if test -z "$MKDIR_P"; then
   2427   if test "${ac_cv_path_mkdir+set}" = set; then
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2431 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2432 do
   2433   IFS=$as_save_IFS
   2434   test -z "$as_dir" && as_dir=.
   2435   for ac_prog in mkdir gmkdir; do
   2436 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2437 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2438 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2439 	     'mkdir (GNU coreutils) '* | \
   2440 	     'mkdir (coreutils) '* | \
   2441 	     'mkdir (fileutils) '4.1*)
   2442 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2443 	       break 3;;
   2444 	   esac
   2445 	 done
   2446        done
   2447 done
   2448 IFS=$as_save_IFS
   2449 
   2450 fi
   2451 
   2452   if test "${ac_cv_path_mkdir+set}" = set; then
   2453     MKDIR_P="$ac_cv_path_mkdir -p"
   2454   else
   2455     # As a last resort, use the slow shell script.  Don't cache a
   2456     # value for MKDIR_P within a source directory, because that will
   2457     # break other packages using the cache if that directory is
   2458     # removed, or if the value is a relative name.
   2459     test -d ./--version && rmdir ./--version
   2460     MKDIR_P="$ac_install_sh -d"
   2461   fi
   2462 fi
   2463 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2464 $as_echo "$MKDIR_P" >&6; }
   2465 
   2466 mkdir_p="$MKDIR_P"
   2467 case $mkdir_p in
   2468   [\\/$]* | ?:[\\/]*) ;;
   2469   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2470 esac
   2471 
   2472 for ac_prog in gawk mawk nawk awk
   2473 do
   2474   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2475 set dummy $ac_prog; ac_word=$2
   2476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2477 $as_echo_n "checking for $ac_word... " >&6; }
   2478 if test "${ac_cv_prog_AWK+set}" = set; then
   2479   $as_echo_n "(cached) " >&6
   2480 else
   2481   if test -n "$AWK"; then
   2482   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2483 else
   2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2485 for as_dir in $PATH
   2486 do
   2487   IFS=$as_save_IFS
   2488   test -z "$as_dir" && as_dir=.
   2489   for ac_exec_ext in '' $ac_executable_extensions; do
   2490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2491     ac_cv_prog_AWK="$ac_prog"
   2492     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2493     break 2
   2494   fi
   2495 done
   2496 done
   2497 IFS=$as_save_IFS
   2498 
   2499 fi
   2500 fi
   2501 AWK=$ac_cv_prog_AWK
   2502 if test -n "$AWK"; then
   2503   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2504 $as_echo "$AWK" >&6; }
   2505 else
   2506   { $as_echo "$as_me:$LINENO: result: no" >&5
   2507 $as_echo "no" >&6; }
   2508 fi
   2509 
   2510 
   2511   test -n "$AWK" && break
   2512 done
   2513 
   2514 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2515 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2516 set x ${MAKE-make}
   2517 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2518 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2519   $as_echo_n "(cached) " >&6
   2520 else
   2521   cat >conftest.make <<\_ACEOF
   2522 SHELL = /bin/sh
   2523 all:
   2524 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2525 _ACEOF
   2526 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2527 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2528   *@@@%%%=?*=@@@%%%*)
   2529     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2530   *)
   2531     eval ac_cv_prog_make_${ac_make}_set=no;;
   2532 esac
   2533 rm -f conftest.make
   2534 fi
   2535 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2536   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2537 $as_echo "yes" >&6; }
   2538   SET_MAKE=
   2539 else
   2540   { $as_echo "$as_me:$LINENO: result: no" >&5
   2541 $as_echo "no" >&6; }
   2542   SET_MAKE="MAKE=${MAKE-make}"
   2543 fi
   2544 
   2545 rm -rf .tst 2>/dev/null
   2546 mkdir .tst 2>/dev/null
   2547 if test -d .tst; then
   2548   am__leading_dot=.
   2549 else
   2550   am__leading_dot=_
   2551 fi
   2552 rmdir .tst 2>/dev/null
   2553 
   2554 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2555   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2556   # is not polluted with repeated "-I."
   2557   am__isrc=' -I$(srcdir)'
   2558   # test to see if srcdir already configured
   2559   if test -f $srcdir/config.status; then
   2560     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2561 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2562    { (exit 1); exit 1; }; }
   2563   fi
   2564 fi
   2565 
   2566 # test whether we have cygpath
   2567 if test -z "$CYGPATH_W"; then
   2568   if (cygpath --version) >/dev/null 2>/dev/null; then
   2569     CYGPATH_W='cygpath -w'
   2570   else
   2571     CYGPATH_W=echo
   2572   fi
   2573 fi
   2574 
   2575 
   2576 # Define the identity of the package.
   2577  PACKAGE='xf86-video-vesa'
   2578  VERSION='2.2.1'
   2579 
   2580 
   2581 cat >>confdefs.h <<_ACEOF
   2582 #define PACKAGE "$PACKAGE"
   2583 _ACEOF
   2584 
   2585 
   2586 cat >>confdefs.h <<_ACEOF
   2587 #define VERSION "$VERSION"
   2588 _ACEOF
   2589 
   2590 # Some tools Automake needs.
   2591 
   2592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2593 
   2594 
   2595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2596 
   2597 
   2598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2599 
   2600 
   2601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2602 
   2603 
   2604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2605 
   2606 # We need awk for the "check" target.  The system "awk" is bad on
   2607 # some platforms.
   2608 # Always define AMTAR for backward compatibility.
   2609 
   2610 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2611 
   2612 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2613 
   2614 
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2621 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2622     # Check whether --enable-maintainer-mode was given.
   2623 if test "${enable_maintainer_mode+set}" = set; then
   2624   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2625 else
   2626   USE_MAINTAINER_MODE=no
   2627 fi
   2628 
   2629   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2630 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2631    if test $USE_MAINTAINER_MODE = yes; then
   2632   MAINTAINER_MODE_TRUE=
   2633   MAINTAINER_MODE_FALSE='#'
   2634 else
   2635   MAINTAINER_MODE_TRUE='#'
   2636   MAINTAINER_MODE_FALSE=
   2637 fi
   2638 
   2639   MAINT=$MAINTAINER_MODE_TRUE
   2640 
   2641 
   2642 
   2643 # Checks for programs.
   2644 # Check whether --enable-static was given.
   2645 if test "${enable_static+set}" = set; then
   2646   enableval=$enable_static; p=${PACKAGE-default}
   2647     case $enableval in
   2648     yes) enable_static=yes ;;
   2649     no) enable_static=no ;;
   2650     *)
   2651      enable_static=no
   2652       # Look at the argument we got.  We use all the common list separators.
   2653       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2654       for pkg in $enableval; do
   2655 	IFS="$lt_save_ifs"
   2656 	if test "X$pkg" = "X$p"; then
   2657 	  enable_static=yes
   2658 	fi
   2659       done
   2660       IFS="$lt_save_ifs"
   2661       ;;
   2662     esac
   2663 else
   2664   enable_static=no
   2665 fi
   2666 
   2667 
   2668 
   2669 # Check whether --enable-shared was given.
   2670 if test "${enable_shared+set}" = set; then
   2671   enableval=$enable_shared; p=${PACKAGE-default}
   2672     case $enableval in
   2673     yes) enable_shared=yes ;;
   2674     no) enable_shared=no ;;
   2675     *)
   2676       enable_shared=no
   2677       # Look at the argument we got.  We use all the common list separators.
   2678       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2679       for pkg in $enableval; do
   2680 	IFS="$lt_save_ifs"
   2681 	if test "X$pkg" = "X$p"; then
   2682 	  enable_shared=yes
   2683 	fi
   2684       done
   2685       IFS="$lt_save_ifs"
   2686       ;;
   2687     esac
   2688 else
   2689   enable_shared=yes
   2690 fi
   2691 
   2692 
   2693 # Check whether --enable-fast-install was given.
   2694 if test "${enable_fast_install+set}" = set; then
   2695   enableval=$enable_fast_install; p=${PACKAGE-default}
   2696     case $enableval in
   2697     yes) enable_fast_install=yes ;;
   2698     no) enable_fast_install=no ;;
   2699     *)
   2700       enable_fast_install=no
   2701       # Look at the argument we got.  We use all the common list separators.
   2702       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2703       for pkg in $enableval; do
   2704 	IFS="$lt_save_ifs"
   2705 	if test "X$pkg" = "X$p"; then
   2706 	  enable_fast_install=yes
   2707 	fi
   2708       done
   2709       IFS="$lt_save_ifs"
   2710       ;;
   2711     esac
   2712 else
   2713   enable_fast_install=yes
   2714 fi
   2715 
   2716 
   2717 # Make sure we can run config.sub.
   2718 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2719   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2720 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2721    { (exit 1); exit 1; }; }
   2722 
   2723 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2724 $as_echo_n "checking build system type... " >&6; }
   2725 if test "${ac_cv_build+set}" = set; then
   2726   $as_echo_n "(cached) " >&6
   2727 else
   2728   ac_build_alias=$build_alias
   2729 test "x$ac_build_alias" = x &&
   2730   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2731 test "x$ac_build_alias" = x &&
   2732   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2733 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2734    { (exit 1); exit 1; }; }
   2735 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2736   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2737 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2738    { (exit 1); exit 1; }; }
   2739 
   2740 fi
   2741 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2742 $as_echo "$ac_cv_build" >&6; }
   2743 case $ac_cv_build in
   2744 *-*-*) ;;
   2745 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2746 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2747    { (exit 1); exit 1; }; };;
   2748 esac
   2749 build=$ac_cv_build
   2750 ac_save_IFS=$IFS; IFS='-'
   2751 set x $ac_cv_build
   2752 shift
   2753 build_cpu=$1
   2754 build_vendor=$2
   2755 shift; shift
   2756 # Remember, the first character of IFS is used to create $*,
   2757 # except with old shells:
   2758 build_os=$*
   2759 IFS=$ac_save_IFS
   2760 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2761 
   2762 
   2763 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2764 $as_echo_n "checking host system type... " >&6; }
   2765 if test "${ac_cv_host+set}" = set; then
   2766   $as_echo_n "(cached) " >&6
   2767 else
   2768   if test "x$host_alias" = x; then
   2769   ac_cv_host=$ac_cv_build
   2770 else
   2771   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2772     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2773 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2774    { (exit 1); exit 1; }; }
   2775 fi
   2776 
   2777 fi
   2778 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2779 $as_echo "$ac_cv_host" >&6; }
   2780 case $ac_cv_host in
   2781 *-*-*) ;;
   2782 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2783 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2784    { (exit 1); exit 1; }; };;
   2785 esac
   2786 host=$ac_cv_host
   2787 ac_save_IFS=$IFS; IFS='-'
   2788 set x $ac_cv_host
   2789 shift
   2790 host_cpu=$1
   2791 host_vendor=$2
   2792 shift; shift
   2793 # Remember, the first character of IFS is used to create $*,
   2794 # except with old shells:
   2795 host_os=$*
   2796 IFS=$ac_save_IFS
   2797 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2798 
   2799 
   2800 DEPDIR="${am__leading_dot}deps"
   2801 
   2802 ac_config_commands="$ac_config_commands depfiles"
   2803 
   2804 
   2805 am_make=${MAKE-make}
   2806 cat > confinc << 'END'
   2807 am__doit:
   2808 	@echo this is the am__doit target
   2809 .PHONY: am__doit
   2810 END
   2811 # If we don't find an include directive, just comment out the code.
   2812 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2813 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2814 am__include="#"
   2815 am__quote=
   2816 _am_result=none
   2817 # First try GNU make style include.
   2818 echo "include confinc" > confmf
   2819 # Ignore all kinds of additional output from `make'.
   2820 case `$am_make -s -f confmf 2> /dev/null` in #(
   2821 *the\ am__doit\ target*)
   2822   am__include=include
   2823   am__quote=
   2824   _am_result=GNU
   2825   ;;
   2826 esac
   2827 # Now try BSD make style include.
   2828 if test "$am__include" = "#"; then
   2829    echo '.include "confinc"' > confmf
   2830    case `$am_make -s -f confmf 2> /dev/null` in #(
   2831    *the\ am__doit\ target*)
   2832      am__include=.include
   2833      am__quote="\""
   2834      _am_result=BSD
   2835      ;;
   2836    esac
   2837 fi
   2838 
   2839 
   2840 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2841 $as_echo "$_am_result" >&6; }
   2842 rm -f confinc confmf
   2843 
   2844 # Check whether --enable-dependency-tracking was given.
   2845 if test "${enable_dependency_tracking+set}" = set; then
   2846   enableval=$enable_dependency_tracking;
   2847 fi
   2848 
   2849 if test "x$enable_dependency_tracking" != xno; then
   2850   am_depcomp="$ac_aux_dir/depcomp"
   2851   AMDEPBACKSLASH='\'
   2852 fi
   2853  if test "x$enable_dependency_tracking" != xno; then
   2854   AMDEP_TRUE=
   2855   AMDEP_FALSE='#'
   2856 else
   2857   AMDEP_TRUE='#'
   2858   AMDEP_FALSE=
   2859 fi
   2860 
   2861 
   2862 ac_ext=c
   2863 ac_cpp='$CPP $CPPFLAGS'
   2864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2867 if test -n "$ac_tool_prefix"; then
   2868   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2869 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2871 $as_echo_n "checking for $ac_word... " >&6; }
   2872 if test "${ac_cv_prog_CC+set}" = set; then
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   if test -n "$CC"; then
   2876   ac_cv_prog_CC="$CC" # Let the user override the test.
   2877 else
   2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2879 for as_dir in $PATH
   2880 do
   2881   IFS=$as_save_IFS
   2882   test -z "$as_dir" && as_dir=.
   2883   for ac_exec_ext in '' $ac_executable_extensions; do
   2884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2885     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2886     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2887     break 2
   2888   fi
   2889 done
   2890 done
   2891 IFS=$as_save_IFS
   2892 
   2893 fi
   2894 fi
   2895 CC=$ac_cv_prog_CC
   2896 if test -n "$CC"; then
   2897   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2898 $as_echo "$CC" >&6; }
   2899 else
   2900   { $as_echo "$as_me:$LINENO: result: no" >&5
   2901 $as_echo "no" >&6; }
   2902 fi
   2903 
   2904 
   2905 fi
   2906 if test -z "$ac_cv_prog_CC"; then
   2907   ac_ct_CC=$CC
   2908   # Extract the first word of "gcc", so it can be a program name with args.
   2909 set dummy gcc; ac_word=$2
   2910 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2911 $as_echo_n "checking for $ac_word... " >&6; }
   2912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2913   $as_echo_n "(cached) " >&6
   2914 else
   2915   if test -n "$ac_ct_CC"; then
   2916   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2917 else
   2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2919 for as_dir in $PATH
   2920 do
   2921   IFS=$as_save_IFS
   2922   test -z "$as_dir" && as_dir=.
   2923   for ac_exec_ext in '' $ac_executable_extensions; do
   2924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2925     ac_cv_prog_ac_ct_CC="gcc"
   2926     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2927     break 2
   2928   fi
   2929 done
   2930 done
   2931 IFS=$as_save_IFS
   2932 
   2933 fi
   2934 fi
   2935 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2936 if test -n "$ac_ct_CC"; then
   2937   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2938 $as_echo "$ac_ct_CC" >&6; }
   2939 else
   2940   { $as_echo "$as_me:$LINENO: result: no" >&5
   2941 $as_echo "no" >&6; }
   2942 fi
   2943 
   2944   if test "x$ac_ct_CC" = x; then
   2945     CC=""
   2946   else
   2947     case $cross_compiling:$ac_tool_warned in
   2948 yes:)
   2949 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2951 ac_tool_warned=yes ;;
   2952 esac
   2953     CC=$ac_ct_CC
   2954   fi
   2955 else
   2956   CC="$ac_cv_prog_CC"
   2957 fi
   2958 
   2959 if test -z "$CC"; then
   2960           if test -n "$ac_tool_prefix"; then
   2961     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2962 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2964 $as_echo_n "checking for $ac_word... " >&6; }
   2965 if test "${ac_cv_prog_CC+set}" = set; then
   2966   $as_echo_n "(cached) " >&6
   2967 else
   2968   if test -n "$CC"; then
   2969   ac_cv_prog_CC="$CC" # Let the user override the test.
   2970 else
   2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2972 for as_dir in $PATH
   2973 do
   2974   IFS=$as_save_IFS
   2975   test -z "$as_dir" && as_dir=.
   2976   for ac_exec_ext in '' $ac_executable_extensions; do
   2977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2978     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2979     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2980     break 2
   2981   fi
   2982 done
   2983 done
   2984 IFS=$as_save_IFS
   2985 
   2986 fi
   2987 fi
   2988 CC=$ac_cv_prog_CC
   2989 if test -n "$CC"; then
   2990   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2991 $as_echo "$CC" >&6; }
   2992 else
   2993   { $as_echo "$as_me:$LINENO: result: no" >&5
   2994 $as_echo "no" >&6; }
   2995 fi
   2996 
   2997 
   2998   fi
   2999 fi
   3000 if test -z "$CC"; then
   3001   # Extract the first word of "cc", so it can be a program name with args.
   3002 set dummy cc; ac_word=$2
   3003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3004 $as_echo_n "checking for $ac_word... " >&6; }
   3005 if test "${ac_cv_prog_CC+set}" = set; then
   3006   $as_echo_n "(cached) " >&6
   3007 else
   3008   if test -n "$CC"; then
   3009   ac_cv_prog_CC="$CC" # Let the user override the test.
   3010 else
   3011   ac_prog_rejected=no
   3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3013 for as_dir in $PATH
   3014 do
   3015   IFS=$as_save_IFS
   3016   test -z "$as_dir" && as_dir=.
   3017   for ac_exec_ext in '' $ac_executable_extensions; do
   3018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3019     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3020        ac_prog_rejected=yes
   3021        continue
   3022      fi
   3023     ac_cv_prog_CC="cc"
   3024     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3025     break 2
   3026   fi
   3027 done
   3028 done
   3029 IFS=$as_save_IFS
   3030 
   3031 if test $ac_prog_rejected = yes; then
   3032   # We found a bogon in the path, so make sure we never use it.
   3033   set dummy $ac_cv_prog_CC
   3034   shift
   3035   if test $# != 0; then
   3036     # We chose a different compiler from the bogus one.
   3037     # However, it has the same basename, so the bogon will be chosen
   3038     # first if we set CC to just the basename; use the full file name.
   3039     shift
   3040     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3041   fi
   3042 fi
   3043 fi
   3044 fi
   3045 CC=$ac_cv_prog_CC
   3046 if test -n "$CC"; then
   3047   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3048 $as_echo "$CC" >&6; }
   3049 else
   3050   { $as_echo "$as_me:$LINENO: result: no" >&5
   3051 $as_echo "no" >&6; }
   3052 fi
   3053 
   3054 
   3055 fi
   3056 if test -z "$CC"; then
   3057   if test -n "$ac_tool_prefix"; then
   3058   for ac_prog in cl.exe
   3059   do
   3060     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3061 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3062 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3063 $as_echo_n "checking for $ac_word... " >&6; }
   3064 if test "${ac_cv_prog_CC+set}" = set; then
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   if test -n "$CC"; then
   3068   ac_cv_prog_CC="$CC" # Let the user override the test.
   3069 else
   3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3071 for as_dir in $PATH
   3072 do
   3073   IFS=$as_save_IFS
   3074   test -z "$as_dir" && as_dir=.
   3075   for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3077     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3078     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082 done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi
   3086 fi
   3087 CC=$ac_cv_prog_CC
   3088 if test -n "$CC"; then
   3089   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3090 $as_echo "$CC" >&6; }
   3091 else
   3092   { $as_echo "$as_me:$LINENO: result: no" >&5
   3093 $as_echo "no" >&6; }
   3094 fi
   3095 
   3096 
   3097     test -n "$CC" && break
   3098   done
   3099 fi
   3100 if test -z "$CC"; then
   3101   ac_ct_CC=$CC
   3102   for ac_prog in cl.exe
   3103 do
   3104   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3105 set dummy $ac_prog; ac_word=$2
   3106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3107 $as_echo_n "checking for $ac_word... " >&6; }
   3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3109   $as_echo_n "(cached) " >&6
   3110 else
   3111   if test -n "$ac_ct_CC"; then
   3112   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3113 else
   3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3115 for as_dir in $PATH
   3116 do
   3117   IFS=$as_save_IFS
   3118   test -z "$as_dir" && as_dir=.
   3119   for ac_exec_ext in '' $ac_executable_extensions; do
   3120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3121     ac_cv_prog_ac_ct_CC="$ac_prog"
   3122     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3123     break 2
   3124   fi
   3125 done
   3126 done
   3127 IFS=$as_save_IFS
   3128 
   3129 fi
   3130 fi
   3131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3132 if test -n "$ac_ct_CC"; then
   3133   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3134 $as_echo "$ac_ct_CC" >&6; }
   3135 else
   3136   { $as_echo "$as_me:$LINENO: result: no" >&5
   3137 $as_echo "no" >&6; }
   3138 fi
   3139 
   3140 
   3141   test -n "$ac_ct_CC" && break
   3142 done
   3143 
   3144   if test "x$ac_ct_CC" = x; then
   3145     CC=""
   3146   else
   3147     case $cross_compiling:$ac_tool_warned in
   3148 yes:)
   3149 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3151 ac_tool_warned=yes ;;
   3152 esac
   3153     CC=$ac_ct_CC
   3154   fi
   3155 fi
   3156 
   3157 fi
   3158 
   3159 
   3160 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3162 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3163 See \`config.log' for more details." >&5
   3164 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3165 See \`config.log' for more details." >&2;}
   3166    { (exit 1); exit 1; }; }; }
   3167 
   3168 # Provide some information about the compiler.
   3169 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3170 set X $ac_compile
   3171 ac_compiler=$2
   3172 { (ac_try="$ac_compiler --version >&5"
   3173 case "(($ac_try" in
   3174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3175   *) ac_try_echo=$ac_try;;
   3176 esac
   3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3178 $as_echo "$ac_try_echo") >&5
   3179   (eval "$ac_compiler --version >&5") 2>&5
   3180   ac_status=$?
   3181   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3182   (exit $ac_status); }
   3183 { (ac_try="$ac_compiler -v >&5"
   3184 case "(($ac_try" in
   3185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3186   *) ac_try_echo=$ac_try;;
   3187 esac
   3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3189 $as_echo "$ac_try_echo") >&5
   3190   (eval "$ac_compiler -v >&5") 2>&5
   3191   ac_status=$?
   3192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3193   (exit $ac_status); }
   3194 { (ac_try="$ac_compiler -V >&5"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo") >&5
   3201   (eval "$ac_compiler -V >&5") 2>&5
   3202   ac_status=$?
   3203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3204   (exit $ac_status); }
   3205 
   3206 cat >conftest.$ac_ext <<_ACEOF
   3207 /* confdefs.h.  */
   3208 _ACEOF
   3209 cat confdefs.h >>conftest.$ac_ext
   3210 cat >>conftest.$ac_ext <<_ACEOF
   3211 /* end confdefs.h.  */
   3212 
   3213 int
   3214 main ()
   3215 {
   3216 
   3217   ;
   3218   return 0;
   3219 }
   3220 _ACEOF
   3221 ac_clean_files_save=$ac_clean_files
   3222 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3223 # Try to create an executable without -o first, disregard a.out.
   3224 # It will help us diagnose broken compilers, and finding out an intuition
   3225 # of exeext.
   3226 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3227 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3228 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3229 
   3230 # The possible output files:
   3231 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3232 
   3233 ac_rmfiles=
   3234 for ac_file in $ac_files
   3235 do
   3236   case $ac_file in
   3237     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3238     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3239   esac
   3240 done
   3241 rm -f $ac_rmfiles
   3242 
   3243 if { (ac_try="$ac_link_default"
   3244 case "(($ac_try" in
   3245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3246   *) ac_try_echo=$ac_try;;
   3247 esac
   3248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3249 $as_echo "$ac_try_echo") >&5
   3250   (eval "$ac_link_default") 2>&5
   3251   ac_status=$?
   3252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3253   (exit $ac_status); }; then
   3254   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3255 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3256 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3257 # so that the user can short-circuit this test for compilers unknown to
   3258 # Autoconf.
   3259 for ac_file in $ac_files ''
   3260 do
   3261   test -f "$ac_file" || continue
   3262   case $ac_file in
   3263     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3264 	;;
   3265     [ab].out )
   3266 	# We found the default executable, but exeext='' is most
   3267 	# certainly right.
   3268 	break;;
   3269     *.* )
   3270         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3271 	then :; else
   3272 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3273 	fi
   3274 	# We set ac_cv_exeext here because the later test for it is not
   3275 	# safe: cross compilers may not add the suffix if given an `-o'
   3276 	# argument, so we may need to know it at that point already.
   3277 	# Even if this section looks crufty: it has the advantage of
   3278 	# actually working.
   3279 	break;;
   3280     * )
   3281 	break;;
   3282   esac
   3283 done
   3284 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3285 
   3286 else
   3287   ac_file=''
   3288 fi
   3289 
   3290 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3291 $as_echo "$ac_file" >&6; }
   3292 if test -z "$ac_file"; then
   3293   $as_echo "$as_me: failed program was:" >&5
   3294 sed 's/^/| /' conftest.$ac_ext >&5
   3295 
   3296 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3299 See \`config.log' for more details." >&5
   3300 $as_echo "$as_me: error: C compiler cannot create executables
   3301 See \`config.log' for more details." >&2;}
   3302    { (exit 77); exit 77; }; }; }
   3303 fi
   3304 
   3305 ac_exeext=$ac_cv_exeext
   3306 
   3307 # Check that the compiler produces executables we can run.  If not, either
   3308 # the compiler is broken, or we cross compile.
   3309 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3310 $as_echo_n "checking whether the C compiler works... " >&6; }
   3311 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3312 # If not cross compiling, check that we can run a simple program.
   3313 if test "$cross_compiling" != yes; then
   3314   if { ac_try='./$ac_file'
   3315   { (case "(($ac_try" in
   3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3317   *) ac_try_echo=$ac_try;;
   3318 esac
   3319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3320 $as_echo "$ac_try_echo") >&5
   3321   (eval "$ac_try") 2>&5
   3322   ac_status=$?
   3323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3324   (exit $ac_status); }; }; then
   3325     cross_compiling=no
   3326   else
   3327     if test "$cross_compiling" = maybe; then
   3328 	cross_compiling=yes
   3329     else
   3330 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3332 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3333 If you meant to cross compile, use \`--host'.
   3334 See \`config.log' for more details." >&5
   3335 $as_echo "$as_me: error: cannot run C compiled programs.
   3336 If you meant to cross compile, use \`--host'.
   3337 See \`config.log' for more details." >&2;}
   3338    { (exit 1); exit 1; }; }; }
   3339     fi
   3340   fi
   3341 fi
   3342 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3343 $as_echo "yes" >&6; }
   3344 
   3345 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3346 ac_clean_files=$ac_clean_files_save
   3347 # Check that the compiler produces executables we can run.  If not, either
   3348 # the compiler is broken, or we cross compile.
   3349 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3350 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3351 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3352 $as_echo "$cross_compiling" >&6; }
   3353 
   3354 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3355 $as_echo_n "checking for suffix of executables... " >&6; }
   3356 if { (ac_try="$ac_link"
   3357 case "(($ac_try" in
   3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3359   *) ac_try_echo=$ac_try;;
   3360 esac
   3361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3362 $as_echo "$ac_try_echo") >&5
   3363   (eval "$ac_link") 2>&5
   3364   ac_status=$?
   3365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3366   (exit $ac_status); }; then
   3367   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3368 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3369 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3370 # `rm'.
   3371 for ac_file in conftest.exe conftest conftest.*; do
   3372   test -f "$ac_file" || continue
   3373   case $ac_file in
   3374     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3375     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3376 	  break;;
   3377     * ) break;;
   3378   esac
   3379 done
   3380 else
   3381   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3383 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3384 See \`config.log' for more details." >&5
   3385 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3386 See \`config.log' for more details." >&2;}
   3387    { (exit 1); exit 1; }; }; }
   3388 fi
   3389 
   3390 rm -f conftest$ac_cv_exeext
   3391 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3392 $as_echo "$ac_cv_exeext" >&6; }
   3393 
   3394 rm -f conftest.$ac_ext
   3395 EXEEXT=$ac_cv_exeext
   3396 ac_exeext=$EXEEXT
   3397 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3398 $as_echo_n "checking for suffix of object files... " >&6; }
   3399 if test "${ac_cv_objext+set}" = set; then
   3400   $as_echo_n "(cached) " >&6
   3401 else
   3402   cat >conftest.$ac_ext <<_ACEOF
   3403 /* confdefs.h.  */
   3404 _ACEOF
   3405 cat confdefs.h >>conftest.$ac_ext
   3406 cat >>conftest.$ac_ext <<_ACEOF
   3407 /* end confdefs.h.  */
   3408 
   3409 int
   3410 main ()
   3411 {
   3412 
   3413   ;
   3414   return 0;
   3415 }
   3416 _ACEOF
   3417 rm -f conftest.o conftest.obj
   3418 if { (ac_try="$ac_compile"
   3419 case "(($ac_try" in
   3420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3421   *) ac_try_echo=$ac_try;;
   3422 esac
   3423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3424 $as_echo "$ac_try_echo") >&5
   3425   (eval "$ac_compile") 2>&5
   3426   ac_status=$?
   3427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3428   (exit $ac_status); }; then
   3429   for ac_file in conftest.o conftest.obj conftest.*; do
   3430   test -f "$ac_file" || continue;
   3431   case $ac_file in
   3432     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3433     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3434        break;;
   3435   esac
   3436 done
   3437 else
   3438   $as_echo "$as_me: failed program was:" >&5
   3439 sed 's/^/| /' conftest.$ac_ext >&5
   3440 
   3441 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3443 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3444 See \`config.log' for more details." >&5
   3445 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3446 See \`config.log' for more details." >&2;}
   3447    { (exit 1); exit 1; }; }; }
   3448 fi
   3449 
   3450 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3451 fi
   3452 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3453 $as_echo "$ac_cv_objext" >&6; }
   3454 OBJEXT=$ac_cv_objext
   3455 ac_objext=$OBJEXT
   3456 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3458 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3459   $as_echo_n "(cached) " >&6
   3460 else
   3461   cat >conftest.$ac_ext <<_ACEOF
   3462 /* confdefs.h.  */
   3463 _ACEOF
   3464 cat confdefs.h >>conftest.$ac_ext
   3465 cat >>conftest.$ac_ext <<_ACEOF
   3466 /* end confdefs.h.  */
   3467 
   3468 int
   3469 main ()
   3470 {
   3471 #ifndef __GNUC__
   3472        choke me
   3473 #endif
   3474 
   3475   ;
   3476   return 0;
   3477 }
   3478 _ACEOF
   3479 rm -f conftest.$ac_objext
   3480 if { (ac_try="$ac_compile"
   3481 case "(($ac_try" in
   3482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3483   *) ac_try_echo=$ac_try;;
   3484 esac
   3485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3486 $as_echo "$ac_try_echo") >&5
   3487   (eval "$ac_compile") 2>conftest.er1
   3488   ac_status=$?
   3489   grep -v '^ *+' conftest.er1 >conftest.err
   3490   rm -f conftest.er1
   3491   cat conftest.err >&5
   3492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3493   (exit $ac_status); } && {
   3494 	 test -z "$ac_c_werror_flag" ||
   3495 	 test ! -s conftest.err
   3496        } && test -s conftest.$ac_objext; then
   3497   ac_compiler_gnu=yes
   3498 else
   3499   $as_echo "$as_me: failed program was:" >&5
   3500 sed 's/^/| /' conftest.$ac_ext >&5
   3501 
   3502 	ac_compiler_gnu=no
   3503 fi
   3504 
   3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3506 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3507 
   3508 fi
   3509 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3510 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3511 if test $ac_compiler_gnu = yes; then
   3512   GCC=yes
   3513 else
   3514   GCC=
   3515 fi
   3516 ac_test_CFLAGS=${CFLAGS+set}
   3517 ac_save_CFLAGS=$CFLAGS
   3518 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3519 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3520 if test "${ac_cv_prog_cc_g+set}" = set; then
   3521   $as_echo_n "(cached) " >&6
   3522 else
   3523   ac_save_c_werror_flag=$ac_c_werror_flag
   3524    ac_c_werror_flag=yes
   3525    ac_cv_prog_cc_g=no
   3526    CFLAGS="-g"
   3527    cat >conftest.$ac_ext <<_ACEOF
   3528 /* confdefs.h.  */
   3529 _ACEOF
   3530 cat confdefs.h >>conftest.$ac_ext
   3531 cat >>conftest.$ac_ext <<_ACEOF
   3532 /* end confdefs.h.  */
   3533 
   3534 int
   3535 main ()
   3536 {
   3537 
   3538   ;
   3539   return 0;
   3540 }
   3541 _ACEOF
   3542 rm -f conftest.$ac_objext
   3543 if { (ac_try="$ac_compile"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo") >&5
   3550   (eval "$ac_compile") 2>conftest.er1
   3551   ac_status=$?
   3552   grep -v '^ *+' conftest.er1 >conftest.err
   3553   rm -f conftest.er1
   3554   cat conftest.err >&5
   3555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3556   (exit $ac_status); } && {
   3557 	 test -z "$ac_c_werror_flag" ||
   3558 	 test ! -s conftest.err
   3559        } && test -s conftest.$ac_objext; then
   3560   ac_cv_prog_cc_g=yes
   3561 else
   3562   $as_echo "$as_me: failed program was:" >&5
   3563 sed 's/^/| /' conftest.$ac_ext >&5
   3564 
   3565 	CFLAGS=""
   3566       cat >conftest.$ac_ext <<_ACEOF
   3567 /* confdefs.h.  */
   3568 _ACEOF
   3569 cat confdefs.h >>conftest.$ac_ext
   3570 cat >>conftest.$ac_ext <<_ACEOF
   3571 /* end confdefs.h.  */
   3572 
   3573 int
   3574 main ()
   3575 {
   3576 
   3577   ;
   3578   return 0;
   3579 }
   3580 _ACEOF
   3581 rm -f conftest.$ac_objext
   3582 if { (ac_try="$ac_compile"
   3583 case "(($ac_try" in
   3584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3585   *) ac_try_echo=$ac_try;;
   3586 esac
   3587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3588 $as_echo "$ac_try_echo") >&5
   3589   (eval "$ac_compile") 2>conftest.er1
   3590   ac_status=$?
   3591   grep -v '^ *+' conftest.er1 >conftest.err
   3592   rm -f conftest.er1
   3593   cat conftest.err >&5
   3594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3595   (exit $ac_status); } && {
   3596 	 test -z "$ac_c_werror_flag" ||
   3597 	 test ! -s conftest.err
   3598        } && test -s conftest.$ac_objext; then
   3599   :
   3600 else
   3601   $as_echo "$as_me: failed program was:" >&5
   3602 sed 's/^/| /' conftest.$ac_ext >&5
   3603 
   3604 	ac_c_werror_flag=$ac_save_c_werror_flag
   3605 	 CFLAGS="-g"
   3606 	 cat >conftest.$ac_ext <<_ACEOF
   3607 /* confdefs.h.  */
   3608 _ACEOF
   3609 cat confdefs.h >>conftest.$ac_ext
   3610 cat >>conftest.$ac_ext <<_ACEOF
   3611 /* end confdefs.h.  */
   3612 
   3613 int
   3614 main ()
   3615 {
   3616 
   3617   ;
   3618   return 0;
   3619 }
   3620 _ACEOF
   3621 rm -f conftest.$ac_objext
   3622 if { (ac_try="$ac_compile"
   3623 case "(($ac_try" in
   3624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3625   *) ac_try_echo=$ac_try;;
   3626 esac
   3627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3628 $as_echo "$ac_try_echo") >&5
   3629   (eval "$ac_compile") 2>conftest.er1
   3630   ac_status=$?
   3631   grep -v '^ *+' conftest.er1 >conftest.err
   3632   rm -f conftest.er1
   3633   cat conftest.err >&5
   3634   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3635   (exit $ac_status); } && {
   3636 	 test -z "$ac_c_werror_flag" ||
   3637 	 test ! -s conftest.err
   3638        } && test -s conftest.$ac_objext; then
   3639   ac_cv_prog_cc_g=yes
   3640 else
   3641   $as_echo "$as_me: failed program was:" >&5
   3642 sed 's/^/| /' conftest.$ac_ext >&5
   3643 
   3644 
   3645 fi
   3646 
   3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3648 fi
   3649 
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651 fi
   3652 
   3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3654    ac_c_werror_flag=$ac_save_c_werror_flag
   3655 fi
   3656 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3657 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3658 if test "$ac_test_CFLAGS" = set; then
   3659   CFLAGS=$ac_save_CFLAGS
   3660 elif test $ac_cv_prog_cc_g = yes; then
   3661   if test "$GCC" = yes; then
   3662     CFLAGS="-g -O2"
   3663   else
   3664     CFLAGS="-g"
   3665   fi
   3666 else
   3667   if test "$GCC" = yes; then
   3668     CFLAGS="-O2"
   3669   else
   3670     CFLAGS=
   3671   fi
   3672 fi
   3673 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3674 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3675 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3676   $as_echo_n "(cached) " >&6
   3677 else
   3678   ac_cv_prog_cc_c89=no
   3679 ac_save_CC=$CC
   3680 cat >conftest.$ac_ext <<_ACEOF
   3681 /* confdefs.h.  */
   3682 _ACEOF
   3683 cat confdefs.h >>conftest.$ac_ext
   3684 cat >>conftest.$ac_ext <<_ACEOF
   3685 /* end confdefs.h.  */
   3686 #include <stdarg.h>
   3687 #include <stdio.h>
   3688 #include <sys/types.h>
   3689 #include <sys/stat.h>
   3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3691 struct buf { int x; };
   3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3693 static char *e (p, i)
   3694      char **p;
   3695      int i;
   3696 {
   3697   return p[i];
   3698 }
   3699 static char *f (char * (*g) (char **, int), char **p, ...)
   3700 {
   3701   char *s;
   3702   va_list v;
   3703   va_start (v,p);
   3704   s = g (p, va_arg (v,int));
   3705   va_end (v);
   3706   return s;
   3707 }
   3708 
   3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3710    function prototypes and stuff, but not '\xHH' hex character constants.
   3711    These don't provoke an error unfortunately, instead are silently treated
   3712    as 'x'.  The following induces an error, until -std is added to get
   3713    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3714    array size at least.  It's necessary to write '\x00'==0 to get something
   3715    that's true only with -std.  */
   3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3717 
   3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3719    inside strings and character constants.  */
   3720 #define FOO(x) 'x'
   3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3722 
   3723 int test (int i, double x);
   3724 struct s1 {int (*f) (int a);};
   3725 struct s2 {int (*f) (double a);};
   3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3727 int argc;
   3728 char **argv;
   3729 int
   3730 main ()
   3731 {
   3732 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3733   ;
   3734   return 0;
   3735 }
   3736 _ACEOF
   3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3738 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3739 do
   3740   CC="$ac_save_CC $ac_arg"
   3741   rm -f conftest.$ac_objext
   3742 if { (ac_try="$ac_compile"
   3743 case "(($ac_try" in
   3744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3745   *) ac_try_echo=$ac_try;;
   3746 esac
   3747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3748 $as_echo "$ac_try_echo") >&5
   3749   (eval "$ac_compile") 2>conftest.er1
   3750   ac_status=$?
   3751   grep -v '^ *+' conftest.er1 >conftest.err
   3752   rm -f conftest.er1
   3753   cat conftest.err >&5
   3754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3755   (exit $ac_status); } && {
   3756 	 test -z "$ac_c_werror_flag" ||
   3757 	 test ! -s conftest.err
   3758        } && test -s conftest.$ac_objext; then
   3759   ac_cv_prog_cc_c89=$ac_arg
   3760 else
   3761   $as_echo "$as_me: failed program was:" >&5
   3762 sed 's/^/| /' conftest.$ac_ext >&5
   3763 
   3764 
   3765 fi
   3766 
   3767 rm -f core conftest.err conftest.$ac_objext
   3768   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3769 done
   3770 rm -f conftest.$ac_ext
   3771 CC=$ac_save_CC
   3772 
   3773 fi
   3774 # AC_CACHE_VAL
   3775 case "x$ac_cv_prog_cc_c89" in
   3776   x)
   3777     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3778 $as_echo "none needed" >&6; } ;;
   3779   xno)
   3780     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3781 $as_echo "unsupported" >&6; } ;;
   3782   *)
   3783     CC="$CC $ac_cv_prog_cc_c89"
   3784     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3785 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3786 esac
   3787 
   3788 
   3789 ac_ext=c
   3790 ac_cpp='$CPP $CPPFLAGS'
   3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3794 
   3795 depcc="$CC"   am_compiler_list=
   3796 
   3797 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3799 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3800   $as_echo_n "(cached) " >&6
   3801 else
   3802   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3803   # We make a subdir and do the tests there.  Otherwise we can end up
   3804   # making bogus files that we don't know about and never remove.  For
   3805   # instance it was reported that on HP-UX the gcc test will end up
   3806   # making a dummy file named `D' -- because `-MD' means `put the output
   3807   # in D'.
   3808   mkdir conftest.dir
   3809   # Copy depcomp to subdir because otherwise we won't find it if we're
   3810   # using a relative directory.
   3811   cp "$am_depcomp" conftest.dir
   3812   cd conftest.dir
   3813   # We will build objects and dependencies in a subdirectory because
   3814   # it helps to detect inapplicable dependency modes.  For instance
   3815   # both Tru64's cc and ICC support -MD to output dependencies as a
   3816   # side effect of compilation, but ICC will put the dependencies in
   3817   # the current directory while Tru64 will put them in the object
   3818   # directory.
   3819   mkdir sub
   3820 
   3821   am_cv_CC_dependencies_compiler_type=none
   3822   if test "$am_compiler_list" = ""; then
   3823      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3824   fi
   3825   am__universal=false
   3826   case " $depcc " in #(
   3827      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3828      esac
   3829 
   3830   for depmode in $am_compiler_list; do
   3831     # Setup a source with many dependencies, because some compilers
   3832     # like to wrap large dependency lists on column 80 (with \), and
   3833     # we should not choose a depcomp mode which is confused by this.
   3834     #
   3835     # We need to recreate these files for each test, as the compiler may
   3836     # overwrite some of them when testing with obscure command lines.
   3837     # This happens at least with the AIX C compiler.
   3838     : > sub/conftest.c
   3839     for i in 1 2 3 4 5 6; do
   3840       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3841       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3842       # Solaris 8's {/usr,}/bin/sh.
   3843       touch sub/conftst$i.h
   3844     done
   3845     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3846 
   3847     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3848     # mode.  It turns out that the SunPro C++ compiler does not properly
   3849     # handle `-M -o', and we need to detect this.  Also, some Intel
   3850     # versions had trouble with output in subdirs
   3851     am__obj=sub/conftest.${OBJEXT-o}
   3852     am__minus_obj="-o $am__obj"
   3853     case $depmode in
   3854     gcc)
   3855       # This depmode causes a compiler race in universal mode.
   3856       test "$am__universal" = false || continue
   3857       ;;
   3858     nosideeffect)
   3859       # after this tag, mechanisms are not by side-effect, so they'll
   3860       # only be used when explicitly requested
   3861       if test "x$enable_dependency_tracking" = xyes; then
   3862 	continue
   3863       else
   3864 	break
   3865       fi
   3866       ;;
   3867     msvisualcpp | msvcmsys)
   3868       # This compiler won't grok `-c -o', but also, the minuso test has
   3869       # not run yet.  These depmodes are late enough in the game, and
   3870       # so weak that their functioning should not be impacted.
   3871       am__obj=conftest.${OBJEXT-o}
   3872       am__minus_obj=
   3873       ;;
   3874     none) break ;;
   3875     esac
   3876     if depmode=$depmode \
   3877        source=sub/conftest.c object=$am__obj \
   3878        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3879        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3880          >/dev/null 2>conftest.err &&
   3881        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3882        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3883        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3884        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3885       # icc doesn't choke on unknown options, it will just issue warnings
   3886       # or remarks (even with -Werror).  So we grep stderr for any message
   3887       # that says an option was ignored or not supported.
   3888       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3889       #   icc: Command line warning: ignoring option '-M'; no argument required
   3890       # The diagnosis changed in icc 8.0:
   3891       #   icc: Command line remark: option '-MP' not supported
   3892       if (grep 'ignoring option' conftest.err ||
   3893           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3894         am_cv_CC_dependencies_compiler_type=$depmode
   3895         break
   3896       fi
   3897     fi
   3898   done
   3899 
   3900   cd ..
   3901   rm -rf conftest.dir
   3902 else
   3903   am_cv_CC_dependencies_compiler_type=none
   3904 fi
   3905 
   3906 fi
   3907 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3908 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3909 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3910 
   3911  if
   3912   test "x$enable_dependency_tracking" != xno \
   3913   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3914   am__fastdepCC_TRUE=
   3915   am__fastdepCC_FALSE='#'
   3916 else
   3917   am__fastdepCC_TRUE='#'
   3918   am__fastdepCC_FALSE=
   3919 fi
   3920 
   3921 
   3922 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3923 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3924 if test "${lt_cv_path_SED+set}" = set; then
   3925   $as_echo_n "(cached) " >&6
   3926 else
   3927   # Loop through the user's path and test for sed and gsed.
   3928 # Then use that list of sed's as ones to test for truncation.
   3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3930 for as_dir in $PATH
   3931 do
   3932   IFS=$as_save_IFS
   3933   test -z "$as_dir" && as_dir=.
   3934   for lt_ac_prog in sed gsed; do
   3935     for ac_exec_ext in '' $ac_executable_extensions; do
   3936       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3937         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3938       fi
   3939     done
   3940   done
   3941 done
   3942 IFS=$as_save_IFS
   3943 lt_ac_max=0
   3944 lt_ac_count=0
   3945 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3946 # along with /bin/sed that truncates output.
   3947 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3948   test ! -f $lt_ac_sed && continue
   3949   cat /dev/null > conftest.in
   3950   lt_ac_count=0
   3951   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3952   # Check for GNU sed and select it if it is found.
   3953   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3954     lt_cv_path_SED=$lt_ac_sed
   3955     break
   3956   fi
   3957   while true; do
   3958     cat conftest.in conftest.in >conftest.tmp
   3959     mv conftest.tmp conftest.in
   3960     cp conftest.in conftest.nl
   3961     echo >>conftest.nl
   3962     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3963     cmp -s conftest.out conftest.nl || break
   3964     # 10000 chars as input seems more than enough
   3965     test $lt_ac_count -gt 10 && break
   3966     lt_ac_count=`expr $lt_ac_count + 1`
   3967     if test $lt_ac_count -gt $lt_ac_max; then
   3968       lt_ac_max=$lt_ac_count
   3969       lt_cv_path_SED=$lt_ac_sed
   3970     fi
   3971   done
   3972 done
   3973 
   3974 fi
   3975 
   3976 SED=$lt_cv_path_SED
   3977 
   3978 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3979 $as_echo "$SED" >&6; }
   3980 
   3981 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3982 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3983 if test "${ac_cv_path_GREP+set}" = set; then
   3984   $as_echo_n "(cached) " >&6
   3985 else
   3986   if test -z "$GREP"; then
   3987   ac_path_GREP_found=false
   3988   # Loop through the user's path and test for each of PROGNAME-LIST
   3989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3990 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3991 do
   3992   IFS=$as_save_IFS
   3993   test -z "$as_dir" && as_dir=.
   3994   for ac_prog in grep ggrep; do
   3995     for ac_exec_ext in '' $ac_executable_extensions; do
   3996       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3997       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3998 # Check for GNU ac_path_GREP and select it if it is found.
   3999   # Check for GNU $ac_path_GREP
   4000 case `"$ac_path_GREP" --version 2>&1` in
   4001 *GNU*)
   4002   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4003 *)
   4004   ac_count=0
   4005   $as_echo_n 0123456789 >"conftest.in"
   4006   while :
   4007   do
   4008     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4009     mv "conftest.tmp" "conftest.in"
   4010     cp "conftest.in" "conftest.nl"
   4011     $as_echo 'GREP' >> "conftest.nl"
   4012     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4013     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4014     ac_count=`expr $ac_count + 1`
   4015     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4016       # Best one so far, save it but keep looking for a better one
   4017       ac_cv_path_GREP="$ac_path_GREP"
   4018       ac_path_GREP_max=$ac_count
   4019     fi
   4020     # 10*(2^10) chars as input seems more than enough
   4021     test $ac_count -gt 10 && break
   4022   done
   4023   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4024 esac
   4025 
   4026       $ac_path_GREP_found && break 3
   4027     done
   4028   done
   4029 done
   4030 IFS=$as_save_IFS
   4031   if test -z "$ac_cv_path_GREP"; then
   4032     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4033 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4034    { (exit 1); exit 1; }; }
   4035   fi
   4036 else
   4037   ac_cv_path_GREP=$GREP
   4038 fi
   4039 
   4040 fi
   4041 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4042 $as_echo "$ac_cv_path_GREP" >&6; }
   4043  GREP="$ac_cv_path_GREP"
   4044 
   4045 
   4046 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4047 $as_echo_n "checking for egrep... " >&6; }
   4048 if test "${ac_cv_path_EGREP+set}" = set; then
   4049   $as_echo_n "(cached) " >&6
   4050 else
   4051   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4052    then ac_cv_path_EGREP="$GREP -E"
   4053    else
   4054      if test -z "$EGREP"; then
   4055   ac_path_EGREP_found=false
   4056   # Loop through the user's path and test for each of PROGNAME-LIST
   4057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4059 do
   4060   IFS=$as_save_IFS
   4061   test -z "$as_dir" && as_dir=.
   4062   for ac_prog in egrep; do
   4063     for ac_exec_ext in '' $ac_executable_extensions; do
   4064       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4065       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4066 # Check for GNU ac_path_EGREP and select it if it is found.
   4067   # Check for GNU $ac_path_EGREP
   4068 case `"$ac_path_EGREP" --version 2>&1` in
   4069 *GNU*)
   4070   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4071 *)
   4072   ac_count=0
   4073   $as_echo_n 0123456789 >"conftest.in"
   4074   while :
   4075   do
   4076     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4077     mv "conftest.tmp" "conftest.in"
   4078     cp "conftest.in" "conftest.nl"
   4079     $as_echo 'EGREP' >> "conftest.nl"
   4080     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4081     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4082     ac_count=`expr $ac_count + 1`
   4083     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4084       # Best one so far, save it but keep looking for a better one
   4085       ac_cv_path_EGREP="$ac_path_EGREP"
   4086       ac_path_EGREP_max=$ac_count
   4087     fi
   4088     # 10*(2^10) chars as input seems more than enough
   4089     test $ac_count -gt 10 && break
   4090   done
   4091   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4092 esac
   4093 
   4094       $ac_path_EGREP_found && break 3
   4095     done
   4096   done
   4097 done
   4098 IFS=$as_save_IFS
   4099   if test -z "$ac_cv_path_EGREP"; then
   4100     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4101 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4102    { (exit 1); exit 1; }; }
   4103   fi
   4104 else
   4105   ac_cv_path_EGREP=$EGREP
   4106 fi
   4107 
   4108    fi
   4109 fi
   4110 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4111 $as_echo "$ac_cv_path_EGREP" >&6; }
   4112  EGREP="$ac_cv_path_EGREP"
   4113 
   4114 
   4115 
   4116 # Check whether --with-gnu-ld was given.
   4117 if test "${with_gnu_ld+set}" = set; then
   4118   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4119 else
   4120   with_gnu_ld=no
   4121 fi
   4122 
   4123 ac_prog=ld
   4124 if test "$GCC" = yes; then
   4125   # Check if gcc -print-prog-name=ld gives a path.
   4126   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4127 $as_echo_n "checking for ld used by $CC... " >&6; }
   4128   case $host in
   4129   *-*-mingw*)
   4130     # gcc leaves a trailing carriage return which upsets mingw
   4131     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4132   *)
   4133     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4134   esac
   4135   case $ac_prog in
   4136     # Accept absolute paths.
   4137     [\\/]* | ?:[\\/]*)
   4138       re_direlt='/[^/][^/]*/\.\./'
   4139       # Canonicalize the pathname of ld
   4140       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4141       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4142 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4143       done
   4144       test -z "$LD" && LD="$ac_prog"
   4145       ;;
   4146   "")
   4147     # If it fails, then pretend we aren't using GCC.
   4148     ac_prog=ld
   4149     ;;
   4150   *)
   4151     # If it is relative, then search for the first ld in PATH.
   4152     with_gnu_ld=unknown
   4153     ;;
   4154   esac
   4155 elif test "$with_gnu_ld" = yes; then
   4156   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4157 $as_echo_n "checking for GNU ld... " >&6; }
   4158 else
   4159   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4160 $as_echo_n "checking for non-GNU ld... " >&6; }
   4161 fi
   4162 if test "${lt_cv_path_LD+set}" = set; then
   4163   $as_echo_n "(cached) " >&6
   4164 else
   4165   if test -z "$LD"; then
   4166   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4167   for ac_dir in $PATH; do
   4168     IFS="$lt_save_ifs"
   4169     test -z "$ac_dir" && ac_dir=.
   4170     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4171       lt_cv_path_LD="$ac_dir/$ac_prog"
   4172       # Check to see if the program is GNU ld.  I'd rather use --version,
   4173       # but apparently some variants of GNU ld only accept -v.
   4174       # Break only if it was the GNU/non-GNU ld that we prefer.
   4175       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4176       *GNU* | *'with BFD'*)
   4177 	test "$with_gnu_ld" != no && break
   4178 	;;
   4179       *)
   4180 	test "$with_gnu_ld" != yes && break
   4181 	;;
   4182       esac
   4183     fi
   4184   done
   4185   IFS="$lt_save_ifs"
   4186 else
   4187   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4188 fi
   4189 fi
   4190 
   4191 LD="$lt_cv_path_LD"
   4192 if test -n "$LD"; then
   4193   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4194 $as_echo "$LD" >&6; }
   4195 else
   4196   { $as_echo "$as_me:$LINENO: result: no" >&5
   4197 $as_echo "no" >&6; }
   4198 fi
   4199 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4200 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4201    { (exit 1); exit 1; }; }
   4202 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4204 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4205   $as_echo_n "(cached) " >&6
   4206 else
   4207   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4208 case `$LD -v 2>&1 </dev/null` in
   4209 *GNU* | *'with BFD'*)
   4210   lt_cv_prog_gnu_ld=yes
   4211   ;;
   4212 *)
   4213   lt_cv_prog_gnu_ld=no
   4214   ;;
   4215 esac
   4216 fi
   4217 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4219 with_gnu_ld=$lt_cv_prog_gnu_ld
   4220 
   4221 
   4222 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4223 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4224 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227   lt_cv_ld_reload_flag='-r'
   4228 fi
   4229 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4230 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4231 reload_flag=$lt_cv_ld_reload_flag
   4232 case $reload_flag in
   4233 "" | " "*) ;;
   4234 *) reload_flag=" $reload_flag" ;;
   4235 esac
   4236 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4237 case $host_os in
   4238   darwin*)
   4239     if test "$GCC" = yes; then
   4240       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4241     else
   4242       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4243     fi
   4244     ;;
   4245 esac
   4246 
   4247 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4248 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4249 if test "${lt_cv_path_NM+set}" = set; then
   4250   $as_echo_n "(cached) " >&6
   4251 else
   4252   if test -n "$NM"; then
   4253   # Let the user override the test.
   4254   lt_cv_path_NM="$NM"
   4255 else
   4256   lt_nm_to_check="${ac_tool_prefix}nm"
   4257   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4258     lt_nm_to_check="$lt_nm_to_check nm"
   4259   fi
   4260   for lt_tmp_nm in $lt_nm_to_check; do
   4261     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4262     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4263       IFS="$lt_save_ifs"
   4264       test -z "$ac_dir" && ac_dir=.
   4265       tmp_nm="$ac_dir/$lt_tmp_nm"
   4266       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4267 	# Check to see if the nm accepts a BSD-compat flag.
   4268 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4269 	#   nm: unknown option "B" ignored
   4270 	# Tru64's nm complains that /dev/null is an invalid object file
   4271 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4272 	*/dev/null* | *'Invalid file or object type'*)
   4273 	  lt_cv_path_NM="$tmp_nm -B"
   4274 	  break
   4275 	  ;;
   4276 	*)
   4277 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4278 	  */dev/null*)
   4279 	    lt_cv_path_NM="$tmp_nm -p"
   4280 	    break
   4281 	    ;;
   4282 	  *)
   4283 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4284 	    continue # so that we can try to find one that supports BSD flags
   4285 	    ;;
   4286 	  esac
   4287 	  ;;
   4288 	esac
   4289       fi
   4290     done
   4291     IFS="$lt_save_ifs"
   4292   done
   4293   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4294 fi
   4295 fi
   4296 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4297 $as_echo "$lt_cv_path_NM" >&6; }
   4298 NM="$lt_cv_path_NM"
   4299 
   4300 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4301 $as_echo_n "checking whether ln -s works... " >&6; }
   4302 LN_S=$as_ln_s
   4303 if test "$LN_S" = "ln -s"; then
   4304   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4305 $as_echo "yes" >&6; }
   4306 else
   4307   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4308 $as_echo "no, using $LN_S" >&6; }
   4309 fi
   4310 
   4311 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4312 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4313 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4314   $as_echo_n "(cached) " >&6
   4315 else
   4316   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4317 lt_cv_file_magic_test_file=
   4318 lt_cv_deplibs_check_method='unknown'
   4319 # Need to set the preceding variable on all platforms that support
   4320 # interlibrary dependencies.
   4321 # 'none' -- dependencies not supported.
   4322 # `unknown' -- same as none, but documents that we really don't know.
   4323 # 'pass_all' -- all dependencies passed with no checks.
   4324 # 'test_compile' -- check by making test program.
   4325 # 'file_magic [[regex]]' -- check by looking for files in library path
   4326 # which responds to the $file_magic_cmd with a given extended regex.
   4327 # If you have `file' or equivalent on your system and you're not sure
   4328 # whether `pass_all' will *always* work, you probably want this one.
   4329 
   4330 case $host_os in
   4331 aix[4-9]*)
   4332   lt_cv_deplibs_check_method=pass_all
   4333   ;;
   4334 
   4335 beos*)
   4336   lt_cv_deplibs_check_method=pass_all
   4337   ;;
   4338 
   4339 bsdi[45]*)
   4340   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4341   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4342   lt_cv_file_magic_test_file=/shlib/libc.so
   4343   ;;
   4344 
   4345 cygwin*)
   4346   # func_win32_libid is a shell function defined in ltmain.sh
   4347   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4348   lt_cv_file_magic_cmd='func_win32_libid'
   4349   ;;
   4350 
   4351 mingw* | pw32*)
   4352   # Base MSYS/MinGW do not provide the 'file' command needed by
   4353   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4354   # unless we find 'file', for example because we are cross-compiling.
   4355   if ( file / ) >/dev/null 2>&1; then
   4356     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4357     lt_cv_file_magic_cmd='func_win32_libid'
   4358   else
   4359     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4360     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4361   fi
   4362   ;;
   4363 
   4364 darwin* | rhapsody*)
   4365   lt_cv_deplibs_check_method=pass_all
   4366   ;;
   4367 
   4368 freebsd* | dragonfly*)
   4369   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4370     case $host_cpu in
   4371     i*86 )
   4372       # Not sure whether the presence of OpenBSD here was a mistake.
   4373       # Let's accept both of them until this is cleared up.
   4374       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4375       lt_cv_file_magic_cmd=/usr/bin/file
   4376       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4377       ;;
   4378     esac
   4379   else
   4380     lt_cv_deplibs_check_method=pass_all
   4381   fi
   4382   ;;
   4383 
   4384 gnu*)
   4385   lt_cv_deplibs_check_method=pass_all
   4386   ;;
   4387 
   4388 hpux10.20* | hpux11*)
   4389   lt_cv_file_magic_cmd=/usr/bin/file
   4390   case $host_cpu in
   4391   ia64*)
   4392     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4393     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4394     ;;
   4395   hppa*64*)
   4396     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]'
   4397     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4398     ;;
   4399   *)
   4400     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4401     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4402     ;;
   4403   esac
   4404   ;;
   4405 
   4406 interix[3-9]*)
   4407   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4408   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4409   ;;
   4410 
   4411 irix5* | irix6* | nonstopux*)
   4412   case $LD in
   4413   *-32|*"-32 ") libmagic=32-bit;;
   4414   *-n32|*"-n32 ") libmagic=N32;;
   4415   *-64|*"-64 ") libmagic=64-bit;;
   4416   *) libmagic=never-match;;
   4417   esac
   4418   lt_cv_deplibs_check_method=pass_all
   4419   ;;
   4420 
   4421 # This must be Linux ELF.
   4422 linux* | k*bsd*-gnu)
   4423   lt_cv_deplibs_check_method=pass_all
   4424   ;;
   4425 
   4426 netbsd*)
   4427   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4428     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4429   else
   4430     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4431   fi
   4432   ;;
   4433 
   4434 newos6*)
   4435   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4436   lt_cv_file_magic_cmd=/usr/bin/file
   4437   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4438   ;;
   4439 
   4440 nto-qnx*)
   4441   lt_cv_deplibs_check_method=unknown
   4442   ;;
   4443 
   4444 openbsd*)
   4445   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4447   else
   4448     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4449   fi
   4450   ;;
   4451 
   4452 osf3* | osf4* | osf5*)
   4453   lt_cv_deplibs_check_method=pass_all
   4454   ;;
   4455 
   4456 rdos*)
   4457   lt_cv_deplibs_check_method=pass_all
   4458   ;;
   4459 
   4460 solaris*)
   4461   lt_cv_deplibs_check_method=pass_all
   4462   ;;
   4463 
   4464 sysv4 | sysv4.3*)
   4465   case $host_vendor in
   4466   motorola)
   4467     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]'
   4468     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4469     ;;
   4470   ncr)
   4471     lt_cv_deplibs_check_method=pass_all
   4472     ;;
   4473   sequent)
   4474     lt_cv_file_magic_cmd='/bin/file'
   4475     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4476     ;;
   4477   sni)
   4478     lt_cv_file_magic_cmd='/bin/file'
   4479     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4480     lt_cv_file_magic_test_file=/lib/libc.so
   4481     ;;
   4482   siemens)
   4483     lt_cv_deplibs_check_method=pass_all
   4484     ;;
   4485   pc)
   4486     lt_cv_deplibs_check_method=pass_all
   4487     ;;
   4488   esac
   4489   ;;
   4490 
   4491 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4492   lt_cv_deplibs_check_method=pass_all
   4493   ;;
   4494 esac
   4495 
   4496 fi
   4497 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4498 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4499 file_magic_cmd=$lt_cv_file_magic_cmd
   4500 deplibs_check_method=$lt_cv_deplibs_check_method
   4501 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4502 
   4503 
   4504 
   4505 
   4506 # If no C compiler was specified, use CC.
   4507 LTCC=${LTCC-"$CC"}
   4508 
   4509 # If no C compiler flags were specified, use CFLAGS.
   4510 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4511 
   4512 # Allow CC to be a program name with arguments.
   4513 compiler=$CC
   4514 
   4515 
   4516 # Check whether --enable-libtool-lock was given.
   4517 if test "${enable_libtool_lock+set}" = set; then
   4518   enableval=$enable_libtool_lock;
   4519 fi
   4520 
   4521 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4522 
   4523 # Some flags need to be propagated to the compiler or linker for good
   4524 # libtool support.
   4525 case $host in
   4526 ia64-*-hpux*)
   4527   # Find out which ABI we are using.
   4528   echo 'int i;' > conftest.$ac_ext
   4529   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4530   (eval $ac_compile) 2>&5
   4531   ac_status=$?
   4532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4533   (exit $ac_status); }; then
   4534     case `/usr/bin/file conftest.$ac_objext` in
   4535     *ELF-32*)
   4536       HPUX_IA64_MODE="32"
   4537       ;;
   4538     *ELF-64*)
   4539       HPUX_IA64_MODE="64"
   4540       ;;
   4541     esac
   4542   fi
   4543   rm -rf conftest*
   4544   ;;
   4545 *-*-irix6*)
   4546   # Find out which ABI we are using.
   4547   echo '#line 4547 "configure"' > conftest.$ac_ext
   4548   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4549   (eval $ac_compile) 2>&5
   4550   ac_status=$?
   4551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4552   (exit $ac_status); }; then
   4553    if test "$lt_cv_prog_gnu_ld" = yes; then
   4554     case `/usr/bin/file conftest.$ac_objext` in
   4555     *32-bit*)
   4556       LD="${LD-ld} -melf32bsmip"
   4557       ;;
   4558     *N32*)
   4559       LD="${LD-ld} -melf32bmipn32"
   4560       ;;
   4561     *64-bit*)
   4562       LD="${LD-ld} -melf64bmip"
   4563       ;;
   4564     esac
   4565    else
   4566     case `/usr/bin/file conftest.$ac_objext` in
   4567     *32-bit*)
   4568       LD="${LD-ld} -32"
   4569       ;;
   4570     *N32*)
   4571       LD="${LD-ld} -n32"
   4572       ;;
   4573     *64-bit*)
   4574       LD="${LD-ld} -64"
   4575       ;;
   4576     esac
   4577    fi
   4578   fi
   4579   rm -rf conftest*
   4580   ;;
   4581 
   4582 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4583 s390*-*linux*|sparc*-*linux*)
   4584   # Find out which ABI we are using.
   4585   echo 'int i;' > conftest.$ac_ext
   4586   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4587   (eval $ac_compile) 2>&5
   4588   ac_status=$?
   4589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4590   (exit $ac_status); }; then
   4591     case `/usr/bin/file conftest.o` in
   4592     *32-bit*)
   4593       case $host in
   4594         x86_64-*kfreebsd*-gnu)
   4595           LD="${LD-ld} -m elf_i386_fbsd"
   4596           ;;
   4597         x86_64-*linux*)
   4598           LD="${LD-ld} -m elf_i386"
   4599           ;;
   4600         ppc64-*linux*|powerpc64-*linux*)
   4601           LD="${LD-ld} -m elf32ppclinux"
   4602           ;;
   4603         s390x-*linux*)
   4604           LD="${LD-ld} -m elf_s390"
   4605           ;;
   4606         sparc64-*linux*)
   4607           LD="${LD-ld} -m elf32_sparc"
   4608           ;;
   4609       esac
   4610       ;;
   4611     *64-bit*)
   4612       libsuff=64
   4613       case $host in
   4614         x86_64-*kfreebsd*-gnu)
   4615           LD="${LD-ld} -m elf_x86_64_fbsd"
   4616           ;;
   4617         x86_64-*linux*)
   4618           LD="${LD-ld} -m elf_x86_64"
   4619           ;;
   4620         ppc*-*linux*|powerpc*-*linux*)
   4621           LD="${LD-ld} -m elf64ppc"
   4622           ;;
   4623         s390*-*linux*)
   4624           LD="${LD-ld} -m elf64_s390"
   4625           ;;
   4626         sparc*-*linux*)
   4627           LD="${LD-ld} -m elf64_sparc"
   4628           ;;
   4629       esac
   4630       ;;
   4631     esac
   4632   fi
   4633   rm -rf conftest*
   4634   ;;
   4635 
   4636 *-*-sco3.2v5*)
   4637   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4638   SAVE_CFLAGS="$CFLAGS"
   4639   CFLAGS="$CFLAGS -belf"
   4640   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4641 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4642 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4643   $as_echo_n "(cached) " >&6
   4644 else
   4645   ac_ext=c
   4646 ac_cpp='$CPP $CPPFLAGS'
   4647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4650 
   4651      cat >conftest.$ac_ext <<_ACEOF
   4652 /* confdefs.h.  */
   4653 _ACEOF
   4654 cat confdefs.h >>conftest.$ac_ext
   4655 cat >>conftest.$ac_ext <<_ACEOF
   4656 /* end confdefs.h.  */
   4657 
   4658 int
   4659 main ()
   4660 {
   4661 
   4662   ;
   4663   return 0;
   4664 }
   4665 _ACEOF
   4666 rm -f conftest.$ac_objext conftest$ac_exeext
   4667 if { (ac_try="$ac_link"
   4668 case "(($ac_try" in
   4669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4670   *) ac_try_echo=$ac_try;;
   4671 esac
   4672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4673 $as_echo "$ac_try_echo") >&5
   4674   (eval "$ac_link") 2>conftest.er1
   4675   ac_status=$?
   4676   grep -v '^ *+' conftest.er1 >conftest.err
   4677   rm -f conftest.er1
   4678   cat conftest.err >&5
   4679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4680   (exit $ac_status); } && {
   4681 	 test -z "$ac_c_werror_flag" ||
   4682 	 test ! -s conftest.err
   4683        } && test -s conftest$ac_exeext && {
   4684 	 test "$cross_compiling" = yes ||
   4685 	 $as_test_x conftest$ac_exeext
   4686        }; then
   4687   lt_cv_cc_needs_belf=yes
   4688 else
   4689   $as_echo "$as_me: failed program was:" >&5
   4690 sed 's/^/| /' conftest.$ac_ext >&5
   4691 
   4692 	lt_cv_cc_needs_belf=no
   4693 fi
   4694 
   4695 rm -rf conftest.dSYM
   4696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4697       conftest$ac_exeext conftest.$ac_ext
   4698      ac_ext=c
   4699 ac_cpp='$CPP $CPPFLAGS'
   4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4703 
   4704 fi
   4705 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4706 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4707   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4708     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4709     CFLAGS="$SAVE_CFLAGS"
   4710   fi
   4711   ;;
   4712 sparc*-*solaris*)
   4713   # Find out which ABI we are using.
   4714   echo 'int i;' > conftest.$ac_ext
   4715   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4716   (eval $ac_compile) 2>&5
   4717   ac_status=$?
   4718   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4719   (exit $ac_status); }; then
   4720     case `/usr/bin/file conftest.o` in
   4721     *64-bit*)
   4722       case $lt_cv_prog_gnu_ld in
   4723       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4724       *)
   4725         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4726 	  LD="${LD-ld} -64"
   4727 	fi
   4728 	;;
   4729       esac
   4730       ;;
   4731     esac
   4732   fi
   4733   rm -rf conftest*
   4734   ;;
   4735 
   4736 
   4737 esac
   4738 
   4739 need_locks="$enable_libtool_lock"
   4740 
   4741 
   4742 ac_ext=c
   4743 ac_cpp='$CPP $CPPFLAGS'
   4744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4747 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4748 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4749 # On Suns, sometimes $CPP names a directory.
   4750 if test -n "$CPP" && test -d "$CPP"; then
   4751   CPP=
   4752 fi
   4753 if test -z "$CPP"; then
   4754   if test "${ac_cv_prog_CPP+set}" = set; then
   4755   $as_echo_n "(cached) " >&6
   4756 else
   4757       # Double quotes because CPP needs to be expanded
   4758     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4759     do
   4760       ac_preproc_ok=false
   4761 for ac_c_preproc_warn_flag in '' yes
   4762 do
   4763   # Use a header file that comes with gcc, so configuring glibc
   4764   # with a fresh cross-compiler works.
   4765   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4766   # <limits.h> exists even on freestanding compilers.
   4767   # On the NeXT, cc -E runs the code through the compiler's parser,
   4768   # not just through cpp. "Syntax error" is here to catch this case.
   4769   cat >conftest.$ac_ext <<_ACEOF
   4770 /* confdefs.h.  */
   4771 _ACEOF
   4772 cat confdefs.h >>conftest.$ac_ext
   4773 cat >>conftest.$ac_ext <<_ACEOF
   4774 /* end confdefs.h.  */
   4775 #ifdef __STDC__
   4776 # include <limits.h>
   4777 #else
   4778 # include <assert.h>
   4779 #endif
   4780 		     Syntax error
   4781 _ACEOF
   4782 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4783 case "(($ac_try" in
   4784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4785   *) ac_try_echo=$ac_try;;
   4786 esac
   4787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4788 $as_echo "$ac_try_echo") >&5
   4789   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4790   ac_status=$?
   4791   grep -v '^ *+' conftest.er1 >conftest.err
   4792   rm -f conftest.er1
   4793   cat conftest.err >&5
   4794   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4795   (exit $ac_status); } >/dev/null && {
   4796 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4797 	 test ! -s conftest.err
   4798        }; then
   4799   :
   4800 else
   4801   $as_echo "$as_me: failed program was:" >&5
   4802 sed 's/^/| /' conftest.$ac_ext >&5
   4803 
   4804   # Broken: fails on valid input.
   4805 continue
   4806 fi
   4807 
   4808 rm -f conftest.err conftest.$ac_ext
   4809 
   4810   # OK, works on sane cases.  Now check whether nonexistent headers
   4811   # can be detected and how.
   4812   cat >conftest.$ac_ext <<_ACEOF
   4813 /* confdefs.h.  */
   4814 _ACEOF
   4815 cat confdefs.h >>conftest.$ac_ext
   4816 cat >>conftest.$ac_ext <<_ACEOF
   4817 /* end confdefs.h.  */
   4818 #include <ac_nonexistent.h>
   4819 _ACEOF
   4820 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4821 case "(($ac_try" in
   4822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4823   *) ac_try_echo=$ac_try;;
   4824 esac
   4825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4826 $as_echo "$ac_try_echo") >&5
   4827   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4828   ac_status=$?
   4829   grep -v '^ *+' conftest.er1 >conftest.err
   4830   rm -f conftest.er1
   4831   cat conftest.err >&5
   4832   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4833   (exit $ac_status); } >/dev/null && {
   4834 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4835 	 test ! -s conftest.err
   4836        }; then
   4837   # Broken: success on invalid input.
   4838 continue
   4839 else
   4840   $as_echo "$as_me: failed program was:" >&5
   4841 sed 's/^/| /' conftest.$ac_ext >&5
   4842 
   4843   # Passes both tests.
   4844 ac_preproc_ok=:
   4845 break
   4846 fi
   4847 
   4848 rm -f conftest.err conftest.$ac_ext
   4849 
   4850 done
   4851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4852 rm -f conftest.err conftest.$ac_ext
   4853 if $ac_preproc_ok; then
   4854   break
   4855 fi
   4856 
   4857     done
   4858     ac_cv_prog_CPP=$CPP
   4859 
   4860 fi
   4861   CPP=$ac_cv_prog_CPP
   4862 else
   4863   ac_cv_prog_CPP=$CPP
   4864 fi
   4865 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4866 $as_echo "$CPP" >&6; }
   4867 ac_preproc_ok=false
   4868 for ac_c_preproc_warn_flag in '' yes
   4869 do
   4870   # Use a header file that comes with gcc, so configuring glibc
   4871   # with a fresh cross-compiler works.
   4872   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4873   # <limits.h> exists even on freestanding compilers.
   4874   # On the NeXT, cc -E runs the code through the compiler's parser,
   4875   # not just through cpp. "Syntax error" is here to catch this case.
   4876   cat >conftest.$ac_ext <<_ACEOF
   4877 /* confdefs.h.  */
   4878 _ACEOF
   4879 cat confdefs.h >>conftest.$ac_ext
   4880 cat >>conftest.$ac_ext <<_ACEOF
   4881 /* end confdefs.h.  */
   4882 #ifdef __STDC__
   4883 # include <limits.h>
   4884 #else
   4885 # include <assert.h>
   4886 #endif
   4887 		     Syntax error
   4888 _ACEOF
   4889 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4890 case "(($ac_try" in
   4891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4892   *) ac_try_echo=$ac_try;;
   4893 esac
   4894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4895 $as_echo "$ac_try_echo") >&5
   4896   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4897   ac_status=$?
   4898   grep -v '^ *+' conftest.er1 >conftest.err
   4899   rm -f conftest.er1
   4900   cat conftest.err >&5
   4901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4902   (exit $ac_status); } >/dev/null && {
   4903 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4904 	 test ! -s conftest.err
   4905        }; then
   4906   :
   4907 else
   4908   $as_echo "$as_me: failed program was:" >&5
   4909 sed 's/^/| /' conftest.$ac_ext >&5
   4910 
   4911   # Broken: fails on valid input.
   4912 continue
   4913 fi
   4914 
   4915 rm -f conftest.err conftest.$ac_ext
   4916 
   4917   # OK, works on sane cases.  Now check whether nonexistent headers
   4918   # can be detected and how.
   4919   cat >conftest.$ac_ext <<_ACEOF
   4920 /* confdefs.h.  */
   4921 _ACEOF
   4922 cat confdefs.h >>conftest.$ac_ext
   4923 cat >>conftest.$ac_ext <<_ACEOF
   4924 /* end confdefs.h.  */
   4925 #include <ac_nonexistent.h>
   4926 _ACEOF
   4927 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4928 case "(($ac_try" in
   4929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4930   *) ac_try_echo=$ac_try;;
   4931 esac
   4932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4933 $as_echo "$ac_try_echo") >&5
   4934   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4935   ac_status=$?
   4936   grep -v '^ *+' conftest.er1 >conftest.err
   4937   rm -f conftest.er1
   4938   cat conftest.err >&5
   4939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4940   (exit $ac_status); } >/dev/null && {
   4941 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4942 	 test ! -s conftest.err
   4943        }; then
   4944   # Broken: success on invalid input.
   4945 continue
   4946 else
   4947   $as_echo "$as_me: failed program was:" >&5
   4948 sed 's/^/| /' conftest.$ac_ext >&5
   4949 
   4950   # Passes both tests.
   4951 ac_preproc_ok=:
   4952 break
   4953 fi
   4954 
   4955 rm -f conftest.err conftest.$ac_ext
   4956 
   4957 done
   4958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4959 rm -f conftest.err conftest.$ac_ext
   4960 if $ac_preproc_ok; then
   4961   :
   4962 else
   4963   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4965 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4966 See \`config.log' for more details." >&5
   4967 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4968 See \`config.log' for more details." >&2;}
   4969    { (exit 1); exit 1; }; }; }
   4970 fi
   4971 
   4972 ac_ext=c
   4973 ac_cpp='$CPP $CPPFLAGS'
   4974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4977 
   4978 
   4979 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4980 $as_echo_n "checking for ANSI C header files... " >&6; }
   4981 if test "${ac_cv_header_stdc+set}" = set; then
   4982   $as_echo_n "(cached) " >&6
   4983 else
   4984   cat >conftest.$ac_ext <<_ACEOF
   4985 /* confdefs.h.  */
   4986 _ACEOF
   4987 cat confdefs.h >>conftest.$ac_ext
   4988 cat >>conftest.$ac_ext <<_ACEOF
   4989 /* end confdefs.h.  */
   4990 #include <stdlib.h>
   4991 #include <stdarg.h>
   4992 #include <string.h>
   4993 #include <float.h>
   4994 
   4995 int
   4996 main ()
   4997 {
   4998 
   4999   ;
   5000   return 0;
   5001 }
   5002 _ACEOF
   5003 rm -f conftest.$ac_objext
   5004 if { (ac_try="$ac_compile"
   5005 case "(($ac_try" in
   5006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5007   *) ac_try_echo=$ac_try;;
   5008 esac
   5009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5010 $as_echo "$ac_try_echo") >&5
   5011   (eval "$ac_compile") 2>conftest.er1
   5012   ac_status=$?
   5013   grep -v '^ *+' conftest.er1 >conftest.err
   5014   rm -f conftest.er1
   5015   cat conftest.err >&5
   5016   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5017   (exit $ac_status); } && {
   5018 	 test -z "$ac_c_werror_flag" ||
   5019 	 test ! -s conftest.err
   5020        } && test -s conftest.$ac_objext; then
   5021   ac_cv_header_stdc=yes
   5022 else
   5023   $as_echo "$as_me: failed program was:" >&5
   5024 sed 's/^/| /' conftest.$ac_ext >&5
   5025 
   5026 	ac_cv_header_stdc=no
   5027 fi
   5028 
   5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5030 
   5031 if test $ac_cv_header_stdc = yes; then
   5032   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5033   cat >conftest.$ac_ext <<_ACEOF
   5034 /* confdefs.h.  */
   5035 _ACEOF
   5036 cat confdefs.h >>conftest.$ac_ext
   5037 cat >>conftest.$ac_ext <<_ACEOF
   5038 /* end confdefs.h.  */
   5039 #include <string.h>
   5040 
   5041 _ACEOF
   5042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5043   $EGREP "memchr" >/dev/null 2>&1; then
   5044   :
   5045 else
   5046   ac_cv_header_stdc=no
   5047 fi
   5048 rm -f conftest*
   5049 
   5050 fi
   5051 
   5052 if test $ac_cv_header_stdc = yes; then
   5053   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5054   cat >conftest.$ac_ext <<_ACEOF
   5055 /* confdefs.h.  */
   5056 _ACEOF
   5057 cat confdefs.h >>conftest.$ac_ext
   5058 cat >>conftest.$ac_ext <<_ACEOF
   5059 /* end confdefs.h.  */
   5060 #include <stdlib.h>
   5061 
   5062 _ACEOF
   5063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5064   $EGREP "free" >/dev/null 2>&1; then
   5065   :
   5066 else
   5067   ac_cv_header_stdc=no
   5068 fi
   5069 rm -f conftest*
   5070 
   5071 fi
   5072 
   5073 if test $ac_cv_header_stdc = yes; then
   5074   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5075   if test "$cross_compiling" = yes; then
   5076   :
   5077 else
   5078   cat >conftest.$ac_ext <<_ACEOF
   5079 /* confdefs.h.  */
   5080 _ACEOF
   5081 cat confdefs.h >>conftest.$ac_ext
   5082 cat >>conftest.$ac_ext <<_ACEOF
   5083 /* end confdefs.h.  */
   5084 #include <ctype.h>
   5085 #include <stdlib.h>
   5086 #if ((' ' & 0x0FF) == 0x020)
   5087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5089 #else
   5090 # define ISLOWER(c) \
   5091 		   (('a' <= (c) && (c) <= 'i') \
   5092 		     || ('j' <= (c) && (c) <= 'r') \
   5093 		     || ('s' <= (c) && (c) <= 'z'))
   5094 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5095 #endif
   5096 
   5097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5098 int
   5099 main ()
   5100 {
   5101   int i;
   5102   for (i = 0; i < 256; i++)
   5103     if (XOR (islower (i), ISLOWER (i))
   5104 	|| toupper (i) != TOUPPER (i))
   5105       return 2;
   5106   return 0;
   5107 }
   5108 _ACEOF
   5109 rm -f conftest$ac_exeext
   5110 if { (ac_try="$ac_link"
   5111 case "(($ac_try" in
   5112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5113   *) ac_try_echo=$ac_try;;
   5114 esac
   5115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5116 $as_echo "$ac_try_echo") >&5
   5117   (eval "$ac_link") 2>&5
   5118   ac_status=$?
   5119   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5120   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5121   { (case "(($ac_try" in
   5122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5123   *) ac_try_echo=$ac_try;;
   5124 esac
   5125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5126 $as_echo "$ac_try_echo") >&5
   5127   (eval "$ac_try") 2>&5
   5128   ac_status=$?
   5129   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5130   (exit $ac_status); }; }; then
   5131   :
   5132 else
   5133   $as_echo "$as_me: program exited with status $ac_status" >&5
   5134 $as_echo "$as_me: failed program was:" >&5
   5135 sed 's/^/| /' conftest.$ac_ext >&5
   5136 
   5137 ( exit $ac_status )
   5138 ac_cv_header_stdc=no
   5139 fi
   5140 rm -rf conftest.dSYM
   5141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5142 fi
   5143 
   5144 
   5145 fi
   5146 fi
   5147 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5148 $as_echo "$ac_cv_header_stdc" >&6; }
   5149 if test $ac_cv_header_stdc = yes; then
   5150 
   5151 cat >>confdefs.h <<\_ACEOF
   5152 #define STDC_HEADERS 1
   5153 _ACEOF
   5154 
   5155 fi
   5156 
   5157 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5168 		  inttypes.h stdint.h unistd.h
   5169 do
   5170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5171 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5172 $as_echo_n "checking for $ac_header... " >&6; }
   5173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5174   $as_echo_n "(cached) " >&6
   5175 else
   5176   cat >conftest.$ac_ext <<_ACEOF
   5177 /* confdefs.h.  */
   5178 _ACEOF
   5179 cat confdefs.h >>conftest.$ac_ext
   5180 cat >>conftest.$ac_ext <<_ACEOF
   5181 /* end confdefs.h.  */
   5182 $ac_includes_default
   5183 
   5184 #include <$ac_header>
   5185 _ACEOF
   5186 rm -f conftest.$ac_objext
   5187 if { (ac_try="$ac_compile"
   5188 case "(($ac_try" in
   5189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5190   *) ac_try_echo=$ac_try;;
   5191 esac
   5192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5193 $as_echo "$ac_try_echo") >&5
   5194   (eval "$ac_compile") 2>conftest.er1
   5195   ac_status=$?
   5196   grep -v '^ *+' conftest.er1 >conftest.err
   5197   rm -f conftest.er1
   5198   cat conftest.err >&5
   5199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5200   (exit $ac_status); } && {
   5201 	 test -z "$ac_c_werror_flag" ||
   5202 	 test ! -s conftest.err
   5203        } && test -s conftest.$ac_objext; then
   5204   eval "$as_ac_Header=yes"
   5205 else
   5206   $as_echo "$as_me: failed program was:" >&5
   5207 sed 's/^/| /' conftest.$ac_ext >&5
   5208 
   5209 	eval "$as_ac_Header=no"
   5210 fi
   5211 
   5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5213 fi
   5214 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5215 		 $as_echo "$as_val"'`
   5216 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5217 $as_echo "$ac_res" >&6; }
   5218 as_val=`eval 'as_val=${'$as_ac_Header'}
   5219 		 $as_echo "$as_val"'`
   5220    if test "x$as_val" = x""yes; then
   5221   cat >>confdefs.h <<_ACEOF
   5222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5223 _ACEOF
   5224 
   5225 fi
   5226 
   5227 done
   5228 
   5229 
   5230 
   5231 for ac_header in dlfcn.h
   5232 do
   5233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5235   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5236 $as_echo_n "checking for $ac_header... " >&6; }
   5237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5238   $as_echo_n "(cached) " >&6
   5239 fi
   5240 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5241 		 $as_echo "$as_val"'`
   5242 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5243 $as_echo "$ac_res" >&6; }
   5244 else
   5245   # Is the header compilable?
   5246 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5247 $as_echo_n "checking $ac_header usability... " >&6; }
   5248 cat >conftest.$ac_ext <<_ACEOF
   5249 /* confdefs.h.  */
   5250 _ACEOF
   5251 cat confdefs.h >>conftest.$ac_ext
   5252 cat >>conftest.$ac_ext <<_ACEOF
   5253 /* end confdefs.h.  */
   5254 $ac_includes_default
   5255 #include <$ac_header>
   5256 _ACEOF
   5257 rm -f conftest.$ac_objext
   5258 if { (ac_try="$ac_compile"
   5259 case "(($ac_try" in
   5260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5261   *) ac_try_echo=$ac_try;;
   5262 esac
   5263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5264 $as_echo "$ac_try_echo") >&5
   5265   (eval "$ac_compile") 2>conftest.er1
   5266   ac_status=$?
   5267   grep -v '^ *+' conftest.er1 >conftest.err
   5268   rm -f conftest.er1
   5269   cat conftest.err >&5
   5270   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5271   (exit $ac_status); } && {
   5272 	 test -z "$ac_c_werror_flag" ||
   5273 	 test ! -s conftest.err
   5274        } && test -s conftest.$ac_objext; then
   5275   ac_header_compiler=yes
   5276 else
   5277   $as_echo "$as_me: failed program was:" >&5
   5278 sed 's/^/| /' conftest.$ac_ext >&5
   5279 
   5280 	ac_header_compiler=no
   5281 fi
   5282 
   5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5284 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5285 $as_echo "$ac_header_compiler" >&6; }
   5286 
   5287 # Is the header present?
   5288 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5289 $as_echo_n "checking $ac_header presence... " >&6; }
   5290 cat >conftest.$ac_ext <<_ACEOF
   5291 /* confdefs.h.  */
   5292 _ACEOF
   5293 cat confdefs.h >>conftest.$ac_ext
   5294 cat >>conftest.$ac_ext <<_ACEOF
   5295 /* end confdefs.h.  */
   5296 #include <$ac_header>
   5297 _ACEOF
   5298 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5299 case "(($ac_try" in
   5300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5301   *) ac_try_echo=$ac_try;;
   5302 esac
   5303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5304 $as_echo "$ac_try_echo") >&5
   5305   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5306   ac_status=$?
   5307   grep -v '^ *+' conftest.er1 >conftest.err
   5308   rm -f conftest.er1
   5309   cat conftest.err >&5
   5310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5311   (exit $ac_status); } >/dev/null && {
   5312 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5313 	 test ! -s conftest.err
   5314        }; then
   5315   ac_header_preproc=yes
   5316 else
   5317   $as_echo "$as_me: failed program was:" >&5
   5318 sed 's/^/| /' conftest.$ac_ext >&5
   5319 
   5320   ac_header_preproc=no
   5321 fi
   5322 
   5323 rm -f conftest.err conftest.$ac_ext
   5324 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5325 $as_echo "$ac_header_preproc" >&6; }
   5326 
   5327 # So?  What about this header?
   5328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5329   yes:no: )
   5330     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5331 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5332     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5333 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5334     ac_header_preproc=yes
   5335     ;;
   5336   no:yes:* )
   5337     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5338 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5339     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5340 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5341     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5342 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5343     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5344 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5345     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5346 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5347     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5348 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5349     ( cat <<\_ASBOX
   5350 ## ---------------------------------------------------------------------- ##
   5351 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5352 ## ---------------------------------------------------------------------- ##
   5353 _ASBOX
   5354      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5355     ;;
   5356 esac
   5357 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5358 $as_echo_n "checking for $ac_header... " >&6; }
   5359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5360   $as_echo_n "(cached) " >&6
   5361 else
   5362   eval "$as_ac_Header=\$ac_header_preproc"
   5363 fi
   5364 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5365 		 $as_echo "$as_val"'`
   5366 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5367 $as_echo "$ac_res" >&6; }
   5368 
   5369 fi
   5370 as_val=`eval 'as_val=${'$as_ac_Header'}
   5371 		 $as_echo "$as_val"'`
   5372    if test "x$as_val" = x""yes; then
   5373   cat >>confdefs.h <<_ACEOF
   5374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5375 _ACEOF
   5376 
   5377 fi
   5378 
   5379 done
   5380 
   5381 ac_ext=cpp
   5382 ac_cpp='$CXXCPP $CPPFLAGS'
   5383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5386 if test -z "$CXX"; then
   5387   if test -n "$CCC"; then
   5388     CXX=$CCC
   5389   else
   5390     if test -n "$ac_tool_prefix"; then
   5391   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5392   do
   5393     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5396 $as_echo_n "checking for $ac_word... " >&6; }
   5397 if test "${ac_cv_prog_CXX+set}" = set; then
   5398   $as_echo_n "(cached) " >&6
   5399 else
   5400   if test -n "$CXX"; then
   5401   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5402 else
   5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5404 for as_dir in $PATH
   5405 do
   5406   IFS=$as_save_IFS
   5407   test -z "$as_dir" && as_dir=.
   5408   for ac_exec_ext in '' $ac_executable_extensions; do
   5409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5410     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5411     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5412     break 2
   5413   fi
   5414 done
   5415 done
   5416 IFS=$as_save_IFS
   5417 
   5418 fi
   5419 fi
   5420 CXX=$ac_cv_prog_CXX
   5421 if test -n "$CXX"; then
   5422   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5423 $as_echo "$CXX" >&6; }
   5424 else
   5425   { $as_echo "$as_me:$LINENO: result: no" >&5
   5426 $as_echo "no" >&6; }
   5427 fi
   5428 
   5429 
   5430     test -n "$CXX" && break
   5431   done
   5432 fi
   5433 if test -z "$CXX"; then
   5434   ac_ct_CXX=$CXX
   5435   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5436 do
   5437   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5438 set dummy $ac_prog; ac_word=$2
   5439 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5440 $as_echo_n "checking for $ac_word... " >&6; }
   5441 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   if test -n "$ac_ct_CXX"; then
   5445   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5446 else
   5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5448 for as_dir in $PATH
   5449 do
   5450   IFS=$as_save_IFS
   5451   test -z "$as_dir" && as_dir=.
   5452   for ac_exec_ext in '' $ac_executable_extensions; do
   5453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5454     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5455     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5456     break 2
   5457   fi
   5458 done
   5459 done
   5460 IFS=$as_save_IFS
   5461 
   5462 fi
   5463 fi
   5464 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5465 if test -n "$ac_ct_CXX"; then
   5466   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5467 $as_echo "$ac_ct_CXX" >&6; }
   5468 else
   5469   { $as_echo "$as_me:$LINENO: result: no" >&5
   5470 $as_echo "no" >&6; }
   5471 fi
   5472 
   5473 
   5474   test -n "$ac_ct_CXX" && break
   5475 done
   5476 
   5477   if test "x$ac_ct_CXX" = x; then
   5478     CXX="g++"
   5479   else
   5480     case $cross_compiling:$ac_tool_warned in
   5481 yes:)
   5482 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5484 ac_tool_warned=yes ;;
   5485 esac
   5486     CXX=$ac_ct_CXX
   5487   fi
   5488 fi
   5489 
   5490   fi
   5491 fi
   5492 # Provide some information about the compiler.
   5493 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5494 set X $ac_compile
   5495 ac_compiler=$2
   5496 { (ac_try="$ac_compiler --version >&5"
   5497 case "(($ac_try" in
   5498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5499   *) ac_try_echo=$ac_try;;
   5500 esac
   5501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5502 $as_echo "$ac_try_echo") >&5
   5503   (eval "$ac_compiler --version >&5") 2>&5
   5504   ac_status=$?
   5505   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5506   (exit $ac_status); }
   5507 { (ac_try="$ac_compiler -v >&5"
   5508 case "(($ac_try" in
   5509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5510   *) ac_try_echo=$ac_try;;
   5511 esac
   5512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5513 $as_echo "$ac_try_echo") >&5
   5514   (eval "$ac_compiler -v >&5") 2>&5
   5515   ac_status=$?
   5516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5517   (exit $ac_status); }
   5518 { (ac_try="$ac_compiler -V >&5"
   5519 case "(($ac_try" in
   5520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5521   *) ac_try_echo=$ac_try;;
   5522 esac
   5523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5524 $as_echo "$ac_try_echo") >&5
   5525   (eval "$ac_compiler -V >&5") 2>&5
   5526   ac_status=$?
   5527   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5528   (exit $ac_status); }
   5529 
   5530 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5531 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5532 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5533   $as_echo_n "(cached) " >&6
   5534 else
   5535   cat >conftest.$ac_ext <<_ACEOF
   5536 /* confdefs.h.  */
   5537 _ACEOF
   5538 cat confdefs.h >>conftest.$ac_ext
   5539 cat >>conftest.$ac_ext <<_ACEOF
   5540 /* end confdefs.h.  */
   5541 
   5542 int
   5543 main ()
   5544 {
   5545 #ifndef __GNUC__
   5546        choke me
   5547 #endif
   5548 
   5549   ;
   5550   return 0;
   5551 }
   5552 _ACEOF
   5553 rm -f conftest.$ac_objext
   5554 if { (ac_try="$ac_compile"
   5555 case "(($ac_try" in
   5556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5557   *) ac_try_echo=$ac_try;;
   5558 esac
   5559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5560 $as_echo "$ac_try_echo") >&5
   5561   (eval "$ac_compile") 2>conftest.er1
   5562   ac_status=$?
   5563   grep -v '^ *+' conftest.er1 >conftest.err
   5564   rm -f conftest.er1
   5565   cat conftest.err >&5
   5566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5567   (exit $ac_status); } && {
   5568 	 test -z "$ac_cxx_werror_flag" ||
   5569 	 test ! -s conftest.err
   5570        } && test -s conftest.$ac_objext; then
   5571   ac_compiler_gnu=yes
   5572 else
   5573   $as_echo "$as_me: failed program was:" >&5
   5574 sed 's/^/| /' conftest.$ac_ext >&5
   5575 
   5576 	ac_compiler_gnu=no
   5577 fi
   5578 
   5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5580 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5581 
   5582 fi
   5583 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5584 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5585 if test $ac_compiler_gnu = yes; then
   5586   GXX=yes
   5587 else
   5588   GXX=
   5589 fi
   5590 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5591 ac_save_CXXFLAGS=$CXXFLAGS
   5592 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5593 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5594 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5595   $as_echo_n "(cached) " >&6
   5596 else
   5597   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5598    ac_cxx_werror_flag=yes
   5599    ac_cv_prog_cxx_g=no
   5600    CXXFLAGS="-g"
   5601    cat >conftest.$ac_ext <<_ACEOF
   5602 /* confdefs.h.  */
   5603 _ACEOF
   5604 cat confdefs.h >>conftest.$ac_ext
   5605 cat >>conftest.$ac_ext <<_ACEOF
   5606 /* end confdefs.h.  */
   5607 
   5608 int
   5609 main ()
   5610 {
   5611 
   5612   ;
   5613   return 0;
   5614 }
   5615 _ACEOF
   5616 rm -f conftest.$ac_objext
   5617 if { (ac_try="$ac_compile"
   5618 case "(($ac_try" in
   5619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5620   *) ac_try_echo=$ac_try;;
   5621 esac
   5622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5623 $as_echo "$ac_try_echo") >&5
   5624   (eval "$ac_compile") 2>conftest.er1
   5625   ac_status=$?
   5626   grep -v '^ *+' conftest.er1 >conftest.err
   5627   rm -f conftest.er1
   5628   cat conftest.err >&5
   5629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5630   (exit $ac_status); } && {
   5631 	 test -z "$ac_cxx_werror_flag" ||
   5632 	 test ! -s conftest.err
   5633        } && test -s conftest.$ac_objext; then
   5634   ac_cv_prog_cxx_g=yes
   5635 else
   5636   $as_echo "$as_me: failed program was:" >&5
   5637 sed 's/^/| /' conftest.$ac_ext >&5
   5638 
   5639 	CXXFLAGS=""
   5640       cat >conftest.$ac_ext <<_ACEOF
   5641 /* confdefs.h.  */
   5642 _ACEOF
   5643 cat confdefs.h >>conftest.$ac_ext
   5644 cat >>conftest.$ac_ext <<_ACEOF
   5645 /* end confdefs.h.  */
   5646 
   5647 int
   5648 main ()
   5649 {
   5650 
   5651   ;
   5652   return 0;
   5653 }
   5654 _ACEOF
   5655 rm -f conftest.$ac_objext
   5656 if { (ac_try="$ac_compile"
   5657 case "(($ac_try" in
   5658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5659   *) ac_try_echo=$ac_try;;
   5660 esac
   5661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5662 $as_echo "$ac_try_echo") >&5
   5663   (eval "$ac_compile") 2>conftest.er1
   5664   ac_status=$?
   5665   grep -v '^ *+' conftest.er1 >conftest.err
   5666   rm -f conftest.er1
   5667   cat conftest.err >&5
   5668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5669   (exit $ac_status); } && {
   5670 	 test -z "$ac_cxx_werror_flag" ||
   5671 	 test ! -s conftest.err
   5672        } && test -s conftest.$ac_objext; then
   5673   :
   5674 else
   5675   $as_echo "$as_me: failed program was:" >&5
   5676 sed 's/^/| /' conftest.$ac_ext >&5
   5677 
   5678 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5679 	 CXXFLAGS="-g"
   5680 	 cat >conftest.$ac_ext <<_ACEOF
   5681 /* confdefs.h.  */
   5682 _ACEOF
   5683 cat confdefs.h >>conftest.$ac_ext
   5684 cat >>conftest.$ac_ext <<_ACEOF
   5685 /* end confdefs.h.  */
   5686 
   5687 int
   5688 main ()
   5689 {
   5690 
   5691   ;
   5692   return 0;
   5693 }
   5694 _ACEOF
   5695 rm -f conftest.$ac_objext
   5696 if { (ac_try="$ac_compile"
   5697 case "(($ac_try" in
   5698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5699   *) ac_try_echo=$ac_try;;
   5700 esac
   5701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5702 $as_echo "$ac_try_echo") >&5
   5703   (eval "$ac_compile") 2>conftest.er1
   5704   ac_status=$?
   5705   grep -v '^ *+' conftest.er1 >conftest.err
   5706   rm -f conftest.er1
   5707   cat conftest.err >&5
   5708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5709   (exit $ac_status); } && {
   5710 	 test -z "$ac_cxx_werror_flag" ||
   5711 	 test ! -s conftest.err
   5712        } && test -s conftest.$ac_objext; then
   5713   ac_cv_prog_cxx_g=yes
   5714 else
   5715   $as_echo "$as_me: failed program was:" >&5
   5716 sed 's/^/| /' conftest.$ac_ext >&5
   5717 
   5718 
   5719 fi
   5720 
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722 fi
   5723 
   5724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5725 fi
   5726 
   5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5728    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5729 fi
   5730 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5731 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5732 if test "$ac_test_CXXFLAGS" = set; then
   5733   CXXFLAGS=$ac_save_CXXFLAGS
   5734 elif test $ac_cv_prog_cxx_g = yes; then
   5735   if test "$GXX" = yes; then
   5736     CXXFLAGS="-g -O2"
   5737   else
   5738     CXXFLAGS="-g"
   5739   fi
   5740 else
   5741   if test "$GXX" = yes; then
   5742     CXXFLAGS="-O2"
   5743   else
   5744     CXXFLAGS=
   5745   fi
   5746 fi
   5747 ac_ext=cpp
   5748 ac_cpp='$CXXCPP $CPPFLAGS'
   5749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5752 
   5753 depcc="$CXX"  am_compiler_list=
   5754 
   5755 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5756 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5757 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5761   # We make a subdir and do the tests there.  Otherwise we can end up
   5762   # making bogus files that we don't know about and never remove.  For
   5763   # instance it was reported that on HP-UX the gcc test will end up
   5764   # making a dummy file named `D' -- because `-MD' means `put the output
   5765   # in D'.
   5766   mkdir conftest.dir
   5767   # Copy depcomp to subdir because otherwise we won't find it if we're
   5768   # using a relative directory.
   5769   cp "$am_depcomp" conftest.dir
   5770   cd conftest.dir
   5771   # We will build objects and dependencies in a subdirectory because
   5772   # it helps to detect inapplicable dependency modes.  For instance
   5773   # both Tru64's cc and ICC support -MD to output dependencies as a
   5774   # side effect of compilation, but ICC will put the dependencies in
   5775   # the current directory while Tru64 will put them in the object
   5776   # directory.
   5777   mkdir sub
   5778 
   5779   am_cv_CXX_dependencies_compiler_type=none
   5780   if test "$am_compiler_list" = ""; then
   5781      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5782   fi
   5783   am__universal=false
   5784   case " $depcc " in #(
   5785      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5786      esac
   5787 
   5788   for depmode in $am_compiler_list; do
   5789     # Setup a source with many dependencies, because some compilers
   5790     # like to wrap large dependency lists on column 80 (with \), and
   5791     # we should not choose a depcomp mode which is confused by this.
   5792     #
   5793     # We need to recreate these files for each test, as the compiler may
   5794     # overwrite some of them when testing with obscure command lines.
   5795     # This happens at least with the AIX C compiler.
   5796     : > sub/conftest.c
   5797     for i in 1 2 3 4 5 6; do
   5798       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5799       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5800       # Solaris 8's {/usr,}/bin/sh.
   5801       touch sub/conftst$i.h
   5802     done
   5803     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5804 
   5805     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5806     # mode.  It turns out that the SunPro C++ compiler does not properly
   5807     # handle `-M -o', and we need to detect this.  Also, some Intel
   5808     # versions had trouble with output in subdirs
   5809     am__obj=sub/conftest.${OBJEXT-o}
   5810     am__minus_obj="-o $am__obj"
   5811     case $depmode in
   5812     gcc)
   5813       # This depmode causes a compiler race in universal mode.
   5814       test "$am__universal" = false || continue
   5815       ;;
   5816     nosideeffect)
   5817       # after this tag, mechanisms are not by side-effect, so they'll
   5818       # only be used when explicitly requested
   5819       if test "x$enable_dependency_tracking" = xyes; then
   5820 	continue
   5821       else
   5822 	break
   5823       fi
   5824       ;;
   5825     msvisualcpp | msvcmsys)
   5826       # This compiler won't grok `-c -o', but also, the minuso test has
   5827       # not run yet.  These depmodes are late enough in the game, and
   5828       # so weak that their functioning should not be impacted.
   5829       am__obj=conftest.${OBJEXT-o}
   5830       am__minus_obj=
   5831       ;;
   5832     none) break ;;
   5833     esac
   5834     if depmode=$depmode \
   5835        source=sub/conftest.c object=$am__obj \
   5836        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5837        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5838          >/dev/null 2>conftest.err &&
   5839        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5840        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5841        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5842        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5843       # icc doesn't choke on unknown options, it will just issue warnings
   5844       # or remarks (even with -Werror).  So we grep stderr for any message
   5845       # that says an option was ignored or not supported.
   5846       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5847       #   icc: Command line warning: ignoring option '-M'; no argument required
   5848       # The diagnosis changed in icc 8.0:
   5849       #   icc: Command line remark: option '-MP' not supported
   5850       if (grep 'ignoring option' conftest.err ||
   5851           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5852         am_cv_CXX_dependencies_compiler_type=$depmode
   5853         break
   5854       fi
   5855     fi
   5856   done
   5857 
   5858   cd ..
   5859   rm -rf conftest.dir
   5860 else
   5861   am_cv_CXX_dependencies_compiler_type=none
   5862 fi
   5863 
   5864 fi
   5865 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5866 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5867 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5868 
   5869  if
   5870   test "x$enable_dependency_tracking" != xno \
   5871   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5872   am__fastdepCXX_TRUE=
   5873   am__fastdepCXX_FALSE='#'
   5874 else
   5875   am__fastdepCXX_TRUE='#'
   5876   am__fastdepCXX_FALSE=
   5877 fi
   5878 
   5879 
   5880 
   5881 
   5882 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5883     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5884     (test "X$CXX" != "Xg++"))) ; then
   5885   ac_ext=cpp
   5886 ac_cpp='$CXXCPP $CPPFLAGS'
   5887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5890 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5891 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5892 if test -z "$CXXCPP"; then
   5893   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896       # Double quotes because CXXCPP needs to be expanded
   5897     for CXXCPP in "$CXX -E" "/lib/cpp"
   5898     do
   5899       ac_preproc_ok=false
   5900 for ac_cxx_preproc_warn_flag in '' yes
   5901 do
   5902   # Use a header file that comes with gcc, so configuring glibc
   5903   # with a fresh cross-compiler works.
   5904   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5905   # <limits.h> exists even on freestanding compilers.
   5906   # On the NeXT, cc -E runs the code through the compiler's parser,
   5907   # not just through cpp. "Syntax error" is here to catch this case.
   5908   cat >conftest.$ac_ext <<_ACEOF
   5909 /* confdefs.h.  */
   5910 _ACEOF
   5911 cat confdefs.h >>conftest.$ac_ext
   5912 cat >>conftest.$ac_ext <<_ACEOF
   5913 /* end confdefs.h.  */
   5914 #ifdef __STDC__
   5915 # include <limits.h>
   5916 #else
   5917 # include <assert.h>
   5918 #endif
   5919 		     Syntax error
   5920 _ACEOF
   5921 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5922 case "(($ac_try" in
   5923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5924   *) ac_try_echo=$ac_try;;
   5925 esac
   5926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5927 $as_echo "$ac_try_echo") >&5
   5928   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5929   ac_status=$?
   5930   grep -v '^ *+' conftest.er1 >conftest.err
   5931   rm -f conftest.er1
   5932   cat conftest.err >&5
   5933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5934   (exit $ac_status); } >/dev/null && {
   5935 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5936 	 test ! -s conftest.err
   5937        }; then
   5938   :
   5939 else
   5940   $as_echo "$as_me: failed program was:" >&5
   5941 sed 's/^/| /' conftest.$ac_ext >&5
   5942 
   5943   # Broken: fails on valid input.
   5944 continue
   5945 fi
   5946 
   5947 rm -f conftest.err conftest.$ac_ext
   5948 
   5949   # OK, works on sane cases.  Now check whether nonexistent headers
   5950   # can be detected and how.
   5951   cat >conftest.$ac_ext <<_ACEOF
   5952 /* confdefs.h.  */
   5953 _ACEOF
   5954 cat confdefs.h >>conftest.$ac_ext
   5955 cat >>conftest.$ac_ext <<_ACEOF
   5956 /* end confdefs.h.  */
   5957 #include <ac_nonexistent.h>
   5958 _ACEOF
   5959 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5960 case "(($ac_try" in
   5961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5962   *) ac_try_echo=$ac_try;;
   5963 esac
   5964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5965 $as_echo "$ac_try_echo") >&5
   5966   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5967   ac_status=$?
   5968   grep -v '^ *+' conftest.er1 >conftest.err
   5969   rm -f conftest.er1
   5970   cat conftest.err >&5
   5971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5972   (exit $ac_status); } >/dev/null && {
   5973 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5974 	 test ! -s conftest.err
   5975        }; then
   5976   # Broken: success on invalid input.
   5977 continue
   5978 else
   5979   $as_echo "$as_me: failed program was:" >&5
   5980 sed 's/^/| /' conftest.$ac_ext >&5
   5981 
   5982   # Passes both tests.
   5983 ac_preproc_ok=:
   5984 break
   5985 fi
   5986 
   5987 rm -f conftest.err conftest.$ac_ext
   5988 
   5989 done
   5990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5991 rm -f conftest.err conftest.$ac_ext
   5992 if $ac_preproc_ok; then
   5993   break
   5994 fi
   5995 
   5996     done
   5997     ac_cv_prog_CXXCPP=$CXXCPP
   5998 
   5999 fi
   6000   CXXCPP=$ac_cv_prog_CXXCPP
   6001 else
   6002   ac_cv_prog_CXXCPP=$CXXCPP
   6003 fi
   6004 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6005 $as_echo "$CXXCPP" >&6; }
   6006 ac_preproc_ok=false
   6007 for ac_cxx_preproc_warn_flag in '' yes
   6008 do
   6009   # Use a header file that comes with gcc, so configuring glibc
   6010   # with a fresh cross-compiler works.
   6011   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6012   # <limits.h> exists even on freestanding compilers.
   6013   # On the NeXT, cc -E runs the code through the compiler's parser,
   6014   # not just through cpp. "Syntax error" is here to catch this case.
   6015   cat >conftest.$ac_ext <<_ACEOF
   6016 /* confdefs.h.  */
   6017 _ACEOF
   6018 cat confdefs.h >>conftest.$ac_ext
   6019 cat >>conftest.$ac_ext <<_ACEOF
   6020 /* end confdefs.h.  */
   6021 #ifdef __STDC__
   6022 # include <limits.h>
   6023 #else
   6024 # include <assert.h>
   6025 #endif
   6026 		     Syntax error
   6027 _ACEOF
   6028 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6029 case "(($ac_try" in
   6030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6031   *) ac_try_echo=$ac_try;;
   6032 esac
   6033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6034 $as_echo "$ac_try_echo") >&5
   6035   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6036   ac_status=$?
   6037   grep -v '^ *+' conftest.er1 >conftest.err
   6038   rm -f conftest.er1
   6039   cat conftest.err >&5
   6040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6041   (exit $ac_status); } >/dev/null && {
   6042 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6043 	 test ! -s conftest.err
   6044        }; then
   6045   :
   6046 else
   6047   $as_echo "$as_me: failed program was:" >&5
   6048 sed 's/^/| /' conftest.$ac_ext >&5
   6049 
   6050   # Broken: fails on valid input.
   6051 continue
   6052 fi
   6053 
   6054 rm -f conftest.err conftest.$ac_ext
   6055 
   6056   # OK, works on sane cases.  Now check whether nonexistent headers
   6057   # can be detected and how.
   6058   cat >conftest.$ac_ext <<_ACEOF
   6059 /* confdefs.h.  */
   6060 _ACEOF
   6061 cat confdefs.h >>conftest.$ac_ext
   6062 cat >>conftest.$ac_ext <<_ACEOF
   6063 /* end confdefs.h.  */
   6064 #include <ac_nonexistent.h>
   6065 _ACEOF
   6066 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6067 case "(($ac_try" in
   6068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6069   *) ac_try_echo=$ac_try;;
   6070 esac
   6071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6072 $as_echo "$ac_try_echo") >&5
   6073   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6074   ac_status=$?
   6075   grep -v '^ *+' conftest.er1 >conftest.err
   6076   rm -f conftest.er1
   6077   cat conftest.err >&5
   6078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6079   (exit $ac_status); } >/dev/null && {
   6080 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6081 	 test ! -s conftest.err
   6082        }; then
   6083   # Broken: success on invalid input.
   6084 continue
   6085 else
   6086   $as_echo "$as_me: failed program was:" >&5
   6087 sed 's/^/| /' conftest.$ac_ext >&5
   6088 
   6089   # Passes both tests.
   6090 ac_preproc_ok=:
   6091 break
   6092 fi
   6093 
   6094 rm -f conftest.err conftest.$ac_ext
   6095 
   6096 done
   6097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6098 rm -f conftest.err conftest.$ac_ext
   6099 if $ac_preproc_ok; then
   6100   :
   6101 else
   6102   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6104 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6105 See \`config.log' for more details." >&5
   6106 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6107 See \`config.log' for more details." >&2;}
   6108    { (exit 1); exit 1; }; }; }
   6109 fi
   6110 
   6111 ac_ext=cpp
   6112 ac_cpp='$CXXCPP $CPPFLAGS'
   6113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6116 
   6117 fi
   6118 
   6119 
   6120 ac_ext=f
   6121 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6122 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6123 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6124 if test -n "$ac_tool_prefix"; then
   6125   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
   6126   do
   6127     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6128 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6130 $as_echo_n "checking for $ac_word... " >&6; }
   6131 if test "${ac_cv_prog_F77+set}" = set; then
   6132   $as_echo_n "(cached) " >&6
   6133 else
   6134   if test -n "$F77"; then
   6135   ac_cv_prog_F77="$F77" # Let the user override the test.
   6136 else
   6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6138 for as_dir in $PATH
   6139 do
   6140   IFS=$as_save_IFS
   6141   test -z "$as_dir" && as_dir=.
   6142   for ac_exec_ext in '' $ac_executable_extensions; do
   6143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6144     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6145     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6146     break 2
   6147   fi
   6148 done
   6149 done
   6150 IFS=$as_save_IFS
   6151 
   6152 fi
   6153 fi
   6154 F77=$ac_cv_prog_F77
   6155 if test -n "$F77"; then
   6156   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6157 $as_echo "$F77" >&6; }
   6158 else
   6159   { $as_echo "$as_me:$LINENO: result: no" >&5
   6160 $as_echo "no" >&6; }
   6161 fi
   6162 
   6163 
   6164     test -n "$F77" && break
   6165   done
   6166 fi
   6167 if test -z "$F77"; then
   6168   ac_ct_F77=$F77
   6169   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
   6170 do
   6171   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6172 set dummy $ac_prog; ac_word=$2
   6173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6174 $as_echo_n "checking for $ac_word... " >&6; }
   6175 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   if test -n "$ac_ct_F77"; then
   6179   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6180 else
   6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6182 for as_dir in $PATH
   6183 do
   6184   IFS=$as_save_IFS
   6185   test -z "$as_dir" && as_dir=.
   6186   for ac_exec_ext in '' $ac_executable_extensions; do
   6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6188     ac_cv_prog_ac_ct_F77="$ac_prog"
   6189     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6190     break 2
   6191   fi
   6192 done
   6193 done
   6194 IFS=$as_save_IFS
   6195 
   6196 fi
   6197 fi
   6198 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6199 if test -n "$ac_ct_F77"; then
   6200   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6201 $as_echo "$ac_ct_F77" >&6; }
   6202 else
   6203   { $as_echo "$as_me:$LINENO: result: no" >&5
   6204 $as_echo "no" >&6; }
   6205 fi
   6206 
   6207 
   6208   test -n "$ac_ct_F77" && break
   6209 done
   6210 
   6211   if test "x$ac_ct_F77" = x; then
   6212     F77=""
   6213   else
   6214     case $cross_compiling:$ac_tool_warned in
   6215 yes:)
   6216 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6218 ac_tool_warned=yes ;;
   6219 esac
   6220     F77=$ac_ct_F77
   6221   fi
   6222 fi
   6223 
   6224 
   6225 # Provide some information about the compiler.
   6226 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6227 set X $ac_compile
   6228 ac_compiler=$2
   6229 { (ac_try="$ac_compiler --version >&5"
   6230 case "(($ac_try" in
   6231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6232   *) ac_try_echo=$ac_try;;
   6233 esac
   6234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6235 $as_echo "$ac_try_echo") >&5
   6236   (eval "$ac_compiler --version >&5") 2>&5
   6237   ac_status=$?
   6238   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6239   (exit $ac_status); }
   6240 { (ac_try="$ac_compiler -v >&5"
   6241 case "(($ac_try" in
   6242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6243   *) ac_try_echo=$ac_try;;
   6244 esac
   6245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6246 $as_echo "$ac_try_echo") >&5
   6247   (eval "$ac_compiler -v >&5") 2>&5
   6248   ac_status=$?
   6249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6250   (exit $ac_status); }
   6251 { (ac_try="$ac_compiler -V >&5"
   6252 case "(($ac_try" in
   6253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6254   *) ac_try_echo=$ac_try;;
   6255 esac
   6256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6257 $as_echo "$ac_try_echo") >&5
   6258   (eval "$ac_compiler -V >&5") 2>&5
   6259   ac_status=$?
   6260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6261   (exit $ac_status); }
   6262 rm -f a.out
   6263 
   6264 # If we don't use `.F' as extension, the preprocessor is not run on the
   6265 # input file.  (Note that this only needs to work for GNU compilers.)
   6266 ac_save_ext=$ac_ext
   6267 ac_ext=F
   6268 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6269 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6270 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6271   $as_echo_n "(cached) " >&6
   6272 else
   6273   cat >conftest.$ac_ext <<_ACEOF
   6274       program main
   6275 #ifndef __GNUC__
   6276        choke me
   6277 #endif
   6278 
   6279       end
   6280 _ACEOF
   6281 rm -f conftest.$ac_objext
   6282 if { (ac_try="$ac_compile"
   6283 case "(($ac_try" in
   6284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6285   *) ac_try_echo=$ac_try;;
   6286 esac
   6287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6288 $as_echo "$ac_try_echo") >&5
   6289   (eval "$ac_compile") 2>conftest.er1
   6290   ac_status=$?
   6291   grep -v '^ *+' conftest.er1 >conftest.err
   6292   rm -f conftest.er1
   6293   cat conftest.err >&5
   6294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6295   (exit $ac_status); } && {
   6296 	 test -z "$ac_f77_werror_flag" ||
   6297 	 test ! -s conftest.err
   6298        } && test -s conftest.$ac_objext; then
   6299   ac_compiler_gnu=yes
   6300 else
   6301   $as_echo "$as_me: failed program was:" >&5
   6302 sed 's/^/| /' conftest.$ac_ext >&5
   6303 
   6304 	ac_compiler_gnu=no
   6305 fi
   6306 
   6307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6308 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6309 
   6310 fi
   6311 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6312 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6313 ac_ext=$ac_save_ext
   6314 ac_test_FFLAGS=${FFLAGS+set}
   6315 ac_save_FFLAGS=$FFLAGS
   6316 FFLAGS=
   6317 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6318 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6319 if test "${ac_cv_prog_f77_g+set}" = set; then
   6320   $as_echo_n "(cached) " >&6
   6321 else
   6322   FFLAGS=-g
   6323 cat >conftest.$ac_ext <<_ACEOF
   6324       program main
   6325 
   6326       end
   6327 _ACEOF
   6328 rm -f conftest.$ac_objext
   6329 if { (ac_try="$ac_compile"
   6330 case "(($ac_try" in
   6331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6332   *) ac_try_echo=$ac_try;;
   6333 esac
   6334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6335 $as_echo "$ac_try_echo") >&5
   6336   (eval "$ac_compile") 2>conftest.er1
   6337   ac_status=$?
   6338   grep -v '^ *+' conftest.er1 >conftest.err
   6339   rm -f conftest.er1
   6340   cat conftest.err >&5
   6341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6342   (exit $ac_status); } && {
   6343 	 test -z "$ac_f77_werror_flag" ||
   6344 	 test ! -s conftest.err
   6345        } && test -s conftest.$ac_objext; then
   6346   ac_cv_prog_f77_g=yes
   6347 else
   6348   $as_echo "$as_me: failed program was:" >&5
   6349 sed 's/^/| /' conftest.$ac_ext >&5
   6350 
   6351 	ac_cv_prog_f77_g=no
   6352 fi
   6353 
   6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6355 
   6356 fi
   6357 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6358 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6359 if test "$ac_test_FFLAGS" = set; then
   6360   FFLAGS=$ac_save_FFLAGS
   6361 elif test $ac_cv_prog_f77_g = yes; then
   6362   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6363     FFLAGS="-g -O2"
   6364   else
   6365     FFLAGS="-g"
   6366   fi
   6367 else
   6368   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6369     FFLAGS="-O2"
   6370   else
   6371     FFLAGS=
   6372   fi
   6373 fi
   6374 
   6375 if test $ac_compiler_gnu = yes; then
   6376   G77=yes
   6377 else
   6378   G77=
   6379 fi
   6380 ac_ext=c
   6381 ac_cpp='$CPP $CPPFLAGS'
   6382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6385 
   6386 
   6387 
   6388 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6389 # find the maximum length of command line arguments
   6390 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6391 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6392 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395     i=0
   6396   teststring="ABCD"
   6397 
   6398   case $build_os in
   6399   msdosdjgpp*)
   6400     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6401     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6402     # during glob expansion).  Even if it were fixed, the result of this
   6403     # check would be larger than it should be.
   6404     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6405     ;;
   6406 
   6407   gnu*)
   6408     # Under GNU Hurd, this test is not required because there is
   6409     # no limit to the length of command line arguments.
   6410     # Libtool will interpret -1 as no limit whatsoever
   6411     lt_cv_sys_max_cmd_len=-1;
   6412     ;;
   6413 
   6414   cygwin* | mingw*)
   6415     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6416     # about 5 minutes as the teststring grows exponentially.
   6417     # Worse, since 9x/ME are not pre-emptively multitasking,
   6418     # you end up with a "frozen" computer, even though with patience
   6419     # the test eventually succeeds (with a max line length of 256k).
   6420     # Instead, let's just punt: use the minimum linelength reported by
   6421     # all of the supported platforms: 8192 (on NT/2K/XP).
   6422     lt_cv_sys_max_cmd_len=8192;
   6423     ;;
   6424 
   6425   amigaos*)
   6426     # On AmigaOS with pdksh, this test takes hours, literally.
   6427     # So we just punt and use a minimum line length of 8192.
   6428     lt_cv_sys_max_cmd_len=8192;
   6429     ;;
   6430 
   6431   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6432     # This has been around since 386BSD, at least.  Likely further.
   6433     if test -x /sbin/sysctl; then
   6434       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6435     elif test -x /usr/sbin/sysctl; then
   6436       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6437     else
   6438       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6439     fi
   6440     # And add a safety zone
   6441     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6442     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6443     ;;
   6444 
   6445   interix*)
   6446     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6447     lt_cv_sys_max_cmd_len=196608
   6448     ;;
   6449 
   6450   osf*)
   6451     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6452     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6453     # nice to cause kernel panics so lets avoid the loop below.
   6454     # First set a reasonable default.
   6455     lt_cv_sys_max_cmd_len=16384
   6456     #
   6457     if test -x /sbin/sysconfig; then
   6458       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6459         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6460       esac
   6461     fi
   6462     ;;
   6463   sco3.2v5*)
   6464     lt_cv_sys_max_cmd_len=102400
   6465     ;;
   6466   sysv5* | sco5v6* | sysv4.2uw2*)
   6467     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6468     if test -n "$kargmax"; then
   6469       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6470     else
   6471       lt_cv_sys_max_cmd_len=32768
   6472     fi
   6473     ;;
   6474   *)
   6475     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6476     if test -n "$lt_cv_sys_max_cmd_len"; then
   6477       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6478       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6479     else
   6480       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6481       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6482 	       = "XX$teststring") >/dev/null 2>&1 &&
   6483 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6484 	      lt_cv_sys_max_cmd_len=$new_result &&
   6485 	      test $i != 17 # 1/2 MB should be enough
   6486       do
   6487         i=`expr $i + 1`
   6488         teststring=$teststring$teststring
   6489       done
   6490       teststring=
   6491       # Add a significant safety factor because C++ compilers can tack on massive
   6492       # amounts of additional arguments before passing them to the linker.
   6493       # It appears as though 1/2 is a usable value.
   6494       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6495     fi
   6496     ;;
   6497   esac
   6498 
   6499 fi
   6500 
   6501 if test -n $lt_cv_sys_max_cmd_len ; then
   6502   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6503 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6504 else
   6505   { $as_echo "$as_me:$LINENO: result: none" >&5
   6506 $as_echo "none" >&6; }
   6507 fi
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6514 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6515 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6516 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519 
   6520 # These are sane defaults that work on at least a few old systems.
   6521 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6522 
   6523 # Character class describing NM global symbol codes.
   6524 symcode='[BCDEGRST]'
   6525 
   6526 # Regexp to match symbols that can be accessed directly from C.
   6527 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6528 
   6529 # Transform an extracted symbol line into a proper C declaration
   6530 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6531 
   6532 # Transform an extracted symbol line into symbol name and symbol address
   6533 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'"
   6534 
   6535 # Define system-specific variables.
   6536 case $host_os in
   6537 aix*)
   6538   symcode='[BCDT]'
   6539   ;;
   6540 cygwin* | mingw* | pw32*)
   6541   symcode='[ABCDGISTW]'
   6542   ;;
   6543 hpux*) # Its linker distinguishes data from code symbols
   6544   if test "$host_cpu" = ia64; then
   6545     symcode='[ABCDEGRST]'
   6546   fi
   6547   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6548   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6549   ;;
   6550 linux* | k*bsd*-gnu)
   6551   if test "$host_cpu" = ia64; then
   6552     symcode='[ABCDGIRSTW]'
   6553     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6554     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'"
   6555   fi
   6556   ;;
   6557 irix* | nonstopux*)
   6558   symcode='[BCDEGRST]'
   6559   ;;
   6560 osf*)
   6561   symcode='[BCDEGQRST]'
   6562   ;;
   6563 solaris*)
   6564   symcode='[BDRT]'
   6565   ;;
   6566 sco3.2v5*)
   6567   symcode='[DT]'
   6568   ;;
   6569 sysv4.2uw2*)
   6570   symcode='[DT]'
   6571   ;;
   6572 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6573   symcode='[ABDT]'
   6574   ;;
   6575 sysv4)
   6576   symcode='[DFNSTU]'
   6577   ;;
   6578 esac
   6579 
   6580 # Handle CRLF in mingw tool chain
   6581 opt_cr=
   6582 case $build_os in
   6583 mingw*)
   6584   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6585   ;;
   6586 esac
   6587 
   6588 # If we're using GNU nm, then use its standard symbol codes.
   6589 case `$NM -V 2>&1` in
   6590 *GNU* | *'with BFD'*)
   6591   symcode='[ABCDGIRSTW]' ;;
   6592 esac
   6593 
   6594 # Try without a prefix undercore, then with it.
   6595 for ac_symprfx in "" "_"; do
   6596 
   6597   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6598   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6599 
   6600   # Write the raw and C identifiers.
   6601   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6602 
   6603   # Check to see that the pipe works correctly.
   6604   pipe_works=no
   6605 
   6606   rm -f conftest*
   6607   cat > conftest.$ac_ext <<EOF
   6608 #ifdef __cplusplus
   6609 extern "C" {
   6610 #endif
   6611 char nm_test_var;
   6612 void nm_test_func(){}
   6613 #ifdef __cplusplus
   6614 }
   6615 #endif
   6616 int main(){nm_test_var='a';nm_test_func();return(0);}
   6617 EOF
   6618 
   6619   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6620   (eval $ac_compile) 2>&5
   6621   ac_status=$?
   6622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6623   (exit $ac_status); }; then
   6624     # Now try to grab the symbols.
   6625     nlist=conftest.nm
   6626     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6627   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6628   ac_status=$?
   6629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6630   (exit $ac_status); } && test -s "$nlist"; then
   6631       # Try sorting and uniquifying the output.
   6632       if sort "$nlist" | uniq > "$nlist"T; then
   6633 	mv -f "$nlist"T "$nlist"
   6634       else
   6635 	rm -f "$nlist"T
   6636       fi
   6637 
   6638       # Make sure that we snagged all the symbols we need.
   6639       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6640 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6641 	  cat <<EOF > conftest.$ac_ext
   6642 #ifdef __cplusplus
   6643 extern "C" {
   6644 #endif
   6645 
   6646 EOF
   6647 	  # Now generate the symbol file.
   6648 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6649 
   6650 	  cat <<EOF >> conftest.$ac_ext
   6651 #if defined (__STDC__) && __STDC__
   6652 # define lt_ptr_t void *
   6653 #else
   6654 # define lt_ptr_t char *
   6655 # define const
   6656 #endif
   6657 
   6658 /* The mapping between symbol names and symbols. */
   6659 const struct {
   6660   const char *name;
   6661   lt_ptr_t address;
   6662 }
   6663 lt_preloaded_symbols[] =
   6664 {
   6665 EOF
   6666 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6667 	  cat <<\EOF >> conftest.$ac_ext
   6668   {0, (lt_ptr_t) 0}
   6669 };
   6670 
   6671 #ifdef __cplusplus
   6672 }
   6673 #endif
   6674 EOF
   6675 	  # Now try linking the two files.
   6676 	  mv conftest.$ac_objext conftstm.$ac_objext
   6677 	  lt_save_LIBS="$LIBS"
   6678 	  lt_save_CFLAGS="$CFLAGS"
   6679 	  LIBS="conftstm.$ac_objext"
   6680 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6681 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6682   (eval $ac_link) 2>&5
   6683   ac_status=$?
   6684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6685   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6686 	    pipe_works=yes
   6687 	  fi
   6688 	  LIBS="$lt_save_LIBS"
   6689 	  CFLAGS="$lt_save_CFLAGS"
   6690 	else
   6691 	  echo "cannot find nm_test_func in $nlist" >&5
   6692 	fi
   6693       else
   6694 	echo "cannot find nm_test_var in $nlist" >&5
   6695       fi
   6696     else
   6697       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6698     fi
   6699   else
   6700     echo "$progname: failed program was:" >&5
   6701     cat conftest.$ac_ext >&5
   6702   fi
   6703   rm -rf conftest* conftst*
   6704 
   6705   # Do not use the global_symbol_pipe unless it works.
   6706   if test "$pipe_works" = yes; then
   6707     break
   6708   else
   6709     lt_cv_sys_global_symbol_pipe=
   6710   fi
   6711 done
   6712 
   6713 fi
   6714 
   6715 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6716   lt_cv_sys_global_symbol_to_cdecl=
   6717 fi
   6718 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6719   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6720 $as_echo "failed" >&6; }
   6721 else
   6722   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6723 $as_echo "ok" >&6; }
   6724 fi
   6725 
   6726 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6727 $as_echo_n "checking for objdir... " >&6; }
   6728 if test "${lt_cv_objdir+set}" = set; then
   6729   $as_echo_n "(cached) " >&6
   6730 else
   6731   rm -f .libs 2>/dev/null
   6732 mkdir .libs 2>/dev/null
   6733 if test -d .libs; then
   6734   lt_cv_objdir=.libs
   6735 else
   6736   # MS-DOS does not allow filenames that begin with a dot.
   6737   lt_cv_objdir=_libs
   6738 fi
   6739 rmdir .libs 2>/dev/null
   6740 fi
   6741 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6742 $as_echo "$lt_cv_objdir" >&6; }
   6743 objdir=$lt_cv_objdir
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 case $host_os in
   6750 aix3*)
   6751   # AIX sometimes has problems with the GCC collect2 program.  For some
   6752   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6753   # vanish in a puff of smoke.
   6754   if test "X${COLLECT_NAMES+set}" != Xset; then
   6755     COLLECT_NAMES=
   6756     export COLLECT_NAMES
   6757   fi
   6758   ;;
   6759 esac
   6760 
   6761 # Sed substitution that helps us do robust quoting.  It backslashifies
   6762 # metacharacters that are still active within double-quoted strings.
   6763 Xsed='sed -e 1s/^X//'
   6764 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6765 
   6766 # Same as above, but do not quote variable references.
   6767 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6768 
   6769 # Sed substitution to delay expansion of an escaped shell variable in a
   6770 # double_quote_subst'ed string.
   6771 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6772 
   6773 # Sed substitution to avoid accidental globbing in evaled expressions
   6774 no_glob_subst='s/\*/\\\*/g'
   6775 
   6776 # Constants:
   6777 rm="rm -f"
   6778 
   6779 # Global variables:
   6780 default_ofile=libtool
   6781 can_build_shared=yes
   6782 
   6783 # All known linkers require a `.a' archive for static linking (except MSVC,
   6784 # which needs '.lib').
   6785 libext=a
   6786 ltmain="$ac_aux_dir/ltmain.sh"
   6787 ofile="$default_ofile"
   6788 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6789 
   6790 if test -n "$ac_tool_prefix"; then
   6791   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6792 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6794 $as_echo_n "checking for $ac_word... " >&6; }
   6795 if test "${ac_cv_prog_AR+set}" = set; then
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   if test -n "$AR"; then
   6799   ac_cv_prog_AR="$AR" # Let the user override the test.
   6800 else
   6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6802 for as_dir in $PATH
   6803 do
   6804   IFS=$as_save_IFS
   6805   test -z "$as_dir" && as_dir=.
   6806   for ac_exec_ext in '' $ac_executable_extensions; do
   6807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6808     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6809     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6810     break 2
   6811   fi
   6812 done
   6813 done
   6814 IFS=$as_save_IFS
   6815 
   6816 fi
   6817 fi
   6818 AR=$ac_cv_prog_AR
   6819 if test -n "$AR"; then
   6820   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6821 $as_echo "$AR" >&6; }
   6822 else
   6823   { $as_echo "$as_me:$LINENO: result: no" >&5
   6824 $as_echo "no" >&6; }
   6825 fi
   6826 
   6827 
   6828 fi
   6829 if test -z "$ac_cv_prog_AR"; then
   6830   ac_ct_AR=$AR
   6831   # Extract the first word of "ar", so it can be a program name with args.
   6832 set dummy ar; ac_word=$2
   6833 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6834 $as_echo_n "checking for $ac_word... " >&6; }
   6835 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   if test -n "$ac_ct_AR"; then
   6839   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6840 else
   6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6842 for as_dir in $PATH
   6843 do
   6844   IFS=$as_save_IFS
   6845   test -z "$as_dir" && as_dir=.
   6846   for ac_exec_ext in '' $ac_executable_extensions; do
   6847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6848     ac_cv_prog_ac_ct_AR="ar"
   6849     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6850     break 2
   6851   fi
   6852 done
   6853 done
   6854 IFS=$as_save_IFS
   6855 
   6856 fi
   6857 fi
   6858 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6859 if test -n "$ac_ct_AR"; then
   6860   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6861 $as_echo "$ac_ct_AR" >&6; }
   6862 else
   6863   { $as_echo "$as_me:$LINENO: result: no" >&5
   6864 $as_echo "no" >&6; }
   6865 fi
   6866 
   6867   if test "x$ac_ct_AR" = x; then
   6868     AR="false"
   6869   else
   6870     case $cross_compiling:$ac_tool_warned in
   6871 yes:)
   6872 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6874 ac_tool_warned=yes ;;
   6875 esac
   6876     AR=$ac_ct_AR
   6877   fi
   6878 else
   6879   AR="$ac_cv_prog_AR"
   6880 fi
   6881 
   6882 if test -n "$ac_tool_prefix"; then
   6883   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6886 $as_echo_n "checking for $ac_word... " >&6; }
   6887 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6888   $as_echo_n "(cached) " >&6
   6889 else
   6890   if test -n "$RANLIB"; then
   6891   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6892 else
   6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6894 for as_dir in $PATH
   6895 do
   6896   IFS=$as_save_IFS
   6897   test -z "$as_dir" && as_dir=.
   6898   for ac_exec_ext in '' $ac_executable_extensions; do
   6899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6900     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6901     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6902     break 2
   6903   fi
   6904 done
   6905 done
   6906 IFS=$as_save_IFS
   6907 
   6908 fi
   6909 fi
   6910 RANLIB=$ac_cv_prog_RANLIB
   6911 if test -n "$RANLIB"; then
   6912   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6913 $as_echo "$RANLIB" >&6; }
   6914 else
   6915   { $as_echo "$as_me:$LINENO: result: no" >&5
   6916 $as_echo "no" >&6; }
   6917 fi
   6918 
   6919 
   6920 fi
   6921 if test -z "$ac_cv_prog_RANLIB"; then
   6922   ac_ct_RANLIB=$RANLIB
   6923   # Extract the first word of "ranlib", so it can be a program name with args.
   6924 set dummy ranlib; ac_word=$2
   6925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6926 $as_echo_n "checking for $ac_word... " >&6; }
   6927 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   if test -n "$ac_ct_RANLIB"; then
   6931   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6932 else
   6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6934 for as_dir in $PATH
   6935 do
   6936   IFS=$as_save_IFS
   6937   test -z "$as_dir" && as_dir=.
   6938   for ac_exec_ext in '' $ac_executable_extensions; do
   6939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6940     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6941     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6942     break 2
   6943   fi
   6944 done
   6945 done
   6946 IFS=$as_save_IFS
   6947 
   6948 fi
   6949 fi
   6950 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6951 if test -n "$ac_ct_RANLIB"; then
   6952   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6953 $as_echo "$ac_ct_RANLIB" >&6; }
   6954 else
   6955   { $as_echo "$as_me:$LINENO: result: no" >&5
   6956 $as_echo "no" >&6; }
   6957 fi
   6958 
   6959   if test "x$ac_ct_RANLIB" = x; then
   6960     RANLIB=":"
   6961   else
   6962     case $cross_compiling:$ac_tool_warned in
   6963 yes:)
   6964 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6966 ac_tool_warned=yes ;;
   6967 esac
   6968     RANLIB=$ac_ct_RANLIB
   6969   fi
   6970 else
   6971   RANLIB="$ac_cv_prog_RANLIB"
   6972 fi
   6973 
   6974 if test -n "$ac_tool_prefix"; then
   6975   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6976 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6977 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6978 $as_echo_n "checking for $ac_word... " >&6; }
   6979 if test "${ac_cv_prog_STRIP+set}" = set; then
   6980   $as_echo_n "(cached) " >&6
   6981 else
   6982   if test -n "$STRIP"; then
   6983   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6984 else
   6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6986 for as_dir in $PATH
   6987 do
   6988   IFS=$as_save_IFS
   6989   test -z "$as_dir" && as_dir=.
   6990   for ac_exec_ext in '' $ac_executable_extensions; do
   6991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6992     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6993     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6994     break 2
   6995   fi
   6996 done
   6997 done
   6998 IFS=$as_save_IFS
   6999 
   7000 fi
   7001 fi
   7002 STRIP=$ac_cv_prog_STRIP
   7003 if test -n "$STRIP"; then
   7004   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7005 $as_echo "$STRIP" >&6; }
   7006 else
   7007   { $as_echo "$as_me:$LINENO: result: no" >&5
   7008 $as_echo "no" >&6; }
   7009 fi
   7010 
   7011 
   7012 fi
   7013 if test -z "$ac_cv_prog_STRIP"; then
   7014   ac_ct_STRIP=$STRIP
   7015   # Extract the first word of "strip", so it can be a program name with args.
   7016 set dummy strip; ac_word=$2
   7017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7018 $as_echo_n "checking for $ac_word... " >&6; }
   7019 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   if test -n "$ac_ct_STRIP"; then
   7023   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7024 else
   7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7026 for as_dir in $PATH
   7027 do
   7028   IFS=$as_save_IFS
   7029   test -z "$as_dir" && as_dir=.
   7030   for ac_exec_ext in '' $ac_executable_extensions; do
   7031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7032     ac_cv_prog_ac_ct_STRIP="strip"
   7033     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7034     break 2
   7035   fi
   7036 done
   7037 done
   7038 IFS=$as_save_IFS
   7039 
   7040 fi
   7041 fi
   7042 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7043 if test -n "$ac_ct_STRIP"; then
   7044   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7045 $as_echo "$ac_ct_STRIP" >&6; }
   7046 else
   7047   { $as_echo "$as_me:$LINENO: result: no" >&5
   7048 $as_echo "no" >&6; }
   7049 fi
   7050 
   7051   if test "x$ac_ct_STRIP" = x; then
   7052     STRIP=":"
   7053   else
   7054     case $cross_compiling:$ac_tool_warned in
   7055 yes:)
   7056 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7058 ac_tool_warned=yes ;;
   7059 esac
   7060     STRIP=$ac_ct_STRIP
   7061   fi
   7062 else
   7063   STRIP="$ac_cv_prog_STRIP"
   7064 fi
   7065 
   7066 
   7067 old_CC="$CC"
   7068 old_CFLAGS="$CFLAGS"
   7069 
   7070 # Set sane defaults for various variables
   7071 test -z "$AR" && AR=ar
   7072 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7073 test -z "$AS" && AS=as
   7074 test -z "$CC" && CC=cc
   7075 test -z "$LTCC" && LTCC=$CC
   7076 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7077 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7078 test -z "$LD" && LD=ld
   7079 test -z "$LN_S" && LN_S="ln -s"
   7080 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7081 test -z "$NM" && NM=nm
   7082 test -z "$SED" && SED=sed
   7083 test -z "$OBJDUMP" && OBJDUMP=objdump
   7084 test -z "$RANLIB" && RANLIB=:
   7085 test -z "$STRIP" && STRIP=:
   7086 test -z "$ac_objext" && ac_objext=o
   7087 
   7088 # Determine commands to create old-style static archives.
   7089 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7090 old_postinstall_cmds='chmod 644 $oldlib'
   7091 old_postuninstall_cmds=
   7092 
   7093 if test -n "$RANLIB"; then
   7094   case $host_os in
   7095   openbsd*)
   7096     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7097     ;;
   7098   *)
   7099     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7100     ;;
   7101   esac
   7102   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7103 fi
   7104 
   7105 for cc_temp in $compiler""; do
   7106   case $cc_temp in
   7107     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7108     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7109     \-*) ;;
   7110     *) break;;
   7111   esac
   7112 done
   7113 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7114 
   7115 
   7116 # Only perform the check for file, if the check method requires it
   7117 case $deplibs_check_method in
   7118 file_magic*)
   7119   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7120     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7121 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7123   $as_echo_n "(cached) " >&6
   7124 else
   7125   case $MAGIC_CMD in
   7126 [\\/*] |  ?:[\\/]*)
   7127   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7128   ;;
   7129 *)
   7130   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7131   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7132   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7133   for ac_dir in $ac_dummy; do
   7134     IFS="$lt_save_ifs"
   7135     test -z "$ac_dir" && ac_dir=.
   7136     if test -f $ac_dir/${ac_tool_prefix}file; then
   7137       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7138       if test -n "$file_magic_test_file"; then
   7139 	case $deplibs_check_method in
   7140 	"file_magic "*)
   7141 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7142 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7143 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7144 	    $EGREP "$file_magic_regex" > /dev/null; then
   7145 	    :
   7146 	  else
   7147 	    cat <<EOF 1>&2
   7148 
   7149 *** Warning: the command libtool uses to detect shared libraries,
   7150 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7151 *** The result is that libtool may fail to recognize shared libraries
   7152 *** as such.  This will affect the creation of libtool libraries that
   7153 *** depend on shared libraries, but programs linked with such libtool
   7154 *** libraries will work regardless of this problem.  Nevertheless, you
   7155 *** may want to report the problem to your system manager and/or to
   7156 *** bug-libtool@gnu.org
   7157 
   7158 EOF
   7159 	  fi ;;
   7160 	esac
   7161       fi
   7162       break
   7163     fi
   7164   done
   7165   IFS="$lt_save_ifs"
   7166   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7167   ;;
   7168 esac
   7169 fi
   7170 
   7171 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7172 if test -n "$MAGIC_CMD"; then
   7173   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7174 $as_echo "$MAGIC_CMD" >&6; }
   7175 else
   7176   { $as_echo "$as_me:$LINENO: result: no" >&5
   7177 $as_echo "no" >&6; }
   7178 fi
   7179 
   7180 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7181   if test -n "$ac_tool_prefix"; then
   7182     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7183 $as_echo_n "checking for file... " >&6; }
   7184 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7185   $as_echo_n "(cached) " >&6
   7186 else
   7187   case $MAGIC_CMD in
   7188 [\\/*] |  ?:[\\/]*)
   7189   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7190   ;;
   7191 *)
   7192   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7193   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7194   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7195   for ac_dir in $ac_dummy; do
   7196     IFS="$lt_save_ifs"
   7197     test -z "$ac_dir" && ac_dir=.
   7198     if test -f $ac_dir/file; then
   7199       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7200       if test -n "$file_magic_test_file"; then
   7201 	case $deplibs_check_method in
   7202 	"file_magic "*)
   7203 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7204 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7205 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7206 	    $EGREP "$file_magic_regex" > /dev/null; then
   7207 	    :
   7208 	  else
   7209 	    cat <<EOF 1>&2
   7210 
   7211 *** Warning: the command libtool uses to detect shared libraries,
   7212 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7213 *** The result is that libtool may fail to recognize shared libraries
   7214 *** as such.  This will affect the creation of libtool libraries that
   7215 *** depend on shared libraries, but programs linked with such libtool
   7216 *** libraries will work regardless of this problem.  Nevertheless, you
   7217 *** may want to report the problem to your system manager and/or to
   7218 *** bug-libtool@gnu.org
   7219 
   7220 EOF
   7221 	  fi ;;
   7222 	esac
   7223       fi
   7224       break
   7225     fi
   7226   done
   7227   IFS="$lt_save_ifs"
   7228   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7229   ;;
   7230 esac
   7231 fi
   7232 
   7233 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7234 if test -n "$MAGIC_CMD"; then
   7235   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7236 $as_echo "$MAGIC_CMD" >&6; }
   7237 else
   7238   { $as_echo "$as_me:$LINENO: result: no" >&5
   7239 $as_echo "no" >&6; }
   7240 fi
   7241 
   7242   else
   7243     MAGIC_CMD=:
   7244   fi
   7245 fi
   7246 
   7247   fi
   7248   ;;
   7249 esac
   7250 
   7251 
   7252   case $host_os in
   7253     rhapsody* | darwin*)
   7254     if test -n "$ac_tool_prefix"; then
   7255   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7258 $as_echo_n "checking for $ac_word... " >&6; }
   7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7260   $as_echo_n "(cached) " >&6
   7261 else
   7262   if test -n "$DSYMUTIL"; then
   7263   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7264 else
   7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7266 for as_dir in $PATH
   7267 do
   7268   IFS=$as_save_IFS
   7269   test -z "$as_dir" && as_dir=.
   7270   for ac_exec_ext in '' $ac_executable_extensions; do
   7271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7272     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7273     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7274     break 2
   7275   fi
   7276 done
   7277 done
   7278 IFS=$as_save_IFS
   7279 
   7280 fi
   7281 fi
   7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7283 if test -n "$DSYMUTIL"; then
   7284   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7285 $as_echo "$DSYMUTIL" >&6; }
   7286 else
   7287   { $as_echo "$as_me:$LINENO: result: no" >&5
   7288 $as_echo "no" >&6; }
   7289 fi
   7290 
   7291 
   7292 fi
   7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7294   ac_ct_DSYMUTIL=$DSYMUTIL
   7295   # Extract the first word of "dsymutil", so it can be a program name with args.
   7296 set dummy dsymutil; ac_word=$2
   7297 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7298 $as_echo_n "checking for $ac_word... " >&6; }
   7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   if test -n "$ac_ct_DSYMUTIL"; then
   7303   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7304 else
   7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7306 for as_dir in $PATH
   7307 do
   7308   IFS=$as_save_IFS
   7309   test -z "$as_dir" && as_dir=.
   7310   for ac_exec_ext in '' $ac_executable_extensions; do
   7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7312     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7313     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7314     break 2
   7315   fi
   7316 done
   7317 done
   7318 IFS=$as_save_IFS
   7319 
   7320 fi
   7321 fi
   7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7323 if test -n "$ac_ct_DSYMUTIL"; then
   7324   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7326 else
   7327   { $as_echo "$as_me:$LINENO: result: no" >&5
   7328 $as_echo "no" >&6; }
   7329 fi
   7330 
   7331   if test "x$ac_ct_DSYMUTIL" = x; then
   7332     DSYMUTIL=":"
   7333   else
   7334     case $cross_compiling:$ac_tool_warned in
   7335 yes:)
   7336 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7338 ac_tool_warned=yes ;;
   7339 esac
   7340     DSYMUTIL=$ac_ct_DSYMUTIL
   7341   fi
   7342 else
   7343   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7344 fi
   7345 
   7346     if test -n "$ac_tool_prefix"; then
   7347   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7350 $as_echo_n "checking for $ac_word... " >&6; }
   7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7352   $as_echo_n "(cached) " >&6
   7353 else
   7354   if test -n "$NMEDIT"; then
   7355   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7356 else
   7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7358 for as_dir in $PATH
   7359 do
   7360   IFS=$as_save_IFS
   7361   test -z "$as_dir" && as_dir=.
   7362   for ac_exec_ext in '' $ac_executable_extensions; do
   7363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7364     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7366     break 2
   7367   fi
   7368 done
   7369 done
   7370 IFS=$as_save_IFS
   7371 
   7372 fi
   7373 fi
   7374 NMEDIT=$ac_cv_prog_NMEDIT
   7375 if test -n "$NMEDIT"; then
   7376   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7377 $as_echo "$NMEDIT" >&6; }
   7378 else
   7379   { $as_echo "$as_me:$LINENO: result: no" >&5
   7380 $as_echo "no" >&6; }
   7381 fi
   7382 
   7383 
   7384 fi
   7385 if test -z "$ac_cv_prog_NMEDIT"; then
   7386   ac_ct_NMEDIT=$NMEDIT
   7387   # Extract the first word of "nmedit", so it can be a program name with args.
   7388 set dummy nmedit; ac_word=$2
   7389 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7390 $as_echo_n "checking for $ac_word... " >&6; }
   7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7392   $as_echo_n "(cached) " >&6
   7393 else
   7394   if test -n "$ac_ct_NMEDIT"; then
   7395   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7396 else
   7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7398 for as_dir in $PATH
   7399 do
   7400   IFS=$as_save_IFS
   7401   test -z "$as_dir" && as_dir=.
   7402   for ac_exec_ext in '' $ac_executable_extensions; do
   7403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7404     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7405     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7406     break 2
   7407   fi
   7408 done
   7409 done
   7410 IFS=$as_save_IFS
   7411 
   7412 fi
   7413 fi
   7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7415 if test -n "$ac_ct_NMEDIT"; then
   7416   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7417 $as_echo "$ac_ct_NMEDIT" >&6; }
   7418 else
   7419   { $as_echo "$as_me:$LINENO: result: no" >&5
   7420 $as_echo "no" >&6; }
   7421 fi
   7422 
   7423   if test "x$ac_ct_NMEDIT" = x; then
   7424     NMEDIT=":"
   7425   else
   7426     case $cross_compiling:$ac_tool_warned in
   7427 yes:)
   7428 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7430 ac_tool_warned=yes ;;
   7431 esac
   7432     NMEDIT=$ac_ct_NMEDIT
   7433   fi
   7434 else
   7435   NMEDIT="$ac_cv_prog_NMEDIT"
   7436 fi
   7437 
   7438 
   7439     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7440 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7441 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7442   $as_echo_n "(cached) " >&6
   7443 else
   7444   lt_cv_apple_cc_single_mod=no
   7445       if test -z "${LT_MULTI_MODULE}"; then
   7446    # By default we will add the -single_module flag. You can override
   7447    # by either setting the environment variable LT_MULTI_MODULE
   7448    # non-empty at configure time, or by adding -multi_module to the
   7449    # link flags.
   7450    echo "int foo(void){return 1;}" > conftest.c
   7451    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7452      -dynamiclib ${wl}-single_module conftest.c
   7453    if test -f libconftest.dylib; then
   7454      lt_cv_apple_cc_single_mod=yes
   7455      rm -rf libconftest.dylib*
   7456    fi
   7457    rm conftest.c
   7458       fi
   7459 fi
   7460 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7461 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7462     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7463 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7464 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7465   $as_echo_n "(cached) " >&6
   7466 else
   7467   lt_cv_ld_exported_symbols_list=no
   7468       save_LDFLAGS=$LDFLAGS
   7469       echo "_main" > conftest.sym
   7470       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7471       cat >conftest.$ac_ext <<_ACEOF
   7472 /* confdefs.h.  */
   7473 _ACEOF
   7474 cat confdefs.h >>conftest.$ac_ext
   7475 cat >>conftest.$ac_ext <<_ACEOF
   7476 /* end confdefs.h.  */
   7477 
   7478 int
   7479 main ()
   7480 {
   7481 
   7482   ;
   7483   return 0;
   7484 }
   7485 _ACEOF
   7486 rm -f conftest.$ac_objext conftest$ac_exeext
   7487 if { (ac_try="$ac_link"
   7488 case "(($ac_try" in
   7489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7490   *) ac_try_echo=$ac_try;;
   7491 esac
   7492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7493 $as_echo "$ac_try_echo") >&5
   7494   (eval "$ac_link") 2>conftest.er1
   7495   ac_status=$?
   7496   grep -v '^ *+' conftest.er1 >conftest.err
   7497   rm -f conftest.er1
   7498   cat conftest.err >&5
   7499   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7500   (exit $ac_status); } && {
   7501 	 test -z "$ac_c_werror_flag" ||
   7502 	 test ! -s conftest.err
   7503        } && test -s conftest$ac_exeext && {
   7504 	 test "$cross_compiling" = yes ||
   7505 	 $as_test_x conftest$ac_exeext
   7506        }; then
   7507   lt_cv_ld_exported_symbols_list=yes
   7508 else
   7509   $as_echo "$as_me: failed program was:" >&5
   7510 sed 's/^/| /' conftest.$ac_ext >&5
   7511 
   7512 	lt_cv_ld_exported_symbols_list=no
   7513 fi
   7514 
   7515 rm -rf conftest.dSYM
   7516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7517       conftest$ac_exeext conftest.$ac_ext
   7518    LDFLAGS="$save_LDFLAGS"
   7519 
   7520 fi
   7521 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7522 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7523     case $host_os in
   7524     rhapsody* | darwin1.[0123])
   7525       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7526     darwin1.*)
   7527      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7528     darwin*)
   7529       # if running on 10.5 or later, the deployment target defaults
   7530       # to the OS version, if on x86, and 10.4, the deployment
   7531       # target defaults to 10.4. Don't you love it?
   7532       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7533    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7534      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7535    10.[012]*)
   7536      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7537    10.*)
   7538      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7539       esac
   7540     ;;
   7541   esac
   7542     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7543       _lt_dar_single_mod='$single_module'
   7544     fi
   7545     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7546       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7547     else
   7548       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7549     fi
   7550     if test "$DSYMUTIL" != ":"; then
   7551       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7552     else
   7553       _lt_dsymutil=
   7554     fi
   7555     ;;
   7556   esac
   7557 
   7558 
   7559 enable_dlopen=no
   7560 enable_win32_dll=no
   7561 
   7562 # Check whether --enable-libtool-lock was given.
   7563 if test "${enable_libtool_lock+set}" = set; then
   7564   enableval=$enable_libtool_lock;
   7565 fi
   7566 
   7567 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7568 
   7569 
   7570 # Check whether --with-pic was given.
   7571 if test "${with_pic+set}" = set; then
   7572   withval=$with_pic; pic_mode="$withval"
   7573 else
   7574   pic_mode=default
   7575 fi
   7576 
   7577 test -z "$pic_mode" && pic_mode=default
   7578 
   7579 # Use C for the default configuration in the libtool script
   7580 tagname=
   7581 lt_save_CC="$CC"
   7582 ac_ext=c
   7583 ac_cpp='$CPP $CPPFLAGS'
   7584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7587 
   7588 
   7589 # Source file extension for C test sources.
   7590 ac_ext=c
   7591 
   7592 # Object file extension for compiled C test sources.
   7593 objext=o
   7594 objext=$objext
   7595 
   7596 # Code to be used in simple compile tests
   7597 lt_simple_compile_test_code="int some_variable = 0;"
   7598 
   7599 # Code to be used in simple link tests
   7600 lt_simple_link_test_code='int main(){return(0);}'
   7601 
   7602 
   7603 # If no C compiler was specified, use CC.
   7604 LTCC=${LTCC-"$CC"}
   7605 
   7606 # If no C compiler flags were specified, use CFLAGS.
   7607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7608 
   7609 # Allow CC to be a program name with arguments.
   7610 compiler=$CC
   7611 
   7612 
   7613 # save warnings/boilerplate of simple test code
   7614 ac_outfile=conftest.$ac_objext
   7615 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7616 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7617 _lt_compiler_boilerplate=`cat conftest.err`
   7618 $rm conftest*
   7619 
   7620 ac_outfile=conftest.$ac_objext
   7621 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7622 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7623 _lt_linker_boilerplate=`cat conftest.err`
   7624 $rm -r conftest*
   7625 
   7626 
   7627 
   7628 lt_prog_compiler_no_builtin_flag=
   7629 
   7630 if test "$GCC" = yes; then
   7631   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7632 
   7633 
   7634 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7635 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7636 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7637   $as_echo_n "(cached) " >&6
   7638 else
   7639   lt_cv_prog_compiler_rtti_exceptions=no
   7640   ac_outfile=conftest.$ac_objext
   7641    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7642    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7643    # Insert the option either (1) after the last *FLAGS variable, or
   7644    # (2) before a word containing "conftest.", or (3) at the end.
   7645    # Note that $ac_compile itself does not contain backslashes and begins
   7646    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7647    # The option is referenced via a variable to avoid confusing sed.
   7648    lt_compile=`echo "$ac_compile" | $SED \
   7649    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7650    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7651    -e 's:$: $lt_compiler_flag:'`
   7652    (eval echo "\"\$as_me:7652: $lt_compile\"" >&5)
   7653    (eval "$lt_compile" 2>conftest.err)
   7654    ac_status=$?
   7655    cat conftest.err >&5
   7656    echo "$as_me:7656: \$? = $ac_status" >&5
   7657    if (exit $ac_status) && test -s "$ac_outfile"; then
   7658      # The compiler can only warn and ignore the option if not recognized
   7659      # So say no if there are warnings other than the usual output.
   7660      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7661      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7662      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7663        lt_cv_prog_compiler_rtti_exceptions=yes
   7664      fi
   7665    fi
   7666    $rm conftest*
   7667 
   7668 fi
   7669 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7670 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7671 
   7672 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7673     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7674 else
   7675     :
   7676 fi
   7677 
   7678 fi
   7679 
   7680 lt_prog_compiler_wl=
   7681 lt_prog_compiler_pic=
   7682 lt_prog_compiler_static=
   7683 
   7684 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7685 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7686 
   7687   if test "$GCC" = yes; then
   7688     lt_prog_compiler_wl='-Wl,'
   7689     lt_prog_compiler_static='-static'
   7690 
   7691     case $host_os in
   7692       aix*)
   7693       # All AIX code is PIC.
   7694       if test "$host_cpu" = ia64; then
   7695 	# AIX 5 now supports IA64 processor
   7696 	lt_prog_compiler_static='-Bstatic'
   7697       fi
   7698       ;;
   7699 
   7700     amigaos*)
   7701       # FIXME: we need at least 68020 code to build shared libraries, but
   7702       # adding the `-m68020' flag to GCC prevents building anything better,
   7703       # like `-m68040'.
   7704       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7705       ;;
   7706 
   7707     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7708       # PIC is the default for these OSes.
   7709       ;;
   7710 
   7711     mingw* | cygwin* | pw32* | os2*)
   7712       # This hack is so that the source file can tell whether it is being
   7713       # built for inclusion in a dll (and should export symbols for example).
   7714       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7715       # (--disable-auto-import) libraries
   7716       lt_prog_compiler_pic='-DDLL_EXPORT'
   7717       ;;
   7718 
   7719     darwin* | rhapsody*)
   7720       # PIC is the default on this platform
   7721       # Common symbols not allowed in MH_DYLIB files
   7722       lt_prog_compiler_pic='-fno-common'
   7723       ;;
   7724 
   7725     interix[3-9]*)
   7726       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7727       # Instead, we relocate shared libraries at runtime.
   7728       ;;
   7729 
   7730     msdosdjgpp*)
   7731       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7732       # on systems that don't support them.
   7733       lt_prog_compiler_can_build_shared=no
   7734       enable_shared=no
   7735       ;;
   7736 
   7737     sysv4*MP*)
   7738       if test -d /usr/nec; then
   7739 	lt_prog_compiler_pic=-Kconform_pic
   7740       fi
   7741       ;;
   7742 
   7743     hpux*)
   7744       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7745       # not for PA HP-UX.
   7746       case $host_cpu in
   7747       hppa*64*|ia64*)
   7748 	# +Z the default
   7749 	;;
   7750       *)
   7751 	lt_prog_compiler_pic='-fPIC'
   7752 	;;
   7753       esac
   7754       ;;
   7755 
   7756     *)
   7757       lt_prog_compiler_pic='-fPIC'
   7758       ;;
   7759     esac
   7760   else
   7761     # PORTME Check for flag to pass linker flags through the system compiler.
   7762     case $host_os in
   7763     aix*)
   7764       lt_prog_compiler_wl='-Wl,'
   7765       if test "$host_cpu" = ia64; then
   7766 	# AIX 5 now supports IA64 processor
   7767 	lt_prog_compiler_static='-Bstatic'
   7768       else
   7769 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7770       fi
   7771       ;;
   7772       darwin*)
   7773         # PIC is the default on this platform
   7774         # Common symbols not allowed in MH_DYLIB files
   7775        case $cc_basename in
   7776          xlc*)
   7777          lt_prog_compiler_pic='-qnocommon'
   7778          lt_prog_compiler_wl='-Wl,'
   7779          ;;
   7780        esac
   7781        ;;
   7782 
   7783     mingw* | cygwin* | pw32* | os2*)
   7784       # This hack is so that the source file can tell whether it is being
   7785       # built for inclusion in a dll (and should export symbols for example).
   7786       lt_prog_compiler_pic='-DDLL_EXPORT'
   7787       ;;
   7788 
   7789     hpux9* | hpux10* | hpux11*)
   7790       lt_prog_compiler_wl='-Wl,'
   7791       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7792       # not for PA HP-UX.
   7793       case $host_cpu in
   7794       hppa*64*|ia64*)
   7795 	# +Z the default
   7796 	;;
   7797       *)
   7798 	lt_prog_compiler_pic='+Z'
   7799 	;;
   7800       esac
   7801       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7802       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7803       ;;
   7804 
   7805     irix5* | irix6* | nonstopux*)
   7806       lt_prog_compiler_wl='-Wl,'
   7807       # PIC (with -KPIC) is the default.
   7808       lt_prog_compiler_static='-non_shared'
   7809       ;;
   7810 
   7811     newsos6)
   7812       lt_prog_compiler_pic='-KPIC'
   7813       lt_prog_compiler_static='-Bstatic'
   7814       ;;
   7815 
   7816     linux* | k*bsd*-gnu)
   7817       case $cc_basename in
   7818       icc* | ecc*)
   7819 	lt_prog_compiler_wl='-Wl,'
   7820 	lt_prog_compiler_pic='-KPIC'
   7821 	lt_prog_compiler_static='-static'
   7822         ;;
   7823       pgcc* | pgf77* | pgf90* | pgf95*)
   7824         # Portland Group compilers (*not* the Pentium gcc compiler,
   7825 	# which looks to be a dead project)
   7826 	lt_prog_compiler_wl='-Wl,'
   7827 	lt_prog_compiler_pic='-fpic'
   7828 	lt_prog_compiler_static='-Bstatic'
   7829         ;;
   7830       ccc*)
   7831         lt_prog_compiler_wl='-Wl,'
   7832         # All Alpha code is PIC.
   7833         lt_prog_compiler_static='-non_shared'
   7834         ;;
   7835       *)
   7836         case `$CC -V 2>&1 | sed 5q` in
   7837 	*Sun\ C*)
   7838 	  # Sun C 5.9
   7839 	  lt_prog_compiler_pic='-KPIC'
   7840 	  lt_prog_compiler_static='-Bstatic'
   7841 	  lt_prog_compiler_wl='-Wl,'
   7842 	  ;;
   7843 	*Sun\ F*)
   7844 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7845 	  lt_prog_compiler_pic='-KPIC'
   7846 	  lt_prog_compiler_static='-Bstatic'
   7847 	  lt_prog_compiler_wl=''
   7848 	  ;;
   7849 	esac
   7850 	;;
   7851       esac
   7852       ;;
   7853 
   7854     osf3* | osf4* | osf5*)
   7855       lt_prog_compiler_wl='-Wl,'
   7856       # All OSF/1 code is PIC.
   7857       lt_prog_compiler_static='-non_shared'
   7858       ;;
   7859 
   7860     rdos*)
   7861       lt_prog_compiler_static='-non_shared'
   7862       ;;
   7863 
   7864     solaris*)
   7865       lt_prog_compiler_pic='-KPIC'
   7866       lt_prog_compiler_static='-Bstatic'
   7867       case $cc_basename in
   7868       f77* | f90* | f95*)
   7869 	lt_prog_compiler_wl='-Qoption ld ';;
   7870       *)
   7871 	lt_prog_compiler_wl='-Wl,';;
   7872       esac
   7873       ;;
   7874 
   7875     sunos4*)
   7876       lt_prog_compiler_wl='-Qoption ld '
   7877       lt_prog_compiler_pic='-PIC'
   7878       lt_prog_compiler_static='-Bstatic'
   7879       ;;
   7880 
   7881     sysv4 | sysv4.2uw2* | sysv4.3*)
   7882       lt_prog_compiler_wl='-Wl,'
   7883       lt_prog_compiler_pic='-KPIC'
   7884       lt_prog_compiler_static='-Bstatic'
   7885       ;;
   7886 
   7887     sysv4*MP*)
   7888       if test -d /usr/nec ;then
   7889 	lt_prog_compiler_pic='-Kconform_pic'
   7890 	lt_prog_compiler_static='-Bstatic'
   7891       fi
   7892       ;;
   7893 
   7894     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7895       lt_prog_compiler_wl='-Wl,'
   7896       lt_prog_compiler_pic='-KPIC'
   7897       lt_prog_compiler_static='-Bstatic'
   7898       ;;
   7899 
   7900     unicos*)
   7901       lt_prog_compiler_wl='-Wl,'
   7902       lt_prog_compiler_can_build_shared=no
   7903       ;;
   7904 
   7905     uts4*)
   7906       lt_prog_compiler_pic='-pic'
   7907       lt_prog_compiler_static='-Bstatic'
   7908       ;;
   7909 
   7910     *)
   7911       lt_prog_compiler_can_build_shared=no
   7912       ;;
   7913     esac
   7914   fi
   7915 
   7916 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7917 $as_echo "$lt_prog_compiler_pic" >&6; }
   7918 
   7919 #
   7920 # Check to make sure the PIC flag actually works.
   7921 #
   7922 if test -n "$lt_prog_compiler_pic"; then
   7923 
   7924 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7925 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7926 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7927   $as_echo_n "(cached) " >&6
   7928 else
   7929   lt_cv_prog_compiler_pic_works=no
   7930   ac_outfile=conftest.$ac_objext
   7931    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7932    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7933    # Insert the option either (1) after the last *FLAGS variable, or
   7934    # (2) before a word containing "conftest.", or (3) at the end.
   7935    # Note that $ac_compile itself does not contain backslashes and begins
   7936    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7937    # The option is referenced via a variable to avoid confusing sed.
   7938    lt_compile=`echo "$ac_compile" | $SED \
   7939    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7940    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7941    -e 's:$: $lt_compiler_flag:'`
   7942    (eval echo "\"\$as_me:7942: $lt_compile\"" >&5)
   7943    (eval "$lt_compile" 2>conftest.err)
   7944    ac_status=$?
   7945    cat conftest.err >&5
   7946    echo "$as_me:7946: \$? = $ac_status" >&5
   7947    if (exit $ac_status) && test -s "$ac_outfile"; then
   7948      # The compiler can only warn and ignore the option if not recognized
   7949      # So say no if there are warnings other than the usual output.
   7950      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7951      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7952      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7953        lt_cv_prog_compiler_pic_works=yes
   7954      fi
   7955    fi
   7956    $rm conftest*
   7957 
   7958 fi
   7959 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7960 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7961 
   7962 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7963     case $lt_prog_compiler_pic in
   7964      "" | " "*) ;;
   7965      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7966      esac
   7967 else
   7968     lt_prog_compiler_pic=
   7969      lt_prog_compiler_can_build_shared=no
   7970 fi
   7971 
   7972 fi
   7973 case $host_os in
   7974   # For platforms which do not support PIC, -DPIC is meaningless:
   7975   *djgpp*)
   7976     lt_prog_compiler_pic=
   7977     ;;
   7978   *)
   7979     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7980     ;;
   7981 esac
   7982 
   7983 #
   7984 # Check to make sure the static flag actually works.
   7985 #
   7986 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7987 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7988 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7989 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   lt_cv_prog_compiler_static_works=no
   7993    save_LDFLAGS="$LDFLAGS"
   7994    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7995    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7996    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7997      # The linker can only warn and ignore the option if not recognized
   7998      # So say no if there are warnings
   7999      if test -s conftest.err; then
   8000        # Append any errors to the config.log.
   8001        cat conftest.err 1>&5
   8002        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8003        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8004        if diff conftest.exp conftest.er2 >/dev/null; then
   8005          lt_cv_prog_compiler_static_works=yes
   8006        fi
   8007      else
   8008        lt_cv_prog_compiler_static_works=yes
   8009      fi
   8010    fi
   8011    $rm -r conftest*
   8012    LDFLAGS="$save_LDFLAGS"
   8013 
   8014 fi
   8015 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8016 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8017 
   8018 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8019     :
   8020 else
   8021     lt_prog_compiler_static=
   8022 fi
   8023 
   8024 
   8025 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8026 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8027 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8028   $as_echo_n "(cached) " >&6
   8029 else
   8030   lt_cv_prog_compiler_c_o=no
   8031    $rm -r conftest 2>/dev/null
   8032    mkdir conftest
   8033    cd conftest
   8034    mkdir out
   8035    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8036 
   8037    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8038    # Insert the option either (1) after the last *FLAGS variable, or
   8039    # (2) before a word containing "conftest.", or (3) at the end.
   8040    # Note that $ac_compile itself does not contain backslashes and begins
   8041    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8042    lt_compile=`echo "$ac_compile" | $SED \
   8043    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8044    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8045    -e 's:$: $lt_compiler_flag:'`
   8046    (eval echo "\"\$as_me:8046: $lt_compile\"" >&5)
   8047    (eval "$lt_compile" 2>out/conftest.err)
   8048    ac_status=$?
   8049    cat out/conftest.err >&5
   8050    echo "$as_me:8050: \$? = $ac_status" >&5
   8051    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8052    then
   8053      # The compiler can only warn and ignore the option if not recognized
   8054      # So say no if there are warnings
   8055      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8056      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8057      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8058        lt_cv_prog_compiler_c_o=yes
   8059      fi
   8060    fi
   8061    chmod u+w . 2>&5
   8062    $rm conftest*
   8063    # SGI C++ compiler will create directory out/ii_files/ for
   8064    # template instantiation
   8065    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8066    $rm out/* && rmdir out
   8067    cd ..
   8068    rmdir conftest
   8069    $rm conftest*
   8070 
   8071 fi
   8072 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8073 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8074 
   8075 
   8076 hard_links="nottested"
   8077 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8078   # do not overwrite the value of need_locks provided by the user
   8079   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8080 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8081   hard_links=yes
   8082   $rm conftest*
   8083   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8084   touch conftest.a
   8085   ln conftest.a conftest.b 2>&5 || hard_links=no
   8086   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8087   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8088 $as_echo "$hard_links" >&6; }
   8089   if test "$hard_links" = no; then
   8090     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8091 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8092     need_locks=warn
   8093   fi
   8094 else
   8095   need_locks=no
   8096 fi
   8097 
   8098 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8099 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8100 
   8101   runpath_var=
   8102   allow_undefined_flag=
   8103   enable_shared_with_static_runtimes=no
   8104   archive_cmds=
   8105   archive_expsym_cmds=
   8106   old_archive_From_new_cmds=
   8107   old_archive_from_expsyms_cmds=
   8108   export_dynamic_flag_spec=
   8109   whole_archive_flag_spec=
   8110   thread_safe_flag_spec=
   8111   hardcode_libdir_flag_spec=
   8112   hardcode_libdir_flag_spec_ld=
   8113   hardcode_libdir_separator=
   8114   hardcode_direct=no
   8115   hardcode_minus_L=no
   8116   hardcode_shlibpath_var=unsupported
   8117   link_all_deplibs=unknown
   8118   hardcode_automatic=no
   8119   module_cmds=
   8120   module_expsym_cmds=
   8121   always_export_symbols=no
   8122   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8123   # include_expsyms should be a list of space-separated symbols to be *always*
   8124   # included in the symbol list
   8125   include_expsyms=
   8126   # exclude_expsyms can be an extended regexp of symbols to exclude
   8127   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8128   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8129   # as well as any symbol that contains `d'.
   8130   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8131   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8132   # platforms (ab)use it in PIC code, but their linkers get confused if
   8133   # the symbol is explicitly referenced.  Since portable code cannot
   8134   # rely on this symbol name, it's probably fine to never include it in
   8135   # preloaded symbol tables.
   8136   # Exclude shared library initialization/finalization symbols.
   8137   extract_expsyms_cmds=
   8138   # Just being paranoid about ensuring that cc_basename is set.
   8139   for cc_temp in $compiler""; do
   8140   case $cc_temp in
   8141     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8142     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8143     \-*) ;;
   8144     *) break;;
   8145   esac
   8146 done
   8147 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8148 
   8149   case $host_os in
   8150   cygwin* | mingw* | pw32*)
   8151     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8152     # When not using gcc, we currently assume that we are using
   8153     # Microsoft Visual C++.
   8154     if test "$GCC" != yes; then
   8155       with_gnu_ld=no
   8156     fi
   8157     ;;
   8158   interix*)
   8159     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8160     with_gnu_ld=yes
   8161     ;;
   8162   openbsd*)
   8163     with_gnu_ld=no
   8164     ;;
   8165   esac
   8166 
   8167   ld_shlibs=yes
   8168   if test "$with_gnu_ld" = yes; then
   8169     # If archive_cmds runs LD, not CC, wlarc should be empty
   8170     wlarc='${wl}'
   8171 
   8172     # Set some defaults for GNU ld with shared library support. These
   8173     # are reset later if shared libraries are not supported. Putting them
   8174     # here allows them to be overridden if necessary.
   8175     runpath_var=LD_RUN_PATH
   8176     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8177     export_dynamic_flag_spec='${wl}--export-dynamic'
   8178     # ancient GNU ld didn't support --whole-archive et. al.
   8179     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8180 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8181       else
   8182   	whole_archive_flag_spec=
   8183     fi
   8184     supports_anon_versioning=no
   8185     case `$LD -v 2>/dev/null` in
   8186       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8187       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8188       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8189       *\ 2.11.*) ;; # other 2.11 versions
   8190       *) supports_anon_versioning=yes ;;
   8191     esac
   8192 
   8193     # See if GNU ld supports shared libraries.
   8194     case $host_os in
   8195     aix[3-9]*)
   8196       # On AIX/PPC, the GNU linker is very broken
   8197       if test "$host_cpu" != ia64; then
   8198 	ld_shlibs=no
   8199 	cat <<EOF 1>&2
   8200 
   8201 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8202 *** to be unable to reliably create shared libraries on AIX.
   8203 *** Therefore, libtool is disabling shared libraries support.  If you
   8204 *** really care for shared libraries, you may want to modify your PATH
   8205 *** so that a non-GNU linker is found, and then restart.
   8206 
   8207 EOF
   8208       fi
   8209       ;;
   8210 
   8211     amigaos*)
   8212       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)'
   8213       hardcode_libdir_flag_spec='-L$libdir'
   8214       hardcode_minus_L=yes
   8215 
   8216       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8217       # that the semantics of dynamic libraries on AmigaOS, at least up
   8218       # to version 4, is to share data among multiple programs linked
   8219       # with the same dynamic library.  Since this doesn't match the
   8220       # behavior of shared libraries on other platforms, we can't use
   8221       # them.
   8222       ld_shlibs=no
   8223       ;;
   8224 
   8225     beos*)
   8226       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8227 	allow_undefined_flag=unsupported
   8228 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8229 	# support --undefined.  This deserves some investigation.  FIXME
   8230 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8231       else
   8232 	ld_shlibs=no
   8233       fi
   8234       ;;
   8235 
   8236     cygwin* | mingw* | pw32*)
   8237       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8238       # as there is no search path for DLLs.
   8239       hardcode_libdir_flag_spec='-L$libdir'
   8240       allow_undefined_flag=unsupported
   8241       always_export_symbols=no
   8242       enable_shared_with_static_runtimes=yes
   8243       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8244 
   8245       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8246         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8247 	# If the export-symbols file already is a .def file (1st line
   8248 	# is EXPORTS), use it as is; otherwise, prepend...
   8249 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8250 	  cp $export_symbols $output_objdir/$soname.def;
   8251 	else
   8252 	  echo EXPORTS > $output_objdir/$soname.def;
   8253 	  cat $export_symbols >> $output_objdir/$soname.def;
   8254 	fi~
   8255 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8256       else
   8257 	ld_shlibs=no
   8258       fi
   8259       ;;
   8260 
   8261     interix[3-9]*)
   8262       hardcode_direct=no
   8263       hardcode_shlibpath_var=no
   8264       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8265       export_dynamic_flag_spec='${wl}-E'
   8266       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8267       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8268       # default) and relocated if they conflict, which is a slow very memory
   8269       # consuming and fragmenting process.  To avoid this, we pick a random,
   8270       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8271       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8272       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8273       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'
   8274       ;;
   8275 
   8276     gnu* | linux* | k*bsd*-gnu)
   8277       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8278 	tmp_addflag=
   8279 	case $cc_basename,$host_cpu in
   8280 	pgcc*)				# Portland Group C compiler
   8281 	  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'
   8282 	  tmp_addflag=' $pic_flag'
   8283 	  ;;
   8284 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8285 	  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'
   8286 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8287 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8288 	  tmp_addflag=' -i_dynamic' ;;
   8289 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8290 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8291 	ifc* | ifort*)			# Intel Fortran compiler
   8292 	  tmp_addflag=' -nofor_main' ;;
   8293 	esac
   8294 	case `$CC -V 2>&1 | sed 5q` in
   8295 	*Sun\ C*)			# Sun C 5.9
   8296 	  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'
   8297 	  tmp_sharedflag='-G' ;;
   8298 	*Sun\ F*)			# Sun Fortran 8.3
   8299 	  tmp_sharedflag='-G' ;;
   8300 	*)
   8301 	  tmp_sharedflag='-shared' ;;
   8302 	esac
   8303 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8304 
   8305 	if test $supports_anon_versioning = yes; then
   8306 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8307   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8308   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8309 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8310 	fi
   8311       else
   8312 	ld_shlibs=no
   8313       fi
   8314       ;;
   8315 
   8316     netbsd*)
   8317       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8318 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8319 	wlarc=
   8320       else
   8321 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8322 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8323       fi
   8324       ;;
   8325 
   8326     solaris*)
   8327       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8328 	ld_shlibs=no
   8329 	cat <<EOF 1>&2
   8330 
   8331 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8332 *** create shared libraries on Solaris systems.  Therefore, libtool
   8333 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8334 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8335 *** your PATH or compiler configuration so that the native linker is
   8336 *** used, and then restart.
   8337 
   8338 EOF
   8339       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8340 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8341 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8342       else
   8343 	ld_shlibs=no
   8344       fi
   8345       ;;
   8346 
   8347     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8348       case `$LD -v 2>&1` in
   8349         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8350 	ld_shlibs=no
   8351 	cat <<_LT_EOF 1>&2
   8352 
   8353 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8354 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8355 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8356 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8357 *** your PATH or compiler configuration so that the native linker is
   8358 *** used, and then restart.
   8359 
   8360 _LT_EOF
   8361 	;;
   8362 	*)
   8363 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8364 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8365 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8366 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8367 	  else
   8368 	    ld_shlibs=no
   8369 	  fi
   8370 	;;
   8371       esac
   8372       ;;
   8373 
   8374     sunos4*)
   8375       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8376       wlarc=
   8377       hardcode_direct=yes
   8378       hardcode_shlibpath_var=no
   8379       ;;
   8380 
   8381     *)
   8382       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8383 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8384 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8385       else
   8386 	ld_shlibs=no
   8387       fi
   8388       ;;
   8389     esac
   8390 
   8391     if test "$ld_shlibs" = no; then
   8392       runpath_var=
   8393       hardcode_libdir_flag_spec=
   8394       export_dynamic_flag_spec=
   8395       whole_archive_flag_spec=
   8396     fi
   8397   else
   8398     # PORTME fill in a description of your system's linker (not GNU ld)
   8399     case $host_os in
   8400     aix3*)
   8401       allow_undefined_flag=unsupported
   8402       always_export_symbols=yes
   8403       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'
   8404       # Note: this linker hardcodes the directories in LIBPATH if there
   8405       # are no directories specified by -L.
   8406       hardcode_minus_L=yes
   8407       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8408 	# Neither direct hardcoding nor static linking is supported with a
   8409 	# broken collect2.
   8410 	hardcode_direct=unsupported
   8411       fi
   8412       ;;
   8413 
   8414     aix[4-9]*)
   8415       if test "$host_cpu" = ia64; then
   8416 	# On IA64, the linker does run time linking by default, so we don't
   8417 	# have to do anything special.
   8418 	aix_use_runtimelinking=no
   8419 	exp_sym_flag='-Bexport'
   8420 	no_entry_flag=""
   8421       else
   8422 	# If we're using GNU nm, then we don't want the "-C" option.
   8423 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8424 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8425 	  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'
   8426 	else
   8427 	  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'
   8428 	fi
   8429 	aix_use_runtimelinking=no
   8430 
   8431 	# Test if we are trying to use run time linking or normal
   8432 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8433 	# need to do runtime linking.
   8434 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8435 	  for ld_flag in $LDFLAGS; do
   8436   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8437   	    aix_use_runtimelinking=yes
   8438   	    break
   8439   	  fi
   8440 	  done
   8441 	  ;;
   8442 	esac
   8443 
   8444 	exp_sym_flag='-bexport'
   8445 	no_entry_flag='-bnoentry'
   8446       fi
   8447 
   8448       # When large executables or shared objects are built, AIX ld can
   8449       # have problems creating the table of contents.  If linking a library
   8450       # or program results in "error TOC overflow" add -mminimal-toc to
   8451       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8452       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8453 
   8454       archive_cmds=''
   8455       hardcode_direct=yes
   8456       hardcode_libdir_separator=':'
   8457       link_all_deplibs=yes
   8458 
   8459       if test "$GCC" = yes; then
   8460 	case $host_os in aix4.[012]|aix4.[012].*)
   8461 	# We only want to do this on AIX 4.2 and lower, the check
   8462 	# below for broken collect2 doesn't work under 4.3+
   8463 	  collect2name=`${CC} -print-prog-name=collect2`
   8464 	  if test -f "$collect2name" && \
   8465   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8466 	  then
   8467   	  # We have reworked collect2
   8468   	  :
   8469 	  else
   8470   	  # We have old collect2
   8471   	  hardcode_direct=unsupported
   8472   	  # It fails to find uninstalled libraries when the uninstalled
   8473   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8474   	  # to unsupported forces relinking
   8475   	  hardcode_minus_L=yes
   8476   	  hardcode_libdir_flag_spec='-L$libdir'
   8477   	  hardcode_libdir_separator=
   8478 	  fi
   8479 	  ;;
   8480 	esac
   8481 	shared_flag='-shared'
   8482 	if test "$aix_use_runtimelinking" = yes; then
   8483 	  shared_flag="$shared_flag "'${wl}-G'
   8484 	fi
   8485       else
   8486 	# not using gcc
   8487 	if test "$host_cpu" = ia64; then
   8488   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8489   	# chokes on -Wl,-G. The following line is correct:
   8490 	  shared_flag='-G'
   8491 	else
   8492 	  if test "$aix_use_runtimelinking" = yes; then
   8493 	    shared_flag='${wl}-G'
   8494 	  else
   8495 	    shared_flag='${wl}-bM:SRE'
   8496 	  fi
   8497 	fi
   8498       fi
   8499 
   8500       # It seems that -bexpall does not export symbols beginning with
   8501       # underscore (_), so it is better to generate a list of symbols to export.
   8502       always_export_symbols=yes
   8503       if test "$aix_use_runtimelinking" = yes; then
   8504 	# Warning - without using the other runtime loading flags (-brtl),
   8505 	# -berok will link without error, but may produce a broken library.
   8506 	allow_undefined_flag='-berok'
   8507        # Determine the default libpath from the value encoded in an empty executable.
   8508        cat >conftest.$ac_ext <<_ACEOF
   8509 /* confdefs.h.  */
   8510 _ACEOF
   8511 cat confdefs.h >>conftest.$ac_ext
   8512 cat >>conftest.$ac_ext <<_ACEOF
   8513 /* end confdefs.h.  */
   8514 
   8515 int
   8516 main ()
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 rm -f conftest.$ac_objext conftest$ac_exeext
   8524 if { (ac_try="$ac_link"
   8525 case "(($ac_try" in
   8526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8527   *) ac_try_echo=$ac_try;;
   8528 esac
   8529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8530 $as_echo "$ac_try_echo") >&5
   8531   (eval "$ac_link") 2>conftest.er1
   8532   ac_status=$?
   8533   grep -v '^ *+' conftest.er1 >conftest.err
   8534   rm -f conftest.er1
   8535   cat conftest.err >&5
   8536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8537   (exit $ac_status); } && {
   8538 	 test -z "$ac_c_werror_flag" ||
   8539 	 test ! -s conftest.err
   8540        } && test -s conftest$ac_exeext && {
   8541 	 test "$cross_compiling" = yes ||
   8542 	 $as_test_x conftest$ac_exeext
   8543        }; then
   8544 
   8545 lt_aix_libpath_sed='
   8546     /Import File Strings/,/^$/ {
   8547 	/^0/ {
   8548 	    s/^0  *\(.*\)$/\1/
   8549 	    p
   8550 	}
   8551     }'
   8552 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8553 # Check for a 64-bit object if we didn't find anything.
   8554 if test -z "$aix_libpath"; then
   8555   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8556 fi
   8557 else
   8558   $as_echo "$as_me: failed program was:" >&5
   8559 sed 's/^/| /' conftest.$ac_ext >&5
   8560 
   8561 
   8562 fi
   8563 
   8564 rm -rf conftest.dSYM
   8565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8566       conftest$ac_exeext conftest.$ac_ext
   8567 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8568 
   8569        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8570 	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"
   8571        else
   8572 	if test "$host_cpu" = ia64; then
   8573 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8574 	  allow_undefined_flag="-z nodefs"
   8575 	  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"
   8576 	else
   8577 	 # Determine the default libpath from the value encoded in an empty executable.
   8578 	 cat >conftest.$ac_ext <<_ACEOF
   8579 /* confdefs.h.  */
   8580 _ACEOF
   8581 cat confdefs.h >>conftest.$ac_ext
   8582 cat >>conftest.$ac_ext <<_ACEOF
   8583 /* end confdefs.h.  */
   8584 
   8585 int
   8586 main ()
   8587 {
   8588 
   8589   ;
   8590   return 0;
   8591 }
   8592 _ACEOF
   8593 rm -f conftest.$ac_objext conftest$ac_exeext
   8594 if { (ac_try="$ac_link"
   8595 case "(($ac_try" in
   8596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8597   *) ac_try_echo=$ac_try;;
   8598 esac
   8599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8600 $as_echo "$ac_try_echo") >&5
   8601   (eval "$ac_link") 2>conftest.er1
   8602   ac_status=$?
   8603   grep -v '^ *+' conftest.er1 >conftest.err
   8604   rm -f conftest.er1
   8605   cat conftest.err >&5
   8606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8607   (exit $ac_status); } && {
   8608 	 test -z "$ac_c_werror_flag" ||
   8609 	 test ! -s conftest.err
   8610        } && test -s conftest$ac_exeext && {
   8611 	 test "$cross_compiling" = yes ||
   8612 	 $as_test_x conftest$ac_exeext
   8613        }; then
   8614 
   8615 lt_aix_libpath_sed='
   8616     /Import File Strings/,/^$/ {
   8617 	/^0/ {
   8618 	    s/^0  *\(.*\)$/\1/
   8619 	    p
   8620 	}
   8621     }'
   8622 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8623 # Check for a 64-bit object if we didn't find anything.
   8624 if test -z "$aix_libpath"; then
   8625   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8626 fi
   8627 else
   8628   $as_echo "$as_me: failed program was:" >&5
   8629 sed 's/^/| /' conftest.$ac_ext >&5
   8630 
   8631 
   8632 fi
   8633 
   8634 rm -rf conftest.dSYM
   8635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8636       conftest$ac_exeext conftest.$ac_ext
   8637 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8638 
   8639 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8640 	  # Warning - without using the other run time loading flags,
   8641 	  # -berok will link without error, but may produce a broken library.
   8642 	  no_undefined_flag=' ${wl}-bernotok'
   8643 	  allow_undefined_flag=' ${wl}-berok'
   8644 	  # Exported symbols can be pulled into shared objects from archives
   8645 	  whole_archive_flag_spec='$convenience'
   8646 	  archive_cmds_need_lc=yes
   8647 	  # This is similar to how AIX traditionally builds its shared libraries.
   8648 	  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'
   8649 	fi
   8650       fi
   8651       ;;
   8652 
   8653     amigaos*)
   8654       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)'
   8655       hardcode_libdir_flag_spec='-L$libdir'
   8656       hardcode_minus_L=yes
   8657       # see comment about different semantics on the GNU ld section
   8658       ld_shlibs=no
   8659       ;;
   8660 
   8661     bsdi[45]*)
   8662       export_dynamic_flag_spec=-rdynamic
   8663       ;;
   8664 
   8665     cygwin* | mingw* | pw32*)
   8666       # When not using gcc, we currently assume that we are using
   8667       # Microsoft Visual C++.
   8668       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8669       # no search path for DLLs.
   8670       hardcode_libdir_flag_spec=' '
   8671       allow_undefined_flag=unsupported
   8672       # Tell ltmain to make .lib files, not .a files.
   8673       libext=lib
   8674       # Tell ltmain to make .dll files, not .so files.
   8675       shrext_cmds=".dll"
   8676       # FIXME: Setting linknames here is a bad hack.
   8677       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8678       # The linker will automatically build a .lib file if we build a DLL.
   8679       old_archive_From_new_cmds='true'
   8680       # FIXME: Should let the user specify the lib program.
   8681       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8682       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8683       enable_shared_with_static_runtimes=yes
   8684       ;;
   8685 
   8686     darwin* | rhapsody*)
   8687       case $host_os in
   8688         rhapsody* | darwin1.[012])
   8689          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8690          ;;
   8691        *) # Darwin 1.3 on
   8692          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8693            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8694          else
   8695            case ${MACOSX_DEPLOYMENT_TARGET} in
   8696              10.[012])
   8697                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8698                ;;
   8699              10.*)
   8700                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8701                ;;
   8702            esac
   8703          fi
   8704          ;;
   8705       esac
   8706       archive_cmds_need_lc=no
   8707       hardcode_direct=no
   8708       hardcode_automatic=yes
   8709       hardcode_shlibpath_var=unsupported
   8710       whole_archive_flag_spec=''
   8711       link_all_deplibs=yes
   8712     if test "$GCC" = yes ; then
   8713     	output_verbose_link_cmd='echo'
   8714         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8715         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8716         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}"
   8717         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}"
   8718     else
   8719       case $cc_basename in
   8720         xlc*)
   8721          output_verbose_link_cmd='echo'
   8722          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8723          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8724           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8725          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}'
   8726           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}'
   8727           ;;
   8728        *)
   8729          ld_shlibs=no
   8730           ;;
   8731       esac
   8732     fi
   8733       ;;
   8734 
   8735     dgux*)
   8736       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8737       hardcode_libdir_flag_spec='-L$libdir'
   8738       hardcode_shlibpath_var=no
   8739       ;;
   8740 
   8741     freebsd1*)
   8742       ld_shlibs=no
   8743       ;;
   8744 
   8745     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8746     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8747     # does not break anything, and helps significantly (at the cost of a little
   8748     # extra space).
   8749     freebsd2.2*)
   8750       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8751       hardcode_libdir_flag_spec='-R$libdir'
   8752       hardcode_direct=yes
   8753       hardcode_shlibpath_var=no
   8754       ;;
   8755 
   8756     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8757     freebsd2*)
   8758       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8759       hardcode_direct=yes
   8760       hardcode_minus_L=yes
   8761       hardcode_shlibpath_var=no
   8762       ;;
   8763 
   8764     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8765     freebsd* | dragonfly*)
   8766       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8767       hardcode_libdir_flag_spec='-R$libdir'
   8768       hardcode_direct=yes
   8769       hardcode_shlibpath_var=no
   8770       ;;
   8771 
   8772     hpux9*)
   8773       if test "$GCC" = yes; then
   8774 	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'
   8775       else
   8776 	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'
   8777       fi
   8778       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8779       hardcode_libdir_separator=:
   8780       hardcode_direct=yes
   8781 
   8782       # hardcode_minus_L: Not really in the search PATH,
   8783       # but as the default location of the library.
   8784       hardcode_minus_L=yes
   8785       export_dynamic_flag_spec='${wl}-E'
   8786       ;;
   8787 
   8788     hpux10*)
   8789       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8790 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8791       else
   8792 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8793       fi
   8794       if test "$with_gnu_ld" = no; then
   8795 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8796 	hardcode_libdir_separator=:
   8797 
   8798 	hardcode_direct=yes
   8799 	export_dynamic_flag_spec='${wl}-E'
   8800 
   8801 	# hardcode_minus_L: Not really in the search PATH,
   8802 	# but as the default location of the library.
   8803 	hardcode_minus_L=yes
   8804       fi
   8805       ;;
   8806 
   8807     hpux11*)
   8808       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8809 	case $host_cpu in
   8810 	hppa*64*)
   8811 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8812 	  ;;
   8813 	ia64*)
   8814 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8815 	  ;;
   8816 	*)
   8817 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8818 	  ;;
   8819 	esac
   8820       else
   8821 	case $host_cpu in
   8822 	hppa*64*)
   8823 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  ;;
   8825 	ia64*)
   8826 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8827 	  ;;
   8828 	*)
   8829 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8830 	  ;;
   8831 	esac
   8832       fi
   8833       if test "$with_gnu_ld" = no; then
   8834 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8835 	hardcode_libdir_separator=:
   8836 
   8837 	case $host_cpu in
   8838 	hppa*64*|ia64*)
   8839 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8840 	  hardcode_direct=no
   8841 	  hardcode_shlibpath_var=no
   8842 	  ;;
   8843 	*)
   8844 	  hardcode_direct=yes
   8845 	  export_dynamic_flag_spec='${wl}-E'
   8846 
   8847 	  # hardcode_minus_L: Not really in the search PATH,
   8848 	  # but as the default location of the library.
   8849 	  hardcode_minus_L=yes
   8850 	  ;;
   8851 	esac
   8852       fi
   8853       ;;
   8854 
   8855     irix5* | irix6* | nonstopux*)
   8856       if test "$GCC" = yes; then
   8857 	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'
   8858       else
   8859 	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'
   8860 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8861       fi
   8862       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8863       hardcode_libdir_separator=:
   8864       link_all_deplibs=yes
   8865       ;;
   8866 
   8867     netbsd*)
   8868       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8869 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8870       else
   8871 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8872       fi
   8873       hardcode_libdir_flag_spec='-R$libdir'
   8874       hardcode_direct=yes
   8875       hardcode_shlibpath_var=no
   8876       ;;
   8877 
   8878     newsos6)
   8879       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8880       hardcode_direct=yes
   8881       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8882       hardcode_libdir_separator=:
   8883       hardcode_shlibpath_var=no
   8884       ;;
   8885 
   8886     openbsd*)
   8887       if test -f /usr/libexec/ld.so; then
   8888 	hardcode_direct=yes
   8889 	hardcode_shlibpath_var=no
   8890 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8891 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8892 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8893 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8894 	  export_dynamic_flag_spec='${wl}-E'
   8895 	else
   8896 	  case $host_os in
   8897 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8898 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8899 	     hardcode_libdir_flag_spec='-R$libdir'
   8900 	     ;;
   8901 	   *)
   8902 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8903 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8904 	     ;;
   8905 	  esac
   8906         fi
   8907       else
   8908 	ld_shlibs=no
   8909       fi
   8910       ;;
   8911 
   8912     os2*)
   8913       hardcode_libdir_flag_spec='-L$libdir'
   8914       hardcode_minus_L=yes
   8915       allow_undefined_flag=unsupported
   8916       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'
   8917       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8918       ;;
   8919 
   8920     osf3*)
   8921       if test "$GCC" = yes; then
   8922 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8923 	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'
   8924       else
   8925 	allow_undefined_flag=' -expect_unresolved \*'
   8926 	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'
   8927       fi
   8928       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8929       hardcode_libdir_separator=:
   8930       ;;
   8931 
   8932     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8936 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8937       else
   8938 	allow_undefined_flag=' -expect_unresolved \*'
   8939 	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'
   8940 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8941 	$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'
   8942 
   8943 	# Both c and cxx compiler support -rpath directly
   8944 	hardcode_libdir_flag_spec='-rpath $libdir'
   8945       fi
   8946       hardcode_libdir_separator=:
   8947       ;;
   8948 
   8949     solaris*)
   8950       no_undefined_flag=' -z text'
   8951       if test "$GCC" = yes; then
   8952 	wlarc='${wl}'
   8953 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8954 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8955 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8956       else
   8957 	wlarc=''
   8958 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8959 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8960   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8961       fi
   8962       hardcode_libdir_flag_spec='-R$libdir'
   8963       hardcode_shlibpath_var=no
   8964       case $host_os in
   8965       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8966       *)
   8967 	# The compiler driver will combine and reorder linker options,
   8968 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8969 	# but is careful enough not to reorder.
   8970  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8971 	if test "$GCC" = yes; then
   8972 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8973 	else
   8974 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8975 	fi
   8976 	;;
   8977       esac
   8978       link_all_deplibs=yes
   8979       ;;
   8980 
   8981     sunos4*)
   8982       if test "x$host_vendor" = xsequent; then
   8983 	# Use $CC to link under sequent, because it throws in some extra .o
   8984 	# files that make .init and .fini sections work.
   8985 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8986       else
   8987 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8988       fi
   8989       hardcode_libdir_flag_spec='-L$libdir'
   8990       hardcode_direct=yes
   8991       hardcode_minus_L=yes
   8992       hardcode_shlibpath_var=no
   8993       ;;
   8994 
   8995     sysv4)
   8996       case $host_vendor in
   8997 	sni)
   8998 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8999 	  hardcode_direct=yes # is this really true???
   9000 	;;
   9001 	siemens)
   9002 	  ## LD is ld it makes a PLAMLIB
   9003 	  ## CC just makes a GrossModule.
   9004 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9005 	  reload_cmds='$CC -r -o $output$reload_objs'
   9006 	  hardcode_direct=no
   9007         ;;
   9008 	motorola)
   9009 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9010 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9011 	;;
   9012       esac
   9013       runpath_var='LD_RUN_PATH'
   9014       hardcode_shlibpath_var=no
   9015       ;;
   9016 
   9017     sysv4.3*)
   9018       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9019       hardcode_shlibpath_var=no
   9020       export_dynamic_flag_spec='-Bexport'
   9021       ;;
   9022 
   9023     sysv4*MP*)
   9024       if test -d /usr/nec; then
   9025 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9026 	hardcode_shlibpath_var=no
   9027 	runpath_var=LD_RUN_PATH
   9028 	hardcode_runpath_var=yes
   9029 	ld_shlibs=yes
   9030       fi
   9031       ;;
   9032 
   9033     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9034       no_undefined_flag='${wl}-z,text'
   9035       archive_cmds_need_lc=no
   9036       hardcode_shlibpath_var=no
   9037       runpath_var='LD_RUN_PATH'
   9038 
   9039       if test "$GCC" = yes; then
   9040 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9041 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9042       else
   9043 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9044 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9045       fi
   9046       ;;
   9047 
   9048     sysv5* | sco3.2v5* | sco5v6*)
   9049       # Note: We can NOT use -z defs as we might desire, because we do not
   9050       # link with -lc, and that would cause any symbols used from libc to
   9051       # always be unresolved, which means just about no library would
   9052       # ever link correctly.  If we're not using GNU ld we use -z text
   9053       # though, which does catch some bad symbols but isn't as heavy-handed
   9054       # as -z defs.
   9055       no_undefined_flag='${wl}-z,text'
   9056       allow_undefined_flag='${wl}-z,nodefs'
   9057       archive_cmds_need_lc=no
   9058       hardcode_shlibpath_var=no
   9059       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9060       hardcode_libdir_separator=':'
   9061       link_all_deplibs=yes
   9062       export_dynamic_flag_spec='${wl}-Bexport'
   9063       runpath_var='LD_RUN_PATH'
   9064 
   9065       if test "$GCC" = yes; then
   9066 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9067 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9068       else
   9069 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071       fi
   9072       ;;
   9073 
   9074     uts4*)
   9075       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9076       hardcode_libdir_flag_spec='-L$libdir'
   9077       hardcode_shlibpath_var=no
   9078       ;;
   9079 
   9080     *)
   9081       ld_shlibs=no
   9082       ;;
   9083     esac
   9084   fi
   9085 
   9086 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9087 $as_echo "$ld_shlibs" >&6; }
   9088 test "$ld_shlibs" = no && can_build_shared=no
   9089 
   9090 #
   9091 # Do we need to explicitly link libc?
   9092 #
   9093 case "x$archive_cmds_need_lc" in
   9094 x|xyes)
   9095   # Assume -lc should be added
   9096   archive_cmds_need_lc=yes
   9097 
   9098   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9099     case $archive_cmds in
   9100     *'~'*)
   9101       # FIXME: we may have to deal with multi-command sequences.
   9102       ;;
   9103     '$CC '*)
   9104       # Test whether the compiler implicitly links with -lc since on some
   9105       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9106       # to ld, don't add -lc before -lgcc.
   9107       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9108 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9109       $rm conftest*
   9110       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9111 
   9112       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9113   (eval $ac_compile) 2>&5
   9114   ac_status=$?
   9115   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9116   (exit $ac_status); } 2>conftest.err; then
   9117         soname=conftest
   9118         lib=conftest
   9119         libobjs=conftest.$ac_objext
   9120         deplibs=
   9121         wl=$lt_prog_compiler_wl
   9122 	pic_flag=$lt_prog_compiler_pic
   9123         compiler_flags=-v
   9124         linker_flags=-v
   9125         verstring=
   9126         output_objdir=.
   9127         libname=conftest
   9128         lt_save_allow_undefined_flag=$allow_undefined_flag
   9129         allow_undefined_flag=
   9130         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9131   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9132   ac_status=$?
   9133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9134   (exit $ac_status); }
   9135         then
   9136 	  archive_cmds_need_lc=no
   9137         else
   9138 	  archive_cmds_need_lc=yes
   9139         fi
   9140         allow_undefined_flag=$lt_save_allow_undefined_flag
   9141       else
   9142         cat conftest.err 1>&5
   9143       fi
   9144       $rm conftest*
   9145       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9146 $as_echo "$archive_cmds_need_lc" >&6; }
   9147       ;;
   9148     esac
   9149   fi
   9150   ;;
   9151 esac
   9152 
   9153 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9154 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9155 library_names_spec=
   9156 libname_spec='lib$name'
   9157 soname_spec=
   9158 shrext_cmds=".so"
   9159 postinstall_cmds=
   9160 postuninstall_cmds=
   9161 finish_cmds=
   9162 finish_eval=
   9163 shlibpath_var=
   9164 shlibpath_overrides_runpath=unknown
   9165 version_type=none
   9166 dynamic_linker="$host_os ld.so"
   9167 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9168 
   9169 if test "$GCC" = yes; then
   9170   case $host_os in
   9171     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9172     *) lt_awk_arg="/^libraries:/" ;;
   9173   esac
   9174   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9175   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9176     # if the path contains ";" then we assume it to be the separator
   9177     # otherwise default to the standard path separator (i.e. ":") - it is
   9178     # assumed that no part of a normal pathname contains ";" but that should
   9179     # okay in the real world where ";" in dirpaths is itself problematic.
   9180     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9181   else
   9182     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9183   fi
   9184   # Ok, now we have the path, separated by spaces, we can step through it
   9185   # and add multilib dir if necessary.
   9186   lt_tmp_lt_search_path_spec=
   9187   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9188   for lt_sys_path in $lt_search_path_spec; do
   9189     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9190       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9191     else
   9192       test -d "$lt_sys_path" && \
   9193 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9194     fi
   9195   done
   9196   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9197 BEGIN {RS=" "; FS="/|\n";} {
   9198   lt_foo="";
   9199   lt_count=0;
   9200   for (lt_i = NF; lt_i > 0; lt_i--) {
   9201     if ($lt_i != "" && $lt_i != ".") {
   9202       if ($lt_i == "..") {
   9203         lt_count++;
   9204       } else {
   9205         if (lt_count == 0) {
   9206           lt_foo="/" $lt_i lt_foo;
   9207         } else {
   9208           lt_count--;
   9209         }
   9210       }
   9211     }
   9212   }
   9213   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9214   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9215 }'`
   9216   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9217 else
   9218   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9219 fi
   9220 need_lib_prefix=unknown
   9221 hardcode_into_libs=no
   9222 
   9223 # when you set need_version to no, make sure it does not cause -set_version
   9224 # flags to be left without arguments
   9225 need_version=unknown
   9226 
   9227 case $host_os in
   9228 aix3*)
   9229   version_type=linux
   9230   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9231   shlibpath_var=LIBPATH
   9232 
   9233   # AIX 3 has no versioning support, so we append a major version to the name.
   9234   soname_spec='${libname}${release}${shared_ext}$major'
   9235   ;;
   9236 
   9237 aix[4-9]*)
   9238   version_type=linux
   9239   need_lib_prefix=no
   9240   need_version=no
   9241   hardcode_into_libs=yes
   9242   if test "$host_cpu" = ia64; then
   9243     # AIX 5 supports IA64
   9244     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9245     shlibpath_var=LD_LIBRARY_PATH
   9246   else
   9247     # With GCC up to 2.95.x, collect2 would create an import file
   9248     # for dependence libraries.  The import file would start with
   9249     # the line `#! .'.  This would cause the generated library to
   9250     # depend on `.', always an invalid library.  This was fixed in
   9251     # development snapshots of GCC prior to 3.0.
   9252     case $host_os in
   9253       aix4 | aix4.[01] | aix4.[01].*)
   9254       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9255 	   echo ' yes '
   9256 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9257 	:
   9258       else
   9259 	can_build_shared=no
   9260       fi
   9261       ;;
   9262     esac
   9263     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9264     # soname into executable. Probably we can add versioning support to
   9265     # collect2, so additional links can be useful in future.
   9266     if test "$aix_use_runtimelinking" = yes; then
   9267       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9268       # instead of lib<name>.a to let people know that these are not
   9269       # typical AIX shared libraries.
   9270       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9271     else
   9272       # We preserve .a as extension for shared libraries through AIX4.2
   9273       # and later when we are not doing run time linking.
   9274       library_names_spec='${libname}${release}.a $libname.a'
   9275       soname_spec='${libname}${release}${shared_ext}$major'
   9276     fi
   9277     shlibpath_var=LIBPATH
   9278   fi
   9279   ;;
   9280 
   9281 amigaos*)
   9282   library_names_spec='$libname.ixlibrary $libname.a'
   9283   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9284   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'
   9285   ;;
   9286 
   9287 beos*)
   9288   library_names_spec='${libname}${shared_ext}'
   9289   dynamic_linker="$host_os ld.so"
   9290   shlibpath_var=LIBRARY_PATH
   9291   ;;
   9292 
   9293 bsdi[45]*)
   9294   version_type=linux
   9295   need_version=no
   9296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9297   soname_spec='${libname}${release}${shared_ext}$major'
   9298   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9299   shlibpath_var=LD_LIBRARY_PATH
   9300   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9301   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9302   # the default ld.so.conf also contains /usr/contrib/lib and
   9303   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9304   # libtool to hard-code these into programs
   9305   ;;
   9306 
   9307 cygwin* | mingw* | pw32*)
   9308   version_type=windows
   9309   shrext_cmds=".dll"
   9310   need_version=no
   9311   need_lib_prefix=no
   9312 
   9313   case $GCC,$host_os in
   9314   yes,cygwin* | yes,mingw* | yes,pw32*)
   9315     library_names_spec='$libname.dll.a'
   9316     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9317     postinstall_cmds='base_file=`basename \${file}`~
   9318       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9319       dldir=$destdir/`dirname \$dlpath`~
   9320       test -d \$dldir || mkdir -p \$dldir~
   9321       $install_prog $dir/$dlname \$dldir/$dlname~
   9322       chmod a+x \$dldir/$dlname'
   9323     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9324       dlpath=$dir/\$dldll~
   9325        $rm \$dlpath'
   9326     shlibpath_overrides_runpath=yes
   9327 
   9328     case $host_os in
   9329     cygwin*)
   9330       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9331       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9332       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9333       ;;
   9334     mingw*)
   9335       # MinGW DLLs use traditional 'lib' prefix
   9336       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9337       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9338       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9339         # It is most probably a Windows format PATH printed by
   9340         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9341         # path with ; separators, and with drive letters. We can handle the
   9342         # drive letters (cygwin fileutils understands them), so leave them,
   9343         # especially as we might pass files found there to a mingw objdump,
   9344         # which wouldn't understand a cygwinified path. Ahh.
   9345         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9346       else
   9347         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9348       fi
   9349       ;;
   9350     pw32*)
   9351       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9352       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9353       ;;
   9354     esac
   9355     ;;
   9356 
   9357   *)
   9358     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9359     ;;
   9360   esac
   9361   dynamic_linker='Win32 ld.exe'
   9362   # FIXME: first we should search . and the directory the executable is in
   9363   shlibpath_var=PATH
   9364   ;;
   9365 
   9366 darwin* | rhapsody*)
   9367   dynamic_linker="$host_os dyld"
   9368   version_type=darwin
   9369   need_lib_prefix=no
   9370   need_version=no
   9371   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9372   soname_spec='${libname}${release}${major}$shared_ext'
   9373   shlibpath_overrides_runpath=yes
   9374   shlibpath_var=DYLD_LIBRARY_PATH
   9375   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9376 
   9377   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9378   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9379   ;;
   9380 
   9381 dgux*)
   9382   version_type=linux
   9383   need_lib_prefix=no
   9384   need_version=no
   9385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9386   soname_spec='${libname}${release}${shared_ext}$major'
   9387   shlibpath_var=LD_LIBRARY_PATH
   9388   ;;
   9389 
   9390 freebsd1*)
   9391   dynamic_linker=no
   9392   ;;
   9393 
   9394 freebsd* | dragonfly*)
   9395   # DragonFly does not have aout.  When/if they implement a new
   9396   # versioning mechanism, adjust this.
   9397   if test -x /usr/bin/objformat; then
   9398     objformat=`/usr/bin/objformat`
   9399   else
   9400     case $host_os in
   9401     freebsd[123]*) objformat=aout ;;
   9402     *) objformat=elf ;;
   9403     esac
   9404   fi
   9405   version_type=freebsd-$objformat
   9406   case $version_type in
   9407     freebsd-elf*)
   9408       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9409       need_version=no
   9410       need_lib_prefix=no
   9411       ;;
   9412     freebsd-*)
   9413       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9414       need_version=yes
   9415       ;;
   9416   esac
   9417   shlibpath_var=LD_LIBRARY_PATH
   9418   case $host_os in
   9419   freebsd2*)
   9420     shlibpath_overrides_runpath=yes
   9421     ;;
   9422   freebsd3.[01]* | freebsdelf3.[01]*)
   9423     shlibpath_overrides_runpath=yes
   9424     hardcode_into_libs=yes
   9425     ;;
   9426   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9427   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9428     shlibpath_overrides_runpath=no
   9429     hardcode_into_libs=yes
   9430     ;;
   9431   *) # from 4.6 on, and DragonFly
   9432     shlibpath_overrides_runpath=yes
   9433     hardcode_into_libs=yes
   9434     ;;
   9435   esac
   9436   ;;
   9437 
   9438 gnu*)
   9439   version_type=linux
   9440   need_lib_prefix=no
   9441   need_version=no
   9442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9443   soname_spec='${libname}${release}${shared_ext}$major'
   9444   shlibpath_var=LD_LIBRARY_PATH
   9445   hardcode_into_libs=yes
   9446   ;;
   9447 
   9448 hpux9* | hpux10* | hpux11*)
   9449   # Give a soname corresponding to the major version so that dld.sl refuses to
   9450   # link against other versions.
   9451   version_type=sunos
   9452   need_lib_prefix=no
   9453   need_version=no
   9454   case $host_cpu in
   9455   ia64*)
   9456     shrext_cmds='.so'
   9457     hardcode_into_libs=yes
   9458     dynamic_linker="$host_os dld.so"
   9459     shlibpath_var=LD_LIBRARY_PATH
   9460     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9461     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9462     soname_spec='${libname}${release}${shared_ext}$major'
   9463     if test "X$HPUX_IA64_MODE" = X32; then
   9464       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9465     else
   9466       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9467     fi
   9468     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9469     ;;
   9470    hppa*64*)
   9471      shrext_cmds='.sl'
   9472      hardcode_into_libs=yes
   9473      dynamic_linker="$host_os dld.sl"
   9474      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9475      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9476      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9477      soname_spec='${libname}${release}${shared_ext}$major'
   9478      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9479      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9480      ;;
   9481    *)
   9482     shrext_cmds='.sl'
   9483     dynamic_linker="$host_os dld.sl"
   9484     shlibpath_var=SHLIB_PATH
   9485     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9487     soname_spec='${libname}${release}${shared_ext}$major'
   9488     ;;
   9489   esac
   9490   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9491   postinstall_cmds='chmod 555 $lib'
   9492   ;;
   9493 
   9494 interix[3-9]*)
   9495   version_type=linux
   9496   need_lib_prefix=no
   9497   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9501   shlibpath_var=LD_LIBRARY_PATH
   9502   shlibpath_overrides_runpath=no
   9503   hardcode_into_libs=yes
   9504   ;;
   9505 
   9506 irix5* | irix6* | nonstopux*)
   9507   case $host_os in
   9508     nonstopux*) version_type=nonstopux ;;
   9509     *)
   9510 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9511 		version_type=linux
   9512 	else
   9513 		version_type=irix
   9514 	fi ;;
   9515   esac
   9516   need_lib_prefix=no
   9517   need_version=no
   9518   soname_spec='${libname}${release}${shared_ext}$major'
   9519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9520   case $host_os in
   9521   irix5* | nonstopux*)
   9522     libsuff= shlibsuff=
   9523     ;;
   9524   *)
   9525     case $LD in # libtool.m4 will add one of these switches to LD
   9526     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9527       libsuff= shlibsuff= libmagic=32-bit;;
   9528     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9529       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9530     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9531       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9532     *) libsuff= shlibsuff= libmagic=never-match;;
   9533     esac
   9534     ;;
   9535   esac
   9536   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9537   shlibpath_overrides_runpath=no
   9538   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9539   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9540   hardcode_into_libs=yes
   9541   ;;
   9542 
   9543 # No shared lib support for Linux oldld, aout, or coff.
   9544 linux*oldld* | linux*aout* | linux*coff*)
   9545   dynamic_linker=no
   9546   ;;
   9547 
   9548 # This must be Linux ELF.
   9549 linux* | k*bsd*-gnu)
   9550   version_type=linux
   9551   need_lib_prefix=no
   9552   need_version=no
   9553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9554   soname_spec='${libname}${release}${shared_ext}$major'
   9555   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9556   shlibpath_var=LD_LIBRARY_PATH
   9557   shlibpath_overrides_runpath=no
   9558   # This implies no fast_install, which is unacceptable.
   9559   # Some rework will be needed to allow for fast_install
   9560   # before this can be enabled.
   9561   hardcode_into_libs=yes
   9562   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9563   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9564 
   9565   # Append ld.so.conf contents to the search path
   9566   if test -f /etc/ld.so.conf; then
   9567     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' ' '`
   9568     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9569   fi
   9570 
   9571   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9572   # powerpc, because MkLinux only supported shared libraries with the
   9573   # GNU dynamic linker.  Since this was broken with cross compilers,
   9574   # most powerpc-linux boxes support dynamic linking these days and
   9575   # people can always --disable-shared, the test was removed, and we
   9576   # assume the GNU/Linux dynamic linker is in use.
   9577   dynamic_linker='GNU/Linux ld.so'
   9578   ;;
   9579 
   9580 netbsd*)
   9581   version_type=sunos
   9582   need_lib_prefix=no
   9583   need_version=no
   9584   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9586     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9587     dynamic_linker='NetBSD (a.out) ld.so'
   9588   else
   9589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9590     soname_spec='${libname}${release}${shared_ext}$major'
   9591     dynamic_linker='NetBSD ld.elf_so'
   9592   fi
   9593   shlibpath_var=LD_LIBRARY_PATH
   9594   shlibpath_overrides_runpath=yes
   9595   hardcode_into_libs=yes
   9596   ;;
   9597 
   9598 newsos6)
   9599   version_type=linux
   9600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9601   shlibpath_var=LD_LIBRARY_PATH
   9602   shlibpath_overrides_runpath=yes
   9603   ;;
   9604 
   9605 nto-qnx*)
   9606   version_type=linux
   9607   need_lib_prefix=no
   9608   need_version=no
   9609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9610   soname_spec='${libname}${release}${shared_ext}$major'
   9611   shlibpath_var=LD_LIBRARY_PATH
   9612   shlibpath_overrides_runpath=yes
   9613   ;;
   9614 
   9615 openbsd*)
   9616   version_type=sunos
   9617   sys_lib_dlsearch_path_spec="/usr/lib"
   9618   need_lib_prefix=no
   9619   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9620   case $host_os in
   9621     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9622     *)                         need_version=no  ;;
   9623   esac
   9624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9625   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9626   shlibpath_var=LD_LIBRARY_PATH
   9627   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9628     case $host_os in
   9629       openbsd2.[89] | openbsd2.[89].*)
   9630 	shlibpath_overrides_runpath=no
   9631 	;;
   9632       *)
   9633 	shlibpath_overrides_runpath=yes
   9634 	;;
   9635       esac
   9636   else
   9637     shlibpath_overrides_runpath=yes
   9638   fi
   9639   ;;
   9640 
   9641 os2*)
   9642   libname_spec='$name'
   9643   shrext_cmds=".dll"
   9644   need_lib_prefix=no
   9645   library_names_spec='$libname${shared_ext} $libname.a'
   9646   dynamic_linker='OS/2 ld.exe'
   9647   shlibpath_var=LIBPATH
   9648   ;;
   9649 
   9650 osf3* | osf4* | osf5*)
   9651   version_type=osf
   9652   need_lib_prefix=no
   9653   need_version=no
   9654   soname_spec='${libname}${release}${shared_ext}$major'
   9655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9656   shlibpath_var=LD_LIBRARY_PATH
   9657   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9658   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9659   ;;
   9660 
   9661 rdos*)
   9662   dynamic_linker=no
   9663   ;;
   9664 
   9665 solaris*)
   9666   version_type=linux
   9667   need_lib_prefix=no
   9668   need_version=no
   9669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9670   soname_spec='${libname}${release}${shared_ext}$major'
   9671   shlibpath_var=LD_LIBRARY_PATH
   9672   shlibpath_overrides_runpath=yes
   9673   hardcode_into_libs=yes
   9674   # ldd complains unless libraries are executable
   9675   postinstall_cmds='chmod +x $lib'
   9676   ;;
   9677 
   9678 sunos4*)
   9679   version_type=sunos
   9680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9681   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9682   shlibpath_var=LD_LIBRARY_PATH
   9683   shlibpath_overrides_runpath=yes
   9684   if test "$with_gnu_ld" = yes; then
   9685     need_lib_prefix=no
   9686   fi
   9687   need_version=yes
   9688   ;;
   9689 
   9690 sysv4 | sysv4.3*)
   9691   version_type=linux
   9692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9693   soname_spec='${libname}${release}${shared_ext}$major'
   9694   shlibpath_var=LD_LIBRARY_PATH
   9695   case $host_vendor in
   9696     sni)
   9697       shlibpath_overrides_runpath=no
   9698       need_lib_prefix=no
   9699       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9700       runpath_var=LD_RUN_PATH
   9701       ;;
   9702     siemens)
   9703       need_lib_prefix=no
   9704       ;;
   9705     motorola)
   9706       need_lib_prefix=no
   9707       need_version=no
   9708       shlibpath_overrides_runpath=no
   9709       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9710       ;;
   9711   esac
   9712   ;;
   9713 
   9714 sysv4*MP*)
   9715   if test -d /usr/nec ;then
   9716     version_type=linux
   9717     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9718     soname_spec='$libname${shared_ext}.$major'
   9719     shlibpath_var=LD_LIBRARY_PATH
   9720   fi
   9721   ;;
   9722 
   9723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9724   version_type=freebsd-elf
   9725   need_lib_prefix=no
   9726   need_version=no
   9727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9728   soname_spec='${libname}${release}${shared_ext}$major'
   9729   shlibpath_var=LD_LIBRARY_PATH
   9730   hardcode_into_libs=yes
   9731   if test "$with_gnu_ld" = yes; then
   9732     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9733     shlibpath_overrides_runpath=no
   9734   else
   9735     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9736     shlibpath_overrides_runpath=yes
   9737     case $host_os in
   9738       sco3.2v5*)
   9739         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9740 	;;
   9741     esac
   9742   fi
   9743   sys_lib_dlsearch_path_spec='/usr/lib'
   9744   ;;
   9745 
   9746 uts4*)
   9747   version_type=linux
   9748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9749   soname_spec='${libname}${release}${shared_ext}$major'
   9750   shlibpath_var=LD_LIBRARY_PATH
   9751   ;;
   9752 
   9753 *)
   9754   dynamic_linker=no
   9755   ;;
   9756 esac
   9757 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9758 $as_echo "$dynamic_linker" >&6; }
   9759 test "$dynamic_linker" = no && can_build_shared=no
   9760 
   9761 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9762   $as_echo_n "(cached) " >&6
   9763 else
   9764   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9765 fi
   9766 
   9767 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9768 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9769   $as_echo_n "(cached) " >&6
   9770 else
   9771   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9772 fi
   9773 
   9774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9775 
   9776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9777 if test "$GCC" = yes; then
   9778   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9779 fi
   9780 
   9781 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9782 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9783 hardcode_action=
   9784 if test -n "$hardcode_libdir_flag_spec" || \
   9785    test -n "$runpath_var" || \
   9786    test "X$hardcode_automatic" = "Xyes" ; then
   9787 
   9788   # We can hardcode non-existant directories.
   9789   if test "$hardcode_direct" != no &&
   9790      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9791      # have to relink, otherwise we might link with an installed library
   9792      # when we should be linking with a yet-to-be-installed one
   9793      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9794      test "$hardcode_minus_L" != no; then
   9795     # Linking always hardcodes the temporary library directory.
   9796     hardcode_action=relink
   9797   else
   9798     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9799     hardcode_action=immediate
   9800   fi
   9801 else
   9802   # We cannot hardcode anything, or else we can only hardcode existing
   9803   # directories.
   9804   hardcode_action=unsupported
   9805 fi
   9806 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9807 $as_echo "$hardcode_action" >&6; }
   9808 
   9809 if test "$hardcode_action" = relink; then
   9810   # Fast installation is not supported
   9811   enable_fast_install=no
   9812 elif test "$shlibpath_overrides_runpath" = yes ||
   9813      test "$enable_shared" = no; then
   9814   # Fast installation is not necessary
   9815   enable_fast_install=needless
   9816 fi
   9817 
   9818 striplib=
   9819 old_striplib=
   9820 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9821 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9822 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9823   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9824   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9825   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9826 $as_echo "yes" >&6; }
   9827 else
   9828 # FIXME - insert some real tests, host_os isn't really good enough
   9829   case $host_os in
   9830    darwin*)
   9831        if test -n "$STRIP" ; then
   9832          striplib="$STRIP -x"
   9833          old_striplib="$STRIP -S"
   9834          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9835 $as_echo "yes" >&6; }
   9836        else
   9837   { $as_echo "$as_me:$LINENO: result: no" >&5
   9838 $as_echo "no" >&6; }
   9839 fi
   9840        ;;
   9841    *)
   9842   { $as_echo "$as_me:$LINENO: result: no" >&5
   9843 $as_echo "no" >&6; }
   9844     ;;
   9845   esac
   9846 fi
   9847 
   9848 if test "x$enable_dlopen" != xyes; then
   9849   enable_dlopen=unknown
   9850   enable_dlopen_self=unknown
   9851   enable_dlopen_self_static=unknown
   9852 else
   9853   lt_cv_dlopen=no
   9854   lt_cv_dlopen_libs=
   9855 
   9856   case $host_os in
   9857   beos*)
   9858     lt_cv_dlopen="load_add_on"
   9859     lt_cv_dlopen_libs=
   9860     lt_cv_dlopen_self=yes
   9861     ;;
   9862 
   9863   mingw* | pw32*)
   9864     lt_cv_dlopen="LoadLibrary"
   9865     lt_cv_dlopen_libs=
   9866    ;;
   9867 
   9868   cygwin*)
   9869     lt_cv_dlopen="dlopen"
   9870     lt_cv_dlopen_libs=
   9871    ;;
   9872 
   9873   darwin*)
   9874   # if libdl is installed we need to link against it
   9875     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9877 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   ac_check_lib_save_LIBS=$LIBS
   9881 LIBS="-ldl  $LIBS"
   9882 cat >conftest.$ac_ext <<_ACEOF
   9883 /* confdefs.h.  */
   9884 _ACEOF
   9885 cat confdefs.h >>conftest.$ac_ext
   9886 cat >>conftest.$ac_ext <<_ACEOF
   9887 /* end confdefs.h.  */
   9888 
   9889 /* Override any GCC internal prototype to avoid an error.
   9890    Use char because int might match the return type of a GCC
   9891    builtin and then its argument prototype would still apply.  */
   9892 #ifdef __cplusplus
   9893 extern "C"
   9894 #endif
   9895 char dlopen ();
   9896 int
   9897 main ()
   9898 {
   9899 return dlopen ();
   9900   ;
   9901   return 0;
   9902 }
   9903 _ACEOF
   9904 rm -f conftest.$ac_objext conftest$ac_exeext
   9905 if { (ac_try="$ac_link"
   9906 case "(($ac_try" in
   9907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9908   *) ac_try_echo=$ac_try;;
   9909 esac
   9910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9911 $as_echo "$ac_try_echo") >&5
   9912   (eval "$ac_link") 2>conftest.er1
   9913   ac_status=$?
   9914   grep -v '^ *+' conftest.er1 >conftest.err
   9915   rm -f conftest.er1
   9916   cat conftest.err >&5
   9917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9918   (exit $ac_status); } && {
   9919 	 test -z "$ac_c_werror_flag" ||
   9920 	 test ! -s conftest.err
   9921        } && test -s conftest$ac_exeext && {
   9922 	 test "$cross_compiling" = yes ||
   9923 	 $as_test_x conftest$ac_exeext
   9924        }; then
   9925   ac_cv_lib_dl_dlopen=yes
   9926 else
   9927   $as_echo "$as_me: failed program was:" >&5
   9928 sed 's/^/| /' conftest.$ac_ext >&5
   9929 
   9930 	ac_cv_lib_dl_dlopen=no
   9931 fi
   9932 
   9933 rm -rf conftest.dSYM
   9934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9935       conftest$ac_exeext conftest.$ac_ext
   9936 LIBS=$ac_check_lib_save_LIBS
   9937 fi
   9938 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9939 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9940 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9941   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9942 else
   9943 
   9944     lt_cv_dlopen="dyld"
   9945     lt_cv_dlopen_libs=
   9946     lt_cv_dlopen_self=yes
   9947 
   9948 fi
   9949 
   9950    ;;
   9951 
   9952   *)
   9953     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9954 $as_echo_n "checking for shl_load... " >&6; }
   9955 if test "${ac_cv_func_shl_load+set}" = set; then
   9956   $as_echo_n "(cached) " >&6
   9957 else
   9958   cat >conftest.$ac_ext <<_ACEOF
   9959 /* confdefs.h.  */
   9960 _ACEOF
   9961 cat confdefs.h >>conftest.$ac_ext
   9962 cat >>conftest.$ac_ext <<_ACEOF
   9963 /* end confdefs.h.  */
   9964 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9966 #define shl_load innocuous_shl_load
   9967 
   9968 /* System header to define __stub macros and hopefully few prototypes,
   9969     which can conflict with char shl_load (); below.
   9970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9971     <limits.h> exists even on freestanding compilers.  */
   9972 
   9973 #ifdef __STDC__
   9974 # include <limits.h>
   9975 #else
   9976 # include <assert.h>
   9977 #endif
   9978 
   9979 #undef shl_load
   9980 
   9981 /* Override any GCC internal prototype to avoid an error.
   9982    Use char because int might match the return type of a GCC
   9983    builtin and then its argument prototype would still apply.  */
   9984 #ifdef __cplusplus
   9985 extern "C"
   9986 #endif
   9987 char shl_load ();
   9988 /* The GNU C library defines this for functions which it implements
   9989     to always fail with ENOSYS.  Some functions are actually named
   9990     something starting with __ and the normal name is an alias.  */
   9991 #if defined __stub_shl_load || defined __stub___shl_load
   9992 choke me
   9993 #endif
   9994 
   9995 int
   9996 main ()
   9997 {
   9998 return shl_load ();
   9999   ;
   10000   return 0;
   10001 }
   10002 _ACEOF
   10003 rm -f conftest.$ac_objext conftest$ac_exeext
   10004 if { (ac_try="$ac_link"
   10005 case "(($ac_try" in
   10006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10007   *) ac_try_echo=$ac_try;;
   10008 esac
   10009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10010 $as_echo "$ac_try_echo") >&5
   10011   (eval "$ac_link") 2>conftest.er1
   10012   ac_status=$?
   10013   grep -v '^ *+' conftest.er1 >conftest.err
   10014   rm -f conftest.er1
   10015   cat conftest.err >&5
   10016   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10017   (exit $ac_status); } && {
   10018 	 test -z "$ac_c_werror_flag" ||
   10019 	 test ! -s conftest.err
   10020        } && test -s conftest$ac_exeext && {
   10021 	 test "$cross_compiling" = yes ||
   10022 	 $as_test_x conftest$ac_exeext
   10023        }; then
   10024   ac_cv_func_shl_load=yes
   10025 else
   10026   $as_echo "$as_me: failed program was:" >&5
   10027 sed 's/^/| /' conftest.$ac_ext >&5
   10028 
   10029 	ac_cv_func_shl_load=no
   10030 fi
   10031 
   10032 rm -rf conftest.dSYM
   10033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10034       conftest$ac_exeext conftest.$ac_ext
   10035 fi
   10036 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10037 $as_echo "$ac_cv_func_shl_load" >&6; }
   10038 if test "x$ac_cv_func_shl_load" = x""yes; then
   10039   lt_cv_dlopen="shl_load"
   10040 else
   10041   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10042 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10043 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10044   $as_echo_n "(cached) " >&6
   10045 else
   10046   ac_check_lib_save_LIBS=$LIBS
   10047 LIBS="-ldld  $LIBS"
   10048 cat >conftest.$ac_ext <<_ACEOF
   10049 /* confdefs.h.  */
   10050 _ACEOF
   10051 cat confdefs.h >>conftest.$ac_ext
   10052 cat >>conftest.$ac_ext <<_ACEOF
   10053 /* end confdefs.h.  */
   10054 
   10055 /* Override any GCC internal prototype to avoid an error.
   10056    Use char because int might match the return type of a GCC
   10057    builtin and then its argument prototype would still apply.  */
   10058 #ifdef __cplusplus
   10059 extern "C"
   10060 #endif
   10061 char shl_load ();
   10062 int
   10063 main ()
   10064 {
   10065 return shl_load ();
   10066   ;
   10067   return 0;
   10068 }
   10069 _ACEOF
   10070 rm -f conftest.$ac_objext conftest$ac_exeext
   10071 if { (ac_try="$ac_link"
   10072 case "(($ac_try" in
   10073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10074   *) ac_try_echo=$ac_try;;
   10075 esac
   10076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10077 $as_echo "$ac_try_echo") >&5
   10078   (eval "$ac_link") 2>conftest.er1
   10079   ac_status=$?
   10080   grep -v '^ *+' conftest.er1 >conftest.err
   10081   rm -f conftest.er1
   10082   cat conftest.err >&5
   10083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10084   (exit $ac_status); } && {
   10085 	 test -z "$ac_c_werror_flag" ||
   10086 	 test ! -s conftest.err
   10087        } && test -s conftest$ac_exeext && {
   10088 	 test "$cross_compiling" = yes ||
   10089 	 $as_test_x conftest$ac_exeext
   10090        }; then
   10091   ac_cv_lib_dld_shl_load=yes
   10092 else
   10093   $as_echo "$as_me: failed program was:" >&5
   10094 sed 's/^/| /' conftest.$ac_ext >&5
   10095 
   10096 	ac_cv_lib_dld_shl_load=no
   10097 fi
   10098 
   10099 rm -rf conftest.dSYM
   10100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10101       conftest$ac_exeext conftest.$ac_ext
   10102 LIBS=$ac_check_lib_save_LIBS
   10103 fi
   10104 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10105 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10106 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10107   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10108 else
   10109   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10110 $as_echo_n "checking for dlopen... " >&6; }
   10111 if test "${ac_cv_func_dlopen+set}" = set; then
   10112   $as_echo_n "(cached) " >&6
   10113 else
   10114   cat >conftest.$ac_ext <<_ACEOF
   10115 /* confdefs.h.  */
   10116 _ACEOF
   10117 cat confdefs.h >>conftest.$ac_ext
   10118 cat >>conftest.$ac_ext <<_ACEOF
   10119 /* end confdefs.h.  */
   10120 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10122 #define dlopen innocuous_dlopen
   10123 
   10124 /* System header to define __stub macros and hopefully few prototypes,
   10125     which can conflict with char dlopen (); below.
   10126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10127     <limits.h> exists even on freestanding compilers.  */
   10128 
   10129 #ifdef __STDC__
   10130 # include <limits.h>
   10131 #else
   10132 # include <assert.h>
   10133 #endif
   10134 
   10135 #undef dlopen
   10136 
   10137 /* Override any GCC internal prototype to avoid an error.
   10138    Use char because int might match the return type of a GCC
   10139    builtin and then its argument prototype would still apply.  */
   10140 #ifdef __cplusplus
   10141 extern "C"
   10142 #endif
   10143 char dlopen ();
   10144 /* The GNU C library defines this for functions which it implements
   10145     to always fail with ENOSYS.  Some functions are actually named
   10146     something starting with __ and the normal name is an alias.  */
   10147 #if defined __stub_dlopen || defined __stub___dlopen
   10148 choke me
   10149 #endif
   10150 
   10151 int
   10152 main ()
   10153 {
   10154 return dlopen ();
   10155   ;
   10156   return 0;
   10157 }
   10158 _ACEOF
   10159 rm -f conftest.$ac_objext conftest$ac_exeext
   10160 if { (ac_try="$ac_link"
   10161 case "(($ac_try" in
   10162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10163   *) ac_try_echo=$ac_try;;
   10164 esac
   10165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10166 $as_echo "$ac_try_echo") >&5
   10167   (eval "$ac_link") 2>conftest.er1
   10168   ac_status=$?
   10169   grep -v '^ *+' conftest.er1 >conftest.err
   10170   rm -f conftest.er1
   10171   cat conftest.err >&5
   10172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10173   (exit $ac_status); } && {
   10174 	 test -z "$ac_c_werror_flag" ||
   10175 	 test ! -s conftest.err
   10176        } && test -s conftest$ac_exeext && {
   10177 	 test "$cross_compiling" = yes ||
   10178 	 $as_test_x conftest$ac_exeext
   10179        }; then
   10180   ac_cv_func_dlopen=yes
   10181 else
   10182   $as_echo "$as_me: failed program was:" >&5
   10183 sed 's/^/| /' conftest.$ac_ext >&5
   10184 
   10185 	ac_cv_func_dlopen=no
   10186 fi
   10187 
   10188 rm -rf conftest.dSYM
   10189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10190       conftest$ac_exeext conftest.$ac_ext
   10191 fi
   10192 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10193 $as_echo "$ac_cv_func_dlopen" >&6; }
   10194 if test "x$ac_cv_func_dlopen" = x""yes; then
   10195   lt_cv_dlopen="dlopen"
   10196 else
   10197   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10199 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10200   $as_echo_n "(cached) " >&6
   10201 else
   10202   ac_check_lib_save_LIBS=$LIBS
   10203 LIBS="-ldl  $LIBS"
   10204 cat >conftest.$ac_ext <<_ACEOF
   10205 /* confdefs.h.  */
   10206 _ACEOF
   10207 cat confdefs.h >>conftest.$ac_ext
   10208 cat >>conftest.$ac_ext <<_ACEOF
   10209 /* end confdefs.h.  */
   10210 
   10211 /* Override any GCC internal prototype to avoid an error.
   10212    Use char because int might match the return type of a GCC
   10213    builtin and then its argument prototype would still apply.  */
   10214 #ifdef __cplusplus
   10215 extern "C"
   10216 #endif
   10217 char dlopen ();
   10218 int
   10219 main ()
   10220 {
   10221 return dlopen ();
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 rm -f conftest.$ac_objext conftest$ac_exeext
   10227 if { (ac_try="$ac_link"
   10228 case "(($ac_try" in
   10229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10230   *) ac_try_echo=$ac_try;;
   10231 esac
   10232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10233 $as_echo "$ac_try_echo") >&5
   10234   (eval "$ac_link") 2>conftest.er1
   10235   ac_status=$?
   10236   grep -v '^ *+' conftest.er1 >conftest.err
   10237   rm -f conftest.er1
   10238   cat conftest.err >&5
   10239   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10240   (exit $ac_status); } && {
   10241 	 test -z "$ac_c_werror_flag" ||
   10242 	 test ! -s conftest.err
   10243        } && test -s conftest$ac_exeext && {
   10244 	 test "$cross_compiling" = yes ||
   10245 	 $as_test_x conftest$ac_exeext
   10246        }; then
   10247   ac_cv_lib_dl_dlopen=yes
   10248 else
   10249   $as_echo "$as_me: failed program was:" >&5
   10250 sed 's/^/| /' conftest.$ac_ext >&5
   10251 
   10252 	ac_cv_lib_dl_dlopen=no
   10253 fi
   10254 
   10255 rm -rf conftest.dSYM
   10256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10257       conftest$ac_exeext conftest.$ac_ext
   10258 LIBS=$ac_check_lib_save_LIBS
   10259 fi
   10260 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10261 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10262 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10263   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10264 else
   10265   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10266 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10267 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10268   $as_echo_n "(cached) " >&6
   10269 else
   10270   ac_check_lib_save_LIBS=$LIBS
   10271 LIBS="-lsvld  $LIBS"
   10272 cat >conftest.$ac_ext <<_ACEOF
   10273 /* confdefs.h.  */
   10274 _ACEOF
   10275 cat confdefs.h >>conftest.$ac_ext
   10276 cat >>conftest.$ac_ext <<_ACEOF
   10277 /* end confdefs.h.  */
   10278 
   10279 /* Override any GCC internal prototype to avoid an error.
   10280    Use char because int might match the return type of a GCC
   10281    builtin and then its argument prototype would still apply.  */
   10282 #ifdef __cplusplus
   10283 extern "C"
   10284 #endif
   10285 char dlopen ();
   10286 int
   10287 main ()
   10288 {
   10289 return dlopen ();
   10290   ;
   10291   return 0;
   10292 }
   10293 _ACEOF
   10294 rm -f conftest.$ac_objext conftest$ac_exeext
   10295 if { (ac_try="$ac_link"
   10296 case "(($ac_try" in
   10297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10298   *) ac_try_echo=$ac_try;;
   10299 esac
   10300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10301 $as_echo "$ac_try_echo") >&5
   10302   (eval "$ac_link") 2>conftest.er1
   10303   ac_status=$?
   10304   grep -v '^ *+' conftest.er1 >conftest.err
   10305   rm -f conftest.er1
   10306   cat conftest.err >&5
   10307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10308   (exit $ac_status); } && {
   10309 	 test -z "$ac_c_werror_flag" ||
   10310 	 test ! -s conftest.err
   10311        } && test -s conftest$ac_exeext && {
   10312 	 test "$cross_compiling" = yes ||
   10313 	 $as_test_x conftest$ac_exeext
   10314        }; then
   10315   ac_cv_lib_svld_dlopen=yes
   10316 else
   10317   $as_echo "$as_me: failed program was:" >&5
   10318 sed 's/^/| /' conftest.$ac_ext >&5
   10319 
   10320 	ac_cv_lib_svld_dlopen=no
   10321 fi
   10322 
   10323 rm -rf conftest.dSYM
   10324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10325       conftest$ac_exeext conftest.$ac_ext
   10326 LIBS=$ac_check_lib_save_LIBS
   10327 fi
   10328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10329 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10330 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10331   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10332 else
   10333   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10334 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10335 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10336   $as_echo_n "(cached) " >&6
   10337 else
   10338   ac_check_lib_save_LIBS=$LIBS
   10339 LIBS="-ldld  $LIBS"
   10340 cat >conftest.$ac_ext <<_ACEOF
   10341 /* confdefs.h.  */
   10342 _ACEOF
   10343 cat confdefs.h >>conftest.$ac_ext
   10344 cat >>conftest.$ac_ext <<_ACEOF
   10345 /* end confdefs.h.  */
   10346 
   10347 /* Override any GCC internal prototype to avoid an error.
   10348    Use char because int might match the return type of a GCC
   10349    builtin and then its argument prototype would still apply.  */
   10350 #ifdef __cplusplus
   10351 extern "C"
   10352 #endif
   10353 char dld_link ();
   10354 int
   10355 main ()
   10356 {
   10357 return dld_link ();
   10358   ;
   10359   return 0;
   10360 }
   10361 _ACEOF
   10362 rm -f conftest.$ac_objext conftest$ac_exeext
   10363 if { (ac_try="$ac_link"
   10364 case "(($ac_try" in
   10365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10366   *) ac_try_echo=$ac_try;;
   10367 esac
   10368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10369 $as_echo "$ac_try_echo") >&5
   10370   (eval "$ac_link") 2>conftest.er1
   10371   ac_status=$?
   10372   grep -v '^ *+' conftest.er1 >conftest.err
   10373   rm -f conftest.er1
   10374   cat conftest.err >&5
   10375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10376   (exit $ac_status); } && {
   10377 	 test -z "$ac_c_werror_flag" ||
   10378 	 test ! -s conftest.err
   10379        } && test -s conftest$ac_exeext && {
   10380 	 test "$cross_compiling" = yes ||
   10381 	 $as_test_x conftest$ac_exeext
   10382        }; then
   10383   ac_cv_lib_dld_dld_link=yes
   10384 else
   10385   $as_echo "$as_me: failed program was:" >&5
   10386 sed 's/^/| /' conftest.$ac_ext >&5
   10387 
   10388 	ac_cv_lib_dld_dld_link=no
   10389 fi
   10390 
   10391 rm -rf conftest.dSYM
   10392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10393       conftest$ac_exeext conftest.$ac_ext
   10394 LIBS=$ac_check_lib_save_LIBS
   10395 fi
   10396 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10397 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10398 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10399   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10400 fi
   10401 
   10402 
   10403 fi
   10404 
   10405 
   10406 fi
   10407 
   10408 
   10409 fi
   10410 
   10411 
   10412 fi
   10413 
   10414 
   10415 fi
   10416 
   10417     ;;
   10418   esac
   10419 
   10420   if test "x$lt_cv_dlopen" != xno; then
   10421     enable_dlopen=yes
   10422   else
   10423     enable_dlopen=no
   10424   fi
   10425 
   10426   case $lt_cv_dlopen in
   10427   dlopen)
   10428     save_CPPFLAGS="$CPPFLAGS"
   10429     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10430 
   10431     save_LDFLAGS="$LDFLAGS"
   10432     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10433 
   10434     save_LIBS="$LIBS"
   10435     LIBS="$lt_cv_dlopen_libs $LIBS"
   10436 
   10437     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10438 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10439 if test "${lt_cv_dlopen_self+set}" = set; then
   10440   $as_echo_n "(cached) " >&6
   10441 else
   10442   	  if test "$cross_compiling" = yes; then :
   10443   lt_cv_dlopen_self=cross
   10444 else
   10445   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10446   lt_status=$lt_dlunknown
   10447   cat > conftest.$ac_ext <<EOF
   10448 #line 10448 "configure"
   10449 #include "confdefs.h"
   10450 
   10451 #if HAVE_DLFCN_H
   10452 #include <dlfcn.h>
   10453 #endif
   10454 
   10455 #include <stdio.h>
   10456 
   10457 #ifdef RTLD_GLOBAL
   10458 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10459 #else
   10460 #  ifdef DL_GLOBAL
   10461 #    define LT_DLGLOBAL		DL_GLOBAL
   10462 #  else
   10463 #    define LT_DLGLOBAL		0
   10464 #  endif
   10465 #endif
   10466 
   10467 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10468    find out it does not work in some platform. */
   10469 #ifndef LT_DLLAZY_OR_NOW
   10470 #  ifdef RTLD_LAZY
   10471 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10472 #  else
   10473 #    ifdef DL_LAZY
   10474 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10475 #    else
   10476 #      ifdef RTLD_NOW
   10477 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10478 #      else
   10479 #        ifdef DL_NOW
   10480 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10481 #        else
   10482 #          define LT_DLLAZY_OR_NOW	0
   10483 #        endif
   10484 #      endif
   10485 #    endif
   10486 #  endif
   10487 #endif
   10488 
   10489 #ifdef __cplusplus
   10490 extern "C" void exit (int);
   10491 #endif
   10492 
   10493 void fnord() { int i=42;}
   10494 int main ()
   10495 {
   10496   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10497   int status = $lt_dlunknown;
   10498 
   10499   if (self)
   10500     {
   10501       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10502       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10503       /* dlclose (self); */
   10504     }
   10505   else
   10506     puts (dlerror ());
   10507 
   10508     exit (status);
   10509 }
   10510 EOF
   10511   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10512   (eval $ac_link) 2>&5
   10513   ac_status=$?
   10514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10515   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10516     (./conftest; exit; ) >&5 2>/dev/null
   10517     lt_status=$?
   10518     case x$lt_status in
   10519       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10520       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10521       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10522     esac
   10523   else :
   10524     # compilation failed
   10525     lt_cv_dlopen_self=no
   10526   fi
   10527 fi
   10528 rm -fr conftest*
   10529 
   10530 
   10531 fi
   10532 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10533 $as_echo "$lt_cv_dlopen_self" >&6; }
   10534 
   10535     if test "x$lt_cv_dlopen_self" = xyes; then
   10536       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10537       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10538 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10539 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10540   $as_echo_n "(cached) " >&6
   10541 else
   10542   	  if test "$cross_compiling" = yes; then :
   10543   lt_cv_dlopen_self_static=cross
   10544 else
   10545   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10546   lt_status=$lt_dlunknown
   10547   cat > conftest.$ac_ext <<EOF
   10548 #line 10548 "configure"
   10549 #include "confdefs.h"
   10550 
   10551 #if HAVE_DLFCN_H
   10552 #include <dlfcn.h>
   10553 #endif
   10554 
   10555 #include <stdio.h>
   10556 
   10557 #ifdef RTLD_GLOBAL
   10558 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10559 #else
   10560 #  ifdef DL_GLOBAL
   10561 #    define LT_DLGLOBAL		DL_GLOBAL
   10562 #  else
   10563 #    define LT_DLGLOBAL		0
   10564 #  endif
   10565 #endif
   10566 
   10567 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10568    find out it does not work in some platform. */
   10569 #ifndef LT_DLLAZY_OR_NOW
   10570 #  ifdef RTLD_LAZY
   10571 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10572 #  else
   10573 #    ifdef DL_LAZY
   10574 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10575 #    else
   10576 #      ifdef RTLD_NOW
   10577 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10578 #      else
   10579 #        ifdef DL_NOW
   10580 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10581 #        else
   10582 #          define LT_DLLAZY_OR_NOW	0
   10583 #        endif
   10584 #      endif
   10585 #    endif
   10586 #  endif
   10587 #endif
   10588 
   10589 #ifdef __cplusplus
   10590 extern "C" void exit (int);
   10591 #endif
   10592 
   10593 void fnord() { int i=42;}
   10594 int main ()
   10595 {
   10596   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10597   int status = $lt_dlunknown;
   10598 
   10599   if (self)
   10600     {
   10601       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10602       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10603       /* dlclose (self); */
   10604     }
   10605   else
   10606     puts (dlerror ());
   10607 
   10608     exit (status);
   10609 }
   10610 EOF
   10611   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10612   (eval $ac_link) 2>&5
   10613   ac_status=$?
   10614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10615   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10616     (./conftest; exit; ) >&5 2>/dev/null
   10617     lt_status=$?
   10618     case x$lt_status in
   10619       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10620       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10621       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10622     esac
   10623   else :
   10624     # compilation failed
   10625     lt_cv_dlopen_self_static=no
   10626   fi
   10627 fi
   10628 rm -fr conftest*
   10629 
   10630 
   10631 fi
   10632 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10633 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10634     fi
   10635 
   10636     CPPFLAGS="$save_CPPFLAGS"
   10637     LDFLAGS="$save_LDFLAGS"
   10638     LIBS="$save_LIBS"
   10639     ;;
   10640   esac
   10641 
   10642   case $lt_cv_dlopen_self in
   10643   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10644   *) enable_dlopen_self=unknown ;;
   10645   esac
   10646 
   10647   case $lt_cv_dlopen_self_static in
   10648   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10649   *) enable_dlopen_self_static=unknown ;;
   10650   esac
   10651 fi
   10652 
   10653 
   10654 # Report which library types will actually be built
   10655 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10656 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10657 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10658 $as_echo "$can_build_shared" >&6; }
   10659 
   10660 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10661 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10662 test "$can_build_shared" = "no" && enable_shared=no
   10663 
   10664 # On AIX, shared libraries and static libraries use the same namespace, and
   10665 # are all built from PIC.
   10666 case $host_os in
   10667 aix3*)
   10668   test "$enable_shared" = yes && enable_static=no
   10669   if test -n "$RANLIB"; then
   10670     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10671     postinstall_cmds='$RANLIB $lib'
   10672   fi
   10673   ;;
   10674 
   10675 aix[4-9]*)
   10676   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10677     test "$enable_shared" = yes && enable_static=no
   10678   fi
   10679     ;;
   10680 esac
   10681 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10682 $as_echo "$enable_shared" >&6; }
   10683 
   10684 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10685 $as_echo_n "checking whether to build static libraries... " >&6; }
   10686 # Make sure either enable_shared or enable_static is yes.
   10687 test "$enable_shared" = yes || enable_static=yes
   10688 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10689 $as_echo "$enable_static" >&6; }
   10690 
   10691 # The else clause should only fire when bootstrapping the
   10692 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10693 # with your package, and you will get complaints that there are
   10694 # no rules to generate ltmain.sh.
   10695 if test -f "$ltmain"; then
   10696   # See if we are running on zsh, and set the options which allow our commands through
   10697   # without removal of \ escapes.
   10698   if test -n "${ZSH_VERSION+set}" ; then
   10699     setopt NO_GLOB_SUBST
   10700   fi
   10701   # Now quote all the things that may contain metacharacters while being
   10702   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10703   # variables and quote the copies for generation of the libtool script.
   10704   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10705     SED SHELL STRIP \
   10706     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10707     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10708     deplibs_check_method reload_flag reload_cmds need_locks \
   10709     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10710     lt_cv_sys_global_symbol_to_c_name_address \
   10711     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10712     old_postinstall_cmds old_postuninstall_cmds \
   10713     compiler \
   10714     CC \
   10715     LD \
   10716     lt_prog_compiler_wl \
   10717     lt_prog_compiler_pic \
   10718     lt_prog_compiler_static \
   10719     lt_prog_compiler_no_builtin_flag \
   10720     export_dynamic_flag_spec \
   10721     thread_safe_flag_spec \
   10722     whole_archive_flag_spec \
   10723     enable_shared_with_static_runtimes \
   10724     old_archive_cmds \
   10725     old_archive_from_new_cmds \
   10726     predep_objects \
   10727     postdep_objects \
   10728     predeps \
   10729     postdeps \
   10730     compiler_lib_search_path \
   10731     compiler_lib_search_dirs \
   10732     archive_cmds \
   10733     archive_expsym_cmds \
   10734     postinstall_cmds \
   10735     postuninstall_cmds \
   10736     old_archive_from_expsyms_cmds \
   10737     allow_undefined_flag \
   10738     no_undefined_flag \
   10739     export_symbols_cmds \
   10740     hardcode_libdir_flag_spec \
   10741     hardcode_libdir_flag_spec_ld \
   10742     hardcode_libdir_separator \
   10743     hardcode_automatic \
   10744     module_cmds \
   10745     module_expsym_cmds \
   10746     lt_cv_prog_compiler_c_o \
   10747     fix_srcfile_path \
   10748     exclude_expsyms \
   10749     include_expsyms; do
   10750 
   10751     case $var in
   10752     old_archive_cmds | \
   10753     old_archive_from_new_cmds | \
   10754     archive_cmds | \
   10755     archive_expsym_cmds | \
   10756     module_cmds | \
   10757     module_expsym_cmds | \
   10758     old_archive_from_expsyms_cmds | \
   10759     export_symbols_cmds | \
   10760     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10761     postinstall_cmds | postuninstall_cmds | \
   10762     old_postinstall_cmds | old_postuninstall_cmds | \
   10763     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10764       # Double-quote double-evaled strings.
   10765       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10766       ;;
   10767     *)
   10768       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10769       ;;
   10770     esac
   10771   done
   10772 
   10773   case $lt_echo in
   10774   *'\$0 --fallback-echo"')
   10775     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10776     ;;
   10777   esac
   10778 
   10779 cfgfile="${ofile}T"
   10780   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10781   $rm -f "$cfgfile"
   10782   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10783 $as_echo "$as_me: creating $ofile" >&6;}
   10784 
   10785   cat <<__EOF__ >> "$cfgfile"
   10786 #! $SHELL
   10787 
   10788 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10789 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10790 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10791 #
   10792 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10793 # Free Software Foundation, Inc.
   10794 #
   10795 # This file is part of GNU Libtool:
   10796 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10797 #
   10798 # This program is free software; you can redistribute it and/or modify
   10799 # it under the terms of the GNU General Public License as published by
   10800 # the Free Software Foundation; either version 2 of the License, or
   10801 # (at your option) any later version.
   10802 #
   10803 # This program is distributed in the hope that it will be useful, but
   10804 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10805 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10806 # General Public License for more details.
   10807 #
   10808 # You should have received a copy of the GNU General Public License
   10809 # along with this program; if not, write to the Free Software
   10810 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10811 #
   10812 # As a special exception to the GNU General Public License, if you
   10813 # distribute this file as part of a program that contains a
   10814 # configuration script generated by Autoconf, you may include it under
   10815 # the same distribution terms that you use for the rest of that program.
   10816 
   10817 # A sed program that does not truncate output.
   10818 SED=$lt_SED
   10819 
   10820 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10821 Xsed="$SED -e 1s/^X//"
   10822 
   10823 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10824 # if CDPATH is set.
   10825 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10826 
   10827 # The names of the tagged configurations supported by this script.
   10828 available_tags=
   10829 
   10830 # ### BEGIN LIBTOOL CONFIG
   10831 
   10832 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10833 
   10834 # Shell to use when invoking shell scripts.
   10835 SHELL=$lt_SHELL
   10836 
   10837 # Whether or not to build shared libraries.
   10838 build_libtool_libs=$enable_shared
   10839 
   10840 # Whether or not to build static libraries.
   10841 build_old_libs=$enable_static
   10842 
   10843 # Whether or not to add -lc for building shared libraries.
   10844 build_libtool_need_lc=$archive_cmds_need_lc
   10845 
   10846 # Whether or not to disallow shared libs when runtime libs are static
   10847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10848 
   10849 # Whether or not to optimize for fast installation.
   10850 fast_install=$enable_fast_install
   10851 
   10852 # The host system.
   10853 host_alias=$host_alias
   10854 host=$host
   10855 host_os=$host_os
   10856 
   10857 # The build system.
   10858 build_alias=$build_alias
   10859 build=$build
   10860 build_os=$build_os
   10861 
   10862 # An echo program that does not interpret backslashes.
   10863 echo=$lt_echo
   10864 
   10865 # The archiver.
   10866 AR=$lt_AR
   10867 AR_FLAGS=$lt_AR_FLAGS
   10868 
   10869 # A C compiler.
   10870 LTCC=$lt_LTCC
   10871 
   10872 # LTCC compiler flags.
   10873 LTCFLAGS=$lt_LTCFLAGS
   10874 
   10875 # A language-specific compiler.
   10876 CC=$lt_compiler
   10877 
   10878 # Is the compiler the GNU C compiler?
   10879 with_gcc=$GCC
   10880 
   10881 # An ERE matcher.
   10882 EGREP=$lt_EGREP
   10883 
   10884 # The linker used to build libraries.
   10885 LD=$lt_LD
   10886 
   10887 # Whether we need hard or soft links.
   10888 LN_S=$lt_LN_S
   10889 
   10890 # A BSD-compatible nm program.
   10891 NM=$lt_NM
   10892 
   10893 # A symbol stripping program
   10894 STRIP=$lt_STRIP
   10895 
   10896 # Used to examine libraries when file_magic_cmd begins "file"
   10897 MAGIC_CMD=$MAGIC_CMD
   10898 
   10899 # Used on cygwin: DLL creation program.
   10900 DLLTOOL="$DLLTOOL"
   10901 
   10902 # Used on cygwin: object dumper.
   10903 OBJDUMP="$OBJDUMP"
   10904 
   10905 # Used on cygwin: assembler.
   10906 AS="$AS"
   10907 
   10908 # The name of the directory that contains temporary libtool files.
   10909 objdir=$objdir
   10910 
   10911 # How to create reloadable object files.
   10912 reload_flag=$lt_reload_flag
   10913 reload_cmds=$lt_reload_cmds
   10914 
   10915 # How to pass a linker flag through the compiler.
   10916 wl=$lt_lt_prog_compiler_wl
   10917 
   10918 # Object file suffix (normally "o").
   10919 objext="$ac_objext"
   10920 
   10921 # Old archive suffix (normally "a").
   10922 libext="$libext"
   10923 
   10924 # Shared library suffix (normally ".so").
   10925 shrext_cmds='$shrext_cmds'
   10926 
   10927 # Executable file suffix (normally "").
   10928 exeext="$exeext"
   10929 
   10930 # Additional compiler flags for building library objects.
   10931 pic_flag=$lt_lt_prog_compiler_pic
   10932 pic_mode=$pic_mode
   10933 
   10934 # What is the maximum length of a command?
   10935 max_cmd_len=$lt_cv_sys_max_cmd_len
   10936 
   10937 # Does compiler simultaneously support -c and -o options?
   10938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10939 
   10940 # Must we lock files when doing compilation?
   10941 need_locks=$lt_need_locks
   10942 
   10943 # Do we need the lib prefix for modules?
   10944 need_lib_prefix=$need_lib_prefix
   10945 
   10946 # Do we need a version for libraries?
   10947 need_version=$need_version
   10948 
   10949 # Whether dlopen is supported.
   10950 dlopen_support=$enable_dlopen
   10951 
   10952 # Whether dlopen of programs is supported.
   10953 dlopen_self=$enable_dlopen_self
   10954 
   10955 # Whether dlopen of statically linked programs is supported.
   10956 dlopen_self_static=$enable_dlopen_self_static
   10957 
   10958 # Compiler flag to prevent dynamic linking.
   10959 link_static_flag=$lt_lt_prog_compiler_static
   10960 
   10961 # Compiler flag to turn off builtin functions.
   10962 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10963 
   10964 # Compiler flag to allow reflexive dlopens.
   10965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10966 
   10967 # Compiler flag to generate shared objects directly from archives.
   10968 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10969 
   10970 # Compiler flag to generate thread-safe objects.
   10971 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10972 
   10973 # Library versioning type.
   10974 version_type=$version_type
   10975 
   10976 # Format of library name prefix.
   10977 libname_spec=$lt_libname_spec
   10978 
   10979 # List of archive names.  First name is the real one, the rest are links.
   10980 # The last name is the one that the linker finds with -lNAME.
   10981 library_names_spec=$lt_library_names_spec
   10982 
   10983 # The coded name of the library, if different from the real name.
   10984 soname_spec=$lt_soname_spec
   10985 
   10986 # Commands used to build and install an old-style archive.
   10987 RANLIB=$lt_RANLIB
   10988 old_archive_cmds=$lt_old_archive_cmds
   10989 old_postinstall_cmds=$lt_old_postinstall_cmds
   10990 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10991 
   10992 # Create an old-style archive from a shared archive.
   10993 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10994 
   10995 # Create a temporary old-style archive to link instead of a shared archive.
   10996 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10997 
   10998 # Commands used to build and install a shared archive.
   10999 archive_cmds=$lt_archive_cmds
   11000 archive_expsym_cmds=$lt_archive_expsym_cmds
   11001 postinstall_cmds=$lt_postinstall_cmds
   11002 postuninstall_cmds=$lt_postuninstall_cmds
   11003 
   11004 # Commands used to build a loadable module (assumed same as above if empty)
   11005 module_cmds=$lt_module_cmds
   11006 module_expsym_cmds=$lt_module_expsym_cmds
   11007 
   11008 # Commands to strip libraries.
   11009 old_striplib=$lt_old_striplib
   11010 striplib=$lt_striplib
   11011 
   11012 # Dependencies to place before the objects being linked to create a
   11013 # shared library.
   11014 predep_objects=$lt_predep_objects
   11015 
   11016 # Dependencies to place after the objects being linked to create a
   11017 # shared library.
   11018 postdep_objects=$lt_postdep_objects
   11019 
   11020 # Dependencies to place before the objects being linked to create a
   11021 # shared library.
   11022 predeps=$lt_predeps
   11023 
   11024 # Dependencies to place after the objects being linked to create a
   11025 # shared library.
   11026 postdeps=$lt_postdeps
   11027 
   11028 # The directories searched by this compiler when creating a shared
   11029 # library
   11030 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11031 
   11032 # The library search path used internally by the compiler when linking
   11033 # a shared library.
   11034 compiler_lib_search_path=$lt_compiler_lib_search_path
   11035 
   11036 # Method to check whether dependent libraries are shared objects.
   11037 deplibs_check_method=$lt_deplibs_check_method
   11038 
   11039 # Command to use when deplibs_check_method == file_magic.
   11040 file_magic_cmd=$lt_file_magic_cmd
   11041 
   11042 # Flag that allows shared libraries with undefined symbols to be built.
   11043 allow_undefined_flag=$lt_allow_undefined_flag
   11044 
   11045 # Flag that forces no undefined symbols.
   11046 no_undefined_flag=$lt_no_undefined_flag
   11047 
   11048 # Commands used to finish a libtool library installation in a directory.
   11049 finish_cmds=$lt_finish_cmds
   11050 
   11051 # Same as above, but a single script fragment to be evaled but not shown.
   11052 finish_eval=$lt_finish_eval
   11053 
   11054 # Take the output of nm and produce a listing of raw symbols and C names.
   11055 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11056 
   11057 # Transform the output of nm in a proper C declaration
   11058 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11059 
   11060 # Transform the output of nm in a C name address pair
   11061 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11062 
   11063 # This is the shared library runtime path variable.
   11064 runpath_var=$runpath_var
   11065 
   11066 # This is the shared library path variable.
   11067 shlibpath_var=$shlibpath_var
   11068 
   11069 # Is shlibpath searched before the hard-coded library search path?
   11070 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11071 
   11072 # How to hardcode a shared library path into an executable.
   11073 hardcode_action=$hardcode_action
   11074 
   11075 # Whether we should hardcode library paths into libraries.
   11076 hardcode_into_libs=$hardcode_into_libs
   11077 
   11078 # Flag to hardcode \$libdir into a binary during linking.
   11079 # This must work even if \$libdir does not exist.
   11080 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11081 
   11082 # If ld is used when linking, flag to hardcode \$libdir into
   11083 # a binary during linking. This must work even if \$libdir does
   11084 # not exist.
   11085 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11086 
   11087 # Whether we need a single -rpath flag with a separated argument.
   11088 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11089 
   11090 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11091 # resulting binary.
   11092 hardcode_direct=$hardcode_direct
   11093 
   11094 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11095 # resulting binary.
   11096 hardcode_minus_L=$hardcode_minus_L
   11097 
   11098 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11099 # the resulting binary.
   11100 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11101 
   11102 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11103 # and all subsequent libraries and executables linked against it.
   11104 hardcode_automatic=$hardcode_automatic
   11105 
   11106 # Variables whose values should be saved in libtool wrapper scripts and
   11107 # restored at relink time.
   11108 variables_saved_for_relink="$variables_saved_for_relink"
   11109 
   11110 # Whether libtool must link a program against all its dependency libraries.
   11111 link_all_deplibs=$link_all_deplibs
   11112 
   11113 # Compile-time system search path for libraries
   11114 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11115 
   11116 # Run-time system search path for libraries
   11117 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11118 
   11119 # Fix the shell variable \$srcfile for the compiler.
   11120 fix_srcfile_path=$lt_fix_srcfile_path
   11121 
   11122 # Set to yes if exported symbols are required.
   11123 always_export_symbols=$always_export_symbols
   11124 
   11125 # The commands to list exported symbols.
   11126 export_symbols_cmds=$lt_export_symbols_cmds
   11127 
   11128 # The commands to extract the exported symbol list from a shared archive.
   11129 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11130 
   11131 # Symbols that should not be listed in the preloaded symbols.
   11132 exclude_expsyms=$lt_exclude_expsyms
   11133 
   11134 # Symbols that must always be exported.
   11135 include_expsyms=$lt_include_expsyms
   11136 
   11137 # ### END LIBTOOL CONFIG
   11138 
   11139 __EOF__
   11140 
   11141 
   11142   case $host_os in
   11143   aix3*)
   11144     cat <<\EOF >> "$cfgfile"
   11145 
   11146 # AIX sometimes has problems with the GCC collect2 program.  For some
   11147 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11148 # vanish in a puff of smoke.
   11149 if test "X${COLLECT_NAMES+set}" != Xset; then
   11150   COLLECT_NAMES=
   11151   export COLLECT_NAMES
   11152 fi
   11153 EOF
   11154     ;;
   11155   esac
   11156 
   11157   # We use sed instead of cat because bash on DJGPP gets confused if
   11158   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11159   # text mode, it properly converts lines to CR/LF.  This bash problem
   11160   # is reportedly fixed, but why not run on old versions too?
   11161   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11162 
   11163   mv -f "$cfgfile" "$ofile" || \
   11164     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11165   chmod +x "$ofile"
   11166 
   11167 else
   11168   # If there is no Makefile yet, we rely on a make rule to execute
   11169   # `config.status --recheck' to rerun these tests and create the
   11170   # libtool script then.
   11171   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11172   if test -f "$ltmain_in"; then
   11173     test -f Makefile && make "$ltmain"
   11174   fi
   11175 fi
   11176 
   11177 
   11178 ac_ext=c
   11179 ac_cpp='$CPP $CPPFLAGS'
   11180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11183 
   11184 CC="$lt_save_CC"
   11185 
   11186 
   11187 # Check whether --with-tags was given.
   11188 if test "${with_tags+set}" = set; then
   11189   withval=$with_tags; tagnames="$withval"
   11190 fi
   11191 
   11192 
   11193 if test -f "$ltmain" && test -n "$tagnames"; then
   11194   if test ! -f "${ofile}"; then
   11195     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11196 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11197   fi
   11198 
   11199   if test -z "$LTCC"; then
   11200     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11201     if test -z "$LTCC"; then
   11202       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11203 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11204     else
   11205       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11206 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11207     fi
   11208   fi
   11209   if test -z "$LTCFLAGS"; then
   11210     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11211   fi
   11212 
   11213   # Extract list of available tagged configurations in $ofile.
   11214   # Note that this assumes the entire list is on one line.
   11215   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11216 
   11217   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11218   for tagname in $tagnames; do
   11219     IFS="$lt_save_ifs"
   11220     # Check whether tagname contains only valid characters
   11221     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11222     "") ;;
   11223     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11224 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11225    { (exit 1); exit 1; }; }
   11226 	;;
   11227     esac
   11228 
   11229     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11230     then
   11231       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11232 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11233    { (exit 1); exit 1; }; }
   11234     fi
   11235 
   11236     # Update the list of available tags.
   11237     if test -n "$tagname"; then
   11238       echo appending configuration tag \"$tagname\" to $ofile
   11239 
   11240       case $tagname in
   11241       CXX)
   11242 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11243 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11244 	    (test "X$CXX" != "Xg++"))) ; then
   11245 	  ac_ext=cpp
   11246 ac_cpp='$CXXCPP $CPPFLAGS'
   11247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11250 
   11251 
   11252 
   11253 
   11254 archive_cmds_need_lc_CXX=no
   11255 allow_undefined_flag_CXX=
   11256 always_export_symbols_CXX=no
   11257 archive_expsym_cmds_CXX=
   11258 export_dynamic_flag_spec_CXX=
   11259 hardcode_direct_CXX=no
   11260 hardcode_libdir_flag_spec_CXX=
   11261 hardcode_libdir_flag_spec_ld_CXX=
   11262 hardcode_libdir_separator_CXX=
   11263 hardcode_minus_L_CXX=no
   11264 hardcode_shlibpath_var_CXX=unsupported
   11265 hardcode_automatic_CXX=no
   11266 module_cmds_CXX=
   11267 module_expsym_cmds_CXX=
   11268 link_all_deplibs_CXX=unknown
   11269 old_archive_cmds_CXX=$old_archive_cmds
   11270 no_undefined_flag_CXX=
   11271 whole_archive_flag_spec_CXX=
   11272 enable_shared_with_static_runtimes_CXX=no
   11273 
   11274 # Dependencies to place before and after the object being linked:
   11275 predep_objects_CXX=
   11276 postdep_objects_CXX=
   11277 predeps_CXX=
   11278 postdeps_CXX=
   11279 compiler_lib_search_path_CXX=
   11280 compiler_lib_search_dirs_CXX=
   11281 
   11282 # Source file extension for C++ test sources.
   11283 ac_ext=cpp
   11284 
   11285 # Object file extension for compiled C++ test sources.
   11286 objext=o
   11287 objext_CXX=$objext
   11288 
   11289 # Code to be used in simple compile tests
   11290 lt_simple_compile_test_code="int some_variable = 0;"
   11291 
   11292 # Code to be used in simple link tests
   11293 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11294 
   11295 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11296 
   11297 # If no C compiler was specified, use CC.
   11298 LTCC=${LTCC-"$CC"}
   11299 
   11300 # If no C compiler flags were specified, use CFLAGS.
   11301 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11302 
   11303 # Allow CC to be a program name with arguments.
   11304 compiler=$CC
   11305 
   11306 
   11307 # save warnings/boilerplate of simple test code
   11308 ac_outfile=conftest.$ac_objext
   11309 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11310 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11311 _lt_compiler_boilerplate=`cat conftest.err`
   11312 $rm conftest*
   11313 
   11314 ac_outfile=conftest.$ac_objext
   11315 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11316 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11317 _lt_linker_boilerplate=`cat conftest.err`
   11318 $rm -r conftest*
   11319 
   11320 
   11321 # Allow CC to be a program name with arguments.
   11322 lt_save_CC=$CC
   11323 lt_save_LD=$LD
   11324 lt_save_GCC=$GCC
   11325 GCC=$GXX
   11326 lt_save_with_gnu_ld=$with_gnu_ld
   11327 lt_save_path_LD=$lt_cv_path_LD
   11328 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11329   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11330 else
   11331   $as_unset lt_cv_prog_gnu_ld
   11332 fi
   11333 if test -n "${lt_cv_path_LDCXX+set}"; then
   11334   lt_cv_path_LD=$lt_cv_path_LDCXX
   11335 else
   11336   $as_unset lt_cv_path_LD
   11337 fi
   11338 test -z "${LDCXX+set}" || LD=$LDCXX
   11339 CC=${CXX-"c++"}
   11340 compiler=$CC
   11341 compiler_CXX=$CC
   11342 for cc_temp in $compiler""; do
   11343   case $cc_temp in
   11344     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11345     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11346     \-*) ;;
   11347     *) break;;
   11348   esac
   11349 done
   11350 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11351 
   11352 
   11353 # We don't want -fno-exception wen compiling C++ code, so set the
   11354 # no_builtin_flag separately
   11355 if test "$GXX" = yes; then
   11356   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11357 else
   11358   lt_prog_compiler_no_builtin_flag_CXX=
   11359 fi
   11360 
   11361 if test "$GXX" = yes; then
   11362   # Set up default GNU C++ configuration
   11363 
   11364 
   11365 # Check whether --with-gnu-ld was given.
   11366 if test "${with_gnu_ld+set}" = set; then
   11367   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11368 else
   11369   with_gnu_ld=no
   11370 fi
   11371 
   11372 ac_prog=ld
   11373 if test "$GCC" = yes; then
   11374   # Check if gcc -print-prog-name=ld gives a path.
   11375   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11376 $as_echo_n "checking for ld used by $CC... " >&6; }
   11377   case $host in
   11378   *-*-mingw*)
   11379     # gcc leaves a trailing carriage return which upsets mingw
   11380     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11381   *)
   11382     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11383   esac
   11384   case $ac_prog in
   11385     # Accept absolute paths.
   11386     [\\/]* | ?:[\\/]*)
   11387       re_direlt='/[^/][^/]*/\.\./'
   11388       # Canonicalize the pathname of ld
   11389       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11390       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11391 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11392       done
   11393       test -z "$LD" && LD="$ac_prog"
   11394       ;;
   11395   "")
   11396     # If it fails, then pretend we aren't using GCC.
   11397     ac_prog=ld
   11398     ;;
   11399   *)
   11400     # If it is relative, then search for the first ld in PATH.
   11401     with_gnu_ld=unknown
   11402     ;;
   11403   esac
   11404 elif test "$with_gnu_ld" = yes; then
   11405   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11406 $as_echo_n "checking for GNU ld... " >&6; }
   11407 else
   11408   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11409 $as_echo_n "checking for non-GNU ld... " >&6; }
   11410 fi
   11411 if test "${lt_cv_path_LD+set}" = set; then
   11412   $as_echo_n "(cached) " >&6
   11413 else
   11414   if test -z "$LD"; then
   11415   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11416   for ac_dir in $PATH; do
   11417     IFS="$lt_save_ifs"
   11418     test -z "$ac_dir" && ac_dir=.
   11419     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11420       lt_cv_path_LD="$ac_dir/$ac_prog"
   11421       # Check to see if the program is GNU ld.  I'd rather use --version,
   11422       # but apparently some variants of GNU ld only accept -v.
   11423       # Break only if it was the GNU/non-GNU ld that we prefer.
   11424       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11425       *GNU* | *'with BFD'*)
   11426 	test "$with_gnu_ld" != no && break
   11427 	;;
   11428       *)
   11429 	test "$with_gnu_ld" != yes && break
   11430 	;;
   11431       esac
   11432     fi
   11433   done
   11434   IFS="$lt_save_ifs"
   11435 else
   11436   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11437 fi
   11438 fi
   11439 
   11440 LD="$lt_cv_path_LD"
   11441 if test -n "$LD"; then
   11442   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11443 $as_echo "$LD" >&6; }
   11444 else
   11445   { $as_echo "$as_me:$LINENO: result: no" >&5
   11446 $as_echo "no" >&6; }
   11447 fi
   11448 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11449 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11450    { (exit 1); exit 1; }; }
   11451 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11452 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11453 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11454   $as_echo_n "(cached) " >&6
   11455 else
   11456   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11457 case `$LD -v 2>&1 </dev/null` in
   11458 *GNU* | *'with BFD'*)
   11459   lt_cv_prog_gnu_ld=yes
   11460   ;;
   11461 *)
   11462   lt_cv_prog_gnu_ld=no
   11463   ;;
   11464 esac
   11465 fi
   11466 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11467 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11468 with_gnu_ld=$lt_cv_prog_gnu_ld
   11469 
   11470 
   11471 
   11472   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11473   # archiving commands below assume that GNU ld is being used.
   11474   if test "$with_gnu_ld" = yes; then
   11475     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11476     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'
   11477 
   11478     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11479     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11480 
   11481     # If archive_cmds runs LD, not CC, wlarc should be empty
   11482     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11483     #     investigate it a little bit more. (MM)
   11484     wlarc='${wl}'
   11485 
   11486     # ancient GNU ld didn't support --whole-archive et. al.
   11487     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11488 	grep 'no-whole-archive' > /dev/null; then
   11489       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11490     else
   11491       whole_archive_flag_spec_CXX=
   11492     fi
   11493   else
   11494     with_gnu_ld=no
   11495     wlarc=
   11496 
   11497     # A generic and very simple default shared library creation
   11498     # command for GNU C++ for the case where it uses the native
   11499     # linker, instead of GNU ld.  If possible, this setting should
   11500     # overridden to take advantage of the native linker features on
   11501     # the platform it is being used on.
   11502     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11503   fi
   11504 
   11505   # Commands to make compiler produce verbose output that lists
   11506   # what "hidden" libraries, object files and flags are used when
   11507   # linking a shared library.
   11508   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11509 
   11510 else
   11511   GXX=no
   11512   with_gnu_ld=no
   11513   wlarc=
   11514 fi
   11515 
   11516 # PORTME: fill in a description of your system's C++ link characteristics
   11517 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11518 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11519 ld_shlibs_CXX=yes
   11520 case $host_os in
   11521   aix3*)
   11522     # FIXME: insert proper C++ library support
   11523     ld_shlibs_CXX=no
   11524     ;;
   11525   aix[4-9]*)
   11526     if test "$host_cpu" = ia64; then
   11527       # On IA64, the linker does run time linking by default, so we don't
   11528       # have to do anything special.
   11529       aix_use_runtimelinking=no
   11530       exp_sym_flag='-Bexport'
   11531       no_entry_flag=""
   11532     else
   11533       aix_use_runtimelinking=no
   11534 
   11535       # Test if we are trying to use run time linking or normal
   11536       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11537       # need to do runtime linking.
   11538       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11539 	for ld_flag in $LDFLAGS; do
   11540 	  case $ld_flag in
   11541 	  *-brtl*)
   11542 	    aix_use_runtimelinking=yes
   11543 	    break
   11544 	    ;;
   11545 	  esac
   11546 	done
   11547 	;;
   11548       esac
   11549 
   11550       exp_sym_flag='-bexport'
   11551       no_entry_flag='-bnoentry'
   11552     fi
   11553 
   11554     # When large executables or shared objects are built, AIX ld can
   11555     # have problems creating the table of contents.  If linking a library
   11556     # or program results in "error TOC overflow" add -mminimal-toc to
   11557     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11558     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11559 
   11560     archive_cmds_CXX=''
   11561     hardcode_direct_CXX=yes
   11562     hardcode_libdir_separator_CXX=':'
   11563     link_all_deplibs_CXX=yes
   11564 
   11565     if test "$GXX" = yes; then
   11566       case $host_os in aix4.[012]|aix4.[012].*)
   11567       # We only want to do this on AIX 4.2 and lower, the check
   11568       # below for broken collect2 doesn't work under 4.3+
   11569 	collect2name=`${CC} -print-prog-name=collect2`
   11570 	if test -f "$collect2name" && \
   11571 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11572 	then
   11573 	  # We have reworked collect2
   11574 	  :
   11575 	else
   11576 	  # We have old collect2
   11577 	  hardcode_direct_CXX=unsupported
   11578 	  # It fails to find uninstalled libraries when the uninstalled
   11579 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11580 	  # to unsupported forces relinking
   11581 	  hardcode_minus_L_CXX=yes
   11582 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11583 	  hardcode_libdir_separator_CXX=
   11584 	fi
   11585 	;;
   11586       esac
   11587       shared_flag='-shared'
   11588       if test "$aix_use_runtimelinking" = yes; then
   11589 	shared_flag="$shared_flag "'${wl}-G'
   11590       fi
   11591     else
   11592       # not using gcc
   11593       if test "$host_cpu" = ia64; then
   11594 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11595 	# chokes on -Wl,-G. The following line is correct:
   11596 	shared_flag='-G'
   11597       else
   11598 	if test "$aix_use_runtimelinking" = yes; then
   11599 	  shared_flag='${wl}-G'
   11600 	else
   11601 	  shared_flag='${wl}-bM:SRE'
   11602 	fi
   11603       fi
   11604     fi
   11605 
   11606     # It seems that -bexpall does not export symbols beginning with
   11607     # underscore (_), so it is better to generate a list of symbols to export.
   11608     always_export_symbols_CXX=yes
   11609     if test "$aix_use_runtimelinking" = yes; then
   11610       # Warning - without using the other runtime loading flags (-brtl),
   11611       # -berok will link without error, but may produce a broken library.
   11612       allow_undefined_flag_CXX='-berok'
   11613       # Determine the default libpath from the value encoded in an empty executable.
   11614       cat >conftest.$ac_ext <<_ACEOF
   11615 /* confdefs.h.  */
   11616 _ACEOF
   11617 cat confdefs.h >>conftest.$ac_ext
   11618 cat >>conftest.$ac_ext <<_ACEOF
   11619 /* end confdefs.h.  */
   11620 
   11621 int
   11622 main ()
   11623 {
   11624 
   11625   ;
   11626   return 0;
   11627 }
   11628 _ACEOF
   11629 rm -f conftest.$ac_objext conftest$ac_exeext
   11630 if { (ac_try="$ac_link"
   11631 case "(($ac_try" in
   11632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11633   *) ac_try_echo=$ac_try;;
   11634 esac
   11635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11636 $as_echo "$ac_try_echo") >&5
   11637   (eval "$ac_link") 2>conftest.er1
   11638   ac_status=$?
   11639   grep -v '^ *+' conftest.er1 >conftest.err
   11640   rm -f conftest.er1
   11641   cat conftest.err >&5
   11642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11643   (exit $ac_status); } && {
   11644 	 test -z "$ac_cxx_werror_flag" ||
   11645 	 test ! -s conftest.err
   11646        } && test -s conftest$ac_exeext && {
   11647 	 test "$cross_compiling" = yes ||
   11648 	 $as_test_x conftest$ac_exeext
   11649        }; then
   11650 
   11651 lt_aix_libpath_sed='
   11652     /Import File Strings/,/^$/ {
   11653 	/^0/ {
   11654 	    s/^0  *\(.*\)$/\1/
   11655 	    p
   11656 	}
   11657     }'
   11658 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11659 # Check for a 64-bit object if we didn't find anything.
   11660 if test -z "$aix_libpath"; then
   11661   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11662 fi
   11663 else
   11664   $as_echo "$as_me: failed program was:" >&5
   11665 sed 's/^/| /' conftest.$ac_ext >&5
   11666 
   11667 
   11668 fi
   11669 
   11670 rm -rf conftest.dSYM
   11671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11672       conftest$ac_exeext conftest.$ac_ext
   11673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11674 
   11675       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11676 
   11677       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"
   11678      else
   11679       if test "$host_cpu" = ia64; then
   11680 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11681 	allow_undefined_flag_CXX="-z nodefs"
   11682 	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"
   11683       else
   11684 	# Determine the default libpath from the value encoded in an empty executable.
   11685 	cat >conftest.$ac_ext <<_ACEOF
   11686 /* confdefs.h.  */
   11687 _ACEOF
   11688 cat confdefs.h >>conftest.$ac_ext
   11689 cat >>conftest.$ac_ext <<_ACEOF
   11690 /* end confdefs.h.  */
   11691 
   11692 int
   11693 main ()
   11694 {
   11695 
   11696   ;
   11697   return 0;
   11698 }
   11699 _ACEOF
   11700 rm -f conftest.$ac_objext conftest$ac_exeext
   11701 if { (ac_try="$ac_link"
   11702 case "(($ac_try" in
   11703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11704   *) ac_try_echo=$ac_try;;
   11705 esac
   11706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11707 $as_echo "$ac_try_echo") >&5
   11708   (eval "$ac_link") 2>conftest.er1
   11709   ac_status=$?
   11710   grep -v '^ *+' conftest.er1 >conftest.err
   11711   rm -f conftest.er1
   11712   cat conftest.err >&5
   11713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11714   (exit $ac_status); } && {
   11715 	 test -z "$ac_cxx_werror_flag" ||
   11716 	 test ! -s conftest.err
   11717        } && test -s conftest$ac_exeext && {
   11718 	 test "$cross_compiling" = yes ||
   11719 	 $as_test_x conftest$ac_exeext
   11720        }; then
   11721 
   11722 lt_aix_libpath_sed='
   11723     /Import File Strings/,/^$/ {
   11724 	/^0/ {
   11725 	    s/^0  *\(.*\)$/\1/
   11726 	    p
   11727 	}
   11728     }'
   11729 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11730 # Check for a 64-bit object if we didn't find anything.
   11731 if test -z "$aix_libpath"; then
   11732   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11733 fi
   11734 else
   11735   $as_echo "$as_me: failed program was:" >&5
   11736 sed 's/^/| /' conftest.$ac_ext >&5
   11737 
   11738 
   11739 fi
   11740 
   11741 rm -rf conftest.dSYM
   11742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11743       conftest$ac_exeext conftest.$ac_ext
   11744 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11745 
   11746 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11747 	# Warning - without using the other run time loading flags,
   11748 	# -berok will link without error, but may produce a broken library.
   11749 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11750 	allow_undefined_flag_CXX=' ${wl}-berok'
   11751 	# Exported symbols can be pulled into shared objects from archives
   11752 	whole_archive_flag_spec_CXX='$convenience'
   11753 	archive_cmds_need_lc_CXX=yes
   11754 	# This is similar to how AIX traditionally builds its shared libraries.
   11755 	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'
   11756       fi
   11757     fi
   11758     ;;
   11759 
   11760   beos*)
   11761     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11762       allow_undefined_flag_CXX=unsupported
   11763       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11764       # support --undefined.  This deserves some investigation.  FIXME
   11765       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11766     else
   11767       ld_shlibs_CXX=no
   11768     fi
   11769     ;;
   11770 
   11771   chorus*)
   11772     case $cc_basename in
   11773       *)
   11774 	# FIXME: insert proper C++ library support
   11775 	ld_shlibs_CXX=no
   11776 	;;
   11777     esac
   11778     ;;
   11779 
   11780   cygwin* | mingw* | pw32*)
   11781     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11782     # as there is no search path for DLLs.
   11783     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11784     allow_undefined_flag_CXX=unsupported
   11785     always_export_symbols_CXX=no
   11786     enable_shared_with_static_runtimes_CXX=yes
   11787 
   11788     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11789       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'
   11790       # If the export-symbols file already is a .def file (1st line
   11791       # is EXPORTS), use it as is; otherwise, prepend...
   11792       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11793 	cp $export_symbols $output_objdir/$soname.def;
   11794       else
   11795 	echo EXPORTS > $output_objdir/$soname.def;
   11796 	cat $export_symbols >> $output_objdir/$soname.def;
   11797       fi~
   11798       $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'
   11799     else
   11800       ld_shlibs_CXX=no
   11801     fi
   11802   ;;
   11803       darwin* | rhapsody*)
   11804       archive_cmds_need_lc_CXX=no
   11805       hardcode_direct_CXX=no
   11806       hardcode_automatic_CXX=yes
   11807       hardcode_shlibpath_var_CXX=unsupported
   11808       whole_archive_flag_spec_CXX=''
   11809       link_all_deplibs_CXX=yes
   11810       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11811       if test "$GXX" = yes ; then
   11812       output_verbose_link_cmd='echo'
   11813       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}"
   11814       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11815       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}"
   11816       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}"
   11817       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11818         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}"
   11819         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}"
   11820       fi
   11821       else
   11822       case $cc_basename in
   11823         xlc*)
   11824          output_verbose_link_cmd='echo'
   11825           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'
   11826           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11827           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11828           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}'
   11829           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}'
   11830           ;;
   11831        *)
   11832          ld_shlibs_CXX=no
   11833           ;;
   11834       esac
   11835       fi
   11836         ;;
   11837 
   11838   dgux*)
   11839     case $cc_basename in
   11840       ec++*)
   11841 	# FIXME: insert proper C++ library support
   11842 	ld_shlibs_CXX=no
   11843 	;;
   11844       ghcx*)
   11845 	# Green Hills C++ Compiler
   11846 	# FIXME: insert proper C++ library support
   11847 	ld_shlibs_CXX=no
   11848 	;;
   11849       *)
   11850 	# FIXME: insert proper C++ library support
   11851 	ld_shlibs_CXX=no
   11852 	;;
   11853     esac
   11854     ;;
   11855   freebsd[12]*)
   11856     # C++ shared libraries reported to be fairly broken before switch to ELF
   11857     ld_shlibs_CXX=no
   11858     ;;
   11859   freebsd-elf*)
   11860     archive_cmds_need_lc_CXX=no
   11861     ;;
   11862   freebsd* | dragonfly*)
   11863     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11864     # conventions
   11865     ld_shlibs_CXX=yes
   11866     ;;
   11867   gnu*)
   11868     ;;
   11869   hpux9*)
   11870     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11871     hardcode_libdir_separator_CXX=:
   11872     export_dynamic_flag_spec_CXX='${wl}-E'
   11873     hardcode_direct_CXX=yes
   11874     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11875 				# but as the default
   11876 				# location of the library.
   11877 
   11878     case $cc_basename in
   11879     CC*)
   11880       # FIXME: insert proper C++ library support
   11881       ld_shlibs_CXX=no
   11882       ;;
   11883     aCC*)
   11884       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'
   11885       # Commands to make compiler produce verbose output that lists
   11886       # what "hidden" libraries, object files and flags are used when
   11887       # linking a shared library.
   11888       #
   11889       # There doesn't appear to be a way to prevent this compiler from
   11890       # explicitly linking system object files so we need to strip them
   11891       # from the output so that they don't get included in the library
   11892       # dependencies.
   11893       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'
   11894       ;;
   11895     *)
   11896       if test "$GXX" = yes; then
   11897         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'
   11898       else
   11899         # FIXME: insert proper C++ library support
   11900         ld_shlibs_CXX=no
   11901       fi
   11902       ;;
   11903     esac
   11904     ;;
   11905   hpux10*|hpux11*)
   11906     if test $with_gnu_ld = no; then
   11907       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11908       hardcode_libdir_separator_CXX=:
   11909 
   11910       case $host_cpu in
   11911       hppa*64*|ia64*) ;;
   11912       *)
   11913 	export_dynamic_flag_spec_CXX='${wl}-E'
   11914         ;;
   11915       esac
   11916     fi
   11917     case $host_cpu in
   11918     hppa*64*|ia64*)
   11919       hardcode_direct_CXX=no
   11920       hardcode_shlibpath_var_CXX=no
   11921       ;;
   11922     *)
   11923       hardcode_direct_CXX=yes
   11924       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11925 					      # but as the default
   11926 					      # location of the library.
   11927       ;;
   11928     esac
   11929 
   11930     case $cc_basename in
   11931       CC*)
   11932 	# FIXME: insert proper C++ library support
   11933 	ld_shlibs_CXX=no
   11934 	;;
   11935       aCC*)
   11936 	case $host_cpu in
   11937 	hppa*64*)
   11938 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11939 	  ;;
   11940 	ia64*)
   11941 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11942 	  ;;
   11943 	*)
   11944 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11945 	  ;;
   11946 	esac
   11947 	# Commands to make compiler produce verbose output that lists
   11948 	# what "hidden" libraries, object files and flags are used when
   11949 	# linking a shared library.
   11950 	#
   11951 	# There doesn't appear to be a way to prevent this compiler from
   11952 	# explicitly linking system object files so we need to strip them
   11953 	# from the output so that they don't get included in the library
   11954 	# dependencies.
   11955 	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'
   11956 	;;
   11957       *)
   11958 	if test "$GXX" = yes; then
   11959 	  if test $with_gnu_ld = no; then
   11960 	    case $host_cpu in
   11961 	    hppa*64*)
   11962 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11963 	      ;;
   11964 	    ia64*)
   11965 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11966 	      ;;
   11967 	    *)
   11968 	      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'
   11969 	      ;;
   11970 	    esac
   11971 	  fi
   11972 	else
   11973 	  # FIXME: insert proper C++ library support
   11974 	  ld_shlibs_CXX=no
   11975 	fi
   11976 	;;
   11977     esac
   11978     ;;
   11979   interix[3-9]*)
   11980     hardcode_direct_CXX=no
   11981     hardcode_shlibpath_var_CXX=no
   11982     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11983     export_dynamic_flag_spec_CXX='${wl}-E'
   11984     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11985     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11986     # default) and relocated if they conflict, which is a slow very memory
   11987     # consuming and fragmenting process.  To avoid this, we pick a random,
   11988     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11989     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11990     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'
   11991     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'
   11992     ;;
   11993   irix5* | irix6*)
   11994     case $cc_basename in
   11995       CC*)
   11996 	# SGI C++
   11997 	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'
   11998 
   11999 	# Archives containing C++ object files must be created using
   12000 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12001 	# necessary to make sure instantiated templates are included
   12002 	# in the archive.
   12003 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12004 	;;
   12005       *)
   12006 	if test "$GXX" = yes; then
   12007 	  if test "$with_gnu_ld" = no; then
   12008 	    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'
   12009 	  else
   12010 	    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'
   12011 	  fi
   12012 	fi
   12013 	link_all_deplibs_CXX=yes
   12014 	;;
   12015     esac
   12016     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12017     hardcode_libdir_separator_CXX=:
   12018     ;;
   12019   linux* | k*bsd*-gnu)
   12020     case $cc_basename in
   12021       KCC*)
   12022 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12023 
   12024 	# KCC will only create a shared library if the output file
   12025 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12026 	# to its proper name (with version) after linking.
   12027 	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'
   12028 	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'
   12029 	# Commands to make compiler produce verbose output that lists
   12030 	# what "hidden" libraries, object files and flags are used when
   12031 	# linking a shared library.
   12032 	#
   12033 	# There doesn't appear to be a way to prevent this compiler from
   12034 	# explicitly linking system object files so we need to strip them
   12035 	# from the output so that they don't get included in the library
   12036 	# dependencies.
   12037 	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'
   12038 
   12039 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12040 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12041 
   12042 	# Archives containing C++ object files must be created using
   12043 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12044 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12045 	;;
   12046       icpc*)
   12047 	# Intel C++
   12048 	with_gnu_ld=yes
   12049 	# version 8.0 and above of icpc choke on multiply defined symbols
   12050 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12051 	# earlier do not add the objects themselves.
   12052 	case `$CC -V 2>&1` in
   12053 	*"Version 7."*)
   12054   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12055   	  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'
   12056 	  ;;
   12057 	*)  # Version 8.0 or newer
   12058 	  tmp_idyn=
   12059 	  case $host_cpu in
   12060 	    ia64*) tmp_idyn=' -i_dynamic';;
   12061 	  esac
   12062   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12063 	  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'
   12064 	  ;;
   12065 	esac
   12066 	archive_cmds_need_lc_CXX=no
   12067 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12068 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12069 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12070 	;;
   12071       pgCC* | pgcpp*)
   12072         # Portland Group C++ compiler
   12073 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12074   	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'
   12075 
   12076 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12077 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12078 	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'
   12079         ;;
   12080       cxx*)
   12081 	# Compaq C++
   12082 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12083 	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'
   12084 
   12085 	runpath_var=LD_RUN_PATH
   12086 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12087 	hardcode_libdir_separator_CXX=:
   12088 
   12089 	# Commands to make compiler produce verbose output that lists
   12090 	# what "hidden" libraries, object files and flags are used when
   12091 	# linking a shared library.
   12092 	#
   12093 	# There doesn't appear to be a way to prevent this compiler from
   12094 	# explicitly linking system object files so we need to strip them
   12095 	# from the output so that they don't get included in the library
   12096 	# dependencies.
   12097 	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'
   12098 	;;
   12099       *)
   12100 	case `$CC -V 2>&1 | sed 5q` in
   12101 	*Sun\ C*)
   12102 	  # Sun C++ 5.9
   12103 	  no_undefined_flag_CXX=' -zdefs'
   12104 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12105 	  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'
   12106 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12107 	  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'
   12108 
   12109 	  # Not sure whether something based on
   12110 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12111 	  # would be better.
   12112 	  output_verbose_link_cmd='echo'
   12113 
   12114 	  # Archives containing C++ object files must be created using
   12115 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12116 	  # necessary to make sure instantiated templates are included
   12117 	  # in the archive.
   12118 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12119 	  ;;
   12120 	esac
   12121 	;;
   12122     esac
   12123     ;;
   12124   lynxos*)
   12125     # FIXME: insert proper C++ library support
   12126     ld_shlibs_CXX=no
   12127     ;;
   12128   m88k*)
   12129     # FIXME: insert proper C++ library support
   12130     ld_shlibs_CXX=no
   12131     ;;
   12132   mvs*)
   12133     case $cc_basename in
   12134       cxx*)
   12135 	# FIXME: insert proper C++ library support
   12136 	ld_shlibs_CXX=no
   12137 	;;
   12138       *)
   12139 	# FIXME: insert proper C++ library support
   12140 	ld_shlibs_CXX=no
   12141 	;;
   12142     esac
   12143     ;;
   12144   netbsd*)
   12145     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12146       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12147       wlarc=
   12148       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12149       hardcode_direct_CXX=yes
   12150       hardcode_shlibpath_var_CXX=no
   12151     fi
   12152     # Workaround some broken pre-1.5 toolchains
   12153     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12154     ;;
   12155   openbsd2*)
   12156     # C++ shared libraries are fairly broken
   12157     ld_shlibs_CXX=no
   12158     ;;
   12159   openbsd*)
   12160     if test -f /usr/libexec/ld.so; then
   12161       hardcode_direct_CXX=yes
   12162       hardcode_shlibpath_var_CXX=no
   12163       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12164       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12165       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12166 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12167 	export_dynamic_flag_spec_CXX='${wl}-E'
   12168 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12169       fi
   12170       output_verbose_link_cmd='echo'
   12171     else
   12172       ld_shlibs_CXX=no
   12173     fi
   12174     ;;
   12175   osf3*)
   12176     case $cc_basename in
   12177       KCC*)
   12178 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12179 
   12180 	# KCC will only create a shared library if the output file
   12181 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12182 	# to its proper name (with version) after linking.
   12183 	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'
   12184 
   12185 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12186 	hardcode_libdir_separator_CXX=:
   12187 
   12188 	# Archives containing C++ object files must be created using
   12189 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12190 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12191 
   12192 	;;
   12193       RCC*)
   12194 	# Rational C++ 2.4.1
   12195 	# FIXME: insert proper C++ library support
   12196 	ld_shlibs_CXX=no
   12197 	;;
   12198       cxx*)
   12199 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12200 	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'
   12201 
   12202 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12203 	hardcode_libdir_separator_CXX=:
   12204 
   12205 	# Commands to make compiler produce verbose output that lists
   12206 	# what "hidden" libraries, object files and flags are used when
   12207 	# linking a shared library.
   12208 	#
   12209 	# There doesn't appear to be a way to prevent this compiler from
   12210 	# explicitly linking system object files so we need to strip them
   12211 	# from the output so that they don't get included in the library
   12212 	# dependencies.
   12213 	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'
   12214 	;;
   12215       *)
   12216 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12217 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12218 	  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'
   12219 
   12220 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12221 	  hardcode_libdir_separator_CXX=:
   12222 
   12223 	  # Commands to make compiler produce verbose output that lists
   12224 	  # what "hidden" libraries, object files and flags are used when
   12225 	  # linking a shared library.
   12226 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12227 
   12228 	else
   12229 	  # FIXME: insert proper C++ library support
   12230 	  ld_shlibs_CXX=no
   12231 	fi
   12232 	;;
   12233     esac
   12234     ;;
   12235   osf4* | osf5*)
   12236     case $cc_basename in
   12237       KCC*)
   12238 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12239 
   12240 	# KCC will only create a shared library if the output file
   12241 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12242 	# to its proper name (with version) after linking.
   12243 	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'
   12244 
   12245 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12246 	hardcode_libdir_separator_CXX=:
   12247 
   12248 	# Archives containing C++ object files must be created using
   12249 	# the KAI C++ compiler.
   12250 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12251 	;;
   12252       RCC*)
   12253 	# Rational C++ 2.4.1
   12254 	# FIXME: insert proper C++ library support
   12255 	ld_shlibs_CXX=no
   12256 	;;
   12257       cxx*)
   12258 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12259 	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'
   12260 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12261 	  echo "-hidden">> $lib.exp~
   12262 	  $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~
   12263 	  $rm $lib.exp'
   12264 
   12265 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12266 	hardcode_libdir_separator_CXX=:
   12267 
   12268 	# Commands to make compiler produce verbose output that lists
   12269 	# what "hidden" libraries, object files and flags are used when
   12270 	# linking a shared library.
   12271 	#
   12272 	# There doesn't appear to be a way to prevent this compiler from
   12273 	# explicitly linking system object files so we need to strip them
   12274 	# from the output so that they don't get included in the library
   12275 	# dependencies.
   12276 	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'
   12277 	;;
   12278       *)
   12279 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12280 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12281 	 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'
   12282 
   12283 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12284 	  hardcode_libdir_separator_CXX=:
   12285 
   12286 	  # Commands to make compiler produce verbose output that lists
   12287 	  # what "hidden" libraries, object files and flags are used when
   12288 	  # linking a shared library.
   12289 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12290 
   12291 	else
   12292 	  # FIXME: insert proper C++ library support
   12293 	  ld_shlibs_CXX=no
   12294 	fi
   12295 	;;
   12296     esac
   12297     ;;
   12298   psos*)
   12299     # FIXME: insert proper C++ library support
   12300     ld_shlibs_CXX=no
   12301     ;;
   12302   sunos4*)
   12303     case $cc_basename in
   12304       CC*)
   12305 	# Sun C++ 4.x
   12306 	# FIXME: insert proper C++ library support
   12307 	ld_shlibs_CXX=no
   12308 	;;
   12309       lcc*)
   12310 	# Lucid
   12311 	# FIXME: insert proper C++ library support
   12312 	ld_shlibs_CXX=no
   12313 	;;
   12314       *)
   12315 	# FIXME: insert proper C++ library support
   12316 	ld_shlibs_CXX=no
   12317 	;;
   12318     esac
   12319     ;;
   12320   solaris*)
   12321     case $cc_basename in
   12322       CC*)
   12323 	# Sun C++ 4.2, 5.x and Centerline C++
   12324         archive_cmds_need_lc_CXX=yes
   12325 	no_undefined_flag_CXX=' -zdefs'
   12326 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12327 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12328 	$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'
   12329 
   12330 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12331 	hardcode_shlibpath_var_CXX=no
   12332 	case $host_os in
   12333 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12334 	  *)
   12335 	    # The compiler driver will combine and reorder linker options,
   12336 	    # but understands `-z linker_flag'.
   12337 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12338 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12339 	    ;;
   12340 	esac
   12341 	link_all_deplibs_CXX=yes
   12342 
   12343 	output_verbose_link_cmd='echo'
   12344 
   12345 	# Archives containing C++ object files must be created using
   12346 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12347 	# necessary to make sure instantiated templates are included
   12348 	# in the archive.
   12349 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12350 	;;
   12351       gcx*)
   12352 	# Green Hills C++ Compiler
   12353 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12354 
   12355 	# The C++ compiler must be used to create the archive.
   12356 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12357 	;;
   12358       *)
   12359 	# GNU C++ compiler with Solaris linker
   12360 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12361 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12362 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12363 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12364 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12365 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12366 
   12367 	    # Commands to make compiler produce verbose output that lists
   12368 	    # what "hidden" libraries, object files and flags are used when
   12369 	    # linking a shared library.
   12370 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12371 	  else
   12372 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12373 	    # platform.
   12374 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12375 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12376 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12377 
   12378 	    # Commands to make compiler produce verbose output that lists
   12379 	    # what "hidden" libraries, object files and flags are used when
   12380 	    # linking a shared library.
   12381 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12382 	  fi
   12383 
   12384 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12385 	  case $host_os in
   12386 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12387 	  *)
   12388 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12389 	    ;;
   12390 	  esac
   12391 	fi
   12392 	;;
   12393     esac
   12394     ;;
   12395   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12396     no_undefined_flag_CXX='${wl}-z,text'
   12397     archive_cmds_need_lc_CXX=no
   12398     hardcode_shlibpath_var_CXX=no
   12399     runpath_var='LD_RUN_PATH'
   12400 
   12401     case $cc_basename in
   12402       CC*)
   12403 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12404 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12405 	;;
   12406       *)
   12407 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12408 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12409 	;;
   12410     esac
   12411     ;;
   12412   sysv5* | sco3.2v5* | sco5v6*)
   12413     # Note: We can NOT use -z defs as we might desire, because we do not
   12414     # link with -lc, and that would cause any symbols used from libc to
   12415     # always be unresolved, which means just about no library would
   12416     # ever link correctly.  If we're not using GNU ld we use -z text
   12417     # though, which does catch some bad symbols but isn't as heavy-handed
   12418     # as -z defs.
   12419     # For security reasons, it is highly recommended that you always
   12420     # use absolute paths for naming shared libraries, and exclude the
   12421     # DT_RUNPATH tag from executables and libraries.  But doing so
   12422     # requires that you compile everything twice, which is a pain.
   12423     # So that behaviour is only enabled if SCOABSPATH is set to a
   12424     # non-empty value in the environment.  Most likely only useful for
   12425     # creating official distributions of packages.
   12426     # This is a hack until libtool officially supports absolute path
   12427     # names for shared libraries.
   12428     no_undefined_flag_CXX='${wl}-z,text'
   12429     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12430     archive_cmds_need_lc_CXX=no
   12431     hardcode_shlibpath_var_CXX=no
   12432     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12433     hardcode_libdir_separator_CXX=':'
   12434     link_all_deplibs_CXX=yes
   12435     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12436     runpath_var='LD_RUN_PATH'
   12437 
   12438     case $cc_basename in
   12439       CC*)
   12440 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12441 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12442 	;;
   12443       *)
   12444 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12445 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12446 	;;
   12447     esac
   12448     ;;
   12449   tandem*)
   12450     case $cc_basename in
   12451       NCC*)
   12452 	# NonStop-UX NCC 3.20
   12453 	# FIXME: insert proper C++ library support
   12454 	ld_shlibs_CXX=no
   12455 	;;
   12456       *)
   12457 	# FIXME: insert proper C++ library support
   12458 	ld_shlibs_CXX=no
   12459 	;;
   12460     esac
   12461     ;;
   12462   vxworks*)
   12463     # FIXME: insert proper C++ library support
   12464     ld_shlibs_CXX=no
   12465     ;;
   12466   *)
   12467     # FIXME: insert proper C++ library support
   12468     ld_shlibs_CXX=no
   12469     ;;
   12470 esac
   12471 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12472 $as_echo "$ld_shlibs_CXX" >&6; }
   12473 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12474 
   12475 GCC_CXX="$GXX"
   12476 LD_CXX="$LD"
   12477 
   12478 cat > conftest.$ac_ext <<EOF
   12479 class Foo
   12480 {
   12481 public:
   12482   Foo (void) { a = 0; }
   12483 private:
   12484   int a;
   12485 };
   12486 EOF
   12487 
   12488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12489   (eval $ac_compile) 2>&5
   12490   ac_status=$?
   12491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12492   (exit $ac_status); }; then
   12493   # Parse the compiler output and extract the necessary
   12494   # objects, libraries and library flags.
   12495 
   12496   # Sentinel used to keep track of whether or not we are before
   12497   # the conftest object file.
   12498   pre_test_object_deps_done=no
   12499 
   12500   # The `*' in the case matches for architectures that use `case' in
   12501   # $output_verbose_cmd can trigger glob expansion during the loop
   12502   # eval without this substitution.
   12503   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12504 
   12505   for p in `eval $output_verbose_link_cmd`; do
   12506     case $p in
   12507 
   12508     -L* | -R* | -l*)
   12509        # Some compilers place space between "-{L,R}" and the path.
   12510        # Remove the space.
   12511        if test $p = "-L" \
   12512 	  || test $p = "-R"; then
   12513 	 prev=$p
   12514 	 continue
   12515        else
   12516 	 prev=
   12517        fi
   12518 
   12519        if test "$pre_test_object_deps_done" = no; then
   12520 	 case $p in
   12521 	 -L* | -R*)
   12522 	   # Internal compiler library paths should come after those
   12523 	   # provided the user.  The postdeps already come after the
   12524 	   # user supplied libs so there is no need to process them.
   12525 	   if test -z "$compiler_lib_search_path_CXX"; then
   12526 	     compiler_lib_search_path_CXX="${prev}${p}"
   12527 	   else
   12528 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12529 	   fi
   12530 	   ;;
   12531 	 # The "-l" case would never come before the object being
   12532 	 # linked, so don't bother handling this case.
   12533 	 esac
   12534        else
   12535 	 if test -z "$postdeps_CXX"; then
   12536 	   postdeps_CXX="${prev}${p}"
   12537 	 else
   12538 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12539 	 fi
   12540        fi
   12541        ;;
   12542 
   12543     *.$objext)
   12544        # This assumes that the test object file only shows up
   12545        # once in the compiler output.
   12546        if test "$p" = "conftest.$objext"; then
   12547 	 pre_test_object_deps_done=yes
   12548 	 continue
   12549        fi
   12550 
   12551        if test "$pre_test_object_deps_done" = no; then
   12552 	 if test -z "$predep_objects_CXX"; then
   12553 	   predep_objects_CXX="$p"
   12554 	 else
   12555 	   predep_objects_CXX="$predep_objects_CXX $p"
   12556 	 fi
   12557        else
   12558 	 if test -z "$postdep_objects_CXX"; then
   12559 	   postdep_objects_CXX="$p"
   12560 	 else
   12561 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12562 	 fi
   12563        fi
   12564        ;;
   12565 
   12566     *) ;; # Ignore the rest.
   12567 
   12568     esac
   12569   done
   12570 
   12571   # Clean up.
   12572   rm -f a.out a.exe
   12573 else
   12574   echo "libtool.m4: error: problem compiling CXX test program"
   12575 fi
   12576 
   12577 $rm -f confest.$objext
   12578 
   12579 compiler_lib_search_dirs_CXX=
   12580 if test -n "$compiler_lib_search_path_CXX"; then
   12581   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12582 fi
   12583 
   12584 # PORTME: override above test on systems where it is broken
   12585 case $host_os in
   12586 interix[3-9]*)
   12587   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12588   # hack all around it, let's just trust "g++" to DTRT.
   12589   predep_objects_CXX=
   12590   postdep_objects_CXX=
   12591   postdeps_CXX=
   12592   ;;
   12593 
   12594 linux*)
   12595   case `$CC -V 2>&1 | sed 5q` in
   12596   *Sun\ C*)
   12597     # Sun C++ 5.9
   12598     #
   12599     # The more standards-conforming stlport4 library is
   12600     # incompatible with the Cstd library. Avoid specifying
   12601     # it if it's in CXXFLAGS. Ignore libCrun as
   12602     # -library=stlport4 depends on it.
   12603     case " $CXX $CXXFLAGS " in
   12604     *" -library=stlport4 "*)
   12605       solaris_use_stlport4=yes
   12606       ;;
   12607     esac
   12608     if test "$solaris_use_stlport4" != yes; then
   12609       postdeps_CXX='-library=Cstd -library=Crun'
   12610     fi
   12611     ;;
   12612   esac
   12613   ;;
   12614 
   12615 solaris*)
   12616   case $cc_basename in
   12617   CC*)
   12618     # The more standards-conforming stlport4 library is
   12619     # incompatible with the Cstd library. Avoid specifying
   12620     # it if it's in CXXFLAGS. Ignore libCrun as
   12621     # -library=stlport4 depends on it.
   12622     case " $CXX $CXXFLAGS " in
   12623     *" -library=stlport4 "*)
   12624       solaris_use_stlport4=yes
   12625       ;;
   12626     esac
   12627 
   12628     # Adding this requires a known-good setup of shared libraries for
   12629     # Sun compiler versions before 5.6, else PIC objects from an old
   12630     # archive will be linked into the output, leading to subtle bugs.
   12631     if test "$solaris_use_stlport4" != yes; then
   12632       postdeps_CXX='-library=Cstd -library=Crun'
   12633     fi
   12634     ;;
   12635   esac
   12636   ;;
   12637 esac
   12638 
   12639 case " $postdeps_CXX " in
   12640 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12641 esac
   12642 
   12643 lt_prog_compiler_wl_CXX=
   12644 lt_prog_compiler_pic_CXX=
   12645 lt_prog_compiler_static_CXX=
   12646 
   12647 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12648 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12649 
   12650   # C++ specific cases for pic, static, wl, etc.
   12651   if test "$GXX" = yes; then
   12652     lt_prog_compiler_wl_CXX='-Wl,'
   12653     lt_prog_compiler_static_CXX='-static'
   12654 
   12655     case $host_os in
   12656     aix*)
   12657       # All AIX code is PIC.
   12658       if test "$host_cpu" = ia64; then
   12659 	# AIX 5 now supports IA64 processor
   12660 	lt_prog_compiler_static_CXX='-Bstatic'
   12661       fi
   12662       ;;
   12663     amigaos*)
   12664       # FIXME: we need at least 68020 code to build shared libraries, but
   12665       # adding the `-m68020' flag to GCC prevents building anything better,
   12666       # like `-m68040'.
   12667       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12668       ;;
   12669     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12670       # PIC is the default for these OSes.
   12671       ;;
   12672     mingw* | cygwin* | os2* | pw32*)
   12673       # This hack is so that the source file can tell whether it is being
   12674       # built for inclusion in a dll (and should export symbols for example).
   12675       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12676       # (--disable-auto-import) libraries
   12677       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12678       ;;
   12679     darwin* | rhapsody*)
   12680       # PIC is the default on this platform
   12681       # Common symbols not allowed in MH_DYLIB files
   12682       lt_prog_compiler_pic_CXX='-fno-common'
   12683       ;;
   12684     *djgpp*)
   12685       # DJGPP does not support shared libraries at all
   12686       lt_prog_compiler_pic_CXX=
   12687       ;;
   12688     interix[3-9]*)
   12689       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12690       # Instead, we relocate shared libraries at runtime.
   12691       ;;
   12692     sysv4*MP*)
   12693       if test -d /usr/nec; then
   12694 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12695       fi
   12696       ;;
   12697     hpux*)
   12698       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12699       # not for PA HP-UX.
   12700       case $host_cpu in
   12701       hppa*64*|ia64*)
   12702 	;;
   12703       *)
   12704 	lt_prog_compiler_pic_CXX='-fPIC'
   12705 	;;
   12706       esac
   12707       ;;
   12708     *)
   12709       lt_prog_compiler_pic_CXX='-fPIC'
   12710       ;;
   12711     esac
   12712   else
   12713     case $host_os in
   12714       aix[4-9]*)
   12715 	# All AIX code is PIC.
   12716 	if test "$host_cpu" = ia64; then
   12717 	  # AIX 5 now supports IA64 processor
   12718 	  lt_prog_compiler_static_CXX='-Bstatic'
   12719 	else
   12720 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12721 	fi
   12722 	;;
   12723       chorus*)
   12724 	case $cc_basename in
   12725 	cxch68*)
   12726 	  # Green Hills C++ Compiler
   12727 	  # _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"
   12728 	  ;;
   12729 	esac
   12730 	;;
   12731        darwin*)
   12732          # PIC is the default on this platform
   12733          # Common symbols not allowed in MH_DYLIB files
   12734          case $cc_basename in
   12735            xlc*)
   12736            lt_prog_compiler_pic_CXX='-qnocommon'
   12737            lt_prog_compiler_wl_CXX='-Wl,'
   12738            ;;
   12739          esac
   12740        ;;
   12741       dgux*)
   12742 	case $cc_basename in
   12743 	  ec++*)
   12744 	    lt_prog_compiler_pic_CXX='-KPIC'
   12745 	    ;;
   12746 	  ghcx*)
   12747 	    # Green Hills C++ Compiler
   12748 	    lt_prog_compiler_pic_CXX='-pic'
   12749 	    ;;
   12750 	  *)
   12751 	    ;;
   12752 	esac
   12753 	;;
   12754       freebsd* | dragonfly*)
   12755 	# FreeBSD uses GNU C++
   12756 	;;
   12757       hpux9* | hpux10* | hpux11*)
   12758 	case $cc_basename in
   12759 	  CC*)
   12760 	    lt_prog_compiler_wl_CXX='-Wl,'
   12761 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12762 	    if test "$host_cpu" != ia64; then
   12763 	      lt_prog_compiler_pic_CXX='+Z'
   12764 	    fi
   12765 	    ;;
   12766 	  aCC*)
   12767 	    lt_prog_compiler_wl_CXX='-Wl,'
   12768 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12769 	    case $host_cpu in
   12770 	    hppa*64*|ia64*)
   12771 	      # +Z the default
   12772 	      ;;
   12773 	    *)
   12774 	      lt_prog_compiler_pic_CXX='+Z'
   12775 	      ;;
   12776 	    esac
   12777 	    ;;
   12778 	  *)
   12779 	    ;;
   12780 	esac
   12781 	;;
   12782       interix*)
   12783 	# This is c89, which is MS Visual C++ (no shared libs)
   12784 	# Anyone wants to do a port?
   12785 	;;
   12786       irix5* | irix6* | nonstopux*)
   12787 	case $cc_basename in
   12788 	  CC*)
   12789 	    lt_prog_compiler_wl_CXX='-Wl,'
   12790 	    lt_prog_compiler_static_CXX='-non_shared'
   12791 	    # CC pic flag -KPIC is the default.
   12792 	    ;;
   12793 	  *)
   12794 	    ;;
   12795 	esac
   12796 	;;
   12797       linux* | k*bsd*-gnu)
   12798 	case $cc_basename in
   12799 	  KCC*)
   12800 	    # KAI C++ Compiler
   12801 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12802 	    lt_prog_compiler_pic_CXX='-fPIC'
   12803 	    ;;
   12804 	  icpc* | ecpc*)
   12805 	    # Intel C++
   12806 	    lt_prog_compiler_wl_CXX='-Wl,'
   12807 	    lt_prog_compiler_pic_CXX='-KPIC'
   12808 	    lt_prog_compiler_static_CXX='-static'
   12809 	    ;;
   12810 	  pgCC* | pgcpp*)
   12811 	    # Portland Group C++ compiler.
   12812 	    lt_prog_compiler_wl_CXX='-Wl,'
   12813 	    lt_prog_compiler_pic_CXX='-fpic'
   12814 	    lt_prog_compiler_static_CXX='-Bstatic'
   12815 	    ;;
   12816 	  cxx*)
   12817 	    # Compaq C++
   12818 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12819 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12820 	    lt_prog_compiler_pic_CXX=
   12821 	    lt_prog_compiler_static_CXX='-non_shared'
   12822 	    ;;
   12823 	  *)
   12824 	    case `$CC -V 2>&1 | sed 5q` in
   12825 	    *Sun\ C*)
   12826 	      # Sun C++ 5.9
   12827 	      lt_prog_compiler_pic_CXX='-KPIC'
   12828 	      lt_prog_compiler_static_CXX='-Bstatic'
   12829 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12830 	      ;;
   12831 	    esac
   12832 	    ;;
   12833 	esac
   12834 	;;
   12835       lynxos*)
   12836 	;;
   12837       m88k*)
   12838 	;;
   12839       mvs*)
   12840 	case $cc_basename in
   12841 	  cxx*)
   12842 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12843 	    ;;
   12844 	  *)
   12845 	    ;;
   12846 	esac
   12847 	;;
   12848       netbsd*)
   12849 	;;
   12850       osf3* | osf4* | osf5*)
   12851 	case $cc_basename in
   12852 	  KCC*)
   12853 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12854 	    ;;
   12855 	  RCC*)
   12856 	    # Rational C++ 2.4.1
   12857 	    lt_prog_compiler_pic_CXX='-pic'
   12858 	    ;;
   12859 	  cxx*)
   12860 	    # Digital/Compaq C++
   12861 	    lt_prog_compiler_wl_CXX='-Wl,'
   12862 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12863 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12864 	    lt_prog_compiler_pic_CXX=
   12865 	    lt_prog_compiler_static_CXX='-non_shared'
   12866 	    ;;
   12867 	  *)
   12868 	    ;;
   12869 	esac
   12870 	;;
   12871       psos*)
   12872 	;;
   12873       solaris*)
   12874 	case $cc_basename in
   12875 	  CC*)
   12876 	    # Sun C++ 4.2, 5.x and Centerline C++
   12877 	    lt_prog_compiler_pic_CXX='-KPIC'
   12878 	    lt_prog_compiler_static_CXX='-Bstatic'
   12879 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12880 	    ;;
   12881 	  gcx*)
   12882 	    # Green Hills C++ Compiler
   12883 	    lt_prog_compiler_pic_CXX='-PIC'
   12884 	    ;;
   12885 	  *)
   12886 	    ;;
   12887 	esac
   12888 	;;
   12889       sunos4*)
   12890 	case $cc_basename in
   12891 	  CC*)
   12892 	    # Sun C++ 4.x
   12893 	    lt_prog_compiler_pic_CXX='-pic'
   12894 	    lt_prog_compiler_static_CXX='-Bstatic'
   12895 	    ;;
   12896 	  lcc*)
   12897 	    # Lucid
   12898 	    lt_prog_compiler_pic_CXX='-pic'
   12899 	    ;;
   12900 	  *)
   12901 	    ;;
   12902 	esac
   12903 	;;
   12904       tandem*)
   12905 	case $cc_basename in
   12906 	  NCC*)
   12907 	    # NonStop-UX NCC 3.20
   12908 	    lt_prog_compiler_pic_CXX='-KPIC'
   12909 	    ;;
   12910 	  *)
   12911 	    ;;
   12912 	esac
   12913 	;;
   12914       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12915 	case $cc_basename in
   12916 	  CC*)
   12917 	    lt_prog_compiler_wl_CXX='-Wl,'
   12918 	    lt_prog_compiler_pic_CXX='-KPIC'
   12919 	    lt_prog_compiler_static_CXX='-Bstatic'
   12920 	    ;;
   12921 	esac
   12922 	;;
   12923       vxworks*)
   12924 	;;
   12925       *)
   12926 	lt_prog_compiler_can_build_shared_CXX=no
   12927 	;;
   12928     esac
   12929   fi
   12930 
   12931 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12932 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12933 
   12934 #
   12935 # Check to make sure the PIC flag actually works.
   12936 #
   12937 if test -n "$lt_prog_compiler_pic_CXX"; then
   12938 
   12939 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12940 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12941 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12942   $as_echo_n "(cached) " >&6
   12943 else
   12944   lt_cv_prog_compiler_pic_works_CXX=no
   12945   ac_outfile=conftest.$ac_objext
   12946    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12947    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12948    # Insert the option either (1) after the last *FLAGS variable, or
   12949    # (2) before a word containing "conftest.", or (3) at the end.
   12950    # Note that $ac_compile itself does not contain backslashes and begins
   12951    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12952    # The option is referenced via a variable to avoid confusing sed.
   12953    lt_compile=`echo "$ac_compile" | $SED \
   12954    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12955    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12956    -e 's:$: $lt_compiler_flag:'`
   12957    (eval echo "\"\$as_me:12957: $lt_compile\"" >&5)
   12958    (eval "$lt_compile" 2>conftest.err)
   12959    ac_status=$?
   12960    cat conftest.err >&5
   12961    echo "$as_me:12961: \$? = $ac_status" >&5
   12962    if (exit $ac_status) && test -s "$ac_outfile"; then
   12963      # The compiler can only warn and ignore the option if not recognized
   12964      # So say no if there are warnings other than the usual output.
   12965      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12966      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12967      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12968        lt_cv_prog_compiler_pic_works_CXX=yes
   12969      fi
   12970    fi
   12971    $rm conftest*
   12972 
   12973 fi
   12974 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12975 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12976 
   12977 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12978     case $lt_prog_compiler_pic_CXX in
   12979      "" | " "*) ;;
   12980      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12981      esac
   12982 else
   12983     lt_prog_compiler_pic_CXX=
   12984      lt_prog_compiler_can_build_shared_CXX=no
   12985 fi
   12986 
   12987 fi
   12988 case $host_os in
   12989   # For platforms which do not support PIC, -DPIC is meaningless:
   12990   *djgpp*)
   12991     lt_prog_compiler_pic_CXX=
   12992     ;;
   12993   *)
   12994     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12995     ;;
   12996 esac
   12997 
   12998 #
   12999 # Check to make sure the static flag actually works.
   13000 #
   13001 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13002 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13003 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13004 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13005   $as_echo_n "(cached) " >&6
   13006 else
   13007   lt_cv_prog_compiler_static_works_CXX=no
   13008    save_LDFLAGS="$LDFLAGS"
   13009    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13010    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13011    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13012      # The linker can only warn and ignore the option if not recognized
   13013      # So say no if there are warnings
   13014      if test -s conftest.err; then
   13015        # Append any errors to the config.log.
   13016        cat conftest.err 1>&5
   13017        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13018        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13019        if diff conftest.exp conftest.er2 >/dev/null; then
   13020          lt_cv_prog_compiler_static_works_CXX=yes
   13021        fi
   13022      else
   13023        lt_cv_prog_compiler_static_works_CXX=yes
   13024      fi
   13025    fi
   13026    $rm -r conftest*
   13027    LDFLAGS="$save_LDFLAGS"
   13028 
   13029 fi
   13030 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13031 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13032 
   13033 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13034     :
   13035 else
   13036     lt_prog_compiler_static_CXX=
   13037 fi
   13038 
   13039 
   13040 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13041 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13042 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13043   $as_echo_n "(cached) " >&6
   13044 else
   13045   lt_cv_prog_compiler_c_o_CXX=no
   13046    $rm -r conftest 2>/dev/null
   13047    mkdir conftest
   13048    cd conftest
   13049    mkdir out
   13050    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13051 
   13052    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13053    # Insert the option either (1) after the last *FLAGS variable, or
   13054    # (2) before a word containing "conftest.", or (3) at the end.
   13055    # Note that $ac_compile itself does not contain backslashes and begins
   13056    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13057    lt_compile=`echo "$ac_compile" | $SED \
   13058    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13059    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13060    -e 's:$: $lt_compiler_flag:'`
   13061    (eval echo "\"\$as_me:13061: $lt_compile\"" >&5)
   13062    (eval "$lt_compile" 2>out/conftest.err)
   13063    ac_status=$?
   13064    cat out/conftest.err >&5
   13065    echo "$as_me:13065: \$? = $ac_status" >&5
   13066    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13067    then
   13068      # The compiler can only warn and ignore the option if not recognized
   13069      # So say no if there are warnings
   13070      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13071      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13072      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13073        lt_cv_prog_compiler_c_o_CXX=yes
   13074      fi
   13075    fi
   13076    chmod u+w . 2>&5
   13077    $rm conftest*
   13078    # SGI C++ compiler will create directory out/ii_files/ for
   13079    # template instantiation
   13080    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13081    $rm out/* && rmdir out
   13082    cd ..
   13083    rmdir conftest
   13084    $rm conftest*
   13085 
   13086 fi
   13087 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13088 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13089 
   13090 
   13091 hard_links="nottested"
   13092 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13093   # do not overwrite the value of need_locks provided by the user
   13094   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13095 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13096   hard_links=yes
   13097   $rm conftest*
   13098   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13099   touch conftest.a
   13100   ln conftest.a conftest.b 2>&5 || hard_links=no
   13101   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13102   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13103 $as_echo "$hard_links" >&6; }
   13104   if test "$hard_links" = no; then
   13105     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13106 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13107     need_locks=warn
   13108   fi
   13109 else
   13110   need_locks=no
   13111 fi
   13112 
   13113 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13114 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13115 
   13116   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13117   case $host_os in
   13118   aix[4-9]*)
   13119     # If we're using GNU nm, then we don't want the "-C" option.
   13120     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13121     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13122       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'
   13123     else
   13124       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'
   13125     fi
   13126     ;;
   13127   pw32*)
   13128     export_symbols_cmds_CXX="$ltdll_cmds"
   13129   ;;
   13130   cygwin* | mingw*)
   13131     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'
   13132   ;;
   13133   *)
   13134     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13135   ;;
   13136   esac
   13137   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13138 
   13139 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13140 $as_echo "$ld_shlibs_CXX" >&6; }
   13141 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13142 
   13143 #
   13144 # Do we need to explicitly link libc?
   13145 #
   13146 case "x$archive_cmds_need_lc_CXX" in
   13147 x|xyes)
   13148   # Assume -lc should be added
   13149   archive_cmds_need_lc_CXX=yes
   13150 
   13151   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13152     case $archive_cmds_CXX in
   13153     *'~'*)
   13154       # FIXME: we may have to deal with multi-command sequences.
   13155       ;;
   13156     '$CC '*)
   13157       # Test whether the compiler implicitly links with -lc since on some
   13158       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13159       # to ld, don't add -lc before -lgcc.
   13160       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13161 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13162       $rm conftest*
   13163       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13164 
   13165       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13166   (eval $ac_compile) 2>&5
   13167   ac_status=$?
   13168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13169   (exit $ac_status); } 2>conftest.err; then
   13170         soname=conftest
   13171         lib=conftest
   13172         libobjs=conftest.$ac_objext
   13173         deplibs=
   13174         wl=$lt_prog_compiler_wl_CXX
   13175 	pic_flag=$lt_prog_compiler_pic_CXX
   13176         compiler_flags=-v
   13177         linker_flags=-v
   13178         verstring=
   13179         output_objdir=.
   13180         libname=conftest
   13181         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13182         allow_undefined_flag_CXX=
   13183         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13184   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13185   ac_status=$?
   13186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13187   (exit $ac_status); }
   13188         then
   13189 	  archive_cmds_need_lc_CXX=no
   13190         else
   13191 	  archive_cmds_need_lc_CXX=yes
   13192         fi
   13193         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13194       else
   13195         cat conftest.err 1>&5
   13196       fi
   13197       $rm conftest*
   13198       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13199 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13200       ;;
   13201     esac
   13202   fi
   13203   ;;
   13204 esac
   13205 
   13206 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13207 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13208 library_names_spec=
   13209 libname_spec='lib$name'
   13210 soname_spec=
   13211 shrext_cmds=".so"
   13212 postinstall_cmds=
   13213 postuninstall_cmds=
   13214 finish_cmds=
   13215 finish_eval=
   13216 shlibpath_var=
   13217 shlibpath_overrides_runpath=unknown
   13218 version_type=none
   13219 dynamic_linker="$host_os ld.so"
   13220 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13221 
   13222 need_lib_prefix=unknown
   13223 hardcode_into_libs=no
   13224 
   13225 # when you set need_version to no, make sure it does not cause -set_version
   13226 # flags to be left without arguments
   13227 need_version=unknown
   13228 
   13229 case $host_os in
   13230 aix3*)
   13231   version_type=linux
   13232   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13233   shlibpath_var=LIBPATH
   13234 
   13235   # AIX 3 has no versioning support, so we append a major version to the name.
   13236   soname_spec='${libname}${release}${shared_ext}$major'
   13237   ;;
   13238 
   13239 aix[4-9]*)
   13240   version_type=linux
   13241   need_lib_prefix=no
   13242   need_version=no
   13243   hardcode_into_libs=yes
   13244   if test "$host_cpu" = ia64; then
   13245     # AIX 5 supports IA64
   13246     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13247     shlibpath_var=LD_LIBRARY_PATH
   13248   else
   13249     # With GCC up to 2.95.x, collect2 would create an import file
   13250     # for dependence libraries.  The import file would start with
   13251     # the line `#! .'.  This would cause the generated library to
   13252     # depend on `.', always an invalid library.  This was fixed in
   13253     # development snapshots of GCC prior to 3.0.
   13254     case $host_os in
   13255       aix4 | aix4.[01] | aix4.[01].*)
   13256       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13257 	   echo ' yes '
   13258 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13259 	:
   13260       else
   13261 	can_build_shared=no
   13262       fi
   13263       ;;
   13264     esac
   13265     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13266     # soname into executable. Probably we can add versioning support to
   13267     # collect2, so additional links can be useful in future.
   13268     if test "$aix_use_runtimelinking" = yes; then
   13269       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13270       # instead of lib<name>.a to let people know that these are not
   13271       # typical AIX shared libraries.
   13272       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13273     else
   13274       # We preserve .a as extension for shared libraries through AIX4.2
   13275       # and later when we are not doing run time linking.
   13276       library_names_spec='${libname}${release}.a $libname.a'
   13277       soname_spec='${libname}${release}${shared_ext}$major'
   13278     fi
   13279     shlibpath_var=LIBPATH
   13280   fi
   13281   ;;
   13282 
   13283 amigaos*)
   13284   library_names_spec='$libname.ixlibrary $libname.a'
   13285   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13286   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'
   13287   ;;
   13288 
   13289 beos*)
   13290   library_names_spec='${libname}${shared_ext}'
   13291   dynamic_linker="$host_os ld.so"
   13292   shlibpath_var=LIBRARY_PATH
   13293   ;;
   13294 
   13295 bsdi[45]*)
   13296   version_type=linux
   13297   need_version=no
   13298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13299   soname_spec='${libname}${release}${shared_ext}$major'
   13300   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13301   shlibpath_var=LD_LIBRARY_PATH
   13302   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13303   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13304   # the default ld.so.conf also contains /usr/contrib/lib and
   13305   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13306   # libtool to hard-code these into programs
   13307   ;;
   13308 
   13309 cygwin* | mingw* | pw32*)
   13310   version_type=windows
   13311   shrext_cmds=".dll"
   13312   need_version=no
   13313   need_lib_prefix=no
   13314 
   13315   case $GCC,$host_os in
   13316   yes,cygwin* | yes,mingw* | yes,pw32*)
   13317     library_names_spec='$libname.dll.a'
   13318     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13319     postinstall_cmds='base_file=`basename \${file}`~
   13320       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13321       dldir=$destdir/`dirname \$dlpath`~
   13322       test -d \$dldir || mkdir -p \$dldir~
   13323       $install_prog $dir/$dlname \$dldir/$dlname~
   13324       chmod a+x \$dldir/$dlname'
   13325     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13326       dlpath=$dir/\$dldll~
   13327        $rm \$dlpath'
   13328     shlibpath_overrides_runpath=yes
   13329 
   13330     case $host_os in
   13331     cygwin*)
   13332       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13333       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13334       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13335       ;;
   13336     mingw*)
   13337       # MinGW DLLs use traditional 'lib' prefix
   13338       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13339       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13340       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13341         # It is most probably a Windows format PATH printed by
   13342         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13343         # path with ; separators, and with drive letters. We can handle the
   13344         # drive letters (cygwin fileutils understands them), so leave them,
   13345         # especially as we might pass files found there to a mingw objdump,
   13346         # which wouldn't understand a cygwinified path. Ahh.
   13347         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13348       else
   13349         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13350       fi
   13351       ;;
   13352     pw32*)
   13353       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13354       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13355       ;;
   13356     esac
   13357     ;;
   13358 
   13359   *)
   13360     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13361     ;;
   13362   esac
   13363   dynamic_linker='Win32 ld.exe'
   13364   # FIXME: first we should search . and the directory the executable is in
   13365   shlibpath_var=PATH
   13366   ;;
   13367 
   13368 darwin* | rhapsody*)
   13369   dynamic_linker="$host_os dyld"
   13370   version_type=darwin
   13371   need_lib_prefix=no
   13372   need_version=no
   13373   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13374   soname_spec='${libname}${release}${major}$shared_ext'
   13375   shlibpath_overrides_runpath=yes
   13376   shlibpath_var=DYLD_LIBRARY_PATH
   13377   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13378 
   13379   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13380   ;;
   13381 
   13382 dgux*)
   13383   version_type=linux
   13384   need_lib_prefix=no
   13385   need_version=no
   13386   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13387   soname_spec='${libname}${release}${shared_ext}$major'
   13388   shlibpath_var=LD_LIBRARY_PATH
   13389   ;;
   13390 
   13391 freebsd1*)
   13392   dynamic_linker=no
   13393   ;;
   13394 
   13395 freebsd* | dragonfly*)
   13396   # DragonFly does not have aout.  When/if they implement a new
   13397   # versioning mechanism, adjust this.
   13398   if test -x /usr/bin/objformat; then
   13399     objformat=`/usr/bin/objformat`
   13400   else
   13401     case $host_os in
   13402     freebsd[123]*) objformat=aout ;;
   13403     *) objformat=elf ;;
   13404     esac
   13405   fi
   13406   version_type=freebsd-$objformat
   13407   case $version_type in
   13408     freebsd-elf*)
   13409       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13410       need_version=no
   13411       need_lib_prefix=no
   13412       ;;
   13413     freebsd-*)
   13414       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13415       need_version=yes
   13416       ;;
   13417   esac
   13418   shlibpath_var=LD_LIBRARY_PATH
   13419   case $host_os in
   13420   freebsd2*)
   13421     shlibpath_overrides_runpath=yes
   13422     ;;
   13423   freebsd3.[01]* | freebsdelf3.[01]*)
   13424     shlibpath_overrides_runpath=yes
   13425     hardcode_into_libs=yes
   13426     ;;
   13427   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13428   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13429     shlibpath_overrides_runpath=no
   13430     hardcode_into_libs=yes
   13431     ;;
   13432   *) # from 4.6 on, and DragonFly
   13433     shlibpath_overrides_runpath=yes
   13434     hardcode_into_libs=yes
   13435     ;;
   13436   esac
   13437   ;;
   13438 
   13439 gnu*)
   13440   version_type=linux
   13441   need_lib_prefix=no
   13442   need_version=no
   13443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13444   soname_spec='${libname}${release}${shared_ext}$major'
   13445   shlibpath_var=LD_LIBRARY_PATH
   13446   hardcode_into_libs=yes
   13447   ;;
   13448 
   13449 hpux9* | hpux10* | hpux11*)
   13450   # Give a soname corresponding to the major version so that dld.sl refuses to
   13451   # link against other versions.
   13452   version_type=sunos
   13453   need_lib_prefix=no
   13454   need_version=no
   13455   case $host_cpu in
   13456   ia64*)
   13457     shrext_cmds='.so'
   13458     hardcode_into_libs=yes
   13459     dynamic_linker="$host_os dld.so"
   13460     shlibpath_var=LD_LIBRARY_PATH
   13461     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13462     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13463     soname_spec='${libname}${release}${shared_ext}$major'
   13464     if test "X$HPUX_IA64_MODE" = X32; then
   13465       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13466     else
   13467       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13468     fi
   13469     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13470     ;;
   13471    hppa*64*)
   13472      shrext_cmds='.sl'
   13473      hardcode_into_libs=yes
   13474      dynamic_linker="$host_os dld.sl"
   13475      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13476      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13477      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13478      soname_spec='${libname}${release}${shared_ext}$major'
   13479      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13480      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13481      ;;
   13482    *)
   13483     shrext_cmds='.sl'
   13484     dynamic_linker="$host_os dld.sl"
   13485     shlibpath_var=SHLIB_PATH
   13486     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13488     soname_spec='${libname}${release}${shared_ext}$major'
   13489     ;;
   13490   esac
   13491   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13492   postinstall_cmds='chmod 555 $lib'
   13493   ;;
   13494 
   13495 interix[3-9]*)
   13496   version_type=linux
   13497   need_lib_prefix=no
   13498   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13502   shlibpath_var=LD_LIBRARY_PATH
   13503   shlibpath_overrides_runpath=no
   13504   hardcode_into_libs=yes
   13505   ;;
   13506 
   13507 irix5* | irix6* | nonstopux*)
   13508   case $host_os in
   13509     nonstopux*) version_type=nonstopux ;;
   13510     *)
   13511 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13512 		version_type=linux
   13513 	else
   13514 		version_type=irix
   13515 	fi ;;
   13516   esac
   13517   need_lib_prefix=no
   13518   need_version=no
   13519   soname_spec='${libname}${release}${shared_ext}$major'
   13520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13521   case $host_os in
   13522   irix5* | nonstopux*)
   13523     libsuff= shlibsuff=
   13524     ;;
   13525   *)
   13526     case $LD in # libtool.m4 will add one of these switches to LD
   13527     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13528       libsuff= shlibsuff= libmagic=32-bit;;
   13529     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13530       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13531     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13532       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13533     *) libsuff= shlibsuff= libmagic=never-match;;
   13534     esac
   13535     ;;
   13536   esac
   13537   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13538   shlibpath_overrides_runpath=no
   13539   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13540   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13541   hardcode_into_libs=yes
   13542   ;;
   13543 
   13544 # No shared lib support for Linux oldld, aout, or coff.
   13545 linux*oldld* | linux*aout* | linux*coff*)
   13546   dynamic_linker=no
   13547   ;;
   13548 
   13549 # This must be Linux ELF.
   13550 linux* | k*bsd*-gnu)
   13551   version_type=linux
   13552   need_lib_prefix=no
   13553   need_version=no
   13554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13555   soname_spec='${libname}${release}${shared_ext}$major'
   13556   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13557   shlibpath_var=LD_LIBRARY_PATH
   13558   shlibpath_overrides_runpath=no
   13559   # This implies no fast_install, which is unacceptable.
   13560   # Some rework will be needed to allow for fast_install
   13561   # before this can be enabled.
   13562   hardcode_into_libs=yes
   13563   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13564   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13565 
   13566   # Append ld.so.conf contents to the search path
   13567   if test -f /etc/ld.so.conf; then
   13568     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' ' '`
   13569     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13570   fi
   13571 
   13572   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13573   # powerpc, because MkLinux only supported shared libraries with the
   13574   # GNU dynamic linker.  Since this was broken with cross compilers,
   13575   # most powerpc-linux boxes support dynamic linking these days and
   13576   # people can always --disable-shared, the test was removed, and we
   13577   # assume the GNU/Linux dynamic linker is in use.
   13578   dynamic_linker='GNU/Linux ld.so'
   13579   ;;
   13580 
   13581 netbsd*)
   13582   version_type=sunos
   13583   need_lib_prefix=no
   13584   need_version=no
   13585   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13586     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13587     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13588     dynamic_linker='NetBSD (a.out) ld.so'
   13589   else
   13590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13591     soname_spec='${libname}${release}${shared_ext}$major'
   13592     dynamic_linker='NetBSD ld.elf_so'
   13593   fi
   13594   shlibpath_var=LD_LIBRARY_PATH
   13595   shlibpath_overrides_runpath=yes
   13596   hardcode_into_libs=yes
   13597   ;;
   13598 
   13599 newsos6)
   13600   version_type=linux
   13601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13602   shlibpath_var=LD_LIBRARY_PATH
   13603   shlibpath_overrides_runpath=yes
   13604   ;;
   13605 
   13606 nto-qnx*)
   13607   version_type=linux
   13608   need_lib_prefix=no
   13609   need_version=no
   13610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13611   soname_spec='${libname}${release}${shared_ext}$major'
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   shlibpath_overrides_runpath=yes
   13614   ;;
   13615 
   13616 openbsd*)
   13617   version_type=sunos
   13618   sys_lib_dlsearch_path_spec="/usr/lib"
   13619   need_lib_prefix=no
   13620   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13621   case $host_os in
   13622     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13623     *)                         need_version=no  ;;
   13624   esac
   13625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13626   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13627   shlibpath_var=LD_LIBRARY_PATH
   13628   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13629     case $host_os in
   13630       openbsd2.[89] | openbsd2.[89].*)
   13631 	shlibpath_overrides_runpath=no
   13632 	;;
   13633       *)
   13634 	shlibpath_overrides_runpath=yes
   13635 	;;
   13636       esac
   13637   else
   13638     shlibpath_overrides_runpath=yes
   13639   fi
   13640   ;;
   13641 
   13642 os2*)
   13643   libname_spec='$name'
   13644   shrext_cmds=".dll"
   13645   need_lib_prefix=no
   13646   library_names_spec='$libname${shared_ext} $libname.a'
   13647   dynamic_linker='OS/2 ld.exe'
   13648   shlibpath_var=LIBPATH
   13649   ;;
   13650 
   13651 osf3* | osf4* | osf5*)
   13652   version_type=osf
   13653   need_lib_prefix=no
   13654   need_version=no
   13655   soname_spec='${libname}${release}${shared_ext}$major'
   13656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13657   shlibpath_var=LD_LIBRARY_PATH
   13658   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13659   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13660   ;;
   13661 
   13662 rdos*)
   13663   dynamic_linker=no
   13664   ;;
   13665 
   13666 solaris*)
   13667   version_type=linux
   13668   need_lib_prefix=no
   13669   need_version=no
   13670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13671   soname_spec='${libname}${release}${shared_ext}$major'
   13672   shlibpath_var=LD_LIBRARY_PATH
   13673   shlibpath_overrides_runpath=yes
   13674   hardcode_into_libs=yes
   13675   # ldd complains unless libraries are executable
   13676   postinstall_cmds='chmod +x $lib'
   13677   ;;
   13678 
   13679 sunos4*)
   13680   version_type=sunos
   13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13682   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13683   shlibpath_var=LD_LIBRARY_PATH
   13684   shlibpath_overrides_runpath=yes
   13685   if test "$with_gnu_ld" = yes; then
   13686     need_lib_prefix=no
   13687   fi
   13688   need_version=yes
   13689   ;;
   13690 
   13691 sysv4 | sysv4.3*)
   13692   version_type=linux
   13693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13694   soname_spec='${libname}${release}${shared_ext}$major'
   13695   shlibpath_var=LD_LIBRARY_PATH
   13696   case $host_vendor in
   13697     sni)
   13698       shlibpath_overrides_runpath=no
   13699       need_lib_prefix=no
   13700       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13701       runpath_var=LD_RUN_PATH
   13702       ;;
   13703     siemens)
   13704       need_lib_prefix=no
   13705       ;;
   13706     motorola)
   13707       need_lib_prefix=no
   13708       need_version=no
   13709       shlibpath_overrides_runpath=no
   13710       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13711       ;;
   13712   esac
   13713   ;;
   13714 
   13715 sysv4*MP*)
   13716   if test -d /usr/nec ;then
   13717     version_type=linux
   13718     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13719     soname_spec='$libname${shared_ext}.$major'
   13720     shlibpath_var=LD_LIBRARY_PATH
   13721   fi
   13722   ;;
   13723 
   13724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13725   version_type=freebsd-elf
   13726   need_lib_prefix=no
   13727   need_version=no
   13728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13729   soname_spec='${libname}${release}${shared_ext}$major'
   13730   shlibpath_var=LD_LIBRARY_PATH
   13731   hardcode_into_libs=yes
   13732   if test "$with_gnu_ld" = yes; then
   13733     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13734     shlibpath_overrides_runpath=no
   13735   else
   13736     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13737     shlibpath_overrides_runpath=yes
   13738     case $host_os in
   13739       sco3.2v5*)
   13740         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13741 	;;
   13742     esac
   13743   fi
   13744   sys_lib_dlsearch_path_spec='/usr/lib'
   13745   ;;
   13746 
   13747 uts4*)
   13748   version_type=linux
   13749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13750   soname_spec='${libname}${release}${shared_ext}$major'
   13751   shlibpath_var=LD_LIBRARY_PATH
   13752   ;;
   13753 
   13754 *)
   13755   dynamic_linker=no
   13756   ;;
   13757 esac
   13758 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13759 $as_echo "$dynamic_linker" >&6; }
   13760 test "$dynamic_linker" = no && can_build_shared=no
   13761 
   13762 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13763   $as_echo_n "(cached) " >&6
   13764 else
   13765   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13766 fi
   13767 
   13768 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13769 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13770   $as_echo_n "(cached) " >&6
   13771 else
   13772   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13773 fi
   13774 
   13775 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13776 
   13777 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13778 if test "$GCC" = yes; then
   13779   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13780 fi
   13781 
   13782 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13783 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13784 hardcode_action_CXX=
   13785 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13786    test -n "$runpath_var_CXX" || \
   13787    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13788 
   13789   # We can hardcode non-existant directories.
   13790   if test "$hardcode_direct_CXX" != no &&
   13791      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13792      # have to relink, otherwise we might link with an installed library
   13793      # when we should be linking with a yet-to-be-installed one
   13794      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13795      test "$hardcode_minus_L_CXX" != no; then
   13796     # Linking always hardcodes the temporary library directory.
   13797     hardcode_action_CXX=relink
   13798   else
   13799     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13800     hardcode_action_CXX=immediate
   13801   fi
   13802 else
   13803   # We cannot hardcode anything, or else we can only hardcode existing
   13804   # directories.
   13805   hardcode_action_CXX=unsupported
   13806 fi
   13807 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13808 $as_echo "$hardcode_action_CXX" >&6; }
   13809 
   13810 if test "$hardcode_action_CXX" = relink; then
   13811   # Fast installation is not supported
   13812   enable_fast_install=no
   13813 elif test "$shlibpath_overrides_runpath" = yes ||
   13814      test "$enable_shared" = no; then
   13815   # Fast installation is not necessary
   13816   enable_fast_install=needless
   13817 fi
   13818 
   13819 
   13820 # The else clause should only fire when bootstrapping the
   13821 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13822 # with your package, and you will get complaints that there are
   13823 # no rules to generate ltmain.sh.
   13824 if test -f "$ltmain"; then
   13825   # See if we are running on zsh, and set the options which allow our commands through
   13826   # without removal of \ escapes.
   13827   if test -n "${ZSH_VERSION+set}" ; then
   13828     setopt NO_GLOB_SUBST
   13829   fi
   13830   # Now quote all the things that may contain metacharacters while being
   13831   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13832   # variables and quote the copies for generation of the libtool script.
   13833   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13834     SED SHELL STRIP \
   13835     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13836     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13837     deplibs_check_method reload_flag reload_cmds need_locks \
   13838     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13839     lt_cv_sys_global_symbol_to_c_name_address \
   13840     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13841     old_postinstall_cmds old_postuninstall_cmds \
   13842     compiler_CXX \
   13843     CC_CXX \
   13844     LD_CXX \
   13845     lt_prog_compiler_wl_CXX \
   13846     lt_prog_compiler_pic_CXX \
   13847     lt_prog_compiler_static_CXX \
   13848     lt_prog_compiler_no_builtin_flag_CXX \
   13849     export_dynamic_flag_spec_CXX \
   13850     thread_safe_flag_spec_CXX \
   13851     whole_archive_flag_spec_CXX \
   13852     enable_shared_with_static_runtimes_CXX \
   13853     old_archive_cmds_CXX \
   13854     old_archive_from_new_cmds_CXX \
   13855     predep_objects_CXX \
   13856     postdep_objects_CXX \
   13857     predeps_CXX \
   13858     postdeps_CXX \
   13859     compiler_lib_search_path_CXX \
   13860     compiler_lib_search_dirs_CXX \
   13861     archive_cmds_CXX \
   13862     archive_expsym_cmds_CXX \
   13863     postinstall_cmds_CXX \
   13864     postuninstall_cmds_CXX \
   13865     old_archive_from_expsyms_cmds_CXX \
   13866     allow_undefined_flag_CXX \
   13867     no_undefined_flag_CXX \
   13868     export_symbols_cmds_CXX \
   13869     hardcode_libdir_flag_spec_CXX \
   13870     hardcode_libdir_flag_spec_ld_CXX \
   13871     hardcode_libdir_separator_CXX \
   13872     hardcode_automatic_CXX \
   13873     module_cmds_CXX \
   13874     module_expsym_cmds_CXX \
   13875     lt_cv_prog_compiler_c_o_CXX \
   13876     fix_srcfile_path_CXX \
   13877     exclude_expsyms_CXX \
   13878     include_expsyms_CXX; do
   13879 
   13880     case $var in
   13881     old_archive_cmds_CXX | \
   13882     old_archive_from_new_cmds_CXX | \
   13883     archive_cmds_CXX | \
   13884     archive_expsym_cmds_CXX | \
   13885     module_cmds_CXX | \
   13886     module_expsym_cmds_CXX | \
   13887     old_archive_from_expsyms_cmds_CXX | \
   13888     export_symbols_cmds_CXX | \
   13889     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13890     postinstall_cmds | postuninstall_cmds | \
   13891     old_postinstall_cmds | old_postuninstall_cmds | \
   13892     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13893       # Double-quote double-evaled strings.
   13894       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13895       ;;
   13896     *)
   13897       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13898       ;;
   13899     esac
   13900   done
   13901 
   13902   case $lt_echo in
   13903   *'\$0 --fallback-echo"')
   13904     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13905     ;;
   13906   esac
   13907 
   13908 cfgfile="$ofile"
   13909 
   13910   cat <<__EOF__ >> "$cfgfile"
   13911 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13912 
   13913 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13914 
   13915 # Shell to use when invoking shell scripts.
   13916 SHELL=$lt_SHELL
   13917 
   13918 # Whether or not to build shared libraries.
   13919 build_libtool_libs=$enable_shared
   13920 
   13921 # Whether or not to build static libraries.
   13922 build_old_libs=$enable_static
   13923 
   13924 # Whether or not to add -lc for building shared libraries.
   13925 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13926 
   13927 # Whether or not to disallow shared libs when runtime libs are static
   13928 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13929 
   13930 # Whether or not to optimize for fast installation.
   13931 fast_install=$enable_fast_install
   13932 
   13933 # The host system.
   13934 host_alias=$host_alias
   13935 host=$host
   13936 host_os=$host_os
   13937 
   13938 # The build system.
   13939 build_alias=$build_alias
   13940 build=$build
   13941 build_os=$build_os
   13942 
   13943 # An echo program that does not interpret backslashes.
   13944 echo=$lt_echo
   13945 
   13946 # The archiver.
   13947 AR=$lt_AR
   13948 AR_FLAGS=$lt_AR_FLAGS
   13949 
   13950 # A C compiler.
   13951 LTCC=$lt_LTCC
   13952 
   13953 # LTCC compiler flags.
   13954 LTCFLAGS=$lt_LTCFLAGS
   13955 
   13956 # A language-specific compiler.
   13957 CC=$lt_compiler_CXX
   13958 
   13959 # Is the compiler the GNU C compiler?
   13960 with_gcc=$GCC_CXX
   13961 
   13962 # An ERE matcher.
   13963 EGREP=$lt_EGREP
   13964 
   13965 # The linker used to build libraries.
   13966 LD=$lt_LD_CXX
   13967 
   13968 # Whether we need hard or soft links.
   13969 LN_S=$lt_LN_S
   13970 
   13971 # A BSD-compatible nm program.
   13972 NM=$lt_NM
   13973 
   13974 # A symbol stripping program
   13975 STRIP=$lt_STRIP
   13976 
   13977 # Used to examine libraries when file_magic_cmd begins "file"
   13978 MAGIC_CMD=$MAGIC_CMD
   13979 
   13980 # Used on cygwin: DLL creation program.
   13981 DLLTOOL="$DLLTOOL"
   13982 
   13983 # Used on cygwin: object dumper.
   13984 OBJDUMP="$OBJDUMP"
   13985 
   13986 # Used on cygwin: assembler.
   13987 AS="$AS"
   13988 
   13989 # The name of the directory that contains temporary libtool files.
   13990 objdir=$objdir
   13991 
   13992 # How to create reloadable object files.
   13993 reload_flag=$lt_reload_flag
   13994 reload_cmds=$lt_reload_cmds
   13995 
   13996 # How to pass a linker flag through the compiler.
   13997 wl=$lt_lt_prog_compiler_wl_CXX
   13998 
   13999 # Object file suffix (normally "o").
   14000 objext="$ac_objext"
   14001 
   14002 # Old archive suffix (normally "a").
   14003 libext="$libext"
   14004 
   14005 # Shared library suffix (normally ".so").
   14006 shrext_cmds='$shrext_cmds'
   14007 
   14008 # Executable file suffix (normally "").
   14009 exeext="$exeext"
   14010 
   14011 # Additional compiler flags for building library objects.
   14012 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14013 pic_mode=$pic_mode
   14014 
   14015 # What is the maximum length of a command?
   14016 max_cmd_len=$lt_cv_sys_max_cmd_len
   14017 
   14018 # Does compiler simultaneously support -c and -o options?
   14019 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14020 
   14021 # Must we lock files when doing compilation?
   14022 need_locks=$lt_need_locks
   14023 
   14024 # Do we need the lib prefix for modules?
   14025 need_lib_prefix=$need_lib_prefix
   14026 
   14027 # Do we need a version for libraries?
   14028 need_version=$need_version
   14029 
   14030 # Whether dlopen is supported.
   14031 dlopen_support=$enable_dlopen
   14032 
   14033 # Whether dlopen of programs is supported.
   14034 dlopen_self=$enable_dlopen_self
   14035 
   14036 # Whether dlopen of statically linked programs is supported.
   14037 dlopen_self_static=$enable_dlopen_self_static
   14038 
   14039 # Compiler flag to prevent dynamic linking.
   14040 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14041 
   14042 # Compiler flag to turn off builtin functions.
   14043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14044 
   14045 # Compiler flag to allow reflexive dlopens.
   14046 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14047 
   14048 # Compiler flag to generate shared objects directly from archives.
   14049 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14050 
   14051 # Compiler flag to generate thread-safe objects.
   14052 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14053 
   14054 # Library versioning type.
   14055 version_type=$version_type
   14056 
   14057 # Format of library name prefix.
   14058 libname_spec=$lt_libname_spec
   14059 
   14060 # List of archive names.  First name is the real one, the rest are links.
   14061 # The last name is the one that the linker finds with -lNAME.
   14062 library_names_spec=$lt_library_names_spec
   14063 
   14064 # The coded name of the library, if different from the real name.
   14065 soname_spec=$lt_soname_spec
   14066 
   14067 # Commands used to build and install an old-style archive.
   14068 RANLIB=$lt_RANLIB
   14069 old_archive_cmds=$lt_old_archive_cmds_CXX
   14070 old_postinstall_cmds=$lt_old_postinstall_cmds
   14071 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14072 
   14073 # Create an old-style archive from a shared archive.
   14074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14075 
   14076 # Create a temporary old-style archive to link instead of a shared archive.
   14077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14078 
   14079 # Commands used to build and install a shared archive.
   14080 archive_cmds=$lt_archive_cmds_CXX
   14081 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14082 postinstall_cmds=$lt_postinstall_cmds
   14083 postuninstall_cmds=$lt_postuninstall_cmds
   14084 
   14085 # Commands used to build a loadable module (assumed same as above if empty)
   14086 module_cmds=$lt_module_cmds_CXX
   14087 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14088 
   14089 # Commands to strip libraries.
   14090 old_striplib=$lt_old_striplib
   14091 striplib=$lt_striplib
   14092 
   14093 # Dependencies to place before the objects being linked to create a
   14094 # shared library.
   14095 predep_objects=$lt_predep_objects_CXX
   14096 
   14097 # Dependencies to place after the objects being linked to create a
   14098 # shared library.
   14099 postdep_objects=$lt_postdep_objects_CXX
   14100 
   14101 # Dependencies to place before the objects being linked to create a
   14102 # shared library.
   14103 predeps=$lt_predeps_CXX
   14104 
   14105 # Dependencies to place after the objects being linked to create a
   14106 # shared library.
   14107 postdeps=$lt_postdeps_CXX
   14108 
   14109 # The directories searched by this compiler when creating a shared
   14110 # library
   14111 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14112 
   14113 # The library search path used internally by the compiler when linking
   14114 # a shared library.
   14115 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14116 
   14117 # Method to check whether dependent libraries are shared objects.
   14118 deplibs_check_method=$lt_deplibs_check_method
   14119 
   14120 # Command to use when deplibs_check_method == file_magic.
   14121 file_magic_cmd=$lt_file_magic_cmd
   14122 
   14123 # Flag that allows shared libraries with undefined symbols to be built.
   14124 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14125 
   14126 # Flag that forces no undefined symbols.
   14127 no_undefined_flag=$lt_no_undefined_flag_CXX
   14128 
   14129 # Commands used to finish a libtool library installation in a directory.
   14130 finish_cmds=$lt_finish_cmds
   14131 
   14132 # Same as above, but a single script fragment to be evaled but not shown.
   14133 finish_eval=$lt_finish_eval
   14134 
   14135 # Take the output of nm and produce a listing of raw symbols and C names.
   14136 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14137 
   14138 # Transform the output of nm in a proper C declaration
   14139 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14140 
   14141 # Transform the output of nm in a C name address pair
   14142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14143 
   14144 # This is the shared library runtime path variable.
   14145 runpath_var=$runpath_var
   14146 
   14147 # This is the shared library path variable.
   14148 shlibpath_var=$shlibpath_var
   14149 
   14150 # Is shlibpath searched before the hard-coded library search path?
   14151 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14152 
   14153 # How to hardcode a shared library path into an executable.
   14154 hardcode_action=$hardcode_action_CXX
   14155 
   14156 # Whether we should hardcode library paths into libraries.
   14157 hardcode_into_libs=$hardcode_into_libs
   14158 
   14159 # Flag to hardcode \$libdir into a binary during linking.
   14160 # This must work even if \$libdir does not exist.
   14161 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14162 
   14163 # If ld is used when linking, flag to hardcode \$libdir into
   14164 # a binary during linking. This must work even if \$libdir does
   14165 # not exist.
   14166 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14167 
   14168 # Whether we need a single -rpath flag with a separated argument.
   14169 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14170 
   14171 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14172 # resulting binary.
   14173 hardcode_direct=$hardcode_direct_CXX
   14174 
   14175 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14176 # resulting binary.
   14177 hardcode_minus_L=$hardcode_minus_L_CXX
   14178 
   14179 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14180 # the resulting binary.
   14181 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14182 
   14183 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14184 # and all subsequent libraries and executables linked against it.
   14185 hardcode_automatic=$hardcode_automatic_CXX
   14186 
   14187 # Variables whose values should be saved in libtool wrapper scripts and
   14188 # restored at relink time.
   14189 variables_saved_for_relink="$variables_saved_for_relink"
   14190 
   14191 # Whether libtool must link a program against all its dependency libraries.
   14192 link_all_deplibs=$link_all_deplibs_CXX
   14193 
   14194 # Compile-time system search path for libraries
   14195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14196 
   14197 # Run-time system search path for libraries
   14198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14199 
   14200 # Fix the shell variable \$srcfile for the compiler.
   14201 fix_srcfile_path=$lt_fix_srcfile_path
   14202 
   14203 # Set to yes if exported symbols are required.
   14204 always_export_symbols=$always_export_symbols_CXX
   14205 
   14206 # The commands to list exported symbols.
   14207 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14208 
   14209 # The commands to extract the exported symbol list from a shared archive.
   14210 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14211 
   14212 # Symbols that should not be listed in the preloaded symbols.
   14213 exclude_expsyms=$lt_exclude_expsyms_CXX
   14214 
   14215 # Symbols that must always be exported.
   14216 include_expsyms=$lt_include_expsyms_CXX
   14217 
   14218 # ### END LIBTOOL TAG CONFIG: $tagname
   14219 
   14220 __EOF__
   14221 
   14222 
   14223 else
   14224   # If there is no Makefile yet, we rely on a make rule to execute
   14225   # `config.status --recheck' to rerun these tests and create the
   14226   # libtool script then.
   14227   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14228   if test -f "$ltmain_in"; then
   14229     test -f Makefile && make "$ltmain"
   14230   fi
   14231 fi
   14232 
   14233 
   14234 ac_ext=c
   14235 ac_cpp='$CPP $CPPFLAGS'
   14236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14239 
   14240 CC=$lt_save_CC
   14241 LDCXX=$LD
   14242 LD=$lt_save_LD
   14243 GCC=$lt_save_GCC
   14244 with_gnu_ldcxx=$with_gnu_ld
   14245 with_gnu_ld=$lt_save_with_gnu_ld
   14246 lt_cv_path_LDCXX=$lt_cv_path_LD
   14247 lt_cv_path_LD=$lt_save_path_LD
   14248 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14249 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14250 
   14251 	else
   14252 	  tagname=""
   14253 	fi
   14254 	;;
   14255 
   14256       F77)
   14257 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14258 
   14259 ac_ext=f
   14260 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14261 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14262 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14263 
   14264 
   14265 archive_cmds_need_lc_F77=no
   14266 allow_undefined_flag_F77=
   14267 always_export_symbols_F77=no
   14268 archive_expsym_cmds_F77=
   14269 export_dynamic_flag_spec_F77=
   14270 hardcode_direct_F77=no
   14271 hardcode_libdir_flag_spec_F77=
   14272 hardcode_libdir_flag_spec_ld_F77=
   14273 hardcode_libdir_separator_F77=
   14274 hardcode_minus_L_F77=no
   14275 hardcode_automatic_F77=no
   14276 module_cmds_F77=
   14277 module_expsym_cmds_F77=
   14278 link_all_deplibs_F77=unknown
   14279 old_archive_cmds_F77=$old_archive_cmds
   14280 no_undefined_flag_F77=
   14281 whole_archive_flag_spec_F77=
   14282 enable_shared_with_static_runtimes_F77=no
   14283 
   14284 # Source file extension for f77 test sources.
   14285 ac_ext=f
   14286 
   14287 # Object file extension for compiled f77 test sources.
   14288 objext=o
   14289 objext_F77=$objext
   14290 
   14291 # Code to be used in simple compile tests
   14292 lt_simple_compile_test_code="\
   14293       subroutine t
   14294       return
   14295       end
   14296 "
   14297 
   14298 # Code to be used in simple link tests
   14299 lt_simple_link_test_code="\
   14300       program t
   14301       end
   14302 "
   14303 
   14304 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14305 
   14306 # If no C compiler was specified, use CC.
   14307 LTCC=${LTCC-"$CC"}
   14308 
   14309 # If no C compiler flags were specified, use CFLAGS.
   14310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14311 
   14312 # Allow CC to be a program name with arguments.
   14313 compiler=$CC
   14314 
   14315 
   14316 # save warnings/boilerplate of simple test code
   14317 ac_outfile=conftest.$ac_objext
   14318 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14319 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14320 _lt_compiler_boilerplate=`cat conftest.err`
   14321 $rm conftest*
   14322 
   14323 ac_outfile=conftest.$ac_objext
   14324 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14325 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14326 _lt_linker_boilerplate=`cat conftest.err`
   14327 $rm -r conftest*
   14328 
   14329 
   14330 # Allow CC to be a program name with arguments.
   14331 lt_save_CC="$CC"
   14332 CC=${F77-"f77"}
   14333 compiler=$CC
   14334 compiler_F77=$CC
   14335 for cc_temp in $compiler""; do
   14336   case $cc_temp in
   14337     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14338     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14339     \-*) ;;
   14340     *) break;;
   14341   esac
   14342 done
   14343 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14344 
   14345 
   14346 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14347 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14348 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14349 $as_echo "$can_build_shared" >&6; }
   14350 
   14351 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14352 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14353 test "$can_build_shared" = "no" && enable_shared=no
   14354 
   14355 # On AIX, shared libraries and static libraries use the same namespace, and
   14356 # are all built from PIC.
   14357 case $host_os in
   14358 aix3*)
   14359   test "$enable_shared" = yes && enable_static=no
   14360   if test -n "$RANLIB"; then
   14361     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14362     postinstall_cmds='$RANLIB $lib'
   14363   fi
   14364   ;;
   14365 aix[4-9]*)
   14366   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14367     test "$enable_shared" = yes && enable_static=no
   14368   fi
   14369   ;;
   14370 esac
   14371 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14372 $as_echo "$enable_shared" >&6; }
   14373 
   14374 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14375 $as_echo_n "checking whether to build static libraries... " >&6; }
   14376 # Make sure either enable_shared or enable_static is yes.
   14377 test "$enable_shared" = yes || enable_static=yes
   14378 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14379 $as_echo "$enable_static" >&6; }
   14380 
   14381 GCC_F77="$G77"
   14382 LD_F77="$LD"
   14383 
   14384 lt_prog_compiler_wl_F77=
   14385 lt_prog_compiler_pic_F77=
   14386 lt_prog_compiler_static_F77=
   14387 
   14388 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14389 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14390 
   14391   if test "$GCC" = yes; then
   14392     lt_prog_compiler_wl_F77='-Wl,'
   14393     lt_prog_compiler_static_F77='-static'
   14394 
   14395     case $host_os in
   14396       aix*)
   14397       # All AIX code is PIC.
   14398       if test "$host_cpu" = ia64; then
   14399 	# AIX 5 now supports IA64 processor
   14400 	lt_prog_compiler_static_F77='-Bstatic'
   14401       fi
   14402       ;;
   14403 
   14404     amigaos*)
   14405       # FIXME: we need at least 68020 code to build shared libraries, but
   14406       # adding the `-m68020' flag to GCC prevents building anything better,
   14407       # like `-m68040'.
   14408       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14409       ;;
   14410 
   14411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14412       # PIC is the default for these OSes.
   14413       ;;
   14414 
   14415     mingw* | cygwin* | pw32* | os2*)
   14416       # This hack is so that the source file can tell whether it is being
   14417       # built for inclusion in a dll (and should export symbols for example).
   14418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14419       # (--disable-auto-import) libraries
   14420       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14421       ;;
   14422 
   14423     darwin* | rhapsody*)
   14424       # PIC is the default on this platform
   14425       # Common symbols not allowed in MH_DYLIB files
   14426       lt_prog_compiler_pic_F77='-fno-common'
   14427       ;;
   14428 
   14429     interix[3-9]*)
   14430       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14431       # Instead, we relocate shared libraries at runtime.
   14432       ;;
   14433 
   14434     msdosdjgpp*)
   14435       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14436       # on systems that don't support them.
   14437       lt_prog_compiler_can_build_shared_F77=no
   14438       enable_shared=no
   14439       ;;
   14440 
   14441     sysv4*MP*)
   14442       if test -d /usr/nec; then
   14443 	lt_prog_compiler_pic_F77=-Kconform_pic
   14444       fi
   14445       ;;
   14446 
   14447     hpux*)
   14448       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14449       # not for PA HP-UX.
   14450       case $host_cpu in
   14451       hppa*64*|ia64*)
   14452 	# +Z the default
   14453 	;;
   14454       *)
   14455 	lt_prog_compiler_pic_F77='-fPIC'
   14456 	;;
   14457       esac
   14458       ;;
   14459 
   14460     *)
   14461       lt_prog_compiler_pic_F77='-fPIC'
   14462       ;;
   14463     esac
   14464   else
   14465     # PORTME Check for flag to pass linker flags through the system compiler.
   14466     case $host_os in
   14467     aix*)
   14468       lt_prog_compiler_wl_F77='-Wl,'
   14469       if test "$host_cpu" = ia64; then
   14470 	# AIX 5 now supports IA64 processor
   14471 	lt_prog_compiler_static_F77='-Bstatic'
   14472       else
   14473 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14474       fi
   14475       ;;
   14476       darwin*)
   14477         # PIC is the default on this platform
   14478         # Common symbols not allowed in MH_DYLIB files
   14479        case $cc_basename in
   14480          xlc*)
   14481          lt_prog_compiler_pic_F77='-qnocommon'
   14482          lt_prog_compiler_wl_F77='-Wl,'
   14483          ;;
   14484        esac
   14485        ;;
   14486 
   14487     mingw* | cygwin* | pw32* | os2*)
   14488       # This hack is so that the source file can tell whether it is being
   14489       # built for inclusion in a dll (and should export symbols for example).
   14490       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14491       ;;
   14492 
   14493     hpux9* | hpux10* | hpux11*)
   14494       lt_prog_compiler_wl_F77='-Wl,'
   14495       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14496       # not for PA HP-UX.
   14497       case $host_cpu in
   14498       hppa*64*|ia64*)
   14499 	# +Z the default
   14500 	;;
   14501       *)
   14502 	lt_prog_compiler_pic_F77='+Z'
   14503 	;;
   14504       esac
   14505       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14506       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14507       ;;
   14508 
   14509     irix5* | irix6* | nonstopux*)
   14510       lt_prog_compiler_wl_F77='-Wl,'
   14511       # PIC (with -KPIC) is the default.
   14512       lt_prog_compiler_static_F77='-non_shared'
   14513       ;;
   14514 
   14515     newsos6)
   14516       lt_prog_compiler_pic_F77='-KPIC'
   14517       lt_prog_compiler_static_F77='-Bstatic'
   14518       ;;
   14519 
   14520     linux* | k*bsd*-gnu)
   14521       case $cc_basename in
   14522       icc* | ecc*)
   14523 	lt_prog_compiler_wl_F77='-Wl,'
   14524 	lt_prog_compiler_pic_F77='-KPIC'
   14525 	lt_prog_compiler_static_F77='-static'
   14526         ;;
   14527       pgcc* | pgf77* | pgf90* | pgf95*)
   14528         # Portland Group compilers (*not* the Pentium gcc compiler,
   14529 	# which looks to be a dead project)
   14530 	lt_prog_compiler_wl_F77='-Wl,'
   14531 	lt_prog_compiler_pic_F77='-fpic'
   14532 	lt_prog_compiler_static_F77='-Bstatic'
   14533         ;;
   14534       ccc*)
   14535         lt_prog_compiler_wl_F77='-Wl,'
   14536         # All Alpha code is PIC.
   14537         lt_prog_compiler_static_F77='-non_shared'
   14538         ;;
   14539       *)
   14540         case `$CC -V 2>&1 | sed 5q` in
   14541 	*Sun\ C*)
   14542 	  # Sun C 5.9
   14543 	  lt_prog_compiler_pic_F77='-KPIC'
   14544 	  lt_prog_compiler_static_F77='-Bstatic'
   14545 	  lt_prog_compiler_wl_F77='-Wl,'
   14546 	  ;;
   14547 	*Sun\ F*)
   14548 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14549 	  lt_prog_compiler_pic_F77='-KPIC'
   14550 	  lt_prog_compiler_static_F77='-Bstatic'
   14551 	  lt_prog_compiler_wl_F77=''
   14552 	  ;;
   14553 	esac
   14554 	;;
   14555       esac
   14556       ;;
   14557 
   14558     osf3* | osf4* | osf5*)
   14559       lt_prog_compiler_wl_F77='-Wl,'
   14560       # All OSF/1 code is PIC.
   14561       lt_prog_compiler_static_F77='-non_shared'
   14562       ;;
   14563 
   14564     rdos*)
   14565       lt_prog_compiler_static_F77='-non_shared'
   14566       ;;
   14567 
   14568     solaris*)
   14569       lt_prog_compiler_pic_F77='-KPIC'
   14570       lt_prog_compiler_static_F77='-Bstatic'
   14571       case $cc_basename in
   14572       f77* | f90* | f95*)
   14573 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14574       *)
   14575 	lt_prog_compiler_wl_F77='-Wl,';;
   14576       esac
   14577       ;;
   14578 
   14579     sunos4*)
   14580       lt_prog_compiler_wl_F77='-Qoption ld '
   14581       lt_prog_compiler_pic_F77='-PIC'
   14582       lt_prog_compiler_static_F77='-Bstatic'
   14583       ;;
   14584 
   14585     sysv4 | sysv4.2uw2* | sysv4.3*)
   14586       lt_prog_compiler_wl_F77='-Wl,'
   14587       lt_prog_compiler_pic_F77='-KPIC'
   14588       lt_prog_compiler_static_F77='-Bstatic'
   14589       ;;
   14590 
   14591     sysv4*MP*)
   14592       if test -d /usr/nec ;then
   14593 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14594 	lt_prog_compiler_static_F77='-Bstatic'
   14595       fi
   14596       ;;
   14597 
   14598     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14599       lt_prog_compiler_wl_F77='-Wl,'
   14600       lt_prog_compiler_pic_F77='-KPIC'
   14601       lt_prog_compiler_static_F77='-Bstatic'
   14602       ;;
   14603 
   14604     unicos*)
   14605       lt_prog_compiler_wl_F77='-Wl,'
   14606       lt_prog_compiler_can_build_shared_F77=no
   14607       ;;
   14608 
   14609     uts4*)
   14610       lt_prog_compiler_pic_F77='-pic'
   14611       lt_prog_compiler_static_F77='-Bstatic'
   14612       ;;
   14613 
   14614     *)
   14615       lt_prog_compiler_can_build_shared_F77=no
   14616       ;;
   14617     esac
   14618   fi
   14619 
   14620 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14621 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14622 
   14623 #
   14624 # Check to make sure the PIC flag actually works.
   14625 #
   14626 if test -n "$lt_prog_compiler_pic_F77"; then
   14627 
   14628 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14629 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14630 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14631   $as_echo_n "(cached) " >&6
   14632 else
   14633   lt_cv_prog_compiler_pic_works_F77=no
   14634   ac_outfile=conftest.$ac_objext
   14635    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14636    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14637    # Insert the option either (1) after the last *FLAGS variable, or
   14638    # (2) before a word containing "conftest.", or (3) at the end.
   14639    # Note that $ac_compile itself does not contain backslashes and begins
   14640    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14641    # The option is referenced via a variable to avoid confusing sed.
   14642    lt_compile=`echo "$ac_compile" | $SED \
   14643    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14644    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14645    -e 's:$: $lt_compiler_flag:'`
   14646    (eval echo "\"\$as_me:14646: $lt_compile\"" >&5)
   14647    (eval "$lt_compile" 2>conftest.err)
   14648    ac_status=$?
   14649    cat conftest.err >&5
   14650    echo "$as_me:14650: \$? = $ac_status" >&5
   14651    if (exit $ac_status) && test -s "$ac_outfile"; then
   14652      # The compiler can only warn and ignore the option if not recognized
   14653      # So say no if there are warnings other than the usual output.
   14654      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14655      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14656      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14657        lt_cv_prog_compiler_pic_works_F77=yes
   14658      fi
   14659    fi
   14660    $rm conftest*
   14661 
   14662 fi
   14663 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14664 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14665 
   14666 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14667     case $lt_prog_compiler_pic_F77 in
   14668      "" | " "*) ;;
   14669      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14670      esac
   14671 else
   14672     lt_prog_compiler_pic_F77=
   14673      lt_prog_compiler_can_build_shared_F77=no
   14674 fi
   14675 
   14676 fi
   14677 case $host_os in
   14678   # For platforms which do not support PIC, -DPIC is meaningless:
   14679   *djgpp*)
   14680     lt_prog_compiler_pic_F77=
   14681     ;;
   14682   *)
   14683     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14684     ;;
   14685 esac
   14686 
   14687 #
   14688 # Check to make sure the static flag actually works.
   14689 #
   14690 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14691 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14693 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14694   $as_echo_n "(cached) " >&6
   14695 else
   14696   lt_cv_prog_compiler_static_works_F77=no
   14697    save_LDFLAGS="$LDFLAGS"
   14698    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14699    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14700    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14701      # The linker can only warn and ignore the option if not recognized
   14702      # So say no if there are warnings
   14703      if test -s conftest.err; then
   14704        # Append any errors to the config.log.
   14705        cat conftest.err 1>&5
   14706        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14707        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14708        if diff conftest.exp conftest.er2 >/dev/null; then
   14709          lt_cv_prog_compiler_static_works_F77=yes
   14710        fi
   14711      else
   14712        lt_cv_prog_compiler_static_works_F77=yes
   14713      fi
   14714    fi
   14715    $rm -r conftest*
   14716    LDFLAGS="$save_LDFLAGS"
   14717 
   14718 fi
   14719 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14720 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14721 
   14722 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14723     :
   14724 else
   14725     lt_prog_compiler_static_F77=
   14726 fi
   14727 
   14728 
   14729 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14731 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14732   $as_echo_n "(cached) " >&6
   14733 else
   14734   lt_cv_prog_compiler_c_o_F77=no
   14735    $rm -r conftest 2>/dev/null
   14736    mkdir conftest
   14737    cd conftest
   14738    mkdir out
   14739    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14740 
   14741    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14742    # Insert the option either (1) after the last *FLAGS variable, or
   14743    # (2) before a word containing "conftest.", or (3) at the end.
   14744    # Note that $ac_compile itself does not contain backslashes and begins
   14745    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14746    lt_compile=`echo "$ac_compile" | $SED \
   14747    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14748    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14749    -e 's:$: $lt_compiler_flag:'`
   14750    (eval echo "\"\$as_me:14750: $lt_compile\"" >&5)
   14751    (eval "$lt_compile" 2>out/conftest.err)
   14752    ac_status=$?
   14753    cat out/conftest.err >&5
   14754    echo "$as_me:14754: \$? = $ac_status" >&5
   14755    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14756    then
   14757      # The compiler can only warn and ignore the option if not recognized
   14758      # So say no if there are warnings
   14759      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14760      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14761      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14762        lt_cv_prog_compiler_c_o_F77=yes
   14763      fi
   14764    fi
   14765    chmod u+w . 2>&5
   14766    $rm conftest*
   14767    # SGI C++ compiler will create directory out/ii_files/ for
   14768    # template instantiation
   14769    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14770    $rm out/* && rmdir out
   14771    cd ..
   14772    rmdir conftest
   14773    $rm conftest*
   14774 
   14775 fi
   14776 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14777 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14778 
   14779 
   14780 hard_links="nottested"
   14781 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14782   # do not overwrite the value of need_locks provided by the user
   14783   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14784 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14785   hard_links=yes
   14786   $rm conftest*
   14787   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14788   touch conftest.a
   14789   ln conftest.a conftest.b 2>&5 || hard_links=no
   14790   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14791   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14792 $as_echo "$hard_links" >&6; }
   14793   if test "$hard_links" = no; then
   14794     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14795 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14796     need_locks=warn
   14797   fi
   14798 else
   14799   need_locks=no
   14800 fi
   14801 
   14802 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14803 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14804 
   14805   runpath_var=
   14806   allow_undefined_flag_F77=
   14807   enable_shared_with_static_runtimes_F77=no
   14808   archive_cmds_F77=
   14809   archive_expsym_cmds_F77=
   14810   old_archive_From_new_cmds_F77=
   14811   old_archive_from_expsyms_cmds_F77=
   14812   export_dynamic_flag_spec_F77=
   14813   whole_archive_flag_spec_F77=
   14814   thread_safe_flag_spec_F77=
   14815   hardcode_libdir_flag_spec_F77=
   14816   hardcode_libdir_flag_spec_ld_F77=
   14817   hardcode_libdir_separator_F77=
   14818   hardcode_direct_F77=no
   14819   hardcode_minus_L_F77=no
   14820   hardcode_shlibpath_var_F77=unsupported
   14821   link_all_deplibs_F77=unknown
   14822   hardcode_automatic_F77=no
   14823   module_cmds_F77=
   14824   module_expsym_cmds_F77=
   14825   always_export_symbols_F77=no
   14826   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14827   # include_expsyms should be a list of space-separated symbols to be *always*
   14828   # included in the symbol list
   14829   include_expsyms_F77=
   14830   # exclude_expsyms can be an extended regexp of symbols to exclude
   14831   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14832   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14833   # as well as any symbol that contains `d'.
   14834   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14835   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14836   # platforms (ab)use it in PIC code, but their linkers get confused if
   14837   # the symbol is explicitly referenced.  Since portable code cannot
   14838   # rely on this symbol name, it's probably fine to never include it in
   14839   # preloaded symbol tables.
   14840   # Exclude shared library initialization/finalization symbols.
   14841   extract_expsyms_cmds=
   14842   # Just being paranoid about ensuring that cc_basename is set.
   14843   for cc_temp in $compiler""; do
   14844   case $cc_temp in
   14845     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14846     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14847     \-*) ;;
   14848     *) break;;
   14849   esac
   14850 done
   14851 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14852 
   14853   case $host_os in
   14854   cygwin* | mingw* | pw32*)
   14855     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14856     # When not using gcc, we currently assume that we are using
   14857     # Microsoft Visual C++.
   14858     if test "$GCC" != yes; then
   14859       with_gnu_ld=no
   14860     fi
   14861     ;;
   14862   interix*)
   14863     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14864     with_gnu_ld=yes
   14865     ;;
   14866   openbsd*)
   14867     with_gnu_ld=no
   14868     ;;
   14869   esac
   14870 
   14871   ld_shlibs_F77=yes
   14872   if test "$with_gnu_ld" = yes; then
   14873     # If archive_cmds runs LD, not CC, wlarc should be empty
   14874     wlarc='${wl}'
   14875 
   14876     # Set some defaults for GNU ld with shared library support. These
   14877     # are reset later if shared libraries are not supported. Putting them
   14878     # here allows them to be overridden if necessary.
   14879     runpath_var=LD_RUN_PATH
   14880     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14881     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14882     # ancient GNU ld didn't support --whole-archive et. al.
   14883     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14884 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14885       else
   14886   	whole_archive_flag_spec_F77=
   14887     fi
   14888     supports_anon_versioning=no
   14889     case `$LD -v 2>/dev/null` in
   14890       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14891       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14892       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14893       *\ 2.11.*) ;; # other 2.11 versions
   14894       *) supports_anon_versioning=yes ;;
   14895     esac
   14896 
   14897     # See if GNU ld supports shared libraries.
   14898     case $host_os in
   14899     aix[3-9]*)
   14900       # On AIX/PPC, the GNU linker is very broken
   14901       if test "$host_cpu" != ia64; then
   14902 	ld_shlibs_F77=no
   14903 	cat <<EOF 1>&2
   14904 
   14905 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14906 *** to be unable to reliably create shared libraries on AIX.
   14907 *** Therefore, libtool is disabling shared libraries support.  If you
   14908 *** really care for shared libraries, you may want to modify your PATH
   14909 *** so that a non-GNU linker is found, and then restart.
   14910 
   14911 EOF
   14912       fi
   14913       ;;
   14914 
   14915     amigaos*)
   14916       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)'
   14917       hardcode_libdir_flag_spec_F77='-L$libdir'
   14918       hardcode_minus_L_F77=yes
   14919 
   14920       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14921       # that the semantics of dynamic libraries on AmigaOS, at least up
   14922       # to version 4, is to share data among multiple programs linked
   14923       # with the same dynamic library.  Since this doesn't match the
   14924       # behavior of shared libraries on other platforms, we can't use
   14925       # them.
   14926       ld_shlibs_F77=no
   14927       ;;
   14928 
   14929     beos*)
   14930       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14931 	allow_undefined_flag_F77=unsupported
   14932 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14933 	# support --undefined.  This deserves some investigation.  FIXME
   14934 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14935       else
   14936 	ld_shlibs_F77=no
   14937       fi
   14938       ;;
   14939 
   14940     cygwin* | mingw* | pw32*)
   14941       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14942       # as there is no search path for DLLs.
   14943       hardcode_libdir_flag_spec_F77='-L$libdir'
   14944       allow_undefined_flag_F77=unsupported
   14945       always_export_symbols_F77=no
   14946       enable_shared_with_static_runtimes_F77=yes
   14947       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14948 
   14949       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14950         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14951 	# If the export-symbols file already is a .def file (1st line
   14952 	# is EXPORTS), use it as is; otherwise, prepend...
   14953 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14954 	  cp $export_symbols $output_objdir/$soname.def;
   14955 	else
   14956 	  echo EXPORTS > $output_objdir/$soname.def;
   14957 	  cat $export_symbols >> $output_objdir/$soname.def;
   14958 	fi~
   14959 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14960       else
   14961 	ld_shlibs_F77=no
   14962       fi
   14963       ;;
   14964 
   14965     interix[3-9]*)
   14966       hardcode_direct_F77=no
   14967       hardcode_shlibpath_var_F77=no
   14968       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14969       export_dynamic_flag_spec_F77='${wl}-E'
   14970       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14971       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14972       # default) and relocated if they conflict, which is a slow very memory
   14973       # consuming and fragmenting process.  To avoid this, we pick a random,
   14974       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14975       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14976       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'
   14977       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'
   14978       ;;
   14979 
   14980     gnu* | linux* | k*bsd*-gnu)
   14981       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14982 	tmp_addflag=
   14983 	case $cc_basename,$host_cpu in
   14984 	pgcc*)				# Portland Group C compiler
   14985 	  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'
   14986 	  tmp_addflag=' $pic_flag'
   14987 	  ;;
   14988 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14989 	  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'
   14990 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14991 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14992 	  tmp_addflag=' -i_dynamic' ;;
   14993 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14994 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14995 	ifc* | ifort*)			# Intel Fortran compiler
   14996 	  tmp_addflag=' -nofor_main' ;;
   14997 	esac
   14998 	case `$CC -V 2>&1 | sed 5q` in
   14999 	*Sun\ C*)			# Sun C 5.9
   15000 	  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'
   15001 	  tmp_sharedflag='-G' ;;
   15002 	*Sun\ F*)			# Sun Fortran 8.3
   15003 	  tmp_sharedflag='-G' ;;
   15004 	*)
   15005 	  tmp_sharedflag='-shared' ;;
   15006 	esac
   15007 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15008 
   15009 	if test $supports_anon_versioning = yes; then
   15010 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15011   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15012   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15013 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15014 	fi
   15015       else
   15016 	ld_shlibs_F77=no
   15017       fi
   15018       ;;
   15019 
   15020     netbsd*)
   15021       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15022 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15023 	wlarc=
   15024       else
   15025 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15026 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15027       fi
   15028       ;;
   15029 
   15030     solaris*)
   15031       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15032 	ld_shlibs_F77=no
   15033 	cat <<EOF 1>&2
   15034 
   15035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15036 *** create shared libraries on Solaris systems.  Therefore, libtool
   15037 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15038 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15039 *** your PATH or compiler configuration so that the native linker is
   15040 *** used, and then restart.
   15041 
   15042 EOF
   15043       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15044 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15045 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15046       else
   15047 	ld_shlibs_F77=no
   15048       fi
   15049       ;;
   15050 
   15051     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15052       case `$LD -v 2>&1` in
   15053         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15054 	ld_shlibs_F77=no
   15055 	cat <<_LT_EOF 1>&2
   15056 
   15057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15058 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15059 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15060 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15061 *** your PATH or compiler configuration so that the native linker is
   15062 *** used, and then restart.
   15063 
   15064 _LT_EOF
   15065 	;;
   15066 	*)
   15067 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15068 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15069 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15070 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15071 	  else
   15072 	    ld_shlibs_F77=no
   15073 	  fi
   15074 	;;
   15075       esac
   15076       ;;
   15077 
   15078     sunos4*)
   15079       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15080       wlarc=
   15081       hardcode_direct_F77=yes
   15082       hardcode_shlibpath_var_F77=no
   15083       ;;
   15084 
   15085     *)
   15086       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15087 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15088 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15089       else
   15090 	ld_shlibs_F77=no
   15091       fi
   15092       ;;
   15093     esac
   15094 
   15095     if test "$ld_shlibs_F77" = no; then
   15096       runpath_var=
   15097       hardcode_libdir_flag_spec_F77=
   15098       export_dynamic_flag_spec_F77=
   15099       whole_archive_flag_spec_F77=
   15100     fi
   15101   else
   15102     # PORTME fill in a description of your system's linker (not GNU ld)
   15103     case $host_os in
   15104     aix3*)
   15105       allow_undefined_flag_F77=unsupported
   15106       always_export_symbols_F77=yes
   15107       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'
   15108       # Note: this linker hardcodes the directories in LIBPATH if there
   15109       # are no directories specified by -L.
   15110       hardcode_minus_L_F77=yes
   15111       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15112 	# Neither direct hardcoding nor static linking is supported with a
   15113 	# broken collect2.
   15114 	hardcode_direct_F77=unsupported
   15115       fi
   15116       ;;
   15117 
   15118     aix[4-9]*)
   15119       if test "$host_cpu" = ia64; then
   15120 	# On IA64, the linker does run time linking by default, so we don't
   15121 	# have to do anything special.
   15122 	aix_use_runtimelinking=no
   15123 	exp_sym_flag='-Bexport'
   15124 	no_entry_flag=""
   15125       else
   15126 	# If we're using GNU nm, then we don't want the "-C" option.
   15127 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15128 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15129 	  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'
   15130 	else
   15131 	  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'
   15132 	fi
   15133 	aix_use_runtimelinking=no
   15134 
   15135 	# Test if we are trying to use run time linking or normal
   15136 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15137 	# need to do runtime linking.
   15138 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15139 	  for ld_flag in $LDFLAGS; do
   15140   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15141   	    aix_use_runtimelinking=yes
   15142   	    break
   15143   	  fi
   15144 	  done
   15145 	  ;;
   15146 	esac
   15147 
   15148 	exp_sym_flag='-bexport'
   15149 	no_entry_flag='-bnoentry'
   15150       fi
   15151 
   15152       # When large executables or shared objects are built, AIX ld can
   15153       # have problems creating the table of contents.  If linking a library
   15154       # or program results in "error TOC overflow" add -mminimal-toc to
   15155       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15156       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15157 
   15158       archive_cmds_F77=''
   15159       hardcode_direct_F77=yes
   15160       hardcode_libdir_separator_F77=':'
   15161       link_all_deplibs_F77=yes
   15162 
   15163       if test "$GCC" = yes; then
   15164 	case $host_os in aix4.[012]|aix4.[012].*)
   15165 	# We only want to do this on AIX 4.2 and lower, the check
   15166 	# below for broken collect2 doesn't work under 4.3+
   15167 	  collect2name=`${CC} -print-prog-name=collect2`
   15168 	  if test -f "$collect2name" && \
   15169   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15170 	  then
   15171   	  # We have reworked collect2
   15172   	  :
   15173 	  else
   15174   	  # We have old collect2
   15175   	  hardcode_direct_F77=unsupported
   15176   	  # It fails to find uninstalled libraries when the uninstalled
   15177   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15178   	  # to unsupported forces relinking
   15179   	  hardcode_minus_L_F77=yes
   15180   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15181   	  hardcode_libdir_separator_F77=
   15182 	  fi
   15183 	  ;;
   15184 	esac
   15185 	shared_flag='-shared'
   15186 	if test "$aix_use_runtimelinking" = yes; then
   15187 	  shared_flag="$shared_flag "'${wl}-G'
   15188 	fi
   15189       else
   15190 	# not using gcc
   15191 	if test "$host_cpu" = ia64; then
   15192   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15193   	# chokes on -Wl,-G. The following line is correct:
   15194 	  shared_flag='-G'
   15195 	else
   15196 	  if test "$aix_use_runtimelinking" = yes; then
   15197 	    shared_flag='${wl}-G'
   15198 	  else
   15199 	    shared_flag='${wl}-bM:SRE'
   15200 	  fi
   15201 	fi
   15202       fi
   15203 
   15204       # It seems that -bexpall does not export symbols beginning with
   15205       # underscore (_), so it is better to generate a list of symbols to export.
   15206       always_export_symbols_F77=yes
   15207       if test "$aix_use_runtimelinking" = yes; then
   15208 	# Warning - without using the other runtime loading flags (-brtl),
   15209 	# -berok will link without error, but may produce a broken library.
   15210 	allow_undefined_flag_F77='-berok'
   15211        # Determine the default libpath from the value encoded in an empty executable.
   15212        cat >conftest.$ac_ext <<_ACEOF
   15213       program main
   15214 
   15215       end
   15216 _ACEOF
   15217 rm -f conftest.$ac_objext conftest$ac_exeext
   15218 if { (ac_try="$ac_link"
   15219 case "(($ac_try" in
   15220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15221   *) ac_try_echo=$ac_try;;
   15222 esac
   15223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15224 $as_echo "$ac_try_echo") >&5
   15225   (eval "$ac_link") 2>conftest.er1
   15226   ac_status=$?
   15227   grep -v '^ *+' conftest.er1 >conftest.err
   15228   rm -f conftest.er1
   15229   cat conftest.err >&5
   15230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15231   (exit $ac_status); } && {
   15232 	 test -z "$ac_f77_werror_flag" ||
   15233 	 test ! -s conftest.err
   15234        } && test -s conftest$ac_exeext && {
   15235 	 test "$cross_compiling" = yes ||
   15236 	 $as_test_x conftest$ac_exeext
   15237        }; then
   15238 
   15239 lt_aix_libpath_sed='
   15240     /Import File Strings/,/^$/ {
   15241 	/^0/ {
   15242 	    s/^0  *\(.*\)$/\1/
   15243 	    p
   15244 	}
   15245     }'
   15246 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15247 # Check for a 64-bit object if we didn't find anything.
   15248 if test -z "$aix_libpath"; then
   15249   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15250 fi
   15251 else
   15252   $as_echo "$as_me: failed program was:" >&5
   15253 sed 's/^/| /' conftest.$ac_ext >&5
   15254 
   15255 
   15256 fi
   15257 
   15258 rm -rf conftest.dSYM
   15259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15260       conftest$ac_exeext conftest.$ac_ext
   15261 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15262 
   15263        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15264 	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"
   15265        else
   15266 	if test "$host_cpu" = ia64; then
   15267 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15268 	  allow_undefined_flag_F77="-z nodefs"
   15269 	  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"
   15270 	else
   15271 	 # Determine the default libpath from the value encoded in an empty executable.
   15272 	 cat >conftest.$ac_ext <<_ACEOF
   15273       program main
   15274 
   15275       end
   15276 _ACEOF
   15277 rm -f conftest.$ac_objext conftest$ac_exeext
   15278 if { (ac_try="$ac_link"
   15279 case "(($ac_try" in
   15280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15281   *) ac_try_echo=$ac_try;;
   15282 esac
   15283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15284 $as_echo "$ac_try_echo") >&5
   15285   (eval "$ac_link") 2>conftest.er1
   15286   ac_status=$?
   15287   grep -v '^ *+' conftest.er1 >conftest.err
   15288   rm -f conftest.er1
   15289   cat conftest.err >&5
   15290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15291   (exit $ac_status); } && {
   15292 	 test -z "$ac_f77_werror_flag" ||
   15293 	 test ! -s conftest.err
   15294        } && test -s conftest$ac_exeext && {
   15295 	 test "$cross_compiling" = yes ||
   15296 	 $as_test_x conftest$ac_exeext
   15297        }; then
   15298 
   15299 lt_aix_libpath_sed='
   15300     /Import File Strings/,/^$/ {
   15301 	/^0/ {
   15302 	    s/^0  *\(.*\)$/\1/
   15303 	    p
   15304 	}
   15305     }'
   15306 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15307 # Check for a 64-bit object if we didn't find anything.
   15308 if test -z "$aix_libpath"; then
   15309   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15310 fi
   15311 else
   15312   $as_echo "$as_me: failed program was:" >&5
   15313 sed 's/^/| /' conftest.$ac_ext >&5
   15314 
   15315 
   15316 fi
   15317 
   15318 rm -rf conftest.dSYM
   15319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15320       conftest$ac_exeext conftest.$ac_ext
   15321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15322 
   15323 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15324 	  # Warning - without using the other run time loading flags,
   15325 	  # -berok will link without error, but may produce a broken library.
   15326 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15327 	  allow_undefined_flag_F77=' ${wl}-berok'
   15328 	  # Exported symbols can be pulled into shared objects from archives
   15329 	  whole_archive_flag_spec_F77='$convenience'
   15330 	  archive_cmds_need_lc_F77=yes
   15331 	  # This is similar to how AIX traditionally builds its shared libraries.
   15332 	  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'
   15333 	fi
   15334       fi
   15335       ;;
   15336 
   15337     amigaos*)
   15338       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)'
   15339       hardcode_libdir_flag_spec_F77='-L$libdir'
   15340       hardcode_minus_L_F77=yes
   15341       # see comment about different semantics on the GNU ld section
   15342       ld_shlibs_F77=no
   15343       ;;
   15344 
   15345     bsdi[45]*)
   15346       export_dynamic_flag_spec_F77=-rdynamic
   15347       ;;
   15348 
   15349     cygwin* | mingw* | pw32*)
   15350       # When not using gcc, we currently assume that we are using
   15351       # Microsoft Visual C++.
   15352       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15353       # no search path for DLLs.
   15354       hardcode_libdir_flag_spec_F77=' '
   15355       allow_undefined_flag_F77=unsupported
   15356       # Tell ltmain to make .lib files, not .a files.
   15357       libext=lib
   15358       # Tell ltmain to make .dll files, not .so files.
   15359       shrext_cmds=".dll"
   15360       # FIXME: Setting linknames here is a bad hack.
   15361       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15362       # The linker will automatically build a .lib file if we build a DLL.
   15363       old_archive_From_new_cmds_F77='true'
   15364       # FIXME: Should let the user specify the lib program.
   15365       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15366       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15367       enable_shared_with_static_runtimes_F77=yes
   15368       ;;
   15369 
   15370     darwin* | rhapsody*)
   15371       case $host_os in
   15372         rhapsody* | darwin1.[012])
   15373          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15374          ;;
   15375        *) # Darwin 1.3 on
   15376          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15377            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15378          else
   15379            case ${MACOSX_DEPLOYMENT_TARGET} in
   15380              10.[012])
   15381                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15382                ;;
   15383              10.*)
   15384                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15385                ;;
   15386            esac
   15387          fi
   15388          ;;
   15389       esac
   15390       archive_cmds_need_lc_F77=no
   15391       hardcode_direct_F77=no
   15392       hardcode_automatic_F77=yes
   15393       hardcode_shlibpath_var_F77=unsupported
   15394       whole_archive_flag_spec_F77=''
   15395       link_all_deplibs_F77=yes
   15396     if test "$GCC" = yes ; then
   15397     	output_verbose_link_cmd='echo'
   15398         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}"
   15399         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15400         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}"
   15401         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}"
   15402     else
   15403       case $cc_basename in
   15404         xlc*)
   15405          output_verbose_link_cmd='echo'
   15406          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15407          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15408           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15409          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}'
   15410           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}'
   15411           ;;
   15412        *)
   15413          ld_shlibs_F77=no
   15414           ;;
   15415       esac
   15416     fi
   15417       ;;
   15418 
   15419     dgux*)
   15420       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15421       hardcode_libdir_flag_spec_F77='-L$libdir'
   15422       hardcode_shlibpath_var_F77=no
   15423       ;;
   15424 
   15425     freebsd1*)
   15426       ld_shlibs_F77=no
   15427       ;;
   15428 
   15429     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15430     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15431     # does not break anything, and helps significantly (at the cost of a little
   15432     # extra space).
   15433     freebsd2.2*)
   15434       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15435       hardcode_libdir_flag_spec_F77='-R$libdir'
   15436       hardcode_direct_F77=yes
   15437       hardcode_shlibpath_var_F77=no
   15438       ;;
   15439 
   15440     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15441     freebsd2*)
   15442       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15443       hardcode_direct_F77=yes
   15444       hardcode_minus_L_F77=yes
   15445       hardcode_shlibpath_var_F77=no
   15446       ;;
   15447 
   15448     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15449     freebsd* | dragonfly*)
   15450       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15451       hardcode_libdir_flag_spec_F77='-R$libdir'
   15452       hardcode_direct_F77=yes
   15453       hardcode_shlibpath_var_F77=no
   15454       ;;
   15455 
   15456     hpux9*)
   15457       if test "$GCC" = yes; then
   15458 	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'
   15459       else
   15460 	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'
   15461       fi
   15462       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15463       hardcode_libdir_separator_F77=:
   15464       hardcode_direct_F77=yes
   15465 
   15466       # hardcode_minus_L: Not really in the search PATH,
   15467       # but as the default location of the library.
   15468       hardcode_minus_L_F77=yes
   15469       export_dynamic_flag_spec_F77='${wl}-E'
   15470       ;;
   15471 
   15472     hpux10*)
   15473       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15474 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15475       else
   15476 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15477       fi
   15478       if test "$with_gnu_ld" = no; then
   15479 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15480 	hardcode_libdir_separator_F77=:
   15481 
   15482 	hardcode_direct_F77=yes
   15483 	export_dynamic_flag_spec_F77='${wl}-E'
   15484 
   15485 	# hardcode_minus_L: Not really in the search PATH,
   15486 	# but as the default location of the library.
   15487 	hardcode_minus_L_F77=yes
   15488       fi
   15489       ;;
   15490 
   15491     hpux11*)
   15492       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15493 	case $host_cpu in
   15494 	hppa*64*)
   15495 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15496 	  ;;
   15497 	ia64*)
   15498 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15499 	  ;;
   15500 	*)
   15501 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	esac
   15504       else
   15505 	case $host_cpu in
   15506 	hppa*64*)
   15507 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  ;;
   15509 	ia64*)
   15510 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15511 	  ;;
   15512 	*)
   15513 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15514 	  ;;
   15515 	esac
   15516       fi
   15517       if test "$with_gnu_ld" = no; then
   15518 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15519 	hardcode_libdir_separator_F77=:
   15520 
   15521 	case $host_cpu in
   15522 	hppa*64*|ia64*)
   15523 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15524 	  hardcode_direct_F77=no
   15525 	  hardcode_shlibpath_var_F77=no
   15526 	  ;;
   15527 	*)
   15528 	  hardcode_direct_F77=yes
   15529 	  export_dynamic_flag_spec_F77='${wl}-E'
   15530 
   15531 	  # hardcode_minus_L: Not really in the search PATH,
   15532 	  # but as the default location of the library.
   15533 	  hardcode_minus_L_F77=yes
   15534 	  ;;
   15535 	esac
   15536       fi
   15537       ;;
   15538 
   15539     irix5* | irix6* | nonstopux*)
   15540       if test "$GCC" = yes; then
   15541 	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'
   15542       else
   15543 	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'
   15544 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15545       fi
   15546       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15547       hardcode_libdir_separator_F77=:
   15548       link_all_deplibs_F77=yes
   15549       ;;
   15550 
   15551     netbsd*)
   15552       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15553 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15554       else
   15555 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15556       fi
   15557       hardcode_libdir_flag_spec_F77='-R$libdir'
   15558       hardcode_direct_F77=yes
   15559       hardcode_shlibpath_var_F77=no
   15560       ;;
   15561 
   15562     newsos6)
   15563       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15564       hardcode_direct_F77=yes
   15565       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15566       hardcode_libdir_separator_F77=:
   15567       hardcode_shlibpath_var_F77=no
   15568       ;;
   15569 
   15570     openbsd*)
   15571       if test -f /usr/libexec/ld.so; then
   15572 	hardcode_direct_F77=yes
   15573 	hardcode_shlibpath_var_F77=no
   15574 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15575 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15576 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15577 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15578 	  export_dynamic_flag_spec_F77='${wl}-E'
   15579 	else
   15580 	  case $host_os in
   15581 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15582 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15583 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15584 	     ;;
   15585 	   *)
   15586 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15587 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15588 	     ;;
   15589 	  esac
   15590         fi
   15591       else
   15592 	ld_shlibs_F77=no
   15593       fi
   15594       ;;
   15595 
   15596     os2*)
   15597       hardcode_libdir_flag_spec_F77='-L$libdir'
   15598       hardcode_minus_L_F77=yes
   15599       allow_undefined_flag_F77=unsupported
   15600       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'
   15601       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15602       ;;
   15603 
   15604     osf3*)
   15605       if test "$GCC" = yes; then
   15606 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15607 	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'
   15608       else
   15609 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15610 	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'
   15611       fi
   15612       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15613       hardcode_libdir_separator_F77=:
   15614       ;;
   15615 
   15616     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15620 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15621       else
   15622 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15623 	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'
   15624 	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~
   15625 	$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'
   15626 
   15627 	# Both c and cxx compiler support -rpath directly
   15628 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15629       fi
   15630       hardcode_libdir_separator_F77=:
   15631       ;;
   15632 
   15633     solaris*)
   15634       no_undefined_flag_F77=' -z text'
   15635       if test "$GCC" = yes; then
   15636 	wlarc='${wl}'
   15637 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15638 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15639 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15640       else
   15641 	wlarc=''
   15642 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15643 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15644   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15645       fi
   15646       hardcode_libdir_flag_spec_F77='-R$libdir'
   15647       hardcode_shlibpath_var_F77=no
   15648       case $host_os in
   15649       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15650       *)
   15651 	# The compiler driver will combine and reorder linker options,
   15652 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15653 	# but is careful enough not to reorder.
   15654  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15655 	if test "$GCC" = yes; then
   15656 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15657 	else
   15658 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15659 	fi
   15660 	;;
   15661       esac
   15662       link_all_deplibs_F77=yes
   15663       ;;
   15664 
   15665     sunos4*)
   15666       if test "x$host_vendor" = xsequent; then
   15667 	# Use $CC to link under sequent, because it throws in some extra .o
   15668 	# files that make .init and .fini sections work.
   15669 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15670       else
   15671 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15672       fi
   15673       hardcode_libdir_flag_spec_F77='-L$libdir'
   15674       hardcode_direct_F77=yes
   15675       hardcode_minus_L_F77=yes
   15676       hardcode_shlibpath_var_F77=no
   15677       ;;
   15678 
   15679     sysv4)
   15680       case $host_vendor in
   15681 	sni)
   15682 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15683 	  hardcode_direct_F77=yes # is this really true???
   15684 	;;
   15685 	siemens)
   15686 	  ## LD is ld it makes a PLAMLIB
   15687 	  ## CC just makes a GrossModule.
   15688 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15689 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15690 	  hardcode_direct_F77=no
   15691         ;;
   15692 	motorola)
   15693 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15694 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15695 	;;
   15696       esac
   15697       runpath_var='LD_RUN_PATH'
   15698       hardcode_shlibpath_var_F77=no
   15699       ;;
   15700 
   15701     sysv4.3*)
   15702       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15703       hardcode_shlibpath_var_F77=no
   15704       export_dynamic_flag_spec_F77='-Bexport'
   15705       ;;
   15706 
   15707     sysv4*MP*)
   15708       if test -d /usr/nec; then
   15709 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15710 	hardcode_shlibpath_var_F77=no
   15711 	runpath_var=LD_RUN_PATH
   15712 	hardcode_runpath_var=yes
   15713 	ld_shlibs_F77=yes
   15714       fi
   15715       ;;
   15716 
   15717     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15718       no_undefined_flag_F77='${wl}-z,text'
   15719       archive_cmds_need_lc_F77=no
   15720       hardcode_shlibpath_var_F77=no
   15721       runpath_var='LD_RUN_PATH'
   15722 
   15723       if test "$GCC" = yes; then
   15724 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15725 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15726       else
   15727 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15728 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15729       fi
   15730       ;;
   15731 
   15732     sysv5* | sco3.2v5* | sco5v6*)
   15733       # Note: We can NOT use -z defs as we might desire, because we do not
   15734       # link with -lc, and that would cause any symbols used from libc to
   15735       # always be unresolved, which means just about no library would
   15736       # ever link correctly.  If we're not using GNU ld we use -z text
   15737       # though, which does catch some bad symbols but isn't as heavy-handed
   15738       # as -z defs.
   15739       no_undefined_flag_F77='${wl}-z,text'
   15740       allow_undefined_flag_F77='${wl}-z,nodefs'
   15741       archive_cmds_need_lc_F77=no
   15742       hardcode_shlibpath_var_F77=no
   15743       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15744       hardcode_libdir_separator_F77=':'
   15745       link_all_deplibs_F77=yes
   15746       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15747       runpath_var='LD_RUN_PATH'
   15748 
   15749       if test "$GCC" = yes; then
   15750 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15751 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15752       else
   15753 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15754 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15755       fi
   15756       ;;
   15757 
   15758     uts4*)
   15759       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15760       hardcode_libdir_flag_spec_F77='-L$libdir'
   15761       hardcode_shlibpath_var_F77=no
   15762       ;;
   15763 
   15764     *)
   15765       ld_shlibs_F77=no
   15766       ;;
   15767     esac
   15768   fi
   15769 
   15770 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15771 $as_echo "$ld_shlibs_F77" >&6; }
   15772 test "$ld_shlibs_F77" = no && can_build_shared=no
   15773 
   15774 #
   15775 # Do we need to explicitly link libc?
   15776 #
   15777 case "x$archive_cmds_need_lc_F77" in
   15778 x|xyes)
   15779   # Assume -lc should be added
   15780   archive_cmds_need_lc_F77=yes
   15781 
   15782   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15783     case $archive_cmds_F77 in
   15784     *'~'*)
   15785       # FIXME: we may have to deal with multi-command sequences.
   15786       ;;
   15787     '$CC '*)
   15788       # Test whether the compiler implicitly links with -lc since on some
   15789       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15790       # to ld, don't add -lc before -lgcc.
   15791       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15792 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15793       $rm conftest*
   15794       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15795 
   15796       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15797   (eval $ac_compile) 2>&5
   15798   ac_status=$?
   15799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15800   (exit $ac_status); } 2>conftest.err; then
   15801         soname=conftest
   15802         lib=conftest
   15803         libobjs=conftest.$ac_objext
   15804         deplibs=
   15805         wl=$lt_prog_compiler_wl_F77
   15806 	pic_flag=$lt_prog_compiler_pic_F77
   15807         compiler_flags=-v
   15808         linker_flags=-v
   15809         verstring=
   15810         output_objdir=.
   15811         libname=conftest
   15812         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15813         allow_undefined_flag_F77=
   15814         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15815   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15816   ac_status=$?
   15817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15818   (exit $ac_status); }
   15819         then
   15820 	  archive_cmds_need_lc_F77=no
   15821         else
   15822 	  archive_cmds_need_lc_F77=yes
   15823         fi
   15824         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15825       else
   15826         cat conftest.err 1>&5
   15827       fi
   15828       $rm conftest*
   15829       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15830 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15831       ;;
   15832     esac
   15833   fi
   15834   ;;
   15835 esac
   15836 
   15837 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15838 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15839 library_names_spec=
   15840 libname_spec='lib$name'
   15841 soname_spec=
   15842 shrext_cmds=".so"
   15843 postinstall_cmds=
   15844 postuninstall_cmds=
   15845 finish_cmds=
   15846 finish_eval=
   15847 shlibpath_var=
   15848 shlibpath_overrides_runpath=unknown
   15849 version_type=none
   15850 dynamic_linker="$host_os ld.so"
   15851 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15852 
   15853 need_lib_prefix=unknown
   15854 hardcode_into_libs=no
   15855 
   15856 # when you set need_version to no, make sure it does not cause -set_version
   15857 # flags to be left without arguments
   15858 need_version=unknown
   15859 
   15860 case $host_os in
   15861 aix3*)
   15862   version_type=linux
   15863   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15864   shlibpath_var=LIBPATH
   15865 
   15866   # AIX 3 has no versioning support, so we append a major version to the name.
   15867   soname_spec='${libname}${release}${shared_ext}$major'
   15868   ;;
   15869 
   15870 aix[4-9]*)
   15871   version_type=linux
   15872   need_lib_prefix=no
   15873   need_version=no
   15874   hardcode_into_libs=yes
   15875   if test "$host_cpu" = ia64; then
   15876     # AIX 5 supports IA64
   15877     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15878     shlibpath_var=LD_LIBRARY_PATH
   15879   else
   15880     # With GCC up to 2.95.x, collect2 would create an import file
   15881     # for dependence libraries.  The import file would start with
   15882     # the line `#! .'.  This would cause the generated library to
   15883     # depend on `.', always an invalid library.  This was fixed in
   15884     # development snapshots of GCC prior to 3.0.
   15885     case $host_os in
   15886       aix4 | aix4.[01] | aix4.[01].*)
   15887       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15888 	   echo ' yes '
   15889 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15890 	:
   15891       else
   15892 	can_build_shared=no
   15893       fi
   15894       ;;
   15895     esac
   15896     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15897     # soname into executable. Probably we can add versioning support to
   15898     # collect2, so additional links can be useful in future.
   15899     if test "$aix_use_runtimelinking" = yes; then
   15900       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15901       # instead of lib<name>.a to let people know that these are not
   15902       # typical AIX shared libraries.
   15903       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15904     else
   15905       # We preserve .a as extension for shared libraries through AIX4.2
   15906       # and later when we are not doing run time linking.
   15907       library_names_spec='${libname}${release}.a $libname.a'
   15908       soname_spec='${libname}${release}${shared_ext}$major'
   15909     fi
   15910     shlibpath_var=LIBPATH
   15911   fi
   15912   ;;
   15913 
   15914 amigaos*)
   15915   library_names_spec='$libname.ixlibrary $libname.a'
   15916   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15917   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'
   15918   ;;
   15919 
   15920 beos*)
   15921   library_names_spec='${libname}${shared_ext}'
   15922   dynamic_linker="$host_os ld.so"
   15923   shlibpath_var=LIBRARY_PATH
   15924   ;;
   15925 
   15926 bsdi[45]*)
   15927   version_type=linux
   15928   need_version=no
   15929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15930   soname_spec='${libname}${release}${shared_ext}$major'
   15931   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15932   shlibpath_var=LD_LIBRARY_PATH
   15933   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15934   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15935   # the default ld.so.conf also contains /usr/contrib/lib and
   15936   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15937   # libtool to hard-code these into programs
   15938   ;;
   15939 
   15940 cygwin* | mingw* | pw32*)
   15941   version_type=windows
   15942   shrext_cmds=".dll"
   15943   need_version=no
   15944   need_lib_prefix=no
   15945 
   15946   case $GCC,$host_os in
   15947   yes,cygwin* | yes,mingw* | yes,pw32*)
   15948     library_names_spec='$libname.dll.a'
   15949     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15950     postinstall_cmds='base_file=`basename \${file}`~
   15951       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15952       dldir=$destdir/`dirname \$dlpath`~
   15953       test -d \$dldir || mkdir -p \$dldir~
   15954       $install_prog $dir/$dlname \$dldir/$dlname~
   15955       chmod a+x \$dldir/$dlname'
   15956     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15957       dlpath=$dir/\$dldll~
   15958        $rm \$dlpath'
   15959     shlibpath_overrides_runpath=yes
   15960 
   15961     case $host_os in
   15962     cygwin*)
   15963       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15964       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15965       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15966       ;;
   15967     mingw*)
   15968       # MinGW DLLs use traditional 'lib' prefix
   15969       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15970       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15971       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15972         # It is most probably a Windows format PATH printed by
   15973         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15974         # path with ; separators, and with drive letters. We can handle the
   15975         # drive letters (cygwin fileutils understands them), so leave them,
   15976         # especially as we might pass files found there to a mingw objdump,
   15977         # which wouldn't understand a cygwinified path. Ahh.
   15978         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15979       else
   15980         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15981       fi
   15982       ;;
   15983     pw32*)
   15984       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15985       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15986       ;;
   15987     esac
   15988     ;;
   15989 
   15990   *)
   15991     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15992     ;;
   15993   esac
   15994   dynamic_linker='Win32 ld.exe'
   15995   # FIXME: first we should search . and the directory the executable is in
   15996   shlibpath_var=PATH
   15997   ;;
   15998 
   15999 darwin* | rhapsody*)
   16000   dynamic_linker="$host_os dyld"
   16001   version_type=darwin
   16002   need_lib_prefix=no
   16003   need_version=no
   16004   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16005   soname_spec='${libname}${release}${major}$shared_ext'
   16006   shlibpath_overrides_runpath=yes
   16007   shlibpath_var=DYLD_LIBRARY_PATH
   16008   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16009 
   16010   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16011   ;;
   16012 
   16013 dgux*)
   16014   version_type=linux
   16015   need_lib_prefix=no
   16016   need_version=no
   16017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16018   soname_spec='${libname}${release}${shared_ext}$major'
   16019   shlibpath_var=LD_LIBRARY_PATH
   16020   ;;
   16021 
   16022 freebsd1*)
   16023   dynamic_linker=no
   16024   ;;
   16025 
   16026 freebsd* | dragonfly*)
   16027   # DragonFly does not have aout.  When/if they implement a new
   16028   # versioning mechanism, adjust this.
   16029   if test -x /usr/bin/objformat; then
   16030     objformat=`/usr/bin/objformat`
   16031   else
   16032     case $host_os in
   16033     freebsd[123]*) objformat=aout ;;
   16034     *) objformat=elf ;;
   16035     esac
   16036   fi
   16037   version_type=freebsd-$objformat
   16038   case $version_type in
   16039     freebsd-elf*)
   16040       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16041       need_version=no
   16042       need_lib_prefix=no
   16043       ;;
   16044     freebsd-*)
   16045       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16046       need_version=yes
   16047       ;;
   16048   esac
   16049   shlibpath_var=LD_LIBRARY_PATH
   16050   case $host_os in
   16051   freebsd2*)
   16052     shlibpath_overrides_runpath=yes
   16053     ;;
   16054   freebsd3.[01]* | freebsdelf3.[01]*)
   16055     shlibpath_overrides_runpath=yes
   16056     hardcode_into_libs=yes
   16057     ;;
   16058   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16059   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16060     shlibpath_overrides_runpath=no
   16061     hardcode_into_libs=yes
   16062     ;;
   16063   *) # from 4.6 on, and DragonFly
   16064     shlibpath_overrides_runpath=yes
   16065     hardcode_into_libs=yes
   16066     ;;
   16067   esac
   16068   ;;
   16069 
   16070 gnu*)
   16071   version_type=linux
   16072   need_lib_prefix=no
   16073   need_version=no
   16074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16075   soname_spec='${libname}${release}${shared_ext}$major'
   16076   shlibpath_var=LD_LIBRARY_PATH
   16077   hardcode_into_libs=yes
   16078   ;;
   16079 
   16080 hpux9* | hpux10* | hpux11*)
   16081   # Give a soname corresponding to the major version so that dld.sl refuses to
   16082   # link against other versions.
   16083   version_type=sunos
   16084   need_lib_prefix=no
   16085   need_version=no
   16086   case $host_cpu in
   16087   ia64*)
   16088     shrext_cmds='.so'
   16089     hardcode_into_libs=yes
   16090     dynamic_linker="$host_os dld.so"
   16091     shlibpath_var=LD_LIBRARY_PATH
   16092     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16093     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16094     soname_spec='${libname}${release}${shared_ext}$major'
   16095     if test "X$HPUX_IA64_MODE" = X32; then
   16096       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16097     else
   16098       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16099     fi
   16100     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16101     ;;
   16102    hppa*64*)
   16103      shrext_cmds='.sl'
   16104      hardcode_into_libs=yes
   16105      dynamic_linker="$host_os dld.sl"
   16106      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16107      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16108      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16109      soname_spec='${libname}${release}${shared_ext}$major'
   16110      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16111      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16112      ;;
   16113    *)
   16114     shrext_cmds='.sl'
   16115     dynamic_linker="$host_os dld.sl"
   16116     shlibpath_var=SHLIB_PATH
   16117     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16118     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119     soname_spec='${libname}${release}${shared_ext}$major'
   16120     ;;
   16121   esac
   16122   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16123   postinstall_cmds='chmod 555 $lib'
   16124   ;;
   16125 
   16126 interix[3-9]*)
   16127   version_type=linux
   16128   need_lib_prefix=no
   16129   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16133   shlibpath_var=LD_LIBRARY_PATH
   16134   shlibpath_overrides_runpath=no
   16135   hardcode_into_libs=yes
   16136   ;;
   16137 
   16138 irix5* | irix6* | nonstopux*)
   16139   case $host_os in
   16140     nonstopux*) version_type=nonstopux ;;
   16141     *)
   16142 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16143 		version_type=linux
   16144 	else
   16145 		version_type=irix
   16146 	fi ;;
   16147   esac
   16148   need_lib_prefix=no
   16149   need_version=no
   16150   soname_spec='${libname}${release}${shared_ext}$major'
   16151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16152   case $host_os in
   16153   irix5* | nonstopux*)
   16154     libsuff= shlibsuff=
   16155     ;;
   16156   *)
   16157     case $LD in # libtool.m4 will add one of these switches to LD
   16158     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16159       libsuff= shlibsuff= libmagic=32-bit;;
   16160     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16161       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16162     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16163       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16164     *) libsuff= shlibsuff= libmagic=never-match;;
   16165     esac
   16166     ;;
   16167   esac
   16168   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16169   shlibpath_overrides_runpath=no
   16170   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16171   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16172   hardcode_into_libs=yes
   16173   ;;
   16174 
   16175 # No shared lib support for Linux oldld, aout, or coff.
   16176 linux*oldld* | linux*aout* | linux*coff*)
   16177   dynamic_linker=no
   16178   ;;
   16179 
   16180 # This must be Linux ELF.
   16181 linux* | k*bsd*-gnu)
   16182   version_type=linux
   16183   need_lib_prefix=no
   16184   need_version=no
   16185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16186   soname_spec='${libname}${release}${shared_ext}$major'
   16187   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16188   shlibpath_var=LD_LIBRARY_PATH
   16189   shlibpath_overrides_runpath=no
   16190   # This implies no fast_install, which is unacceptable.
   16191   # Some rework will be needed to allow for fast_install
   16192   # before this can be enabled.
   16193   hardcode_into_libs=yes
   16194   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16195   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16196 
   16197   # Append ld.so.conf contents to the search path
   16198   if test -f /etc/ld.so.conf; then
   16199     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' ' '`
   16200     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16201   fi
   16202 
   16203   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16204   # powerpc, because MkLinux only supported shared libraries with the
   16205   # GNU dynamic linker.  Since this was broken with cross compilers,
   16206   # most powerpc-linux boxes support dynamic linking these days and
   16207   # people can always --disable-shared, the test was removed, and we
   16208   # assume the GNU/Linux dynamic linker is in use.
   16209   dynamic_linker='GNU/Linux ld.so'
   16210   ;;
   16211 
   16212 netbsd*)
   16213   version_type=sunos
   16214   need_lib_prefix=no
   16215   need_version=no
   16216   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16217     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16218     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16219     dynamic_linker='NetBSD (a.out) ld.so'
   16220   else
   16221     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16222     soname_spec='${libname}${release}${shared_ext}$major'
   16223     dynamic_linker='NetBSD ld.elf_so'
   16224   fi
   16225   shlibpath_var=LD_LIBRARY_PATH
   16226   shlibpath_overrides_runpath=yes
   16227   hardcode_into_libs=yes
   16228   ;;
   16229 
   16230 newsos6)
   16231   version_type=linux
   16232   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16233   shlibpath_var=LD_LIBRARY_PATH
   16234   shlibpath_overrides_runpath=yes
   16235   ;;
   16236 
   16237 nto-qnx*)
   16238   version_type=linux
   16239   need_lib_prefix=no
   16240   need_version=no
   16241   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16242   soname_spec='${libname}${release}${shared_ext}$major'
   16243   shlibpath_var=LD_LIBRARY_PATH
   16244   shlibpath_overrides_runpath=yes
   16245   ;;
   16246 
   16247 openbsd*)
   16248   version_type=sunos
   16249   sys_lib_dlsearch_path_spec="/usr/lib"
   16250   need_lib_prefix=no
   16251   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16252   case $host_os in
   16253     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16254     *)                         need_version=no  ;;
   16255   esac
   16256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16257   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16258   shlibpath_var=LD_LIBRARY_PATH
   16259   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16260     case $host_os in
   16261       openbsd2.[89] | openbsd2.[89].*)
   16262 	shlibpath_overrides_runpath=no
   16263 	;;
   16264       *)
   16265 	shlibpath_overrides_runpath=yes
   16266 	;;
   16267       esac
   16268   else
   16269     shlibpath_overrides_runpath=yes
   16270   fi
   16271   ;;
   16272 
   16273 os2*)
   16274   libname_spec='$name'
   16275   shrext_cmds=".dll"
   16276   need_lib_prefix=no
   16277   library_names_spec='$libname${shared_ext} $libname.a'
   16278   dynamic_linker='OS/2 ld.exe'
   16279   shlibpath_var=LIBPATH
   16280   ;;
   16281 
   16282 osf3* | osf4* | osf5*)
   16283   version_type=osf
   16284   need_lib_prefix=no
   16285   need_version=no
   16286   soname_spec='${libname}${release}${shared_ext}$major'
   16287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16288   shlibpath_var=LD_LIBRARY_PATH
   16289   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16290   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16291   ;;
   16292 
   16293 rdos*)
   16294   dynamic_linker=no
   16295   ;;
   16296 
   16297 solaris*)
   16298   version_type=linux
   16299   need_lib_prefix=no
   16300   need_version=no
   16301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16302   soname_spec='${libname}${release}${shared_ext}$major'
   16303   shlibpath_var=LD_LIBRARY_PATH
   16304   shlibpath_overrides_runpath=yes
   16305   hardcode_into_libs=yes
   16306   # ldd complains unless libraries are executable
   16307   postinstall_cmds='chmod +x $lib'
   16308   ;;
   16309 
   16310 sunos4*)
   16311   version_type=sunos
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16313   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16314   shlibpath_var=LD_LIBRARY_PATH
   16315   shlibpath_overrides_runpath=yes
   16316   if test "$with_gnu_ld" = yes; then
   16317     need_lib_prefix=no
   16318   fi
   16319   need_version=yes
   16320   ;;
   16321 
   16322 sysv4 | sysv4.3*)
   16323   version_type=linux
   16324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16325   soname_spec='${libname}${release}${shared_ext}$major'
   16326   shlibpath_var=LD_LIBRARY_PATH
   16327   case $host_vendor in
   16328     sni)
   16329       shlibpath_overrides_runpath=no
   16330       need_lib_prefix=no
   16331       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16332       runpath_var=LD_RUN_PATH
   16333       ;;
   16334     siemens)
   16335       need_lib_prefix=no
   16336       ;;
   16337     motorola)
   16338       need_lib_prefix=no
   16339       need_version=no
   16340       shlibpath_overrides_runpath=no
   16341       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16342       ;;
   16343   esac
   16344   ;;
   16345 
   16346 sysv4*MP*)
   16347   if test -d /usr/nec ;then
   16348     version_type=linux
   16349     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16350     soname_spec='$libname${shared_ext}.$major'
   16351     shlibpath_var=LD_LIBRARY_PATH
   16352   fi
   16353   ;;
   16354 
   16355 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16356   version_type=freebsd-elf
   16357   need_lib_prefix=no
   16358   need_version=no
   16359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16360   soname_spec='${libname}${release}${shared_ext}$major'
   16361   shlibpath_var=LD_LIBRARY_PATH
   16362   hardcode_into_libs=yes
   16363   if test "$with_gnu_ld" = yes; then
   16364     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16365     shlibpath_overrides_runpath=no
   16366   else
   16367     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16368     shlibpath_overrides_runpath=yes
   16369     case $host_os in
   16370       sco3.2v5*)
   16371         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16372 	;;
   16373     esac
   16374   fi
   16375   sys_lib_dlsearch_path_spec='/usr/lib'
   16376   ;;
   16377 
   16378 uts4*)
   16379   version_type=linux
   16380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16381   soname_spec='${libname}${release}${shared_ext}$major'
   16382   shlibpath_var=LD_LIBRARY_PATH
   16383   ;;
   16384 
   16385 *)
   16386   dynamic_linker=no
   16387   ;;
   16388 esac
   16389 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16390 $as_echo "$dynamic_linker" >&6; }
   16391 test "$dynamic_linker" = no && can_build_shared=no
   16392 
   16393 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16394   $as_echo_n "(cached) " >&6
   16395 else
   16396   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16397 fi
   16398 
   16399 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16400 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16401   $as_echo_n "(cached) " >&6
   16402 else
   16403   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16404 fi
   16405 
   16406 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16407 
   16408 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16409 if test "$GCC" = yes; then
   16410   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16411 fi
   16412 
   16413 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16414 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16415 hardcode_action_F77=
   16416 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16417    test -n "$runpath_var_F77" || \
   16418    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16419 
   16420   # We can hardcode non-existant directories.
   16421   if test "$hardcode_direct_F77" != no &&
   16422      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16423      # have to relink, otherwise we might link with an installed library
   16424      # when we should be linking with a yet-to-be-installed one
   16425      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16426      test "$hardcode_minus_L_F77" != no; then
   16427     # Linking always hardcodes the temporary library directory.
   16428     hardcode_action_F77=relink
   16429   else
   16430     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16431     hardcode_action_F77=immediate
   16432   fi
   16433 else
   16434   # We cannot hardcode anything, or else we can only hardcode existing
   16435   # directories.
   16436   hardcode_action_F77=unsupported
   16437 fi
   16438 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16439 $as_echo "$hardcode_action_F77" >&6; }
   16440 
   16441 if test "$hardcode_action_F77" = relink; then
   16442   # Fast installation is not supported
   16443   enable_fast_install=no
   16444 elif test "$shlibpath_overrides_runpath" = yes ||
   16445      test "$enable_shared" = no; then
   16446   # Fast installation is not necessary
   16447   enable_fast_install=needless
   16448 fi
   16449 
   16450 
   16451 # The else clause should only fire when bootstrapping the
   16452 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16453 # with your package, and you will get complaints that there are
   16454 # no rules to generate ltmain.sh.
   16455 if test -f "$ltmain"; then
   16456   # See if we are running on zsh, and set the options which allow our commands through
   16457   # without removal of \ escapes.
   16458   if test -n "${ZSH_VERSION+set}" ; then
   16459     setopt NO_GLOB_SUBST
   16460   fi
   16461   # Now quote all the things that may contain metacharacters while being
   16462   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16463   # variables and quote the copies for generation of the libtool script.
   16464   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16465     SED SHELL STRIP \
   16466     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16467     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16468     deplibs_check_method reload_flag reload_cmds need_locks \
   16469     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16470     lt_cv_sys_global_symbol_to_c_name_address \
   16471     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16472     old_postinstall_cmds old_postuninstall_cmds \
   16473     compiler_F77 \
   16474     CC_F77 \
   16475     LD_F77 \
   16476     lt_prog_compiler_wl_F77 \
   16477     lt_prog_compiler_pic_F77 \
   16478     lt_prog_compiler_static_F77 \
   16479     lt_prog_compiler_no_builtin_flag_F77 \
   16480     export_dynamic_flag_spec_F77 \
   16481     thread_safe_flag_spec_F77 \
   16482     whole_archive_flag_spec_F77 \
   16483     enable_shared_with_static_runtimes_F77 \
   16484     old_archive_cmds_F77 \
   16485     old_archive_from_new_cmds_F77 \
   16486     predep_objects_F77 \
   16487     postdep_objects_F77 \
   16488     predeps_F77 \
   16489     postdeps_F77 \
   16490     compiler_lib_search_path_F77 \
   16491     compiler_lib_search_dirs_F77 \
   16492     archive_cmds_F77 \
   16493     archive_expsym_cmds_F77 \
   16494     postinstall_cmds_F77 \
   16495     postuninstall_cmds_F77 \
   16496     old_archive_from_expsyms_cmds_F77 \
   16497     allow_undefined_flag_F77 \
   16498     no_undefined_flag_F77 \
   16499     export_symbols_cmds_F77 \
   16500     hardcode_libdir_flag_spec_F77 \
   16501     hardcode_libdir_flag_spec_ld_F77 \
   16502     hardcode_libdir_separator_F77 \
   16503     hardcode_automatic_F77 \
   16504     module_cmds_F77 \
   16505     module_expsym_cmds_F77 \
   16506     lt_cv_prog_compiler_c_o_F77 \
   16507     fix_srcfile_path_F77 \
   16508     exclude_expsyms_F77 \
   16509     include_expsyms_F77; do
   16510 
   16511     case $var in
   16512     old_archive_cmds_F77 | \
   16513     old_archive_from_new_cmds_F77 | \
   16514     archive_cmds_F77 | \
   16515     archive_expsym_cmds_F77 | \
   16516     module_cmds_F77 | \
   16517     module_expsym_cmds_F77 | \
   16518     old_archive_from_expsyms_cmds_F77 | \
   16519     export_symbols_cmds_F77 | \
   16520     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16521     postinstall_cmds | postuninstall_cmds | \
   16522     old_postinstall_cmds | old_postuninstall_cmds | \
   16523     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16524       # Double-quote double-evaled strings.
   16525       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16526       ;;
   16527     *)
   16528       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16529       ;;
   16530     esac
   16531   done
   16532 
   16533   case $lt_echo in
   16534   *'\$0 --fallback-echo"')
   16535     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16536     ;;
   16537   esac
   16538 
   16539 cfgfile="$ofile"
   16540 
   16541   cat <<__EOF__ >> "$cfgfile"
   16542 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16543 
   16544 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16545 
   16546 # Shell to use when invoking shell scripts.
   16547 SHELL=$lt_SHELL
   16548 
   16549 # Whether or not to build shared libraries.
   16550 build_libtool_libs=$enable_shared
   16551 
   16552 # Whether or not to build static libraries.
   16553 build_old_libs=$enable_static
   16554 
   16555 # Whether or not to add -lc for building shared libraries.
   16556 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16557 
   16558 # Whether or not to disallow shared libs when runtime libs are static
   16559 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16560 
   16561 # Whether or not to optimize for fast installation.
   16562 fast_install=$enable_fast_install
   16563 
   16564 # The host system.
   16565 host_alias=$host_alias
   16566 host=$host
   16567 host_os=$host_os
   16568 
   16569 # The build system.
   16570 build_alias=$build_alias
   16571 build=$build
   16572 build_os=$build_os
   16573 
   16574 # An echo program that does not interpret backslashes.
   16575 echo=$lt_echo
   16576 
   16577 # The archiver.
   16578 AR=$lt_AR
   16579 AR_FLAGS=$lt_AR_FLAGS
   16580 
   16581 # A C compiler.
   16582 LTCC=$lt_LTCC
   16583 
   16584 # LTCC compiler flags.
   16585 LTCFLAGS=$lt_LTCFLAGS
   16586 
   16587 # A language-specific compiler.
   16588 CC=$lt_compiler_F77
   16589 
   16590 # Is the compiler the GNU C compiler?
   16591 with_gcc=$GCC_F77
   16592 
   16593 # An ERE matcher.
   16594 EGREP=$lt_EGREP
   16595 
   16596 # The linker used to build libraries.
   16597 LD=$lt_LD_F77
   16598 
   16599 # Whether we need hard or soft links.
   16600 LN_S=$lt_LN_S
   16601 
   16602 # A BSD-compatible nm program.
   16603 NM=$lt_NM
   16604 
   16605 # A symbol stripping program
   16606 STRIP=$lt_STRIP
   16607 
   16608 # Used to examine libraries when file_magic_cmd begins "file"
   16609 MAGIC_CMD=$MAGIC_CMD
   16610 
   16611 # Used on cygwin: DLL creation program.
   16612 DLLTOOL="$DLLTOOL"
   16613 
   16614 # Used on cygwin: object dumper.
   16615 OBJDUMP="$OBJDUMP"
   16616 
   16617 # Used on cygwin: assembler.
   16618 AS="$AS"
   16619 
   16620 # The name of the directory that contains temporary libtool files.
   16621 objdir=$objdir
   16622 
   16623 # How to create reloadable object files.
   16624 reload_flag=$lt_reload_flag
   16625 reload_cmds=$lt_reload_cmds
   16626 
   16627 # How to pass a linker flag through the compiler.
   16628 wl=$lt_lt_prog_compiler_wl_F77
   16629 
   16630 # Object file suffix (normally "o").
   16631 objext="$ac_objext"
   16632 
   16633 # Old archive suffix (normally "a").
   16634 libext="$libext"
   16635 
   16636 # Shared library suffix (normally ".so").
   16637 shrext_cmds='$shrext_cmds'
   16638 
   16639 # Executable file suffix (normally "").
   16640 exeext="$exeext"
   16641 
   16642 # Additional compiler flags for building library objects.
   16643 pic_flag=$lt_lt_prog_compiler_pic_F77
   16644 pic_mode=$pic_mode
   16645 
   16646 # What is the maximum length of a command?
   16647 max_cmd_len=$lt_cv_sys_max_cmd_len
   16648 
   16649 # Does compiler simultaneously support -c and -o options?
   16650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16651 
   16652 # Must we lock files when doing compilation?
   16653 need_locks=$lt_need_locks
   16654 
   16655 # Do we need the lib prefix for modules?
   16656 need_lib_prefix=$need_lib_prefix
   16657 
   16658 # Do we need a version for libraries?
   16659 need_version=$need_version
   16660 
   16661 # Whether dlopen is supported.
   16662 dlopen_support=$enable_dlopen
   16663 
   16664 # Whether dlopen of programs is supported.
   16665 dlopen_self=$enable_dlopen_self
   16666 
   16667 # Whether dlopen of statically linked programs is supported.
   16668 dlopen_self_static=$enable_dlopen_self_static
   16669 
   16670 # Compiler flag to prevent dynamic linking.
   16671 link_static_flag=$lt_lt_prog_compiler_static_F77
   16672 
   16673 # Compiler flag to turn off builtin functions.
   16674 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16675 
   16676 # Compiler flag to allow reflexive dlopens.
   16677 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16678 
   16679 # Compiler flag to generate shared objects directly from archives.
   16680 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16681 
   16682 # Compiler flag to generate thread-safe objects.
   16683 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16684 
   16685 # Library versioning type.
   16686 version_type=$version_type
   16687 
   16688 # Format of library name prefix.
   16689 libname_spec=$lt_libname_spec
   16690 
   16691 # List of archive names.  First name is the real one, the rest are links.
   16692 # The last name is the one that the linker finds with -lNAME.
   16693 library_names_spec=$lt_library_names_spec
   16694 
   16695 # The coded name of the library, if different from the real name.
   16696 soname_spec=$lt_soname_spec
   16697 
   16698 # Commands used to build and install an old-style archive.
   16699 RANLIB=$lt_RANLIB
   16700 old_archive_cmds=$lt_old_archive_cmds_F77
   16701 old_postinstall_cmds=$lt_old_postinstall_cmds
   16702 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16703 
   16704 # Create an old-style archive from a shared archive.
   16705 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16706 
   16707 # Create a temporary old-style archive to link instead of a shared archive.
   16708 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16709 
   16710 # Commands used to build and install a shared archive.
   16711 archive_cmds=$lt_archive_cmds_F77
   16712 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16713 postinstall_cmds=$lt_postinstall_cmds
   16714 postuninstall_cmds=$lt_postuninstall_cmds
   16715 
   16716 # Commands used to build a loadable module (assumed same as above if empty)
   16717 module_cmds=$lt_module_cmds_F77
   16718 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16719 
   16720 # Commands to strip libraries.
   16721 old_striplib=$lt_old_striplib
   16722 striplib=$lt_striplib
   16723 
   16724 # Dependencies to place before the objects being linked to create a
   16725 # shared library.
   16726 predep_objects=$lt_predep_objects_F77
   16727 
   16728 # Dependencies to place after the objects being linked to create a
   16729 # shared library.
   16730 postdep_objects=$lt_postdep_objects_F77
   16731 
   16732 # Dependencies to place before the objects being linked to create a
   16733 # shared library.
   16734 predeps=$lt_predeps_F77
   16735 
   16736 # Dependencies to place after the objects being linked to create a
   16737 # shared library.
   16738 postdeps=$lt_postdeps_F77
   16739 
   16740 # The directories searched by this compiler when creating a shared
   16741 # library
   16742 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16743 
   16744 # The library search path used internally by the compiler when linking
   16745 # a shared library.
   16746 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16747 
   16748 # Method to check whether dependent libraries are shared objects.
   16749 deplibs_check_method=$lt_deplibs_check_method
   16750 
   16751 # Command to use when deplibs_check_method == file_magic.
   16752 file_magic_cmd=$lt_file_magic_cmd
   16753 
   16754 # Flag that allows shared libraries with undefined symbols to be built.
   16755 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16756 
   16757 # Flag that forces no undefined symbols.
   16758 no_undefined_flag=$lt_no_undefined_flag_F77
   16759 
   16760 # Commands used to finish a libtool library installation in a directory.
   16761 finish_cmds=$lt_finish_cmds
   16762 
   16763 # Same as above, but a single script fragment to be evaled but not shown.
   16764 finish_eval=$lt_finish_eval
   16765 
   16766 # Take the output of nm and produce a listing of raw symbols and C names.
   16767 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16768 
   16769 # Transform the output of nm in a proper C declaration
   16770 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16771 
   16772 # Transform the output of nm in a C name address pair
   16773 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16774 
   16775 # This is the shared library runtime path variable.
   16776 runpath_var=$runpath_var
   16777 
   16778 # This is the shared library path variable.
   16779 shlibpath_var=$shlibpath_var
   16780 
   16781 # Is shlibpath searched before the hard-coded library search path?
   16782 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16783 
   16784 # How to hardcode a shared library path into an executable.
   16785 hardcode_action=$hardcode_action_F77
   16786 
   16787 # Whether we should hardcode library paths into libraries.
   16788 hardcode_into_libs=$hardcode_into_libs
   16789 
   16790 # Flag to hardcode \$libdir into a binary during linking.
   16791 # This must work even if \$libdir does not exist.
   16792 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16793 
   16794 # If ld is used when linking, flag to hardcode \$libdir into
   16795 # a binary during linking. This must work even if \$libdir does
   16796 # not exist.
   16797 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16798 
   16799 # Whether we need a single -rpath flag with a separated argument.
   16800 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16801 
   16802 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16803 # resulting binary.
   16804 hardcode_direct=$hardcode_direct_F77
   16805 
   16806 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16807 # resulting binary.
   16808 hardcode_minus_L=$hardcode_minus_L_F77
   16809 
   16810 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16811 # the resulting binary.
   16812 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16813 
   16814 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16815 # and all subsequent libraries and executables linked against it.
   16816 hardcode_automatic=$hardcode_automatic_F77
   16817 
   16818 # Variables whose values should be saved in libtool wrapper scripts and
   16819 # restored at relink time.
   16820 variables_saved_for_relink="$variables_saved_for_relink"
   16821 
   16822 # Whether libtool must link a program against all its dependency libraries.
   16823 link_all_deplibs=$link_all_deplibs_F77
   16824 
   16825 # Compile-time system search path for libraries
   16826 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16827 
   16828 # Run-time system search path for libraries
   16829 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16830 
   16831 # Fix the shell variable \$srcfile for the compiler.
   16832 fix_srcfile_path=$lt_fix_srcfile_path
   16833 
   16834 # Set to yes if exported symbols are required.
   16835 always_export_symbols=$always_export_symbols_F77
   16836 
   16837 # The commands to list exported symbols.
   16838 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16839 
   16840 # The commands to extract the exported symbol list from a shared archive.
   16841 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16842 
   16843 # Symbols that should not be listed in the preloaded symbols.
   16844 exclude_expsyms=$lt_exclude_expsyms_F77
   16845 
   16846 # Symbols that must always be exported.
   16847 include_expsyms=$lt_include_expsyms_F77
   16848 
   16849 # ### END LIBTOOL TAG CONFIG: $tagname
   16850 
   16851 __EOF__
   16852 
   16853 
   16854 else
   16855   # If there is no Makefile yet, we rely on a make rule to execute
   16856   # `config.status --recheck' to rerun these tests and create the
   16857   # libtool script then.
   16858   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16859   if test -f "$ltmain_in"; then
   16860     test -f Makefile && make "$ltmain"
   16861   fi
   16862 fi
   16863 
   16864 
   16865 ac_ext=c
   16866 ac_cpp='$CPP $CPPFLAGS'
   16867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16870 
   16871 CC="$lt_save_CC"
   16872 
   16873 	else
   16874 	  tagname=""
   16875 	fi
   16876 	;;
   16877 
   16878       GCJ)
   16879 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16880 
   16881 
   16882 # Source file extension for Java test sources.
   16883 ac_ext=java
   16884 
   16885 # Object file extension for compiled Java test sources.
   16886 objext=o
   16887 objext_GCJ=$objext
   16888 
   16889 # Code to be used in simple compile tests
   16890 lt_simple_compile_test_code="class foo {}"
   16891 
   16892 # Code to be used in simple link tests
   16893 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16894 
   16895 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16896 
   16897 # If no C compiler was specified, use CC.
   16898 LTCC=${LTCC-"$CC"}
   16899 
   16900 # If no C compiler flags were specified, use CFLAGS.
   16901 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16902 
   16903 # Allow CC to be a program name with arguments.
   16904 compiler=$CC
   16905 
   16906 
   16907 # save warnings/boilerplate of simple test code
   16908 ac_outfile=conftest.$ac_objext
   16909 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16911 _lt_compiler_boilerplate=`cat conftest.err`
   16912 $rm conftest*
   16913 
   16914 ac_outfile=conftest.$ac_objext
   16915 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16917 _lt_linker_boilerplate=`cat conftest.err`
   16918 $rm -r conftest*
   16919 
   16920 
   16921 # Allow CC to be a program name with arguments.
   16922 lt_save_CC="$CC"
   16923 CC=${GCJ-"gcj"}
   16924 compiler=$CC
   16925 compiler_GCJ=$CC
   16926 for cc_temp in $compiler""; do
   16927   case $cc_temp in
   16928     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16929     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16930     \-*) ;;
   16931     *) break;;
   16932   esac
   16933 done
   16934 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16935 
   16936 
   16937 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16938 archive_cmds_need_lc_GCJ=no
   16939 
   16940 old_archive_cmds_GCJ=$old_archive_cmds
   16941 
   16942 
   16943 lt_prog_compiler_no_builtin_flag_GCJ=
   16944 
   16945 if test "$GCC" = yes; then
   16946   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16947 
   16948 
   16949 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16950 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16951 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16952   $as_echo_n "(cached) " >&6
   16953 else
   16954   lt_cv_prog_compiler_rtti_exceptions=no
   16955   ac_outfile=conftest.$ac_objext
   16956    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16957    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16958    # Insert the option either (1) after the last *FLAGS variable, or
   16959    # (2) before a word containing "conftest.", or (3) at the end.
   16960    # Note that $ac_compile itself does not contain backslashes and begins
   16961    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16962    # The option is referenced via a variable to avoid confusing sed.
   16963    lt_compile=`echo "$ac_compile" | $SED \
   16964    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16965    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16966    -e 's:$: $lt_compiler_flag:'`
   16967    (eval echo "\"\$as_me:16967: $lt_compile\"" >&5)
   16968    (eval "$lt_compile" 2>conftest.err)
   16969    ac_status=$?
   16970    cat conftest.err >&5
   16971    echo "$as_me:16971: \$? = $ac_status" >&5
   16972    if (exit $ac_status) && test -s "$ac_outfile"; then
   16973      # The compiler can only warn and ignore the option if not recognized
   16974      # So say no if there are warnings other than the usual output.
   16975      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16976      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16977      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16978        lt_cv_prog_compiler_rtti_exceptions=yes
   16979      fi
   16980    fi
   16981    $rm conftest*
   16982 
   16983 fi
   16984 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16985 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16986 
   16987 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16988     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16989 else
   16990     :
   16991 fi
   16992 
   16993 fi
   16994 
   16995 lt_prog_compiler_wl_GCJ=
   16996 lt_prog_compiler_pic_GCJ=
   16997 lt_prog_compiler_static_GCJ=
   16998 
   16999 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17000 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17001 
   17002   if test "$GCC" = yes; then
   17003     lt_prog_compiler_wl_GCJ='-Wl,'
   17004     lt_prog_compiler_static_GCJ='-static'
   17005 
   17006     case $host_os in
   17007       aix*)
   17008       # All AIX code is PIC.
   17009       if test "$host_cpu" = ia64; then
   17010 	# AIX 5 now supports IA64 processor
   17011 	lt_prog_compiler_static_GCJ='-Bstatic'
   17012       fi
   17013       ;;
   17014 
   17015     amigaos*)
   17016       # FIXME: we need at least 68020 code to build shared libraries, but
   17017       # adding the `-m68020' flag to GCC prevents building anything better,
   17018       # like `-m68040'.
   17019       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17020       ;;
   17021 
   17022     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17023       # PIC is the default for these OSes.
   17024       ;;
   17025 
   17026     mingw* | cygwin* | pw32* | os2*)
   17027       # This hack is so that the source file can tell whether it is being
   17028       # built for inclusion in a dll (and should export symbols for example).
   17029       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17030       # (--disable-auto-import) libraries
   17031 
   17032       ;;
   17033 
   17034     darwin* | rhapsody*)
   17035       # PIC is the default on this platform
   17036       # Common symbols not allowed in MH_DYLIB files
   17037       lt_prog_compiler_pic_GCJ='-fno-common'
   17038       ;;
   17039 
   17040     interix[3-9]*)
   17041       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17042       # Instead, we relocate shared libraries at runtime.
   17043       ;;
   17044 
   17045     msdosdjgpp*)
   17046       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17047       # on systems that don't support them.
   17048       lt_prog_compiler_can_build_shared_GCJ=no
   17049       enable_shared=no
   17050       ;;
   17051 
   17052     sysv4*MP*)
   17053       if test -d /usr/nec; then
   17054 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17055       fi
   17056       ;;
   17057 
   17058     hpux*)
   17059       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17060       # not for PA HP-UX.
   17061       case $host_cpu in
   17062       hppa*64*|ia64*)
   17063 	# +Z the default
   17064 	;;
   17065       *)
   17066 	lt_prog_compiler_pic_GCJ='-fPIC'
   17067 	;;
   17068       esac
   17069       ;;
   17070 
   17071     *)
   17072       lt_prog_compiler_pic_GCJ='-fPIC'
   17073       ;;
   17074     esac
   17075   else
   17076     # PORTME Check for flag to pass linker flags through the system compiler.
   17077     case $host_os in
   17078     aix*)
   17079       lt_prog_compiler_wl_GCJ='-Wl,'
   17080       if test "$host_cpu" = ia64; then
   17081 	# AIX 5 now supports IA64 processor
   17082 	lt_prog_compiler_static_GCJ='-Bstatic'
   17083       else
   17084 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17085       fi
   17086       ;;
   17087       darwin*)
   17088         # PIC is the default on this platform
   17089         # Common symbols not allowed in MH_DYLIB files
   17090        case $cc_basename in
   17091          xlc*)
   17092          lt_prog_compiler_pic_GCJ='-qnocommon'
   17093          lt_prog_compiler_wl_GCJ='-Wl,'
   17094          ;;
   17095        esac
   17096        ;;
   17097 
   17098     mingw* | cygwin* | pw32* | os2*)
   17099       # This hack is so that the source file can tell whether it is being
   17100       # built for inclusion in a dll (and should export symbols for example).
   17101 
   17102       ;;
   17103 
   17104     hpux9* | hpux10* | hpux11*)
   17105       lt_prog_compiler_wl_GCJ='-Wl,'
   17106       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17107       # not for PA HP-UX.
   17108       case $host_cpu in
   17109       hppa*64*|ia64*)
   17110 	# +Z the default
   17111 	;;
   17112       *)
   17113 	lt_prog_compiler_pic_GCJ='+Z'
   17114 	;;
   17115       esac
   17116       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17117       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17118       ;;
   17119 
   17120     irix5* | irix6* | nonstopux*)
   17121       lt_prog_compiler_wl_GCJ='-Wl,'
   17122       # PIC (with -KPIC) is the default.
   17123       lt_prog_compiler_static_GCJ='-non_shared'
   17124       ;;
   17125 
   17126     newsos6)
   17127       lt_prog_compiler_pic_GCJ='-KPIC'
   17128       lt_prog_compiler_static_GCJ='-Bstatic'
   17129       ;;
   17130 
   17131     linux* | k*bsd*-gnu)
   17132       case $cc_basename in
   17133       icc* | ecc*)
   17134 	lt_prog_compiler_wl_GCJ='-Wl,'
   17135 	lt_prog_compiler_pic_GCJ='-KPIC'
   17136 	lt_prog_compiler_static_GCJ='-static'
   17137         ;;
   17138       pgcc* | pgf77* | pgf90* | pgf95*)
   17139         # Portland Group compilers (*not* the Pentium gcc compiler,
   17140 	# which looks to be a dead project)
   17141 	lt_prog_compiler_wl_GCJ='-Wl,'
   17142 	lt_prog_compiler_pic_GCJ='-fpic'
   17143 	lt_prog_compiler_static_GCJ='-Bstatic'
   17144         ;;
   17145       ccc*)
   17146         lt_prog_compiler_wl_GCJ='-Wl,'
   17147         # All Alpha code is PIC.
   17148         lt_prog_compiler_static_GCJ='-non_shared'
   17149         ;;
   17150       *)
   17151         case `$CC -V 2>&1 | sed 5q` in
   17152 	*Sun\ C*)
   17153 	  # Sun C 5.9
   17154 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17155 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17156 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17157 	  ;;
   17158 	*Sun\ F*)
   17159 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17160 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17161 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17162 	  lt_prog_compiler_wl_GCJ=''
   17163 	  ;;
   17164 	esac
   17165 	;;
   17166       esac
   17167       ;;
   17168 
   17169     osf3* | osf4* | osf5*)
   17170       lt_prog_compiler_wl_GCJ='-Wl,'
   17171       # All OSF/1 code is PIC.
   17172       lt_prog_compiler_static_GCJ='-non_shared'
   17173       ;;
   17174 
   17175     rdos*)
   17176       lt_prog_compiler_static_GCJ='-non_shared'
   17177       ;;
   17178 
   17179     solaris*)
   17180       lt_prog_compiler_pic_GCJ='-KPIC'
   17181       lt_prog_compiler_static_GCJ='-Bstatic'
   17182       case $cc_basename in
   17183       f77* | f90* | f95*)
   17184 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17185       *)
   17186 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17187       esac
   17188       ;;
   17189 
   17190     sunos4*)
   17191       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17192       lt_prog_compiler_pic_GCJ='-PIC'
   17193       lt_prog_compiler_static_GCJ='-Bstatic'
   17194       ;;
   17195 
   17196     sysv4 | sysv4.2uw2* | sysv4.3*)
   17197       lt_prog_compiler_wl_GCJ='-Wl,'
   17198       lt_prog_compiler_pic_GCJ='-KPIC'
   17199       lt_prog_compiler_static_GCJ='-Bstatic'
   17200       ;;
   17201 
   17202     sysv4*MP*)
   17203       if test -d /usr/nec ;then
   17204 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17205 	lt_prog_compiler_static_GCJ='-Bstatic'
   17206       fi
   17207       ;;
   17208 
   17209     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17210       lt_prog_compiler_wl_GCJ='-Wl,'
   17211       lt_prog_compiler_pic_GCJ='-KPIC'
   17212       lt_prog_compiler_static_GCJ='-Bstatic'
   17213       ;;
   17214 
   17215     unicos*)
   17216       lt_prog_compiler_wl_GCJ='-Wl,'
   17217       lt_prog_compiler_can_build_shared_GCJ=no
   17218       ;;
   17219 
   17220     uts4*)
   17221       lt_prog_compiler_pic_GCJ='-pic'
   17222       lt_prog_compiler_static_GCJ='-Bstatic'
   17223       ;;
   17224 
   17225     *)
   17226       lt_prog_compiler_can_build_shared_GCJ=no
   17227       ;;
   17228     esac
   17229   fi
   17230 
   17231 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17232 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17233 
   17234 #
   17235 # Check to make sure the PIC flag actually works.
   17236 #
   17237 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17238 
   17239 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17240 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17241 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17242   $as_echo_n "(cached) " >&6
   17243 else
   17244   lt_cv_prog_compiler_pic_works_GCJ=no
   17245   ac_outfile=conftest.$ac_objext
   17246    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17247    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17248    # Insert the option either (1) after the last *FLAGS variable, or
   17249    # (2) before a word containing "conftest.", or (3) at the end.
   17250    # Note that $ac_compile itself does not contain backslashes and begins
   17251    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17252    # The option is referenced via a variable to avoid confusing sed.
   17253    lt_compile=`echo "$ac_compile" | $SED \
   17254    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17255    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17256    -e 's:$: $lt_compiler_flag:'`
   17257    (eval echo "\"\$as_me:17257: $lt_compile\"" >&5)
   17258    (eval "$lt_compile" 2>conftest.err)
   17259    ac_status=$?
   17260    cat conftest.err >&5
   17261    echo "$as_me:17261: \$? = $ac_status" >&5
   17262    if (exit $ac_status) && test -s "$ac_outfile"; then
   17263      # The compiler can only warn and ignore the option if not recognized
   17264      # So say no if there are warnings other than the usual output.
   17265      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17266      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17267      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17268        lt_cv_prog_compiler_pic_works_GCJ=yes
   17269      fi
   17270    fi
   17271    $rm conftest*
   17272 
   17273 fi
   17274 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17275 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17276 
   17277 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17278     case $lt_prog_compiler_pic_GCJ in
   17279      "" | " "*) ;;
   17280      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17281      esac
   17282 else
   17283     lt_prog_compiler_pic_GCJ=
   17284      lt_prog_compiler_can_build_shared_GCJ=no
   17285 fi
   17286 
   17287 fi
   17288 case $host_os in
   17289   # For platforms which do not support PIC, -DPIC is meaningless:
   17290   *djgpp*)
   17291     lt_prog_compiler_pic_GCJ=
   17292     ;;
   17293   *)
   17294     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17295     ;;
   17296 esac
   17297 
   17298 #
   17299 # Check to make sure the static flag actually works.
   17300 #
   17301 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17302 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17303 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17304 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17305   $as_echo_n "(cached) " >&6
   17306 else
   17307   lt_cv_prog_compiler_static_works_GCJ=no
   17308    save_LDFLAGS="$LDFLAGS"
   17309    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17310    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17311    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17312      # The linker can only warn and ignore the option if not recognized
   17313      # So say no if there are warnings
   17314      if test -s conftest.err; then
   17315        # Append any errors to the config.log.
   17316        cat conftest.err 1>&5
   17317        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17318        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17319        if diff conftest.exp conftest.er2 >/dev/null; then
   17320          lt_cv_prog_compiler_static_works_GCJ=yes
   17321        fi
   17322      else
   17323        lt_cv_prog_compiler_static_works_GCJ=yes
   17324      fi
   17325    fi
   17326    $rm -r conftest*
   17327    LDFLAGS="$save_LDFLAGS"
   17328 
   17329 fi
   17330 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17331 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17332 
   17333 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17334     :
   17335 else
   17336     lt_prog_compiler_static_GCJ=
   17337 fi
   17338 
   17339 
   17340 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17341 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17342 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17343   $as_echo_n "(cached) " >&6
   17344 else
   17345   lt_cv_prog_compiler_c_o_GCJ=no
   17346    $rm -r conftest 2>/dev/null
   17347    mkdir conftest
   17348    cd conftest
   17349    mkdir out
   17350    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17351 
   17352    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17353    # Insert the option either (1) after the last *FLAGS variable, or
   17354    # (2) before a word containing "conftest.", or (3) at the end.
   17355    # Note that $ac_compile itself does not contain backslashes and begins
   17356    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17357    lt_compile=`echo "$ac_compile" | $SED \
   17358    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17359    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17360    -e 's:$: $lt_compiler_flag:'`
   17361    (eval echo "\"\$as_me:17361: $lt_compile\"" >&5)
   17362    (eval "$lt_compile" 2>out/conftest.err)
   17363    ac_status=$?
   17364    cat out/conftest.err >&5
   17365    echo "$as_me:17365: \$? = $ac_status" >&5
   17366    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17367    then
   17368      # The compiler can only warn and ignore the option if not recognized
   17369      # So say no if there are warnings
   17370      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17371      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17372      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17373        lt_cv_prog_compiler_c_o_GCJ=yes
   17374      fi
   17375    fi
   17376    chmod u+w . 2>&5
   17377    $rm conftest*
   17378    # SGI C++ compiler will create directory out/ii_files/ for
   17379    # template instantiation
   17380    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17381    $rm out/* && rmdir out
   17382    cd ..
   17383    rmdir conftest
   17384    $rm conftest*
   17385 
   17386 fi
   17387 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17388 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17389 
   17390 
   17391 hard_links="nottested"
   17392 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17393   # do not overwrite the value of need_locks provided by the user
   17394   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17395 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17396   hard_links=yes
   17397   $rm conftest*
   17398   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17399   touch conftest.a
   17400   ln conftest.a conftest.b 2>&5 || hard_links=no
   17401   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17402   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17403 $as_echo "$hard_links" >&6; }
   17404   if test "$hard_links" = no; then
   17405     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17406 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17407     need_locks=warn
   17408   fi
   17409 else
   17410   need_locks=no
   17411 fi
   17412 
   17413 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17414 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17415 
   17416   runpath_var=
   17417   allow_undefined_flag_GCJ=
   17418   enable_shared_with_static_runtimes_GCJ=no
   17419   archive_cmds_GCJ=
   17420   archive_expsym_cmds_GCJ=
   17421   old_archive_From_new_cmds_GCJ=
   17422   old_archive_from_expsyms_cmds_GCJ=
   17423   export_dynamic_flag_spec_GCJ=
   17424   whole_archive_flag_spec_GCJ=
   17425   thread_safe_flag_spec_GCJ=
   17426   hardcode_libdir_flag_spec_GCJ=
   17427   hardcode_libdir_flag_spec_ld_GCJ=
   17428   hardcode_libdir_separator_GCJ=
   17429   hardcode_direct_GCJ=no
   17430   hardcode_minus_L_GCJ=no
   17431   hardcode_shlibpath_var_GCJ=unsupported
   17432   link_all_deplibs_GCJ=unknown
   17433   hardcode_automatic_GCJ=no
   17434   module_cmds_GCJ=
   17435   module_expsym_cmds_GCJ=
   17436   always_export_symbols_GCJ=no
   17437   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17438   # include_expsyms should be a list of space-separated symbols to be *always*
   17439   # included in the symbol list
   17440   include_expsyms_GCJ=
   17441   # exclude_expsyms can be an extended regexp of symbols to exclude
   17442   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17443   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17444   # as well as any symbol that contains `d'.
   17445   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17446   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17447   # platforms (ab)use it in PIC code, but their linkers get confused if
   17448   # the symbol is explicitly referenced.  Since portable code cannot
   17449   # rely on this symbol name, it's probably fine to never include it in
   17450   # preloaded symbol tables.
   17451   # Exclude shared library initialization/finalization symbols.
   17452   extract_expsyms_cmds=
   17453   # Just being paranoid about ensuring that cc_basename is set.
   17454   for cc_temp in $compiler""; do
   17455   case $cc_temp in
   17456     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17457     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17458     \-*) ;;
   17459     *) break;;
   17460   esac
   17461 done
   17462 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17463 
   17464   case $host_os in
   17465   cygwin* | mingw* | pw32*)
   17466     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17467     # When not using gcc, we currently assume that we are using
   17468     # Microsoft Visual C++.
   17469     if test "$GCC" != yes; then
   17470       with_gnu_ld=no
   17471     fi
   17472     ;;
   17473   interix*)
   17474     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17475     with_gnu_ld=yes
   17476     ;;
   17477   openbsd*)
   17478     with_gnu_ld=no
   17479     ;;
   17480   esac
   17481 
   17482   ld_shlibs_GCJ=yes
   17483   if test "$with_gnu_ld" = yes; then
   17484     # If archive_cmds runs LD, not CC, wlarc should be empty
   17485     wlarc='${wl}'
   17486 
   17487     # Set some defaults for GNU ld with shared library support. These
   17488     # are reset later if shared libraries are not supported. Putting them
   17489     # here allows them to be overridden if necessary.
   17490     runpath_var=LD_RUN_PATH
   17491     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17492     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17493     # ancient GNU ld didn't support --whole-archive et. al.
   17494     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17495 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17496       else
   17497   	whole_archive_flag_spec_GCJ=
   17498     fi
   17499     supports_anon_versioning=no
   17500     case `$LD -v 2>/dev/null` in
   17501       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17502       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17503       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17504       *\ 2.11.*) ;; # other 2.11 versions
   17505       *) supports_anon_versioning=yes ;;
   17506     esac
   17507 
   17508     # See if GNU ld supports shared libraries.
   17509     case $host_os in
   17510     aix[3-9]*)
   17511       # On AIX/PPC, the GNU linker is very broken
   17512       if test "$host_cpu" != ia64; then
   17513 	ld_shlibs_GCJ=no
   17514 	cat <<EOF 1>&2
   17515 
   17516 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17517 *** to be unable to reliably create shared libraries on AIX.
   17518 *** Therefore, libtool is disabling shared libraries support.  If you
   17519 *** really care for shared libraries, you may want to modify your PATH
   17520 *** so that a non-GNU linker is found, and then restart.
   17521 
   17522 EOF
   17523       fi
   17524       ;;
   17525 
   17526     amigaos*)
   17527       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)'
   17528       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17529       hardcode_minus_L_GCJ=yes
   17530 
   17531       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17532       # that the semantics of dynamic libraries on AmigaOS, at least up
   17533       # to version 4, is to share data among multiple programs linked
   17534       # with the same dynamic library.  Since this doesn't match the
   17535       # behavior of shared libraries on other platforms, we can't use
   17536       # them.
   17537       ld_shlibs_GCJ=no
   17538       ;;
   17539 
   17540     beos*)
   17541       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17542 	allow_undefined_flag_GCJ=unsupported
   17543 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17544 	# support --undefined.  This deserves some investigation.  FIXME
   17545 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17546       else
   17547 	ld_shlibs_GCJ=no
   17548       fi
   17549       ;;
   17550 
   17551     cygwin* | mingw* | pw32*)
   17552       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17553       # as there is no search path for DLLs.
   17554       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17555       allow_undefined_flag_GCJ=unsupported
   17556       always_export_symbols_GCJ=no
   17557       enable_shared_with_static_runtimes_GCJ=yes
   17558       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17559 
   17560       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17561         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17562 	# If the export-symbols file already is a .def file (1st line
   17563 	# is EXPORTS), use it as is; otherwise, prepend...
   17564 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17565 	  cp $export_symbols $output_objdir/$soname.def;
   17566 	else
   17567 	  echo EXPORTS > $output_objdir/$soname.def;
   17568 	  cat $export_symbols >> $output_objdir/$soname.def;
   17569 	fi~
   17570 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17571       else
   17572 	ld_shlibs_GCJ=no
   17573       fi
   17574       ;;
   17575 
   17576     interix[3-9]*)
   17577       hardcode_direct_GCJ=no
   17578       hardcode_shlibpath_var_GCJ=no
   17579       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17580       export_dynamic_flag_spec_GCJ='${wl}-E'
   17581       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17582       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17583       # default) and relocated if they conflict, which is a slow very memory
   17584       # consuming and fragmenting process.  To avoid this, we pick a random,
   17585       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17586       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17587       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'
   17588       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'
   17589       ;;
   17590 
   17591     gnu* | linux* | k*bsd*-gnu)
   17592       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17593 	tmp_addflag=
   17594 	case $cc_basename,$host_cpu in
   17595 	pgcc*)				# Portland Group C compiler
   17596 	  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'
   17597 	  tmp_addflag=' $pic_flag'
   17598 	  ;;
   17599 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17600 	  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'
   17601 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17602 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17603 	  tmp_addflag=' -i_dynamic' ;;
   17604 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17605 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17606 	ifc* | ifort*)			# Intel Fortran compiler
   17607 	  tmp_addflag=' -nofor_main' ;;
   17608 	esac
   17609 	case `$CC -V 2>&1 | sed 5q` in
   17610 	*Sun\ C*)			# Sun C 5.9
   17611 	  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'
   17612 	  tmp_sharedflag='-G' ;;
   17613 	*Sun\ F*)			# Sun Fortran 8.3
   17614 	  tmp_sharedflag='-G' ;;
   17615 	*)
   17616 	  tmp_sharedflag='-shared' ;;
   17617 	esac
   17618 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17619 
   17620 	if test $supports_anon_versioning = yes; then
   17621 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17622   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17623   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17624 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17625 	fi
   17626       else
   17627 	ld_shlibs_GCJ=no
   17628       fi
   17629       ;;
   17630 
   17631     netbsd*)
   17632       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17633 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17634 	wlarc=
   17635       else
   17636 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17637 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17638       fi
   17639       ;;
   17640 
   17641     solaris*)
   17642       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17643 	ld_shlibs_GCJ=no
   17644 	cat <<EOF 1>&2
   17645 
   17646 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17647 *** create shared libraries on Solaris systems.  Therefore, libtool
   17648 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17649 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17650 *** your PATH or compiler configuration so that the native linker is
   17651 *** used, and then restart.
   17652 
   17653 EOF
   17654       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17655 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17656 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17657       else
   17658 	ld_shlibs_GCJ=no
   17659       fi
   17660       ;;
   17661 
   17662     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17663       case `$LD -v 2>&1` in
   17664         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17665 	ld_shlibs_GCJ=no
   17666 	cat <<_LT_EOF 1>&2
   17667 
   17668 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17669 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17670 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17671 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17672 *** your PATH or compiler configuration so that the native linker is
   17673 *** used, and then restart.
   17674 
   17675 _LT_EOF
   17676 	;;
   17677 	*)
   17678 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17679 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17680 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17681 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17682 	  else
   17683 	    ld_shlibs_GCJ=no
   17684 	  fi
   17685 	;;
   17686       esac
   17687       ;;
   17688 
   17689     sunos4*)
   17690       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17691       wlarc=
   17692       hardcode_direct_GCJ=yes
   17693       hardcode_shlibpath_var_GCJ=no
   17694       ;;
   17695 
   17696     *)
   17697       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17698 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17699 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17700       else
   17701 	ld_shlibs_GCJ=no
   17702       fi
   17703       ;;
   17704     esac
   17705 
   17706     if test "$ld_shlibs_GCJ" = no; then
   17707       runpath_var=
   17708       hardcode_libdir_flag_spec_GCJ=
   17709       export_dynamic_flag_spec_GCJ=
   17710       whole_archive_flag_spec_GCJ=
   17711     fi
   17712   else
   17713     # PORTME fill in a description of your system's linker (not GNU ld)
   17714     case $host_os in
   17715     aix3*)
   17716       allow_undefined_flag_GCJ=unsupported
   17717       always_export_symbols_GCJ=yes
   17718       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'
   17719       # Note: this linker hardcodes the directories in LIBPATH if there
   17720       # are no directories specified by -L.
   17721       hardcode_minus_L_GCJ=yes
   17722       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17723 	# Neither direct hardcoding nor static linking is supported with a
   17724 	# broken collect2.
   17725 	hardcode_direct_GCJ=unsupported
   17726       fi
   17727       ;;
   17728 
   17729     aix[4-9]*)
   17730       if test "$host_cpu" = ia64; then
   17731 	# On IA64, the linker does run time linking by default, so we don't
   17732 	# have to do anything special.
   17733 	aix_use_runtimelinking=no
   17734 	exp_sym_flag='-Bexport'
   17735 	no_entry_flag=""
   17736       else
   17737 	# If we're using GNU nm, then we don't want the "-C" option.
   17738 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17739 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17740 	  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'
   17741 	else
   17742 	  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'
   17743 	fi
   17744 	aix_use_runtimelinking=no
   17745 
   17746 	# Test if we are trying to use run time linking or normal
   17747 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17748 	# need to do runtime linking.
   17749 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17750 	  for ld_flag in $LDFLAGS; do
   17751   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17752   	    aix_use_runtimelinking=yes
   17753   	    break
   17754   	  fi
   17755 	  done
   17756 	  ;;
   17757 	esac
   17758 
   17759 	exp_sym_flag='-bexport'
   17760 	no_entry_flag='-bnoentry'
   17761       fi
   17762 
   17763       # When large executables or shared objects are built, AIX ld can
   17764       # have problems creating the table of contents.  If linking a library
   17765       # or program results in "error TOC overflow" add -mminimal-toc to
   17766       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17767       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17768 
   17769       archive_cmds_GCJ=''
   17770       hardcode_direct_GCJ=yes
   17771       hardcode_libdir_separator_GCJ=':'
   17772       link_all_deplibs_GCJ=yes
   17773 
   17774       if test "$GCC" = yes; then
   17775 	case $host_os in aix4.[012]|aix4.[012].*)
   17776 	# We only want to do this on AIX 4.2 and lower, the check
   17777 	# below for broken collect2 doesn't work under 4.3+
   17778 	  collect2name=`${CC} -print-prog-name=collect2`
   17779 	  if test -f "$collect2name" && \
   17780   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17781 	  then
   17782   	  # We have reworked collect2
   17783   	  :
   17784 	  else
   17785   	  # We have old collect2
   17786   	  hardcode_direct_GCJ=unsupported
   17787   	  # It fails to find uninstalled libraries when the uninstalled
   17788   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17789   	  # to unsupported forces relinking
   17790   	  hardcode_minus_L_GCJ=yes
   17791   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17792   	  hardcode_libdir_separator_GCJ=
   17793 	  fi
   17794 	  ;;
   17795 	esac
   17796 	shared_flag='-shared'
   17797 	if test "$aix_use_runtimelinking" = yes; then
   17798 	  shared_flag="$shared_flag "'${wl}-G'
   17799 	fi
   17800       else
   17801 	# not using gcc
   17802 	if test "$host_cpu" = ia64; then
   17803   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17804   	# chokes on -Wl,-G. The following line is correct:
   17805 	  shared_flag='-G'
   17806 	else
   17807 	  if test "$aix_use_runtimelinking" = yes; then
   17808 	    shared_flag='${wl}-G'
   17809 	  else
   17810 	    shared_flag='${wl}-bM:SRE'
   17811 	  fi
   17812 	fi
   17813       fi
   17814 
   17815       # It seems that -bexpall does not export symbols beginning with
   17816       # underscore (_), so it is better to generate a list of symbols to export.
   17817       always_export_symbols_GCJ=yes
   17818       if test "$aix_use_runtimelinking" = yes; then
   17819 	# Warning - without using the other runtime loading flags (-brtl),
   17820 	# -berok will link without error, but may produce a broken library.
   17821 	allow_undefined_flag_GCJ='-berok'
   17822        # Determine the default libpath from the value encoded in an empty executable.
   17823        cat >conftest.$ac_ext <<_ACEOF
   17824 /* confdefs.h.  */
   17825 _ACEOF
   17826 cat confdefs.h >>conftest.$ac_ext
   17827 cat >>conftest.$ac_ext <<_ACEOF
   17828 /* end confdefs.h.  */
   17829 
   17830 int
   17831 main ()
   17832 {
   17833 
   17834   ;
   17835   return 0;
   17836 }
   17837 _ACEOF
   17838 rm -f conftest.$ac_objext conftest$ac_exeext
   17839 if { (ac_try="$ac_link"
   17840 case "(($ac_try" in
   17841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17842   *) ac_try_echo=$ac_try;;
   17843 esac
   17844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17845 $as_echo "$ac_try_echo") >&5
   17846   (eval "$ac_link") 2>conftest.er1
   17847   ac_status=$?
   17848   grep -v '^ *+' conftest.er1 >conftest.err
   17849   rm -f conftest.er1
   17850   cat conftest.err >&5
   17851   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17852   (exit $ac_status); } && {
   17853 	 test -z "$ac_c_werror_flag" ||
   17854 	 test ! -s conftest.err
   17855        } && test -s conftest$ac_exeext && {
   17856 	 test "$cross_compiling" = yes ||
   17857 	 $as_test_x conftest$ac_exeext
   17858        }; then
   17859 
   17860 lt_aix_libpath_sed='
   17861     /Import File Strings/,/^$/ {
   17862 	/^0/ {
   17863 	    s/^0  *\(.*\)$/\1/
   17864 	    p
   17865 	}
   17866     }'
   17867 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17868 # Check for a 64-bit object if we didn't find anything.
   17869 if test -z "$aix_libpath"; then
   17870   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17871 fi
   17872 else
   17873   $as_echo "$as_me: failed program was:" >&5
   17874 sed 's/^/| /' conftest.$ac_ext >&5
   17875 
   17876 
   17877 fi
   17878 
   17879 rm -rf conftest.dSYM
   17880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17881       conftest$ac_exeext conftest.$ac_ext
   17882 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17883 
   17884        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17885 	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"
   17886        else
   17887 	if test "$host_cpu" = ia64; then
   17888 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17889 	  allow_undefined_flag_GCJ="-z nodefs"
   17890 	  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"
   17891 	else
   17892 	 # Determine the default libpath from the value encoded in an empty executable.
   17893 	 cat >conftest.$ac_ext <<_ACEOF
   17894 /* confdefs.h.  */
   17895 _ACEOF
   17896 cat confdefs.h >>conftest.$ac_ext
   17897 cat >>conftest.$ac_ext <<_ACEOF
   17898 /* end confdefs.h.  */
   17899 
   17900 int
   17901 main ()
   17902 {
   17903 
   17904   ;
   17905   return 0;
   17906 }
   17907 _ACEOF
   17908 rm -f conftest.$ac_objext conftest$ac_exeext
   17909 if { (ac_try="$ac_link"
   17910 case "(($ac_try" in
   17911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17912   *) ac_try_echo=$ac_try;;
   17913 esac
   17914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17915 $as_echo "$ac_try_echo") >&5
   17916   (eval "$ac_link") 2>conftest.er1
   17917   ac_status=$?
   17918   grep -v '^ *+' conftest.er1 >conftest.err
   17919   rm -f conftest.er1
   17920   cat conftest.err >&5
   17921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17922   (exit $ac_status); } && {
   17923 	 test -z "$ac_c_werror_flag" ||
   17924 	 test ! -s conftest.err
   17925        } && test -s conftest$ac_exeext && {
   17926 	 test "$cross_compiling" = yes ||
   17927 	 $as_test_x conftest$ac_exeext
   17928        }; then
   17929 
   17930 lt_aix_libpath_sed='
   17931     /Import File Strings/,/^$/ {
   17932 	/^0/ {
   17933 	    s/^0  *\(.*\)$/\1/
   17934 	    p
   17935 	}
   17936     }'
   17937 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17938 # Check for a 64-bit object if we didn't find anything.
   17939 if test -z "$aix_libpath"; then
   17940   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17941 fi
   17942 else
   17943   $as_echo "$as_me: failed program was:" >&5
   17944 sed 's/^/| /' conftest.$ac_ext >&5
   17945 
   17946 
   17947 fi
   17948 
   17949 rm -rf conftest.dSYM
   17950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17951       conftest$ac_exeext conftest.$ac_ext
   17952 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17953 
   17954 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17955 	  # Warning - without using the other run time loading flags,
   17956 	  # -berok will link without error, but may produce a broken library.
   17957 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17958 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17959 	  # Exported symbols can be pulled into shared objects from archives
   17960 	  whole_archive_flag_spec_GCJ='$convenience'
   17961 	  archive_cmds_need_lc_GCJ=yes
   17962 	  # This is similar to how AIX traditionally builds its shared libraries.
   17963 	  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'
   17964 	fi
   17965       fi
   17966       ;;
   17967 
   17968     amigaos*)
   17969       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)'
   17970       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17971       hardcode_minus_L_GCJ=yes
   17972       # see comment about different semantics on the GNU ld section
   17973       ld_shlibs_GCJ=no
   17974       ;;
   17975 
   17976     bsdi[45]*)
   17977       export_dynamic_flag_spec_GCJ=-rdynamic
   17978       ;;
   17979 
   17980     cygwin* | mingw* | pw32*)
   17981       # When not using gcc, we currently assume that we are using
   17982       # Microsoft Visual C++.
   17983       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17984       # no search path for DLLs.
   17985       hardcode_libdir_flag_spec_GCJ=' '
   17986       allow_undefined_flag_GCJ=unsupported
   17987       # Tell ltmain to make .lib files, not .a files.
   17988       libext=lib
   17989       # Tell ltmain to make .dll files, not .so files.
   17990       shrext_cmds=".dll"
   17991       # FIXME: Setting linknames here is a bad hack.
   17992       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17993       # The linker will automatically build a .lib file if we build a DLL.
   17994       old_archive_From_new_cmds_GCJ='true'
   17995       # FIXME: Should let the user specify the lib program.
   17996       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17997       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17998       enable_shared_with_static_runtimes_GCJ=yes
   17999       ;;
   18000 
   18001     darwin* | rhapsody*)
   18002       case $host_os in
   18003         rhapsody* | darwin1.[012])
   18004          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18005          ;;
   18006        *) # Darwin 1.3 on
   18007          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18008            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18009          else
   18010            case ${MACOSX_DEPLOYMENT_TARGET} in
   18011              10.[012])
   18012                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18013                ;;
   18014              10.*)
   18015                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18016                ;;
   18017            esac
   18018          fi
   18019          ;;
   18020       esac
   18021       archive_cmds_need_lc_GCJ=no
   18022       hardcode_direct_GCJ=no
   18023       hardcode_automatic_GCJ=yes
   18024       hardcode_shlibpath_var_GCJ=unsupported
   18025       whole_archive_flag_spec_GCJ=''
   18026       link_all_deplibs_GCJ=yes
   18027     if test "$GCC" = yes ; then
   18028     	output_verbose_link_cmd='echo'
   18029         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}"
   18030         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18031         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}"
   18032         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}"
   18033     else
   18034       case $cc_basename in
   18035         xlc*)
   18036          output_verbose_link_cmd='echo'
   18037          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18038          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18039           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18040          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}'
   18041           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}'
   18042           ;;
   18043        *)
   18044          ld_shlibs_GCJ=no
   18045           ;;
   18046       esac
   18047     fi
   18048       ;;
   18049 
   18050     dgux*)
   18051       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18052       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18053       hardcode_shlibpath_var_GCJ=no
   18054       ;;
   18055 
   18056     freebsd1*)
   18057       ld_shlibs_GCJ=no
   18058       ;;
   18059 
   18060     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18061     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18062     # does not break anything, and helps significantly (at the cost of a little
   18063     # extra space).
   18064     freebsd2.2*)
   18065       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18066       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18067       hardcode_direct_GCJ=yes
   18068       hardcode_shlibpath_var_GCJ=no
   18069       ;;
   18070 
   18071     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18072     freebsd2*)
   18073       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18074       hardcode_direct_GCJ=yes
   18075       hardcode_minus_L_GCJ=yes
   18076       hardcode_shlibpath_var_GCJ=no
   18077       ;;
   18078 
   18079     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18080     freebsd* | dragonfly*)
   18081       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18082       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18083       hardcode_direct_GCJ=yes
   18084       hardcode_shlibpath_var_GCJ=no
   18085       ;;
   18086 
   18087     hpux9*)
   18088       if test "$GCC" = yes; then
   18089 	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'
   18090       else
   18091 	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'
   18092       fi
   18093       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18094       hardcode_libdir_separator_GCJ=:
   18095       hardcode_direct_GCJ=yes
   18096 
   18097       # hardcode_minus_L: Not really in the search PATH,
   18098       # but as the default location of the library.
   18099       hardcode_minus_L_GCJ=yes
   18100       export_dynamic_flag_spec_GCJ='${wl}-E'
   18101       ;;
   18102 
   18103     hpux10*)
   18104       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18105 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18106       else
   18107 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18108       fi
   18109       if test "$with_gnu_ld" = no; then
   18110 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18111 	hardcode_libdir_separator_GCJ=:
   18112 
   18113 	hardcode_direct_GCJ=yes
   18114 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18115 
   18116 	# hardcode_minus_L: Not really in the search PATH,
   18117 	# but as the default location of the library.
   18118 	hardcode_minus_L_GCJ=yes
   18119       fi
   18120       ;;
   18121 
   18122     hpux11*)
   18123       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18124 	case $host_cpu in
   18125 	hppa*64*)
   18126 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18127 	  ;;
   18128 	ia64*)
   18129 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18130 	  ;;
   18131 	*)
   18132 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18133 	  ;;
   18134 	esac
   18135       else
   18136 	case $host_cpu in
   18137 	hppa*64*)
   18138 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18139 	  ;;
   18140 	ia64*)
   18141 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18142 	  ;;
   18143 	*)
   18144 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18145 	  ;;
   18146 	esac
   18147       fi
   18148       if test "$with_gnu_ld" = no; then
   18149 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18150 	hardcode_libdir_separator_GCJ=:
   18151 
   18152 	case $host_cpu in
   18153 	hppa*64*|ia64*)
   18154 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18155 	  hardcode_direct_GCJ=no
   18156 	  hardcode_shlibpath_var_GCJ=no
   18157 	  ;;
   18158 	*)
   18159 	  hardcode_direct_GCJ=yes
   18160 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18161 
   18162 	  # hardcode_minus_L: Not really in the search PATH,
   18163 	  # but as the default location of the library.
   18164 	  hardcode_minus_L_GCJ=yes
   18165 	  ;;
   18166 	esac
   18167       fi
   18168       ;;
   18169 
   18170     irix5* | irix6* | nonstopux*)
   18171       if test "$GCC" = yes; then
   18172 	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'
   18173       else
   18174 	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'
   18175 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18176       fi
   18177       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18178       hardcode_libdir_separator_GCJ=:
   18179       link_all_deplibs_GCJ=yes
   18180       ;;
   18181 
   18182     netbsd*)
   18183       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18184 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18185       else
   18186 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18187       fi
   18188       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18189       hardcode_direct_GCJ=yes
   18190       hardcode_shlibpath_var_GCJ=no
   18191       ;;
   18192 
   18193     newsos6)
   18194       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18195       hardcode_direct_GCJ=yes
   18196       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18197       hardcode_libdir_separator_GCJ=:
   18198       hardcode_shlibpath_var_GCJ=no
   18199       ;;
   18200 
   18201     openbsd*)
   18202       if test -f /usr/libexec/ld.so; then
   18203 	hardcode_direct_GCJ=yes
   18204 	hardcode_shlibpath_var_GCJ=no
   18205 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18206 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18207 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18208 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18209 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18210 	else
   18211 	  case $host_os in
   18212 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18213 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18214 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18215 	     ;;
   18216 	   *)
   18217 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18218 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18219 	     ;;
   18220 	  esac
   18221         fi
   18222       else
   18223 	ld_shlibs_GCJ=no
   18224       fi
   18225       ;;
   18226 
   18227     os2*)
   18228       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18229       hardcode_minus_L_GCJ=yes
   18230       allow_undefined_flag_GCJ=unsupported
   18231       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'
   18232       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18233       ;;
   18234 
   18235     osf3*)
   18236       if test "$GCC" = yes; then
   18237 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18238 	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'
   18239       else
   18240 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18241 	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'
   18242       fi
   18243       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18244       hardcode_libdir_separator_GCJ=:
   18245       ;;
   18246 
   18247     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   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}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18251 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18252       else
   18253 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18254 	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'
   18255 	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~
   18256 	$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'
   18257 
   18258 	# Both c and cxx compiler support -rpath directly
   18259 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18260       fi
   18261       hardcode_libdir_separator_GCJ=:
   18262       ;;
   18263 
   18264     solaris*)
   18265       no_undefined_flag_GCJ=' -z text'
   18266       if test "$GCC" = yes; then
   18267 	wlarc='${wl}'
   18268 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18269 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18270 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18271       else
   18272 	wlarc=''
   18273 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18274 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18275   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18276       fi
   18277       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18278       hardcode_shlibpath_var_GCJ=no
   18279       case $host_os in
   18280       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18281       *)
   18282 	# The compiler driver will combine and reorder linker options,
   18283 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18284 	# but is careful enough not to reorder.
   18285  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18286 	if test "$GCC" = yes; then
   18287 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18288 	else
   18289 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18290 	fi
   18291 	;;
   18292       esac
   18293       link_all_deplibs_GCJ=yes
   18294       ;;
   18295 
   18296     sunos4*)
   18297       if test "x$host_vendor" = xsequent; then
   18298 	# Use $CC to link under sequent, because it throws in some extra .o
   18299 	# files that make .init and .fini sections work.
   18300 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18301       else
   18302 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18303       fi
   18304       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18305       hardcode_direct_GCJ=yes
   18306       hardcode_minus_L_GCJ=yes
   18307       hardcode_shlibpath_var_GCJ=no
   18308       ;;
   18309 
   18310     sysv4)
   18311       case $host_vendor in
   18312 	sni)
   18313 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18314 	  hardcode_direct_GCJ=yes # is this really true???
   18315 	;;
   18316 	siemens)
   18317 	  ## LD is ld it makes a PLAMLIB
   18318 	  ## CC just makes a GrossModule.
   18319 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18320 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18321 	  hardcode_direct_GCJ=no
   18322         ;;
   18323 	motorola)
   18324 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18325 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18326 	;;
   18327       esac
   18328       runpath_var='LD_RUN_PATH'
   18329       hardcode_shlibpath_var_GCJ=no
   18330       ;;
   18331 
   18332     sysv4.3*)
   18333       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18334       hardcode_shlibpath_var_GCJ=no
   18335       export_dynamic_flag_spec_GCJ='-Bexport'
   18336       ;;
   18337 
   18338     sysv4*MP*)
   18339       if test -d /usr/nec; then
   18340 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18341 	hardcode_shlibpath_var_GCJ=no
   18342 	runpath_var=LD_RUN_PATH
   18343 	hardcode_runpath_var=yes
   18344 	ld_shlibs_GCJ=yes
   18345       fi
   18346       ;;
   18347 
   18348     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18349       no_undefined_flag_GCJ='${wl}-z,text'
   18350       archive_cmds_need_lc_GCJ=no
   18351       hardcode_shlibpath_var_GCJ=no
   18352       runpath_var='LD_RUN_PATH'
   18353 
   18354       if test "$GCC" = yes; then
   18355 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18356 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18357       else
   18358 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18359 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18360       fi
   18361       ;;
   18362 
   18363     sysv5* | sco3.2v5* | sco5v6*)
   18364       # Note: We can NOT use -z defs as we might desire, because we do not
   18365       # link with -lc, and that would cause any symbols used from libc to
   18366       # always be unresolved, which means just about no library would
   18367       # ever link correctly.  If we're not using GNU ld we use -z text
   18368       # though, which does catch some bad symbols but isn't as heavy-handed
   18369       # as -z defs.
   18370       no_undefined_flag_GCJ='${wl}-z,text'
   18371       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18372       archive_cmds_need_lc_GCJ=no
   18373       hardcode_shlibpath_var_GCJ=no
   18374       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18375       hardcode_libdir_separator_GCJ=':'
   18376       link_all_deplibs_GCJ=yes
   18377       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18378       runpath_var='LD_RUN_PATH'
   18379 
   18380       if test "$GCC" = yes; then
   18381 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18382 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18383       else
   18384 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18385 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18386       fi
   18387       ;;
   18388 
   18389     uts4*)
   18390       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18391       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18392       hardcode_shlibpath_var_GCJ=no
   18393       ;;
   18394 
   18395     *)
   18396       ld_shlibs_GCJ=no
   18397       ;;
   18398     esac
   18399   fi
   18400 
   18401 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18402 $as_echo "$ld_shlibs_GCJ" >&6; }
   18403 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18404 
   18405 #
   18406 # Do we need to explicitly link libc?
   18407 #
   18408 case "x$archive_cmds_need_lc_GCJ" in
   18409 x|xyes)
   18410   # Assume -lc should be added
   18411   archive_cmds_need_lc_GCJ=yes
   18412 
   18413   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18414     case $archive_cmds_GCJ in
   18415     *'~'*)
   18416       # FIXME: we may have to deal with multi-command sequences.
   18417       ;;
   18418     '$CC '*)
   18419       # Test whether the compiler implicitly links with -lc since on some
   18420       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18421       # to ld, don't add -lc before -lgcc.
   18422       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18423 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18424       $rm conftest*
   18425       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18426 
   18427       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18428   (eval $ac_compile) 2>&5
   18429   ac_status=$?
   18430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18431   (exit $ac_status); } 2>conftest.err; then
   18432         soname=conftest
   18433         lib=conftest
   18434         libobjs=conftest.$ac_objext
   18435         deplibs=
   18436         wl=$lt_prog_compiler_wl_GCJ
   18437 	pic_flag=$lt_prog_compiler_pic_GCJ
   18438         compiler_flags=-v
   18439         linker_flags=-v
   18440         verstring=
   18441         output_objdir=.
   18442         libname=conftest
   18443         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18444         allow_undefined_flag_GCJ=
   18445         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18446   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18447   ac_status=$?
   18448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18449   (exit $ac_status); }
   18450         then
   18451 	  archive_cmds_need_lc_GCJ=no
   18452         else
   18453 	  archive_cmds_need_lc_GCJ=yes
   18454         fi
   18455         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18456       else
   18457         cat conftest.err 1>&5
   18458       fi
   18459       $rm conftest*
   18460       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18461 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18462       ;;
   18463     esac
   18464   fi
   18465   ;;
   18466 esac
   18467 
   18468 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18469 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18470 library_names_spec=
   18471 libname_spec='lib$name'
   18472 soname_spec=
   18473 shrext_cmds=".so"
   18474 postinstall_cmds=
   18475 postuninstall_cmds=
   18476 finish_cmds=
   18477 finish_eval=
   18478 shlibpath_var=
   18479 shlibpath_overrides_runpath=unknown
   18480 version_type=none
   18481 dynamic_linker="$host_os ld.so"
   18482 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18483 
   18484 need_lib_prefix=unknown
   18485 hardcode_into_libs=no
   18486 
   18487 # when you set need_version to no, make sure it does not cause -set_version
   18488 # flags to be left without arguments
   18489 need_version=unknown
   18490 
   18491 case $host_os in
   18492 aix3*)
   18493   version_type=linux
   18494   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18495   shlibpath_var=LIBPATH
   18496 
   18497   # AIX 3 has no versioning support, so we append a major version to the name.
   18498   soname_spec='${libname}${release}${shared_ext}$major'
   18499   ;;
   18500 
   18501 aix[4-9]*)
   18502   version_type=linux
   18503   need_lib_prefix=no
   18504   need_version=no
   18505   hardcode_into_libs=yes
   18506   if test "$host_cpu" = ia64; then
   18507     # AIX 5 supports IA64
   18508     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18509     shlibpath_var=LD_LIBRARY_PATH
   18510   else
   18511     # With GCC up to 2.95.x, collect2 would create an import file
   18512     # for dependence libraries.  The import file would start with
   18513     # the line `#! .'.  This would cause the generated library to
   18514     # depend on `.', always an invalid library.  This was fixed in
   18515     # development snapshots of GCC prior to 3.0.
   18516     case $host_os in
   18517       aix4 | aix4.[01] | aix4.[01].*)
   18518       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18519 	   echo ' yes '
   18520 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18521 	:
   18522       else
   18523 	can_build_shared=no
   18524       fi
   18525       ;;
   18526     esac
   18527     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18528     # soname into executable. Probably we can add versioning support to
   18529     # collect2, so additional links can be useful in future.
   18530     if test "$aix_use_runtimelinking" = yes; then
   18531       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18532       # instead of lib<name>.a to let people know that these are not
   18533       # typical AIX shared libraries.
   18534       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18535     else
   18536       # We preserve .a as extension for shared libraries through AIX4.2
   18537       # and later when we are not doing run time linking.
   18538       library_names_spec='${libname}${release}.a $libname.a'
   18539       soname_spec='${libname}${release}${shared_ext}$major'
   18540     fi
   18541     shlibpath_var=LIBPATH
   18542   fi
   18543   ;;
   18544 
   18545 amigaos*)
   18546   library_names_spec='$libname.ixlibrary $libname.a'
   18547   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18548   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   18549   ;;
   18550 
   18551 beos*)
   18552   library_names_spec='${libname}${shared_ext}'
   18553   dynamic_linker="$host_os ld.so"
   18554   shlibpath_var=LIBRARY_PATH
   18555   ;;
   18556 
   18557 bsdi[45]*)
   18558   version_type=linux
   18559   need_version=no
   18560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18561   soname_spec='${libname}${release}${shared_ext}$major'
   18562   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18563   shlibpath_var=LD_LIBRARY_PATH
   18564   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18565   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18566   # the default ld.so.conf also contains /usr/contrib/lib and
   18567   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18568   # libtool to hard-code these into programs
   18569   ;;
   18570 
   18571 cygwin* | mingw* | pw32*)
   18572   version_type=windows
   18573   shrext_cmds=".dll"
   18574   need_version=no
   18575   need_lib_prefix=no
   18576 
   18577   case $GCC,$host_os in
   18578   yes,cygwin* | yes,mingw* | yes,pw32*)
   18579     library_names_spec='$libname.dll.a'
   18580     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18581     postinstall_cmds='base_file=`basename \${file}`~
   18582       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18583       dldir=$destdir/`dirname \$dlpath`~
   18584       test -d \$dldir || mkdir -p \$dldir~
   18585       $install_prog $dir/$dlname \$dldir/$dlname~
   18586       chmod a+x \$dldir/$dlname'
   18587     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18588       dlpath=$dir/\$dldll~
   18589        $rm \$dlpath'
   18590     shlibpath_overrides_runpath=yes
   18591 
   18592     case $host_os in
   18593     cygwin*)
   18594       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18595       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18596       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18597       ;;
   18598     mingw*)
   18599       # MinGW DLLs use traditional 'lib' prefix
   18600       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18601       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18602       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18603         # It is most probably a Windows format PATH printed by
   18604         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18605         # path with ; separators, and with drive letters. We can handle the
   18606         # drive letters (cygwin fileutils understands them), so leave them,
   18607         # especially as we might pass files found there to a mingw objdump,
   18608         # which wouldn't understand a cygwinified path. Ahh.
   18609         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18610       else
   18611         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18612       fi
   18613       ;;
   18614     pw32*)
   18615       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18616       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18617       ;;
   18618     esac
   18619     ;;
   18620 
   18621   *)
   18622     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18623     ;;
   18624   esac
   18625   dynamic_linker='Win32 ld.exe'
   18626   # FIXME: first we should search . and the directory the executable is in
   18627   shlibpath_var=PATH
   18628   ;;
   18629 
   18630 darwin* | rhapsody*)
   18631   dynamic_linker="$host_os dyld"
   18632   version_type=darwin
   18633   need_lib_prefix=no
   18634   need_version=no
   18635   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18636   soname_spec='${libname}${release}${major}$shared_ext'
   18637   shlibpath_overrides_runpath=yes
   18638   shlibpath_var=DYLD_LIBRARY_PATH
   18639   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18640 
   18641   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18642   ;;
   18643 
   18644 dgux*)
   18645   version_type=linux
   18646   need_lib_prefix=no
   18647   need_version=no
   18648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18649   soname_spec='${libname}${release}${shared_ext}$major'
   18650   shlibpath_var=LD_LIBRARY_PATH
   18651   ;;
   18652 
   18653 freebsd1*)
   18654   dynamic_linker=no
   18655   ;;
   18656 
   18657 freebsd* | dragonfly*)
   18658   # DragonFly does not have aout.  When/if they implement a new
   18659   # versioning mechanism, adjust this.
   18660   if test -x /usr/bin/objformat; then
   18661     objformat=`/usr/bin/objformat`
   18662   else
   18663     case $host_os in
   18664     freebsd[123]*) objformat=aout ;;
   18665     *) objformat=elf ;;
   18666     esac
   18667   fi
   18668   version_type=freebsd-$objformat
   18669   case $version_type in
   18670     freebsd-elf*)
   18671       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18672       need_version=no
   18673       need_lib_prefix=no
   18674       ;;
   18675     freebsd-*)
   18676       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18677       need_version=yes
   18678       ;;
   18679   esac
   18680   shlibpath_var=LD_LIBRARY_PATH
   18681   case $host_os in
   18682   freebsd2*)
   18683     shlibpath_overrides_runpath=yes
   18684     ;;
   18685   freebsd3.[01]* | freebsdelf3.[01]*)
   18686     shlibpath_overrides_runpath=yes
   18687     hardcode_into_libs=yes
   18688     ;;
   18689   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18690   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18691     shlibpath_overrides_runpath=no
   18692     hardcode_into_libs=yes
   18693     ;;
   18694   *) # from 4.6 on, and DragonFly
   18695     shlibpath_overrides_runpath=yes
   18696     hardcode_into_libs=yes
   18697     ;;
   18698   esac
   18699   ;;
   18700 
   18701 gnu*)
   18702   version_type=linux
   18703   need_lib_prefix=no
   18704   need_version=no
   18705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18706   soname_spec='${libname}${release}${shared_ext}$major'
   18707   shlibpath_var=LD_LIBRARY_PATH
   18708   hardcode_into_libs=yes
   18709   ;;
   18710 
   18711 hpux9* | hpux10* | hpux11*)
   18712   # Give a soname corresponding to the major version so that dld.sl refuses to
   18713   # link against other versions.
   18714   version_type=sunos
   18715   need_lib_prefix=no
   18716   need_version=no
   18717   case $host_cpu in
   18718   ia64*)
   18719     shrext_cmds='.so'
   18720     hardcode_into_libs=yes
   18721     dynamic_linker="$host_os dld.so"
   18722     shlibpath_var=LD_LIBRARY_PATH
   18723     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18725     soname_spec='${libname}${release}${shared_ext}$major'
   18726     if test "X$HPUX_IA64_MODE" = X32; then
   18727       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18728     else
   18729       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18730     fi
   18731     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18732     ;;
   18733    hppa*64*)
   18734      shrext_cmds='.sl'
   18735      hardcode_into_libs=yes
   18736      dynamic_linker="$host_os dld.sl"
   18737      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18738      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18739      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18740      soname_spec='${libname}${release}${shared_ext}$major'
   18741      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18742      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18743      ;;
   18744    *)
   18745     shrext_cmds='.sl'
   18746     dynamic_linker="$host_os dld.sl"
   18747     shlibpath_var=SHLIB_PATH
   18748     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18749     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18750     soname_spec='${libname}${release}${shared_ext}$major'
   18751     ;;
   18752   esac
   18753   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18754   postinstall_cmds='chmod 555 $lib'
   18755   ;;
   18756 
   18757 interix[3-9]*)
   18758   version_type=linux
   18759   need_lib_prefix=no
   18760   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18764   shlibpath_var=LD_LIBRARY_PATH
   18765   shlibpath_overrides_runpath=no
   18766   hardcode_into_libs=yes
   18767   ;;
   18768 
   18769 irix5* | irix6* | nonstopux*)
   18770   case $host_os in
   18771     nonstopux*) version_type=nonstopux ;;
   18772     *)
   18773 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18774 		version_type=linux
   18775 	else
   18776 		version_type=irix
   18777 	fi ;;
   18778   esac
   18779   need_lib_prefix=no
   18780   need_version=no
   18781   soname_spec='${libname}${release}${shared_ext}$major'
   18782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18783   case $host_os in
   18784   irix5* | nonstopux*)
   18785     libsuff= shlibsuff=
   18786     ;;
   18787   *)
   18788     case $LD in # libtool.m4 will add one of these switches to LD
   18789     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18790       libsuff= shlibsuff= libmagic=32-bit;;
   18791     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18792       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18793     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18794       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18795     *) libsuff= shlibsuff= libmagic=never-match;;
   18796     esac
   18797     ;;
   18798   esac
   18799   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18800   shlibpath_overrides_runpath=no
   18801   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18802   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18803   hardcode_into_libs=yes
   18804   ;;
   18805 
   18806 # No shared lib support for Linux oldld, aout, or coff.
   18807 linux*oldld* | linux*aout* | linux*coff*)
   18808   dynamic_linker=no
   18809   ;;
   18810 
   18811 # This must be Linux ELF.
   18812 linux* | k*bsd*-gnu)
   18813   version_type=linux
   18814   need_lib_prefix=no
   18815   need_version=no
   18816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18817   soname_spec='${libname}${release}${shared_ext}$major'
   18818   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18819   shlibpath_var=LD_LIBRARY_PATH
   18820   shlibpath_overrides_runpath=no
   18821   # This implies no fast_install, which is unacceptable.
   18822   # Some rework will be needed to allow for fast_install
   18823   # before this can be enabled.
   18824   hardcode_into_libs=yes
   18825   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18826   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18827 
   18828   # Append ld.so.conf contents to the search path
   18829   if test -f /etc/ld.so.conf; then
   18830     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' ' '`
   18831     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18832   fi
   18833 
   18834   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18835   # powerpc, because MkLinux only supported shared libraries with the
   18836   # GNU dynamic linker.  Since this was broken with cross compilers,
   18837   # most powerpc-linux boxes support dynamic linking these days and
   18838   # people can always --disable-shared, the test was removed, and we
   18839   # assume the GNU/Linux dynamic linker is in use.
   18840   dynamic_linker='GNU/Linux ld.so'
   18841   ;;
   18842 
   18843 netbsd*)
   18844   version_type=sunos
   18845   need_lib_prefix=no
   18846   need_version=no
   18847   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18849     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18850     dynamic_linker='NetBSD (a.out) ld.so'
   18851   else
   18852     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18853     soname_spec='${libname}${release}${shared_ext}$major'
   18854     dynamic_linker='NetBSD ld.elf_so'
   18855   fi
   18856   shlibpath_var=LD_LIBRARY_PATH
   18857   shlibpath_overrides_runpath=yes
   18858   hardcode_into_libs=yes
   18859   ;;
   18860 
   18861 newsos6)
   18862   version_type=linux
   18863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18864   shlibpath_var=LD_LIBRARY_PATH
   18865   shlibpath_overrides_runpath=yes
   18866   ;;
   18867 
   18868 nto-qnx*)
   18869   version_type=linux
   18870   need_lib_prefix=no
   18871   need_version=no
   18872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18873   soname_spec='${libname}${release}${shared_ext}$major'
   18874   shlibpath_var=LD_LIBRARY_PATH
   18875   shlibpath_overrides_runpath=yes
   18876   ;;
   18877 
   18878 openbsd*)
   18879   version_type=sunos
   18880   sys_lib_dlsearch_path_spec="/usr/lib"
   18881   need_lib_prefix=no
   18882   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18883   case $host_os in
   18884     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18885     *)                         need_version=no  ;;
   18886   esac
   18887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18888   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18889   shlibpath_var=LD_LIBRARY_PATH
   18890   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18891     case $host_os in
   18892       openbsd2.[89] | openbsd2.[89].*)
   18893 	shlibpath_overrides_runpath=no
   18894 	;;
   18895       *)
   18896 	shlibpath_overrides_runpath=yes
   18897 	;;
   18898       esac
   18899   else
   18900     shlibpath_overrides_runpath=yes
   18901   fi
   18902   ;;
   18903 
   18904 os2*)
   18905   libname_spec='$name'
   18906   shrext_cmds=".dll"
   18907   need_lib_prefix=no
   18908   library_names_spec='$libname${shared_ext} $libname.a'
   18909   dynamic_linker='OS/2 ld.exe'
   18910   shlibpath_var=LIBPATH
   18911   ;;
   18912 
   18913 osf3* | osf4* | osf5*)
   18914   version_type=osf
   18915   need_lib_prefix=no
   18916   need_version=no
   18917   soname_spec='${libname}${release}${shared_ext}$major'
   18918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18919   shlibpath_var=LD_LIBRARY_PATH
   18920   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18921   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18922   ;;
   18923 
   18924 rdos*)
   18925   dynamic_linker=no
   18926   ;;
   18927 
   18928 solaris*)
   18929   version_type=linux
   18930   need_lib_prefix=no
   18931   need_version=no
   18932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18933   soname_spec='${libname}${release}${shared_ext}$major'
   18934   shlibpath_var=LD_LIBRARY_PATH
   18935   shlibpath_overrides_runpath=yes
   18936   hardcode_into_libs=yes
   18937   # ldd complains unless libraries are executable
   18938   postinstall_cmds='chmod +x $lib'
   18939   ;;
   18940 
   18941 sunos4*)
   18942   version_type=sunos
   18943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18944   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18945   shlibpath_var=LD_LIBRARY_PATH
   18946   shlibpath_overrides_runpath=yes
   18947   if test "$with_gnu_ld" = yes; then
   18948     need_lib_prefix=no
   18949   fi
   18950   need_version=yes
   18951   ;;
   18952 
   18953 sysv4 | sysv4.3*)
   18954   version_type=linux
   18955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18956   soname_spec='${libname}${release}${shared_ext}$major'
   18957   shlibpath_var=LD_LIBRARY_PATH
   18958   case $host_vendor in
   18959     sni)
   18960       shlibpath_overrides_runpath=no
   18961       need_lib_prefix=no
   18962       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18963       runpath_var=LD_RUN_PATH
   18964       ;;
   18965     siemens)
   18966       need_lib_prefix=no
   18967       ;;
   18968     motorola)
   18969       need_lib_prefix=no
   18970       need_version=no
   18971       shlibpath_overrides_runpath=no
   18972       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18973       ;;
   18974   esac
   18975   ;;
   18976 
   18977 sysv4*MP*)
   18978   if test -d /usr/nec ;then
   18979     version_type=linux
   18980     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18981     soname_spec='$libname${shared_ext}.$major'
   18982     shlibpath_var=LD_LIBRARY_PATH
   18983   fi
   18984   ;;
   18985 
   18986 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18987   version_type=freebsd-elf
   18988   need_lib_prefix=no
   18989   need_version=no
   18990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18991   soname_spec='${libname}${release}${shared_ext}$major'
   18992   shlibpath_var=LD_LIBRARY_PATH
   18993   hardcode_into_libs=yes
   18994   if test "$with_gnu_ld" = yes; then
   18995     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18996     shlibpath_overrides_runpath=no
   18997   else
   18998     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18999     shlibpath_overrides_runpath=yes
   19000     case $host_os in
   19001       sco3.2v5*)
   19002         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19003 	;;
   19004     esac
   19005   fi
   19006   sys_lib_dlsearch_path_spec='/usr/lib'
   19007   ;;
   19008 
   19009 uts4*)
   19010   version_type=linux
   19011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19012   soname_spec='${libname}${release}${shared_ext}$major'
   19013   shlibpath_var=LD_LIBRARY_PATH
   19014   ;;
   19015 
   19016 *)
   19017   dynamic_linker=no
   19018   ;;
   19019 esac
   19020 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19021 $as_echo "$dynamic_linker" >&6; }
   19022 test "$dynamic_linker" = no && can_build_shared=no
   19023 
   19024 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19025   $as_echo_n "(cached) " >&6
   19026 else
   19027   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19028 fi
   19029 
   19030 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19032   $as_echo_n "(cached) " >&6
   19033 else
   19034   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19035 fi
   19036 
   19037 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19038 
   19039 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19040 if test "$GCC" = yes; then
   19041   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19042 fi
   19043 
   19044 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19045 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19046 hardcode_action_GCJ=
   19047 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19048    test -n "$runpath_var_GCJ" || \
   19049    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19050 
   19051   # We can hardcode non-existant directories.
   19052   if test "$hardcode_direct_GCJ" != no &&
   19053      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19054      # have to relink, otherwise we might link with an installed library
   19055      # when we should be linking with a yet-to-be-installed one
   19056      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19057      test "$hardcode_minus_L_GCJ" != no; then
   19058     # Linking always hardcodes the temporary library directory.
   19059     hardcode_action_GCJ=relink
   19060   else
   19061     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19062     hardcode_action_GCJ=immediate
   19063   fi
   19064 else
   19065   # We cannot hardcode anything, or else we can only hardcode existing
   19066   # directories.
   19067   hardcode_action_GCJ=unsupported
   19068 fi
   19069 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19070 $as_echo "$hardcode_action_GCJ" >&6; }
   19071 
   19072 if test "$hardcode_action_GCJ" = relink; then
   19073   # Fast installation is not supported
   19074   enable_fast_install=no
   19075 elif test "$shlibpath_overrides_runpath" = yes ||
   19076      test "$enable_shared" = no; then
   19077   # Fast installation is not necessary
   19078   enable_fast_install=needless
   19079 fi
   19080 
   19081 
   19082 # The else clause should only fire when bootstrapping the
   19083 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19084 # with your package, and you will get complaints that there are
   19085 # no rules to generate ltmain.sh.
   19086 if test -f "$ltmain"; then
   19087   # See if we are running on zsh, and set the options which allow our commands through
   19088   # without removal of \ escapes.
   19089   if test -n "${ZSH_VERSION+set}" ; then
   19090     setopt NO_GLOB_SUBST
   19091   fi
   19092   # Now quote all the things that may contain metacharacters while being
   19093   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19094   # variables and quote the copies for generation of the libtool script.
   19095   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19096     SED SHELL STRIP \
   19097     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19098     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19099     deplibs_check_method reload_flag reload_cmds need_locks \
   19100     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19101     lt_cv_sys_global_symbol_to_c_name_address \
   19102     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19103     old_postinstall_cmds old_postuninstall_cmds \
   19104     compiler_GCJ \
   19105     CC_GCJ \
   19106     LD_GCJ \
   19107     lt_prog_compiler_wl_GCJ \
   19108     lt_prog_compiler_pic_GCJ \
   19109     lt_prog_compiler_static_GCJ \
   19110     lt_prog_compiler_no_builtin_flag_GCJ \
   19111     export_dynamic_flag_spec_GCJ \
   19112     thread_safe_flag_spec_GCJ \
   19113     whole_archive_flag_spec_GCJ \
   19114     enable_shared_with_static_runtimes_GCJ \
   19115     old_archive_cmds_GCJ \
   19116     old_archive_from_new_cmds_GCJ \
   19117     predep_objects_GCJ \
   19118     postdep_objects_GCJ \
   19119     predeps_GCJ \
   19120     postdeps_GCJ \
   19121     compiler_lib_search_path_GCJ \
   19122     compiler_lib_search_dirs_GCJ \
   19123     archive_cmds_GCJ \
   19124     archive_expsym_cmds_GCJ \
   19125     postinstall_cmds_GCJ \
   19126     postuninstall_cmds_GCJ \
   19127     old_archive_from_expsyms_cmds_GCJ \
   19128     allow_undefined_flag_GCJ \
   19129     no_undefined_flag_GCJ \
   19130     export_symbols_cmds_GCJ \
   19131     hardcode_libdir_flag_spec_GCJ \
   19132     hardcode_libdir_flag_spec_ld_GCJ \
   19133     hardcode_libdir_separator_GCJ \
   19134     hardcode_automatic_GCJ \
   19135     module_cmds_GCJ \
   19136     module_expsym_cmds_GCJ \
   19137     lt_cv_prog_compiler_c_o_GCJ \
   19138     fix_srcfile_path_GCJ \
   19139     exclude_expsyms_GCJ \
   19140     include_expsyms_GCJ; do
   19141 
   19142     case $var in
   19143     old_archive_cmds_GCJ | \
   19144     old_archive_from_new_cmds_GCJ | \
   19145     archive_cmds_GCJ | \
   19146     archive_expsym_cmds_GCJ | \
   19147     module_cmds_GCJ | \
   19148     module_expsym_cmds_GCJ | \
   19149     old_archive_from_expsyms_cmds_GCJ | \
   19150     export_symbols_cmds_GCJ | \
   19151     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19152     postinstall_cmds | postuninstall_cmds | \
   19153     old_postinstall_cmds | old_postuninstall_cmds | \
   19154     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19155       # Double-quote double-evaled strings.
   19156       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19157       ;;
   19158     *)
   19159       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19160       ;;
   19161     esac
   19162   done
   19163 
   19164   case $lt_echo in
   19165   *'\$0 --fallback-echo"')
   19166     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19167     ;;
   19168   esac
   19169 
   19170 cfgfile="$ofile"
   19171 
   19172   cat <<__EOF__ >> "$cfgfile"
   19173 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19174 
   19175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19176 
   19177 # Shell to use when invoking shell scripts.
   19178 SHELL=$lt_SHELL
   19179 
   19180 # Whether or not to build shared libraries.
   19181 build_libtool_libs=$enable_shared
   19182 
   19183 # Whether or not to build static libraries.
   19184 build_old_libs=$enable_static
   19185 
   19186 # Whether or not to add -lc for building shared libraries.
   19187 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19188 
   19189 # Whether or not to disallow shared libs when runtime libs are static
   19190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19191 
   19192 # Whether or not to optimize for fast installation.
   19193 fast_install=$enable_fast_install
   19194 
   19195 # The host system.
   19196 host_alias=$host_alias
   19197 host=$host
   19198 host_os=$host_os
   19199 
   19200 # The build system.
   19201 build_alias=$build_alias
   19202 build=$build
   19203 build_os=$build_os
   19204 
   19205 # An echo program that does not interpret backslashes.
   19206 echo=$lt_echo
   19207 
   19208 # The archiver.
   19209 AR=$lt_AR
   19210 AR_FLAGS=$lt_AR_FLAGS
   19211 
   19212 # A C compiler.
   19213 LTCC=$lt_LTCC
   19214 
   19215 # LTCC compiler flags.
   19216 LTCFLAGS=$lt_LTCFLAGS
   19217 
   19218 # A language-specific compiler.
   19219 CC=$lt_compiler_GCJ
   19220 
   19221 # Is the compiler the GNU C compiler?
   19222 with_gcc=$GCC_GCJ
   19223 
   19224 # An ERE matcher.
   19225 EGREP=$lt_EGREP
   19226 
   19227 # The linker used to build libraries.
   19228 LD=$lt_LD_GCJ
   19229 
   19230 # Whether we need hard or soft links.
   19231 LN_S=$lt_LN_S
   19232 
   19233 # A BSD-compatible nm program.
   19234 NM=$lt_NM
   19235 
   19236 # A symbol stripping program
   19237 STRIP=$lt_STRIP
   19238 
   19239 # Used to examine libraries when file_magic_cmd begins "file"
   19240 MAGIC_CMD=$MAGIC_CMD
   19241 
   19242 # Used on cygwin: DLL creation program.
   19243 DLLTOOL="$DLLTOOL"
   19244 
   19245 # Used on cygwin: object dumper.
   19246 OBJDUMP="$OBJDUMP"
   19247 
   19248 # Used on cygwin: assembler.
   19249 AS="$AS"
   19250 
   19251 # The name of the directory that contains temporary libtool files.
   19252 objdir=$objdir
   19253 
   19254 # How to create reloadable object files.
   19255 reload_flag=$lt_reload_flag
   19256 reload_cmds=$lt_reload_cmds
   19257 
   19258 # How to pass a linker flag through the compiler.
   19259 wl=$lt_lt_prog_compiler_wl_GCJ
   19260 
   19261 # Object file suffix (normally "o").
   19262 objext="$ac_objext"
   19263 
   19264 # Old archive suffix (normally "a").
   19265 libext="$libext"
   19266 
   19267 # Shared library suffix (normally ".so").
   19268 shrext_cmds='$shrext_cmds'
   19269 
   19270 # Executable file suffix (normally "").
   19271 exeext="$exeext"
   19272 
   19273 # Additional compiler flags for building library objects.
   19274 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19275 pic_mode=$pic_mode
   19276 
   19277 # What is the maximum length of a command?
   19278 max_cmd_len=$lt_cv_sys_max_cmd_len
   19279 
   19280 # Does compiler simultaneously support -c and -o options?
   19281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19282 
   19283 # Must we lock files when doing compilation?
   19284 need_locks=$lt_need_locks
   19285 
   19286 # Do we need the lib prefix for modules?
   19287 need_lib_prefix=$need_lib_prefix
   19288 
   19289 # Do we need a version for libraries?
   19290 need_version=$need_version
   19291 
   19292 # Whether dlopen is supported.
   19293 dlopen_support=$enable_dlopen
   19294 
   19295 # Whether dlopen of programs is supported.
   19296 dlopen_self=$enable_dlopen_self
   19297 
   19298 # Whether dlopen of statically linked programs is supported.
   19299 dlopen_self_static=$enable_dlopen_self_static
   19300 
   19301 # Compiler flag to prevent dynamic linking.
   19302 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19303 
   19304 # Compiler flag to turn off builtin functions.
   19305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19306 
   19307 # Compiler flag to allow reflexive dlopens.
   19308 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19309 
   19310 # Compiler flag to generate shared objects directly from archives.
   19311 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19312 
   19313 # Compiler flag to generate thread-safe objects.
   19314 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19315 
   19316 # Library versioning type.
   19317 version_type=$version_type
   19318 
   19319 # Format of library name prefix.
   19320 libname_spec=$lt_libname_spec
   19321 
   19322 # List of archive names.  First name is the real one, the rest are links.
   19323 # The last name is the one that the linker finds with -lNAME.
   19324 library_names_spec=$lt_library_names_spec
   19325 
   19326 # The coded name of the library, if different from the real name.
   19327 soname_spec=$lt_soname_spec
   19328 
   19329 # Commands used to build and install an old-style archive.
   19330 RANLIB=$lt_RANLIB
   19331 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19332 old_postinstall_cmds=$lt_old_postinstall_cmds
   19333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19334 
   19335 # Create an old-style archive from a shared archive.
   19336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19337 
   19338 # Create a temporary old-style archive to link instead of a shared archive.
   19339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19340 
   19341 # Commands used to build and install a shared archive.
   19342 archive_cmds=$lt_archive_cmds_GCJ
   19343 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19344 postinstall_cmds=$lt_postinstall_cmds
   19345 postuninstall_cmds=$lt_postuninstall_cmds
   19346 
   19347 # Commands used to build a loadable module (assumed same as above if empty)
   19348 module_cmds=$lt_module_cmds_GCJ
   19349 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19350 
   19351 # Commands to strip libraries.
   19352 old_striplib=$lt_old_striplib
   19353 striplib=$lt_striplib
   19354 
   19355 # Dependencies to place before the objects being linked to create a
   19356 # shared library.
   19357 predep_objects=$lt_predep_objects_GCJ
   19358 
   19359 # Dependencies to place after the objects being linked to create a
   19360 # shared library.
   19361 postdep_objects=$lt_postdep_objects_GCJ
   19362 
   19363 # Dependencies to place before the objects being linked to create a
   19364 # shared library.
   19365 predeps=$lt_predeps_GCJ
   19366 
   19367 # Dependencies to place after the objects being linked to create a
   19368 # shared library.
   19369 postdeps=$lt_postdeps_GCJ
   19370 
   19371 # The directories searched by this compiler when creating a shared
   19372 # library
   19373 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19374 
   19375 # The library search path used internally by the compiler when linking
   19376 # a shared library.
   19377 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19378 
   19379 # Method to check whether dependent libraries are shared objects.
   19380 deplibs_check_method=$lt_deplibs_check_method
   19381 
   19382 # Command to use when deplibs_check_method == file_magic.
   19383 file_magic_cmd=$lt_file_magic_cmd
   19384 
   19385 # Flag that allows shared libraries with undefined symbols to be built.
   19386 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19387 
   19388 # Flag that forces no undefined symbols.
   19389 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19390 
   19391 # Commands used to finish a libtool library installation in a directory.
   19392 finish_cmds=$lt_finish_cmds
   19393 
   19394 # Same as above, but a single script fragment to be evaled but not shown.
   19395 finish_eval=$lt_finish_eval
   19396 
   19397 # Take the output of nm and produce a listing of raw symbols and C names.
   19398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19399 
   19400 # Transform the output of nm in a proper C declaration
   19401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19402 
   19403 # Transform the output of nm in a C name address pair
   19404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19405 
   19406 # This is the shared library runtime path variable.
   19407 runpath_var=$runpath_var
   19408 
   19409 # This is the shared library path variable.
   19410 shlibpath_var=$shlibpath_var
   19411 
   19412 # Is shlibpath searched before the hard-coded library search path?
   19413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19414 
   19415 # How to hardcode a shared library path into an executable.
   19416 hardcode_action=$hardcode_action_GCJ
   19417 
   19418 # Whether we should hardcode library paths into libraries.
   19419 hardcode_into_libs=$hardcode_into_libs
   19420 
   19421 # Flag to hardcode \$libdir into a binary during linking.
   19422 # This must work even if \$libdir does not exist.
   19423 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19424 
   19425 # If ld is used when linking, flag to hardcode \$libdir into
   19426 # a binary during linking. This must work even if \$libdir does
   19427 # not exist.
   19428 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19429 
   19430 # Whether we need a single -rpath flag with a separated argument.
   19431 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19432 
   19433 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19434 # resulting binary.
   19435 hardcode_direct=$hardcode_direct_GCJ
   19436 
   19437 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19438 # resulting binary.
   19439 hardcode_minus_L=$hardcode_minus_L_GCJ
   19440 
   19441 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19442 # the resulting binary.
   19443 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19444 
   19445 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19446 # and all subsequent libraries and executables linked against it.
   19447 hardcode_automatic=$hardcode_automatic_GCJ
   19448 
   19449 # Variables whose values should be saved in libtool wrapper scripts and
   19450 # restored at relink time.
   19451 variables_saved_for_relink="$variables_saved_for_relink"
   19452 
   19453 # Whether libtool must link a program against all its dependency libraries.
   19454 link_all_deplibs=$link_all_deplibs_GCJ
   19455 
   19456 # Compile-time system search path for libraries
   19457 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19458 
   19459 # Run-time system search path for libraries
   19460 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19461 
   19462 # Fix the shell variable \$srcfile for the compiler.
   19463 fix_srcfile_path=$lt_fix_srcfile_path
   19464 
   19465 # Set to yes if exported symbols are required.
   19466 always_export_symbols=$always_export_symbols_GCJ
   19467 
   19468 # The commands to list exported symbols.
   19469 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19470 
   19471 # The commands to extract the exported symbol list from a shared archive.
   19472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19473 
   19474 # Symbols that should not be listed in the preloaded symbols.
   19475 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19476 
   19477 # Symbols that must always be exported.
   19478 include_expsyms=$lt_include_expsyms_GCJ
   19479 
   19480 # ### END LIBTOOL TAG CONFIG: $tagname
   19481 
   19482 __EOF__
   19483 
   19484 
   19485 else
   19486   # If there is no Makefile yet, we rely on a make rule to execute
   19487   # `config.status --recheck' to rerun these tests and create the
   19488   # libtool script then.
   19489   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19490   if test -f "$ltmain_in"; then
   19491     test -f Makefile && make "$ltmain"
   19492   fi
   19493 fi
   19494 
   19495 
   19496 ac_ext=c
   19497 ac_cpp='$CPP $CPPFLAGS'
   19498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19501 
   19502 CC="$lt_save_CC"
   19503 
   19504 	else
   19505 	  tagname=""
   19506 	fi
   19507 	;;
   19508 
   19509       RC)
   19510 
   19511 
   19512 # Source file extension for RC test sources.
   19513 ac_ext=rc
   19514 
   19515 # Object file extension for compiled RC test sources.
   19516 objext=o
   19517 objext_RC=$objext
   19518 
   19519 # Code to be used in simple compile tests
   19520 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19521 
   19522 # Code to be used in simple link tests
   19523 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19524 
   19525 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19526 
   19527 # If no C compiler was specified, use CC.
   19528 LTCC=${LTCC-"$CC"}
   19529 
   19530 # If no C compiler flags were specified, use CFLAGS.
   19531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19532 
   19533 # Allow CC to be a program name with arguments.
   19534 compiler=$CC
   19535 
   19536 
   19537 # save warnings/boilerplate of simple test code
   19538 ac_outfile=conftest.$ac_objext
   19539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19541 _lt_compiler_boilerplate=`cat conftest.err`
   19542 $rm conftest*
   19543 
   19544 ac_outfile=conftest.$ac_objext
   19545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19547 _lt_linker_boilerplate=`cat conftest.err`
   19548 $rm -r conftest*
   19549 
   19550 
   19551 # Allow CC to be a program name with arguments.
   19552 lt_save_CC="$CC"
   19553 CC=${RC-"windres"}
   19554 compiler=$CC
   19555 compiler_RC=$CC
   19556 for cc_temp in $compiler""; do
   19557   case $cc_temp in
   19558     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19559     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19560     \-*) ;;
   19561     *) break;;
   19562   esac
   19563 done
   19564 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19565 
   19566 lt_cv_prog_compiler_c_o_RC=yes
   19567 
   19568 # The else clause should only fire when bootstrapping the
   19569 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19570 # with your package, and you will get complaints that there are
   19571 # no rules to generate ltmain.sh.
   19572 if test -f "$ltmain"; then
   19573   # See if we are running on zsh, and set the options which allow our commands through
   19574   # without removal of \ escapes.
   19575   if test -n "${ZSH_VERSION+set}" ; then
   19576     setopt NO_GLOB_SUBST
   19577   fi
   19578   # Now quote all the things that may contain metacharacters while being
   19579   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19580   # variables and quote the copies for generation of the libtool script.
   19581   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19582     SED SHELL STRIP \
   19583     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19584     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19585     deplibs_check_method reload_flag reload_cmds need_locks \
   19586     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19587     lt_cv_sys_global_symbol_to_c_name_address \
   19588     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19589     old_postinstall_cmds old_postuninstall_cmds \
   19590     compiler_RC \
   19591     CC_RC \
   19592     LD_RC \
   19593     lt_prog_compiler_wl_RC \
   19594     lt_prog_compiler_pic_RC \
   19595     lt_prog_compiler_static_RC \
   19596     lt_prog_compiler_no_builtin_flag_RC \
   19597     export_dynamic_flag_spec_RC \
   19598     thread_safe_flag_spec_RC \
   19599     whole_archive_flag_spec_RC \
   19600     enable_shared_with_static_runtimes_RC \
   19601     old_archive_cmds_RC \
   19602     old_archive_from_new_cmds_RC \
   19603     predep_objects_RC \
   19604     postdep_objects_RC \
   19605     predeps_RC \
   19606     postdeps_RC \
   19607     compiler_lib_search_path_RC \
   19608     compiler_lib_search_dirs_RC \
   19609     archive_cmds_RC \
   19610     archive_expsym_cmds_RC \
   19611     postinstall_cmds_RC \
   19612     postuninstall_cmds_RC \
   19613     old_archive_from_expsyms_cmds_RC \
   19614     allow_undefined_flag_RC \
   19615     no_undefined_flag_RC \
   19616     export_symbols_cmds_RC \
   19617     hardcode_libdir_flag_spec_RC \
   19618     hardcode_libdir_flag_spec_ld_RC \
   19619     hardcode_libdir_separator_RC \
   19620     hardcode_automatic_RC \
   19621     module_cmds_RC \
   19622     module_expsym_cmds_RC \
   19623     lt_cv_prog_compiler_c_o_RC \
   19624     fix_srcfile_path_RC \
   19625     exclude_expsyms_RC \
   19626     include_expsyms_RC; do
   19627 
   19628     case $var in
   19629     old_archive_cmds_RC | \
   19630     old_archive_from_new_cmds_RC | \
   19631     archive_cmds_RC | \
   19632     archive_expsym_cmds_RC | \
   19633     module_cmds_RC | \
   19634     module_expsym_cmds_RC | \
   19635     old_archive_from_expsyms_cmds_RC | \
   19636     export_symbols_cmds_RC | \
   19637     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19638     postinstall_cmds | postuninstall_cmds | \
   19639     old_postinstall_cmds | old_postuninstall_cmds | \
   19640     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19641       # Double-quote double-evaled strings.
   19642       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19643       ;;
   19644     *)
   19645       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19646       ;;
   19647     esac
   19648   done
   19649 
   19650   case $lt_echo in
   19651   *'\$0 --fallback-echo"')
   19652     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19653     ;;
   19654   esac
   19655 
   19656 cfgfile="$ofile"
   19657 
   19658   cat <<__EOF__ >> "$cfgfile"
   19659 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19660 
   19661 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19662 
   19663 # Shell to use when invoking shell scripts.
   19664 SHELL=$lt_SHELL
   19665 
   19666 # Whether or not to build shared libraries.
   19667 build_libtool_libs=$enable_shared
   19668 
   19669 # Whether or not to build static libraries.
   19670 build_old_libs=$enable_static
   19671 
   19672 # Whether or not to add -lc for building shared libraries.
   19673 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19674 
   19675 # Whether or not to disallow shared libs when runtime libs are static
   19676 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19677 
   19678 # Whether or not to optimize for fast installation.
   19679 fast_install=$enable_fast_install
   19680 
   19681 # The host system.
   19682 host_alias=$host_alias
   19683 host=$host
   19684 host_os=$host_os
   19685 
   19686 # The build system.
   19687 build_alias=$build_alias
   19688 build=$build
   19689 build_os=$build_os
   19690 
   19691 # An echo program that does not interpret backslashes.
   19692 echo=$lt_echo
   19693 
   19694 # The archiver.
   19695 AR=$lt_AR
   19696 AR_FLAGS=$lt_AR_FLAGS
   19697 
   19698 # A C compiler.
   19699 LTCC=$lt_LTCC
   19700 
   19701 # LTCC compiler flags.
   19702 LTCFLAGS=$lt_LTCFLAGS
   19703 
   19704 # A language-specific compiler.
   19705 CC=$lt_compiler_RC
   19706 
   19707 # Is the compiler the GNU C compiler?
   19708 with_gcc=$GCC_RC
   19709 
   19710 # An ERE matcher.
   19711 EGREP=$lt_EGREP
   19712 
   19713 # The linker used to build libraries.
   19714 LD=$lt_LD_RC
   19715 
   19716 # Whether we need hard or soft links.
   19717 LN_S=$lt_LN_S
   19718 
   19719 # A BSD-compatible nm program.
   19720 NM=$lt_NM
   19721 
   19722 # A symbol stripping program
   19723 STRIP=$lt_STRIP
   19724 
   19725 # Used to examine libraries when file_magic_cmd begins "file"
   19726 MAGIC_CMD=$MAGIC_CMD
   19727 
   19728 # Used on cygwin: DLL creation program.
   19729 DLLTOOL="$DLLTOOL"
   19730 
   19731 # Used on cygwin: object dumper.
   19732 OBJDUMP="$OBJDUMP"
   19733 
   19734 # Used on cygwin: assembler.
   19735 AS="$AS"
   19736 
   19737 # The name of the directory that contains temporary libtool files.
   19738 objdir=$objdir
   19739 
   19740 # How to create reloadable object files.
   19741 reload_flag=$lt_reload_flag
   19742 reload_cmds=$lt_reload_cmds
   19743 
   19744 # How to pass a linker flag through the compiler.
   19745 wl=$lt_lt_prog_compiler_wl_RC
   19746 
   19747 # Object file suffix (normally "o").
   19748 objext="$ac_objext"
   19749 
   19750 # Old archive suffix (normally "a").
   19751 libext="$libext"
   19752 
   19753 # Shared library suffix (normally ".so").
   19754 shrext_cmds='$shrext_cmds'
   19755 
   19756 # Executable file suffix (normally "").
   19757 exeext="$exeext"
   19758 
   19759 # Additional compiler flags for building library objects.
   19760 pic_flag=$lt_lt_prog_compiler_pic_RC
   19761 pic_mode=$pic_mode
   19762 
   19763 # What is the maximum length of a command?
   19764 max_cmd_len=$lt_cv_sys_max_cmd_len
   19765 
   19766 # Does compiler simultaneously support -c and -o options?
   19767 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19768 
   19769 # Must we lock files when doing compilation?
   19770 need_locks=$lt_need_locks
   19771 
   19772 # Do we need the lib prefix for modules?
   19773 need_lib_prefix=$need_lib_prefix
   19774 
   19775 # Do we need a version for libraries?
   19776 need_version=$need_version
   19777 
   19778 # Whether dlopen is supported.
   19779 dlopen_support=$enable_dlopen
   19780 
   19781 # Whether dlopen of programs is supported.
   19782 dlopen_self=$enable_dlopen_self
   19783 
   19784 # Whether dlopen of statically linked programs is supported.
   19785 dlopen_self_static=$enable_dlopen_self_static
   19786 
   19787 # Compiler flag to prevent dynamic linking.
   19788 link_static_flag=$lt_lt_prog_compiler_static_RC
   19789 
   19790 # Compiler flag to turn off builtin functions.
   19791 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19792 
   19793 # Compiler flag to allow reflexive dlopens.
   19794 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19795 
   19796 # Compiler flag to generate shared objects directly from archives.
   19797 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19798 
   19799 # Compiler flag to generate thread-safe objects.
   19800 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19801 
   19802 # Library versioning type.
   19803 version_type=$version_type
   19804 
   19805 # Format of library name prefix.
   19806 libname_spec=$lt_libname_spec
   19807 
   19808 # List of archive names.  First name is the real one, the rest are links.
   19809 # The last name is the one that the linker finds with -lNAME.
   19810 library_names_spec=$lt_library_names_spec
   19811 
   19812 # The coded name of the library, if different from the real name.
   19813 soname_spec=$lt_soname_spec
   19814 
   19815 # Commands used to build and install an old-style archive.
   19816 RANLIB=$lt_RANLIB
   19817 old_archive_cmds=$lt_old_archive_cmds_RC
   19818 old_postinstall_cmds=$lt_old_postinstall_cmds
   19819 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19820 
   19821 # Create an old-style archive from a shared archive.
   19822 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19823 
   19824 # Create a temporary old-style archive to link instead of a shared archive.
   19825 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19826 
   19827 # Commands used to build and install a shared archive.
   19828 archive_cmds=$lt_archive_cmds_RC
   19829 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19830 postinstall_cmds=$lt_postinstall_cmds
   19831 postuninstall_cmds=$lt_postuninstall_cmds
   19832 
   19833 # Commands used to build a loadable module (assumed same as above if empty)
   19834 module_cmds=$lt_module_cmds_RC
   19835 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19836 
   19837 # Commands to strip libraries.
   19838 old_striplib=$lt_old_striplib
   19839 striplib=$lt_striplib
   19840 
   19841 # Dependencies to place before the objects being linked to create a
   19842 # shared library.
   19843 predep_objects=$lt_predep_objects_RC
   19844 
   19845 # Dependencies to place after the objects being linked to create a
   19846 # shared library.
   19847 postdep_objects=$lt_postdep_objects_RC
   19848 
   19849 # Dependencies to place before the objects being linked to create a
   19850 # shared library.
   19851 predeps=$lt_predeps_RC
   19852 
   19853 # Dependencies to place after the objects being linked to create a
   19854 # shared library.
   19855 postdeps=$lt_postdeps_RC
   19856 
   19857 # The directories searched by this compiler when creating a shared
   19858 # library
   19859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19860 
   19861 # The library search path used internally by the compiler when linking
   19862 # a shared library.
   19863 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19864 
   19865 # Method to check whether dependent libraries are shared objects.
   19866 deplibs_check_method=$lt_deplibs_check_method
   19867 
   19868 # Command to use when deplibs_check_method == file_magic.
   19869 file_magic_cmd=$lt_file_magic_cmd
   19870 
   19871 # Flag that allows shared libraries with undefined symbols to be built.
   19872 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19873 
   19874 # Flag that forces no undefined symbols.
   19875 no_undefined_flag=$lt_no_undefined_flag_RC
   19876 
   19877 # Commands used to finish a libtool library installation in a directory.
   19878 finish_cmds=$lt_finish_cmds
   19879 
   19880 # Same as above, but a single script fragment to be evaled but not shown.
   19881 finish_eval=$lt_finish_eval
   19882 
   19883 # Take the output of nm and produce a listing of raw symbols and C names.
   19884 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19885 
   19886 # Transform the output of nm in a proper C declaration
   19887 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19888 
   19889 # Transform the output of nm in a C name address pair
   19890 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19891 
   19892 # This is the shared library runtime path variable.
   19893 runpath_var=$runpath_var
   19894 
   19895 # This is the shared library path variable.
   19896 shlibpath_var=$shlibpath_var
   19897 
   19898 # Is shlibpath searched before the hard-coded library search path?
   19899 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19900 
   19901 # How to hardcode a shared library path into an executable.
   19902 hardcode_action=$hardcode_action_RC
   19903 
   19904 # Whether we should hardcode library paths into libraries.
   19905 hardcode_into_libs=$hardcode_into_libs
   19906 
   19907 # Flag to hardcode \$libdir into a binary during linking.
   19908 # This must work even if \$libdir does not exist.
   19909 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19910 
   19911 # If ld is used when linking, flag to hardcode \$libdir into
   19912 # a binary during linking. This must work even if \$libdir does
   19913 # not exist.
   19914 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19915 
   19916 # Whether we need a single -rpath flag with a separated argument.
   19917 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19918 
   19919 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19920 # resulting binary.
   19921 hardcode_direct=$hardcode_direct_RC
   19922 
   19923 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19924 # resulting binary.
   19925 hardcode_minus_L=$hardcode_minus_L_RC
   19926 
   19927 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19928 # the resulting binary.
   19929 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19930 
   19931 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19932 # and all subsequent libraries and executables linked against it.
   19933 hardcode_automatic=$hardcode_automatic_RC
   19934 
   19935 # Variables whose values should be saved in libtool wrapper scripts and
   19936 # restored at relink time.
   19937 variables_saved_for_relink="$variables_saved_for_relink"
   19938 
   19939 # Whether libtool must link a program against all its dependency libraries.
   19940 link_all_deplibs=$link_all_deplibs_RC
   19941 
   19942 # Compile-time system search path for libraries
   19943 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19944 
   19945 # Run-time system search path for libraries
   19946 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19947 
   19948 # Fix the shell variable \$srcfile for the compiler.
   19949 fix_srcfile_path=$lt_fix_srcfile_path
   19950 
   19951 # Set to yes if exported symbols are required.
   19952 always_export_symbols=$always_export_symbols_RC
   19953 
   19954 # The commands to list exported symbols.
   19955 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19956 
   19957 # The commands to extract the exported symbol list from a shared archive.
   19958 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19959 
   19960 # Symbols that should not be listed in the preloaded symbols.
   19961 exclude_expsyms=$lt_exclude_expsyms_RC
   19962 
   19963 # Symbols that must always be exported.
   19964 include_expsyms=$lt_include_expsyms_RC
   19965 
   19966 # ### END LIBTOOL TAG CONFIG: $tagname
   19967 
   19968 __EOF__
   19969 
   19970 
   19971 else
   19972   # If there is no Makefile yet, we rely on a make rule to execute
   19973   # `config.status --recheck' to rerun these tests and create the
   19974   # libtool script then.
   19975   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19976   if test -f "$ltmain_in"; then
   19977     test -f Makefile && make "$ltmain"
   19978   fi
   19979 fi
   19980 
   19981 
   19982 ac_ext=c
   19983 ac_cpp='$CPP $CPPFLAGS'
   19984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19987 
   19988 CC="$lt_save_CC"
   19989 
   19990 	;;
   19991 
   19992       *)
   19993 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19994 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19995    { (exit 1); exit 1; }; }
   19996 	;;
   19997       esac
   19998 
   19999       # Append the new tag name to the list of available tags.
   20000       if test -n "$tagname" ; then
   20001       available_tags="$available_tags $tagname"
   20002     fi
   20003     fi
   20004   done
   20005   IFS="$lt_save_ifs"
   20006 
   20007   # Now substitute the updated list of available tags.
   20008   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20009     mv "${ofile}T" "$ofile"
   20010     chmod +x "$ofile"
   20011   else
   20012     rm -f "${ofile}T"
   20013     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20014 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20015    { (exit 1); exit 1; }; }
   20016   fi
   20017 fi
   20018 
   20019 
   20020 
   20021 # This can be used to rebuild libtool when needed
   20022 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20023 
   20024 # Always use our own libtool.
   20025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20026 
   20027 # Prevent multiple expansion
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 ac_ext=c
   20049 ac_cpp='$CPP $CPPFLAGS'
   20050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20053 if test -n "$ac_tool_prefix"; then
   20054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20057 $as_echo_n "checking for $ac_word... " >&6; }
   20058 if test "${ac_cv_prog_CC+set}" = set; then
   20059   $as_echo_n "(cached) " >&6
   20060 else
   20061   if test -n "$CC"; then
   20062   ac_cv_prog_CC="$CC" # Let the user override the test.
   20063 else
   20064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20065 for as_dir in $PATH
   20066 do
   20067   IFS=$as_save_IFS
   20068   test -z "$as_dir" && as_dir=.
   20069   for ac_exec_ext in '' $ac_executable_extensions; do
   20070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20072     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20073     break 2
   20074   fi
   20075 done
   20076 done
   20077 IFS=$as_save_IFS
   20078 
   20079 fi
   20080 fi
   20081 CC=$ac_cv_prog_CC
   20082 if test -n "$CC"; then
   20083   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20084 $as_echo "$CC" >&6; }
   20085 else
   20086   { $as_echo "$as_me:$LINENO: result: no" >&5
   20087 $as_echo "no" >&6; }
   20088 fi
   20089 
   20090 
   20091 fi
   20092 if test -z "$ac_cv_prog_CC"; then
   20093   ac_ct_CC=$CC
   20094   # Extract the first word of "gcc", so it can be a program name with args.
   20095 set dummy gcc; ac_word=$2
   20096 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20097 $as_echo_n "checking for $ac_word... " >&6; }
   20098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20099   $as_echo_n "(cached) " >&6
   20100 else
   20101   if test -n "$ac_ct_CC"; then
   20102   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20103 else
   20104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20105 for as_dir in $PATH
   20106 do
   20107   IFS=$as_save_IFS
   20108   test -z "$as_dir" && as_dir=.
   20109   for ac_exec_ext in '' $ac_executable_extensions; do
   20110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20111     ac_cv_prog_ac_ct_CC="gcc"
   20112     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20113     break 2
   20114   fi
   20115 done
   20116 done
   20117 IFS=$as_save_IFS
   20118 
   20119 fi
   20120 fi
   20121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20122 if test -n "$ac_ct_CC"; then
   20123   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20124 $as_echo "$ac_ct_CC" >&6; }
   20125 else
   20126   { $as_echo "$as_me:$LINENO: result: no" >&5
   20127 $as_echo "no" >&6; }
   20128 fi
   20129 
   20130   if test "x$ac_ct_CC" = x; then
   20131     CC=""
   20132   else
   20133     case $cross_compiling:$ac_tool_warned in
   20134 yes:)
   20135 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20137 ac_tool_warned=yes ;;
   20138 esac
   20139     CC=$ac_ct_CC
   20140   fi
   20141 else
   20142   CC="$ac_cv_prog_CC"
   20143 fi
   20144 
   20145 if test -z "$CC"; then
   20146           if test -n "$ac_tool_prefix"; then
   20147     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20148 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20150 $as_echo_n "checking for $ac_word... " >&6; }
   20151 if test "${ac_cv_prog_CC+set}" = set; then
   20152   $as_echo_n "(cached) " >&6
   20153 else
   20154   if test -n "$CC"; then
   20155   ac_cv_prog_CC="$CC" # Let the user override the test.
   20156 else
   20157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20158 for as_dir in $PATH
   20159 do
   20160   IFS=$as_save_IFS
   20161   test -z "$as_dir" && as_dir=.
   20162   for ac_exec_ext in '' $ac_executable_extensions; do
   20163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20164     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20165     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20166     break 2
   20167   fi
   20168 done
   20169 done
   20170 IFS=$as_save_IFS
   20171 
   20172 fi
   20173 fi
   20174 CC=$ac_cv_prog_CC
   20175 if test -n "$CC"; then
   20176   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20177 $as_echo "$CC" >&6; }
   20178 else
   20179   { $as_echo "$as_me:$LINENO: result: no" >&5
   20180 $as_echo "no" >&6; }
   20181 fi
   20182 
   20183 
   20184   fi
   20185 fi
   20186 if test -z "$CC"; then
   20187   # Extract the first word of "cc", so it can be a program name with args.
   20188 set dummy cc; ac_word=$2
   20189 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20190 $as_echo_n "checking for $ac_word... " >&6; }
   20191 if test "${ac_cv_prog_CC+set}" = set; then
   20192   $as_echo_n "(cached) " >&6
   20193 else
   20194   if test -n "$CC"; then
   20195   ac_cv_prog_CC="$CC" # Let the user override the test.
   20196 else
   20197   ac_prog_rejected=no
   20198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20199 for as_dir in $PATH
   20200 do
   20201   IFS=$as_save_IFS
   20202   test -z "$as_dir" && as_dir=.
   20203   for ac_exec_ext in '' $ac_executable_extensions; do
   20204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20205     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20206        ac_prog_rejected=yes
   20207        continue
   20208      fi
   20209     ac_cv_prog_CC="cc"
   20210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20211     break 2
   20212   fi
   20213 done
   20214 done
   20215 IFS=$as_save_IFS
   20216 
   20217 if test $ac_prog_rejected = yes; then
   20218   # We found a bogon in the path, so make sure we never use it.
   20219   set dummy $ac_cv_prog_CC
   20220   shift
   20221   if test $# != 0; then
   20222     # We chose a different compiler from the bogus one.
   20223     # However, it has the same basename, so the bogon will be chosen
   20224     # first if we set CC to just the basename; use the full file name.
   20225     shift
   20226     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20227   fi
   20228 fi
   20229 fi
   20230 fi
   20231 CC=$ac_cv_prog_CC
   20232 if test -n "$CC"; then
   20233   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20234 $as_echo "$CC" >&6; }
   20235 else
   20236   { $as_echo "$as_me:$LINENO: result: no" >&5
   20237 $as_echo "no" >&6; }
   20238 fi
   20239 
   20240 
   20241 fi
   20242 if test -z "$CC"; then
   20243   if test -n "$ac_tool_prefix"; then
   20244   for ac_prog in cl.exe
   20245   do
   20246     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20249 $as_echo_n "checking for $ac_word... " >&6; }
   20250 if test "${ac_cv_prog_CC+set}" = set; then
   20251   $as_echo_n "(cached) " >&6
   20252 else
   20253   if test -n "$CC"; then
   20254   ac_cv_prog_CC="$CC" # Let the user override the test.
   20255 else
   20256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20257 for as_dir in $PATH
   20258 do
   20259   IFS=$as_save_IFS
   20260   test -z "$as_dir" && as_dir=.
   20261   for ac_exec_ext in '' $ac_executable_extensions; do
   20262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20263     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20264     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20265     break 2
   20266   fi
   20267 done
   20268 done
   20269 IFS=$as_save_IFS
   20270 
   20271 fi
   20272 fi
   20273 CC=$ac_cv_prog_CC
   20274 if test -n "$CC"; then
   20275   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20276 $as_echo "$CC" >&6; }
   20277 else
   20278   { $as_echo "$as_me:$LINENO: result: no" >&5
   20279 $as_echo "no" >&6; }
   20280 fi
   20281 
   20282 
   20283     test -n "$CC" && break
   20284   done
   20285 fi
   20286 if test -z "$CC"; then
   20287   ac_ct_CC=$CC
   20288   for ac_prog in cl.exe
   20289 do
   20290   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20291 set dummy $ac_prog; ac_word=$2
   20292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20293 $as_echo_n "checking for $ac_word... " >&6; }
   20294 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20295   $as_echo_n "(cached) " >&6
   20296 else
   20297   if test -n "$ac_ct_CC"; then
   20298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20299 else
   20300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20301 for as_dir in $PATH
   20302 do
   20303   IFS=$as_save_IFS
   20304   test -z "$as_dir" && as_dir=.
   20305   for ac_exec_ext in '' $ac_executable_extensions; do
   20306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20307     ac_cv_prog_ac_ct_CC="$ac_prog"
   20308     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20309     break 2
   20310   fi
   20311 done
   20312 done
   20313 IFS=$as_save_IFS
   20314 
   20315 fi
   20316 fi
   20317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20318 if test -n "$ac_ct_CC"; then
   20319   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20320 $as_echo "$ac_ct_CC" >&6; }
   20321 else
   20322   { $as_echo "$as_me:$LINENO: result: no" >&5
   20323 $as_echo "no" >&6; }
   20324 fi
   20325 
   20326 
   20327   test -n "$ac_ct_CC" && break
   20328 done
   20329 
   20330   if test "x$ac_ct_CC" = x; then
   20331     CC=""
   20332   else
   20333     case $cross_compiling:$ac_tool_warned in
   20334 yes:)
   20335 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20337 ac_tool_warned=yes ;;
   20338 esac
   20339     CC=$ac_ct_CC
   20340   fi
   20341 fi
   20342 
   20343 fi
   20344 
   20345 
   20346 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20348 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20349 See \`config.log' for more details." >&5
   20350 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20351 See \`config.log' for more details." >&2;}
   20352    { (exit 1); exit 1; }; }; }
   20353 
   20354 # Provide some information about the compiler.
   20355 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20356 set X $ac_compile
   20357 ac_compiler=$2
   20358 { (ac_try="$ac_compiler --version >&5"
   20359 case "(($ac_try" in
   20360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20361   *) ac_try_echo=$ac_try;;
   20362 esac
   20363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20364 $as_echo "$ac_try_echo") >&5
   20365   (eval "$ac_compiler --version >&5") 2>&5
   20366   ac_status=$?
   20367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20368   (exit $ac_status); }
   20369 { (ac_try="$ac_compiler -v >&5"
   20370 case "(($ac_try" in
   20371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20372   *) ac_try_echo=$ac_try;;
   20373 esac
   20374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20375 $as_echo "$ac_try_echo") >&5
   20376   (eval "$ac_compiler -v >&5") 2>&5
   20377   ac_status=$?
   20378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20379   (exit $ac_status); }
   20380 { (ac_try="$ac_compiler -V >&5"
   20381 case "(($ac_try" in
   20382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20383   *) ac_try_echo=$ac_try;;
   20384 esac
   20385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20386 $as_echo "$ac_try_echo") >&5
   20387   (eval "$ac_compiler -V >&5") 2>&5
   20388   ac_status=$?
   20389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20390   (exit $ac_status); }
   20391 
   20392 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20393 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20394 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20395   $as_echo_n "(cached) " >&6
   20396 else
   20397   cat >conftest.$ac_ext <<_ACEOF
   20398 /* confdefs.h.  */
   20399 _ACEOF
   20400 cat confdefs.h >>conftest.$ac_ext
   20401 cat >>conftest.$ac_ext <<_ACEOF
   20402 /* end confdefs.h.  */
   20403 
   20404 int
   20405 main ()
   20406 {
   20407 #ifndef __GNUC__
   20408        choke me
   20409 #endif
   20410 
   20411   ;
   20412   return 0;
   20413 }
   20414 _ACEOF
   20415 rm -f conftest.$ac_objext
   20416 if { (ac_try="$ac_compile"
   20417 case "(($ac_try" in
   20418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20419   *) ac_try_echo=$ac_try;;
   20420 esac
   20421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20422 $as_echo "$ac_try_echo") >&5
   20423   (eval "$ac_compile") 2>conftest.er1
   20424   ac_status=$?
   20425   grep -v '^ *+' conftest.er1 >conftest.err
   20426   rm -f conftest.er1
   20427   cat conftest.err >&5
   20428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20429   (exit $ac_status); } && {
   20430 	 test -z "$ac_c_werror_flag" ||
   20431 	 test ! -s conftest.err
   20432        } && test -s conftest.$ac_objext; then
   20433   ac_compiler_gnu=yes
   20434 else
   20435   $as_echo "$as_me: failed program was:" >&5
   20436 sed 's/^/| /' conftest.$ac_ext >&5
   20437 
   20438 	ac_compiler_gnu=no
   20439 fi
   20440 
   20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20442 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20443 
   20444 fi
   20445 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20446 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20447 if test $ac_compiler_gnu = yes; then
   20448   GCC=yes
   20449 else
   20450   GCC=
   20451 fi
   20452 ac_test_CFLAGS=${CFLAGS+set}
   20453 ac_save_CFLAGS=$CFLAGS
   20454 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20455 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20456 if test "${ac_cv_prog_cc_g+set}" = set; then
   20457   $as_echo_n "(cached) " >&6
   20458 else
   20459   ac_save_c_werror_flag=$ac_c_werror_flag
   20460    ac_c_werror_flag=yes
   20461    ac_cv_prog_cc_g=no
   20462    CFLAGS="-g"
   20463    cat >conftest.$ac_ext <<_ACEOF
   20464 /* confdefs.h.  */
   20465 _ACEOF
   20466 cat confdefs.h >>conftest.$ac_ext
   20467 cat >>conftest.$ac_ext <<_ACEOF
   20468 /* end confdefs.h.  */
   20469 
   20470 int
   20471 main ()
   20472 {
   20473 
   20474   ;
   20475   return 0;
   20476 }
   20477 _ACEOF
   20478 rm -f conftest.$ac_objext
   20479 if { (ac_try="$ac_compile"
   20480 case "(($ac_try" in
   20481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20482   *) ac_try_echo=$ac_try;;
   20483 esac
   20484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20485 $as_echo "$ac_try_echo") >&5
   20486   (eval "$ac_compile") 2>conftest.er1
   20487   ac_status=$?
   20488   grep -v '^ *+' conftest.er1 >conftest.err
   20489   rm -f conftest.er1
   20490   cat conftest.err >&5
   20491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20492   (exit $ac_status); } && {
   20493 	 test -z "$ac_c_werror_flag" ||
   20494 	 test ! -s conftest.err
   20495        } && test -s conftest.$ac_objext; then
   20496   ac_cv_prog_cc_g=yes
   20497 else
   20498   $as_echo "$as_me: failed program was:" >&5
   20499 sed 's/^/| /' conftest.$ac_ext >&5
   20500 
   20501 	CFLAGS=""
   20502       cat >conftest.$ac_ext <<_ACEOF
   20503 /* confdefs.h.  */
   20504 _ACEOF
   20505 cat confdefs.h >>conftest.$ac_ext
   20506 cat >>conftest.$ac_ext <<_ACEOF
   20507 /* end confdefs.h.  */
   20508 
   20509 int
   20510 main ()
   20511 {
   20512 
   20513   ;
   20514   return 0;
   20515 }
   20516 _ACEOF
   20517 rm -f conftest.$ac_objext
   20518 if { (ac_try="$ac_compile"
   20519 case "(($ac_try" in
   20520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20521   *) ac_try_echo=$ac_try;;
   20522 esac
   20523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20524 $as_echo "$ac_try_echo") >&5
   20525   (eval "$ac_compile") 2>conftest.er1
   20526   ac_status=$?
   20527   grep -v '^ *+' conftest.er1 >conftest.err
   20528   rm -f conftest.er1
   20529   cat conftest.err >&5
   20530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20531   (exit $ac_status); } && {
   20532 	 test -z "$ac_c_werror_flag" ||
   20533 	 test ! -s conftest.err
   20534        } && test -s conftest.$ac_objext; then
   20535   :
   20536 else
   20537   $as_echo "$as_me: failed program was:" >&5
   20538 sed 's/^/| /' conftest.$ac_ext >&5
   20539 
   20540 	ac_c_werror_flag=$ac_save_c_werror_flag
   20541 	 CFLAGS="-g"
   20542 	 cat >conftest.$ac_ext <<_ACEOF
   20543 /* confdefs.h.  */
   20544 _ACEOF
   20545 cat confdefs.h >>conftest.$ac_ext
   20546 cat >>conftest.$ac_ext <<_ACEOF
   20547 /* end confdefs.h.  */
   20548 
   20549 int
   20550 main ()
   20551 {
   20552 
   20553   ;
   20554   return 0;
   20555 }
   20556 _ACEOF
   20557 rm -f conftest.$ac_objext
   20558 if { (ac_try="$ac_compile"
   20559 case "(($ac_try" in
   20560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20561   *) ac_try_echo=$ac_try;;
   20562 esac
   20563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20564 $as_echo "$ac_try_echo") >&5
   20565   (eval "$ac_compile") 2>conftest.er1
   20566   ac_status=$?
   20567   grep -v '^ *+' conftest.er1 >conftest.err
   20568   rm -f conftest.er1
   20569   cat conftest.err >&5
   20570   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20571   (exit $ac_status); } && {
   20572 	 test -z "$ac_c_werror_flag" ||
   20573 	 test ! -s conftest.err
   20574        } && test -s conftest.$ac_objext; then
   20575   ac_cv_prog_cc_g=yes
   20576 else
   20577   $as_echo "$as_me: failed program was:" >&5
   20578 sed 's/^/| /' conftest.$ac_ext >&5
   20579 
   20580 
   20581 fi
   20582 
   20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20584 fi
   20585 
   20586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20587 fi
   20588 
   20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20590    ac_c_werror_flag=$ac_save_c_werror_flag
   20591 fi
   20592 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20593 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20594 if test "$ac_test_CFLAGS" = set; then
   20595   CFLAGS=$ac_save_CFLAGS
   20596 elif test $ac_cv_prog_cc_g = yes; then
   20597   if test "$GCC" = yes; then
   20598     CFLAGS="-g -O2"
   20599   else
   20600     CFLAGS="-g"
   20601   fi
   20602 else
   20603   if test "$GCC" = yes; then
   20604     CFLAGS="-O2"
   20605   else
   20606     CFLAGS=
   20607   fi
   20608 fi
   20609 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20610 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20611 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20612   $as_echo_n "(cached) " >&6
   20613 else
   20614   ac_cv_prog_cc_c89=no
   20615 ac_save_CC=$CC
   20616 cat >conftest.$ac_ext <<_ACEOF
   20617 /* confdefs.h.  */
   20618 _ACEOF
   20619 cat confdefs.h >>conftest.$ac_ext
   20620 cat >>conftest.$ac_ext <<_ACEOF
   20621 /* end confdefs.h.  */
   20622 #include <stdarg.h>
   20623 #include <stdio.h>
   20624 #include <sys/types.h>
   20625 #include <sys/stat.h>
   20626 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20627 struct buf { int x; };
   20628 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20629 static char *e (p, i)
   20630      char **p;
   20631      int i;
   20632 {
   20633   return p[i];
   20634 }
   20635 static char *f (char * (*g) (char **, int), char **p, ...)
   20636 {
   20637   char *s;
   20638   va_list v;
   20639   va_start (v,p);
   20640   s = g (p, va_arg (v,int));
   20641   va_end (v);
   20642   return s;
   20643 }
   20644 
   20645 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20646    function prototypes and stuff, but not '\xHH' hex character constants.
   20647    These don't provoke an error unfortunately, instead are silently treated
   20648    as 'x'.  The following induces an error, until -std is added to get
   20649    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20650    array size at least.  It's necessary to write '\x00'==0 to get something
   20651    that's true only with -std.  */
   20652 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20653 
   20654 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20655    inside strings and character constants.  */
   20656 #define FOO(x) 'x'
   20657 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20658 
   20659 int test (int i, double x);
   20660 struct s1 {int (*f) (int a);};
   20661 struct s2 {int (*f) (double a);};
   20662 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20663 int argc;
   20664 char **argv;
   20665 int
   20666 main ()
   20667 {
   20668 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20669   ;
   20670   return 0;
   20671 }
   20672 _ACEOF
   20673 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20674 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20675 do
   20676   CC="$ac_save_CC $ac_arg"
   20677   rm -f conftest.$ac_objext
   20678 if { (ac_try="$ac_compile"
   20679 case "(($ac_try" in
   20680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20681   *) ac_try_echo=$ac_try;;
   20682 esac
   20683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20684 $as_echo "$ac_try_echo") >&5
   20685   (eval "$ac_compile") 2>conftest.er1
   20686   ac_status=$?
   20687   grep -v '^ *+' conftest.er1 >conftest.err
   20688   rm -f conftest.er1
   20689   cat conftest.err >&5
   20690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20691   (exit $ac_status); } && {
   20692 	 test -z "$ac_c_werror_flag" ||
   20693 	 test ! -s conftest.err
   20694        } && test -s conftest.$ac_objext; then
   20695   ac_cv_prog_cc_c89=$ac_arg
   20696 else
   20697   $as_echo "$as_me: failed program was:" >&5
   20698 sed 's/^/| /' conftest.$ac_ext >&5
   20699 
   20700 
   20701 fi
   20702 
   20703 rm -f core conftest.err conftest.$ac_objext
   20704   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20705 done
   20706 rm -f conftest.$ac_ext
   20707 CC=$ac_save_CC
   20708 
   20709 fi
   20710 # AC_CACHE_VAL
   20711 case "x$ac_cv_prog_cc_c89" in
   20712   x)
   20713     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20714 $as_echo "none needed" >&6; } ;;
   20715   xno)
   20716     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20717 $as_echo "unsupported" >&6; } ;;
   20718   *)
   20719     CC="$CC $ac_cv_prog_cc_c89"
   20720     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20722 esac
   20723 
   20724 
   20725 ac_ext=c
   20726 ac_cpp='$CPP $CPPFLAGS'
   20727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20730 
   20731 depcc="$CC"   am_compiler_list=
   20732 
   20733 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20734 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20735 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20736   $as_echo_n "(cached) " >&6
   20737 else
   20738   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20739   # We make a subdir and do the tests there.  Otherwise we can end up
   20740   # making bogus files that we don't know about and never remove.  For
   20741   # instance it was reported that on HP-UX the gcc test will end up
   20742   # making a dummy file named `D' -- because `-MD' means `put the output
   20743   # in D'.
   20744   mkdir conftest.dir
   20745   # Copy depcomp to subdir because otherwise we won't find it if we're
   20746   # using a relative directory.
   20747   cp "$am_depcomp" conftest.dir
   20748   cd conftest.dir
   20749   # We will build objects and dependencies in a subdirectory because
   20750   # it helps to detect inapplicable dependency modes.  For instance
   20751   # both Tru64's cc and ICC support -MD to output dependencies as a
   20752   # side effect of compilation, but ICC will put the dependencies in
   20753   # the current directory while Tru64 will put them in the object
   20754   # directory.
   20755   mkdir sub
   20756 
   20757   am_cv_CC_dependencies_compiler_type=none
   20758   if test "$am_compiler_list" = ""; then
   20759      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20760   fi
   20761   am__universal=false
   20762   case " $depcc " in #(
   20763      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20764      esac
   20765 
   20766   for depmode in $am_compiler_list; do
   20767     # Setup a source with many dependencies, because some compilers
   20768     # like to wrap large dependency lists on column 80 (with \), and
   20769     # we should not choose a depcomp mode which is confused by this.
   20770     #
   20771     # We need to recreate these files for each test, as the compiler may
   20772     # overwrite some of them when testing with obscure command lines.
   20773     # This happens at least with the AIX C compiler.
   20774     : > sub/conftest.c
   20775     for i in 1 2 3 4 5 6; do
   20776       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20777       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20778       # Solaris 8's {/usr,}/bin/sh.
   20779       touch sub/conftst$i.h
   20780     done
   20781     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20782 
   20783     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20784     # mode.  It turns out that the SunPro C++ compiler does not properly
   20785     # handle `-M -o', and we need to detect this.  Also, some Intel
   20786     # versions had trouble with output in subdirs
   20787     am__obj=sub/conftest.${OBJEXT-o}
   20788     am__minus_obj="-o $am__obj"
   20789     case $depmode in
   20790     gcc)
   20791       # This depmode causes a compiler race in universal mode.
   20792       test "$am__universal" = false || continue
   20793       ;;
   20794     nosideeffect)
   20795       # after this tag, mechanisms are not by side-effect, so they'll
   20796       # only be used when explicitly requested
   20797       if test "x$enable_dependency_tracking" = xyes; then
   20798 	continue
   20799       else
   20800 	break
   20801       fi
   20802       ;;
   20803     msvisualcpp | msvcmsys)
   20804       # This compiler won't grok `-c -o', but also, the minuso test has
   20805       # not run yet.  These depmodes are late enough in the game, and
   20806       # so weak that their functioning should not be impacted.
   20807       am__obj=conftest.${OBJEXT-o}
   20808       am__minus_obj=
   20809       ;;
   20810     none) break ;;
   20811     esac
   20812     if depmode=$depmode \
   20813        source=sub/conftest.c object=$am__obj \
   20814        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20815        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20816          >/dev/null 2>conftest.err &&
   20817        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20818        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20819        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20820        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20821       # icc doesn't choke on unknown options, it will just issue warnings
   20822       # or remarks (even with -Werror).  So we grep stderr for any message
   20823       # that says an option was ignored or not supported.
   20824       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20825       #   icc: Command line warning: ignoring option '-M'; no argument required
   20826       # The diagnosis changed in icc 8.0:
   20827       #   icc: Command line remark: option '-MP' not supported
   20828       if (grep 'ignoring option' conftest.err ||
   20829           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20830         am_cv_CC_dependencies_compiler_type=$depmode
   20831         break
   20832       fi
   20833     fi
   20834   done
   20835 
   20836   cd ..
   20837   rm -rf conftest.dir
   20838 else
   20839   am_cv_CC_dependencies_compiler_type=none
   20840 fi
   20841 
   20842 fi
   20843 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20844 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20845 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20846 
   20847  if
   20848   test "x$enable_dependency_tracking" != xno \
   20849   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20850   am__fastdepCC_TRUE=
   20851   am__fastdepCC_FALSE='#'
   20852 else
   20853   am__fastdepCC_TRUE='#'
   20854   am__fastdepCC_FALSE=
   20855 fi
   20856 
   20857 
   20858 
   20859 
   20860 
   20861 
   20862 
   20863 # Check whether --with-xorg-module-dir was given.
   20864 if test "${with_xorg_module_dir+set}" = set; then
   20865   withval=$with_xorg_module_dir;  moduledir="$withval"
   20866 else
   20867    moduledir="$libdir/xorg/modules"
   20868 fi
   20869 
   20870 
   20871 
   20872 
   20873 # Checks for extensions
   20874 
   20875 	SAVE_CFLAGS="$CFLAGS"
   20876 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20877 	cat >conftest.$ac_ext <<_ACEOF
   20878 /* confdefs.h.  */
   20879 _ACEOF
   20880 cat confdefs.h >>conftest.$ac_ext
   20881 cat >>conftest.$ac_ext <<_ACEOF
   20882 /* end confdefs.h.  */
   20883 
   20884 #include "xorg-server.h"
   20885 #if !defined RANDR
   20886 #error RANDR not defined
   20887 #endif
   20888 
   20889 int
   20890 main ()
   20891 {
   20892 
   20893   ;
   20894   return 0;
   20895 }
   20896 _ACEOF
   20897 rm -f conftest.$ac_objext
   20898 if { (ac_try="$ac_compile"
   20899 case "(($ac_try" in
   20900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20901   *) ac_try_echo=$ac_try;;
   20902 esac
   20903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20904 $as_echo "$ac_try_echo") >&5
   20905   (eval "$ac_compile") 2>conftest.er1
   20906   ac_status=$?
   20907   grep -v '^ *+' conftest.er1 >conftest.err
   20908   rm -f conftest.er1
   20909   cat conftest.err >&5
   20910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20911   (exit $ac_status); } && {
   20912 	 test -z "$ac_c_werror_flag" ||
   20913 	 test ! -s conftest.err
   20914        } && test -s conftest.$ac_objext; then
   20915   _EXT_CHECK=yes
   20916 else
   20917   $as_echo "$as_me: failed program was:" >&5
   20918 sed 's/^/| /' conftest.$ac_ext >&5
   20919 
   20920 	_EXT_CHECK=no
   20921 fi
   20922 
   20923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20924 	CFLAGS="$SAVE_CFLAGS"
   20925 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20926 $as_echo_n "checking if RANDR is defined... " >&6; }
   20927 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20928 $as_echo "$_EXT_CHECK" >&6; }
   20929 	if test "$_EXT_CHECK" != no; then
   20930 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20931 	fi
   20932 
   20933 
   20934 	SAVE_CFLAGS="$CFLAGS"
   20935 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20936 	cat >conftest.$ac_ext <<_ACEOF
   20937 /* confdefs.h.  */
   20938 _ACEOF
   20939 cat confdefs.h >>conftest.$ac_ext
   20940 cat >>conftest.$ac_ext <<_ACEOF
   20941 /* end confdefs.h.  */
   20942 
   20943 #include "xorg-server.h"
   20944 #if !defined RENDER
   20945 #error RENDER not defined
   20946 #endif
   20947 
   20948 int
   20949 main ()
   20950 {
   20951 
   20952   ;
   20953   return 0;
   20954 }
   20955 _ACEOF
   20956 rm -f conftest.$ac_objext
   20957 if { (ac_try="$ac_compile"
   20958 case "(($ac_try" in
   20959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20960   *) ac_try_echo=$ac_try;;
   20961 esac
   20962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20963 $as_echo "$ac_try_echo") >&5
   20964   (eval "$ac_compile") 2>conftest.er1
   20965   ac_status=$?
   20966   grep -v '^ *+' conftest.er1 >conftest.err
   20967   rm -f conftest.er1
   20968   cat conftest.err >&5
   20969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20970   (exit $ac_status); } && {
   20971 	 test -z "$ac_c_werror_flag" ||
   20972 	 test ! -s conftest.err
   20973        } && test -s conftest.$ac_objext; then
   20974   _EXT_CHECK=yes
   20975 else
   20976   $as_echo "$as_me: failed program was:" >&5
   20977 sed 's/^/| /' conftest.$ac_ext >&5
   20978 
   20979 	_EXT_CHECK=no
   20980 fi
   20981 
   20982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20983 	CFLAGS="$SAVE_CFLAGS"
   20984 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20985 $as_echo_n "checking if RENDER is defined... " >&6; }
   20986 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20987 $as_echo "$_EXT_CHECK" >&6; }
   20988 	if test "$_EXT_CHECK" != no; then
   20989 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20990 	fi
   20991 
   20992 
   20993 	SAVE_CFLAGS="$CFLAGS"
   20994 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20995 	cat >conftest.$ac_ext <<_ACEOF
   20996 /* confdefs.h.  */
   20997 _ACEOF
   20998 cat confdefs.h >>conftest.$ac_ext
   20999 cat >>conftest.$ac_ext <<_ACEOF
   21000 /* end confdefs.h.  */
   21001 
   21002 #include "xorg-server.h"
   21003 #if !defined DPMSExtension
   21004 #error DPMSExtension not defined
   21005 #endif
   21006 
   21007 int
   21008 main ()
   21009 {
   21010 
   21011   ;
   21012   return 0;
   21013 }
   21014 _ACEOF
   21015 rm -f conftest.$ac_objext
   21016 if { (ac_try="$ac_compile"
   21017 case "(($ac_try" in
   21018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21019   *) ac_try_echo=$ac_try;;
   21020 esac
   21021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21022 $as_echo "$ac_try_echo") >&5
   21023   (eval "$ac_compile") 2>conftest.er1
   21024   ac_status=$?
   21025   grep -v '^ *+' conftest.er1 >conftest.err
   21026   rm -f conftest.er1
   21027   cat conftest.err >&5
   21028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21029   (exit $ac_status); } && {
   21030 	 test -z "$ac_c_werror_flag" ||
   21031 	 test ! -s conftest.err
   21032        } && test -s conftest.$ac_objext; then
   21033   _EXT_CHECK=yes
   21034 else
   21035   $as_echo "$as_me: failed program was:" >&5
   21036 sed 's/^/| /' conftest.$ac_ext >&5
   21037 
   21038 	_EXT_CHECK=no
   21039 fi
   21040 
   21041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21042 	CFLAGS="$SAVE_CFLAGS"
   21043 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21044 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21045 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21046 $as_echo "$_EXT_CHECK" >&6; }
   21047 	if test "$_EXT_CHECK" != no; then
   21048 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21049 	fi
   21050 
   21051 
   21052 # Checks for pkg-config packages
   21053 
   21054 
   21055 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21056 	if test -n "$ac_tool_prefix"; then
   21057   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21058 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21060 $as_echo_n "checking for $ac_word... " >&6; }
   21061 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21062   $as_echo_n "(cached) " >&6
   21063 else
   21064   case $PKG_CONFIG in
   21065   [\\/]* | ?:[\\/]*)
   21066   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21067   ;;
   21068   *)
   21069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21070 for as_dir in $PATH
   21071 do
   21072   IFS=$as_save_IFS
   21073   test -z "$as_dir" && as_dir=.
   21074   for ac_exec_ext in '' $ac_executable_extensions; do
   21075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21076     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21077     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21078     break 2
   21079   fi
   21080 done
   21081 done
   21082 IFS=$as_save_IFS
   21083 
   21084   ;;
   21085 esac
   21086 fi
   21087 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21088 if test -n "$PKG_CONFIG"; then
   21089   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21090 $as_echo "$PKG_CONFIG" >&6; }
   21091 else
   21092   { $as_echo "$as_me:$LINENO: result: no" >&5
   21093 $as_echo "no" >&6; }
   21094 fi
   21095 
   21096 
   21097 fi
   21098 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21099   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21100   # Extract the first word of "pkg-config", so it can be a program name with args.
   21101 set dummy pkg-config; ac_word=$2
   21102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21103 $as_echo_n "checking for $ac_word... " >&6; }
   21104 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21105   $as_echo_n "(cached) " >&6
   21106 else
   21107   case $ac_pt_PKG_CONFIG in
   21108   [\\/]* | ?:[\\/]*)
   21109   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21110   ;;
   21111   *)
   21112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21113 for as_dir in $PATH
   21114 do
   21115   IFS=$as_save_IFS
   21116   test -z "$as_dir" && as_dir=.
   21117   for ac_exec_ext in '' $ac_executable_extensions; do
   21118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21119     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21120     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21121     break 2
   21122   fi
   21123 done
   21124 done
   21125 IFS=$as_save_IFS
   21126 
   21127   ;;
   21128 esac
   21129 fi
   21130 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21131 if test -n "$ac_pt_PKG_CONFIG"; then
   21132   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21133 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21134 else
   21135   { $as_echo "$as_me:$LINENO: result: no" >&5
   21136 $as_echo "no" >&6; }
   21137 fi
   21138 
   21139   if test "x$ac_pt_PKG_CONFIG" = x; then
   21140     PKG_CONFIG=""
   21141   else
   21142     case $cross_compiling:$ac_tool_warned in
   21143 yes:)
   21144 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21146 ac_tool_warned=yes ;;
   21147 esac
   21148     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21149   fi
   21150 else
   21151   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21152 fi
   21153 
   21154 fi
   21155 if test -n "$PKG_CONFIG"; then
   21156 	_pkg_min_version=0.9.0
   21157 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21158 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21159 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21160 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21161 $as_echo "yes" >&6; }
   21162 	else
   21163 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21164 $as_echo "no" >&6; }
   21165 		PKG_CONFIG=""
   21166 	fi
   21167 
   21168 fi
   21169 
   21170 pkg_failed=no
   21171 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21172 $as_echo_n "checking for XORG... " >&6; }
   21173 
   21174 if test -n "$XORG_CFLAGS"; then
   21175     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21176  elif test -n "$PKG_CONFIG"; then
   21177     if test -n "$PKG_CONFIG" && \
   21178     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21179   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21180   ac_status=$?
   21181   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21182   (exit $ac_status); }; then
   21183   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21184 else
   21185   pkg_failed=yes
   21186 fi
   21187  else
   21188     pkg_failed=untried
   21189 fi
   21190 if test -n "$XORG_LIBS"; then
   21191     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21192  elif test -n "$PKG_CONFIG"; then
   21193     if test -n "$PKG_CONFIG" && \
   21194     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21195   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21196   ac_status=$?
   21197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21198   (exit $ac_status); }; then
   21199   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21200 else
   21201   pkg_failed=yes
   21202 fi
   21203  else
   21204     pkg_failed=untried
   21205 fi
   21206 
   21207 
   21208 
   21209 if test $pkg_failed = yes; then
   21210 
   21211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21212         _pkg_short_errors_supported=yes
   21213 else
   21214         _pkg_short_errors_supported=no
   21215 fi
   21216         if test $_pkg_short_errors_supported = yes; then
   21217 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21218         else
   21219 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21220         fi
   21221 	# Put the nasty error message in config.log where it belongs
   21222 	echo "$XORG_PKG_ERRORS" >&5
   21223 
   21224 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21225 
   21226 $XORG_PKG_ERRORS
   21227 
   21228 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21229 installed software in a non-standard prefix.
   21230 
   21231 Alternatively, you may set the environment variables XORG_CFLAGS
   21232 and XORG_LIBS to avoid the need to call pkg-config.
   21233 See the pkg-config man page for more details.
   21234 " >&5
   21235 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21236 
   21237 $XORG_PKG_ERRORS
   21238 
   21239 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21240 installed software in a non-standard prefix.
   21241 
   21242 Alternatively, you may set the environment variables XORG_CFLAGS
   21243 and XORG_LIBS to avoid the need to call pkg-config.
   21244 See the pkg-config man page for more details.
   21245 " >&2;}
   21246    { (exit 1); exit 1; }; }
   21247 elif test $pkg_failed = untried; then
   21248 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21250 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21251 is in your PATH or set the PKG_CONFIG environment variable to the full
   21252 path to pkg-config.
   21253 
   21254 Alternatively, you may set the environment variables XORG_CFLAGS
   21255 and XORG_LIBS to avoid the need to call pkg-config.
   21256 See the pkg-config man page for more details.
   21257 
   21258 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21259 See \`config.log' for more details." >&5
   21260 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21261 is in your PATH or set the PKG_CONFIG environment variable to the full
   21262 path to pkg-config.
   21263 
   21264 Alternatively, you may set the environment variables XORG_CFLAGS
   21265 and XORG_LIBS to avoid the need to call pkg-config.
   21266 See the pkg-config man page for more details.
   21267 
   21268 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21269 See \`config.log' for more details." >&2;}
   21270    { (exit 1); exit 1; }; }; }
   21271 else
   21272 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21273 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21274         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21275 $as_echo "yes" >&6; }
   21276 	:
   21277 fi
   21278 
   21279 pkg_failed=no
   21280 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21281 $as_echo_n "checking for XEXT... " >&6; }
   21282 
   21283 if test -n "$XEXT_CFLAGS"; then
   21284     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21285  elif test -n "$PKG_CONFIG"; then
   21286     if test -n "$PKG_CONFIG" && \
   21287     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21288   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21289   ac_status=$?
   21290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21291   (exit $ac_status); }; then
   21292   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21293 else
   21294   pkg_failed=yes
   21295 fi
   21296  else
   21297     pkg_failed=untried
   21298 fi
   21299 if test -n "$XEXT_LIBS"; then
   21300     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21301  elif test -n "$PKG_CONFIG"; then
   21302     if test -n "$PKG_CONFIG" && \
   21303     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21304   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21305   ac_status=$?
   21306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21307   (exit $ac_status); }; then
   21308   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21309 else
   21310   pkg_failed=yes
   21311 fi
   21312  else
   21313     pkg_failed=untried
   21314 fi
   21315 
   21316 
   21317 
   21318 if test $pkg_failed = yes; then
   21319 
   21320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21321         _pkg_short_errors_supported=yes
   21322 else
   21323         _pkg_short_errors_supported=no
   21324 fi
   21325         if test $_pkg_short_errors_supported = yes; then
   21326 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21327         else
   21328 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21329         fi
   21330 	# Put the nasty error message in config.log where it belongs
   21331 	echo "$XEXT_PKG_ERRORS" >&5
   21332 
   21333 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21334 $as_echo "no" >&6; }
   21335                 HAVE_XEXTPROTO_71="no"
   21336 elif test $pkg_failed = untried; then
   21337 	HAVE_XEXTPROTO_71="no"
   21338 else
   21339 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21340 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21341         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21342 $as_echo "yes" >&6; }
   21343 	HAVE_XEXTPROTO_71="yes";
   21344 cat >>confdefs.h <<\_ACEOF
   21345 #define HAVE_XEXTPROTO_71 1
   21346 _ACEOF
   21347 
   21348 fi
   21349  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21350   HAVE_XEXTPROTO_71_TRUE=
   21351   HAVE_XEXTPROTO_71_FALSE='#'
   21352 else
   21353   HAVE_XEXTPROTO_71_TRUE='#'
   21354   HAVE_XEXTPROTO_71_FALSE=
   21355 fi
   21356 
   21357 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21358 
   21359 save_CFLAGS="$CFLAGS"
   21360 CFLAGS="$XORG_CFLAGS"
   21361 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   21362 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   21363 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   21364   $as_echo_n "(cached) " >&6
   21365 else
   21366   cat >conftest.$ac_ext <<_ACEOF
   21367 /* confdefs.h.  */
   21368 _ACEOF
   21369 cat confdefs.h >>conftest.$ac_ext
   21370 cat >>conftest.$ac_ext <<_ACEOF
   21371 /* end confdefs.h.  */
   21372 #include "xf86.h"
   21373 
   21374 int
   21375 main ()
   21376 {
   21377 #ifndef xf86ConfigIsaEntity
   21378   (void) xf86ConfigIsaEntity;
   21379 #endif
   21380 
   21381   ;
   21382   return 0;
   21383 }
   21384 _ACEOF
   21385 rm -f conftest.$ac_objext
   21386 if { (ac_try="$ac_compile"
   21387 case "(($ac_try" in
   21388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21389   *) ac_try_echo=$ac_try;;
   21390 esac
   21391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21392 $as_echo "$ac_try_echo") >&5
   21393   (eval "$ac_compile") 2>conftest.er1
   21394   ac_status=$?
   21395   grep -v '^ *+' conftest.er1 >conftest.err
   21396   rm -f conftest.er1
   21397   cat conftest.err >&5
   21398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21399   (exit $ac_status); } && {
   21400 	 test -z "$ac_c_werror_flag" ||
   21401 	 test ! -s conftest.err
   21402        } && test -s conftest.$ac_objext; then
   21403   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   21404 else
   21405   $as_echo "$as_me: failed program was:" >&5
   21406 sed 's/^/| /' conftest.$ac_ext >&5
   21407 
   21408 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   21409 fi
   21410 
   21411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21412 fi
   21413 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   21414 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   21415 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   21416 
   21417 cat >>confdefs.h <<\_ACEOF
   21418 #define HAVE_ISA 1
   21419 _ACEOF
   21420 
   21421 fi
   21422 
   21423 CFLAGS="$save_CFLAGS"
   21424 
   21425 save_CFLAGS="$CFLAGS"
   21426 CFLAGS="$XORG_CFLAGS"
   21427 { $as_echo "$as_me:$LINENO: checking whether VBEReadPanelID is declared" >&5
   21428 $as_echo_n "checking whether VBEReadPanelID is declared... " >&6; }
   21429 if test "${ac_cv_have_decl_VBEReadPanelID+set}" = set; then
   21430   $as_echo_n "(cached) " >&6
   21431 else
   21432   cat >conftest.$ac_ext <<_ACEOF
   21433 /* confdefs.h.  */
   21434 _ACEOF
   21435 cat confdefs.h >>conftest.$ac_ext
   21436 cat >>conftest.$ac_ext <<_ACEOF
   21437 /* end confdefs.h.  */
   21438 #include "vbe.h"
   21439 
   21440 int
   21441 main ()
   21442 {
   21443 #ifndef VBEReadPanelID
   21444   (void) VBEReadPanelID;
   21445 #endif
   21446 
   21447   ;
   21448   return 0;
   21449 }
   21450 _ACEOF
   21451 rm -f conftest.$ac_objext
   21452 if { (ac_try="$ac_compile"
   21453 case "(($ac_try" in
   21454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21455   *) ac_try_echo=$ac_try;;
   21456 esac
   21457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21458 $as_echo "$ac_try_echo") >&5
   21459   (eval "$ac_compile") 2>conftest.er1
   21460   ac_status=$?
   21461   grep -v '^ *+' conftest.er1 >conftest.err
   21462   rm -f conftest.er1
   21463   cat conftest.err >&5
   21464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21465   (exit $ac_status); } && {
   21466 	 test -z "$ac_c_werror_flag" ||
   21467 	 test ! -s conftest.err
   21468        } && test -s conftest.$ac_objext; then
   21469   ac_cv_have_decl_VBEReadPanelID=yes
   21470 else
   21471   $as_echo "$as_me: failed program was:" >&5
   21472 sed 's/^/| /' conftest.$ac_ext >&5
   21473 
   21474 	ac_cv_have_decl_VBEReadPanelID=no
   21475 fi
   21476 
   21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21478 fi
   21479 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_VBEReadPanelID" >&5
   21480 $as_echo "$ac_cv_have_decl_VBEReadPanelID" >&6; }
   21481 if test "x$ac_cv_have_decl_VBEReadPanelID" = x""yes; then
   21482 
   21483 cat >>confdefs.h <<\_ACEOF
   21484 #define HAVE_PANELID 1
   21485 _ACEOF
   21486 
   21487 fi
   21488 
   21489 CFLAGS="$save_CFLAGS"
   21490 
   21491 save_CFLAGS="$CFLAGS"
   21492 CFLAGS="$XORG_CFLAGS"
   21493 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21494 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21495 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21496   $as_echo_n "(cached) " >&6
   21497 else
   21498   cat >conftest.$ac_ext <<_ACEOF
   21499 /* confdefs.h.  */
   21500 _ACEOF
   21501 cat confdefs.h >>conftest.$ac_ext
   21502 cat >>conftest.$ac_ext <<_ACEOF
   21503 /* end confdefs.h.  */
   21504 #include "xorg-server.h"
   21505 
   21506 int
   21507 main ()
   21508 {
   21509 #ifndef XSERVER_LIBPCIACCESS
   21510   (void) XSERVER_LIBPCIACCESS;
   21511 #endif
   21512 
   21513   ;
   21514   return 0;
   21515 }
   21516 _ACEOF
   21517 rm -f conftest.$ac_objext
   21518 if { (ac_try="$ac_compile"
   21519 case "(($ac_try" in
   21520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21521   *) ac_try_echo=$ac_try;;
   21522 esac
   21523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21524 $as_echo "$ac_try_echo") >&5
   21525   (eval "$ac_compile") 2>conftest.er1
   21526   ac_status=$?
   21527   grep -v '^ *+' conftest.er1 >conftest.err
   21528   rm -f conftest.er1
   21529   cat conftest.err >&5
   21530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21531   (exit $ac_status); } && {
   21532 	 test -z "$ac_c_werror_flag" ||
   21533 	 test ! -s conftest.err
   21534        } && test -s conftest.$ac_objext; then
   21535   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21536 else
   21537   $as_echo "$as_me: failed program was:" >&5
   21538 sed 's/^/| /' conftest.$ac_ext >&5
   21539 
   21540 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21541 fi
   21542 
   21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21544 fi
   21545 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21546 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21547 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21548   XSERVER_LIBPCIACCESS=yes
   21549 else
   21550   XSERVER_LIBPCIACCESS=no
   21551 fi
   21552 
   21553 CFLAGS="$save_CFLAGS"
   21554 
   21555 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21556 
   21557 pkg_failed=no
   21558 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21559 $as_echo_n "checking for PCIACCESS... " >&6; }
   21560 
   21561 if test -n "$PCIACCESS_CFLAGS"; then
   21562     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21563  elif test -n "$PKG_CONFIG"; then
   21564     if test -n "$PKG_CONFIG" && \
   21565     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   21566   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   21567   ac_status=$?
   21568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21569   (exit $ac_status); }; then
   21570   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   21571 else
   21572   pkg_failed=yes
   21573 fi
   21574  else
   21575     pkg_failed=untried
   21576 fi
   21577 if test -n "$PCIACCESS_LIBS"; then
   21578     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21579  elif test -n "$PKG_CONFIG"; then
   21580     if test -n "$PKG_CONFIG" && \
   21581     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   21582   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   21583   ac_status=$?
   21584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21585   (exit $ac_status); }; then
   21586   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   21587 else
   21588   pkg_failed=yes
   21589 fi
   21590  else
   21591     pkg_failed=untried
   21592 fi
   21593 
   21594 
   21595 
   21596 if test $pkg_failed = yes; then
   21597 
   21598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21599         _pkg_short_errors_supported=yes
   21600 else
   21601         _pkg_short_errors_supported=no
   21602 fi
   21603         if test $_pkg_short_errors_supported = yes; then
   21604 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   21605         else
   21606 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   21607         fi
   21608 	# Put the nasty error message in config.log where it belongs
   21609 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21610 
   21611 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   21612 
   21613 $PCIACCESS_PKG_ERRORS
   21614 
   21615 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21616 installed software in a non-standard prefix.
   21617 
   21618 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21619 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21620 See the pkg-config man page for more details.
   21621 " >&5
   21622 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   21623 
   21624 $PCIACCESS_PKG_ERRORS
   21625 
   21626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21627 installed software in a non-standard prefix.
   21628 
   21629 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21630 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21631 See the pkg-config man page for more details.
   21632 " >&2;}
   21633    { (exit 1); exit 1; }; }
   21634 elif test $pkg_failed = untried; then
   21635 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21637 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21638 is in your PATH or set the PKG_CONFIG environment variable to the full
   21639 path to pkg-config.
   21640 
   21641 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21642 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21643 See the pkg-config man page for more details.
   21644 
   21645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21646 See \`config.log' for more details." >&5
   21647 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21648 is in your PATH or set the PKG_CONFIG environment variable to the full
   21649 path to pkg-config.
   21650 
   21651 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21652 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21653 See the pkg-config man page for more details.
   21654 
   21655 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21656 See \`config.log' for more details." >&2;}
   21657    { (exit 1); exit 1; }; }; }
   21658 else
   21659 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21660 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21661         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21662 $as_echo "yes" >&6; }
   21663 	:
   21664 fi
   21665 fi
   21666  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21667   XSERVER_LIBPCIACCESS_TRUE=
   21668   XSERVER_LIBPCIACCESS_FALSE='#'
   21669 else
   21670   XSERVER_LIBPCIACCESS_TRUE='#'
   21671   XSERVER_LIBPCIACCESS_FALSE=
   21672 fi
   21673 
   21674 
   21675 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
   21676 INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
   21677 
   21678 
   21679 
   21680 # Checks for libraries.
   21681 
   21682 # Checks for header files.
   21683 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21684 $as_echo_n "checking for ANSI C header files... " >&6; }
   21685 if test "${ac_cv_header_stdc+set}" = set; then
   21686   $as_echo_n "(cached) " >&6
   21687 else
   21688   cat >conftest.$ac_ext <<_ACEOF
   21689 /* confdefs.h.  */
   21690 _ACEOF
   21691 cat confdefs.h >>conftest.$ac_ext
   21692 cat >>conftest.$ac_ext <<_ACEOF
   21693 /* end confdefs.h.  */
   21694 #include <stdlib.h>
   21695 #include <stdarg.h>
   21696 #include <string.h>
   21697 #include <float.h>
   21698 
   21699 int
   21700 main ()
   21701 {
   21702 
   21703   ;
   21704   return 0;
   21705 }
   21706 _ACEOF
   21707 rm -f conftest.$ac_objext
   21708 if { (ac_try="$ac_compile"
   21709 case "(($ac_try" in
   21710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21711   *) ac_try_echo=$ac_try;;
   21712 esac
   21713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21714 $as_echo "$ac_try_echo") >&5
   21715   (eval "$ac_compile") 2>conftest.er1
   21716   ac_status=$?
   21717   grep -v '^ *+' conftest.er1 >conftest.err
   21718   rm -f conftest.er1
   21719   cat conftest.err >&5
   21720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21721   (exit $ac_status); } && {
   21722 	 test -z "$ac_c_werror_flag" ||
   21723 	 test ! -s conftest.err
   21724        } && test -s conftest.$ac_objext; then
   21725   ac_cv_header_stdc=yes
   21726 else
   21727   $as_echo "$as_me: failed program was:" >&5
   21728 sed 's/^/| /' conftest.$ac_ext >&5
   21729 
   21730 	ac_cv_header_stdc=no
   21731 fi
   21732 
   21733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21734 
   21735 if test $ac_cv_header_stdc = yes; then
   21736   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21737   cat >conftest.$ac_ext <<_ACEOF
   21738 /* confdefs.h.  */
   21739 _ACEOF
   21740 cat confdefs.h >>conftest.$ac_ext
   21741 cat >>conftest.$ac_ext <<_ACEOF
   21742 /* end confdefs.h.  */
   21743 #include <string.h>
   21744 
   21745 _ACEOF
   21746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21747   $EGREP "memchr" >/dev/null 2>&1; then
   21748   :
   21749 else
   21750   ac_cv_header_stdc=no
   21751 fi
   21752 rm -f conftest*
   21753 
   21754 fi
   21755 
   21756 if test $ac_cv_header_stdc = yes; then
   21757   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21758   cat >conftest.$ac_ext <<_ACEOF
   21759 /* confdefs.h.  */
   21760 _ACEOF
   21761 cat confdefs.h >>conftest.$ac_ext
   21762 cat >>conftest.$ac_ext <<_ACEOF
   21763 /* end confdefs.h.  */
   21764 #include <stdlib.h>
   21765 
   21766 _ACEOF
   21767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21768   $EGREP "free" >/dev/null 2>&1; then
   21769   :
   21770 else
   21771   ac_cv_header_stdc=no
   21772 fi
   21773 rm -f conftest*
   21774 
   21775 fi
   21776 
   21777 if test $ac_cv_header_stdc = yes; then
   21778   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21779   if test "$cross_compiling" = yes; then
   21780   :
   21781 else
   21782   cat >conftest.$ac_ext <<_ACEOF
   21783 /* confdefs.h.  */
   21784 _ACEOF
   21785 cat confdefs.h >>conftest.$ac_ext
   21786 cat >>conftest.$ac_ext <<_ACEOF
   21787 /* end confdefs.h.  */
   21788 #include <ctype.h>
   21789 #include <stdlib.h>
   21790 #if ((' ' & 0x0FF) == 0x020)
   21791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21793 #else
   21794 # define ISLOWER(c) \
   21795 		   (('a' <= (c) && (c) <= 'i') \
   21796 		     || ('j' <= (c) && (c) <= 'r') \
   21797 		     || ('s' <= (c) && (c) <= 'z'))
   21798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21799 #endif
   21800 
   21801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21802 int
   21803 main ()
   21804 {
   21805   int i;
   21806   for (i = 0; i < 256; i++)
   21807     if (XOR (islower (i), ISLOWER (i))
   21808 	|| toupper (i) != TOUPPER (i))
   21809       return 2;
   21810   return 0;
   21811 }
   21812 _ACEOF
   21813 rm -f conftest$ac_exeext
   21814 if { (ac_try="$ac_link"
   21815 case "(($ac_try" in
   21816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21817   *) ac_try_echo=$ac_try;;
   21818 esac
   21819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21820 $as_echo "$ac_try_echo") >&5
   21821   (eval "$ac_link") 2>&5
   21822   ac_status=$?
   21823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21824   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21825   { (case "(($ac_try" in
   21826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21827   *) ac_try_echo=$ac_try;;
   21828 esac
   21829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21830 $as_echo "$ac_try_echo") >&5
   21831   (eval "$ac_try") 2>&5
   21832   ac_status=$?
   21833   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21834   (exit $ac_status); }; }; then
   21835   :
   21836 else
   21837   $as_echo "$as_me: program exited with status $ac_status" >&5
   21838 $as_echo "$as_me: failed program was:" >&5
   21839 sed 's/^/| /' conftest.$ac_ext >&5
   21840 
   21841 ( exit $ac_status )
   21842 ac_cv_header_stdc=no
   21843 fi
   21844 rm -rf conftest.dSYM
   21845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21846 fi
   21847 
   21848 
   21849 fi
   21850 fi
   21851 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21852 $as_echo "$ac_cv_header_stdc" >&6; }
   21853 if test $ac_cv_header_stdc = yes; then
   21854 
   21855 cat >>confdefs.h <<\_ACEOF
   21856 #define STDC_HEADERS 1
   21857 _ACEOF
   21858 
   21859 fi
   21860 
   21861 
   21862 DRIVER_NAME=vesa
   21863 
   21864 
   21865 
   21866 
   21867 
   21868 if test x$APP_MAN_SUFFIX = x    ; then
   21869     APP_MAN_SUFFIX=1
   21870 fi
   21871 if test x$APP_MAN_DIR = x    ; then
   21872     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21873 fi
   21874 
   21875 if test x$LIB_MAN_SUFFIX = x    ; then
   21876     LIB_MAN_SUFFIX=3
   21877 fi
   21878 if test x$LIB_MAN_DIR = x    ; then
   21879     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21880 fi
   21881 
   21882 if test x$FILE_MAN_SUFFIX = x    ; then
   21883     case $host_os in
   21884 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21885 	*)		FILE_MAN_SUFFIX=5  ;;
   21886     esac
   21887 fi
   21888 if test x$FILE_MAN_DIR = x    ; then
   21889     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21890 fi
   21891 
   21892 if test x$MISC_MAN_SUFFIX = x    ; then
   21893     case $host_os in
   21894 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21895 	*)		MISC_MAN_SUFFIX=7  ;;
   21896     esac
   21897 fi
   21898 if test x$MISC_MAN_DIR = x    ; then
   21899     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21900 fi
   21901 
   21902 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21903     case $host_os in
   21904 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21905 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21906     esac
   21907 fi
   21908 if test x$DRIVER_MAN_DIR = x    ; then
   21909     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21910 fi
   21911 
   21912 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21913     case $host_os in
   21914 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21915 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21916     esac
   21917 fi
   21918 if test x$ADMIN_MAN_DIR = x    ; then
   21919     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21920 fi
   21921 
   21922 
   21923 
   21924 
   21925 
   21926 
   21927 
   21928 
   21929 
   21930 
   21931 
   21932 
   21933 
   21934 
   21935 
   21936 
   21937 
   21938 # Check whether --with-release-version was given.
   21939 if test "${with_release_version+set}" = set; then
   21940   withval=$with_release_version; RELEASE_VERSION="$withval"
   21941 else
   21942   RELEASE_VERSION=""
   21943 fi
   21944 
   21945 	if test "x$RELEASE_VERSION" != "x"; then
   21946 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21947 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21948 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21949 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21950 	fi
   21951 
   21952 cat >>confdefs.h <<_ACEOF
   21953 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21954 _ACEOF
   21955 
   21956 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21957 	if test "x$PVM" = "x"; then
   21958 		PVM="0"
   21959 	fi
   21960 
   21961 cat >>confdefs.h <<_ACEOF
   21962 #define PACKAGE_VERSION_MINOR $PVM
   21963 _ACEOF
   21964 
   21965 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21966 	if test "x$PVP" = "x"; then
   21967 		PVP="0"
   21968 	fi
   21969 
   21970 cat >>confdefs.h <<_ACEOF
   21971 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21972 _ACEOF
   21973 
   21974 
   21975 
   21976 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21977 
   21978 cat >confcache <<\_ACEOF
   21979 # This file is a shell script that caches the results of configure
   21980 # tests run on this system so they can be shared between configure
   21981 # scripts and configure runs, see configure's option --config-cache.
   21982 # It is not useful on other systems.  If it contains results you don't
   21983 # want to keep, you may remove or edit it.
   21984 #
   21985 # config.status only pays attention to the cache file if you give it
   21986 # the --recheck option to rerun configure.
   21987 #
   21988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21990 # following values.
   21991 
   21992 _ACEOF
   21993 
   21994 # The following way of writing the cache mishandles newlines in values,
   21995 # but we know of no workaround that is simple, portable, and efficient.
   21996 # So, we kill variables containing newlines.
   21997 # Ultrix sh set writes to stderr and can't be redirected directly,
   21998 # and sets the high bit in the cache file unless we assign to the vars.
   21999 (
   22000   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22001     eval ac_val=\$$ac_var
   22002     case $ac_val in #(
   22003     *${as_nl}*)
   22004       case $ac_var in #(
   22005       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22007       esac
   22008       case $ac_var in #(
   22009       _ | IFS | as_nl) ;; #(
   22010       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22011       *) $as_unset $ac_var ;;
   22012       esac ;;
   22013     esac
   22014   done
   22015 
   22016   (set) 2>&1 |
   22017     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22018     *${as_nl}ac_space=\ *)
   22019       # `set' does not quote correctly, so add quotes (double-quote
   22020       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22021       sed -n \
   22022 	"s/'/'\\\\''/g;
   22023 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22024       ;; #(
   22025     *)
   22026       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22027       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22028       ;;
   22029     esac |
   22030     sort
   22031 ) |
   22032   sed '
   22033      /^ac_cv_env_/b end
   22034      t clear
   22035      :clear
   22036      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22037      t end
   22038      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22039      :end' >>confcache
   22040 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22041   if test -w "$cache_file"; then
   22042     test "x$cache_file" != "x/dev/null" &&
   22043       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22044 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22045     cat confcache >$cache_file
   22046   else
   22047     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22048 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22049   fi
   22050 fi
   22051 rm -f confcache
   22052 
   22053 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22054 # Let make expand exec_prefix.
   22055 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22056 
   22057 DEFS=-DHAVE_CONFIG_H
   22058 
   22059 ac_libobjs=
   22060 ac_ltlibobjs=
   22061 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22062   # 1. Remove the extension, and $U if already installed.
   22063   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22064   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22065   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22066   #    will be set to the directory where LIBOBJS objects are built.
   22067   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22068   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22069 done
   22070 LIBOBJS=$ac_libobjs
   22071 
   22072 LTLIBOBJS=$ac_ltlibobjs
   22073 
   22074 
   22075  if test -n "$EXEEXT"; then
   22076   am__EXEEXT_TRUE=
   22077   am__EXEEXT_FALSE='#'
   22078 else
   22079   am__EXEEXT_TRUE='#'
   22080   am__EXEEXT_FALSE=
   22081 fi
   22082 
   22083 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22084   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22085 Usually this means the macro was only invoked conditionally." >&5
   22086 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22087 Usually this means the macro was only invoked conditionally." >&2;}
   22088    { (exit 1); exit 1; }; }
   22089 fi
   22090 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22091   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22092 Usually this means the macro was only invoked conditionally." >&5
   22093 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22094 Usually this means the macro was only invoked conditionally." >&2;}
   22095    { (exit 1); exit 1; }; }
   22096 fi
   22097 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22098   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22099 Usually this means the macro was only invoked conditionally." >&5
   22100 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22101 Usually this means the macro was only invoked conditionally." >&2;}
   22102    { (exit 1); exit 1; }; }
   22103 fi
   22104 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22105   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22106 Usually this means the macro was only invoked conditionally." >&5
   22107 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22108 Usually this means the macro was only invoked conditionally." >&2;}
   22109    { (exit 1); exit 1; }; }
   22110 fi
   22111 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22112   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22113 Usually this means the macro was only invoked conditionally." >&5
   22114 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22115 Usually this means the macro was only invoked conditionally." >&2;}
   22116    { (exit 1); exit 1; }; }
   22117 fi
   22118 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   22119   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22120 Usually this means the macro was only invoked conditionally." >&5
   22121 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22122 Usually this means the macro was only invoked conditionally." >&2;}
   22123    { (exit 1); exit 1; }; }
   22124 fi
   22125 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   22126   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22127 Usually this means the macro was only invoked conditionally." >&5
   22128 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   22129 Usually this means the macro was only invoked conditionally." >&2;}
   22130    { (exit 1); exit 1; }; }
   22131 fi
   22132 
   22133 : ${CONFIG_STATUS=./config.status}
   22134 ac_write_fail=0
   22135 ac_clean_files_save=$ac_clean_files
   22136 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22137 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22138 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22139 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22140 #! $SHELL
   22141 # Generated by $as_me.
   22142 # Run this file to recreate the current configuration.
   22143 # Compiler output produced by configure, useful for debugging
   22144 # configure, is in config.log if it exists.
   22145 
   22146 debug=false
   22147 ac_cs_recheck=false
   22148 ac_cs_silent=false
   22149 SHELL=\${CONFIG_SHELL-$SHELL}
   22150 _ACEOF
   22151 
   22152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22153 ## --------------------- ##
   22154 ## M4sh Initialization.  ##
   22155 ## --------------------- ##
   22156 
   22157 # Be more Bourne compatible
   22158 DUALCASE=1; export DUALCASE # for MKS sh
   22159 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22160   emulate sh
   22161   NULLCMD=:
   22162   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22163   # is contrary to our usage.  Disable this feature.
   22164   alias -g '${1+"$@"}'='"$@"'
   22165   setopt NO_GLOB_SUBST
   22166 else
   22167   case `(set -o) 2>/dev/null` in
   22168   *posix*) set -o posix ;;
   22169 esac
   22170 
   22171 fi
   22172 
   22173 
   22174 
   22175 
   22176 # PATH needs CR
   22177 # Avoid depending upon Character Ranges.
   22178 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22179 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22180 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22181 as_cr_digits='0123456789'
   22182 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22183 
   22184 as_nl='
   22185 '
   22186 export as_nl
   22187 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22188 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22189 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22190 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22191 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22192   as_echo='printf %s\n'
   22193   as_echo_n='printf %s'
   22194 else
   22195   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22196     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22197     as_echo_n='/usr/ucb/echo -n'
   22198   else
   22199     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22200     as_echo_n_body='eval
   22201       arg=$1;
   22202       case $arg in
   22203       *"$as_nl"*)
   22204 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22205 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22206       esac;
   22207       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22208     '
   22209     export as_echo_n_body
   22210     as_echo_n='sh -c $as_echo_n_body as_echo'
   22211   fi
   22212   export as_echo_body
   22213   as_echo='sh -c $as_echo_body as_echo'
   22214 fi
   22215 
   22216 # The user is always right.
   22217 if test "${PATH_SEPARATOR+set}" != set; then
   22218   PATH_SEPARATOR=:
   22219   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22220     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22221       PATH_SEPARATOR=';'
   22222   }
   22223 fi
   22224 
   22225 # Support unset when possible.
   22226 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22227   as_unset=unset
   22228 else
   22229   as_unset=false
   22230 fi
   22231 
   22232 
   22233 # IFS
   22234 # We need space, tab and new line, in precisely that order.  Quoting is
   22235 # there to prevent editors from complaining about space-tab.
   22236 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22237 # splitting by setting IFS to empty value.)
   22238 IFS=" ""	$as_nl"
   22239 
   22240 # Find who we are.  Look in the path if we contain no directory separator.
   22241 case $0 in
   22242   *[\\/]* ) as_myself=$0 ;;
   22243   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22244 for as_dir in $PATH
   22245 do
   22246   IFS=$as_save_IFS
   22247   test -z "$as_dir" && as_dir=.
   22248   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22249 done
   22250 IFS=$as_save_IFS
   22251 
   22252      ;;
   22253 esac
   22254 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22255 # in which case we are not to be found in the path.
   22256 if test "x$as_myself" = x; then
   22257   as_myself=$0
   22258 fi
   22259 if test ! -f "$as_myself"; then
   22260   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22261   { (exit 1); exit 1; }
   22262 fi
   22263 
   22264 # Work around bugs in pre-3.0 UWIN ksh.
   22265 for as_var in ENV MAIL MAILPATH
   22266 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22267 done
   22268 PS1='$ '
   22269 PS2='> '
   22270 PS4='+ '
   22271 
   22272 # NLS nuisances.
   22273 LC_ALL=C
   22274 export LC_ALL
   22275 LANGUAGE=C
   22276 export LANGUAGE
   22277 
   22278 # Required to use basename.
   22279 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22280    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22281   as_expr=expr
   22282 else
   22283   as_expr=false
   22284 fi
   22285 
   22286 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22287   as_basename=basename
   22288 else
   22289   as_basename=false
   22290 fi
   22291 
   22292 
   22293 # Name of the executable.
   22294 as_me=`$as_basename -- "$0" ||
   22295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22296 	 X"$0" : 'X\(//\)$' \| \
   22297 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22298 $as_echo X/"$0" |
   22299     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22300 	    s//\1/
   22301 	    q
   22302 	  }
   22303 	  /^X\/\(\/\/\)$/{
   22304 	    s//\1/
   22305 	    q
   22306 	  }
   22307 	  /^X\/\(\/\).*/{
   22308 	    s//\1/
   22309 	    q
   22310 	  }
   22311 	  s/.*/./; q'`
   22312 
   22313 # CDPATH.
   22314 $as_unset CDPATH
   22315 
   22316 
   22317 
   22318   as_lineno_1=$LINENO
   22319   as_lineno_2=$LINENO
   22320   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22321   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22322 
   22323   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22324   # uniformly replaced by the line number.  The first 'sed' inserts a
   22325   # line-number line after each line using $LINENO; the second 'sed'
   22326   # does the real work.  The second script uses 'N' to pair each
   22327   # line-number line with the line containing $LINENO, and appends
   22328   # trailing '-' during substitution so that $LINENO is not a special
   22329   # case at line end.
   22330   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22331   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22332   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22333   sed -n '
   22334     p
   22335     /[$]LINENO/=
   22336   ' <$as_myself |
   22337     sed '
   22338       s/[$]LINENO.*/&-/
   22339       t lineno
   22340       b
   22341       :lineno
   22342       N
   22343       :loop
   22344       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22345       t loop
   22346       s/-\n.*//
   22347     ' >$as_me.lineno &&
   22348   chmod +x "$as_me.lineno" ||
   22349     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22350    { (exit 1); exit 1; }; }
   22351 
   22352   # Don't try to exec as it changes $[0], causing all sort of problems
   22353   # (the dirname of $[0] is not the place where we might find the
   22354   # original and so on.  Autoconf is especially sensitive to this).
   22355   . "./$as_me.lineno"
   22356   # Exit status is that of the last command.
   22357   exit
   22358 }
   22359 
   22360 
   22361 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22362   as_dirname=dirname
   22363 else
   22364   as_dirname=false
   22365 fi
   22366 
   22367 ECHO_C= ECHO_N= ECHO_T=
   22368 case `echo -n x` in
   22369 -n*)
   22370   case `echo 'x\c'` in
   22371   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22372   *)   ECHO_C='\c';;
   22373   esac;;
   22374 *)
   22375   ECHO_N='-n';;
   22376 esac
   22377 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22378    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22379   as_expr=expr
   22380 else
   22381   as_expr=false
   22382 fi
   22383 
   22384 rm -f conf$$ conf$$.exe conf$$.file
   22385 if test -d conf$$.dir; then
   22386   rm -f conf$$.dir/conf$$.file
   22387 else
   22388   rm -f conf$$.dir
   22389   mkdir conf$$.dir 2>/dev/null
   22390 fi
   22391 if (echo >conf$$.file) 2>/dev/null; then
   22392   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22393     as_ln_s='ln -s'
   22394     # ... but there are two gotchas:
   22395     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22396     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22397     # In both cases, we have to default to `cp -p'.
   22398     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22399       as_ln_s='cp -p'
   22400   elif ln conf$$.file conf$$ 2>/dev/null; then
   22401     as_ln_s=ln
   22402   else
   22403     as_ln_s='cp -p'
   22404   fi
   22405 else
   22406   as_ln_s='cp -p'
   22407 fi
   22408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22409 rmdir conf$$.dir 2>/dev/null
   22410 
   22411 if mkdir -p . 2>/dev/null; then
   22412   as_mkdir_p=:
   22413 else
   22414   test -d ./-p && rmdir ./-p
   22415   as_mkdir_p=false
   22416 fi
   22417 
   22418 if test -x / >/dev/null 2>&1; then
   22419   as_test_x='test -x'
   22420 else
   22421   if ls -dL / >/dev/null 2>&1; then
   22422     as_ls_L_option=L
   22423   else
   22424     as_ls_L_option=
   22425   fi
   22426   as_test_x='
   22427     eval sh -c '\''
   22428       if test -d "$1"; then
   22429 	test -d "$1/.";
   22430       else
   22431 	case $1 in
   22432 	-*)set "./$1";;
   22433 	esac;
   22434 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22435 	???[sx]*):;;*)false;;esac;fi
   22436     '\'' sh
   22437   '
   22438 fi
   22439 as_executable_p=$as_test_x
   22440 
   22441 # Sed expression to map a string onto a valid CPP name.
   22442 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22443 
   22444 # Sed expression to map a string onto a valid variable name.
   22445 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22446 
   22447 
   22448 exec 6>&1
   22449 
   22450 # Save the log message, to keep $[0] and so on meaningful, and to
   22451 # report actual input values of CONFIG_FILES etc. instead of their
   22452 # values after options handling.
   22453 ac_log="
   22454 This file was extended by xf86-video-vesa $as_me 2.2.1, which was
   22455 generated by GNU Autoconf 2.63.  Invocation command line was
   22456 
   22457   CONFIG_FILES    = $CONFIG_FILES
   22458   CONFIG_HEADERS  = $CONFIG_HEADERS
   22459   CONFIG_LINKS    = $CONFIG_LINKS
   22460   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22461   $ $0 $@
   22462 
   22463 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22464 "
   22465 
   22466 _ACEOF
   22467 
   22468 case $ac_config_files in *"
   22469 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22470 esac
   22471 
   22472 case $ac_config_headers in *"
   22473 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22474 esac
   22475 
   22476 
   22477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22478 # Files that config.status was made for.
   22479 config_files="$ac_config_files"
   22480 config_headers="$ac_config_headers"
   22481 config_commands="$ac_config_commands"
   22482 
   22483 _ACEOF
   22484 
   22485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22486 ac_cs_usage="\
   22487 \`$as_me' instantiates files from templates according to the
   22488 current configuration.
   22489 
   22490 Usage: $0 [OPTION]... [FILE]...
   22491 
   22492   -h, --help       print this help, then exit
   22493   -V, --version    print version number and configuration settings, then exit
   22494   -q, --quiet, --silent
   22495                    do not print progress messages
   22496   -d, --debug      don't remove temporary files
   22497       --recheck    update $as_me by reconfiguring in the same conditions
   22498       --file=FILE[:TEMPLATE]
   22499                    instantiate the configuration file FILE
   22500       --header=FILE[:TEMPLATE]
   22501                    instantiate the configuration header FILE
   22502 
   22503 Configuration files:
   22504 $config_files
   22505 
   22506 Configuration headers:
   22507 $config_headers
   22508 
   22509 Configuration commands:
   22510 $config_commands
   22511 
   22512 Report bugs to <bug-autoconf (at] gnu.org>."
   22513 
   22514 _ACEOF
   22515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22516 ac_cs_version="\\
   22517 xf86-video-vesa config.status 2.2.1
   22518 configured by $0, generated by GNU Autoconf 2.63,
   22519   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22520 
   22521 Copyright (C) 2008 Free Software Foundation, Inc.
   22522 This config.status script is free software; the Free Software Foundation
   22523 gives unlimited permission to copy, distribute and modify it."
   22524 
   22525 ac_pwd='$ac_pwd'
   22526 srcdir='$srcdir'
   22527 INSTALL='$INSTALL'
   22528 MKDIR_P='$MKDIR_P'
   22529 AWK='$AWK'
   22530 test -n "\$AWK" || AWK=awk
   22531 _ACEOF
   22532 
   22533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22534 # The default lists apply if the user does not specify any file.
   22535 ac_need_defaults=:
   22536 while test $# != 0
   22537 do
   22538   case $1 in
   22539   --*=*)
   22540     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22541     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22542     ac_shift=:
   22543     ;;
   22544   *)
   22545     ac_option=$1
   22546     ac_optarg=$2
   22547     ac_shift=shift
   22548     ;;
   22549   esac
   22550 
   22551   case $ac_option in
   22552   # Handling of the options.
   22553   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22554     ac_cs_recheck=: ;;
   22555   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22556     $as_echo "$ac_cs_version"; exit ;;
   22557   --debug | --debu | --deb | --de | --d | -d )
   22558     debug=: ;;
   22559   --file | --fil | --fi | --f )
   22560     $ac_shift
   22561     case $ac_optarg in
   22562     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22563     esac
   22564     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22565     ac_need_defaults=false;;
   22566   --header | --heade | --head | --hea )
   22567     $ac_shift
   22568     case $ac_optarg in
   22569     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22570     esac
   22571     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22572     ac_need_defaults=false;;
   22573   --he | --h)
   22574     # Conflict between --help and --header
   22575     { $as_echo "$as_me: error: ambiguous option: $1
   22576 Try \`$0 --help' for more information." >&2
   22577    { (exit 1); exit 1; }; };;
   22578   --help | --hel | -h )
   22579     $as_echo "$ac_cs_usage"; exit ;;
   22580   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22581   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22582     ac_cs_silent=: ;;
   22583 
   22584   # This is an error.
   22585   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22586 Try \`$0 --help' for more information." >&2
   22587    { (exit 1); exit 1; }; } ;;
   22588 
   22589   *) ac_config_targets="$ac_config_targets $1"
   22590      ac_need_defaults=false ;;
   22591 
   22592   esac
   22593   shift
   22594 done
   22595 
   22596 ac_configure_extra_args=
   22597 
   22598 if $ac_cs_silent; then
   22599   exec 6>/dev/null
   22600   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22601 fi
   22602 
   22603 _ACEOF
   22604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22605 if \$ac_cs_recheck; then
   22606   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22607   shift
   22608   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22609   CONFIG_SHELL='$SHELL'
   22610   export CONFIG_SHELL
   22611   exec "\$@"
   22612 fi
   22613 
   22614 _ACEOF
   22615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22616 exec 5>>config.log
   22617 {
   22618   echo
   22619   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22620 ## Running $as_me. ##
   22621 _ASBOX
   22622   $as_echo "$ac_log"
   22623 } >&5
   22624 
   22625 _ACEOF
   22626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22627 #
   22628 # INIT-COMMANDS
   22629 #
   22630 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22631 
   22632 _ACEOF
   22633 
   22634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22635 
   22636 # Handling of arguments.
   22637 for ac_config_target in $ac_config_targets
   22638 do
   22639   case $ac_config_target in
   22640     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22641     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22642     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22643     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22644     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22645 
   22646   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22647 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22648    { (exit 1); exit 1; }; };;
   22649   esac
   22650 done
   22651 
   22652 
   22653 # If the user did not use the arguments to specify the items to instantiate,
   22654 # then the envvar interface is used.  Set only those that are not.
   22655 # We use the long form for the default assignment because of an extremely
   22656 # bizarre bug on SunOS 4.1.3.
   22657 if $ac_need_defaults; then
   22658   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22659   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22660   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22661 fi
   22662 
   22663 # Have a temporary directory for convenience.  Make it in the build tree
   22664 # simply because there is no reason against having it here, and in addition,
   22665 # creating and moving files from /tmp can sometimes cause problems.
   22666 # Hook for its removal unless debugging.
   22667 # Note that there is a small window in which the directory will not be cleaned:
   22668 # after its creation but before its name has been assigned to `$tmp'.
   22669 $debug ||
   22670 {
   22671   tmp=
   22672   trap 'exit_status=$?
   22673   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22674 ' 0
   22675   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22676 }
   22677 # Create a (secure) tmp directory for tmp files.
   22678 
   22679 {
   22680   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22681   test -n "$tmp" && test -d "$tmp"
   22682 }  ||
   22683 {
   22684   tmp=./conf$$-$RANDOM
   22685   (umask 077 && mkdir "$tmp")
   22686 } ||
   22687 {
   22688    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22689    { (exit 1); exit 1; }
   22690 }
   22691 
   22692 # Set up the scripts for CONFIG_FILES section.
   22693 # No need to generate them if there are no CONFIG_FILES.
   22694 # This happens for instance with `./config.status config.h'.
   22695 if test -n "$CONFIG_FILES"; then
   22696 
   22697 
   22698 ac_cr='
'
   22700 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22701 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22702   ac_cs_awk_cr='\\r'
   22703 else
   22704   ac_cs_awk_cr=$ac_cr
   22705 fi
   22706 
   22707 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22708 _ACEOF
   22709 
   22710 
   22711 {
   22712   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22713   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22714   echo "_ACEOF"
   22715 } >conf$$subs.sh ||
   22716   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22717 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22718    { (exit 1); exit 1; }; }
   22719 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22720 ac_delim='%!_!# '
   22721 for ac_last_try in false false false false false :; do
   22722   . ./conf$$subs.sh ||
   22723     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22724 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22725    { (exit 1); exit 1; }; }
   22726 
   22727   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22728   if test $ac_delim_n = $ac_delim_num; then
   22729     break
   22730   elif $ac_last_try; then
   22731     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22732 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22733    { (exit 1); exit 1; }; }
   22734   else
   22735     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22736   fi
   22737 done
   22738 rm -f conf$$subs.sh
   22739 
   22740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22741 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22742 _ACEOF
   22743 sed -n '
   22744 h
   22745 s/^/S["/; s/!.*/"]=/
   22746 p
   22747 g
   22748 s/^[^!]*!//
   22749 :repl
   22750 t repl
   22751 s/'"$ac_delim"'$//
   22752 t delim
   22753 :nl
   22754 h
   22755 s/\(.\{148\}\).*/\1/
   22756 t more1
   22757 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22758 p
   22759 n
   22760 b repl
   22761 :more1
   22762 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22763 p
   22764 g
   22765 s/.\{148\}//
   22766 t nl
   22767 :delim
   22768 h
   22769 s/\(.\{148\}\).*/\1/
   22770 t more2
   22771 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22772 p
   22773 b
   22774 :more2
   22775 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22776 p
   22777 g
   22778 s/.\{148\}//
   22779 t delim
   22780 ' <conf$$subs.awk | sed '
   22781 /^[^""]/{
   22782   N
   22783   s/\n//
   22784 }
   22785 ' >>$CONFIG_STATUS || ac_write_fail=1
   22786 rm -f conf$$subs.awk
   22787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22788 _ACAWK
   22789 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22790   for (key in S) S_is_set[key] = 1
   22791   FS = ""
   22792 
   22793 }
   22794 {
   22795   line = $ 0
   22796   nfields = split(line, field, "@")
   22797   substed = 0
   22798   len = length(field[1])
   22799   for (i = 2; i < nfields; i++) {
   22800     key = field[i]
   22801     keylen = length(key)
   22802     if (S_is_set[key]) {
   22803       value = S[key]
   22804       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22805       len += length(value) + length(field[++i])
   22806       substed = 1
   22807     } else
   22808       len += 1 + keylen
   22809   }
   22810 
   22811   print line
   22812 }
   22813 
   22814 _ACAWK
   22815 _ACEOF
   22816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22817 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22818   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22819 else
   22820   cat
   22821 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22822   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22823 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22824    { (exit 1); exit 1; }; }
   22825 _ACEOF
   22826 
   22827 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22828 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22829 # trailing colons and then remove the whole line if VPATH becomes empty
   22830 # (actually we leave an empty line to preserve line numbers).
   22831 if test "x$srcdir" = x.; then
   22832   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22833 s/:*\$(srcdir):*/:/
   22834 s/:*\${srcdir}:*/:/
   22835 s/:*@srcdir@:*/:/
   22836 s/^\([^=]*=[	 ]*\):*/\1/
   22837 s/:*$//
   22838 s/^[^=]*=[	 ]*$//
   22839 }'
   22840 fi
   22841 
   22842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22843 fi # test -n "$CONFIG_FILES"
   22844 
   22845 # Set up the scripts for CONFIG_HEADERS section.
   22846 # No need to generate them if there are no CONFIG_HEADERS.
   22847 # This happens for instance with `./config.status Makefile'.
   22848 if test -n "$CONFIG_HEADERS"; then
   22849 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22850 BEGIN {
   22851 _ACEOF
   22852 
   22853 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22854 # here-document in config.status, that substitutes the proper values into
   22855 # config.h.in to produce config.h.
   22856 
   22857 # Create a delimiter string that does not exist in confdefs.h, to ease
   22858 # handling of long lines.
   22859 ac_delim='%!_!# '
   22860 for ac_last_try in false false :; do
   22861   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22862   if test -z "$ac_t"; then
   22863     break
   22864   elif $ac_last_try; then
   22865     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22866 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22867    { (exit 1); exit 1; }; }
   22868   else
   22869     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22870   fi
   22871 done
   22872 
   22873 # For the awk script, D is an array of macro values keyed by name,
   22874 # likewise P contains macro parameters if any.  Preserve backslash
   22875 # newline sequences.
   22876 
   22877 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22878 sed -n '
   22879 s/.\{148\}/&'"$ac_delim"'/g
   22880 t rset
   22881 :rset
   22882 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22883 t def
   22884 d
   22885 :def
   22886 s/\\$//
   22887 t bsnl
   22888 s/["\\]/\\&/g
   22889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22890 D["\1"]=" \3"/p
   22891 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22892 d
   22893 :bsnl
   22894 s/["\\]/\\&/g
   22895 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22896 D["\1"]=" \3\\\\\\n"\\/p
   22897 t cont
   22898 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22899 t cont
   22900 d
   22901 :cont
   22902 n
   22903 s/.\{148\}/&'"$ac_delim"'/g
   22904 t clear
   22905 :clear
   22906 s/\\$//
   22907 t bsnlc
   22908 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22909 d
   22910 :bsnlc
   22911 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22912 b cont
   22913 ' <confdefs.h | sed '
   22914 s/'"$ac_delim"'/"\\\
   22915 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22916 
   22917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22918   for (key in D) D_is_set[key] = 1
   22919   FS = ""
   22920 }
   22921 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22922   line = \$ 0
   22923   split(line, arg, " ")
   22924   if (arg[1] == "#") {
   22925     defundef = arg[2]
   22926     mac1 = arg[3]
   22927   } else {
   22928     defundef = substr(arg[1], 2)
   22929     mac1 = arg[2]
   22930   }
   22931   split(mac1, mac2, "(") #)
   22932   macro = mac2[1]
   22933   prefix = substr(line, 1, index(line, defundef) - 1)
   22934   if (D_is_set[macro]) {
   22935     # Preserve the white space surrounding the "#".
   22936     print prefix "define", macro P[macro] D[macro]
   22937     next
   22938   } else {
   22939     # Replace #undef with comments.  This is necessary, for example,
   22940     # in the case of _POSIX_SOURCE, which is predefined and required
   22941     # on some systems where configure will not decide to define it.
   22942     if (defundef == "undef") {
   22943       print "/*", prefix defundef, macro, "*/"
   22944       next
   22945     }
   22946   }
   22947 }
   22948 { print }
   22949 _ACAWK
   22950 _ACEOF
   22951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22952   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22953 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22954    { (exit 1); exit 1; }; }
   22955 fi # test -n "$CONFIG_HEADERS"
   22956 
   22957 
   22958 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22959 shift
   22960 for ac_tag
   22961 do
   22962   case $ac_tag in
   22963   :[FHLC]) ac_mode=$ac_tag; continue;;
   22964   esac
   22965   case $ac_mode$ac_tag in
   22966   :[FHL]*:*);;
   22967   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22968 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22969    { (exit 1); exit 1; }; };;
   22970   :[FH]-) ac_tag=-:-;;
   22971   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22972   esac
   22973   ac_save_IFS=$IFS
   22974   IFS=:
   22975   set x $ac_tag
   22976   IFS=$ac_save_IFS
   22977   shift
   22978   ac_file=$1
   22979   shift
   22980 
   22981   case $ac_mode in
   22982   :L) ac_source=$1;;
   22983   :[FH])
   22984     ac_file_inputs=
   22985     for ac_f
   22986     do
   22987       case $ac_f in
   22988       -) ac_f="$tmp/stdin";;
   22989       *) # Look for the file first in the build tree, then in the source tree
   22990 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22991 	 # because $ac_f cannot contain `:'.
   22992 	 test -f "$ac_f" ||
   22993 	   case $ac_f in
   22994 	   [\\/$]*) false;;
   22995 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22996 	   esac ||
   22997 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22998 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22999    { (exit 1); exit 1; }; };;
   23000       esac
   23001       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23002       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23003     done
   23004 
   23005     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23006     # use $as_me), people would be surprised to read:
   23007     #    /* config.h.  Generated by config.status.  */
   23008     configure_input='Generated from '`
   23009 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23010 	`' by configure.'
   23011     if test x"$ac_file" != x-; then
   23012       configure_input="$ac_file.  $configure_input"
   23013       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23014 $as_echo "$as_me: creating $ac_file" >&6;}
   23015     fi
   23016     # Neutralize special characters interpreted by sed in replacement strings.
   23017     case $configure_input in #(
   23018     *\&* | *\|* | *\\* )
   23019        ac_sed_conf_input=`$as_echo "$configure_input" |
   23020        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23021     *) ac_sed_conf_input=$configure_input;;
   23022     esac
   23023 
   23024     case $ac_tag in
   23025     *:-:* | *:-) cat >"$tmp/stdin" \
   23026       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23027 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23028    { (exit 1); exit 1; }; } ;;
   23029     esac
   23030     ;;
   23031   esac
   23032 
   23033   ac_dir=`$as_dirname -- "$ac_file" ||
   23034 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23035 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23036 	 X"$ac_file" : 'X\(//\)$' \| \
   23037 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23038 $as_echo X"$ac_file" |
   23039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23040 	    s//\1/
   23041 	    q
   23042 	  }
   23043 	  /^X\(\/\/\)[^/].*/{
   23044 	    s//\1/
   23045 	    q
   23046 	  }
   23047 	  /^X\(\/\/\)$/{
   23048 	    s//\1/
   23049 	    q
   23050 	  }
   23051 	  /^X\(\/\).*/{
   23052 	    s//\1/
   23053 	    q
   23054 	  }
   23055 	  s/.*/./; q'`
   23056   { as_dir="$ac_dir"
   23057   case $as_dir in #(
   23058   -*) as_dir=./$as_dir;;
   23059   esac
   23060   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23061     as_dirs=
   23062     while :; do
   23063       case $as_dir in #(
   23064       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23065       *) as_qdir=$as_dir;;
   23066       esac
   23067       as_dirs="'$as_qdir' $as_dirs"
   23068       as_dir=`$as_dirname -- "$as_dir" ||
   23069 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23070 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23071 	 X"$as_dir" : 'X\(//\)$' \| \
   23072 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23073 $as_echo X"$as_dir" |
   23074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23075 	    s//\1/
   23076 	    q
   23077 	  }
   23078 	  /^X\(\/\/\)[^/].*/{
   23079 	    s//\1/
   23080 	    q
   23081 	  }
   23082 	  /^X\(\/\/\)$/{
   23083 	    s//\1/
   23084 	    q
   23085 	  }
   23086 	  /^X\(\/\).*/{
   23087 	    s//\1/
   23088 	    q
   23089 	  }
   23090 	  s/.*/./; q'`
   23091       test -d "$as_dir" && break
   23092     done
   23093     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23094   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23095 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23096    { (exit 1); exit 1; }; }; }
   23097   ac_builddir=.
   23098 
   23099 case "$ac_dir" in
   23100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23101 *)
   23102   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23103   # A ".." for each directory in $ac_dir_suffix.
   23104   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23105   case $ac_top_builddir_sub in
   23106   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23107   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23108   esac ;;
   23109 esac
   23110 ac_abs_top_builddir=$ac_pwd
   23111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23112 # for backward compatibility:
   23113 ac_top_builddir=$ac_top_build_prefix
   23114 
   23115 case $srcdir in
   23116   .)  # We are building in place.
   23117     ac_srcdir=.
   23118     ac_top_srcdir=$ac_top_builddir_sub
   23119     ac_abs_top_srcdir=$ac_pwd ;;
   23120   [\\/]* | ?:[\\/]* )  # Absolute name.
   23121     ac_srcdir=$srcdir$ac_dir_suffix;
   23122     ac_top_srcdir=$srcdir
   23123     ac_abs_top_srcdir=$srcdir ;;
   23124   *) # Relative name.
   23125     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23126     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23127     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23128 esac
   23129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23130 
   23131 
   23132   case $ac_mode in
   23133   :F)
   23134   #
   23135   # CONFIG_FILE
   23136   #
   23137 
   23138   case $INSTALL in
   23139   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23140   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23141   esac
   23142   ac_MKDIR_P=$MKDIR_P
   23143   case $MKDIR_P in
   23144   [\\/$]* | ?:[\\/]* ) ;;
   23145   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23146   esac
   23147 _ACEOF
   23148 
   23149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23150 # If the template does not know about datarootdir, expand it.
   23151 # FIXME: This hack should be removed a few years after 2.60.
   23152 ac_datarootdir_hack=; ac_datarootdir_seen=
   23153 
   23154 ac_sed_dataroot='
   23155 /datarootdir/ {
   23156   p
   23157   q
   23158 }
   23159 /@datadir@/p
   23160 /@docdir@/p
   23161 /@infodir@/p
   23162 /@localedir@/p
   23163 /@mandir@/p
   23164 '
   23165 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23166 *datarootdir*) ac_datarootdir_seen=yes;;
   23167 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23168   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23169 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23170 _ACEOF
   23171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23172   ac_datarootdir_hack='
   23173   s&@datadir@&$datadir&g
   23174   s&@docdir@&$docdir&g
   23175   s&@infodir@&$infodir&g
   23176   s&@localedir@&$localedir&g
   23177   s&@mandir@&$mandir&g
   23178     s&\\\${datarootdir}&$datarootdir&g' ;;
   23179 esac
   23180 _ACEOF
   23181 
   23182 # Neutralize VPATH when `$srcdir' = `.'.
   23183 # Shell code in configure.ac might set extrasub.
   23184 # FIXME: do we really want to maintain this feature?
   23185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23186 ac_sed_extra="$ac_vpsub
   23187 $extrasub
   23188 _ACEOF
   23189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23190 :t
   23191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23192 s|@configure_input@|$ac_sed_conf_input|;t t
   23193 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23194 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23195 s&@srcdir@&$ac_srcdir&;t t
   23196 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23197 s&@top_srcdir@&$ac_top_srcdir&;t t
   23198 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23199 s&@builddir@&$ac_builddir&;t t
   23200 s&@abs_builddir@&$ac_abs_builddir&;t t
   23201 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23202 s&@INSTALL@&$ac_INSTALL&;t t
   23203 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23204 $ac_datarootdir_hack
   23205 "
   23206 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23207   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23208 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23209    { (exit 1); exit 1; }; }
   23210 
   23211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23212   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23213   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23214   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23215 which seems to be undefined.  Please make sure it is defined." >&5
   23216 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23217 which seems to be undefined.  Please make sure it is defined." >&2;}
   23218 
   23219   rm -f "$tmp/stdin"
   23220   case $ac_file in
   23221   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23222   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23223   esac \
   23224   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23225 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23226    { (exit 1); exit 1; }; }
   23227  ;;
   23228   :H)
   23229   #
   23230   # CONFIG_HEADER
   23231   #
   23232   if test x"$ac_file" != x-; then
   23233     {
   23234       $as_echo "/* $configure_input  */" \
   23235       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23236     } >"$tmp/config.h" \
   23237       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23238 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23239    { (exit 1); exit 1; }; }
   23240     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23241       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23242 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23243     else
   23244       rm -f "$ac_file"
   23245       mv "$tmp/config.h" "$ac_file" \
   23246 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23247 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23248    { (exit 1); exit 1; }; }
   23249     fi
   23250   else
   23251     $as_echo "/* $configure_input  */" \
   23252       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23253       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23254 $as_echo "$as_me: error: could not create -" >&2;}
   23255    { (exit 1); exit 1; }; }
   23256   fi
   23257 # Compute "$ac_file"'s index in $config_headers.
   23258 _am_arg="$ac_file"
   23259 _am_stamp_count=1
   23260 for _am_header in $config_headers :; do
   23261   case $_am_header in
   23262     $_am_arg | $_am_arg:* )
   23263       break ;;
   23264     * )
   23265       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23266   esac
   23267 done
   23268 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23269 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23270 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23271 	 X"$_am_arg" : 'X\(//\)$' \| \
   23272 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23273 $as_echo X"$_am_arg" |
   23274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23275 	    s//\1/
   23276 	    q
   23277 	  }
   23278 	  /^X\(\/\/\)[^/].*/{
   23279 	    s//\1/
   23280 	    q
   23281 	  }
   23282 	  /^X\(\/\/\)$/{
   23283 	    s//\1/
   23284 	    q
   23285 	  }
   23286 	  /^X\(\/\).*/{
   23287 	    s//\1/
   23288 	    q
   23289 	  }
   23290 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23291  ;;
   23292 
   23293   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23294 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23295  ;;
   23296   esac
   23297 
   23298 
   23299   case $ac_file$ac_mode in
   23300     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23301   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23302   # are listed without --file.  Let's play safe and only enable the eval
   23303   # if we detect the quoting.
   23304   case $CONFIG_FILES in
   23305   *\'*) eval set x "$CONFIG_FILES" ;;
   23306   *)   set x $CONFIG_FILES ;;
   23307   esac
   23308   shift
   23309   for mf
   23310   do
   23311     # Strip MF so we end up with the name of the file.
   23312     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23313     # Check whether this is an Automake generated Makefile or not.
   23314     # We used to match only the files named `Makefile.in', but
   23315     # some people rename them; so instead we look at the file content.
   23316     # Grep'ing the first line is not enough: some people post-process
   23317     # each Makefile.in and add a new line on top of each file to say so.
   23318     # Grep'ing the whole file is not good either: AIX grep has a line
   23319     # limit of 2048, but all sed's we know have understand at least 4000.
   23320     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23321       dirpart=`$as_dirname -- "$mf" ||
   23322 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23323 	 X"$mf" : 'X\(//\)[^/]' \| \
   23324 	 X"$mf" : 'X\(//\)$' \| \
   23325 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23326 $as_echo X"$mf" |
   23327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23328 	    s//\1/
   23329 	    q
   23330 	  }
   23331 	  /^X\(\/\/\)[^/].*/{
   23332 	    s//\1/
   23333 	    q
   23334 	  }
   23335 	  /^X\(\/\/\)$/{
   23336 	    s//\1/
   23337 	    q
   23338 	  }
   23339 	  /^X\(\/\).*/{
   23340 	    s//\1/
   23341 	    q
   23342 	  }
   23343 	  s/.*/./; q'`
   23344     else
   23345       continue
   23346     fi
   23347     # Extract the definition of DEPDIR, am__include, and am__quote
   23348     # from the Makefile without running `make'.
   23349     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23350     test -z "$DEPDIR" && continue
   23351     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23352     test -z "am__include" && continue
   23353     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23354     # When using ansi2knr, U may be empty or an underscore; expand it
   23355     U=`sed -n 's/^U = //p' < "$mf"`
   23356     # Find all dependency output files, they are included files with
   23357     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23358     # simplest approach to changing $(DEPDIR) to its actual value in the
   23359     # expansion.
   23360     for file in `sed -n "
   23361       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23362 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23363       # Make sure the directory exists.
   23364       test -f "$dirpart/$file" && continue
   23365       fdir=`$as_dirname -- "$file" ||
   23366 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23367 	 X"$file" : 'X\(//\)[^/]' \| \
   23368 	 X"$file" : 'X\(//\)$' \| \
   23369 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23370 $as_echo X"$file" |
   23371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23372 	    s//\1/
   23373 	    q
   23374 	  }
   23375 	  /^X\(\/\/\)[^/].*/{
   23376 	    s//\1/
   23377 	    q
   23378 	  }
   23379 	  /^X\(\/\/\)$/{
   23380 	    s//\1/
   23381 	    q
   23382 	  }
   23383 	  /^X\(\/\).*/{
   23384 	    s//\1/
   23385 	    q
   23386 	  }
   23387 	  s/.*/./; q'`
   23388       { as_dir=$dirpart/$fdir
   23389   case $as_dir in #(
   23390   -*) as_dir=./$as_dir;;
   23391   esac
   23392   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23393     as_dirs=
   23394     while :; do
   23395       case $as_dir in #(
   23396       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23397       *) as_qdir=$as_dir;;
   23398       esac
   23399       as_dirs="'$as_qdir' $as_dirs"
   23400       as_dir=`$as_dirname -- "$as_dir" ||
   23401 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23402 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23403 	 X"$as_dir" : 'X\(//\)$' \| \
   23404 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23405 $as_echo X"$as_dir" |
   23406     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23407 	    s//\1/
   23408 	    q
   23409 	  }
   23410 	  /^X\(\/\/\)[^/].*/{
   23411 	    s//\1/
   23412 	    q
   23413 	  }
   23414 	  /^X\(\/\/\)$/{
   23415 	    s//\1/
   23416 	    q
   23417 	  }
   23418 	  /^X\(\/\).*/{
   23419 	    s//\1/
   23420 	    q
   23421 	  }
   23422 	  s/.*/./; q'`
   23423       test -d "$as_dir" && break
   23424     done
   23425     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23426   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23427 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23428    { (exit 1); exit 1; }; }; }
   23429       # echo "creating $dirpart/$file"
   23430       echo '# dummy' > "$dirpart/$file"
   23431     done
   23432   done
   23433 }
   23434  ;;
   23435 
   23436   esac
   23437 done # for ac_tag
   23438 
   23439 
   23440 { (exit 0); exit 0; }
   23441 _ACEOF
   23442 chmod +x $CONFIG_STATUS
   23443 ac_clean_files=$ac_clean_files_save
   23444 
   23445 test $ac_write_fail = 0 ||
   23446   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23447 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23448    { (exit 1); exit 1; }; }
   23449 
   23450 
   23451 # configure is writing to config.log, and then calls config.status.
   23452 # config.status does its own redirection, appending to config.log.
   23453 # Unfortunately, on DOS this fails, as config.log is still kept open
   23454 # by configure, so config.status won't be able to write to it; its
   23455 # output is simply discarded.  So we exec the FD to /dev/null,
   23456 # effectively closing config.log, so it can be properly (re)opened and
   23457 # appended to by config.status.  When coming back to configure, we
   23458 # need to make the FD available again.
   23459 if test "$no_create" != yes; then
   23460   ac_cs_success=:
   23461   ac_config_status_args=
   23462   test "$silent" = yes &&
   23463     ac_config_status_args="$ac_config_status_args --quiet"
   23464   exec 5>/dev/null
   23465   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23466   exec 5>>config.log
   23467   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23468   # would make configure fail if this is the last instruction.
   23469   $ac_cs_success || { (exit 1); exit 1; }
   23470 fi
   23471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23472   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23474 fi
   23475 
   23476