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-ast 0.89.9.
      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-ast'
    752 PACKAGE_TARNAME='xf86-video-ast'
    753 PACKAGE_VERSION='0.89.9'
    754 PACKAGE_STRING='xf86-video-ast 0.89.9'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 ac_unique_file="Makefile.am"
    758 # Factoring default headers for most tests.
    759 ac_includes_default="\
    760 #include <stdio.h>
    761 #ifdef HAVE_SYS_TYPES_H
    762 # include <sys/types.h>
    763 #endif
    764 #ifdef HAVE_SYS_STAT_H
    765 # include <sys/stat.h>
    766 #endif
    767 #ifdef STDC_HEADERS
    768 # include <stdlib.h>
    769 # include <stddef.h>
    770 #else
    771 # ifdef HAVE_STDLIB_H
    772 #  include <stdlib.h>
    773 # endif
    774 #endif
    775 #ifdef HAVE_STRING_H
    776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    777 #  include <memory.h>
    778 # endif
    779 # include <string.h>
    780 #endif
    781 #ifdef HAVE_STRINGS_H
    782 # include <strings.h>
    783 #endif
    784 #ifdef HAVE_INTTYPES_H
    785 # include <inttypes.h>
    786 #endif
    787 #ifdef HAVE_STDINT_H
    788 # include <stdint.h>
    789 #endif
    790 #ifdef HAVE_UNISTD_H
    791 # include <unistd.h>
    792 #endif"
    793 
    794 ac_subst_vars='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 DRIVER_NAME
    811 moduledir
    812 XSERVER_LIBPCIACCESS_FALSE
    813 XSERVER_LIBPCIACCESS_TRUE
    814 PCIACCESS_LIBS
    815 PCIACCESS_CFLAGS
    816 XORG_LIBS
    817 XORG_CFLAGS
    818 PKG_CONFIG
    819 LIBTOOL
    820 ac_ct_F77
    821 FFLAGS
    822 F77
    823 CXXCPP
    824 am__fastdepCXX_FALSE
    825 am__fastdepCXX_TRUE
    826 CXXDEPMODE
    827 ac_ct_CXX
    828 CXXFLAGS
    829 CXX
    830 CPP
    831 NMEDIT
    832 DSYMUTIL
    833 RANLIB
    834 AR
    835 ECHO
    836 LN_S
    837 EGREP
    838 GREP
    839 SED
    840 am__fastdepCC_FALSE
    841 am__fastdepCC_TRUE
    842 CCDEPMODE
    843 AMDEPBACKSLASH
    844 AMDEP_FALSE
    845 AMDEP_TRUE
    846 am__quote
    847 am__include
    848 DEPDIR
    849 OBJEXT
    850 EXEEXT
    851 ac_ct_CC
    852 CPPFLAGS
    853 LDFLAGS
    854 CFLAGS
    855 CC
    856 host_os
    857 host_vendor
    858 host_cpu
    859 host
    860 build_os
    861 build_vendor
    862 build_cpu
    863 build
    864 MAINT
    865 MAINTAINER_MODE_FALSE
    866 MAINTAINER_MODE_TRUE
    867 am__untar
    868 am__tar
    869 AMTAR
    870 am__leading_dot
    871 SET_MAKE
    872 AWK
    873 mkdir_p
    874 MKDIR_P
    875 INSTALL_STRIP_PROGRAM
    876 STRIP
    877 install_sh
    878 MAKEINFO
    879 AUTOHEADER
    880 AUTOMAKE
    881 AUTOCONF
    882 ACLOCAL
    883 VERSION
    884 PACKAGE
    885 CYGPATH_W
    886 am__isrc
    887 INSTALL_DATA
    888 INSTALL_SCRIPT
    889 INSTALL_PROGRAM
    890 target_alias
    891 host_alias
    892 build_alias
    893 LIBS
    894 ECHO_T
    895 ECHO_N
    896 ECHO_C
    897 DEFS
    898 mandir
    899 localedir
    900 libdir
    901 psdir
    902 pdfdir
    903 dvidir
    904 htmldir
    905 infodir
    906 docdir
    907 oldincludedir
    908 includedir
    909 localstatedir
    910 sharedstatedir
    911 sysconfdir
    912 datadir
    913 datarootdir
    914 libexecdir
    915 sbindir
    916 bindir
    917 program_transform_name
    918 prefix
    919 exec_prefix
    920 PACKAGE_BUGREPORT
    921 PACKAGE_STRING
    922 PACKAGE_VERSION
    923 PACKAGE_TARNAME
    924 PACKAGE_NAME
    925 PATH_SEPARATOR
    926 SHELL'
    927 ac_subst_files=''
    928 ac_user_opts='
    929 enable_option_checking
    930 enable_maintainer_mode
    931 enable_static
    932 enable_shared
    933 enable_fast_install
    934 enable_dependency_tracking
    935 with_gnu_ld
    936 enable_libtool_lock
    937 with_pic
    938 with_tags
    939 with_xorg_module_dir
    940 with_release_version
    941 '
    942       ac_precious_vars='build_alias
    943 host_alias
    944 target_alias
    945 CC
    946 CFLAGS
    947 LDFLAGS
    948 LIBS
    949 CPPFLAGS
    950 CPP
    951 CXX
    952 CXXFLAGS
    953 CCC
    954 CXXCPP
    955 F77
    956 FFLAGS
    957 PKG_CONFIG
    958 XORG_CFLAGS
    959 XORG_LIBS
    960 PCIACCESS_CFLAGS
    961 PCIACCESS_LIBS'
    962 
    963 
    964 # Initialize some variables set by options.
    965 ac_init_help=
    966 ac_init_version=false
    967 ac_unrecognized_opts=
    968 ac_unrecognized_sep=
    969 # The variables have the same names as the options, with
    970 # dashes changed to underlines.
    971 cache_file=/dev/null
    972 exec_prefix=NONE
    973 no_create=
    974 no_recursion=
    975 prefix=NONE
    976 program_prefix=NONE
    977 program_suffix=NONE
    978 program_transform_name=s,x,x,
    979 silent=
    980 site=
    981 srcdir=
    982 verbose=
    983 x_includes=NONE
    984 x_libraries=NONE
    985 
    986 # Installation directory options.
    987 # These are left unexpanded so users can "make install exec_prefix=/foo"
    988 # and all the variables that are supposed to be based on exec_prefix
    989 # by default will actually change.
    990 # Use braces instead of parens because sh, perl, etc. also accept them.
    991 # (The list follows the same order as the GNU Coding Standards.)
    992 bindir='${exec_prefix}/bin'
    993 sbindir='${exec_prefix}/sbin'
    994 libexecdir='${exec_prefix}/libexec'
    995 datarootdir='${prefix}/share'
    996 datadir='${datarootdir}'
    997 sysconfdir='${prefix}/etc'
    998 sharedstatedir='${prefix}/com'
    999 localstatedir='${prefix}/var'
   1000 includedir='${prefix}/include'
   1001 oldincludedir='/usr/include'
   1002 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1003 infodir='${datarootdir}/info'
   1004 htmldir='${docdir}'
   1005 dvidir='${docdir}'
   1006 pdfdir='${docdir}'
   1007 psdir='${docdir}'
   1008 libdir='${exec_prefix}/lib'
   1009 localedir='${datarootdir}/locale'
   1010 mandir='${datarootdir}/man'
   1011 
   1012 ac_prev=
   1013 ac_dashdash=
   1014 for ac_option
   1015 do
   1016   # If the previous option needs an argument, assign it.
   1017   if test -n "$ac_prev"; then
   1018     eval $ac_prev=\$ac_option
   1019     ac_prev=
   1020     continue
   1021   fi
   1022 
   1023   case $ac_option in
   1024   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1025   *)	ac_optarg=yes ;;
   1026   esac
   1027 
   1028   # Accept the important Cygnus configure options, so we can diagnose typos.
   1029 
   1030   case $ac_dashdash$ac_option in
   1031   --)
   1032     ac_dashdash=yes ;;
   1033 
   1034   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1035     ac_prev=bindir ;;
   1036   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1037     bindir=$ac_optarg ;;
   1038 
   1039   -build | --build | --buil | --bui | --bu)
   1040     ac_prev=build_alias ;;
   1041   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1042     build_alias=$ac_optarg ;;
   1043 
   1044   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1045   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1046     ac_prev=cache_file ;;
   1047   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1048   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1049     cache_file=$ac_optarg ;;
   1050 
   1051   --config-cache | -C)
   1052     cache_file=config.cache ;;
   1053 
   1054   -datadir | --datadir | --datadi | --datad)
   1055     ac_prev=datadir ;;
   1056   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1057     datadir=$ac_optarg ;;
   1058 
   1059   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1060   | --dataroo | --dataro | --datar)
   1061     ac_prev=datarootdir ;;
   1062   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1063   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1064     datarootdir=$ac_optarg ;;
   1065 
   1066   -disable-* | --disable-*)
   1067     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1068     # Reject names that are not valid shell variable names.
   1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1070       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1071    { (exit 1); exit 1; }; }
   1072     ac_useropt_orig=$ac_useropt
   1073     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1074     case $ac_user_opts in
   1075       *"
   1076 "enable_$ac_useropt"
   1077 "*) ;;
   1078       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1079 	 ac_unrecognized_sep=', ';;
   1080     esac
   1081     eval enable_$ac_useropt=no ;;
   1082 
   1083   -docdir | --docdir | --docdi | --doc | --do)
   1084     ac_prev=docdir ;;
   1085   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1086     docdir=$ac_optarg ;;
   1087 
   1088   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1089     ac_prev=dvidir ;;
   1090   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1091     dvidir=$ac_optarg ;;
   1092 
   1093   -enable-* | --enable-*)
   1094     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1095     # Reject names that are not valid shell variable names.
   1096     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1097       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1098    { (exit 1); exit 1; }; }
   1099     ac_useropt_orig=$ac_useropt
   1100     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1101     case $ac_user_opts in
   1102       *"
   1103 "enable_$ac_useropt"
   1104 "*) ;;
   1105       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1106 	 ac_unrecognized_sep=', ';;
   1107     esac
   1108     eval enable_$ac_useropt=\$ac_optarg ;;
   1109 
   1110   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1111   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1112   | --exec | --exe | --ex)
   1113     ac_prev=exec_prefix ;;
   1114   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1115   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1116   | --exec=* | --exe=* | --ex=*)
   1117     exec_prefix=$ac_optarg ;;
   1118 
   1119   -gas | --gas | --ga | --g)
   1120     # Obsolete; use --with-gas.
   1121     with_gas=yes ;;
   1122 
   1123   -help | --help | --hel | --he | -h)
   1124     ac_init_help=long ;;
   1125   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1126     ac_init_help=recursive ;;
   1127   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1128     ac_init_help=short ;;
   1129 
   1130   -host | --host | --hos | --ho)
   1131     ac_prev=host_alias ;;
   1132   -host=* | --host=* | --hos=* | --ho=*)
   1133     host_alias=$ac_optarg ;;
   1134 
   1135   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1136     ac_prev=htmldir ;;
   1137   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1138   | --ht=*)
   1139     htmldir=$ac_optarg ;;
   1140 
   1141   -includedir | --includedir | --includedi | --included | --include \
   1142   | --includ | --inclu | --incl | --inc)
   1143     ac_prev=includedir ;;
   1144   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1145   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1146     includedir=$ac_optarg ;;
   1147 
   1148   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1149     ac_prev=infodir ;;
   1150   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1151     infodir=$ac_optarg ;;
   1152 
   1153   -libdir | --libdir | --libdi | --libd)
   1154     ac_prev=libdir ;;
   1155   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1156     libdir=$ac_optarg ;;
   1157 
   1158   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1159   | --libexe | --libex | --libe)
   1160     ac_prev=libexecdir ;;
   1161   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1162   | --libexe=* | --libex=* | --libe=*)
   1163     libexecdir=$ac_optarg ;;
   1164 
   1165   -localedir | --localedir | --localedi | --localed | --locale)
   1166     ac_prev=localedir ;;
   1167   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1168     localedir=$ac_optarg ;;
   1169 
   1170   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1171   | --localstate | --localstat | --localsta | --localst | --locals)
   1172     ac_prev=localstatedir ;;
   1173   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1174   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1175     localstatedir=$ac_optarg ;;
   1176 
   1177   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1178     ac_prev=mandir ;;
   1179   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1180     mandir=$ac_optarg ;;
   1181 
   1182   -nfp | --nfp | --nf)
   1183     # Obsolete; use --without-fp.
   1184     with_fp=no ;;
   1185 
   1186   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1187   | --no-cr | --no-c | -n)
   1188     no_create=yes ;;
   1189 
   1190   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1191   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1192     no_recursion=yes ;;
   1193 
   1194   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1195   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1196   | --oldin | --oldi | --old | --ol | --o)
   1197     ac_prev=oldincludedir ;;
   1198   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1199   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1200   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1201     oldincludedir=$ac_optarg ;;
   1202 
   1203   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1204     ac_prev=prefix ;;
   1205   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1206     prefix=$ac_optarg ;;
   1207 
   1208   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1209   | --program-pre | --program-pr | --program-p)
   1210     ac_prev=program_prefix ;;
   1211   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1212   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1213     program_prefix=$ac_optarg ;;
   1214 
   1215   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1216   | --program-suf | --program-su | --program-s)
   1217     ac_prev=program_suffix ;;
   1218   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1219   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1220     program_suffix=$ac_optarg ;;
   1221 
   1222   -program-transform-name | --program-transform-name \
   1223   | --program-transform-nam | --program-transform-na \
   1224   | --program-transform-n | --program-transform- \
   1225   | --program-transform | --program-transfor \
   1226   | --program-transfo | --program-transf \
   1227   | --program-trans | --program-tran \
   1228   | --progr-tra | --program-tr | --program-t)
   1229     ac_prev=program_transform_name ;;
   1230   -program-transform-name=* | --program-transform-name=* \
   1231   | --program-transform-nam=* | --program-transform-na=* \
   1232   | --program-transform-n=* | --program-transform-=* \
   1233   | --program-transform=* | --program-transfor=* \
   1234   | --program-transfo=* | --program-transf=* \
   1235   | --program-trans=* | --program-tran=* \
   1236   | --progr-tra=* | --program-tr=* | --program-t=*)
   1237     program_transform_name=$ac_optarg ;;
   1238 
   1239   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1240     ac_prev=pdfdir ;;
   1241   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1242     pdfdir=$ac_optarg ;;
   1243 
   1244   -psdir | --psdir | --psdi | --psd | --ps)
   1245     ac_prev=psdir ;;
   1246   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1247     psdir=$ac_optarg ;;
   1248 
   1249   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1250   | -silent | --silent | --silen | --sile | --sil)
   1251     silent=yes ;;
   1252 
   1253   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1254     ac_prev=sbindir ;;
   1255   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1256   | --sbi=* | --sb=*)
   1257     sbindir=$ac_optarg ;;
   1258 
   1259   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1260   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1261   | --sharedst | --shareds | --shared | --share | --shar \
   1262   | --sha | --sh)
   1263     ac_prev=sharedstatedir ;;
   1264   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1265   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1266   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1267   | --sha=* | --sh=*)
   1268     sharedstatedir=$ac_optarg ;;
   1269 
   1270   -site | --site | --sit)
   1271     ac_prev=site ;;
   1272   -site=* | --site=* | --sit=*)
   1273     site=$ac_optarg ;;
   1274 
   1275   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1276     ac_prev=srcdir ;;
   1277   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1278     srcdir=$ac_optarg ;;
   1279 
   1280   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1281   | --syscon | --sysco | --sysc | --sys | --sy)
   1282     ac_prev=sysconfdir ;;
   1283   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1284   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1285     sysconfdir=$ac_optarg ;;
   1286 
   1287   -target | --target | --targe | --targ | --tar | --ta | --t)
   1288     ac_prev=target_alias ;;
   1289   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1290     target_alias=$ac_optarg ;;
   1291 
   1292   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1293     verbose=yes ;;
   1294 
   1295   -version | --version | --versio | --versi | --vers | -V)
   1296     ac_init_version=: ;;
   1297 
   1298   -with-* | --with-*)
   1299     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1300     # Reject names that are not valid shell variable names.
   1301     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1302       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1303    { (exit 1); exit 1; }; }
   1304     ac_useropt_orig=$ac_useropt
   1305     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1306     case $ac_user_opts in
   1307       *"
   1308 "with_$ac_useropt"
   1309 "*) ;;
   1310       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1311 	 ac_unrecognized_sep=', ';;
   1312     esac
   1313     eval with_$ac_useropt=\$ac_optarg ;;
   1314 
   1315   -without-* | --without-*)
   1316     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1317     # Reject names that are not valid shell variable names.
   1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1319       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1320    { (exit 1); exit 1; }; }
   1321     ac_useropt_orig=$ac_useropt
   1322     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1323     case $ac_user_opts in
   1324       *"
   1325 "with_$ac_useropt"
   1326 "*) ;;
   1327       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1328 	 ac_unrecognized_sep=', ';;
   1329     esac
   1330     eval with_$ac_useropt=no ;;
   1331 
   1332   --x)
   1333     # Obsolete; use --with-x.
   1334     with_x=yes ;;
   1335 
   1336   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1337   | --x-incl | --x-inc | --x-in | --x-i)
   1338     ac_prev=x_includes ;;
   1339   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1340   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1341     x_includes=$ac_optarg ;;
   1342 
   1343   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1344   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1345     ac_prev=x_libraries ;;
   1346   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1347   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1348     x_libraries=$ac_optarg ;;
   1349 
   1350   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1351 Try \`$0 --help' for more information." >&2
   1352    { (exit 1); exit 1; }; }
   1353     ;;
   1354 
   1355   *=*)
   1356     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1357     # Reject names that are not valid shell variable names.
   1358     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1359       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1360    { (exit 1); exit 1; }; }
   1361     eval $ac_envvar=\$ac_optarg
   1362     export $ac_envvar ;;
   1363 
   1364   *)
   1365     # FIXME: should be removed in autoconf 3.0.
   1366     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1367     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1368       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1369     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1370     ;;
   1371 
   1372   esac
   1373 done
   1374 
   1375 if test -n "$ac_prev"; then
   1376   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1377   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1378    { (exit 1); exit 1; }; }
   1379 fi
   1380 
   1381 if test -n "$ac_unrecognized_opts"; then
   1382   case $enable_option_checking in
   1383     no) ;;
   1384     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1385    { (exit 1); exit 1; }; } ;;
   1386     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1387   esac
   1388 fi
   1389 
   1390 # Check all directory arguments for consistency.
   1391 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1392 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1393 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1394 		libdir localedir mandir
   1395 do
   1396   eval ac_val=\$$ac_var
   1397   # Remove trailing slashes.
   1398   case $ac_val in
   1399     */ )
   1400       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1401       eval $ac_var=\$ac_val;;
   1402   esac
   1403   # Be sure to have absolute directory names.
   1404   case $ac_val in
   1405     [\\/$]* | ?:[\\/]* )  continue;;
   1406     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1407   esac
   1408   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1409    { (exit 1); exit 1; }; }
   1410 done
   1411 
   1412 # There might be people who depend on the old broken behavior: `$host'
   1413 # used to hold the argument of --host etc.
   1414 # FIXME: To remove some day.
   1415 build=$build_alias
   1416 host=$host_alias
   1417 target=$target_alias
   1418 
   1419 # FIXME: To remove some day.
   1420 if test "x$host_alias" != x; then
   1421   if test "x$build_alias" = x; then
   1422     cross_compiling=maybe
   1423     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1424     If a cross compiler is detected then cross compile mode will be used." >&2
   1425   elif test "x$build_alias" != "x$host_alias"; then
   1426     cross_compiling=yes
   1427   fi
   1428 fi
   1429 
   1430 ac_tool_prefix=
   1431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1432 
   1433 test "$silent" = yes && exec 6>/dev/null
   1434 
   1435 
   1436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1437 ac_ls_di=`ls -di .` &&
   1438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1439   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1440    { (exit 1); exit 1; }; }
   1441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1442   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1443    { (exit 1); exit 1; }; }
   1444 
   1445 
   1446 # Find the source files, if location was not specified.
   1447 if test -z "$srcdir"; then
   1448   ac_srcdir_defaulted=yes
   1449   # Try the directory containing this script, then the parent directory.
   1450   ac_confdir=`$as_dirname -- "$as_myself" ||
   1451 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1452 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1453 	 X"$as_myself" : 'X\(//\)$' \| \
   1454 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1455 $as_echo X"$as_myself" |
   1456     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1457 	    s//\1/
   1458 	    q
   1459 	  }
   1460 	  /^X\(\/\/\)[^/].*/{
   1461 	    s//\1/
   1462 	    q
   1463 	  }
   1464 	  /^X\(\/\/\)$/{
   1465 	    s//\1/
   1466 	    q
   1467 	  }
   1468 	  /^X\(\/\).*/{
   1469 	    s//\1/
   1470 	    q
   1471 	  }
   1472 	  s/.*/./; q'`
   1473   srcdir=$ac_confdir
   1474   if test ! -r "$srcdir/$ac_unique_file"; then
   1475     srcdir=..
   1476   fi
   1477 else
   1478   ac_srcdir_defaulted=no
   1479 fi
   1480 if test ! -r "$srcdir/$ac_unique_file"; then
   1481   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1482   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1483    { (exit 1); exit 1; }; }
   1484 fi
   1485 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1486 ac_abs_confdir=`(
   1487 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1488    { (exit 1); exit 1; }; }
   1489 	pwd)`
   1490 # When building in place, set srcdir=.
   1491 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1492   srcdir=.
   1493 fi
   1494 # Remove unnecessary trailing slashes from srcdir.
   1495 # Double slashes in file names in object file debugging info
   1496 # mess up M-x gdb in Emacs.
   1497 case $srcdir in
   1498 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1499 esac
   1500 for ac_var in $ac_precious_vars; do
   1501   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1502   eval ac_env_${ac_var}_value=\$${ac_var}
   1503   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1504   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1505 done
   1506 
   1507 #
   1508 # Report the --help message.
   1509 #
   1510 if test "$ac_init_help" = "long"; then
   1511   # Omit some internal or obsolete options to make the list less imposing.
   1512   # This message is too long to be a string in the A/UX 3.1 sh.
   1513   cat <<_ACEOF
   1514 \`configure' configures xf86-video-ast 0.89.9 to adapt to many kinds of systems.
   1515 
   1516 Usage: $0 [OPTION]... [VAR=VALUE]...
   1517 
   1518 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1519 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1520 
   1521 Defaults for the options are specified in brackets.
   1522 
   1523 Configuration:
   1524   -h, --help              display this help and exit
   1525       --help=short        display options specific to this package
   1526       --help=recursive    display the short help of all the included packages
   1527   -V, --version           display version information and exit
   1528   -q, --quiet, --silent   do not print \`checking...' messages
   1529       --cache-file=FILE   cache test results in FILE [disabled]
   1530   -C, --config-cache      alias for \`--cache-file=config.cache'
   1531   -n, --no-create         do not create output files
   1532       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1533 
   1534 Installation directories:
   1535   --prefix=PREFIX         install architecture-independent files in PREFIX
   1536                           [$ac_default_prefix]
   1537   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1538                           [PREFIX]
   1539 
   1540 By default, \`make install' will install all the files in
   1541 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1542 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1543 for instance \`--prefix=\$HOME'.
   1544 
   1545 For better control, use the options below.
   1546 
   1547 Fine tuning of the installation directories:
   1548   --bindir=DIR            user executables [EPREFIX/bin]
   1549   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1550   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1551   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1552   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1553   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1554   --libdir=DIR            object code libraries [EPREFIX/lib]
   1555   --includedir=DIR        C header files [PREFIX/include]
   1556   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1557   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1558   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1559   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1560   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1561   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1562   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-ast]
   1563   --htmldir=DIR           html documentation [DOCDIR]
   1564   --dvidir=DIR            dvi documentation [DOCDIR]
   1565   --pdfdir=DIR            pdf documentation [DOCDIR]
   1566   --psdir=DIR             ps documentation [DOCDIR]
   1567 _ACEOF
   1568 
   1569   cat <<\_ACEOF
   1570 
   1571 Program names:
   1572   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1573   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1574   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1575 
   1576 System types:
   1577   --build=BUILD     configure for building on BUILD [guessed]
   1578   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1579 _ACEOF
   1580 fi
   1581 
   1582 if test -n "$ac_init_help"; then
   1583   case $ac_init_help in
   1584      short | recursive ) echo "Configuration of xf86-video-ast 0.89.9:";;
   1585    esac
   1586   cat <<\_ACEOF
   1587 
   1588 Optional Features:
   1589   --disable-option-checking  ignore unrecognized --enable/--with options
   1590   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1591   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1592   --enable-maintainer-mode  enable make rules and dependencies not useful
   1593 			  (and sometimes confusing) to the casual installer
   1594   --enable-static[=PKGS]  build static libraries [default=no]
   1595   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1596   --enable-fast-install[=PKGS]
   1597                           optimize for fast installation [default=yes]
   1598   --disable-dependency-tracking  speeds up one-time build
   1599   --enable-dependency-tracking   do not reject slow dependency extractors
   1600   --disable-libtool-lock  avoid locking (might break parallel builds)
   1601 
   1602 Optional Packages:
   1603   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1604   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1605   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1606   --with-pic              try to use only PIC/non-PIC objects [default=use
   1607                           both]
   1608   --with-tags[=TAGS]      include additional configurations [automatic]
   1609   --with-xorg-module-dir=DIR
   1610                           Default xorg module directory
   1611                           [default=$libdir/xorg/modules]
   1612   --with-release-version=STRING
   1613                           Use release version string in package name
   1614 
   1615 Some influential environment variables:
   1616   CC          C compiler command
   1617   CFLAGS      C compiler flags
   1618   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1619               nonstandard directory <lib dir>
   1620   LIBS        libraries to pass to the linker, e.g. -l<library>
   1621   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1622               you have headers in a nonstandard directory <include dir>
   1623   CPP         C preprocessor
   1624   CXX         C++ compiler command
   1625   CXXFLAGS    C++ compiler flags
   1626   CXXCPP      C++ preprocessor
   1627   F77         Fortran 77 compiler command
   1628   FFLAGS      Fortran 77 compiler flags
   1629   PKG_CONFIG  path to pkg-config utility
   1630   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1631   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1632   PCIACCESS_CFLAGS
   1633               C compiler flags for PCIACCESS, overriding pkg-config
   1634   PCIACCESS_LIBS
   1635               linker flags for PCIACCESS, overriding pkg-config
   1636 
   1637 Use these variables to override the choices made by `configure' or to help
   1638 it to find libraries and programs with nonstandard names/locations.
   1639 
   1640 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1641 _ACEOF
   1642 ac_status=$?
   1643 fi
   1644 
   1645 if test "$ac_init_help" = "recursive"; then
   1646   # If there are subdirs, report their specific --help.
   1647   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1648     test -d "$ac_dir" ||
   1649       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1650       continue
   1651     ac_builddir=.
   1652 
   1653 case "$ac_dir" in
   1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1655 *)
   1656   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1657   # A ".." for each directory in $ac_dir_suffix.
   1658   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1659   case $ac_top_builddir_sub in
   1660   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1661   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1662   esac ;;
   1663 esac
   1664 ac_abs_top_builddir=$ac_pwd
   1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1666 # for backward compatibility:
   1667 ac_top_builddir=$ac_top_build_prefix
   1668 
   1669 case $srcdir in
   1670   .)  # We are building in place.
   1671     ac_srcdir=.
   1672     ac_top_srcdir=$ac_top_builddir_sub
   1673     ac_abs_top_srcdir=$ac_pwd ;;
   1674   [\\/]* | ?:[\\/]* )  # Absolute name.
   1675     ac_srcdir=$srcdir$ac_dir_suffix;
   1676     ac_top_srcdir=$srcdir
   1677     ac_abs_top_srcdir=$srcdir ;;
   1678   *) # Relative name.
   1679     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1680     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1681     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1682 esac
   1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1684 
   1685     cd "$ac_dir" || { ac_status=$?; continue; }
   1686     # Check for guested configure.
   1687     if test -f "$ac_srcdir/configure.gnu"; then
   1688       echo &&
   1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1690     elif test -f "$ac_srcdir/configure"; then
   1691       echo &&
   1692       $SHELL "$ac_srcdir/configure" --help=recursive
   1693     else
   1694       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1695     fi || ac_status=$?
   1696     cd "$ac_pwd" || { ac_status=$?; break; }
   1697   done
   1698 fi
   1699 
   1700 test -n "$ac_init_help" && exit $ac_status
   1701 if $ac_init_version; then
   1702   cat <<\_ACEOF
   1703 xf86-video-ast configure 0.89.9
   1704 generated by GNU Autoconf 2.63
   1705 
   1706 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1707 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1708 This configure script is free software; the Free Software Foundation
   1709 gives unlimited permission to copy, distribute and modify it.
   1710 _ACEOF
   1711   exit
   1712 fi
   1713 cat >config.log <<_ACEOF
   1714 This file contains any messages produced by compilers while
   1715 running configure, to aid debugging if configure makes a mistake.
   1716 
   1717 It was created by xf86-video-ast $as_me 0.89.9, which was
   1718 generated by GNU Autoconf 2.63.  Invocation command line was
   1719 
   1720   $ $0 $@
   1721 
   1722 _ACEOF
   1723 exec 5>>config.log
   1724 {
   1725 cat <<_ASUNAME
   1726 ## --------- ##
   1727 ## Platform. ##
   1728 ## --------- ##
   1729 
   1730 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1731 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1732 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1733 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1734 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1735 
   1736 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1737 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1738 
   1739 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1740 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1741 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1742 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1743 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1744 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1745 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1746 
   1747 _ASUNAME
   1748 
   1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1750 for as_dir in $PATH
   1751 do
   1752   IFS=$as_save_IFS
   1753   test -z "$as_dir" && as_dir=.
   1754   $as_echo "PATH: $as_dir"
   1755 done
   1756 IFS=$as_save_IFS
   1757 
   1758 } >&5
   1759 
   1760 cat >&5 <<_ACEOF
   1761 
   1762 
   1763 ## ----------- ##
   1764 ## Core tests. ##
   1765 ## ----------- ##
   1766 
   1767 _ACEOF
   1768 
   1769 
   1770 # Keep a trace of the command line.
   1771 # Strip out --no-create and --no-recursion so they do not pile up.
   1772 # Strip out --silent because we don't want to record it for future runs.
   1773 # Also quote any args containing shell meta-characters.
   1774 # Make two passes to allow for proper duplicate-argument suppression.
   1775 ac_configure_args=
   1776 ac_configure_args0=
   1777 ac_configure_args1=
   1778 ac_must_keep_next=false
   1779 for ac_pass in 1 2
   1780 do
   1781   for ac_arg
   1782   do
   1783     case $ac_arg in
   1784     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1785     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1786     | -silent | --silent | --silen | --sile | --sil)
   1787       continue ;;
   1788     *\'*)
   1789       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1790     esac
   1791     case $ac_pass in
   1792     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1793     2)
   1794       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1795       if test $ac_must_keep_next = true; then
   1796 	ac_must_keep_next=false # Got value, back to normal.
   1797       else
   1798 	case $ac_arg in
   1799 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1800 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1801 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1802 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1803 	    case "$ac_configure_args0 " in
   1804 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1805 	    esac
   1806 	    ;;
   1807 	  -* ) ac_must_keep_next=true ;;
   1808 	esac
   1809       fi
   1810       ac_configure_args="$ac_configure_args '$ac_arg'"
   1811       ;;
   1812     esac
   1813   done
   1814 done
   1815 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1816 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1817 
   1818 # When interrupted or exit'd, cleanup temporary files, and complete
   1819 # config.log.  We remove comments because anyway the quotes in there
   1820 # would cause problems or look ugly.
   1821 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1822 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1823 trap 'exit_status=$?
   1824   # Save into config.log some information that might help in debugging.
   1825   {
   1826     echo
   1827 
   1828     cat <<\_ASBOX
   1829 ## ---------------- ##
   1830 ## Cache variables. ##
   1831 ## ---------------- ##
   1832 _ASBOX
   1833     echo
   1834     # The following way of writing the cache mishandles newlines in values,
   1835 (
   1836   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1837     eval ac_val=\$$ac_var
   1838     case $ac_val in #(
   1839     *${as_nl}*)
   1840       case $ac_var in #(
   1841       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1843       esac
   1844       case $ac_var in #(
   1845       _ | IFS | as_nl) ;; #(
   1846       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1847       *) $as_unset $ac_var ;;
   1848       esac ;;
   1849     esac
   1850   done
   1851   (set) 2>&1 |
   1852     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1853     *${as_nl}ac_space=\ *)
   1854       sed -n \
   1855 	"s/'\''/'\''\\\\'\'''\''/g;
   1856 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1857       ;; #(
   1858     *)
   1859       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1860       ;;
   1861     esac |
   1862     sort
   1863 )
   1864     echo
   1865 
   1866     cat <<\_ASBOX
   1867 ## ----------------- ##
   1868 ## Output variables. ##
   1869 ## ----------------- ##
   1870 _ASBOX
   1871     echo
   1872     for ac_var in $ac_subst_vars
   1873     do
   1874       eval ac_val=\$$ac_var
   1875       case $ac_val in
   1876       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1877       esac
   1878       $as_echo "$ac_var='\''$ac_val'\''"
   1879     done | sort
   1880     echo
   1881 
   1882     if test -n "$ac_subst_files"; then
   1883       cat <<\_ASBOX
   1884 ## ------------------- ##
   1885 ## File substitutions. ##
   1886 ## ------------------- ##
   1887 _ASBOX
   1888       echo
   1889       for ac_var in $ac_subst_files
   1890       do
   1891 	eval ac_val=\$$ac_var
   1892 	case $ac_val in
   1893 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894 	esac
   1895 	$as_echo "$ac_var='\''$ac_val'\''"
   1896       done | sort
   1897       echo
   1898     fi
   1899 
   1900     if test -s confdefs.h; then
   1901       cat <<\_ASBOX
   1902 ## ----------- ##
   1903 ## confdefs.h. ##
   1904 ## ----------- ##
   1905 _ASBOX
   1906       echo
   1907       cat confdefs.h
   1908       echo
   1909     fi
   1910     test "$ac_signal" != 0 &&
   1911       $as_echo "$as_me: caught signal $ac_signal"
   1912     $as_echo "$as_me: exit $exit_status"
   1913   } >&5
   1914   rm -f core *.core core.conftest.* &&
   1915     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1916     exit $exit_status
   1917 ' 0
   1918 for ac_signal in 1 2 13 15; do
   1919   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1920 done
   1921 ac_signal=0
   1922 
   1923 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1924 rm -f -r conftest* confdefs.h
   1925 
   1926 # Predefined preprocessor variables.
   1927 
   1928 cat >>confdefs.h <<_ACEOF
   1929 #define PACKAGE_NAME "$PACKAGE_NAME"
   1930 _ACEOF
   1931 
   1932 
   1933 cat >>confdefs.h <<_ACEOF
   1934 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1935 _ACEOF
   1936 
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1940 _ACEOF
   1941 
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_STRING "$PACKAGE_STRING"
   1945 _ACEOF
   1946 
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1950 _ACEOF
   1951 
   1952 
   1953 # Let the site file select an alternate cache file if it wants to.
   1954 # Prefer an explicitly selected file to automatically selected ones.
   1955 ac_site_file1=NONE
   1956 ac_site_file2=NONE
   1957 if test -n "$CONFIG_SITE"; then
   1958   ac_site_file1=$CONFIG_SITE
   1959 elif test "x$prefix" != xNONE; then
   1960   ac_site_file1=$prefix/share/config.site
   1961   ac_site_file2=$prefix/etc/config.site
   1962 else
   1963   ac_site_file1=$ac_default_prefix/share/config.site
   1964   ac_site_file2=$ac_default_prefix/etc/config.site
   1965 fi
   1966 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1967 do
   1968   test "x$ac_site_file" = xNONE && continue
   1969   if test -r "$ac_site_file"; then
   1970     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1971 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1972     sed 's/^/| /' "$ac_site_file" >&5
   1973     . "$ac_site_file"
   1974   fi
   1975 done
   1976 
   1977 if test -r "$cache_file"; then
   1978   # Some versions of bash will fail to source /dev/null (special
   1979   # files actually), so we avoid doing that.
   1980   if test -f "$cache_file"; then
   1981     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1982 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1983     case $cache_file in
   1984       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1985       *)                      . "./$cache_file";;
   1986     esac
   1987   fi
   1988 else
   1989   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1990 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1991   >$cache_file
   1992 fi
   1993 
   1994 # Check that the precious variables saved in the cache have kept the same
   1995 # value.
   1996 ac_cache_corrupted=false
   1997 for ac_var in $ac_precious_vars; do
   1998   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1999   eval ac_new_set=\$ac_env_${ac_var}_set
   2000   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2001   eval ac_new_val=\$ac_env_${ac_var}_value
   2002   case $ac_old_set,$ac_new_set in
   2003     set,)
   2004       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2006       ac_cache_corrupted=: ;;
   2007     ,set)
   2008       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2010       ac_cache_corrupted=: ;;
   2011     ,);;
   2012     *)
   2013       if test "x$ac_old_val" != "x$ac_new_val"; then
   2014 	# differences in whitespace do not lead to failure.
   2015 	ac_old_val_w=`echo x $ac_old_val`
   2016 	ac_new_val_w=`echo x $ac_new_val`
   2017 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2018 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2020 	  ac_cache_corrupted=:
   2021 	else
   2022 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2024 	  eval $ac_var=\$ac_old_val
   2025 	fi
   2026 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2027 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2028 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2029 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2030       fi;;
   2031   esac
   2032   # Pass precious variables to config.status.
   2033   if test "$ac_new_set" = set; then
   2034     case $ac_new_val in
   2035     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2036     *) ac_arg=$ac_var=$ac_new_val ;;
   2037     esac
   2038     case " $ac_configure_args " in
   2039       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2040       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2041     esac
   2042   fi
   2043 done
   2044 if $ac_cache_corrupted; then
   2045   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2047   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2049   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2050 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2051    { (exit 1); exit 1; }; }
   2052 fi
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 ac_ext=c
   2079 ac_cpp='$CPP $CPPFLAGS'
   2080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2083 
   2084 
   2085 
   2086 
   2087 ac_config_headers="$ac_config_headers config.h"
   2088 
   2089 ac_aux_dir=
   2090 for ac_dir in . "$srcdir"/.; do
   2091   if test -f "$ac_dir/install-sh"; then
   2092     ac_aux_dir=$ac_dir
   2093     ac_install_sh="$ac_aux_dir/install-sh -c"
   2094     break
   2095   elif test -f "$ac_dir/install.sh"; then
   2096     ac_aux_dir=$ac_dir
   2097     ac_install_sh="$ac_aux_dir/install.sh -c"
   2098     break
   2099   elif test -f "$ac_dir/shtool"; then
   2100     ac_aux_dir=$ac_dir
   2101     ac_install_sh="$ac_aux_dir/shtool install -c"
   2102     break
   2103   fi
   2104 done
   2105 if test -z "$ac_aux_dir"; then
   2106   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2107 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2108    { (exit 1); exit 1; }; }
   2109 fi
   2110 
   2111 # These three variables are undocumented and unsupported,
   2112 # and are intended to be withdrawn in a future Autoconf release.
   2113 # They can cause serious problems if a builder's source tree is in a directory
   2114 # whose full name contains unusual characters.
   2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2117 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2118 
   2119 
   2120 
   2121 am__api_version='1.11'
   2122 
   2123 # Find a good install program.  We prefer a C program (faster),
   2124 # so one script is as good as another.  But avoid the broken or
   2125 # incompatible versions:
   2126 # SysV /etc/install, /usr/sbin/install
   2127 # SunOS /usr/etc/install
   2128 # IRIX /sbin/install
   2129 # AIX /bin/install
   2130 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2131 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2132 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2133 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2134 # OS/2's system install, which has a completely different semantic
   2135 # ./install, which can be erroneously created by make from ./install.sh.
   2136 # Reject install programs that cannot install multiple files.
   2137 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2138 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2139 if test -z "$INSTALL"; then
   2140 if test "${ac_cv_path_install+set}" = set; then
   2141   $as_echo_n "(cached) " >&6
   2142 else
   2143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2144 for as_dir in $PATH
   2145 do
   2146   IFS=$as_save_IFS
   2147   test -z "$as_dir" && as_dir=.
   2148   # Account for people who put trailing slashes in PATH elements.
   2149 case $as_dir/ in
   2150   ./ | .// | /cC/* | \
   2151   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2152   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2153   /usr/ucb/* ) ;;
   2154   *)
   2155     # OSF1 and SCO ODT 3.0 have their own names for install.
   2156     # Don't use installbsd from OSF since it installs stuff as root
   2157     # by default.
   2158     for ac_prog in ginstall scoinst install; do
   2159       for ac_exec_ext in '' $ac_executable_extensions; do
   2160 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2161 	  if test $ac_prog = install &&
   2162 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2163 	    # AIX install.  It has an incompatible calling convention.
   2164 	    :
   2165 	  elif test $ac_prog = install &&
   2166 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2167 	    # program-specific install script used by HP pwplus--don't use.
   2168 	    :
   2169 	  else
   2170 	    rm -rf conftest.one conftest.two conftest.dir
   2171 	    echo one > conftest.one
   2172 	    echo two > conftest.two
   2173 	    mkdir conftest.dir
   2174 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2175 	      test -s conftest.one && test -s conftest.two &&
   2176 	      test -s conftest.dir/conftest.one &&
   2177 	      test -s conftest.dir/conftest.two
   2178 	    then
   2179 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2180 	      break 3
   2181 	    fi
   2182 	  fi
   2183 	fi
   2184       done
   2185     done
   2186     ;;
   2187 esac
   2188 
   2189 done
   2190 IFS=$as_save_IFS
   2191 
   2192 rm -rf conftest.one conftest.two conftest.dir
   2193 
   2194 fi
   2195   if test "${ac_cv_path_install+set}" = set; then
   2196     INSTALL=$ac_cv_path_install
   2197   else
   2198     # As a last resort, use the slow shell script.  Don't cache a
   2199     # value for INSTALL within a source directory, because that will
   2200     # break other packages using the cache if that directory is
   2201     # removed, or if the value is a relative name.
   2202     INSTALL=$ac_install_sh
   2203   fi
   2204 fi
   2205 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2206 $as_echo "$INSTALL" >&6; }
   2207 
   2208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2209 # It thinks the first close brace ends the variable substitution.
   2210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2211 
   2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2215 
   2216 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2217 $as_echo_n "checking whether build environment is sane... " >&6; }
   2218 # Just in case
   2219 sleep 1
   2220 echo timestamp > conftest.file
   2221 # Reject unsafe characters in $srcdir or the absolute working directory
   2222 # name.  Accept space and tab only in the latter.
   2223 am_lf='
   2224 '
   2225 case `pwd` in
   2226   *[\\\"\#\$\&\'\`$am_lf]*)
   2227     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2228 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2229    { (exit 1); exit 1; }; };;
   2230 esac
   2231 case $srcdir in
   2232   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2233     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2234 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2235    { (exit 1); exit 1; }; };;
   2236 esac
   2237 
   2238 # Do `set' in a subshell so we don't clobber the current shell's
   2239 # arguments.  Must try -L first in case configure is actually a
   2240 # symlink; some systems play weird games with the mod time of symlinks
   2241 # (eg FreeBSD returns the mod time of the symlink's containing
   2242 # directory).
   2243 if (
   2244    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2245    if test "$*" = "X"; then
   2246       # -L didn't work.
   2247       set X `ls -t "$srcdir/configure" conftest.file`
   2248    fi
   2249    rm -f conftest.file
   2250    if test "$*" != "X $srcdir/configure conftest.file" \
   2251       && test "$*" != "X conftest.file $srcdir/configure"; then
   2252 
   2253       # If neither matched, then we have a broken ls.  This can happen
   2254       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2255       # broken ls alias from the environment.  This has actually
   2256       # happened.  Such a system could not be considered "sane".
   2257       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2258 alias in your environment" >&5
   2259 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2260 alias in your environment" >&2;}
   2261    { (exit 1); exit 1; }; }
   2262    fi
   2263 
   2264    test "$2" = conftest.file
   2265    )
   2266 then
   2267    # Ok.
   2268    :
   2269 else
   2270    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2271 Check your system clock" >&5
   2272 $as_echo "$as_me: error: newly created file is older than distributed files!
   2273 Check your system clock" >&2;}
   2274    { (exit 1); exit 1; }; }
   2275 fi
   2276 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2277 $as_echo "yes" >&6; }
   2278 test "$program_prefix" != NONE &&
   2279   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2280 # Use a double $ so make ignores it.
   2281 test "$program_suffix" != NONE &&
   2282   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2283 # Double any \ or $.
   2284 # By default was `s,x,x', remove it if useless.
   2285 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2286 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2287 
   2288 # expand $ac_aux_dir to an absolute path
   2289 am_aux_dir=`cd $ac_aux_dir && pwd`
   2290 
   2291 if test x"${MISSING+set}" != xset; then
   2292   case $am_aux_dir in
   2293   *\ * | *\	*)
   2294     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2295   *)
   2296     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2297   esac
   2298 fi
   2299 # Use eval to expand $SHELL
   2300 if eval "$MISSING --run true"; then
   2301   am_missing_run="$MISSING --run "
   2302 else
   2303   am_missing_run=
   2304   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2305 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2306 fi
   2307 
   2308 if test x"${install_sh}" != xset; then
   2309   case $am_aux_dir in
   2310   *\ * | *\	*)
   2311     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2312   *)
   2313     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2314   esac
   2315 fi
   2316 
   2317 # Installed binaries are usually stripped using `strip' when the user
   2318 # run `make install-strip'.  However `strip' might not be the right
   2319 # tool to use in cross-compilation environments, therefore Automake
   2320 # will honor the `STRIP' environment variable to overrule this program.
   2321 if test "$cross_compiling" != no; then
   2322   if test -n "$ac_tool_prefix"; then
   2323   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2324 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2326 $as_echo_n "checking for $ac_word... " >&6; }
   2327 if test "${ac_cv_prog_STRIP+set}" = set; then
   2328   $as_echo_n "(cached) " >&6
   2329 else
   2330   if test -n "$STRIP"; then
   2331   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2332 else
   2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 for as_dir in $PATH
   2335 do
   2336   IFS=$as_save_IFS
   2337   test -z "$as_dir" && as_dir=.
   2338   for ac_exec_ext in '' $ac_executable_extensions; do
   2339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2340     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2341     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2342     break 2
   2343   fi
   2344 done
   2345 done
   2346 IFS=$as_save_IFS
   2347 
   2348 fi
   2349 fi
   2350 STRIP=$ac_cv_prog_STRIP
   2351 if test -n "$STRIP"; then
   2352   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2353 $as_echo "$STRIP" >&6; }
   2354 else
   2355   { $as_echo "$as_me:$LINENO: result: no" >&5
   2356 $as_echo "no" >&6; }
   2357 fi
   2358 
   2359 
   2360 fi
   2361 if test -z "$ac_cv_prog_STRIP"; then
   2362   ac_ct_STRIP=$STRIP
   2363   # Extract the first word of "strip", so it can be a program name with args.
   2364 set dummy strip; ac_word=$2
   2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2366 $as_echo_n "checking for $ac_word... " >&6; }
   2367 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2368   $as_echo_n "(cached) " >&6
   2369 else
   2370   if test -n "$ac_ct_STRIP"; then
   2371   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2372 else
   2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2374 for as_dir in $PATH
   2375 do
   2376   IFS=$as_save_IFS
   2377   test -z "$as_dir" && as_dir=.
   2378   for ac_exec_ext in '' $ac_executable_extensions; do
   2379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2380     ac_cv_prog_ac_ct_STRIP="strip"
   2381     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2382     break 2
   2383   fi
   2384 done
   2385 done
   2386 IFS=$as_save_IFS
   2387 
   2388 fi
   2389 fi
   2390 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2391 if test -n "$ac_ct_STRIP"; then
   2392   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2393 $as_echo "$ac_ct_STRIP" >&6; }
   2394 else
   2395   { $as_echo "$as_me:$LINENO: result: no" >&5
   2396 $as_echo "no" >&6; }
   2397 fi
   2398 
   2399   if test "x$ac_ct_STRIP" = x; then
   2400     STRIP=":"
   2401   else
   2402     case $cross_compiling:$ac_tool_warned in
   2403 yes:)
   2404 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2406 ac_tool_warned=yes ;;
   2407 esac
   2408     STRIP=$ac_ct_STRIP
   2409   fi
   2410 else
   2411   STRIP="$ac_cv_prog_STRIP"
   2412 fi
   2413 
   2414 fi
   2415 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2416 
   2417 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2418 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2419 if test -z "$MKDIR_P"; then
   2420   if test "${ac_cv_path_mkdir+set}" = set; then
   2421   $as_echo_n "(cached) " >&6
   2422 else
   2423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2424 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2425 do
   2426   IFS=$as_save_IFS
   2427   test -z "$as_dir" && as_dir=.
   2428   for ac_prog in mkdir gmkdir; do
   2429 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2430 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2431 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2432 	     'mkdir (GNU coreutils) '* | \
   2433 	     'mkdir (coreutils) '* | \
   2434 	     'mkdir (fileutils) '4.1*)
   2435 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2436 	       break 3;;
   2437 	   esac
   2438 	 done
   2439        done
   2440 done
   2441 IFS=$as_save_IFS
   2442 
   2443 fi
   2444 
   2445   if test "${ac_cv_path_mkdir+set}" = set; then
   2446     MKDIR_P="$ac_cv_path_mkdir -p"
   2447   else
   2448     # As a last resort, use the slow shell script.  Don't cache a
   2449     # value for MKDIR_P within a source directory, because that will
   2450     # break other packages using the cache if that directory is
   2451     # removed, or if the value is a relative name.
   2452     test -d ./--version && rmdir ./--version
   2453     MKDIR_P="$ac_install_sh -d"
   2454   fi
   2455 fi
   2456 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2457 $as_echo "$MKDIR_P" >&6; }
   2458 
   2459 mkdir_p="$MKDIR_P"
   2460 case $mkdir_p in
   2461   [\\/$]* | ?:[\\/]*) ;;
   2462   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2463 esac
   2464 
   2465 for ac_prog in gawk mawk nawk awk
   2466 do
   2467   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2468 set dummy $ac_prog; ac_word=$2
   2469 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2470 $as_echo_n "checking for $ac_word... " >&6; }
   2471 if test "${ac_cv_prog_AWK+set}" = set; then
   2472   $as_echo_n "(cached) " >&6
   2473 else
   2474   if test -n "$AWK"; then
   2475   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2476 else
   2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2478 for as_dir in $PATH
   2479 do
   2480   IFS=$as_save_IFS
   2481   test -z "$as_dir" && as_dir=.
   2482   for ac_exec_ext in '' $ac_executable_extensions; do
   2483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2484     ac_cv_prog_AWK="$ac_prog"
   2485     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2486     break 2
   2487   fi
   2488 done
   2489 done
   2490 IFS=$as_save_IFS
   2491 
   2492 fi
   2493 fi
   2494 AWK=$ac_cv_prog_AWK
   2495 if test -n "$AWK"; then
   2496   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2497 $as_echo "$AWK" >&6; }
   2498 else
   2499   { $as_echo "$as_me:$LINENO: result: no" >&5
   2500 $as_echo "no" >&6; }
   2501 fi
   2502 
   2503 
   2504   test -n "$AWK" && break
   2505 done
   2506 
   2507 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2508 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2509 set x ${MAKE-make}
   2510 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2511 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2512   $as_echo_n "(cached) " >&6
   2513 else
   2514   cat >conftest.make <<\_ACEOF
   2515 SHELL = /bin/sh
   2516 all:
   2517 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2518 _ACEOF
   2519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2520 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2521   *@@@%%%=?*=@@@%%%*)
   2522     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2523   *)
   2524     eval ac_cv_prog_make_${ac_make}_set=no;;
   2525 esac
   2526 rm -f conftest.make
   2527 fi
   2528 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2529   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2530 $as_echo "yes" >&6; }
   2531   SET_MAKE=
   2532 else
   2533   { $as_echo "$as_me:$LINENO: result: no" >&5
   2534 $as_echo "no" >&6; }
   2535   SET_MAKE="MAKE=${MAKE-make}"
   2536 fi
   2537 
   2538 rm -rf .tst 2>/dev/null
   2539 mkdir .tst 2>/dev/null
   2540 if test -d .tst; then
   2541   am__leading_dot=.
   2542 else
   2543   am__leading_dot=_
   2544 fi
   2545 rmdir .tst 2>/dev/null
   2546 
   2547 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2548   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2549   # is not polluted with repeated "-I."
   2550   am__isrc=' -I$(srcdir)'
   2551   # test to see if srcdir already configured
   2552   if test -f $srcdir/config.status; then
   2553     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2554 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2555    { (exit 1); exit 1; }; }
   2556   fi
   2557 fi
   2558 
   2559 # test whether we have cygpath
   2560 if test -z "$CYGPATH_W"; then
   2561   if (cygpath --version) >/dev/null 2>/dev/null; then
   2562     CYGPATH_W='cygpath -w'
   2563   else
   2564     CYGPATH_W=echo
   2565   fi
   2566 fi
   2567 
   2568 
   2569 # Define the identity of the package.
   2570  PACKAGE='xf86-video-ast'
   2571  VERSION='0.89.9'
   2572 
   2573 
   2574 cat >>confdefs.h <<_ACEOF
   2575 #define PACKAGE "$PACKAGE"
   2576 _ACEOF
   2577 
   2578 
   2579 cat >>confdefs.h <<_ACEOF
   2580 #define VERSION "$VERSION"
   2581 _ACEOF
   2582 
   2583 # Some tools Automake needs.
   2584 
   2585 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2586 
   2587 
   2588 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2589 
   2590 
   2591 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2592 
   2593 
   2594 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2595 
   2596 
   2597 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2598 
   2599 # We need awk for the "check" target.  The system "awk" is bad on
   2600 # some platforms.
   2601 # Always define AMTAR for backward compatibility.
   2602 
   2603 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2604 
   2605 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2606 
   2607 
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2614 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2615     # Check whether --enable-maintainer-mode was given.
   2616 if test "${enable_maintainer_mode+set}" = set; then
   2617   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2618 else
   2619   USE_MAINTAINER_MODE=no
   2620 fi
   2621 
   2622   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2623 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2624    if test $USE_MAINTAINER_MODE = yes; then
   2625   MAINTAINER_MODE_TRUE=
   2626   MAINTAINER_MODE_FALSE='#'
   2627 else
   2628   MAINTAINER_MODE_TRUE='#'
   2629   MAINTAINER_MODE_FALSE=
   2630 fi
   2631 
   2632   MAINT=$MAINTAINER_MODE_TRUE
   2633 
   2634 
   2635 
   2636 # Checks for programs.
   2637 # Check whether --enable-static was given.
   2638 if test "${enable_static+set}" = set; then
   2639   enableval=$enable_static; p=${PACKAGE-default}
   2640     case $enableval in
   2641     yes) enable_static=yes ;;
   2642     no) enable_static=no ;;
   2643     *)
   2644      enable_static=no
   2645       # Look at the argument we got.  We use all the common list separators.
   2646       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2647       for pkg in $enableval; do
   2648 	IFS="$lt_save_ifs"
   2649 	if test "X$pkg" = "X$p"; then
   2650 	  enable_static=yes
   2651 	fi
   2652       done
   2653       IFS="$lt_save_ifs"
   2654       ;;
   2655     esac
   2656 else
   2657   enable_static=no
   2658 fi
   2659 
   2660 
   2661 
   2662 # Check whether --enable-shared was given.
   2663 if test "${enable_shared+set}" = set; then
   2664   enableval=$enable_shared; p=${PACKAGE-default}
   2665     case $enableval in
   2666     yes) enable_shared=yes ;;
   2667     no) enable_shared=no ;;
   2668     *)
   2669       enable_shared=no
   2670       # Look at the argument we got.  We use all the common list separators.
   2671       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2672       for pkg in $enableval; do
   2673 	IFS="$lt_save_ifs"
   2674 	if test "X$pkg" = "X$p"; then
   2675 	  enable_shared=yes
   2676 	fi
   2677       done
   2678       IFS="$lt_save_ifs"
   2679       ;;
   2680     esac
   2681 else
   2682   enable_shared=yes
   2683 fi
   2684 
   2685 
   2686 # Check whether --enable-fast-install was given.
   2687 if test "${enable_fast_install+set}" = set; then
   2688   enableval=$enable_fast_install; p=${PACKAGE-default}
   2689     case $enableval in
   2690     yes) enable_fast_install=yes ;;
   2691     no) enable_fast_install=no ;;
   2692     *)
   2693       enable_fast_install=no
   2694       # Look at the argument we got.  We use all the common list separators.
   2695       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2696       for pkg in $enableval; do
   2697 	IFS="$lt_save_ifs"
   2698 	if test "X$pkg" = "X$p"; then
   2699 	  enable_fast_install=yes
   2700 	fi
   2701       done
   2702       IFS="$lt_save_ifs"
   2703       ;;
   2704     esac
   2705 else
   2706   enable_fast_install=yes
   2707 fi
   2708 
   2709 
   2710 # Make sure we can run config.sub.
   2711 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2712   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2713 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2714    { (exit 1); exit 1; }; }
   2715 
   2716 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2717 $as_echo_n "checking build system type... " >&6; }
   2718 if test "${ac_cv_build+set}" = set; then
   2719   $as_echo_n "(cached) " >&6
   2720 else
   2721   ac_build_alias=$build_alias
   2722 test "x$ac_build_alias" = x &&
   2723   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2724 test "x$ac_build_alias" = x &&
   2725   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2726 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2727    { (exit 1); exit 1; }; }
   2728 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2729   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2730 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2731    { (exit 1); exit 1; }; }
   2732 
   2733 fi
   2734 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2735 $as_echo "$ac_cv_build" >&6; }
   2736 case $ac_cv_build in
   2737 *-*-*) ;;
   2738 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2739 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2740    { (exit 1); exit 1; }; };;
   2741 esac
   2742 build=$ac_cv_build
   2743 ac_save_IFS=$IFS; IFS='-'
   2744 set x $ac_cv_build
   2745 shift
   2746 build_cpu=$1
   2747 build_vendor=$2
   2748 shift; shift
   2749 # Remember, the first character of IFS is used to create $*,
   2750 # except with old shells:
   2751 build_os=$*
   2752 IFS=$ac_save_IFS
   2753 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2754 
   2755 
   2756 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2757 $as_echo_n "checking host system type... " >&6; }
   2758 if test "${ac_cv_host+set}" = set; then
   2759   $as_echo_n "(cached) " >&6
   2760 else
   2761   if test "x$host_alias" = x; then
   2762   ac_cv_host=$ac_cv_build
   2763 else
   2764   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2765     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2766 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2767    { (exit 1); exit 1; }; }
   2768 fi
   2769 
   2770 fi
   2771 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2772 $as_echo "$ac_cv_host" >&6; }
   2773 case $ac_cv_host in
   2774 *-*-*) ;;
   2775 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2776 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2777    { (exit 1); exit 1; }; };;
   2778 esac
   2779 host=$ac_cv_host
   2780 ac_save_IFS=$IFS; IFS='-'
   2781 set x $ac_cv_host
   2782 shift
   2783 host_cpu=$1
   2784 host_vendor=$2
   2785 shift; shift
   2786 # Remember, the first character of IFS is used to create $*,
   2787 # except with old shells:
   2788 host_os=$*
   2789 IFS=$ac_save_IFS
   2790 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2791 
   2792 
   2793 DEPDIR="${am__leading_dot}deps"
   2794 
   2795 ac_config_commands="$ac_config_commands depfiles"
   2796 
   2797 
   2798 am_make=${MAKE-make}
   2799 cat > confinc << 'END'
   2800 am__doit:
   2801 	@echo this is the am__doit target
   2802 .PHONY: am__doit
   2803 END
   2804 # If we don't find an include directive, just comment out the code.
   2805 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2806 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2807 am__include="#"
   2808 am__quote=
   2809 _am_result=none
   2810 # First try GNU make style include.
   2811 echo "include confinc" > confmf
   2812 # Ignore all kinds of additional output from `make'.
   2813 case `$am_make -s -f confmf 2> /dev/null` in #(
   2814 *the\ am__doit\ target*)
   2815   am__include=include
   2816   am__quote=
   2817   _am_result=GNU
   2818   ;;
   2819 esac
   2820 # Now try BSD make style include.
   2821 if test "$am__include" = "#"; then
   2822    echo '.include "confinc"' > confmf
   2823    case `$am_make -s -f confmf 2> /dev/null` in #(
   2824    *the\ am__doit\ target*)
   2825      am__include=.include
   2826      am__quote="\""
   2827      _am_result=BSD
   2828      ;;
   2829    esac
   2830 fi
   2831 
   2832 
   2833 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2834 $as_echo "$_am_result" >&6; }
   2835 rm -f confinc confmf
   2836 
   2837 # Check whether --enable-dependency-tracking was given.
   2838 if test "${enable_dependency_tracking+set}" = set; then
   2839   enableval=$enable_dependency_tracking;
   2840 fi
   2841 
   2842 if test "x$enable_dependency_tracking" != xno; then
   2843   am_depcomp="$ac_aux_dir/depcomp"
   2844   AMDEPBACKSLASH='\'
   2845 fi
   2846  if test "x$enable_dependency_tracking" != xno; then
   2847   AMDEP_TRUE=
   2848   AMDEP_FALSE='#'
   2849 else
   2850   AMDEP_TRUE='#'
   2851   AMDEP_FALSE=
   2852 fi
   2853 
   2854 
   2855 ac_ext=c
   2856 ac_cpp='$CPP $CPPFLAGS'
   2857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2860 if test -n "$ac_tool_prefix"; then
   2861   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2862 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2864 $as_echo_n "checking for $ac_word... " >&6; }
   2865 if test "${ac_cv_prog_CC+set}" = set; then
   2866   $as_echo_n "(cached) " >&6
   2867 else
   2868   if test -n "$CC"; then
   2869   ac_cv_prog_CC="$CC" # Let the user override the test.
   2870 else
   2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2872 for as_dir in $PATH
   2873 do
   2874   IFS=$as_save_IFS
   2875   test -z "$as_dir" && as_dir=.
   2876   for ac_exec_ext in '' $ac_executable_extensions; do
   2877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2878     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2879     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2880     break 2
   2881   fi
   2882 done
   2883 done
   2884 IFS=$as_save_IFS
   2885 
   2886 fi
   2887 fi
   2888 CC=$ac_cv_prog_CC
   2889 if test -n "$CC"; then
   2890   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2891 $as_echo "$CC" >&6; }
   2892 else
   2893   { $as_echo "$as_me:$LINENO: result: no" >&5
   2894 $as_echo "no" >&6; }
   2895 fi
   2896 
   2897 
   2898 fi
   2899 if test -z "$ac_cv_prog_CC"; then
   2900   ac_ct_CC=$CC
   2901   # Extract the first word of "gcc", so it can be a program name with args.
   2902 set dummy gcc; ac_word=$2
   2903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2904 $as_echo_n "checking for $ac_word... " >&6; }
   2905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2906   $as_echo_n "(cached) " >&6
   2907 else
   2908   if test -n "$ac_ct_CC"; then
   2909   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2910 else
   2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2912 for as_dir in $PATH
   2913 do
   2914   IFS=$as_save_IFS
   2915   test -z "$as_dir" && as_dir=.
   2916   for ac_exec_ext in '' $ac_executable_extensions; do
   2917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2918     ac_cv_prog_ac_ct_CC="gcc"
   2919     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2920     break 2
   2921   fi
   2922 done
   2923 done
   2924 IFS=$as_save_IFS
   2925 
   2926 fi
   2927 fi
   2928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2929 if test -n "$ac_ct_CC"; then
   2930   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2931 $as_echo "$ac_ct_CC" >&6; }
   2932 else
   2933   { $as_echo "$as_me:$LINENO: result: no" >&5
   2934 $as_echo "no" >&6; }
   2935 fi
   2936 
   2937   if test "x$ac_ct_CC" = x; then
   2938     CC=""
   2939   else
   2940     case $cross_compiling:$ac_tool_warned in
   2941 yes:)
   2942 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2944 ac_tool_warned=yes ;;
   2945 esac
   2946     CC=$ac_ct_CC
   2947   fi
   2948 else
   2949   CC="$ac_cv_prog_CC"
   2950 fi
   2951 
   2952 if test -z "$CC"; then
   2953           if test -n "$ac_tool_prefix"; then
   2954     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2955 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2956 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2957 $as_echo_n "checking for $ac_word... " >&6; }
   2958 if test "${ac_cv_prog_CC+set}" = set; then
   2959   $as_echo_n "(cached) " >&6
   2960 else
   2961   if test -n "$CC"; then
   2962   ac_cv_prog_CC="$CC" # Let the user override the test.
   2963 else
   2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2965 for as_dir in $PATH
   2966 do
   2967   IFS=$as_save_IFS
   2968   test -z "$as_dir" && as_dir=.
   2969   for ac_exec_ext in '' $ac_executable_extensions; do
   2970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2971     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2972     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2973     break 2
   2974   fi
   2975 done
   2976 done
   2977 IFS=$as_save_IFS
   2978 
   2979 fi
   2980 fi
   2981 CC=$ac_cv_prog_CC
   2982 if test -n "$CC"; then
   2983   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2984 $as_echo "$CC" >&6; }
   2985 else
   2986   { $as_echo "$as_me:$LINENO: result: no" >&5
   2987 $as_echo "no" >&6; }
   2988 fi
   2989 
   2990 
   2991   fi
   2992 fi
   2993 if test -z "$CC"; then
   2994   # Extract the first word of "cc", so it can be a program name with args.
   2995 set dummy cc; ac_word=$2
   2996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2997 $as_echo_n "checking for $ac_word... " >&6; }
   2998 if test "${ac_cv_prog_CC+set}" = set; then
   2999   $as_echo_n "(cached) " >&6
   3000 else
   3001   if test -n "$CC"; then
   3002   ac_cv_prog_CC="$CC" # Let the user override the test.
   3003 else
   3004   ac_prog_rejected=no
   3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3006 for as_dir in $PATH
   3007 do
   3008   IFS=$as_save_IFS
   3009   test -z "$as_dir" && as_dir=.
   3010   for ac_exec_ext in '' $ac_executable_extensions; do
   3011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3012     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3013        ac_prog_rejected=yes
   3014        continue
   3015      fi
   3016     ac_cv_prog_CC="cc"
   3017     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3018     break 2
   3019   fi
   3020 done
   3021 done
   3022 IFS=$as_save_IFS
   3023 
   3024 if test $ac_prog_rejected = yes; then
   3025   # We found a bogon in the path, so make sure we never use it.
   3026   set dummy $ac_cv_prog_CC
   3027   shift
   3028   if test $# != 0; then
   3029     # We chose a different compiler from the bogus one.
   3030     # However, it has the same basename, so the bogon will be chosen
   3031     # first if we set CC to just the basename; use the full file name.
   3032     shift
   3033     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3034   fi
   3035 fi
   3036 fi
   3037 fi
   3038 CC=$ac_cv_prog_CC
   3039 if test -n "$CC"; then
   3040   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3041 $as_echo "$CC" >&6; }
   3042 else
   3043   { $as_echo "$as_me:$LINENO: result: no" >&5
   3044 $as_echo "no" >&6; }
   3045 fi
   3046 
   3047 
   3048 fi
   3049 if test -z "$CC"; then
   3050   if test -n "$ac_tool_prefix"; then
   3051   for ac_prog in cl.exe
   3052   do
   3053     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3054 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3056 $as_echo_n "checking for $ac_word... " >&6; }
   3057 if test "${ac_cv_prog_CC+set}" = set; then
   3058   $as_echo_n "(cached) " >&6
   3059 else
   3060   if test -n "$CC"; then
   3061   ac_cv_prog_CC="$CC" # Let the user override the test.
   3062 else
   3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3064 for as_dir in $PATH
   3065 do
   3066   IFS=$as_save_IFS
   3067   test -z "$as_dir" && as_dir=.
   3068   for ac_exec_ext in '' $ac_executable_extensions; do
   3069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3070     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3071     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3072     break 2
   3073   fi
   3074 done
   3075 done
   3076 IFS=$as_save_IFS
   3077 
   3078 fi
   3079 fi
   3080 CC=$ac_cv_prog_CC
   3081 if test -n "$CC"; then
   3082   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3083 $as_echo "$CC" >&6; }
   3084 else
   3085   { $as_echo "$as_me:$LINENO: result: no" >&5
   3086 $as_echo "no" >&6; }
   3087 fi
   3088 
   3089 
   3090     test -n "$CC" && break
   3091   done
   3092 fi
   3093 if test -z "$CC"; then
   3094   ac_ct_CC=$CC
   3095   for ac_prog in cl.exe
   3096 do
   3097   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3098 set dummy $ac_prog; ac_word=$2
   3099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3100 $as_echo_n "checking for $ac_word... " >&6; }
   3101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3102   $as_echo_n "(cached) " >&6
   3103 else
   3104   if test -n "$ac_ct_CC"; then
   3105   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3106 else
   3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3108 for as_dir in $PATH
   3109 do
   3110   IFS=$as_save_IFS
   3111   test -z "$as_dir" && as_dir=.
   3112   for ac_exec_ext in '' $ac_executable_extensions; do
   3113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3114     ac_cv_prog_ac_ct_CC="$ac_prog"
   3115     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3116     break 2
   3117   fi
   3118 done
   3119 done
   3120 IFS=$as_save_IFS
   3121 
   3122 fi
   3123 fi
   3124 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3125 if test -n "$ac_ct_CC"; then
   3126   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3127 $as_echo "$ac_ct_CC" >&6; }
   3128 else
   3129   { $as_echo "$as_me:$LINENO: result: no" >&5
   3130 $as_echo "no" >&6; }
   3131 fi
   3132 
   3133 
   3134   test -n "$ac_ct_CC" && break
   3135 done
   3136 
   3137   if test "x$ac_ct_CC" = x; then
   3138     CC=""
   3139   else
   3140     case $cross_compiling:$ac_tool_warned in
   3141 yes:)
   3142 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3144 ac_tool_warned=yes ;;
   3145 esac
   3146     CC=$ac_ct_CC
   3147   fi
   3148 fi
   3149 
   3150 fi
   3151 
   3152 
   3153 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3155 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3156 See \`config.log' for more details." >&5
   3157 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3158 See \`config.log' for more details." >&2;}
   3159    { (exit 1); exit 1; }; }; }
   3160 
   3161 # Provide some information about the compiler.
   3162 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3163 set X $ac_compile
   3164 ac_compiler=$2
   3165 { (ac_try="$ac_compiler --version >&5"
   3166 case "(($ac_try" in
   3167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3168   *) ac_try_echo=$ac_try;;
   3169 esac
   3170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3171 $as_echo "$ac_try_echo") >&5
   3172   (eval "$ac_compiler --version >&5") 2>&5
   3173   ac_status=$?
   3174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3175   (exit $ac_status); }
   3176 { (ac_try="$ac_compiler -v >&5"
   3177 case "(($ac_try" in
   3178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3179   *) ac_try_echo=$ac_try;;
   3180 esac
   3181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3182 $as_echo "$ac_try_echo") >&5
   3183   (eval "$ac_compiler -v >&5") 2>&5
   3184   ac_status=$?
   3185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3186   (exit $ac_status); }
   3187 { (ac_try="$ac_compiler -V >&5"
   3188 case "(($ac_try" in
   3189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3190   *) ac_try_echo=$ac_try;;
   3191 esac
   3192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3193 $as_echo "$ac_try_echo") >&5
   3194   (eval "$ac_compiler -V >&5") 2>&5
   3195   ac_status=$?
   3196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3197   (exit $ac_status); }
   3198 
   3199 cat >conftest.$ac_ext <<_ACEOF
   3200 /* confdefs.h.  */
   3201 _ACEOF
   3202 cat confdefs.h >>conftest.$ac_ext
   3203 cat >>conftest.$ac_ext <<_ACEOF
   3204 /* end confdefs.h.  */
   3205 
   3206 int
   3207 main ()
   3208 {
   3209 
   3210   ;
   3211   return 0;
   3212 }
   3213 _ACEOF
   3214 ac_clean_files_save=$ac_clean_files
   3215 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3216 # Try to create an executable without -o first, disregard a.out.
   3217 # It will help us diagnose broken compilers, and finding out an intuition
   3218 # of exeext.
   3219 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3220 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3221 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3222 
   3223 # The possible output files:
   3224 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3225 
   3226 ac_rmfiles=
   3227 for ac_file in $ac_files
   3228 do
   3229   case $ac_file in
   3230     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3231     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3232   esac
   3233 done
   3234 rm -f $ac_rmfiles
   3235 
   3236 if { (ac_try="$ac_link_default"
   3237 case "(($ac_try" in
   3238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3239   *) ac_try_echo=$ac_try;;
   3240 esac
   3241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3242 $as_echo "$ac_try_echo") >&5
   3243   (eval "$ac_link_default") 2>&5
   3244   ac_status=$?
   3245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3246   (exit $ac_status); }; then
   3247   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3248 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3249 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3250 # so that the user can short-circuit this test for compilers unknown to
   3251 # Autoconf.
   3252 for ac_file in $ac_files ''
   3253 do
   3254   test -f "$ac_file" || continue
   3255   case $ac_file in
   3256     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3257 	;;
   3258     [ab].out )
   3259 	# We found the default executable, but exeext='' is most
   3260 	# certainly right.
   3261 	break;;
   3262     *.* )
   3263         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3264 	then :; else
   3265 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3266 	fi
   3267 	# We set ac_cv_exeext here because the later test for it is not
   3268 	# safe: cross compilers may not add the suffix if given an `-o'
   3269 	# argument, so we may need to know it at that point already.
   3270 	# Even if this section looks crufty: it has the advantage of
   3271 	# actually working.
   3272 	break;;
   3273     * )
   3274 	break;;
   3275   esac
   3276 done
   3277 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3278 
   3279 else
   3280   ac_file=''
   3281 fi
   3282 
   3283 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3284 $as_echo "$ac_file" >&6; }
   3285 if test -z "$ac_file"; then
   3286   $as_echo "$as_me: failed program was:" >&5
   3287 sed 's/^/| /' conftest.$ac_ext >&5
   3288 
   3289 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3291 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3292 See \`config.log' for more details." >&5
   3293 $as_echo "$as_me: error: C compiler cannot create executables
   3294 See \`config.log' for more details." >&2;}
   3295    { (exit 77); exit 77; }; }; }
   3296 fi
   3297 
   3298 ac_exeext=$ac_cv_exeext
   3299 
   3300 # Check that the compiler produces executables we can run.  If not, either
   3301 # the compiler is broken, or we cross compile.
   3302 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3303 $as_echo_n "checking whether the C compiler works... " >&6; }
   3304 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3305 # If not cross compiling, check that we can run a simple program.
   3306 if test "$cross_compiling" != yes; then
   3307   if { ac_try='./$ac_file'
   3308   { (case "(($ac_try" in
   3309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3310   *) ac_try_echo=$ac_try;;
   3311 esac
   3312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3313 $as_echo "$ac_try_echo") >&5
   3314   (eval "$ac_try") 2>&5
   3315   ac_status=$?
   3316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3317   (exit $ac_status); }; }; then
   3318     cross_compiling=no
   3319   else
   3320     if test "$cross_compiling" = maybe; then
   3321 	cross_compiling=yes
   3322     else
   3323 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3325 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3326 If you meant to cross compile, use \`--host'.
   3327 See \`config.log' for more details." >&5
   3328 $as_echo "$as_me: error: cannot run C compiled programs.
   3329 If you meant to cross compile, use \`--host'.
   3330 See \`config.log' for more details." >&2;}
   3331    { (exit 1); exit 1; }; }; }
   3332     fi
   3333   fi
   3334 fi
   3335 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3336 $as_echo "yes" >&6; }
   3337 
   3338 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3339 ac_clean_files=$ac_clean_files_save
   3340 # Check that the compiler produces executables we can run.  If not, either
   3341 # the compiler is broken, or we cross compile.
   3342 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3343 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3344 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3345 $as_echo "$cross_compiling" >&6; }
   3346 
   3347 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3348 $as_echo_n "checking for suffix of executables... " >&6; }
   3349 if { (ac_try="$ac_link"
   3350 case "(($ac_try" in
   3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3352   *) ac_try_echo=$ac_try;;
   3353 esac
   3354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3355 $as_echo "$ac_try_echo") >&5
   3356   (eval "$ac_link") 2>&5
   3357   ac_status=$?
   3358   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3359   (exit $ac_status); }; then
   3360   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3361 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3362 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3363 # `rm'.
   3364 for ac_file in conftest.exe conftest conftest.*; do
   3365   test -f "$ac_file" || continue
   3366   case $ac_file in
   3367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3368     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3369 	  break;;
   3370     * ) break;;
   3371   esac
   3372 done
   3373 else
   3374   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3376 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3377 See \`config.log' for more details." >&5
   3378 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3379 See \`config.log' for more details." >&2;}
   3380    { (exit 1); exit 1; }; }; }
   3381 fi
   3382 
   3383 rm -f conftest$ac_cv_exeext
   3384 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3385 $as_echo "$ac_cv_exeext" >&6; }
   3386 
   3387 rm -f conftest.$ac_ext
   3388 EXEEXT=$ac_cv_exeext
   3389 ac_exeext=$EXEEXT
   3390 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3391 $as_echo_n "checking for suffix of object files... " >&6; }
   3392 if test "${ac_cv_objext+set}" = set; then
   3393   $as_echo_n "(cached) " >&6
   3394 else
   3395   cat >conftest.$ac_ext <<_ACEOF
   3396 /* confdefs.h.  */
   3397 _ACEOF
   3398 cat confdefs.h >>conftest.$ac_ext
   3399 cat >>conftest.$ac_ext <<_ACEOF
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main ()
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 rm -f conftest.o conftest.obj
   3411 if { (ac_try="$ac_compile"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo") >&5
   3418   (eval "$ac_compile") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3421   (exit $ac_status); }; then
   3422   for ac_file in conftest.o conftest.obj conftest.*; do
   3423   test -f "$ac_file" || continue;
   3424   case $ac_file in
   3425     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3426     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3427        break;;
   3428   esac
   3429 done
   3430 else
   3431   $as_echo "$as_me: failed program was:" >&5
   3432 sed 's/^/| /' conftest.$ac_ext >&5
   3433 
   3434 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3436 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3437 See \`config.log' for more details." >&5
   3438 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3439 See \`config.log' for more details." >&2;}
   3440    { (exit 1); exit 1; }; }; }
   3441 fi
   3442 
   3443 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3444 fi
   3445 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3446 $as_echo "$ac_cv_objext" >&6; }
   3447 OBJEXT=$ac_cv_objext
   3448 ac_objext=$OBJEXT
   3449 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3450 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3451 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   cat >conftest.$ac_ext <<_ACEOF
   3455 /* confdefs.h.  */
   3456 _ACEOF
   3457 cat confdefs.h >>conftest.$ac_ext
   3458 cat >>conftest.$ac_ext <<_ACEOF
   3459 /* end confdefs.h.  */
   3460 
   3461 int
   3462 main ()
   3463 {
   3464 #ifndef __GNUC__
   3465        choke me
   3466 #endif
   3467 
   3468   ;
   3469   return 0;
   3470 }
   3471 _ACEOF
   3472 rm -f conftest.$ac_objext
   3473 if { (ac_try="$ac_compile"
   3474 case "(($ac_try" in
   3475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3476   *) ac_try_echo=$ac_try;;
   3477 esac
   3478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3479 $as_echo "$ac_try_echo") >&5
   3480   (eval "$ac_compile") 2>conftest.er1
   3481   ac_status=$?
   3482   grep -v '^ *+' conftest.er1 >conftest.err
   3483   rm -f conftest.er1
   3484   cat conftest.err >&5
   3485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3486   (exit $ac_status); } && {
   3487 	 test -z "$ac_c_werror_flag" ||
   3488 	 test ! -s conftest.err
   3489        } && test -s conftest.$ac_objext; then
   3490   ac_compiler_gnu=yes
   3491 else
   3492   $as_echo "$as_me: failed program was:" >&5
   3493 sed 's/^/| /' conftest.$ac_ext >&5
   3494 
   3495 	ac_compiler_gnu=no
   3496 fi
   3497 
   3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3500 
   3501 fi
   3502 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3503 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3504 if test $ac_compiler_gnu = yes; then
   3505   GCC=yes
   3506 else
   3507   GCC=
   3508 fi
   3509 ac_test_CFLAGS=${CFLAGS+set}
   3510 ac_save_CFLAGS=$CFLAGS
   3511 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3512 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3513 if test "${ac_cv_prog_cc_g+set}" = set; then
   3514   $as_echo_n "(cached) " >&6
   3515 else
   3516   ac_save_c_werror_flag=$ac_c_werror_flag
   3517    ac_c_werror_flag=yes
   3518    ac_cv_prog_cc_g=no
   3519    CFLAGS="-g"
   3520    cat >conftest.$ac_ext <<_ACEOF
   3521 /* confdefs.h.  */
   3522 _ACEOF
   3523 cat confdefs.h >>conftest.$ac_ext
   3524 cat >>conftest.$ac_ext <<_ACEOF
   3525 /* end confdefs.h.  */
   3526 
   3527 int
   3528 main ()
   3529 {
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 rm -f conftest.$ac_objext
   3536 if { (ac_try="$ac_compile"
   3537 case "(($ac_try" in
   3538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3539   *) ac_try_echo=$ac_try;;
   3540 esac
   3541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3542 $as_echo "$ac_try_echo") >&5
   3543   (eval "$ac_compile") 2>conftest.er1
   3544   ac_status=$?
   3545   grep -v '^ *+' conftest.er1 >conftest.err
   3546   rm -f conftest.er1
   3547   cat conftest.err >&5
   3548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3549   (exit $ac_status); } && {
   3550 	 test -z "$ac_c_werror_flag" ||
   3551 	 test ! -s conftest.err
   3552        } && test -s conftest.$ac_objext; then
   3553   ac_cv_prog_cc_g=yes
   3554 else
   3555   $as_echo "$as_me: failed program was:" >&5
   3556 sed 's/^/| /' conftest.$ac_ext >&5
   3557 
   3558 	CFLAGS=""
   3559       cat >conftest.$ac_ext <<_ACEOF
   3560 /* confdefs.h.  */
   3561 _ACEOF
   3562 cat confdefs.h >>conftest.$ac_ext
   3563 cat >>conftest.$ac_ext <<_ACEOF
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 rm -f conftest.$ac_objext
   3575 if { (ac_try="$ac_compile"
   3576 case "(($ac_try" in
   3577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3578   *) ac_try_echo=$ac_try;;
   3579 esac
   3580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3581 $as_echo "$ac_try_echo") >&5
   3582   (eval "$ac_compile") 2>conftest.er1
   3583   ac_status=$?
   3584   grep -v '^ *+' conftest.er1 >conftest.err
   3585   rm -f conftest.er1
   3586   cat conftest.err >&5
   3587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3588   (exit $ac_status); } && {
   3589 	 test -z "$ac_c_werror_flag" ||
   3590 	 test ! -s conftest.err
   3591        } && test -s conftest.$ac_objext; then
   3592   :
   3593 else
   3594   $as_echo "$as_me: failed program was:" >&5
   3595 sed 's/^/| /' conftest.$ac_ext >&5
   3596 
   3597 	ac_c_werror_flag=$ac_save_c_werror_flag
   3598 	 CFLAGS="-g"
   3599 	 cat >conftest.$ac_ext <<_ACEOF
   3600 /* confdefs.h.  */
   3601 _ACEOF
   3602 cat confdefs.h >>conftest.$ac_ext
   3603 cat >>conftest.$ac_ext <<_ACEOF
   3604 /* end confdefs.h.  */
   3605 
   3606 int
   3607 main ()
   3608 {
   3609 
   3610   ;
   3611   return 0;
   3612 }
   3613 _ACEOF
   3614 rm -f conftest.$ac_objext
   3615 if { (ac_try="$ac_compile"
   3616 case "(($ac_try" in
   3617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3618   *) ac_try_echo=$ac_try;;
   3619 esac
   3620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3621 $as_echo "$ac_try_echo") >&5
   3622   (eval "$ac_compile") 2>conftest.er1
   3623   ac_status=$?
   3624   grep -v '^ *+' conftest.er1 >conftest.err
   3625   rm -f conftest.er1
   3626   cat conftest.err >&5
   3627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3628   (exit $ac_status); } && {
   3629 	 test -z "$ac_c_werror_flag" ||
   3630 	 test ! -s conftest.err
   3631        } && test -s conftest.$ac_objext; then
   3632   ac_cv_prog_cc_g=yes
   3633 else
   3634   $as_echo "$as_me: failed program was:" >&5
   3635 sed 's/^/| /' conftest.$ac_ext >&5
   3636 
   3637 
   3638 fi
   3639 
   3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3641 fi
   3642 
   3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3644 fi
   3645 
   3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3647    ac_c_werror_flag=$ac_save_c_werror_flag
   3648 fi
   3649 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3650 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3651 if test "$ac_test_CFLAGS" = set; then
   3652   CFLAGS=$ac_save_CFLAGS
   3653 elif test $ac_cv_prog_cc_g = yes; then
   3654   if test "$GCC" = yes; then
   3655     CFLAGS="-g -O2"
   3656   else
   3657     CFLAGS="-g"
   3658   fi
   3659 else
   3660   if test "$GCC" = yes; then
   3661     CFLAGS="-O2"
   3662   else
   3663     CFLAGS=
   3664   fi
   3665 fi
   3666 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3667 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3668 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3669   $as_echo_n "(cached) " >&6
   3670 else
   3671   ac_cv_prog_cc_c89=no
   3672 ac_save_CC=$CC
   3673 cat >conftest.$ac_ext <<_ACEOF
   3674 /* confdefs.h.  */
   3675 _ACEOF
   3676 cat confdefs.h >>conftest.$ac_ext
   3677 cat >>conftest.$ac_ext <<_ACEOF
   3678 /* end confdefs.h.  */
   3679 #include <stdarg.h>
   3680 #include <stdio.h>
   3681 #include <sys/types.h>
   3682 #include <sys/stat.h>
   3683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3684 struct buf { int x; };
   3685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3686 static char *e (p, i)
   3687      char **p;
   3688      int i;
   3689 {
   3690   return p[i];
   3691 }
   3692 static char *f (char * (*g) (char **, int), char **p, ...)
   3693 {
   3694   char *s;
   3695   va_list v;
   3696   va_start (v,p);
   3697   s = g (p, va_arg (v,int));
   3698   va_end (v);
   3699   return s;
   3700 }
   3701 
   3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3703    function prototypes and stuff, but not '\xHH' hex character constants.
   3704    These don't provoke an error unfortunately, instead are silently treated
   3705    as 'x'.  The following induces an error, until -std is added to get
   3706    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3707    array size at least.  It's necessary to write '\x00'==0 to get something
   3708    that's true only with -std.  */
   3709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3710 
   3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3712    inside strings and character constants.  */
   3713 #define FOO(x) 'x'
   3714 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3715 
   3716 int test (int i, double x);
   3717 struct s1 {int (*f) (int a);};
   3718 struct s2 {int (*f) (double a);};
   3719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3720 int argc;
   3721 char **argv;
   3722 int
   3723 main ()
   3724 {
   3725 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3731 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3732 do
   3733   CC="$ac_save_CC $ac_arg"
   3734   rm -f conftest.$ac_objext
   3735 if { (ac_try="$ac_compile"
   3736 case "(($ac_try" in
   3737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3738   *) ac_try_echo=$ac_try;;
   3739 esac
   3740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3741 $as_echo "$ac_try_echo") >&5
   3742   (eval "$ac_compile") 2>conftest.er1
   3743   ac_status=$?
   3744   grep -v '^ *+' conftest.er1 >conftest.err
   3745   rm -f conftest.er1
   3746   cat conftest.err >&5
   3747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3748   (exit $ac_status); } && {
   3749 	 test -z "$ac_c_werror_flag" ||
   3750 	 test ! -s conftest.err
   3751        } && test -s conftest.$ac_objext; then
   3752   ac_cv_prog_cc_c89=$ac_arg
   3753 else
   3754   $as_echo "$as_me: failed program was:" >&5
   3755 sed 's/^/| /' conftest.$ac_ext >&5
   3756 
   3757 
   3758 fi
   3759 
   3760 rm -f core conftest.err conftest.$ac_objext
   3761   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3762 done
   3763 rm -f conftest.$ac_ext
   3764 CC=$ac_save_CC
   3765 
   3766 fi
   3767 # AC_CACHE_VAL
   3768 case "x$ac_cv_prog_cc_c89" in
   3769   x)
   3770     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3771 $as_echo "none needed" >&6; } ;;
   3772   xno)
   3773     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3774 $as_echo "unsupported" >&6; } ;;
   3775   *)
   3776     CC="$CC $ac_cv_prog_cc_c89"
   3777     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3778 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3779 esac
   3780 
   3781 
   3782 ac_ext=c
   3783 ac_cpp='$CPP $CPPFLAGS'
   3784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3787 
   3788 depcc="$CC"   am_compiler_list=
   3789 
   3790 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3791 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3792 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3793   $as_echo_n "(cached) " >&6
   3794 else
   3795   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3796   # We make a subdir and do the tests there.  Otherwise we can end up
   3797   # making bogus files that we don't know about and never remove.  For
   3798   # instance it was reported that on HP-UX the gcc test will end up
   3799   # making a dummy file named `D' -- because `-MD' means `put the output
   3800   # in D'.
   3801   mkdir conftest.dir
   3802   # Copy depcomp to subdir because otherwise we won't find it if we're
   3803   # using a relative directory.
   3804   cp "$am_depcomp" conftest.dir
   3805   cd conftest.dir
   3806   # We will build objects and dependencies in a subdirectory because
   3807   # it helps to detect inapplicable dependency modes.  For instance
   3808   # both Tru64's cc and ICC support -MD to output dependencies as a
   3809   # side effect of compilation, but ICC will put the dependencies in
   3810   # the current directory while Tru64 will put them in the object
   3811   # directory.
   3812   mkdir sub
   3813 
   3814   am_cv_CC_dependencies_compiler_type=none
   3815   if test "$am_compiler_list" = ""; then
   3816      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3817   fi
   3818   am__universal=false
   3819   case " $depcc " in #(
   3820      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3821      esac
   3822 
   3823   for depmode in $am_compiler_list; do
   3824     # Setup a source with many dependencies, because some compilers
   3825     # like to wrap large dependency lists on column 80 (with \), and
   3826     # we should not choose a depcomp mode which is confused by this.
   3827     #
   3828     # We need to recreate these files for each test, as the compiler may
   3829     # overwrite some of them when testing with obscure command lines.
   3830     # This happens at least with the AIX C compiler.
   3831     : > sub/conftest.c
   3832     for i in 1 2 3 4 5 6; do
   3833       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3834       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3835       # Solaris 8's {/usr,}/bin/sh.
   3836       touch sub/conftst$i.h
   3837     done
   3838     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3839 
   3840     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3841     # mode.  It turns out that the SunPro C++ compiler does not properly
   3842     # handle `-M -o', and we need to detect this.  Also, some Intel
   3843     # versions had trouble with output in subdirs
   3844     am__obj=sub/conftest.${OBJEXT-o}
   3845     am__minus_obj="-o $am__obj"
   3846     case $depmode in
   3847     gcc)
   3848       # This depmode causes a compiler race in universal mode.
   3849       test "$am__universal" = false || continue
   3850       ;;
   3851     nosideeffect)
   3852       # after this tag, mechanisms are not by side-effect, so they'll
   3853       # only be used when explicitly requested
   3854       if test "x$enable_dependency_tracking" = xyes; then
   3855 	continue
   3856       else
   3857 	break
   3858       fi
   3859       ;;
   3860     msvisualcpp | msvcmsys)
   3861       # This compiler won't grok `-c -o', but also, the minuso test has
   3862       # not run yet.  These depmodes are late enough in the game, and
   3863       # so weak that their functioning should not be impacted.
   3864       am__obj=conftest.${OBJEXT-o}
   3865       am__minus_obj=
   3866       ;;
   3867     none) break ;;
   3868     esac
   3869     if depmode=$depmode \
   3870        source=sub/conftest.c object=$am__obj \
   3871        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3872        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3873          >/dev/null 2>conftest.err &&
   3874        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3875        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3876        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3877        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3878       # icc doesn't choke on unknown options, it will just issue warnings
   3879       # or remarks (even with -Werror).  So we grep stderr for any message
   3880       # that says an option was ignored or not supported.
   3881       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3882       #   icc: Command line warning: ignoring option '-M'; no argument required
   3883       # The diagnosis changed in icc 8.0:
   3884       #   icc: Command line remark: option '-MP' not supported
   3885       if (grep 'ignoring option' conftest.err ||
   3886           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3887         am_cv_CC_dependencies_compiler_type=$depmode
   3888         break
   3889       fi
   3890     fi
   3891   done
   3892 
   3893   cd ..
   3894   rm -rf conftest.dir
   3895 else
   3896   am_cv_CC_dependencies_compiler_type=none
   3897 fi
   3898 
   3899 fi
   3900 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3901 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3902 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3903 
   3904  if
   3905   test "x$enable_dependency_tracking" != xno \
   3906   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3907   am__fastdepCC_TRUE=
   3908   am__fastdepCC_FALSE='#'
   3909 else
   3910   am__fastdepCC_TRUE='#'
   3911   am__fastdepCC_FALSE=
   3912 fi
   3913 
   3914 
   3915 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3916 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3917 if test "${lt_cv_path_SED+set}" = set; then
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920   # Loop through the user's path and test for sed and gsed.
   3921 # Then use that list of sed's as ones to test for truncation.
   3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3923 for as_dir in $PATH
   3924 do
   3925   IFS=$as_save_IFS
   3926   test -z "$as_dir" && as_dir=.
   3927   for lt_ac_prog in sed gsed; do
   3928     for ac_exec_ext in '' $ac_executable_extensions; do
   3929       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3930         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3931       fi
   3932     done
   3933   done
   3934 done
   3935 IFS=$as_save_IFS
   3936 lt_ac_max=0
   3937 lt_ac_count=0
   3938 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3939 # along with /bin/sed that truncates output.
   3940 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3941   test ! -f $lt_ac_sed && continue
   3942   cat /dev/null > conftest.in
   3943   lt_ac_count=0
   3944   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3945   # Check for GNU sed and select it if it is found.
   3946   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3947     lt_cv_path_SED=$lt_ac_sed
   3948     break
   3949   fi
   3950   while true; do
   3951     cat conftest.in conftest.in >conftest.tmp
   3952     mv conftest.tmp conftest.in
   3953     cp conftest.in conftest.nl
   3954     echo >>conftest.nl
   3955     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3956     cmp -s conftest.out conftest.nl || break
   3957     # 10000 chars as input seems more than enough
   3958     test $lt_ac_count -gt 10 && break
   3959     lt_ac_count=`expr $lt_ac_count + 1`
   3960     if test $lt_ac_count -gt $lt_ac_max; then
   3961       lt_ac_max=$lt_ac_count
   3962       lt_cv_path_SED=$lt_ac_sed
   3963     fi
   3964   done
   3965 done
   3966 
   3967 fi
   3968 
   3969 SED=$lt_cv_path_SED
   3970 
   3971 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3972 $as_echo "$SED" >&6; }
   3973 
   3974 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3975 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3976 if test "${ac_cv_path_GREP+set}" = set; then
   3977   $as_echo_n "(cached) " >&6
   3978 else
   3979   if test -z "$GREP"; then
   3980   ac_path_GREP_found=false
   3981   # Loop through the user's path and test for each of PROGNAME-LIST
   3982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3984 do
   3985   IFS=$as_save_IFS
   3986   test -z "$as_dir" && as_dir=.
   3987   for ac_prog in grep ggrep; do
   3988     for ac_exec_ext in '' $ac_executable_extensions; do
   3989       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3990       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3991 # Check for GNU ac_path_GREP and select it if it is found.
   3992   # Check for GNU $ac_path_GREP
   3993 case `"$ac_path_GREP" --version 2>&1` in
   3994 *GNU*)
   3995   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3996 *)
   3997   ac_count=0
   3998   $as_echo_n 0123456789 >"conftest.in"
   3999   while :
   4000   do
   4001     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4002     mv "conftest.tmp" "conftest.in"
   4003     cp "conftest.in" "conftest.nl"
   4004     $as_echo 'GREP' >> "conftest.nl"
   4005     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4006     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4007     ac_count=`expr $ac_count + 1`
   4008     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4009       # Best one so far, save it but keep looking for a better one
   4010       ac_cv_path_GREP="$ac_path_GREP"
   4011       ac_path_GREP_max=$ac_count
   4012     fi
   4013     # 10*(2^10) chars as input seems more than enough
   4014     test $ac_count -gt 10 && break
   4015   done
   4016   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4017 esac
   4018 
   4019       $ac_path_GREP_found && break 3
   4020     done
   4021   done
   4022 done
   4023 IFS=$as_save_IFS
   4024   if test -z "$ac_cv_path_GREP"; then
   4025     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4026 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4027    { (exit 1); exit 1; }; }
   4028   fi
   4029 else
   4030   ac_cv_path_GREP=$GREP
   4031 fi
   4032 
   4033 fi
   4034 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4035 $as_echo "$ac_cv_path_GREP" >&6; }
   4036  GREP="$ac_cv_path_GREP"
   4037 
   4038 
   4039 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4040 $as_echo_n "checking for egrep... " >&6; }
   4041 if test "${ac_cv_path_EGREP+set}" = set; then
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4045    then ac_cv_path_EGREP="$GREP -E"
   4046    else
   4047      if test -z "$EGREP"; then
   4048   ac_path_EGREP_found=false
   4049   # Loop through the user's path and test for each of PROGNAME-LIST
   4050   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4052 do
   4053   IFS=$as_save_IFS
   4054   test -z "$as_dir" && as_dir=.
   4055   for ac_prog in egrep; do
   4056     for ac_exec_ext in '' $ac_executable_extensions; do
   4057       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4058       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4059 # Check for GNU ac_path_EGREP and select it if it is found.
   4060   # Check for GNU $ac_path_EGREP
   4061 case `"$ac_path_EGREP" --version 2>&1` in
   4062 *GNU*)
   4063   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4064 *)
   4065   ac_count=0
   4066   $as_echo_n 0123456789 >"conftest.in"
   4067   while :
   4068   do
   4069     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4070     mv "conftest.tmp" "conftest.in"
   4071     cp "conftest.in" "conftest.nl"
   4072     $as_echo 'EGREP' >> "conftest.nl"
   4073     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4074     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4075     ac_count=`expr $ac_count + 1`
   4076     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4077       # Best one so far, save it but keep looking for a better one
   4078       ac_cv_path_EGREP="$ac_path_EGREP"
   4079       ac_path_EGREP_max=$ac_count
   4080     fi
   4081     # 10*(2^10) chars as input seems more than enough
   4082     test $ac_count -gt 10 && break
   4083   done
   4084   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4085 esac
   4086 
   4087       $ac_path_EGREP_found && break 3
   4088     done
   4089   done
   4090 done
   4091 IFS=$as_save_IFS
   4092   if test -z "$ac_cv_path_EGREP"; then
   4093     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4094 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4095    { (exit 1); exit 1; }; }
   4096   fi
   4097 else
   4098   ac_cv_path_EGREP=$EGREP
   4099 fi
   4100 
   4101    fi
   4102 fi
   4103 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4104 $as_echo "$ac_cv_path_EGREP" >&6; }
   4105  EGREP="$ac_cv_path_EGREP"
   4106 
   4107 
   4108 
   4109 # Check whether --with-gnu-ld was given.
   4110 if test "${with_gnu_ld+set}" = set; then
   4111   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4112 else
   4113   with_gnu_ld=no
   4114 fi
   4115 
   4116 ac_prog=ld
   4117 if test "$GCC" = yes; then
   4118   # Check if gcc -print-prog-name=ld gives a path.
   4119   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4120 $as_echo_n "checking for ld used by $CC... " >&6; }
   4121   case $host in
   4122   *-*-mingw*)
   4123     # gcc leaves a trailing carriage return which upsets mingw
   4124     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4125   *)
   4126     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4127   esac
   4128   case $ac_prog in
   4129     # Accept absolute paths.
   4130     [\\/]* | ?:[\\/]*)
   4131       re_direlt='/[^/][^/]*/\.\./'
   4132       # Canonicalize the pathname of ld
   4133       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4134       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4135 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4136       done
   4137       test -z "$LD" && LD="$ac_prog"
   4138       ;;
   4139   "")
   4140     # If it fails, then pretend we aren't using GCC.
   4141     ac_prog=ld
   4142     ;;
   4143   *)
   4144     # If it is relative, then search for the first ld in PATH.
   4145     with_gnu_ld=unknown
   4146     ;;
   4147   esac
   4148 elif test "$with_gnu_ld" = yes; then
   4149   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4150 $as_echo_n "checking for GNU ld... " >&6; }
   4151 else
   4152   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4153 $as_echo_n "checking for non-GNU ld... " >&6; }
   4154 fi
   4155 if test "${lt_cv_path_LD+set}" = set; then
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   if test -z "$LD"; then
   4159   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4160   for ac_dir in $PATH; do
   4161     IFS="$lt_save_ifs"
   4162     test -z "$ac_dir" && ac_dir=.
   4163     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4164       lt_cv_path_LD="$ac_dir/$ac_prog"
   4165       # Check to see if the program is GNU ld.  I'd rather use --version,
   4166       # but apparently some variants of GNU ld only accept -v.
   4167       # Break only if it was the GNU/non-GNU ld that we prefer.
   4168       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4169       *GNU* | *'with BFD'*)
   4170 	test "$with_gnu_ld" != no && break
   4171 	;;
   4172       *)
   4173 	test "$with_gnu_ld" != yes && break
   4174 	;;
   4175       esac
   4176     fi
   4177   done
   4178   IFS="$lt_save_ifs"
   4179 else
   4180   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4181 fi
   4182 fi
   4183 
   4184 LD="$lt_cv_path_LD"
   4185 if test -n "$LD"; then
   4186   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4187 $as_echo "$LD" >&6; }
   4188 else
   4189   { $as_echo "$as_me:$LINENO: result: no" >&5
   4190 $as_echo "no" >&6; }
   4191 fi
   4192 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4193 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4194    { (exit 1); exit 1; }; }
   4195 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4197 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4198   $as_echo_n "(cached) " >&6
   4199 else
   4200   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4201 case `$LD -v 2>&1 </dev/null` in
   4202 *GNU* | *'with BFD'*)
   4203   lt_cv_prog_gnu_ld=yes
   4204   ;;
   4205 *)
   4206   lt_cv_prog_gnu_ld=no
   4207   ;;
   4208 esac
   4209 fi
   4210 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4212 with_gnu_ld=$lt_cv_prog_gnu_ld
   4213 
   4214 
   4215 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4216 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4217 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   lt_cv_ld_reload_flag='-r'
   4221 fi
   4222 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4223 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4224 reload_flag=$lt_cv_ld_reload_flag
   4225 case $reload_flag in
   4226 "" | " "*) ;;
   4227 *) reload_flag=" $reload_flag" ;;
   4228 esac
   4229 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4230 case $host_os in
   4231   darwin*)
   4232     if test "$GCC" = yes; then
   4233       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4234     else
   4235       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4236     fi
   4237     ;;
   4238 esac
   4239 
   4240 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4241 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4242 if test "${lt_cv_path_NM+set}" = set; then
   4243   $as_echo_n "(cached) " >&6
   4244 else
   4245   if test -n "$NM"; then
   4246   # Let the user override the test.
   4247   lt_cv_path_NM="$NM"
   4248 else
   4249   lt_nm_to_check="${ac_tool_prefix}nm"
   4250   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4251     lt_nm_to_check="$lt_nm_to_check nm"
   4252   fi
   4253   for lt_tmp_nm in $lt_nm_to_check; do
   4254     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4255     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4256       IFS="$lt_save_ifs"
   4257       test -z "$ac_dir" && ac_dir=.
   4258       tmp_nm="$ac_dir/$lt_tmp_nm"
   4259       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4260 	# Check to see if the nm accepts a BSD-compat flag.
   4261 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4262 	#   nm: unknown option "B" ignored
   4263 	# Tru64's nm complains that /dev/null is an invalid object file
   4264 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4265 	*/dev/null* | *'Invalid file or object type'*)
   4266 	  lt_cv_path_NM="$tmp_nm -B"
   4267 	  break
   4268 	  ;;
   4269 	*)
   4270 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4271 	  */dev/null*)
   4272 	    lt_cv_path_NM="$tmp_nm -p"
   4273 	    break
   4274 	    ;;
   4275 	  *)
   4276 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4277 	    continue # so that we can try to find one that supports BSD flags
   4278 	    ;;
   4279 	  esac
   4280 	  ;;
   4281 	esac
   4282       fi
   4283     done
   4284     IFS="$lt_save_ifs"
   4285   done
   4286   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4287 fi
   4288 fi
   4289 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4290 $as_echo "$lt_cv_path_NM" >&6; }
   4291 NM="$lt_cv_path_NM"
   4292 
   4293 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4294 $as_echo_n "checking whether ln -s works... " >&6; }
   4295 LN_S=$as_ln_s
   4296 if test "$LN_S" = "ln -s"; then
   4297   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4298 $as_echo "yes" >&6; }
   4299 else
   4300   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4301 $as_echo "no, using $LN_S" >&6; }
   4302 fi
   4303 
   4304 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4305 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4306 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4307   $as_echo_n "(cached) " >&6
   4308 else
   4309   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4310 lt_cv_file_magic_test_file=
   4311 lt_cv_deplibs_check_method='unknown'
   4312 # Need to set the preceding variable on all platforms that support
   4313 # interlibrary dependencies.
   4314 # 'none' -- dependencies not supported.
   4315 # `unknown' -- same as none, but documents that we really don't know.
   4316 # 'pass_all' -- all dependencies passed with no checks.
   4317 # 'test_compile' -- check by making test program.
   4318 # 'file_magic [[regex]]' -- check by looking for files in library path
   4319 # which responds to the $file_magic_cmd with a given extended regex.
   4320 # If you have `file' or equivalent on your system and you're not sure
   4321 # whether `pass_all' will *always* work, you probably want this one.
   4322 
   4323 case $host_os in
   4324 aix[4-9]*)
   4325   lt_cv_deplibs_check_method=pass_all
   4326   ;;
   4327 
   4328 beos*)
   4329   lt_cv_deplibs_check_method=pass_all
   4330   ;;
   4331 
   4332 bsdi[45]*)
   4333   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4334   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4335   lt_cv_file_magic_test_file=/shlib/libc.so
   4336   ;;
   4337 
   4338 cygwin*)
   4339   # func_win32_libid is a shell function defined in ltmain.sh
   4340   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4341   lt_cv_file_magic_cmd='func_win32_libid'
   4342   ;;
   4343 
   4344 mingw* | pw32*)
   4345   # Base MSYS/MinGW do not provide the 'file' command needed by
   4346   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4347   # unless we find 'file', for example because we are cross-compiling.
   4348   if ( file / ) >/dev/null 2>&1; then
   4349     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4350     lt_cv_file_magic_cmd='func_win32_libid'
   4351   else
   4352     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4353     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4354   fi
   4355   ;;
   4356 
   4357 darwin* | rhapsody*)
   4358   lt_cv_deplibs_check_method=pass_all
   4359   ;;
   4360 
   4361 freebsd* | dragonfly*)
   4362   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4363     case $host_cpu in
   4364     i*86 )
   4365       # Not sure whether the presence of OpenBSD here was a mistake.
   4366       # Let's accept both of them until this is cleared up.
   4367       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4368       lt_cv_file_magic_cmd=/usr/bin/file
   4369       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4370       ;;
   4371     esac
   4372   else
   4373     lt_cv_deplibs_check_method=pass_all
   4374   fi
   4375   ;;
   4376 
   4377 gnu*)
   4378   lt_cv_deplibs_check_method=pass_all
   4379   ;;
   4380 
   4381 hpux10.20* | hpux11*)
   4382   lt_cv_file_magic_cmd=/usr/bin/file
   4383   case $host_cpu in
   4384   ia64*)
   4385     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4386     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4387     ;;
   4388   hppa*64*)
   4389     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]'
   4390     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4391     ;;
   4392   *)
   4393     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4394     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4395     ;;
   4396   esac
   4397   ;;
   4398 
   4399 interix[3-9]*)
   4400   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4401   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4402   ;;
   4403 
   4404 irix5* | irix6* | nonstopux*)
   4405   case $LD in
   4406   *-32|*"-32 ") libmagic=32-bit;;
   4407   *-n32|*"-n32 ") libmagic=N32;;
   4408   *-64|*"-64 ") libmagic=64-bit;;
   4409   *) libmagic=never-match;;
   4410   esac
   4411   lt_cv_deplibs_check_method=pass_all
   4412   ;;
   4413 
   4414 # This must be Linux ELF.
   4415 linux* | k*bsd*-gnu)
   4416   lt_cv_deplibs_check_method=pass_all
   4417   ;;
   4418 
   4419 netbsd*)
   4420   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4421     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4422   else
   4423     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4424   fi
   4425   ;;
   4426 
   4427 newos6*)
   4428   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4429   lt_cv_file_magic_cmd=/usr/bin/file
   4430   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4431   ;;
   4432 
   4433 nto-qnx*)
   4434   lt_cv_deplibs_check_method=unknown
   4435   ;;
   4436 
   4437 openbsd*)
   4438   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4439     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4440   else
   4441     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4442   fi
   4443   ;;
   4444 
   4445 osf3* | osf4* | osf5*)
   4446   lt_cv_deplibs_check_method=pass_all
   4447   ;;
   4448 
   4449 rdos*)
   4450   lt_cv_deplibs_check_method=pass_all
   4451   ;;
   4452 
   4453 solaris*)
   4454   lt_cv_deplibs_check_method=pass_all
   4455   ;;
   4456 
   4457 sysv4 | sysv4.3*)
   4458   case $host_vendor in
   4459   motorola)
   4460     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]'
   4461     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4462     ;;
   4463   ncr)
   4464     lt_cv_deplibs_check_method=pass_all
   4465     ;;
   4466   sequent)
   4467     lt_cv_file_magic_cmd='/bin/file'
   4468     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4469     ;;
   4470   sni)
   4471     lt_cv_file_magic_cmd='/bin/file'
   4472     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4473     lt_cv_file_magic_test_file=/lib/libc.so
   4474     ;;
   4475   siemens)
   4476     lt_cv_deplibs_check_method=pass_all
   4477     ;;
   4478   pc)
   4479     lt_cv_deplibs_check_method=pass_all
   4480     ;;
   4481   esac
   4482   ;;
   4483 
   4484 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4485   lt_cv_deplibs_check_method=pass_all
   4486   ;;
   4487 esac
   4488 
   4489 fi
   4490 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4491 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4492 file_magic_cmd=$lt_cv_file_magic_cmd
   4493 deplibs_check_method=$lt_cv_deplibs_check_method
   4494 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4495 
   4496 
   4497 
   4498 
   4499 # If no C compiler was specified, use CC.
   4500 LTCC=${LTCC-"$CC"}
   4501 
   4502 # If no C compiler flags were specified, use CFLAGS.
   4503 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4504 
   4505 # Allow CC to be a program name with arguments.
   4506 compiler=$CC
   4507 
   4508 
   4509 # Check whether --enable-libtool-lock was given.
   4510 if test "${enable_libtool_lock+set}" = set; then
   4511   enableval=$enable_libtool_lock;
   4512 fi
   4513 
   4514 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4515 
   4516 # Some flags need to be propagated to the compiler or linker for good
   4517 # libtool support.
   4518 case $host in
   4519 ia64-*-hpux*)
   4520   # Find out which ABI we are using.
   4521   echo 'int i;' > conftest.$ac_ext
   4522   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4523   (eval $ac_compile) 2>&5
   4524   ac_status=$?
   4525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4526   (exit $ac_status); }; then
   4527     case `/usr/bin/file conftest.$ac_objext` in
   4528     *ELF-32*)
   4529       HPUX_IA64_MODE="32"
   4530       ;;
   4531     *ELF-64*)
   4532       HPUX_IA64_MODE="64"
   4533       ;;
   4534     esac
   4535   fi
   4536   rm -rf conftest*
   4537   ;;
   4538 *-*-irix6*)
   4539   # Find out which ABI we are using.
   4540   echo '#line 4540 "configure"' > conftest.$ac_ext
   4541   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4542   (eval $ac_compile) 2>&5
   4543   ac_status=$?
   4544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4545   (exit $ac_status); }; then
   4546    if test "$lt_cv_prog_gnu_ld" = yes; then
   4547     case `/usr/bin/file conftest.$ac_objext` in
   4548     *32-bit*)
   4549       LD="${LD-ld} -melf32bsmip"
   4550       ;;
   4551     *N32*)
   4552       LD="${LD-ld} -melf32bmipn32"
   4553       ;;
   4554     *64-bit*)
   4555       LD="${LD-ld} -melf64bmip"
   4556       ;;
   4557     esac
   4558    else
   4559     case `/usr/bin/file conftest.$ac_objext` in
   4560     *32-bit*)
   4561       LD="${LD-ld} -32"
   4562       ;;
   4563     *N32*)
   4564       LD="${LD-ld} -n32"
   4565       ;;
   4566     *64-bit*)
   4567       LD="${LD-ld} -64"
   4568       ;;
   4569     esac
   4570    fi
   4571   fi
   4572   rm -rf conftest*
   4573   ;;
   4574 
   4575 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4576 s390*-*linux*|sparc*-*linux*)
   4577   # Find out which ABI we are using.
   4578   echo 'int i;' > conftest.$ac_ext
   4579   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4580   (eval $ac_compile) 2>&5
   4581   ac_status=$?
   4582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4583   (exit $ac_status); }; then
   4584     case `/usr/bin/file conftest.o` in
   4585     *32-bit*)
   4586       case $host in
   4587         x86_64-*kfreebsd*-gnu)
   4588           LD="${LD-ld} -m elf_i386_fbsd"
   4589           ;;
   4590         x86_64-*linux*)
   4591           LD="${LD-ld} -m elf_i386"
   4592           ;;
   4593         ppc64-*linux*|powerpc64-*linux*)
   4594           LD="${LD-ld} -m elf32ppclinux"
   4595           ;;
   4596         s390x-*linux*)
   4597           LD="${LD-ld} -m elf_s390"
   4598           ;;
   4599         sparc64-*linux*)
   4600           LD="${LD-ld} -m elf32_sparc"
   4601           ;;
   4602       esac
   4603       ;;
   4604     *64-bit*)
   4605       libsuff=64
   4606       case $host in
   4607         x86_64-*kfreebsd*-gnu)
   4608           LD="${LD-ld} -m elf_x86_64_fbsd"
   4609           ;;
   4610         x86_64-*linux*)
   4611           LD="${LD-ld} -m elf_x86_64"
   4612           ;;
   4613         ppc*-*linux*|powerpc*-*linux*)
   4614           LD="${LD-ld} -m elf64ppc"
   4615           ;;
   4616         s390*-*linux*)
   4617           LD="${LD-ld} -m elf64_s390"
   4618           ;;
   4619         sparc*-*linux*)
   4620           LD="${LD-ld} -m elf64_sparc"
   4621           ;;
   4622       esac
   4623       ;;
   4624     esac
   4625   fi
   4626   rm -rf conftest*
   4627   ;;
   4628 
   4629 *-*-sco3.2v5*)
   4630   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4631   SAVE_CFLAGS="$CFLAGS"
   4632   CFLAGS="$CFLAGS -belf"
   4633   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4634 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4635 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4636   $as_echo_n "(cached) " >&6
   4637 else
   4638   ac_ext=c
   4639 ac_cpp='$CPP $CPPFLAGS'
   4640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4643 
   4644      cat >conftest.$ac_ext <<_ACEOF
   4645 /* confdefs.h.  */
   4646 _ACEOF
   4647 cat confdefs.h >>conftest.$ac_ext
   4648 cat >>conftest.$ac_ext <<_ACEOF
   4649 /* end confdefs.h.  */
   4650 
   4651 int
   4652 main ()
   4653 {
   4654 
   4655   ;
   4656   return 0;
   4657 }
   4658 _ACEOF
   4659 rm -f conftest.$ac_objext conftest$ac_exeext
   4660 if { (ac_try="$ac_link"
   4661 case "(($ac_try" in
   4662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4663   *) ac_try_echo=$ac_try;;
   4664 esac
   4665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4666 $as_echo "$ac_try_echo") >&5
   4667   (eval "$ac_link") 2>conftest.er1
   4668   ac_status=$?
   4669   grep -v '^ *+' conftest.er1 >conftest.err
   4670   rm -f conftest.er1
   4671   cat conftest.err >&5
   4672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4673   (exit $ac_status); } && {
   4674 	 test -z "$ac_c_werror_flag" ||
   4675 	 test ! -s conftest.err
   4676        } && test -s conftest$ac_exeext && {
   4677 	 test "$cross_compiling" = yes ||
   4678 	 $as_test_x conftest$ac_exeext
   4679        }; then
   4680   lt_cv_cc_needs_belf=yes
   4681 else
   4682   $as_echo "$as_me: failed program was:" >&5
   4683 sed 's/^/| /' conftest.$ac_ext >&5
   4684 
   4685 	lt_cv_cc_needs_belf=no
   4686 fi
   4687 
   4688 rm -rf conftest.dSYM
   4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4690       conftest$ac_exeext conftest.$ac_ext
   4691      ac_ext=c
   4692 ac_cpp='$CPP $CPPFLAGS'
   4693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4696 
   4697 fi
   4698 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4699 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4700   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4701     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4702     CFLAGS="$SAVE_CFLAGS"
   4703   fi
   4704   ;;
   4705 sparc*-*solaris*)
   4706   # Find out which ABI we are using.
   4707   echo 'int i;' > conftest.$ac_ext
   4708   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4709   (eval $ac_compile) 2>&5
   4710   ac_status=$?
   4711   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4712   (exit $ac_status); }; then
   4713     case `/usr/bin/file conftest.o` in
   4714     *64-bit*)
   4715       case $lt_cv_prog_gnu_ld in
   4716       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4717       *)
   4718         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4719 	  LD="${LD-ld} -64"
   4720 	fi
   4721 	;;
   4722       esac
   4723       ;;
   4724     esac
   4725   fi
   4726   rm -rf conftest*
   4727   ;;
   4728 
   4729 
   4730 esac
   4731 
   4732 need_locks="$enable_libtool_lock"
   4733 
   4734 
   4735 ac_ext=c
   4736 ac_cpp='$CPP $CPPFLAGS'
   4737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4740 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4741 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4742 # On Suns, sometimes $CPP names a directory.
   4743 if test -n "$CPP" && test -d "$CPP"; then
   4744   CPP=
   4745 fi
   4746 if test -z "$CPP"; then
   4747   if test "${ac_cv_prog_CPP+set}" = set; then
   4748   $as_echo_n "(cached) " >&6
   4749 else
   4750       # Double quotes because CPP needs to be expanded
   4751     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4752     do
   4753       ac_preproc_ok=false
   4754 for ac_c_preproc_warn_flag in '' yes
   4755 do
   4756   # Use a header file that comes with gcc, so configuring glibc
   4757   # with a fresh cross-compiler works.
   4758   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4759   # <limits.h> exists even on freestanding compilers.
   4760   # On the NeXT, cc -E runs the code through the compiler's parser,
   4761   # not just through cpp. "Syntax error" is here to catch this case.
   4762   cat >conftest.$ac_ext <<_ACEOF
   4763 /* confdefs.h.  */
   4764 _ACEOF
   4765 cat confdefs.h >>conftest.$ac_ext
   4766 cat >>conftest.$ac_ext <<_ACEOF
   4767 /* end confdefs.h.  */
   4768 #ifdef __STDC__
   4769 # include <limits.h>
   4770 #else
   4771 # include <assert.h>
   4772 #endif
   4773 		     Syntax error
   4774 _ACEOF
   4775 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4776 case "(($ac_try" in
   4777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4778   *) ac_try_echo=$ac_try;;
   4779 esac
   4780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4781 $as_echo "$ac_try_echo") >&5
   4782   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4783   ac_status=$?
   4784   grep -v '^ *+' conftest.er1 >conftest.err
   4785   rm -f conftest.er1
   4786   cat conftest.err >&5
   4787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4788   (exit $ac_status); } >/dev/null && {
   4789 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4790 	 test ! -s conftest.err
   4791        }; then
   4792   :
   4793 else
   4794   $as_echo "$as_me: failed program was:" >&5
   4795 sed 's/^/| /' conftest.$ac_ext >&5
   4796 
   4797   # Broken: fails on valid input.
   4798 continue
   4799 fi
   4800 
   4801 rm -f conftest.err conftest.$ac_ext
   4802 
   4803   # OK, works on sane cases.  Now check whether nonexistent headers
   4804   # can be detected and how.
   4805   cat >conftest.$ac_ext <<_ACEOF
   4806 /* confdefs.h.  */
   4807 _ACEOF
   4808 cat confdefs.h >>conftest.$ac_ext
   4809 cat >>conftest.$ac_ext <<_ACEOF
   4810 /* end confdefs.h.  */
   4811 #include <ac_nonexistent.h>
   4812 _ACEOF
   4813 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4814 case "(($ac_try" in
   4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4816   *) ac_try_echo=$ac_try;;
   4817 esac
   4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4819 $as_echo "$ac_try_echo") >&5
   4820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4821   ac_status=$?
   4822   grep -v '^ *+' conftest.er1 >conftest.err
   4823   rm -f conftest.er1
   4824   cat conftest.err >&5
   4825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4826   (exit $ac_status); } >/dev/null && {
   4827 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4828 	 test ! -s conftest.err
   4829        }; then
   4830   # Broken: success on invalid input.
   4831 continue
   4832 else
   4833   $as_echo "$as_me: failed program was:" >&5
   4834 sed 's/^/| /' conftest.$ac_ext >&5
   4835 
   4836   # Passes both tests.
   4837 ac_preproc_ok=:
   4838 break
   4839 fi
   4840 
   4841 rm -f conftest.err conftest.$ac_ext
   4842 
   4843 done
   4844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4845 rm -f conftest.err conftest.$ac_ext
   4846 if $ac_preproc_ok; then
   4847   break
   4848 fi
   4849 
   4850     done
   4851     ac_cv_prog_CPP=$CPP
   4852 
   4853 fi
   4854   CPP=$ac_cv_prog_CPP
   4855 else
   4856   ac_cv_prog_CPP=$CPP
   4857 fi
   4858 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4859 $as_echo "$CPP" >&6; }
   4860 ac_preproc_ok=false
   4861 for ac_c_preproc_warn_flag in '' yes
   4862 do
   4863   # Use a header file that comes with gcc, so configuring glibc
   4864   # with a fresh cross-compiler works.
   4865   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4866   # <limits.h> exists even on freestanding compilers.
   4867   # On the NeXT, cc -E runs the code through the compiler's parser,
   4868   # not just through cpp. "Syntax error" is here to catch this case.
   4869   cat >conftest.$ac_ext <<_ACEOF
   4870 /* confdefs.h.  */
   4871 _ACEOF
   4872 cat confdefs.h >>conftest.$ac_ext
   4873 cat >>conftest.$ac_ext <<_ACEOF
   4874 /* end confdefs.h.  */
   4875 #ifdef __STDC__
   4876 # include <limits.h>
   4877 #else
   4878 # include <assert.h>
   4879 #endif
   4880 		     Syntax error
   4881 _ACEOF
   4882 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4883 case "(($ac_try" in
   4884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4885   *) ac_try_echo=$ac_try;;
   4886 esac
   4887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4888 $as_echo "$ac_try_echo") >&5
   4889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4890   ac_status=$?
   4891   grep -v '^ *+' conftest.er1 >conftest.err
   4892   rm -f conftest.er1
   4893   cat conftest.err >&5
   4894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4895   (exit $ac_status); } >/dev/null && {
   4896 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4897 	 test ! -s conftest.err
   4898        }; then
   4899   :
   4900 else
   4901   $as_echo "$as_me: failed program was:" >&5
   4902 sed 's/^/| /' conftest.$ac_ext >&5
   4903 
   4904   # Broken: fails on valid input.
   4905 continue
   4906 fi
   4907 
   4908 rm -f conftest.err conftest.$ac_ext
   4909 
   4910   # OK, works on sane cases.  Now check whether nonexistent headers
   4911   # can be detected and how.
   4912   cat >conftest.$ac_ext <<_ACEOF
   4913 /* confdefs.h.  */
   4914 _ACEOF
   4915 cat confdefs.h >>conftest.$ac_ext
   4916 cat >>conftest.$ac_ext <<_ACEOF
   4917 /* end confdefs.h.  */
   4918 #include <ac_nonexistent.h>
   4919 _ACEOF
   4920 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4921 case "(($ac_try" in
   4922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4923   *) ac_try_echo=$ac_try;;
   4924 esac
   4925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4926 $as_echo "$ac_try_echo") >&5
   4927   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4928   ac_status=$?
   4929   grep -v '^ *+' conftest.er1 >conftest.err
   4930   rm -f conftest.er1
   4931   cat conftest.err >&5
   4932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4933   (exit $ac_status); } >/dev/null && {
   4934 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4935 	 test ! -s conftest.err
   4936        }; then
   4937   # Broken: success on invalid input.
   4938 continue
   4939 else
   4940   $as_echo "$as_me: failed program was:" >&5
   4941 sed 's/^/| /' conftest.$ac_ext >&5
   4942 
   4943   # Passes both tests.
   4944 ac_preproc_ok=:
   4945 break
   4946 fi
   4947 
   4948 rm -f conftest.err conftest.$ac_ext
   4949 
   4950 done
   4951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4952 rm -f conftest.err conftest.$ac_ext
   4953 if $ac_preproc_ok; then
   4954   :
   4955 else
   4956   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4958 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4959 See \`config.log' for more details." >&5
   4960 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4961 See \`config.log' for more details." >&2;}
   4962    { (exit 1); exit 1; }; }; }
   4963 fi
   4964 
   4965 ac_ext=c
   4966 ac_cpp='$CPP $CPPFLAGS'
   4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4970 
   4971 
   4972 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4973 $as_echo_n "checking for ANSI C header files... " >&6; }
   4974 if test "${ac_cv_header_stdc+set}" = set; then
   4975   $as_echo_n "(cached) " >&6
   4976 else
   4977   cat >conftest.$ac_ext <<_ACEOF
   4978 /* confdefs.h.  */
   4979 _ACEOF
   4980 cat confdefs.h >>conftest.$ac_ext
   4981 cat >>conftest.$ac_ext <<_ACEOF
   4982 /* end confdefs.h.  */
   4983 #include <stdlib.h>
   4984 #include <stdarg.h>
   4985 #include <string.h>
   4986 #include <float.h>
   4987 
   4988 int
   4989 main ()
   4990 {
   4991 
   4992   ;
   4993   return 0;
   4994 }
   4995 _ACEOF
   4996 rm -f conftest.$ac_objext
   4997 if { (ac_try="$ac_compile"
   4998 case "(($ac_try" in
   4999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5000   *) ac_try_echo=$ac_try;;
   5001 esac
   5002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5003 $as_echo "$ac_try_echo") >&5
   5004   (eval "$ac_compile") 2>conftest.er1
   5005   ac_status=$?
   5006   grep -v '^ *+' conftest.er1 >conftest.err
   5007   rm -f conftest.er1
   5008   cat conftest.err >&5
   5009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5010   (exit $ac_status); } && {
   5011 	 test -z "$ac_c_werror_flag" ||
   5012 	 test ! -s conftest.err
   5013        } && test -s conftest.$ac_objext; then
   5014   ac_cv_header_stdc=yes
   5015 else
   5016   $as_echo "$as_me: failed program was:" >&5
   5017 sed 's/^/| /' conftest.$ac_ext >&5
   5018 
   5019 	ac_cv_header_stdc=no
   5020 fi
   5021 
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 
   5024 if test $ac_cv_header_stdc = yes; then
   5025   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5026   cat >conftest.$ac_ext <<_ACEOF
   5027 /* confdefs.h.  */
   5028 _ACEOF
   5029 cat confdefs.h >>conftest.$ac_ext
   5030 cat >>conftest.$ac_ext <<_ACEOF
   5031 /* end confdefs.h.  */
   5032 #include <string.h>
   5033 
   5034 _ACEOF
   5035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5036   $EGREP "memchr" >/dev/null 2>&1; then
   5037   :
   5038 else
   5039   ac_cv_header_stdc=no
   5040 fi
   5041 rm -f conftest*
   5042 
   5043 fi
   5044 
   5045 if test $ac_cv_header_stdc = yes; then
   5046   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5047   cat >conftest.$ac_ext <<_ACEOF
   5048 /* confdefs.h.  */
   5049 _ACEOF
   5050 cat confdefs.h >>conftest.$ac_ext
   5051 cat >>conftest.$ac_ext <<_ACEOF
   5052 /* end confdefs.h.  */
   5053 #include <stdlib.h>
   5054 
   5055 _ACEOF
   5056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5057   $EGREP "free" >/dev/null 2>&1; then
   5058   :
   5059 else
   5060   ac_cv_header_stdc=no
   5061 fi
   5062 rm -f conftest*
   5063 
   5064 fi
   5065 
   5066 if test $ac_cv_header_stdc = yes; then
   5067   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5068   if test "$cross_compiling" = yes; then
   5069   :
   5070 else
   5071   cat >conftest.$ac_ext <<_ACEOF
   5072 /* confdefs.h.  */
   5073 _ACEOF
   5074 cat confdefs.h >>conftest.$ac_ext
   5075 cat >>conftest.$ac_ext <<_ACEOF
   5076 /* end confdefs.h.  */
   5077 #include <ctype.h>
   5078 #include <stdlib.h>
   5079 #if ((' ' & 0x0FF) == 0x020)
   5080 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5081 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5082 #else
   5083 # define ISLOWER(c) \
   5084 		   (('a' <= (c) && (c) <= 'i') \
   5085 		     || ('j' <= (c) && (c) <= 'r') \
   5086 		     || ('s' <= (c) && (c) <= 'z'))
   5087 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5088 #endif
   5089 
   5090 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5091 int
   5092 main ()
   5093 {
   5094   int i;
   5095   for (i = 0; i < 256; i++)
   5096     if (XOR (islower (i), ISLOWER (i))
   5097 	|| toupper (i) != TOUPPER (i))
   5098       return 2;
   5099   return 0;
   5100 }
   5101 _ACEOF
   5102 rm -f conftest$ac_exeext
   5103 if { (ac_try="$ac_link"
   5104 case "(($ac_try" in
   5105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5106   *) ac_try_echo=$ac_try;;
   5107 esac
   5108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5109 $as_echo "$ac_try_echo") >&5
   5110   (eval "$ac_link") 2>&5
   5111   ac_status=$?
   5112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5113   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5114   { (case "(($ac_try" in
   5115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5116   *) ac_try_echo=$ac_try;;
   5117 esac
   5118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5119 $as_echo "$ac_try_echo") >&5
   5120   (eval "$ac_try") 2>&5
   5121   ac_status=$?
   5122   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5123   (exit $ac_status); }; }; then
   5124   :
   5125 else
   5126   $as_echo "$as_me: program exited with status $ac_status" >&5
   5127 $as_echo "$as_me: failed program was:" >&5
   5128 sed 's/^/| /' conftest.$ac_ext >&5
   5129 
   5130 ( exit $ac_status )
   5131 ac_cv_header_stdc=no
   5132 fi
   5133 rm -rf conftest.dSYM
   5134 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5135 fi
   5136 
   5137 
   5138 fi
   5139 fi
   5140 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5141 $as_echo "$ac_cv_header_stdc" >&6; }
   5142 if test $ac_cv_header_stdc = yes; then
   5143 
   5144 cat >>confdefs.h <<\_ACEOF
   5145 #define STDC_HEADERS 1
   5146 _ACEOF
   5147 
   5148 fi
   5149 
   5150 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5161 		  inttypes.h stdint.h unistd.h
   5162 do
   5163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5164 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5165 $as_echo_n "checking for $ac_header... " >&6; }
   5166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5167   $as_echo_n "(cached) " >&6
   5168 else
   5169   cat >conftest.$ac_ext <<_ACEOF
   5170 /* confdefs.h.  */
   5171 _ACEOF
   5172 cat confdefs.h >>conftest.$ac_ext
   5173 cat >>conftest.$ac_ext <<_ACEOF
   5174 /* end confdefs.h.  */
   5175 $ac_includes_default
   5176 
   5177 #include <$ac_header>
   5178 _ACEOF
   5179 rm -f conftest.$ac_objext
   5180 if { (ac_try="$ac_compile"
   5181 case "(($ac_try" in
   5182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5183   *) ac_try_echo=$ac_try;;
   5184 esac
   5185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5186 $as_echo "$ac_try_echo") >&5
   5187   (eval "$ac_compile") 2>conftest.er1
   5188   ac_status=$?
   5189   grep -v '^ *+' conftest.er1 >conftest.err
   5190   rm -f conftest.er1
   5191   cat conftest.err >&5
   5192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5193   (exit $ac_status); } && {
   5194 	 test -z "$ac_c_werror_flag" ||
   5195 	 test ! -s conftest.err
   5196        } && test -s conftest.$ac_objext; then
   5197   eval "$as_ac_Header=yes"
   5198 else
   5199   $as_echo "$as_me: failed program was:" >&5
   5200 sed 's/^/| /' conftest.$ac_ext >&5
   5201 
   5202 	eval "$as_ac_Header=no"
   5203 fi
   5204 
   5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5206 fi
   5207 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5208 		 $as_echo "$as_val"'`
   5209 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5210 $as_echo "$ac_res" >&6; }
   5211 as_val=`eval 'as_val=${'$as_ac_Header'}
   5212 		 $as_echo "$as_val"'`
   5213    if test "x$as_val" = x""yes; then
   5214   cat >>confdefs.h <<_ACEOF
   5215 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5216 _ACEOF
   5217 
   5218 fi
   5219 
   5220 done
   5221 
   5222 
   5223 
   5224 for ac_header in dlfcn.h
   5225 do
   5226 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5228   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5229 $as_echo_n "checking for $ac_header... " >&6; }
   5230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5231   $as_echo_n "(cached) " >&6
   5232 fi
   5233 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5234 		 $as_echo "$as_val"'`
   5235 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5236 $as_echo "$ac_res" >&6; }
   5237 else
   5238   # Is the header compilable?
   5239 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5240 $as_echo_n "checking $ac_header usability... " >&6; }
   5241 cat >conftest.$ac_ext <<_ACEOF
   5242 /* confdefs.h.  */
   5243 _ACEOF
   5244 cat confdefs.h >>conftest.$ac_ext
   5245 cat >>conftest.$ac_ext <<_ACEOF
   5246 /* end confdefs.h.  */
   5247 $ac_includes_default
   5248 #include <$ac_header>
   5249 _ACEOF
   5250 rm -f conftest.$ac_objext
   5251 if { (ac_try="$ac_compile"
   5252 case "(($ac_try" in
   5253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5254   *) ac_try_echo=$ac_try;;
   5255 esac
   5256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5257 $as_echo "$ac_try_echo") >&5
   5258   (eval "$ac_compile") 2>conftest.er1
   5259   ac_status=$?
   5260   grep -v '^ *+' conftest.er1 >conftest.err
   5261   rm -f conftest.er1
   5262   cat conftest.err >&5
   5263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5264   (exit $ac_status); } && {
   5265 	 test -z "$ac_c_werror_flag" ||
   5266 	 test ! -s conftest.err
   5267        } && test -s conftest.$ac_objext; then
   5268   ac_header_compiler=yes
   5269 else
   5270   $as_echo "$as_me: failed program was:" >&5
   5271 sed 's/^/| /' conftest.$ac_ext >&5
   5272 
   5273 	ac_header_compiler=no
   5274 fi
   5275 
   5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5277 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5278 $as_echo "$ac_header_compiler" >&6; }
   5279 
   5280 # Is the header present?
   5281 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5282 $as_echo_n "checking $ac_header presence... " >&6; }
   5283 cat >conftest.$ac_ext <<_ACEOF
   5284 /* confdefs.h.  */
   5285 _ACEOF
   5286 cat confdefs.h >>conftest.$ac_ext
   5287 cat >>conftest.$ac_ext <<_ACEOF
   5288 /* end confdefs.h.  */
   5289 #include <$ac_header>
   5290 _ACEOF
   5291 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5292 case "(($ac_try" in
   5293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5294   *) ac_try_echo=$ac_try;;
   5295 esac
   5296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5297 $as_echo "$ac_try_echo") >&5
   5298   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5299   ac_status=$?
   5300   grep -v '^ *+' conftest.er1 >conftest.err
   5301   rm -f conftest.er1
   5302   cat conftest.err >&5
   5303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5304   (exit $ac_status); } >/dev/null && {
   5305 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5306 	 test ! -s conftest.err
   5307        }; then
   5308   ac_header_preproc=yes
   5309 else
   5310   $as_echo "$as_me: failed program was:" >&5
   5311 sed 's/^/| /' conftest.$ac_ext >&5
   5312 
   5313   ac_header_preproc=no
   5314 fi
   5315 
   5316 rm -f conftest.err conftest.$ac_ext
   5317 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5318 $as_echo "$ac_header_preproc" >&6; }
   5319 
   5320 # So?  What about this header?
   5321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5322   yes:no: )
   5323     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5324 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5325     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5326 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5327     ac_header_preproc=yes
   5328     ;;
   5329   no:yes:* )
   5330     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5331 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5332     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5333 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5334     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5335 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5336     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5337 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5338     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5339 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5340     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5341 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5342     ( cat <<\_ASBOX
   5343 ## ---------------------------------------------------------------------- ##
   5344 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5345 ## ---------------------------------------------------------------------- ##
   5346 _ASBOX
   5347      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5348     ;;
   5349 esac
   5350 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5351 $as_echo_n "checking for $ac_header... " >&6; }
   5352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5353   $as_echo_n "(cached) " >&6
   5354 else
   5355   eval "$as_ac_Header=\$ac_header_preproc"
   5356 fi
   5357 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5358 		 $as_echo "$as_val"'`
   5359 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5360 $as_echo "$ac_res" >&6; }
   5361 
   5362 fi
   5363 as_val=`eval 'as_val=${'$as_ac_Header'}
   5364 		 $as_echo "$as_val"'`
   5365    if test "x$as_val" = x""yes; then
   5366   cat >>confdefs.h <<_ACEOF
   5367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5368 _ACEOF
   5369 
   5370 fi
   5371 
   5372 done
   5373 
   5374 ac_ext=cpp
   5375 ac_cpp='$CXXCPP $CPPFLAGS'
   5376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5379 if test -z "$CXX"; then
   5380   if test -n "$CCC"; then
   5381     CXX=$CCC
   5382   else
   5383     if test -n "$ac_tool_prefix"; then
   5384   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5385   do
   5386     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5388 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5389 $as_echo_n "checking for $ac_word... " >&6; }
   5390 if test "${ac_cv_prog_CXX+set}" = set; then
   5391   $as_echo_n "(cached) " >&6
   5392 else
   5393   if test -n "$CXX"; then
   5394   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5395 else
   5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5397 for as_dir in $PATH
   5398 do
   5399   IFS=$as_save_IFS
   5400   test -z "$as_dir" && as_dir=.
   5401   for ac_exec_ext in '' $ac_executable_extensions; do
   5402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5403     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5404     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5405     break 2
   5406   fi
   5407 done
   5408 done
   5409 IFS=$as_save_IFS
   5410 
   5411 fi
   5412 fi
   5413 CXX=$ac_cv_prog_CXX
   5414 if test -n "$CXX"; then
   5415   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5416 $as_echo "$CXX" >&6; }
   5417 else
   5418   { $as_echo "$as_me:$LINENO: result: no" >&5
   5419 $as_echo "no" >&6; }
   5420 fi
   5421 
   5422 
   5423     test -n "$CXX" && break
   5424   done
   5425 fi
   5426 if test -z "$CXX"; then
   5427   ac_ct_CXX=$CXX
   5428   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5429 do
   5430   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5431 set dummy $ac_prog; ac_word=$2
   5432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5433 $as_echo_n "checking for $ac_word... " >&6; }
   5434 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5435   $as_echo_n "(cached) " >&6
   5436 else
   5437   if test -n "$ac_ct_CXX"; then
   5438   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5439 else
   5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5441 for as_dir in $PATH
   5442 do
   5443   IFS=$as_save_IFS
   5444   test -z "$as_dir" && as_dir=.
   5445   for ac_exec_ext in '' $ac_executable_extensions; do
   5446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5447     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5448     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5449     break 2
   5450   fi
   5451 done
   5452 done
   5453 IFS=$as_save_IFS
   5454 
   5455 fi
   5456 fi
   5457 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5458 if test -n "$ac_ct_CXX"; then
   5459   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5460 $as_echo "$ac_ct_CXX" >&6; }
   5461 else
   5462   { $as_echo "$as_me:$LINENO: result: no" >&5
   5463 $as_echo "no" >&6; }
   5464 fi
   5465 
   5466 
   5467   test -n "$ac_ct_CXX" && break
   5468 done
   5469 
   5470   if test "x$ac_ct_CXX" = x; then
   5471     CXX="g++"
   5472   else
   5473     case $cross_compiling:$ac_tool_warned in
   5474 yes:)
   5475 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5477 ac_tool_warned=yes ;;
   5478 esac
   5479     CXX=$ac_ct_CXX
   5480   fi
   5481 fi
   5482 
   5483   fi
   5484 fi
   5485 # Provide some information about the compiler.
   5486 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5487 set X $ac_compile
   5488 ac_compiler=$2
   5489 { (ac_try="$ac_compiler --version >&5"
   5490 case "(($ac_try" in
   5491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5492   *) ac_try_echo=$ac_try;;
   5493 esac
   5494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5495 $as_echo "$ac_try_echo") >&5
   5496   (eval "$ac_compiler --version >&5") 2>&5
   5497   ac_status=$?
   5498   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5499   (exit $ac_status); }
   5500 { (ac_try="$ac_compiler -v >&5"
   5501 case "(($ac_try" in
   5502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5503   *) ac_try_echo=$ac_try;;
   5504 esac
   5505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5506 $as_echo "$ac_try_echo") >&5
   5507   (eval "$ac_compiler -v >&5") 2>&5
   5508   ac_status=$?
   5509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5510   (exit $ac_status); }
   5511 { (ac_try="$ac_compiler -V >&5"
   5512 case "(($ac_try" in
   5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5514   *) ac_try_echo=$ac_try;;
   5515 esac
   5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5517 $as_echo "$ac_try_echo") >&5
   5518   (eval "$ac_compiler -V >&5") 2>&5
   5519   ac_status=$?
   5520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5521   (exit $ac_status); }
   5522 
   5523 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5525 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5526   $as_echo_n "(cached) " >&6
   5527 else
   5528   cat >conftest.$ac_ext <<_ACEOF
   5529 /* confdefs.h.  */
   5530 _ACEOF
   5531 cat confdefs.h >>conftest.$ac_ext
   5532 cat >>conftest.$ac_ext <<_ACEOF
   5533 /* end confdefs.h.  */
   5534 
   5535 int
   5536 main ()
   5537 {
   5538 #ifndef __GNUC__
   5539        choke me
   5540 #endif
   5541 
   5542   ;
   5543   return 0;
   5544 }
   5545 _ACEOF
   5546 rm -f conftest.$ac_objext
   5547 if { (ac_try="$ac_compile"
   5548 case "(($ac_try" in
   5549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5550   *) ac_try_echo=$ac_try;;
   5551 esac
   5552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5553 $as_echo "$ac_try_echo") >&5
   5554   (eval "$ac_compile") 2>conftest.er1
   5555   ac_status=$?
   5556   grep -v '^ *+' conftest.er1 >conftest.err
   5557   rm -f conftest.er1
   5558   cat conftest.err >&5
   5559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5560   (exit $ac_status); } && {
   5561 	 test -z "$ac_cxx_werror_flag" ||
   5562 	 test ! -s conftest.err
   5563        } && test -s conftest.$ac_objext; then
   5564   ac_compiler_gnu=yes
   5565 else
   5566   $as_echo "$as_me: failed program was:" >&5
   5567 sed 's/^/| /' conftest.$ac_ext >&5
   5568 
   5569 	ac_compiler_gnu=no
   5570 fi
   5571 
   5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5573 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5574 
   5575 fi
   5576 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5577 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5578 if test $ac_compiler_gnu = yes; then
   5579   GXX=yes
   5580 else
   5581   GXX=
   5582 fi
   5583 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5584 ac_save_CXXFLAGS=$CXXFLAGS
   5585 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5586 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5587 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5588   $as_echo_n "(cached) " >&6
   5589 else
   5590   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5591    ac_cxx_werror_flag=yes
   5592    ac_cv_prog_cxx_g=no
   5593    CXXFLAGS="-g"
   5594    cat >conftest.$ac_ext <<_ACEOF
   5595 /* confdefs.h.  */
   5596 _ACEOF
   5597 cat confdefs.h >>conftest.$ac_ext
   5598 cat >>conftest.$ac_ext <<_ACEOF
   5599 /* end confdefs.h.  */
   5600 
   5601 int
   5602 main ()
   5603 {
   5604 
   5605   ;
   5606   return 0;
   5607 }
   5608 _ACEOF
   5609 rm -f conftest.$ac_objext
   5610 if { (ac_try="$ac_compile"
   5611 case "(($ac_try" in
   5612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5613   *) ac_try_echo=$ac_try;;
   5614 esac
   5615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5616 $as_echo "$ac_try_echo") >&5
   5617   (eval "$ac_compile") 2>conftest.er1
   5618   ac_status=$?
   5619   grep -v '^ *+' conftest.er1 >conftest.err
   5620   rm -f conftest.er1
   5621   cat conftest.err >&5
   5622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5623   (exit $ac_status); } && {
   5624 	 test -z "$ac_cxx_werror_flag" ||
   5625 	 test ! -s conftest.err
   5626        } && test -s conftest.$ac_objext; then
   5627   ac_cv_prog_cxx_g=yes
   5628 else
   5629   $as_echo "$as_me: failed program was:" >&5
   5630 sed 's/^/| /' conftest.$ac_ext >&5
   5631 
   5632 	CXXFLAGS=""
   5633       cat >conftest.$ac_ext <<_ACEOF
   5634 /* confdefs.h.  */
   5635 _ACEOF
   5636 cat confdefs.h >>conftest.$ac_ext
   5637 cat >>conftest.$ac_ext <<_ACEOF
   5638 /* end confdefs.h.  */
   5639 
   5640 int
   5641 main ()
   5642 {
   5643 
   5644   ;
   5645   return 0;
   5646 }
   5647 _ACEOF
   5648 rm -f conftest.$ac_objext
   5649 if { (ac_try="$ac_compile"
   5650 case "(($ac_try" in
   5651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5652   *) ac_try_echo=$ac_try;;
   5653 esac
   5654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5655 $as_echo "$ac_try_echo") >&5
   5656   (eval "$ac_compile") 2>conftest.er1
   5657   ac_status=$?
   5658   grep -v '^ *+' conftest.er1 >conftest.err
   5659   rm -f conftest.er1
   5660   cat conftest.err >&5
   5661   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5662   (exit $ac_status); } && {
   5663 	 test -z "$ac_cxx_werror_flag" ||
   5664 	 test ! -s conftest.err
   5665        } && test -s conftest.$ac_objext; then
   5666   :
   5667 else
   5668   $as_echo "$as_me: failed program was:" >&5
   5669 sed 's/^/| /' conftest.$ac_ext >&5
   5670 
   5671 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5672 	 CXXFLAGS="-g"
   5673 	 cat >conftest.$ac_ext <<_ACEOF
   5674 /* confdefs.h.  */
   5675 _ACEOF
   5676 cat confdefs.h >>conftest.$ac_ext
   5677 cat >>conftest.$ac_ext <<_ACEOF
   5678 /* end confdefs.h.  */
   5679 
   5680 int
   5681 main ()
   5682 {
   5683 
   5684   ;
   5685   return 0;
   5686 }
   5687 _ACEOF
   5688 rm -f conftest.$ac_objext
   5689 if { (ac_try="$ac_compile"
   5690 case "(($ac_try" in
   5691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5692   *) ac_try_echo=$ac_try;;
   5693 esac
   5694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5695 $as_echo "$ac_try_echo") >&5
   5696   (eval "$ac_compile") 2>conftest.er1
   5697   ac_status=$?
   5698   grep -v '^ *+' conftest.er1 >conftest.err
   5699   rm -f conftest.er1
   5700   cat conftest.err >&5
   5701   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5702   (exit $ac_status); } && {
   5703 	 test -z "$ac_cxx_werror_flag" ||
   5704 	 test ! -s conftest.err
   5705        } && test -s conftest.$ac_objext; then
   5706   ac_cv_prog_cxx_g=yes
   5707 else
   5708   $as_echo "$as_me: failed program was:" >&5
   5709 sed 's/^/| /' conftest.$ac_ext >&5
   5710 
   5711 
   5712 fi
   5713 
   5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5715 fi
   5716 
   5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5718 fi
   5719 
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5722 fi
   5723 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5724 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5725 if test "$ac_test_CXXFLAGS" = set; then
   5726   CXXFLAGS=$ac_save_CXXFLAGS
   5727 elif test $ac_cv_prog_cxx_g = yes; then
   5728   if test "$GXX" = yes; then
   5729     CXXFLAGS="-g -O2"
   5730   else
   5731     CXXFLAGS="-g"
   5732   fi
   5733 else
   5734   if test "$GXX" = yes; then
   5735     CXXFLAGS="-O2"
   5736   else
   5737     CXXFLAGS=
   5738   fi
   5739 fi
   5740 ac_ext=cpp
   5741 ac_cpp='$CXXCPP $CPPFLAGS'
   5742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5745 
   5746 depcc="$CXX"  am_compiler_list=
   5747 
   5748 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5749 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5750 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5751   $as_echo_n "(cached) " >&6
   5752 else
   5753   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5754   # We make a subdir and do the tests there.  Otherwise we can end up
   5755   # making bogus files that we don't know about and never remove.  For
   5756   # instance it was reported that on HP-UX the gcc test will end up
   5757   # making a dummy file named `D' -- because `-MD' means `put the output
   5758   # in D'.
   5759   mkdir conftest.dir
   5760   # Copy depcomp to subdir because otherwise we won't find it if we're
   5761   # using a relative directory.
   5762   cp "$am_depcomp" conftest.dir
   5763   cd conftest.dir
   5764   # We will build objects and dependencies in a subdirectory because
   5765   # it helps to detect inapplicable dependency modes.  For instance
   5766   # both Tru64's cc and ICC support -MD to output dependencies as a
   5767   # side effect of compilation, but ICC will put the dependencies in
   5768   # the current directory while Tru64 will put them in the object
   5769   # directory.
   5770   mkdir sub
   5771 
   5772   am_cv_CXX_dependencies_compiler_type=none
   5773   if test "$am_compiler_list" = ""; then
   5774      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5775   fi
   5776   am__universal=false
   5777   case " $depcc " in #(
   5778      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5779      esac
   5780 
   5781   for depmode in $am_compiler_list; do
   5782     # Setup a source with many dependencies, because some compilers
   5783     # like to wrap large dependency lists on column 80 (with \), and
   5784     # we should not choose a depcomp mode which is confused by this.
   5785     #
   5786     # We need to recreate these files for each test, as the compiler may
   5787     # overwrite some of them when testing with obscure command lines.
   5788     # This happens at least with the AIX C compiler.
   5789     : > sub/conftest.c
   5790     for i in 1 2 3 4 5 6; do
   5791       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5792       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5793       # Solaris 8's {/usr,}/bin/sh.
   5794       touch sub/conftst$i.h
   5795     done
   5796     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5797 
   5798     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5799     # mode.  It turns out that the SunPro C++ compiler does not properly
   5800     # handle `-M -o', and we need to detect this.  Also, some Intel
   5801     # versions had trouble with output in subdirs
   5802     am__obj=sub/conftest.${OBJEXT-o}
   5803     am__minus_obj="-o $am__obj"
   5804     case $depmode in
   5805     gcc)
   5806       # This depmode causes a compiler race in universal mode.
   5807       test "$am__universal" = false || continue
   5808       ;;
   5809     nosideeffect)
   5810       # after this tag, mechanisms are not by side-effect, so they'll
   5811       # only be used when explicitly requested
   5812       if test "x$enable_dependency_tracking" = xyes; then
   5813 	continue
   5814       else
   5815 	break
   5816       fi
   5817       ;;
   5818     msvisualcpp | msvcmsys)
   5819       # This compiler won't grok `-c -o', but also, the minuso test has
   5820       # not run yet.  These depmodes are late enough in the game, and
   5821       # so weak that their functioning should not be impacted.
   5822       am__obj=conftest.${OBJEXT-o}
   5823       am__minus_obj=
   5824       ;;
   5825     none) break ;;
   5826     esac
   5827     if depmode=$depmode \
   5828        source=sub/conftest.c object=$am__obj \
   5829        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5830        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5831          >/dev/null 2>conftest.err &&
   5832        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5833        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5834        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5835        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5836       # icc doesn't choke on unknown options, it will just issue warnings
   5837       # or remarks (even with -Werror).  So we grep stderr for any message
   5838       # that says an option was ignored or not supported.
   5839       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5840       #   icc: Command line warning: ignoring option '-M'; no argument required
   5841       # The diagnosis changed in icc 8.0:
   5842       #   icc: Command line remark: option '-MP' not supported
   5843       if (grep 'ignoring option' conftest.err ||
   5844           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5845         am_cv_CXX_dependencies_compiler_type=$depmode
   5846         break
   5847       fi
   5848     fi
   5849   done
   5850 
   5851   cd ..
   5852   rm -rf conftest.dir
   5853 else
   5854   am_cv_CXX_dependencies_compiler_type=none
   5855 fi
   5856 
   5857 fi
   5858 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5859 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5860 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5861 
   5862  if
   5863   test "x$enable_dependency_tracking" != xno \
   5864   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5865   am__fastdepCXX_TRUE=
   5866   am__fastdepCXX_FALSE='#'
   5867 else
   5868   am__fastdepCXX_TRUE='#'
   5869   am__fastdepCXX_FALSE=
   5870 fi
   5871 
   5872 
   5873 
   5874 
   5875 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5876     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5877     (test "X$CXX" != "Xg++"))) ; then
   5878   ac_ext=cpp
   5879 ac_cpp='$CXXCPP $CPPFLAGS'
   5880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5883 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5884 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5885 if test -z "$CXXCPP"; then
   5886   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889       # Double quotes because CXXCPP needs to be expanded
   5890     for CXXCPP in "$CXX -E" "/lib/cpp"
   5891     do
   5892       ac_preproc_ok=false
   5893 for ac_cxx_preproc_warn_flag in '' yes
   5894 do
   5895   # Use a header file that comes with gcc, so configuring glibc
   5896   # with a fresh cross-compiler works.
   5897   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5898   # <limits.h> exists even on freestanding compilers.
   5899   # On the NeXT, cc -E runs the code through the compiler's parser,
   5900   # not just through cpp. "Syntax error" is here to catch this case.
   5901   cat >conftest.$ac_ext <<_ACEOF
   5902 /* confdefs.h.  */
   5903 _ACEOF
   5904 cat confdefs.h >>conftest.$ac_ext
   5905 cat >>conftest.$ac_ext <<_ACEOF
   5906 /* end confdefs.h.  */
   5907 #ifdef __STDC__
   5908 # include <limits.h>
   5909 #else
   5910 # include <assert.h>
   5911 #endif
   5912 		     Syntax error
   5913 _ACEOF
   5914 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5915 case "(($ac_try" in
   5916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5917   *) ac_try_echo=$ac_try;;
   5918 esac
   5919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5920 $as_echo "$ac_try_echo") >&5
   5921   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5922   ac_status=$?
   5923   grep -v '^ *+' conftest.er1 >conftest.err
   5924   rm -f conftest.er1
   5925   cat conftest.err >&5
   5926   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5927   (exit $ac_status); } >/dev/null && {
   5928 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5929 	 test ! -s conftest.err
   5930        }; then
   5931   :
   5932 else
   5933   $as_echo "$as_me: failed program was:" >&5
   5934 sed 's/^/| /' conftest.$ac_ext >&5
   5935 
   5936   # Broken: fails on valid input.
   5937 continue
   5938 fi
   5939 
   5940 rm -f conftest.err conftest.$ac_ext
   5941 
   5942   # OK, works on sane cases.  Now check whether nonexistent headers
   5943   # can be detected and how.
   5944   cat >conftest.$ac_ext <<_ACEOF
   5945 /* confdefs.h.  */
   5946 _ACEOF
   5947 cat confdefs.h >>conftest.$ac_ext
   5948 cat >>conftest.$ac_ext <<_ACEOF
   5949 /* end confdefs.h.  */
   5950 #include <ac_nonexistent.h>
   5951 _ACEOF
   5952 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5953 case "(($ac_try" in
   5954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5955   *) ac_try_echo=$ac_try;;
   5956 esac
   5957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5958 $as_echo "$ac_try_echo") >&5
   5959   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5960   ac_status=$?
   5961   grep -v '^ *+' conftest.er1 >conftest.err
   5962   rm -f conftest.er1
   5963   cat conftest.err >&5
   5964   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5965   (exit $ac_status); } >/dev/null && {
   5966 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5967 	 test ! -s conftest.err
   5968        }; then
   5969   # Broken: success on invalid input.
   5970 continue
   5971 else
   5972   $as_echo "$as_me: failed program was:" >&5
   5973 sed 's/^/| /' conftest.$ac_ext >&5
   5974 
   5975   # Passes both tests.
   5976 ac_preproc_ok=:
   5977 break
   5978 fi
   5979 
   5980 rm -f conftest.err conftest.$ac_ext
   5981 
   5982 done
   5983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5984 rm -f conftest.err conftest.$ac_ext
   5985 if $ac_preproc_ok; then
   5986   break
   5987 fi
   5988 
   5989     done
   5990     ac_cv_prog_CXXCPP=$CXXCPP
   5991 
   5992 fi
   5993   CXXCPP=$ac_cv_prog_CXXCPP
   5994 else
   5995   ac_cv_prog_CXXCPP=$CXXCPP
   5996 fi
   5997 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5998 $as_echo "$CXXCPP" >&6; }
   5999 ac_preproc_ok=false
   6000 for ac_cxx_preproc_warn_flag in '' yes
   6001 do
   6002   # Use a header file that comes with gcc, so configuring glibc
   6003   # with a fresh cross-compiler works.
   6004   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6005   # <limits.h> exists even on freestanding compilers.
   6006   # On the NeXT, cc -E runs the code through the compiler's parser,
   6007   # not just through cpp. "Syntax error" is here to catch this case.
   6008   cat >conftest.$ac_ext <<_ACEOF
   6009 /* confdefs.h.  */
   6010 _ACEOF
   6011 cat confdefs.h >>conftest.$ac_ext
   6012 cat >>conftest.$ac_ext <<_ACEOF
   6013 /* end confdefs.h.  */
   6014 #ifdef __STDC__
   6015 # include <limits.h>
   6016 #else
   6017 # include <assert.h>
   6018 #endif
   6019 		     Syntax error
   6020 _ACEOF
   6021 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6022 case "(($ac_try" in
   6023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6024   *) ac_try_echo=$ac_try;;
   6025 esac
   6026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6027 $as_echo "$ac_try_echo") >&5
   6028   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6029   ac_status=$?
   6030   grep -v '^ *+' conftest.er1 >conftest.err
   6031   rm -f conftest.er1
   6032   cat conftest.err >&5
   6033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6034   (exit $ac_status); } >/dev/null && {
   6035 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6036 	 test ! -s conftest.err
   6037        }; then
   6038   :
   6039 else
   6040   $as_echo "$as_me: failed program was:" >&5
   6041 sed 's/^/| /' conftest.$ac_ext >&5
   6042 
   6043   # Broken: fails on valid input.
   6044 continue
   6045 fi
   6046 
   6047 rm -f conftest.err conftest.$ac_ext
   6048 
   6049   # OK, works on sane cases.  Now check whether nonexistent headers
   6050   # can be detected and how.
   6051   cat >conftest.$ac_ext <<_ACEOF
   6052 /* confdefs.h.  */
   6053 _ACEOF
   6054 cat confdefs.h >>conftest.$ac_ext
   6055 cat >>conftest.$ac_ext <<_ACEOF
   6056 /* end confdefs.h.  */
   6057 #include <ac_nonexistent.h>
   6058 _ACEOF
   6059 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6060 case "(($ac_try" in
   6061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6062   *) ac_try_echo=$ac_try;;
   6063 esac
   6064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6065 $as_echo "$ac_try_echo") >&5
   6066   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6067   ac_status=$?
   6068   grep -v '^ *+' conftest.er1 >conftest.err
   6069   rm -f conftest.er1
   6070   cat conftest.err >&5
   6071   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6072   (exit $ac_status); } >/dev/null && {
   6073 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6074 	 test ! -s conftest.err
   6075        }; then
   6076   # Broken: success on invalid input.
   6077 continue
   6078 else
   6079   $as_echo "$as_me: failed program was:" >&5
   6080 sed 's/^/| /' conftest.$ac_ext >&5
   6081 
   6082   # Passes both tests.
   6083 ac_preproc_ok=:
   6084 break
   6085 fi
   6086 
   6087 rm -f conftest.err conftest.$ac_ext
   6088 
   6089 done
   6090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6091 rm -f conftest.err conftest.$ac_ext
   6092 if $ac_preproc_ok; then
   6093   :
   6094 else
   6095   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6097 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6098 See \`config.log' for more details." >&5
   6099 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6100 See \`config.log' for more details." >&2;}
   6101    { (exit 1); exit 1; }; }; }
   6102 fi
   6103 
   6104 ac_ext=cpp
   6105 ac_cpp='$CXXCPP $CPPFLAGS'
   6106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6109 
   6110 fi
   6111 
   6112 
   6113 ac_ext=f
   6114 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6115 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6116 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6117 if test -n "$ac_tool_prefix"; then
   6118   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
   6119   do
   6120     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6121 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6123 $as_echo_n "checking for $ac_word... " >&6; }
   6124 if test "${ac_cv_prog_F77+set}" = set; then
   6125   $as_echo_n "(cached) " >&6
   6126 else
   6127   if test -n "$F77"; then
   6128   ac_cv_prog_F77="$F77" # Let the user override the test.
   6129 else
   6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6131 for as_dir in $PATH
   6132 do
   6133   IFS=$as_save_IFS
   6134   test -z "$as_dir" && as_dir=.
   6135   for ac_exec_ext in '' $ac_executable_extensions; do
   6136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6137     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6138     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6139     break 2
   6140   fi
   6141 done
   6142 done
   6143 IFS=$as_save_IFS
   6144 
   6145 fi
   6146 fi
   6147 F77=$ac_cv_prog_F77
   6148 if test -n "$F77"; then
   6149   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6150 $as_echo "$F77" >&6; }
   6151 else
   6152   { $as_echo "$as_me:$LINENO: result: no" >&5
   6153 $as_echo "no" >&6; }
   6154 fi
   6155 
   6156 
   6157     test -n "$F77" && break
   6158   done
   6159 fi
   6160 if test -z "$F77"; then
   6161   ac_ct_F77=$F77
   6162   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
   6163 do
   6164   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6165 set dummy $ac_prog; ac_word=$2
   6166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6167 $as_echo_n "checking for $ac_word... " >&6; }
   6168 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6169   $as_echo_n "(cached) " >&6
   6170 else
   6171   if test -n "$ac_ct_F77"; then
   6172   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6173 else
   6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6175 for as_dir in $PATH
   6176 do
   6177   IFS=$as_save_IFS
   6178   test -z "$as_dir" && as_dir=.
   6179   for ac_exec_ext in '' $ac_executable_extensions; do
   6180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6181     ac_cv_prog_ac_ct_F77="$ac_prog"
   6182     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6183     break 2
   6184   fi
   6185 done
   6186 done
   6187 IFS=$as_save_IFS
   6188 
   6189 fi
   6190 fi
   6191 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6192 if test -n "$ac_ct_F77"; then
   6193   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6194 $as_echo "$ac_ct_F77" >&6; }
   6195 else
   6196   { $as_echo "$as_me:$LINENO: result: no" >&5
   6197 $as_echo "no" >&6; }
   6198 fi
   6199 
   6200 
   6201   test -n "$ac_ct_F77" && break
   6202 done
   6203 
   6204   if test "x$ac_ct_F77" = x; then
   6205     F77=""
   6206   else
   6207     case $cross_compiling:$ac_tool_warned in
   6208 yes:)
   6209 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6211 ac_tool_warned=yes ;;
   6212 esac
   6213     F77=$ac_ct_F77
   6214   fi
   6215 fi
   6216 
   6217 
   6218 # Provide some information about the compiler.
   6219 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6220 set X $ac_compile
   6221 ac_compiler=$2
   6222 { (ac_try="$ac_compiler --version >&5"
   6223 case "(($ac_try" in
   6224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6225   *) ac_try_echo=$ac_try;;
   6226 esac
   6227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6228 $as_echo "$ac_try_echo") >&5
   6229   (eval "$ac_compiler --version >&5") 2>&5
   6230   ac_status=$?
   6231   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6232   (exit $ac_status); }
   6233 { (ac_try="$ac_compiler -v >&5"
   6234 case "(($ac_try" in
   6235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6236   *) ac_try_echo=$ac_try;;
   6237 esac
   6238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6239 $as_echo "$ac_try_echo") >&5
   6240   (eval "$ac_compiler -v >&5") 2>&5
   6241   ac_status=$?
   6242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6243   (exit $ac_status); }
   6244 { (ac_try="$ac_compiler -V >&5"
   6245 case "(($ac_try" in
   6246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6247   *) ac_try_echo=$ac_try;;
   6248 esac
   6249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6250 $as_echo "$ac_try_echo") >&5
   6251   (eval "$ac_compiler -V >&5") 2>&5
   6252   ac_status=$?
   6253   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6254   (exit $ac_status); }
   6255 rm -f a.out
   6256 
   6257 # If we don't use `.F' as extension, the preprocessor is not run on the
   6258 # input file.  (Note that this only needs to work for GNU compilers.)
   6259 ac_save_ext=$ac_ext
   6260 ac_ext=F
   6261 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6262 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6263 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6264   $as_echo_n "(cached) " >&6
   6265 else
   6266   cat >conftest.$ac_ext <<_ACEOF
   6267       program main
   6268 #ifndef __GNUC__
   6269        choke me
   6270 #endif
   6271 
   6272       end
   6273 _ACEOF
   6274 rm -f conftest.$ac_objext
   6275 if { (ac_try="$ac_compile"
   6276 case "(($ac_try" in
   6277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6278   *) ac_try_echo=$ac_try;;
   6279 esac
   6280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6281 $as_echo "$ac_try_echo") >&5
   6282   (eval "$ac_compile") 2>conftest.er1
   6283   ac_status=$?
   6284   grep -v '^ *+' conftest.er1 >conftest.err
   6285   rm -f conftest.er1
   6286   cat conftest.err >&5
   6287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6288   (exit $ac_status); } && {
   6289 	 test -z "$ac_f77_werror_flag" ||
   6290 	 test ! -s conftest.err
   6291        } && test -s conftest.$ac_objext; then
   6292   ac_compiler_gnu=yes
   6293 else
   6294   $as_echo "$as_me: failed program was:" >&5
   6295 sed 's/^/| /' conftest.$ac_ext >&5
   6296 
   6297 	ac_compiler_gnu=no
   6298 fi
   6299 
   6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6301 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6302 
   6303 fi
   6304 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6305 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6306 ac_ext=$ac_save_ext
   6307 ac_test_FFLAGS=${FFLAGS+set}
   6308 ac_save_FFLAGS=$FFLAGS
   6309 FFLAGS=
   6310 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6311 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6312 if test "${ac_cv_prog_f77_g+set}" = set; then
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   FFLAGS=-g
   6316 cat >conftest.$ac_ext <<_ACEOF
   6317       program main
   6318 
   6319       end
   6320 _ACEOF
   6321 rm -f conftest.$ac_objext
   6322 if { (ac_try="$ac_compile"
   6323 case "(($ac_try" in
   6324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6325   *) ac_try_echo=$ac_try;;
   6326 esac
   6327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6328 $as_echo "$ac_try_echo") >&5
   6329   (eval "$ac_compile") 2>conftest.er1
   6330   ac_status=$?
   6331   grep -v '^ *+' conftest.er1 >conftest.err
   6332   rm -f conftest.er1
   6333   cat conftest.err >&5
   6334   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6335   (exit $ac_status); } && {
   6336 	 test -z "$ac_f77_werror_flag" ||
   6337 	 test ! -s conftest.err
   6338        } && test -s conftest.$ac_objext; then
   6339   ac_cv_prog_f77_g=yes
   6340 else
   6341   $as_echo "$as_me: failed program was:" >&5
   6342 sed 's/^/| /' conftest.$ac_ext >&5
   6343 
   6344 	ac_cv_prog_f77_g=no
   6345 fi
   6346 
   6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6348 
   6349 fi
   6350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6351 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6352 if test "$ac_test_FFLAGS" = set; then
   6353   FFLAGS=$ac_save_FFLAGS
   6354 elif test $ac_cv_prog_f77_g = yes; then
   6355   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6356     FFLAGS="-g -O2"
   6357   else
   6358     FFLAGS="-g"
   6359   fi
   6360 else
   6361   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6362     FFLAGS="-O2"
   6363   else
   6364     FFLAGS=
   6365   fi
   6366 fi
   6367 
   6368 if test $ac_compiler_gnu = yes; then
   6369   G77=yes
   6370 else
   6371   G77=
   6372 fi
   6373 ac_ext=c
   6374 ac_cpp='$CPP $CPPFLAGS'
   6375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6378 
   6379 
   6380 
   6381 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6382 # find the maximum length of command line arguments
   6383 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6384 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6385 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6386   $as_echo_n "(cached) " >&6
   6387 else
   6388     i=0
   6389   teststring="ABCD"
   6390 
   6391   case $build_os in
   6392   msdosdjgpp*)
   6393     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6394     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6395     # during glob expansion).  Even if it were fixed, the result of this
   6396     # check would be larger than it should be.
   6397     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6398     ;;
   6399 
   6400   gnu*)
   6401     # Under GNU Hurd, this test is not required because there is
   6402     # no limit to the length of command line arguments.
   6403     # Libtool will interpret -1 as no limit whatsoever
   6404     lt_cv_sys_max_cmd_len=-1;
   6405     ;;
   6406 
   6407   cygwin* | mingw*)
   6408     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6409     # about 5 minutes as the teststring grows exponentially.
   6410     # Worse, since 9x/ME are not pre-emptively multitasking,
   6411     # you end up with a "frozen" computer, even though with patience
   6412     # the test eventually succeeds (with a max line length of 256k).
   6413     # Instead, let's just punt: use the minimum linelength reported by
   6414     # all of the supported platforms: 8192 (on NT/2K/XP).
   6415     lt_cv_sys_max_cmd_len=8192;
   6416     ;;
   6417 
   6418   amigaos*)
   6419     # On AmigaOS with pdksh, this test takes hours, literally.
   6420     # So we just punt and use a minimum line length of 8192.
   6421     lt_cv_sys_max_cmd_len=8192;
   6422     ;;
   6423 
   6424   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6425     # This has been around since 386BSD, at least.  Likely further.
   6426     if test -x /sbin/sysctl; then
   6427       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6428     elif test -x /usr/sbin/sysctl; then
   6429       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6430     else
   6431       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6432     fi
   6433     # And add a safety zone
   6434     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6435     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6436     ;;
   6437 
   6438   interix*)
   6439     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6440     lt_cv_sys_max_cmd_len=196608
   6441     ;;
   6442 
   6443   osf*)
   6444     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6445     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6446     # nice to cause kernel panics so lets avoid the loop below.
   6447     # First set a reasonable default.
   6448     lt_cv_sys_max_cmd_len=16384
   6449     #
   6450     if test -x /sbin/sysconfig; then
   6451       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6452         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6453       esac
   6454     fi
   6455     ;;
   6456   sco3.2v5*)
   6457     lt_cv_sys_max_cmd_len=102400
   6458     ;;
   6459   sysv5* | sco5v6* | sysv4.2uw2*)
   6460     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6461     if test -n "$kargmax"; then
   6462       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6463     else
   6464       lt_cv_sys_max_cmd_len=32768
   6465     fi
   6466     ;;
   6467   *)
   6468     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6469     if test -n "$lt_cv_sys_max_cmd_len"; then
   6470       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6471       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6472     else
   6473       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6474       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6475 	       = "XX$teststring") >/dev/null 2>&1 &&
   6476 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6477 	      lt_cv_sys_max_cmd_len=$new_result &&
   6478 	      test $i != 17 # 1/2 MB should be enough
   6479       do
   6480         i=`expr $i + 1`
   6481         teststring=$teststring$teststring
   6482       done
   6483       teststring=
   6484       # Add a significant safety factor because C++ compilers can tack on massive
   6485       # amounts of additional arguments before passing them to the linker.
   6486       # It appears as though 1/2 is a usable value.
   6487       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6488     fi
   6489     ;;
   6490   esac
   6491 
   6492 fi
   6493 
   6494 if test -n $lt_cv_sys_max_cmd_len ; then
   6495   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6496 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6497 else
   6498   { $as_echo "$as_me:$LINENO: result: none" >&5
   6499 $as_echo "none" >&6; }
   6500 fi
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6507 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6508 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6509 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6510   $as_echo_n "(cached) " >&6
   6511 else
   6512 
   6513 # These are sane defaults that work on at least a few old systems.
   6514 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6515 
   6516 # Character class describing NM global symbol codes.
   6517 symcode='[BCDEGRST]'
   6518 
   6519 # Regexp to match symbols that can be accessed directly from C.
   6520 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6521 
   6522 # Transform an extracted symbol line into a proper C declaration
   6523 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6524 
   6525 # Transform an extracted symbol line into symbol name and symbol address
   6526 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'"
   6527 
   6528 # Define system-specific variables.
   6529 case $host_os in
   6530 aix*)
   6531   symcode='[BCDT]'
   6532   ;;
   6533 cygwin* | mingw* | pw32*)
   6534   symcode='[ABCDGISTW]'
   6535   ;;
   6536 hpux*) # Its linker distinguishes data from code symbols
   6537   if test "$host_cpu" = ia64; then
   6538     symcode='[ABCDEGRST]'
   6539   fi
   6540   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6541   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'"
   6542   ;;
   6543 linux* | k*bsd*-gnu)
   6544   if test "$host_cpu" = ia64; then
   6545     symcode='[ABCDGIRSTW]'
   6546     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6547     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6548   fi
   6549   ;;
   6550 irix* | nonstopux*)
   6551   symcode='[BCDEGRST]'
   6552   ;;
   6553 osf*)
   6554   symcode='[BCDEGQRST]'
   6555   ;;
   6556 solaris*)
   6557   symcode='[BDRT]'
   6558   ;;
   6559 sco3.2v5*)
   6560   symcode='[DT]'
   6561   ;;
   6562 sysv4.2uw2*)
   6563   symcode='[DT]'
   6564   ;;
   6565 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6566   symcode='[ABDT]'
   6567   ;;
   6568 sysv4)
   6569   symcode='[DFNSTU]'
   6570   ;;
   6571 esac
   6572 
   6573 # Handle CRLF in mingw tool chain
   6574 opt_cr=
   6575 case $build_os in
   6576 mingw*)
   6577   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6578   ;;
   6579 esac
   6580 
   6581 # If we're using GNU nm, then use its standard symbol codes.
   6582 case `$NM -V 2>&1` in
   6583 *GNU* | *'with BFD'*)
   6584   symcode='[ABCDGIRSTW]' ;;
   6585 esac
   6586 
   6587 # Try without a prefix undercore, then with it.
   6588 for ac_symprfx in "" "_"; do
   6589 
   6590   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6591   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6592 
   6593   # Write the raw and C identifiers.
   6594   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6595 
   6596   # Check to see that the pipe works correctly.
   6597   pipe_works=no
   6598 
   6599   rm -f conftest*
   6600   cat > conftest.$ac_ext <<EOF
   6601 #ifdef __cplusplus
   6602 extern "C" {
   6603 #endif
   6604 char nm_test_var;
   6605 void nm_test_func(){}
   6606 #ifdef __cplusplus
   6607 }
   6608 #endif
   6609 int main(){nm_test_var='a';nm_test_func();return(0);}
   6610 EOF
   6611 
   6612   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6613   (eval $ac_compile) 2>&5
   6614   ac_status=$?
   6615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6616   (exit $ac_status); }; then
   6617     # Now try to grab the symbols.
   6618     nlist=conftest.nm
   6619     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6620   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6621   ac_status=$?
   6622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6623   (exit $ac_status); } && test -s "$nlist"; then
   6624       # Try sorting and uniquifying the output.
   6625       if sort "$nlist" | uniq > "$nlist"T; then
   6626 	mv -f "$nlist"T "$nlist"
   6627       else
   6628 	rm -f "$nlist"T
   6629       fi
   6630 
   6631       # Make sure that we snagged all the symbols we need.
   6632       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6633 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6634 	  cat <<EOF > conftest.$ac_ext
   6635 #ifdef __cplusplus
   6636 extern "C" {
   6637 #endif
   6638 
   6639 EOF
   6640 	  # Now generate the symbol file.
   6641 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6642 
   6643 	  cat <<EOF >> conftest.$ac_ext
   6644 #if defined (__STDC__) && __STDC__
   6645 # define lt_ptr_t void *
   6646 #else
   6647 # define lt_ptr_t char *
   6648 # define const
   6649 #endif
   6650 
   6651 /* The mapping between symbol names and symbols. */
   6652 const struct {
   6653   const char *name;
   6654   lt_ptr_t address;
   6655 }
   6656 lt_preloaded_symbols[] =
   6657 {
   6658 EOF
   6659 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6660 	  cat <<\EOF >> conftest.$ac_ext
   6661   {0, (lt_ptr_t) 0}
   6662 };
   6663 
   6664 #ifdef __cplusplus
   6665 }
   6666 #endif
   6667 EOF
   6668 	  # Now try linking the two files.
   6669 	  mv conftest.$ac_objext conftstm.$ac_objext
   6670 	  lt_save_LIBS="$LIBS"
   6671 	  lt_save_CFLAGS="$CFLAGS"
   6672 	  LIBS="conftstm.$ac_objext"
   6673 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6674 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6675   (eval $ac_link) 2>&5
   6676   ac_status=$?
   6677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6678   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6679 	    pipe_works=yes
   6680 	  fi
   6681 	  LIBS="$lt_save_LIBS"
   6682 	  CFLAGS="$lt_save_CFLAGS"
   6683 	else
   6684 	  echo "cannot find nm_test_func in $nlist" >&5
   6685 	fi
   6686       else
   6687 	echo "cannot find nm_test_var in $nlist" >&5
   6688       fi
   6689     else
   6690       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6691     fi
   6692   else
   6693     echo "$progname: failed program was:" >&5
   6694     cat conftest.$ac_ext >&5
   6695   fi
   6696   rm -rf conftest* conftst*
   6697 
   6698   # Do not use the global_symbol_pipe unless it works.
   6699   if test "$pipe_works" = yes; then
   6700     break
   6701   else
   6702     lt_cv_sys_global_symbol_pipe=
   6703   fi
   6704 done
   6705 
   6706 fi
   6707 
   6708 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6709   lt_cv_sys_global_symbol_to_cdecl=
   6710 fi
   6711 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6712   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6713 $as_echo "failed" >&6; }
   6714 else
   6715   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6716 $as_echo "ok" >&6; }
   6717 fi
   6718 
   6719 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6720 $as_echo_n "checking for objdir... " >&6; }
   6721 if test "${lt_cv_objdir+set}" = set; then
   6722   $as_echo_n "(cached) " >&6
   6723 else
   6724   rm -f .libs 2>/dev/null
   6725 mkdir .libs 2>/dev/null
   6726 if test -d .libs; then
   6727   lt_cv_objdir=.libs
   6728 else
   6729   # MS-DOS does not allow filenames that begin with a dot.
   6730   lt_cv_objdir=_libs
   6731 fi
   6732 rmdir .libs 2>/dev/null
   6733 fi
   6734 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6735 $as_echo "$lt_cv_objdir" >&6; }
   6736 objdir=$lt_cv_objdir
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 case $host_os in
   6743 aix3*)
   6744   # AIX sometimes has problems with the GCC collect2 program.  For some
   6745   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6746   # vanish in a puff of smoke.
   6747   if test "X${COLLECT_NAMES+set}" != Xset; then
   6748     COLLECT_NAMES=
   6749     export COLLECT_NAMES
   6750   fi
   6751   ;;
   6752 esac
   6753 
   6754 # Sed substitution that helps us do robust quoting.  It backslashifies
   6755 # metacharacters that are still active within double-quoted strings.
   6756 Xsed='sed -e 1s/^X//'
   6757 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6758 
   6759 # Same as above, but do not quote variable references.
   6760 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6761 
   6762 # Sed substitution to delay expansion of an escaped shell variable in a
   6763 # double_quote_subst'ed string.
   6764 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6765 
   6766 # Sed substitution to avoid accidental globbing in evaled expressions
   6767 no_glob_subst='s/\*/\\\*/g'
   6768 
   6769 # Constants:
   6770 rm="rm -f"
   6771 
   6772 # Global variables:
   6773 default_ofile=libtool
   6774 can_build_shared=yes
   6775 
   6776 # All known linkers require a `.a' archive for static linking (except MSVC,
   6777 # which needs '.lib').
   6778 libext=a
   6779 ltmain="$ac_aux_dir/ltmain.sh"
   6780 ofile="$default_ofile"
   6781 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6782 
   6783 if test -n "$ac_tool_prefix"; then
   6784   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6785 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6787 $as_echo_n "checking for $ac_word... " >&6; }
   6788 if test "${ac_cv_prog_AR+set}" = set; then
   6789   $as_echo_n "(cached) " >&6
   6790 else
   6791   if test -n "$AR"; then
   6792   ac_cv_prog_AR="$AR" # Let the user override the test.
   6793 else
   6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6795 for as_dir in $PATH
   6796 do
   6797   IFS=$as_save_IFS
   6798   test -z "$as_dir" && as_dir=.
   6799   for ac_exec_ext in '' $ac_executable_extensions; do
   6800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6801     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6802     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6803     break 2
   6804   fi
   6805 done
   6806 done
   6807 IFS=$as_save_IFS
   6808 
   6809 fi
   6810 fi
   6811 AR=$ac_cv_prog_AR
   6812 if test -n "$AR"; then
   6813   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6814 $as_echo "$AR" >&6; }
   6815 else
   6816   { $as_echo "$as_me:$LINENO: result: no" >&5
   6817 $as_echo "no" >&6; }
   6818 fi
   6819 
   6820 
   6821 fi
   6822 if test -z "$ac_cv_prog_AR"; then
   6823   ac_ct_AR=$AR
   6824   # Extract the first word of "ar", so it can be a program name with args.
   6825 set dummy ar; ac_word=$2
   6826 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6827 $as_echo_n "checking for $ac_word... " >&6; }
   6828 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6829   $as_echo_n "(cached) " >&6
   6830 else
   6831   if test -n "$ac_ct_AR"; then
   6832   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6833 else
   6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6835 for as_dir in $PATH
   6836 do
   6837   IFS=$as_save_IFS
   6838   test -z "$as_dir" && as_dir=.
   6839   for ac_exec_ext in '' $ac_executable_extensions; do
   6840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6841     ac_cv_prog_ac_ct_AR="ar"
   6842     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6843     break 2
   6844   fi
   6845 done
   6846 done
   6847 IFS=$as_save_IFS
   6848 
   6849 fi
   6850 fi
   6851 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6852 if test -n "$ac_ct_AR"; then
   6853   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6854 $as_echo "$ac_ct_AR" >&6; }
   6855 else
   6856   { $as_echo "$as_me:$LINENO: result: no" >&5
   6857 $as_echo "no" >&6; }
   6858 fi
   6859 
   6860   if test "x$ac_ct_AR" = x; then
   6861     AR="false"
   6862   else
   6863     case $cross_compiling:$ac_tool_warned in
   6864 yes:)
   6865 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6867 ac_tool_warned=yes ;;
   6868 esac
   6869     AR=$ac_ct_AR
   6870   fi
   6871 else
   6872   AR="$ac_cv_prog_AR"
   6873 fi
   6874 
   6875 if test -n "$ac_tool_prefix"; then
   6876   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6877 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6879 $as_echo_n "checking for $ac_word... " >&6; }
   6880 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6881   $as_echo_n "(cached) " >&6
   6882 else
   6883   if test -n "$RANLIB"; then
   6884   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6885 else
   6886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6887 for as_dir in $PATH
   6888 do
   6889   IFS=$as_save_IFS
   6890   test -z "$as_dir" && as_dir=.
   6891   for ac_exec_ext in '' $ac_executable_extensions; do
   6892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6893     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6894     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6895     break 2
   6896   fi
   6897 done
   6898 done
   6899 IFS=$as_save_IFS
   6900 
   6901 fi
   6902 fi
   6903 RANLIB=$ac_cv_prog_RANLIB
   6904 if test -n "$RANLIB"; then
   6905   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6906 $as_echo "$RANLIB" >&6; }
   6907 else
   6908   { $as_echo "$as_me:$LINENO: result: no" >&5
   6909 $as_echo "no" >&6; }
   6910 fi
   6911 
   6912 
   6913 fi
   6914 if test -z "$ac_cv_prog_RANLIB"; then
   6915   ac_ct_RANLIB=$RANLIB
   6916   # Extract the first word of "ranlib", so it can be a program name with args.
   6917 set dummy ranlib; ac_word=$2
   6918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6919 $as_echo_n "checking for $ac_word... " >&6; }
   6920 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6921   $as_echo_n "(cached) " >&6
   6922 else
   6923   if test -n "$ac_ct_RANLIB"; then
   6924   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6925 else
   6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6927 for as_dir in $PATH
   6928 do
   6929   IFS=$as_save_IFS
   6930   test -z "$as_dir" && as_dir=.
   6931   for ac_exec_ext in '' $ac_executable_extensions; do
   6932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6933     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6934     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6935     break 2
   6936   fi
   6937 done
   6938 done
   6939 IFS=$as_save_IFS
   6940 
   6941 fi
   6942 fi
   6943 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6944 if test -n "$ac_ct_RANLIB"; then
   6945   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6946 $as_echo "$ac_ct_RANLIB" >&6; }
   6947 else
   6948   { $as_echo "$as_me:$LINENO: result: no" >&5
   6949 $as_echo "no" >&6; }
   6950 fi
   6951 
   6952   if test "x$ac_ct_RANLIB" = x; then
   6953     RANLIB=":"
   6954   else
   6955     case $cross_compiling:$ac_tool_warned in
   6956 yes:)
   6957 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6959 ac_tool_warned=yes ;;
   6960 esac
   6961     RANLIB=$ac_ct_RANLIB
   6962   fi
   6963 else
   6964   RANLIB="$ac_cv_prog_RANLIB"
   6965 fi
   6966 
   6967 if test -n "$ac_tool_prefix"; then
   6968   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6969 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6971 $as_echo_n "checking for $ac_word... " >&6; }
   6972 if test "${ac_cv_prog_STRIP+set}" = set; then
   6973   $as_echo_n "(cached) " >&6
   6974 else
   6975   if test -n "$STRIP"; then
   6976   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6977 else
   6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6979 for as_dir in $PATH
   6980 do
   6981   IFS=$as_save_IFS
   6982   test -z "$as_dir" && as_dir=.
   6983   for ac_exec_ext in '' $ac_executable_extensions; do
   6984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6985     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6986     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6987     break 2
   6988   fi
   6989 done
   6990 done
   6991 IFS=$as_save_IFS
   6992 
   6993 fi
   6994 fi
   6995 STRIP=$ac_cv_prog_STRIP
   6996 if test -n "$STRIP"; then
   6997   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6998 $as_echo "$STRIP" >&6; }
   6999 else
   7000   { $as_echo "$as_me:$LINENO: result: no" >&5
   7001 $as_echo "no" >&6; }
   7002 fi
   7003 
   7004 
   7005 fi
   7006 if test -z "$ac_cv_prog_STRIP"; then
   7007   ac_ct_STRIP=$STRIP
   7008   # Extract the first word of "strip", so it can be a program name with args.
   7009 set dummy strip; ac_word=$2
   7010 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7011 $as_echo_n "checking for $ac_word... " >&6; }
   7012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   if test -n "$ac_ct_STRIP"; then
   7016   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7017 else
   7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7019 for as_dir in $PATH
   7020 do
   7021   IFS=$as_save_IFS
   7022   test -z "$as_dir" && as_dir=.
   7023   for ac_exec_ext in '' $ac_executable_extensions; do
   7024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7025     ac_cv_prog_ac_ct_STRIP="strip"
   7026     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7027     break 2
   7028   fi
   7029 done
   7030 done
   7031 IFS=$as_save_IFS
   7032 
   7033 fi
   7034 fi
   7035 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7036 if test -n "$ac_ct_STRIP"; then
   7037   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7038 $as_echo "$ac_ct_STRIP" >&6; }
   7039 else
   7040   { $as_echo "$as_me:$LINENO: result: no" >&5
   7041 $as_echo "no" >&6; }
   7042 fi
   7043 
   7044   if test "x$ac_ct_STRIP" = x; then
   7045     STRIP=":"
   7046   else
   7047     case $cross_compiling:$ac_tool_warned in
   7048 yes:)
   7049 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7051 ac_tool_warned=yes ;;
   7052 esac
   7053     STRIP=$ac_ct_STRIP
   7054   fi
   7055 else
   7056   STRIP="$ac_cv_prog_STRIP"
   7057 fi
   7058 
   7059 
   7060 old_CC="$CC"
   7061 old_CFLAGS="$CFLAGS"
   7062 
   7063 # Set sane defaults for various variables
   7064 test -z "$AR" && AR=ar
   7065 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7066 test -z "$AS" && AS=as
   7067 test -z "$CC" && CC=cc
   7068 test -z "$LTCC" && LTCC=$CC
   7069 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7070 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7071 test -z "$LD" && LD=ld
   7072 test -z "$LN_S" && LN_S="ln -s"
   7073 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7074 test -z "$NM" && NM=nm
   7075 test -z "$SED" && SED=sed
   7076 test -z "$OBJDUMP" && OBJDUMP=objdump
   7077 test -z "$RANLIB" && RANLIB=:
   7078 test -z "$STRIP" && STRIP=:
   7079 test -z "$ac_objext" && ac_objext=o
   7080 
   7081 # Determine commands to create old-style static archives.
   7082 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7083 old_postinstall_cmds='chmod 644 $oldlib'
   7084 old_postuninstall_cmds=
   7085 
   7086 if test -n "$RANLIB"; then
   7087   case $host_os in
   7088   openbsd*)
   7089     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7090     ;;
   7091   *)
   7092     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7093     ;;
   7094   esac
   7095   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7096 fi
   7097 
   7098 for cc_temp in $compiler""; do
   7099   case $cc_temp in
   7100     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7101     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7102     \-*) ;;
   7103     *) break;;
   7104   esac
   7105 done
   7106 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7107 
   7108 
   7109 # Only perform the check for file, if the check method requires it
   7110 case $deplibs_check_method in
   7111 file_magic*)
   7112   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7113     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7114 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7115 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7116   $as_echo_n "(cached) " >&6
   7117 else
   7118   case $MAGIC_CMD in
   7119 [\\/*] |  ?:[\\/]*)
   7120   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7121   ;;
   7122 *)
   7123   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7124   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7125   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7126   for ac_dir in $ac_dummy; do
   7127     IFS="$lt_save_ifs"
   7128     test -z "$ac_dir" && ac_dir=.
   7129     if test -f $ac_dir/${ac_tool_prefix}file; then
   7130       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7131       if test -n "$file_magic_test_file"; then
   7132 	case $deplibs_check_method in
   7133 	"file_magic "*)
   7134 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7135 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7136 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7137 	    $EGREP "$file_magic_regex" > /dev/null; then
   7138 	    :
   7139 	  else
   7140 	    cat <<EOF 1>&2
   7141 
   7142 *** Warning: the command libtool uses to detect shared libraries,
   7143 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7144 *** The result is that libtool may fail to recognize shared libraries
   7145 *** as such.  This will affect the creation of libtool libraries that
   7146 *** depend on shared libraries, but programs linked with such libtool
   7147 *** libraries will work regardless of this problem.  Nevertheless, you
   7148 *** may want to report the problem to your system manager and/or to
   7149 *** bug-libtool@gnu.org
   7150 
   7151 EOF
   7152 	  fi ;;
   7153 	esac
   7154       fi
   7155       break
   7156     fi
   7157   done
   7158   IFS="$lt_save_ifs"
   7159   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7160   ;;
   7161 esac
   7162 fi
   7163 
   7164 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7165 if test -n "$MAGIC_CMD"; then
   7166   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7167 $as_echo "$MAGIC_CMD" >&6; }
   7168 else
   7169   { $as_echo "$as_me:$LINENO: result: no" >&5
   7170 $as_echo "no" >&6; }
   7171 fi
   7172 
   7173 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7174   if test -n "$ac_tool_prefix"; then
   7175     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7176 $as_echo_n "checking for file... " >&6; }
   7177 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   case $MAGIC_CMD in
   7181 [\\/*] |  ?:[\\/]*)
   7182   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7183   ;;
   7184 *)
   7185   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7186   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7187   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7188   for ac_dir in $ac_dummy; do
   7189     IFS="$lt_save_ifs"
   7190     test -z "$ac_dir" && ac_dir=.
   7191     if test -f $ac_dir/file; then
   7192       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7193       if test -n "$file_magic_test_file"; then
   7194 	case $deplibs_check_method in
   7195 	"file_magic "*)
   7196 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7197 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7198 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7199 	    $EGREP "$file_magic_regex" > /dev/null; then
   7200 	    :
   7201 	  else
   7202 	    cat <<EOF 1>&2
   7203 
   7204 *** Warning: the command libtool uses to detect shared libraries,
   7205 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7206 *** The result is that libtool may fail to recognize shared libraries
   7207 *** as such.  This will affect the creation of libtool libraries that
   7208 *** depend on shared libraries, but programs linked with such libtool
   7209 *** libraries will work regardless of this problem.  Nevertheless, you
   7210 *** may want to report the problem to your system manager and/or to
   7211 *** bug-libtool@gnu.org
   7212 
   7213 EOF
   7214 	  fi ;;
   7215 	esac
   7216       fi
   7217       break
   7218     fi
   7219   done
   7220   IFS="$lt_save_ifs"
   7221   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7222   ;;
   7223 esac
   7224 fi
   7225 
   7226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7227 if test -n "$MAGIC_CMD"; then
   7228   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7229 $as_echo "$MAGIC_CMD" >&6; }
   7230 else
   7231   { $as_echo "$as_me:$LINENO: result: no" >&5
   7232 $as_echo "no" >&6; }
   7233 fi
   7234 
   7235   else
   7236     MAGIC_CMD=:
   7237   fi
   7238 fi
   7239 
   7240   fi
   7241   ;;
   7242 esac
   7243 
   7244 
   7245   case $host_os in
   7246     rhapsody* | darwin*)
   7247     if test -n "$ac_tool_prefix"; then
   7248   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7249 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7251 $as_echo_n "checking for $ac_word... " >&6; }
   7252 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7253   $as_echo_n "(cached) " >&6
   7254 else
   7255   if test -n "$DSYMUTIL"; then
   7256   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7257 else
   7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7259 for as_dir in $PATH
   7260 do
   7261   IFS=$as_save_IFS
   7262   test -z "$as_dir" && as_dir=.
   7263   for ac_exec_ext in '' $ac_executable_extensions; do
   7264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7265     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7266     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7267     break 2
   7268   fi
   7269 done
   7270 done
   7271 IFS=$as_save_IFS
   7272 
   7273 fi
   7274 fi
   7275 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7276 if test -n "$DSYMUTIL"; then
   7277   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7278 $as_echo "$DSYMUTIL" >&6; }
   7279 else
   7280   { $as_echo "$as_me:$LINENO: result: no" >&5
   7281 $as_echo "no" >&6; }
   7282 fi
   7283 
   7284 
   7285 fi
   7286 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7287   ac_ct_DSYMUTIL=$DSYMUTIL
   7288   # Extract the first word of "dsymutil", so it can be a program name with args.
   7289 set dummy dsymutil; ac_word=$2
   7290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7291 $as_echo_n "checking for $ac_word... " >&6; }
   7292 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7293   $as_echo_n "(cached) " >&6
   7294 else
   7295   if test -n "$ac_ct_DSYMUTIL"; then
   7296   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7297 else
   7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7299 for as_dir in $PATH
   7300 do
   7301   IFS=$as_save_IFS
   7302   test -z "$as_dir" && as_dir=.
   7303   for ac_exec_ext in '' $ac_executable_extensions; do
   7304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7305     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7306     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7307     break 2
   7308   fi
   7309 done
   7310 done
   7311 IFS=$as_save_IFS
   7312 
   7313 fi
   7314 fi
   7315 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7316 if test -n "$ac_ct_DSYMUTIL"; then
   7317   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7318 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7319 else
   7320   { $as_echo "$as_me:$LINENO: result: no" >&5
   7321 $as_echo "no" >&6; }
   7322 fi
   7323 
   7324   if test "x$ac_ct_DSYMUTIL" = x; then
   7325     DSYMUTIL=":"
   7326   else
   7327     case $cross_compiling:$ac_tool_warned in
   7328 yes:)
   7329 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7331 ac_tool_warned=yes ;;
   7332 esac
   7333     DSYMUTIL=$ac_ct_DSYMUTIL
   7334   fi
   7335 else
   7336   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7337 fi
   7338 
   7339     if test -n "$ac_tool_prefix"; then
   7340   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7341 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7342 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7343 $as_echo_n "checking for $ac_word... " >&6; }
   7344 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   if test -n "$NMEDIT"; then
   7348   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7349 else
   7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7351 for as_dir in $PATH
   7352 do
   7353   IFS=$as_save_IFS
   7354   test -z "$as_dir" && as_dir=.
   7355   for ac_exec_ext in '' $ac_executable_extensions; do
   7356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7357     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7358     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7359     break 2
   7360   fi
   7361 done
   7362 done
   7363 IFS=$as_save_IFS
   7364 
   7365 fi
   7366 fi
   7367 NMEDIT=$ac_cv_prog_NMEDIT
   7368 if test -n "$NMEDIT"; then
   7369   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7370 $as_echo "$NMEDIT" >&6; }
   7371 else
   7372   { $as_echo "$as_me:$LINENO: result: no" >&5
   7373 $as_echo "no" >&6; }
   7374 fi
   7375 
   7376 
   7377 fi
   7378 if test -z "$ac_cv_prog_NMEDIT"; then
   7379   ac_ct_NMEDIT=$NMEDIT
   7380   # Extract the first word of "nmedit", so it can be a program name with args.
   7381 set dummy nmedit; ac_word=$2
   7382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7383 $as_echo_n "checking for $ac_word... " >&6; }
   7384 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7385   $as_echo_n "(cached) " >&6
   7386 else
   7387   if test -n "$ac_ct_NMEDIT"; then
   7388   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7389 else
   7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7391 for as_dir in $PATH
   7392 do
   7393   IFS=$as_save_IFS
   7394   test -z "$as_dir" && as_dir=.
   7395   for ac_exec_ext in '' $ac_executable_extensions; do
   7396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7397     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7398     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7399     break 2
   7400   fi
   7401 done
   7402 done
   7403 IFS=$as_save_IFS
   7404 
   7405 fi
   7406 fi
   7407 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7408 if test -n "$ac_ct_NMEDIT"; then
   7409   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7410 $as_echo "$ac_ct_NMEDIT" >&6; }
   7411 else
   7412   { $as_echo "$as_me:$LINENO: result: no" >&5
   7413 $as_echo "no" >&6; }
   7414 fi
   7415 
   7416   if test "x$ac_ct_NMEDIT" = x; then
   7417     NMEDIT=":"
   7418   else
   7419     case $cross_compiling:$ac_tool_warned in
   7420 yes:)
   7421 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7423 ac_tool_warned=yes ;;
   7424 esac
   7425     NMEDIT=$ac_ct_NMEDIT
   7426   fi
   7427 else
   7428   NMEDIT="$ac_cv_prog_NMEDIT"
   7429 fi
   7430 
   7431 
   7432     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7433 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7434 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7435   $as_echo_n "(cached) " >&6
   7436 else
   7437   lt_cv_apple_cc_single_mod=no
   7438       if test -z "${LT_MULTI_MODULE}"; then
   7439    # By default we will add the -single_module flag. You can override
   7440    # by either setting the environment variable LT_MULTI_MODULE
   7441    # non-empty at configure time, or by adding -multi_module to the
   7442    # link flags.
   7443    echo "int foo(void){return 1;}" > conftest.c
   7444    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7445      -dynamiclib ${wl}-single_module conftest.c
   7446    if test -f libconftest.dylib; then
   7447      lt_cv_apple_cc_single_mod=yes
   7448      rm -rf libconftest.dylib*
   7449    fi
   7450    rm conftest.c
   7451       fi
   7452 fi
   7453 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7454 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7455     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7456 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7457 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7458   $as_echo_n "(cached) " >&6
   7459 else
   7460   lt_cv_ld_exported_symbols_list=no
   7461       save_LDFLAGS=$LDFLAGS
   7462       echo "_main" > conftest.sym
   7463       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7464       cat >conftest.$ac_ext <<_ACEOF
   7465 /* confdefs.h.  */
   7466 _ACEOF
   7467 cat confdefs.h >>conftest.$ac_ext
   7468 cat >>conftest.$ac_ext <<_ACEOF
   7469 /* end confdefs.h.  */
   7470 
   7471 int
   7472 main ()
   7473 {
   7474 
   7475   ;
   7476   return 0;
   7477 }
   7478 _ACEOF
   7479 rm -f conftest.$ac_objext conftest$ac_exeext
   7480 if { (ac_try="$ac_link"
   7481 case "(($ac_try" in
   7482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7483   *) ac_try_echo=$ac_try;;
   7484 esac
   7485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7486 $as_echo "$ac_try_echo") >&5
   7487   (eval "$ac_link") 2>conftest.er1
   7488   ac_status=$?
   7489   grep -v '^ *+' conftest.er1 >conftest.err
   7490   rm -f conftest.er1
   7491   cat conftest.err >&5
   7492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7493   (exit $ac_status); } && {
   7494 	 test -z "$ac_c_werror_flag" ||
   7495 	 test ! -s conftest.err
   7496        } && test -s conftest$ac_exeext && {
   7497 	 test "$cross_compiling" = yes ||
   7498 	 $as_test_x conftest$ac_exeext
   7499        }; then
   7500   lt_cv_ld_exported_symbols_list=yes
   7501 else
   7502   $as_echo "$as_me: failed program was:" >&5
   7503 sed 's/^/| /' conftest.$ac_ext >&5
   7504 
   7505 	lt_cv_ld_exported_symbols_list=no
   7506 fi
   7507 
   7508 rm -rf conftest.dSYM
   7509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7510       conftest$ac_exeext conftest.$ac_ext
   7511    LDFLAGS="$save_LDFLAGS"
   7512 
   7513 fi
   7514 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7515 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7516     case $host_os in
   7517     rhapsody* | darwin1.[0123])
   7518       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7519     darwin1.*)
   7520      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7521     darwin*)
   7522       # if running on 10.5 or later, the deployment target defaults
   7523       # to the OS version, if on x86, and 10.4, the deployment
   7524       # target defaults to 10.4. Don't you love it?
   7525       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7526    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7527      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7528    10.[012]*)
   7529      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7530    10.*)
   7531      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7532       esac
   7533     ;;
   7534   esac
   7535     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7536       _lt_dar_single_mod='$single_module'
   7537     fi
   7538     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7539       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7540     else
   7541       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7542     fi
   7543     if test "$DSYMUTIL" != ":"; then
   7544       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7545     else
   7546       _lt_dsymutil=
   7547     fi
   7548     ;;
   7549   esac
   7550 
   7551 
   7552 enable_dlopen=no
   7553 enable_win32_dll=no
   7554 
   7555 # Check whether --enable-libtool-lock was given.
   7556 if test "${enable_libtool_lock+set}" = set; then
   7557   enableval=$enable_libtool_lock;
   7558 fi
   7559 
   7560 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7561 
   7562 
   7563 # Check whether --with-pic was given.
   7564 if test "${with_pic+set}" = set; then
   7565   withval=$with_pic; pic_mode="$withval"
   7566 else
   7567   pic_mode=default
   7568 fi
   7569 
   7570 test -z "$pic_mode" && pic_mode=default
   7571 
   7572 # Use C for the default configuration in the libtool script
   7573 tagname=
   7574 lt_save_CC="$CC"
   7575 ac_ext=c
   7576 ac_cpp='$CPP $CPPFLAGS'
   7577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7580 
   7581 
   7582 # Source file extension for C test sources.
   7583 ac_ext=c
   7584 
   7585 # Object file extension for compiled C test sources.
   7586 objext=o
   7587 objext=$objext
   7588 
   7589 # Code to be used in simple compile tests
   7590 lt_simple_compile_test_code="int some_variable = 0;"
   7591 
   7592 # Code to be used in simple link tests
   7593 lt_simple_link_test_code='int main(){return(0);}'
   7594 
   7595 
   7596 # If no C compiler was specified, use CC.
   7597 LTCC=${LTCC-"$CC"}
   7598 
   7599 # If no C compiler flags were specified, use CFLAGS.
   7600 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7601 
   7602 # Allow CC to be a program name with arguments.
   7603 compiler=$CC
   7604 
   7605 
   7606 # save warnings/boilerplate of simple test code
   7607 ac_outfile=conftest.$ac_objext
   7608 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7609 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7610 _lt_compiler_boilerplate=`cat conftest.err`
   7611 $rm conftest*
   7612 
   7613 ac_outfile=conftest.$ac_objext
   7614 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7615 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7616 _lt_linker_boilerplate=`cat conftest.err`
   7617 $rm -r conftest*
   7618 
   7619 
   7620 
   7621 lt_prog_compiler_no_builtin_flag=
   7622 
   7623 if test "$GCC" = yes; then
   7624   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7625 
   7626 
   7627 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7628 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7629 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   lt_cv_prog_compiler_rtti_exceptions=no
   7633   ac_outfile=conftest.$ac_objext
   7634    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7635    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7636    # Insert the option either (1) after the last *FLAGS variable, or
   7637    # (2) before a word containing "conftest.", or (3) at the end.
   7638    # Note that $ac_compile itself does not contain backslashes and begins
   7639    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7640    # The option is referenced via a variable to avoid confusing sed.
   7641    lt_compile=`echo "$ac_compile" | $SED \
   7642    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7643    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7644    -e 's:$: $lt_compiler_flag:'`
   7645    (eval echo "\"\$as_me:7645: $lt_compile\"" >&5)
   7646    (eval "$lt_compile" 2>conftest.err)
   7647    ac_status=$?
   7648    cat conftest.err >&5
   7649    echo "$as_me:7649: \$? = $ac_status" >&5
   7650    if (exit $ac_status) && test -s "$ac_outfile"; then
   7651      # The compiler can only warn and ignore the option if not recognized
   7652      # So say no if there are warnings other than the usual output.
   7653      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7654      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7655      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7656        lt_cv_prog_compiler_rtti_exceptions=yes
   7657      fi
   7658    fi
   7659    $rm conftest*
   7660 
   7661 fi
   7662 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7663 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7664 
   7665 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7666     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7667 else
   7668     :
   7669 fi
   7670 
   7671 fi
   7672 
   7673 lt_prog_compiler_wl=
   7674 lt_prog_compiler_pic=
   7675 lt_prog_compiler_static=
   7676 
   7677 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7679 
   7680   if test "$GCC" = yes; then
   7681     lt_prog_compiler_wl='-Wl,'
   7682     lt_prog_compiler_static='-static'
   7683 
   7684     case $host_os in
   7685       aix*)
   7686       # All AIX code is PIC.
   7687       if test "$host_cpu" = ia64; then
   7688 	# AIX 5 now supports IA64 processor
   7689 	lt_prog_compiler_static='-Bstatic'
   7690       fi
   7691       ;;
   7692 
   7693     amigaos*)
   7694       # FIXME: we need at least 68020 code to build shared libraries, but
   7695       # adding the `-m68020' flag to GCC prevents building anything better,
   7696       # like `-m68040'.
   7697       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7698       ;;
   7699 
   7700     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7701       # PIC is the default for these OSes.
   7702       ;;
   7703 
   7704     mingw* | cygwin* | pw32* | os2*)
   7705       # This hack is so that the source file can tell whether it is being
   7706       # built for inclusion in a dll (and should export symbols for example).
   7707       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7708       # (--disable-auto-import) libraries
   7709       lt_prog_compiler_pic='-DDLL_EXPORT'
   7710       ;;
   7711 
   7712     darwin* | rhapsody*)
   7713       # PIC is the default on this platform
   7714       # Common symbols not allowed in MH_DYLIB files
   7715       lt_prog_compiler_pic='-fno-common'
   7716       ;;
   7717 
   7718     interix[3-9]*)
   7719       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7720       # Instead, we relocate shared libraries at runtime.
   7721       ;;
   7722 
   7723     msdosdjgpp*)
   7724       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7725       # on systems that don't support them.
   7726       lt_prog_compiler_can_build_shared=no
   7727       enable_shared=no
   7728       ;;
   7729 
   7730     sysv4*MP*)
   7731       if test -d /usr/nec; then
   7732 	lt_prog_compiler_pic=-Kconform_pic
   7733       fi
   7734       ;;
   7735 
   7736     hpux*)
   7737       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7738       # not for PA HP-UX.
   7739       case $host_cpu in
   7740       hppa*64*|ia64*)
   7741 	# +Z the default
   7742 	;;
   7743       *)
   7744 	lt_prog_compiler_pic='-fPIC'
   7745 	;;
   7746       esac
   7747       ;;
   7748 
   7749     *)
   7750       lt_prog_compiler_pic='-fPIC'
   7751       ;;
   7752     esac
   7753   else
   7754     # PORTME Check for flag to pass linker flags through the system compiler.
   7755     case $host_os in
   7756     aix*)
   7757       lt_prog_compiler_wl='-Wl,'
   7758       if test "$host_cpu" = ia64; then
   7759 	# AIX 5 now supports IA64 processor
   7760 	lt_prog_compiler_static='-Bstatic'
   7761       else
   7762 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7763       fi
   7764       ;;
   7765       darwin*)
   7766         # PIC is the default on this platform
   7767         # Common symbols not allowed in MH_DYLIB files
   7768        case $cc_basename in
   7769          xlc*)
   7770          lt_prog_compiler_pic='-qnocommon'
   7771          lt_prog_compiler_wl='-Wl,'
   7772          ;;
   7773        esac
   7774        ;;
   7775 
   7776     mingw* | cygwin* | pw32* | os2*)
   7777       # This hack is so that the source file can tell whether it is being
   7778       # built for inclusion in a dll (and should export symbols for example).
   7779       lt_prog_compiler_pic='-DDLL_EXPORT'
   7780       ;;
   7781 
   7782     hpux9* | hpux10* | hpux11*)
   7783       lt_prog_compiler_wl='-Wl,'
   7784       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7785       # not for PA HP-UX.
   7786       case $host_cpu in
   7787       hppa*64*|ia64*)
   7788 	# +Z the default
   7789 	;;
   7790       *)
   7791 	lt_prog_compiler_pic='+Z'
   7792 	;;
   7793       esac
   7794       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7795       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7796       ;;
   7797 
   7798     irix5* | irix6* | nonstopux*)
   7799       lt_prog_compiler_wl='-Wl,'
   7800       # PIC (with -KPIC) is the default.
   7801       lt_prog_compiler_static='-non_shared'
   7802       ;;
   7803 
   7804     newsos6)
   7805       lt_prog_compiler_pic='-KPIC'
   7806       lt_prog_compiler_static='-Bstatic'
   7807       ;;
   7808 
   7809     linux* | k*bsd*-gnu)
   7810       case $cc_basename in
   7811       icc* | ecc*)
   7812 	lt_prog_compiler_wl='-Wl,'
   7813 	lt_prog_compiler_pic='-KPIC'
   7814 	lt_prog_compiler_static='-static'
   7815         ;;
   7816       pgcc* | pgf77* | pgf90* | pgf95*)
   7817         # Portland Group compilers (*not* the Pentium gcc compiler,
   7818 	# which looks to be a dead project)
   7819 	lt_prog_compiler_wl='-Wl,'
   7820 	lt_prog_compiler_pic='-fpic'
   7821 	lt_prog_compiler_static='-Bstatic'
   7822         ;;
   7823       ccc*)
   7824         lt_prog_compiler_wl='-Wl,'
   7825         # All Alpha code is PIC.
   7826         lt_prog_compiler_static='-non_shared'
   7827         ;;
   7828       *)
   7829         case `$CC -V 2>&1 | sed 5q` in
   7830 	*Sun\ C*)
   7831 	  # Sun C 5.9
   7832 	  lt_prog_compiler_pic='-KPIC'
   7833 	  lt_prog_compiler_static='-Bstatic'
   7834 	  lt_prog_compiler_wl='-Wl,'
   7835 	  ;;
   7836 	*Sun\ F*)
   7837 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7838 	  lt_prog_compiler_pic='-KPIC'
   7839 	  lt_prog_compiler_static='-Bstatic'
   7840 	  lt_prog_compiler_wl=''
   7841 	  ;;
   7842 	esac
   7843 	;;
   7844       esac
   7845       ;;
   7846 
   7847     osf3* | osf4* | osf5*)
   7848       lt_prog_compiler_wl='-Wl,'
   7849       # All OSF/1 code is PIC.
   7850       lt_prog_compiler_static='-non_shared'
   7851       ;;
   7852 
   7853     rdos*)
   7854       lt_prog_compiler_static='-non_shared'
   7855       ;;
   7856 
   7857     solaris*)
   7858       lt_prog_compiler_pic='-KPIC'
   7859       lt_prog_compiler_static='-Bstatic'
   7860       case $cc_basename in
   7861       f77* | f90* | f95*)
   7862 	lt_prog_compiler_wl='-Qoption ld ';;
   7863       *)
   7864 	lt_prog_compiler_wl='-Wl,';;
   7865       esac
   7866       ;;
   7867 
   7868     sunos4*)
   7869       lt_prog_compiler_wl='-Qoption ld '
   7870       lt_prog_compiler_pic='-PIC'
   7871       lt_prog_compiler_static='-Bstatic'
   7872       ;;
   7873 
   7874     sysv4 | sysv4.2uw2* | sysv4.3*)
   7875       lt_prog_compiler_wl='-Wl,'
   7876       lt_prog_compiler_pic='-KPIC'
   7877       lt_prog_compiler_static='-Bstatic'
   7878       ;;
   7879 
   7880     sysv4*MP*)
   7881       if test -d /usr/nec ;then
   7882 	lt_prog_compiler_pic='-Kconform_pic'
   7883 	lt_prog_compiler_static='-Bstatic'
   7884       fi
   7885       ;;
   7886 
   7887     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7888       lt_prog_compiler_wl='-Wl,'
   7889       lt_prog_compiler_pic='-KPIC'
   7890       lt_prog_compiler_static='-Bstatic'
   7891       ;;
   7892 
   7893     unicos*)
   7894       lt_prog_compiler_wl='-Wl,'
   7895       lt_prog_compiler_can_build_shared=no
   7896       ;;
   7897 
   7898     uts4*)
   7899       lt_prog_compiler_pic='-pic'
   7900       lt_prog_compiler_static='-Bstatic'
   7901       ;;
   7902 
   7903     *)
   7904       lt_prog_compiler_can_build_shared=no
   7905       ;;
   7906     esac
   7907   fi
   7908 
   7909 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7910 $as_echo "$lt_prog_compiler_pic" >&6; }
   7911 
   7912 #
   7913 # Check to make sure the PIC flag actually works.
   7914 #
   7915 if test -n "$lt_prog_compiler_pic"; then
   7916 
   7917 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7918 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7919 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7920   $as_echo_n "(cached) " >&6
   7921 else
   7922   lt_cv_prog_compiler_pic_works=no
   7923   ac_outfile=conftest.$ac_objext
   7924    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7925    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7926    # Insert the option either (1) after the last *FLAGS variable, or
   7927    # (2) before a word containing "conftest.", or (3) at the end.
   7928    # Note that $ac_compile itself does not contain backslashes and begins
   7929    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7930    # The option is referenced via a variable to avoid confusing sed.
   7931    lt_compile=`echo "$ac_compile" | $SED \
   7932    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7933    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7934    -e 's:$: $lt_compiler_flag:'`
   7935    (eval echo "\"\$as_me:7935: $lt_compile\"" >&5)
   7936    (eval "$lt_compile" 2>conftest.err)
   7937    ac_status=$?
   7938    cat conftest.err >&5
   7939    echo "$as_me:7939: \$? = $ac_status" >&5
   7940    if (exit $ac_status) && test -s "$ac_outfile"; then
   7941      # The compiler can only warn and ignore the option if not recognized
   7942      # So say no if there are warnings other than the usual output.
   7943      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7944      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7945      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7946        lt_cv_prog_compiler_pic_works=yes
   7947      fi
   7948    fi
   7949    $rm conftest*
   7950 
   7951 fi
   7952 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7953 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7954 
   7955 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7956     case $lt_prog_compiler_pic in
   7957      "" | " "*) ;;
   7958      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7959      esac
   7960 else
   7961     lt_prog_compiler_pic=
   7962      lt_prog_compiler_can_build_shared=no
   7963 fi
   7964 
   7965 fi
   7966 case $host_os in
   7967   # For platforms which do not support PIC, -DPIC is meaningless:
   7968   *djgpp*)
   7969     lt_prog_compiler_pic=
   7970     ;;
   7971   *)
   7972     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7973     ;;
   7974 esac
   7975 
   7976 #
   7977 # Check to make sure the static flag actually works.
   7978 #
   7979 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7980 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7981 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7982 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   lt_cv_prog_compiler_static_works=no
   7986    save_LDFLAGS="$LDFLAGS"
   7987    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7988    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7989    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7990      # The linker can only warn and ignore the option if not recognized
   7991      # So say no if there are warnings
   7992      if test -s conftest.err; then
   7993        # Append any errors to the config.log.
   7994        cat conftest.err 1>&5
   7995        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7996        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7997        if diff conftest.exp conftest.er2 >/dev/null; then
   7998          lt_cv_prog_compiler_static_works=yes
   7999        fi
   8000      else
   8001        lt_cv_prog_compiler_static_works=yes
   8002      fi
   8003    fi
   8004    $rm -r conftest*
   8005    LDFLAGS="$save_LDFLAGS"
   8006 
   8007 fi
   8008 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8009 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8010 
   8011 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8012     :
   8013 else
   8014     lt_prog_compiler_static=
   8015 fi
   8016 
   8017 
   8018 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8019 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8020 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   lt_cv_prog_compiler_c_o=no
   8024    $rm -r conftest 2>/dev/null
   8025    mkdir conftest
   8026    cd conftest
   8027    mkdir out
   8028    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8029 
   8030    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8031    # Insert the option either (1) after the last *FLAGS variable, or
   8032    # (2) before a word containing "conftest.", or (3) at the end.
   8033    # Note that $ac_compile itself does not contain backslashes and begins
   8034    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8035    lt_compile=`echo "$ac_compile" | $SED \
   8036    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8037    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8038    -e 's:$: $lt_compiler_flag:'`
   8039    (eval echo "\"\$as_me:8039: $lt_compile\"" >&5)
   8040    (eval "$lt_compile" 2>out/conftest.err)
   8041    ac_status=$?
   8042    cat out/conftest.err >&5
   8043    echo "$as_me:8043: \$? = $ac_status" >&5
   8044    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8045    then
   8046      # The compiler can only warn and ignore the option if not recognized
   8047      # So say no if there are warnings
   8048      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8049      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8050      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8051        lt_cv_prog_compiler_c_o=yes
   8052      fi
   8053    fi
   8054    chmod u+w . 2>&5
   8055    $rm conftest*
   8056    # SGI C++ compiler will create directory out/ii_files/ for
   8057    # template instantiation
   8058    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8059    $rm out/* && rmdir out
   8060    cd ..
   8061    rmdir conftest
   8062    $rm conftest*
   8063 
   8064 fi
   8065 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8066 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8067 
   8068 
   8069 hard_links="nottested"
   8070 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8071   # do not overwrite the value of need_locks provided by the user
   8072   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8073 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8074   hard_links=yes
   8075   $rm conftest*
   8076   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8077   touch conftest.a
   8078   ln conftest.a conftest.b 2>&5 || hard_links=no
   8079   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8080   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8081 $as_echo "$hard_links" >&6; }
   8082   if test "$hard_links" = no; then
   8083     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8084 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8085     need_locks=warn
   8086   fi
   8087 else
   8088   need_locks=no
   8089 fi
   8090 
   8091 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8092 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8093 
   8094   runpath_var=
   8095   allow_undefined_flag=
   8096   enable_shared_with_static_runtimes=no
   8097   archive_cmds=
   8098   archive_expsym_cmds=
   8099   old_archive_From_new_cmds=
   8100   old_archive_from_expsyms_cmds=
   8101   export_dynamic_flag_spec=
   8102   whole_archive_flag_spec=
   8103   thread_safe_flag_spec=
   8104   hardcode_libdir_flag_spec=
   8105   hardcode_libdir_flag_spec_ld=
   8106   hardcode_libdir_separator=
   8107   hardcode_direct=no
   8108   hardcode_minus_L=no
   8109   hardcode_shlibpath_var=unsupported
   8110   link_all_deplibs=unknown
   8111   hardcode_automatic=no
   8112   module_cmds=
   8113   module_expsym_cmds=
   8114   always_export_symbols=no
   8115   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8116   # include_expsyms should be a list of space-separated symbols to be *always*
   8117   # included in the symbol list
   8118   include_expsyms=
   8119   # exclude_expsyms can be an extended regexp of symbols to exclude
   8120   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8121   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8122   # as well as any symbol that contains `d'.
   8123   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8124   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8125   # platforms (ab)use it in PIC code, but their linkers get confused if
   8126   # the symbol is explicitly referenced.  Since portable code cannot
   8127   # rely on this symbol name, it's probably fine to never include it in
   8128   # preloaded symbol tables.
   8129   # Exclude shared library initialization/finalization symbols.
   8130   extract_expsyms_cmds=
   8131   # Just being paranoid about ensuring that cc_basename is set.
   8132   for cc_temp in $compiler""; do
   8133   case $cc_temp in
   8134     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8135     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8136     \-*) ;;
   8137     *) break;;
   8138   esac
   8139 done
   8140 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8141 
   8142   case $host_os in
   8143   cygwin* | mingw* | pw32*)
   8144     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8145     # When not using gcc, we currently assume that we are using
   8146     # Microsoft Visual C++.
   8147     if test "$GCC" != yes; then
   8148       with_gnu_ld=no
   8149     fi
   8150     ;;
   8151   interix*)
   8152     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8153     with_gnu_ld=yes
   8154     ;;
   8155   openbsd*)
   8156     with_gnu_ld=no
   8157     ;;
   8158   esac
   8159 
   8160   ld_shlibs=yes
   8161   if test "$with_gnu_ld" = yes; then
   8162     # If archive_cmds runs LD, not CC, wlarc should be empty
   8163     wlarc='${wl}'
   8164 
   8165     # Set some defaults for GNU ld with shared library support. These
   8166     # are reset later if shared libraries are not supported. Putting them
   8167     # here allows them to be overridden if necessary.
   8168     runpath_var=LD_RUN_PATH
   8169     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8170     export_dynamic_flag_spec='${wl}--export-dynamic'
   8171     # ancient GNU ld didn't support --whole-archive et. al.
   8172     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8173 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8174       else
   8175   	whole_archive_flag_spec=
   8176     fi
   8177     supports_anon_versioning=no
   8178     case `$LD -v 2>/dev/null` in
   8179       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8180       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8181       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8182       *\ 2.11.*) ;; # other 2.11 versions
   8183       *) supports_anon_versioning=yes ;;
   8184     esac
   8185 
   8186     # See if GNU ld supports shared libraries.
   8187     case $host_os in
   8188     aix[3-9]*)
   8189       # On AIX/PPC, the GNU linker is very broken
   8190       if test "$host_cpu" != ia64; then
   8191 	ld_shlibs=no
   8192 	cat <<EOF 1>&2
   8193 
   8194 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8195 *** to be unable to reliably create shared libraries on AIX.
   8196 *** Therefore, libtool is disabling shared libraries support.  If you
   8197 *** really care for shared libraries, you may want to modify your PATH
   8198 *** so that a non-GNU linker is found, and then restart.
   8199 
   8200 EOF
   8201       fi
   8202       ;;
   8203 
   8204     amigaos*)
   8205       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)'
   8206       hardcode_libdir_flag_spec='-L$libdir'
   8207       hardcode_minus_L=yes
   8208 
   8209       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8210       # that the semantics of dynamic libraries on AmigaOS, at least up
   8211       # to version 4, is to share data among multiple programs linked
   8212       # with the same dynamic library.  Since this doesn't match the
   8213       # behavior of shared libraries on other platforms, we can't use
   8214       # them.
   8215       ld_shlibs=no
   8216       ;;
   8217 
   8218     beos*)
   8219       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8220 	allow_undefined_flag=unsupported
   8221 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8222 	# support --undefined.  This deserves some investigation.  FIXME
   8223 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8224       else
   8225 	ld_shlibs=no
   8226       fi
   8227       ;;
   8228 
   8229     cygwin* | mingw* | pw32*)
   8230       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8231       # as there is no search path for DLLs.
   8232       hardcode_libdir_flag_spec='-L$libdir'
   8233       allow_undefined_flag=unsupported
   8234       always_export_symbols=no
   8235       enable_shared_with_static_runtimes=yes
   8236       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8237 
   8238       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8239         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8240 	# If the export-symbols file already is a .def file (1st line
   8241 	# is EXPORTS), use it as is; otherwise, prepend...
   8242 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8243 	  cp $export_symbols $output_objdir/$soname.def;
   8244 	else
   8245 	  echo EXPORTS > $output_objdir/$soname.def;
   8246 	  cat $export_symbols >> $output_objdir/$soname.def;
   8247 	fi~
   8248 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8249       else
   8250 	ld_shlibs=no
   8251       fi
   8252       ;;
   8253 
   8254     interix[3-9]*)
   8255       hardcode_direct=no
   8256       hardcode_shlibpath_var=no
   8257       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8258       export_dynamic_flag_spec='${wl}-E'
   8259       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8260       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8261       # default) and relocated if they conflict, which is a slow very memory
   8262       # consuming and fragmenting process.  To avoid this, we pick a random,
   8263       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8264       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8265       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8266       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'
   8267       ;;
   8268 
   8269     gnu* | linux* | k*bsd*-gnu)
   8270       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8271 	tmp_addflag=
   8272 	case $cc_basename,$host_cpu in
   8273 	pgcc*)				# Portland Group C compiler
   8274 	  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'
   8275 	  tmp_addflag=' $pic_flag'
   8276 	  ;;
   8277 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8278 	  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'
   8279 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8280 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8281 	  tmp_addflag=' -i_dynamic' ;;
   8282 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8283 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8284 	ifc* | ifort*)			# Intel Fortran compiler
   8285 	  tmp_addflag=' -nofor_main' ;;
   8286 	esac
   8287 	case `$CC -V 2>&1 | sed 5q` in
   8288 	*Sun\ C*)			# Sun C 5.9
   8289 	  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'
   8290 	  tmp_sharedflag='-G' ;;
   8291 	*Sun\ F*)			# Sun Fortran 8.3
   8292 	  tmp_sharedflag='-G' ;;
   8293 	*)
   8294 	  tmp_sharedflag='-shared' ;;
   8295 	esac
   8296 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8297 
   8298 	if test $supports_anon_versioning = yes; then
   8299 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8300   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8301   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8302 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8303 	fi
   8304       else
   8305 	ld_shlibs=no
   8306       fi
   8307       ;;
   8308 
   8309     netbsd*)
   8310       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8311 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8312 	wlarc=
   8313       else
   8314 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8315 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8316       fi
   8317       ;;
   8318 
   8319     solaris*)
   8320       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8321 	ld_shlibs=no
   8322 	cat <<EOF 1>&2
   8323 
   8324 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8325 *** create shared libraries on Solaris systems.  Therefore, libtool
   8326 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8327 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8328 *** your PATH or compiler configuration so that the native linker is
   8329 *** used, and then restart.
   8330 
   8331 EOF
   8332       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8333 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8334 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8335       else
   8336 	ld_shlibs=no
   8337       fi
   8338       ;;
   8339 
   8340     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8341       case `$LD -v 2>&1` in
   8342         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8343 	ld_shlibs=no
   8344 	cat <<_LT_EOF 1>&2
   8345 
   8346 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8347 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8348 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8349 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8350 *** your PATH or compiler configuration so that the native linker is
   8351 *** used, and then restart.
   8352 
   8353 _LT_EOF
   8354 	;;
   8355 	*)
   8356 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8357 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8358 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8359 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8360 	  else
   8361 	    ld_shlibs=no
   8362 	  fi
   8363 	;;
   8364       esac
   8365       ;;
   8366 
   8367     sunos4*)
   8368       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8369       wlarc=
   8370       hardcode_direct=yes
   8371       hardcode_shlibpath_var=no
   8372       ;;
   8373 
   8374     *)
   8375       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8376 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8377 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8378       else
   8379 	ld_shlibs=no
   8380       fi
   8381       ;;
   8382     esac
   8383 
   8384     if test "$ld_shlibs" = no; then
   8385       runpath_var=
   8386       hardcode_libdir_flag_spec=
   8387       export_dynamic_flag_spec=
   8388       whole_archive_flag_spec=
   8389     fi
   8390   else
   8391     # PORTME fill in a description of your system's linker (not GNU ld)
   8392     case $host_os in
   8393     aix3*)
   8394       allow_undefined_flag=unsupported
   8395       always_export_symbols=yes
   8396       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'
   8397       # Note: this linker hardcodes the directories in LIBPATH if there
   8398       # are no directories specified by -L.
   8399       hardcode_minus_L=yes
   8400       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8401 	# Neither direct hardcoding nor static linking is supported with a
   8402 	# broken collect2.
   8403 	hardcode_direct=unsupported
   8404       fi
   8405       ;;
   8406 
   8407     aix[4-9]*)
   8408       if test "$host_cpu" = ia64; then
   8409 	# On IA64, the linker does run time linking by default, so we don't
   8410 	# have to do anything special.
   8411 	aix_use_runtimelinking=no
   8412 	exp_sym_flag='-Bexport'
   8413 	no_entry_flag=""
   8414       else
   8415 	# If we're using GNU nm, then we don't want the "-C" option.
   8416 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8417 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8418 	  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'
   8419 	else
   8420 	  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'
   8421 	fi
   8422 	aix_use_runtimelinking=no
   8423 
   8424 	# Test if we are trying to use run time linking or normal
   8425 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8426 	# need to do runtime linking.
   8427 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8428 	  for ld_flag in $LDFLAGS; do
   8429   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8430   	    aix_use_runtimelinking=yes
   8431   	    break
   8432   	  fi
   8433 	  done
   8434 	  ;;
   8435 	esac
   8436 
   8437 	exp_sym_flag='-bexport'
   8438 	no_entry_flag='-bnoentry'
   8439       fi
   8440 
   8441       # When large executables or shared objects are built, AIX ld can
   8442       # have problems creating the table of contents.  If linking a library
   8443       # or program results in "error TOC overflow" add -mminimal-toc to
   8444       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8445       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8446 
   8447       archive_cmds=''
   8448       hardcode_direct=yes
   8449       hardcode_libdir_separator=':'
   8450       link_all_deplibs=yes
   8451 
   8452       if test "$GCC" = yes; then
   8453 	case $host_os in aix4.[012]|aix4.[012].*)
   8454 	# We only want to do this on AIX 4.2 and lower, the check
   8455 	# below for broken collect2 doesn't work under 4.3+
   8456 	  collect2name=`${CC} -print-prog-name=collect2`
   8457 	  if test -f "$collect2name" && \
   8458   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8459 	  then
   8460   	  # We have reworked collect2
   8461   	  :
   8462 	  else
   8463   	  # We have old collect2
   8464   	  hardcode_direct=unsupported
   8465   	  # It fails to find uninstalled libraries when the uninstalled
   8466   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8467   	  # to unsupported forces relinking
   8468   	  hardcode_minus_L=yes
   8469   	  hardcode_libdir_flag_spec='-L$libdir'
   8470   	  hardcode_libdir_separator=
   8471 	  fi
   8472 	  ;;
   8473 	esac
   8474 	shared_flag='-shared'
   8475 	if test "$aix_use_runtimelinking" = yes; then
   8476 	  shared_flag="$shared_flag "'${wl}-G'
   8477 	fi
   8478       else
   8479 	# not using gcc
   8480 	if test "$host_cpu" = ia64; then
   8481   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8482   	# chokes on -Wl,-G. The following line is correct:
   8483 	  shared_flag='-G'
   8484 	else
   8485 	  if test "$aix_use_runtimelinking" = yes; then
   8486 	    shared_flag='${wl}-G'
   8487 	  else
   8488 	    shared_flag='${wl}-bM:SRE'
   8489 	  fi
   8490 	fi
   8491       fi
   8492 
   8493       # It seems that -bexpall does not export symbols beginning with
   8494       # underscore (_), so it is better to generate a list of symbols to export.
   8495       always_export_symbols=yes
   8496       if test "$aix_use_runtimelinking" = yes; then
   8497 	# Warning - without using the other runtime loading flags (-brtl),
   8498 	# -berok will link without error, but may produce a broken library.
   8499 	allow_undefined_flag='-berok'
   8500        # Determine the default libpath from the value encoded in an empty executable.
   8501        cat >conftest.$ac_ext <<_ACEOF
   8502 /* confdefs.h.  */
   8503 _ACEOF
   8504 cat confdefs.h >>conftest.$ac_ext
   8505 cat >>conftest.$ac_ext <<_ACEOF
   8506 /* end confdefs.h.  */
   8507 
   8508 int
   8509 main ()
   8510 {
   8511 
   8512   ;
   8513   return 0;
   8514 }
   8515 _ACEOF
   8516 rm -f conftest.$ac_objext conftest$ac_exeext
   8517 if { (ac_try="$ac_link"
   8518 case "(($ac_try" in
   8519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8520   *) ac_try_echo=$ac_try;;
   8521 esac
   8522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8523 $as_echo "$ac_try_echo") >&5
   8524   (eval "$ac_link") 2>conftest.er1
   8525   ac_status=$?
   8526   grep -v '^ *+' conftest.er1 >conftest.err
   8527   rm -f conftest.er1
   8528   cat conftest.err >&5
   8529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8530   (exit $ac_status); } && {
   8531 	 test -z "$ac_c_werror_flag" ||
   8532 	 test ! -s conftest.err
   8533        } && test -s conftest$ac_exeext && {
   8534 	 test "$cross_compiling" = yes ||
   8535 	 $as_test_x conftest$ac_exeext
   8536        }; then
   8537 
   8538 lt_aix_libpath_sed='
   8539     /Import File Strings/,/^$/ {
   8540 	/^0/ {
   8541 	    s/^0  *\(.*\)$/\1/
   8542 	    p
   8543 	}
   8544     }'
   8545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8546 # Check for a 64-bit object if we didn't find anything.
   8547 if test -z "$aix_libpath"; then
   8548   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8549 fi
   8550 else
   8551   $as_echo "$as_me: failed program was:" >&5
   8552 sed 's/^/| /' conftest.$ac_ext >&5
   8553 
   8554 
   8555 fi
   8556 
   8557 rm -rf conftest.dSYM
   8558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8559       conftest$ac_exeext conftest.$ac_ext
   8560 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8561 
   8562        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8563 	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"
   8564        else
   8565 	if test "$host_cpu" = ia64; then
   8566 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8567 	  allow_undefined_flag="-z nodefs"
   8568 	  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"
   8569 	else
   8570 	 # Determine the default libpath from the value encoded in an empty executable.
   8571 	 cat >conftest.$ac_ext <<_ACEOF
   8572 /* confdefs.h.  */
   8573 _ACEOF
   8574 cat confdefs.h >>conftest.$ac_ext
   8575 cat >>conftest.$ac_ext <<_ACEOF
   8576 /* end confdefs.h.  */
   8577 
   8578 int
   8579 main ()
   8580 {
   8581 
   8582   ;
   8583   return 0;
   8584 }
   8585 _ACEOF
   8586 rm -f conftest.$ac_objext conftest$ac_exeext
   8587 if { (ac_try="$ac_link"
   8588 case "(($ac_try" in
   8589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8590   *) ac_try_echo=$ac_try;;
   8591 esac
   8592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8593 $as_echo "$ac_try_echo") >&5
   8594   (eval "$ac_link") 2>conftest.er1
   8595   ac_status=$?
   8596   grep -v '^ *+' conftest.er1 >conftest.err
   8597   rm -f conftest.er1
   8598   cat conftest.err >&5
   8599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8600   (exit $ac_status); } && {
   8601 	 test -z "$ac_c_werror_flag" ||
   8602 	 test ! -s conftest.err
   8603        } && test -s conftest$ac_exeext && {
   8604 	 test "$cross_compiling" = yes ||
   8605 	 $as_test_x conftest$ac_exeext
   8606        }; then
   8607 
   8608 lt_aix_libpath_sed='
   8609     /Import File Strings/,/^$/ {
   8610 	/^0/ {
   8611 	    s/^0  *\(.*\)$/\1/
   8612 	    p
   8613 	}
   8614     }'
   8615 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8616 # Check for a 64-bit object if we didn't find anything.
   8617 if test -z "$aix_libpath"; then
   8618   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8619 fi
   8620 else
   8621   $as_echo "$as_me: failed program was:" >&5
   8622 sed 's/^/| /' conftest.$ac_ext >&5
   8623 
   8624 
   8625 fi
   8626 
   8627 rm -rf conftest.dSYM
   8628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8629       conftest$ac_exeext conftest.$ac_ext
   8630 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8631 
   8632 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8633 	  # Warning - without using the other run time loading flags,
   8634 	  # -berok will link without error, but may produce a broken library.
   8635 	  no_undefined_flag=' ${wl}-bernotok'
   8636 	  allow_undefined_flag=' ${wl}-berok'
   8637 	  # Exported symbols can be pulled into shared objects from archives
   8638 	  whole_archive_flag_spec='$convenience'
   8639 	  archive_cmds_need_lc=yes
   8640 	  # This is similar to how AIX traditionally builds its shared libraries.
   8641 	  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'
   8642 	fi
   8643       fi
   8644       ;;
   8645 
   8646     amigaos*)
   8647       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)'
   8648       hardcode_libdir_flag_spec='-L$libdir'
   8649       hardcode_minus_L=yes
   8650       # see comment about different semantics on the GNU ld section
   8651       ld_shlibs=no
   8652       ;;
   8653 
   8654     bsdi[45]*)
   8655       export_dynamic_flag_spec=-rdynamic
   8656       ;;
   8657 
   8658     cygwin* | mingw* | pw32*)
   8659       # When not using gcc, we currently assume that we are using
   8660       # Microsoft Visual C++.
   8661       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8662       # no search path for DLLs.
   8663       hardcode_libdir_flag_spec=' '
   8664       allow_undefined_flag=unsupported
   8665       # Tell ltmain to make .lib files, not .a files.
   8666       libext=lib
   8667       # Tell ltmain to make .dll files, not .so files.
   8668       shrext_cmds=".dll"
   8669       # FIXME: Setting linknames here is a bad hack.
   8670       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8671       # The linker will automatically build a .lib file if we build a DLL.
   8672       old_archive_From_new_cmds='true'
   8673       # FIXME: Should let the user specify the lib program.
   8674       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8675       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8676       enable_shared_with_static_runtimes=yes
   8677       ;;
   8678 
   8679     darwin* | rhapsody*)
   8680       case $host_os in
   8681         rhapsody* | darwin1.[012])
   8682          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8683          ;;
   8684        *) # Darwin 1.3 on
   8685          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8686            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8687          else
   8688            case ${MACOSX_DEPLOYMENT_TARGET} in
   8689              10.[012])
   8690                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8691                ;;
   8692              10.*)
   8693                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8694                ;;
   8695            esac
   8696          fi
   8697          ;;
   8698       esac
   8699       archive_cmds_need_lc=no
   8700       hardcode_direct=no
   8701       hardcode_automatic=yes
   8702       hardcode_shlibpath_var=unsupported
   8703       whole_archive_flag_spec=''
   8704       link_all_deplibs=yes
   8705     if test "$GCC" = yes ; then
   8706     	output_verbose_link_cmd='echo'
   8707         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8708         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8709         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}"
   8710         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}"
   8711     else
   8712       case $cc_basename in
   8713         xlc*)
   8714          output_verbose_link_cmd='echo'
   8715          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8716          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8717           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8718          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}'
   8719           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}'
   8720           ;;
   8721        *)
   8722          ld_shlibs=no
   8723           ;;
   8724       esac
   8725     fi
   8726       ;;
   8727 
   8728     dgux*)
   8729       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8730       hardcode_libdir_flag_spec='-L$libdir'
   8731       hardcode_shlibpath_var=no
   8732       ;;
   8733 
   8734     freebsd1*)
   8735       ld_shlibs=no
   8736       ;;
   8737 
   8738     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8739     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8740     # does not break anything, and helps significantly (at the cost of a little
   8741     # extra space).
   8742     freebsd2.2*)
   8743       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8744       hardcode_libdir_flag_spec='-R$libdir'
   8745       hardcode_direct=yes
   8746       hardcode_shlibpath_var=no
   8747       ;;
   8748 
   8749     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8750     freebsd2*)
   8751       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8752       hardcode_direct=yes
   8753       hardcode_minus_L=yes
   8754       hardcode_shlibpath_var=no
   8755       ;;
   8756 
   8757     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8758     freebsd* | dragonfly*)
   8759       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8760       hardcode_libdir_flag_spec='-R$libdir'
   8761       hardcode_direct=yes
   8762       hardcode_shlibpath_var=no
   8763       ;;
   8764 
   8765     hpux9*)
   8766       if test "$GCC" = yes; then
   8767 	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'
   8768       else
   8769 	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'
   8770       fi
   8771       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8772       hardcode_libdir_separator=:
   8773       hardcode_direct=yes
   8774 
   8775       # hardcode_minus_L: Not really in the search PATH,
   8776       # but as the default location of the library.
   8777       hardcode_minus_L=yes
   8778       export_dynamic_flag_spec='${wl}-E'
   8779       ;;
   8780 
   8781     hpux10*)
   8782       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8783 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8784       else
   8785 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8786       fi
   8787       if test "$with_gnu_ld" = no; then
   8788 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8789 	hardcode_libdir_separator=:
   8790 
   8791 	hardcode_direct=yes
   8792 	export_dynamic_flag_spec='${wl}-E'
   8793 
   8794 	# hardcode_minus_L: Not really in the search PATH,
   8795 	# but as the default location of the library.
   8796 	hardcode_minus_L=yes
   8797       fi
   8798       ;;
   8799 
   8800     hpux11*)
   8801       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8802 	case $host_cpu in
   8803 	hppa*64*)
   8804 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8805 	  ;;
   8806 	ia64*)
   8807 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8808 	  ;;
   8809 	*)
   8810 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8811 	  ;;
   8812 	esac
   8813       else
   8814 	case $host_cpu in
   8815 	hppa*64*)
   8816 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8817 	  ;;
   8818 	ia64*)
   8819 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8820 	  ;;
   8821 	*)
   8822 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8823 	  ;;
   8824 	esac
   8825       fi
   8826       if test "$with_gnu_ld" = no; then
   8827 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8828 	hardcode_libdir_separator=:
   8829 
   8830 	case $host_cpu in
   8831 	hppa*64*|ia64*)
   8832 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8833 	  hardcode_direct=no
   8834 	  hardcode_shlibpath_var=no
   8835 	  ;;
   8836 	*)
   8837 	  hardcode_direct=yes
   8838 	  export_dynamic_flag_spec='${wl}-E'
   8839 
   8840 	  # hardcode_minus_L: Not really in the search PATH,
   8841 	  # but as the default location of the library.
   8842 	  hardcode_minus_L=yes
   8843 	  ;;
   8844 	esac
   8845       fi
   8846       ;;
   8847 
   8848     irix5* | irix6* | nonstopux*)
   8849       if test "$GCC" = yes; then
   8850 	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'
   8851       else
   8852 	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'
   8853 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8854       fi
   8855       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8856       hardcode_libdir_separator=:
   8857       link_all_deplibs=yes
   8858       ;;
   8859 
   8860     netbsd*)
   8861       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8862 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8863       else
   8864 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8865       fi
   8866       hardcode_libdir_flag_spec='-R$libdir'
   8867       hardcode_direct=yes
   8868       hardcode_shlibpath_var=no
   8869       ;;
   8870 
   8871     newsos6)
   8872       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8873       hardcode_direct=yes
   8874       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8875       hardcode_libdir_separator=:
   8876       hardcode_shlibpath_var=no
   8877       ;;
   8878 
   8879     openbsd*)
   8880       if test -f /usr/libexec/ld.so; then
   8881 	hardcode_direct=yes
   8882 	hardcode_shlibpath_var=no
   8883 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8884 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8885 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8886 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8887 	  export_dynamic_flag_spec='${wl}-E'
   8888 	else
   8889 	  case $host_os in
   8890 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8891 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8892 	     hardcode_libdir_flag_spec='-R$libdir'
   8893 	     ;;
   8894 	   *)
   8895 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8896 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8897 	     ;;
   8898 	  esac
   8899         fi
   8900       else
   8901 	ld_shlibs=no
   8902       fi
   8903       ;;
   8904 
   8905     os2*)
   8906       hardcode_libdir_flag_spec='-L$libdir'
   8907       hardcode_minus_L=yes
   8908       allow_undefined_flag=unsupported
   8909       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'
   8910       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8911       ;;
   8912 
   8913     osf3*)
   8914       if test "$GCC" = yes; then
   8915 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8916 	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'
   8917       else
   8918 	allow_undefined_flag=' -expect_unresolved \*'
   8919 	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'
   8920       fi
   8921       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8922       hardcode_libdir_separator=:
   8923       ;;
   8924 
   8925     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8926       if test "$GCC" = yes; then
   8927 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8928 	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'
   8929 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8930       else
   8931 	allow_undefined_flag=' -expect_unresolved \*'
   8932 	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'
   8933 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8934 	$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'
   8935 
   8936 	# Both c and cxx compiler support -rpath directly
   8937 	hardcode_libdir_flag_spec='-rpath $libdir'
   8938       fi
   8939       hardcode_libdir_separator=:
   8940       ;;
   8941 
   8942     solaris*)
   8943       no_undefined_flag=' -z text'
   8944       if test "$GCC" = yes; then
   8945 	wlarc='${wl}'
   8946 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8947 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8948 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8949       else
   8950 	wlarc=''
   8951 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8952 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8953   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8954       fi
   8955       hardcode_libdir_flag_spec='-R$libdir'
   8956       hardcode_shlibpath_var=no
   8957       case $host_os in
   8958       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8959       *)
   8960 	# The compiler driver will combine and reorder linker options,
   8961 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8962 	# but is careful enough not to reorder.
   8963  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8964 	if test "$GCC" = yes; then
   8965 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8966 	else
   8967 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8968 	fi
   8969 	;;
   8970       esac
   8971       link_all_deplibs=yes
   8972       ;;
   8973 
   8974     sunos4*)
   8975       if test "x$host_vendor" = xsequent; then
   8976 	# Use $CC to link under sequent, because it throws in some extra .o
   8977 	# files that make .init and .fini sections work.
   8978 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8979       else
   8980 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8981       fi
   8982       hardcode_libdir_flag_spec='-L$libdir'
   8983       hardcode_direct=yes
   8984       hardcode_minus_L=yes
   8985       hardcode_shlibpath_var=no
   8986       ;;
   8987 
   8988     sysv4)
   8989       case $host_vendor in
   8990 	sni)
   8991 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8992 	  hardcode_direct=yes # is this really true???
   8993 	;;
   8994 	siemens)
   8995 	  ## LD is ld it makes a PLAMLIB
   8996 	  ## CC just makes a GrossModule.
   8997 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8998 	  reload_cmds='$CC -r -o $output$reload_objs'
   8999 	  hardcode_direct=no
   9000         ;;
   9001 	motorola)
   9002 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9003 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9004 	;;
   9005       esac
   9006       runpath_var='LD_RUN_PATH'
   9007       hardcode_shlibpath_var=no
   9008       ;;
   9009 
   9010     sysv4.3*)
   9011       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9012       hardcode_shlibpath_var=no
   9013       export_dynamic_flag_spec='-Bexport'
   9014       ;;
   9015 
   9016     sysv4*MP*)
   9017       if test -d /usr/nec; then
   9018 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9019 	hardcode_shlibpath_var=no
   9020 	runpath_var=LD_RUN_PATH
   9021 	hardcode_runpath_var=yes
   9022 	ld_shlibs=yes
   9023       fi
   9024       ;;
   9025 
   9026     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9027       no_undefined_flag='${wl}-z,text'
   9028       archive_cmds_need_lc=no
   9029       hardcode_shlibpath_var=no
   9030       runpath_var='LD_RUN_PATH'
   9031 
   9032       if test "$GCC" = yes; then
   9033 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9034 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9035       else
   9036 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9037 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9038       fi
   9039       ;;
   9040 
   9041     sysv5* | sco3.2v5* | sco5v6*)
   9042       # Note: We can NOT use -z defs as we might desire, because we do not
   9043       # link with -lc, and that would cause any symbols used from libc to
   9044       # always be unresolved, which means just about no library would
   9045       # ever link correctly.  If we're not using GNU ld we use -z text
   9046       # though, which does catch some bad symbols but isn't as heavy-handed
   9047       # as -z defs.
   9048       no_undefined_flag='${wl}-z,text'
   9049       allow_undefined_flag='${wl}-z,nodefs'
   9050       archive_cmds_need_lc=no
   9051       hardcode_shlibpath_var=no
   9052       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9053       hardcode_libdir_separator=':'
   9054       link_all_deplibs=yes
   9055       export_dynamic_flag_spec='${wl}-Bexport'
   9056       runpath_var='LD_RUN_PATH'
   9057 
   9058       if test "$GCC" = yes; then
   9059 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9060 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9061       else
   9062 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9063 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9064       fi
   9065       ;;
   9066 
   9067     uts4*)
   9068       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9069       hardcode_libdir_flag_spec='-L$libdir'
   9070       hardcode_shlibpath_var=no
   9071       ;;
   9072 
   9073     *)
   9074       ld_shlibs=no
   9075       ;;
   9076     esac
   9077   fi
   9078 
   9079 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9080 $as_echo "$ld_shlibs" >&6; }
   9081 test "$ld_shlibs" = no && can_build_shared=no
   9082 
   9083 #
   9084 # Do we need to explicitly link libc?
   9085 #
   9086 case "x$archive_cmds_need_lc" in
   9087 x|xyes)
   9088   # Assume -lc should be added
   9089   archive_cmds_need_lc=yes
   9090 
   9091   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9092     case $archive_cmds in
   9093     *'~'*)
   9094       # FIXME: we may have to deal with multi-command sequences.
   9095       ;;
   9096     '$CC '*)
   9097       # Test whether the compiler implicitly links with -lc since on some
   9098       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9099       # to ld, don't add -lc before -lgcc.
   9100       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9101 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9102       $rm conftest*
   9103       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9104 
   9105       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9106   (eval $ac_compile) 2>&5
   9107   ac_status=$?
   9108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9109   (exit $ac_status); } 2>conftest.err; then
   9110         soname=conftest
   9111         lib=conftest
   9112         libobjs=conftest.$ac_objext
   9113         deplibs=
   9114         wl=$lt_prog_compiler_wl
   9115 	pic_flag=$lt_prog_compiler_pic
   9116         compiler_flags=-v
   9117         linker_flags=-v
   9118         verstring=
   9119         output_objdir=.
   9120         libname=conftest
   9121         lt_save_allow_undefined_flag=$allow_undefined_flag
   9122         allow_undefined_flag=
   9123         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9124   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9125   ac_status=$?
   9126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9127   (exit $ac_status); }
   9128         then
   9129 	  archive_cmds_need_lc=no
   9130         else
   9131 	  archive_cmds_need_lc=yes
   9132         fi
   9133         allow_undefined_flag=$lt_save_allow_undefined_flag
   9134       else
   9135         cat conftest.err 1>&5
   9136       fi
   9137       $rm conftest*
   9138       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9139 $as_echo "$archive_cmds_need_lc" >&6; }
   9140       ;;
   9141     esac
   9142   fi
   9143   ;;
   9144 esac
   9145 
   9146 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9147 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9148 library_names_spec=
   9149 libname_spec='lib$name'
   9150 soname_spec=
   9151 shrext_cmds=".so"
   9152 postinstall_cmds=
   9153 postuninstall_cmds=
   9154 finish_cmds=
   9155 finish_eval=
   9156 shlibpath_var=
   9157 shlibpath_overrides_runpath=unknown
   9158 version_type=none
   9159 dynamic_linker="$host_os ld.so"
   9160 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9161 
   9162 if test "$GCC" = yes; then
   9163   case $host_os in
   9164     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9165     *) lt_awk_arg="/^libraries:/" ;;
   9166   esac
   9167   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9168   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9169     # if the path contains ";" then we assume it to be the separator
   9170     # otherwise default to the standard path separator (i.e. ":") - it is
   9171     # assumed that no part of a normal pathname contains ";" but that should
   9172     # okay in the real world where ";" in dirpaths is itself problematic.
   9173     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9174   else
   9175     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9176   fi
   9177   # Ok, now we have the path, separated by spaces, we can step through it
   9178   # and add multilib dir if necessary.
   9179   lt_tmp_lt_search_path_spec=
   9180   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9181   for lt_sys_path in $lt_search_path_spec; do
   9182     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9183       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9184     else
   9185       test -d "$lt_sys_path" && \
   9186 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9187     fi
   9188   done
   9189   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9190 BEGIN {RS=" "; FS="/|\n";} {
   9191   lt_foo="";
   9192   lt_count=0;
   9193   for (lt_i = NF; lt_i > 0; lt_i--) {
   9194     if ($lt_i != "" && $lt_i != ".") {
   9195       if ($lt_i == "..") {
   9196         lt_count++;
   9197       } else {
   9198         if (lt_count == 0) {
   9199           lt_foo="/" $lt_i lt_foo;
   9200         } else {
   9201           lt_count--;
   9202         }
   9203       }
   9204     }
   9205   }
   9206   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9207   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9208 }'`
   9209   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9210 else
   9211   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9212 fi
   9213 need_lib_prefix=unknown
   9214 hardcode_into_libs=no
   9215 
   9216 # when you set need_version to no, make sure it does not cause -set_version
   9217 # flags to be left without arguments
   9218 need_version=unknown
   9219 
   9220 case $host_os in
   9221 aix3*)
   9222   version_type=linux
   9223   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9224   shlibpath_var=LIBPATH
   9225 
   9226   # AIX 3 has no versioning support, so we append a major version to the name.
   9227   soname_spec='${libname}${release}${shared_ext}$major'
   9228   ;;
   9229 
   9230 aix[4-9]*)
   9231   version_type=linux
   9232   need_lib_prefix=no
   9233   need_version=no
   9234   hardcode_into_libs=yes
   9235   if test "$host_cpu" = ia64; then
   9236     # AIX 5 supports IA64
   9237     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9238     shlibpath_var=LD_LIBRARY_PATH
   9239   else
   9240     # With GCC up to 2.95.x, collect2 would create an import file
   9241     # for dependence libraries.  The import file would start with
   9242     # the line `#! .'.  This would cause the generated library to
   9243     # depend on `.', always an invalid library.  This was fixed in
   9244     # development snapshots of GCC prior to 3.0.
   9245     case $host_os in
   9246       aix4 | aix4.[01] | aix4.[01].*)
   9247       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9248 	   echo ' yes '
   9249 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9250 	:
   9251       else
   9252 	can_build_shared=no
   9253       fi
   9254       ;;
   9255     esac
   9256     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9257     # soname into executable. Probably we can add versioning support to
   9258     # collect2, so additional links can be useful in future.
   9259     if test "$aix_use_runtimelinking" = yes; then
   9260       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9261       # instead of lib<name>.a to let people know that these are not
   9262       # typical AIX shared libraries.
   9263       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9264     else
   9265       # We preserve .a as extension for shared libraries through AIX4.2
   9266       # and later when we are not doing run time linking.
   9267       library_names_spec='${libname}${release}.a $libname.a'
   9268       soname_spec='${libname}${release}${shared_ext}$major'
   9269     fi
   9270     shlibpath_var=LIBPATH
   9271   fi
   9272   ;;
   9273 
   9274 amigaos*)
   9275   library_names_spec='$libname.ixlibrary $libname.a'
   9276   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9277   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'
   9278   ;;
   9279 
   9280 beos*)
   9281   library_names_spec='${libname}${shared_ext}'
   9282   dynamic_linker="$host_os ld.so"
   9283   shlibpath_var=LIBRARY_PATH
   9284   ;;
   9285 
   9286 bsdi[45]*)
   9287   version_type=linux
   9288   need_version=no
   9289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9290   soname_spec='${libname}${release}${shared_ext}$major'
   9291   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9292   shlibpath_var=LD_LIBRARY_PATH
   9293   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9294   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9295   # the default ld.so.conf also contains /usr/contrib/lib and
   9296   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9297   # libtool to hard-code these into programs
   9298   ;;
   9299 
   9300 cygwin* | mingw* | pw32*)
   9301   version_type=windows
   9302   shrext_cmds=".dll"
   9303   need_version=no
   9304   need_lib_prefix=no
   9305 
   9306   case $GCC,$host_os in
   9307   yes,cygwin* | yes,mingw* | yes,pw32*)
   9308     library_names_spec='$libname.dll.a'
   9309     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9310     postinstall_cmds='base_file=`basename \${file}`~
   9311       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9312       dldir=$destdir/`dirname \$dlpath`~
   9313       test -d \$dldir || mkdir -p \$dldir~
   9314       $install_prog $dir/$dlname \$dldir/$dlname~
   9315       chmod a+x \$dldir/$dlname'
   9316     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9317       dlpath=$dir/\$dldll~
   9318        $rm \$dlpath'
   9319     shlibpath_overrides_runpath=yes
   9320 
   9321     case $host_os in
   9322     cygwin*)
   9323       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9324       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9325       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9326       ;;
   9327     mingw*)
   9328       # MinGW DLLs use traditional 'lib' prefix
   9329       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9330       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9331       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9332         # It is most probably a Windows format PATH printed by
   9333         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9334         # path with ; separators, and with drive letters. We can handle the
   9335         # drive letters (cygwin fileutils understands them), so leave them,
   9336         # especially as we might pass files found there to a mingw objdump,
   9337         # which wouldn't understand a cygwinified path. Ahh.
   9338         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9339       else
   9340         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9341       fi
   9342       ;;
   9343     pw32*)
   9344       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9345       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9346       ;;
   9347     esac
   9348     ;;
   9349 
   9350   *)
   9351     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9352     ;;
   9353   esac
   9354   dynamic_linker='Win32 ld.exe'
   9355   # FIXME: first we should search . and the directory the executable is in
   9356   shlibpath_var=PATH
   9357   ;;
   9358 
   9359 darwin* | rhapsody*)
   9360   dynamic_linker="$host_os dyld"
   9361   version_type=darwin
   9362   need_lib_prefix=no
   9363   need_version=no
   9364   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9365   soname_spec='${libname}${release}${major}$shared_ext'
   9366   shlibpath_overrides_runpath=yes
   9367   shlibpath_var=DYLD_LIBRARY_PATH
   9368   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9369 
   9370   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9371   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9372   ;;
   9373 
   9374 dgux*)
   9375   version_type=linux
   9376   need_lib_prefix=no
   9377   need_version=no
   9378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9379   soname_spec='${libname}${release}${shared_ext}$major'
   9380   shlibpath_var=LD_LIBRARY_PATH
   9381   ;;
   9382 
   9383 freebsd1*)
   9384   dynamic_linker=no
   9385   ;;
   9386 
   9387 freebsd* | dragonfly*)
   9388   # DragonFly does not have aout.  When/if they implement a new
   9389   # versioning mechanism, adjust this.
   9390   if test -x /usr/bin/objformat; then
   9391     objformat=`/usr/bin/objformat`
   9392   else
   9393     case $host_os in
   9394     freebsd[123]*) objformat=aout ;;
   9395     *) objformat=elf ;;
   9396     esac
   9397   fi
   9398   version_type=freebsd-$objformat
   9399   case $version_type in
   9400     freebsd-elf*)
   9401       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9402       need_version=no
   9403       need_lib_prefix=no
   9404       ;;
   9405     freebsd-*)
   9406       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9407       need_version=yes
   9408       ;;
   9409   esac
   9410   shlibpath_var=LD_LIBRARY_PATH
   9411   case $host_os in
   9412   freebsd2*)
   9413     shlibpath_overrides_runpath=yes
   9414     ;;
   9415   freebsd3.[01]* | freebsdelf3.[01]*)
   9416     shlibpath_overrides_runpath=yes
   9417     hardcode_into_libs=yes
   9418     ;;
   9419   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9420   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9421     shlibpath_overrides_runpath=no
   9422     hardcode_into_libs=yes
   9423     ;;
   9424   *) # from 4.6 on, and DragonFly
   9425     shlibpath_overrides_runpath=yes
   9426     hardcode_into_libs=yes
   9427     ;;
   9428   esac
   9429   ;;
   9430 
   9431 gnu*)
   9432   version_type=linux
   9433   need_lib_prefix=no
   9434   need_version=no
   9435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9436   soname_spec='${libname}${release}${shared_ext}$major'
   9437   shlibpath_var=LD_LIBRARY_PATH
   9438   hardcode_into_libs=yes
   9439   ;;
   9440 
   9441 hpux9* | hpux10* | hpux11*)
   9442   # Give a soname corresponding to the major version so that dld.sl refuses to
   9443   # link against other versions.
   9444   version_type=sunos
   9445   need_lib_prefix=no
   9446   need_version=no
   9447   case $host_cpu in
   9448   ia64*)
   9449     shrext_cmds='.so'
   9450     hardcode_into_libs=yes
   9451     dynamic_linker="$host_os dld.so"
   9452     shlibpath_var=LD_LIBRARY_PATH
   9453     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9455     soname_spec='${libname}${release}${shared_ext}$major'
   9456     if test "X$HPUX_IA64_MODE" = X32; then
   9457       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9458     else
   9459       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9460     fi
   9461     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9462     ;;
   9463    hppa*64*)
   9464      shrext_cmds='.sl'
   9465      hardcode_into_libs=yes
   9466      dynamic_linker="$host_os dld.sl"
   9467      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9468      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9469      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9470      soname_spec='${libname}${release}${shared_ext}$major'
   9471      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9472      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9473      ;;
   9474    *)
   9475     shrext_cmds='.sl'
   9476     dynamic_linker="$host_os dld.sl"
   9477     shlibpath_var=SHLIB_PATH
   9478     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9479     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9480     soname_spec='${libname}${release}${shared_ext}$major'
   9481     ;;
   9482   esac
   9483   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9484   postinstall_cmds='chmod 555 $lib'
   9485   ;;
   9486 
   9487 interix[3-9]*)
   9488   version_type=linux
   9489   need_lib_prefix=no
   9490   need_version=no
   9491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9492   soname_spec='${libname}${release}${shared_ext}$major'
   9493   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9494   shlibpath_var=LD_LIBRARY_PATH
   9495   shlibpath_overrides_runpath=no
   9496   hardcode_into_libs=yes
   9497   ;;
   9498 
   9499 irix5* | irix6* | nonstopux*)
   9500   case $host_os in
   9501     nonstopux*) version_type=nonstopux ;;
   9502     *)
   9503 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9504 		version_type=linux
   9505 	else
   9506 		version_type=irix
   9507 	fi ;;
   9508   esac
   9509   need_lib_prefix=no
   9510   need_version=no
   9511   soname_spec='${libname}${release}${shared_ext}$major'
   9512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9513   case $host_os in
   9514   irix5* | nonstopux*)
   9515     libsuff= shlibsuff=
   9516     ;;
   9517   *)
   9518     case $LD in # libtool.m4 will add one of these switches to LD
   9519     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9520       libsuff= shlibsuff= libmagic=32-bit;;
   9521     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9522       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9523     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9524       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9525     *) libsuff= shlibsuff= libmagic=never-match;;
   9526     esac
   9527     ;;
   9528   esac
   9529   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9530   shlibpath_overrides_runpath=no
   9531   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9532   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9533   hardcode_into_libs=yes
   9534   ;;
   9535 
   9536 # No shared lib support for Linux oldld, aout, or coff.
   9537 linux*oldld* | linux*aout* | linux*coff*)
   9538   dynamic_linker=no
   9539   ;;
   9540 
   9541 # This must be Linux ELF.
   9542 linux* | k*bsd*-gnu)
   9543   version_type=linux
   9544   need_lib_prefix=no
   9545   need_version=no
   9546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9547   soname_spec='${libname}${release}${shared_ext}$major'
   9548   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9549   shlibpath_var=LD_LIBRARY_PATH
   9550   shlibpath_overrides_runpath=no
   9551   # This implies no fast_install, which is unacceptable.
   9552   # Some rework will be needed to allow for fast_install
   9553   # before this can be enabled.
   9554   hardcode_into_libs=yes
   9555   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9556   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9557 
   9558   # Append ld.so.conf contents to the search path
   9559   if test -f /etc/ld.so.conf; then
   9560     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' ' '`
   9561     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9562   fi
   9563 
   9564   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9565   # powerpc, because MkLinux only supported shared libraries with the
   9566   # GNU dynamic linker.  Since this was broken with cross compilers,
   9567   # most powerpc-linux boxes support dynamic linking these days and
   9568   # people can always --disable-shared, the test was removed, and we
   9569   # assume the GNU/Linux dynamic linker is in use.
   9570   dynamic_linker='GNU/Linux ld.so'
   9571   ;;
   9572 
   9573 netbsd*)
   9574   version_type=sunos
   9575   need_lib_prefix=no
   9576   need_version=no
   9577   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9579     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9580     dynamic_linker='NetBSD (a.out) ld.so'
   9581   else
   9582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9583     soname_spec='${libname}${release}${shared_ext}$major'
   9584     dynamic_linker='NetBSD ld.elf_so'
   9585   fi
   9586   shlibpath_var=LD_LIBRARY_PATH
   9587   shlibpath_overrides_runpath=yes
   9588   hardcode_into_libs=yes
   9589   ;;
   9590 
   9591 newsos6)
   9592   version_type=linux
   9593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9594   shlibpath_var=LD_LIBRARY_PATH
   9595   shlibpath_overrides_runpath=yes
   9596   ;;
   9597 
   9598 nto-qnx*)
   9599   version_type=linux
   9600   need_lib_prefix=no
   9601   need_version=no
   9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9603   soname_spec='${libname}${release}${shared_ext}$major'
   9604   shlibpath_var=LD_LIBRARY_PATH
   9605   shlibpath_overrides_runpath=yes
   9606   ;;
   9607 
   9608 openbsd*)
   9609   version_type=sunos
   9610   sys_lib_dlsearch_path_spec="/usr/lib"
   9611   need_lib_prefix=no
   9612   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9613   case $host_os in
   9614     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9615     *)                         need_version=no  ;;
   9616   esac
   9617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9618   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9619   shlibpath_var=LD_LIBRARY_PATH
   9620   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9621     case $host_os in
   9622       openbsd2.[89] | openbsd2.[89].*)
   9623 	shlibpath_overrides_runpath=no
   9624 	;;
   9625       *)
   9626 	shlibpath_overrides_runpath=yes
   9627 	;;
   9628       esac
   9629   else
   9630     shlibpath_overrides_runpath=yes
   9631   fi
   9632   ;;
   9633 
   9634 os2*)
   9635   libname_spec='$name'
   9636   shrext_cmds=".dll"
   9637   need_lib_prefix=no
   9638   library_names_spec='$libname${shared_ext} $libname.a'
   9639   dynamic_linker='OS/2 ld.exe'
   9640   shlibpath_var=LIBPATH
   9641   ;;
   9642 
   9643 osf3* | osf4* | osf5*)
   9644   version_type=osf
   9645   need_lib_prefix=no
   9646   need_version=no
   9647   soname_spec='${libname}${release}${shared_ext}$major'
   9648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9649   shlibpath_var=LD_LIBRARY_PATH
   9650   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9651   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9652   ;;
   9653 
   9654 rdos*)
   9655   dynamic_linker=no
   9656   ;;
   9657 
   9658 solaris*)
   9659   version_type=linux
   9660   need_lib_prefix=no
   9661   need_version=no
   9662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9663   soname_spec='${libname}${release}${shared_ext}$major'
   9664   shlibpath_var=LD_LIBRARY_PATH
   9665   shlibpath_overrides_runpath=yes
   9666   hardcode_into_libs=yes
   9667   # ldd complains unless libraries are executable
   9668   postinstall_cmds='chmod +x $lib'
   9669   ;;
   9670 
   9671 sunos4*)
   9672   version_type=sunos
   9673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9674   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9675   shlibpath_var=LD_LIBRARY_PATH
   9676   shlibpath_overrides_runpath=yes
   9677   if test "$with_gnu_ld" = yes; then
   9678     need_lib_prefix=no
   9679   fi
   9680   need_version=yes
   9681   ;;
   9682 
   9683 sysv4 | sysv4.3*)
   9684   version_type=linux
   9685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9686   soname_spec='${libname}${release}${shared_ext}$major'
   9687   shlibpath_var=LD_LIBRARY_PATH
   9688   case $host_vendor in
   9689     sni)
   9690       shlibpath_overrides_runpath=no
   9691       need_lib_prefix=no
   9692       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9693       runpath_var=LD_RUN_PATH
   9694       ;;
   9695     siemens)
   9696       need_lib_prefix=no
   9697       ;;
   9698     motorola)
   9699       need_lib_prefix=no
   9700       need_version=no
   9701       shlibpath_overrides_runpath=no
   9702       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9703       ;;
   9704   esac
   9705   ;;
   9706 
   9707 sysv4*MP*)
   9708   if test -d /usr/nec ;then
   9709     version_type=linux
   9710     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9711     soname_spec='$libname${shared_ext}.$major'
   9712     shlibpath_var=LD_LIBRARY_PATH
   9713   fi
   9714   ;;
   9715 
   9716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9717   version_type=freebsd-elf
   9718   need_lib_prefix=no
   9719   need_version=no
   9720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9721   soname_spec='${libname}${release}${shared_ext}$major'
   9722   shlibpath_var=LD_LIBRARY_PATH
   9723   hardcode_into_libs=yes
   9724   if test "$with_gnu_ld" = yes; then
   9725     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9726     shlibpath_overrides_runpath=no
   9727   else
   9728     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9729     shlibpath_overrides_runpath=yes
   9730     case $host_os in
   9731       sco3.2v5*)
   9732         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9733 	;;
   9734     esac
   9735   fi
   9736   sys_lib_dlsearch_path_spec='/usr/lib'
   9737   ;;
   9738 
   9739 uts4*)
   9740   version_type=linux
   9741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9742   soname_spec='${libname}${release}${shared_ext}$major'
   9743   shlibpath_var=LD_LIBRARY_PATH
   9744   ;;
   9745 
   9746 *)
   9747   dynamic_linker=no
   9748   ;;
   9749 esac
   9750 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9751 $as_echo "$dynamic_linker" >&6; }
   9752 test "$dynamic_linker" = no && can_build_shared=no
   9753 
   9754 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9755   $as_echo_n "(cached) " >&6
   9756 else
   9757   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9758 fi
   9759 
   9760 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9761 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9762   $as_echo_n "(cached) " >&6
   9763 else
   9764   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9765 fi
   9766 
   9767 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9768 
   9769 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9770 if test "$GCC" = yes; then
   9771   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9772 fi
   9773 
   9774 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9775 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9776 hardcode_action=
   9777 if test -n "$hardcode_libdir_flag_spec" || \
   9778    test -n "$runpath_var" || \
   9779    test "X$hardcode_automatic" = "Xyes" ; then
   9780 
   9781   # We can hardcode non-existant directories.
   9782   if test "$hardcode_direct" != no &&
   9783      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9784      # have to relink, otherwise we might link with an installed library
   9785      # when we should be linking with a yet-to-be-installed one
   9786      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9787      test "$hardcode_minus_L" != no; then
   9788     # Linking always hardcodes the temporary library directory.
   9789     hardcode_action=relink
   9790   else
   9791     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9792     hardcode_action=immediate
   9793   fi
   9794 else
   9795   # We cannot hardcode anything, or else we can only hardcode existing
   9796   # directories.
   9797   hardcode_action=unsupported
   9798 fi
   9799 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9800 $as_echo "$hardcode_action" >&6; }
   9801 
   9802 if test "$hardcode_action" = relink; then
   9803   # Fast installation is not supported
   9804   enable_fast_install=no
   9805 elif test "$shlibpath_overrides_runpath" = yes ||
   9806      test "$enable_shared" = no; then
   9807   # Fast installation is not necessary
   9808   enable_fast_install=needless
   9809 fi
   9810 
   9811 striplib=
   9812 old_striplib=
   9813 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9814 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9815 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9816   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9817   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9818   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9819 $as_echo "yes" >&6; }
   9820 else
   9821 # FIXME - insert some real tests, host_os isn't really good enough
   9822   case $host_os in
   9823    darwin*)
   9824        if test -n "$STRIP" ; then
   9825          striplib="$STRIP -x"
   9826          old_striplib="$STRIP -S"
   9827          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9828 $as_echo "yes" >&6; }
   9829        else
   9830   { $as_echo "$as_me:$LINENO: result: no" >&5
   9831 $as_echo "no" >&6; }
   9832 fi
   9833        ;;
   9834    *)
   9835   { $as_echo "$as_me:$LINENO: result: no" >&5
   9836 $as_echo "no" >&6; }
   9837     ;;
   9838   esac
   9839 fi
   9840 
   9841 if test "x$enable_dlopen" != xyes; then
   9842   enable_dlopen=unknown
   9843   enable_dlopen_self=unknown
   9844   enable_dlopen_self_static=unknown
   9845 else
   9846   lt_cv_dlopen=no
   9847   lt_cv_dlopen_libs=
   9848 
   9849   case $host_os in
   9850   beos*)
   9851     lt_cv_dlopen="load_add_on"
   9852     lt_cv_dlopen_libs=
   9853     lt_cv_dlopen_self=yes
   9854     ;;
   9855 
   9856   mingw* | pw32*)
   9857     lt_cv_dlopen="LoadLibrary"
   9858     lt_cv_dlopen_libs=
   9859    ;;
   9860 
   9861   cygwin*)
   9862     lt_cv_dlopen="dlopen"
   9863     lt_cv_dlopen_libs=
   9864    ;;
   9865 
   9866   darwin*)
   9867   # if libdl is installed we need to link against it
   9868     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9869 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9870 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9871   $as_echo_n "(cached) " >&6
   9872 else
   9873   ac_check_lib_save_LIBS=$LIBS
   9874 LIBS="-ldl  $LIBS"
   9875 cat >conftest.$ac_ext <<_ACEOF
   9876 /* confdefs.h.  */
   9877 _ACEOF
   9878 cat confdefs.h >>conftest.$ac_ext
   9879 cat >>conftest.$ac_ext <<_ACEOF
   9880 /* end confdefs.h.  */
   9881 
   9882 /* Override any GCC internal prototype to avoid an error.
   9883    Use char because int might match the return type of a GCC
   9884    builtin and then its argument prototype would still apply.  */
   9885 #ifdef __cplusplus
   9886 extern "C"
   9887 #endif
   9888 char dlopen ();
   9889 int
   9890 main ()
   9891 {
   9892 return dlopen ();
   9893   ;
   9894   return 0;
   9895 }
   9896 _ACEOF
   9897 rm -f conftest.$ac_objext conftest$ac_exeext
   9898 if { (ac_try="$ac_link"
   9899 case "(($ac_try" in
   9900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9901   *) ac_try_echo=$ac_try;;
   9902 esac
   9903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9904 $as_echo "$ac_try_echo") >&5
   9905   (eval "$ac_link") 2>conftest.er1
   9906   ac_status=$?
   9907   grep -v '^ *+' conftest.er1 >conftest.err
   9908   rm -f conftest.er1
   9909   cat conftest.err >&5
   9910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9911   (exit $ac_status); } && {
   9912 	 test -z "$ac_c_werror_flag" ||
   9913 	 test ! -s conftest.err
   9914        } && test -s conftest$ac_exeext && {
   9915 	 test "$cross_compiling" = yes ||
   9916 	 $as_test_x conftest$ac_exeext
   9917        }; then
   9918   ac_cv_lib_dl_dlopen=yes
   9919 else
   9920   $as_echo "$as_me: failed program was:" >&5
   9921 sed 's/^/| /' conftest.$ac_ext >&5
   9922 
   9923 	ac_cv_lib_dl_dlopen=no
   9924 fi
   9925 
   9926 rm -rf conftest.dSYM
   9927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9928       conftest$ac_exeext conftest.$ac_ext
   9929 LIBS=$ac_check_lib_save_LIBS
   9930 fi
   9931 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9932 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9933 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9934   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9935 else
   9936 
   9937     lt_cv_dlopen="dyld"
   9938     lt_cv_dlopen_libs=
   9939     lt_cv_dlopen_self=yes
   9940 
   9941 fi
   9942 
   9943    ;;
   9944 
   9945   *)
   9946     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9947 $as_echo_n "checking for shl_load... " >&6; }
   9948 if test "${ac_cv_func_shl_load+set}" = set; then
   9949   $as_echo_n "(cached) " >&6
   9950 else
   9951   cat >conftest.$ac_ext <<_ACEOF
   9952 /* confdefs.h.  */
   9953 _ACEOF
   9954 cat confdefs.h >>conftest.$ac_ext
   9955 cat >>conftest.$ac_ext <<_ACEOF
   9956 /* end confdefs.h.  */
   9957 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9959 #define shl_load innocuous_shl_load
   9960 
   9961 /* System header to define __stub macros and hopefully few prototypes,
   9962     which can conflict with char shl_load (); below.
   9963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9964     <limits.h> exists even on freestanding compilers.  */
   9965 
   9966 #ifdef __STDC__
   9967 # include <limits.h>
   9968 #else
   9969 # include <assert.h>
   9970 #endif
   9971 
   9972 #undef shl_load
   9973 
   9974 /* Override any GCC internal prototype to avoid an error.
   9975    Use char because int might match the return type of a GCC
   9976    builtin and then its argument prototype would still apply.  */
   9977 #ifdef __cplusplus
   9978 extern "C"
   9979 #endif
   9980 char shl_load ();
   9981 /* The GNU C library defines this for functions which it implements
   9982     to always fail with ENOSYS.  Some functions are actually named
   9983     something starting with __ and the normal name is an alias.  */
   9984 #if defined __stub_shl_load || defined __stub___shl_load
   9985 choke me
   9986 #endif
   9987 
   9988 int
   9989 main ()
   9990 {
   9991 return shl_load ();
   9992   ;
   9993   return 0;
   9994 }
   9995 _ACEOF
   9996 rm -f conftest.$ac_objext conftest$ac_exeext
   9997 if { (ac_try="$ac_link"
   9998 case "(($ac_try" in
   9999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10000   *) ac_try_echo=$ac_try;;
   10001 esac
   10002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10003 $as_echo "$ac_try_echo") >&5
   10004   (eval "$ac_link") 2>conftest.er1
   10005   ac_status=$?
   10006   grep -v '^ *+' conftest.er1 >conftest.err
   10007   rm -f conftest.er1
   10008   cat conftest.err >&5
   10009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10010   (exit $ac_status); } && {
   10011 	 test -z "$ac_c_werror_flag" ||
   10012 	 test ! -s conftest.err
   10013        } && test -s conftest$ac_exeext && {
   10014 	 test "$cross_compiling" = yes ||
   10015 	 $as_test_x conftest$ac_exeext
   10016        }; then
   10017   ac_cv_func_shl_load=yes
   10018 else
   10019   $as_echo "$as_me: failed program was:" >&5
   10020 sed 's/^/| /' conftest.$ac_ext >&5
   10021 
   10022 	ac_cv_func_shl_load=no
   10023 fi
   10024 
   10025 rm -rf conftest.dSYM
   10026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10027       conftest$ac_exeext conftest.$ac_ext
   10028 fi
   10029 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10030 $as_echo "$ac_cv_func_shl_load" >&6; }
   10031 if test "x$ac_cv_func_shl_load" = x""yes; then
   10032   lt_cv_dlopen="shl_load"
   10033 else
   10034   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10035 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10036 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10037   $as_echo_n "(cached) " >&6
   10038 else
   10039   ac_check_lib_save_LIBS=$LIBS
   10040 LIBS="-ldld  $LIBS"
   10041 cat >conftest.$ac_ext <<_ACEOF
   10042 /* confdefs.h.  */
   10043 _ACEOF
   10044 cat confdefs.h >>conftest.$ac_ext
   10045 cat >>conftest.$ac_ext <<_ACEOF
   10046 /* end confdefs.h.  */
   10047 
   10048 /* Override any GCC internal prototype to avoid an error.
   10049    Use char because int might match the return type of a GCC
   10050    builtin and then its argument prototype would still apply.  */
   10051 #ifdef __cplusplus
   10052 extern "C"
   10053 #endif
   10054 char shl_load ();
   10055 int
   10056 main ()
   10057 {
   10058 return shl_load ();
   10059   ;
   10060   return 0;
   10061 }
   10062 _ACEOF
   10063 rm -f conftest.$ac_objext conftest$ac_exeext
   10064 if { (ac_try="$ac_link"
   10065 case "(($ac_try" in
   10066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10067   *) ac_try_echo=$ac_try;;
   10068 esac
   10069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10070 $as_echo "$ac_try_echo") >&5
   10071   (eval "$ac_link") 2>conftest.er1
   10072   ac_status=$?
   10073   grep -v '^ *+' conftest.er1 >conftest.err
   10074   rm -f conftest.er1
   10075   cat conftest.err >&5
   10076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10077   (exit $ac_status); } && {
   10078 	 test -z "$ac_c_werror_flag" ||
   10079 	 test ! -s conftest.err
   10080        } && test -s conftest$ac_exeext && {
   10081 	 test "$cross_compiling" = yes ||
   10082 	 $as_test_x conftest$ac_exeext
   10083        }; then
   10084   ac_cv_lib_dld_shl_load=yes
   10085 else
   10086   $as_echo "$as_me: failed program was:" >&5
   10087 sed 's/^/| /' conftest.$ac_ext >&5
   10088 
   10089 	ac_cv_lib_dld_shl_load=no
   10090 fi
   10091 
   10092 rm -rf conftest.dSYM
   10093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10094       conftest$ac_exeext conftest.$ac_ext
   10095 LIBS=$ac_check_lib_save_LIBS
   10096 fi
   10097 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10098 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10099 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10100   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10101 else
   10102   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10103 $as_echo_n "checking for dlopen... " >&6; }
   10104 if test "${ac_cv_func_dlopen+set}" = set; then
   10105   $as_echo_n "(cached) " >&6
   10106 else
   10107   cat >conftest.$ac_ext <<_ACEOF
   10108 /* confdefs.h.  */
   10109 _ACEOF
   10110 cat confdefs.h >>conftest.$ac_ext
   10111 cat >>conftest.$ac_ext <<_ACEOF
   10112 /* end confdefs.h.  */
   10113 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10115 #define dlopen innocuous_dlopen
   10116 
   10117 /* System header to define __stub macros and hopefully few prototypes,
   10118     which can conflict with char dlopen (); below.
   10119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10120     <limits.h> exists even on freestanding compilers.  */
   10121 
   10122 #ifdef __STDC__
   10123 # include <limits.h>
   10124 #else
   10125 # include <assert.h>
   10126 #endif
   10127 
   10128 #undef dlopen
   10129 
   10130 /* Override any GCC internal prototype to avoid an error.
   10131    Use char because int might match the return type of a GCC
   10132    builtin and then its argument prototype would still apply.  */
   10133 #ifdef __cplusplus
   10134 extern "C"
   10135 #endif
   10136 char dlopen ();
   10137 /* The GNU C library defines this for functions which it implements
   10138     to always fail with ENOSYS.  Some functions are actually named
   10139     something starting with __ and the normal name is an alias.  */
   10140 #if defined __stub_dlopen || defined __stub___dlopen
   10141 choke me
   10142 #endif
   10143 
   10144 int
   10145 main ()
   10146 {
   10147 return dlopen ();
   10148   ;
   10149   return 0;
   10150 }
   10151 _ACEOF
   10152 rm -f conftest.$ac_objext conftest$ac_exeext
   10153 if { (ac_try="$ac_link"
   10154 case "(($ac_try" in
   10155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10156   *) ac_try_echo=$ac_try;;
   10157 esac
   10158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10159 $as_echo "$ac_try_echo") >&5
   10160   (eval "$ac_link") 2>conftest.er1
   10161   ac_status=$?
   10162   grep -v '^ *+' conftest.er1 >conftest.err
   10163   rm -f conftest.er1
   10164   cat conftest.err >&5
   10165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10166   (exit $ac_status); } && {
   10167 	 test -z "$ac_c_werror_flag" ||
   10168 	 test ! -s conftest.err
   10169        } && test -s conftest$ac_exeext && {
   10170 	 test "$cross_compiling" = yes ||
   10171 	 $as_test_x conftest$ac_exeext
   10172        }; then
   10173   ac_cv_func_dlopen=yes
   10174 else
   10175   $as_echo "$as_me: failed program was:" >&5
   10176 sed 's/^/| /' conftest.$ac_ext >&5
   10177 
   10178 	ac_cv_func_dlopen=no
   10179 fi
   10180 
   10181 rm -rf conftest.dSYM
   10182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10183       conftest$ac_exeext conftest.$ac_ext
   10184 fi
   10185 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10186 $as_echo "$ac_cv_func_dlopen" >&6; }
   10187 if test "x$ac_cv_func_dlopen" = x""yes; then
   10188   lt_cv_dlopen="dlopen"
   10189 else
   10190   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10191 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10192 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10193   $as_echo_n "(cached) " >&6
   10194 else
   10195   ac_check_lib_save_LIBS=$LIBS
   10196 LIBS="-ldl  $LIBS"
   10197 cat >conftest.$ac_ext <<_ACEOF
   10198 /* confdefs.h.  */
   10199 _ACEOF
   10200 cat confdefs.h >>conftest.$ac_ext
   10201 cat >>conftest.$ac_ext <<_ACEOF
   10202 /* end confdefs.h.  */
   10203 
   10204 /* Override any GCC internal prototype to avoid an error.
   10205    Use char because int might match the return type of a GCC
   10206    builtin and then its argument prototype would still apply.  */
   10207 #ifdef __cplusplus
   10208 extern "C"
   10209 #endif
   10210 char dlopen ();
   10211 int
   10212 main ()
   10213 {
   10214 return dlopen ();
   10215   ;
   10216   return 0;
   10217 }
   10218 _ACEOF
   10219 rm -f conftest.$ac_objext conftest$ac_exeext
   10220 if { (ac_try="$ac_link"
   10221 case "(($ac_try" in
   10222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10223   *) ac_try_echo=$ac_try;;
   10224 esac
   10225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10226 $as_echo "$ac_try_echo") >&5
   10227   (eval "$ac_link") 2>conftest.er1
   10228   ac_status=$?
   10229   grep -v '^ *+' conftest.er1 >conftest.err
   10230   rm -f conftest.er1
   10231   cat conftest.err >&5
   10232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10233   (exit $ac_status); } && {
   10234 	 test -z "$ac_c_werror_flag" ||
   10235 	 test ! -s conftest.err
   10236        } && test -s conftest$ac_exeext && {
   10237 	 test "$cross_compiling" = yes ||
   10238 	 $as_test_x conftest$ac_exeext
   10239        }; then
   10240   ac_cv_lib_dl_dlopen=yes
   10241 else
   10242   $as_echo "$as_me: failed program was:" >&5
   10243 sed 's/^/| /' conftest.$ac_ext >&5
   10244 
   10245 	ac_cv_lib_dl_dlopen=no
   10246 fi
   10247 
   10248 rm -rf conftest.dSYM
   10249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10250       conftest$ac_exeext conftest.$ac_ext
   10251 LIBS=$ac_check_lib_save_LIBS
   10252 fi
   10253 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10256   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10257 else
   10258   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10259 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10260 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10261   $as_echo_n "(cached) " >&6
   10262 else
   10263   ac_check_lib_save_LIBS=$LIBS
   10264 LIBS="-lsvld  $LIBS"
   10265 cat >conftest.$ac_ext <<_ACEOF
   10266 /* confdefs.h.  */
   10267 _ACEOF
   10268 cat confdefs.h >>conftest.$ac_ext
   10269 cat >>conftest.$ac_ext <<_ACEOF
   10270 /* end confdefs.h.  */
   10271 
   10272 /* Override any GCC internal prototype to avoid an error.
   10273    Use char because int might match the return type of a GCC
   10274    builtin and then its argument prototype would still apply.  */
   10275 #ifdef __cplusplus
   10276 extern "C"
   10277 #endif
   10278 char dlopen ();
   10279 int
   10280 main ()
   10281 {
   10282 return dlopen ();
   10283   ;
   10284   return 0;
   10285 }
   10286 _ACEOF
   10287 rm -f conftest.$ac_objext conftest$ac_exeext
   10288 if { (ac_try="$ac_link"
   10289 case "(($ac_try" in
   10290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10291   *) ac_try_echo=$ac_try;;
   10292 esac
   10293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10294 $as_echo "$ac_try_echo") >&5
   10295   (eval "$ac_link") 2>conftest.er1
   10296   ac_status=$?
   10297   grep -v '^ *+' conftest.er1 >conftest.err
   10298   rm -f conftest.er1
   10299   cat conftest.err >&5
   10300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10301   (exit $ac_status); } && {
   10302 	 test -z "$ac_c_werror_flag" ||
   10303 	 test ! -s conftest.err
   10304        } && test -s conftest$ac_exeext && {
   10305 	 test "$cross_compiling" = yes ||
   10306 	 $as_test_x conftest$ac_exeext
   10307        }; then
   10308   ac_cv_lib_svld_dlopen=yes
   10309 else
   10310   $as_echo "$as_me: failed program was:" >&5
   10311 sed 's/^/| /' conftest.$ac_ext >&5
   10312 
   10313 	ac_cv_lib_svld_dlopen=no
   10314 fi
   10315 
   10316 rm -rf conftest.dSYM
   10317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10318       conftest$ac_exeext conftest.$ac_ext
   10319 LIBS=$ac_check_lib_save_LIBS
   10320 fi
   10321 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10322 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10323 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10324   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10325 else
   10326   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10327 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10328 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10329   $as_echo_n "(cached) " >&6
   10330 else
   10331   ac_check_lib_save_LIBS=$LIBS
   10332 LIBS="-ldld  $LIBS"
   10333 cat >conftest.$ac_ext <<_ACEOF
   10334 /* confdefs.h.  */
   10335 _ACEOF
   10336 cat confdefs.h >>conftest.$ac_ext
   10337 cat >>conftest.$ac_ext <<_ACEOF
   10338 /* end confdefs.h.  */
   10339 
   10340 /* Override any GCC internal prototype to avoid an error.
   10341    Use char because int might match the return type of a GCC
   10342    builtin and then its argument prototype would still apply.  */
   10343 #ifdef __cplusplus
   10344 extern "C"
   10345 #endif
   10346 char dld_link ();
   10347 int
   10348 main ()
   10349 {
   10350 return dld_link ();
   10351   ;
   10352   return 0;
   10353 }
   10354 _ACEOF
   10355 rm -f conftest.$ac_objext conftest$ac_exeext
   10356 if { (ac_try="$ac_link"
   10357 case "(($ac_try" in
   10358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10359   *) ac_try_echo=$ac_try;;
   10360 esac
   10361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10362 $as_echo "$ac_try_echo") >&5
   10363   (eval "$ac_link") 2>conftest.er1
   10364   ac_status=$?
   10365   grep -v '^ *+' conftest.er1 >conftest.err
   10366   rm -f conftest.er1
   10367   cat conftest.err >&5
   10368   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10369   (exit $ac_status); } && {
   10370 	 test -z "$ac_c_werror_flag" ||
   10371 	 test ! -s conftest.err
   10372        } && test -s conftest$ac_exeext && {
   10373 	 test "$cross_compiling" = yes ||
   10374 	 $as_test_x conftest$ac_exeext
   10375        }; then
   10376   ac_cv_lib_dld_dld_link=yes
   10377 else
   10378   $as_echo "$as_me: failed program was:" >&5
   10379 sed 's/^/| /' conftest.$ac_ext >&5
   10380 
   10381 	ac_cv_lib_dld_dld_link=no
   10382 fi
   10383 
   10384 rm -rf conftest.dSYM
   10385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10386       conftest$ac_exeext conftest.$ac_ext
   10387 LIBS=$ac_check_lib_save_LIBS
   10388 fi
   10389 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10390 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10391 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10392   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10393 fi
   10394 
   10395 
   10396 fi
   10397 
   10398 
   10399 fi
   10400 
   10401 
   10402 fi
   10403 
   10404 
   10405 fi
   10406 
   10407 
   10408 fi
   10409 
   10410     ;;
   10411   esac
   10412 
   10413   if test "x$lt_cv_dlopen" != xno; then
   10414     enable_dlopen=yes
   10415   else
   10416     enable_dlopen=no
   10417   fi
   10418 
   10419   case $lt_cv_dlopen in
   10420   dlopen)
   10421     save_CPPFLAGS="$CPPFLAGS"
   10422     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10423 
   10424     save_LDFLAGS="$LDFLAGS"
   10425     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10426 
   10427     save_LIBS="$LIBS"
   10428     LIBS="$lt_cv_dlopen_libs $LIBS"
   10429 
   10430     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10431 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10432 if test "${lt_cv_dlopen_self+set}" = set; then
   10433   $as_echo_n "(cached) " >&6
   10434 else
   10435   	  if test "$cross_compiling" = yes; then :
   10436   lt_cv_dlopen_self=cross
   10437 else
   10438   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10439   lt_status=$lt_dlunknown
   10440   cat > conftest.$ac_ext <<EOF
   10441 #line 10441 "configure"
   10442 #include "confdefs.h"
   10443 
   10444 #if HAVE_DLFCN_H
   10445 #include <dlfcn.h>
   10446 #endif
   10447 
   10448 #include <stdio.h>
   10449 
   10450 #ifdef RTLD_GLOBAL
   10451 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10452 #else
   10453 #  ifdef DL_GLOBAL
   10454 #    define LT_DLGLOBAL		DL_GLOBAL
   10455 #  else
   10456 #    define LT_DLGLOBAL		0
   10457 #  endif
   10458 #endif
   10459 
   10460 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10461    find out it does not work in some platform. */
   10462 #ifndef LT_DLLAZY_OR_NOW
   10463 #  ifdef RTLD_LAZY
   10464 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10465 #  else
   10466 #    ifdef DL_LAZY
   10467 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10468 #    else
   10469 #      ifdef RTLD_NOW
   10470 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10471 #      else
   10472 #        ifdef DL_NOW
   10473 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10474 #        else
   10475 #          define LT_DLLAZY_OR_NOW	0
   10476 #        endif
   10477 #      endif
   10478 #    endif
   10479 #  endif
   10480 #endif
   10481 
   10482 #ifdef __cplusplus
   10483 extern "C" void exit (int);
   10484 #endif
   10485 
   10486 void fnord() { int i=42;}
   10487 int main ()
   10488 {
   10489   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10490   int status = $lt_dlunknown;
   10491 
   10492   if (self)
   10493     {
   10494       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10495       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10496       /* dlclose (self); */
   10497     }
   10498   else
   10499     puts (dlerror ());
   10500 
   10501     exit (status);
   10502 }
   10503 EOF
   10504   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10505   (eval $ac_link) 2>&5
   10506   ac_status=$?
   10507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10508   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10509     (./conftest; exit; ) >&5 2>/dev/null
   10510     lt_status=$?
   10511     case x$lt_status in
   10512       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10513       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10514       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10515     esac
   10516   else :
   10517     # compilation failed
   10518     lt_cv_dlopen_self=no
   10519   fi
   10520 fi
   10521 rm -fr conftest*
   10522 
   10523 
   10524 fi
   10525 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10526 $as_echo "$lt_cv_dlopen_self" >&6; }
   10527 
   10528     if test "x$lt_cv_dlopen_self" = xyes; then
   10529       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10530       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10531 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10532 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10533   $as_echo_n "(cached) " >&6
   10534 else
   10535   	  if test "$cross_compiling" = yes; then :
   10536   lt_cv_dlopen_self_static=cross
   10537 else
   10538   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10539   lt_status=$lt_dlunknown
   10540   cat > conftest.$ac_ext <<EOF
   10541 #line 10541 "configure"
   10542 #include "confdefs.h"
   10543 
   10544 #if HAVE_DLFCN_H
   10545 #include <dlfcn.h>
   10546 #endif
   10547 
   10548 #include <stdio.h>
   10549 
   10550 #ifdef RTLD_GLOBAL
   10551 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10552 #else
   10553 #  ifdef DL_GLOBAL
   10554 #    define LT_DLGLOBAL		DL_GLOBAL
   10555 #  else
   10556 #    define LT_DLGLOBAL		0
   10557 #  endif
   10558 #endif
   10559 
   10560 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10561    find out it does not work in some platform. */
   10562 #ifndef LT_DLLAZY_OR_NOW
   10563 #  ifdef RTLD_LAZY
   10564 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10565 #  else
   10566 #    ifdef DL_LAZY
   10567 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10568 #    else
   10569 #      ifdef RTLD_NOW
   10570 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10571 #      else
   10572 #        ifdef DL_NOW
   10573 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10574 #        else
   10575 #          define LT_DLLAZY_OR_NOW	0
   10576 #        endif
   10577 #      endif
   10578 #    endif
   10579 #  endif
   10580 #endif
   10581 
   10582 #ifdef __cplusplus
   10583 extern "C" void exit (int);
   10584 #endif
   10585 
   10586 void fnord() { int i=42;}
   10587 int main ()
   10588 {
   10589   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10590   int status = $lt_dlunknown;
   10591 
   10592   if (self)
   10593     {
   10594       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10595       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10596       /* dlclose (self); */
   10597     }
   10598   else
   10599     puts (dlerror ());
   10600 
   10601     exit (status);
   10602 }
   10603 EOF
   10604   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10605   (eval $ac_link) 2>&5
   10606   ac_status=$?
   10607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10608   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10609     (./conftest; exit; ) >&5 2>/dev/null
   10610     lt_status=$?
   10611     case x$lt_status in
   10612       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10613       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10614       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10615     esac
   10616   else :
   10617     # compilation failed
   10618     lt_cv_dlopen_self_static=no
   10619   fi
   10620 fi
   10621 rm -fr conftest*
   10622 
   10623 
   10624 fi
   10625 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10626 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10627     fi
   10628 
   10629     CPPFLAGS="$save_CPPFLAGS"
   10630     LDFLAGS="$save_LDFLAGS"
   10631     LIBS="$save_LIBS"
   10632     ;;
   10633   esac
   10634 
   10635   case $lt_cv_dlopen_self in
   10636   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10637   *) enable_dlopen_self=unknown ;;
   10638   esac
   10639 
   10640   case $lt_cv_dlopen_self_static in
   10641   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10642   *) enable_dlopen_self_static=unknown ;;
   10643   esac
   10644 fi
   10645 
   10646 
   10647 # Report which library types will actually be built
   10648 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10649 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10650 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10651 $as_echo "$can_build_shared" >&6; }
   10652 
   10653 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10654 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10655 test "$can_build_shared" = "no" && enable_shared=no
   10656 
   10657 # On AIX, shared libraries and static libraries use the same namespace, and
   10658 # are all built from PIC.
   10659 case $host_os in
   10660 aix3*)
   10661   test "$enable_shared" = yes && enable_static=no
   10662   if test -n "$RANLIB"; then
   10663     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10664     postinstall_cmds='$RANLIB $lib'
   10665   fi
   10666   ;;
   10667 
   10668 aix[4-9]*)
   10669   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10670     test "$enable_shared" = yes && enable_static=no
   10671   fi
   10672     ;;
   10673 esac
   10674 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10675 $as_echo "$enable_shared" >&6; }
   10676 
   10677 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10678 $as_echo_n "checking whether to build static libraries... " >&6; }
   10679 # Make sure either enable_shared or enable_static is yes.
   10680 test "$enable_shared" = yes || enable_static=yes
   10681 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10682 $as_echo "$enable_static" >&6; }
   10683 
   10684 # The else clause should only fire when bootstrapping the
   10685 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10686 # with your package, and you will get complaints that there are
   10687 # no rules to generate ltmain.sh.
   10688 if test -f "$ltmain"; then
   10689   # See if we are running on zsh, and set the options which allow our commands through
   10690   # without removal of \ escapes.
   10691   if test -n "${ZSH_VERSION+set}" ; then
   10692     setopt NO_GLOB_SUBST
   10693   fi
   10694   # Now quote all the things that may contain metacharacters while being
   10695   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10696   # variables and quote the copies for generation of the libtool script.
   10697   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10698     SED SHELL STRIP \
   10699     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10700     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10701     deplibs_check_method reload_flag reload_cmds need_locks \
   10702     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10703     lt_cv_sys_global_symbol_to_c_name_address \
   10704     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10705     old_postinstall_cmds old_postuninstall_cmds \
   10706     compiler \
   10707     CC \
   10708     LD \
   10709     lt_prog_compiler_wl \
   10710     lt_prog_compiler_pic \
   10711     lt_prog_compiler_static \
   10712     lt_prog_compiler_no_builtin_flag \
   10713     export_dynamic_flag_spec \
   10714     thread_safe_flag_spec \
   10715     whole_archive_flag_spec \
   10716     enable_shared_with_static_runtimes \
   10717     old_archive_cmds \
   10718     old_archive_from_new_cmds \
   10719     predep_objects \
   10720     postdep_objects \
   10721     predeps \
   10722     postdeps \
   10723     compiler_lib_search_path \
   10724     compiler_lib_search_dirs \
   10725     archive_cmds \
   10726     archive_expsym_cmds \
   10727     postinstall_cmds \
   10728     postuninstall_cmds \
   10729     old_archive_from_expsyms_cmds \
   10730     allow_undefined_flag \
   10731     no_undefined_flag \
   10732     export_symbols_cmds \
   10733     hardcode_libdir_flag_spec \
   10734     hardcode_libdir_flag_spec_ld \
   10735     hardcode_libdir_separator \
   10736     hardcode_automatic \
   10737     module_cmds \
   10738     module_expsym_cmds \
   10739     lt_cv_prog_compiler_c_o \
   10740     fix_srcfile_path \
   10741     exclude_expsyms \
   10742     include_expsyms; do
   10743 
   10744     case $var in
   10745     old_archive_cmds | \
   10746     old_archive_from_new_cmds | \
   10747     archive_cmds | \
   10748     archive_expsym_cmds | \
   10749     module_cmds | \
   10750     module_expsym_cmds | \
   10751     old_archive_from_expsyms_cmds | \
   10752     export_symbols_cmds | \
   10753     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10754     postinstall_cmds | postuninstall_cmds | \
   10755     old_postinstall_cmds | old_postuninstall_cmds | \
   10756     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10757       # Double-quote double-evaled strings.
   10758       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10759       ;;
   10760     *)
   10761       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10762       ;;
   10763     esac
   10764   done
   10765 
   10766   case $lt_echo in
   10767   *'\$0 --fallback-echo"')
   10768     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10769     ;;
   10770   esac
   10771 
   10772 cfgfile="${ofile}T"
   10773   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10774   $rm -f "$cfgfile"
   10775   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10776 $as_echo "$as_me: creating $ofile" >&6;}
   10777 
   10778   cat <<__EOF__ >> "$cfgfile"
   10779 #! $SHELL
   10780 
   10781 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10782 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10783 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10784 #
   10785 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10786 # Free Software Foundation, Inc.
   10787 #
   10788 # This file is part of GNU Libtool:
   10789 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10790 #
   10791 # This program is free software; you can redistribute it and/or modify
   10792 # it under the terms of the GNU General Public License as published by
   10793 # the Free Software Foundation; either version 2 of the License, or
   10794 # (at your option) any later version.
   10795 #
   10796 # This program is distributed in the hope that it will be useful, but
   10797 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10799 # General Public License for more details.
   10800 #
   10801 # You should have received a copy of the GNU General Public License
   10802 # along with this program; if not, write to the Free Software
   10803 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10804 #
   10805 # As a special exception to the GNU General Public License, if you
   10806 # distribute this file as part of a program that contains a
   10807 # configuration script generated by Autoconf, you may include it under
   10808 # the same distribution terms that you use for the rest of that program.
   10809 
   10810 # A sed program that does not truncate output.
   10811 SED=$lt_SED
   10812 
   10813 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10814 Xsed="$SED -e 1s/^X//"
   10815 
   10816 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10817 # if CDPATH is set.
   10818 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10819 
   10820 # The names of the tagged configurations supported by this script.
   10821 available_tags=
   10822 
   10823 # ### BEGIN LIBTOOL CONFIG
   10824 
   10825 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10826 
   10827 # Shell to use when invoking shell scripts.
   10828 SHELL=$lt_SHELL
   10829 
   10830 # Whether or not to build shared libraries.
   10831 build_libtool_libs=$enable_shared
   10832 
   10833 # Whether or not to build static libraries.
   10834 build_old_libs=$enable_static
   10835 
   10836 # Whether or not to add -lc for building shared libraries.
   10837 build_libtool_need_lc=$archive_cmds_need_lc
   10838 
   10839 # Whether or not to disallow shared libs when runtime libs are static
   10840 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10841 
   10842 # Whether or not to optimize for fast installation.
   10843 fast_install=$enable_fast_install
   10844 
   10845 # The host system.
   10846 host_alias=$host_alias
   10847 host=$host
   10848 host_os=$host_os
   10849 
   10850 # The build system.
   10851 build_alias=$build_alias
   10852 build=$build
   10853 build_os=$build_os
   10854 
   10855 # An echo program that does not interpret backslashes.
   10856 echo=$lt_echo
   10857 
   10858 # The archiver.
   10859 AR=$lt_AR
   10860 AR_FLAGS=$lt_AR_FLAGS
   10861 
   10862 # A C compiler.
   10863 LTCC=$lt_LTCC
   10864 
   10865 # LTCC compiler flags.
   10866 LTCFLAGS=$lt_LTCFLAGS
   10867 
   10868 # A language-specific compiler.
   10869 CC=$lt_compiler
   10870 
   10871 # Is the compiler the GNU C compiler?
   10872 with_gcc=$GCC
   10873 
   10874 # An ERE matcher.
   10875 EGREP=$lt_EGREP
   10876 
   10877 # The linker used to build libraries.
   10878 LD=$lt_LD
   10879 
   10880 # Whether we need hard or soft links.
   10881 LN_S=$lt_LN_S
   10882 
   10883 # A BSD-compatible nm program.
   10884 NM=$lt_NM
   10885 
   10886 # A symbol stripping program
   10887 STRIP=$lt_STRIP
   10888 
   10889 # Used to examine libraries when file_magic_cmd begins "file"
   10890 MAGIC_CMD=$MAGIC_CMD
   10891 
   10892 # Used on cygwin: DLL creation program.
   10893 DLLTOOL="$DLLTOOL"
   10894 
   10895 # Used on cygwin: object dumper.
   10896 OBJDUMP="$OBJDUMP"
   10897 
   10898 # Used on cygwin: assembler.
   10899 AS="$AS"
   10900 
   10901 # The name of the directory that contains temporary libtool files.
   10902 objdir=$objdir
   10903 
   10904 # How to create reloadable object files.
   10905 reload_flag=$lt_reload_flag
   10906 reload_cmds=$lt_reload_cmds
   10907 
   10908 # How to pass a linker flag through the compiler.
   10909 wl=$lt_lt_prog_compiler_wl
   10910 
   10911 # Object file suffix (normally "o").
   10912 objext="$ac_objext"
   10913 
   10914 # Old archive suffix (normally "a").
   10915 libext="$libext"
   10916 
   10917 # Shared library suffix (normally ".so").
   10918 shrext_cmds='$shrext_cmds'
   10919 
   10920 # Executable file suffix (normally "").
   10921 exeext="$exeext"
   10922 
   10923 # Additional compiler flags for building library objects.
   10924 pic_flag=$lt_lt_prog_compiler_pic
   10925 pic_mode=$pic_mode
   10926 
   10927 # What is the maximum length of a command?
   10928 max_cmd_len=$lt_cv_sys_max_cmd_len
   10929 
   10930 # Does compiler simultaneously support -c and -o options?
   10931 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10932 
   10933 # Must we lock files when doing compilation?
   10934 need_locks=$lt_need_locks
   10935 
   10936 # Do we need the lib prefix for modules?
   10937 need_lib_prefix=$need_lib_prefix
   10938 
   10939 # Do we need a version for libraries?
   10940 need_version=$need_version
   10941 
   10942 # Whether dlopen is supported.
   10943 dlopen_support=$enable_dlopen
   10944 
   10945 # Whether dlopen of programs is supported.
   10946 dlopen_self=$enable_dlopen_self
   10947 
   10948 # Whether dlopen of statically linked programs is supported.
   10949 dlopen_self_static=$enable_dlopen_self_static
   10950 
   10951 # Compiler flag to prevent dynamic linking.
   10952 link_static_flag=$lt_lt_prog_compiler_static
   10953 
   10954 # Compiler flag to turn off builtin functions.
   10955 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10956 
   10957 # Compiler flag to allow reflexive dlopens.
   10958 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10959 
   10960 # Compiler flag to generate shared objects directly from archives.
   10961 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10962 
   10963 # Compiler flag to generate thread-safe objects.
   10964 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10965 
   10966 # Library versioning type.
   10967 version_type=$version_type
   10968 
   10969 # Format of library name prefix.
   10970 libname_spec=$lt_libname_spec
   10971 
   10972 # List of archive names.  First name is the real one, the rest are links.
   10973 # The last name is the one that the linker finds with -lNAME.
   10974 library_names_spec=$lt_library_names_spec
   10975 
   10976 # The coded name of the library, if different from the real name.
   10977 soname_spec=$lt_soname_spec
   10978 
   10979 # Commands used to build and install an old-style archive.
   10980 RANLIB=$lt_RANLIB
   10981 old_archive_cmds=$lt_old_archive_cmds
   10982 old_postinstall_cmds=$lt_old_postinstall_cmds
   10983 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10984 
   10985 # Create an old-style archive from a shared archive.
   10986 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10987 
   10988 # Create a temporary old-style archive to link instead of a shared archive.
   10989 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10990 
   10991 # Commands used to build and install a shared archive.
   10992 archive_cmds=$lt_archive_cmds
   10993 archive_expsym_cmds=$lt_archive_expsym_cmds
   10994 postinstall_cmds=$lt_postinstall_cmds
   10995 postuninstall_cmds=$lt_postuninstall_cmds
   10996 
   10997 # Commands used to build a loadable module (assumed same as above if empty)
   10998 module_cmds=$lt_module_cmds
   10999 module_expsym_cmds=$lt_module_expsym_cmds
   11000 
   11001 # Commands to strip libraries.
   11002 old_striplib=$lt_old_striplib
   11003 striplib=$lt_striplib
   11004 
   11005 # Dependencies to place before the objects being linked to create a
   11006 # shared library.
   11007 predep_objects=$lt_predep_objects
   11008 
   11009 # Dependencies to place after the objects being linked to create a
   11010 # shared library.
   11011 postdep_objects=$lt_postdep_objects
   11012 
   11013 # Dependencies to place before the objects being linked to create a
   11014 # shared library.
   11015 predeps=$lt_predeps
   11016 
   11017 # Dependencies to place after the objects being linked to create a
   11018 # shared library.
   11019 postdeps=$lt_postdeps
   11020 
   11021 # The directories searched by this compiler when creating a shared
   11022 # library
   11023 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11024 
   11025 # The library search path used internally by the compiler when linking
   11026 # a shared library.
   11027 compiler_lib_search_path=$lt_compiler_lib_search_path
   11028 
   11029 # Method to check whether dependent libraries are shared objects.
   11030 deplibs_check_method=$lt_deplibs_check_method
   11031 
   11032 # Command to use when deplibs_check_method == file_magic.
   11033 file_magic_cmd=$lt_file_magic_cmd
   11034 
   11035 # Flag that allows shared libraries with undefined symbols to be built.
   11036 allow_undefined_flag=$lt_allow_undefined_flag
   11037 
   11038 # Flag that forces no undefined symbols.
   11039 no_undefined_flag=$lt_no_undefined_flag
   11040 
   11041 # Commands used to finish a libtool library installation in a directory.
   11042 finish_cmds=$lt_finish_cmds
   11043 
   11044 # Same as above, but a single script fragment to be evaled but not shown.
   11045 finish_eval=$lt_finish_eval
   11046 
   11047 # Take the output of nm and produce a listing of raw symbols and C names.
   11048 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11049 
   11050 # Transform the output of nm in a proper C declaration
   11051 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11052 
   11053 # Transform the output of nm in a C name address pair
   11054 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11055 
   11056 # This is the shared library runtime path variable.
   11057 runpath_var=$runpath_var
   11058 
   11059 # This is the shared library path variable.
   11060 shlibpath_var=$shlibpath_var
   11061 
   11062 # Is shlibpath searched before the hard-coded library search path?
   11063 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11064 
   11065 # How to hardcode a shared library path into an executable.
   11066 hardcode_action=$hardcode_action
   11067 
   11068 # Whether we should hardcode library paths into libraries.
   11069 hardcode_into_libs=$hardcode_into_libs
   11070 
   11071 # Flag to hardcode \$libdir into a binary during linking.
   11072 # This must work even if \$libdir does not exist.
   11073 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11074 
   11075 # If ld is used when linking, flag to hardcode \$libdir into
   11076 # a binary during linking. This must work even if \$libdir does
   11077 # not exist.
   11078 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11079 
   11080 # Whether we need a single -rpath flag with a separated argument.
   11081 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11082 
   11083 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11084 # resulting binary.
   11085 hardcode_direct=$hardcode_direct
   11086 
   11087 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11088 # resulting binary.
   11089 hardcode_minus_L=$hardcode_minus_L
   11090 
   11091 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11092 # the resulting binary.
   11093 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11094 
   11095 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11096 # and all subsequent libraries and executables linked against it.
   11097 hardcode_automatic=$hardcode_automatic
   11098 
   11099 # Variables whose values should be saved in libtool wrapper scripts and
   11100 # restored at relink time.
   11101 variables_saved_for_relink="$variables_saved_for_relink"
   11102 
   11103 # Whether libtool must link a program against all its dependency libraries.
   11104 link_all_deplibs=$link_all_deplibs
   11105 
   11106 # Compile-time system search path for libraries
   11107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11108 
   11109 # Run-time system search path for libraries
   11110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11111 
   11112 # Fix the shell variable \$srcfile for the compiler.
   11113 fix_srcfile_path=$lt_fix_srcfile_path
   11114 
   11115 # Set to yes if exported symbols are required.
   11116 always_export_symbols=$always_export_symbols
   11117 
   11118 # The commands to list exported symbols.
   11119 export_symbols_cmds=$lt_export_symbols_cmds
   11120 
   11121 # The commands to extract the exported symbol list from a shared archive.
   11122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11123 
   11124 # Symbols that should not be listed in the preloaded symbols.
   11125 exclude_expsyms=$lt_exclude_expsyms
   11126 
   11127 # Symbols that must always be exported.
   11128 include_expsyms=$lt_include_expsyms
   11129 
   11130 # ### END LIBTOOL CONFIG
   11131 
   11132 __EOF__
   11133 
   11134 
   11135   case $host_os in
   11136   aix3*)
   11137     cat <<\EOF >> "$cfgfile"
   11138 
   11139 # AIX sometimes has problems with the GCC collect2 program.  For some
   11140 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11141 # vanish in a puff of smoke.
   11142 if test "X${COLLECT_NAMES+set}" != Xset; then
   11143   COLLECT_NAMES=
   11144   export COLLECT_NAMES
   11145 fi
   11146 EOF
   11147     ;;
   11148   esac
   11149 
   11150   # We use sed instead of cat because bash on DJGPP gets confused if
   11151   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11152   # text mode, it properly converts lines to CR/LF.  This bash problem
   11153   # is reportedly fixed, but why not run on old versions too?
   11154   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11155 
   11156   mv -f "$cfgfile" "$ofile" || \
   11157     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11158   chmod +x "$ofile"
   11159 
   11160 else
   11161   # If there is no Makefile yet, we rely on a make rule to execute
   11162   # `config.status --recheck' to rerun these tests and create the
   11163   # libtool script then.
   11164   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11165   if test -f "$ltmain_in"; then
   11166     test -f Makefile && make "$ltmain"
   11167   fi
   11168 fi
   11169 
   11170 
   11171 ac_ext=c
   11172 ac_cpp='$CPP $CPPFLAGS'
   11173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11176 
   11177 CC="$lt_save_CC"
   11178 
   11179 
   11180 # Check whether --with-tags was given.
   11181 if test "${with_tags+set}" = set; then
   11182   withval=$with_tags; tagnames="$withval"
   11183 fi
   11184 
   11185 
   11186 if test -f "$ltmain" && test -n "$tagnames"; then
   11187   if test ! -f "${ofile}"; then
   11188     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11189 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11190   fi
   11191 
   11192   if test -z "$LTCC"; then
   11193     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11194     if test -z "$LTCC"; then
   11195       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11196 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11197     else
   11198       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11199 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11200     fi
   11201   fi
   11202   if test -z "$LTCFLAGS"; then
   11203     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11204   fi
   11205 
   11206   # Extract list of available tagged configurations in $ofile.
   11207   # Note that this assumes the entire list is on one line.
   11208   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11209 
   11210   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11211   for tagname in $tagnames; do
   11212     IFS="$lt_save_ifs"
   11213     # Check whether tagname contains only valid characters
   11214     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11215     "") ;;
   11216     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11217 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11218    { (exit 1); exit 1; }; }
   11219 	;;
   11220     esac
   11221 
   11222     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11223     then
   11224       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11225 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11226    { (exit 1); exit 1; }; }
   11227     fi
   11228 
   11229     # Update the list of available tags.
   11230     if test -n "$tagname"; then
   11231       echo appending configuration tag \"$tagname\" to $ofile
   11232 
   11233       case $tagname in
   11234       CXX)
   11235 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11236 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11237 	    (test "X$CXX" != "Xg++"))) ; then
   11238 	  ac_ext=cpp
   11239 ac_cpp='$CXXCPP $CPPFLAGS'
   11240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11243 
   11244 
   11245 
   11246 
   11247 archive_cmds_need_lc_CXX=no
   11248 allow_undefined_flag_CXX=
   11249 always_export_symbols_CXX=no
   11250 archive_expsym_cmds_CXX=
   11251 export_dynamic_flag_spec_CXX=
   11252 hardcode_direct_CXX=no
   11253 hardcode_libdir_flag_spec_CXX=
   11254 hardcode_libdir_flag_spec_ld_CXX=
   11255 hardcode_libdir_separator_CXX=
   11256 hardcode_minus_L_CXX=no
   11257 hardcode_shlibpath_var_CXX=unsupported
   11258 hardcode_automatic_CXX=no
   11259 module_cmds_CXX=
   11260 module_expsym_cmds_CXX=
   11261 link_all_deplibs_CXX=unknown
   11262 old_archive_cmds_CXX=$old_archive_cmds
   11263 no_undefined_flag_CXX=
   11264 whole_archive_flag_spec_CXX=
   11265 enable_shared_with_static_runtimes_CXX=no
   11266 
   11267 # Dependencies to place before and after the object being linked:
   11268 predep_objects_CXX=
   11269 postdep_objects_CXX=
   11270 predeps_CXX=
   11271 postdeps_CXX=
   11272 compiler_lib_search_path_CXX=
   11273 compiler_lib_search_dirs_CXX=
   11274 
   11275 # Source file extension for C++ test sources.
   11276 ac_ext=cpp
   11277 
   11278 # Object file extension for compiled C++ test sources.
   11279 objext=o
   11280 objext_CXX=$objext
   11281 
   11282 # Code to be used in simple compile tests
   11283 lt_simple_compile_test_code="int some_variable = 0;"
   11284 
   11285 # Code to be used in simple link tests
   11286 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11287 
   11288 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11289 
   11290 # If no C compiler was specified, use CC.
   11291 LTCC=${LTCC-"$CC"}
   11292 
   11293 # If no C compiler flags were specified, use CFLAGS.
   11294 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11295 
   11296 # Allow CC to be a program name with arguments.
   11297 compiler=$CC
   11298 
   11299 
   11300 # save warnings/boilerplate of simple test code
   11301 ac_outfile=conftest.$ac_objext
   11302 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11303 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11304 _lt_compiler_boilerplate=`cat conftest.err`
   11305 $rm conftest*
   11306 
   11307 ac_outfile=conftest.$ac_objext
   11308 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11309 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11310 _lt_linker_boilerplate=`cat conftest.err`
   11311 $rm -r conftest*
   11312 
   11313 
   11314 # Allow CC to be a program name with arguments.
   11315 lt_save_CC=$CC
   11316 lt_save_LD=$LD
   11317 lt_save_GCC=$GCC
   11318 GCC=$GXX
   11319 lt_save_with_gnu_ld=$with_gnu_ld
   11320 lt_save_path_LD=$lt_cv_path_LD
   11321 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11322   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11323 else
   11324   $as_unset lt_cv_prog_gnu_ld
   11325 fi
   11326 if test -n "${lt_cv_path_LDCXX+set}"; then
   11327   lt_cv_path_LD=$lt_cv_path_LDCXX
   11328 else
   11329   $as_unset lt_cv_path_LD
   11330 fi
   11331 test -z "${LDCXX+set}" || LD=$LDCXX
   11332 CC=${CXX-"c++"}
   11333 compiler=$CC
   11334 compiler_CXX=$CC
   11335 for cc_temp in $compiler""; do
   11336   case $cc_temp in
   11337     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11338     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11339     \-*) ;;
   11340     *) break;;
   11341   esac
   11342 done
   11343 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11344 
   11345 
   11346 # We don't want -fno-exception wen compiling C++ code, so set the
   11347 # no_builtin_flag separately
   11348 if test "$GXX" = yes; then
   11349   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11350 else
   11351   lt_prog_compiler_no_builtin_flag_CXX=
   11352 fi
   11353 
   11354 if test "$GXX" = yes; then
   11355   # Set up default GNU C++ configuration
   11356 
   11357 
   11358 # Check whether --with-gnu-ld was given.
   11359 if test "${with_gnu_ld+set}" = set; then
   11360   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11361 else
   11362   with_gnu_ld=no
   11363 fi
   11364 
   11365 ac_prog=ld
   11366 if test "$GCC" = yes; then
   11367   # Check if gcc -print-prog-name=ld gives a path.
   11368   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11369 $as_echo_n "checking for ld used by $CC... " >&6; }
   11370   case $host in
   11371   *-*-mingw*)
   11372     # gcc leaves a trailing carriage return which upsets mingw
   11373     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11374   *)
   11375     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11376   esac
   11377   case $ac_prog in
   11378     # Accept absolute paths.
   11379     [\\/]* | ?:[\\/]*)
   11380       re_direlt='/[^/][^/]*/\.\./'
   11381       # Canonicalize the pathname of ld
   11382       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11383       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11384 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11385       done
   11386       test -z "$LD" && LD="$ac_prog"
   11387       ;;
   11388   "")
   11389     # If it fails, then pretend we aren't using GCC.
   11390     ac_prog=ld
   11391     ;;
   11392   *)
   11393     # If it is relative, then search for the first ld in PATH.
   11394     with_gnu_ld=unknown
   11395     ;;
   11396   esac
   11397 elif test "$with_gnu_ld" = yes; then
   11398   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11399 $as_echo_n "checking for GNU ld... " >&6; }
   11400 else
   11401   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11402 $as_echo_n "checking for non-GNU ld... " >&6; }
   11403 fi
   11404 if test "${lt_cv_path_LD+set}" = set; then
   11405   $as_echo_n "(cached) " >&6
   11406 else
   11407   if test -z "$LD"; then
   11408   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11409   for ac_dir in $PATH; do
   11410     IFS="$lt_save_ifs"
   11411     test -z "$ac_dir" && ac_dir=.
   11412     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11413       lt_cv_path_LD="$ac_dir/$ac_prog"
   11414       # Check to see if the program is GNU ld.  I'd rather use --version,
   11415       # but apparently some variants of GNU ld only accept -v.
   11416       # Break only if it was the GNU/non-GNU ld that we prefer.
   11417       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11418       *GNU* | *'with BFD'*)
   11419 	test "$with_gnu_ld" != no && break
   11420 	;;
   11421       *)
   11422 	test "$with_gnu_ld" != yes && break
   11423 	;;
   11424       esac
   11425     fi
   11426   done
   11427   IFS="$lt_save_ifs"
   11428 else
   11429   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11430 fi
   11431 fi
   11432 
   11433 LD="$lt_cv_path_LD"
   11434 if test -n "$LD"; then
   11435   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11436 $as_echo "$LD" >&6; }
   11437 else
   11438   { $as_echo "$as_me:$LINENO: result: no" >&5
   11439 $as_echo "no" >&6; }
   11440 fi
   11441 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11442 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11443    { (exit 1); exit 1; }; }
   11444 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11445 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11446 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11447   $as_echo_n "(cached) " >&6
   11448 else
   11449   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11450 case `$LD -v 2>&1 </dev/null` in
   11451 *GNU* | *'with BFD'*)
   11452   lt_cv_prog_gnu_ld=yes
   11453   ;;
   11454 *)
   11455   lt_cv_prog_gnu_ld=no
   11456   ;;
   11457 esac
   11458 fi
   11459 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11460 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11461 with_gnu_ld=$lt_cv_prog_gnu_ld
   11462 
   11463 
   11464 
   11465   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11466   # archiving commands below assume that GNU ld is being used.
   11467   if test "$with_gnu_ld" = yes; then
   11468     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11469     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'
   11470 
   11471     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11472     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11473 
   11474     # If archive_cmds runs LD, not CC, wlarc should be empty
   11475     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11476     #     investigate it a little bit more. (MM)
   11477     wlarc='${wl}'
   11478 
   11479     # ancient GNU ld didn't support --whole-archive et. al.
   11480     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11481 	grep 'no-whole-archive' > /dev/null; then
   11482       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11483     else
   11484       whole_archive_flag_spec_CXX=
   11485     fi
   11486   else
   11487     with_gnu_ld=no
   11488     wlarc=
   11489 
   11490     # A generic and very simple default shared library creation
   11491     # command for GNU C++ for the case where it uses the native
   11492     # linker, instead of GNU ld.  If possible, this setting should
   11493     # overridden to take advantage of the native linker features on
   11494     # the platform it is being used on.
   11495     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11496   fi
   11497 
   11498   # Commands to make compiler produce verbose output that lists
   11499   # what "hidden" libraries, object files and flags are used when
   11500   # linking a shared library.
   11501   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11502 
   11503 else
   11504   GXX=no
   11505   with_gnu_ld=no
   11506   wlarc=
   11507 fi
   11508 
   11509 # PORTME: fill in a description of your system's C++ link characteristics
   11510 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11511 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11512 ld_shlibs_CXX=yes
   11513 case $host_os in
   11514   aix3*)
   11515     # FIXME: insert proper C++ library support
   11516     ld_shlibs_CXX=no
   11517     ;;
   11518   aix[4-9]*)
   11519     if test "$host_cpu" = ia64; then
   11520       # On IA64, the linker does run time linking by default, so we don't
   11521       # have to do anything special.
   11522       aix_use_runtimelinking=no
   11523       exp_sym_flag='-Bexport'
   11524       no_entry_flag=""
   11525     else
   11526       aix_use_runtimelinking=no
   11527 
   11528       # Test if we are trying to use run time linking or normal
   11529       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11530       # need to do runtime linking.
   11531       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11532 	for ld_flag in $LDFLAGS; do
   11533 	  case $ld_flag in
   11534 	  *-brtl*)
   11535 	    aix_use_runtimelinking=yes
   11536 	    break
   11537 	    ;;
   11538 	  esac
   11539 	done
   11540 	;;
   11541       esac
   11542 
   11543       exp_sym_flag='-bexport'
   11544       no_entry_flag='-bnoentry'
   11545     fi
   11546 
   11547     # When large executables or shared objects are built, AIX ld can
   11548     # have problems creating the table of contents.  If linking a library
   11549     # or program results in "error TOC overflow" add -mminimal-toc to
   11550     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11551     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11552 
   11553     archive_cmds_CXX=''
   11554     hardcode_direct_CXX=yes
   11555     hardcode_libdir_separator_CXX=':'
   11556     link_all_deplibs_CXX=yes
   11557 
   11558     if test "$GXX" = yes; then
   11559       case $host_os in aix4.[012]|aix4.[012].*)
   11560       # We only want to do this on AIX 4.2 and lower, the check
   11561       # below for broken collect2 doesn't work under 4.3+
   11562 	collect2name=`${CC} -print-prog-name=collect2`
   11563 	if test -f "$collect2name" && \
   11564 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11565 	then
   11566 	  # We have reworked collect2
   11567 	  :
   11568 	else
   11569 	  # We have old collect2
   11570 	  hardcode_direct_CXX=unsupported
   11571 	  # It fails to find uninstalled libraries when the uninstalled
   11572 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11573 	  # to unsupported forces relinking
   11574 	  hardcode_minus_L_CXX=yes
   11575 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11576 	  hardcode_libdir_separator_CXX=
   11577 	fi
   11578 	;;
   11579       esac
   11580       shared_flag='-shared'
   11581       if test "$aix_use_runtimelinking" = yes; then
   11582 	shared_flag="$shared_flag "'${wl}-G'
   11583       fi
   11584     else
   11585       # not using gcc
   11586       if test "$host_cpu" = ia64; then
   11587 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11588 	# chokes on -Wl,-G. The following line is correct:
   11589 	shared_flag='-G'
   11590       else
   11591 	if test "$aix_use_runtimelinking" = yes; then
   11592 	  shared_flag='${wl}-G'
   11593 	else
   11594 	  shared_flag='${wl}-bM:SRE'
   11595 	fi
   11596       fi
   11597     fi
   11598 
   11599     # It seems that -bexpall does not export symbols beginning with
   11600     # underscore (_), so it is better to generate a list of symbols to export.
   11601     always_export_symbols_CXX=yes
   11602     if test "$aix_use_runtimelinking" = yes; then
   11603       # Warning - without using the other runtime loading flags (-brtl),
   11604       # -berok will link without error, but may produce a broken library.
   11605       allow_undefined_flag_CXX='-berok'
   11606       # Determine the default libpath from the value encoded in an empty executable.
   11607       cat >conftest.$ac_ext <<_ACEOF
   11608 /* confdefs.h.  */
   11609 _ACEOF
   11610 cat confdefs.h >>conftest.$ac_ext
   11611 cat >>conftest.$ac_ext <<_ACEOF
   11612 /* end confdefs.h.  */
   11613 
   11614 int
   11615 main ()
   11616 {
   11617 
   11618   ;
   11619   return 0;
   11620 }
   11621 _ACEOF
   11622 rm -f conftest.$ac_objext conftest$ac_exeext
   11623 if { (ac_try="$ac_link"
   11624 case "(($ac_try" in
   11625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11626   *) ac_try_echo=$ac_try;;
   11627 esac
   11628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11629 $as_echo "$ac_try_echo") >&5
   11630   (eval "$ac_link") 2>conftest.er1
   11631   ac_status=$?
   11632   grep -v '^ *+' conftest.er1 >conftest.err
   11633   rm -f conftest.er1
   11634   cat conftest.err >&5
   11635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11636   (exit $ac_status); } && {
   11637 	 test -z "$ac_cxx_werror_flag" ||
   11638 	 test ! -s conftest.err
   11639        } && test -s conftest$ac_exeext && {
   11640 	 test "$cross_compiling" = yes ||
   11641 	 $as_test_x conftest$ac_exeext
   11642        }; then
   11643 
   11644 lt_aix_libpath_sed='
   11645     /Import File Strings/,/^$/ {
   11646 	/^0/ {
   11647 	    s/^0  *\(.*\)$/\1/
   11648 	    p
   11649 	}
   11650     }'
   11651 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11652 # Check for a 64-bit object if we didn't find anything.
   11653 if test -z "$aix_libpath"; then
   11654   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11655 fi
   11656 else
   11657   $as_echo "$as_me: failed program was:" >&5
   11658 sed 's/^/| /' conftest.$ac_ext >&5
   11659 
   11660 
   11661 fi
   11662 
   11663 rm -rf conftest.dSYM
   11664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11665       conftest$ac_exeext conftest.$ac_ext
   11666 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11667 
   11668       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11669 
   11670       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"
   11671      else
   11672       if test "$host_cpu" = ia64; then
   11673 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11674 	allow_undefined_flag_CXX="-z nodefs"
   11675 	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"
   11676       else
   11677 	# Determine the default libpath from the value encoded in an empty executable.
   11678 	cat >conftest.$ac_ext <<_ACEOF
   11679 /* confdefs.h.  */
   11680 _ACEOF
   11681 cat confdefs.h >>conftest.$ac_ext
   11682 cat >>conftest.$ac_ext <<_ACEOF
   11683 /* end confdefs.h.  */
   11684 
   11685 int
   11686 main ()
   11687 {
   11688 
   11689   ;
   11690   return 0;
   11691 }
   11692 _ACEOF
   11693 rm -f conftest.$ac_objext conftest$ac_exeext
   11694 if { (ac_try="$ac_link"
   11695 case "(($ac_try" in
   11696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11697   *) ac_try_echo=$ac_try;;
   11698 esac
   11699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11700 $as_echo "$ac_try_echo") >&5
   11701   (eval "$ac_link") 2>conftest.er1
   11702   ac_status=$?
   11703   grep -v '^ *+' conftest.er1 >conftest.err
   11704   rm -f conftest.er1
   11705   cat conftest.err >&5
   11706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11707   (exit $ac_status); } && {
   11708 	 test -z "$ac_cxx_werror_flag" ||
   11709 	 test ! -s conftest.err
   11710        } && test -s conftest$ac_exeext && {
   11711 	 test "$cross_compiling" = yes ||
   11712 	 $as_test_x conftest$ac_exeext
   11713        }; then
   11714 
   11715 lt_aix_libpath_sed='
   11716     /Import File Strings/,/^$/ {
   11717 	/^0/ {
   11718 	    s/^0  *\(.*\)$/\1/
   11719 	    p
   11720 	}
   11721     }'
   11722 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11723 # Check for a 64-bit object if we didn't find anything.
   11724 if test -z "$aix_libpath"; then
   11725   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11726 fi
   11727 else
   11728   $as_echo "$as_me: failed program was:" >&5
   11729 sed 's/^/| /' conftest.$ac_ext >&5
   11730 
   11731 
   11732 fi
   11733 
   11734 rm -rf conftest.dSYM
   11735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11736       conftest$ac_exeext conftest.$ac_ext
   11737 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11738 
   11739 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11740 	# Warning - without using the other run time loading flags,
   11741 	# -berok will link without error, but may produce a broken library.
   11742 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11743 	allow_undefined_flag_CXX=' ${wl}-berok'
   11744 	# Exported symbols can be pulled into shared objects from archives
   11745 	whole_archive_flag_spec_CXX='$convenience'
   11746 	archive_cmds_need_lc_CXX=yes
   11747 	# This is similar to how AIX traditionally builds its shared libraries.
   11748 	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'
   11749       fi
   11750     fi
   11751     ;;
   11752 
   11753   beos*)
   11754     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11755       allow_undefined_flag_CXX=unsupported
   11756       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11757       # support --undefined.  This deserves some investigation.  FIXME
   11758       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11759     else
   11760       ld_shlibs_CXX=no
   11761     fi
   11762     ;;
   11763 
   11764   chorus*)
   11765     case $cc_basename in
   11766       *)
   11767 	# FIXME: insert proper C++ library support
   11768 	ld_shlibs_CXX=no
   11769 	;;
   11770     esac
   11771     ;;
   11772 
   11773   cygwin* | mingw* | pw32*)
   11774     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11775     # as there is no search path for DLLs.
   11776     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11777     allow_undefined_flag_CXX=unsupported
   11778     always_export_symbols_CXX=no
   11779     enable_shared_with_static_runtimes_CXX=yes
   11780 
   11781     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11782       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'
   11783       # If the export-symbols file already is a .def file (1st line
   11784       # is EXPORTS), use it as is; otherwise, prepend...
   11785       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11786 	cp $export_symbols $output_objdir/$soname.def;
   11787       else
   11788 	echo EXPORTS > $output_objdir/$soname.def;
   11789 	cat $export_symbols >> $output_objdir/$soname.def;
   11790       fi~
   11791       $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'
   11792     else
   11793       ld_shlibs_CXX=no
   11794     fi
   11795   ;;
   11796       darwin* | rhapsody*)
   11797       archive_cmds_need_lc_CXX=no
   11798       hardcode_direct_CXX=no
   11799       hardcode_automatic_CXX=yes
   11800       hardcode_shlibpath_var_CXX=unsupported
   11801       whole_archive_flag_spec_CXX=''
   11802       link_all_deplibs_CXX=yes
   11803       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11804       if test "$GXX" = yes ; then
   11805       output_verbose_link_cmd='echo'
   11806       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}"
   11807       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11808       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}"
   11809       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}"
   11810       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11811         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}"
   11812         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}"
   11813       fi
   11814       else
   11815       case $cc_basename in
   11816         xlc*)
   11817          output_verbose_link_cmd='echo'
   11818           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'
   11819           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11820           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11821           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}'
   11822           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}'
   11823           ;;
   11824        *)
   11825          ld_shlibs_CXX=no
   11826           ;;
   11827       esac
   11828       fi
   11829         ;;
   11830 
   11831   dgux*)
   11832     case $cc_basename in
   11833       ec++*)
   11834 	# FIXME: insert proper C++ library support
   11835 	ld_shlibs_CXX=no
   11836 	;;
   11837       ghcx*)
   11838 	# Green Hills C++ Compiler
   11839 	# FIXME: insert proper C++ library support
   11840 	ld_shlibs_CXX=no
   11841 	;;
   11842       *)
   11843 	# FIXME: insert proper C++ library support
   11844 	ld_shlibs_CXX=no
   11845 	;;
   11846     esac
   11847     ;;
   11848   freebsd[12]*)
   11849     # C++ shared libraries reported to be fairly broken before switch to ELF
   11850     ld_shlibs_CXX=no
   11851     ;;
   11852   freebsd-elf*)
   11853     archive_cmds_need_lc_CXX=no
   11854     ;;
   11855   freebsd* | dragonfly*)
   11856     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11857     # conventions
   11858     ld_shlibs_CXX=yes
   11859     ;;
   11860   gnu*)
   11861     ;;
   11862   hpux9*)
   11863     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11864     hardcode_libdir_separator_CXX=:
   11865     export_dynamic_flag_spec_CXX='${wl}-E'
   11866     hardcode_direct_CXX=yes
   11867     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11868 				# but as the default
   11869 				# location of the library.
   11870 
   11871     case $cc_basename in
   11872     CC*)
   11873       # FIXME: insert proper C++ library support
   11874       ld_shlibs_CXX=no
   11875       ;;
   11876     aCC*)
   11877       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'
   11878       # Commands to make compiler produce verbose output that lists
   11879       # what "hidden" libraries, object files and flags are used when
   11880       # linking a shared library.
   11881       #
   11882       # There doesn't appear to be a way to prevent this compiler from
   11883       # explicitly linking system object files so we need to strip them
   11884       # from the output so that they don't get included in the library
   11885       # dependencies.
   11886       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'
   11887       ;;
   11888     *)
   11889       if test "$GXX" = yes; then
   11890         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'
   11891       else
   11892         # FIXME: insert proper C++ library support
   11893         ld_shlibs_CXX=no
   11894       fi
   11895       ;;
   11896     esac
   11897     ;;
   11898   hpux10*|hpux11*)
   11899     if test $with_gnu_ld = no; then
   11900       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11901       hardcode_libdir_separator_CXX=:
   11902 
   11903       case $host_cpu in
   11904       hppa*64*|ia64*) ;;
   11905       *)
   11906 	export_dynamic_flag_spec_CXX='${wl}-E'
   11907         ;;
   11908       esac
   11909     fi
   11910     case $host_cpu in
   11911     hppa*64*|ia64*)
   11912       hardcode_direct_CXX=no
   11913       hardcode_shlibpath_var_CXX=no
   11914       ;;
   11915     *)
   11916       hardcode_direct_CXX=yes
   11917       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11918 					      # but as the default
   11919 					      # location of the library.
   11920       ;;
   11921     esac
   11922 
   11923     case $cc_basename in
   11924       CC*)
   11925 	# FIXME: insert proper C++ library support
   11926 	ld_shlibs_CXX=no
   11927 	;;
   11928       aCC*)
   11929 	case $host_cpu in
   11930 	hppa*64*)
   11931 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11932 	  ;;
   11933 	ia64*)
   11934 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11935 	  ;;
   11936 	*)
   11937 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11938 	  ;;
   11939 	esac
   11940 	# Commands to make compiler produce verbose output that lists
   11941 	# what "hidden" libraries, object files and flags are used when
   11942 	# linking a shared library.
   11943 	#
   11944 	# There doesn't appear to be a way to prevent this compiler from
   11945 	# explicitly linking system object files so we need to strip them
   11946 	# from the output so that they don't get included in the library
   11947 	# dependencies.
   11948 	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'
   11949 	;;
   11950       *)
   11951 	if test "$GXX" = yes; then
   11952 	  if test $with_gnu_ld = no; then
   11953 	    case $host_cpu in
   11954 	    hppa*64*)
   11955 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11956 	      ;;
   11957 	    ia64*)
   11958 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11959 	      ;;
   11960 	    *)
   11961 	      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'
   11962 	      ;;
   11963 	    esac
   11964 	  fi
   11965 	else
   11966 	  # FIXME: insert proper C++ library support
   11967 	  ld_shlibs_CXX=no
   11968 	fi
   11969 	;;
   11970     esac
   11971     ;;
   11972   interix[3-9]*)
   11973     hardcode_direct_CXX=no
   11974     hardcode_shlibpath_var_CXX=no
   11975     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11976     export_dynamic_flag_spec_CXX='${wl}-E'
   11977     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11978     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11979     # default) and relocated if they conflict, which is a slow very memory
   11980     # consuming and fragmenting process.  To avoid this, we pick a random,
   11981     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11982     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11983     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'
   11984     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'
   11985     ;;
   11986   irix5* | irix6*)
   11987     case $cc_basename in
   11988       CC*)
   11989 	# SGI C++
   11990 	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'
   11991 
   11992 	# Archives containing C++ object files must be created using
   11993 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11994 	# necessary to make sure instantiated templates are included
   11995 	# in the archive.
   11996 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11997 	;;
   11998       *)
   11999 	if test "$GXX" = yes; then
   12000 	  if test "$with_gnu_ld" = no; then
   12001 	    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'
   12002 	  else
   12003 	    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'
   12004 	  fi
   12005 	fi
   12006 	link_all_deplibs_CXX=yes
   12007 	;;
   12008     esac
   12009     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12010     hardcode_libdir_separator_CXX=:
   12011     ;;
   12012   linux* | k*bsd*-gnu)
   12013     case $cc_basename in
   12014       KCC*)
   12015 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12016 
   12017 	# KCC will only create a shared library if the output file
   12018 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12019 	# to its proper name (with version) after linking.
   12020 	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'
   12021 	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'
   12022 	# Commands to make compiler produce verbose output that lists
   12023 	# what "hidden" libraries, object files and flags are used when
   12024 	# linking a shared library.
   12025 	#
   12026 	# There doesn't appear to be a way to prevent this compiler from
   12027 	# explicitly linking system object files so we need to strip them
   12028 	# from the output so that they don't get included in the library
   12029 	# dependencies.
   12030 	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'
   12031 
   12032 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12033 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12034 
   12035 	# Archives containing C++ object files must be created using
   12036 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12037 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12038 	;;
   12039       icpc*)
   12040 	# Intel C++
   12041 	with_gnu_ld=yes
   12042 	# version 8.0 and above of icpc choke on multiply defined symbols
   12043 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12044 	# earlier do not add the objects themselves.
   12045 	case `$CC -V 2>&1` in
   12046 	*"Version 7."*)
   12047   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12048   	  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'
   12049 	  ;;
   12050 	*)  # Version 8.0 or newer
   12051 	  tmp_idyn=
   12052 	  case $host_cpu in
   12053 	    ia64*) tmp_idyn=' -i_dynamic';;
   12054 	  esac
   12055   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12056 	  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'
   12057 	  ;;
   12058 	esac
   12059 	archive_cmds_need_lc_CXX=no
   12060 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12061 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12062 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12063 	;;
   12064       pgCC* | pgcpp*)
   12065         # Portland Group C++ compiler
   12066 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12067   	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'
   12068 
   12069 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12070 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12071 	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'
   12072         ;;
   12073       cxx*)
   12074 	# Compaq C++
   12075 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12076 	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'
   12077 
   12078 	runpath_var=LD_RUN_PATH
   12079 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12080 	hardcode_libdir_separator_CXX=:
   12081 
   12082 	# Commands to make compiler produce verbose output that lists
   12083 	# what "hidden" libraries, object files and flags are used when
   12084 	# linking a shared library.
   12085 	#
   12086 	# There doesn't appear to be a way to prevent this compiler from
   12087 	# explicitly linking system object files so we need to strip them
   12088 	# from the output so that they don't get included in the library
   12089 	# dependencies.
   12090 	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'
   12091 	;;
   12092       *)
   12093 	case `$CC -V 2>&1 | sed 5q` in
   12094 	*Sun\ C*)
   12095 	  # Sun C++ 5.9
   12096 	  no_undefined_flag_CXX=' -zdefs'
   12097 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12098 	  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'
   12099 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12100 	  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'
   12101 
   12102 	  # Not sure whether something based on
   12103 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12104 	  # would be better.
   12105 	  output_verbose_link_cmd='echo'
   12106 
   12107 	  # Archives containing C++ object files must be created using
   12108 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12109 	  # necessary to make sure instantiated templates are included
   12110 	  # in the archive.
   12111 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12112 	  ;;
   12113 	esac
   12114 	;;
   12115     esac
   12116     ;;
   12117   lynxos*)
   12118     # FIXME: insert proper C++ library support
   12119     ld_shlibs_CXX=no
   12120     ;;
   12121   m88k*)
   12122     # FIXME: insert proper C++ library support
   12123     ld_shlibs_CXX=no
   12124     ;;
   12125   mvs*)
   12126     case $cc_basename in
   12127       cxx*)
   12128 	# FIXME: insert proper C++ library support
   12129 	ld_shlibs_CXX=no
   12130 	;;
   12131       *)
   12132 	# FIXME: insert proper C++ library support
   12133 	ld_shlibs_CXX=no
   12134 	;;
   12135     esac
   12136     ;;
   12137   netbsd*)
   12138     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12139       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12140       wlarc=
   12141       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12142       hardcode_direct_CXX=yes
   12143       hardcode_shlibpath_var_CXX=no
   12144     fi
   12145     # Workaround some broken pre-1.5 toolchains
   12146     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12147     ;;
   12148   openbsd2*)
   12149     # C++ shared libraries are fairly broken
   12150     ld_shlibs_CXX=no
   12151     ;;
   12152   openbsd*)
   12153     if test -f /usr/libexec/ld.so; then
   12154       hardcode_direct_CXX=yes
   12155       hardcode_shlibpath_var_CXX=no
   12156       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12157       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12158       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12159 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12160 	export_dynamic_flag_spec_CXX='${wl}-E'
   12161 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12162       fi
   12163       output_verbose_link_cmd='echo'
   12164     else
   12165       ld_shlibs_CXX=no
   12166     fi
   12167     ;;
   12168   osf3*)
   12169     case $cc_basename in
   12170       KCC*)
   12171 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12172 
   12173 	# KCC will only create a shared library if the output file
   12174 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12175 	# to its proper name (with version) after linking.
   12176 	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'
   12177 
   12178 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12179 	hardcode_libdir_separator_CXX=:
   12180 
   12181 	# Archives containing C++ object files must be created using
   12182 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12183 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12184 
   12185 	;;
   12186       RCC*)
   12187 	# Rational C++ 2.4.1
   12188 	# FIXME: insert proper C++ library support
   12189 	ld_shlibs_CXX=no
   12190 	;;
   12191       cxx*)
   12192 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12193 	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'
   12194 
   12195 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12196 	hardcode_libdir_separator_CXX=:
   12197 
   12198 	# Commands to make compiler produce verbose output that lists
   12199 	# what "hidden" libraries, object files and flags are used when
   12200 	# linking a shared library.
   12201 	#
   12202 	# There doesn't appear to be a way to prevent this compiler from
   12203 	# explicitly linking system object files so we need to strip them
   12204 	# from the output so that they don't get included in the library
   12205 	# dependencies.
   12206 	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'
   12207 	;;
   12208       *)
   12209 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12210 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12211 	  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'
   12212 
   12213 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12214 	  hardcode_libdir_separator_CXX=:
   12215 
   12216 	  # Commands to make compiler produce verbose output that lists
   12217 	  # what "hidden" libraries, object files and flags are used when
   12218 	  # linking a shared library.
   12219 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12220 
   12221 	else
   12222 	  # FIXME: insert proper C++ library support
   12223 	  ld_shlibs_CXX=no
   12224 	fi
   12225 	;;
   12226     esac
   12227     ;;
   12228   osf4* | osf5*)
   12229     case $cc_basename in
   12230       KCC*)
   12231 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12232 
   12233 	# KCC will only create a shared library if the output file
   12234 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12235 	# to its proper name (with version) after linking.
   12236 	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'
   12237 
   12238 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12239 	hardcode_libdir_separator_CXX=:
   12240 
   12241 	# Archives containing C++ object files must be created using
   12242 	# the KAI C++ compiler.
   12243 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12244 	;;
   12245       RCC*)
   12246 	# Rational C++ 2.4.1
   12247 	# FIXME: insert proper C++ library support
   12248 	ld_shlibs_CXX=no
   12249 	;;
   12250       cxx*)
   12251 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12252 	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'
   12253 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12254 	  echo "-hidden">> $lib.exp~
   12255 	  $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~
   12256 	  $rm $lib.exp'
   12257 
   12258 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12259 	hardcode_libdir_separator_CXX=:
   12260 
   12261 	# Commands to make compiler produce verbose output that lists
   12262 	# what "hidden" libraries, object files and flags are used when
   12263 	# linking a shared library.
   12264 	#
   12265 	# There doesn't appear to be a way to prevent this compiler from
   12266 	# explicitly linking system object files so we need to strip them
   12267 	# from the output so that they don't get included in the library
   12268 	# dependencies.
   12269 	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'
   12270 	;;
   12271       *)
   12272 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12273 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12274 	 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'
   12275 
   12276 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12277 	  hardcode_libdir_separator_CXX=:
   12278 
   12279 	  # Commands to make compiler produce verbose output that lists
   12280 	  # what "hidden" libraries, object files and flags are used when
   12281 	  # linking a shared library.
   12282 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12283 
   12284 	else
   12285 	  # FIXME: insert proper C++ library support
   12286 	  ld_shlibs_CXX=no
   12287 	fi
   12288 	;;
   12289     esac
   12290     ;;
   12291   psos*)
   12292     # FIXME: insert proper C++ library support
   12293     ld_shlibs_CXX=no
   12294     ;;
   12295   sunos4*)
   12296     case $cc_basename in
   12297       CC*)
   12298 	# Sun C++ 4.x
   12299 	# FIXME: insert proper C++ library support
   12300 	ld_shlibs_CXX=no
   12301 	;;
   12302       lcc*)
   12303 	# Lucid
   12304 	# FIXME: insert proper C++ library support
   12305 	ld_shlibs_CXX=no
   12306 	;;
   12307       *)
   12308 	# FIXME: insert proper C++ library support
   12309 	ld_shlibs_CXX=no
   12310 	;;
   12311     esac
   12312     ;;
   12313   solaris*)
   12314     case $cc_basename in
   12315       CC*)
   12316 	# Sun C++ 4.2, 5.x and Centerline C++
   12317         archive_cmds_need_lc_CXX=yes
   12318 	no_undefined_flag_CXX=' -zdefs'
   12319 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12320 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12321 	$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'
   12322 
   12323 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12324 	hardcode_shlibpath_var_CXX=no
   12325 	case $host_os in
   12326 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12327 	  *)
   12328 	    # The compiler driver will combine and reorder linker options,
   12329 	    # but understands `-z linker_flag'.
   12330 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12331 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12332 	    ;;
   12333 	esac
   12334 	link_all_deplibs_CXX=yes
   12335 
   12336 	output_verbose_link_cmd='echo'
   12337 
   12338 	# Archives containing C++ object files must be created using
   12339 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12340 	# necessary to make sure instantiated templates are included
   12341 	# in the archive.
   12342 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12343 	;;
   12344       gcx*)
   12345 	# Green Hills C++ Compiler
   12346 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12347 
   12348 	# The C++ compiler must be used to create the archive.
   12349 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12350 	;;
   12351       *)
   12352 	# GNU C++ compiler with Solaris linker
   12353 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12354 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12355 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12356 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12357 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12358 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12359 
   12360 	    # Commands to make compiler produce verbose output that lists
   12361 	    # what "hidden" libraries, object files and flags are used when
   12362 	    # linking a shared library.
   12363 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12364 	  else
   12365 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12366 	    # platform.
   12367 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12368 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12369 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12370 
   12371 	    # Commands to make compiler produce verbose output that lists
   12372 	    # what "hidden" libraries, object files and flags are used when
   12373 	    # linking a shared library.
   12374 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12375 	  fi
   12376 
   12377 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12378 	  case $host_os in
   12379 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12380 	  *)
   12381 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12382 	    ;;
   12383 	  esac
   12384 	fi
   12385 	;;
   12386     esac
   12387     ;;
   12388   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12389     no_undefined_flag_CXX='${wl}-z,text'
   12390     archive_cmds_need_lc_CXX=no
   12391     hardcode_shlibpath_var_CXX=no
   12392     runpath_var='LD_RUN_PATH'
   12393 
   12394     case $cc_basename in
   12395       CC*)
   12396 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12397 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12398 	;;
   12399       *)
   12400 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12401 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12402 	;;
   12403     esac
   12404     ;;
   12405   sysv5* | sco3.2v5* | sco5v6*)
   12406     # Note: We can NOT use -z defs as we might desire, because we do not
   12407     # link with -lc, and that would cause any symbols used from libc to
   12408     # always be unresolved, which means just about no library would
   12409     # ever link correctly.  If we're not using GNU ld we use -z text
   12410     # though, which does catch some bad symbols but isn't as heavy-handed
   12411     # as -z defs.
   12412     # For security reasons, it is highly recommended that you always
   12413     # use absolute paths for naming shared libraries, and exclude the
   12414     # DT_RUNPATH tag from executables and libraries.  But doing so
   12415     # requires that you compile everything twice, which is a pain.
   12416     # So that behaviour is only enabled if SCOABSPATH is set to a
   12417     # non-empty value in the environment.  Most likely only useful for
   12418     # creating official distributions of packages.
   12419     # This is a hack until libtool officially supports absolute path
   12420     # names for shared libraries.
   12421     no_undefined_flag_CXX='${wl}-z,text'
   12422     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12423     archive_cmds_need_lc_CXX=no
   12424     hardcode_shlibpath_var_CXX=no
   12425     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12426     hardcode_libdir_separator_CXX=':'
   12427     link_all_deplibs_CXX=yes
   12428     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12429     runpath_var='LD_RUN_PATH'
   12430 
   12431     case $cc_basename in
   12432       CC*)
   12433 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12434 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12435 	;;
   12436       *)
   12437 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12438 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12439 	;;
   12440     esac
   12441     ;;
   12442   tandem*)
   12443     case $cc_basename in
   12444       NCC*)
   12445 	# NonStop-UX NCC 3.20
   12446 	# FIXME: insert proper C++ library support
   12447 	ld_shlibs_CXX=no
   12448 	;;
   12449       *)
   12450 	# FIXME: insert proper C++ library support
   12451 	ld_shlibs_CXX=no
   12452 	;;
   12453     esac
   12454     ;;
   12455   vxworks*)
   12456     # FIXME: insert proper C++ library support
   12457     ld_shlibs_CXX=no
   12458     ;;
   12459   *)
   12460     # FIXME: insert proper C++ library support
   12461     ld_shlibs_CXX=no
   12462     ;;
   12463 esac
   12464 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12465 $as_echo "$ld_shlibs_CXX" >&6; }
   12466 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12467 
   12468 GCC_CXX="$GXX"
   12469 LD_CXX="$LD"
   12470 
   12471 cat > conftest.$ac_ext <<EOF
   12472 class Foo
   12473 {
   12474 public:
   12475   Foo (void) { a = 0; }
   12476 private:
   12477   int a;
   12478 };
   12479 EOF
   12480 
   12481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12482   (eval $ac_compile) 2>&5
   12483   ac_status=$?
   12484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12485   (exit $ac_status); }; then
   12486   # Parse the compiler output and extract the necessary
   12487   # objects, libraries and library flags.
   12488 
   12489   # Sentinel used to keep track of whether or not we are before
   12490   # the conftest object file.
   12491   pre_test_object_deps_done=no
   12492 
   12493   # The `*' in the case matches for architectures that use `case' in
   12494   # $output_verbose_cmd can trigger glob expansion during the loop
   12495   # eval without this substitution.
   12496   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12497 
   12498   for p in `eval $output_verbose_link_cmd`; do
   12499     case $p in
   12500 
   12501     -L* | -R* | -l*)
   12502        # Some compilers place space between "-{L,R}" and the path.
   12503        # Remove the space.
   12504        if test $p = "-L" \
   12505 	  || test $p = "-R"; then
   12506 	 prev=$p
   12507 	 continue
   12508        else
   12509 	 prev=
   12510        fi
   12511 
   12512        if test "$pre_test_object_deps_done" = no; then
   12513 	 case $p in
   12514 	 -L* | -R*)
   12515 	   # Internal compiler library paths should come after those
   12516 	   # provided the user.  The postdeps already come after the
   12517 	   # user supplied libs so there is no need to process them.
   12518 	   if test -z "$compiler_lib_search_path_CXX"; then
   12519 	     compiler_lib_search_path_CXX="${prev}${p}"
   12520 	   else
   12521 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12522 	   fi
   12523 	   ;;
   12524 	 # The "-l" case would never come before the object being
   12525 	 # linked, so don't bother handling this case.
   12526 	 esac
   12527        else
   12528 	 if test -z "$postdeps_CXX"; then
   12529 	   postdeps_CXX="${prev}${p}"
   12530 	 else
   12531 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12532 	 fi
   12533        fi
   12534        ;;
   12535 
   12536     *.$objext)
   12537        # This assumes that the test object file only shows up
   12538        # once in the compiler output.
   12539        if test "$p" = "conftest.$objext"; then
   12540 	 pre_test_object_deps_done=yes
   12541 	 continue
   12542        fi
   12543 
   12544        if test "$pre_test_object_deps_done" = no; then
   12545 	 if test -z "$predep_objects_CXX"; then
   12546 	   predep_objects_CXX="$p"
   12547 	 else
   12548 	   predep_objects_CXX="$predep_objects_CXX $p"
   12549 	 fi
   12550        else
   12551 	 if test -z "$postdep_objects_CXX"; then
   12552 	   postdep_objects_CXX="$p"
   12553 	 else
   12554 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12555 	 fi
   12556        fi
   12557        ;;
   12558 
   12559     *) ;; # Ignore the rest.
   12560 
   12561     esac
   12562   done
   12563 
   12564   # Clean up.
   12565   rm -f a.out a.exe
   12566 else
   12567   echo "libtool.m4: error: problem compiling CXX test program"
   12568 fi
   12569 
   12570 $rm -f confest.$objext
   12571 
   12572 compiler_lib_search_dirs_CXX=
   12573 if test -n "$compiler_lib_search_path_CXX"; then
   12574   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12575 fi
   12576 
   12577 # PORTME: override above test on systems where it is broken
   12578 case $host_os in
   12579 interix[3-9]*)
   12580   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12581   # hack all around it, let's just trust "g++" to DTRT.
   12582   predep_objects_CXX=
   12583   postdep_objects_CXX=
   12584   postdeps_CXX=
   12585   ;;
   12586 
   12587 linux*)
   12588   case `$CC -V 2>&1 | sed 5q` in
   12589   *Sun\ C*)
   12590     # Sun C++ 5.9
   12591     #
   12592     # The more standards-conforming stlport4 library is
   12593     # incompatible with the Cstd library. Avoid specifying
   12594     # it if it's in CXXFLAGS. Ignore libCrun as
   12595     # -library=stlport4 depends on it.
   12596     case " $CXX $CXXFLAGS " in
   12597     *" -library=stlport4 "*)
   12598       solaris_use_stlport4=yes
   12599       ;;
   12600     esac
   12601     if test "$solaris_use_stlport4" != yes; then
   12602       postdeps_CXX='-library=Cstd -library=Crun'
   12603     fi
   12604     ;;
   12605   esac
   12606   ;;
   12607 
   12608 solaris*)
   12609   case $cc_basename in
   12610   CC*)
   12611     # The more standards-conforming stlport4 library is
   12612     # incompatible with the Cstd library. Avoid specifying
   12613     # it if it's in CXXFLAGS. Ignore libCrun as
   12614     # -library=stlport4 depends on it.
   12615     case " $CXX $CXXFLAGS " in
   12616     *" -library=stlport4 "*)
   12617       solaris_use_stlport4=yes
   12618       ;;
   12619     esac
   12620 
   12621     # Adding this requires a known-good setup of shared libraries for
   12622     # Sun compiler versions before 5.6, else PIC objects from an old
   12623     # archive will be linked into the output, leading to subtle bugs.
   12624     if test "$solaris_use_stlport4" != yes; then
   12625       postdeps_CXX='-library=Cstd -library=Crun'
   12626     fi
   12627     ;;
   12628   esac
   12629   ;;
   12630 esac
   12631 
   12632 case " $postdeps_CXX " in
   12633 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12634 esac
   12635 
   12636 lt_prog_compiler_wl_CXX=
   12637 lt_prog_compiler_pic_CXX=
   12638 lt_prog_compiler_static_CXX=
   12639 
   12640 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12641 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12642 
   12643   # C++ specific cases for pic, static, wl, etc.
   12644   if test "$GXX" = yes; then
   12645     lt_prog_compiler_wl_CXX='-Wl,'
   12646     lt_prog_compiler_static_CXX='-static'
   12647 
   12648     case $host_os in
   12649     aix*)
   12650       # All AIX code is PIC.
   12651       if test "$host_cpu" = ia64; then
   12652 	# AIX 5 now supports IA64 processor
   12653 	lt_prog_compiler_static_CXX='-Bstatic'
   12654       fi
   12655       ;;
   12656     amigaos*)
   12657       # FIXME: we need at least 68020 code to build shared libraries, but
   12658       # adding the `-m68020' flag to GCC prevents building anything better,
   12659       # like `-m68040'.
   12660       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12661       ;;
   12662     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12663       # PIC is the default for these OSes.
   12664       ;;
   12665     mingw* | cygwin* | os2* | pw32*)
   12666       # This hack is so that the source file can tell whether it is being
   12667       # built for inclusion in a dll (and should export symbols for example).
   12668       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12669       # (--disable-auto-import) libraries
   12670       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12671       ;;
   12672     darwin* | rhapsody*)
   12673       # PIC is the default on this platform
   12674       # Common symbols not allowed in MH_DYLIB files
   12675       lt_prog_compiler_pic_CXX='-fno-common'
   12676       ;;
   12677     *djgpp*)
   12678       # DJGPP does not support shared libraries at all
   12679       lt_prog_compiler_pic_CXX=
   12680       ;;
   12681     interix[3-9]*)
   12682       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12683       # Instead, we relocate shared libraries at runtime.
   12684       ;;
   12685     sysv4*MP*)
   12686       if test -d /usr/nec; then
   12687 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12688       fi
   12689       ;;
   12690     hpux*)
   12691       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12692       # not for PA HP-UX.
   12693       case $host_cpu in
   12694       hppa*64*|ia64*)
   12695 	;;
   12696       *)
   12697 	lt_prog_compiler_pic_CXX='-fPIC'
   12698 	;;
   12699       esac
   12700       ;;
   12701     *)
   12702       lt_prog_compiler_pic_CXX='-fPIC'
   12703       ;;
   12704     esac
   12705   else
   12706     case $host_os in
   12707       aix[4-9]*)
   12708 	# All AIX code is PIC.
   12709 	if test "$host_cpu" = ia64; then
   12710 	  # AIX 5 now supports IA64 processor
   12711 	  lt_prog_compiler_static_CXX='-Bstatic'
   12712 	else
   12713 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12714 	fi
   12715 	;;
   12716       chorus*)
   12717 	case $cc_basename in
   12718 	cxch68*)
   12719 	  # Green Hills C++ Compiler
   12720 	  # _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"
   12721 	  ;;
   12722 	esac
   12723 	;;
   12724        darwin*)
   12725          # PIC is the default on this platform
   12726          # Common symbols not allowed in MH_DYLIB files
   12727          case $cc_basename in
   12728            xlc*)
   12729            lt_prog_compiler_pic_CXX='-qnocommon'
   12730            lt_prog_compiler_wl_CXX='-Wl,'
   12731            ;;
   12732          esac
   12733        ;;
   12734       dgux*)
   12735 	case $cc_basename in
   12736 	  ec++*)
   12737 	    lt_prog_compiler_pic_CXX='-KPIC'
   12738 	    ;;
   12739 	  ghcx*)
   12740 	    # Green Hills C++ Compiler
   12741 	    lt_prog_compiler_pic_CXX='-pic'
   12742 	    ;;
   12743 	  *)
   12744 	    ;;
   12745 	esac
   12746 	;;
   12747       freebsd* | dragonfly*)
   12748 	# FreeBSD uses GNU C++
   12749 	;;
   12750       hpux9* | hpux10* | hpux11*)
   12751 	case $cc_basename in
   12752 	  CC*)
   12753 	    lt_prog_compiler_wl_CXX='-Wl,'
   12754 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12755 	    if test "$host_cpu" != ia64; then
   12756 	      lt_prog_compiler_pic_CXX='+Z'
   12757 	    fi
   12758 	    ;;
   12759 	  aCC*)
   12760 	    lt_prog_compiler_wl_CXX='-Wl,'
   12761 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12762 	    case $host_cpu in
   12763 	    hppa*64*|ia64*)
   12764 	      # +Z the default
   12765 	      ;;
   12766 	    *)
   12767 	      lt_prog_compiler_pic_CXX='+Z'
   12768 	      ;;
   12769 	    esac
   12770 	    ;;
   12771 	  *)
   12772 	    ;;
   12773 	esac
   12774 	;;
   12775       interix*)
   12776 	# This is c89, which is MS Visual C++ (no shared libs)
   12777 	# Anyone wants to do a port?
   12778 	;;
   12779       irix5* | irix6* | nonstopux*)
   12780 	case $cc_basename in
   12781 	  CC*)
   12782 	    lt_prog_compiler_wl_CXX='-Wl,'
   12783 	    lt_prog_compiler_static_CXX='-non_shared'
   12784 	    # CC pic flag -KPIC is the default.
   12785 	    ;;
   12786 	  *)
   12787 	    ;;
   12788 	esac
   12789 	;;
   12790       linux* | k*bsd*-gnu)
   12791 	case $cc_basename in
   12792 	  KCC*)
   12793 	    # KAI C++ Compiler
   12794 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12795 	    lt_prog_compiler_pic_CXX='-fPIC'
   12796 	    ;;
   12797 	  icpc* | ecpc*)
   12798 	    # Intel C++
   12799 	    lt_prog_compiler_wl_CXX='-Wl,'
   12800 	    lt_prog_compiler_pic_CXX='-KPIC'
   12801 	    lt_prog_compiler_static_CXX='-static'
   12802 	    ;;
   12803 	  pgCC* | pgcpp*)
   12804 	    # Portland Group C++ compiler.
   12805 	    lt_prog_compiler_wl_CXX='-Wl,'
   12806 	    lt_prog_compiler_pic_CXX='-fpic'
   12807 	    lt_prog_compiler_static_CXX='-Bstatic'
   12808 	    ;;
   12809 	  cxx*)
   12810 	    # Compaq C++
   12811 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12812 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12813 	    lt_prog_compiler_pic_CXX=
   12814 	    lt_prog_compiler_static_CXX='-non_shared'
   12815 	    ;;
   12816 	  *)
   12817 	    case `$CC -V 2>&1 | sed 5q` in
   12818 	    *Sun\ C*)
   12819 	      # Sun C++ 5.9
   12820 	      lt_prog_compiler_pic_CXX='-KPIC'
   12821 	      lt_prog_compiler_static_CXX='-Bstatic'
   12822 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12823 	      ;;
   12824 	    esac
   12825 	    ;;
   12826 	esac
   12827 	;;
   12828       lynxos*)
   12829 	;;
   12830       m88k*)
   12831 	;;
   12832       mvs*)
   12833 	case $cc_basename in
   12834 	  cxx*)
   12835 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12836 	    ;;
   12837 	  *)
   12838 	    ;;
   12839 	esac
   12840 	;;
   12841       netbsd*)
   12842 	;;
   12843       osf3* | osf4* | osf5*)
   12844 	case $cc_basename in
   12845 	  KCC*)
   12846 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12847 	    ;;
   12848 	  RCC*)
   12849 	    # Rational C++ 2.4.1
   12850 	    lt_prog_compiler_pic_CXX='-pic'
   12851 	    ;;
   12852 	  cxx*)
   12853 	    # Digital/Compaq C++
   12854 	    lt_prog_compiler_wl_CXX='-Wl,'
   12855 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12856 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12857 	    lt_prog_compiler_pic_CXX=
   12858 	    lt_prog_compiler_static_CXX='-non_shared'
   12859 	    ;;
   12860 	  *)
   12861 	    ;;
   12862 	esac
   12863 	;;
   12864       psos*)
   12865 	;;
   12866       solaris*)
   12867 	case $cc_basename in
   12868 	  CC*)
   12869 	    # Sun C++ 4.2, 5.x and Centerline C++
   12870 	    lt_prog_compiler_pic_CXX='-KPIC'
   12871 	    lt_prog_compiler_static_CXX='-Bstatic'
   12872 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12873 	    ;;
   12874 	  gcx*)
   12875 	    # Green Hills C++ Compiler
   12876 	    lt_prog_compiler_pic_CXX='-PIC'
   12877 	    ;;
   12878 	  *)
   12879 	    ;;
   12880 	esac
   12881 	;;
   12882       sunos4*)
   12883 	case $cc_basename in
   12884 	  CC*)
   12885 	    # Sun C++ 4.x
   12886 	    lt_prog_compiler_pic_CXX='-pic'
   12887 	    lt_prog_compiler_static_CXX='-Bstatic'
   12888 	    ;;
   12889 	  lcc*)
   12890 	    # Lucid
   12891 	    lt_prog_compiler_pic_CXX='-pic'
   12892 	    ;;
   12893 	  *)
   12894 	    ;;
   12895 	esac
   12896 	;;
   12897       tandem*)
   12898 	case $cc_basename in
   12899 	  NCC*)
   12900 	    # NonStop-UX NCC 3.20
   12901 	    lt_prog_compiler_pic_CXX='-KPIC'
   12902 	    ;;
   12903 	  *)
   12904 	    ;;
   12905 	esac
   12906 	;;
   12907       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12908 	case $cc_basename in
   12909 	  CC*)
   12910 	    lt_prog_compiler_wl_CXX='-Wl,'
   12911 	    lt_prog_compiler_pic_CXX='-KPIC'
   12912 	    lt_prog_compiler_static_CXX='-Bstatic'
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       vxworks*)
   12917 	;;
   12918       *)
   12919 	lt_prog_compiler_can_build_shared_CXX=no
   12920 	;;
   12921     esac
   12922   fi
   12923 
   12924 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12925 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12926 
   12927 #
   12928 # Check to make sure the PIC flag actually works.
   12929 #
   12930 if test -n "$lt_prog_compiler_pic_CXX"; then
   12931 
   12932 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12933 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12934 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12935   $as_echo_n "(cached) " >&6
   12936 else
   12937   lt_cv_prog_compiler_pic_works_CXX=no
   12938   ac_outfile=conftest.$ac_objext
   12939    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12940    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12941    # Insert the option either (1) after the last *FLAGS variable, or
   12942    # (2) before a word containing "conftest.", or (3) at the end.
   12943    # Note that $ac_compile itself does not contain backslashes and begins
   12944    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12945    # The option is referenced via a variable to avoid confusing sed.
   12946    lt_compile=`echo "$ac_compile" | $SED \
   12947    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12948    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12949    -e 's:$: $lt_compiler_flag:'`
   12950    (eval echo "\"\$as_me:12950: $lt_compile\"" >&5)
   12951    (eval "$lt_compile" 2>conftest.err)
   12952    ac_status=$?
   12953    cat conftest.err >&5
   12954    echo "$as_me:12954: \$? = $ac_status" >&5
   12955    if (exit $ac_status) && test -s "$ac_outfile"; then
   12956      # The compiler can only warn and ignore the option if not recognized
   12957      # So say no if there are warnings other than the usual output.
   12958      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12959      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12960      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12961        lt_cv_prog_compiler_pic_works_CXX=yes
   12962      fi
   12963    fi
   12964    $rm conftest*
   12965 
   12966 fi
   12967 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12968 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12969 
   12970 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12971     case $lt_prog_compiler_pic_CXX in
   12972      "" | " "*) ;;
   12973      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12974      esac
   12975 else
   12976     lt_prog_compiler_pic_CXX=
   12977      lt_prog_compiler_can_build_shared_CXX=no
   12978 fi
   12979 
   12980 fi
   12981 case $host_os in
   12982   # For platforms which do not support PIC, -DPIC is meaningless:
   12983   *djgpp*)
   12984     lt_prog_compiler_pic_CXX=
   12985     ;;
   12986   *)
   12987     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12988     ;;
   12989 esac
   12990 
   12991 #
   12992 # Check to make sure the static flag actually works.
   12993 #
   12994 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12995 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12996 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12997 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12998   $as_echo_n "(cached) " >&6
   12999 else
   13000   lt_cv_prog_compiler_static_works_CXX=no
   13001    save_LDFLAGS="$LDFLAGS"
   13002    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13003    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13004    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13005      # The linker can only warn and ignore the option if not recognized
   13006      # So say no if there are warnings
   13007      if test -s conftest.err; then
   13008        # Append any errors to the config.log.
   13009        cat conftest.err 1>&5
   13010        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13011        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13012        if diff conftest.exp conftest.er2 >/dev/null; then
   13013          lt_cv_prog_compiler_static_works_CXX=yes
   13014        fi
   13015      else
   13016        lt_cv_prog_compiler_static_works_CXX=yes
   13017      fi
   13018    fi
   13019    $rm -r conftest*
   13020    LDFLAGS="$save_LDFLAGS"
   13021 
   13022 fi
   13023 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13024 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13025 
   13026 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13027     :
   13028 else
   13029     lt_prog_compiler_static_CXX=
   13030 fi
   13031 
   13032 
   13033 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13034 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13035 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13036   $as_echo_n "(cached) " >&6
   13037 else
   13038   lt_cv_prog_compiler_c_o_CXX=no
   13039    $rm -r conftest 2>/dev/null
   13040    mkdir conftest
   13041    cd conftest
   13042    mkdir out
   13043    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13044 
   13045    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13046    # Insert the option either (1) after the last *FLAGS variable, or
   13047    # (2) before a word containing "conftest.", or (3) at the end.
   13048    # Note that $ac_compile itself does not contain backslashes and begins
   13049    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13050    lt_compile=`echo "$ac_compile" | $SED \
   13051    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13052    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13053    -e 's:$: $lt_compiler_flag:'`
   13054    (eval echo "\"\$as_me:13054: $lt_compile\"" >&5)
   13055    (eval "$lt_compile" 2>out/conftest.err)
   13056    ac_status=$?
   13057    cat out/conftest.err >&5
   13058    echo "$as_me:13058: \$? = $ac_status" >&5
   13059    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13060    then
   13061      # The compiler can only warn and ignore the option if not recognized
   13062      # So say no if there are warnings
   13063      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13064      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13065      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13066        lt_cv_prog_compiler_c_o_CXX=yes
   13067      fi
   13068    fi
   13069    chmod u+w . 2>&5
   13070    $rm conftest*
   13071    # SGI C++ compiler will create directory out/ii_files/ for
   13072    # template instantiation
   13073    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13074    $rm out/* && rmdir out
   13075    cd ..
   13076    rmdir conftest
   13077    $rm conftest*
   13078 
   13079 fi
   13080 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13081 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13082 
   13083 
   13084 hard_links="nottested"
   13085 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13086   # do not overwrite the value of need_locks provided by the user
   13087   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13088 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13089   hard_links=yes
   13090   $rm conftest*
   13091   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13092   touch conftest.a
   13093   ln conftest.a conftest.b 2>&5 || hard_links=no
   13094   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13095   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13096 $as_echo "$hard_links" >&6; }
   13097   if test "$hard_links" = no; then
   13098     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13099 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13100     need_locks=warn
   13101   fi
   13102 else
   13103   need_locks=no
   13104 fi
   13105 
   13106 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13107 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13108 
   13109   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13110   case $host_os in
   13111   aix[4-9]*)
   13112     # If we're using GNU nm, then we don't want the "-C" option.
   13113     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13114     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13115       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'
   13116     else
   13117       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'
   13118     fi
   13119     ;;
   13120   pw32*)
   13121     export_symbols_cmds_CXX="$ltdll_cmds"
   13122   ;;
   13123   cygwin* | mingw*)
   13124     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'
   13125   ;;
   13126   *)
   13127     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13128   ;;
   13129   esac
   13130   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13131 
   13132 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13133 $as_echo "$ld_shlibs_CXX" >&6; }
   13134 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13135 
   13136 #
   13137 # Do we need to explicitly link libc?
   13138 #
   13139 case "x$archive_cmds_need_lc_CXX" in
   13140 x|xyes)
   13141   # Assume -lc should be added
   13142   archive_cmds_need_lc_CXX=yes
   13143 
   13144   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13145     case $archive_cmds_CXX in
   13146     *'~'*)
   13147       # FIXME: we may have to deal with multi-command sequences.
   13148       ;;
   13149     '$CC '*)
   13150       # Test whether the compiler implicitly links with -lc since on some
   13151       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13152       # to ld, don't add -lc before -lgcc.
   13153       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13155       $rm conftest*
   13156       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13157 
   13158       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13159   (eval $ac_compile) 2>&5
   13160   ac_status=$?
   13161   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13162   (exit $ac_status); } 2>conftest.err; then
   13163         soname=conftest
   13164         lib=conftest
   13165         libobjs=conftest.$ac_objext
   13166         deplibs=
   13167         wl=$lt_prog_compiler_wl_CXX
   13168 	pic_flag=$lt_prog_compiler_pic_CXX
   13169         compiler_flags=-v
   13170         linker_flags=-v
   13171         verstring=
   13172         output_objdir=.
   13173         libname=conftest
   13174         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13175         allow_undefined_flag_CXX=
   13176         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13177   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13178   ac_status=$?
   13179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13180   (exit $ac_status); }
   13181         then
   13182 	  archive_cmds_need_lc_CXX=no
   13183         else
   13184 	  archive_cmds_need_lc_CXX=yes
   13185         fi
   13186         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13187       else
   13188         cat conftest.err 1>&5
   13189       fi
   13190       $rm conftest*
   13191       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13192 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13193       ;;
   13194     esac
   13195   fi
   13196   ;;
   13197 esac
   13198 
   13199 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13200 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13201 library_names_spec=
   13202 libname_spec='lib$name'
   13203 soname_spec=
   13204 shrext_cmds=".so"
   13205 postinstall_cmds=
   13206 postuninstall_cmds=
   13207 finish_cmds=
   13208 finish_eval=
   13209 shlibpath_var=
   13210 shlibpath_overrides_runpath=unknown
   13211 version_type=none
   13212 dynamic_linker="$host_os ld.so"
   13213 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13214 
   13215 need_lib_prefix=unknown
   13216 hardcode_into_libs=no
   13217 
   13218 # when you set need_version to no, make sure it does not cause -set_version
   13219 # flags to be left without arguments
   13220 need_version=unknown
   13221 
   13222 case $host_os in
   13223 aix3*)
   13224   version_type=linux
   13225   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13226   shlibpath_var=LIBPATH
   13227 
   13228   # AIX 3 has no versioning support, so we append a major version to the name.
   13229   soname_spec='${libname}${release}${shared_ext}$major'
   13230   ;;
   13231 
   13232 aix[4-9]*)
   13233   version_type=linux
   13234   need_lib_prefix=no
   13235   need_version=no
   13236   hardcode_into_libs=yes
   13237   if test "$host_cpu" = ia64; then
   13238     # AIX 5 supports IA64
   13239     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13240     shlibpath_var=LD_LIBRARY_PATH
   13241   else
   13242     # With GCC up to 2.95.x, collect2 would create an import file
   13243     # for dependence libraries.  The import file would start with
   13244     # the line `#! .'.  This would cause the generated library to
   13245     # depend on `.', always an invalid library.  This was fixed in
   13246     # development snapshots of GCC prior to 3.0.
   13247     case $host_os in
   13248       aix4 | aix4.[01] | aix4.[01].*)
   13249       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13250 	   echo ' yes '
   13251 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13252 	:
   13253       else
   13254 	can_build_shared=no
   13255       fi
   13256       ;;
   13257     esac
   13258     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13259     # soname into executable. Probably we can add versioning support to
   13260     # collect2, so additional links can be useful in future.
   13261     if test "$aix_use_runtimelinking" = yes; then
   13262       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13263       # instead of lib<name>.a to let people know that these are not
   13264       # typical AIX shared libraries.
   13265       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13266     else
   13267       # We preserve .a as extension for shared libraries through AIX4.2
   13268       # and later when we are not doing run time linking.
   13269       library_names_spec='${libname}${release}.a $libname.a'
   13270       soname_spec='${libname}${release}${shared_ext}$major'
   13271     fi
   13272     shlibpath_var=LIBPATH
   13273   fi
   13274   ;;
   13275 
   13276 amigaos*)
   13277   library_names_spec='$libname.ixlibrary $libname.a'
   13278   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13279   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'
   13280   ;;
   13281 
   13282 beos*)
   13283   library_names_spec='${libname}${shared_ext}'
   13284   dynamic_linker="$host_os ld.so"
   13285   shlibpath_var=LIBRARY_PATH
   13286   ;;
   13287 
   13288 bsdi[45]*)
   13289   version_type=linux
   13290   need_version=no
   13291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13292   soname_spec='${libname}${release}${shared_ext}$major'
   13293   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13294   shlibpath_var=LD_LIBRARY_PATH
   13295   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13296   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13297   # the default ld.so.conf also contains /usr/contrib/lib and
   13298   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13299   # libtool to hard-code these into programs
   13300   ;;
   13301 
   13302 cygwin* | mingw* | pw32*)
   13303   version_type=windows
   13304   shrext_cmds=".dll"
   13305   need_version=no
   13306   need_lib_prefix=no
   13307 
   13308   case $GCC,$host_os in
   13309   yes,cygwin* | yes,mingw* | yes,pw32*)
   13310     library_names_spec='$libname.dll.a'
   13311     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13312     postinstall_cmds='base_file=`basename \${file}`~
   13313       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13314       dldir=$destdir/`dirname \$dlpath`~
   13315       test -d \$dldir || mkdir -p \$dldir~
   13316       $install_prog $dir/$dlname \$dldir/$dlname~
   13317       chmod a+x \$dldir/$dlname'
   13318     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13319       dlpath=$dir/\$dldll~
   13320        $rm \$dlpath'
   13321     shlibpath_overrides_runpath=yes
   13322 
   13323     case $host_os in
   13324     cygwin*)
   13325       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13326       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13327       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13328       ;;
   13329     mingw*)
   13330       # MinGW DLLs use traditional 'lib' prefix
   13331       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13332       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13333       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13334         # It is most probably a Windows format PATH printed by
   13335         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13336         # path with ; separators, and with drive letters. We can handle the
   13337         # drive letters (cygwin fileutils understands them), so leave them,
   13338         # especially as we might pass files found there to a mingw objdump,
   13339         # which wouldn't understand a cygwinified path. Ahh.
   13340         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13341       else
   13342         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13343       fi
   13344       ;;
   13345     pw32*)
   13346       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13347       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13348       ;;
   13349     esac
   13350     ;;
   13351 
   13352   *)
   13353     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13354     ;;
   13355   esac
   13356   dynamic_linker='Win32 ld.exe'
   13357   # FIXME: first we should search . and the directory the executable is in
   13358   shlibpath_var=PATH
   13359   ;;
   13360 
   13361 darwin* | rhapsody*)
   13362   dynamic_linker="$host_os dyld"
   13363   version_type=darwin
   13364   need_lib_prefix=no
   13365   need_version=no
   13366   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13367   soname_spec='${libname}${release}${major}$shared_ext'
   13368   shlibpath_overrides_runpath=yes
   13369   shlibpath_var=DYLD_LIBRARY_PATH
   13370   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13371 
   13372   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13373   ;;
   13374 
   13375 dgux*)
   13376   version_type=linux
   13377   need_lib_prefix=no
   13378   need_version=no
   13379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13380   soname_spec='${libname}${release}${shared_ext}$major'
   13381   shlibpath_var=LD_LIBRARY_PATH
   13382   ;;
   13383 
   13384 freebsd1*)
   13385   dynamic_linker=no
   13386   ;;
   13387 
   13388 freebsd* | dragonfly*)
   13389   # DragonFly does not have aout.  When/if they implement a new
   13390   # versioning mechanism, adjust this.
   13391   if test -x /usr/bin/objformat; then
   13392     objformat=`/usr/bin/objformat`
   13393   else
   13394     case $host_os in
   13395     freebsd[123]*) objformat=aout ;;
   13396     *) objformat=elf ;;
   13397     esac
   13398   fi
   13399   version_type=freebsd-$objformat
   13400   case $version_type in
   13401     freebsd-elf*)
   13402       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13403       need_version=no
   13404       need_lib_prefix=no
   13405       ;;
   13406     freebsd-*)
   13407       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13408       need_version=yes
   13409       ;;
   13410   esac
   13411   shlibpath_var=LD_LIBRARY_PATH
   13412   case $host_os in
   13413   freebsd2*)
   13414     shlibpath_overrides_runpath=yes
   13415     ;;
   13416   freebsd3.[01]* | freebsdelf3.[01]*)
   13417     shlibpath_overrides_runpath=yes
   13418     hardcode_into_libs=yes
   13419     ;;
   13420   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13421   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13422     shlibpath_overrides_runpath=no
   13423     hardcode_into_libs=yes
   13424     ;;
   13425   *) # from 4.6 on, and DragonFly
   13426     shlibpath_overrides_runpath=yes
   13427     hardcode_into_libs=yes
   13428     ;;
   13429   esac
   13430   ;;
   13431 
   13432 gnu*)
   13433   version_type=linux
   13434   need_lib_prefix=no
   13435   need_version=no
   13436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13437   soname_spec='${libname}${release}${shared_ext}$major'
   13438   shlibpath_var=LD_LIBRARY_PATH
   13439   hardcode_into_libs=yes
   13440   ;;
   13441 
   13442 hpux9* | hpux10* | hpux11*)
   13443   # Give a soname corresponding to the major version so that dld.sl refuses to
   13444   # link against other versions.
   13445   version_type=sunos
   13446   need_lib_prefix=no
   13447   need_version=no
   13448   case $host_cpu in
   13449   ia64*)
   13450     shrext_cmds='.so'
   13451     hardcode_into_libs=yes
   13452     dynamic_linker="$host_os dld.so"
   13453     shlibpath_var=LD_LIBRARY_PATH
   13454     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13455     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13456     soname_spec='${libname}${release}${shared_ext}$major'
   13457     if test "X$HPUX_IA64_MODE" = X32; then
   13458       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13459     else
   13460       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13461     fi
   13462     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13463     ;;
   13464    hppa*64*)
   13465      shrext_cmds='.sl'
   13466      hardcode_into_libs=yes
   13467      dynamic_linker="$host_os dld.sl"
   13468      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13469      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13470      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13471      soname_spec='${libname}${release}${shared_ext}$major'
   13472      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13473      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13474      ;;
   13475    *)
   13476     shrext_cmds='.sl'
   13477     dynamic_linker="$host_os dld.sl"
   13478     shlibpath_var=SHLIB_PATH
   13479     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13480     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13481     soname_spec='${libname}${release}${shared_ext}$major'
   13482     ;;
   13483   esac
   13484   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13485   postinstall_cmds='chmod 555 $lib'
   13486   ;;
   13487 
   13488 interix[3-9]*)
   13489   version_type=linux
   13490   need_lib_prefix=no
   13491   need_version=no
   13492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13493   soname_spec='${libname}${release}${shared_ext}$major'
   13494   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13495   shlibpath_var=LD_LIBRARY_PATH
   13496   shlibpath_overrides_runpath=no
   13497   hardcode_into_libs=yes
   13498   ;;
   13499 
   13500 irix5* | irix6* | nonstopux*)
   13501   case $host_os in
   13502     nonstopux*) version_type=nonstopux ;;
   13503     *)
   13504 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13505 		version_type=linux
   13506 	else
   13507 		version_type=irix
   13508 	fi ;;
   13509   esac
   13510   need_lib_prefix=no
   13511   need_version=no
   13512   soname_spec='${libname}${release}${shared_ext}$major'
   13513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13514   case $host_os in
   13515   irix5* | nonstopux*)
   13516     libsuff= shlibsuff=
   13517     ;;
   13518   *)
   13519     case $LD in # libtool.m4 will add one of these switches to LD
   13520     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13521       libsuff= shlibsuff= libmagic=32-bit;;
   13522     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13523       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13524     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13525       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13526     *) libsuff= shlibsuff= libmagic=never-match;;
   13527     esac
   13528     ;;
   13529   esac
   13530   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13531   shlibpath_overrides_runpath=no
   13532   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13533   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13534   hardcode_into_libs=yes
   13535   ;;
   13536 
   13537 # No shared lib support for Linux oldld, aout, or coff.
   13538 linux*oldld* | linux*aout* | linux*coff*)
   13539   dynamic_linker=no
   13540   ;;
   13541 
   13542 # This must be Linux ELF.
   13543 linux* | k*bsd*-gnu)
   13544   version_type=linux
   13545   need_lib_prefix=no
   13546   need_version=no
   13547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13548   soname_spec='${libname}${release}${shared_ext}$major'
   13549   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13550   shlibpath_var=LD_LIBRARY_PATH
   13551   shlibpath_overrides_runpath=no
   13552   # This implies no fast_install, which is unacceptable.
   13553   # Some rework will be needed to allow for fast_install
   13554   # before this can be enabled.
   13555   hardcode_into_libs=yes
   13556   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13557   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13558 
   13559   # Append ld.so.conf contents to the search path
   13560   if test -f /etc/ld.so.conf; then
   13561     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' ' '`
   13562     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13563   fi
   13564 
   13565   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13566   # powerpc, because MkLinux only supported shared libraries with the
   13567   # GNU dynamic linker.  Since this was broken with cross compilers,
   13568   # most powerpc-linux boxes support dynamic linking these days and
   13569   # people can always --disable-shared, the test was removed, and we
   13570   # assume the GNU/Linux dynamic linker is in use.
   13571   dynamic_linker='GNU/Linux ld.so'
   13572   ;;
   13573 
   13574 netbsd*)
   13575   version_type=sunos
   13576   need_lib_prefix=no
   13577   need_version=no
   13578   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13580     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13581     dynamic_linker='NetBSD (a.out) ld.so'
   13582   else
   13583     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13584     soname_spec='${libname}${release}${shared_ext}$major'
   13585     dynamic_linker='NetBSD ld.elf_so'
   13586   fi
   13587   shlibpath_var=LD_LIBRARY_PATH
   13588   shlibpath_overrides_runpath=yes
   13589   hardcode_into_libs=yes
   13590   ;;
   13591 
   13592 newsos6)
   13593   version_type=linux
   13594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13595   shlibpath_var=LD_LIBRARY_PATH
   13596   shlibpath_overrides_runpath=yes
   13597   ;;
   13598 
   13599 nto-qnx*)
   13600   version_type=linux
   13601   need_lib_prefix=no
   13602   need_version=no
   13603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13604   soname_spec='${libname}${release}${shared_ext}$major'
   13605   shlibpath_var=LD_LIBRARY_PATH
   13606   shlibpath_overrides_runpath=yes
   13607   ;;
   13608 
   13609 openbsd*)
   13610   version_type=sunos
   13611   sys_lib_dlsearch_path_spec="/usr/lib"
   13612   need_lib_prefix=no
   13613   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13614   case $host_os in
   13615     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13616     *)                         need_version=no  ;;
   13617   esac
   13618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13619   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13620   shlibpath_var=LD_LIBRARY_PATH
   13621   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13622     case $host_os in
   13623       openbsd2.[89] | openbsd2.[89].*)
   13624 	shlibpath_overrides_runpath=no
   13625 	;;
   13626       *)
   13627 	shlibpath_overrides_runpath=yes
   13628 	;;
   13629       esac
   13630   else
   13631     shlibpath_overrides_runpath=yes
   13632   fi
   13633   ;;
   13634 
   13635 os2*)
   13636   libname_spec='$name'
   13637   shrext_cmds=".dll"
   13638   need_lib_prefix=no
   13639   library_names_spec='$libname${shared_ext} $libname.a'
   13640   dynamic_linker='OS/2 ld.exe'
   13641   shlibpath_var=LIBPATH
   13642   ;;
   13643 
   13644 osf3* | osf4* | osf5*)
   13645   version_type=osf
   13646   need_lib_prefix=no
   13647   need_version=no
   13648   soname_spec='${libname}${release}${shared_ext}$major'
   13649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13650   shlibpath_var=LD_LIBRARY_PATH
   13651   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13652   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13653   ;;
   13654 
   13655 rdos*)
   13656   dynamic_linker=no
   13657   ;;
   13658 
   13659 solaris*)
   13660   version_type=linux
   13661   need_lib_prefix=no
   13662   need_version=no
   13663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13664   soname_spec='${libname}${release}${shared_ext}$major'
   13665   shlibpath_var=LD_LIBRARY_PATH
   13666   shlibpath_overrides_runpath=yes
   13667   hardcode_into_libs=yes
   13668   # ldd complains unless libraries are executable
   13669   postinstall_cmds='chmod +x $lib'
   13670   ;;
   13671 
   13672 sunos4*)
   13673   version_type=sunos
   13674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13675   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13676   shlibpath_var=LD_LIBRARY_PATH
   13677   shlibpath_overrides_runpath=yes
   13678   if test "$with_gnu_ld" = yes; then
   13679     need_lib_prefix=no
   13680   fi
   13681   need_version=yes
   13682   ;;
   13683 
   13684 sysv4 | sysv4.3*)
   13685   version_type=linux
   13686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13687   soname_spec='${libname}${release}${shared_ext}$major'
   13688   shlibpath_var=LD_LIBRARY_PATH
   13689   case $host_vendor in
   13690     sni)
   13691       shlibpath_overrides_runpath=no
   13692       need_lib_prefix=no
   13693       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13694       runpath_var=LD_RUN_PATH
   13695       ;;
   13696     siemens)
   13697       need_lib_prefix=no
   13698       ;;
   13699     motorola)
   13700       need_lib_prefix=no
   13701       need_version=no
   13702       shlibpath_overrides_runpath=no
   13703       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13704       ;;
   13705   esac
   13706   ;;
   13707 
   13708 sysv4*MP*)
   13709   if test -d /usr/nec ;then
   13710     version_type=linux
   13711     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13712     soname_spec='$libname${shared_ext}.$major'
   13713     shlibpath_var=LD_LIBRARY_PATH
   13714   fi
   13715   ;;
   13716 
   13717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13718   version_type=freebsd-elf
   13719   need_lib_prefix=no
   13720   need_version=no
   13721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13722   soname_spec='${libname}${release}${shared_ext}$major'
   13723   shlibpath_var=LD_LIBRARY_PATH
   13724   hardcode_into_libs=yes
   13725   if test "$with_gnu_ld" = yes; then
   13726     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13727     shlibpath_overrides_runpath=no
   13728   else
   13729     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13730     shlibpath_overrides_runpath=yes
   13731     case $host_os in
   13732       sco3.2v5*)
   13733         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13734 	;;
   13735     esac
   13736   fi
   13737   sys_lib_dlsearch_path_spec='/usr/lib'
   13738   ;;
   13739 
   13740 uts4*)
   13741   version_type=linux
   13742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13743   soname_spec='${libname}${release}${shared_ext}$major'
   13744   shlibpath_var=LD_LIBRARY_PATH
   13745   ;;
   13746 
   13747 *)
   13748   dynamic_linker=no
   13749   ;;
   13750 esac
   13751 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13752 $as_echo "$dynamic_linker" >&6; }
   13753 test "$dynamic_linker" = no && can_build_shared=no
   13754 
   13755 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13756   $as_echo_n "(cached) " >&6
   13757 else
   13758   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13759 fi
   13760 
   13761 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13762 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13763   $as_echo_n "(cached) " >&6
   13764 else
   13765   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13766 fi
   13767 
   13768 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13769 
   13770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13771 if test "$GCC" = yes; then
   13772   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13773 fi
   13774 
   13775 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13777 hardcode_action_CXX=
   13778 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13779    test -n "$runpath_var_CXX" || \
   13780    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13781 
   13782   # We can hardcode non-existant directories.
   13783   if test "$hardcode_direct_CXX" != no &&
   13784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13785      # have to relink, otherwise we might link with an installed library
   13786      # when we should be linking with a yet-to-be-installed one
   13787      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13788      test "$hardcode_minus_L_CXX" != no; then
   13789     # Linking always hardcodes the temporary library directory.
   13790     hardcode_action_CXX=relink
   13791   else
   13792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13793     hardcode_action_CXX=immediate
   13794   fi
   13795 else
   13796   # We cannot hardcode anything, or else we can only hardcode existing
   13797   # directories.
   13798   hardcode_action_CXX=unsupported
   13799 fi
   13800 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13801 $as_echo "$hardcode_action_CXX" >&6; }
   13802 
   13803 if test "$hardcode_action_CXX" = relink; then
   13804   # Fast installation is not supported
   13805   enable_fast_install=no
   13806 elif test "$shlibpath_overrides_runpath" = yes ||
   13807      test "$enable_shared" = no; then
   13808   # Fast installation is not necessary
   13809   enable_fast_install=needless
   13810 fi
   13811 
   13812 
   13813 # The else clause should only fire when bootstrapping the
   13814 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13815 # with your package, and you will get complaints that there are
   13816 # no rules to generate ltmain.sh.
   13817 if test -f "$ltmain"; then
   13818   # See if we are running on zsh, and set the options which allow our commands through
   13819   # without removal of \ escapes.
   13820   if test -n "${ZSH_VERSION+set}" ; then
   13821     setopt NO_GLOB_SUBST
   13822   fi
   13823   # Now quote all the things that may contain metacharacters while being
   13824   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13825   # variables and quote the copies for generation of the libtool script.
   13826   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13827     SED SHELL STRIP \
   13828     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13829     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13830     deplibs_check_method reload_flag reload_cmds need_locks \
   13831     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13832     lt_cv_sys_global_symbol_to_c_name_address \
   13833     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13834     old_postinstall_cmds old_postuninstall_cmds \
   13835     compiler_CXX \
   13836     CC_CXX \
   13837     LD_CXX \
   13838     lt_prog_compiler_wl_CXX \
   13839     lt_prog_compiler_pic_CXX \
   13840     lt_prog_compiler_static_CXX \
   13841     lt_prog_compiler_no_builtin_flag_CXX \
   13842     export_dynamic_flag_spec_CXX \
   13843     thread_safe_flag_spec_CXX \
   13844     whole_archive_flag_spec_CXX \
   13845     enable_shared_with_static_runtimes_CXX \
   13846     old_archive_cmds_CXX \
   13847     old_archive_from_new_cmds_CXX \
   13848     predep_objects_CXX \
   13849     postdep_objects_CXX \
   13850     predeps_CXX \
   13851     postdeps_CXX \
   13852     compiler_lib_search_path_CXX \
   13853     compiler_lib_search_dirs_CXX \
   13854     archive_cmds_CXX \
   13855     archive_expsym_cmds_CXX \
   13856     postinstall_cmds_CXX \
   13857     postuninstall_cmds_CXX \
   13858     old_archive_from_expsyms_cmds_CXX \
   13859     allow_undefined_flag_CXX \
   13860     no_undefined_flag_CXX \
   13861     export_symbols_cmds_CXX \
   13862     hardcode_libdir_flag_spec_CXX \
   13863     hardcode_libdir_flag_spec_ld_CXX \
   13864     hardcode_libdir_separator_CXX \
   13865     hardcode_automatic_CXX \
   13866     module_cmds_CXX \
   13867     module_expsym_cmds_CXX \
   13868     lt_cv_prog_compiler_c_o_CXX \
   13869     fix_srcfile_path_CXX \
   13870     exclude_expsyms_CXX \
   13871     include_expsyms_CXX; do
   13872 
   13873     case $var in
   13874     old_archive_cmds_CXX | \
   13875     old_archive_from_new_cmds_CXX | \
   13876     archive_cmds_CXX | \
   13877     archive_expsym_cmds_CXX | \
   13878     module_cmds_CXX | \
   13879     module_expsym_cmds_CXX | \
   13880     old_archive_from_expsyms_cmds_CXX | \
   13881     export_symbols_cmds_CXX | \
   13882     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13883     postinstall_cmds | postuninstall_cmds | \
   13884     old_postinstall_cmds | old_postuninstall_cmds | \
   13885     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13886       # Double-quote double-evaled strings.
   13887       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13888       ;;
   13889     *)
   13890       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13891       ;;
   13892     esac
   13893   done
   13894 
   13895   case $lt_echo in
   13896   *'\$0 --fallback-echo"')
   13897     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13898     ;;
   13899   esac
   13900 
   13901 cfgfile="$ofile"
   13902 
   13903   cat <<__EOF__ >> "$cfgfile"
   13904 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13905 
   13906 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13907 
   13908 # Shell to use when invoking shell scripts.
   13909 SHELL=$lt_SHELL
   13910 
   13911 # Whether or not to build shared libraries.
   13912 build_libtool_libs=$enable_shared
   13913 
   13914 # Whether or not to build static libraries.
   13915 build_old_libs=$enable_static
   13916 
   13917 # Whether or not to add -lc for building shared libraries.
   13918 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13919 
   13920 # Whether or not to disallow shared libs when runtime libs are static
   13921 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13922 
   13923 # Whether or not to optimize for fast installation.
   13924 fast_install=$enable_fast_install
   13925 
   13926 # The host system.
   13927 host_alias=$host_alias
   13928 host=$host
   13929 host_os=$host_os
   13930 
   13931 # The build system.
   13932 build_alias=$build_alias
   13933 build=$build
   13934 build_os=$build_os
   13935 
   13936 # An echo program that does not interpret backslashes.
   13937 echo=$lt_echo
   13938 
   13939 # The archiver.
   13940 AR=$lt_AR
   13941 AR_FLAGS=$lt_AR_FLAGS
   13942 
   13943 # A C compiler.
   13944 LTCC=$lt_LTCC
   13945 
   13946 # LTCC compiler flags.
   13947 LTCFLAGS=$lt_LTCFLAGS
   13948 
   13949 # A language-specific compiler.
   13950 CC=$lt_compiler_CXX
   13951 
   13952 # Is the compiler the GNU C compiler?
   13953 with_gcc=$GCC_CXX
   13954 
   13955 # An ERE matcher.
   13956 EGREP=$lt_EGREP
   13957 
   13958 # The linker used to build libraries.
   13959 LD=$lt_LD_CXX
   13960 
   13961 # Whether we need hard or soft links.
   13962 LN_S=$lt_LN_S
   13963 
   13964 # A BSD-compatible nm program.
   13965 NM=$lt_NM
   13966 
   13967 # A symbol stripping program
   13968 STRIP=$lt_STRIP
   13969 
   13970 # Used to examine libraries when file_magic_cmd begins "file"
   13971 MAGIC_CMD=$MAGIC_CMD
   13972 
   13973 # Used on cygwin: DLL creation program.
   13974 DLLTOOL="$DLLTOOL"
   13975 
   13976 # Used on cygwin: object dumper.
   13977 OBJDUMP="$OBJDUMP"
   13978 
   13979 # Used on cygwin: assembler.
   13980 AS="$AS"
   13981 
   13982 # The name of the directory that contains temporary libtool files.
   13983 objdir=$objdir
   13984 
   13985 # How to create reloadable object files.
   13986 reload_flag=$lt_reload_flag
   13987 reload_cmds=$lt_reload_cmds
   13988 
   13989 # How to pass a linker flag through the compiler.
   13990 wl=$lt_lt_prog_compiler_wl_CXX
   13991 
   13992 # Object file suffix (normally "o").
   13993 objext="$ac_objext"
   13994 
   13995 # Old archive suffix (normally "a").
   13996 libext="$libext"
   13997 
   13998 # Shared library suffix (normally ".so").
   13999 shrext_cmds='$shrext_cmds'
   14000 
   14001 # Executable file suffix (normally "").
   14002 exeext="$exeext"
   14003 
   14004 # Additional compiler flags for building library objects.
   14005 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14006 pic_mode=$pic_mode
   14007 
   14008 # What is the maximum length of a command?
   14009 max_cmd_len=$lt_cv_sys_max_cmd_len
   14010 
   14011 # Does compiler simultaneously support -c and -o options?
   14012 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14013 
   14014 # Must we lock files when doing compilation?
   14015 need_locks=$lt_need_locks
   14016 
   14017 # Do we need the lib prefix for modules?
   14018 need_lib_prefix=$need_lib_prefix
   14019 
   14020 # Do we need a version for libraries?
   14021 need_version=$need_version
   14022 
   14023 # Whether dlopen is supported.
   14024 dlopen_support=$enable_dlopen
   14025 
   14026 # Whether dlopen of programs is supported.
   14027 dlopen_self=$enable_dlopen_self
   14028 
   14029 # Whether dlopen of statically linked programs is supported.
   14030 dlopen_self_static=$enable_dlopen_self_static
   14031 
   14032 # Compiler flag to prevent dynamic linking.
   14033 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14034 
   14035 # Compiler flag to turn off builtin functions.
   14036 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14037 
   14038 # Compiler flag to allow reflexive dlopens.
   14039 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14040 
   14041 # Compiler flag to generate shared objects directly from archives.
   14042 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14043 
   14044 # Compiler flag to generate thread-safe objects.
   14045 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14046 
   14047 # Library versioning type.
   14048 version_type=$version_type
   14049 
   14050 # Format of library name prefix.
   14051 libname_spec=$lt_libname_spec
   14052 
   14053 # List of archive names.  First name is the real one, the rest are links.
   14054 # The last name is the one that the linker finds with -lNAME.
   14055 library_names_spec=$lt_library_names_spec
   14056 
   14057 # The coded name of the library, if different from the real name.
   14058 soname_spec=$lt_soname_spec
   14059 
   14060 # Commands used to build and install an old-style archive.
   14061 RANLIB=$lt_RANLIB
   14062 old_archive_cmds=$lt_old_archive_cmds_CXX
   14063 old_postinstall_cmds=$lt_old_postinstall_cmds
   14064 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14065 
   14066 # Create an old-style archive from a shared archive.
   14067 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14068 
   14069 # Create a temporary old-style archive to link instead of a shared archive.
   14070 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14071 
   14072 # Commands used to build and install a shared archive.
   14073 archive_cmds=$lt_archive_cmds_CXX
   14074 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14075 postinstall_cmds=$lt_postinstall_cmds
   14076 postuninstall_cmds=$lt_postuninstall_cmds
   14077 
   14078 # Commands used to build a loadable module (assumed same as above if empty)
   14079 module_cmds=$lt_module_cmds_CXX
   14080 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14081 
   14082 # Commands to strip libraries.
   14083 old_striplib=$lt_old_striplib
   14084 striplib=$lt_striplib
   14085 
   14086 # Dependencies to place before the objects being linked to create a
   14087 # shared library.
   14088 predep_objects=$lt_predep_objects_CXX
   14089 
   14090 # Dependencies to place after the objects being linked to create a
   14091 # shared library.
   14092 postdep_objects=$lt_postdep_objects_CXX
   14093 
   14094 # Dependencies to place before the objects being linked to create a
   14095 # shared library.
   14096 predeps=$lt_predeps_CXX
   14097 
   14098 # Dependencies to place after the objects being linked to create a
   14099 # shared library.
   14100 postdeps=$lt_postdeps_CXX
   14101 
   14102 # The directories searched by this compiler when creating a shared
   14103 # library
   14104 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14105 
   14106 # The library search path used internally by the compiler when linking
   14107 # a shared library.
   14108 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14109 
   14110 # Method to check whether dependent libraries are shared objects.
   14111 deplibs_check_method=$lt_deplibs_check_method
   14112 
   14113 # Command to use when deplibs_check_method == file_magic.
   14114 file_magic_cmd=$lt_file_magic_cmd
   14115 
   14116 # Flag that allows shared libraries with undefined symbols to be built.
   14117 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14118 
   14119 # Flag that forces no undefined symbols.
   14120 no_undefined_flag=$lt_no_undefined_flag_CXX
   14121 
   14122 # Commands used to finish a libtool library installation in a directory.
   14123 finish_cmds=$lt_finish_cmds
   14124 
   14125 # Same as above, but a single script fragment to be evaled but not shown.
   14126 finish_eval=$lt_finish_eval
   14127 
   14128 # Take the output of nm and produce a listing of raw symbols and C names.
   14129 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14130 
   14131 # Transform the output of nm in a proper C declaration
   14132 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14133 
   14134 # Transform the output of nm in a C name address pair
   14135 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14136 
   14137 # This is the shared library runtime path variable.
   14138 runpath_var=$runpath_var
   14139 
   14140 # This is the shared library path variable.
   14141 shlibpath_var=$shlibpath_var
   14142 
   14143 # Is shlibpath searched before the hard-coded library search path?
   14144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14145 
   14146 # How to hardcode a shared library path into an executable.
   14147 hardcode_action=$hardcode_action_CXX
   14148 
   14149 # Whether we should hardcode library paths into libraries.
   14150 hardcode_into_libs=$hardcode_into_libs
   14151 
   14152 # Flag to hardcode \$libdir into a binary during linking.
   14153 # This must work even if \$libdir does not exist.
   14154 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14155 
   14156 # If ld is used when linking, flag to hardcode \$libdir into
   14157 # a binary during linking. This must work even if \$libdir does
   14158 # not exist.
   14159 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14160 
   14161 # Whether we need a single -rpath flag with a separated argument.
   14162 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14163 
   14164 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14165 # resulting binary.
   14166 hardcode_direct=$hardcode_direct_CXX
   14167 
   14168 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14169 # resulting binary.
   14170 hardcode_minus_L=$hardcode_minus_L_CXX
   14171 
   14172 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14173 # the resulting binary.
   14174 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14175 
   14176 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14177 # and all subsequent libraries and executables linked against it.
   14178 hardcode_automatic=$hardcode_automatic_CXX
   14179 
   14180 # Variables whose values should be saved in libtool wrapper scripts and
   14181 # restored at relink time.
   14182 variables_saved_for_relink="$variables_saved_for_relink"
   14183 
   14184 # Whether libtool must link a program against all its dependency libraries.
   14185 link_all_deplibs=$link_all_deplibs_CXX
   14186 
   14187 # Compile-time system search path for libraries
   14188 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14189 
   14190 # Run-time system search path for libraries
   14191 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14192 
   14193 # Fix the shell variable \$srcfile for the compiler.
   14194 fix_srcfile_path=$lt_fix_srcfile_path
   14195 
   14196 # Set to yes if exported symbols are required.
   14197 always_export_symbols=$always_export_symbols_CXX
   14198 
   14199 # The commands to list exported symbols.
   14200 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14201 
   14202 # The commands to extract the exported symbol list from a shared archive.
   14203 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14204 
   14205 # Symbols that should not be listed in the preloaded symbols.
   14206 exclude_expsyms=$lt_exclude_expsyms_CXX
   14207 
   14208 # Symbols that must always be exported.
   14209 include_expsyms=$lt_include_expsyms_CXX
   14210 
   14211 # ### END LIBTOOL TAG CONFIG: $tagname
   14212 
   14213 __EOF__
   14214 
   14215 
   14216 else
   14217   # If there is no Makefile yet, we rely on a make rule to execute
   14218   # `config.status --recheck' to rerun these tests and create the
   14219   # libtool script then.
   14220   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14221   if test -f "$ltmain_in"; then
   14222     test -f Makefile && make "$ltmain"
   14223   fi
   14224 fi
   14225 
   14226 
   14227 ac_ext=c
   14228 ac_cpp='$CPP $CPPFLAGS'
   14229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14232 
   14233 CC=$lt_save_CC
   14234 LDCXX=$LD
   14235 LD=$lt_save_LD
   14236 GCC=$lt_save_GCC
   14237 with_gnu_ldcxx=$with_gnu_ld
   14238 with_gnu_ld=$lt_save_with_gnu_ld
   14239 lt_cv_path_LDCXX=$lt_cv_path_LD
   14240 lt_cv_path_LD=$lt_save_path_LD
   14241 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14242 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14243 
   14244 	else
   14245 	  tagname=""
   14246 	fi
   14247 	;;
   14248 
   14249       F77)
   14250 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14251 
   14252 ac_ext=f
   14253 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14254 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14255 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14256 
   14257 
   14258 archive_cmds_need_lc_F77=no
   14259 allow_undefined_flag_F77=
   14260 always_export_symbols_F77=no
   14261 archive_expsym_cmds_F77=
   14262 export_dynamic_flag_spec_F77=
   14263 hardcode_direct_F77=no
   14264 hardcode_libdir_flag_spec_F77=
   14265 hardcode_libdir_flag_spec_ld_F77=
   14266 hardcode_libdir_separator_F77=
   14267 hardcode_minus_L_F77=no
   14268 hardcode_automatic_F77=no
   14269 module_cmds_F77=
   14270 module_expsym_cmds_F77=
   14271 link_all_deplibs_F77=unknown
   14272 old_archive_cmds_F77=$old_archive_cmds
   14273 no_undefined_flag_F77=
   14274 whole_archive_flag_spec_F77=
   14275 enable_shared_with_static_runtimes_F77=no
   14276 
   14277 # Source file extension for f77 test sources.
   14278 ac_ext=f
   14279 
   14280 # Object file extension for compiled f77 test sources.
   14281 objext=o
   14282 objext_F77=$objext
   14283 
   14284 # Code to be used in simple compile tests
   14285 lt_simple_compile_test_code="\
   14286       subroutine t
   14287       return
   14288       end
   14289 "
   14290 
   14291 # Code to be used in simple link tests
   14292 lt_simple_link_test_code="\
   14293       program t
   14294       end
   14295 "
   14296 
   14297 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14298 
   14299 # If no C compiler was specified, use CC.
   14300 LTCC=${LTCC-"$CC"}
   14301 
   14302 # If no C compiler flags were specified, use CFLAGS.
   14303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14304 
   14305 # Allow CC to be a program name with arguments.
   14306 compiler=$CC
   14307 
   14308 
   14309 # save warnings/boilerplate of simple test code
   14310 ac_outfile=conftest.$ac_objext
   14311 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14312 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14313 _lt_compiler_boilerplate=`cat conftest.err`
   14314 $rm conftest*
   14315 
   14316 ac_outfile=conftest.$ac_objext
   14317 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14318 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14319 _lt_linker_boilerplate=`cat conftest.err`
   14320 $rm -r conftest*
   14321 
   14322 
   14323 # Allow CC to be a program name with arguments.
   14324 lt_save_CC="$CC"
   14325 CC=${F77-"f77"}
   14326 compiler=$CC
   14327 compiler_F77=$CC
   14328 for cc_temp in $compiler""; do
   14329   case $cc_temp in
   14330     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14331     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14332     \-*) ;;
   14333     *) break;;
   14334   esac
   14335 done
   14336 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14337 
   14338 
   14339 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14340 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14341 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14342 $as_echo "$can_build_shared" >&6; }
   14343 
   14344 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14345 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14346 test "$can_build_shared" = "no" && enable_shared=no
   14347 
   14348 # On AIX, shared libraries and static libraries use the same namespace, and
   14349 # are all built from PIC.
   14350 case $host_os in
   14351 aix3*)
   14352   test "$enable_shared" = yes && enable_static=no
   14353   if test -n "$RANLIB"; then
   14354     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14355     postinstall_cmds='$RANLIB $lib'
   14356   fi
   14357   ;;
   14358 aix[4-9]*)
   14359   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14360     test "$enable_shared" = yes && enable_static=no
   14361   fi
   14362   ;;
   14363 esac
   14364 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14365 $as_echo "$enable_shared" >&6; }
   14366 
   14367 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14368 $as_echo_n "checking whether to build static libraries... " >&6; }
   14369 # Make sure either enable_shared or enable_static is yes.
   14370 test "$enable_shared" = yes || enable_static=yes
   14371 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14372 $as_echo "$enable_static" >&6; }
   14373 
   14374 GCC_F77="$G77"
   14375 LD_F77="$LD"
   14376 
   14377 lt_prog_compiler_wl_F77=
   14378 lt_prog_compiler_pic_F77=
   14379 lt_prog_compiler_static_F77=
   14380 
   14381 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14382 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14383 
   14384   if test "$GCC" = yes; then
   14385     lt_prog_compiler_wl_F77='-Wl,'
   14386     lt_prog_compiler_static_F77='-static'
   14387 
   14388     case $host_os in
   14389       aix*)
   14390       # All AIX code is PIC.
   14391       if test "$host_cpu" = ia64; then
   14392 	# AIX 5 now supports IA64 processor
   14393 	lt_prog_compiler_static_F77='-Bstatic'
   14394       fi
   14395       ;;
   14396 
   14397     amigaos*)
   14398       # FIXME: we need at least 68020 code to build shared libraries, but
   14399       # adding the `-m68020' flag to GCC prevents building anything better,
   14400       # like `-m68040'.
   14401       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14402       ;;
   14403 
   14404     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14405       # PIC is the default for these OSes.
   14406       ;;
   14407 
   14408     mingw* | cygwin* | pw32* | os2*)
   14409       # This hack is so that the source file can tell whether it is being
   14410       # built for inclusion in a dll (and should export symbols for example).
   14411       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14412       # (--disable-auto-import) libraries
   14413       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14414       ;;
   14415 
   14416     darwin* | rhapsody*)
   14417       # PIC is the default on this platform
   14418       # Common symbols not allowed in MH_DYLIB files
   14419       lt_prog_compiler_pic_F77='-fno-common'
   14420       ;;
   14421 
   14422     interix[3-9]*)
   14423       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14424       # Instead, we relocate shared libraries at runtime.
   14425       ;;
   14426 
   14427     msdosdjgpp*)
   14428       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14429       # on systems that don't support them.
   14430       lt_prog_compiler_can_build_shared_F77=no
   14431       enable_shared=no
   14432       ;;
   14433 
   14434     sysv4*MP*)
   14435       if test -d /usr/nec; then
   14436 	lt_prog_compiler_pic_F77=-Kconform_pic
   14437       fi
   14438       ;;
   14439 
   14440     hpux*)
   14441       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14442       # not for PA HP-UX.
   14443       case $host_cpu in
   14444       hppa*64*|ia64*)
   14445 	# +Z the default
   14446 	;;
   14447       *)
   14448 	lt_prog_compiler_pic_F77='-fPIC'
   14449 	;;
   14450       esac
   14451       ;;
   14452 
   14453     *)
   14454       lt_prog_compiler_pic_F77='-fPIC'
   14455       ;;
   14456     esac
   14457   else
   14458     # PORTME Check for flag to pass linker flags through the system compiler.
   14459     case $host_os in
   14460     aix*)
   14461       lt_prog_compiler_wl_F77='-Wl,'
   14462       if test "$host_cpu" = ia64; then
   14463 	# AIX 5 now supports IA64 processor
   14464 	lt_prog_compiler_static_F77='-Bstatic'
   14465       else
   14466 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14467       fi
   14468       ;;
   14469       darwin*)
   14470         # PIC is the default on this platform
   14471         # Common symbols not allowed in MH_DYLIB files
   14472        case $cc_basename in
   14473          xlc*)
   14474          lt_prog_compiler_pic_F77='-qnocommon'
   14475          lt_prog_compiler_wl_F77='-Wl,'
   14476          ;;
   14477        esac
   14478        ;;
   14479 
   14480     mingw* | cygwin* | pw32* | os2*)
   14481       # This hack is so that the source file can tell whether it is being
   14482       # built for inclusion in a dll (and should export symbols for example).
   14483       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14484       ;;
   14485 
   14486     hpux9* | hpux10* | hpux11*)
   14487       lt_prog_compiler_wl_F77='-Wl,'
   14488       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14489       # not for PA HP-UX.
   14490       case $host_cpu in
   14491       hppa*64*|ia64*)
   14492 	# +Z the default
   14493 	;;
   14494       *)
   14495 	lt_prog_compiler_pic_F77='+Z'
   14496 	;;
   14497       esac
   14498       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14499       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14500       ;;
   14501 
   14502     irix5* | irix6* | nonstopux*)
   14503       lt_prog_compiler_wl_F77='-Wl,'
   14504       # PIC (with -KPIC) is the default.
   14505       lt_prog_compiler_static_F77='-non_shared'
   14506       ;;
   14507 
   14508     newsos6)
   14509       lt_prog_compiler_pic_F77='-KPIC'
   14510       lt_prog_compiler_static_F77='-Bstatic'
   14511       ;;
   14512 
   14513     linux* | k*bsd*-gnu)
   14514       case $cc_basename in
   14515       icc* | ecc*)
   14516 	lt_prog_compiler_wl_F77='-Wl,'
   14517 	lt_prog_compiler_pic_F77='-KPIC'
   14518 	lt_prog_compiler_static_F77='-static'
   14519         ;;
   14520       pgcc* | pgf77* | pgf90* | pgf95*)
   14521         # Portland Group compilers (*not* the Pentium gcc compiler,
   14522 	# which looks to be a dead project)
   14523 	lt_prog_compiler_wl_F77='-Wl,'
   14524 	lt_prog_compiler_pic_F77='-fpic'
   14525 	lt_prog_compiler_static_F77='-Bstatic'
   14526         ;;
   14527       ccc*)
   14528         lt_prog_compiler_wl_F77='-Wl,'
   14529         # All Alpha code is PIC.
   14530         lt_prog_compiler_static_F77='-non_shared'
   14531         ;;
   14532       *)
   14533         case `$CC -V 2>&1 | sed 5q` in
   14534 	*Sun\ C*)
   14535 	  # Sun C 5.9
   14536 	  lt_prog_compiler_pic_F77='-KPIC'
   14537 	  lt_prog_compiler_static_F77='-Bstatic'
   14538 	  lt_prog_compiler_wl_F77='-Wl,'
   14539 	  ;;
   14540 	*Sun\ F*)
   14541 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14542 	  lt_prog_compiler_pic_F77='-KPIC'
   14543 	  lt_prog_compiler_static_F77='-Bstatic'
   14544 	  lt_prog_compiler_wl_F77=''
   14545 	  ;;
   14546 	esac
   14547 	;;
   14548       esac
   14549       ;;
   14550 
   14551     osf3* | osf4* | osf5*)
   14552       lt_prog_compiler_wl_F77='-Wl,'
   14553       # All OSF/1 code is PIC.
   14554       lt_prog_compiler_static_F77='-non_shared'
   14555       ;;
   14556 
   14557     rdos*)
   14558       lt_prog_compiler_static_F77='-non_shared'
   14559       ;;
   14560 
   14561     solaris*)
   14562       lt_prog_compiler_pic_F77='-KPIC'
   14563       lt_prog_compiler_static_F77='-Bstatic'
   14564       case $cc_basename in
   14565       f77* | f90* | f95*)
   14566 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14567       *)
   14568 	lt_prog_compiler_wl_F77='-Wl,';;
   14569       esac
   14570       ;;
   14571 
   14572     sunos4*)
   14573       lt_prog_compiler_wl_F77='-Qoption ld '
   14574       lt_prog_compiler_pic_F77='-PIC'
   14575       lt_prog_compiler_static_F77='-Bstatic'
   14576       ;;
   14577 
   14578     sysv4 | sysv4.2uw2* | sysv4.3*)
   14579       lt_prog_compiler_wl_F77='-Wl,'
   14580       lt_prog_compiler_pic_F77='-KPIC'
   14581       lt_prog_compiler_static_F77='-Bstatic'
   14582       ;;
   14583 
   14584     sysv4*MP*)
   14585       if test -d /usr/nec ;then
   14586 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14587 	lt_prog_compiler_static_F77='-Bstatic'
   14588       fi
   14589       ;;
   14590 
   14591     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14592       lt_prog_compiler_wl_F77='-Wl,'
   14593       lt_prog_compiler_pic_F77='-KPIC'
   14594       lt_prog_compiler_static_F77='-Bstatic'
   14595       ;;
   14596 
   14597     unicos*)
   14598       lt_prog_compiler_wl_F77='-Wl,'
   14599       lt_prog_compiler_can_build_shared_F77=no
   14600       ;;
   14601 
   14602     uts4*)
   14603       lt_prog_compiler_pic_F77='-pic'
   14604       lt_prog_compiler_static_F77='-Bstatic'
   14605       ;;
   14606 
   14607     *)
   14608       lt_prog_compiler_can_build_shared_F77=no
   14609       ;;
   14610     esac
   14611   fi
   14612 
   14613 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14614 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14615 
   14616 #
   14617 # Check to make sure the PIC flag actually works.
   14618 #
   14619 if test -n "$lt_prog_compiler_pic_F77"; then
   14620 
   14621 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14622 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14623 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14624   $as_echo_n "(cached) " >&6
   14625 else
   14626   lt_cv_prog_compiler_pic_works_F77=no
   14627   ac_outfile=conftest.$ac_objext
   14628    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14629    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14630    # Insert the option either (1) after the last *FLAGS variable, or
   14631    # (2) before a word containing "conftest.", or (3) at the end.
   14632    # Note that $ac_compile itself does not contain backslashes and begins
   14633    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14634    # The option is referenced via a variable to avoid confusing sed.
   14635    lt_compile=`echo "$ac_compile" | $SED \
   14636    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14637    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14638    -e 's:$: $lt_compiler_flag:'`
   14639    (eval echo "\"\$as_me:14639: $lt_compile\"" >&5)
   14640    (eval "$lt_compile" 2>conftest.err)
   14641    ac_status=$?
   14642    cat conftest.err >&5
   14643    echo "$as_me:14643: \$? = $ac_status" >&5
   14644    if (exit $ac_status) && test -s "$ac_outfile"; then
   14645      # The compiler can only warn and ignore the option if not recognized
   14646      # So say no if there are warnings other than the usual output.
   14647      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14648      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14649      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14650        lt_cv_prog_compiler_pic_works_F77=yes
   14651      fi
   14652    fi
   14653    $rm conftest*
   14654 
   14655 fi
   14656 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14657 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14658 
   14659 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14660     case $lt_prog_compiler_pic_F77 in
   14661      "" | " "*) ;;
   14662      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14663      esac
   14664 else
   14665     lt_prog_compiler_pic_F77=
   14666      lt_prog_compiler_can_build_shared_F77=no
   14667 fi
   14668 
   14669 fi
   14670 case $host_os in
   14671   # For platforms which do not support PIC, -DPIC is meaningless:
   14672   *djgpp*)
   14673     lt_prog_compiler_pic_F77=
   14674     ;;
   14675   *)
   14676     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14677     ;;
   14678 esac
   14679 
   14680 #
   14681 # Check to make sure the static flag actually works.
   14682 #
   14683 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14684 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14685 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14686 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14687   $as_echo_n "(cached) " >&6
   14688 else
   14689   lt_cv_prog_compiler_static_works_F77=no
   14690    save_LDFLAGS="$LDFLAGS"
   14691    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14692    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14693    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14694      # The linker can only warn and ignore the option if not recognized
   14695      # So say no if there are warnings
   14696      if test -s conftest.err; then
   14697        # Append any errors to the config.log.
   14698        cat conftest.err 1>&5
   14699        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14700        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14701        if diff conftest.exp conftest.er2 >/dev/null; then
   14702          lt_cv_prog_compiler_static_works_F77=yes
   14703        fi
   14704      else
   14705        lt_cv_prog_compiler_static_works_F77=yes
   14706      fi
   14707    fi
   14708    $rm -r conftest*
   14709    LDFLAGS="$save_LDFLAGS"
   14710 
   14711 fi
   14712 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14713 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14714 
   14715 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14716     :
   14717 else
   14718     lt_prog_compiler_static_F77=
   14719 fi
   14720 
   14721 
   14722 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14723 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14724 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14725   $as_echo_n "(cached) " >&6
   14726 else
   14727   lt_cv_prog_compiler_c_o_F77=no
   14728    $rm -r conftest 2>/dev/null
   14729    mkdir conftest
   14730    cd conftest
   14731    mkdir out
   14732    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14733 
   14734    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14735    # Insert the option either (1) after the last *FLAGS variable, or
   14736    # (2) before a word containing "conftest.", or (3) at the end.
   14737    # Note that $ac_compile itself does not contain backslashes and begins
   14738    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14739    lt_compile=`echo "$ac_compile" | $SED \
   14740    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14741    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14742    -e 's:$: $lt_compiler_flag:'`
   14743    (eval echo "\"\$as_me:14743: $lt_compile\"" >&5)
   14744    (eval "$lt_compile" 2>out/conftest.err)
   14745    ac_status=$?
   14746    cat out/conftest.err >&5
   14747    echo "$as_me:14747: \$? = $ac_status" >&5
   14748    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14749    then
   14750      # The compiler can only warn and ignore the option if not recognized
   14751      # So say no if there are warnings
   14752      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14753      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14754      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14755        lt_cv_prog_compiler_c_o_F77=yes
   14756      fi
   14757    fi
   14758    chmod u+w . 2>&5
   14759    $rm conftest*
   14760    # SGI C++ compiler will create directory out/ii_files/ for
   14761    # template instantiation
   14762    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14763    $rm out/* && rmdir out
   14764    cd ..
   14765    rmdir conftest
   14766    $rm conftest*
   14767 
   14768 fi
   14769 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14770 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14771 
   14772 
   14773 hard_links="nottested"
   14774 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14775   # do not overwrite the value of need_locks provided by the user
   14776   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14777 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14778   hard_links=yes
   14779   $rm conftest*
   14780   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14781   touch conftest.a
   14782   ln conftest.a conftest.b 2>&5 || hard_links=no
   14783   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14784   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14785 $as_echo "$hard_links" >&6; }
   14786   if test "$hard_links" = no; then
   14787     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14788 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14789     need_locks=warn
   14790   fi
   14791 else
   14792   need_locks=no
   14793 fi
   14794 
   14795 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14796 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14797 
   14798   runpath_var=
   14799   allow_undefined_flag_F77=
   14800   enable_shared_with_static_runtimes_F77=no
   14801   archive_cmds_F77=
   14802   archive_expsym_cmds_F77=
   14803   old_archive_From_new_cmds_F77=
   14804   old_archive_from_expsyms_cmds_F77=
   14805   export_dynamic_flag_spec_F77=
   14806   whole_archive_flag_spec_F77=
   14807   thread_safe_flag_spec_F77=
   14808   hardcode_libdir_flag_spec_F77=
   14809   hardcode_libdir_flag_spec_ld_F77=
   14810   hardcode_libdir_separator_F77=
   14811   hardcode_direct_F77=no
   14812   hardcode_minus_L_F77=no
   14813   hardcode_shlibpath_var_F77=unsupported
   14814   link_all_deplibs_F77=unknown
   14815   hardcode_automatic_F77=no
   14816   module_cmds_F77=
   14817   module_expsym_cmds_F77=
   14818   always_export_symbols_F77=no
   14819   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14820   # include_expsyms should be a list of space-separated symbols to be *always*
   14821   # included in the symbol list
   14822   include_expsyms_F77=
   14823   # exclude_expsyms can be an extended regexp of symbols to exclude
   14824   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14825   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14826   # as well as any symbol that contains `d'.
   14827   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14828   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14829   # platforms (ab)use it in PIC code, but their linkers get confused if
   14830   # the symbol is explicitly referenced.  Since portable code cannot
   14831   # rely on this symbol name, it's probably fine to never include it in
   14832   # preloaded symbol tables.
   14833   # Exclude shared library initialization/finalization symbols.
   14834   extract_expsyms_cmds=
   14835   # Just being paranoid about ensuring that cc_basename is set.
   14836   for cc_temp in $compiler""; do
   14837   case $cc_temp in
   14838     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14839     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14840     \-*) ;;
   14841     *) break;;
   14842   esac
   14843 done
   14844 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14845 
   14846   case $host_os in
   14847   cygwin* | mingw* | pw32*)
   14848     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14849     # When not using gcc, we currently assume that we are using
   14850     # Microsoft Visual C++.
   14851     if test "$GCC" != yes; then
   14852       with_gnu_ld=no
   14853     fi
   14854     ;;
   14855   interix*)
   14856     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14857     with_gnu_ld=yes
   14858     ;;
   14859   openbsd*)
   14860     with_gnu_ld=no
   14861     ;;
   14862   esac
   14863 
   14864   ld_shlibs_F77=yes
   14865   if test "$with_gnu_ld" = yes; then
   14866     # If archive_cmds runs LD, not CC, wlarc should be empty
   14867     wlarc='${wl}'
   14868 
   14869     # Set some defaults for GNU ld with shared library support. These
   14870     # are reset later if shared libraries are not supported. Putting them
   14871     # here allows them to be overridden if necessary.
   14872     runpath_var=LD_RUN_PATH
   14873     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14874     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14875     # ancient GNU ld didn't support --whole-archive et. al.
   14876     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14877 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14878       else
   14879   	whole_archive_flag_spec_F77=
   14880     fi
   14881     supports_anon_versioning=no
   14882     case `$LD -v 2>/dev/null` in
   14883       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14884       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14885       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14886       *\ 2.11.*) ;; # other 2.11 versions
   14887       *) supports_anon_versioning=yes ;;
   14888     esac
   14889 
   14890     # See if GNU ld supports shared libraries.
   14891     case $host_os in
   14892     aix[3-9]*)
   14893       # On AIX/PPC, the GNU linker is very broken
   14894       if test "$host_cpu" != ia64; then
   14895 	ld_shlibs_F77=no
   14896 	cat <<EOF 1>&2
   14897 
   14898 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14899 *** to be unable to reliably create shared libraries on AIX.
   14900 *** Therefore, libtool is disabling shared libraries support.  If you
   14901 *** really care for shared libraries, you may want to modify your PATH
   14902 *** so that a non-GNU linker is found, and then restart.
   14903 
   14904 EOF
   14905       fi
   14906       ;;
   14907 
   14908     amigaos*)
   14909       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)'
   14910       hardcode_libdir_flag_spec_F77='-L$libdir'
   14911       hardcode_minus_L_F77=yes
   14912 
   14913       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14914       # that the semantics of dynamic libraries on AmigaOS, at least up
   14915       # to version 4, is to share data among multiple programs linked
   14916       # with the same dynamic library.  Since this doesn't match the
   14917       # behavior of shared libraries on other platforms, we can't use
   14918       # them.
   14919       ld_shlibs_F77=no
   14920       ;;
   14921 
   14922     beos*)
   14923       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14924 	allow_undefined_flag_F77=unsupported
   14925 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14926 	# support --undefined.  This deserves some investigation.  FIXME
   14927 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14928       else
   14929 	ld_shlibs_F77=no
   14930       fi
   14931       ;;
   14932 
   14933     cygwin* | mingw* | pw32*)
   14934       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14935       # as there is no search path for DLLs.
   14936       hardcode_libdir_flag_spec_F77='-L$libdir'
   14937       allow_undefined_flag_F77=unsupported
   14938       always_export_symbols_F77=no
   14939       enable_shared_with_static_runtimes_F77=yes
   14940       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14941 
   14942       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14943         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14944 	# If the export-symbols file already is a .def file (1st line
   14945 	# is EXPORTS), use it as is; otherwise, prepend...
   14946 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14947 	  cp $export_symbols $output_objdir/$soname.def;
   14948 	else
   14949 	  echo EXPORTS > $output_objdir/$soname.def;
   14950 	  cat $export_symbols >> $output_objdir/$soname.def;
   14951 	fi~
   14952 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14953       else
   14954 	ld_shlibs_F77=no
   14955       fi
   14956       ;;
   14957 
   14958     interix[3-9]*)
   14959       hardcode_direct_F77=no
   14960       hardcode_shlibpath_var_F77=no
   14961       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14962       export_dynamic_flag_spec_F77='${wl}-E'
   14963       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14964       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14965       # default) and relocated if they conflict, which is a slow very memory
   14966       # consuming and fragmenting process.  To avoid this, we pick a random,
   14967       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14968       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14969       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'
   14970       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'
   14971       ;;
   14972 
   14973     gnu* | linux* | k*bsd*-gnu)
   14974       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14975 	tmp_addflag=
   14976 	case $cc_basename,$host_cpu in
   14977 	pgcc*)				# Portland Group C compiler
   14978 	  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'
   14979 	  tmp_addflag=' $pic_flag'
   14980 	  ;;
   14981 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14982 	  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'
   14983 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14984 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14985 	  tmp_addflag=' -i_dynamic' ;;
   14986 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14987 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14988 	ifc* | ifort*)			# Intel Fortran compiler
   14989 	  tmp_addflag=' -nofor_main' ;;
   14990 	esac
   14991 	case `$CC -V 2>&1 | sed 5q` in
   14992 	*Sun\ C*)			# Sun C 5.9
   14993 	  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'
   14994 	  tmp_sharedflag='-G' ;;
   14995 	*Sun\ F*)			# Sun Fortran 8.3
   14996 	  tmp_sharedflag='-G' ;;
   14997 	*)
   14998 	  tmp_sharedflag='-shared' ;;
   14999 	esac
   15000 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15001 
   15002 	if test $supports_anon_versioning = yes; then
   15003 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15004   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15005   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15006 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15007 	fi
   15008       else
   15009 	ld_shlibs_F77=no
   15010       fi
   15011       ;;
   15012 
   15013     netbsd*)
   15014       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15015 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15016 	wlarc=
   15017       else
   15018 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15019 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15020       fi
   15021       ;;
   15022 
   15023     solaris*)
   15024       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15025 	ld_shlibs_F77=no
   15026 	cat <<EOF 1>&2
   15027 
   15028 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15029 *** create shared libraries on Solaris systems.  Therefore, libtool
   15030 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15031 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15032 *** your PATH or compiler configuration so that the native linker is
   15033 *** used, and then restart.
   15034 
   15035 EOF
   15036       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15037 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15038 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15039       else
   15040 	ld_shlibs_F77=no
   15041       fi
   15042       ;;
   15043 
   15044     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15045       case `$LD -v 2>&1` in
   15046         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15047 	ld_shlibs_F77=no
   15048 	cat <<_LT_EOF 1>&2
   15049 
   15050 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15051 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15052 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15053 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15054 *** your PATH or compiler configuration so that the native linker is
   15055 *** used, and then restart.
   15056 
   15057 _LT_EOF
   15058 	;;
   15059 	*)
   15060 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15061 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15062 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15063 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15064 	  else
   15065 	    ld_shlibs_F77=no
   15066 	  fi
   15067 	;;
   15068       esac
   15069       ;;
   15070 
   15071     sunos4*)
   15072       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15073       wlarc=
   15074       hardcode_direct_F77=yes
   15075       hardcode_shlibpath_var_F77=no
   15076       ;;
   15077 
   15078     *)
   15079       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15080 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15081 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15082       else
   15083 	ld_shlibs_F77=no
   15084       fi
   15085       ;;
   15086     esac
   15087 
   15088     if test "$ld_shlibs_F77" = no; then
   15089       runpath_var=
   15090       hardcode_libdir_flag_spec_F77=
   15091       export_dynamic_flag_spec_F77=
   15092       whole_archive_flag_spec_F77=
   15093     fi
   15094   else
   15095     # PORTME fill in a description of your system's linker (not GNU ld)
   15096     case $host_os in
   15097     aix3*)
   15098       allow_undefined_flag_F77=unsupported
   15099       always_export_symbols_F77=yes
   15100       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'
   15101       # Note: this linker hardcodes the directories in LIBPATH if there
   15102       # are no directories specified by -L.
   15103       hardcode_minus_L_F77=yes
   15104       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15105 	# Neither direct hardcoding nor static linking is supported with a
   15106 	# broken collect2.
   15107 	hardcode_direct_F77=unsupported
   15108       fi
   15109       ;;
   15110 
   15111     aix[4-9]*)
   15112       if test "$host_cpu" = ia64; then
   15113 	# On IA64, the linker does run time linking by default, so we don't
   15114 	# have to do anything special.
   15115 	aix_use_runtimelinking=no
   15116 	exp_sym_flag='-Bexport'
   15117 	no_entry_flag=""
   15118       else
   15119 	# If we're using GNU nm, then we don't want the "-C" option.
   15120 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15121 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15122 	  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'
   15123 	else
   15124 	  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'
   15125 	fi
   15126 	aix_use_runtimelinking=no
   15127 
   15128 	# Test if we are trying to use run time linking or normal
   15129 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15130 	# need to do runtime linking.
   15131 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15132 	  for ld_flag in $LDFLAGS; do
   15133   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15134   	    aix_use_runtimelinking=yes
   15135   	    break
   15136   	  fi
   15137 	  done
   15138 	  ;;
   15139 	esac
   15140 
   15141 	exp_sym_flag='-bexport'
   15142 	no_entry_flag='-bnoentry'
   15143       fi
   15144 
   15145       # When large executables or shared objects are built, AIX ld can
   15146       # have problems creating the table of contents.  If linking a library
   15147       # or program results in "error TOC overflow" add -mminimal-toc to
   15148       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15149       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15150 
   15151       archive_cmds_F77=''
   15152       hardcode_direct_F77=yes
   15153       hardcode_libdir_separator_F77=':'
   15154       link_all_deplibs_F77=yes
   15155 
   15156       if test "$GCC" = yes; then
   15157 	case $host_os in aix4.[012]|aix4.[012].*)
   15158 	# We only want to do this on AIX 4.2 and lower, the check
   15159 	# below for broken collect2 doesn't work under 4.3+
   15160 	  collect2name=`${CC} -print-prog-name=collect2`
   15161 	  if test -f "$collect2name" && \
   15162   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15163 	  then
   15164   	  # We have reworked collect2
   15165   	  :
   15166 	  else
   15167   	  # We have old collect2
   15168   	  hardcode_direct_F77=unsupported
   15169   	  # It fails to find uninstalled libraries when the uninstalled
   15170   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15171   	  # to unsupported forces relinking
   15172   	  hardcode_minus_L_F77=yes
   15173   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15174   	  hardcode_libdir_separator_F77=
   15175 	  fi
   15176 	  ;;
   15177 	esac
   15178 	shared_flag='-shared'
   15179 	if test "$aix_use_runtimelinking" = yes; then
   15180 	  shared_flag="$shared_flag "'${wl}-G'
   15181 	fi
   15182       else
   15183 	# not using gcc
   15184 	if test "$host_cpu" = ia64; then
   15185   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15186   	# chokes on -Wl,-G. The following line is correct:
   15187 	  shared_flag='-G'
   15188 	else
   15189 	  if test "$aix_use_runtimelinking" = yes; then
   15190 	    shared_flag='${wl}-G'
   15191 	  else
   15192 	    shared_flag='${wl}-bM:SRE'
   15193 	  fi
   15194 	fi
   15195       fi
   15196 
   15197       # It seems that -bexpall does not export symbols beginning with
   15198       # underscore (_), so it is better to generate a list of symbols to export.
   15199       always_export_symbols_F77=yes
   15200       if test "$aix_use_runtimelinking" = yes; then
   15201 	# Warning - without using the other runtime loading flags (-brtl),
   15202 	# -berok will link without error, but may produce a broken library.
   15203 	allow_undefined_flag_F77='-berok'
   15204        # Determine the default libpath from the value encoded in an empty executable.
   15205        cat >conftest.$ac_ext <<_ACEOF
   15206       program main
   15207 
   15208       end
   15209 _ACEOF
   15210 rm -f conftest.$ac_objext conftest$ac_exeext
   15211 if { (ac_try="$ac_link"
   15212 case "(($ac_try" in
   15213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15214   *) ac_try_echo=$ac_try;;
   15215 esac
   15216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15217 $as_echo "$ac_try_echo") >&5
   15218   (eval "$ac_link") 2>conftest.er1
   15219   ac_status=$?
   15220   grep -v '^ *+' conftest.er1 >conftest.err
   15221   rm -f conftest.er1
   15222   cat conftest.err >&5
   15223   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15224   (exit $ac_status); } && {
   15225 	 test -z "$ac_f77_werror_flag" ||
   15226 	 test ! -s conftest.err
   15227        } && test -s conftest$ac_exeext && {
   15228 	 test "$cross_compiling" = yes ||
   15229 	 $as_test_x conftest$ac_exeext
   15230        }; then
   15231 
   15232 lt_aix_libpath_sed='
   15233     /Import File Strings/,/^$/ {
   15234 	/^0/ {
   15235 	    s/^0  *\(.*\)$/\1/
   15236 	    p
   15237 	}
   15238     }'
   15239 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15240 # Check for a 64-bit object if we didn't find anything.
   15241 if test -z "$aix_libpath"; then
   15242   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15243 fi
   15244 else
   15245   $as_echo "$as_me: failed program was:" >&5
   15246 sed 's/^/| /' conftest.$ac_ext >&5
   15247 
   15248 
   15249 fi
   15250 
   15251 rm -rf conftest.dSYM
   15252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15253       conftest$ac_exeext conftest.$ac_ext
   15254 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15255 
   15256        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15257 	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"
   15258        else
   15259 	if test "$host_cpu" = ia64; then
   15260 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15261 	  allow_undefined_flag_F77="-z nodefs"
   15262 	  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"
   15263 	else
   15264 	 # Determine the default libpath from the value encoded in an empty executable.
   15265 	 cat >conftest.$ac_ext <<_ACEOF
   15266       program main
   15267 
   15268       end
   15269 _ACEOF
   15270 rm -f conftest.$ac_objext conftest$ac_exeext
   15271 if { (ac_try="$ac_link"
   15272 case "(($ac_try" in
   15273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15274   *) ac_try_echo=$ac_try;;
   15275 esac
   15276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15277 $as_echo "$ac_try_echo") >&5
   15278   (eval "$ac_link") 2>conftest.er1
   15279   ac_status=$?
   15280   grep -v '^ *+' conftest.er1 >conftest.err
   15281   rm -f conftest.er1
   15282   cat conftest.err >&5
   15283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15284   (exit $ac_status); } && {
   15285 	 test -z "$ac_f77_werror_flag" ||
   15286 	 test ! -s conftest.err
   15287        } && test -s conftest$ac_exeext && {
   15288 	 test "$cross_compiling" = yes ||
   15289 	 $as_test_x conftest$ac_exeext
   15290        }; then
   15291 
   15292 lt_aix_libpath_sed='
   15293     /Import File Strings/,/^$/ {
   15294 	/^0/ {
   15295 	    s/^0  *\(.*\)$/\1/
   15296 	    p
   15297 	}
   15298     }'
   15299 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15300 # Check for a 64-bit object if we didn't find anything.
   15301 if test -z "$aix_libpath"; then
   15302   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15303 fi
   15304 else
   15305   $as_echo "$as_me: failed program was:" >&5
   15306 sed 's/^/| /' conftest.$ac_ext >&5
   15307 
   15308 
   15309 fi
   15310 
   15311 rm -rf conftest.dSYM
   15312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15313       conftest$ac_exeext conftest.$ac_ext
   15314 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15315 
   15316 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15317 	  # Warning - without using the other run time loading flags,
   15318 	  # -berok will link without error, but may produce a broken library.
   15319 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15320 	  allow_undefined_flag_F77=' ${wl}-berok'
   15321 	  # Exported symbols can be pulled into shared objects from archives
   15322 	  whole_archive_flag_spec_F77='$convenience'
   15323 	  archive_cmds_need_lc_F77=yes
   15324 	  # This is similar to how AIX traditionally builds its shared libraries.
   15325 	  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'
   15326 	fi
   15327       fi
   15328       ;;
   15329 
   15330     amigaos*)
   15331       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)'
   15332       hardcode_libdir_flag_spec_F77='-L$libdir'
   15333       hardcode_minus_L_F77=yes
   15334       # see comment about different semantics on the GNU ld section
   15335       ld_shlibs_F77=no
   15336       ;;
   15337 
   15338     bsdi[45]*)
   15339       export_dynamic_flag_spec_F77=-rdynamic
   15340       ;;
   15341 
   15342     cygwin* | mingw* | pw32*)
   15343       # When not using gcc, we currently assume that we are using
   15344       # Microsoft Visual C++.
   15345       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15346       # no search path for DLLs.
   15347       hardcode_libdir_flag_spec_F77=' '
   15348       allow_undefined_flag_F77=unsupported
   15349       # Tell ltmain to make .lib files, not .a files.
   15350       libext=lib
   15351       # Tell ltmain to make .dll files, not .so files.
   15352       shrext_cmds=".dll"
   15353       # FIXME: Setting linknames here is a bad hack.
   15354       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15355       # The linker will automatically build a .lib file if we build a DLL.
   15356       old_archive_From_new_cmds_F77='true'
   15357       # FIXME: Should let the user specify the lib program.
   15358       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15359       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15360       enable_shared_with_static_runtimes_F77=yes
   15361       ;;
   15362 
   15363     darwin* | rhapsody*)
   15364       case $host_os in
   15365         rhapsody* | darwin1.[012])
   15366          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15367          ;;
   15368        *) # Darwin 1.3 on
   15369          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15370            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15371          else
   15372            case ${MACOSX_DEPLOYMENT_TARGET} in
   15373              10.[012])
   15374                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15375                ;;
   15376              10.*)
   15377                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15378                ;;
   15379            esac
   15380          fi
   15381          ;;
   15382       esac
   15383       archive_cmds_need_lc_F77=no
   15384       hardcode_direct_F77=no
   15385       hardcode_automatic_F77=yes
   15386       hardcode_shlibpath_var_F77=unsupported
   15387       whole_archive_flag_spec_F77=''
   15388       link_all_deplibs_F77=yes
   15389     if test "$GCC" = yes ; then
   15390     	output_verbose_link_cmd='echo'
   15391         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}"
   15392         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15393         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}"
   15394         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}"
   15395     else
   15396       case $cc_basename in
   15397         xlc*)
   15398          output_verbose_link_cmd='echo'
   15399          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15400          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15401           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15402          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}'
   15403           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}'
   15404           ;;
   15405        *)
   15406          ld_shlibs_F77=no
   15407           ;;
   15408       esac
   15409     fi
   15410       ;;
   15411 
   15412     dgux*)
   15413       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15414       hardcode_libdir_flag_spec_F77='-L$libdir'
   15415       hardcode_shlibpath_var_F77=no
   15416       ;;
   15417 
   15418     freebsd1*)
   15419       ld_shlibs_F77=no
   15420       ;;
   15421 
   15422     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15423     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15424     # does not break anything, and helps significantly (at the cost of a little
   15425     # extra space).
   15426     freebsd2.2*)
   15427       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15428       hardcode_libdir_flag_spec_F77='-R$libdir'
   15429       hardcode_direct_F77=yes
   15430       hardcode_shlibpath_var_F77=no
   15431       ;;
   15432 
   15433     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15434     freebsd2*)
   15435       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15436       hardcode_direct_F77=yes
   15437       hardcode_minus_L_F77=yes
   15438       hardcode_shlibpath_var_F77=no
   15439       ;;
   15440 
   15441     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15442     freebsd* | dragonfly*)
   15443       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15444       hardcode_libdir_flag_spec_F77='-R$libdir'
   15445       hardcode_direct_F77=yes
   15446       hardcode_shlibpath_var_F77=no
   15447       ;;
   15448 
   15449     hpux9*)
   15450       if test "$GCC" = yes; then
   15451 	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'
   15452       else
   15453 	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'
   15454       fi
   15455       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15456       hardcode_libdir_separator_F77=:
   15457       hardcode_direct_F77=yes
   15458 
   15459       # hardcode_minus_L: Not really in the search PATH,
   15460       # but as the default location of the library.
   15461       hardcode_minus_L_F77=yes
   15462       export_dynamic_flag_spec_F77='${wl}-E'
   15463       ;;
   15464 
   15465     hpux10*)
   15466       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15467 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15468       else
   15469 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15470       fi
   15471       if test "$with_gnu_ld" = no; then
   15472 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15473 	hardcode_libdir_separator_F77=:
   15474 
   15475 	hardcode_direct_F77=yes
   15476 	export_dynamic_flag_spec_F77='${wl}-E'
   15477 
   15478 	# hardcode_minus_L: Not really in the search PATH,
   15479 	# but as the default location of the library.
   15480 	hardcode_minus_L_F77=yes
   15481       fi
   15482       ;;
   15483 
   15484     hpux11*)
   15485       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15486 	case $host_cpu in
   15487 	hppa*64*)
   15488 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15489 	  ;;
   15490 	ia64*)
   15491 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15492 	  ;;
   15493 	*)
   15494 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15495 	  ;;
   15496 	esac
   15497       else
   15498 	case $host_cpu in
   15499 	hppa*64*)
   15500 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15501 	  ;;
   15502 	ia64*)
   15503 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15504 	  ;;
   15505 	*)
   15506 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15507 	  ;;
   15508 	esac
   15509       fi
   15510       if test "$with_gnu_ld" = no; then
   15511 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15512 	hardcode_libdir_separator_F77=:
   15513 
   15514 	case $host_cpu in
   15515 	hppa*64*|ia64*)
   15516 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15517 	  hardcode_direct_F77=no
   15518 	  hardcode_shlibpath_var_F77=no
   15519 	  ;;
   15520 	*)
   15521 	  hardcode_direct_F77=yes
   15522 	  export_dynamic_flag_spec_F77='${wl}-E'
   15523 
   15524 	  # hardcode_minus_L: Not really in the search PATH,
   15525 	  # but as the default location of the library.
   15526 	  hardcode_minus_L_F77=yes
   15527 	  ;;
   15528 	esac
   15529       fi
   15530       ;;
   15531 
   15532     irix5* | irix6* | nonstopux*)
   15533       if test "$GCC" = yes; then
   15534 	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'
   15535       else
   15536 	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'
   15537 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15538       fi
   15539       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15540       hardcode_libdir_separator_F77=:
   15541       link_all_deplibs_F77=yes
   15542       ;;
   15543 
   15544     netbsd*)
   15545       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15546 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15547       else
   15548 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15549       fi
   15550       hardcode_libdir_flag_spec_F77='-R$libdir'
   15551       hardcode_direct_F77=yes
   15552       hardcode_shlibpath_var_F77=no
   15553       ;;
   15554 
   15555     newsos6)
   15556       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15557       hardcode_direct_F77=yes
   15558       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15559       hardcode_libdir_separator_F77=:
   15560       hardcode_shlibpath_var_F77=no
   15561       ;;
   15562 
   15563     openbsd*)
   15564       if test -f /usr/libexec/ld.so; then
   15565 	hardcode_direct_F77=yes
   15566 	hardcode_shlibpath_var_F77=no
   15567 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15568 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15569 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15570 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15571 	  export_dynamic_flag_spec_F77='${wl}-E'
   15572 	else
   15573 	  case $host_os in
   15574 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15575 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15576 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15577 	     ;;
   15578 	   *)
   15579 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15580 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15581 	     ;;
   15582 	  esac
   15583         fi
   15584       else
   15585 	ld_shlibs_F77=no
   15586       fi
   15587       ;;
   15588 
   15589     os2*)
   15590       hardcode_libdir_flag_spec_F77='-L$libdir'
   15591       hardcode_minus_L_F77=yes
   15592       allow_undefined_flag_F77=unsupported
   15593       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'
   15594       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15595       ;;
   15596 
   15597     osf3*)
   15598       if test "$GCC" = yes; then
   15599 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15600 	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'
   15601       else
   15602 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15603 	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'
   15604       fi
   15605       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15606       hardcode_libdir_separator_F77=:
   15607       ;;
   15608 
   15609     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15610       if test "$GCC" = yes; then
   15611 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15612 	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'
   15613 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15614       else
   15615 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15616 	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'
   15617 	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~
   15618 	$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'
   15619 
   15620 	# Both c and cxx compiler support -rpath directly
   15621 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15622       fi
   15623       hardcode_libdir_separator_F77=:
   15624       ;;
   15625 
   15626     solaris*)
   15627       no_undefined_flag_F77=' -z text'
   15628       if test "$GCC" = yes; then
   15629 	wlarc='${wl}'
   15630 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15631 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15632 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15633       else
   15634 	wlarc=''
   15635 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15636 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15637   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15638       fi
   15639       hardcode_libdir_flag_spec_F77='-R$libdir'
   15640       hardcode_shlibpath_var_F77=no
   15641       case $host_os in
   15642       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15643       *)
   15644 	# The compiler driver will combine and reorder linker options,
   15645 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15646 	# but is careful enough not to reorder.
   15647  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15648 	if test "$GCC" = yes; then
   15649 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15650 	else
   15651 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15652 	fi
   15653 	;;
   15654       esac
   15655       link_all_deplibs_F77=yes
   15656       ;;
   15657 
   15658     sunos4*)
   15659       if test "x$host_vendor" = xsequent; then
   15660 	# Use $CC to link under sequent, because it throws in some extra .o
   15661 	# files that make .init and .fini sections work.
   15662 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15663       else
   15664 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15665       fi
   15666       hardcode_libdir_flag_spec_F77='-L$libdir'
   15667       hardcode_direct_F77=yes
   15668       hardcode_minus_L_F77=yes
   15669       hardcode_shlibpath_var_F77=no
   15670       ;;
   15671 
   15672     sysv4)
   15673       case $host_vendor in
   15674 	sni)
   15675 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15676 	  hardcode_direct_F77=yes # is this really true???
   15677 	;;
   15678 	siemens)
   15679 	  ## LD is ld it makes a PLAMLIB
   15680 	  ## CC just makes a GrossModule.
   15681 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15682 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15683 	  hardcode_direct_F77=no
   15684         ;;
   15685 	motorola)
   15686 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15687 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15688 	;;
   15689       esac
   15690       runpath_var='LD_RUN_PATH'
   15691       hardcode_shlibpath_var_F77=no
   15692       ;;
   15693 
   15694     sysv4.3*)
   15695       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15696       hardcode_shlibpath_var_F77=no
   15697       export_dynamic_flag_spec_F77='-Bexport'
   15698       ;;
   15699 
   15700     sysv4*MP*)
   15701       if test -d /usr/nec; then
   15702 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15703 	hardcode_shlibpath_var_F77=no
   15704 	runpath_var=LD_RUN_PATH
   15705 	hardcode_runpath_var=yes
   15706 	ld_shlibs_F77=yes
   15707       fi
   15708       ;;
   15709 
   15710     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15711       no_undefined_flag_F77='${wl}-z,text'
   15712       archive_cmds_need_lc_F77=no
   15713       hardcode_shlibpath_var_F77=no
   15714       runpath_var='LD_RUN_PATH'
   15715 
   15716       if test "$GCC" = yes; then
   15717 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15718 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15719       else
   15720 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15721 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15722       fi
   15723       ;;
   15724 
   15725     sysv5* | sco3.2v5* | sco5v6*)
   15726       # Note: We can NOT use -z defs as we might desire, because we do not
   15727       # link with -lc, and that would cause any symbols used from libc to
   15728       # always be unresolved, which means just about no library would
   15729       # ever link correctly.  If we're not using GNU ld we use -z text
   15730       # though, which does catch some bad symbols but isn't as heavy-handed
   15731       # as -z defs.
   15732       no_undefined_flag_F77='${wl}-z,text'
   15733       allow_undefined_flag_F77='${wl}-z,nodefs'
   15734       archive_cmds_need_lc_F77=no
   15735       hardcode_shlibpath_var_F77=no
   15736       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15737       hardcode_libdir_separator_F77=':'
   15738       link_all_deplibs_F77=yes
   15739       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15740       runpath_var='LD_RUN_PATH'
   15741 
   15742       if test "$GCC" = yes; then
   15743 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15744 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15745       else
   15746 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15747 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15748       fi
   15749       ;;
   15750 
   15751     uts4*)
   15752       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15753       hardcode_libdir_flag_spec_F77='-L$libdir'
   15754       hardcode_shlibpath_var_F77=no
   15755       ;;
   15756 
   15757     *)
   15758       ld_shlibs_F77=no
   15759       ;;
   15760     esac
   15761   fi
   15762 
   15763 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15764 $as_echo "$ld_shlibs_F77" >&6; }
   15765 test "$ld_shlibs_F77" = no && can_build_shared=no
   15766 
   15767 #
   15768 # Do we need to explicitly link libc?
   15769 #
   15770 case "x$archive_cmds_need_lc_F77" in
   15771 x|xyes)
   15772   # Assume -lc should be added
   15773   archive_cmds_need_lc_F77=yes
   15774 
   15775   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15776     case $archive_cmds_F77 in
   15777     *'~'*)
   15778       # FIXME: we may have to deal with multi-command sequences.
   15779       ;;
   15780     '$CC '*)
   15781       # Test whether the compiler implicitly links with -lc since on some
   15782       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15783       # to ld, don't add -lc before -lgcc.
   15784       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15785 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15786       $rm conftest*
   15787       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15788 
   15789       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15790   (eval $ac_compile) 2>&5
   15791   ac_status=$?
   15792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15793   (exit $ac_status); } 2>conftest.err; then
   15794         soname=conftest
   15795         lib=conftest
   15796         libobjs=conftest.$ac_objext
   15797         deplibs=
   15798         wl=$lt_prog_compiler_wl_F77
   15799 	pic_flag=$lt_prog_compiler_pic_F77
   15800         compiler_flags=-v
   15801         linker_flags=-v
   15802         verstring=
   15803         output_objdir=.
   15804         libname=conftest
   15805         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15806         allow_undefined_flag_F77=
   15807         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15808   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15809   ac_status=$?
   15810   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15811   (exit $ac_status); }
   15812         then
   15813 	  archive_cmds_need_lc_F77=no
   15814         else
   15815 	  archive_cmds_need_lc_F77=yes
   15816         fi
   15817         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15818       else
   15819         cat conftest.err 1>&5
   15820       fi
   15821       $rm conftest*
   15822       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15823 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15824       ;;
   15825     esac
   15826   fi
   15827   ;;
   15828 esac
   15829 
   15830 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15831 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15832 library_names_spec=
   15833 libname_spec='lib$name'
   15834 soname_spec=
   15835 shrext_cmds=".so"
   15836 postinstall_cmds=
   15837 postuninstall_cmds=
   15838 finish_cmds=
   15839 finish_eval=
   15840 shlibpath_var=
   15841 shlibpath_overrides_runpath=unknown
   15842 version_type=none
   15843 dynamic_linker="$host_os ld.so"
   15844 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15845 
   15846 need_lib_prefix=unknown
   15847 hardcode_into_libs=no
   15848 
   15849 # when you set need_version to no, make sure it does not cause -set_version
   15850 # flags to be left without arguments
   15851 need_version=unknown
   15852 
   15853 case $host_os in
   15854 aix3*)
   15855   version_type=linux
   15856   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15857   shlibpath_var=LIBPATH
   15858 
   15859   # AIX 3 has no versioning support, so we append a major version to the name.
   15860   soname_spec='${libname}${release}${shared_ext}$major'
   15861   ;;
   15862 
   15863 aix[4-9]*)
   15864   version_type=linux
   15865   need_lib_prefix=no
   15866   need_version=no
   15867   hardcode_into_libs=yes
   15868   if test "$host_cpu" = ia64; then
   15869     # AIX 5 supports IA64
   15870     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15871     shlibpath_var=LD_LIBRARY_PATH
   15872   else
   15873     # With GCC up to 2.95.x, collect2 would create an import file
   15874     # for dependence libraries.  The import file would start with
   15875     # the line `#! .'.  This would cause the generated library to
   15876     # depend on `.', always an invalid library.  This was fixed in
   15877     # development snapshots of GCC prior to 3.0.
   15878     case $host_os in
   15879       aix4 | aix4.[01] | aix4.[01].*)
   15880       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15881 	   echo ' yes '
   15882 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15883 	:
   15884       else
   15885 	can_build_shared=no
   15886       fi
   15887       ;;
   15888     esac
   15889     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15890     # soname into executable. Probably we can add versioning support to
   15891     # collect2, so additional links can be useful in future.
   15892     if test "$aix_use_runtimelinking" = yes; then
   15893       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15894       # instead of lib<name>.a to let people know that these are not
   15895       # typical AIX shared libraries.
   15896       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15897     else
   15898       # We preserve .a as extension for shared libraries through AIX4.2
   15899       # and later when we are not doing run time linking.
   15900       library_names_spec='${libname}${release}.a $libname.a'
   15901       soname_spec='${libname}${release}${shared_ext}$major'
   15902     fi
   15903     shlibpath_var=LIBPATH
   15904   fi
   15905   ;;
   15906 
   15907 amigaos*)
   15908   library_names_spec='$libname.ixlibrary $libname.a'
   15909   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15910   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'
   15911   ;;
   15912 
   15913 beos*)
   15914   library_names_spec='${libname}${shared_ext}'
   15915   dynamic_linker="$host_os ld.so"
   15916   shlibpath_var=LIBRARY_PATH
   15917   ;;
   15918 
   15919 bsdi[45]*)
   15920   version_type=linux
   15921   need_version=no
   15922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15923   soname_spec='${libname}${release}${shared_ext}$major'
   15924   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15925   shlibpath_var=LD_LIBRARY_PATH
   15926   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15927   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15928   # the default ld.so.conf also contains /usr/contrib/lib and
   15929   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15930   # libtool to hard-code these into programs
   15931   ;;
   15932 
   15933 cygwin* | mingw* | pw32*)
   15934   version_type=windows
   15935   shrext_cmds=".dll"
   15936   need_version=no
   15937   need_lib_prefix=no
   15938 
   15939   case $GCC,$host_os in
   15940   yes,cygwin* | yes,mingw* | yes,pw32*)
   15941     library_names_spec='$libname.dll.a'
   15942     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15943     postinstall_cmds='base_file=`basename \${file}`~
   15944       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15945       dldir=$destdir/`dirname \$dlpath`~
   15946       test -d \$dldir || mkdir -p \$dldir~
   15947       $install_prog $dir/$dlname \$dldir/$dlname~
   15948       chmod a+x \$dldir/$dlname'
   15949     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15950       dlpath=$dir/\$dldll~
   15951        $rm \$dlpath'
   15952     shlibpath_overrides_runpath=yes
   15953 
   15954     case $host_os in
   15955     cygwin*)
   15956       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15957       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15958       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15959       ;;
   15960     mingw*)
   15961       # MinGW DLLs use traditional 'lib' prefix
   15962       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15963       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15964       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15965         # It is most probably a Windows format PATH printed by
   15966         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15967         # path with ; separators, and with drive letters. We can handle the
   15968         # drive letters (cygwin fileutils understands them), so leave them,
   15969         # especially as we might pass files found there to a mingw objdump,
   15970         # which wouldn't understand a cygwinified path. Ahh.
   15971         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15972       else
   15973         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15974       fi
   15975       ;;
   15976     pw32*)
   15977       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15978       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15979       ;;
   15980     esac
   15981     ;;
   15982 
   15983   *)
   15984     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15985     ;;
   15986   esac
   15987   dynamic_linker='Win32 ld.exe'
   15988   # FIXME: first we should search . and the directory the executable is in
   15989   shlibpath_var=PATH
   15990   ;;
   15991 
   15992 darwin* | rhapsody*)
   15993   dynamic_linker="$host_os dyld"
   15994   version_type=darwin
   15995   need_lib_prefix=no
   15996   need_version=no
   15997   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15998   soname_spec='${libname}${release}${major}$shared_ext'
   15999   shlibpath_overrides_runpath=yes
   16000   shlibpath_var=DYLD_LIBRARY_PATH
   16001   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16002 
   16003   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16004   ;;
   16005 
   16006 dgux*)
   16007   version_type=linux
   16008   need_lib_prefix=no
   16009   need_version=no
   16010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16011   soname_spec='${libname}${release}${shared_ext}$major'
   16012   shlibpath_var=LD_LIBRARY_PATH
   16013   ;;
   16014 
   16015 freebsd1*)
   16016   dynamic_linker=no
   16017   ;;
   16018 
   16019 freebsd* | dragonfly*)
   16020   # DragonFly does not have aout.  When/if they implement a new
   16021   # versioning mechanism, adjust this.
   16022   if test -x /usr/bin/objformat; then
   16023     objformat=`/usr/bin/objformat`
   16024   else
   16025     case $host_os in
   16026     freebsd[123]*) objformat=aout ;;
   16027     *) objformat=elf ;;
   16028     esac
   16029   fi
   16030   version_type=freebsd-$objformat
   16031   case $version_type in
   16032     freebsd-elf*)
   16033       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16034       need_version=no
   16035       need_lib_prefix=no
   16036       ;;
   16037     freebsd-*)
   16038       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16039       need_version=yes
   16040       ;;
   16041   esac
   16042   shlibpath_var=LD_LIBRARY_PATH
   16043   case $host_os in
   16044   freebsd2*)
   16045     shlibpath_overrides_runpath=yes
   16046     ;;
   16047   freebsd3.[01]* | freebsdelf3.[01]*)
   16048     shlibpath_overrides_runpath=yes
   16049     hardcode_into_libs=yes
   16050     ;;
   16051   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16052   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16053     shlibpath_overrides_runpath=no
   16054     hardcode_into_libs=yes
   16055     ;;
   16056   *) # from 4.6 on, and DragonFly
   16057     shlibpath_overrides_runpath=yes
   16058     hardcode_into_libs=yes
   16059     ;;
   16060   esac
   16061   ;;
   16062 
   16063 gnu*)
   16064   version_type=linux
   16065   need_lib_prefix=no
   16066   need_version=no
   16067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16068   soname_spec='${libname}${release}${shared_ext}$major'
   16069   shlibpath_var=LD_LIBRARY_PATH
   16070   hardcode_into_libs=yes
   16071   ;;
   16072 
   16073 hpux9* | hpux10* | hpux11*)
   16074   # Give a soname corresponding to the major version so that dld.sl refuses to
   16075   # link against other versions.
   16076   version_type=sunos
   16077   need_lib_prefix=no
   16078   need_version=no
   16079   case $host_cpu in
   16080   ia64*)
   16081     shrext_cmds='.so'
   16082     hardcode_into_libs=yes
   16083     dynamic_linker="$host_os dld.so"
   16084     shlibpath_var=LD_LIBRARY_PATH
   16085     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16087     soname_spec='${libname}${release}${shared_ext}$major'
   16088     if test "X$HPUX_IA64_MODE" = X32; then
   16089       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16090     else
   16091       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16092     fi
   16093     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16094     ;;
   16095    hppa*64*)
   16096      shrext_cmds='.sl'
   16097      hardcode_into_libs=yes
   16098      dynamic_linker="$host_os dld.sl"
   16099      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16100      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16101      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16102      soname_spec='${libname}${release}${shared_ext}$major'
   16103      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16104      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16105      ;;
   16106    *)
   16107     shrext_cmds='.sl'
   16108     dynamic_linker="$host_os dld.sl"
   16109     shlibpath_var=SHLIB_PATH
   16110     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16111     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16112     soname_spec='${libname}${release}${shared_ext}$major'
   16113     ;;
   16114   esac
   16115   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16116   postinstall_cmds='chmod 555 $lib'
   16117   ;;
   16118 
   16119 interix[3-9]*)
   16120   version_type=linux
   16121   need_lib_prefix=no
   16122   need_version=no
   16123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16124   soname_spec='${libname}${release}${shared_ext}$major'
   16125   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16126   shlibpath_var=LD_LIBRARY_PATH
   16127   shlibpath_overrides_runpath=no
   16128   hardcode_into_libs=yes
   16129   ;;
   16130 
   16131 irix5* | irix6* | nonstopux*)
   16132   case $host_os in
   16133     nonstopux*) version_type=nonstopux ;;
   16134     *)
   16135 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16136 		version_type=linux
   16137 	else
   16138 		version_type=irix
   16139 	fi ;;
   16140   esac
   16141   need_lib_prefix=no
   16142   need_version=no
   16143   soname_spec='${libname}${release}${shared_ext}$major'
   16144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16145   case $host_os in
   16146   irix5* | nonstopux*)
   16147     libsuff= shlibsuff=
   16148     ;;
   16149   *)
   16150     case $LD in # libtool.m4 will add one of these switches to LD
   16151     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16152       libsuff= shlibsuff= libmagic=32-bit;;
   16153     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16154       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16155     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16156       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16157     *) libsuff= shlibsuff= libmagic=never-match;;
   16158     esac
   16159     ;;
   16160   esac
   16161   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16162   shlibpath_overrides_runpath=no
   16163   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16164   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16165   hardcode_into_libs=yes
   16166   ;;
   16167 
   16168 # No shared lib support for Linux oldld, aout, or coff.
   16169 linux*oldld* | linux*aout* | linux*coff*)
   16170   dynamic_linker=no
   16171   ;;
   16172 
   16173 # This must be Linux ELF.
   16174 linux* | k*bsd*-gnu)
   16175   version_type=linux
   16176   need_lib_prefix=no
   16177   need_version=no
   16178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16179   soname_spec='${libname}${release}${shared_ext}$major'
   16180   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16181   shlibpath_var=LD_LIBRARY_PATH
   16182   shlibpath_overrides_runpath=no
   16183   # This implies no fast_install, which is unacceptable.
   16184   # Some rework will be needed to allow for fast_install
   16185   # before this can be enabled.
   16186   hardcode_into_libs=yes
   16187   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16188   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16189 
   16190   # Append ld.so.conf contents to the search path
   16191   if test -f /etc/ld.so.conf; then
   16192     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' ' '`
   16193     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16194   fi
   16195 
   16196   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16197   # powerpc, because MkLinux only supported shared libraries with the
   16198   # GNU dynamic linker.  Since this was broken with cross compilers,
   16199   # most powerpc-linux boxes support dynamic linking these days and
   16200   # people can always --disable-shared, the test was removed, and we
   16201   # assume the GNU/Linux dynamic linker is in use.
   16202   dynamic_linker='GNU/Linux ld.so'
   16203   ;;
   16204 
   16205 netbsd*)
   16206   version_type=sunos
   16207   need_lib_prefix=no
   16208   need_version=no
   16209   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16211     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16212     dynamic_linker='NetBSD (a.out) ld.so'
   16213   else
   16214     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16215     soname_spec='${libname}${release}${shared_ext}$major'
   16216     dynamic_linker='NetBSD ld.elf_so'
   16217   fi
   16218   shlibpath_var=LD_LIBRARY_PATH
   16219   shlibpath_overrides_runpath=yes
   16220   hardcode_into_libs=yes
   16221   ;;
   16222 
   16223 newsos6)
   16224   version_type=linux
   16225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16226   shlibpath_var=LD_LIBRARY_PATH
   16227   shlibpath_overrides_runpath=yes
   16228   ;;
   16229 
   16230 nto-qnx*)
   16231   version_type=linux
   16232   need_lib_prefix=no
   16233   need_version=no
   16234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16235   soname_spec='${libname}${release}${shared_ext}$major'
   16236   shlibpath_var=LD_LIBRARY_PATH
   16237   shlibpath_overrides_runpath=yes
   16238   ;;
   16239 
   16240 openbsd*)
   16241   version_type=sunos
   16242   sys_lib_dlsearch_path_spec="/usr/lib"
   16243   need_lib_prefix=no
   16244   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16245   case $host_os in
   16246     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16247     *)                         need_version=no  ;;
   16248   esac
   16249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16250   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16251   shlibpath_var=LD_LIBRARY_PATH
   16252   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16253     case $host_os in
   16254       openbsd2.[89] | openbsd2.[89].*)
   16255 	shlibpath_overrides_runpath=no
   16256 	;;
   16257       *)
   16258 	shlibpath_overrides_runpath=yes
   16259 	;;
   16260       esac
   16261   else
   16262     shlibpath_overrides_runpath=yes
   16263   fi
   16264   ;;
   16265 
   16266 os2*)
   16267   libname_spec='$name'
   16268   shrext_cmds=".dll"
   16269   need_lib_prefix=no
   16270   library_names_spec='$libname${shared_ext} $libname.a'
   16271   dynamic_linker='OS/2 ld.exe'
   16272   shlibpath_var=LIBPATH
   16273   ;;
   16274 
   16275 osf3* | osf4* | osf5*)
   16276   version_type=osf
   16277   need_lib_prefix=no
   16278   need_version=no
   16279   soname_spec='${libname}${release}${shared_ext}$major'
   16280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16281   shlibpath_var=LD_LIBRARY_PATH
   16282   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16283   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16284   ;;
   16285 
   16286 rdos*)
   16287   dynamic_linker=no
   16288   ;;
   16289 
   16290 solaris*)
   16291   version_type=linux
   16292   need_lib_prefix=no
   16293   need_version=no
   16294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16295   soname_spec='${libname}${release}${shared_ext}$major'
   16296   shlibpath_var=LD_LIBRARY_PATH
   16297   shlibpath_overrides_runpath=yes
   16298   hardcode_into_libs=yes
   16299   # ldd complains unless libraries are executable
   16300   postinstall_cmds='chmod +x $lib'
   16301   ;;
   16302 
   16303 sunos4*)
   16304   version_type=sunos
   16305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16306   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16307   shlibpath_var=LD_LIBRARY_PATH
   16308   shlibpath_overrides_runpath=yes
   16309   if test "$with_gnu_ld" = yes; then
   16310     need_lib_prefix=no
   16311   fi
   16312   need_version=yes
   16313   ;;
   16314 
   16315 sysv4 | sysv4.3*)
   16316   version_type=linux
   16317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16318   soname_spec='${libname}${release}${shared_ext}$major'
   16319   shlibpath_var=LD_LIBRARY_PATH
   16320   case $host_vendor in
   16321     sni)
   16322       shlibpath_overrides_runpath=no
   16323       need_lib_prefix=no
   16324       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16325       runpath_var=LD_RUN_PATH
   16326       ;;
   16327     siemens)
   16328       need_lib_prefix=no
   16329       ;;
   16330     motorola)
   16331       need_lib_prefix=no
   16332       need_version=no
   16333       shlibpath_overrides_runpath=no
   16334       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16335       ;;
   16336   esac
   16337   ;;
   16338 
   16339 sysv4*MP*)
   16340   if test -d /usr/nec ;then
   16341     version_type=linux
   16342     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16343     soname_spec='$libname${shared_ext}.$major'
   16344     shlibpath_var=LD_LIBRARY_PATH
   16345   fi
   16346   ;;
   16347 
   16348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16349   version_type=freebsd-elf
   16350   need_lib_prefix=no
   16351   need_version=no
   16352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16353   soname_spec='${libname}${release}${shared_ext}$major'
   16354   shlibpath_var=LD_LIBRARY_PATH
   16355   hardcode_into_libs=yes
   16356   if test "$with_gnu_ld" = yes; then
   16357     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16358     shlibpath_overrides_runpath=no
   16359   else
   16360     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16361     shlibpath_overrides_runpath=yes
   16362     case $host_os in
   16363       sco3.2v5*)
   16364         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16365 	;;
   16366     esac
   16367   fi
   16368   sys_lib_dlsearch_path_spec='/usr/lib'
   16369   ;;
   16370 
   16371 uts4*)
   16372   version_type=linux
   16373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16374   soname_spec='${libname}${release}${shared_ext}$major'
   16375   shlibpath_var=LD_LIBRARY_PATH
   16376   ;;
   16377 
   16378 *)
   16379   dynamic_linker=no
   16380   ;;
   16381 esac
   16382 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16383 $as_echo "$dynamic_linker" >&6; }
   16384 test "$dynamic_linker" = no && can_build_shared=no
   16385 
   16386 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16387   $as_echo_n "(cached) " >&6
   16388 else
   16389   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16390 fi
   16391 
   16392 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16393 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16394   $as_echo_n "(cached) " >&6
   16395 else
   16396   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16397 fi
   16398 
   16399 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16400 
   16401 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16402 if test "$GCC" = yes; then
   16403   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16404 fi
   16405 
   16406 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16407 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16408 hardcode_action_F77=
   16409 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16410    test -n "$runpath_var_F77" || \
   16411    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16412 
   16413   # We can hardcode non-existant directories.
   16414   if test "$hardcode_direct_F77" != no &&
   16415      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16416      # have to relink, otherwise we might link with an installed library
   16417      # when we should be linking with a yet-to-be-installed one
   16418      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16419      test "$hardcode_minus_L_F77" != no; then
   16420     # Linking always hardcodes the temporary library directory.
   16421     hardcode_action_F77=relink
   16422   else
   16423     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16424     hardcode_action_F77=immediate
   16425   fi
   16426 else
   16427   # We cannot hardcode anything, or else we can only hardcode existing
   16428   # directories.
   16429   hardcode_action_F77=unsupported
   16430 fi
   16431 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16432 $as_echo "$hardcode_action_F77" >&6; }
   16433 
   16434 if test "$hardcode_action_F77" = relink; then
   16435   # Fast installation is not supported
   16436   enable_fast_install=no
   16437 elif test "$shlibpath_overrides_runpath" = yes ||
   16438      test "$enable_shared" = no; then
   16439   # Fast installation is not necessary
   16440   enable_fast_install=needless
   16441 fi
   16442 
   16443 
   16444 # The else clause should only fire when bootstrapping the
   16445 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16446 # with your package, and you will get complaints that there are
   16447 # no rules to generate ltmain.sh.
   16448 if test -f "$ltmain"; then
   16449   # See if we are running on zsh, and set the options which allow our commands through
   16450   # without removal of \ escapes.
   16451   if test -n "${ZSH_VERSION+set}" ; then
   16452     setopt NO_GLOB_SUBST
   16453   fi
   16454   # Now quote all the things that may contain metacharacters while being
   16455   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16456   # variables and quote the copies for generation of the libtool script.
   16457   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16458     SED SHELL STRIP \
   16459     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16460     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16461     deplibs_check_method reload_flag reload_cmds need_locks \
   16462     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16463     lt_cv_sys_global_symbol_to_c_name_address \
   16464     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16465     old_postinstall_cmds old_postuninstall_cmds \
   16466     compiler_F77 \
   16467     CC_F77 \
   16468     LD_F77 \
   16469     lt_prog_compiler_wl_F77 \
   16470     lt_prog_compiler_pic_F77 \
   16471     lt_prog_compiler_static_F77 \
   16472     lt_prog_compiler_no_builtin_flag_F77 \
   16473     export_dynamic_flag_spec_F77 \
   16474     thread_safe_flag_spec_F77 \
   16475     whole_archive_flag_spec_F77 \
   16476     enable_shared_with_static_runtimes_F77 \
   16477     old_archive_cmds_F77 \
   16478     old_archive_from_new_cmds_F77 \
   16479     predep_objects_F77 \
   16480     postdep_objects_F77 \
   16481     predeps_F77 \
   16482     postdeps_F77 \
   16483     compiler_lib_search_path_F77 \
   16484     compiler_lib_search_dirs_F77 \
   16485     archive_cmds_F77 \
   16486     archive_expsym_cmds_F77 \
   16487     postinstall_cmds_F77 \
   16488     postuninstall_cmds_F77 \
   16489     old_archive_from_expsyms_cmds_F77 \
   16490     allow_undefined_flag_F77 \
   16491     no_undefined_flag_F77 \
   16492     export_symbols_cmds_F77 \
   16493     hardcode_libdir_flag_spec_F77 \
   16494     hardcode_libdir_flag_spec_ld_F77 \
   16495     hardcode_libdir_separator_F77 \
   16496     hardcode_automatic_F77 \
   16497     module_cmds_F77 \
   16498     module_expsym_cmds_F77 \
   16499     lt_cv_prog_compiler_c_o_F77 \
   16500     fix_srcfile_path_F77 \
   16501     exclude_expsyms_F77 \
   16502     include_expsyms_F77; do
   16503 
   16504     case $var in
   16505     old_archive_cmds_F77 | \
   16506     old_archive_from_new_cmds_F77 | \
   16507     archive_cmds_F77 | \
   16508     archive_expsym_cmds_F77 | \
   16509     module_cmds_F77 | \
   16510     module_expsym_cmds_F77 | \
   16511     old_archive_from_expsyms_cmds_F77 | \
   16512     export_symbols_cmds_F77 | \
   16513     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16514     postinstall_cmds | postuninstall_cmds | \
   16515     old_postinstall_cmds | old_postuninstall_cmds | \
   16516     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16517       # Double-quote double-evaled strings.
   16518       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16519       ;;
   16520     *)
   16521       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16522       ;;
   16523     esac
   16524   done
   16525 
   16526   case $lt_echo in
   16527   *'\$0 --fallback-echo"')
   16528     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16529     ;;
   16530   esac
   16531 
   16532 cfgfile="$ofile"
   16533 
   16534   cat <<__EOF__ >> "$cfgfile"
   16535 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16536 
   16537 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16538 
   16539 # Shell to use when invoking shell scripts.
   16540 SHELL=$lt_SHELL
   16541 
   16542 # Whether or not to build shared libraries.
   16543 build_libtool_libs=$enable_shared
   16544 
   16545 # Whether or not to build static libraries.
   16546 build_old_libs=$enable_static
   16547 
   16548 # Whether or not to add -lc for building shared libraries.
   16549 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16550 
   16551 # Whether or not to disallow shared libs when runtime libs are static
   16552 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16553 
   16554 # Whether or not to optimize for fast installation.
   16555 fast_install=$enable_fast_install
   16556 
   16557 # The host system.
   16558 host_alias=$host_alias
   16559 host=$host
   16560 host_os=$host_os
   16561 
   16562 # The build system.
   16563 build_alias=$build_alias
   16564 build=$build
   16565 build_os=$build_os
   16566 
   16567 # An echo program that does not interpret backslashes.
   16568 echo=$lt_echo
   16569 
   16570 # The archiver.
   16571 AR=$lt_AR
   16572 AR_FLAGS=$lt_AR_FLAGS
   16573 
   16574 # A C compiler.
   16575 LTCC=$lt_LTCC
   16576 
   16577 # LTCC compiler flags.
   16578 LTCFLAGS=$lt_LTCFLAGS
   16579 
   16580 # A language-specific compiler.
   16581 CC=$lt_compiler_F77
   16582 
   16583 # Is the compiler the GNU C compiler?
   16584 with_gcc=$GCC_F77
   16585 
   16586 # An ERE matcher.
   16587 EGREP=$lt_EGREP
   16588 
   16589 # The linker used to build libraries.
   16590 LD=$lt_LD_F77
   16591 
   16592 # Whether we need hard or soft links.
   16593 LN_S=$lt_LN_S
   16594 
   16595 # A BSD-compatible nm program.
   16596 NM=$lt_NM
   16597 
   16598 # A symbol stripping program
   16599 STRIP=$lt_STRIP
   16600 
   16601 # Used to examine libraries when file_magic_cmd begins "file"
   16602 MAGIC_CMD=$MAGIC_CMD
   16603 
   16604 # Used on cygwin: DLL creation program.
   16605 DLLTOOL="$DLLTOOL"
   16606 
   16607 # Used on cygwin: object dumper.
   16608 OBJDUMP="$OBJDUMP"
   16609 
   16610 # Used on cygwin: assembler.
   16611 AS="$AS"
   16612 
   16613 # The name of the directory that contains temporary libtool files.
   16614 objdir=$objdir
   16615 
   16616 # How to create reloadable object files.
   16617 reload_flag=$lt_reload_flag
   16618 reload_cmds=$lt_reload_cmds
   16619 
   16620 # How to pass a linker flag through the compiler.
   16621 wl=$lt_lt_prog_compiler_wl_F77
   16622 
   16623 # Object file suffix (normally "o").
   16624 objext="$ac_objext"
   16625 
   16626 # Old archive suffix (normally "a").
   16627 libext="$libext"
   16628 
   16629 # Shared library suffix (normally ".so").
   16630 shrext_cmds='$shrext_cmds'
   16631 
   16632 # Executable file suffix (normally "").
   16633 exeext="$exeext"
   16634 
   16635 # Additional compiler flags for building library objects.
   16636 pic_flag=$lt_lt_prog_compiler_pic_F77
   16637 pic_mode=$pic_mode
   16638 
   16639 # What is the maximum length of a command?
   16640 max_cmd_len=$lt_cv_sys_max_cmd_len
   16641 
   16642 # Does compiler simultaneously support -c and -o options?
   16643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16644 
   16645 # Must we lock files when doing compilation?
   16646 need_locks=$lt_need_locks
   16647 
   16648 # Do we need the lib prefix for modules?
   16649 need_lib_prefix=$need_lib_prefix
   16650 
   16651 # Do we need a version for libraries?
   16652 need_version=$need_version
   16653 
   16654 # Whether dlopen is supported.
   16655 dlopen_support=$enable_dlopen
   16656 
   16657 # Whether dlopen of programs is supported.
   16658 dlopen_self=$enable_dlopen_self
   16659 
   16660 # Whether dlopen of statically linked programs is supported.
   16661 dlopen_self_static=$enable_dlopen_self_static
   16662 
   16663 # Compiler flag to prevent dynamic linking.
   16664 link_static_flag=$lt_lt_prog_compiler_static_F77
   16665 
   16666 # Compiler flag to turn off builtin functions.
   16667 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16668 
   16669 # Compiler flag to allow reflexive dlopens.
   16670 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16671 
   16672 # Compiler flag to generate shared objects directly from archives.
   16673 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16674 
   16675 # Compiler flag to generate thread-safe objects.
   16676 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16677 
   16678 # Library versioning type.
   16679 version_type=$version_type
   16680 
   16681 # Format of library name prefix.
   16682 libname_spec=$lt_libname_spec
   16683 
   16684 # List of archive names.  First name is the real one, the rest are links.
   16685 # The last name is the one that the linker finds with -lNAME.
   16686 library_names_spec=$lt_library_names_spec
   16687 
   16688 # The coded name of the library, if different from the real name.
   16689 soname_spec=$lt_soname_spec
   16690 
   16691 # Commands used to build and install an old-style archive.
   16692 RANLIB=$lt_RANLIB
   16693 old_archive_cmds=$lt_old_archive_cmds_F77
   16694 old_postinstall_cmds=$lt_old_postinstall_cmds
   16695 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16696 
   16697 # Create an old-style archive from a shared archive.
   16698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16699 
   16700 # Create a temporary old-style archive to link instead of a shared archive.
   16701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16702 
   16703 # Commands used to build and install a shared archive.
   16704 archive_cmds=$lt_archive_cmds_F77
   16705 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16706 postinstall_cmds=$lt_postinstall_cmds
   16707 postuninstall_cmds=$lt_postuninstall_cmds
   16708 
   16709 # Commands used to build a loadable module (assumed same as above if empty)
   16710 module_cmds=$lt_module_cmds_F77
   16711 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16712 
   16713 # Commands to strip libraries.
   16714 old_striplib=$lt_old_striplib
   16715 striplib=$lt_striplib
   16716 
   16717 # Dependencies to place before the objects being linked to create a
   16718 # shared library.
   16719 predep_objects=$lt_predep_objects_F77
   16720 
   16721 # Dependencies to place after the objects being linked to create a
   16722 # shared library.
   16723 postdep_objects=$lt_postdep_objects_F77
   16724 
   16725 # Dependencies to place before the objects being linked to create a
   16726 # shared library.
   16727 predeps=$lt_predeps_F77
   16728 
   16729 # Dependencies to place after the objects being linked to create a
   16730 # shared library.
   16731 postdeps=$lt_postdeps_F77
   16732 
   16733 # The directories searched by this compiler when creating a shared
   16734 # library
   16735 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16736 
   16737 # The library search path used internally by the compiler when linking
   16738 # a shared library.
   16739 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16740 
   16741 # Method to check whether dependent libraries are shared objects.
   16742 deplibs_check_method=$lt_deplibs_check_method
   16743 
   16744 # Command to use when deplibs_check_method == file_magic.
   16745 file_magic_cmd=$lt_file_magic_cmd
   16746 
   16747 # Flag that allows shared libraries with undefined symbols to be built.
   16748 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16749 
   16750 # Flag that forces no undefined symbols.
   16751 no_undefined_flag=$lt_no_undefined_flag_F77
   16752 
   16753 # Commands used to finish a libtool library installation in a directory.
   16754 finish_cmds=$lt_finish_cmds
   16755 
   16756 # Same as above, but a single script fragment to be evaled but not shown.
   16757 finish_eval=$lt_finish_eval
   16758 
   16759 # Take the output of nm and produce a listing of raw symbols and C names.
   16760 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16761 
   16762 # Transform the output of nm in a proper C declaration
   16763 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16764 
   16765 # Transform the output of nm in a C name address pair
   16766 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16767 
   16768 # This is the shared library runtime path variable.
   16769 runpath_var=$runpath_var
   16770 
   16771 # This is the shared library path variable.
   16772 shlibpath_var=$shlibpath_var
   16773 
   16774 # Is shlibpath searched before the hard-coded library search path?
   16775 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16776 
   16777 # How to hardcode a shared library path into an executable.
   16778 hardcode_action=$hardcode_action_F77
   16779 
   16780 # Whether we should hardcode library paths into libraries.
   16781 hardcode_into_libs=$hardcode_into_libs
   16782 
   16783 # Flag to hardcode \$libdir into a binary during linking.
   16784 # This must work even if \$libdir does not exist.
   16785 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16786 
   16787 # If ld is used when linking, flag to hardcode \$libdir into
   16788 # a binary during linking. This must work even if \$libdir does
   16789 # not exist.
   16790 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16791 
   16792 # Whether we need a single -rpath flag with a separated argument.
   16793 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16794 
   16795 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16796 # resulting binary.
   16797 hardcode_direct=$hardcode_direct_F77
   16798 
   16799 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16800 # resulting binary.
   16801 hardcode_minus_L=$hardcode_minus_L_F77
   16802 
   16803 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16804 # the resulting binary.
   16805 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16806 
   16807 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16808 # and all subsequent libraries and executables linked against it.
   16809 hardcode_automatic=$hardcode_automatic_F77
   16810 
   16811 # Variables whose values should be saved in libtool wrapper scripts and
   16812 # restored at relink time.
   16813 variables_saved_for_relink="$variables_saved_for_relink"
   16814 
   16815 # Whether libtool must link a program against all its dependency libraries.
   16816 link_all_deplibs=$link_all_deplibs_F77
   16817 
   16818 # Compile-time system search path for libraries
   16819 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16820 
   16821 # Run-time system search path for libraries
   16822 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16823 
   16824 # Fix the shell variable \$srcfile for the compiler.
   16825 fix_srcfile_path=$lt_fix_srcfile_path
   16826 
   16827 # Set to yes if exported symbols are required.
   16828 always_export_symbols=$always_export_symbols_F77
   16829 
   16830 # The commands to list exported symbols.
   16831 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16832 
   16833 # The commands to extract the exported symbol list from a shared archive.
   16834 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16835 
   16836 # Symbols that should not be listed in the preloaded symbols.
   16837 exclude_expsyms=$lt_exclude_expsyms_F77
   16838 
   16839 # Symbols that must always be exported.
   16840 include_expsyms=$lt_include_expsyms_F77
   16841 
   16842 # ### END LIBTOOL TAG CONFIG: $tagname
   16843 
   16844 __EOF__
   16845 
   16846 
   16847 else
   16848   # If there is no Makefile yet, we rely on a make rule to execute
   16849   # `config.status --recheck' to rerun these tests and create the
   16850   # libtool script then.
   16851   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16852   if test -f "$ltmain_in"; then
   16853     test -f Makefile && make "$ltmain"
   16854   fi
   16855 fi
   16856 
   16857 
   16858 ac_ext=c
   16859 ac_cpp='$CPP $CPPFLAGS'
   16860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16863 
   16864 CC="$lt_save_CC"
   16865 
   16866 	else
   16867 	  tagname=""
   16868 	fi
   16869 	;;
   16870 
   16871       GCJ)
   16872 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16873 
   16874 
   16875 # Source file extension for Java test sources.
   16876 ac_ext=java
   16877 
   16878 # Object file extension for compiled Java test sources.
   16879 objext=o
   16880 objext_GCJ=$objext
   16881 
   16882 # Code to be used in simple compile tests
   16883 lt_simple_compile_test_code="class foo {}"
   16884 
   16885 # Code to be used in simple link tests
   16886 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16887 
   16888 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16889 
   16890 # If no C compiler was specified, use CC.
   16891 LTCC=${LTCC-"$CC"}
   16892 
   16893 # If no C compiler flags were specified, use CFLAGS.
   16894 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16895 
   16896 # Allow CC to be a program name with arguments.
   16897 compiler=$CC
   16898 
   16899 
   16900 # save warnings/boilerplate of simple test code
   16901 ac_outfile=conftest.$ac_objext
   16902 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16903 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16904 _lt_compiler_boilerplate=`cat conftest.err`
   16905 $rm conftest*
   16906 
   16907 ac_outfile=conftest.$ac_objext
   16908 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16909 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16910 _lt_linker_boilerplate=`cat conftest.err`
   16911 $rm -r conftest*
   16912 
   16913 
   16914 # Allow CC to be a program name with arguments.
   16915 lt_save_CC="$CC"
   16916 CC=${GCJ-"gcj"}
   16917 compiler=$CC
   16918 compiler_GCJ=$CC
   16919 for cc_temp in $compiler""; do
   16920   case $cc_temp in
   16921     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16922     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16923     \-*) ;;
   16924     *) break;;
   16925   esac
   16926 done
   16927 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16928 
   16929 
   16930 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16931 archive_cmds_need_lc_GCJ=no
   16932 
   16933 old_archive_cmds_GCJ=$old_archive_cmds
   16934 
   16935 
   16936 lt_prog_compiler_no_builtin_flag_GCJ=
   16937 
   16938 if test "$GCC" = yes; then
   16939   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16940 
   16941 
   16942 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16943 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16944 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16945   $as_echo_n "(cached) " >&6
   16946 else
   16947   lt_cv_prog_compiler_rtti_exceptions=no
   16948   ac_outfile=conftest.$ac_objext
   16949    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16950    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16951    # Insert the option either (1) after the last *FLAGS variable, or
   16952    # (2) before a word containing "conftest.", or (3) at the end.
   16953    # Note that $ac_compile itself does not contain backslashes and begins
   16954    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16955    # The option is referenced via a variable to avoid confusing sed.
   16956    lt_compile=`echo "$ac_compile" | $SED \
   16957    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16958    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16959    -e 's:$: $lt_compiler_flag:'`
   16960    (eval echo "\"\$as_me:16960: $lt_compile\"" >&5)
   16961    (eval "$lt_compile" 2>conftest.err)
   16962    ac_status=$?
   16963    cat conftest.err >&5
   16964    echo "$as_me:16964: \$? = $ac_status" >&5
   16965    if (exit $ac_status) && test -s "$ac_outfile"; then
   16966      # The compiler can only warn and ignore the option if not recognized
   16967      # So say no if there are warnings other than the usual output.
   16968      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16969      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16970      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16971        lt_cv_prog_compiler_rtti_exceptions=yes
   16972      fi
   16973    fi
   16974    $rm conftest*
   16975 
   16976 fi
   16977 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16978 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16979 
   16980 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16981     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16982 else
   16983     :
   16984 fi
   16985 
   16986 fi
   16987 
   16988 lt_prog_compiler_wl_GCJ=
   16989 lt_prog_compiler_pic_GCJ=
   16990 lt_prog_compiler_static_GCJ=
   16991 
   16992 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16994 
   16995   if test "$GCC" = yes; then
   16996     lt_prog_compiler_wl_GCJ='-Wl,'
   16997     lt_prog_compiler_static_GCJ='-static'
   16998 
   16999     case $host_os in
   17000       aix*)
   17001       # All AIX code is PIC.
   17002       if test "$host_cpu" = ia64; then
   17003 	# AIX 5 now supports IA64 processor
   17004 	lt_prog_compiler_static_GCJ='-Bstatic'
   17005       fi
   17006       ;;
   17007 
   17008     amigaos*)
   17009       # FIXME: we need at least 68020 code to build shared libraries, but
   17010       # adding the `-m68020' flag to GCC prevents building anything better,
   17011       # like `-m68040'.
   17012       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17013       ;;
   17014 
   17015     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17016       # PIC is the default for these OSes.
   17017       ;;
   17018 
   17019     mingw* | cygwin* | pw32* | os2*)
   17020       # This hack is so that the source file can tell whether it is being
   17021       # built for inclusion in a dll (and should export symbols for example).
   17022       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17023       # (--disable-auto-import) libraries
   17024 
   17025       ;;
   17026 
   17027     darwin* | rhapsody*)
   17028       # PIC is the default on this platform
   17029       # Common symbols not allowed in MH_DYLIB files
   17030       lt_prog_compiler_pic_GCJ='-fno-common'
   17031       ;;
   17032 
   17033     interix[3-9]*)
   17034       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17035       # Instead, we relocate shared libraries at runtime.
   17036       ;;
   17037 
   17038     msdosdjgpp*)
   17039       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17040       # on systems that don't support them.
   17041       lt_prog_compiler_can_build_shared_GCJ=no
   17042       enable_shared=no
   17043       ;;
   17044 
   17045     sysv4*MP*)
   17046       if test -d /usr/nec; then
   17047 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17048       fi
   17049       ;;
   17050 
   17051     hpux*)
   17052       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17053       # not for PA HP-UX.
   17054       case $host_cpu in
   17055       hppa*64*|ia64*)
   17056 	# +Z the default
   17057 	;;
   17058       *)
   17059 	lt_prog_compiler_pic_GCJ='-fPIC'
   17060 	;;
   17061       esac
   17062       ;;
   17063 
   17064     *)
   17065       lt_prog_compiler_pic_GCJ='-fPIC'
   17066       ;;
   17067     esac
   17068   else
   17069     # PORTME Check for flag to pass linker flags through the system compiler.
   17070     case $host_os in
   17071     aix*)
   17072       lt_prog_compiler_wl_GCJ='-Wl,'
   17073       if test "$host_cpu" = ia64; then
   17074 	# AIX 5 now supports IA64 processor
   17075 	lt_prog_compiler_static_GCJ='-Bstatic'
   17076       else
   17077 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17078       fi
   17079       ;;
   17080       darwin*)
   17081         # PIC is the default on this platform
   17082         # Common symbols not allowed in MH_DYLIB files
   17083        case $cc_basename in
   17084          xlc*)
   17085          lt_prog_compiler_pic_GCJ='-qnocommon'
   17086          lt_prog_compiler_wl_GCJ='-Wl,'
   17087          ;;
   17088        esac
   17089        ;;
   17090 
   17091     mingw* | cygwin* | pw32* | os2*)
   17092       # This hack is so that the source file can tell whether it is being
   17093       # built for inclusion in a dll (and should export symbols for example).
   17094 
   17095       ;;
   17096 
   17097     hpux9* | hpux10* | hpux11*)
   17098       lt_prog_compiler_wl_GCJ='-Wl,'
   17099       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17100       # not for PA HP-UX.
   17101       case $host_cpu in
   17102       hppa*64*|ia64*)
   17103 	# +Z the default
   17104 	;;
   17105       *)
   17106 	lt_prog_compiler_pic_GCJ='+Z'
   17107 	;;
   17108       esac
   17109       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17110       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17111       ;;
   17112 
   17113     irix5* | irix6* | nonstopux*)
   17114       lt_prog_compiler_wl_GCJ='-Wl,'
   17115       # PIC (with -KPIC) is the default.
   17116       lt_prog_compiler_static_GCJ='-non_shared'
   17117       ;;
   17118 
   17119     newsos6)
   17120       lt_prog_compiler_pic_GCJ='-KPIC'
   17121       lt_prog_compiler_static_GCJ='-Bstatic'
   17122       ;;
   17123 
   17124     linux* | k*bsd*-gnu)
   17125       case $cc_basename in
   17126       icc* | ecc*)
   17127 	lt_prog_compiler_wl_GCJ='-Wl,'
   17128 	lt_prog_compiler_pic_GCJ='-KPIC'
   17129 	lt_prog_compiler_static_GCJ='-static'
   17130         ;;
   17131       pgcc* | pgf77* | pgf90* | pgf95*)
   17132         # Portland Group compilers (*not* the Pentium gcc compiler,
   17133 	# which looks to be a dead project)
   17134 	lt_prog_compiler_wl_GCJ='-Wl,'
   17135 	lt_prog_compiler_pic_GCJ='-fpic'
   17136 	lt_prog_compiler_static_GCJ='-Bstatic'
   17137         ;;
   17138       ccc*)
   17139         lt_prog_compiler_wl_GCJ='-Wl,'
   17140         # All Alpha code is PIC.
   17141         lt_prog_compiler_static_GCJ='-non_shared'
   17142         ;;
   17143       *)
   17144         case `$CC -V 2>&1 | sed 5q` in
   17145 	*Sun\ C*)
   17146 	  # Sun C 5.9
   17147 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17148 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17149 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17150 	  ;;
   17151 	*Sun\ F*)
   17152 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17153 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17154 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17155 	  lt_prog_compiler_wl_GCJ=''
   17156 	  ;;
   17157 	esac
   17158 	;;
   17159       esac
   17160       ;;
   17161 
   17162     osf3* | osf4* | osf5*)
   17163       lt_prog_compiler_wl_GCJ='-Wl,'
   17164       # All OSF/1 code is PIC.
   17165       lt_prog_compiler_static_GCJ='-non_shared'
   17166       ;;
   17167 
   17168     rdos*)
   17169       lt_prog_compiler_static_GCJ='-non_shared'
   17170       ;;
   17171 
   17172     solaris*)
   17173       lt_prog_compiler_pic_GCJ='-KPIC'
   17174       lt_prog_compiler_static_GCJ='-Bstatic'
   17175       case $cc_basename in
   17176       f77* | f90* | f95*)
   17177 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17178       *)
   17179 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17180       esac
   17181       ;;
   17182 
   17183     sunos4*)
   17184       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17185       lt_prog_compiler_pic_GCJ='-PIC'
   17186       lt_prog_compiler_static_GCJ='-Bstatic'
   17187       ;;
   17188 
   17189     sysv4 | sysv4.2uw2* | sysv4.3*)
   17190       lt_prog_compiler_wl_GCJ='-Wl,'
   17191       lt_prog_compiler_pic_GCJ='-KPIC'
   17192       lt_prog_compiler_static_GCJ='-Bstatic'
   17193       ;;
   17194 
   17195     sysv4*MP*)
   17196       if test -d /usr/nec ;then
   17197 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17198 	lt_prog_compiler_static_GCJ='-Bstatic'
   17199       fi
   17200       ;;
   17201 
   17202     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17203       lt_prog_compiler_wl_GCJ='-Wl,'
   17204       lt_prog_compiler_pic_GCJ='-KPIC'
   17205       lt_prog_compiler_static_GCJ='-Bstatic'
   17206       ;;
   17207 
   17208     unicos*)
   17209       lt_prog_compiler_wl_GCJ='-Wl,'
   17210       lt_prog_compiler_can_build_shared_GCJ=no
   17211       ;;
   17212 
   17213     uts4*)
   17214       lt_prog_compiler_pic_GCJ='-pic'
   17215       lt_prog_compiler_static_GCJ='-Bstatic'
   17216       ;;
   17217 
   17218     *)
   17219       lt_prog_compiler_can_build_shared_GCJ=no
   17220       ;;
   17221     esac
   17222   fi
   17223 
   17224 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17225 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17226 
   17227 #
   17228 # Check to make sure the PIC flag actually works.
   17229 #
   17230 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17231 
   17232 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17233 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17234 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17235   $as_echo_n "(cached) " >&6
   17236 else
   17237   lt_cv_prog_compiler_pic_works_GCJ=no
   17238   ac_outfile=conftest.$ac_objext
   17239    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17240    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17241    # Insert the option either (1) after the last *FLAGS variable, or
   17242    # (2) before a word containing "conftest.", or (3) at the end.
   17243    # Note that $ac_compile itself does not contain backslashes and begins
   17244    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17245    # The option is referenced via a variable to avoid confusing sed.
   17246    lt_compile=`echo "$ac_compile" | $SED \
   17247    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17248    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17249    -e 's:$: $lt_compiler_flag:'`
   17250    (eval echo "\"\$as_me:17250: $lt_compile\"" >&5)
   17251    (eval "$lt_compile" 2>conftest.err)
   17252    ac_status=$?
   17253    cat conftest.err >&5
   17254    echo "$as_me:17254: \$? = $ac_status" >&5
   17255    if (exit $ac_status) && test -s "$ac_outfile"; then
   17256      # The compiler can only warn and ignore the option if not recognized
   17257      # So say no if there are warnings other than the usual output.
   17258      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17259      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17260      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17261        lt_cv_prog_compiler_pic_works_GCJ=yes
   17262      fi
   17263    fi
   17264    $rm conftest*
   17265 
   17266 fi
   17267 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17268 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17269 
   17270 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17271     case $lt_prog_compiler_pic_GCJ in
   17272      "" | " "*) ;;
   17273      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17274      esac
   17275 else
   17276     lt_prog_compiler_pic_GCJ=
   17277      lt_prog_compiler_can_build_shared_GCJ=no
   17278 fi
   17279 
   17280 fi
   17281 case $host_os in
   17282   # For platforms which do not support PIC, -DPIC is meaningless:
   17283   *djgpp*)
   17284     lt_prog_compiler_pic_GCJ=
   17285     ;;
   17286   *)
   17287     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17288     ;;
   17289 esac
   17290 
   17291 #
   17292 # Check to make sure the static flag actually works.
   17293 #
   17294 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17295 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17296 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17297 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17298   $as_echo_n "(cached) " >&6
   17299 else
   17300   lt_cv_prog_compiler_static_works_GCJ=no
   17301    save_LDFLAGS="$LDFLAGS"
   17302    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17303    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17304    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17305      # The linker can only warn and ignore the option if not recognized
   17306      # So say no if there are warnings
   17307      if test -s conftest.err; then
   17308        # Append any errors to the config.log.
   17309        cat conftest.err 1>&5
   17310        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17311        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17312        if diff conftest.exp conftest.er2 >/dev/null; then
   17313          lt_cv_prog_compiler_static_works_GCJ=yes
   17314        fi
   17315      else
   17316        lt_cv_prog_compiler_static_works_GCJ=yes
   17317      fi
   17318    fi
   17319    $rm -r conftest*
   17320    LDFLAGS="$save_LDFLAGS"
   17321 
   17322 fi
   17323 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17324 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17325 
   17326 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17327     :
   17328 else
   17329     lt_prog_compiler_static_GCJ=
   17330 fi
   17331 
   17332 
   17333 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17335 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17336   $as_echo_n "(cached) " >&6
   17337 else
   17338   lt_cv_prog_compiler_c_o_GCJ=no
   17339    $rm -r conftest 2>/dev/null
   17340    mkdir conftest
   17341    cd conftest
   17342    mkdir out
   17343    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17344 
   17345    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17346    # Insert the option either (1) after the last *FLAGS variable, or
   17347    # (2) before a word containing "conftest.", or (3) at the end.
   17348    # Note that $ac_compile itself does not contain backslashes and begins
   17349    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17350    lt_compile=`echo "$ac_compile" | $SED \
   17351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17353    -e 's:$: $lt_compiler_flag:'`
   17354    (eval echo "\"\$as_me:17354: $lt_compile\"" >&5)
   17355    (eval "$lt_compile" 2>out/conftest.err)
   17356    ac_status=$?
   17357    cat out/conftest.err >&5
   17358    echo "$as_me:17358: \$? = $ac_status" >&5
   17359    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17360    then
   17361      # The compiler can only warn and ignore the option if not recognized
   17362      # So say no if there are warnings
   17363      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17364      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17365      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17366        lt_cv_prog_compiler_c_o_GCJ=yes
   17367      fi
   17368    fi
   17369    chmod u+w . 2>&5
   17370    $rm conftest*
   17371    # SGI C++ compiler will create directory out/ii_files/ for
   17372    # template instantiation
   17373    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17374    $rm out/* && rmdir out
   17375    cd ..
   17376    rmdir conftest
   17377    $rm conftest*
   17378 
   17379 fi
   17380 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17381 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17382 
   17383 
   17384 hard_links="nottested"
   17385 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17386   # do not overwrite the value of need_locks provided by the user
   17387   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17388 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17389   hard_links=yes
   17390   $rm conftest*
   17391   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17392   touch conftest.a
   17393   ln conftest.a conftest.b 2>&5 || hard_links=no
   17394   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17395   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17396 $as_echo "$hard_links" >&6; }
   17397   if test "$hard_links" = no; then
   17398     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17399 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17400     need_locks=warn
   17401   fi
   17402 else
   17403   need_locks=no
   17404 fi
   17405 
   17406 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17407 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17408 
   17409   runpath_var=
   17410   allow_undefined_flag_GCJ=
   17411   enable_shared_with_static_runtimes_GCJ=no
   17412   archive_cmds_GCJ=
   17413   archive_expsym_cmds_GCJ=
   17414   old_archive_From_new_cmds_GCJ=
   17415   old_archive_from_expsyms_cmds_GCJ=
   17416   export_dynamic_flag_spec_GCJ=
   17417   whole_archive_flag_spec_GCJ=
   17418   thread_safe_flag_spec_GCJ=
   17419   hardcode_libdir_flag_spec_GCJ=
   17420   hardcode_libdir_flag_spec_ld_GCJ=
   17421   hardcode_libdir_separator_GCJ=
   17422   hardcode_direct_GCJ=no
   17423   hardcode_minus_L_GCJ=no
   17424   hardcode_shlibpath_var_GCJ=unsupported
   17425   link_all_deplibs_GCJ=unknown
   17426   hardcode_automatic_GCJ=no
   17427   module_cmds_GCJ=
   17428   module_expsym_cmds_GCJ=
   17429   always_export_symbols_GCJ=no
   17430   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17431   # include_expsyms should be a list of space-separated symbols to be *always*
   17432   # included in the symbol list
   17433   include_expsyms_GCJ=
   17434   # exclude_expsyms can be an extended regexp of symbols to exclude
   17435   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17436   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17437   # as well as any symbol that contains `d'.
   17438   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17439   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17440   # platforms (ab)use it in PIC code, but their linkers get confused if
   17441   # the symbol is explicitly referenced.  Since portable code cannot
   17442   # rely on this symbol name, it's probably fine to never include it in
   17443   # preloaded symbol tables.
   17444   # Exclude shared library initialization/finalization symbols.
   17445   extract_expsyms_cmds=
   17446   # Just being paranoid about ensuring that cc_basename is set.
   17447   for cc_temp in $compiler""; do
   17448   case $cc_temp in
   17449     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17450     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17451     \-*) ;;
   17452     *) break;;
   17453   esac
   17454 done
   17455 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17456 
   17457   case $host_os in
   17458   cygwin* | mingw* | pw32*)
   17459     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17460     # When not using gcc, we currently assume that we are using
   17461     # Microsoft Visual C++.
   17462     if test "$GCC" != yes; then
   17463       with_gnu_ld=no
   17464     fi
   17465     ;;
   17466   interix*)
   17467     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17468     with_gnu_ld=yes
   17469     ;;
   17470   openbsd*)
   17471     with_gnu_ld=no
   17472     ;;
   17473   esac
   17474 
   17475   ld_shlibs_GCJ=yes
   17476   if test "$with_gnu_ld" = yes; then
   17477     # If archive_cmds runs LD, not CC, wlarc should be empty
   17478     wlarc='${wl}'
   17479 
   17480     # Set some defaults for GNU ld with shared library support. These
   17481     # are reset later if shared libraries are not supported. Putting them
   17482     # here allows them to be overridden if necessary.
   17483     runpath_var=LD_RUN_PATH
   17484     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17485     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17486     # ancient GNU ld didn't support --whole-archive et. al.
   17487     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17488 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17489       else
   17490   	whole_archive_flag_spec_GCJ=
   17491     fi
   17492     supports_anon_versioning=no
   17493     case `$LD -v 2>/dev/null` in
   17494       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17495       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17496       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17497       *\ 2.11.*) ;; # other 2.11 versions
   17498       *) supports_anon_versioning=yes ;;
   17499     esac
   17500 
   17501     # See if GNU ld supports shared libraries.
   17502     case $host_os in
   17503     aix[3-9]*)
   17504       # On AIX/PPC, the GNU linker is very broken
   17505       if test "$host_cpu" != ia64; then
   17506 	ld_shlibs_GCJ=no
   17507 	cat <<EOF 1>&2
   17508 
   17509 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17510 *** to be unable to reliably create shared libraries on AIX.
   17511 *** Therefore, libtool is disabling shared libraries support.  If you
   17512 *** really care for shared libraries, you may want to modify your PATH
   17513 *** so that a non-GNU linker is found, and then restart.
   17514 
   17515 EOF
   17516       fi
   17517       ;;
   17518 
   17519     amigaos*)
   17520       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)'
   17521       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17522       hardcode_minus_L_GCJ=yes
   17523 
   17524       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17525       # that the semantics of dynamic libraries on AmigaOS, at least up
   17526       # to version 4, is to share data among multiple programs linked
   17527       # with the same dynamic library.  Since this doesn't match the
   17528       # behavior of shared libraries on other platforms, we can't use
   17529       # them.
   17530       ld_shlibs_GCJ=no
   17531       ;;
   17532 
   17533     beos*)
   17534       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17535 	allow_undefined_flag_GCJ=unsupported
   17536 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17537 	# support --undefined.  This deserves some investigation.  FIXME
   17538 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17539       else
   17540 	ld_shlibs_GCJ=no
   17541       fi
   17542       ;;
   17543 
   17544     cygwin* | mingw* | pw32*)
   17545       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17546       # as there is no search path for DLLs.
   17547       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17548       allow_undefined_flag_GCJ=unsupported
   17549       always_export_symbols_GCJ=no
   17550       enable_shared_with_static_runtimes_GCJ=yes
   17551       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17552 
   17553       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17554         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17555 	# If the export-symbols file already is a .def file (1st line
   17556 	# is EXPORTS), use it as is; otherwise, prepend...
   17557 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17558 	  cp $export_symbols $output_objdir/$soname.def;
   17559 	else
   17560 	  echo EXPORTS > $output_objdir/$soname.def;
   17561 	  cat $export_symbols >> $output_objdir/$soname.def;
   17562 	fi~
   17563 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17564       else
   17565 	ld_shlibs_GCJ=no
   17566       fi
   17567       ;;
   17568 
   17569     interix[3-9]*)
   17570       hardcode_direct_GCJ=no
   17571       hardcode_shlibpath_var_GCJ=no
   17572       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17573       export_dynamic_flag_spec_GCJ='${wl}-E'
   17574       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17575       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17576       # default) and relocated if they conflict, which is a slow very memory
   17577       # consuming and fragmenting process.  To avoid this, we pick a random,
   17578       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17579       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17580       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'
   17581       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'
   17582       ;;
   17583 
   17584     gnu* | linux* | k*bsd*-gnu)
   17585       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17586 	tmp_addflag=
   17587 	case $cc_basename,$host_cpu in
   17588 	pgcc*)				# Portland Group C compiler
   17589 	  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'
   17590 	  tmp_addflag=' $pic_flag'
   17591 	  ;;
   17592 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17593 	  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'
   17594 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17595 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17596 	  tmp_addflag=' -i_dynamic' ;;
   17597 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17598 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17599 	ifc* | ifort*)			# Intel Fortran compiler
   17600 	  tmp_addflag=' -nofor_main' ;;
   17601 	esac
   17602 	case `$CC -V 2>&1 | sed 5q` in
   17603 	*Sun\ C*)			# Sun C 5.9
   17604 	  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'
   17605 	  tmp_sharedflag='-G' ;;
   17606 	*Sun\ F*)			# Sun Fortran 8.3
   17607 	  tmp_sharedflag='-G' ;;
   17608 	*)
   17609 	  tmp_sharedflag='-shared' ;;
   17610 	esac
   17611 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17612 
   17613 	if test $supports_anon_versioning = yes; then
   17614 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17615   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17616   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17617 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17618 	fi
   17619       else
   17620 	ld_shlibs_GCJ=no
   17621       fi
   17622       ;;
   17623 
   17624     netbsd*)
   17625       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17626 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17627 	wlarc=
   17628       else
   17629 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17630 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17631       fi
   17632       ;;
   17633 
   17634     solaris*)
   17635       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17636 	ld_shlibs_GCJ=no
   17637 	cat <<EOF 1>&2
   17638 
   17639 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17640 *** create shared libraries on Solaris systems.  Therefore, libtool
   17641 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17642 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17643 *** your PATH or compiler configuration so that the native linker is
   17644 *** used, and then restart.
   17645 
   17646 EOF
   17647       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17648 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17649 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17650       else
   17651 	ld_shlibs_GCJ=no
   17652       fi
   17653       ;;
   17654 
   17655     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17656       case `$LD -v 2>&1` in
   17657         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17658 	ld_shlibs_GCJ=no
   17659 	cat <<_LT_EOF 1>&2
   17660 
   17661 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17662 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17663 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17664 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17665 *** your PATH or compiler configuration so that the native linker is
   17666 *** used, and then restart.
   17667 
   17668 _LT_EOF
   17669 	;;
   17670 	*)
   17671 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17672 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17673 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17674 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17675 	  else
   17676 	    ld_shlibs_GCJ=no
   17677 	  fi
   17678 	;;
   17679       esac
   17680       ;;
   17681 
   17682     sunos4*)
   17683       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17684       wlarc=
   17685       hardcode_direct_GCJ=yes
   17686       hardcode_shlibpath_var_GCJ=no
   17687       ;;
   17688 
   17689     *)
   17690       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17691 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17692 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17693       else
   17694 	ld_shlibs_GCJ=no
   17695       fi
   17696       ;;
   17697     esac
   17698 
   17699     if test "$ld_shlibs_GCJ" = no; then
   17700       runpath_var=
   17701       hardcode_libdir_flag_spec_GCJ=
   17702       export_dynamic_flag_spec_GCJ=
   17703       whole_archive_flag_spec_GCJ=
   17704     fi
   17705   else
   17706     # PORTME fill in a description of your system's linker (not GNU ld)
   17707     case $host_os in
   17708     aix3*)
   17709       allow_undefined_flag_GCJ=unsupported
   17710       always_export_symbols_GCJ=yes
   17711       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'
   17712       # Note: this linker hardcodes the directories in LIBPATH if there
   17713       # are no directories specified by -L.
   17714       hardcode_minus_L_GCJ=yes
   17715       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17716 	# Neither direct hardcoding nor static linking is supported with a
   17717 	# broken collect2.
   17718 	hardcode_direct_GCJ=unsupported
   17719       fi
   17720       ;;
   17721 
   17722     aix[4-9]*)
   17723       if test "$host_cpu" = ia64; then
   17724 	# On IA64, the linker does run time linking by default, so we don't
   17725 	# have to do anything special.
   17726 	aix_use_runtimelinking=no
   17727 	exp_sym_flag='-Bexport'
   17728 	no_entry_flag=""
   17729       else
   17730 	# If we're using GNU nm, then we don't want the "-C" option.
   17731 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17732 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17733 	  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'
   17734 	else
   17735 	  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'
   17736 	fi
   17737 	aix_use_runtimelinking=no
   17738 
   17739 	# Test if we are trying to use run time linking or normal
   17740 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17741 	# need to do runtime linking.
   17742 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17743 	  for ld_flag in $LDFLAGS; do
   17744   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17745   	    aix_use_runtimelinking=yes
   17746   	    break
   17747   	  fi
   17748 	  done
   17749 	  ;;
   17750 	esac
   17751 
   17752 	exp_sym_flag='-bexport'
   17753 	no_entry_flag='-bnoentry'
   17754       fi
   17755 
   17756       # When large executables or shared objects are built, AIX ld can
   17757       # have problems creating the table of contents.  If linking a library
   17758       # or program results in "error TOC overflow" add -mminimal-toc to
   17759       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17760       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17761 
   17762       archive_cmds_GCJ=''
   17763       hardcode_direct_GCJ=yes
   17764       hardcode_libdir_separator_GCJ=':'
   17765       link_all_deplibs_GCJ=yes
   17766 
   17767       if test "$GCC" = yes; then
   17768 	case $host_os in aix4.[012]|aix4.[012].*)
   17769 	# We only want to do this on AIX 4.2 and lower, the check
   17770 	# below for broken collect2 doesn't work under 4.3+
   17771 	  collect2name=`${CC} -print-prog-name=collect2`
   17772 	  if test -f "$collect2name" && \
   17773   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17774 	  then
   17775   	  # We have reworked collect2
   17776   	  :
   17777 	  else
   17778   	  # We have old collect2
   17779   	  hardcode_direct_GCJ=unsupported
   17780   	  # It fails to find uninstalled libraries when the uninstalled
   17781   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17782   	  # to unsupported forces relinking
   17783   	  hardcode_minus_L_GCJ=yes
   17784   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17785   	  hardcode_libdir_separator_GCJ=
   17786 	  fi
   17787 	  ;;
   17788 	esac
   17789 	shared_flag='-shared'
   17790 	if test "$aix_use_runtimelinking" = yes; then
   17791 	  shared_flag="$shared_flag "'${wl}-G'
   17792 	fi
   17793       else
   17794 	# not using gcc
   17795 	if test "$host_cpu" = ia64; then
   17796   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17797   	# chokes on -Wl,-G. The following line is correct:
   17798 	  shared_flag='-G'
   17799 	else
   17800 	  if test "$aix_use_runtimelinking" = yes; then
   17801 	    shared_flag='${wl}-G'
   17802 	  else
   17803 	    shared_flag='${wl}-bM:SRE'
   17804 	  fi
   17805 	fi
   17806       fi
   17807 
   17808       # It seems that -bexpall does not export symbols beginning with
   17809       # underscore (_), so it is better to generate a list of symbols to export.
   17810       always_export_symbols_GCJ=yes
   17811       if test "$aix_use_runtimelinking" = yes; then
   17812 	# Warning - without using the other runtime loading flags (-brtl),
   17813 	# -berok will link without error, but may produce a broken library.
   17814 	allow_undefined_flag_GCJ='-berok'
   17815        # Determine the default libpath from the value encoded in an empty executable.
   17816        cat >conftest.$ac_ext <<_ACEOF
   17817 /* confdefs.h.  */
   17818 _ACEOF
   17819 cat confdefs.h >>conftest.$ac_ext
   17820 cat >>conftest.$ac_ext <<_ACEOF
   17821 /* end confdefs.h.  */
   17822 
   17823 int
   17824 main ()
   17825 {
   17826 
   17827   ;
   17828   return 0;
   17829 }
   17830 _ACEOF
   17831 rm -f conftest.$ac_objext conftest$ac_exeext
   17832 if { (ac_try="$ac_link"
   17833 case "(($ac_try" in
   17834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17835   *) ac_try_echo=$ac_try;;
   17836 esac
   17837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17838 $as_echo "$ac_try_echo") >&5
   17839   (eval "$ac_link") 2>conftest.er1
   17840   ac_status=$?
   17841   grep -v '^ *+' conftest.er1 >conftest.err
   17842   rm -f conftest.er1
   17843   cat conftest.err >&5
   17844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17845   (exit $ac_status); } && {
   17846 	 test -z "$ac_c_werror_flag" ||
   17847 	 test ! -s conftest.err
   17848        } && test -s conftest$ac_exeext && {
   17849 	 test "$cross_compiling" = yes ||
   17850 	 $as_test_x conftest$ac_exeext
   17851        }; then
   17852 
   17853 lt_aix_libpath_sed='
   17854     /Import File Strings/,/^$/ {
   17855 	/^0/ {
   17856 	    s/^0  *\(.*\)$/\1/
   17857 	    p
   17858 	}
   17859     }'
   17860 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17861 # Check for a 64-bit object if we didn't find anything.
   17862 if test -z "$aix_libpath"; then
   17863   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17864 fi
   17865 else
   17866   $as_echo "$as_me: failed program was:" >&5
   17867 sed 's/^/| /' conftest.$ac_ext >&5
   17868 
   17869 
   17870 fi
   17871 
   17872 rm -rf conftest.dSYM
   17873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17874       conftest$ac_exeext conftest.$ac_ext
   17875 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17876 
   17877        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17878 	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"
   17879        else
   17880 	if test "$host_cpu" = ia64; then
   17881 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17882 	  allow_undefined_flag_GCJ="-z nodefs"
   17883 	  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"
   17884 	else
   17885 	 # Determine the default libpath from the value encoded in an empty executable.
   17886 	 cat >conftest.$ac_ext <<_ACEOF
   17887 /* confdefs.h.  */
   17888 _ACEOF
   17889 cat confdefs.h >>conftest.$ac_ext
   17890 cat >>conftest.$ac_ext <<_ACEOF
   17891 /* end confdefs.h.  */
   17892 
   17893 int
   17894 main ()
   17895 {
   17896 
   17897   ;
   17898   return 0;
   17899 }
   17900 _ACEOF
   17901 rm -f conftest.$ac_objext conftest$ac_exeext
   17902 if { (ac_try="$ac_link"
   17903 case "(($ac_try" in
   17904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17905   *) ac_try_echo=$ac_try;;
   17906 esac
   17907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17908 $as_echo "$ac_try_echo") >&5
   17909   (eval "$ac_link") 2>conftest.er1
   17910   ac_status=$?
   17911   grep -v '^ *+' conftest.er1 >conftest.err
   17912   rm -f conftest.er1
   17913   cat conftest.err >&5
   17914   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17915   (exit $ac_status); } && {
   17916 	 test -z "$ac_c_werror_flag" ||
   17917 	 test ! -s conftest.err
   17918        } && test -s conftest$ac_exeext && {
   17919 	 test "$cross_compiling" = yes ||
   17920 	 $as_test_x conftest$ac_exeext
   17921        }; then
   17922 
   17923 lt_aix_libpath_sed='
   17924     /Import File Strings/,/^$/ {
   17925 	/^0/ {
   17926 	    s/^0  *\(.*\)$/\1/
   17927 	    p
   17928 	}
   17929     }'
   17930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17931 # Check for a 64-bit object if we didn't find anything.
   17932 if test -z "$aix_libpath"; then
   17933   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17934 fi
   17935 else
   17936   $as_echo "$as_me: failed program was:" >&5
   17937 sed 's/^/| /' conftest.$ac_ext >&5
   17938 
   17939 
   17940 fi
   17941 
   17942 rm -rf conftest.dSYM
   17943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17944       conftest$ac_exeext conftest.$ac_ext
   17945 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17946 
   17947 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17948 	  # Warning - without using the other run time loading flags,
   17949 	  # -berok will link without error, but may produce a broken library.
   17950 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17951 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17952 	  # Exported symbols can be pulled into shared objects from archives
   17953 	  whole_archive_flag_spec_GCJ='$convenience'
   17954 	  archive_cmds_need_lc_GCJ=yes
   17955 	  # This is similar to how AIX traditionally builds its shared libraries.
   17956 	  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'
   17957 	fi
   17958       fi
   17959       ;;
   17960 
   17961     amigaos*)
   17962       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)'
   17963       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17964       hardcode_minus_L_GCJ=yes
   17965       # see comment about different semantics on the GNU ld section
   17966       ld_shlibs_GCJ=no
   17967       ;;
   17968 
   17969     bsdi[45]*)
   17970       export_dynamic_flag_spec_GCJ=-rdynamic
   17971       ;;
   17972 
   17973     cygwin* | mingw* | pw32*)
   17974       # When not using gcc, we currently assume that we are using
   17975       # Microsoft Visual C++.
   17976       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17977       # no search path for DLLs.
   17978       hardcode_libdir_flag_spec_GCJ=' '
   17979       allow_undefined_flag_GCJ=unsupported
   17980       # Tell ltmain to make .lib files, not .a files.
   17981       libext=lib
   17982       # Tell ltmain to make .dll files, not .so files.
   17983       shrext_cmds=".dll"
   17984       # FIXME: Setting linknames here is a bad hack.
   17985       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17986       # The linker will automatically build a .lib file if we build a DLL.
   17987       old_archive_From_new_cmds_GCJ='true'
   17988       # FIXME: Should let the user specify the lib program.
   17989       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17990       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17991       enable_shared_with_static_runtimes_GCJ=yes
   17992       ;;
   17993 
   17994     darwin* | rhapsody*)
   17995       case $host_os in
   17996         rhapsody* | darwin1.[012])
   17997          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17998          ;;
   17999        *) # Darwin 1.3 on
   18000          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18001            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18002          else
   18003            case ${MACOSX_DEPLOYMENT_TARGET} in
   18004              10.[012])
   18005                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18006                ;;
   18007              10.*)
   18008                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18009                ;;
   18010            esac
   18011          fi
   18012          ;;
   18013       esac
   18014       archive_cmds_need_lc_GCJ=no
   18015       hardcode_direct_GCJ=no
   18016       hardcode_automatic_GCJ=yes
   18017       hardcode_shlibpath_var_GCJ=unsupported
   18018       whole_archive_flag_spec_GCJ=''
   18019       link_all_deplibs_GCJ=yes
   18020     if test "$GCC" = yes ; then
   18021     	output_verbose_link_cmd='echo'
   18022         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}"
   18023         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18024         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}"
   18025         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}"
   18026     else
   18027       case $cc_basename in
   18028         xlc*)
   18029          output_verbose_link_cmd='echo'
   18030          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18031          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18032           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18033          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}'
   18034           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}'
   18035           ;;
   18036        *)
   18037          ld_shlibs_GCJ=no
   18038           ;;
   18039       esac
   18040     fi
   18041       ;;
   18042 
   18043     dgux*)
   18044       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18045       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18046       hardcode_shlibpath_var_GCJ=no
   18047       ;;
   18048 
   18049     freebsd1*)
   18050       ld_shlibs_GCJ=no
   18051       ;;
   18052 
   18053     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18054     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18055     # does not break anything, and helps significantly (at the cost of a little
   18056     # extra space).
   18057     freebsd2.2*)
   18058       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18059       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18060       hardcode_direct_GCJ=yes
   18061       hardcode_shlibpath_var_GCJ=no
   18062       ;;
   18063 
   18064     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18065     freebsd2*)
   18066       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18067       hardcode_direct_GCJ=yes
   18068       hardcode_minus_L_GCJ=yes
   18069       hardcode_shlibpath_var_GCJ=no
   18070       ;;
   18071 
   18072     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18073     freebsd* | dragonfly*)
   18074       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18075       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18076       hardcode_direct_GCJ=yes
   18077       hardcode_shlibpath_var_GCJ=no
   18078       ;;
   18079 
   18080     hpux9*)
   18081       if test "$GCC" = yes; then
   18082 	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'
   18083       else
   18084 	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'
   18085       fi
   18086       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18087       hardcode_libdir_separator_GCJ=:
   18088       hardcode_direct_GCJ=yes
   18089 
   18090       # hardcode_minus_L: Not really in the search PATH,
   18091       # but as the default location of the library.
   18092       hardcode_minus_L_GCJ=yes
   18093       export_dynamic_flag_spec_GCJ='${wl}-E'
   18094       ;;
   18095 
   18096     hpux10*)
   18097       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18098 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18099       else
   18100 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18101       fi
   18102       if test "$with_gnu_ld" = no; then
   18103 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18104 	hardcode_libdir_separator_GCJ=:
   18105 
   18106 	hardcode_direct_GCJ=yes
   18107 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18108 
   18109 	# hardcode_minus_L: Not really in the search PATH,
   18110 	# but as the default location of the library.
   18111 	hardcode_minus_L_GCJ=yes
   18112       fi
   18113       ;;
   18114 
   18115     hpux11*)
   18116       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18117 	case $host_cpu in
   18118 	hppa*64*)
   18119 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18120 	  ;;
   18121 	ia64*)
   18122 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18123 	  ;;
   18124 	*)
   18125 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18126 	  ;;
   18127 	esac
   18128       else
   18129 	case $host_cpu in
   18130 	hppa*64*)
   18131 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18132 	  ;;
   18133 	ia64*)
   18134 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18135 	  ;;
   18136 	*)
   18137 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18138 	  ;;
   18139 	esac
   18140       fi
   18141       if test "$with_gnu_ld" = no; then
   18142 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18143 	hardcode_libdir_separator_GCJ=:
   18144 
   18145 	case $host_cpu in
   18146 	hppa*64*|ia64*)
   18147 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18148 	  hardcode_direct_GCJ=no
   18149 	  hardcode_shlibpath_var_GCJ=no
   18150 	  ;;
   18151 	*)
   18152 	  hardcode_direct_GCJ=yes
   18153 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18154 
   18155 	  # hardcode_minus_L: Not really in the search PATH,
   18156 	  # but as the default location of the library.
   18157 	  hardcode_minus_L_GCJ=yes
   18158 	  ;;
   18159 	esac
   18160       fi
   18161       ;;
   18162 
   18163     irix5* | irix6* | nonstopux*)
   18164       if test "$GCC" = yes; then
   18165 	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'
   18166       else
   18167 	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'
   18168 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18169       fi
   18170       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18171       hardcode_libdir_separator_GCJ=:
   18172       link_all_deplibs_GCJ=yes
   18173       ;;
   18174 
   18175     netbsd*)
   18176       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18177 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18178       else
   18179 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18180       fi
   18181       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18182       hardcode_direct_GCJ=yes
   18183       hardcode_shlibpath_var_GCJ=no
   18184       ;;
   18185 
   18186     newsos6)
   18187       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18188       hardcode_direct_GCJ=yes
   18189       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18190       hardcode_libdir_separator_GCJ=:
   18191       hardcode_shlibpath_var_GCJ=no
   18192       ;;
   18193 
   18194     openbsd*)
   18195       if test -f /usr/libexec/ld.so; then
   18196 	hardcode_direct_GCJ=yes
   18197 	hardcode_shlibpath_var_GCJ=no
   18198 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18199 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18200 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18201 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18202 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18203 	else
   18204 	  case $host_os in
   18205 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18206 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18207 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18208 	     ;;
   18209 	   *)
   18210 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18211 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18212 	     ;;
   18213 	  esac
   18214         fi
   18215       else
   18216 	ld_shlibs_GCJ=no
   18217       fi
   18218       ;;
   18219 
   18220     os2*)
   18221       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18222       hardcode_minus_L_GCJ=yes
   18223       allow_undefined_flag_GCJ=unsupported
   18224       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'
   18225       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18226       ;;
   18227 
   18228     osf3*)
   18229       if test "$GCC" = yes; then
   18230 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18231 	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'
   18232       else
   18233 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18234 	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'
   18235       fi
   18236       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18237       hardcode_libdir_separator_GCJ=:
   18238       ;;
   18239 
   18240     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18241       if test "$GCC" = yes; then
   18242 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18243 	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'
   18244 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18245       else
   18246 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18247 	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'
   18248 	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~
   18249 	$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'
   18250 
   18251 	# Both c and cxx compiler support -rpath directly
   18252 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18253       fi
   18254       hardcode_libdir_separator_GCJ=:
   18255       ;;
   18256 
   18257     solaris*)
   18258       no_undefined_flag_GCJ=' -z text'
   18259       if test "$GCC" = yes; then
   18260 	wlarc='${wl}'
   18261 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18262 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18263 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18264       else
   18265 	wlarc=''
   18266 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18267 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18268   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18269       fi
   18270       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18271       hardcode_shlibpath_var_GCJ=no
   18272       case $host_os in
   18273       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18274       *)
   18275 	# The compiler driver will combine and reorder linker options,
   18276 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18277 	# but is careful enough not to reorder.
   18278  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18279 	if test "$GCC" = yes; then
   18280 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18281 	else
   18282 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18283 	fi
   18284 	;;
   18285       esac
   18286       link_all_deplibs_GCJ=yes
   18287       ;;
   18288 
   18289     sunos4*)
   18290       if test "x$host_vendor" = xsequent; then
   18291 	# Use $CC to link under sequent, because it throws in some extra .o
   18292 	# files that make .init and .fini sections work.
   18293 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18294       else
   18295 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18296       fi
   18297       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18298       hardcode_direct_GCJ=yes
   18299       hardcode_minus_L_GCJ=yes
   18300       hardcode_shlibpath_var_GCJ=no
   18301       ;;
   18302 
   18303     sysv4)
   18304       case $host_vendor in
   18305 	sni)
   18306 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18307 	  hardcode_direct_GCJ=yes # is this really true???
   18308 	;;
   18309 	siemens)
   18310 	  ## LD is ld it makes a PLAMLIB
   18311 	  ## CC just makes a GrossModule.
   18312 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18313 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18314 	  hardcode_direct_GCJ=no
   18315         ;;
   18316 	motorola)
   18317 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18318 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18319 	;;
   18320       esac
   18321       runpath_var='LD_RUN_PATH'
   18322       hardcode_shlibpath_var_GCJ=no
   18323       ;;
   18324 
   18325     sysv4.3*)
   18326       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18327       hardcode_shlibpath_var_GCJ=no
   18328       export_dynamic_flag_spec_GCJ='-Bexport'
   18329       ;;
   18330 
   18331     sysv4*MP*)
   18332       if test -d /usr/nec; then
   18333 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18334 	hardcode_shlibpath_var_GCJ=no
   18335 	runpath_var=LD_RUN_PATH
   18336 	hardcode_runpath_var=yes
   18337 	ld_shlibs_GCJ=yes
   18338       fi
   18339       ;;
   18340 
   18341     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18342       no_undefined_flag_GCJ='${wl}-z,text'
   18343       archive_cmds_need_lc_GCJ=no
   18344       hardcode_shlibpath_var_GCJ=no
   18345       runpath_var='LD_RUN_PATH'
   18346 
   18347       if test "$GCC" = yes; then
   18348 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18349 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18350       else
   18351 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18352 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18353       fi
   18354       ;;
   18355 
   18356     sysv5* | sco3.2v5* | sco5v6*)
   18357       # Note: We can NOT use -z defs as we might desire, because we do not
   18358       # link with -lc, and that would cause any symbols used from libc to
   18359       # always be unresolved, which means just about no library would
   18360       # ever link correctly.  If we're not using GNU ld we use -z text
   18361       # though, which does catch some bad symbols but isn't as heavy-handed
   18362       # as -z defs.
   18363       no_undefined_flag_GCJ='${wl}-z,text'
   18364       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18365       archive_cmds_need_lc_GCJ=no
   18366       hardcode_shlibpath_var_GCJ=no
   18367       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18368       hardcode_libdir_separator_GCJ=':'
   18369       link_all_deplibs_GCJ=yes
   18370       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18371       runpath_var='LD_RUN_PATH'
   18372 
   18373       if test "$GCC" = yes; then
   18374 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18375 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18376       else
   18377 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18378 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18379       fi
   18380       ;;
   18381 
   18382     uts4*)
   18383       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18384       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18385       hardcode_shlibpath_var_GCJ=no
   18386       ;;
   18387 
   18388     *)
   18389       ld_shlibs_GCJ=no
   18390       ;;
   18391     esac
   18392   fi
   18393 
   18394 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18395 $as_echo "$ld_shlibs_GCJ" >&6; }
   18396 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18397 
   18398 #
   18399 # Do we need to explicitly link libc?
   18400 #
   18401 case "x$archive_cmds_need_lc_GCJ" in
   18402 x|xyes)
   18403   # Assume -lc should be added
   18404   archive_cmds_need_lc_GCJ=yes
   18405 
   18406   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18407     case $archive_cmds_GCJ in
   18408     *'~'*)
   18409       # FIXME: we may have to deal with multi-command sequences.
   18410       ;;
   18411     '$CC '*)
   18412       # Test whether the compiler implicitly links with -lc since on some
   18413       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18414       # to ld, don't add -lc before -lgcc.
   18415       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18416 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18417       $rm conftest*
   18418       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18419 
   18420       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18421   (eval $ac_compile) 2>&5
   18422   ac_status=$?
   18423   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18424   (exit $ac_status); } 2>conftest.err; then
   18425         soname=conftest
   18426         lib=conftest
   18427         libobjs=conftest.$ac_objext
   18428         deplibs=
   18429         wl=$lt_prog_compiler_wl_GCJ
   18430 	pic_flag=$lt_prog_compiler_pic_GCJ
   18431         compiler_flags=-v
   18432         linker_flags=-v
   18433         verstring=
   18434         output_objdir=.
   18435         libname=conftest
   18436         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18437         allow_undefined_flag_GCJ=
   18438         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18439   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18440   ac_status=$?
   18441   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18442   (exit $ac_status); }
   18443         then
   18444 	  archive_cmds_need_lc_GCJ=no
   18445         else
   18446 	  archive_cmds_need_lc_GCJ=yes
   18447         fi
   18448         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18449       else
   18450         cat conftest.err 1>&5
   18451       fi
   18452       $rm conftest*
   18453       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18454 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18455       ;;
   18456     esac
   18457   fi
   18458   ;;
   18459 esac
   18460 
   18461 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18462 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18463 library_names_spec=
   18464 libname_spec='lib$name'
   18465 soname_spec=
   18466 shrext_cmds=".so"
   18467 postinstall_cmds=
   18468 postuninstall_cmds=
   18469 finish_cmds=
   18470 finish_eval=
   18471 shlibpath_var=
   18472 shlibpath_overrides_runpath=unknown
   18473 version_type=none
   18474 dynamic_linker="$host_os ld.so"
   18475 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18476 
   18477 need_lib_prefix=unknown
   18478 hardcode_into_libs=no
   18479 
   18480 # when you set need_version to no, make sure it does not cause -set_version
   18481 # flags to be left without arguments
   18482 need_version=unknown
   18483 
   18484 case $host_os in
   18485 aix3*)
   18486   version_type=linux
   18487   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18488   shlibpath_var=LIBPATH
   18489 
   18490   # AIX 3 has no versioning support, so we append a major version to the name.
   18491   soname_spec='${libname}${release}${shared_ext}$major'
   18492   ;;
   18493 
   18494 aix[4-9]*)
   18495   version_type=linux
   18496   need_lib_prefix=no
   18497   need_version=no
   18498   hardcode_into_libs=yes
   18499   if test "$host_cpu" = ia64; then
   18500     # AIX 5 supports IA64
   18501     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18502     shlibpath_var=LD_LIBRARY_PATH
   18503   else
   18504     # With GCC up to 2.95.x, collect2 would create an import file
   18505     # for dependence libraries.  The import file would start with
   18506     # the line `#! .'.  This would cause the generated library to
   18507     # depend on `.', always an invalid library.  This was fixed in
   18508     # development snapshots of GCC prior to 3.0.
   18509     case $host_os in
   18510       aix4 | aix4.[01] | aix4.[01].*)
   18511       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18512 	   echo ' yes '
   18513 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18514 	:
   18515       else
   18516 	can_build_shared=no
   18517       fi
   18518       ;;
   18519     esac
   18520     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18521     # soname into executable. Probably we can add versioning support to
   18522     # collect2, so additional links can be useful in future.
   18523     if test "$aix_use_runtimelinking" = yes; then
   18524       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18525       # instead of lib<name>.a to let people know that these are not
   18526       # typical AIX shared libraries.
   18527       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18528     else
   18529       # We preserve .a as extension for shared libraries through AIX4.2
   18530       # and later when we are not doing run time linking.
   18531       library_names_spec='${libname}${release}.a $libname.a'
   18532       soname_spec='${libname}${release}${shared_ext}$major'
   18533     fi
   18534     shlibpath_var=LIBPATH
   18535   fi
   18536   ;;
   18537 
   18538 amigaos*)
   18539   library_names_spec='$libname.ixlibrary $libname.a'
   18540   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18541   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'
   18542   ;;
   18543 
   18544 beos*)
   18545   library_names_spec='${libname}${shared_ext}'
   18546   dynamic_linker="$host_os ld.so"
   18547   shlibpath_var=LIBRARY_PATH
   18548   ;;
   18549 
   18550 bsdi[45]*)
   18551   version_type=linux
   18552   need_version=no
   18553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18554   soname_spec='${libname}${release}${shared_ext}$major'
   18555   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18556   shlibpath_var=LD_LIBRARY_PATH
   18557   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18558   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18559   # the default ld.so.conf also contains /usr/contrib/lib and
   18560   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18561   # libtool to hard-code these into programs
   18562   ;;
   18563 
   18564 cygwin* | mingw* | pw32*)
   18565   version_type=windows
   18566   shrext_cmds=".dll"
   18567   need_version=no
   18568   need_lib_prefix=no
   18569 
   18570   case $GCC,$host_os in
   18571   yes,cygwin* | yes,mingw* | yes,pw32*)
   18572     library_names_spec='$libname.dll.a'
   18573     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18574     postinstall_cmds='base_file=`basename \${file}`~
   18575       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18576       dldir=$destdir/`dirname \$dlpath`~
   18577       test -d \$dldir || mkdir -p \$dldir~
   18578       $install_prog $dir/$dlname \$dldir/$dlname~
   18579       chmod a+x \$dldir/$dlname'
   18580     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18581       dlpath=$dir/\$dldll~
   18582        $rm \$dlpath'
   18583     shlibpath_overrides_runpath=yes
   18584 
   18585     case $host_os in
   18586     cygwin*)
   18587       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18588       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18589       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18590       ;;
   18591     mingw*)
   18592       # MinGW DLLs use traditional 'lib' prefix
   18593       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18594       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18595       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18596         # It is most probably a Windows format PATH printed by
   18597         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18598         # path with ; separators, and with drive letters. We can handle the
   18599         # drive letters (cygwin fileutils understands them), so leave them,
   18600         # especially as we might pass files found there to a mingw objdump,
   18601         # which wouldn't understand a cygwinified path. Ahh.
   18602         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18603       else
   18604         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18605       fi
   18606       ;;
   18607     pw32*)
   18608       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18609       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18610       ;;
   18611     esac
   18612     ;;
   18613 
   18614   *)
   18615     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18616     ;;
   18617   esac
   18618   dynamic_linker='Win32 ld.exe'
   18619   # FIXME: first we should search . and the directory the executable is in
   18620   shlibpath_var=PATH
   18621   ;;
   18622 
   18623 darwin* | rhapsody*)
   18624   dynamic_linker="$host_os dyld"
   18625   version_type=darwin
   18626   need_lib_prefix=no
   18627   need_version=no
   18628   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18629   soname_spec='${libname}${release}${major}$shared_ext'
   18630   shlibpath_overrides_runpath=yes
   18631   shlibpath_var=DYLD_LIBRARY_PATH
   18632   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18633 
   18634   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18635   ;;
   18636 
   18637 dgux*)
   18638   version_type=linux
   18639   need_lib_prefix=no
   18640   need_version=no
   18641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18642   soname_spec='${libname}${release}${shared_ext}$major'
   18643   shlibpath_var=LD_LIBRARY_PATH
   18644   ;;
   18645 
   18646 freebsd1*)
   18647   dynamic_linker=no
   18648   ;;
   18649 
   18650 freebsd* | dragonfly*)
   18651   # DragonFly does not have aout.  When/if they implement a new
   18652   # versioning mechanism, adjust this.
   18653   if test -x /usr/bin/objformat; then
   18654     objformat=`/usr/bin/objformat`
   18655   else
   18656     case $host_os in
   18657     freebsd[123]*) objformat=aout ;;
   18658     *) objformat=elf ;;
   18659     esac
   18660   fi
   18661   version_type=freebsd-$objformat
   18662   case $version_type in
   18663     freebsd-elf*)
   18664       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18665       need_version=no
   18666       need_lib_prefix=no
   18667       ;;
   18668     freebsd-*)
   18669       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18670       need_version=yes
   18671       ;;
   18672   esac
   18673   shlibpath_var=LD_LIBRARY_PATH
   18674   case $host_os in
   18675   freebsd2*)
   18676     shlibpath_overrides_runpath=yes
   18677     ;;
   18678   freebsd3.[01]* | freebsdelf3.[01]*)
   18679     shlibpath_overrides_runpath=yes
   18680     hardcode_into_libs=yes
   18681     ;;
   18682   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18683   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18684     shlibpath_overrides_runpath=no
   18685     hardcode_into_libs=yes
   18686     ;;
   18687   *) # from 4.6 on, and DragonFly
   18688     shlibpath_overrides_runpath=yes
   18689     hardcode_into_libs=yes
   18690     ;;
   18691   esac
   18692   ;;
   18693 
   18694 gnu*)
   18695   version_type=linux
   18696   need_lib_prefix=no
   18697   need_version=no
   18698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18699   soname_spec='${libname}${release}${shared_ext}$major'
   18700   shlibpath_var=LD_LIBRARY_PATH
   18701   hardcode_into_libs=yes
   18702   ;;
   18703 
   18704 hpux9* | hpux10* | hpux11*)
   18705   # Give a soname corresponding to the major version so that dld.sl refuses to
   18706   # link against other versions.
   18707   version_type=sunos
   18708   need_lib_prefix=no
   18709   need_version=no
   18710   case $host_cpu in
   18711   ia64*)
   18712     shrext_cmds='.so'
   18713     hardcode_into_libs=yes
   18714     dynamic_linker="$host_os dld.so"
   18715     shlibpath_var=LD_LIBRARY_PATH
   18716     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18717     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18718     soname_spec='${libname}${release}${shared_ext}$major'
   18719     if test "X$HPUX_IA64_MODE" = X32; then
   18720       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18721     else
   18722       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18723     fi
   18724     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18725     ;;
   18726    hppa*64*)
   18727      shrext_cmds='.sl'
   18728      hardcode_into_libs=yes
   18729      dynamic_linker="$host_os dld.sl"
   18730      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18731      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18732      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18733      soname_spec='${libname}${release}${shared_ext}$major'
   18734      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18735      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18736      ;;
   18737    *)
   18738     shrext_cmds='.sl'
   18739     dynamic_linker="$host_os dld.sl"
   18740     shlibpath_var=SHLIB_PATH
   18741     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18743     soname_spec='${libname}${release}${shared_ext}$major'
   18744     ;;
   18745   esac
   18746   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18747   postinstall_cmds='chmod 555 $lib'
   18748   ;;
   18749 
   18750 interix[3-9]*)
   18751   version_type=linux
   18752   need_lib_prefix=no
   18753   need_version=no
   18754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18755   soname_spec='${libname}${release}${shared_ext}$major'
   18756   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18757   shlibpath_var=LD_LIBRARY_PATH
   18758   shlibpath_overrides_runpath=no
   18759   hardcode_into_libs=yes
   18760   ;;
   18761 
   18762 irix5* | irix6* | nonstopux*)
   18763   case $host_os in
   18764     nonstopux*) version_type=nonstopux ;;
   18765     *)
   18766 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18767 		version_type=linux
   18768 	else
   18769 		version_type=irix
   18770 	fi ;;
   18771   esac
   18772   need_lib_prefix=no
   18773   need_version=no
   18774   soname_spec='${libname}${release}${shared_ext}$major'
   18775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18776   case $host_os in
   18777   irix5* | nonstopux*)
   18778     libsuff= shlibsuff=
   18779     ;;
   18780   *)
   18781     case $LD in # libtool.m4 will add one of these switches to LD
   18782     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18783       libsuff= shlibsuff= libmagic=32-bit;;
   18784     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18785       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18786     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18787       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18788     *) libsuff= shlibsuff= libmagic=never-match;;
   18789     esac
   18790     ;;
   18791   esac
   18792   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18793   shlibpath_overrides_runpath=no
   18794   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18795   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18796   hardcode_into_libs=yes
   18797   ;;
   18798 
   18799 # No shared lib support for Linux oldld, aout, or coff.
   18800 linux*oldld* | linux*aout* | linux*coff*)
   18801   dynamic_linker=no
   18802   ;;
   18803 
   18804 # This must be Linux ELF.
   18805 linux* | k*bsd*-gnu)
   18806   version_type=linux
   18807   need_lib_prefix=no
   18808   need_version=no
   18809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18810   soname_spec='${libname}${release}${shared_ext}$major'
   18811   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18812   shlibpath_var=LD_LIBRARY_PATH
   18813   shlibpath_overrides_runpath=no
   18814   # This implies no fast_install, which is unacceptable.
   18815   # Some rework will be needed to allow for fast_install
   18816   # before this can be enabled.
   18817   hardcode_into_libs=yes
   18818   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18819   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18820 
   18821   # Append ld.so.conf contents to the search path
   18822   if test -f /etc/ld.so.conf; then
   18823     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' ' '`
   18824     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18825   fi
   18826 
   18827   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18828   # powerpc, because MkLinux only supported shared libraries with the
   18829   # GNU dynamic linker.  Since this was broken with cross compilers,
   18830   # most powerpc-linux boxes support dynamic linking these days and
   18831   # people can always --disable-shared, the test was removed, and we
   18832   # assume the GNU/Linux dynamic linker is in use.
   18833   dynamic_linker='GNU/Linux ld.so'
   18834   ;;
   18835 
   18836 netbsd*)
   18837   version_type=sunos
   18838   need_lib_prefix=no
   18839   need_version=no
   18840   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18841     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18842     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18843     dynamic_linker='NetBSD (a.out) ld.so'
   18844   else
   18845     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18846     soname_spec='${libname}${release}${shared_ext}$major'
   18847     dynamic_linker='NetBSD ld.elf_so'
   18848   fi
   18849   shlibpath_var=LD_LIBRARY_PATH
   18850   shlibpath_overrides_runpath=yes
   18851   hardcode_into_libs=yes
   18852   ;;
   18853 
   18854 newsos6)
   18855   version_type=linux
   18856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18857   shlibpath_var=LD_LIBRARY_PATH
   18858   shlibpath_overrides_runpath=yes
   18859   ;;
   18860 
   18861 nto-qnx*)
   18862   version_type=linux
   18863   need_lib_prefix=no
   18864   need_version=no
   18865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18866   soname_spec='${libname}${release}${shared_ext}$major'
   18867   shlibpath_var=LD_LIBRARY_PATH
   18868   shlibpath_overrides_runpath=yes
   18869   ;;
   18870 
   18871 openbsd*)
   18872   version_type=sunos
   18873   sys_lib_dlsearch_path_spec="/usr/lib"
   18874   need_lib_prefix=no
   18875   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18876   case $host_os in
   18877     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18878     *)                         need_version=no  ;;
   18879   esac
   18880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18881   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18882   shlibpath_var=LD_LIBRARY_PATH
   18883   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18884     case $host_os in
   18885       openbsd2.[89] | openbsd2.[89].*)
   18886 	shlibpath_overrides_runpath=no
   18887 	;;
   18888       *)
   18889 	shlibpath_overrides_runpath=yes
   18890 	;;
   18891       esac
   18892   else
   18893     shlibpath_overrides_runpath=yes
   18894   fi
   18895   ;;
   18896 
   18897 os2*)
   18898   libname_spec='$name'
   18899   shrext_cmds=".dll"
   18900   need_lib_prefix=no
   18901   library_names_spec='$libname${shared_ext} $libname.a'
   18902   dynamic_linker='OS/2 ld.exe'
   18903   shlibpath_var=LIBPATH
   18904   ;;
   18905 
   18906 osf3* | osf4* | osf5*)
   18907   version_type=osf
   18908   need_lib_prefix=no
   18909   need_version=no
   18910   soname_spec='${libname}${release}${shared_ext}$major'
   18911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18912   shlibpath_var=LD_LIBRARY_PATH
   18913   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18914   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18915   ;;
   18916 
   18917 rdos*)
   18918   dynamic_linker=no
   18919   ;;
   18920 
   18921 solaris*)
   18922   version_type=linux
   18923   need_lib_prefix=no
   18924   need_version=no
   18925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18926   soname_spec='${libname}${release}${shared_ext}$major'
   18927   shlibpath_var=LD_LIBRARY_PATH
   18928   shlibpath_overrides_runpath=yes
   18929   hardcode_into_libs=yes
   18930   # ldd complains unless libraries are executable
   18931   postinstall_cmds='chmod +x $lib'
   18932   ;;
   18933 
   18934 sunos4*)
   18935   version_type=sunos
   18936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18937   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18938   shlibpath_var=LD_LIBRARY_PATH
   18939   shlibpath_overrides_runpath=yes
   18940   if test "$with_gnu_ld" = yes; then
   18941     need_lib_prefix=no
   18942   fi
   18943   need_version=yes
   18944   ;;
   18945 
   18946 sysv4 | sysv4.3*)
   18947   version_type=linux
   18948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18949   soname_spec='${libname}${release}${shared_ext}$major'
   18950   shlibpath_var=LD_LIBRARY_PATH
   18951   case $host_vendor in
   18952     sni)
   18953       shlibpath_overrides_runpath=no
   18954       need_lib_prefix=no
   18955       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18956       runpath_var=LD_RUN_PATH
   18957       ;;
   18958     siemens)
   18959       need_lib_prefix=no
   18960       ;;
   18961     motorola)
   18962       need_lib_prefix=no
   18963       need_version=no
   18964       shlibpath_overrides_runpath=no
   18965       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18966       ;;
   18967   esac
   18968   ;;
   18969 
   18970 sysv4*MP*)
   18971   if test -d /usr/nec ;then
   18972     version_type=linux
   18973     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18974     soname_spec='$libname${shared_ext}.$major'
   18975     shlibpath_var=LD_LIBRARY_PATH
   18976   fi
   18977   ;;
   18978 
   18979 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18980   version_type=freebsd-elf
   18981   need_lib_prefix=no
   18982   need_version=no
   18983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18984   soname_spec='${libname}${release}${shared_ext}$major'
   18985   shlibpath_var=LD_LIBRARY_PATH
   18986   hardcode_into_libs=yes
   18987   if test "$with_gnu_ld" = yes; then
   18988     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18989     shlibpath_overrides_runpath=no
   18990   else
   18991     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18992     shlibpath_overrides_runpath=yes
   18993     case $host_os in
   18994       sco3.2v5*)
   18995         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18996 	;;
   18997     esac
   18998   fi
   18999   sys_lib_dlsearch_path_spec='/usr/lib'
   19000   ;;
   19001 
   19002 uts4*)
   19003   version_type=linux
   19004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19005   soname_spec='${libname}${release}${shared_ext}$major'
   19006   shlibpath_var=LD_LIBRARY_PATH
   19007   ;;
   19008 
   19009 *)
   19010   dynamic_linker=no
   19011   ;;
   19012 esac
   19013 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19014 $as_echo "$dynamic_linker" >&6; }
   19015 test "$dynamic_linker" = no && can_build_shared=no
   19016 
   19017 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19018   $as_echo_n "(cached) " >&6
   19019 else
   19020   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19021 fi
   19022 
   19023 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19024 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19025   $as_echo_n "(cached) " >&6
   19026 else
   19027   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19028 fi
   19029 
   19030 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19031 
   19032 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19033 if test "$GCC" = yes; then
   19034   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19035 fi
   19036 
   19037 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19038 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19039 hardcode_action_GCJ=
   19040 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19041    test -n "$runpath_var_GCJ" || \
   19042    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19043 
   19044   # We can hardcode non-existant directories.
   19045   if test "$hardcode_direct_GCJ" != no &&
   19046      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19047      # have to relink, otherwise we might link with an installed library
   19048      # when we should be linking with a yet-to-be-installed one
   19049      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19050      test "$hardcode_minus_L_GCJ" != no; then
   19051     # Linking always hardcodes the temporary library directory.
   19052     hardcode_action_GCJ=relink
   19053   else
   19054     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19055     hardcode_action_GCJ=immediate
   19056   fi
   19057 else
   19058   # We cannot hardcode anything, or else we can only hardcode existing
   19059   # directories.
   19060   hardcode_action_GCJ=unsupported
   19061 fi
   19062 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19063 $as_echo "$hardcode_action_GCJ" >&6; }
   19064 
   19065 if test "$hardcode_action_GCJ" = relink; then
   19066   # Fast installation is not supported
   19067   enable_fast_install=no
   19068 elif test "$shlibpath_overrides_runpath" = yes ||
   19069      test "$enable_shared" = no; then
   19070   # Fast installation is not necessary
   19071   enable_fast_install=needless
   19072 fi
   19073 
   19074 
   19075 # The else clause should only fire when bootstrapping the
   19076 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19077 # with your package, and you will get complaints that there are
   19078 # no rules to generate ltmain.sh.
   19079 if test -f "$ltmain"; then
   19080   # See if we are running on zsh, and set the options which allow our commands through
   19081   # without removal of \ escapes.
   19082   if test -n "${ZSH_VERSION+set}" ; then
   19083     setopt NO_GLOB_SUBST
   19084   fi
   19085   # Now quote all the things that may contain metacharacters while being
   19086   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19087   # variables and quote the copies for generation of the libtool script.
   19088   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19089     SED SHELL STRIP \
   19090     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19091     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19092     deplibs_check_method reload_flag reload_cmds need_locks \
   19093     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19094     lt_cv_sys_global_symbol_to_c_name_address \
   19095     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19096     old_postinstall_cmds old_postuninstall_cmds \
   19097     compiler_GCJ \
   19098     CC_GCJ \
   19099     LD_GCJ \
   19100     lt_prog_compiler_wl_GCJ \
   19101     lt_prog_compiler_pic_GCJ \
   19102     lt_prog_compiler_static_GCJ \
   19103     lt_prog_compiler_no_builtin_flag_GCJ \
   19104     export_dynamic_flag_spec_GCJ \
   19105     thread_safe_flag_spec_GCJ \
   19106     whole_archive_flag_spec_GCJ \
   19107     enable_shared_with_static_runtimes_GCJ \
   19108     old_archive_cmds_GCJ \
   19109     old_archive_from_new_cmds_GCJ \
   19110     predep_objects_GCJ \
   19111     postdep_objects_GCJ \
   19112     predeps_GCJ \
   19113     postdeps_GCJ \
   19114     compiler_lib_search_path_GCJ \
   19115     compiler_lib_search_dirs_GCJ \
   19116     archive_cmds_GCJ \
   19117     archive_expsym_cmds_GCJ \
   19118     postinstall_cmds_GCJ \
   19119     postuninstall_cmds_GCJ \
   19120     old_archive_from_expsyms_cmds_GCJ \
   19121     allow_undefined_flag_GCJ \
   19122     no_undefined_flag_GCJ \
   19123     export_symbols_cmds_GCJ \
   19124     hardcode_libdir_flag_spec_GCJ \
   19125     hardcode_libdir_flag_spec_ld_GCJ \
   19126     hardcode_libdir_separator_GCJ \
   19127     hardcode_automatic_GCJ \
   19128     module_cmds_GCJ \
   19129     module_expsym_cmds_GCJ \
   19130     lt_cv_prog_compiler_c_o_GCJ \
   19131     fix_srcfile_path_GCJ \
   19132     exclude_expsyms_GCJ \
   19133     include_expsyms_GCJ; do
   19134 
   19135     case $var in
   19136     old_archive_cmds_GCJ | \
   19137     old_archive_from_new_cmds_GCJ | \
   19138     archive_cmds_GCJ | \
   19139     archive_expsym_cmds_GCJ | \
   19140     module_cmds_GCJ | \
   19141     module_expsym_cmds_GCJ | \
   19142     old_archive_from_expsyms_cmds_GCJ | \
   19143     export_symbols_cmds_GCJ | \
   19144     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19145     postinstall_cmds | postuninstall_cmds | \
   19146     old_postinstall_cmds | old_postuninstall_cmds | \
   19147     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19148       # Double-quote double-evaled strings.
   19149       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19150       ;;
   19151     *)
   19152       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19153       ;;
   19154     esac
   19155   done
   19156 
   19157   case $lt_echo in
   19158   *'\$0 --fallback-echo"')
   19159     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19160     ;;
   19161   esac
   19162 
   19163 cfgfile="$ofile"
   19164 
   19165   cat <<__EOF__ >> "$cfgfile"
   19166 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19167 
   19168 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19169 
   19170 # Shell to use when invoking shell scripts.
   19171 SHELL=$lt_SHELL
   19172 
   19173 # Whether or not to build shared libraries.
   19174 build_libtool_libs=$enable_shared
   19175 
   19176 # Whether or not to build static libraries.
   19177 build_old_libs=$enable_static
   19178 
   19179 # Whether or not to add -lc for building shared libraries.
   19180 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19181 
   19182 # Whether or not to disallow shared libs when runtime libs are static
   19183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19184 
   19185 # Whether or not to optimize for fast installation.
   19186 fast_install=$enable_fast_install
   19187 
   19188 # The host system.
   19189 host_alias=$host_alias
   19190 host=$host
   19191 host_os=$host_os
   19192 
   19193 # The build system.
   19194 build_alias=$build_alias
   19195 build=$build
   19196 build_os=$build_os
   19197 
   19198 # An echo program that does not interpret backslashes.
   19199 echo=$lt_echo
   19200 
   19201 # The archiver.
   19202 AR=$lt_AR
   19203 AR_FLAGS=$lt_AR_FLAGS
   19204 
   19205 # A C compiler.
   19206 LTCC=$lt_LTCC
   19207 
   19208 # LTCC compiler flags.
   19209 LTCFLAGS=$lt_LTCFLAGS
   19210 
   19211 # A language-specific compiler.
   19212 CC=$lt_compiler_GCJ
   19213 
   19214 # Is the compiler the GNU C compiler?
   19215 with_gcc=$GCC_GCJ
   19216 
   19217 # An ERE matcher.
   19218 EGREP=$lt_EGREP
   19219 
   19220 # The linker used to build libraries.
   19221 LD=$lt_LD_GCJ
   19222 
   19223 # Whether we need hard or soft links.
   19224 LN_S=$lt_LN_S
   19225 
   19226 # A BSD-compatible nm program.
   19227 NM=$lt_NM
   19228 
   19229 # A symbol stripping program
   19230 STRIP=$lt_STRIP
   19231 
   19232 # Used to examine libraries when file_magic_cmd begins "file"
   19233 MAGIC_CMD=$MAGIC_CMD
   19234 
   19235 # Used on cygwin: DLL creation program.
   19236 DLLTOOL="$DLLTOOL"
   19237 
   19238 # Used on cygwin: object dumper.
   19239 OBJDUMP="$OBJDUMP"
   19240 
   19241 # Used on cygwin: assembler.
   19242 AS="$AS"
   19243 
   19244 # The name of the directory that contains temporary libtool files.
   19245 objdir=$objdir
   19246 
   19247 # How to create reloadable object files.
   19248 reload_flag=$lt_reload_flag
   19249 reload_cmds=$lt_reload_cmds
   19250 
   19251 # How to pass a linker flag through the compiler.
   19252 wl=$lt_lt_prog_compiler_wl_GCJ
   19253 
   19254 # Object file suffix (normally "o").
   19255 objext="$ac_objext"
   19256 
   19257 # Old archive suffix (normally "a").
   19258 libext="$libext"
   19259 
   19260 # Shared library suffix (normally ".so").
   19261 shrext_cmds='$shrext_cmds'
   19262 
   19263 # Executable file suffix (normally "").
   19264 exeext="$exeext"
   19265 
   19266 # Additional compiler flags for building library objects.
   19267 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19268 pic_mode=$pic_mode
   19269 
   19270 # What is the maximum length of a command?
   19271 max_cmd_len=$lt_cv_sys_max_cmd_len
   19272 
   19273 # Does compiler simultaneously support -c and -o options?
   19274 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19275 
   19276 # Must we lock files when doing compilation?
   19277 need_locks=$lt_need_locks
   19278 
   19279 # Do we need the lib prefix for modules?
   19280 need_lib_prefix=$need_lib_prefix
   19281 
   19282 # Do we need a version for libraries?
   19283 need_version=$need_version
   19284 
   19285 # Whether dlopen is supported.
   19286 dlopen_support=$enable_dlopen
   19287 
   19288 # Whether dlopen of programs is supported.
   19289 dlopen_self=$enable_dlopen_self
   19290 
   19291 # Whether dlopen of statically linked programs is supported.
   19292 dlopen_self_static=$enable_dlopen_self_static
   19293 
   19294 # Compiler flag to prevent dynamic linking.
   19295 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19296 
   19297 # Compiler flag to turn off builtin functions.
   19298 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19299 
   19300 # Compiler flag to allow reflexive dlopens.
   19301 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19302 
   19303 # Compiler flag to generate shared objects directly from archives.
   19304 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19305 
   19306 # Compiler flag to generate thread-safe objects.
   19307 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19308 
   19309 # Library versioning type.
   19310 version_type=$version_type
   19311 
   19312 # Format of library name prefix.
   19313 libname_spec=$lt_libname_spec
   19314 
   19315 # List of archive names.  First name is the real one, the rest are links.
   19316 # The last name is the one that the linker finds with -lNAME.
   19317 library_names_spec=$lt_library_names_spec
   19318 
   19319 # The coded name of the library, if different from the real name.
   19320 soname_spec=$lt_soname_spec
   19321 
   19322 # Commands used to build and install an old-style archive.
   19323 RANLIB=$lt_RANLIB
   19324 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19325 old_postinstall_cmds=$lt_old_postinstall_cmds
   19326 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19327 
   19328 # Create an old-style archive from a shared archive.
   19329 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19330 
   19331 # Create a temporary old-style archive to link instead of a shared archive.
   19332 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19333 
   19334 # Commands used to build and install a shared archive.
   19335 archive_cmds=$lt_archive_cmds_GCJ
   19336 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19337 postinstall_cmds=$lt_postinstall_cmds
   19338 postuninstall_cmds=$lt_postuninstall_cmds
   19339 
   19340 # Commands used to build a loadable module (assumed same as above if empty)
   19341 module_cmds=$lt_module_cmds_GCJ
   19342 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19343 
   19344 # Commands to strip libraries.
   19345 old_striplib=$lt_old_striplib
   19346 striplib=$lt_striplib
   19347 
   19348 # Dependencies to place before the objects being linked to create a
   19349 # shared library.
   19350 predep_objects=$lt_predep_objects_GCJ
   19351 
   19352 # Dependencies to place after the objects being linked to create a
   19353 # shared library.
   19354 postdep_objects=$lt_postdep_objects_GCJ
   19355 
   19356 # Dependencies to place before the objects being linked to create a
   19357 # shared library.
   19358 predeps=$lt_predeps_GCJ
   19359 
   19360 # Dependencies to place after the objects being linked to create a
   19361 # shared library.
   19362 postdeps=$lt_postdeps_GCJ
   19363 
   19364 # The directories searched by this compiler when creating a shared
   19365 # library
   19366 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19367 
   19368 # The library search path used internally by the compiler when linking
   19369 # a shared library.
   19370 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19371 
   19372 # Method to check whether dependent libraries are shared objects.
   19373 deplibs_check_method=$lt_deplibs_check_method
   19374 
   19375 # Command to use when deplibs_check_method == file_magic.
   19376 file_magic_cmd=$lt_file_magic_cmd
   19377 
   19378 # Flag that allows shared libraries with undefined symbols to be built.
   19379 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19380 
   19381 # Flag that forces no undefined symbols.
   19382 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19383 
   19384 # Commands used to finish a libtool library installation in a directory.
   19385 finish_cmds=$lt_finish_cmds
   19386 
   19387 # Same as above, but a single script fragment to be evaled but not shown.
   19388 finish_eval=$lt_finish_eval
   19389 
   19390 # Take the output of nm and produce a listing of raw symbols and C names.
   19391 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19392 
   19393 # Transform the output of nm in a proper C declaration
   19394 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19395 
   19396 # Transform the output of nm in a C name address pair
   19397 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19398 
   19399 # This is the shared library runtime path variable.
   19400 runpath_var=$runpath_var
   19401 
   19402 # This is the shared library path variable.
   19403 shlibpath_var=$shlibpath_var
   19404 
   19405 # Is shlibpath searched before the hard-coded library search path?
   19406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19407 
   19408 # How to hardcode a shared library path into an executable.
   19409 hardcode_action=$hardcode_action_GCJ
   19410 
   19411 # Whether we should hardcode library paths into libraries.
   19412 hardcode_into_libs=$hardcode_into_libs
   19413 
   19414 # Flag to hardcode \$libdir into a binary during linking.
   19415 # This must work even if \$libdir does not exist.
   19416 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19417 
   19418 # If ld is used when linking, flag to hardcode \$libdir into
   19419 # a binary during linking. This must work even if \$libdir does
   19420 # not exist.
   19421 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19422 
   19423 # Whether we need a single -rpath flag with a separated argument.
   19424 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19425 
   19426 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19427 # resulting binary.
   19428 hardcode_direct=$hardcode_direct_GCJ
   19429 
   19430 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19431 # resulting binary.
   19432 hardcode_minus_L=$hardcode_minus_L_GCJ
   19433 
   19434 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19435 # the resulting binary.
   19436 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19437 
   19438 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19439 # and all subsequent libraries and executables linked against it.
   19440 hardcode_automatic=$hardcode_automatic_GCJ
   19441 
   19442 # Variables whose values should be saved in libtool wrapper scripts and
   19443 # restored at relink time.
   19444 variables_saved_for_relink="$variables_saved_for_relink"
   19445 
   19446 # Whether libtool must link a program against all its dependency libraries.
   19447 link_all_deplibs=$link_all_deplibs_GCJ
   19448 
   19449 # Compile-time system search path for libraries
   19450 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19451 
   19452 # Run-time system search path for libraries
   19453 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19454 
   19455 # Fix the shell variable \$srcfile for the compiler.
   19456 fix_srcfile_path=$lt_fix_srcfile_path
   19457 
   19458 # Set to yes if exported symbols are required.
   19459 always_export_symbols=$always_export_symbols_GCJ
   19460 
   19461 # The commands to list exported symbols.
   19462 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19463 
   19464 # The commands to extract the exported symbol list from a shared archive.
   19465 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19466 
   19467 # Symbols that should not be listed in the preloaded symbols.
   19468 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19469 
   19470 # Symbols that must always be exported.
   19471 include_expsyms=$lt_include_expsyms_GCJ
   19472 
   19473 # ### END LIBTOOL TAG CONFIG: $tagname
   19474 
   19475 __EOF__
   19476 
   19477 
   19478 else
   19479   # If there is no Makefile yet, we rely on a make rule to execute
   19480   # `config.status --recheck' to rerun these tests and create the
   19481   # libtool script then.
   19482   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19483   if test -f "$ltmain_in"; then
   19484     test -f Makefile && make "$ltmain"
   19485   fi
   19486 fi
   19487 
   19488 
   19489 ac_ext=c
   19490 ac_cpp='$CPP $CPPFLAGS'
   19491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19494 
   19495 CC="$lt_save_CC"
   19496 
   19497 	else
   19498 	  tagname=""
   19499 	fi
   19500 	;;
   19501 
   19502       RC)
   19503 
   19504 
   19505 # Source file extension for RC test sources.
   19506 ac_ext=rc
   19507 
   19508 # Object file extension for compiled RC test sources.
   19509 objext=o
   19510 objext_RC=$objext
   19511 
   19512 # Code to be used in simple compile tests
   19513 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19514 
   19515 # Code to be used in simple link tests
   19516 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19517 
   19518 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19519 
   19520 # If no C compiler was specified, use CC.
   19521 LTCC=${LTCC-"$CC"}
   19522 
   19523 # If no C compiler flags were specified, use CFLAGS.
   19524 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19525 
   19526 # Allow CC to be a program name with arguments.
   19527 compiler=$CC
   19528 
   19529 
   19530 # save warnings/boilerplate of simple test code
   19531 ac_outfile=conftest.$ac_objext
   19532 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19533 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19534 _lt_compiler_boilerplate=`cat conftest.err`
   19535 $rm conftest*
   19536 
   19537 ac_outfile=conftest.$ac_objext
   19538 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19539 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19540 _lt_linker_boilerplate=`cat conftest.err`
   19541 $rm -r conftest*
   19542 
   19543 
   19544 # Allow CC to be a program name with arguments.
   19545 lt_save_CC="$CC"
   19546 CC=${RC-"windres"}
   19547 compiler=$CC
   19548 compiler_RC=$CC
   19549 for cc_temp in $compiler""; do
   19550   case $cc_temp in
   19551     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19552     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19553     \-*) ;;
   19554     *) break;;
   19555   esac
   19556 done
   19557 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19558 
   19559 lt_cv_prog_compiler_c_o_RC=yes
   19560 
   19561 # The else clause should only fire when bootstrapping the
   19562 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19563 # with your package, and you will get complaints that there are
   19564 # no rules to generate ltmain.sh.
   19565 if test -f "$ltmain"; then
   19566   # See if we are running on zsh, and set the options which allow our commands through
   19567   # without removal of \ escapes.
   19568   if test -n "${ZSH_VERSION+set}" ; then
   19569     setopt NO_GLOB_SUBST
   19570   fi
   19571   # Now quote all the things that may contain metacharacters while being
   19572   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19573   # variables and quote the copies for generation of the libtool script.
   19574   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19575     SED SHELL STRIP \
   19576     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19577     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19578     deplibs_check_method reload_flag reload_cmds need_locks \
   19579     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19580     lt_cv_sys_global_symbol_to_c_name_address \
   19581     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19582     old_postinstall_cmds old_postuninstall_cmds \
   19583     compiler_RC \
   19584     CC_RC \
   19585     LD_RC \
   19586     lt_prog_compiler_wl_RC \
   19587     lt_prog_compiler_pic_RC \
   19588     lt_prog_compiler_static_RC \
   19589     lt_prog_compiler_no_builtin_flag_RC \
   19590     export_dynamic_flag_spec_RC \
   19591     thread_safe_flag_spec_RC \
   19592     whole_archive_flag_spec_RC \
   19593     enable_shared_with_static_runtimes_RC \
   19594     old_archive_cmds_RC \
   19595     old_archive_from_new_cmds_RC \
   19596     predep_objects_RC \
   19597     postdep_objects_RC \
   19598     predeps_RC \
   19599     postdeps_RC \
   19600     compiler_lib_search_path_RC \
   19601     compiler_lib_search_dirs_RC \
   19602     archive_cmds_RC \
   19603     archive_expsym_cmds_RC \
   19604     postinstall_cmds_RC \
   19605     postuninstall_cmds_RC \
   19606     old_archive_from_expsyms_cmds_RC \
   19607     allow_undefined_flag_RC \
   19608     no_undefined_flag_RC \
   19609     export_symbols_cmds_RC \
   19610     hardcode_libdir_flag_spec_RC \
   19611     hardcode_libdir_flag_spec_ld_RC \
   19612     hardcode_libdir_separator_RC \
   19613     hardcode_automatic_RC \
   19614     module_cmds_RC \
   19615     module_expsym_cmds_RC \
   19616     lt_cv_prog_compiler_c_o_RC \
   19617     fix_srcfile_path_RC \
   19618     exclude_expsyms_RC \
   19619     include_expsyms_RC; do
   19620 
   19621     case $var in
   19622     old_archive_cmds_RC | \
   19623     old_archive_from_new_cmds_RC | \
   19624     archive_cmds_RC | \
   19625     archive_expsym_cmds_RC | \
   19626     module_cmds_RC | \
   19627     module_expsym_cmds_RC | \
   19628     old_archive_from_expsyms_cmds_RC | \
   19629     export_symbols_cmds_RC | \
   19630     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19631     postinstall_cmds | postuninstall_cmds | \
   19632     old_postinstall_cmds | old_postuninstall_cmds | \
   19633     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19634       # Double-quote double-evaled strings.
   19635       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19636       ;;
   19637     *)
   19638       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19639       ;;
   19640     esac
   19641   done
   19642 
   19643   case $lt_echo in
   19644   *'\$0 --fallback-echo"')
   19645     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19646     ;;
   19647   esac
   19648 
   19649 cfgfile="$ofile"
   19650 
   19651   cat <<__EOF__ >> "$cfgfile"
   19652 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19653 
   19654 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19655 
   19656 # Shell to use when invoking shell scripts.
   19657 SHELL=$lt_SHELL
   19658 
   19659 # Whether or not to build shared libraries.
   19660 build_libtool_libs=$enable_shared
   19661 
   19662 # Whether or not to build static libraries.
   19663 build_old_libs=$enable_static
   19664 
   19665 # Whether or not to add -lc for building shared libraries.
   19666 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19667 
   19668 # Whether or not to disallow shared libs when runtime libs are static
   19669 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19670 
   19671 # Whether or not to optimize for fast installation.
   19672 fast_install=$enable_fast_install
   19673 
   19674 # The host system.
   19675 host_alias=$host_alias
   19676 host=$host
   19677 host_os=$host_os
   19678 
   19679 # The build system.
   19680 build_alias=$build_alias
   19681 build=$build
   19682 build_os=$build_os
   19683 
   19684 # An echo program that does not interpret backslashes.
   19685 echo=$lt_echo
   19686 
   19687 # The archiver.
   19688 AR=$lt_AR
   19689 AR_FLAGS=$lt_AR_FLAGS
   19690 
   19691 # A C compiler.
   19692 LTCC=$lt_LTCC
   19693 
   19694 # LTCC compiler flags.
   19695 LTCFLAGS=$lt_LTCFLAGS
   19696 
   19697 # A language-specific compiler.
   19698 CC=$lt_compiler_RC
   19699 
   19700 # Is the compiler the GNU C compiler?
   19701 with_gcc=$GCC_RC
   19702 
   19703 # An ERE matcher.
   19704 EGREP=$lt_EGREP
   19705 
   19706 # The linker used to build libraries.
   19707 LD=$lt_LD_RC
   19708 
   19709 # Whether we need hard or soft links.
   19710 LN_S=$lt_LN_S
   19711 
   19712 # A BSD-compatible nm program.
   19713 NM=$lt_NM
   19714 
   19715 # A symbol stripping program
   19716 STRIP=$lt_STRIP
   19717 
   19718 # Used to examine libraries when file_magic_cmd begins "file"
   19719 MAGIC_CMD=$MAGIC_CMD
   19720 
   19721 # Used on cygwin: DLL creation program.
   19722 DLLTOOL="$DLLTOOL"
   19723 
   19724 # Used on cygwin: object dumper.
   19725 OBJDUMP="$OBJDUMP"
   19726 
   19727 # Used on cygwin: assembler.
   19728 AS="$AS"
   19729 
   19730 # The name of the directory that contains temporary libtool files.
   19731 objdir=$objdir
   19732 
   19733 # How to create reloadable object files.
   19734 reload_flag=$lt_reload_flag
   19735 reload_cmds=$lt_reload_cmds
   19736 
   19737 # How to pass a linker flag through the compiler.
   19738 wl=$lt_lt_prog_compiler_wl_RC
   19739 
   19740 # Object file suffix (normally "o").
   19741 objext="$ac_objext"
   19742 
   19743 # Old archive suffix (normally "a").
   19744 libext="$libext"
   19745 
   19746 # Shared library suffix (normally ".so").
   19747 shrext_cmds='$shrext_cmds'
   19748 
   19749 # Executable file suffix (normally "").
   19750 exeext="$exeext"
   19751 
   19752 # Additional compiler flags for building library objects.
   19753 pic_flag=$lt_lt_prog_compiler_pic_RC
   19754 pic_mode=$pic_mode
   19755 
   19756 # What is the maximum length of a command?
   19757 max_cmd_len=$lt_cv_sys_max_cmd_len
   19758 
   19759 # Does compiler simultaneously support -c and -o options?
   19760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19761 
   19762 # Must we lock files when doing compilation?
   19763 need_locks=$lt_need_locks
   19764 
   19765 # Do we need the lib prefix for modules?
   19766 need_lib_prefix=$need_lib_prefix
   19767 
   19768 # Do we need a version for libraries?
   19769 need_version=$need_version
   19770 
   19771 # Whether dlopen is supported.
   19772 dlopen_support=$enable_dlopen
   19773 
   19774 # Whether dlopen of programs is supported.
   19775 dlopen_self=$enable_dlopen_self
   19776 
   19777 # Whether dlopen of statically linked programs is supported.
   19778 dlopen_self_static=$enable_dlopen_self_static
   19779 
   19780 # Compiler flag to prevent dynamic linking.
   19781 link_static_flag=$lt_lt_prog_compiler_static_RC
   19782 
   19783 # Compiler flag to turn off builtin functions.
   19784 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19785 
   19786 # Compiler flag to allow reflexive dlopens.
   19787 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19788 
   19789 # Compiler flag to generate shared objects directly from archives.
   19790 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19791 
   19792 # Compiler flag to generate thread-safe objects.
   19793 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19794 
   19795 # Library versioning type.
   19796 version_type=$version_type
   19797 
   19798 # Format of library name prefix.
   19799 libname_spec=$lt_libname_spec
   19800 
   19801 # List of archive names.  First name is the real one, the rest are links.
   19802 # The last name is the one that the linker finds with -lNAME.
   19803 library_names_spec=$lt_library_names_spec
   19804 
   19805 # The coded name of the library, if different from the real name.
   19806 soname_spec=$lt_soname_spec
   19807 
   19808 # Commands used to build and install an old-style archive.
   19809 RANLIB=$lt_RANLIB
   19810 old_archive_cmds=$lt_old_archive_cmds_RC
   19811 old_postinstall_cmds=$lt_old_postinstall_cmds
   19812 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19813 
   19814 # Create an old-style archive from a shared archive.
   19815 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19816 
   19817 # Create a temporary old-style archive to link instead of a shared archive.
   19818 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19819 
   19820 # Commands used to build and install a shared archive.
   19821 archive_cmds=$lt_archive_cmds_RC
   19822 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19823 postinstall_cmds=$lt_postinstall_cmds
   19824 postuninstall_cmds=$lt_postuninstall_cmds
   19825 
   19826 # Commands used to build a loadable module (assumed same as above if empty)
   19827 module_cmds=$lt_module_cmds_RC
   19828 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19829 
   19830 # Commands to strip libraries.
   19831 old_striplib=$lt_old_striplib
   19832 striplib=$lt_striplib
   19833 
   19834 # Dependencies to place before the objects being linked to create a
   19835 # shared library.
   19836 predep_objects=$lt_predep_objects_RC
   19837 
   19838 # Dependencies to place after the objects being linked to create a
   19839 # shared library.
   19840 postdep_objects=$lt_postdep_objects_RC
   19841 
   19842 # Dependencies to place before the objects being linked to create a
   19843 # shared library.
   19844 predeps=$lt_predeps_RC
   19845 
   19846 # Dependencies to place after the objects being linked to create a
   19847 # shared library.
   19848 postdeps=$lt_postdeps_RC
   19849 
   19850 # The directories searched by this compiler when creating a shared
   19851 # library
   19852 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19853 
   19854 # The library search path used internally by the compiler when linking
   19855 # a shared library.
   19856 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19857 
   19858 # Method to check whether dependent libraries are shared objects.
   19859 deplibs_check_method=$lt_deplibs_check_method
   19860 
   19861 # Command to use when deplibs_check_method == file_magic.
   19862 file_magic_cmd=$lt_file_magic_cmd
   19863 
   19864 # Flag that allows shared libraries with undefined symbols to be built.
   19865 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19866 
   19867 # Flag that forces no undefined symbols.
   19868 no_undefined_flag=$lt_no_undefined_flag_RC
   19869 
   19870 # Commands used to finish a libtool library installation in a directory.
   19871 finish_cmds=$lt_finish_cmds
   19872 
   19873 # Same as above, but a single script fragment to be evaled but not shown.
   19874 finish_eval=$lt_finish_eval
   19875 
   19876 # Take the output of nm and produce a listing of raw symbols and C names.
   19877 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19878 
   19879 # Transform the output of nm in a proper C declaration
   19880 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19881 
   19882 # Transform the output of nm in a C name address pair
   19883 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19884 
   19885 # This is the shared library runtime path variable.
   19886 runpath_var=$runpath_var
   19887 
   19888 # This is the shared library path variable.
   19889 shlibpath_var=$shlibpath_var
   19890 
   19891 # Is shlibpath searched before the hard-coded library search path?
   19892 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19893 
   19894 # How to hardcode a shared library path into an executable.
   19895 hardcode_action=$hardcode_action_RC
   19896 
   19897 # Whether we should hardcode library paths into libraries.
   19898 hardcode_into_libs=$hardcode_into_libs
   19899 
   19900 # Flag to hardcode \$libdir into a binary during linking.
   19901 # This must work even if \$libdir does not exist.
   19902 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19903 
   19904 # If ld is used when linking, flag to hardcode \$libdir into
   19905 # a binary during linking. This must work even if \$libdir does
   19906 # not exist.
   19907 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19908 
   19909 # Whether we need a single -rpath flag with a separated argument.
   19910 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19911 
   19912 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19913 # resulting binary.
   19914 hardcode_direct=$hardcode_direct_RC
   19915 
   19916 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19917 # resulting binary.
   19918 hardcode_minus_L=$hardcode_minus_L_RC
   19919 
   19920 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19921 # the resulting binary.
   19922 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19923 
   19924 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19925 # and all subsequent libraries and executables linked against it.
   19926 hardcode_automatic=$hardcode_automatic_RC
   19927 
   19928 # Variables whose values should be saved in libtool wrapper scripts and
   19929 # restored at relink time.
   19930 variables_saved_for_relink="$variables_saved_for_relink"
   19931 
   19932 # Whether libtool must link a program against all its dependency libraries.
   19933 link_all_deplibs=$link_all_deplibs_RC
   19934 
   19935 # Compile-time system search path for libraries
   19936 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19937 
   19938 # Run-time system search path for libraries
   19939 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19940 
   19941 # Fix the shell variable \$srcfile for the compiler.
   19942 fix_srcfile_path=$lt_fix_srcfile_path
   19943 
   19944 # Set to yes if exported symbols are required.
   19945 always_export_symbols=$always_export_symbols_RC
   19946 
   19947 # The commands to list exported symbols.
   19948 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19949 
   19950 # The commands to extract the exported symbol list from a shared archive.
   19951 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19952 
   19953 # Symbols that should not be listed in the preloaded symbols.
   19954 exclude_expsyms=$lt_exclude_expsyms_RC
   19955 
   19956 # Symbols that must always be exported.
   19957 include_expsyms=$lt_include_expsyms_RC
   19958 
   19959 # ### END LIBTOOL TAG CONFIG: $tagname
   19960 
   19961 __EOF__
   19962 
   19963 
   19964 else
   19965   # If there is no Makefile yet, we rely on a make rule to execute
   19966   # `config.status --recheck' to rerun these tests and create the
   19967   # libtool script then.
   19968   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19969   if test -f "$ltmain_in"; then
   19970     test -f Makefile && make "$ltmain"
   19971   fi
   19972 fi
   19973 
   19974 
   19975 ac_ext=c
   19976 ac_cpp='$CPP $CPPFLAGS'
   19977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19980 
   19981 CC="$lt_save_CC"
   19982 
   19983 	;;
   19984 
   19985       *)
   19986 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19987 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19988    { (exit 1); exit 1; }; }
   19989 	;;
   19990       esac
   19991 
   19992       # Append the new tag name to the list of available tags.
   19993       if test -n "$tagname" ; then
   19994       available_tags="$available_tags $tagname"
   19995     fi
   19996     fi
   19997   done
   19998   IFS="$lt_save_ifs"
   19999 
   20000   # Now substitute the updated list of available tags.
   20001   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20002     mv "${ofile}T" "$ofile"
   20003     chmod +x "$ofile"
   20004   else
   20005     rm -f "${ofile}T"
   20006     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20007 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20008    { (exit 1); exit 1; }; }
   20009   fi
   20010 fi
   20011 
   20012 
   20013 
   20014 # This can be used to rebuild libtool when needed
   20015 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20016 
   20017 # Always use our own libtool.
   20018 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20019 
   20020 # Prevent multiple expansion
   20021 
   20022 
   20023 
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 ac_ext=c
   20042 ac_cpp='$CPP $CPPFLAGS'
   20043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20046 if test -n "$ac_tool_prefix"; then
   20047   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20049 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20050 $as_echo_n "checking for $ac_word... " >&6; }
   20051 if test "${ac_cv_prog_CC+set}" = set; then
   20052   $as_echo_n "(cached) " >&6
   20053 else
   20054   if test -n "$CC"; then
   20055   ac_cv_prog_CC="$CC" # Let the user override the test.
   20056 else
   20057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20058 for as_dir in $PATH
   20059 do
   20060   IFS=$as_save_IFS
   20061   test -z "$as_dir" && as_dir=.
   20062   for ac_exec_ext in '' $ac_executable_extensions; do
   20063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20064     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20065     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20066     break 2
   20067   fi
   20068 done
   20069 done
   20070 IFS=$as_save_IFS
   20071 
   20072 fi
   20073 fi
   20074 CC=$ac_cv_prog_CC
   20075 if test -n "$CC"; then
   20076   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20077 $as_echo "$CC" >&6; }
   20078 else
   20079   { $as_echo "$as_me:$LINENO: result: no" >&5
   20080 $as_echo "no" >&6; }
   20081 fi
   20082 
   20083 
   20084 fi
   20085 if test -z "$ac_cv_prog_CC"; then
   20086   ac_ct_CC=$CC
   20087   # Extract the first word of "gcc", so it can be a program name with args.
   20088 set dummy gcc; ac_word=$2
   20089 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20090 $as_echo_n "checking for $ac_word... " >&6; }
   20091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20092   $as_echo_n "(cached) " >&6
   20093 else
   20094   if test -n "$ac_ct_CC"; then
   20095   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20096 else
   20097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20098 for as_dir in $PATH
   20099 do
   20100   IFS=$as_save_IFS
   20101   test -z "$as_dir" && as_dir=.
   20102   for ac_exec_ext in '' $ac_executable_extensions; do
   20103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20104     ac_cv_prog_ac_ct_CC="gcc"
   20105     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20106     break 2
   20107   fi
   20108 done
   20109 done
   20110 IFS=$as_save_IFS
   20111 
   20112 fi
   20113 fi
   20114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20115 if test -n "$ac_ct_CC"; then
   20116   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20117 $as_echo "$ac_ct_CC" >&6; }
   20118 else
   20119   { $as_echo "$as_me:$LINENO: result: no" >&5
   20120 $as_echo "no" >&6; }
   20121 fi
   20122 
   20123   if test "x$ac_ct_CC" = x; then
   20124     CC=""
   20125   else
   20126     case $cross_compiling:$ac_tool_warned in
   20127 yes:)
   20128 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20130 ac_tool_warned=yes ;;
   20131 esac
   20132     CC=$ac_ct_CC
   20133   fi
   20134 else
   20135   CC="$ac_cv_prog_CC"
   20136 fi
   20137 
   20138 if test -z "$CC"; then
   20139           if test -n "$ac_tool_prefix"; then
   20140     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20141 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20142 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20143 $as_echo_n "checking for $ac_word... " >&6; }
   20144 if test "${ac_cv_prog_CC+set}" = set; then
   20145   $as_echo_n "(cached) " >&6
   20146 else
   20147   if test -n "$CC"; then
   20148   ac_cv_prog_CC="$CC" # Let the user override the test.
   20149 else
   20150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20151 for as_dir in $PATH
   20152 do
   20153   IFS=$as_save_IFS
   20154   test -z "$as_dir" && as_dir=.
   20155   for ac_exec_ext in '' $ac_executable_extensions; do
   20156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20157     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20158     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20159     break 2
   20160   fi
   20161 done
   20162 done
   20163 IFS=$as_save_IFS
   20164 
   20165 fi
   20166 fi
   20167 CC=$ac_cv_prog_CC
   20168 if test -n "$CC"; then
   20169   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20170 $as_echo "$CC" >&6; }
   20171 else
   20172   { $as_echo "$as_me:$LINENO: result: no" >&5
   20173 $as_echo "no" >&6; }
   20174 fi
   20175 
   20176 
   20177   fi
   20178 fi
   20179 if test -z "$CC"; then
   20180   # Extract the first word of "cc", so it can be a program name with args.
   20181 set dummy cc; ac_word=$2
   20182 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20183 $as_echo_n "checking for $ac_word... " >&6; }
   20184 if test "${ac_cv_prog_CC+set}" = set; then
   20185   $as_echo_n "(cached) " >&6
   20186 else
   20187   if test -n "$CC"; then
   20188   ac_cv_prog_CC="$CC" # Let the user override the test.
   20189 else
   20190   ac_prog_rejected=no
   20191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20192 for as_dir in $PATH
   20193 do
   20194   IFS=$as_save_IFS
   20195   test -z "$as_dir" && as_dir=.
   20196   for ac_exec_ext in '' $ac_executable_extensions; do
   20197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20198     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20199        ac_prog_rejected=yes
   20200        continue
   20201      fi
   20202     ac_cv_prog_CC="cc"
   20203     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20204     break 2
   20205   fi
   20206 done
   20207 done
   20208 IFS=$as_save_IFS
   20209 
   20210 if test $ac_prog_rejected = yes; then
   20211   # We found a bogon in the path, so make sure we never use it.
   20212   set dummy $ac_cv_prog_CC
   20213   shift
   20214   if test $# != 0; then
   20215     # We chose a different compiler from the bogus one.
   20216     # However, it has the same basename, so the bogon will be chosen
   20217     # first if we set CC to just the basename; use the full file name.
   20218     shift
   20219     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20220   fi
   20221 fi
   20222 fi
   20223 fi
   20224 CC=$ac_cv_prog_CC
   20225 if test -n "$CC"; then
   20226   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20227 $as_echo "$CC" >&6; }
   20228 else
   20229   { $as_echo "$as_me:$LINENO: result: no" >&5
   20230 $as_echo "no" >&6; }
   20231 fi
   20232 
   20233 
   20234 fi
   20235 if test -z "$CC"; then
   20236   if test -n "$ac_tool_prefix"; then
   20237   for ac_prog in cl.exe
   20238   do
   20239     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20242 $as_echo_n "checking for $ac_word... " >&6; }
   20243 if test "${ac_cv_prog_CC+set}" = set; then
   20244   $as_echo_n "(cached) " >&6
   20245 else
   20246   if test -n "$CC"; then
   20247   ac_cv_prog_CC="$CC" # Let the user override the test.
   20248 else
   20249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20250 for as_dir in $PATH
   20251 do
   20252   IFS=$as_save_IFS
   20253   test -z "$as_dir" && as_dir=.
   20254   for ac_exec_ext in '' $ac_executable_extensions; do
   20255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20256     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20257     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20258     break 2
   20259   fi
   20260 done
   20261 done
   20262 IFS=$as_save_IFS
   20263 
   20264 fi
   20265 fi
   20266 CC=$ac_cv_prog_CC
   20267 if test -n "$CC"; then
   20268   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20269 $as_echo "$CC" >&6; }
   20270 else
   20271   { $as_echo "$as_me:$LINENO: result: no" >&5
   20272 $as_echo "no" >&6; }
   20273 fi
   20274 
   20275 
   20276     test -n "$CC" && break
   20277   done
   20278 fi
   20279 if test -z "$CC"; then
   20280   ac_ct_CC=$CC
   20281   for ac_prog in cl.exe
   20282 do
   20283   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20284 set dummy $ac_prog; ac_word=$2
   20285 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20286 $as_echo_n "checking for $ac_word... " >&6; }
   20287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20288   $as_echo_n "(cached) " >&6
   20289 else
   20290   if test -n "$ac_ct_CC"; then
   20291   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20292 else
   20293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20294 for as_dir in $PATH
   20295 do
   20296   IFS=$as_save_IFS
   20297   test -z "$as_dir" && as_dir=.
   20298   for ac_exec_ext in '' $ac_executable_extensions; do
   20299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20300     ac_cv_prog_ac_ct_CC="$ac_prog"
   20301     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20302     break 2
   20303   fi
   20304 done
   20305 done
   20306 IFS=$as_save_IFS
   20307 
   20308 fi
   20309 fi
   20310 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20311 if test -n "$ac_ct_CC"; then
   20312   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20313 $as_echo "$ac_ct_CC" >&6; }
   20314 else
   20315   { $as_echo "$as_me:$LINENO: result: no" >&5
   20316 $as_echo "no" >&6; }
   20317 fi
   20318 
   20319 
   20320   test -n "$ac_ct_CC" && break
   20321 done
   20322 
   20323   if test "x$ac_ct_CC" = x; then
   20324     CC=""
   20325   else
   20326     case $cross_compiling:$ac_tool_warned in
   20327 yes:)
   20328 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20330 ac_tool_warned=yes ;;
   20331 esac
   20332     CC=$ac_ct_CC
   20333   fi
   20334 fi
   20335 
   20336 fi
   20337 
   20338 
   20339 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20341 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20342 See \`config.log' for more details." >&5
   20343 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20344 See \`config.log' for more details." >&2;}
   20345    { (exit 1); exit 1; }; }; }
   20346 
   20347 # Provide some information about the compiler.
   20348 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20349 set X $ac_compile
   20350 ac_compiler=$2
   20351 { (ac_try="$ac_compiler --version >&5"
   20352 case "(($ac_try" in
   20353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20354   *) ac_try_echo=$ac_try;;
   20355 esac
   20356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20357 $as_echo "$ac_try_echo") >&5
   20358   (eval "$ac_compiler --version >&5") 2>&5
   20359   ac_status=$?
   20360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20361   (exit $ac_status); }
   20362 { (ac_try="$ac_compiler -v >&5"
   20363 case "(($ac_try" in
   20364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20365   *) ac_try_echo=$ac_try;;
   20366 esac
   20367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20368 $as_echo "$ac_try_echo") >&5
   20369   (eval "$ac_compiler -v >&5") 2>&5
   20370   ac_status=$?
   20371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20372   (exit $ac_status); }
   20373 { (ac_try="$ac_compiler -V >&5"
   20374 case "(($ac_try" in
   20375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20376   *) ac_try_echo=$ac_try;;
   20377 esac
   20378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20379 $as_echo "$ac_try_echo") >&5
   20380   (eval "$ac_compiler -V >&5") 2>&5
   20381   ac_status=$?
   20382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20383   (exit $ac_status); }
   20384 
   20385 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20386 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20387 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20388   $as_echo_n "(cached) " >&6
   20389 else
   20390   cat >conftest.$ac_ext <<_ACEOF
   20391 /* confdefs.h.  */
   20392 _ACEOF
   20393 cat confdefs.h >>conftest.$ac_ext
   20394 cat >>conftest.$ac_ext <<_ACEOF
   20395 /* end confdefs.h.  */
   20396 
   20397 int
   20398 main ()
   20399 {
   20400 #ifndef __GNUC__
   20401        choke me
   20402 #endif
   20403 
   20404   ;
   20405   return 0;
   20406 }
   20407 _ACEOF
   20408 rm -f conftest.$ac_objext
   20409 if { (ac_try="$ac_compile"
   20410 case "(($ac_try" in
   20411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20412   *) ac_try_echo=$ac_try;;
   20413 esac
   20414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20415 $as_echo "$ac_try_echo") >&5
   20416   (eval "$ac_compile") 2>conftest.er1
   20417   ac_status=$?
   20418   grep -v '^ *+' conftest.er1 >conftest.err
   20419   rm -f conftest.er1
   20420   cat conftest.err >&5
   20421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20422   (exit $ac_status); } && {
   20423 	 test -z "$ac_c_werror_flag" ||
   20424 	 test ! -s conftest.err
   20425        } && test -s conftest.$ac_objext; then
   20426   ac_compiler_gnu=yes
   20427 else
   20428   $as_echo "$as_me: failed program was:" >&5
   20429 sed 's/^/| /' conftest.$ac_ext >&5
   20430 
   20431 	ac_compiler_gnu=no
   20432 fi
   20433 
   20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20436 
   20437 fi
   20438 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20440 if test $ac_compiler_gnu = yes; then
   20441   GCC=yes
   20442 else
   20443   GCC=
   20444 fi
   20445 ac_test_CFLAGS=${CFLAGS+set}
   20446 ac_save_CFLAGS=$CFLAGS
   20447 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20449 if test "${ac_cv_prog_cc_g+set}" = set; then
   20450   $as_echo_n "(cached) " >&6
   20451 else
   20452   ac_save_c_werror_flag=$ac_c_werror_flag
   20453    ac_c_werror_flag=yes
   20454    ac_cv_prog_cc_g=no
   20455    CFLAGS="-g"
   20456    cat >conftest.$ac_ext <<_ACEOF
   20457 /* confdefs.h.  */
   20458 _ACEOF
   20459 cat confdefs.h >>conftest.$ac_ext
   20460 cat >>conftest.$ac_ext <<_ACEOF
   20461 /* end confdefs.h.  */
   20462 
   20463 int
   20464 main ()
   20465 {
   20466 
   20467   ;
   20468   return 0;
   20469 }
   20470 _ACEOF
   20471 rm -f conftest.$ac_objext
   20472 if { (ac_try="$ac_compile"
   20473 case "(($ac_try" in
   20474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20475   *) ac_try_echo=$ac_try;;
   20476 esac
   20477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20478 $as_echo "$ac_try_echo") >&5
   20479   (eval "$ac_compile") 2>conftest.er1
   20480   ac_status=$?
   20481   grep -v '^ *+' conftest.er1 >conftest.err
   20482   rm -f conftest.er1
   20483   cat conftest.err >&5
   20484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20485   (exit $ac_status); } && {
   20486 	 test -z "$ac_c_werror_flag" ||
   20487 	 test ! -s conftest.err
   20488        } && test -s conftest.$ac_objext; then
   20489   ac_cv_prog_cc_g=yes
   20490 else
   20491   $as_echo "$as_me: failed program was:" >&5
   20492 sed 's/^/| /' conftest.$ac_ext >&5
   20493 
   20494 	CFLAGS=""
   20495       cat >conftest.$ac_ext <<_ACEOF
   20496 /* confdefs.h.  */
   20497 _ACEOF
   20498 cat confdefs.h >>conftest.$ac_ext
   20499 cat >>conftest.$ac_ext <<_ACEOF
   20500 /* end confdefs.h.  */
   20501 
   20502 int
   20503 main ()
   20504 {
   20505 
   20506   ;
   20507   return 0;
   20508 }
   20509 _ACEOF
   20510 rm -f conftest.$ac_objext
   20511 if { (ac_try="$ac_compile"
   20512 case "(($ac_try" in
   20513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20514   *) ac_try_echo=$ac_try;;
   20515 esac
   20516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20517 $as_echo "$ac_try_echo") >&5
   20518   (eval "$ac_compile") 2>conftest.er1
   20519   ac_status=$?
   20520   grep -v '^ *+' conftest.er1 >conftest.err
   20521   rm -f conftest.er1
   20522   cat conftest.err >&5
   20523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20524   (exit $ac_status); } && {
   20525 	 test -z "$ac_c_werror_flag" ||
   20526 	 test ! -s conftest.err
   20527        } && test -s conftest.$ac_objext; then
   20528   :
   20529 else
   20530   $as_echo "$as_me: failed program was:" >&5
   20531 sed 's/^/| /' conftest.$ac_ext >&5
   20532 
   20533 	ac_c_werror_flag=$ac_save_c_werror_flag
   20534 	 CFLAGS="-g"
   20535 	 cat >conftest.$ac_ext <<_ACEOF
   20536 /* confdefs.h.  */
   20537 _ACEOF
   20538 cat confdefs.h >>conftest.$ac_ext
   20539 cat >>conftest.$ac_ext <<_ACEOF
   20540 /* end confdefs.h.  */
   20541 
   20542 int
   20543 main ()
   20544 {
   20545 
   20546   ;
   20547   return 0;
   20548 }
   20549 _ACEOF
   20550 rm -f conftest.$ac_objext
   20551 if { (ac_try="$ac_compile"
   20552 case "(($ac_try" in
   20553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20554   *) ac_try_echo=$ac_try;;
   20555 esac
   20556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20557 $as_echo "$ac_try_echo") >&5
   20558   (eval "$ac_compile") 2>conftest.er1
   20559   ac_status=$?
   20560   grep -v '^ *+' conftest.er1 >conftest.err
   20561   rm -f conftest.er1
   20562   cat conftest.err >&5
   20563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20564   (exit $ac_status); } && {
   20565 	 test -z "$ac_c_werror_flag" ||
   20566 	 test ! -s conftest.err
   20567        } && test -s conftest.$ac_objext; then
   20568   ac_cv_prog_cc_g=yes
   20569 else
   20570   $as_echo "$as_me: failed program was:" >&5
   20571 sed 's/^/| /' conftest.$ac_ext >&5
   20572 
   20573 
   20574 fi
   20575 
   20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20577 fi
   20578 
   20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20580 fi
   20581 
   20582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20583    ac_c_werror_flag=$ac_save_c_werror_flag
   20584 fi
   20585 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20586 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20587 if test "$ac_test_CFLAGS" = set; then
   20588   CFLAGS=$ac_save_CFLAGS
   20589 elif test $ac_cv_prog_cc_g = yes; then
   20590   if test "$GCC" = yes; then
   20591     CFLAGS="-g -O2"
   20592   else
   20593     CFLAGS="-g"
   20594   fi
   20595 else
   20596   if test "$GCC" = yes; then
   20597     CFLAGS="-O2"
   20598   else
   20599     CFLAGS=
   20600   fi
   20601 fi
   20602 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20604 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20605   $as_echo_n "(cached) " >&6
   20606 else
   20607   ac_cv_prog_cc_c89=no
   20608 ac_save_CC=$CC
   20609 cat >conftest.$ac_ext <<_ACEOF
   20610 /* confdefs.h.  */
   20611 _ACEOF
   20612 cat confdefs.h >>conftest.$ac_ext
   20613 cat >>conftest.$ac_ext <<_ACEOF
   20614 /* end confdefs.h.  */
   20615 #include <stdarg.h>
   20616 #include <stdio.h>
   20617 #include <sys/types.h>
   20618 #include <sys/stat.h>
   20619 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20620 struct buf { int x; };
   20621 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20622 static char *e (p, i)
   20623      char **p;
   20624      int i;
   20625 {
   20626   return p[i];
   20627 }
   20628 static char *f (char * (*g) (char **, int), char **p, ...)
   20629 {
   20630   char *s;
   20631   va_list v;
   20632   va_start (v,p);
   20633   s = g (p, va_arg (v,int));
   20634   va_end (v);
   20635   return s;
   20636 }
   20637 
   20638 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20639    function prototypes and stuff, but not '\xHH' hex character constants.
   20640    These don't provoke an error unfortunately, instead are silently treated
   20641    as 'x'.  The following induces an error, until -std is added to get
   20642    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20643    array size at least.  It's necessary to write '\x00'==0 to get something
   20644    that's true only with -std.  */
   20645 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20646 
   20647 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20648    inside strings and character constants.  */
   20649 #define FOO(x) 'x'
   20650 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20651 
   20652 int test (int i, double x);
   20653 struct s1 {int (*f) (int a);};
   20654 struct s2 {int (*f) (double a);};
   20655 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20656 int argc;
   20657 char **argv;
   20658 int
   20659 main ()
   20660 {
   20661 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20662   ;
   20663   return 0;
   20664 }
   20665 _ACEOF
   20666 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20667 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20668 do
   20669   CC="$ac_save_CC $ac_arg"
   20670   rm -f conftest.$ac_objext
   20671 if { (ac_try="$ac_compile"
   20672 case "(($ac_try" in
   20673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20674   *) ac_try_echo=$ac_try;;
   20675 esac
   20676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20677 $as_echo "$ac_try_echo") >&5
   20678   (eval "$ac_compile") 2>conftest.er1
   20679   ac_status=$?
   20680   grep -v '^ *+' conftest.er1 >conftest.err
   20681   rm -f conftest.er1
   20682   cat conftest.err >&5
   20683   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20684   (exit $ac_status); } && {
   20685 	 test -z "$ac_c_werror_flag" ||
   20686 	 test ! -s conftest.err
   20687        } && test -s conftest.$ac_objext; then
   20688   ac_cv_prog_cc_c89=$ac_arg
   20689 else
   20690   $as_echo "$as_me: failed program was:" >&5
   20691 sed 's/^/| /' conftest.$ac_ext >&5
   20692 
   20693 
   20694 fi
   20695 
   20696 rm -f core conftest.err conftest.$ac_objext
   20697   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20698 done
   20699 rm -f conftest.$ac_ext
   20700 CC=$ac_save_CC
   20701 
   20702 fi
   20703 # AC_CACHE_VAL
   20704 case "x$ac_cv_prog_cc_c89" in
   20705   x)
   20706     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20707 $as_echo "none needed" >&6; } ;;
   20708   xno)
   20709     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20710 $as_echo "unsupported" >&6; } ;;
   20711   *)
   20712     CC="$CC $ac_cv_prog_cc_c89"
   20713     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20714 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20715 esac
   20716 
   20717 
   20718 ac_ext=c
   20719 ac_cpp='$CPP $CPPFLAGS'
   20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20723 
   20724 depcc="$CC"   am_compiler_list=
   20725 
   20726 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20727 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20728 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20729   $as_echo_n "(cached) " >&6
   20730 else
   20731   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20732   # We make a subdir and do the tests there.  Otherwise we can end up
   20733   # making bogus files that we don't know about and never remove.  For
   20734   # instance it was reported that on HP-UX the gcc test will end up
   20735   # making a dummy file named `D' -- because `-MD' means `put the output
   20736   # in D'.
   20737   mkdir conftest.dir
   20738   # Copy depcomp to subdir because otherwise we won't find it if we're
   20739   # using a relative directory.
   20740   cp "$am_depcomp" conftest.dir
   20741   cd conftest.dir
   20742   # We will build objects and dependencies in a subdirectory because
   20743   # it helps to detect inapplicable dependency modes.  For instance
   20744   # both Tru64's cc and ICC support -MD to output dependencies as a
   20745   # side effect of compilation, but ICC will put the dependencies in
   20746   # the current directory while Tru64 will put them in the object
   20747   # directory.
   20748   mkdir sub
   20749 
   20750   am_cv_CC_dependencies_compiler_type=none
   20751   if test "$am_compiler_list" = ""; then
   20752      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20753   fi
   20754   am__universal=false
   20755   case " $depcc " in #(
   20756      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20757      esac
   20758 
   20759   for depmode in $am_compiler_list; do
   20760     # Setup a source with many dependencies, because some compilers
   20761     # like to wrap large dependency lists on column 80 (with \), and
   20762     # we should not choose a depcomp mode which is confused by this.
   20763     #
   20764     # We need to recreate these files for each test, as the compiler may
   20765     # overwrite some of them when testing with obscure command lines.
   20766     # This happens at least with the AIX C compiler.
   20767     : > sub/conftest.c
   20768     for i in 1 2 3 4 5 6; do
   20769       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20770       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20771       # Solaris 8's {/usr,}/bin/sh.
   20772       touch sub/conftst$i.h
   20773     done
   20774     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20775 
   20776     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20777     # mode.  It turns out that the SunPro C++ compiler does not properly
   20778     # handle `-M -o', and we need to detect this.  Also, some Intel
   20779     # versions had trouble with output in subdirs
   20780     am__obj=sub/conftest.${OBJEXT-o}
   20781     am__minus_obj="-o $am__obj"
   20782     case $depmode in
   20783     gcc)
   20784       # This depmode causes a compiler race in universal mode.
   20785       test "$am__universal" = false || continue
   20786       ;;
   20787     nosideeffect)
   20788       # after this tag, mechanisms are not by side-effect, so they'll
   20789       # only be used when explicitly requested
   20790       if test "x$enable_dependency_tracking" = xyes; then
   20791 	continue
   20792       else
   20793 	break
   20794       fi
   20795       ;;
   20796     msvisualcpp | msvcmsys)
   20797       # This compiler won't grok `-c -o', but also, the minuso test has
   20798       # not run yet.  These depmodes are late enough in the game, and
   20799       # so weak that their functioning should not be impacted.
   20800       am__obj=conftest.${OBJEXT-o}
   20801       am__minus_obj=
   20802       ;;
   20803     none) break ;;
   20804     esac
   20805     if depmode=$depmode \
   20806        source=sub/conftest.c object=$am__obj \
   20807        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20808        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20809          >/dev/null 2>conftest.err &&
   20810        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20811        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20812        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20813        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20814       # icc doesn't choke on unknown options, it will just issue warnings
   20815       # or remarks (even with -Werror).  So we grep stderr for any message
   20816       # that says an option was ignored or not supported.
   20817       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20818       #   icc: Command line warning: ignoring option '-M'; no argument required
   20819       # The diagnosis changed in icc 8.0:
   20820       #   icc: Command line remark: option '-MP' not supported
   20821       if (grep 'ignoring option' conftest.err ||
   20822           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20823         am_cv_CC_dependencies_compiler_type=$depmode
   20824         break
   20825       fi
   20826     fi
   20827   done
   20828 
   20829   cd ..
   20830   rm -rf conftest.dir
   20831 else
   20832   am_cv_CC_dependencies_compiler_type=none
   20833 fi
   20834 
   20835 fi
   20836 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20837 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20838 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20839 
   20840  if
   20841   test "x$enable_dependency_tracking" != xno \
   20842   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20843   am__fastdepCC_TRUE=
   20844   am__fastdepCC_FALSE='#'
   20845 else
   20846   am__fastdepCC_TRUE='#'
   20847   am__fastdepCC_FALSE=
   20848 fi
   20849 
   20850 
   20851 
   20852 
   20853 
   20854 
   20855 
   20856 # Check whether --with-xorg-module-dir was given.
   20857 if test "${with_xorg_module_dir+set}" = set; then
   20858   withval=$with_xorg_module_dir; moduledir="$withval"
   20859 else
   20860   moduledir="$libdir/xorg/modules"
   20861 fi
   20862 
   20863 
   20864 # Checks for extensions
   20865 
   20866 	SAVE_CFLAGS="$CFLAGS"
   20867 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20868 	cat >conftest.$ac_ext <<_ACEOF
   20869 /* confdefs.h.  */
   20870 _ACEOF
   20871 cat confdefs.h >>conftest.$ac_ext
   20872 cat >>conftest.$ac_ext <<_ACEOF
   20873 /* end confdefs.h.  */
   20874 
   20875 #include "xorg-server.h"
   20876 #if !defined RANDR
   20877 #error RANDR not defined
   20878 #endif
   20879 
   20880 int
   20881 main ()
   20882 {
   20883 
   20884   ;
   20885   return 0;
   20886 }
   20887 _ACEOF
   20888 rm -f conftest.$ac_objext
   20889 if { (ac_try="$ac_compile"
   20890 case "(($ac_try" in
   20891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20892   *) ac_try_echo=$ac_try;;
   20893 esac
   20894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20895 $as_echo "$ac_try_echo") >&5
   20896   (eval "$ac_compile") 2>conftest.er1
   20897   ac_status=$?
   20898   grep -v '^ *+' conftest.er1 >conftest.err
   20899   rm -f conftest.er1
   20900   cat conftest.err >&5
   20901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20902   (exit $ac_status); } && {
   20903 	 test -z "$ac_c_werror_flag" ||
   20904 	 test ! -s conftest.err
   20905        } && test -s conftest.$ac_objext; then
   20906   _EXT_CHECK=yes
   20907 else
   20908   $as_echo "$as_me: failed program was:" >&5
   20909 sed 's/^/| /' conftest.$ac_ext >&5
   20910 
   20911 	_EXT_CHECK=no
   20912 fi
   20913 
   20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20915 	CFLAGS="$SAVE_CFLAGS"
   20916 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20917 $as_echo_n "checking if RANDR is defined... " >&6; }
   20918 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20919 $as_echo "$_EXT_CHECK" >&6; }
   20920 	if test "$_EXT_CHECK" != no; then
   20921 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20922 	fi
   20923 
   20924 
   20925 	SAVE_CFLAGS="$CFLAGS"
   20926 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20927 	cat >conftest.$ac_ext <<_ACEOF
   20928 /* confdefs.h.  */
   20929 _ACEOF
   20930 cat confdefs.h >>conftest.$ac_ext
   20931 cat >>conftest.$ac_ext <<_ACEOF
   20932 /* end confdefs.h.  */
   20933 
   20934 #include "xorg-server.h"
   20935 #if !defined RENDER
   20936 #error RENDER not defined
   20937 #endif
   20938 
   20939 int
   20940 main ()
   20941 {
   20942 
   20943   ;
   20944   return 0;
   20945 }
   20946 _ACEOF
   20947 rm -f conftest.$ac_objext
   20948 if { (ac_try="$ac_compile"
   20949 case "(($ac_try" in
   20950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20951   *) ac_try_echo=$ac_try;;
   20952 esac
   20953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20954 $as_echo "$ac_try_echo") >&5
   20955   (eval "$ac_compile") 2>conftest.er1
   20956   ac_status=$?
   20957   grep -v '^ *+' conftest.er1 >conftest.err
   20958   rm -f conftest.er1
   20959   cat conftest.err >&5
   20960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20961   (exit $ac_status); } && {
   20962 	 test -z "$ac_c_werror_flag" ||
   20963 	 test ! -s conftest.err
   20964        } && test -s conftest.$ac_objext; then
   20965   _EXT_CHECK=yes
   20966 else
   20967   $as_echo "$as_me: failed program was:" >&5
   20968 sed 's/^/| /' conftest.$ac_ext >&5
   20969 
   20970 	_EXT_CHECK=no
   20971 fi
   20972 
   20973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20974 	CFLAGS="$SAVE_CFLAGS"
   20975 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   20976 $as_echo_n "checking if RENDER is defined... " >&6; }
   20977 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20978 $as_echo "$_EXT_CHECK" >&6; }
   20979 	if test "$_EXT_CHECK" != no; then
   20980 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20981 	fi
   20982 
   20983 
   20984 	SAVE_CFLAGS="$CFLAGS"
   20985 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20986 	cat >conftest.$ac_ext <<_ACEOF
   20987 /* confdefs.h.  */
   20988 _ACEOF
   20989 cat confdefs.h >>conftest.$ac_ext
   20990 cat >>conftest.$ac_ext <<_ACEOF
   20991 /* end confdefs.h.  */
   20992 
   20993 #include "xorg-server.h"
   20994 #if !defined XV
   20995 #error XV not defined
   20996 #endif
   20997 
   20998 int
   20999 main ()
   21000 {
   21001 
   21002   ;
   21003   return 0;
   21004 }
   21005 _ACEOF
   21006 rm -f conftest.$ac_objext
   21007 if { (ac_try="$ac_compile"
   21008 case "(($ac_try" in
   21009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21010   *) ac_try_echo=$ac_try;;
   21011 esac
   21012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21013 $as_echo "$ac_try_echo") >&5
   21014   (eval "$ac_compile") 2>conftest.er1
   21015   ac_status=$?
   21016   grep -v '^ *+' conftest.er1 >conftest.err
   21017   rm -f conftest.er1
   21018   cat conftest.err >&5
   21019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21020   (exit $ac_status); } && {
   21021 	 test -z "$ac_c_werror_flag" ||
   21022 	 test ! -s conftest.err
   21023        } && test -s conftest.$ac_objext; then
   21024   _EXT_CHECK=yes
   21025 else
   21026   $as_echo "$as_me: failed program was:" >&5
   21027 sed 's/^/| /' conftest.$ac_ext >&5
   21028 
   21029 	_EXT_CHECK=no
   21030 fi
   21031 
   21032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21033 	CFLAGS="$SAVE_CFLAGS"
   21034 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21035 $as_echo_n "checking if XV is defined... " >&6; }
   21036 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21037 $as_echo "$_EXT_CHECK" >&6; }
   21038 	if test "$_EXT_CHECK" != no; then
   21039 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21040 	fi
   21041 
   21042 
   21043 	SAVE_CFLAGS="$CFLAGS"
   21044 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21045 	cat >conftest.$ac_ext <<_ACEOF
   21046 /* confdefs.h.  */
   21047 _ACEOF
   21048 cat confdefs.h >>conftest.$ac_ext
   21049 cat >>conftest.$ac_ext <<_ACEOF
   21050 /* end confdefs.h.  */
   21051 
   21052 #include "xorg-server.h"
   21053 #if !defined DPMSExtension
   21054 #error DPMSExtension not defined
   21055 #endif
   21056 
   21057 int
   21058 main ()
   21059 {
   21060 
   21061   ;
   21062   return 0;
   21063 }
   21064 _ACEOF
   21065 rm -f conftest.$ac_objext
   21066 if { (ac_try="$ac_compile"
   21067 case "(($ac_try" in
   21068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21069   *) ac_try_echo=$ac_try;;
   21070 esac
   21071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21072 $as_echo "$ac_try_echo") >&5
   21073   (eval "$ac_compile") 2>conftest.er1
   21074   ac_status=$?
   21075   grep -v '^ *+' conftest.er1 >conftest.err
   21076   rm -f conftest.er1
   21077   cat conftest.err >&5
   21078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21079   (exit $ac_status); } && {
   21080 	 test -z "$ac_c_werror_flag" ||
   21081 	 test ! -s conftest.err
   21082        } && test -s conftest.$ac_objext; then
   21083   _EXT_CHECK=yes
   21084 else
   21085   $as_echo "$as_me: failed program was:" >&5
   21086 sed 's/^/| /' conftest.$ac_ext >&5
   21087 
   21088 	_EXT_CHECK=no
   21089 fi
   21090 
   21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21092 	CFLAGS="$SAVE_CFLAGS"
   21093 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21094 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21095 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21096 $as_echo "$_EXT_CHECK" >&6; }
   21097 	if test "$_EXT_CHECK" != no; then
   21098 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21099 	fi
   21100 
   21101 
   21102 # Checks for pkg-config packages
   21103 
   21104 
   21105 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21106 	if test -n "$ac_tool_prefix"; then
   21107   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21108 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21110 $as_echo_n "checking for $ac_word... " >&6; }
   21111 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21112   $as_echo_n "(cached) " >&6
   21113 else
   21114   case $PKG_CONFIG in
   21115   [\\/]* | ?:[\\/]*)
   21116   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21117   ;;
   21118   *)
   21119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21120 for as_dir in $PATH
   21121 do
   21122   IFS=$as_save_IFS
   21123   test -z "$as_dir" && as_dir=.
   21124   for ac_exec_ext in '' $ac_executable_extensions; do
   21125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21126     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21127     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21128     break 2
   21129   fi
   21130 done
   21131 done
   21132 IFS=$as_save_IFS
   21133 
   21134   ;;
   21135 esac
   21136 fi
   21137 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21138 if test -n "$PKG_CONFIG"; then
   21139   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21140 $as_echo "$PKG_CONFIG" >&6; }
   21141 else
   21142   { $as_echo "$as_me:$LINENO: result: no" >&5
   21143 $as_echo "no" >&6; }
   21144 fi
   21145 
   21146 
   21147 fi
   21148 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21149   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21150   # Extract the first word of "pkg-config", so it can be a program name with args.
   21151 set dummy pkg-config; ac_word=$2
   21152 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21153 $as_echo_n "checking for $ac_word... " >&6; }
   21154 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21155   $as_echo_n "(cached) " >&6
   21156 else
   21157   case $ac_pt_PKG_CONFIG in
   21158   [\\/]* | ?:[\\/]*)
   21159   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21160   ;;
   21161   *)
   21162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21163 for as_dir in $PATH
   21164 do
   21165   IFS=$as_save_IFS
   21166   test -z "$as_dir" && as_dir=.
   21167   for ac_exec_ext in '' $ac_executable_extensions; do
   21168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21169     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21171     break 2
   21172   fi
   21173 done
   21174 done
   21175 IFS=$as_save_IFS
   21176 
   21177   ;;
   21178 esac
   21179 fi
   21180 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21181 if test -n "$ac_pt_PKG_CONFIG"; then
   21182   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21183 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21184 else
   21185   { $as_echo "$as_me:$LINENO: result: no" >&5
   21186 $as_echo "no" >&6; }
   21187 fi
   21188 
   21189   if test "x$ac_pt_PKG_CONFIG" = x; then
   21190     PKG_CONFIG=""
   21191   else
   21192     case $cross_compiling:$ac_tool_warned in
   21193 yes:)
   21194 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21196 ac_tool_warned=yes ;;
   21197 esac
   21198     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21199   fi
   21200 else
   21201   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21202 fi
   21203 
   21204 fi
   21205 if test -n "$PKG_CONFIG"; then
   21206 	_pkg_min_version=0.9.0
   21207 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21208 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21209 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21210 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21211 $as_echo "yes" >&6; }
   21212 	else
   21213 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21214 $as_echo "no" >&6; }
   21215 		PKG_CONFIG=""
   21216 	fi
   21217 
   21218 fi
   21219 
   21220 pkg_failed=no
   21221 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21222 $as_echo_n "checking for XORG... " >&6; }
   21223 
   21224 if test -n "$XORG_CFLAGS"; then
   21225     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21226  elif test -n "$PKG_CONFIG"; then
   21227     if test -n "$PKG_CONFIG" && \
   21228     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21229   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21230   ac_status=$?
   21231   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21232   (exit $ac_status); }; then
   21233   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21234 else
   21235   pkg_failed=yes
   21236 fi
   21237  else
   21238     pkg_failed=untried
   21239 fi
   21240 if test -n "$XORG_LIBS"; then
   21241     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21242  elif test -n "$PKG_CONFIG"; then
   21243     if test -n "$PKG_CONFIG" && \
   21244     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21245   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21246   ac_status=$?
   21247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21248   (exit $ac_status); }; then
   21249   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21250 else
   21251   pkg_failed=yes
   21252 fi
   21253  else
   21254     pkg_failed=untried
   21255 fi
   21256 
   21257 
   21258 
   21259 if test $pkg_failed = yes; then
   21260 
   21261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21262         _pkg_short_errors_supported=yes
   21263 else
   21264         _pkg_short_errors_supported=no
   21265 fi
   21266         if test $_pkg_short_errors_supported = yes; then
   21267 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21268         else
   21269 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21270         fi
   21271 	# Put the nasty error message in config.log where it belongs
   21272 	echo "$XORG_PKG_ERRORS" >&5
   21273 
   21274 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21275 
   21276 $XORG_PKG_ERRORS
   21277 
   21278 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21279 installed software in a non-standard prefix.
   21280 
   21281 Alternatively, you may set the environment variables XORG_CFLAGS
   21282 and XORG_LIBS to avoid the need to call pkg-config.
   21283 See the pkg-config man page for more details.
   21284 " >&5
   21285 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21286 
   21287 $XORG_PKG_ERRORS
   21288 
   21289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21290 installed software in a non-standard prefix.
   21291 
   21292 Alternatively, you may set the environment variables XORG_CFLAGS
   21293 and XORG_LIBS to avoid the need to call pkg-config.
   21294 See the pkg-config man page for more details.
   21295 " >&2;}
   21296    { (exit 1); exit 1; }; }
   21297 elif test $pkg_failed = untried; then
   21298 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21300 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21301 is in your PATH or set the PKG_CONFIG environment variable to the full
   21302 path to pkg-config.
   21303 
   21304 Alternatively, you may set the environment variables XORG_CFLAGS
   21305 and XORG_LIBS to avoid the need to call pkg-config.
   21306 See the pkg-config man page for more details.
   21307 
   21308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21309 See \`config.log' for more details." >&5
   21310 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21311 is in your PATH or set the PKG_CONFIG environment variable to the full
   21312 path to pkg-config.
   21313 
   21314 Alternatively, you may set the environment variables XORG_CFLAGS
   21315 and XORG_LIBS to avoid the need to call pkg-config.
   21316 See the pkg-config man page for more details.
   21317 
   21318 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21319 See \`config.log' for more details." >&2;}
   21320    { (exit 1); exit 1; }; }; }
   21321 else
   21322 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21323 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21324         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21325 $as_echo "yes" >&6; }
   21326 	:
   21327 fi
   21328 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21329 
   21330 # Checks for libraries.
   21331 SAVE_CPPFLAGS="$CPPFLAGS"
   21332 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21333 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21334 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21335 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21336   $as_echo_n "(cached) " >&6
   21337 else
   21338   cat >conftest.$ac_ext <<_ACEOF
   21339 /* confdefs.h.  */
   21340 _ACEOF
   21341 cat confdefs.h >>conftest.$ac_ext
   21342 cat >>conftest.$ac_ext <<_ACEOF
   21343 /* end confdefs.h.  */
   21344 #include "xorg-server.h"
   21345 
   21346 int
   21347 main ()
   21348 {
   21349 #ifndef XSERVER_LIBPCIACCESS
   21350   (void) XSERVER_LIBPCIACCESS;
   21351 #endif
   21352 
   21353   ;
   21354   return 0;
   21355 }
   21356 _ACEOF
   21357 rm -f conftest.$ac_objext
   21358 if { (ac_try="$ac_compile"
   21359 case "(($ac_try" in
   21360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21361   *) ac_try_echo=$ac_try;;
   21362 esac
   21363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21364 $as_echo "$ac_try_echo") >&5
   21365   (eval "$ac_compile") 2>conftest.er1
   21366   ac_status=$?
   21367   grep -v '^ *+' conftest.er1 >conftest.err
   21368   rm -f conftest.er1
   21369   cat conftest.err >&5
   21370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21371   (exit $ac_status); } && {
   21372 	 test -z "$ac_c_werror_flag" ||
   21373 	 test ! -s conftest.err
   21374        } && test -s conftest.$ac_objext; then
   21375   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21376 else
   21377   $as_echo "$as_me: failed program was:" >&5
   21378 sed 's/^/| /' conftest.$ac_ext >&5
   21379 
   21380 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21381 fi
   21382 
   21383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21384 fi
   21385 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21386 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21387 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21388   XSERVER_LIBPCIACCESS=yes
   21389 else
   21390   XSERVER_LIBPCIACCESS=no
   21391 fi
   21392 
   21393 CPPFLAGS="$SAVE_CPPFLAGS"
   21394 
   21395 # Checks for header files.
   21396 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21397 $as_echo_n "checking for ANSI C header files... " >&6; }
   21398 if test "${ac_cv_header_stdc+set}" = set; then
   21399   $as_echo_n "(cached) " >&6
   21400 else
   21401   cat >conftest.$ac_ext <<_ACEOF
   21402 /* confdefs.h.  */
   21403 _ACEOF
   21404 cat confdefs.h >>conftest.$ac_ext
   21405 cat >>conftest.$ac_ext <<_ACEOF
   21406 /* end confdefs.h.  */
   21407 #include <stdlib.h>
   21408 #include <stdarg.h>
   21409 #include <string.h>
   21410 #include <float.h>
   21411 
   21412 int
   21413 main ()
   21414 {
   21415 
   21416   ;
   21417   return 0;
   21418 }
   21419 _ACEOF
   21420 rm -f conftest.$ac_objext
   21421 if { (ac_try="$ac_compile"
   21422 case "(($ac_try" in
   21423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21424   *) ac_try_echo=$ac_try;;
   21425 esac
   21426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21427 $as_echo "$ac_try_echo") >&5
   21428   (eval "$ac_compile") 2>conftest.er1
   21429   ac_status=$?
   21430   grep -v '^ *+' conftest.er1 >conftest.err
   21431   rm -f conftest.er1
   21432   cat conftest.err >&5
   21433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21434   (exit $ac_status); } && {
   21435 	 test -z "$ac_c_werror_flag" ||
   21436 	 test ! -s conftest.err
   21437        } && test -s conftest.$ac_objext; then
   21438   ac_cv_header_stdc=yes
   21439 else
   21440   $as_echo "$as_me: failed program was:" >&5
   21441 sed 's/^/| /' conftest.$ac_ext >&5
   21442 
   21443 	ac_cv_header_stdc=no
   21444 fi
   21445 
   21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21447 
   21448 if test $ac_cv_header_stdc = yes; then
   21449   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21450   cat >conftest.$ac_ext <<_ACEOF
   21451 /* confdefs.h.  */
   21452 _ACEOF
   21453 cat confdefs.h >>conftest.$ac_ext
   21454 cat >>conftest.$ac_ext <<_ACEOF
   21455 /* end confdefs.h.  */
   21456 #include <string.h>
   21457 
   21458 _ACEOF
   21459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21460   $EGREP "memchr" >/dev/null 2>&1; then
   21461   :
   21462 else
   21463   ac_cv_header_stdc=no
   21464 fi
   21465 rm -f conftest*
   21466 
   21467 fi
   21468 
   21469 if test $ac_cv_header_stdc = yes; then
   21470   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21471   cat >conftest.$ac_ext <<_ACEOF
   21472 /* confdefs.h.  */
   21473 _ACEOF
   21474 cat confdefs.h >>conftest.$ac_ext
   21475 cat >>conftest.$ac_ext <<_ACEOF
   21476 /* end confdefs.h.  */
   21477 #include <stdlib.h>
   21478 
   21479 _ACEOF
   21480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21481   $EGREP "free" >/dev/null 2>&1; then
   21482   :
   21483 else
   21484   ac_cv_header_stdc=no
   21485 fi
   21486 rm -f conftest*
   21487 
   21488 fi
   21489 
   21490 if test $ac_cv_header_stdc = yes; then
   21491   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21492   if test "$cross_compiling" = yes; then
   21493   :
   21494 else
   21495   cat >conftest.$ac_ext <<_ACEOF
   21496 /* confdefs.h.  */
   21497 _ACEOF
   21498 cat confdefs.h >>conftest.$ac_ext
   21499 cat >>conftest.$ac_ext <<_ACEOF
   21500 /* end confdefs.h.  */
   21501 #include <ctype.h>
   21502 #include <stdlib.h>
   21503 #if ((' ' & 0x0FF) == 0x020)
   21504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21506 #else
   21507 # define ISLOWER(c) \
   21508 		   (('a' <= (c) && (c) <= 'i') \
   21509 		     || ('j' <= (c) && (c) <= 'r') \
   21510 		     || ('s' <= (c) && (c) <= 'z'))
   21511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21512 #endif
   21513 
   21514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21515 int
   21516 main ()
   21517 {
   21518   int i;
   21519   for (i = 0; i < 256; i++)
   21520     if (XOR (islower (i), ISLOWER (i))
   21521 	|| toupper (i) != TOUPPER (i))
   21522       return 2;
   21523   return 0;
   21524 }
   21525 _ACEOF
   21526 rm -f conftest$ac_exeext
   21527 if { (ac_try="$ac_link"
   21528 case "(($ac_try" in
   21529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21530   *) ac_try_echo=$ac_try;;
   21531 esac
   21532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21533 $as_echo "$ac_try_echo") >&5
   21534   (eval "$ac_link") 2>&5
   21535   ac_status=$?
   21536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21537   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21538   { (case "(($ac_try" in
   21539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21540   *) ac_try_echo=$ac_try;;
   21541 esac
   21542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21543 $as_echo "$ac_try_echo") >&5
   21544   (eval "$ac_try") 2>&5
   21545   ac_status=$?
   21546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21547   (exit $ac_status); }; }; then
   21548   :
   21549 else
   21550   $as_echo "$as_me: program exited with status $ac_status" >&5
   21551 $as_echo "$as_me: failed program was:" >&5
   21552 sed 's/^/| /' conftest.$ac_ext >&5
   21553 
   21554 ( exit $ac_status )
   21555 ac_cv_header_stdc=no
   21556 fi
   21557 rm -rf conftest.dSYM
   21558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21559 fi
   21560 
   21561 
   21562 fi
   21563 fi
   21564 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21565 $as_echo "$ac_cv_header_stdc" >&6; }
   21566 if test $ac_cv_header_stdc = yes; then
   21567 
   21568 cat >>confdefs.h <<\_ACEOF
   21569 #define STDC_HEADERS 1
   21570 _ACEOF
   21571 
   21572 fi
   21573 
   21574 
   21575 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21576 
   21577 pkg_failed=no
   21578 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   21579 $as_echo_n "checking for PCIACCESS... " >&6; }
   21580 
   21581 if test -n "$PCIACCESS_CFLAGS"; then
   21582     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21583  elif test -n "$PKG_CONFIG"; then
   21584     if test -n "$PKG_CONFIG" && \
   21585     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21586   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21587   ac_status=$?
   21588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21589   (exit $ac_status); }; then
   21590   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   21591 else
   21592   pkg_failed=yes
   21593 fi
   21594  else
   21595     pkg_failed=untried
   21596 fi
   21597 if test -n "$PCIACCESS_LIBS"; then
   21598     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21599  elif test -n "$PKG_CONFIG"; then
   21600     if test -n "$PKG_CONFIG" && \
   21601     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   21602   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   21603   ac_status=$?
   21604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21605   (exit $ac_status); }; then
   21606   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   21607 else
   21608   pkg_failed=yes
   21609 fi
   21610  else
   21611     pkg_failed=untried
   21612 fi
   21613 
   21614 
   21615 
   21616 if test $pkg_failed = yes; then
   21617 
   21618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21619         _pkg_short_errors_supported=yes
   21620 else
   21621         _pkg_short_errors_supported=no
   21622 fi
   21623         if test $_pkg_short_errors_supported = yes; then
   21624 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   21625         else
   21626 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   21627         fi
   21628 	# Put the nasty error message in config.log where it belongs
   21629 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21630 
   21631 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21632 
   21633 $PCIACCESS_PKG_ERRORS
   21634 
   21635 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21636 installed software in a non-standard prefix.
   21637 
   21638 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21639 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21640 See the pkg-config man page for more details.
   21641 " >&5
   21642 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   21643 
   21644 $PCIACCESS_PKG_ERRORS
   21645 
   21646 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21647 installed software in a non-standard prefix.
   21648 
   21649 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21650 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21651 See the pkg-config man page for more details.
   21652 " >&2;}
   21653    { (exit 1); exit 1; }; }
   21654 elif test $pkg_failed = untried; then
   21655 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21657 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21658 is in your PATH or set the PKG_CONFIG environment variable to the full
   21659 path to pkg-config.
   21660 
   21661 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21662 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21663 See the pkg-config man page for more details.
   21664 
   21665 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21666 See \`config.log' for more details." >&5
   21667 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21668 is in your PATH or set the PKG_CONFIG environment variable to the full
   21669 path to pkg-config.
   21670 
   21671 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21672 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21673 See the pkg-config man page for more details.
   21674 
   21675 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21676 See \`config.log' for more details." >&2;}
   21677    { (exit 1); exit 1; }; }; }
   21678 else
   21679 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21680 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21681         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21682 $as_echo "yes" >&6; }
   21683 	:
   21684 fi
   21685     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21686 fi
   21687  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   21688   XSERVER_LIBPCIACCESS_TRUE=
   21689   XSERVER_LIBPCIACCESS_FALSE='#'
   21690 else
   21691   XSERVER_LIBPCIACCESS_TRUE='#'
   21692   XSERVER_LIBPCIACCESS_FALSE=
   21693 fi
   21694 
   21695 
   21696 
   21697 
   21698 
   21699 DRIVER_NAME=nv
   21700 
   21701 
   21702 
   21703 
   21704 
   21705 if test x$APP_MAN_SUFFIX = x    ; then
   21706     APP_MAN_SUFFIX=1
   21707 fi
   21708 if test x$APP_MAN_DIR = x    ; then
   21709     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21710 fi
   21711 
   21712 if test x$LIB_MAN_SUFFIX = x    ; then
   21713     LIB_MAN_SUFFIX=3
   21714 fi
   21715 if test x$LIB_MAN_DIR = x    ; then
   21716     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21717 fi
   21718 
   21719 if test x$FILE_MAN_SUFFIX = x    ; then
   21720     case $host_os in
   21721 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21722 	*)		FILE_MAN_SUFFIX=5  ;;
   21723     esac
   21724 fi
   21725 if test x$FILE_MAN_DIR = x    ; then
   21726     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21727 fi
   21728 
   21729 if test x$MISC_MAN_SUFFIX = x    ; then
   21730     case $host_os in
   21731 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21732 	*)		MISC_MAN_SUFFIX=7  ;;
   21733     esac
   21734 fi
   21735 if test x$MISC_MAN_DIR = x    ; then
   21736     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21737 fi
   21738 
   21739 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21740     case $host_os in
   21741 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21742 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21743     esac
   21744 fi
   21745 if test x$DRIVER_MAN_DIR = x    ; then
   21746     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21747 fi
   21748 
   21749 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21750     case $host_os in
   21751 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21752 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21753     esac
   21754 fi
   21755 if test x$ADMIN_MAN_DIR = x    ; then
   21756     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21757 fi
   21758 
   21759 
   21760 
   21761 
   21762 
   21763 
   21764 
   21765 
   21766 
   21767 
   21768 
   21769 
   21770 
   21771 
   21772 
   21773 
   21774 
   21775 # Check whether --with-release-version was given.
   21776 if test "${with_release_version+set}" = set; then
   21777   withval=$with_release_version; RELEASE_VERSION="$withval"
   21778 else
   21779   RELEASE_VERSION=""
   21780 fi
   21781 
   21782 	if test "x$RELEASE_VERSION" != "x"; then
   21783 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21784 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21785 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21786 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21787 	fi
   21788 
   21789 cat >>confdefs.h <<_ACEOF
   21790 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21791 _ACEOF
   21792 
   21793 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21794 	if test "x$PVM" = "x"; then
   21795 		PVM="0"
   21796 	fi
   21797 
   21798 cat >>confdefs.h <<_ACEOF
   21799 #define PACKAGE_VERSION_MINOR $PVM
   21800 _ACEOF
   21801 
   21802 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21803 	if test "x$PVP" = "x"; then
   21804 		PVP="0"
   21805 	fi
   21806 
   21807 cat >>confdefs.h <<_ACEOF
   21808 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21809 _ACEOF
   21810 
   21811 
   21812 
   21813 ac_config_files="$ac_config_files Makefile src/Makefile"
   21814 
   21815 cat >confcache <<\_ACEOF
   21816 # This file is a shell script that caches the results of configure
   21817 # tests run on this system so they can be shared between configure
   21818 # scripts and configure runs, see configure's option --config-cache.
   21819 # It is not useful on other systems.  If it contains results you don't
   21820 # want to keep, you may remove or edit it.
   21821 #
   21822 # config.status only pays attention to the cache file if you give it
   21823 # the --recheck option to rerun configure.
   21824 #
   21825 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21826 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21827 # following values.
   21828 
   21829 _ACEOF
   21830 
   21831 # The following way of writing the cache mishandles newlines in values,
   21832 # but we know of no workaround that is simple, portable, and efficient.
   21833 # So, we kill variables containing newlines.
   21834 # Ultrix sh set writes to stderr and can't be redirected directly,
   21835 # and sets the high bit in the cache file unless we assign to the vars.
   21836 (
   21837   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21838     eval ac_val=\$$ac_var
   21839     case $ac_val in #(
   21840     *${as_nl}*)
   21841       case $ac_var in #(
   21842       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21843 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21844       esac
   21845       case $ac_var in #(
   21846       _ | IFS | as_nl) ;; #(
   21847       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21848       *) $as_unset $ac_var ;;
   21849       esac ;;
   21850     esac
   21851   done
   21852 
   21853   (set) 2>&1 |
   21854     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21855     *${as_nl}ac_space=\ *)
   21856       # `set' does not quote correctly, so add quotes (double-quote
   21857       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21858       sed -n \
   21859 	"s/'/'\\\\''/g;
   21860 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21861       ;; #(
   21862     *)
   21863       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21864       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21865       ;;
   21866     esac |
   21867     sort
   21868 ) |
   21869   sed '
   21870      /^ac_cv_env_/b end
   21871      t clear
   21872      :clear
   21873      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21874      t end
   21875      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21876      :end' >>confcache
   21877 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21878   if test -w "$cache_file"; then
   21879     test "x$cache_file" != "x/dev/null" &&
   21880       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21881 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21882     cat confcache >$cache_file
   21883   else
   21884     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21885 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21886   fi
   21887 fi
   21888 rm -f confcache
   21889 
   21890 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21891 # Let make expand exec_prefix.
   21892 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21893 
   21894 DEFS=-DHAVE_CONFIG_H
   21895 
   21896 ac_libobjs=
   21897 ac_ltlibobjs=
   21898 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21899   # 1. Remove the extension, and $U if already installed.
   21900   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21901   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21902   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21903   #    will be set to the directory where LIBOBJS objects are built.
   21904   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21905   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21906 done
   21907 LIBOBJS=$ac_libobjs
   21908 
   21909 LTLIBOBJS=$ac_ltlibobjs
   21910 
   21911 
   21912  if test -n "$EXEEXT"; then
   21913   am__EXEEXT_TRUE=
   21914   am__EXEEXT_FALSE='#'
   21915 else
   21916   am__EXEEXT_TRUE='#'
   21917   am__EXEEXT_FALSE=
   21918 fi
   21919 
   21920 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21921   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21922 Usually this means the macro was only invoked conditionally." >&5
   21923 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21924 Usually this means the macro was only invoked conditionally." >&2;}
   21925    { (exit 1); exit 1; }; }
   21926 fi
   21927 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21928   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21929 Usually this means the macro was only invoked conditionally." >&5
   21930 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21931 Usually this means the macro was only invoked conditionally." >&2;}
   21932    { (exit 1); exit 1; }; }
   21933 fi
   21934 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21935   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21936 Usually this means the macro was only invoked conditionally." >&5
   21937 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21938 Usually this means the macro was only invoked conditionally." >&2;}
   21939    { (exit 1); exit 1; }; }
   21940 fi
   21941 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21942   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21943 Usually this means the macro was only invoked conditionally." >&5
   21944 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21945 Usually this means the macro was only invoked conditionally." >&2;}
   21946    { (exit 1); exit 1; }; }
   21947 fi
   21948 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21949   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21950 Usually this means the macro was only invoked conditionally." >&5
   21951 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21952 Usually this means the macro was only invoked conditionally." >&2;}
   21953    { (exit 1); exit 1; }; }
   21954 fi
   21955 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   21956   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21957 Usually this means the macro was only invoked conditionally." >&5
   21958 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   21959 Usually this means the macro was only invoked conditionally." >&2;}
   21960    { (exit 1); exit 1; }; }
   21961 fi
   21962 
   21963 : ${CONFIG_STATUS=./config.status}
   21964 ac_write_fail=0
   21965 ac_clean_files_save=$ac_clean_files
   21966 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21967 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21968 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21969 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21970 #! $SHELL
   21971 # Generated by $as_me.
   21972 # Run this file to recreate the current configuration.
   21973 # Compiler output produced by configure, useful for debugging
   21974 # configure, is in config.log if it exists.
   21975 
   21976 debug=false
   21977 ac_cs_recheck=false
   21978 ac_cs_silent=false
   21979 SHELL=\${CONFIG_SHELL-$SHELL}
   21980 _ACEOF
   21981 
   21982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21983 ## --------------------- ##
   21984 ## M4sh Initialization.  ##
   21985 ## --------------------- ##
   21986 
   21987 # Be more Bourne compatible
   21988 DUALCASE=1; export DUALCASE # for MKS sh
   21989 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21990   emulate sh
   21991   NULLCMD=:
   21992   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21993   # is contrary to our usage.  Disable this feature.
   21994   alias -g '${1+"$@"}'='"$@"'
   21995   setopt NO_GLOB_SUBST
   21996 else
   21997   case `(set -o) 2>/dev/null` in
   21998   *posix*) set -o posix ;;
   21999 esac
   22000 
   22001 fi
   22002 
   22003 
   22004 
   22005 
   22006 # PATH needs CR
   22007 # Avoid depending upon Character Ranges.
   22008 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22009 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22010 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22011 as_cr_digits='0123456789'
   22012 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22013 
   22014 as_nl='
   22015 '
   22016 export as_nl
   22017 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22018 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22020 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22021 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22022   as_echo='printf %s\n'
   22023   as_echo_n='printf %s'
   22024 else
   22025   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22026     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22027     as_echo_n='/usr/ucb/echo -n'
   22028   else
   22029     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22030     as_echo_n_body='eval
   22031       arg=$1;
   22032       case $arg in
   22033       *"$as_nl"*)
   22034 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22035 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22036       esac;
   22037       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22038     '
   22039     export as_echo_n_body
   22040     as_echo_n='sh -c $as_echo_n_body as_echo'
   22041   fi
   22042   export as_echo_body
   22043   as_echo='sh -c $as_echo_body as_echo'
   22044 fi
   22045 
   22046 # The user is always right.
   22047 if test "${PATH_SEPARATOR+set}" != set; then
   22048   PATH_SEPARATOR=:
   22049   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22050     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22051       PATH_SEPARATOR=';'
   22052   }
   22053 fi
   22054 
   22055 # Support unset when possible.
   22056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22057   as_unset=unset
   22058 else
   22059   as_unset=false
   22060 fi
   22061 
   22062 
   22063 # IFS
   22064 # We need space, tab and new line, in precisely that order.  Quoting is
   22065 # there to prevent editors from complaining about space-tab.
   22066 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22067 # splitting by setting IFS to empty value.)
   22068 IFS=" ""	$as_nl"
   22069 
   22070 # Find who we are.  Look in the path if we contain no directory separator.
   22071 case $0 in
   22072   *[\\/]* ) as_myself=$0 ;;
   22073   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22074 for as_dir in $PATH
   22075 do
   22076   IFS=$as_save_IFS
   22077   test -z "$as_dir" && as_dir=.
   22078   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22079 done
   22080 IFS=$as_save_IFS
   22081 
   22082      ;;
   22083 esac
   22084 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22085 # in which case we are not to be found in the path.
   22086 if test "x$as_myself" = x; then
   22087   as_myself=$0
   22088 fi
   22089 if test ! -f "$as_myself"; then
   22090   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22091   { (exit 1); exit 1; }
   22092 fi
   22093 
   22094 # Work around bugs in pre-3.0 UWIN ksh.
   22095 for as_var in ENV MAIL MAILPATH
   22096 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22097 done
   22098 PS1='$ '
   22099 PS2='> '
   22100 PS4='+ '
   22101 
   22102 # NLS nuisances.
   22103 LC_ALL=C
   22104 export LC_ALL
   22105 LANGUAGE=C
   22106 export LANGUAGE
   22107 
   22108 # Required to use basename.
   22109 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22110    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22111   as_expr=expr
   22112 else
   22113   as_expr=false
   22114 fi
   22115 
   22116 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22117   as_basename=basename
   22118 else
   22119   as_basename=false
   22120 fi
   22121 
   22122 
   22123 # Name of the executable.
   22124 as_me=`$as_basename -- "$0" ||
   22125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22126 	 X"$0" : 'X\(//\)$' \| \
   22127 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22128 $as_echo X/"$0" |
   22129     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22130 	    s//\1/
   22131 	    q
   22132 	  }
   22133 	  /^X\/\(\/\/\)$/{
   22134 	    s//\1/
   22135 	    q
   22136 	  }
   22137 	  /^X\/\(\/\).*/{
   22138 	    s//\1/
   22139 	    q
   22140 	  }
   22141 	  s/.*/./; q'`
   22142 
   22143 # CDPATH.
   22144 $as_unset CDPATH
   22145 
   22146 
   22147 
   22148   as_lineno_1=$LINENO
   22149   as_lineno_2=$LINENO
   22150   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22151   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22152 
   22153   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22154   # uniformly replaced by the line number.  The first 'sed' inserts a
   22155   # line-number line after each line using $LINENO; the second 'sed'
   22156   # does the real work.  The second script uses 'N' to pair each
   22157   # line-number line with the line containing $LINENO, and appends
   22158   # trailing '-' during substitution so that $LINENO is not a special
   22159   # case at line end.
   22160   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22161   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22162   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22163   sed -n '
   22164     p
   22165     /[$]LINENO/=
   22166   ' <$as_myself |
   22167     sed '
   22168       s/[$]LINENO.*/&-/
   22169       t lineno
   22170       b
   22171       :lineno
   22172       N
   22173       :loop
   22174       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22175       t loop
   22176       s/-\n.*//
   22177     ' >$as_me.lineno &&
   22178   chmod +x "$as_me.lineno" ||
   22179     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22180    { (exit 1); exit 1; }; }
   22181 
   22182   # Don't try to exec as it changes $[0], causing all sort of problems
   22183   # (the dirname of $[0] is not the place where we might find the
   22184   # original and so on.  Autoconf is especially sensitive to this).
   22185   . "./$as_me.lineno"
   22186   # Exit status is that of the last command.
   22187   exit
   22188 }
   22189 
   22190 
   22191 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22192   as_dirname=dirname
   22193 else
   22194   as_dirname=false
   22195 fi
   22196 
   22197 ECHO_C= ECHO_N= ECHO_T=
   22198 case `echo -n x` in
   22199 -n*)
   22200   case `echo 'x\c'` in
   22201   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22202   *)   ECHO_C='\c';;
   22203   esac;;
   22204 *)
   22205   ECHO_N='-n';;
   22206 esac
   22207 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22208    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22209   as_expr=expr
   22210 else
   22211   as_expr=false
   22212 fi
   22213 
   22214 rm -f conf$$ conf$$.exe conf$$.file
   22215 if test -d conf$$.dir; then
   22216   rm -f conf$$.dir/conf$$.file
   22217 else
   22218   rm -f conf$$.dir
   22219   mkdir conf$$.dir 2>/dev/null
   22220 fi
   22221 if (echo >conf$$.file) 2>/dev/null; then
   22222   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22223     as_ln_s='ln -s'
   22224     # ... but there are two gotchas:
   22225     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22226     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22227     # In both cases, we have to default to `cp -p'.
   22228     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22229       as_ln_s='cp -p'
   22230   elif ln conf$$.file conf$$ 2>/dev/null; then
   22231     as_ln_s=ln
   22232   else
   22233     as_ln_s='cp -p'
   22234   fi
   22235 else
   22236   as_ln_s='cp -p'
   22237 fi
   22238 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22239 rmdir conf$$.dir 2>/dev/null
   22240 
   22241 if mkdir -p . 2>/dev/null; then
   22242   as_mkdir_p=:
   22243 else
   22244   test -d ./-p && rmdir ./-p
   22245   as_mkdir_p=false
   22246 fi
   22247 
   22248 if test -x / >/dev/null 2>&1; then
   22249   as_test_x='test -x'
   22250 else
   22251   if ls -dL / >/dev/null 2>&1; then
   22252     as_ls_L_option=L
   22253   else
   22254     as_ls_L_option=
   22255   fi
   22256   as_test_x='
   22257     eval sh -c '\''
   22258       if test -d "$1"; then
   22259 	test -d "$1/.";
   22260       else
   22261 	case $1 in
   22262 	-*)set "./$1";;
   22263 	esac;
   22264 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22265 	???[sx]*):;;*)false;;esac;fi
   22266     '\'' sh
   22267   '
   22268 fi
   22269 as_executable_p=$as_test_x
   22270 
   22271 # Sed expression to map a string onto a valid CPP name.
   22272 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22273 
   22274 # Sed expression to map a string onto a valid variable name.
   22275 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22276 
   22277 
   22278 exec 6>&1
   22279 
   22280 # Save the log message, to keep $[0] and so on meaningful, and to
   22281 # report actual input values of CONFIG_FILES etc. instead of their
   22282 # values after options handling.
   22283 ac_log="
   22284 This file was extended by xf86-video-ast $as_me 0.89.9, which was
   22285 generated by GNU Autoconf 2.63.  Invocation command line was
   22286 
   22287   CONFIG_FILES    = $CONFIG_FILES
   22288   CONFIG_HEADERS  = $CONFIG_HEADERS
   22289   CONFIG_LINKS    = $CONFIG_LINKS
   22290   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22291   $ $0 $@
   22292 
   22293 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22294 "
   22295 
   22296 _ACEOF
   22297 
   22298 case $ac_config_files in *"
   22299 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22300 esac
   22301 
   22302 case $ac_config_headers in *"
   22303 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22304 esac
   22305 
   22306 
   22307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22308 # Files that config.status was made for.
   22309 config_files="$ac_config_files"
   22310 config_headers="$ac_config_headers"
   22311 config_commands="$ac_config_commands"
   22312 
   22313 _ACEOF
   22314 
   22315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22316 ac_cs_usage="\
   22317 \`$as_me' instantiates files from templates according to the
   22318 current configuration.
   22319 
   22320 Usage: $0 [OPTION]... [FILE]...
   22321 
   22322   -h, --help       print this help, then exit
   22323   -V, --version    print version number and configuration settings, then exit
   22324   -q, --quiet, --silent
   22325                    do not print progress messages
   22326   -d, --debug      don't remove temporary files
   22327       --recheck    update $as_me by reconfiguring in the same conditions
   22328       --file=FILE[:TEMPLATE]
   22329                    instantiate the configuration file FILE
   22330       --header=FILE[:TEMPLATE]
   22331                    instantiate the configuration header FILE
   22332 
   22333 Configuration files:
   22334 $config_files
   22335 
   22336 Configuration headers:
   22337 $config_headers
   22338 
   22339 Configuration commands:
   22340 $config_commands
   22341 
   22342 Report bugs to <bug-autoconf (at] gnu.org>."
   22343 
   22344 _ACEOF
   22345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22346 ac_cs_version="\\
   22347 xf86-video-ast config.status 0.89.9
   22348 configured by $0, generated by GNU Autoconf 2.63,
   22349   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22350 
   22351 Copyright (C) 2008 Free Software Foundation, Inc.
   22352 This config.status script is free software; the Free Software Foundation
   22353 gives unlimited permission to copy, distribute and modify it."
   22354 
   22355 ac_pwd='$ac_pwd'
   22356 srcdir='$srcdir'
   22357 INSTALL='$INSTALL'
   22358 MKDIR_P='$MKDIR_P'
   22359 AWK='$AWK'
   22360 test -n "\$AWK" || AWK=awk
   22361 _ACEOF
   22362 
   22363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22364 # The default lists apply if the user does not specify any file.
   22365 ac_need_defaults=:
   22366 while test $# != 0
   22367 do
   22368   case $1 in
   22369   --*=*)
   22370     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22371     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22372     ac_shift=:
   22373     ;;
   22374   *)
   22375     ac_option=$1
   22376     ac_optarg=$2
   22377     ac_shift=shift
   22378     ;;
   22379   esac
   22380 
   22381   case $ac_option in
   22382   # Handling of the options.
   22383   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22384     ac_cs_recheck=: ;;
   22385   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22386     $as_echo "$ac_cs_version"; exit ;;
   22387   --debug | --debu | --deb | --de | --d | -d )
   22388     debug=: ;;
   22389   --file | --fil | --fi | --f )
   22390     $ac_shift
   22391     case $ac_optarg in
   22392     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22393     esac
   22394     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22395     ac_need_defaults=false;;
   22396   --header | --heade | --head | --hea )
   22397     $ac_shift
   22398     case $ac_optarg in
   22399     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22400     esac
   22401     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22402     ac_need_defaults=false;;
   22403   --he | --h)
   22404     # Conflict between --help and --header
   22405     { $as_echo "$as_me: error: ambiguous option: $1
   22406 Try \`$0 --help' for more information." >&2
   22407    { (exit 1); exit 1; }; };;
   22408   --help | --hel | -h )
   22409     $as_echo "$ac_cs_usage"; exit ;;
   22410   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22411   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22412     ac_cs_silent=: ;;
   22413 
   22414   # This is an error.
   22415   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22416 Try \`$0 --help' for more information." >&2
   22417    { (exit 1); exit 1; }; } ;;
   22418 
   22419   *) ac_config_targets="$ac_config_targets $1"
   22420      ac_need_defaults=false ;;
   22421 
   22422   esac
   22423   shift
   22424 done
   22425 
   22426 ac_configure_extra_args=
   22427 
   22428 if $ac_cs_silent; then
   22429   exec 6>/dev/null
   22430   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22431 fi
   22432 
   22433 _ACEOF
   22434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22435 if \$ac_cs_recheck; then
   22436   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22437   shift
   22438   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22439   CONFIG_SHELL='$SHELL'
   22440   export CONFIG_SHELL
   22441   exec "\$@"
   22442 fi
   22443 
   22444 _ACEOF
   22445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22446 exec 5>>config.log
   22447 {
   22448   echo
   22449   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22450 ## Running $as_me. ##
   22451 _ASBOX
   22452   $as_echo "$ac_log"
   22453 } >&5
   22454 
   22455 _ACEOF
   22456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22457 #
   22458 # INIT-COMMANDS
   22459 #
   22460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22461 
   22462 _ACEOF
   22463 
   22464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22465 
   22466 # Handling of arguments.
   22467 for ac_config_target in $ac_config_targets
   22468 do
   22469   case $ac_config_target in
   22470     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22471     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22472     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22473     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22474 
   22475   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22476 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22477    { (exit 1); exit 1; }; };;
   22478   esac
   22479 done
   22480 
   22481 
   22482 # If the user did not use the arguments to specify the items to instantiate,
   22483 # then the envvar interface is used.  Set only those that are not.
   22484 # We use the long form for the default assignment because of an extremely
   22485 # bizarre bug on SunOS 4.1.3.
   22486 if $ac_need_defaults; then
   22487   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22488   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22489   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22490 fi
   22491 
   22492 # Have a temporary directory for convenience.  Make it in the build tree
   22493 # simply because there is no reason against having it here, and in addition,
   22494 # creating and moving files from /tmp can sometimes cause problems.
   22495 # Hook for its removal unless debugging.
   22496 # Note that there is a small window in which the directory will not be cleaned:
   22497 # after its creation but before its name has been assigned to `$tmp'.
   22498 $debug ||
   22499 {
   22500   tmp=
   22501   trap 'exit_status=$?
   22502   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22503 ' 0
   22504   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22505 }
   22506 # Create a (secure) tmp directory for tmp files.
   22507 
   22508 {
   22509   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22510   test -n "$tmp" && test -d "$tmp"
   22511 }  ||
   22512 {
   22513   tmp=./conf$$-$RANDOM
   22514   (umask 077 && mkdir "$tmp")
   22515 } ||
   22516 {
   22517    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22518    { (exit 1); exit 1; }
   22519 }
   22520 
   22521 # Set up the scripts for CONFIG_FILES section.
   22522 # No need to generate them if there are no CONFIG_FILES.
   22523 # This happens for instance with `./config.status config.h'.
   22524 if test -n "$CONFIG_FILES"; then
   22525 
   22526 
   22527 ac_cr='
'
   22529 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22530 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22531   ac_cs_awk_cr='\\r'
   22532 else
   22533   ac_cs_awk_cr=$ac_cr
   22534 fi
   22535 
   22536 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22537 _ACEOF
   22538 
   22539 
   22540 {
   22541   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22542   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22543   echo "_ACEOF"
   22544 } >conf$$subs.sh ||
   22545   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22546 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22547    { (exit 1); exit 1; }; }
   22548 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22549 ac_delim='%!_!# '
   22550 for ac_last_try in false false false false false :; do
   22551   . ./conf$$subs.sh ||
   22552     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22553 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22554    { (exit 1); exit 1; }; }
   22555 
   22556   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22557   if test $ac_delim_n = $ac_delim_num; then
   22558     break
   22559   elif $ac_last_try; then
   22560     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22561 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22562    { (exit 1); exit 1; }; }
   22563   else
   22564     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22565   fi
   22566 done
   22567 rm -f conf$$subs.sh
   22568 
   22569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22570 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22571 _ACEOF
   22572 sed -n '
   22573 h
   22574 s/^/S["/; s/!.*/"]=/
   22575 p
   22576 g
   22577 s/^[^!]*!//
   22578 :repl
   22579 t repl
   22580 s/'"$ac_delim"'$//
   22581 t delim
   22582 :nl
   22583 h
   22584 s/\(.\{148\}\).*/\1/
   22585 t more1
   22586 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22587 p
   22588 n
   22589 b repl
   22590 :more1
   22591 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22592 p
   22593 g
   22594 s/.\{148\}//
   22595 t nl
   22596 :delim
   22597 h
   22598 s/\(.\{148\}\).*/\1/
   22599 t more2
   22600 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22601 p
   22602 b
   22603 :more2
   22604 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22605 p
   22606 g
   22607 s/.\{148\}//
   22608 t delim
   22609 ' <conf$$subs.awk | sed '
   22610 /^[^""]/{
   22611   N
   22612   s/\n//
   22613 }
   22614 ' >>$CONFIG_STATUS || ac_write_fail=1
   22615 rm -f conf$$subs.awk
   22616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22617 _ACAWK
   22618 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22619   for (key in S) S_is_set[key] = 1
   22620   FS = ""
   22621 
   22622 }
   22623 {
   22624   line = $ 0
   22625   nfields = split(line, field, "@")
   22626   substed = 0
   22627   len = length(field[1])
   22628   for (i = 2; i < nfields; i++) {
   22629     key = field[i]
   22630     keylen = length(key)
   22631     if (S_is_set[key]) {
   22632       value = S[key]
   22633       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22634       len += length(value) + length(field[++i])
   22635       substed = 1
   22636     } else
   22637       len += 1 + keylen
   22638   }
   22639 
   22640   print line
   22641 }
   22642 
   22643 _ACAWK
   22644 _ACEOF
   22645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22646 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22647   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22648 else
   22649   cat
   22650 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22651   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22652 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22653    { (exit 1); exit 1; }; }
   22654 _ACEOF
   22655 
   22656 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22657 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22658 # trailing colons and then remove the whole line if VPATH becomes empty
   22659 # (actually we leave an empty line to preserve line numbers).
   22660 if test "x$srcdir" = x.; then
   22661   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22662 s/:*\$(srcdir):*/:/
   22663 s/:*\${srcdir}:*/:/
   22664 s/:*@srcdir@:*/:/
   22665 s/^\([^=]*=[	 ]*\):*/\1/
   22666 s/:*$//
   22667 s/^[^=]*=[	 ]*$//
   22668 }'
   22669 fi
   22670 
   22671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22672 fi # test -n "$CONFIG_FILES"
   22673 
   22674 # Set up the scripts for CONFIG_HEADERS section.
   22675 # No need to generate them if there are no CONFIG_HEADERS.
   22676 # This happens for instance with `./config.status Makefile'.
   22677 if test -n "$CONFIG_HEADERS"; then
   22678 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22679 BEGIN {
   22680 _ACEOF
   22681 
   22682 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22683 # here-document in config.status, that substitutes the proper values into
   22684 # config.h.in to produce config.h.
   22685 
   22686 # Create a delimiter string that does not exist in confdefs.h, to ease
   22687 # handling of long lines.
   22688 ac_delim='%!_!# '
   22689 for ac_last_try in false false :; do
   22690   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22691   if test -z "$ac_t"; then
   22692     break
   22693   elif $ac_last_try; then
   22694     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22695 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22696    { (exit 1); exit 1; }; }
   22697   else
   22698     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22699   fi
   22700 done
   22701 
   22702 # For the awk script, D is an array of macro values keyed by name,
   22703 # likewise P contains macro parameters if any.  Preserve backslash
   22704 # newline sequences.
   22705 
   22706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22707 sed -n '
   22708 s/.\{148\}/&'"$ac_delim"'/g
   22709 t rset
   22710 :rset
   22711 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22712 t def
   22713 d
   22714 :def
   22715 s/\\$//
   22716 t bsnl
   22717 s/["\\]/\\&/g
   22718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22719 D["\1"]=" \3"/p
   22720 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22721 d
   22722 :bsnl
   22723 s/["\\]/\\&/g
   22724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22725 D["\1"]=" \3\\\\\\n"\\/p
   22726 t cont
   22727 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22728 t cont
   22729 d
   22730 :cont
   22731 n
   22732 s/.\{148\}/&'"$ac_delim"'/g
   22733 t clear
   22734 :clear
   22735 s/\\$//
   22736 t bsnlc
   22737 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22738 d
   22739 :bsnlc
   22740 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22741 b cont
   22742 ' <confdefs.h | sed '
   22743 s/'"$ac_delim"'/"\\\
   22744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22745 
   22746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22747   for (key in D) D_is_set[key] = 1
   22748   FS = ""
   22749 }
   22750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22751   line = \$ 0
   22752   split(line, arg, " ")
   22753   if (arg[1] == "#") {
   22754     defundef = arg[2]
   22755     mac1 = arg[3]
   22756   } else {
   22757     defundef = substr(arg[1], 2)
   22758     mac1 = arg[2]
   22759   }
   22760   split(mac1, mac2, "(") #)
   22761   macro = mac2[1]
   22762   prefix = substr(line, 1, index(line, defundef) - 1)
   22763   if (D_is_set[macro]) {
   22764     # Preserve the white space surrounding the "#".
   22765     print prefix "define", macro P[macro] D[macro]
   22766     next
   22767   } else {
   22768     # Replace #undef with comments.  This is necessary, for example,
   22769     # in the case of _POSIX_SOURCE, which is predefined and required
   22770     # on some systems where configure will not decide to define it.
   22771     if (defundef == "undef") {
   22772       print "/*", prefix defundef, macro, "*/"
   22773       next
   22774     }
   22775   }
   22776 }
   22777 { print }
   22778 _ACAWK
   22779 _ACEOF
   22780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22781   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22782 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22783    { (exit 1); exit 1; }; }
   22784 fi # test -n "$CONFIG_HEADERS"
   22785 
   22786 
   22787 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22788 shift
   22789 for ac_tag
   22790 do
   22791   case $ac_tag in
   22792   :[FHLC]) ac_mode=$ac_tag; continue;;
   22793   esac
   22794   case $ac_mode$ac_tag in
   22795   :[FHL]*:*);;
   22796   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22797 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22798    { (exit 1); exit 1; }; };;
   22799   :[FH]-) ac_tag=-:-;;
   22800   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22801   esac
   22802   ac_save_IFS=$IFS
   22803   IFS=:
   22804   set x $ac_tag
   22805   IFS=$ac_save_IFS
   22806   shift
   22807   ac_file=$1
   22808   shift
   22809 
   22810   case $ac_mode in
   22811   :L) ac_source=$1;;
   22812   :[FH])
   22813     ac_file_inputs=
   22814     for ac_f
   22815     do
   22816       case $ac_f in
   22817       -) ac_f="$tmp/stdin";;
   22818       *) # Look for the file first in the build tree, then in the source tree
   22819 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22820 	 # because $ac_f cannot contain `:'.
   22821 	 test -f "$ac_f" ||
   22822 	   case $ac_f in
   22823 	   [\\/$]*) false;;
   22824 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22825 	   esac ||
   22826 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22827 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22828    { (exit 1); exit 1; }; };;
   22829       esac
   22830       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22831       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22832     done
   22833 
   22834     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22835     # use $as_me), people would be surprised to read:
   22836     #    /* config.h.  Generated by config.status.  */
   22837     configure_input='Generated from '`
   22838 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22839 	`' by configure.'
   22840     if test x"$ac_file" != x-; then
   22841       configure_input="$ac_file.  $configure_input"
   22842       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22843 $as_echo "$as_me: creating $ac_file" >&6;}
   22844     fi
   22845     # Neutralize special characters interpreted by sed in replacement strings.
   22846     case $configure_input in #(
   22847     *\&* | *\|* | *\\* )
   22848        ac_sed_conf_input=`$as_echo "$configure_input" |
   22849        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22850     *) ac_sed_conf_input=$configure_input;;
   22851     esac
   22852 
   22853     case $ac_tag in
   22854     *:-:* | *:-) cat >"$tmp/stdin" \
   22855       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22856 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22857    { (exit 1); exit 1; }; } ;;
   22858     esac
   22859     ;;
   22860   esac
   22861 
   22862   ac_dir=`$as_dirname -- "$ac_file" ||
   22863 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22864 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22865 	 X"$ac_file" : 'X\(//\)$' \| \
   22866 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22867 $as_echo X"$ac_file" |
   22868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22869 	    s//\1/
   22870 	    q
   22871 	  }
   22872 	  /^X\(\/\/\)[^/].*/{
   22873 	    s//\1/
   22874 	    q
   22875 	  }
   22876 	  /^X\(\/\/\)$/{
   22877 	    s//\1/
   22878 	    q
   22879 	  }
   22880 	  /^X\(\/\).*/{
   22881 	    s//\1/
   22882 	    q
   22883 	  }
   22884 	  s/.*/./; q'`
   22885   { as_dir="$ac_dir"
   22886   case $as_dir in #(
   22887   -*) as_dir=./$as_dir;;
   22888   esac
   22889   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22890     as_dirs=
   22891     while :; do
   22892       case $as_dir in #(
   22893       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22894       *) as_qdir=$as_dir;;
   22895       esac
   22896       as_dirs="'$as_qdir' $as_dirs"
   22897       as_dir=`$as_dirname -- "$as_dir" ||
   22898 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22899 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22900 	 X"$as_dir" : 'X\(//\)$' \| \
   22901 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22902 $as_echo X"$as_dir" |
   22903     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22904 	    s//\1/
   22905 	    q
   22906 	  }
   22907 	  /^X\(\/\/\)[^/].*/{
   22908 	    s//\1/
   22909 	    q
   22910 	  }
   22911 	  /^X\(\/\/\)$/{
   22912 	    s//\1/
   22913 	    q
   22914 	  }
   22915 	  /^X\(\/\).*/{
   22916 	    s//\1/
   22917 	    q
   22918 	  }
   22919 	  s/.*/./; q'`
   22920       test -d "$as_dir" && break
   22921     done
   22922     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22923   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22924 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22925    { (exit 1); exit 1; }; }; }
   22926   ac_builddir=.
   22927 
   22928 case "$ac_dir" in
   22929 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22930 *)
   22931   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22932   # A ".." for each directory in $ac_dir_suffix.
   22933   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22934   case $ac_top_builddir_sub in
   22935   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22936   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22937   esac ;;
   22938 esac
   22939 ac_abs_top_builddir=$ac_pwd
   22940 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22941 # for backward compatibility:
   22942 ac_top_builddir=$ac_top_build_prefix
   22943 
   22944 case $srcdir in
   22945   .)  # We are building in place.
   22946     ac_srcdir=.
   22947     ac_top_srcdir=$ac_top_builddir_sub
   22948     ac_abs_top_srcdir=$ac_pwd ;;
   22949   [\\/]* | ?:[\\/]* )  # Absolute name.
   22950     ac_srcdir=$srcdir$ac_dir_suffix;
   22951     ac_top_srcdir=$srcdir
   22952     ac_abs_top_srcdir=$srcdir ;;
   22953   *) # Relative name.
   22954     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22955     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22956     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22957 esac
   22958 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22959 
   22960 
   22961   case $ac_mode in
   22962   :F)
   22963   #
   22964   # CONFIG_FILE
   22965   #
   22966 
   22967   case $INSTALL in
   22968   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22969   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22970   esac
   22971   ac_MKDIR_P=$MKDIR_P
   22972   case $MKDIR_P in
   22973   [\\/$]* | ?:[\\/]* ) ;;
   22974   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22975   esac
   22976 _ACEOF
   22977 
   22978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22979 # If the template does not know about datarootdir, expand it.
   22980 # FIXME: This hack should be removed a few years after 2.60.
   22981 ac_datarootdir_hack=; ac_datarootdir_seen=
   22982 
   22983 ac_sed_dataroot='
   22984 /datarootdir/ {
   22985   p
   22986   q
   22987 }
   22988 /@datadir@/p
   22989 /@docdir@/p
   22990 /@infodir@/p
   22991 /@localedir@/p
   22992 /@mandir@/p
   22993 '
   22994 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22995 *datarootdir*) ac_datarootdir_seen=yes;;
   22996 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22997   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22998 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22999 _ACEOF
   23000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23001   ac_datarootdir_hack='
   23002   s&@datadir@&$datadir&g
   23003   s&@docdir@&$docdir&g
   23004   s&@infodir@&$infodir&g
   23005   s&@localedir@&$localedir&g
   23006   s&@mandir@&$mandir&g
   23007     s&\\\${datarootdir}&$datarootdir&g' ;;
   23008 esac
   23009 _ACEOF
   23010 
   23011 # Neutralize VPATH when `$srcdir' = `.'.
   23012 # Shell code in configure.ac might set extrasub.
   23013 # FIXME: do we really want to maintain this feature?
   23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23015 ac_sed_extra="$ac_vpsub
   23016 $extrasub
   23017 _ACEOF
   23018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23019 :t
   23020 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23021 s|@configure_input@|$ac_sed_conf_input|;t t
   23022 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23023 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23024 s&@srcdir@&$ac_srcdir&;t t
   23025 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23026 s&@top_srcdir@&$ac_top_srcdir&;t t
   23027 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23028 s&@builddir@&$ac_builddir&;t t
   23029 s&@abs_builddir@&$ac_abs_builddir&;t t
   23030 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23031 s&@INSTALL@&$ac_INSTALL&;t t
   23032 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23033 $ac_datarootdir_hack
   23034 "
   23035 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23036   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23037 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23038    { (exit 1); exit 1; }; }
   23039 
   23040 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23041   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23042   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23043   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23044 which seems to be undefined.  Please make sure it is defined." >&5
   23045 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23046 which seems to be undefined.  Please make sure it is defined." >&2;}
   23047 
   23048   rm -f "$tmp/stdin"
   23049   case $ac_file in
   23050   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23051   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23052   esac \
   23053   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23054 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23055    { (exit 1); exit 1; }; }
   23056  ;;
   23057   :H)
   23058   #
   23059   # CONFIG_HEADER
   23060   #
   23061   if test x"$ac_file" != x-; then
   23062     {
   23063       $as_echo "/* $configure_input  */" \
   23064       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23065     } >"$tmp/config.h" \
   23066       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23067 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23068    { (exit 1); exit 1; }; }
   23069     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23070       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23071 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23072     else
   23073       rm -f "$ac_file"
   23074       mv "$tmp/config.h" "$ac_file" \
   23075 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23076 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23077    { (exit 1); exit 1; }; }
   23078     fi
   23079   else
   23080     $as_echo "/* $configure_input  */" \
   23081       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23082       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23083 $as_echo "$as_me: error: could not create -" >&2;}
   23084    { (exit 1); exit 1; }; }
   23085   fi
   23086 # Compute "$ac_file"'s index in $config_headers.
   23087 _am_arg="$ac_file"
   23088 _am_stamp_count=1
   23089 for _am_header in $config_headers :; do
   23090   case $_am_header in
   23091     $_am_arg | $_am_arg:* )
   23092       break ;;
   23093     * )
   23094       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23095   esac
   23096 done
   23097 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23098 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23099 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23100 	 X"$_am_arg" : 'X\(//\)$' \| \
   23101 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23102 $as_echo X"$_am_arg" |
   23103     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23104 	    s//\1/
   23105 	    q
   23106 	  }
   23107 	  /^X\(\/\/\)[^/].*/{
   23108 	    s//\1/
   23109 	    q
   23110 	  }
   23111 	  /^X\(\/\/\)$/{
   23112 	    s//\1/
   23113 	    q
   23114 	  }
   23115 	  /^X\(\/\).*/{
   23116 	    s//\1/
   23117 	    q
   23118 	  }
   23119 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23120  ;;
   23121 
   23122   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23123 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23124  ;;
   23125   esac
   23126 
   23127 
   23128   case $ac_file$ac_mode in
   23129     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23130   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23131   # are listed without --file.  Let's play safe and only enable the eval
   23132   # if we detect the quoting.
   23133   case $CONFIG_FILES in
   23134   *\'*) eval set x "$CONFIG_FILES" ;;
   23135   *)   set x $CONFIG_FILES ;;
   23136   esac
   23137   shift
   23138   for mf
   23139   do
   23140     # Strip MF so we end up with the name of the file.
   23141     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23142     # Check whether this is an Automake generated Makefile or not.
   23143     # We used to match only the files named `Makefile.in', but
   23144     # some people rename them; so instead we look at the file content.
   23145     # Grep'ing the first line is not enough: some people post-process
   23146     # each Makefile.in and add a new line on top of each file to say so.
   23147     # Grep'ing the whole file is not good either: AIX grep has a line
   23148     # limit of 2048, but all sed's we know have understand at least 4000.
   23149     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23150       dirpart=`$as_dirname -- "$mf" ||
   23151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23152 	 X"$mf" : 'X\(//\)[^/]' \| \
   23153 	 X"$mf" : 'X\(//\)$' \| \
   23154 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23155 $as_echo X"$mf" |
   23156     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23157 	    s//\1/
   23158 	    q
   23159 	  }
   23160 	  /^X\(\/\/\)[^/].*/{
   23161 	    s//\1/
   23162 	    q
   23163 	  }
   23164 	  /^X\(\/\/\)$/{
   23165 	    s//\1/
   23166 	    q
   23167 	  }
   23168 	  /^X\(\/\).*/{
   23169 	    s//\1/
   23170 	    q
   23171 	  }
   23172 	  s/.*/./; q'`
   23173     else
   23174       continue
   23175     fi
   23176     # Extract the definition of DEPDIR, am__include, and am__quote
   23177     # from the Makefile without running `make'.
   23178     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23179     test -z "$DEPDIR" && continue
   23180     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23181     test -z "am__include" && continue
   23182     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23183     # When using ansi2knr, U may be empty or an underscore; expand it
   23184     U=`sed -n 's/^U = //p' < "$mf"`
   23185     # Find all dependency output files, they are included files with
   23186     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23187     # simplest approach to changing $(DEPDIR) to its actual value in the
   23188     # expansion.
   23189     for file in `sed -n "
   23190       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23191 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23192       # Make sure the directory exists.
   23193       test -f "$dirpart/$file" && continue
   23194       fdir=`$as_dirname -- "$file" ||
   23195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23196 	 X"$file" : 'X\(//\)[^/]' \| \
   23197 	 X"$file" : 'X\(//\)$' \| \
   23198 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23199 $as_echo X"$file" |
   23200     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23201 	    s//\1/
   23202 	    q
   23203 	  }
   23204 	  /^X\(\/\/\)[^/].*/{
   23205 	    s//\1/
   23206 	    q
   23207 	  }
   23208 	  /^X\(\/\/\)$/{
   23209 	    s//\1/
   23210 	    q
   23211 	  }
   23212 	  /^X\(\/\).*/{
   23213 	    s//\1/
   23214 	    q
   23215 	  }
   23216 	  s/.*/./; q'`
   23217       { as_dir=$dirpart/$fdir
   23218   case $as_dir in #(
   23219   -*) as_dir=./$as_dir;;
   23220   esac
   23221   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23222     as_dirs=
   23223     while :; do
   23224       case $as_dir in #(
   23225       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23226       *) as_qdir=$as_dir;;
   23227       esac
   23228       as_dirs="'$as_qdir' $as_dirs"
   23229       as_dir=`$as_dirname -- "$as_dir" ||
   23230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23231 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23232 	 X"$as_dir" : 'X\(//\)$' \| \
   23233 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23234 $as_echo X"$as_dir" |
   23235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23236 	    s//\1/
   23237 	    q
   23238 	  }
   23239 	  /^X\(\/\/\)[^/].*/{
   23240 	    s//\1/
   23241 	    q
   23242 	  }
   23243 	  /^X\(\/\/\)$/{
   23244 	    s//\1/
   23245 	    q
   23246 	  }
   23247 	  /^X\(\/\).*/{
   23248 	    s//\1/
   23249 	    q
   23250 	  }
   23251 	  s/.*/./; q'`
   23252       test -d "$as_dir" && break
   23253     done
   23254     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23255   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23256 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23257    { (exit 1); exit 1; }; }; }
   23258       # echo "creating $dirpart/$file"
   23259       echo '# dummy' > "$dirpart/$file"
   23260     done
   23261   done
   23262 }
   23263  ;;
   23264 
   23265   esac
   23266 done # for ac_tag
   23267 
   23268 
   23269 { (exit 0); exit 0; }
   23270 _ACEOF
   23271 chmod +x $CONFIG_STATUS
   23272 ac_clean_files=$ac_clean_files_save
   23273 
   23274 test $ac_write_fail = 0 ||
   23275   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23276 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23277    { (exit 1); exit 1; }; }
   23278 
   23279 
   23280 # configure is writing to config.log, and then calls config.status.
   23281 # config.status does its own redirection, appending to config.log.
   23282 # Unfortunately, on DOS this fails, as config.log is still kept open
   23283 # by configure, so config.status won't be able to write to it; its
   23284 # output is simply discarded.  So we exec the FD to /dev/null,
   23285 # effectively closing config.log, so it can be properly (re)opened and
   23286 # appended to by config.status.  When coming back to configure, we
   23287 # need to make the FD available again.
   23288 if test "$no_create" != yes; then
   23289   ac_cs_success=:
   23290   ac_config_status_args=
   23291   test "$silent" = yes &&
   23292     ac_config_status_args="$ac_config_status_args --quiet"
   23293   exec 5>/dev/null
   23294   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23295   exec 5>>config.log
   23296   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23297   # would make configure fail if this is the last instruction.
   23298   $ac_cs_success || { (exit 1); exit 1; }
   23299 fi
   23300 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23301   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23302 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23303 fi
   23304 
   23305